Page 1 of 1
newLISP Stable Release v.10.4.0
Posted: Tue Feb 14, 2012 3:54 pm
by Lutz
Stable Release 10.4.0 has a rewritten message API for multiprocessing, an extended FFI and makes efficiency improvements.
http://www.newlisp.org/index.cgi?page=Downloads
Re: newLISP Stable Release v.10.4.0
Posted: Tue Feb 14, 2012 9:41 pm
by newdep
Thanks lot Lutz!... ;-)
Re: newLISP Stable Release v.10.4.0
Posted: Tue Feb 14, 2012 10:38 pm
by xytroxon
Keep up the good work!!!
-- xytroxon
Re: newLISP Stable Release v.10.4.0
Posted: Tue Feb 14, 2012 11:46 pm
by jopython
Thank you Lutz for the readline improvements.
Re: newLISP Stable Release v.10.4.0
Posted: Wed Feb 15, 2012 8:39 am
by johu
Hellow, Lutz.
Accoding to
Release Notes v.10.4.0
In function
now,
The day-of-the-year number now starts with 1 instead of offset 0. Both changes make now more ISO 8601 compliant.
So, I have a qestion.
The date function
date-list returns the day-of-the-year number, too.
Code: Select all
newLISP v.10.4.0 on Win32 IPv4/6, execute 'newlisp -h' for more info.
> (date-list (date-value))
(2012 2 15 8 31 15 45 3)
> (now)
(2012 2 15 8 31 17 952586 46 3 540 -60)
It seems that the day-of-the-year numbers are different in
now and
date-list.
In the
manual of date-list,
(date-list 1282479244) → (2010 8 22 12 14 4 234 1)
(date-list 1282479244 0) → 2010 ; year
(date-list 1282479244 -2) → 234 ; day of year
(apply date-value (date-list 1282479244)) → 1282479244
(date-list 0) → (1970 1 1 0 0 0 1 5) ; Thursday 1st, Jan 1900
In reality,
Code: Select all
> (date-list 1282479244)
(2010 8 22 12 14 4 233 7)
> (date-list 0)
(1970 1 1 0 0 0 0 4)
2010/8/22 was Sunday.
Perhaps,
The day-of-the-year number is not correct, but its example in the manual is correct.
The day of current week is correct, but its example in the manual is not correct.
By the way,
Now, I am translating the manual to Japanese.
As soon as possible, I will finish and update it.
Thanks,
P.S.
In the
manual,
The following examples show how the
extendet <tt>import</tt> syntax can
↓
The following examples show how the
extended <tt>import</tt> syntax can
Maybe.
Re: newLISP Stable Release v.10.4.0
Posted: Wed Feb 15, 2012 3:16 pm
by Lutz
The day of year value in 'date-list' is still a 0 based offset and has not yet been converted like 'now'. I have made a note in the manual - now online - and have corrected the example.
This does not affect any conversions as shown in the manual, where the day of year value is never used.
Thanks for discovering this.
Re: newLISP Stable Release v.10.4.0
Posted: Thu Feb 16, 2012 8:57 am
by johu
Thank you, Lutz.
I understood.
And I updated the manual translated to Japanese.
newlisp_manual-10400
CodePatterns-20120214
There are in
here.
Regards,
Re: newLISP Stable Release v.10.4.0
Posted: Thu Feb 16, 2012 3:09 pm
by Lutz
Thanks a lot, Johu. Both are updated here:
http://www.newlisp.org/newlisp_manual-jp.html
http://www.newlisp.org/CodePatterns-jp.html
I also added a link to a framed Japanese version on the Documentation page.
Re: newLISP Stable Release v.10.4.0
Posted: Fri Feb 17, 2012 3:34 am
by Ishpeck
Running Arch Linux x86_64, had the following.
Code: Select all
In file included from newlisp.c:20:0:
newlisp.h:37:56: fatal error: x86_64-linux-gnu/ffi.h: No such file or directory
compilation terminated.
Changed newlisp.h to get it compiling.
Code: Select all
[ishpeck@kiyoshi newlisp-10.4.0]$ export C_INCLUDE_PATH=/usr/lib/libffi-3.0.10/include:/usr/include
[ishpeck@kiyoshi web]$ diff newlisp.h newlisp-10.4.0/newlisp.h
37,38c37
< /*# include <x86_64-linux-gnu/ffi.h>*/ /* ubuntu_x64 */
< #include <ffi.h>
---
> # include <x86_64-linux-gnu/ffi.h> /* ubuntu_x64 */
Seems to work now.
Re: newLISP Stable Release v.10.4.0
Posted: Fri Feb 17, 2012 8:51 am
by johu
Thank you for always being so kind, Lutz.
It seems to be still old version in
http://www.newlisp.org/CodePatterns-jp.html.
And I updated the guiserver manual to Japanese.
guiserver_index-jp.html was modified because links was incorrect.
Of course,
guiserver_manual-jp.html renewed.
newlisp_manual-10400
CodePatterns-20120214
guiserver_manual-144
There are in
here.
Regards,
Re: newLISP Stable Release v.10.4.0
Posted: Fri Feb 17, 2012 3:03 pm
by Lutz
Perhaps you have a problem with your browser cache - hit Shift-Reload ;-) Both newlisp_manual.jp and CodePatterns-jp.html where replaced yesterday. On guiserver_manual-jp.html, today I only found a 2011 -> 2012 difference in the date and have replaced it. Biut JP spelling to jp was all replaced with new files yesterday.
Re: newLISP Stable Release v.10.4.0
Posted: Sun Feb 19, 2012 9:42 am
by johu
I am sorry,
CodePatterns-jp was a problem with my browser cache.
But
0GUI functions with Japanese occurs link-error when link is clicked in function-indexes.
Becasue in guiserver_index-jp.html, using "-JP" at links, not "-jp".
There are my mistakes.
Please replace
http://www.newlisp.org/guiserver-jp/gui ... ex-jp.html.
Thanks,
Re: newLISP Stable Release v.10.4.0
Posted: Sun Feb 19, 2012 3:07 pm
by Lutz
Re: newLISP Stable Release v.10.4.0
Posted: Mon Feb 20, 2012 9:07 am
by johu
Thanks a lot, Lutz.