Skip to content

Commit 323f586

Browse files
committed
Merge branch 'release/v.10.7.3'
2 parents 36b40e3 + 9606276 commit 323f586

32 files changed

+937
-506
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
# and file LOCALIZATION for details
2525
#
2626

27-
VERSION = 10.7.1
28-
INT_VERSION = 10701
27+
VERSION = 10.7.3
28+
INT_VERSION = 10703
2929

3030
default: makefile_build
3131
make -f makefile_build

configure-alt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
PACKAGE=newlisp
4-
VERSION=10.7.1
4+
VERSION=10.7.3
55

66
rm -f config.h makefile_build makefile_install
77

doc/CHANGES

+44-2
Original file line numberDiff line numberDiff line change
@@ -7145,10 +7145,10 @@ Dec 6, 2009
71457145
A illegal symbol when trying to create a context could crash the system,
71467146
when referenced again after the error message.
71477147

7148-
10.7.0 version 10.6.5 released as stable release January 2016.
7148+
10.7.0 verson 10.6.5 released as stable release January 2016.
71497149

71507150

7151-
10.7.1
7151+
10.7.1 stable release Jan 21st 2017
71527152
GMT - offset now includes a potential daylight savings bias, when
71537153
daylight savings time is active on Windows and Unix-like OSs.
71547154

@@ -7180,3 +7180,45 @@ Dec 6, 2009
71807180
when the symbol is too long. The 'contect' and 'sys'
71817181
functions already threw an error message.
71827182

7183+
10.7.2
7184+
Fixing out-of-sink of file positions when mixing 'search' and 'seek'
7185+
with 'read-line' on IO-streams introduced a new errror making
7186+
the newlisp-10.x.x/examples/upload.cgi script fail.
7187+
7188+
10.7.3
7189+
Supress loading of startup init.lsp when -h option is present. Before
7190+
only the -n and -x options supressed init.lsp.
7191+
7192+
Change in modules/gsl.lsp to make it work on locales using comma separator.
7193+
7194+
Ability to use 'open', 'rename-file', 'delete-file', 'make-dir' and
7195+
'remove-dir' with UTF16 filenames in UTF8 versions on Windows when
7196+
using the UTF8 version of newLISP. The functions 'file-info', 'file?',
7197+
'change-dir' and 'dir? already worked on UTF16 filenames when using the UTF8
7198+
version of newLISP on Windows.
7199+
7200+
Thanks to Michael Sabin who started the work a few years back writing the
7201+
win-path.c file with functions translating between UTF8 and UTF16.
7202+
7203+
When using the UTF8 version of newLISP on Windows in a command shell, that
7204+
command shell program also should be able to handle/display UTF8 (not UTF16).
7205+
On Windows and Linux the Java based frontend newLISP-GS handles UTF8.
7206+
On Mac OS the terminal program handles UTF8.
7207+
7208+
Fixed a wrong 'symbol protected message' when a protected symbol is
7209+
part of a nested espression, but not a symbol with its content to be
7210+
modified.
7211+
7212+
New modules/postscript.lsp changes description of ps:drawto.
7213+
7214+
Fixed flushing problem on 'print' to stdout on Mac OS and other BSDs.
7215+
7216+
'(read-key true)' with the 'true' parameter is now non-blocking.
7217+
7218+
(trim str) on some strings containing 0's would overrun memory and 0's
7219+
where not trimmed from the left. All character <= 32 (space) should
7220+
be trimmed from the left and right ends of the string buffer. When the
7221+
entire string is valid ASCII or UTF-8 with no 0s, ‘trim’ behaves
7222+
like in older versions.
7223+
7224+

doc/CodePatterns.html

+14-9
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@
9292

9393
<center>
9494
<h1 class="title">Code Patterns in newLISP<font size="-1">&#174;</font>
95-
</h1>Version 2015 July 11th<sup>rd</sup><br/>
96-
<a href="http://newlisp.org">newLISP</a> v.10.6.2
95+
</h1>Version 2017 Augusr 11<sup>th</sup><br/>
96+
<a href="http://newlisp.org">newLISP</a> v.10.7.3
9797
</center>
9898

9999
<br/><br/><br/>
@@ -2335,7 +2335,12 @@ <h3>Using <tt>exec</tt></h3>
23352335
<p>This method is only suited for short exchanges, executing one command and receiving the output.</p>
23362336

