Patrick Winnertz
dcd57a34ef
Removed .cvsignore files as we don't need them any longer
2009-01-05 16:58:44 +01:00
Slava Zanko
aad7c6c317
Added .svnignore files (same as .cvsignore)
2008-12-28 23:27:03 +02:00
Pavel Tsekov
71268714c0
* slang/slmisc.c: Import SLmake_string() and SLmake_nstring().
2006-02-20 09:20:09 +00:00
Leonard den Ottolander
56ba3ed4b3
* slcommon.c, sldisplay.c, slerr.c, slgetkey.c, slmisc.c, slsignal.c,
...
slsmg.c, slstring.c, sltermin.c, slutty.c, include/_slang.h,
include/slang.h: Patch to slang-2.0.6 leaving local patches intact.
2006-02-15 15:10:55 +00:00
Leonard den Ottolander
d3ce4129e0
slang/slcommon.c (utf8_enable): Use '==' instead of '=' for comparison.
2006-02-01 16:42:43 +00:00
Andrew V. Samoilov
c5800b05f3
* include/slang.h: comment out declaration of SLmemset(), SLmemchr(),
...
SLmemcpy(), SLmemcmp(), SLmalloc(), SLfree(), SLrealloc().
* slcommon.c: comment out definitions of SLmalloc(), SLfree(),
SLrealloc().
* include/jdmacros.h: Fully rewritten to use glib rather than S-Lang
replacements.
* slmisc.c: Remove SLang_Version variable.
2006-01-18 05:34:20 +00:00
Andrew V. Samoilov
5c83819e50
* sldisply.c (SLtt_initialize): Fix typo. Change Is_Bg_BGR
...
to Is_Fg_BGR. (SLtt_goto_rc): Disable cursor movement optimizations
for qansi-m consoles. Needed on QNX Neutrino. (SLtt_initialize): Init
QANSI_Console variable. (SLtt_erase_line): Use tt_write() instead
tt_write_string(). (SLtt_cls): Use tt_write() instead tt_write_string().
(SLtt_tgetstr): Fix warning.
* slmisc.c: Trimmed down for use in GNU Midnight Commander.
* sltermin.c (_pSLtt_tigetent): Avoid strncpy, home_ti is 1K long and
obody really needs it whole cleared. Fix possible off-by-one error.
* include/slang.h: Define __unix__ if __MACH__, __NetBSD__, _AIX is
defined.
2006-01-13 19:49:23 +00:00
Pavel Roskin
a0411b6b77
* slvideo.c: Remove, it's only used by the obsolete PC port.
...
* slw32tty.c: Likewise.
* Makefile.am: Adjust for the above.
2005-11-29 01:15:09 +00:00
Leonard den Ottolander
23b176514b
* slang/Makefile.am: Reinstate ChangeLog.
2005-11-17 20:51:37 +00:00
Roland Illig
2f53e17355
2005-11-16 Roland Illig <roland.illig@gmx.de>
...
* slcommon.c (_pSLsecure_issetugid): Made the #ifdef more
readable.
2005-11-16 08:45:21 +00:00
Leonard den Ottolander
2619dda6b4
* Changelog: Fix last entry.
2005-11-15 21:26:51 +00:00
Leonard den Ottolander
f235c1b358
* slcommon.c (_pSLsecure_issetugid): Remove dependency on glibc private
...
function __libc_enable_secure().
2005-11-15 20:51:31 +00:00
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 "Frédéric 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