Changes since 1.2 release:
- Try to fetch X86 CPU identification using "cpuid" instruction
- Detect Ubuntu version
- Only use 64-bit libraries when running on 64-bit kernel
- Fixes for builds with older versions of Visual C
- Dectect Windows 7
- Fix Garbage Collection crashes after calling an external function
- Fix HTTP w/ DOC/WatTCP
- Fix MinGW compliation
Changes since 1.1 release
=========================
Support for new platforms:
add "universal" (PPC and x86) configure option for MacOS X
report CPU model name on "MacIntel"
report "CPU CHIP TYPE" on HP-UX
detect Windows on Windows64
detect amd64 architecture on Windows
detect Windows Server 2008
Use $(MAKE) for all recursive make invocations
Add --force-sdbm configure option
Fix UTFLEN() to handle zero
fix timing script to deal with AFS
Approved by <obache>.
Note that the tcl bindings are not (yet) built. Next time...
pkgsrc changes not trivial but should be invisible.
Changelog:
Changes since 1.0 release;
=========================
Added new (experimental) builtin function groups:
"DBM" -- "ndbm" keyed database access
"COM" -- COM/OLE Automation on Win32
"STCL" -- SNOBOL/Tcl interface (optional)
New library "dynamic.sno" to help compile/link
dynamicly loadable extensions.
Added HTTP.POST function to http.sno
Handle environments where pointers can have high order bit set
Linux 2.6 kernels in Fedora Core, SuSE 10 distributions
Avoid broken "install" utilities
autoconf compatibility: Honor CC, CFLAGS, CPPFLAGS,
LDFLAGS, DESTDIR environment variables.
Fix compilation on pre-panther OSX
Fix second argument to DEFINE(): was not case folded!
Fix backtracking over unevaluated expressions
Source &FILE and &LINE shown in TRACE output
Experimental: GC stats & tracing (-g on command line, >RACE keyword)
Completed support for "memory I/O" when CSNOBOL4 used as a library!
Added "PREDICATE" and "SYSPRED" return types in wrapper.sno
Changes since 0.99.44 release;
=============================
Added snolib(3) man page for SNOBOL4 library routines
Treat all bytes with 8th bit set as ALPHA on ASCII systems
allows UTF-8 encoded characters, and national
character sets to used in labels and identifiers!
command line:
-S option to enlarge interpreter stack
configure:
added --mandir & --bindir
IPv6 Support (both client and server)
bi-directional "pipe" I/O on systems with sockets
"privileged" port binding for UDP
Lots of cleanup!
DJGPP (DOS gcc) fixes
default to -O3 with gcc
add C prototypes for all functions
(function declarations still "K&R" style)
MINGW (Win32 gcc) fixes
Fix LOAD() on Darwin (MacOS X)
Fix timing script on Debian
Ported to HP-UX/IA64
VMS: LOAD() support (not tested)
Compilation on VMS7.3
support magic pathnames "/dev/null" and "/dev/tty"
Win32: native (low overhead) support for character console I/O
support magic pathnames "/dev/null" and "/dev/tty"
fixed UDP I/O
Fix for parallel make (GNU make, BSD make)
Compilation under MS Visual Studio .NET 2003
Make struct descr packable (BITFIELDS_SAME_TYPE)
Check for oversize integer constants (ERANGE from strtol())
Changes since 0.99.4 release;
============================
Command line:
-d (dynamic region size) and -M (pattern match stack size)
now take values in descriptors
-v shows CSNOBOL4 version
Increased default dynamic space to 64K descriptors
Fix faulty lexical comparison function optimzations for null string
Performance improvments;
New string hash function
(reduced both compilation and run time of genc.sno by 5%)
Optimized most common case (CONTIN actions) in
"stream" operation used for lexical analysis.
(reduced compilation time of genc.sno by 8%)
Merged all scanner (pattern matching) functions into
single C function (eliminates mutual recursion, stack
overflows)
genc runtime reduced 15%
atn.sno runtime reduced by 63%!! (2.7x faster)
worst case (4096 char string) reduced 69% (4.8x faster)
snocone self-compile runtime reduced 5%
Made pattern building functions (lib/pat.c) inlinable
(8% reduction in genc.sno compile time)
Eliminate space padding on lines read by compiler
(reduced genc.sno compile time by 65%)
Raised default C compiler optimization levels
Default &MAXLNGTH to largest possible string
Documentation:
README file describes available includes
Include PDF of manual page
Implement fatal "Output error" for output, ENDFILE() errors
Configuration script re-write;
Eliminate static config files & autoconf script
configure generates config.m4 and config.h
(with all defines) for use by loadable functions
New configuration options;
**** see "INSTALL" file for more information ****
--add-define=
Add a #define to config.h (visible to external functions)
--double
EXPERIMENTAL option to use C "double" for SNOBOL4 REAL data type
--fast
Architecture specific optimizations on native compilers
--longlong
EXPERIMENTAL!!
try to use C "long long" (64-bit integer) for INTEGER datatype
when longs/pointers are only 32-bits (ILP32 data model).
--lp64
Request use of 64-bit long/pointer data model
if available on this architecture, and not the default.
--no-opt
Compile without optimization
New SNOBOL library files (see README);
compatibility libraries:
fence.sno, logic.sno, not.sno
spitbol.sno, snobol4+.sno
HOST() function codes:
host.sno
URL (http:, ftp:, file:) access functions
Use large files (64-bit offsets) where available. Allows access
and creation of files larger than 2GB
New functions;
FUNCTION() -- predicate to test if a function is defined
** EXPERIMENTAL **
LABEL() -- predicate to test if a label is defined
idea from Steve Duff's version of Macro SPITBOL
ORD() -- inverse of CHAR()
SERV_LISTEN() -- act as TCP server
SSET() -- scaled SET() allow large files when INTEGER is 32bits
VDIFFER() -- returns first arg if two arguments DIFFER()
idea from Steve Duff's version of Macro SPITBOL
Extended HOST() functions (see host.sno) for system diagnosis
HOST() function will accept REAL or integer encoded STRING args
TIME() function now returns REAL datatype allows both better
resolution (for small values) and larger range. Using
32-bit floats, runtimes larger than four and a half
hours will lose resolution.
Statistics reports compiler and execution times as REAL numbers
Average statement runtime reported in microseconds (us).
Allow a REAL any place an INTEGER is required (from SNOBOL4+)
Contexts include TABLE(), ITEM(), array indices,
INPUT(), OUTPUT(), SET(), keyword values, CHAR(),
RPAD(), LPAD(), FIELD(), COLLECT(), DUMP(), DUPL(),
OPSYN(), and SUBSTR()
load.h updates;
all RETxxx macros safe in any context
RETSTR() takes single argument, allows NULL pointer
RETSTR2() has old RETSTR() functionality
RETINT() and RETREAL() always set return data type.
All include files needed to build loadable functions
installed in SNOLIB directory
Include BSD tsort program; allow builds from scratch
on platforms with GNU tsort (Linux, Cygwin)
New ports;
Ported to Darwin (MacOS X)
Ported to Cygwin (http://cygwin.com), a free Unix emulation
environment for Windows.
Attempt at native Win32 port
Updated Borland C port
Updated VMS port; pipe open support, attempt at tty support
removed unavailable ftp://alpha.gnu.org/budne/snobol/.
add new entry ftp://ftp.snobol4.org/snobol/old/.
(ftp://ftp.snobol4.org/snobol/ have newer version 1.1).
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.
Fixes PR 35265, although I did not use the patch provided therein.
pkgsrc. Instead, a new variable PKGREVISION is invented that can get
bumped independent of DISTNAME and PKGNAME.
Example #1:
DISTNAME= foo-X.Y
PKGREVISION= Z
=> PKGNAME= foo-X.YnbZ
Example #2:
DISTNAME= barthing-X.Y
PKGNAME= bar-X.Y
PKGREVISION= Z
=> PKGNAME= bar=X.YnbZ (!)
On subsequent changes, only PKGREVISION needs to be bumped, no more risk
of getting DISTNAME changed accidentally.
foo-* to foo-[0-9]*. This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net. Also
change dependency examples in Packages.txt to reflect this.
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.
While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).
Patch by Alistair Crooks <agc@netbsd.org>
Closes pkg/10535. Changes are:
o Bypassed the hard-to-reproduce build failure caused by
getrusage() returning decreasing microsecond times. Did
this by wrapping the getrusage() function so that it never
returns a smaller value for microseconds than the previous
time it was called, if called within the same second.
Perhaps this should be done to getrusage() internally, until
fixed the proper way. See PR bin/10201. --- refling.
o Added a tutorial and a message about it. --- refling.