23372337
<pre>
2338-
(exec "ls *.c") → ("." ".." "util.c" "example.ls")
2338+
> (exec "ls *.c")
2339+
("newlisp.c" "nl-debug.c" "nl-filesys.c" "nl-import.c" "nl-list.c" "nl-liststr.c"
2340+
"nl-math.c" "nl-matrix.c" "nl-sock.c" "nl-string.c" "nl-symbol.c" "nl-utf8.c" "nl-web.c"
2341+
"nl-xml-json.c" "pcre-chartables.c" "pcre.c" "unix-lib.c" "win-dll.c" "win-path.c"
2342+
"win-util.c")
2343+
>
23392344
</pre>
23402345

23412346
<p>The <tt>exec</tt> function opens a process pipe for the Unix command-line utility <tt>ls</tt> and collects each line of STDOUT into a list of strings.</p>
@@ -3010,7 +3015,7 @@ <h3>Stateless server with inetd</h3>
30103015

30113016
<p>After configuring <tt>inetd</tt> or <tt>xinetd</tt> either process must be restarted to re-read the configuration files. This can be accomplished by sending the Unix <tt>HUP</tt> signal to either the <tt>inetd</tt> or <tt>xinetd</tt> process using the Unix <tt>kill</tt> or Unix <tt>nohup</tt> utility.</p>
30123017

3013-
<p>On Mac OS X the <tt>launchd</tt> facility can be used in a similar fashion. The newLISP source distribution contains the file <tt>org.newlisp.newlisp.plist</tt> in the <tt>util/</tt> directory. This file can be used to launch newlisp server during OS boot time as a persistent server.</p>
3018+
<p>On macOS the <tt>launchd</tt> facility can be used in a similar fashion. The newLISP source distribution contains the file <tt>org.newlisp.newlisp.plist</tt> in the <tt>util/</tt> directory. This file can be used to launch newlisp server during OS boot time as a persistent server.</p>
30143019

30153020
<h3>Test the server with telnet</h3>
30163021

@@ -3378,7 +3383,7 @@ <h3>Media types in HTTP modes</h3>
33783383
<a name="toc-23"></a>
33793384
<h2>23. Extending newLISP</h2>
33803385

3381-
<p>newLISP has an import function, which allows importing function from DLLs (Dynamic Link Libraries) on Win32 or shared libraries on Linux/Unix (ending in .so, ending in .dylib on Mac OS X).</p>
3386+
<p>newLISP has an import function, which allows importing function from DLLs (Dynamic Link Libraries) on Win32 or shared libraries on Linux/Unix (ending in .so, ending in .dylib on macOS).</p>
33823387

33833388
<h3>Simple versus extended FFI interface</h3>
33843389

@@ -3439,7 +3444,7 @@ <h3>A shared library in C</h3>
34393444

34403445
<h3>Compile on Unix</h3>
34413446

3442-
<p>On Mac OS X and Linux/Unix we can compile and link <tt>testlib.so</tt> in one step:</p>
3447+
<p>On macOS and Linux/Unix we can compile and link <tt>testlib.so</tt> in one step:</p>
34433448

34443449
<pre>
34453450
gcc testlib.c -shared -o testlib.so
@@ -3700,7 +3705,7 @@ <h3>Extracting return values</h3>
37003705

37013706
<h3>Writing library wrappers</h3>
37023707

3703-
<p>Sometimes the simple version of newLISP's built-in import facility cannot be used with a library. This happens whenever a library does not strictly adhere to <tt>cdecl</tt> calling conventions expecting all parameters passed on the stack. E.g. when running Mac OS X on older PPC CPUs instead of Intel CPUs, the OpenGL libraries installed by default on Mac OS X cannot be used.</p>
3708+
<p>Sometimes the simple version of newLISP's built-in import facility cannot be used with a library. This happens whenever a library does not strictly adhere to <tt>cdecl</tt> calling conventions expecting all parameters passed on the stack. E.g. when running macOS on older PPC CPUs instead of Intel CPUs, the OpenGL libraries installed by default on macOS cannot be used.</p>
37043709

37053710
<p>Since newLISP version 10.4.0, the problem can be solved easiest using the newer extended syntax of <tt>import</tt>, which automatically resolves platform and architectural differences. On very small systems or whenever the needed <tt>libffi</tt> system library is not present on a platform, a special wrapper library can be built to translate <tt>cdecl</tt> conventions expected by newLISP into the calling conventions expected by the target library.</p>
37063711

@@ -3801,7 +3806,7 @@ <h3>Registering callbacks in external libraries</h3>
38013806
<h2>24. newLISP as a shared library</h2>
38023807

