Changelog:
Changes since 2.2.1
1. src/slsmg.c: Call SLutf8_enable if UTF8 mode has not been setup.
2. src/slutty.c: Allow the hook that gets called when the read
function gets interrupted to change the read file descriptor.
Before, if this happened, the SLang_getkey function would return
SLANG_GETKEY_ERROR.
3. lib/slsh/print.sl: Turn off buffering of the pager pipe.
4. modules/tm/*.tm: A couple of typos corrected (John Houck)
5. src/slmath.c: The round function was not correctly rounding values
between 0.5 and 1.0.
6. src/slstdio.c,slclass.c: If a call to fwrite produces errno=EPIPE,
then do not bother trying the write again.
7. modules/fork-module.c: Use WIFCONTINUED only if it is defined.
8. slsh/Makefile.in: Change the order of the libraries such that the
newly built ones will be found first. (Markus Hennecke)
9. src/slagetput.inc: Avoid possible access violation when using a
range array as an index.
10. doc/tm/rtl/lists.tm: Documented the optional argument to the
list_to_array function (Manfred Hanke).
Changes since 2.2.0
1. modules/socket-module.c: glibc-2.8 removed the h_addr macro.
2. src/slclass.c: Call clearerr before performing the
stdio_fread/fwrite functions.
3. src/slstdio.c: typeof in the fputs intrinsic fixed (n instead of dn
was compared to 0).
4. src/slscanf.c: sscanf will treat NaN and Inf in a case-insensitive
manner. Also, the NaN([a-zA-Z0-9]*) form is also supported.
5. src/slang.h: SLclass_set_aelem_init_function was missing from the
API.
6. src/slmath.c: The expm1 and log1p functions were returning NaN when
given Inf arguments.
7. src/slmath,c: log1p(-1) produced nan instead of -inf.
8. configure: Added pkg-config support (based upon a debian patch sent
to me by Luca Bigliardi).
9. doc/tm/rtl/math.tm: Updated the help for set_float_format and added
documentation for the get_float_format function.
10. autoconf/slangpc.in: Added URL and Libs.private entries to the
slang.pc pkg-config file.
11. src/slang.h: prototype for SLang_create_array1 missing from slang.h.
12. src/slcurses.c: Added debian patch that adds support for
additional graphics characters (DIAMOND, DEGREE, etc...).
13. doc/tm/slang.tm: Added a small section about arrays of arrays.
14. src/slang.c: __builtin_expect is used for the stack functions if
compiled with gcc.
15. src/*.c: A few public variables were not explicitly initialized
to 0. Apparantly not doing so causes them not be be exported from
the windows DLL.
Complete changes at: ftp://space.mit.edu/pub/davis/slang/v2.2/changes.txt
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
version, and packages should switch to it as they are deemed compatible.
blurb:
S-Lang is a C programmer's library that includes routines for the rapid
development of sophisticated, user friendly, multi-platform applications.
The S-Lang library includes the following:
- Low level tty input routines for reading single characters at a
time, as well as low-level terminal-independent routines for
manipulating the display of a terminal.
- Keymap routines for defining keys and manipulating multiple
keymaps.
- High level screen management routines for manipulating both
monochrome and color terminals. These routines are very efficient.
- Routines for reading single line input with line editing and recall
capabilities.
- Searching functions: both ordinary searches and regular expression
searches.
- An embedded stack-based language interpreter with a C-like syntax.
- A malloc debugging package