development release newLISP v.10.0.3
development release newLISP v.10.0.3
• 'swap' now exchanges any two places
• bug fixes
Files and changes notes:
http://www.newlisp.org/downloads/development/
• bug fixes
Files and changes notes:
http://www.newlisp.org/downloads/development/
Hi Lutz,
Is it perhaps an option to also install the /doc directory from the tgz
package into the /usr/share/newlisp directory?
Thats has a big advantage for seeking the current doc version with
the installed version.. I always have to move my bookmarks to the
new release..instead of having a steading one pointing to /usr/share/newlisp/doc
PS: thanks for the 10.0.3 release!
Is it perhaps an option to also install the /doc directory from the tgz
package into the /usr/share/newlisp directory?
Thats has a big advantage for seeking the current doc version with
the installed version.. I always have to move my bookmarks to the
new release..instead of having a steading one pointing to /usr/share/newlisp/doc
PS: thanks for the 10.0.3 release!
-- (define? (Cornflakes))
Any significant bug fixes...? It'd be nice to know what to watch out for with previous versions.
Get your Objective newLISP groove on.
10.0.3
Expanded 3rd syntax in 'swap' (swap <place> <place>) The first two old
call patterns are deprecated and will be removed in a future version.
Eliminated a stacksize dependence when using 'find' with 'match'
IBM AIX for PPC has been added as a platform and using the IBM xlc_r or gcc
compiler. Some issues with newLISP server mode are not resolved yet.
Fixed a memory mapping problem surfacing on IBM AIX 32-bit compiles
Better handling of status in HTTP headers sent back from server
'nil' and 'true' confused 'sort' and 'unique', fixed.
Expanded 3rd syntax in 'swap' (swap <place> <place>) The first two old
call patterns are deprecated and will be removed in a future version.
Eliminated a stacksize dependence when using 'find' with 'match'
IBM AIX for PPC has been added as a platform and using the IBM xlc_r or gcc
compiler. Some issues with newLISP server mode are not resolved yet.
Fixed a memory mapping problem surfacing on IBM AIX 32-bit compiles
Better handling of status in HTTP headers sent back from server
'nil' and 'true' confused 'sort' and 'unique', fixed.
-- (define? (Cornflakes))
Thanks newdep! Sorry, I forgot to check the CHANGES.txt file in the dev directory. :-\
Get your Objective newLISP groove on.
Hi Lutz,
some questions about the SHA1.txt files
1) The SHA1.txt files on your download pages, are those correct?
Or are the files updated afterwards?
2) Will you always maintain the SHA1.txt file in the dowload section?
If yes ill include the sha1 check in my update script..
Norman.
some questions about the SHA1.txt files
1) The SHA1.txt files on your download pages, are those correct?
Or are the files updated afterwards?
2) Will you always maintain the SHA1.txt file in the dowload section?
If yes ill include the sha1 check in my update script..
Norman.
-- (define? (Cornflakes))
I am using the 'openssl' utility installed on FreeBSD of my ISP, and also installed on my Mac OS X home machine. The way you see it, is the way it comes out. This is what I do:
I just checked, and they are still the same :-)
Code: Select all
openssl sha1 *.tgz *.deb *.exe *.dmg > SHA1.txt
I just checked, and they are still the same :-)
yes correct... But crypto.lsp thinks differently ;-)
Have a coffee first ;-)
$ openssl sha1 /tmp/newlisp-10.0.3.tgz
SHA1(/tmp/newlisp-10.0.3.tgz)= 73ccc454cd6be078d055af8954dca19d570f769e
$ newlisp
newLISP v.10.0.3 on Linux IPv4, execute 'newlisp -h' for more info.
(MAIN)-> (load (append (env "NEWLISPDIR") "/modules/crypto.lsp"))
(MAIN)-> (crypto:sha1 "/tmp/newlisp-10.0.3.tgz")
"ab1624608d2975fd9c49c35dedc1c4133e64af32"
Have a coffee first ;-)
$ openssl sha1 /tmp/newlisp-10.0.3.tgz
SHA1(/tmp/newlisp-10.0.3.tgz)= 73ccc454cd6be078d055af8954dca19d570f769e
$ newlisp
newLISP v.10.0.3 on Linux IPv4, execute 'newlisp -h' for more info.
(MAIN)-> (load (append (env "NEWLISPDIR") "/modules/crypto.lsp"))
(MAIN)-> (crypto:sha1 "/tmp/newlisp-10.0.3.tgz")
"ab1624608d2975fd9c49c35dedc1c4133e64af32"
-- (define? (Cornflakes))
yes, not the file-name but the file itself (after the coffee):
Code: Select all
> (module "crypto.lsp") ; try this (predefined since 10.0.2 ;-) )
> (crypto:sha1 (read-file "newlisp-10.0.3.tgz"))
"73ccc454cd6be078d055af8954dca19d570f769e"
>
Haaa slick! yeah I did not know that 'module existed..
Actualy.. How do I catch an (exit) from a module or load?
If a library cant be found then i.e. crypto exists, but the Main program too,
and thats not what i want..
I tried renaming 'exit with a constant but its not realy charming..
any idea?
Actualy.. How do I catch an (exit) from a module or load?
If a library cant be found then i.e. crypto exists, but the Main program too,
and thats not what i want..
I tried renaming 'exit with a constant but its not realy charming..
any idea?
-- (define? (Cornflakes))
Code: Select all
(if-not (catch (module "odbc.lsp") 'err) (println "Could not load: " err))
Could not load: ERR: problem loading library in function import : "dlopen(odbc32.dll, 9): image not found"
In crypto.lsp instead of:
Code: Select all
(set 'library (files (or
(find true (map file? files))
(begin (println "cannot find crypto library") (exit)))))
Code: Select all
(set 'library (files (or
(find true (map file? files))
(throw-error "cannot find crypto library"))))
Yes that is correct for local files,
but I like more the remote loading aproche, where Im not the maintainer...
(load "http://www.newlisp.org/code/modules/crypto.lsp")
This is what I use now in the main script
(constant (global 'quit) exit)
(constant (global 'exit) nil)
This still throws the error from (exit) but at least the main script continue's running..Still not very reliable because it can be overruled.. but it works..
Now I only need a way to Catch the output of the module when it
cant find the library's... (silent (catch doesnt seems to do the trick...
but I like more the remote loading aproche, where Im not the maintainer...
(load "http://www.newlisp.org/code/modules/crypto.lsp")
This is what I use now in the main script
(constant (global 'quit) exit)
(constant (global 'exit) nil)
This still throws the error from (exit) but at least the main script continue's running..Still not very reliable because it can be overruled.. but it works..
Now I only need a way to Catch the output of the module when it
cant find the library's... (silent (catch doesnt seems to do the trick...
-- (define? (Cornflakes))
actualy the only proper way currently is to pre-check the
library existence in the main-script.
using a 'exit rewrite isnt a good solution because the update.lsp
script is also embeded. (and i need to rewrite the (exit) inside the
script also to a throw ;-)
but still it would be nice to catch an external (exit) somehow
without modification of the original script & suppress messages
from a loaded newlisp script/module. (I cant get Catch to fully do it)
library existence in the main-script.
using a 'exit rewrite isnt a good solution because the update.lsp
script is also embeded. (and i need to rewrite the (exit) inside the
script also to a throw ;-)
but still it would be nice to catch an external (exit) somehow
without modification of the original script & suppress messages
from a loaded newlisp script/module. (I cant get Catch to fully do it)
-- (define? (Cornflakes))
Me too! Searching for more surprises...newdep wrote:Haaa slick! yeah I did not know that 'module existed..
Code: Select all
newLISP v.10.0.3 on Win32 IPv4, execute 'newlisp -h' for more info.
> (filter (fn (x) (lambda? (eval x))) (symbols))
(module)
With newLISP you can grow your lists from the right side!