38033808
<p>On all platforms, newLISP can be compiled as a shared library. On Win32, the library
3804-
is called <tt>newlisp.dll</tt>, on Mac OS X <tt>newlisp.dylib</tt> and on Linux and
3809+
is called <tt>newlisp.dll</tt>, on macOS <tt>newlisp.dylib</tt> and on Linux and
38053810
BSDs, the library is called <tt>newlisp.so</tt>. Makefiles are included in the source
38063811
distribution for most platforms. Only on Win32, the installer comes with a precompiled
38073812
<tt>newlisp.dll</tt> and will install it in the <tt>Program Files/newlisp/</tt> directory.</p>
@@ -3934,7 +3939,7 @@ <h3>Registering callbacks</h3>
39343939
</pre>
39353940

39363941
<p>Note that Win32 and many Unix flavors will look for <tt>newlisp.dll</tt>
3937-
in the system library path, but Mac OS X will look for <tt>newlisp.dylib</tt>
3942+
in the system library path, but macOS will look for <tt>newlisp.dylib</tt>
39383943
first in the current directory, if the full file path is not specified. The
39393944
program above can also be found as <tt>callback</tt> in the source distribution
39403945
in the <tt>newlisp-x.x.x/examples</tt> directory.</p>

doc/newLISP-10.7.1-Release.html

-91
This file was deleted.

doc/newLISP-10.7.3-Release.html

+96
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4+
<html>
5+
<head>
6+
<title>newLISP v.1.7.3 Release Notes </title>
7+
8+
<style type="text/css" media="screen">
9+
10+
h1 {
11+
font-family:Optima, Georgia, Times New Roman, Times, serif;
12+
font-size: 200%;
13+
font-weight: 500;
14+
color: #404040;
15+
}
16+
17+
h2, h3 {
18+
font-family: Lucida Sans, Helvetica, sans-serif;
19+
color: #404040;
20+
line-height: 120%;
21+
}
22+
23+
body, p {
24+
font-family: Lucida Sans, Helvetica, sans-serif;
25+
color: #404040;
26+
line-height: 120%;
27+
font-size: 110%;
28+
max-width: 900px;
29+
}
30+
31+
tt {
32+
font-family: Courier;
33+
color: #606060;
34+
line-height: 120%;
35+
}
36+
37+
em {
38+
font-family: Courier;
39+
color: #606060;
40+
}
41+
42+
li {
43+
margin-bottom: 15px;
44+
}
45+
46+
47+
</style>
48+
49+
</head>
50+
51+
<body>
52+
<h1>newLISP<font size=-1>&#174;</font> v.10.7.3 Development Release
53+
<font color="red" size="-1">2017-10-09</font></h1>
54+
55+
<p>This development release fixes bugs and adds functionality.</p>
56+
<p>For newer macOS versions legacy Java 6 runtime has to be installed.
57+
It can be downloaded from Apple
58+
<a href="https://support.apple.com/kb/DL1572?locale=en_US">here</a>.
59+
60+
<h3>Bug fixes</h3>
61+
62+
<p>Better handling of UTF-16 encoded filenames on MS Windows.
63+
Filenames in newLISP UTF-8 versions should be given encoded in UTF-8 but
64+
will be correctly encoded to UTF-16 format on Windows. When reading from
65+
the Windows file system, they will be correctly translated to UTF-8.</p>
66+
67+
<p>Fixed a wrong 'symbol protected message' when a protected symbol is
68+
part of a nested espression, but not a symbol with its content to be
69+
modified.</p>
70+
71+
<p>Fixed a flushing problem on <tt>print</tt> to stdout on macOS and
72+
other BSDs.</p>
73+
74+
<p><tt>(trim str)</tt> on some strings containing <tt>0</tt>'s would overrun
75+
memory and <tt>0</tt>'s where not trimmed from the left. All characters less
76+
than space (32) should be trimmed from both ends of the string buffer. When the
77+
entire string is valid ASCII or UTF-8 with no <tt>0</tt>s, <tt>trim</tt> behaves
78+
like in older versions.</p>
79+
80+
<h3>New Features</h3>
81+
82+
<p>Supress loading of startup file <tt>init.lsp</tt> when <tt>-h</tt> option
83+
is present. In older versions only the <tt>-n</tt> and <tt>-x</tt> options
84+
supressed <tt>init.lsp</tt>.</p>
85+
86+
<p><tt>(read-key true)</tt> with the <tt>true</tt> parameter is now
87+
non-blocking.</p>
88+
89+
<h3>Compatibility with previous versions</h3>
90+
<p>This version is compatible with the previous versions in the 10.7.x series.</p>
91+
92+
<center>&part;</center>
93+
94+
</body>
95+
</html>
96+

doc/newlisp.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH newlisp 1 "April 2014" "version 10.6.0" "Commandline Parameters"
1+
.TH newlisp 1 "May 2017" "version 10.7.2" "Commandline Parameters"
22
.SH NAME
33
newlisp \- lisp like programming language
44
.SH SYNOPSIS

0 commit comments

Comments
 (0)