summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz>2003-04-03 12:12:38 +0000
committerwiz <wiz>2003-04-03 12:12:38 +0000
commit8a6475429509a5b3482f733feebf36b39c21da03 (patch)
tree791fab23fd28df1640cddee19b81d457c6dc5bfc
parent02ca67ed086243a68297e486c911396de485ac2c (diff)
downloadpkgsrc-8a6475429509a5b3482f733feebf36b39c21da03.tar.gz
Update to 1.4.9:
Changes since 1.4.8 1. src/slarray.c: superfluous call to SLclass_add_math_op removed (Michael Noble) 2. src/slang.c: foreach (NULL) using("next"){} foo (); caused _NARGS=1 in foo. 3. src/slarrfunc.c: Fix to prevent sum(NULL) from causing a core-dump. 4. src/slimport.c: import (module, "") made equivalent to import(module,"Global"); This way, import(module, current_namespace()) will work when the current namespace is anonymous. 5. src/slospath.c: Several users have requested that I add the ability to define a load path and use that path when loading interpreter files. To this end, several new functions were added to the API: char *SLpath_get_load_path (void); int SLpath_set_load_path (char *path); /* Get and Set the path to be searched for files */ int SLpath_get_path_delimiter (void); SLpath_set_path_delimiter (int delimiter); /* Get and set the character delimiter for search paths */ int SLang_load_file_verbose (int verbose); /* if non-zero, display file loading messages */ New intrinsics include: set_slang_load_path get_slang_load_path path_get_delimiter These functions, nor the intrinsics have an effect on applications that use SLang_load_file_hook or SLns_load_file_hook for loading files. The change should be transparant to applications that use the stock load file mechanism. The main difference is that if one attempts to load a file with no extension, e.g., "foo", but the file does not exist, then the interpreter will try to load the more recent of "foo.sl" and "foo.slc". See src/slsh.c for how the functions may be used. 6. slsh/slsh.c: Updated to use the new search path code outlined above. Also, slsh is distributed with a collection of general purpose slang functions, including jed's provide/require functions. See slsh/README for more information. 7. doc/tm/cslang.tm: Modified the section describing the implemetation of intrinsic functions in an effort to clarify the discussion. 8. src/slang.c: tiny memory leak resulting from peephole optimzations added earlier found and fixed. 9. src/slarrmisc.c: new intrinsic: cumsum computes the cumulative sum of an array via the new SLarray_map_array function.
-rw-r--r--devel/libslang/Makefile4
-rw-r--r--devel/libslang/distinfo6
2 files changed, 5 insertions, 5 deletions
diff --git a/devel/libslang/Makefile b/devel/libslang/Makefile
index af613ebaeaf..d702417f19d 100644
--- a/devel/libslang/Makefile
+++ b/devel/libslang/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.39 2003/03/14 23:53:01 jschauma Exp $
+# $NetBSD: Makefile,v 1.40 2003/04/03 12:12:38 wiz Exp $
#
-DISTNAME= slang-1.4.8
+DISTNAME= slang-1.4.9
PKGNAME= lib${DISTNAME}
SVR4_PKGNAME= lslan
CATEGORIES= devel
diff --git a/devel/libslang/distinfo b/devel/libslang/distinfo
index 7834b2fb53d..e2e19f45bb6 100644
--- a/devel/libslang/distinfo
+++ b/devel/libslang/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2003/03/04 22:30:45 mjl Exp $
+$NetBSD: distinfo,v 1.6 2003/04/03 12:12:39 wiz Exp $
-SHA1 (slang-1.4.8.tar.bz2) = 6533e1312401cc2cacb72fdc2aed5762b353139c
-Size (slang-1.4.8.tar.bz2) = 620252 bytes
+SHA1 (slang-1.4.9.tar.bz2) = 667709eb1bc1b0f68ce36b31204bf8a99d31eefa
+Size (slang-1.4.9.tar.bz2) = 631079 bytes
SHA1 (patch-aa) = c8be618270de81bc109ab1deb0f501857c0ca0fc
SHA1 (patch-ac) = 6b7c1a1aa90899af42e8df9c72c88e5bdb2111a9