Commit Graph

14 Commits

Author SHA1 Message Date
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
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
Roland Illig
dbd6062273 * include/slang.h: Define __unix__ if __NetBSD__ is defined. 2005-02-10 13:29:51 +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
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
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
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
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