embedding friendly, as suggested in PR pkg/14520 by Jarkko Torppa
-having to touch Setup.in anyway, comment out the non-64-bit-clean
modules regularily and remove the Makefile magic which led to the
same effect
on any platform (we can make a separate pkg for it later)
-pull in a patch which used to be in devel/py-readline here because
it is Python version specific
-bump PKGREVISION
changing the default module/library search path to have site_perl come
before the standard directories. In other words, the previous search path
on an i386 was:
/usr/pkg/lib/perl5/5.6.1/i386-netbsd
/usr/pkg/lib/perl5/5.6.1
/usr/pkg/lib/perl5/site_perl/5.6.1/i386-netbsd
/usr/pkg/lib/perl5/site_perl/5.6.1
/usr/pkg/lib/perl5/site_perl
but it is now:
/usr/pkg/lib/perl5/site_perl/5.6.1/i386-netbsd
/usr/pkg/lib/perl5/site_perl/5.6.1
/usr/pkg/lib/perl5/site_perl
/usr/pkg/lib/perl5/5.6.1/i386-netbsd
/usr/pkg/lib/perl5/5.6.1
The rationale for this is that when we install a module that is newer than
one in the standard library, the new module goes into the site_perl
directory as it's an add-on module. However, we can't use the newer module
without modifying either the scripts of the perl environment to find the
newer module explicitly because of the order of the library search path:
the site_perl directories come after the standard directories. The normal
solution is to directly replace the module in the standard library with
the newer module. However, this isn't really on option when installing
via pkgsrc because the older module files are owned by the perl package.
By placing the the site_perl directories before the standard directories,
newer modules that we install via pkgsrc are simply found before the older
ones in the standard library.
pure bugfix release
-install the "pydoc" script as "pydoc2.1" and make sure the corresponding
python version is used
-disable the audioop, imageop and rgbimg extensions - these don't work on
64-bit platforms anyway, I haven't seen a place where they are used yet,
and in case a need shows up, we better make an own extension pkg from
it which is marked FOR_PLATFORM_ONLY
o improve SortedCollection performance and ensures that the Directory
class>>#image method returns the *current* rather than the default
image path.
o fix a few bugs that were apparent when trying to extend base classes.
o bugfixes in the I/O subsystem, missed a few I/O available events if
many happened in a row.
o The #(a b) syntax for symbols inside Arrays has been obsoleted,
since 2.0 will parse it according to the ANSI standard.
o Calls to the virtual machine from plugins, and objects that are passed
as OOPs in call-outs, put OOPs in the incubator rather than in the
registry; call-outs are wrapped in incSavePointer/incRestorePointer.
o Command line parsing uses getopt and thus behaves exactly like other
programs (previously there were some discrepancies)
o Errors are signaled if a file specified on the command line is not found.
o Events can be passed to the Smalltalk image via an ObjectMemory class.
o Fixed bug in evalExpr and typeNameToOOP (gave a parse error).
o Removed the `make optimize' mess.
o Supported two additional ways to pass objects from Smalltalk to C:
#selfSmalltalk and #variadicSmalltalk, which are similar to respectively
#self and #variadic but pass raw object pointers to the C function
instead of attempting automatic conversions.
o #bindWith:... methods now accept other objects than Strings as parameters.
o Complete hierarchy of exceptions, with more meaningful error message
and possibility of more fine-grained exception handling.
o FileStream calls are not blocking and can preempt the current Process.
o FileStream handling has been rewritten; the buffering is now done
by Smalltalk code rather than implied in stdio. Unbuffered file
descriptor access (which used to be provided by UnixStream, defined
by the TCP package) is provided by FileStream's parent, FileDescriptor.
o Many methods in SystemDictionary were moved to ObjectMemory (a new class);
the old ones are now deprecated.
o SortedCollection's #includes:, #indexOf:, and #occurrencesOf: can
check for objects that could not be inserted in the collection
(e.g. an Integer in a collection of Strings). Fixed bugs in the same
methods related to sort blocks for which sort-block equality
(a <= b and b <= a) does not imply equality.
o Support for init blocks will be removed in a future version, as it
was replaced by the much more powerful ObjectMemory class.
o The SystemDictionary>>#enableGC: method does not exist any more, since
it only caused harm (the correct way to obtain its effect is to use the
incubator, since what we want is to unregister a batch of many objects
at the same time).
o The TCP library does not poll the socket for I/O, but relies on the
system's preemptive I/O facilities. As a result, the polling period
methods in Socket have disappeared.
o Usual round of bug fixes
New goodies:
o MD5 checksums
o Perl regular expressions
o Support for localization, internationalization and multiple character sets