Leonard den Ottolander
a3b821aef1
slang/*: Upgrade internal slang to 2.0.5.
2005-11-12 19:47:49 +00:00
Roland Illig
4dbb9f3191
Define __unix__ if __MACH__ is defined.
2005-07-30 22:56:39 +00:00
Andrew V. Samoilov
a1781bc719
* sldisply.c (SLtt_initialize): Fix typo. Change Is_Bg_BGR,
...
not Is_Fg_BGR.
2005-03-19 18:15:17 +00:00
Roland Illig
dbd6062273
* include/slang.h: Define __unix__ if __NetBSD__ is defined.
2005-02-10 13:29:51 +00:00
Roland Illig
9004ac497f
* po/ChangeLog: Applied trim_changelog.
...
* slang/ChangeLog: Likewise.
* vfs/ChangeLog: Likewise.
2005-02-07 07:40:46 +00:00
Andrew V. Samoilov
e69c7db958
Fix typos
2004-12-07 08:55:33 +00:00
Andrew V. Samoilov
0cd8f81bdc
* Makefile.am: Use AM_CPPFLAGS for path to mc-slang includes.
...
* slmisc.c (SLang_Version): Declare const. Use SLANG_VERSION for version
number.
* include/slang.h (SLang_Version): Declare const.
2004-11-29 11:11:47 +00:00
Andrew V. Samoilov
f7cf6a4928
* sldisply.c (SLtt_delete_nlines): Add boundary check.
...
(forward_cursor): Remove unneeded boundary check.
(tt_write): Remove unneeded cast.
* sldisply.c: Use tt_write() instead of tt_write_string() for
hardcoded string literals.
2004-11-09 17:16:51 +00:00
Andrew V. Samoilov
dce56e8421
* include/slang.h (SLang_Version): Delete const qualifier for
...
compatibility with system slang library.
* slmisc.c: Likewise.
* sldisply.c (tt_sprintf): Import last changes from libslang-current.
Add code to check for a buffer overflow.
(tt_printf): Likewise.
(forward_cursor): Likewise.
2004-11-08 21:00:29 +00:00
Andrew V. Samoilov
f5afae1368
* include/slang.h (SLang_Version): Declare const.
...
* slmisc.c: Add SLang_Version.
2004-11-08 16:47:29 +00:00
Andrew V. Samoilov
5b57056d23
* README: Imported slang-1.4.9.
...
* sldisply.c: Likewise.
* slerr.c: Likewise.
* slgetkey.c: Likewise.
* slmisc.c: Likewise.
* slsignal.c: Likewise.
* slsmg.c: Likewise.
* sltermin.c: Likewise.
* slutty.c: Likewise.
* slvideo.c: Likewise.
* slw32tty.c: Likewise.
* include/_slang.h: Likewise.
* include/jdmacros.h: Likewise.
* include/sl-feat.h: Likewise.
* include/slang.h: Likewise.
* include/slinclud.h: Likewise.
* include/sllimits.h: Likewise.
* ChangeLog: Change my e-mail to me@pavelsh.pp.ru
2004-11-01 06:30:43 +00:00
Andrew V. Samoilov
f591dda4ea
* include/slang.h: Define __unix__ if _AIX is defined.
...
Needed on AIX.
2004-10-27 14:15:38 +00:00
Andrew V. Samoilov
8d50b2240a
* sldisply.c (tt_sprintf): Add missed break.
...
* sldisply.c (SLtt_erase_line): Use tt_write() instead
tt_write_string().
2004-10-14 08:18:49 +00:00
Andrew V. Samoilov
d329f3c414
* sldisplay.c (SLtt_goto_rc): Disable cursor movement optimizations
...
for qansi-m consoles. Needed on QNX Neutrino.
(SLtt_initialize): Init QANSI_Console variable.
2004-09-26 00:45:47 +00:00
Roland Illig
ad1e412fa1
* slsignal.c (SLsystem): Replaced NULL with (char *) NULL in
...
call to execl.
From patches from the OpenBSD ports collection.
2004-09-24 14:06:04 +00:00
Andrew V. Samoilov
ef67afe62d
* sltermin.c (): Avoid strncpy, home_ti is 1K long and
...
nobody really needs it whole cleared
2004-09-03 22:08:20 +00:00
Andrew V. Samoilov
b93c90db4e
* include/slang.h: Revert last changes - it breaks compiling
...
* sldisply.c: Likewise.
* slerr.c: Likewise.
* slsmg.c: Likewise.
* sltermin.c: Likewise.
2004-08-31 06:44:20 +00:00
Roland Illig
73207a8994
* slang.h: Added const qualifier to some of the SLang functions.
2004-08-30 11:12:57 +00:00
Pavel Roskin
df44271fd0
* sldisply.c (RGB_to_BGR): Make const.
...
* slsignal.c (SLsystem): Commented out.
2003-09-26 21:34:49 +00:00
Pavel Roskin
3e0fee42ad
* slerr.c (SLang_doerror): Fix possible off-by-one error.
...
* sltermin.c (_SLtt_tigetent): Likewise.
2003-09-11 21:38:03 +00:00
Pavel Roskin
e9067abfaf
* sldisply.c: Fix for the previous patch. Only swap colors if
...
setf and setb are not empty.
Reported by Andras Barthazi <andras@barthazi.hu>
2002-11-28 20:35:34 +00:00
Andrew V. Samoilov
d6725db8b2
Make Color_Names[] const
2002-10-25 19:35:37 +00:00
Pavel Roskin
257b4b360c
* sldisply.c: Patch to swap blue and red colors for setf/setb
...
capabilities. Needed on QNX Neutrino.
Reported by Pavel Shirshov <pavelsh@mail.ru>
2002-10-25 04:53:16 +00:00
Pavel Roskin
52b894d8f0
Rewrite from scratch.
...
Suggested by "Frdric L. W. Meunier" <lists@pervalidus.net>
2002-10-16 00:06:57 +00:00
Pavel Roskin
ade4cf0bbf
* include/jdmacros.h: Define SLMEMSET and SLMEMCPY
...
unconditionally, use macros with arguments.
* include/_slang.h: Make it clear which parts are disabled
for compatibility with glib.
* include/slinclud.h: Include malloc.h only if STDC_HEADERS is
not defined.
2002-10-07 15:48:42 +00:00
Andrew V. Samoilov
318a346055
* sldisply.c (Color_Def_Type): Make const.
...
* slsmg.c (Fake_Alt_Char_Pairs): Likewise.
* sltermin.c (Tgetstr_Map_Type): Likewise.
* slutty.c (Baud_Rate_Type): Likewise.
2002-10-07 11:08:16 +00:00
Pavel Roskin
c1b2e49513
Fix path to the include directory.
2002-10-07 05:15:23 +00:00
Pavel Roskin
b0b73df498
Update to S-Lang 1.4.5. Move include files to "include"
...
directory to avoid the need to rename slang.h.
* Makefile.am: Adjust file list. Add "-Iinclude" to the
compiler flags.
* include/jdmacros.h: Rewrite to use glib.
* slmisc.c: Trim to include only needed functions.
2002-10-07 04:41:03 +00:00
Andrew V. Samoilov
661db03d9c
* slerr.c (SLang_doerror): Use error parameter. Eliminate err[] array.
2002-09-18 07:59:47 +00:00
Andrew V. Samoilov
6caf652ea6
Make special_chars[] const
2002-09-14 14:37:38 +00:00
Andrew V. Samoilov
6bc00f750c
Make Baud_Rates[] const
2002-09-14 14:08:01 +00:00
Andrew V. Samoilov
1bf22a71a0
Typedef Color_Def_Type const
2002-09-14 14:03:48 +00:00
Andrew V. Samoilov
3eed09118f
Typedef Tgetstr_Map_Type const
2002-09-14 13:57:45 +00:00
Andrew V. Samoilov
44ef733433
[!pc_system]: Make Fake_Alt_Char_Pairs[] const array
2002-09-14 13:30:56 +00:00
Pavel Roskin
ec1b1f9614
Globally replace OS2_NT and _OS_NT with WIN32_NATIVE.
2002-09-10 22:04:11 +00:00
Pavel Roskin
da4bd88a56
* slsmg.c (Fake_Alt_Char_Pairs): Update from slang-1.4.5. This
...
fixes the MC logo in the help screen.
2002-08-21 06:39:56 +00:00
Pavel Roskin
6a5df4c736
* slvideo.c: Include _slang.h, not slang.h.
2002-01-21 23:37:36 +00:00
Pavel Roskin
3b283eaf61
* slos2tty.c: Remove since OS/2 is no longer supported.
...
* Makefile.am (EXTRASRC): Remove slos2tty.c.
2002-01-21 07:52:46 +00:00
Pavel Roskin
0dd5f511be
* _slang.h: Include slang-mc.h.
...
* slang-mc.h: Add protection against using with system installed
S-Lang library.
* sl*.c: Only include _slang.h, but not slang.h to avoid making
symlinks.
2001-12-21 20:14:55 +00:00
Pavel Roskin
3b32c84134
Add .deps
2001-10-29 06:27:31 +00:00
Andrew V. Samoilov
1ff74e7a5b
* slang/slvideo.c (SLtt_set_color): Eliminate C++ comments.
...
http://bugzilla.gnome.org/show_bug.cgi?id=60935
By drk@sgi.com .
2001-10-25 13:32:14 +00:00
Pavel Roskin
ebc45d895d
* Makefile.am (AM_CFLAGS): Remove CFLAGS, don't use substituted
...
values directly.
2001-09-04 05:33:54 +00:00
Pavel Roskin
0d7003910a
* Makefile.am: Don't install libmcslang.a.
2001-08-26 16:43:28 +00:00
Pavel Roskin
2be0ee1d25
* Makefile.am (AM_CPPFLAGS): Remove, it's not needed.
2001-08-26 08:49:26 +00:00
Pavel Roskin
6fc8d0fe27
Add Makefile.in.
2001-08-25 19:09:52 +00:00
Pavel Roskin
c1b2a29833
* Makefile.in: Converted to ...
...
* Makefile.am: ... this.
2001-08-25 05:07:31 +00:00
Pavel Roskin
b0593ec1e2
* Make.common.in: Remove obsolete dependency tracking system.
...
* configure.in: Likewise.
* edit/Makefile.in: Likewise.
* gnome/Makefile.in: Likewise.
* gtkedit/Makefile.in: Likewise.
* slang/Makefile.in: Likewise.
* src/Makefile.in: Likewise.
* vfs/Make-mc.in: Likewise.
* src/depend.awk: Remove.
2001-05-27 04:34:12 +00:00
Pavel Roskin
5cb656aa9e
* _slang.h: Include glib.h.
2001-02-22 16:08:06 +00:00
Pavel Roskin
1f6ffaab0a
* gtkedit/edit.h: Only include malloc.h if STDC_HEADERS is not
...
defined to prevent warnings on OpenBSD 2.7.
* slang/jdmacros.h: Likewise.
* src/mad.h: Likewise.
* src/poptalloca.h: Likewise.
2001-02-20 17:57:23 +00:00
Pavel Roskin
c69627ffdd
* configure: Always include Make.common as file, otherwise
...
"make distclean" breaks.
* edit/Makefile.in, gnome/Makefile.in, gtkedit/Makefile.in,
slang/Makefile.in, src/Makefile.in, vfs/Make-mc.in: $(RMF)
replaced with "rm -f" - the stangard says that "rm" is portable.
Ditto $(MV). Adjusted *clean targets to match those in
Automake. Removed "cross" target.
2000-09-23 05:14:31 +00:00