2006-02-20 Pavel Tsekov * slmisc.c: Import SLmake_string() and SLmake_nstring(). 2006-02-15 Leonard den Ottolander * slcommon.c: Patch to slang-2.0.6 leaving local patches intact. * sldisply.c: Likewise. * slerr.c: Likewise. * slgetkey.c: Likewise. * slmisc.c: Likewise. * slsignal.c: Likewise. * slsmg.c: Likewise. * slstring.c: Likewise. * sltermin.c: Likewise. * slutty.c: Likewise. * include/_slang.h: Likewise. * include/slang.h: Likewise. 2006-02-01 Vladimir Nadvorknik * slcommon.c (utf8_enable_function): Use '==' instead of '=' for comparison. Reported by David Binderman. 2006-01-18 Pavel Shirshov * 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-14 Pavel Shirshov * 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. 2005-11-28 Pavel Roskin * slvideo.c: Remove, it's only used by the obsolete PC port. * slw32tty.c: Likewise. * Makefile.am: Adjust for the above. 2005-11-17 Leonard den Ottolander * Makefile.am: Reinstate ChangeLog. 2005-11-16 Roland Illig * slcommon.c (_pSLsecure_issetugid): Made the #ifdef more readable. 2005-11-15 Leonard den Ottolander * slcommon.c (_pSLsecure_issetugid): Remove dependency on glibc private integer __libc_enable_secure. 2005-11-10 Leonard den Ottolander * *: Upgrade slang to 2.0.5. 2005-07-30 Roland Illig * include/slang.h: Define __unix__ if __MACH__ is defined. 2005-03-19 Pavel S. Shirshov * sldisply.c (SLtt_initialize): Fix typo. Change Is_Bg_BGR, not Is_Fg_BGR. 2005-02-10 Roland Illig * include/slang.h: Define __unix__ if __NetBSD__ is defined. 2004-11-29 Pavel S. Shirshov * 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-09 Andrew V. Samoilov * sldisply.c (SLtt_delete_nlines): Add boundary check. (forward_cursor): Remove unneeded boundary check. (tt_write): Remove unneeded cast. 2004-11-09 Pavel S. Shirshov * 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. From: John E. Davis 2004-11-08 Andrew V. Samoilov * include/slang.h (SLang_Version): Declare const. * slmisc.c: Add SLang_Version. 2004-11-01 Pavel S. Shirshov * 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. 2004-10-27 Nerijus Baliunas * include/slang.h: Define __unix__ if _AIX is defined. Needed on AIX. 2004-10-14 Andrew V. Samoilov * sldisply.c (tt_sprintf): Add missed break. * sldisply.c (SLtt_erase_line): Use tt_write() instead tt_write_string(). 2004-09-26 Mike Gorchak * 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-24 Roland Illig * slsignal.c (SLsystem): Replaced NULL with (char *) NULL in call to execl. From patches from the OpenBSD ports collection. 2004-09-04 Pavel S. Shirshov * sltermin.c (_SLtt_tigetent): Avoid strncpy, home_ti is 1K long and nobody really needs it whole cleared 2004-08-31 Pavel S. Shirshov * include/slang.h: Revert last changes - it breaks compiling * sldisply.c: Likewise. * slerr.c: Likewise. * slsmg.c: Likewise. * sltermin.c: Likewise. 2004-08-29 Roland Illig * slang.h: Added const qualifier to some of the SLang functions. 2003-09-26 Andrew V. Samoilov * sldisply.c (RGB_to_BGR): Make const. * slsignal.c (SLsystem): Commented out. 2003-09-11 Andrew V. Samoilov * slerr.c (SLang_doerror): Fix possible off-by-one error. * sltermin.c (_SLtt_tigetent): Likewise. 2002-11-28 Pavel Roskin * sldisply.c: Fix for the previous patch. Only swap colors if setf and setb are not empty. Reported by Andras Barthazi 2002-10-25 Pavel Roskin * sldisply.c: Patch to swap blue and red colors for setf/setb capabilities. Needed on QNX Neutrino. Reported by Pavel Shirshov 2002-10-07 Pavel Roskin * 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 Andrew V. Samoilov * 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 Pavel Roskin 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-09-18 Andrew V. Samoilov * slerr.c (SLang_doerror): Use error parameter. Eliminate err[] array. 2002-08-21 Pavel Roskin * slsmg.c (Fake_Alt_Char_Pairs): Update from slang-1.4.5. This fixes the MC logo in the help screen. 2002-01-21 Pavel Roskin * slvideo.c: Include _slang.h, not slang.h. * slos2tty.c: Remove since OS/2 is no longer supported. * Makefile.am (EXTRASRC): Remove slos2tty.c. 2001-12-21 Pavel Roskin * _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-09-04 Pavel Roskin * Makefile.am (AM_CFLAGS): Remove CFLAGS, don't use substituted values directly. 2001-08-26 Pavel Roskin * Makefile.am: Don't install libmcslang.a. * Makefile.am (AM_CPPFLAGS): Remove, it's not needed. 2001-08-25 Pavel Roskin * Makefile.in: Converted to ... * Makefile.am: ... this. 2001-02-22 Pavel Roskin * _slang.h: Include glib.h. Tue Apr 13 07:07:36 1999 Norbert Warmuth * slutty.c (SLsys_getkey): handle EOF on stdin (return SLANG_GETKEY_ERROR on EOF instead of returning garbage) * Makefile.in (clean): remove the symbolic link slang.h on the distclean target and not on the clean target. Sun Feb 14 01:05:42 1999 Norbert Warmuth * sldisply.c (SLtt_get_terminfo): use g_snprintf instead of sprintf * slsmg.c (SLsmg_printf): ditto * sltermin.c (SLtt_tigetent): ditto