Commit Graph

19 Commits

Author SHA1 Message Date
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
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
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
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
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
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
c1b2a29833 * Makefile.in: Converted to ...
* Makefile.am: ... this.
2001-08-25 05:07:31 +00:00
Pavel Roskin
5cb656aa9e * _slang.h: Include glib.h. 2001-02-22 16:08:06 +00:00
Norbert Warmuth
f807b91600 Tue Apr 13 07:07:36 1999 Norbert Warmuth <nwarmuth@privat.circular.de>
* slang/slutty.c (SLsys_getkey): handle EOF on stdin (return
SLANG_GETKEY_ERROR on EOF instead of returning garbage)

* slang/Makefile.in (clean): remove the symbolic link slang.h on the
distclean target and not on the clean target.


Tue Apr 13 07:14:10 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* src/slint.c (getch): Quit MC when SLang_getkey returns an error. Looking
at the code that's only the case when we read EOF from stdin.

This fixes the problem where MC consumes a lot of cpu time while
reading EOF from stdin in a tight loop. This situation arises when the
terminal line/connection drops without MC being sent SIGHUP.


Tue Apr 13 06:07:05 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* configure.in: Some AC_ARG_WITH macros haven't checked $withval, i.e.
--with-PACKAGE and --without-PACKAGE gave the same results.
1999-04-13 19:21:03 +00:00
Norbert Warmuth
b993f8e8ed Pass --with-included-slang to configure if you concerned about
that Bugtraq message.

Sun Feb 14 01:05:42 1999  Norbert Warmuth  <nwarmuth@privat.circular.de>

* slang/sldisply.c (SLtt_get_terminfo): use g_snprintf instead of
sprintf

* slang/slsmg.c (SLsmg_printf): ditto

* slang/sltermin.c (SLtt_tigetent): ditto
1999-02-14 00:41:23 +00:00