Permalink
Fetching contributors…
Cannot retrieve contributors at this time
8433 lines (5686 sloc) 269 KB
2013-02-14 Holger Hans Peter Freyther <holger@freyther.de>
* kernel/StreamOps.st: Override the >>#species selector.
* tests/streams.st: Add testcase.
* tests/streams.ok: Update the result.
2013-01-23 Gwenael Casaccio <gwenael.casaccio@gmail.com>
* kernel/Behavior.st: Remove security.
* kernel/BindingDict.st: Remove security.
* kernel/Class.st: Remove security.
* kernel/ContextPart.st: Remove security.
* kernel/Metaclass.st: Remove security.
* kernel/Object.st: Remove security.
* kernel/Security.st: Delete the file.
* kernel/SysExcept.st: Remove security exceptions.
* libgst/Makefile.am: Remove security files.
* libgst/comp.c: Remove security checks.
* libgst/dict.c: Update Class structure.
* libgst/dict.h: Update Class structure.
* libgst/files.c: Remove security file from bootstrap.
* libgst/gst-parse.c: Remove security checks.
* libgst/interp.c: Remove security checks.
* libgst/opt.c: Remove security checks.
* libgst/prims.def: Remove security primitives.
* libgst/security.c: Remove file.
* libgst/security.h: Remove file.
* libgst/sym.c: Remove security checks.
* packages.xml: Remove security file.
* tests/Makefile.am: Remove security tests.
* tests/testsuite.at: Remove security tests.
* tests/untrusted.ok: Remove security tests.
* tests/untrusted.st: Remove security tests.
2013-01-27 Holger Hans Peter Freyther <holger@freyther.de>
* configure.ac: Enable the silent rules.
* snprintfv/configure.ac: Enable the silent rules.
2013-01-29 Holger Hans Peter Freyther <holger@freyther.de>
* tests/stcompiler.st: Add parsing test.
* tests/stcompiler.ok: Update the test result.
2013-01-17 Holger Freyther <holger@freyther.de>
* kernel/Delay.st: Name the process created.
2013-01-17 Holger Freyther <holger@freyther.de>
* tests/dates.ok: Fix the testcase to read from the right
ReadStream.
* tests/dates.st: Update the test result.
2013-01-23 Holger Freyther <holger@freyther.de>
* .travis.yml: Update before_install to update the apt repository.
2013-03-16 Holger Freyther <holger@freyther.de>
* .travis.yml: Add description for the travis-ci service.
2013-03-16 Holger Freyther <holger@freyther.de>
* tests/Makefile.am: Add streams.st and streams.ok to data
2012-10-09 Paolo Bonzini <bonzini@gnu.org>
Holger Freyther <holger@freyther.de>
* kernel/StreamOps.st: Fix previous changeset.
* tests/streams.st: New.
* tests/streams.ok: New.
2012-10-08 Paolo Bonzini <bonzini@gnu.org>
* kernel/StreamOps.st: Ensure "last" is up to date when a
stream has reached its end. Reported by Holger Freyther.
2012-10-02 Holger Freyther <holger@freyther.de>
* tests/stcompiler.st: Add testcase for pragma parsing.
* tests/stcompiler.ok: Update the test result.
2012-09-29 Holger Freyther <holger@freyther.de>
* scripts/Convert.st: Collect all rewrite expressions and parse
them with the selected parser.
2012-09-29 Holger Freyther <holger@freyther.de>
* tests/stcompiler.st: Add testcase for parsing 16rff.
* tests/stcompiler.ok: Update the test result.
2012-09-14 Thomas Girard <thomas.g.girard@free.fr>
* tests/cobjects.st: Add CBoolean test case for issue#659.
* tests/cobjects.ok: Regenerate.
* kernel/CObject.st: Add missing CBoolean class>>#type.
2012-09-09 Holger Freyther <holger@freyther.de>
* tests/stcompiler.st: Add testcase for article.
* tests/stcompiler.ok: Update the test result.
2012-09-09 Holger Freyther <holger@freyther.de>
* kernel/Delay.st: Name the delay process.
2012-09-09 Holger Freyther <holger@freyther.de>
* kernel/CallinProcess.st: Copy the priority directly.
2012-10-08 Roman <komputikisto@gmail.com>
* kernel/Iterable.st: Fix #fold: for objects that do not implement
#isEmpty.
2012-10-08 Roman <komputikisto@gmail.com>
* kernel/Link.st: Fail fast on zero or negative indices.
2012-02-22 Paolo Bonzini <bonzini@gnu.org>
* kernel/CallinProcess.st: Fix creation of cloned process, reported
by Holger Freyther.
2012-02-22 Gwenael Casaccio <mrgwen@gmail.com>
Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Add support for <dir> tag.
2012-07-15 Paolo Bonzini <bonzini@gnu.org>
* scripts/Package.st: Disable again backtraces.
2012-06-04 Thomas Girard <thomas.g.girard@free.fr>
* tests/cobjects.st: Adapt longLong test case, showing the issue#646.
* tests/cobjects.ok: Regenerate.
2012-05-19 Ladislav Marek <ladislav@marek.su>
* kernel/MessageLookup.st: Add missing dot.
2012-05-19 Paolo Bonzini <bonzini@gnu.org>
* kernel/Delay.st: Switch to nanosecond-precision.
* kernel/ProcSched.st: Rename #signal:atMillisecondClockValue:
to #signal:atNanosecondClockValue:.
2012-05-19 Paolo Bonzini <bonzini@gnu.org>
* libgst/sysdep.h: Rename _gst_init_sysdep_win32 to
_gst_init_sysdep_timer.
* libgst/sysdep/common/files.c: Likewise.
* libgst/sysdep/cygwin/timer.c: Likewise.
* libgst/sysdep/win32/timer.c: Likewise.
* libgst/sysdep/posix/timer.c: Support POSIX real-time timers.
2012-05-19 Paolo Bonzini <bonzini@gnu.org>
* kernel/Delay.st: Use #signal:atMillisecondClockValue:.
* kernel/ProcSched.st: Define #signal:atMillisecondClockValue:.
2012-05-19 Paolo Bonzini <bonzini@gnu.org>
* kernel/Random.st: Do not use #primMillisecondClock.
* kernel/Time.st: Base time on nanoseconds.
2012-05-13 Stefano Lattarini <stefano.lattarini@gmail.com> (tiny change)
build: don't use obsolescent AM_PROG_CC_STDC and AM_CONFIG_HEADER
The Automake-provided macros 'AM_PROG_CC_STDC' and 'AM_CONFIG_HEADER'
have been superseded respectively by the Autoconf-provided ones
'AC_PROG_CC' (since October 2002) and 'AC_CONFIG_HEADERS' (since July
2002). Moreover, those obsolescent macros will be removed in the next
major Automake version (1.13). Stop using them.
* configure.ac (AM_CONFIG_HEADER): Don't use this, ...
(AC_CONFIG_HEADERS): ... use this instead. While we are at it,
properly quote the argument.
* snprintfv/configure.ac (AM_PROG_CC_STDC): Drop this, the invocation
to AC_PROG_CC is enough.
2012-03-29 Paolo Bonzini <bonzini@gnu.org>
* tests/compiler.st: Add testcase.
* tests/compiler.ok: Regenerate.
2012-02-02 Holger Hans Peter Freyther <holger@freyther.de>
* scripts/Package.st: Scan for new *.star files.
2011-09-25 Holger Hans Peter Freyther <holger@freyther.de>
* kernel/File.st: Add a <category: 'text'> to the class.
* kernel/PkgLoader.st: Ditto.
* kernel/VFS.st: Ditto.
2012-03-01 Paolo Bonzini <bonzini@gnu.org>
* kernel/CompildMeth.st: Return self from #makeLiteralsReadOnly.
Do not make globals read-only. Reported by Gwenael Casaccio.
2012-02-22 Paolo Bonzini <bonzini@gnu.org>
* kernel/LinkedList: Add #first, #last, and improve error on #at:.
2012-02-22 Paolo Bonzini <bonzini@gnu.org>
Gwenael Casaccio <mrgwen@gmail.com>
* tests/processes.st: Add testcase.
* tests/processes.ok: Regenerate.
2012-02-08 Gwenael Casaccio <mrgwen@gmail.com>
* kernel/MethodDict.st: Fix initialization of mutex.
2012-02-04 Paolo Bonzini <bonzini@gnu.org>
* kernel/MessageLookup.st: Change #sendTo: to #retrySendTo:.
Keep inherited implementation of #sendTo:.
2012-02-02 Paolo Bonzini <bonzini@gnu.org>
Gwenael Casaccio <mrgwen@gmail.com>
* tests/delays.st: Add testcase.
* tests/delays.ok: Regenerate.
2012-02-02 Paolo Bonzini <bonzini@gnu.org>
* kernel/Process.st: Do not interrupt a terminated process.
2012-01-30 Paolo Bonzini <bonzini@gnu.org>
* kernel/Delay.st: Fix previous commit.
* tests/delays.st: Add testcase.
* tests/delays.ok: Regenerate.
2012-01-30 Gwenael Casaccio <mrgwen@gmail.com>
Paolo Bonzini <bonzini@gnu.org>
* tests/exceptions.st: Add MessageLookup test.
* tests/exceptions.ok: Regenerate.
2012-01-27 Paolo Bonzini <bonzini@gnu.org>
* kernel/MessageLookup.st: Fix cut-and-paste error, reported by Gwen.
2012-01-21 Gwenael Casaccio <mrgwen@gmail.com>
* kernel/Delay.st: Reset delay before removing.
2011-12-27 Paolo Bonzini <bonzini@gnu.org>
* kernel/CFuncs.st: Add #system:withArguments:.
* kernel/VFSZip.st: Use it instead of #%. Reported by Maarten van Beek.
* scripts/Package.st: Use it instead of #%.
2011-12-27 Paolo Bonzini <bonzini@gnu.org>
* kernel/FilePath.st: Add #withShellEscapes and use it for printing.
2011-12-27 Paolo Bonzini <bonzini@gnu.org>
* kernel/CharArray.st: Add #withShellEscapes (and OS-specific workers).
2011-12-27 Paolo Bonzini <bonzini@gnu.org>
* kernel/DirMessage.st: Add #method.
* kernel/MessageLookup.st: New.
2011-11-28 Paolo Bonzini <bonzini@gnu.org>
* scripts/Package.st: Use #symlinkFrom: to create absolute-path
symlinks.
2011-11-23 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiDates.st: Improve #readFrom: to not read ahead too much
and parse more formats. Reported by Maarten van Beek.
* kernel/Date.st: Improve #readFrom: to not read ahead too much
and parse negative years.
* kernel/Time.st: Improve #readFrom: to not read ahead too much.
* tests/dates.st: Add testcases.
* tests/dates.ok: Regenerate.
2011-11-23 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiDates.st: Fix printing DateTimes with negative
fractional offsets.
2011-11-14 Mehul Sanghvi <mehul.sanghvi@gmail.com>
* kernel/CFuncs.st: Add #environ.
2011-11-10 Gwenael Casaccio <mrgwen@gmail.com>
Paolo Bonzini <bonzini@gnu.org>
* kernel/Behavior.st: Add #scopeDictionary.
* kernel/Dictionary.st: Add #scopeDictionary.
2011-11-04 Gwenael Casaccio <mrgwen@gmail.com>
* kernel/RootNamespc.st: Fix #new:.
2011-09-22 Paolo Bonzini <bonzini@gnu.org>
* kernel/Delay.st: Restart pending delays when the image restarts.
* kernel/Time.st: Make the millisecondClockValue monotonic across
image save.
2011-08-13 Paolo Bonzini <bonzini@gnu.org>
Mathieu Suen <mathieusuen@yahoo.fr>
* kernel/ProcSched.st: Add #dispatchEvents and #forkEventLoop.
2011-08-13 Paolo Bonzini <bonzini@gnu.org>
* scripts/Remote.st: Move server logic to RemoteServer class.
2011-08-13 Gwenael Casaccio <mrgwen@gmail.com>
* scripts/Remote.st: Suspend/resume server process across snapshots.
2011-08-13 Paolo Bonzini <bonzini@gnu.org>
* scripts/Remote.st: Fix typo in 2fc74b9.
2011-08-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileDescr.st: Recheck file descriptor state between
async and sync polling.
2011-08-13 Paolo Bonzini <bonzini@gnu.org>
Mathieu Suen <mathieusuen@yahoo.fr>
* kernel/FilePath.st: Fix Windows "File fullNameFor: 'C:'".
2011-08-05 Paolo Bonzini <bonzini@gnu.org>
* gst-tool.c: Add -i option.
2011-08-03 Gwenael Casaccio <mrgwen@gmail.com>
* kernel/ObjDumper.st: Remove.
* tests/objdump.ok: Remove.
* tests/objdump.st: Remove.
2011-08-03 Paolo Bonzini <bonzini@gnu.org>
* kernel/ObjDumper.st: Fix VersionableObjectProxy. Reported by
Gwenael Casaccio.
2011-08-01 Mathieu Suen <mathieusuen@yahoo.fr>
* kernel/CCallable.st: Add #longLong/#uLongLong.
* kernel/CObject.st: Add CLongLong and CULongLong.
* kernel/CType.st: Add CLongLongType and CULongLongType.
* tests/cobjects.ok: Add long long test cases.
* tests/cobjects.st: Regenerate.
2011-07-29 Gwenael Casaccio <mrgwen@gmail.com>
* kernel/AbstNamespc.st: Fix name of #compileAll.
2011-08-01 Paolo Bonzini <bonzini@gnu.org>
* kernel/Float.st: Small optimization, check sameDown/sameUp by
comparing the result of \\ against eps.
2011-07-27 Paolo Bonzini <bonzini@gnu.org>
* kernel/ContextPart.st: Improve 2011-07-15 change.
2011-07-15 Paolo Bonzini <bonzini@gnu.org>
* kernel/ContextPart.st: Fix off-by-one in accessing ip for currentLine.
2011-07-13 Paolo Bonzini <bonzini@gnu.org>
* libgst/sysdep/posix/signals.c: Use pthread_sigmask, not sigprocmask.
Suggested by Gwenael Casaccio.
2011-07-04 Paolo Bonzini <bonzini@gnu.org>
Gwenael Casaccio <mrgwen@gmail.com>
* kernel/OrderColl.st: Replace loops with replaceFromToWithStartingAt
primitives.
* kernel/SortedColl.st: Likewise.
2011-07-04 Gwenael Casaccio <mrgwen@gmail.com>
* kernel/OrderColl.st: Fix previous commit.
2011-07-04 Paolo Bonzini <bonzini@gnu.org>
* kernel/OrderColl.st: Inline #makeRoomFirstFor: and #makeRoomLastFor:
when the argument is one.
2011-07-04 Paolo Bonzini <bonzini@gnu.org>
* kernel/Float.st: Test against both num - eps and num + eps.
* tests/floatmath.st: Add regression test.
* tests/floatmath.ok: Regenerate.
2011-06-28 Gwenael Casaccio <mrgwen@gmail.com>
* kernel/BindingDict.st: Remove #beConsistent.
* kernel/Collection.st: Remove #beConsistent.
* kernel/Dictionary.st: Remove #beConsistent.
* kernel/HashedColl.st: Remove #beConsistent.
* kernel/IdentDict.st: Remove #beConsistent.
* kernel/IdentitySet.st: Remove #beConsistent.
* kernel/LookupTable.st: Remove #beConsistent.
* kernel/OrderColl.st: Remove #beConsistent.
* kernel/SeqCollect.st: Remove #beConsistent.
* kernel/Set.st: Remove #beConsistent.
* kernel/SortCollect.st: Add #beConsistent here.
* kernel/WeakObjects.st: Add #beConsistent here.
2011-06-10 Mathieu Suen <mathieusuen@yahoo.fr>
* kernel/CType.st: Add methods for equality and hashing.
2011-06-06 Paolo Bonzini <bonzini@gnu.org>
* kernel/VFS.st: Fix previous commit.
2011-06-06 Paolo Bonzini <bonzini@gnu.org>
* kernel/Collection.st: Add #includesAllOf:.
2011-06-02 Paolo Bonzini <bonzini@gnu.org>
* kernel/ObjDumper.st: Call #postLoad on fixed objects.
2011-05-30 Holger Hans Peter Freyther <holger@freyther.de>
* scripts/Remote.st: Resolve the hostname to an address to be
used by Sockets.ServerSocket>>#port:bindTo:.
2011-05-26 Paolo Bonzini <bonzini@gnu.org>
* kernel/VFS.st: Fix off-by-one in RecursiveFileWrapper>>#namesDo:.
Reported by Gwenael Casaccio.
2011-05-26 Gwenael Casaccio <mrgwen@gmail.com>
* kernel/MethodDict.st: Wrap operation with a mutex.
2011-05-26 Paolo Bonzini <bonzini@gnu.org>
* kernel/CharArray.st: Support string keys in #%.
* tests/strings.st: Add testcases.
* tests/strings.ok: Regenerate.
2011-05-26 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiDates.st: Fix printing of negative offsets.
Reported by Holger Hans Peter Freyther.
2011-05-19 Paolo Bonzini <bonzini@gnu.org>
* kernel/SysExcept.st: Wrap modifications to #'__terminate' with
#makeReadOnly:.
2011-05-19 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiDates.st: Implement #today sensibly. Reported by
Holger Hans Peter Freyther.
2011-05-19 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiDates.st: Implement #asLocal correctly.
* kernel/Time.st: Implement #timezoneBias: helper primitive.
2011-05-18 Paolo Bonzini <bonzini@gnu.org>
* tests/compiler.st: Add testcases.
* tests/compiler.ok: Regenerate.
2011-04-29 Paolo Bonzini <bonzini@gnu.org>
* kernel/Integer.st: Add #printPaddedWith:to:.
2011-04-29 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileDescr.st: Fix finalizer. Reported by Holger
Hans Peter Freyther.
2011-04-21 Gwenael Casaccio <mrgwen@gmail.com>
* kernel/CompildMeth.st: Move oldsyntax flag over from
the old CompiledMethod in the cCall pragma handlers.
2011-04-12 Holger Hans Peter Freyther <holger@freyther.de>
* kernel/Delay.st: Add #value:onTimeoutDo:.
* kernel/Process.st: Add #signalInterrupt:.
* kernel/SysExcept.st: Add TimeoutNotification.
* tests/delays.st: Add testcases.
* tests/delays.ok: Regenerate.
2011-04-06 Paolo Bonzini <bonzini@gnu.org>
* kernel/CType.st: Add #new: and #gcNew:.
2011-04-06 Paolo Bonzini <bonzini@gnu.org>
* kernel/SeqCollect.st: Add #size.
2011-03-28 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileDescr.st: Report end-of-stream when read/write return 0.
2011-03-24 Paolo Bonzini <bonzini@gnu.org>
* tests/intmath.st: Add testcases.
* tests/intmath.ok: Regenerate.
2011-03-09 Paolo Bonzini <bonzini@gnu.org>
* tests/compiler.st: Add test case.
* tests/compiler.ok: Regenerate.
2011-03-07 Paolo Bonzini <bonzini@gnu.org>
* tests/pools.st: Enable fixed testcases.
* tests/pools.ok: Regenerate.
2011-03-07 Paolo Bonzini <bonzini@gnu.org>
* tests/compiler.st: Add test case.
* tests/compiler.ok: Regenerate.
2011-03-07 Paolo Bonzini <bonzini@gnu.org>
* tests/compiler.st: Add test case.
* tests/compiler.ok: Regenerate.
* tests/pools.st: Enable fixed testcases.
* tests/pools.ok: Regenerate.
2011-03-07 Paolo Bonzini <bonzini@gnu.org>
* tests/pools.st: Enable fixed testcases.
* tests/pools.ok: Regenerate.
2011-03-07 Paolo Bonzini <bonzini@gnu.org>
* tests/compiler.st: Add testcase.
* tests/compiler.ok: Regenerate.
2011-03-07 Paolo Bonzini <bonzini@gnu.org>
* tests/pools.st: Add broken testcases.
2011-03-07 Paolo Bonzini <bonzini@gnu.org>
* kernel/CType.st: Fix #storeOn: for array types.
2011-03-07 Paolo Bonzini <bonzini@gnu.org>
* kernel/Autoload.st: Fix declaration of #class for Autoload.
2011-02-28 Paolo Bonzini <bonzini@gnu.org>
* kernel/FloatQ.st: Improve precision of FloatQ constants for
113-bit floats.
2011-02-11 Paolo Bonzini <bonzini@gnu.org>
* tests/cobjects.ok: Regenerate.
* tests/cobjects.st: Add test case for variadic.
2011-02-06 Holger Hans Peter Freyther <holger@freyther.de>
* tests/stcompiler.ok: Regenerate.
* tests/stcompiler.st: Add test case.
2011-02-04 Holger Hans Peter Freyther <holger@freyther.de>
* tests/testsuite.at: Add the Sockets test.
2011-02-02 Holger Hans Peter Freyther <holger@freyther.de>
* tests/Makefile.am: Add shape.ok and shape.st to the noinst data
2011-02-02 Holger Hans Peter Freyther <holger@freyther.de>
* tests/stcompiler.ok: New.
* tests/stcompiler.st: New.
* tests/testsuite.at: Add STInST compiler tests.
* tests/Makefile.am: Add STInST compiler tests.
2011-02-03 Paolo Bonzini <bonzini@gnu.org>
* tests/shape.st: Fix for 32-bit compilation.
* tests/shape.ok: Regenerate.
2011-01-27 Paolo Bonzini <bonzini@gnu.org>
* testsuite/compiler.ok: Regenerate, nil is returned consistently
from #compile: if the method has errors.
2011-01-27 Paolo Bonzini <bonzini@gnu.org>
* testsuite/untrusted.st: Use a filein from an untrusted process
instead of passing information across #methodsFor: (which worked
more or less by chance).
* testsuite/untrusted.ok: Regenerate.
2011-01-27 Mathieu Suen <mathieusuen@yahoo.fr>
Paolo Bonzini <bonzini@gnu.org>
* kernel/Random.st: Implement Mersenne Twister.
2011-01-24 Paolo Bonzini <bonzini@gnu.org>
* kernel/Builtins.st: Add #methodsFor:.
2011-01-24 Paolo Bonzini <bonzini@gnu.org>
* kernel/Builtins.st: Remove obsolete stubs.
2011-01-24 Paolo Bonzini <bonzini@gnu.org>
* kernel/Builtins.st: Add #subclass:environment: and Namespace
class>>#current.
* kernel/Class.st: Add #subclass:environment:.
* kernel/UndefObject.st: Add #subclass:environment:.
2011-01-24 Paolo Bonzini <bonzini@gnu.org>
* kernel/Class.st: Add #allSharedPoolDictionaries:overrideEnvironment:.
* kernel/UndefObject.st: Use it.
2011-01-24 Paolo Bonzini <bonzini@gnu.org>
* kernel/UndefObject.st: Add Smalltalk as a shared pool.
2011-01-25 Paolo Bonzini <bonzini@gnu.org>
* scripts/Package.st: Fix String<->File confusion with --prepare.
2011-01-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/Process.st: Remove useless #yield.
2011-01-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/Process.st: Remove useless #resume of an active process.
2011-01-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/Process.st: Remove useless #yield.
2011-01-15 Paolo Bonzini <bonzini@gnu.org>
* kernel/DLD.st: Fix case when the same library is loaded multiple
times.
2011-01-14 Gwenael Casaccio <mrgwen@gmail.com>
* kernel/Class.st: Detect class name conflicting with its namespace.
2011-01-10 Paolo Bonzini <bonzini@gnu.org>
* kernel/Autoload.st: Add the ability to plug arbitrary loaders.
Suggested by Denis Washington.
2011-01-10 Mathieu Suen <mathieusuen@yahoo.fr>
* tests/shape.ok: New.
* tests/shape.st: New.
* tests/testsuite.at: Add it.
2010-12-20 Paolo Bonzini <bonzini@gnu.org>
* kernel/Transcript.st: Add #critical:.
2010-12-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/OrderColl.st: Add #identityRemove:ifAbsent: and
#identityRemove:.
* kernel/Delay.st: Use it. Reset the delay after removal.
2010-12-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/OrderColl.st: Speed up iteration 2x.
2010-12-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/FilePath.st: Remove unused instance variable. Reported
by Gwenael Casaccio.
2010-12-09 Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Do not modify "self files".
2010-12-05 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileDescr.st: Fix deadlock when reading last byte from
a two-way pipe.
2010-12-04 Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Add <filein> tags that do not have a matching
<built-file> tag to #files. Do not print <file> tags for files
that are already printed with <filein>.
2010-12-04 Paolo Bonzini <bonzini@gnu.org>
* tests/strings.st: Add testcase.
* tests/strings.ok: Regenerate.
2010-11-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/Semaphore.st: Fix race.
2010-11-10 Paolo Bonzini <bonzini@gnu.org>
* kernel/Delay.st: Remove ActiveDelay, simplify code.
2010-11-10 Paolo Bonzini <bonzini@gnu.org>
* kernel/ContextPart.st: Make accesses to out of bounds stack
slots safe.
2010-11-10 Paolo Bonzini <bonzini@gnu.org>
* kernel/Delay.st: Add #asAbsolute, #isAbsolute. Add #postCopy
to make copied delays reusable.
2010-11-10 Paolo Bonzini <bonzini@gnu.org>
* kernel/Semaphore.st: Document return value of #wait. Use it to
simplify #critical:.
* kernel/Delay.st: Add return value from #timedWaitOn:.
* testsuite/delays.st: Test return values of #timedWaitOn:.
* testsuite/delays.ok: Regenerate.
2010-11-10 Paolo Bonzini <bonzini@gnu.org>
* kernel/Delay.st: Add #timedWaitOn:.
* testsuite/delays.st: Add testcases.
* testsuite/delays.ok: Regenerate.
2010-11-10 Paolo Bonzini <bonzini@gnu.org>
* kernel/Delay.st: Fix race.
2010-11-10 Paolo Bonzini <bonzini@gnu.org>
* kernel/Delay.st: Add delaySemaphore to detect reentrant usage
of a Delay. Change DelayEvent to DelayRequestor throughout, changing
it and ActiveDelay to not be an Association anymore. Use #isActive
to distinguish between schedule and unschedule requests.
2010-11-10 Paolo Bonzini <bonzini@gnu.org>
* kernel/Delay.st: Slight simplification of #wait.
2010-11-08 Paolo Bonzini <bonzini@gnu.org>
* kernel/SeqCollect.st: Optimize #atAllPut:.
* examples/Bench.st: Use #atAllPut: for array initialization.
2010-11-02 Paolo Bonzini <bonzini@gnu.org>
* examples/Bench.st: Increase runtime to keep up with newer
computers.
2010-10-24 Paolo Bonzini <bonzini@gnu.org>
* kernel/Iterable.st: Add #ifNil:ifNotNilDo: and friends.
* kernel/UndefObject.st: Likewise.
2010-10-23 Paolo Bonzini <bonzini@gnu.org>
* examples/MiniDebugger.st: Fix and improve process commands.
2010-10-19 Paolo Bonzini <bonzini@gnu.org>
* examples/Methods.st: Fix bitrot.
2010-10-17 Holger Hans Peter Freyther <zecke@selfish.org>
* tests/cobject.st: Add client code for ByteArray>>#asCData and
String>>#asCData.
* tests/cobject.ok: Update the result.
2010-10-17 Paolo Bonzini <bonzini@gnu.org>
* kernel/String.st: Document NULL-termination of output of
#asCData and #asCData:.
2010-10-17 Paolo Bonzini <bonzini@gnu.org>
* kernel/UndefObject.st: Add #inheritsFrom:
* scripts/Test.st: Automatically load SUnit.
2010-10-16 Paolo Bonzini <bonzini@gnu.org>
* kernel/ByteArray.st: Add #asCData.
* kernel/String.st: Add #asCData.
2010-10-16 Paolo Bonzini <bonzini@gnu.org>
* scripts/GenDoc.st: Handle warnings from STClassLoader, document
all loaded classes rather than only the fully defined ones.
2010-10-15 Paolo Bonzini <bonzini@gnu.org>
* kernel/ByteArray.st: Add #castTo:.
2010-10-07 Paolo Bonzini <bonzini@gnu.org>
* tests/testsuite.at: Mark packages depending on Iconv as optional.
* tests/testsuite: Regenerate.
2010-09-28 Holger Hans Peter Freyther <zecke@selfish.org>
* kernel/FileDescr.st: Fix a typo.
2010-09-28 Holger Hans Peter Freyther <zecke@selfish.org>
* tests/classes.ok: Remove "Recompiling" messages.
* tests/mutate.ok: Remove "Recompiling" messages.
2010-09-28 Paolo Bonzini <bonzini@gnu.org>
* kernel/Behavior.st: Recompile this class is "removed" is true.
Remove #subclassesNeedRecompilation since it's useless now with no
"Recompiling" messages.
2010-09-27 Paolo Bonzini <bonzini@gnu.org>
* kernel/Behavior.st: Remove "Recompiling" messages.
* kernel/CompildMeth.st: Remove "Recompiling" messages.
* kernel/Metaclass.st: Remove "Recompiling" messages.
2010-09-25 Paolo Bonzini <bonzini@gnu.org>
* kernel/SysExcept.st: Fix duplicate instance variable declaration.
2010-09-25 Paolo Bonzini <bonzini@gnu.org>
* kernel/Behavior.st: Fix #instanceVariableNames: to always recompile
when needed. Reported by Mathieu Suen.
* tests/classes.st: Add testcase.
* tests/classes.ok: Regenerate.
2010-09-13 Holger Hand Peter Freyther <zecke@selfish.org>
* tests/strings.st: Tests for String>>asNumber.
* tests/strings.ok: Regenerate.
2010-09-13 Paolo Bonzini <bonzini@gnu.org>
* tests/cobjects.st: Add CPtr testcase.
* tests/cobjects.ok: Regenerate.
2010-08-31 Paolo Bonzini <bonzini@gnu.org>
* kernel/Float.st: Correctly print numbers that require extra
digits to be distinguished. Also try rounding down to eliminate
long sequence of zeros. Reported by Nicolas Petton.
* tests/floatmath.st: Add testcases.
* tests/floatmath.ok: Regenerate.
2010-08-31 Paolo Bonzini <bonzini@gnu.org>
* kernel/Number.st: Read base-10 exponents.
2010-08-05 Paolo Bonzini <bonzini@gnu.org>
* kernel/URL.st: Add #scheme:host:path:, fix #scheme:path:.
2010-07-26 Paolo Bonzini <bonzini@gnu.org>
* scripts/Remote.st: Fix typo.
2010-06-16 Holger Hans Peter Freyther <zecke@selfish.org>
* kernel/File.st: Remove unused local variable.
2010-06-06 Paolo Bonzini <bonzini@gnu.org>
* kernel/CompildCode.st: Implement #= using identity. Reported
by Gwenael Casaccio.
2010-06-03 Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Add /usr/share/smalltalk/site-packages.
2010-05-31 Paolo Bonzini <bonzini@gnu.org>
* scripts/Package.st: Remove debugging output. Change "git fetch"
to "git pull".
2010-05-27 Gwenael Casaccio <mrgwen@gmail.com>
* kernel/LookupKey.st: Remove value instance variable.
2010-05-25 Paolo Bonzini <bonzini@gnu.org>
* kernel/Object.st: Fix error message for storing UnicodeCharacters
into Strings.
2010-05-21 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileDescr.st: Fix #atEnd for pipes.
2010-05-21 Paolo Bonzini <bonzini@gnu.org>
* kernel/DynVariable.st: Reimplement DynamicVariable here.
* kernel/ProcEnv.st: Add methods used by DynamicVariable.
* kernel/SysExcept.st: Remove old implementation from here.
2010-05-19 Paolo Bonzini <bonzini@gnu.org>
* scripts/Remote.st: Gracefully handle #atEnd on the remote socket.
2010-05-03 Holger Hans Peter Freyther <zecke@selfish.org>
* gst-tool.c: Add -v|-V|--verbose to all tools.
* scripts/Package.st: Handle the verbose option.
* scripts/GenDoc.st: Likewise.
* scripts/Profile.st: Likewise.
* scripts/Remote.st: Likewise.
2010-04-15 Paolo Bonzini <bonzini@gnu.org>
* kernel/Regex.st: Fix printing a MatchingRegexResults.
2010-04-11 Paolo Bonzini <bonzini@gnu.org>
* winewrapper.c: Work around spawnl(P_WAIT, "...") and system()
not waiting when a Unix program is invoked (see
http://bugs.winehq.org/show_bug.cgi?id=22338).
2010-04-11 Paolo Bonzini <bonzini@gnu.org>
* scripts/Test.st: Fix help message.
2010-04-11 Paolo Bonzini <bonzini@gnu.org>
* kernel/Directory.st: Fix running with no home directory.
2010-04-10 Paolo Bonzini <bonzini@gnu.org>
* winewrapper.c: Support Unix to DOS path conversion. Always convert
argv[1] to a DOS path.
2010-04-10 Paolo Bonzini <bonzini@gnu.org>
* scripts/Package.st: Use File>>#isAbsolute.
2010-04-06 Paolo Bonzini <bonzini@gnu.org>
* kernel/Interval.st: Add #copyFrom:to:.
2010-04-06 Paolo Bonzini <bonzini@gnu.org>
* kernel/Interval.st: Fix operations on empty interval, improve
printing.
2010-04-06 Paolo Bonzini <bonzini@gnu.org>
* kernel/DirMessage.st: Add #value:value:.
2010-04-06 Paolo Bonzini <bonzini@gnu.org>
* kernel/Number.st: Add #isExact.
* kernel/Float.st: Add #isExact.
* kernel/Interval.st: Add #isExact.
2010-03-27 Paolo Bonzini <bonzini@gnu.org>
* kernel/File.st: Do not check errno unless a system call fails.
* kernel/Directory.st: Likewise.
* kernel/FileDescr.st: Likewise. Remove useless #...ifFail: keywords.
2010-03-25 Holger Hans Peter Freyther <zecke@selfish.org>
* kernel/Integer.st: Refer to the right parameter of the selectors.
2010-03-25 Paolo Bonzini <bonzini@gnu.org>
* kernel/SeqCollect.st: Make #indexOfSubCollection: return true
for an empty needle. Against ANSI, but consistent with
#startsWith:/#endsWith:.
2010-03-03 Gwenael Casaccio <mrgwen@gmail.com>
* kernel/ContextPart.st: Fix thinko in #debuggerClass.
2010-03-03 Gwenael Casaccio <mrgwen@gmail.com>
Paolo Bonzini <bonzini@gnu.org>
* kernel/Process.st: Add #detach.
* kernel/CallinProcess.st: Add class categories.
2010-02-20 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiExcept.st: Rename to SysExcept.st, leave only subclasses
of Exceptions, move everything else to...
* kernel/ExcHandling.st: ... here, dropping instance-based exceptions.
* kernel/BlkClosure.st: Adjust for above changes.
* packages.xml: Adjust for AnsiExcept.st rename.
2010-02-19 Paolo Bonzini <bonzini@gnu.org>
* tests/exceptions.st: Do not use instance-based exceptions.
* tests/sets.st: Do not use instance-based exceptions.
* tests/exceptions.ok: Regenerate.
2010-02-19 Paolo Bonzini <bonzini@gnu.org>
* kernel/CallinProcess.st: Add #detach.
* kernel/Process.st: Add #suspendedContext:.
2010-02-19 Paolo Bonzini <bonzini@gnu.org>
* kernel/Continuation.st: Remove failed experiment. Causes too
many problems with exception handlers and block closures. Since
I need this only for the GtkDebugger, and not really need all of
it, I'll special case what is really needed.
* kernel/Process.st: Likewise.
* tests/processes.st: Likewise.
* tests/processes.ok: Likewise.
2010-02-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/CallinProcess.st: Add a convenience method.
2010-02-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/ExcHandling.st: Extract #instantiateDefaultHandler.
* kernel/AnsiExcept.st: Override it for UnhandledException.
2010-02-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiExcept.st: Use #instantiateNextHandlerFrom:.
* kernel/ExcHandling.st: Likewise. Move #instantiateNextHandler:from:
to Signal and rename it.
2010-02-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/ExcHandling.st: Small refactoring of Signal part 1,
just make the next part more obvious.
2010-02-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiExcept.st: Add InvalidState.
* kernel/Continuation.st: Add forking of continuations.
* kernel/Process.st: Add forking of processes.
* tests/processes.st: Add testcase.
* tests/processes.ok: Regenerate.
2010-01-30 Paolo Bonzini <bonzini@gnu.org>
* kernel/Collection.st: Add #sorted and #sorted:.
* kernel/SeqCollect.st: Add #sorted and #sorted:.
* kernel/ArrayColl.st: Add #sorted and #sorted:.
* kernel/SortCollect.st: Add #sorted and #sorted:, disable #sort
and #sort:.
2010-01-22 Paolo Bonzini <bonzini@gnu.org>
* kernel/Collection.st: Error on #anyOne for empty collections.
2010-01-10 Paolo Bonzini <bonzini@gnu.org>
* scripts/Package.st: Fix previous patch to Package.st.
2010-01-02 Paolo Bonzini <bonzini@gnu.org>
* kernel/SeqCollect.st: Rename #sortBy: to #sort: for Grease
compatibility.
2010-01-01 Paolo Bonzini <bonzini@gnu.org>
* Update copyright years.
2010-01-01 Gwenael Casaccio <mrgwen@gmail.com>
* scripts/Package.st: Give an error if no arguments are given.
2010-01-01 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiDates.st: Add some methods for Grease.
* kernel/Bag.st: Likewise.
* kernel/Collection.st: Likewise.
* kernel/Date.st: Likewise.
* kernel/Time.st: Likewise.
* kernel/Iterable.st: Add abstract #,.
* kernel/SeqCollect.st: Remove #, pushed up to Collection.
* kernel/StreamOps.st: Make #, accept a Collection argument.
2009-12-30 Gwenael Casaccio <mrgwen@gmail.com>
* kernel/PkgLoader.st: Add <version>, use indirect dispatch.
2009-12-30 Paolo Bonzini <bonzini@gnu.org>
* kernel/CharArray.st: Fix #subStrings: for Unicode strings.
2009-12-30 Paolo Bonzini <bonzini@gnu.org>
* kernel/CharArray.st: Fix ANSItude of #subStrings:.
2009-12-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Push #isDisabled up to PackageInfo.
2009-12-02 Paolo Bonzini <bonzini@gnu.org>
* kernel/CompildMeth.st: Add #method.
2009-11-26 Paolo Bonzini <bonzini@gnu.org>
* kernel/DateTime.st: Add more creation methods.
2009-11-14 Nicolas Petton <petton.nicolas@gmail.com> (tiny change)
* kernel/VFS.st: ArchiveFile>>at: answer nil if fo file found
2009-11-13 Paolo Bonzini <bonzini@gnu.org>
* gst-tool.c: Uh-oh.
* scripts/Package.st: Uh-oh.
2009-11-13 Paolo Bonzini <bonzini@gnu.org>
* gst-tool.c: Add --update/--download.
* scripts/Package.st: Add --update.
2009-11-13 Paolo Bonzini <bonzini@gnu.org>
* scripts/Package.st: Fix --list-files=Foo --list-files=Bar.
2009-11-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Adjust for downloadable packages.
* scripts/Package.st: Refactoring and downloadable packages.
2009-11-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/URL.st: Allow + in URL schemes.
2009-11-12 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiExcept.st: Add DynamicVariable.
2009-11-12 Paolo Bonzini <bonzini@gnu.org>
* kernel/Directory.st: Add #prefix and #execPrefix.
2009-11-09 Paolo Bonzini <bonzini@gnu.org>
* scripts/Package.st: Fix gst-package when -t is not passed.
2009-11-09 Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Add #packageAt:ifAbsent:.
2009-11-09 Paolo Bonzini <bonzini@gnu.org>
* kernel/URL.st: Add #entity.
2009-11-06 Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Add missing bracket.
2009-11-06 Nicolas Petton <petton.nicolas@gmail.com>
* example/PackageBuilder.st: Make url optional.
2009-11-05 Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Add #url/#url: accessors.
* examples/PackageBuilder.st: Here too.
2009-11-04 Paolo Bonzini <bonzini@gnu.org>
* kernel/Number.st: Add abstract #asFraction and (concrete)
#asExactFraction.
* kernel/Float.st: Return a Fraction from #asExactFraction.
* kernel/Fraction.st: Use #asExactFraction for coercion.
2009-11-02 Paolo Bonzini <bonzini@gnu.org>
* kernel/Number.st: Fail on "x raisedToInteger: 0".
2009-11-02 Paolo Bonzini <bonzini@gnu.org>
* kernel/FloatQ.st: Remove useless override of #raisedTo:.
2009-11-02 Paolo Bonzini <bonzini@gnu.org>
* kernel/Float.st: Refuse to hash NaNs.
2009-11-01 Paolo Bonzini <bonzini@gnu.org>
* kernel/Float.st: Fix printing floats when an all-nines mantissa
is rounded up to 10^n.
* tests/floatmath.st: Add regression test.
* tests/floatmath.st: Regenerate.
2009-11-01 Paolo Bonzini <bonzini@gnu.org>
* tests/compiler.st: Add regression test.
2009-10-28 Lee Duhem <lee.duhem@gmail.com>
Paolo Bonzini <bonzini@gnu.org>
* kernel/Behavior.st: Clean up hierarchy printing methods.
2009-10-27 Lee Duhem <lee.duhem@gmail.com>
Paolo Bonzini <bonzini@gnu.org>
* kernel/Behavior.st: Adjust method categories, add
#formattedSourceStringAt: and #formattedSourceStringAt:ifAbsent:,
#lookupAllSelectors:, #printFullHierarchy.
* kernel/Collection.st: Add #displayLines.
* kernel/Symbol.st: Add #implementors.
2009-10-22 Lee Duhem <lee.duhem@gmail.com>
* kernel/AnsiExcept.st: Add NotFound>>#signal:reason:.
* kernel/PkgLoader.st: Specify the reason why the package is not
found.
2009-10-22 Lee Duhem <lee.duhem@gmail.com>
* kernel/CCallback.st: Fix comments.
* kernel/Object.st: Fix comments.
2009-10-19 Lee Duhem <lee.duhem@gmail.com>
* kernel/Interval.st: Fix wrong send of #step.
2009-10-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/FloatQ.st: Fix infinite loop.
* tests/floatmath.st: Add testcases.
* tests/floatmath.ok: Regenerate.
2009-10-13 Paolo Bonzini <bonzini@gnu.org>
* gst-tool.c: Do not save image when starting browsers, let the
user do that within the GUI.
2009-10-06 Paolo Bonzini <bonzini@gnu.org>
* tests/objects.st: Add #becomeForward: testcase for bug triggered
by PetitParser.
* tests/objects.ok: Regenerate.
2009-10-05 Paolo Bonzini <bonzini@gnu.org>
* kernel/Number.st: Add #asString.
2009-10-05 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileDescr.st: Fix #nextPutByte:, reported by Nicolas
Petton.
2009-10-04 Paolo Bonzini <bonzini@gnu.org>
* kernel/Array.st: Use a primitive for #at:ifAbsent:.
* kernel/ByteArray.st: Use a primitive for #at:ifAbsent:.
* kernel/OtherArrays.st: Use a primitive for #at:ifAbsent:.
* kernel/String.st: Use a primitive for #at:ifAbsent:.
* kernel/UniString.st: Use a primitive for #at:ifAbsent:.
* kernel/Object.st: Implement helper method for #at:ifAbsent:.
2009-10-04 Paolo Bonzini <bonzini@gnu.org>
* kernel/PosStream.st: Implement #upTo: using #indexOf:.
2009-10-04 Paolo Bonzini <bonzini@gnu.org>
* kernel/String.st: Use memchr primitive.
* kernel/ByteArray.st: Use memchr primitive.
2009-10-03 Paolo Bonzini <bonzini@gnu.org>
* kernel/WriteStream.st: Optimize #next:putAll:startingAt:.
2009-10-03 Paolo Bonzini <bonzini@gnu.org>
* kernel/Stream.st: Use #nextPutAllOn: for Stream>>#upToEnd,
implement Stream>>#contents using #upToEnd.
2009-10-03 Paolo Bonzini <bonzini@gnu.org>
* kernel/PosStream.st: Fix #nextPutAllOn:.
2009-09-19 Paolo Bonzini <bonzini@gnu.org>
Nicolas Cellier <ncellier@ifrance.com>
* kernel/Float.st: Add #predecessor and #successor.
* tests/floatmath.st: New tests.
* tests/floatmath.ok: Regenerate.
2009-09-19 Paolo Bonzini <bonzini@gnu.org>
* kernel/URL.st: Add #asString and #resolvePath:.
2009-09-15 Paolo Bonzini <bonzini@gnu.org>
* kernel/Generator.st: Use a non-escaping continuation.
2009-09-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/Regex.st: Fix.
2009-09-13 Paolo Bonzini <bonzini@gnu.org>
* scripts/Convert.st: Add bang at end of squeak evals.
2009-09-11 Paolo Bonzini <bonzini@gnu.org>
* kernel/Regex.st: Add #escapeRegex.
2009-09-08 Paolo Bonzini <bonzini@gnu.org>
* scripts/Load.st: Fix "gst-load --start A B".
2009-09-07 Paolo Bonzini <bonzini@gnu.org>
* scripts/Convert.st: Remove #fileOutHeader override.
2009-09-07 Paolo Bonzini <bonzini@gnu.org>
* kernel/Behavior.st: Add shape == #inherit support in nil subclasses
and in #setInstanceSpec:instVars:.
* kernel/CObject.st: Define #inheritShape instead of #subclass:.
Omit irrelevant <shape: #word> pragmas.
* kernel/Class.st: Add #inheritShape.
* kernel/Metaclass.st: Handle inheritShape.
2009-09-04 Paolo Bonzini <bonzini@gnu.org>
* gst-tool.c: Add gst-browser, support passing multiple implicit
arguments.
* scripts/Browser: Delete.
2009-09-03 Paolo Bonzini <bonzini@gnu.org>
* scripts/Load.st: Save image before starting packages.
2009-09-03 Paolo Bonzini <bonzini@gnu.org>
* tests/compiler.st: Add regression test.
* tests/compiler.ok: Regenerate
2009-09-02 Lee Duhem <lee.duhem@gmail.com>
* kernel/ArrayColl.st: Remove unnecessary manual hyphenations.
* kernel/Behavior.st: Ditto.
* kernel/BlkClosure.st: Ditto.
* kernel/CharArray.st: Ditto.
* kernel/Object.st: Ditto.
* kernel/RunArray.st: Ditto.
* kernel/SeqCollect.st: Ditto.
* kernel/ValueAdapt.st: Ditto.
2009-09-01 Lee Duhem <lee.duhem@gmail.com>
* scripts/Remote.st: Fix typo in help message
2009-08-25 Paolo Bonzini <bonzini@gnu.org>
* scripts/Remote.st: Fix inadvertent commit.
2009-08-24 Paolo Bonzini <bonzini@gnu.org>
Nicolas Petton <petton.nicolas@gmail.com>
* kernel/Object.st: Add #becomeForward:.
* tests/objects.st: Add #becomeForward: tests.
* tests/objects.ok: Regenerate.
2009-08-22 Paolo Bonzini <bonzini@gnu.org>
* kernel/Dictionary.st: Override #copyAllFrom: to copy associations.
Reported by Nicolas Petton.
2009-08-21 Paolo Bonzini <bonzini@gnu.org>
* kernel/Delay.st: Use #pause: in IdleProcess.
* kernel/ProcSched.st: Return whether to pause for a signal in #idle.
2009-08-21 Paolo Bonzini <bonzini@gnu.org>
* kernel/Delay.st: Rename rockBottomPriority to idlePriority.
* kernel/ObjMemory.st: Rename rockBottomPriority to idlePriority.
* kernel/ProcSched.st: Rename rockBottomPriority to idlePriority.
2009-08-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/DLD.st: Add #addLibraryHandle:.
2009-08-04 Paolo Bonzini <bonzini@gnu.org>
* kernel/Semaphore.st: Minor change, planning for future changes.
2009-08-01 Stefan Schmiedl <s@xss.de>
* kernel/FilePath.st: Improve commentary.
2009-08-01 Paolo Bonzini <bonzini@gnu.org>
* kernel/ProcSched.st: Improve handling of finalizers upon restart.
2009-08-01 Paolo Bonzini <bonzini@gnu.org>
* kernel/Delay.st: Initialize here.
* kernel/ObjMemory.st: Not here.
2009-07-28 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiDates.st: Add Duration>>#storeOn: and
DateTime>>#storeOn:.
2009-07-28 Paolo Bonzini <bonzini@gnu.org>
* main.c: Add git revision number to --version output.
2009-07-27 Paolo Bonzini <bonzini@gnu.org>
* scripts/Convert.st: Add Squeak format. Unbreak case
when -F is not passed at all.
2009-07-27 Paolo Bonzini <bonzini@gnu.org>
* scripts/Convert.st: Support multiple output formats.
* gst-tool.c: Add new option.
2009-07-27 Paolo Bonzini <bonzini@gnu.org>
* scripts/Convert.st: Refactor emitting of eval.
2009-07-26 Paolo Bonzini <bonzini@gnu.org>
* gst-tool.c: Accept overrides from the environment for ZIP etc.
* winewrapper.c: New.
2009-07-26 Paolo Bonzini <bonzini@gnu.org>
* kernel/FilePath.st: Fix Windows path cases.
2009-07-25 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiDates.st: Add Duration>>#wait.
2009-07-25 Paolo Bonzini <bonzini@gnu.org>
* kernel/Time.st: Simplify millisecond clock since GNU Smalltalk
has had LargeIntegers for, ehm, quite some time.
2009-07-25 Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Automatically wrap start and stop
scripts with Eval.
2009-07-25 Paolo Bonzini <bonzini@gnu.org>
* scripts/Load.st: Fix --start.
2009-07-23 Paolo Bonzini <bonzini@gnu.org>
* kernel/Integer.st: Add base-10 methods too.
2009-07-23 Paolo Bonzini <bonzini@gnu.org>
* kernel/Integer.st: Implement print-with-padding methods.
2009-07-16 Paolo Bonzini <bonzini@gnu.org>
* kernel/Number.st: Don't say +Inf is close to -Inf.
2009-07-16 Paolo Bonzini <bonzini@gnu.org>
* kernel/Iterable.st: Remove duplicate method.
2009-07-15 Paolo Bonzini <bonzini@gnu.org>
* kernel/ObjDumper.st: Check #atEnd in #load.
* tests/objdump.st: Add test.
* tests/objdump.ok: Regenerate.
2009-07-15 Stefan Schmiedl <s@xss.de>
* kernel/FileDescr.st: Add forgotten return in #pastEnd.
2009-07-11 Paolo Bonzini <bonzini@gnu.org>
* kernel/ExcHandling.st: Make #signalingContext more robust.
* tests/exceptions.st: Add regression test.
* tests/exceptions.ok: Regenerate.
2009-07-11 Paolo Bonzini <bonzini@gnu.org>
* tests/floatmath.st: Stress-test reading pi.
* tests/floatmath.ok: Regenerate.
2009-07-11 Paolo Bonzini <bonzini@gnu.org>
* tests/compiler.st: Test reading 16r-33.0.
* tests/compiler.ok: Regenerate.
2009-07-07 Stefan Schmiedl <s@xss.de>
* scripts/Convert.st: Typo fix.
2009-07-07 Paolo Bonzini <bonzini@gnu.org>
Stefan Schmiedl <s@xss.de>
* scripts/Remote.st: Fix order of #evaluate:ifError: block argument.
2009-07-01 Paolo Bonzini <bonzini@gnu.org>
* kernel/ProcSched.st: Do lower the priority of the finalization
worker.
2009-06-29 Paolo Bonzini <bonzini@gnu.org>
* kernel/Integer.st: Add #digitAt:.
* kernel/LargeInteger.st: Fix comment.
2009-06-28 Paolo Bonzini <bonzini@gnu.org>
Stefan Schmiedl <s@xss.de>
* kernel/CStruct.st: Change #inspect to #examineOn:.
* kernel/Collection.st: Change #inspect to #examineOn:.
* kernel/CompildCode.st: Change #inspect to #examineOn:.
* kernel/Dictionary.st: Change #inspect to #examineOn:.
* kernel/Object.st: Change #inspect to #examineOn:, use it
for #inspect.
* kernel/SeqCollect.st: Change #inspect to #examineOn:.
2009-06-28 Paolo Bonzini <bonzini@gnu.org>
* kernel/ExcHandling.st: Add #signalingContext to Signal.
2009-06-22 Paolo Bonzini <bonzini@gnu.org>
* kernel/Directory.st: Fix #allFilesMatching:do:.
2009-06-19 Paolo Bonzini <bonzini@gnu.org>
* tests/floatmath.st: Eliminate inexact regression test.
2009-06-15 Paolo Bonzini <bonzini@gnu.org>
* kernel/Float.st: Eliminate hack for #floorLog: and #ceilingLog:
that was inexact for numbers very close to 1.
Compute exponent in exact arithmetic while printing.
* tests/floatmath.st: Add regression test.
* tests/floatmath.ok: Regenerate.
2009-06-15 Paolo Bonzini <bonzini@gnu.org>
* kernel/Float.st: Write well-known constants in binary.
* kernel/FloatE.st: Likewise.
* kernel/FloatQ.st: Likewise.
2009-06-12 Gwanael Casaccio <mrgwen@gmail.com>
* kernel/CompildCode.st: Fix #= to compare number of literals and
of bytecodes.
2009-06-12 Paolo Bonzini <bonzini@gnu.org>
* kernel/Float.st: Implement #log:.
2009-06-08 Paolo Bonzini <bonzini@gnu.org>
* kernel/LargeInt.st: Fix #asFloat: as reported by Nicolas Cellier.
* tests/floatmath.st: Add regression test.
* tests/floatmath.ok: Regenerate.
2009-06-08 Paolo Bonzini <bonzini@gnu.org>
Nicolas Cellier <ncellier@ifrance.com>
* kernel/Float.st: Implement #rounded.
* kernel/FloatD.st: Implement #half.
* kernel/FloatE.st: Implement #half.
* kernel/FloatQ.st: Implement #half.
* tests/floatmath.st: Add regression test.
* tests/floatmath.ok: Regenerate.
2009-06-07 Paolo Bonzini <bonzini@gnu.org>
* kernel/StreamOps.st: Remove #segmentFrom:to:.
2009-04-27 Paolo Bonzini <bonzini@gnu.org>
* main.c: Fix for real.
2009-04-25 Paolo Bonzini <bonzini@gnu.org>
* main.c: Fix newlines at end of --help messages.
* scripts/Convert.st: Fix newlines at end of --help messages.
* scripts/GenDoc.st: Fix newlines at end of --help messages.
* scripts/Load.st: Fix newlines at end of --help messages.
* scripts/Package.st: Fix newlines at end of --help messages.
* scripts/Profile.st: Fix newlines at end of --help messages.
* scripts/Remote.st: Fix newlines at end of --help messages.
* scripts/Test.st: Fix newlines at end of --help messages.
2009-03-30 Derek Zhou <agonyzhou@comcast.net>
Paolo Bonzini <bonzini@gnu.org>
* scripts/Profile.st: New.
* gst-tool.c: Add its options.
* kernel/CompildCode.st: Add #method.
* kernel/SysDict.st: Add profiling primitive.
2009-03-08 Nicolas Petton <petton.nicolas@gmail.com>
* scripts/GenDoc.st: Use FilePath>>#readStream where appropriate.
2009-03-04 Paolo Bonzini <bonzini@gnu.org>
* kernel/Transcript.st: Use a RecursionLock, not a Semaphore.
2009-02-02 Paolo Bonzini <bonzini@gnu.org>
* kernel/HashedColl.st: Inline and eliminate #findIndex:ifAbsent:.
* kernel/WeakObjects.st: Likewise. Suggested by Derek Zhou.
2009-01-29 Paolo Bonzini <bonzini@gnu.org>
* main.c: Link help message to home page.
2009-01-25 Paolo Bonzini <bonzini@gnu.org>
* kernel/FilePath.st: Always canonicalize / path separators to \
if needed.
2009-01-19 Paolo Bonzini <bonzini@gnu.org>
* kernel/ProcEnv.st: Fix ProcessVariable>>#key:.
2009-01-17 Paolo Bonzini <bonzini@gnu.org>
* kernel/ProcEnv.st: Add comments for ProcessVariable and make it
public.
* kernel/Process.st: Make the environment an IdentityDictionary.
2009-01-12 Paolo Bonzini <bonzini@gnu.org>
* kernel/Fraction.st: Add #sqrt.
2009-01-12 Paolo Bonzini <bonzini@gnu.org>
* kernel/ExcHandling.st: Remove empty "Object extend".
2009-01-09 Paolo Bonzini <bonzini@gnu.org>
* kernel/FilePath.st: Clarify semantics of #all, #do:, #namesDo:
with respect to . and .. entries.
* kernel/VFS.st: Do not pass . and .. in the RecursiveFileWrapper.
Pass an entry for the directory itself in #do: and #namesDo:.
Unwrap the passed object in #do:. Adjust #mode:, #owner:group:,
#lastAccessTime:lastModifyTime:.
2009-01-09 Paolo Bonzini <bonzini@gnu.org>
* kernel/Directory.st: Update class comment.
2009-01-08 Paolo Bonzini <bonzini@gnu.org>
* kernel/FilePath.st: Add back #fullName.
2009-01-07 Paolo Bonzini <bonzini@gnu.org>
* kernel/FilePath.st: Add group/owner setting methods.
* kernel/File.st: Add concrete implementation.
* kernel/VFS.st: Add recursive group/owner setting method
2009-01-07 Paolo Bonzini <bonzini@gnu.org>
* kernel/VFS.st: Add recursive mode and access time setters.
2009-01-07 Paolo Bonzini <bonzini@gnu.org>
* kernel/FilePath.st: Add missing #setTimeFor:mtime:atime: method.
2008-12-12 Paolo Bonzini <bonzini@gnu.org>
* kernel/SortCollect.st: Fix #percolateUp bug.
* tests/arrays.st: Add regression test.
* tests/arrays.ok: Regenerate.
2008-11-24 Paolo Bonzini <bonzini@gnu.org>
* kernel/IdentDict.st: Override #findIndex:.
2008-11-18 Paolo Bonzini <bonzini@gnu.org>
* scripts/Package.st: Fix explanation of the operation of
"gst-package -t ~/.st TestPack.star".
2008-10-28 Paolo Bonzini <bonzini@gnu.org>
* tests/intmath.st: Run the pi test with only 7 iterations.
Suggested by Stephen Woolerton.
* tests/intmath.ok: Regenerate.
2008-10-23 Paolo Bonzini <bonzini@gnu.org>
* tests/compiler.st: Add regression test.
* tests/compiler.ok: Regenerate.
2008-10-22 David M. Cooke <dave@gyroid.ca> (tiny change)
* gst-tool.c: Fix for "gst-remote -I".
2008-10-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/Rectangle.st: Add both keyword orders.
2008-10-04 Paolo Bonzini <bonzini@gnu.org>
* kernel/Rectangle.st: Fix keyword order in #left:top:right:bottom:.
2008-10-03 Paolo Bonzini <bonzini@gnu.org>
* kernel/Float.st: Fix possible rounding errors in floorLog/ceilingLog.
* tests/floatmath.st: Add regression test.
* tests/floatmath.ok: Regenerate.
2008-09-22 Paolo Bonzini <bonzini@gnu.org>
* kernel/Stream.st: Add Stream>>#file, use it.
* kernel/StreamOps.st: Implement #file when relevant.
* kernel/VFSZip.st: Add LimitedStream>>#file.
2008-09-20 Paolo Bonzini <bonzini@gnu.org>
* kernel/CObject.st: Snafu.
2008-09-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/CObject.st: Add #isNull.
* kernel/UndefObject.st: Add #isNull.
2008-09-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/Regex.st: Call #cull: for #ifMatched:ifNotMatched: and
friends.
2008-09-16 Paolo Bonzini <bonzini@gnu.org>
* kernel/Collection.st: Call #cull: for #removeAll:ifAbsent:.
* kernel/Dictionary.st: Call #cull: for #removeAllKeys:ifAbsent:,
add #removeAllKeysSuchThat:.
* kernel/DirMessage: Add #value:.
2008-09-18 Paolo Bonzini <bonzini@gnu.org>
* tests/compiler.st: Test that filed-in streams are correctly
associated to FileSegments or Strings.
* tests/compiler.ok: Regenerate.
2008-09-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/Behavior.st: Fix for methodDictionary being nil.
* kernel/ClassDesc.st: Fix for methodDictionary being nil.
2008-09-16 Paolo Bonzini <bonzini@gnu.org>
* kernel/Behavior.st: Add #sourceCodeAt:ifAbsent:.
* kernel/CompildCode.st: Add #sendsToSuper.
* kernel/CompildMeth.st: Add #isAbstract and #sendsToSuper.
2008-09-15 Paolo Bonzini <bonzini@gnu.org>
* kernel/Number.st: Do not use #skip:.
2008-08-27 Masatake YAMATO <yamato@redhat.com>
* kernel/Character.st: Add `ff'.
2008-08-27 Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Add #/ as a synonym of #fullPathOf:.
2008-08-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiExcept.st: Register an exception handler within
UndefinedObject>>#'__terminate'.
* kernel/ContextPart.st: Scan the environment context too for
#scanBacktraceForAttribute:do:.
* tests/processes.st: Add testcase.
* tests/processes.ok: Regenerate.
2008-08-17 Paolo Bonzini <bonzini@gnu.org>
* scripts/GenDoc.st: Oops.
2008-08-17 Paolo Bonzini <bonzini@gnu.org>
* kernel/WeakObjects.st: Implement WeakArray>>#new.
2008-08-16 Thomas Girard <thomas.g.girard@free.fr>
* gst-tool.c: Add `-F' argument to gst-doc.
* scripts/GenDoc.st: Implement it. Use #publishAll:toLocation:.
2008-08-14 Paolo Bonzini <bonzini@gnu.org>
* kernel/Number.st: Add #readFrom:radix:.
* kernel/Integer.st: Remove it from here.
2008-08-14 Paolo Bonzini <bonzini@gnu.org>
* kernel/DirMessage.st: Add #valueWithArguments:.
2008-08-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiExcept.st: Change superclass of ArithmeticError
and MessageNotUnderstood to Error, make them resumable.
2008-08-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiExcept.st: Change #primError: to #resignalAsUnhandled:.
Change superclass of Halt to Exception. Move old implementation
of #primError: to UnhandledException>>#defaultAction. Add
originalException field to UnhandledException.
* kernel/ContextPart.st: Remove #unwind and #unwind:.
* kernel/ExcHandling.st: Add #resignalAsUnhandled:, remove #primError:.
Change #primError: to #resignalAsUnhandled:.
* kernel/SysDict.st: Don't use ContextPart class>>#unwind.
2008-08-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/Duration.st: Add #readFrom:.
2008-08-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/File.st: Move #createDirectories...
* kernel/FilePath.st: ... here. Make it succeed if the path
exists and is a directory. Add abstract #createDirectory.
2008-08-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/Array.st: Fix #storeOn: for subclasses.
* kernel/ByteArray.st: Fix #storeOn: for subclasses.
2008-08-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/Collection.st: Add #includesAnyOf:.
* kernel/SeqCollect.st: Add #copyWithFirst: and #swap:with:.
* kernel/SortCollect.st: Prepend `basic' prefix to old methods
#swap:with:, #swap:ifBefore:, #swap:ifAfter:.
2008-08-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/Time.st: Add constructor methods compatible with Duration.
2008-08-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/Behavior.st: Add #indexOfInstVar: and
#indexOfInstVar:ifAbsent:.
* kernel/Object.st: add #instVarNamed: and #instVarNamed:put:.
2008-08-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/ArrayColl.st: Replace #classNameString with #storeString.
* kernel/Bag.st: Replace #classNameString with #storeString.
* kernel/Collection.st: Replace #classNameString with #storeString.
* kernel/Date.st: Replace #classNameString with #storeString.
* kernel/Dictionary.st: Replace #classNameString with #storeString.
* kernel/HashedColl.st: Replace #classNameString with #storeString.
* kernel/Interval.st: Replace #classNameString with #storeString.
* kernel/Object.st: Replace #classNameString with #storeString.
2008-08-13 Paolo Bonzini <bonzini@gnu.org>
* scripts/Convert.st: Fix class-name filters, which would fail if
class-side extensions were present in the input.
2008-08-11 Paolo Bonzini <bonzini@gnu.org>
* kernel/BlkContext.st: Make printing more resilient to "bad" contexts.
2008-08-08 Paolo Bonzini <bonzini@gnu.org>
* scripts/Package.st: Another empty filename.
2008-08-07 Paolo Bonzini <bonzini@gnu.org>
* kernel/ProcSched.st: Document #signal:onInterrupt:.
2008-08-06 Paolo Bonzini <bonzini@gnu.org>
* kernel/FilePath.st: Prohibit accessing files with a '' filename.
* scripts/Package.st: ... which we were doing here.
2008-08-06 Paolo Bonzini <bonzini@gnu.org>
* kernel/PosStream.st: Add #nextAvailable:putAllOn:.
* kernel/FileStream.st: Add #nextAvailable:putAllOn:, and remove
#nextHunkPutAllOn: and #nextHunk.
* kernel/Stream.st: Add #nextAvailable:putAllOn: and #next:putAllOn:,
remove #nextHunk, rename #nextHunkPutAllOn: to
#nextAvailablePutAllOn: and rewrite it.
* kernel/VFSZip.st: Remove #nextHunk.
* example/PipeStream.st: Switch to new block stream protocol.
2008-08-05 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileDescr.st: Remove #read:... methods, except
#read:from:to: which becomes #nextAvailable:into:startingAt:.
Remove #write:... methods except #write:from:to: which becomes
#next:putAll:startingAt:. Remove #next:, #nextAvailable:,
#nextHunk, #nextHunkPutAllOn: to use the superclass version,
change #next:into: to #next:into:startingAt:.
* kernel/FileStream.st: Change calls to #read:form:to:
and #write:from:to: to super sends. Change #nextAvailable:
to #nextAvailable:into:startingAt:, #next:into: to
#next:into:startingAt:.
* kernel/PosStream.st: Add #nextAvailable:into:startingAt:.
* kernel/Stream.st: Add #next:into:startingAt: and
#nextAvailable:into:startingAt:, use them in #next:,
#nextAvailable:, #nextHunk.
2008-08-05 Paolo Bonzini <bonzini@gnu.org>
* kernel/Stream.st: Do not use Streams in the default implementation
of #nextAvailable:.
2008-08-05 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileDescr.st: Move setting atEnd to true into #pastEnd.
Add #nextHunkPutAllOn:. Remove duplicate #copyFrom:to: in #nextHunk.
* kernel/FileStream.st: Add #nextHunkPutAllOn:.
* kernel/Stream.st: Extract pieces of #nextPutAllOn: into
#nextHunkPutAllOn:.
2008-08-05 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileDescr.st: Implement #nextPutAllOn: and #next:into:.
Move #next: and #nextByteArray: here...
* kernel/FileStream.st: ... from here. Remove #nextByte,
implement #nextPutAllOn: here too. Add #resetBuffer.
2008-08-05 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileDescr.st: Make a subclass of Stream.
* kernel/FileStream.st: Add here the creation of the buffer.
* kernel/PosStream.st: Implement #nextPutAllOn:. Move
#skipSeparators...
* kernel/StreamOps.st: ... here.
2008-08-05 Paolo Bonzini <bonzini@gnu.org>
* kernel/ByteStream.st: Delete. Copy implementation...
* kernel/FileDescr.st: ... here ...
* kernel/ObjDumper.st: ... and here.
* kernel/VFSZip.st: Do not use ByteStream.
* tests/objdump.st: Adapt.
* tests/objdump.ok: Regenerate.
2008-08-05 Paolo Bonzini <bonzini@gnu.org>
* kernel/Stream.st: Implement #nextPutAll: polymorphically. Implement
#nextPutAllOn:.
* kernel/Iterable.st: Implement #nextPutAllOn:.
* kernel/SeqCollect.st: Implement #nextPutAllOn:.
* kernel/FileDescr.st: Use #nextPutAllOn: to implement #contents.
2008-08-05 Paolo Bonzini <bonzini@gnu.org>
* kernel/Collection.st: Move enumeration methods...
* kernel/Iterable.st: ... here.
* kernel/StreamOps.st: Change superclass.
* kernel/Stream.st: Remove duplicate code.
2008-08-05 Paolo Bonzini <bonzini@gnu.org>
* kernel/VFS.st: Change #files to #fileData to avoid clash.
* kernel/VFSZip.st: Likewise.
2008-08-04 Paolo Bonzini <bonzini@gnu.org>
* kernel/Semaphore.st: Initialize the caught variable in #critical:.
2008-08-04 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileDescr.st: Reimplement #next:, move previous implementation
to #nextAvailable:.
* kernel/FileStream.st: Modify #next:into: to fail if the given number
of bytes cannot be read, implement #nextAvailable:.
* kernel/Stream.st: Document #nextAvailable: better.
2008-08-01 Paolo Bonzini <bonzini@gnu.org>
* kernel/Stream.st: Fix #do: and #linesDo: to check for the
right stream before bailing out.
* tests/strings.st: Add regression test.
* tests/strings.ok: Regenerate.
2008-07-28 Paolo Bonzini <bonzini@gnu.org>
* tests/compiler.st: Add tests for parsing unary minus.
* tests/compiler.ok: Regenerate.
2008-07-28 Paolo Bonzini <bonzini@gnu.org>
* kernel/BlkContext.st: Oops, fix printing of optimized blocks.
2008-07-24 Paolo Bonzini <bonzini@gnu.org>
* kernel/BlkContext.st: Include filename in the representation.
* kernel/ContextPart.st: Add #currentFileName.
* kernel/FileSegment.st: Add #printedFileName.
* kernel/MthContext.st: Include filename in the representation.
2008-07-24 Paolo Bonzini <bonzini@gnu.org>
* kernel/File.st: Add #isFileSystemPath.
* kernel/FilePath.st: Likewise.
* kernel/VFS.st: Likewise.
2008-07-24 Paolo Bonzini <bonzini@gnu.org>
* kernel/BlkContext.st: Use #currentLineInFile to print contexts.
* kernel/CompildCode.st: Add abstract #sourceCodeLinesDelta,
discard the first line number bytecode in #sourceCodeMap.
* kernel/CompildMeth.st: Add #sourceCodeLinesDelta.
* kernel/CompiledBlk.st: Add #sourceCodeLinesDelta and #sourceCodeMap.
* kernel/ContextPart.st: Add #currentLineInFile.
* kernel/MthContext.st: Use #currentLineInFile to print contexts.
2008-07-23 Paolo Bonzini <bonzini@gnu.org>
* kernel/ContextPart.st: Implement #currentLine in an inefficient
but correct way.
* kernel/BlkContext.st: Include line numbers in the representation.
* kernel/MthContext.st: Add #printOn:line:. Use it to print contexts.
2008-07-20 Paolo Bonzini <bonzini@gnu.org>
* kernel/CObject.st: Avoid returning a LargeInteger for the hash value.
2008-07-15 Paolo Bonzini <bonzini@gnu.org>
* kernel/File.st: Add #isSocket.
2008-07-14 Tony Garnock-Jones <tonyg@lshift.net>
* kernel/LargeInt.st: Fix a bootstrapping bug by correcting a send of
primReplaceFrom:to:with:startingAt: to replaceFrom:to:with:startingAt:
on LargeInteger's use of ByteArrays.
2008-07-14 Paolo Bonzini <bonzini@gnu.org>
* kernel/CompildCode.st: Fix printing of superoperators including
JUMP_BACK.
2008-07-14 Paolo Bonzini <bonzini@gnu.org>
* tests/compiler.st: Add testcase.
* tests/compiler.ok: Regenerate.
2008-07-10 Paolo Bonzini <bonzini@gnu.org>
* kernel/MappedColl.st: Forward #keysDo: to the map, don't
change it to #do:.
2008-07-10 Paolo Bonzini <bonzini@gnu.org>
* kernel/Autoload.st: Fix order of metaclass instance variables.
2008-06-05 Paolo Bonzini <bonzini@gnu.org>
* examples/CairoDemo.st: Minor changes.
2008-06-01 Paolo Bonzini <bonzini@gnu.org>
* tests/Ansi.st: Remove one testcase.
2008-06-01 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiExcept.st: Adjust call to #instantiateNextHandler:.
* kernel/ExcHandling.st: Scan for outer exception handlers from the
handler's context.
* tests/exceptions.st: Add test case.
* tests/exceptions.ok: Regenerate.
2008-06-01 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileDescr.st: Make #file call #asFile.
* kernel/URL.st: Fix bugs introduced in File rewrite.
2008-06-01 Paolo Bonzini <bonzini@gnu.org>
* kernel/URL.st: Fix redirects including a GET query.
Add #contents and #readStream.
2008-05-31 Daniele Sciascia <daniele.sciascia@lu.unisi.ch>
* scripts/Convert.st: --quiet was verbose.
2008-05-30 Paolo Bonzini <bonzini@gnu.org>
* scripts/Remote.st: Do not crash if getpid not present.
2008-05-30 Paolo Bonzini <bonzini@gnu.org>
* gst-tool.c: Remove executable extension if present.
2008-05-30 Paolo Bonzini <bonzini@gnu.org>
* examples/CairoBlit.st: Hack together OpenGL support here.
2008-05-30 Paolo Bonzini <bonzini@gnu.org>
* kernel/CObject.st: Fix CByte.
2008-05-30 Paolo Bonzini <bonzini@gnu.org>
* kernel/CCallable.st: Support both #uint and #uInt spelling
(and similarly for #ushort, #uchar, #ulong).
2008-05-28 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileStream.st: Use #ensure: in #fileIn:.
2008-05-27 Paolo Bonzini <bonzini@gnu.org>
* kernel/SeqCollect.st: Move #join...
* kernel/Collection.st: ... here. Use #anyOne.
2008-05-27 Paolo Bonzini <bonzini@gnu.org>
* kernel/ByteArray.st: Use VMpr_ArrayedCollection_equal.
* kernel/String.st: Use VMpr_ArrayedCollection_equal.
2008-05-27 Paolo Bonzini <bonzini@gnu.org>
* kernel/ArrayColl.st: Avoid useless checks.
* kernel/SeqCollect.st: Allow replacing zero elements with
#replaceFrom:to:withObject:.
* tests/Ansi.st: Adjust testsuite.
2008-05-24 Paolo Bonzini <bonzini@gnu.org>
* kernel/VFSZip.st: Avoid leaking file descriptors for LimitedStreams.
2008-05-22 Paolo Bonzini <bonzini@gnu.org>
* kernel/ArrayColl.st: Remove implementation of #gather:.
* kernel/Collection.st: Implement #gather: in terms of #join.
2008-05-22 Paolo Bonzini <bonzini@gnu.org>
* kernel/VFS.st: Fix #all on archives.
2008-05-22 Paolo Bonzini <bonzini@gnu.org>
* kernel/Array.st: Add #replaceFrom:to:with:startingAt: primitive,
simplify #storeOn:.
* kernel/ByteArray.st: Rename the primitive.
* kernel/LargeInt.st: Rename the primitive.
* kernel/String.st: Rename the primitive.
2008-05-22 Paolo Bonzini <bonzini@gnu.org>
* kernel/OrderColl.st: Override #first and #last for speed.
* kernel/StreamOps.st: Avoid repeatedly colling #first.
* kernel/SeqCollect.st: Use #replaceFrom:to:with:startingAt: when doing
#replaceFrom:to:with: with a sequenceable collection argument.
2008-05-21 Paolo Bonzini <bonzini@gnu.org>
* kernel/CCallback.st: New.
* tests/cobject.st: Test closures.
2008-05-21 Paolo Bonzini <bonzini@gnu.org>
* kernel/CCallable.st: Split from part of...
* kernel/CFuncs.st: ... this. Change superclass to CCallable.
* kernel/CompildMeth.st: Accept a descriptor in the class methods
that create C call-out method.
2008-05-20 Paolo Bonzini <bonzini@gnu.org>
* kernel/CFuncs.st: Always execute #for:returning:withArgs: as
Smalltalk code, make #addressOf: a primitive. Add #name:.
* kernel/DLD.st: Make overridden #addressOf: a primitive.
2008-05-20 Paolo Bonzini <bonzini@gnu.org>
* kernel/CFuncs.st: Make a subclass of CObject. Reorganize creation,
avoid overriding #address, remove #tag/#tag:.
* kernel/DLD.st: Adjust for above changes.
2008-05-20 Paolo Bonzini <bonzini@gnu.org>
* kernel/VFS.st: Add "rm -rf" functionality to RecursiveFileWrapper.
* scripts/Package.st: Use it.
2008-05-19 Paolo Bonzini <bonzini@gnu.org>
* kernel/Directory.st: Fix when TMPDIR and TEMP are not set.
2008-05-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/Integer.st: Fix off-by-one in #binomial:.
2008-05-18 Stephen Compall <scompall@nocandysw.com>
* tests/pools.st: Test that namespace pragmas work, at least for
imports.
2008-05-17 Stephen Compall <scompall@nocandysw.com>
* kernel/AbstNamespc.st: Add `sharedPools' instvar and methods for
it similar to Class's.
* kernel/Class.st: Refactor
allLocalSharedPoolDictionariesExcept:do: to a list-independent
class method. Use it to import shared pools from namespaces as
they are visited.
* tests/pools.st: Test for namespace shared pools.
2008-05-15 Paolo Bonzini <bonzini@gnu.org>
* kernel/FilePath.st: Deal correctly with UNC paths.
2008-05-12 Paolo Bonzini <bonzini@gnu.org>
* kernel/BlkClosure.st: Add #cull:, #cull:cull:, #cull:cull:cull:.
* kernel/ExcHandling.st: Use it for the exception handlers.
* kernel/Object.st: Use it for #ifNotNil:.
* tests/blocks.st: New tests.
* tests/blocks.ok: Regenerate.
2008-05-11 Paolo Bonzini <bonzini@gnu.org>
* examples/xml.sed: Fix for VW7.
* scripts/Convert.st: Fix for 2008-02-25 change to exception handling.
Apply rewrites to doits too.
2008-05-06 Paolo Bonzini <bonzini@gnu.org>
* kernel/CObject.st: Fix typo.
2008-05-06 Paolo Bonzini <bonzini@gnu.org>
* kernel/ByteArray.st: Rewrite memory access methods in terms
of CObject.
* kernel/CObject.st: Add support for ByteArrays as CObject storage.
Add #= and #hash.
* kernel/CStruct.st: Add #gcNew.
* kernel/CType.st: Add #gcNew.
* kernel/Object.st: Add #isCObject.
* tests/cobjects.st: Add more tests.
* tests/cobjects.ok: Update.
2008-05-05 Paolo Bonzini <bonzini@gnu.org>
* kernel/CObject.st: Remove odd cases of #at:put:type: and
#derefAt:put:type:.
2008-05-05 Paolo Bonzini <bonzini@gnu.org>
* examples/CairoBlit.st: New.
* examples/CairoDemo.st: New.
2008-04-30 Paolo Bonzini <bonzini@gnu.org>
* kernel/Object.st: Inline call to #release.
2008-04-25 Paolo Bonzini <bonzini@gnu.org>
Stephen Compall <scompall@nocandysw.com>
* tests/pools.st: New.
* tests/pools.ok: New.
* kernel/Class.st: Eliminate only the direct superclass's
namespaces from the namespace walk while searching pools, and walk
every superclass's pools as well as my own.
2008-04-24 Paolo Bonzini <bonzini@gnu.org>
* kernel/ProcEnv.st: Fix thinko in ProcessVariable>>#environment.
2008-04-21 Paolo Bonzini <bonzini@gnu.org>
* kernel/Float.st: Define #asCNumber.
* kernel/Fraction.st: Define #asCNumber.
* kernel/LargeInt.st: Define #asCNumber.
* kernel/Number.st: Define #asCNumber.
* kernel/ScaledDec.st: Define #asCNumber.
* kernel/SmallInt.st: Define #asCNumber.
2008-04-17 Paolo Bonzini <bonzini@gnu.org>
* kernel/DLD.st: Don't register DLD with ObjectMemory.
* kernel/ObjMemory.st: Execute #returnFromSnapshot callback
at high priority, and pass it to DLD before anything else.
2008-04-15 Paolo Bonzini <bonzini@gnu.org>
* kernel/CompildMeth.st: Fix error message for undefined C
functions.
2008-04-15 Paolo Bonzini <bonzini@gnu.org>
* kernel/FilePath.st: Don't prepend a \ if an absolute path is
created by #computePathFrom:to: and the destination path has a
disk letter in it.
2008-04-10 Paolo Bonzini <bonzini@gnu.org>
* kernel/Behavior.st: Put fundamental instance variables at the
beginning.
2008-04-08 Stephen Compall <scompall@nocandysw.com>
* kernel/Class.st: Never answer nil from #sharedPoolDictionaries.
* kernel/DeferBinding.st: Remove symmetric nil check.
* kernel/Metaclass.st: Likewise.
2008-04-08 Paolo Bonzini <bonzini@gnu.org>
* kernel/FilePath.st: Add more abstract methods. Implement
#lastAccessTime: and #lastModifyTime:. Add #all. Do not
create full paths in #namesMatching:do: for similarity with
#namesDo:.
* kernel/VFS.st: Add more delegation methods. Implement
RecursiveFileWrapper.
2008-04-07 Paolo Bonzini <bonzini@gnu.org>
* kernel/Directory.st: Inherit from Object. Remove methods now
in File or FilePath. Return File objects from methods that return
system parameters.
* kernel/File.st: Inherit from FilePath. Remove methods now in
FilePath. Do not delegate to a VFSHandler.
* kernel/FileDescr.st: Rename instance variable "name" to "file"
and adjust. Remove VFS indirection for #open:mode:. Use new
4-argument filein primitive.
* kernel/FilePath.st: New.
* kernel/FileSegment.st: Support storing a File object in the
FileSegment.
* kernel/ObjMemory.st: Add indirection for #snapshot: to support
passing a File.
* kernel/PkgLoader.st: Store files and directories as File objects.
Adjust for VFS changes.
* kernel/Stream.st: Support 4-argument filein primitive.
* kernel/SysDict.st: Use Files more extensively.
* kernel/URL.st: Support converting Files to URLs.
* kernel/VFS.st: Rewrite.
* kernel/VFSZip.st: Rewrite.
* scripts/Load.st: Use new File methods.
* scripts/Package.st: Adjust for PackageLoader changes.
* scripts/Remote.st: Use new File methods.
* tests/AnsiLoad.st: Adjust for Directory class>>#working returning
a File.
2008-04-07 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileDescr.st: Rename fd instance variable to file.
2008-04-01 Paolo Bonzini <bonzini@gnu.org>
* kernel/CFuncs.st: Accept Associations too.
2008-04-01 Paolo Bonzini <bonzini@gnu.org>
* kernel/CFuncs.st: Change numFixedArgs to tag. Add Smalltalk
counterpart of classify_type_symbol. Add setters. Improve #printOn:.
* kernel/CompildMeth.st: Extract creation of C call-out methods
to new constructor methods on the class side.
2008-04-01 Paolo Bonzini <bonzini@gnu.org>
* kernel/Process.st: Rename unwindPoints variable to environment.
* kernel/ProcSched.st: Add #processEnvironment.
* kernel/ProcEnv.st: New.
* tests/processes.st: Test ProcessEnvironment.
* tests/processes.ok: New.
2008-04-01 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiExcept.st: Add UnhandledException.
* kernel/ContextPart.st: Rewrite #unwind: to raise UnhandledException.
Use #isEnvironment to delimit stack scanning.
* kernel/BlkClosure.st: Rewrite #valueWithUnwind to trap
UnhandledException.
* kernel/MthContext.st: Rewrite #mark.
2008-04-01 Paolo Bonzini <bonzini@gnu.org>
* kernel/Regex.st: Sob.
2008-03-31 Paolo Bonzini <bonzini@gnu.org>
* kernel/Character.st: Add #*.
* kernel/UniChar.st: Add #*.
* kernel/Regex.st: Add #asArray for results, accept blocks for
substitutions.
2008-03-26 Paolo Bonzini <bonzini@gnu.org>
* kernel/VFS.st: Use new variants of stat/lstat that fill in
a Smalltalk object.
2008-03-25 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileDescr.st: Move #isOpen checks after #ensureReadable
and #ensureWritable.
2008-03-25 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileDescr.st: Move open checks to #checkError, use #isOpen.
2008-03-24 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileDescr.st: Open URLs from #open:mode:ifFail:.
2008-03-19 Paolo Bonzini <bonzini@gnu.org>
* kernel/File.st: Return result of evaluating block from
File>>#withReadStreamDo: and File>>#withWriteStreamDo:.
2008-03-19 Paolo Bonzini <bonzini@gnu.org>
* kernel/File.st: Add #fileIn.
2008-03-19 Paolo Bonzini <bonzini@gnu.org>
* kernel/Regex.st: Add #allOccurrencesOfRegex:do:.
2008-03-19 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileStream.st: Implement #upTo: like #nextLine.
2008-03-18 Paolo Bonzini <bonzini@gnu.org>
* scripts/Remote.st: Implement ssh connections.
* gst-tool.c: Add --login to gst-remote.
2008-03-18 Paolo Bonzini <bonzini@gnu.org>
* scripts/Remote.st: Use #canRead instead of #available.
2008-03-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileDescr.st: Add a couple of methods for polymorphism
with sockets.
2008-03-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/Class.st: Rename #policy/#policy: to
#securityPolicy/#securityPolicy:.
2008-03-15 Paolo Bonzini <bonzini@gnu.org>
* kernel/Directory.st: Readd Directory class>>#systemKernel.
Default Directory class>>#kernel to it.
* kernel/FileSegment.st: Change #relocateFrom:to: to #relocate:,
and #relocateFrom:to:map: to #relocateFrom:map:.
* scripts/Finish.st: Do not call #relocate, strip source code
from the last evaluated method to remove its FileSegment from the
image.
2008-03-15 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileSegment.st: Add a warning that relative FileSegments
are always interpreted from the kernel directory, and apply this
rule in #fileName.
2008-03-15 Paolo Bonzini <bonzini@gnu.org>
* main.c: Fix -S.
2008-03-15 Paolo Bonzini <bonzini@gnu.org>
* gst-tool.c: Support relocatable installation.
* main.c: Support relocatable installation.
2008-03-11 Paolo Bonzini <bonzini@gnu.org>
* scripts/Load.st: Add -i.
* gst-tool.c: Likewise.
2008-03-10 Paolo Bonzini <bonzini@gnu.org>
* kernel/CharArray.st: Move #startsWith: and #endsWith:...
* kernel/SeqCollect.st: ... here.
2008-03-07 Paolo Bonzini <bonzini@gnu.org>
* scripts/Remote.st: Exit when the server socket is closed.
2008-03-04 Paolo Bonzini <bonzini@gnu.org>
* main.c: Set GST_NO_TTY in Emacs mode.
* smalltalk-mode.el.in: Fix smalltalk-bang for old syntax.
* gst-mode.el.in: Wrap send-to-smalltalk with save-window-excursion.
2008-02-28 Paolo Bonzini <bonzini@gnu.org>
* kernel/ExcHandling.st: Backtrace on the Transcript.
* kernel/Transcript.st: Handle errors while printing on the Transcript.
2008-02-27 Paolo Bonzini <bonzini@gnu.org>
* gst-tool.c: Fix pasto.
* scripts/Remote.st: Change default port to 12345.
2008-02-25 Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Add start/stop script support.
* scripts/Load.st: Add start/stop script support.
* scripts/Remote.st: Add start/stop script support.
* gst-tool.c: Keep options synchronized.
2008-02-25 Paolo Bonzini <bonzini@gnu.org>
* kernel/Float.st: The final word on floating-point printing.
* tests/floatmath.st: Adjust test vectors.
2008-02-25 Paolo Bonzini <bonzini@gnu.org>
* kernel/ScaledDec.st: Make #zero and #one return a number with
the same scale as the receiver.
2008-02-25 Paolo Bonzini <bonzini@gnu.org>
* kernel/DirMessage.st: Add #receiver:selector:argument:.
* kernel/Message.st: Add #selector:argument:.
2008-02-25 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiExcept.st: Upon executing off the end of an
exception handler, always return from the associated #on:do:.
2008-02-22 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiDates.st: Add #date:time:offset:, #date:time:.
* kernel/Date.st: Add #-.
* kernel/Dictionary.st: Add #associations.
* kernel/Time.st: Add #midnight, #addSeconds:.
2008-02-22 Paolo Bonzini <bonzini@gnu.org>
* kernel/Collection.st: Add #gather:.
* kernel/ArrayColl.st: Likewise.
2008-02-14 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiDates.st: Return the date itself in #asUTC if already UTC.
2008-02-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/Regex.st: Make Regex a subclass of Object.
2008-02-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/File.st: Canonicalize names before finding directory
components.
2008-02-12 Paolo Bonzini <bonzini@gnu.org>
* gst-tool.c: Rename "struct option".
2008-02-12 Paolo Bonzini <bonzini@gnu.org>
* kernel/Collection.st: Add #noneSatisfy:.
2008-02-12 Paolo Bonzini <bonzini@gnu.org>
* kernel/SeqCollect.st: Add more methods for Seaside.
2008-02-12 Paolo Bonzini <bonzini@gnu.org>
* kernel/Collection.st: Add #count:.
* kernel/DirMessage.st: Implement more creation messages.
* kernel/Number.st: Modify #coerce: so as to not return Fractions if
#readFrom: is called on Number.
2008-02-08 Paolo Bonzini <bonzini@gnu.org>
* tests/processes.st: Test that processes with the same priority
are scheduled fairly.
2008-02-08 Paolo Bonzini <bonzini@gnu.org>
* scripts/Remote.st: Close transcript before quitting, send
file contents instead of filing in remotely.
2008-02-08 Paolo Bonzini <bonzini@gnu.org>
* scripts/Remote.st: Ignore errors on the server side, to allow a
computation to be interrupted by ^C-ing the client-side.
2008-02-08 Paolo Bonzini <bonzini@gnu.org>
* scripts/Remote.st: Fix flushing of stdout.
2008-02-08 Paolo Bonzini <bonzini@gnu.org>
Mike Anderson <gnu-smalltalk@gingerbread.plus.com>
* scripts/Remote.st: New.
* gst-tool.c: Handle --daemon option.
2008-02-08 Paolo Bonzini <bonzini@gnu.org>
* kernel/ExcHandling.st: Print error messages on the Transcript.
2008-02-06 Paolo Bonzini <bonzini@gnu.org>
* kernel/SeqCollect.st: Don't fail in #copyUpTo: if the character
is not there, return the whole collection instead.
2008-02-05 Paolo Bonzini <bonzini@gnu.org>
* kernel/CharArray.st: Add #endsWith:.
* kernel/SeqCollect.st: Add #sort and #sortBy:.
2008-02-05 Paolo Bonzini <bonzini@gnu.org>
* scripts/Convert.st: Return method from #compile:.
2008-02-01 Paolo Bonzini <bonzini@gnu.org>
* kernel/Number.st: Add #to:collect: and #to:by:collect:.
* kernel/SeqCollect.st: Add instance side #with:...
* kernel/StreamOps.st: Add #with:... and a class implementing it.
2008-01-27 Stephen Compall <scompall@nocandysw.com>
* kernel/AnsiExcept.st: Comment or private-ize uncommented methods.
* kernel/Behavior.st: Likewise.
* kernel/BlkClosure.st: Likewise.
* kernel/CType.st: Likewise.
* kernel/Class.st: Likewise.
* kernel/CompildCode.st: Likewise.
* kernel/CompildMeth.st: Likewise.
* kernel/DLD.st: Likewise.
* kernel/DeferBinding.st: Likewise.
* kernel/Delay.st: Likewise.
* kernel/Directory.st: Likewise.
* kernel/File.st: Likewise.
* kernel/FileDescr.st: Likewise.
* kernel/FileStream.st: Likewise.
* kernel/Float.st: Likewise.
* kernel/HashedColl.st: Likewise.
* kernel/Interval.st: Likewise.
* kernel/LookupTable.st: Likewise.
* kernel/MappedColl.st: Likewise.
* kernel/Metaclass.st: Likewise.
* kernel/Number.st: Likewise.
* kernel/ObjMemory.st: Likewise.
* kernel/PkgLoader.st: Likewise.
* kernel/Regex.st: Likewise.
* kernel/SysDict.st: Likewise.
* kernel/VFS.st: Likewise.
* kernel/ValueAdapt.st: Likewise.
2008-01-27 Paolo Bonzini <bonzini@gnu.org>
* kernel/SeqCollect.st: Add category to #atRandom.
2008-01-27 Paolo Bonzini <bonzini@gnu.org>
* kernel/OrderColl.st: Avoid grow-shrink pingpong.
2008-01-25 Paolo Bonzini <bonzini@gnu.org>
* tests/intmath.st: Add LargeInteger testcase from SICP.
* tests/intmath.ok: Regenerate.
2008-01-24 Paolo Bonzini <bonzini@gnu.org>
* kernel/Regex.st: Do same fix for #allOccurrencesOfRegex:.
* tests/strings.st: Add testcases.
* tests/strings.ok: Regenerate.
2008-01-24 Paolo Bonzini <bonzini@gnu.org>
* kernel/Regex.st: Fix global substitution and tokenization for
regexes that can match the empty string.
* tests/strings.st: Add testcases.
* tests/strings.ok: Regenerate.
2008-01-24 Paolo Bonzini <bonzini@gnu.org>
* kernel/Symbol.st: Fix #numArgs for underscores in the symbol,
reported by Sam Phillips.
2008-01-23 Paolo Bonzini <bonzini@gnu.org>
* kernel/SeqCollect.st: Add #atRandom.
2008-01-23 Paolo Bonzini <bonzini@gnu.org>
* kernel/Regex.st: Add #allOccurrencesOfRegex:, remove dead code.
2008-01-22 Paolo Bonzini <bonzini@gnu.org>
* kernel/CompildCode.st: Eliminate possible infinite loop in #hash.
2008-01-22 Paolo Bonzini <bonzini@gnu.org>
* kernel/Dictionary.st: Rewrite #findElementIndex:.
* kernel/WeakObjects.st: Ditto.
* kernel/HashedColl.st: Ditto, and store nil before calling it
from #rehashObjectsAfter:.
* kernel/LookupTable.st: Ditto, and also use it in #whileGrowingAt:put:.
2008-01-18 Paolo Bonzini <bonzini@gnu.org>
* scripts/Package.st: Change default -t value for --list-files,
reject --destdir and -t for --list-files.
2008-01-18 Paolo Bonzini <bonzini@gnu.org>
* scripts/GenDoc.st: Add --namespace, use #fullyDefinedLoadedClasses.
2008-01-18 Paolo Bonzini <bonzini@gnu.org>
* scripts/Package.st: Support multiple --list-files options, add
--load and --test suboptions to --list-files.
2008-01-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/ObjMemory.st: Make #snapshot return the same as #snapshot:.
2008-01-10 Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Fix wrong reference to PackageNotAvailable.
2008-01-07 Paolo Bonzini <bonzini@gnu.org>
* kernel/Object.st: Fix #basicPrintNl.
2008-01-07 Paolo Bonzini <bonzini@gnu.org>
* kernel/SmallInt.st: Don't coerce for 0 divExact: x.
2008-01-06 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileDescr.st: Don't close stdin/stdout/stderr before
quitting, but flush them explicitly.
* kernel/Process.st: Add #terminateOnQuit to mark the receiver
so that it is terminated when ObjectMemory class>>#quit: is sent.
2008-01-03 Tony Garnock-Jones <tonyg@lshift.net>
* kernel/CType.st: Fix printing CTypes for CObject subclasses.
* tests/cobjects.st: Add testcase.
2007-12-27 Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Move PackageNotAvailable to SystemExceptions
namespace. Raise it instead of Error when appropriate.
2007-12-20 Paolo Bonzini <bonzini@gnu.org>
* kernel/Collection.st: Add #readStream.
2007-12-10 Paolo Bonzini <bonzini@gnu.org>
* kernel/Process.st: Call ProcessorScheduler>>#yield if needed
after changing the priority.
* tests/exceptions.st: Wait for the process to exit, just to be
sure.
2007-12-10 Paolo Bonzini <bonzini@gnu.org>
* kernel/Number.st: Fix thinko in #retryInequalityCoercing:,
fixing (3 perform: #~= with: 3.0).
2007-12-06 Paolo Bonzini <bonzini@gnu.org>
* kernel/BlkClosure.st: Don't modify the stack top in #asContext:.
* kernel/ProcSched.st: Remove #changePriorityListOf:to:suspend:.
* kernel/Process.st: Implement #suspend with a primitive.
Use #resume to restart the process in the right priority list when
the priority is changed and the process was not/is not to be suspended.
Remove #setPriorityFrom:to:suspend:.
* tests/processes.st: Be more robust in running processes to a
sync point. Avoid busy waiting which may or may not work depending
on the execution order of the process.
2007-11-29 Paolo Bonzini <bonzini@gnu.org>
* kernel/FloatD.st: Fix #signByte, add #fromBytes:.
* kernel/FloatE.st: Fix #signByte, add #fromBytes:.
* kernel/FloatQ.st: Fix #signByte.
* tests/floatmath.st: Use #fromBytes:.
2007-11-20 Paolo Bonzini <bonzini@gnu.org>
* kernel/Behavior.st: Partially undo change from
#updateInstanceVars:shape: to
#updateInstanceVars:numInherited:shape:.
Add back #updateInstanceVars:shape: and add new
#updateInstanceVars:superclass:shape:. Return true from
#inheritsFrom: if passed nil. Use new keyword argument to
include superclass variables in instVarMap. Reverse direction of
instVarMap. Simplify creation of subclasses' instance variable
array. Add here #mutate:via: (taken from kernel/Object.st)
and use it instead of #mutate:startingAt:newClass:.
* kernel/Object.st: Remove #mutate:startingAt:newClass:.
* kernel/Metaclass.st: Rename "superclass" argument to
"theSuperclass" or "newSuperclass". Call
#updateInstanceVars:superclass:shape:.
* tests/mutate.st: Add minimal testcase for GTK+ loading failure.
Test that class-instance variables are copied around correctly.
Test that moving up the hierarchy preserves instance variables.
2007-11-18 Freddie Akeroyd <F.A.Akeroyd@rl.ac.uk>
* kernel/VFS.st: Support backslashes as directory separators
2007-11-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/Number.st: Coerce #raisedTo: to aNumber's precision if necessary.
* kernel/FloatQ.st: Coerce #raisedTo: to FloatQ.
2007-11-08 Paolo Bonzini <bonzini@gnu.org>
* tests/ackermann.st: Add "iterative" implementation.
2007-11-07 Paolo Bonzini <bonzini@gnu.org>
* examples/Methods.st: Add brackets around compiled methods.
* kernel/Behavior.st: Likewise.
* tests/compiler.st: Likewise.
* tests/objects.st: Likewise.
* tests/untrusted.st: Likewise.
* unsupported/cint/CToken.st: Likewise.
* unsupported/t.st: Likewise.
* tests/Ansi.st: Use exception handling.
2007-11-05 Paolo Bonzini <bonzini@gnu.org>
* kernel/SeqCollect.st: Move #streamContents:...
* kernel/ArrayColl.st: ... here.
2007-11-05 Stephen Compall <scompall@nocandysw.com>
* examples/JSON.st: Make it return UnicodeStrings if no output
encoding is given.
2007-10-23 Paolo Bonzini <bonzini@gnu.org>
Robin Redeker <elmex@x-paste.de>
* examples/JSON.st: Make it work on Unicode.
2007-10-23 Paolo Bonzini <bonzini@gnu.org>
* kernel/CompildMeth.st: Fix return value of
#valueWithReceiver:withArguments:, reported by Sam Phillips.
2007-10-22 Paolo Bonzini <bonzini@gnu.org>
* kernel/Collection.st: Add #isUnicode.
* kernel/CharArray.st: Add an abstract #isUnicode method to class side.
* kernel/String.st: Add class-side #isUnicode.
* kernel/UniString.st: Add class-side #isUnicode.
* kernel/Stream.st: Add #encoding. Forward #isUnicode to the
species class.
2007-10-21 Paolo Bonzini <bonzini@gnu.org>
* kernel/Behavior.st: Move recompilation methods to CompiledMethod.
Move #instanceVariableNames: and related methods from ClassDescription.
Change #updateInstanceVars:shape: to
#updateInstanceVars:numInherited:shape:.
* kernel/Builtins.st: Promote #instanceVariableNames: to Behavior.
* kernel/CStruct.st: Compile methods as new syntax.
* kernel/ClassDesc.st: Remove #instanceVariableNames: and related
methods.
* kernel/CompildMeth.st: Add #methodFormattedSourceString,
#methodRecompilationSourceString, #isOldSyntax, #noteOldSyntax,
#recompile, #recompileNotifying:. Support recompiling methods from
both syntaxes.
* kernel/Metaclass.st: Change #updateInstanceVars:shape: to
#updateInstanceVars:numInherited:shape:.
* kernel/UndefObject.st: Add #instSize for polymorphism.
* tests/mutate.st: Add new tests on class extension.
* tests/mutate.ok: Update test results.
2007-10-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/SeqCollect.st: Avoid overlapping array problems in
#replaceFrom:to:with:startingAt:.
* tests/arrays.st: Add corresponding test.
* tests/arrays.ok: Adjust output.
2007-10-16 Paolo Bonzini <bonzini@gnu.org>
* kernel/Semaphore.st: Pass the ProcessBeingTerminated exception.
* tests/processes.st: Test for bug fixed by the above change.
2007-10-14 Stephen Compall <scompall@nocandysw.com>
* kernel/Builtins.st: Promote #import: to ClassDescription.
* kernel/ClassDesc.st: Document promotion requirement.
2007-10-09 Paolo Bonzini <bonzini@gnu.org>
* kernel/CompildMeth.st: Omit sharp sign when printing.
2007-10-08 Paolo Bonzini <bonzini@gnu.org>
* kernel/ExcHandling.st: In #pass/#outer, call #activateHandler:
on the newly created Signal. Add Signal>>#postCopy.
2007-10-08 Paolo Bonzini <bonzini@gnu.org>
* kernel/Delay.st: Rewrite to manipulate Queue entirely in the
timing process.
2007-10-06 Robin Redeker <elmex@x-paste.de>
* example/JSON.st: Parse strings with whitespace correctly.
2007-10-06 Paolo Bonzini <bonzini@gnu.org>
* kernel/ExcHandling.st: Copy exception in #pass/#outer.
2007-10-06 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiExcept.st: Add semaphore field to
ProcessBeingTerminated. Remove #copyFrom:.
* kernel/ExcHandling.st: remove #activateOuterHandlerFor:,
inline it in the callers. Remove #copyFrom:.
* kernel/Process.st: In #terminate, pass semaphore if waiting on one.
* kernel/RecursionLock.st: Remove #enter/#exit, inline them since
we have to use Semaphore>>#critical:.
* kernel/Semaphore.st: Rewrite #critical: to avoid races.
* tests/processes.st: Add race condition testcases.
2007-10-06 Paolo Bonzini <bonzini@gnu.org>
* kernel/Dictionary.st: Implement #deepCopy and #whileGrowingAt:put:.
Use the latter in #collect:.
* kernel/LookupTable.st: Remove #deepCopy.
2007-10-05 Paolo Bonzini <bonzini@gnu.org>
* scripts/GenDoc.st: Use GSTFileInParser.
2007-10-01 Paolo Bonzini <bonzini@gnu.org>
* kernel/RecursionLock.st: Signal waiting semaphore if a process is
terminated inside its critical section.
* kernel/Semaphore.st: Likewise.
2007-09-27 Paolo Bonzini <bonzini@gnu.org>
* examples/Behavior.st: Add #inherit shape.
2007-09-20 Paolo Bonzini <bonzini@gnu.org>
* examples/JSON.st: New, by Robin Redeker.
2007-09-19 Paolo Bonzini <bonzini@gnu.org>
* kernel/Generator.st: Added #inject:into: on the class side.
2007-09-19 Paolo Bonzini <bonzini@gnu.org>
* kernel/LargeInt.st: Avoid #|.
2007-09-17 Paolo Bonzini <bonzini@gnu.org>
* kernel/CStruct.st: Use lazy initialization for declaration. Allow
replacing an empty declaration.
* kernel/Metaclass.st: Mutate the class object if the list of class-
instance variables changes.
2007-09-10 Paolo Bonzini <bonzini@gnu.org>
* kernel/Association.st: Treat identical values as equal.
* kernel/ArrayColl.st: Range-check arguments to #copyFrom:to:.
* kernel/SeqCollect.st: Range-check arguments to #copyFrom:to:
and #copyFrom:.
2007-09-09 Paolo Bonzini <bonzini@gnu.org>
* kernel/Process.st: Don't fail if terminating a terminated process.
2007-09-08 Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Avoid refreshing the list if filing in no
package.
* scripts/Finish.st: Clear ExecutableFileName before saving.
2007-09-05 Paolo Bonzini <bonzini@gnu.org>
* kernel/ArrayColl.st: Guard #join:separatedBy: for empty separator.
* kernel/SeqCollect.st: Guard #join:separatedBy: for empty separator.
2007-09-05 Paolo Bonzini <bonzini@gnu.org>
* kernel/ArrayColl.st: Add #join:separatedBy:.
* kernel/SeqCollect.st: Add #join:separatedBy: and #join:.
2007-09-02 Paolo Bonzini <bonzini@gnu.org>
* kernel/UndefObject.st: Add #allSubclasses.
* kernel/ExcHandling.st: Add #context.
2007-08-28 Paolo Bonzini <bonzini@gnu.org>
* kernel/SeqCollect.st: Properly forward #identityIndexOf: methods.
* examples/Methods.st: Add MethodWrapper.
2007-08-28 Paolo Bonzini <bonzini@gnu.org>
* kernel/Getopt.st: Fix regex to use \A instead of ^.
2007-08-28 Paolo Bonzini <bonzini@gnu.org>
* kernel/Generator.st: Add #on:do:.
* kernel/StreamOps.st: Always delegate species, fix
PeekableStream>>#peek.
2007-08-24 Paolo Bonzini <bonzini@gnu.org>
* kernel/MthContext.st: Print what was not understood.
2007-08-24 Paolo Bonzini <bonzini@gnu.org>
* kernel/DeferBinding.st: Add path variable and #resolvePathFrom: method.
2007-08-23 Paolo Bonzini <bonzini@gnu.org>
* kernel/ByteStream.st: Remove #nextPutAll:.
* kernel/FileDescr.st: Remove #nextPutAll: and #nextPutAllFlush:.
* kernel/FileStream.st: Remove #nextPutAll: and #nextPutAllFlush:.
* kernel/Stream.st: Use #nextHunk in #nextPutAll:, add #nextPutAllFlush:.
* kernel/Transcript.st: Implement #next:putAll:startingAt:.
* kernel/WriteStream.st: Likewise.
2007-08-22 Paolo Bonzini <bonzini@gnu.org>
* examples/PipeStream.st: New.
2007-08-20 Paolo Bonzini <bonzini@gnu.org>
* kernel/CompildCode.st: Regenerate bytecodeInfoTable.
* kernel/CompildMeth.st: Fix for new bytecode set.
2007-08-20 Paolo Bonzini <bonzini@gnu.org>
* kernel/DeferBinding.st: Fix infinite recursion.
2007-08-20 Paolo Bonzini <bonzini@gnu.org>
* kernel/CompildMeth.st: Temporarily disable #isValidCCall.
* kernel/DeferBinding.st: New.
2007-08-14 Paolo Bonzini <bonzini@gnu.org>
* kernel/SeqCollect.st: Move #writeStream...
* kernel/ArrayColl.st: ... here.
2007-08-14 Paolo Bonzini <bonzini@gnu.org>
* kernel/Behavior.st: Add back #isBits.
2007-08-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/Float.st: Override #floorLog: and #ceilingLog:.
2007-08-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/CType.st: Store a VariableBinding inside a CType.
2007-08-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/CStruct.st: Remove TypeMap, #computeType:block: and
its callees. Use CType>>#from: to make a CType from an array
or VariableBinding, and #storeOn: instead of the former second
argument of the block.
* kernel/CType.st: Add TypeMap and CType>>#from:. Override
#storeOn: in CArray and CPtr.
* kernel/CompildMeth.st: Use CType>>#from:.
2007-08-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/CObject.st: Make #alloc:/#new: not a primitive. Add a
defaultType class-instance variable and make the class-side #type
default to it; the instance-side #type defaults to the class-side #type.
Always return aValue from #at:put:. Remove the instance-side
#scalarIndex and rename the class-side method to cObjStoredType.
Add missing CString class>>#cObjStoredType.
* kernel/CStruct.st: Remove #type override.
* kernel/CType.st: Adapt so that the binding is stored in the class
variable. Use the #cObjectType accessor consistently.
2007-08-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/BindingDict.st: Use a different association than the
one in Undeclared, using #become: on it.
* kernel/WeakObjects.st: Fix wrong method comments.
2007-08-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/WriteStream.st: Fix ANSI testcases.
* kernel/RWStream.st: Eliminate useless overrides.
2007-08-12 Paolo Bonzini <bonzini@gnu.org>
* kernel/Array.st: Add #storeLiteralOn:.
* kernel/Boolean.st: Add #storeLiteralOn:.
* kernel/ByteArray.st: Add #storeLiteralOn:.
* kernel/Character.st: Add #storeLiteralOn:.
* kernel/Float.st: Add #storeLiteralOn:.
* kernel/Integer.st: Add #storeLiteralOn:.
* kernel/Object.st: Add #storeLiteralOn:.
* kernel/ScaledDec.st: Add #storeLiteralOn:.
* kernel/String.st: Add #storeLiteralOn:.
* kernel/Symbol.st: Add #storeLiteralOn:.
* kernel/UndefObject.st: Add #storeLiteralOn:.
* kernel/VarBinding.st: Add #storeLiteralOn:.
* kernel/Class.st: Add #classPragmas.
* kernel/CObject.st: Set shape on subclasses.
* kernel/CStruct.st: Add #classPragmas, #declaration, #declaration:.
2007-08-10 Paolo Bonzini <bonzini@gnu.org>
* kernel/Number.st: Fix #= vs. #~= blunder.
2007-08-08 Paolo Bonzini <bonzini@gnu.org>
Daniele Sciascia <daniele.sciascia@lu.unisi.ch>
* kernel/Class.st: Add #addClassVarName:value:.
* scripts/Convert.st: Add GSTParser support. Remove error block.
2007-08-08 Paolo Bonzini <bonzini@gnu.org>
* kernel/WriteStream.st: Reimplement #moveToEnd.
2007-08-07 Paolo Bonzini <bonzini@gnu.org>
* kernel/VFS.st: Eliminate wrong redefinition of #release.
2007-08-06 Paolo Bonzini <bonzini@gnu.org>
* kernel/Behavior.st: Add a (notYetImplemented) parseTreeFor: method.
* kernel/PkgLoader.st: Move #fullPathsOf: (new name of #findPathsFor:)
and #createNamespace up to PackageInfo, implement #fullPathOf: (new name
of #findPathFor:) in StarPackage.
* kernel/Namespace.st: Return a string in #nameIn:.
* kernel/RootNamespc.st: Return a string in #nameIn:.
* kernel/SeqCollect.st: Add #first: and #last:.
* kernel/VFSZip.st: Add #copyFrom:to: to LimitedStream.
* scripts/GenDoc.st: New.
* scripts/Package.st: Fix for renaming of #findPathFor:.
* scripts/GenBaseDoc.st: Removed.
* scripts/GenLibDoc.st: Removed.
2007-07-23 Paolo Bonzini <bonzini@gnu.org>
* kernel/VFSZip.st: Refuse to open for writing.
2007-07-23 Paolo Bonzini <bonzini@gnu.org>
* kernel/MthContext.st: Make flags accessors foolproof.
* kernel/VFS.st: Don't redirect from %1 for DecodedFileHandler.
2007-07-23 Paolo Bonzini <bonzini@gnu.org>
* kernel/VFS.st: Move ZipFileHandler...
* kernel/VFSZip.st: ... here. Add StoredZipMember and LimitedStream
to provide faster access to uncompressed files.
* scripts/Package.st: Do not compress .st and .xml files.
2007-07-23 Paolo Bonzini <bonzini@gnu.org>
* kernel/PosStream.st: Use #size in #position: or #basicPosition:.
* kernel/RWStream.st: Use PositionableStream definition of #size.
2007-07-23 Paolo Bonzini <bonzini@gnu.org>
* kernel/VFS.st: Avoid referring to realFileName, refactoring
hierarchy to use a parent VFSHandler instead. Allow creating
a special ArchiveMemberHandler in ArchiveFileMember>>#files.
Read the ZIP file directory directly from the file.
2007-07-20 Paolo Bonzini <bonzini@gnu.org>
* scripts/Package.st: prepare will only be in 2.95c. Honor
--dry-run there too.
2007-07-19 Paolo Bonzini <bonzini@gnu.org>
* kernel/StreamOps.st: Oops.
2007-07-19 Paolo Bonzini <bonzini@gnu.org>
* examples/Publish.st: Fix new syntax support.
2007-07-19 Paolo Bonzini <bonzini@gnu.org>
* kernel/CharArray.st: Add #linesDo:.
* examples/Publish.st: Remove #linesDo:.
2007-07-19 Paolo Bonzini <bonzini@gnu.org>
* kernel/Stream.st: Add #name, implement #fileIn in Smalltalk.
* kernel/StreamOps.st: Add #name.
2007-07-18 Paolo Bonzini <bonzini@gnu.org>
* scripts/Package.st: add --prepare option.
2007-07-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/Directory.st: Return '.' from #pathTo: if appropriate.
* kernel/SeqCollect.st: Fix #allButLast and #allButLast:.
2007-07-18 Stephen Compall <scompall@nocandysw.com>
* kernel/Behavior.st: Rename #compileString: to #primCompile: and
document; similarly with #compileString:ifError:. In evaluation
methods, remove vacuous "code isMemberOf: String" cases in
evaluation methods, remove some inlining, and fix the WriteStream
cases.
(#compile:, #compile:ifError:): Use #primCompile:.
(#evalString:to:, #evalString:to:ifError:): Use #compile: and
#compile:ifError:.
* kernel/Metaclass.st: Mention #primCompile:.
2007-07-18 Paolo Bonzini <bonzini@gnu.org>
* tests/classes.st: Test bad instance variable names.
* tests/strings.st: Add nice example from unsupported/Extensn.st.
* unsupported/Extensn.st: Delete.
* unsupported/IfError.st: Delete.
* unsupported/ParseErr.st: Delete.
* unsupported/Process1.st: Delete.
* unsupported/Process2.st: Rename to Process.st.
* unsupported/a.st: Delete.
* unsupported/ba.st: Delete.
* unsupported/bug.st: Delete.
* unsupported/bug2.st: Delete.
* unsupported/bug4.st: Delete.
* unsupported/er2.st: Delete.
* unsupported/self.st: Delete.
2007-07-17 Stephen Compall <scompall@nocandysw.com>
* kernel/Behavior.st: Use #compileString:ifError: instead of
#compileString: in #compile:ifError:. Remove vacuous "code class
== String" case in compile methods.
2007-07-17 Paolo Bonzini <bonzini@gnu.org>
* kernel/Number.st: Add hyperbolic functions.
2007-07-16 Paolo Bonzini <bonzini@gnu.org>
* examples/MiniDebugger.st: Use DebugTools.
* kernel/ContextPart.st: Add stub methods for #currentLine and
#debugger.
* kernel/ExcHandling.st: Use #stopInferior: if the process is
already being debugged.
* kernel/ProcSched.st: Add #activeDebugger.
* kernel/Process.st: Add #debugger.
2007-07-16 Paolo Bonzini <bonzini@gnu.org>
* kernel/VFS.st: Set a FileStream's name to the full path.
2007-07-13 Paolo Bonzini <bonzini@gnu.org>
* scripts/Convert.st: Add rewriting rules.
2007-07-13 Paolo Bonzini <bonzini@gnu.org>
* scripts/Convert.st: Print line number.
* kernel/CharArray.st: Add #lines.
2007-07-13 Paolo Bonzini <bonzini@gnu.org>
* scripts/Convert.st: Handle command-line options.
2007-07-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/Getopt.st: Parse a lone "-" correctly.
2007-07-13 Stephen Compall <scompall@nocandysw.com>
* kernel/Dictionary.st: Explain that LookupTable is usually a
better choice.
* kernel/LookupTable.st: Expand the explanation of differences
with Dictionary.
2007-07-13 Paolo Bonzini <bonzini@gnu.org>
* scripts/Load.st: Add --version.
* scripts/Package.st: Add --version.
* scripts/Test.st: Add --version.
2007-07-12 Paolo Bonzini <bonzini@gnu.org>
* scripts/Convert.st: Give error or warning on undefined classes.
2007-07-12 Paolo Bonzini <bonzini@gnu.org>
* kernel/Collection.st: Add a few messages from Squeak.
* kernel/SeqCollect.st: Add a few messages from Squeak.
2007-07-12 Paolo Bonzini <bonzini@gnu.org>
* tests/compiler.st: Add new testcase.
2007-07-12 Paolo Bonzini <bonzini@gnu.org>
* kernel/StreamOps.st: Fix access to PeekableStream.
2007-07-11 Paolo Bonzini <bonzini@gnu.org>
* examples/MiniDebugger.st: Fix bitrot.
* kernel/CompildCode.st: Fix generation of source code line map.
2007-07-05 Paolo Bonzini <bonzini@gnu.org>
* scripts/Load.st: Add --kernel-directory.
* scripts/Test.st: Add --kernel-directory.
* scripts/Package.st: Add --kernel-directory, --load, --test.
* scripts/Browser.st: Move gst-blox.in here, remove shebang.
* kernel/File.st: Add #executable and #directory. Quote with "
on Windows.
2007-07-05 Paolo Bonzini <bonzini@gnu.org>
* kernel/File.st: Fix typo.
2007-07-04 Paolo Bonzini <bonzini@gnu.org>
* scripts/Package.st: Stricter option checking.
2007-07-04 Paolo Bonzini <bonzini@gnu.org>
* scripts/Package.st: Handle testing within the script.
2007-07-04 Paolo Bonzini <bonzini@gnu.org>
* scripts/Package.st: Execute commands within the script.
2007-07-04 Paolo Bonzini <bonzini@gnu.org>
* kernel/Directory.st: Add binding for mkdtemp.
* kernel/File.st: Add #mode/#mode:
* kernel/VFS.st: Add #mode/#mode: and replace isDir variables with it.
* packages/vfs/VFS.st: Add support for #mode.
2007-07-03 Paolo Bonzini <bonzini@gnu.org>
* kernel/File.st: Create absolute symlink if first component of path
differs.
* kernel/VFS.st: Don't fail if a symlink's destination does not exist.
2007-07-03 Paolo Bonzini <bonzini@gnu.org>
* kernel/VFS.st: Move most of the code in ExternalArchiveFileHandler
up to ArchiveFileHandler, modify ExternalArchiveFileHandler to be
ZipFileHandler and adjusting it for the new ArchiveFileHandler protocol,
add priorities to each class.
* kernel/Directory.st: Add #libexec.
2007-07-01 Paolo Bonzini <bonzini@gnu.org>
* kernel/File.st: Use VFSHandler>>#fullName.
* kernel/FileDescr.st: Add #setName:.
* kernel/VFS.st: Add fsName field to ArchiveFileHandler, replacing
command in ExternalArchiveFileHandler and making #vfsFor:name:
concrete in ArchiveFileHandler. Add #fullName, implement it
in ArchiveMemberHandler. Use #setName: when opening files.
2007-07-01 Paolo Bonzini <bonzini@gnu.org>
* kernel/Regex.st: add #replaceRegex:with: and #replacingAllRegex:with:.
2007-06-29 Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Turn baseDirectories into a block. Replace
#shouldReload: with #refresh:. Support <package> as root tag for
PackageDirectory>>#parse:. Include test package files in #allFiles
and #allDistFiles. Move #loaded up to PackageInfo. Prepend
the owner relativeDirectory to the test package's in #baseDirectories.
Add PackageLoader class>>#flush:.
* scripts/Finish.st: Flush PackageLoader.
* scripts/Package.st: Revamping, including full .star support,
--copy and --all-files options to --dist, proper handling of srcdir
paths, --vpath option to --list-files.
2007-06-29 Paolo Bonzini <bonzini@gnu.org>
* kernel/File.st: Move #pathTo:...
* kernel/Directory.st: ... here, and mimic what File>>#pathFrom: does.
2007-06-28 Paolo Bonzini <bonzini@gnu.org>
* kernel/VFS.st: Free stat into the RealFileHandler's finalizer.
Move responsibility of registering an object with VFS's ObjectMemory
handler to the object, rather than doing this in #addToBeFinalized.
Fixes race where stat was finalized before an object that was later
resurrected.
2007-06-27 Paolo Bonzini <bonzini@gnu.org>
* scripts/Convert.st: Emit Namespace creation when needed.
Emit form feeds here.
2007-06-26 Paolo Bonzini <bonzini@gnu.org>
* scripts/Package.st: Emit shell function prolog here.
2007-06-25 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiExcept.st: Use #%.
* kernel/Behavior.st: Likewise.
* kernel/CStruct.st: Likewise.
* kernel/Collection.st: Likewise.
* kernel/CompildCode.st: Likewise.
* kernel/Directory.st: Likewise.
* kernel/Float.st: Likewise.
* kernel/Object.st: Likewise.
* kernel/Semaphore.st: Likewise.
* kernel/SeqCollect.st: Likewise.
* kernel/VFS.st: Likewise.
* tests/AnsiRun.st: Likewise.
* tests/ackermann.st: Likewise.
* tests/ary3.st: Likewise.
* tests/except.st: Likewise.
* tests/hash2.st: Likewise.
* tests/lists1.st: Likewise.
* tests/matrix.st: Likewise.
* tests/prodcons.st: Likewise.
* tests/sieve.st: Likewise.
2007-06-25 Paolo Bonzini <bonzini@gnu.org>
* kernel/CharArray.st: Add #%.
2007-06-25 Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Refactor using Command pattern.
2007-06-24 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileDescr.st: Add #readStream.
* kernel/PkgLoader.st: Don't load packages that are already loaded.
* scripts/Load.st: Merge testing into here.
* sunit/SUnitScript.st: Put code for outputting test results here.
* scripts/Test.st: Use it.
2007-06-23 Stephen Compall <scompall@nocandysw.com>
* kernel/PkgLoader.st: Add class TestPackage, reifying its
relationship with its owner package, and use it for all <test/>
tags.
2007-06-22 Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Store info in objects as it is in packages.xml,
resolving filenames at load time. Add DisabledPackage.
* scripts/Package.st: New.
2007-06-22 Paolo Bonzini <bonzini@gnu.org>
* kernel/File.st: Fix fullNameFor: returning root, add
printing methods and #with{Read,Write}StreamDo:.
* kernel/Directory.st: Support appending empty filename,
return newly created directory in #create:.
2007-06-21 Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Add #test to StarPackage.
2007-06-21 Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Set test package after loading the rest.
* compiler/STLoader.st: A proxy of a proxy is the proxy itself.
2007-06-21 Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Set namespace for test package.
* scripts/Test.st: Check if SUnit is loaded.
2007-06-21 Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Support test packages.
* scripts/Test.st: Load the test package if available.
2007-06-21 Paolo Bonzini <bonzini@gnu.org>
* kernel/Collection.st: Fix #do:separatedBy:.
2007-06-21 Paolo Bonzini <bonzini@gnu.org>
* kernel/File.st: Concatenate starting from an empty string.
* kernel/PkgLoader.st: Implement beginning of STAR format.
2007-06-21 Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Extract parsing of a single package in XML
format.
2007-06-21 Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Implement composite pattern.
2007-06-19 Freddie Akeroyd <F.A.Akeroyd@rl.ac.uk>
Paolo Bonzini <bonzini@gnu.org>
* kernel/File.st: Support mixed \ and / in a Windows path.
Support a file named "C:" in the middle of a Windows path (?).
2007-06-18 Paolo Bonzini <bonzini@gnu.org>
* tests/fileext.st: Run tests using Unix file separator.
2007-06-15 Freddie Akeroyd <F.A.Akeroyd@rl.ac.uk>
Paolo Bonzini <bonzini@gnu.org>
* kernel/Character.st: Add #isPathSeparator.
* kernel/Directory.st: Use it; add special cases for Win32 systems.
* kernel/File.st: Use it; add special cases for Win32 systems.
* kernel/FileDescr.st: Look for :// instead of :/ to distinguish URIs.
2007-06-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/Dictionary.st: Add #findElementIndex:, remove subsumed methods.
* kernel/HashedColl.st: Add #findElementIndex:, use it.
* kernel/LookupTable.st: Add #findElementIndex:.
* kernel/WeakObjects.st: Add #findElementIndex:, remove subsumed
methods.
2007-06-11 Stephen Compall <scompall@nocandysw.com>
* kernel/WeakObjects.st: Reimplement some private and public
methods from HashedCollection for WeakSet, removing unneeded
HomedAssociations.
* kernel/HashedColl.st: Tweak #remove:ifAbsent:'s comment.
2007-06-10 Stephen Compall <scompall@nocandysw.com>
* examples/Publish.st: Add Basic>>#skipWhiteExceptNewlines:, and
use it in Basic>>#reformatComment:, thereby preserving multiple
newlines as they appear in comments.
* kernel/AbstNamespc.st: Reduce default size.
* kernel/RootNamespc.st: Same.
2007-06-10 Stephen Compall <scompall@nocandysw.com>
* kernel/AbstNamespc.st: Document that #addSubspace: answers the
new namespace, also referring to the argument.
* kernel/SeqCollect.st: Fix doc example for #join usage.
2007-06-10 Stephen Compall <scompall@nocandysw.com>
* kernel/WeakObjects.st: Add #includes: to WeakSet, as the
inherited method doesn't work with this class. Add
#identityIncludes: to WeakIdentitySet.
2007-06-11 Paolo Bonzini <bonzini@gnu.org>
* kernel/File.st: Add #pathFrom:to: and symlink creation.
* kernel/VFS.st: Add symlink creation.
2007-06-09 Paolo Bonzini <bonzini@gnu.org>
* kernel/MappedColl.st: Add back #domain and #map.
* scripts/Convert.st: Add example method to convert from Squeak.
2007-06-08 Paolo Bonzini <bonzini@gnu.org>
* kernel/Process.st: Terminate GCed processes.
2007-06-08 Paolo Bonzini <bonzini@gnu.org>
* scripts/Convert.st: Adjust for new STParsingDriver hierarchy.
* scripts/GenLibDoc.st: Likewise.
2007-06-08 Daniele Sciascia <daniele.sciascia@lu.unisi.ch>
* scripts/Convert.st: Track current Namespace for Evals.
2007-06-07 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiExcept.st: Move TrappableEvent and CoreException to
the Kernel namespace.
* kernel/ExcHandling.st: Likewise.
* kernel/Autoload.st: Likewise for AutoloadClass.
* kernel/OtherArrays.st: Likewise for LargeArraySubpart.
2007-06-07 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiExcept.st: Remove two archaeological mysteries.
2007-06-07 Paolo Bonzini <bonzini@gnu.org>
* kernel/StreamOps.st: Add ConcatenatedStream>>#copyFrom:to:.
* scripts/Convert.st: Handle comments properly, using #formatAll:
and handling toplevel comments independently.
2007-06-07 Paolo Bonzini <bonzini@gnu.org>
* kernel/ArrayColl.st: Add #atAll:.
* kernel/Dictionary.st: Add #atAll:.
* kernel/SeqCollect.st: Add #atAll:.
* kernel/MappedColl.st: Add #atAll:, remove #domain/#map accessors,
rewrite #select:/#collect:/#reject:.
2007-06-06 Stephen Compall <scompall@nocandysw.com>
* kernel/Collection.st: Add #join: class method.
* kernel/ArrayColl.st: Specialize.
* kernel/SeqCollect.st: Add #join method.
2007-06-06 Paolo Bonzini <bonzini@gnu.org>
* kernel/Continuation.st: Moved Continuation class from examples,
practically rewriting it in the meanwhile.
* kernel/Generator.st: Moved from examples.
2007-06-05 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileDescr.st: Add #shutdown.
* kernel/Stream.st: Wrap #linesDo: and #do: in an exception handler.
* kernel/VFS.st: Use #linesDo:.
2007-06-04 Paolo Bonzini <bonzini@gnu.org>
* examples/Continuations.st: Adopt definitive API.
* examples/Gen3.st: Use Continuation>>#callCC, much faster. Rename to
Generator.st.
* examples/Generator.st: Rename to Gen3.st.
* kernel/ContextPart.st: Move the continuations example's #copyStack
method here, as #deepCopy.
2007-06-01 Paolo Bonzini <bonzini@gnu.org>
* scripts/GenLibDoc.st: Don't load examples/StreamFilter.st.
* examples/StreamFilter.st: Move...
* kernel/StreamOps.st: ... here. Clean up, add PeekableStream. Move
the Stream subclasses into the Kernel namespace.
* examples/Generator.st: Fix #peekFor: to return false at end of stream.
* examples/Gen2.st: Fix #peekFor: to return false at end of stream.
* examples/Gen3.st: Fix #peekFor: to return false at end of stream.
* kernel/DLD.st: Move RoundRobinStream into the Kernel namespace.
2007-06-01 Paolo Bonzini <bonzini@gnu.org>
* scripts/Getopt.st: New.
* scripts/Load.st: Add (and ignore) --test and --image-file.
* scripts/Test.st: Add (and ignore) --image-file.
2007-05-31 Paolo Bonzini <bonzini@gnu.org>
* kernel/Object.st: Remove stale method.
2007-05-31 Paolo Bonzini <bonzini@gnu.org>
* examples/Generator.st: Fix bug.
* examples/Gen2.st: Fix bug.
* examples/Gen3.st: Another variation on Generators, this time
continuation based (as funny as the context-based one, as fast as
the process-based one).
* examples/StreamFilter.st: Add cute Sieve of Erathostenes example.
* examples/Continuations.st: Add more tests, add #escape/#escapeDo:.
2007-05-31 Paolo Bonzini <bonzini@gnu.org>
* examples/Continuations.st: Add more funny stuff.
2007-05-31 Paolo Bonzini <bonzini@gnu.org>
* kernel/BindingDict.st: Check for capacity in #copyEmpty:,
add #copyEmptyForCollect:
* kernel/Collection.st: Add #copyEmptyForCollect:.
* kernel/SortCollect.st: Add #copyEmptyForCollect:.
* examples/LazyCollection.st: Add #readStream to the ArrayedCollection
proxy, don't use a stream when transforming the result of #collect:
into a collection.
2007-05-30 Paolo Bonzini <bonzini@gnu.org>
* examples/Generator.st: Use same example as Gen2.st.
* examples/Gen2.st: Provide same API as Generator.st.
2007-05-29 Paolo Bonzini <bonzini@gnu.org>
* examples/gdbm-c.st: Fix 64-bit cleanliness.
2007-05-29 Paolo Bonzini <bonzini@gnu.org>
* tests/geometry.st: Improve numerical stability.
2007-05-28 Paolo Bonzini <bonzini@gnu.org>
* kernel/LargeInt.st: Fix division when GMP is absent.
2007-05-26 Paolo Bonzini <bonzini@gnu.org>
* kernel/Number.st: Change #asScaledDecimal:scale: to
#asScaledDecimal:radix:scale:.
2007-05-25 Paolo Bonzini <bonzini@gnu.org>
* kernel/Behavior.st: Support nil superclass more thoroughly.
* kernel/Builtins.st: Move #instanceVariableNames: to
ClassDescription.
* kernel/Float.st: Print exponent for 1.0e/1.0q. The zillionth
printing bug.
* kernel/ScaledDec.st: Remove initial space.
2007-05-25 Daniele Sciascia <sciascid@lu.unisi.ch>
* scripts/Convert.st: New.
2007-05-25 Paolo Bonzini <bonzini@gnu.org>
* kernel/Class.st: Require Parser to file out.
* kernel/ClassDesc.st: Require Parser to file out.
2007-05-25 Paolo Bonzini <bonzini@gnu.org>
* kernel/UndefObject.st: Fix bug in #subclass:
* kernel/Metaclass.st: Fix bug in sending #subclass: to nil
2007-05-24 Paolo Bonzini <bonzini@gnu.org>
* tests/floatmath.st: Test printing on hexadecimal patterns.
2007-05-24 Paolo Bonzini <bonzini@gnu.org>
* examples/gdbmtests.st: Remove created files.
2007-05-24 Paolo Bonzini <bonzini@gnu.org>
* kernel/Behavior.st: Add #shape:. Support #word shape.
* kernel/Builtins.st: Add #shape: and instanceVariableNames: for
Behavior.
* kernel/Class.st: Remove #shape:. Use #word shape.
* kernel/Metaclass.st: Support #word shape.
* kernel/UndefObject.st: Use #word shape.
2007-05-24 Paolo Bonzini <bonzini@gnu.org>
* kernel/Collection.st: Don't use #basicSize in #copyWith:.
* kernel/Dictionary.st: Replace #primSize with #capacity.
* kernel/HashedColl.st: Replace #primSize with #capacity.
* kernel/LookupTable.st: Replace #primSize with #capacity.
2007-05-24 Paolo Bonzini <bonzini@gnu.org>
* scripts/Test.st: Fix error output.
2007-05-24 Paolo Bonzini <bonzini@gnu.org>
* kernel/Float.st: Use rational arithmetic to print Floats.
2007-05-23 Paolo Bonzini <bonzini@gnu.org>
* kernel/Class.st: Don't use TokenStream.
* kernel/Metaclass.st: Don't use TokenStream.
* kernel/TokenStream.st: Move it...
* examples/TokenStream.st: ... here.
2007-05-22 Paolo Bonzini <bonzini@gnu.org>
* kernel/Fraction.st: Fix multiplication/division by zero.
* numerics/Basic.st: Fix rounding.
2007-05-22 Paolo Bonzini <bonzini@gnu.org>
* numerics/NumericsAdds.st: Make all tests pass.
* numerics/NumericsTests.st: Update usage of SUnit logging API.
2007-05-21 Paolo Bonzini <bonzini@gnu.org>
* examples/Continuations.st: Add the Amb class from seaside and
related SUnit tests.
2007-05-21 Paolo Bonzini <bonzini@gnu.org>
* examples/gdbm-c.st: Fix finalization bug. Move tests from here...
* examples/gdbm.st: ... and here...
* examples/gdbmtests.st: ... to here.
2007-05-21 Paolo Bonzini <bonzini@gnu.org>
* kernel/PkgLoader.st: Add public #fileIn method to Package.
2007-05-21 Paolo Bonzini <bonzini@gnu.org>
* examples/md5tests.st: New.
2007-05-18 Stephen Compall <scompall@nocandysw.com>
* examples/zlibtests.st: New file split from examples/zlib.st.
Convert to an SUnit test.
2007-05-18 Paolo Bonzini <bonzini@gnu.org>
* scripts/Load.st: Rewrite.
* scripts/Test.st: Rewrite.
* scripts/Reload.st: Replace with...
* scripts/gst-reload.sh: ... this script.
2007-05-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/PipeStream.st: New.
* kernel/zlib.st: Use it.
2007-05-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/ByteStream.st: Support #nextPutAll: of Streams into Streams.
* kernel/Collection.st: Add #isSequenceable.
* kernel/FileDescr.st: Add #next:putAll:startingAt:. Support
#nextPutAll: of Streams into Streams. Fix #next:
* kernel/FileStream.st: Support #nextPutAll: of Streams into Streams.
* kernel/SeqCollect.st: Add #isSequenceable.
* kernel/Stream.st: Add #isSequenceable. Support #nextPutAll: of
Streams into Streams.
2007-05-17 Paolo Bonzini <bonzini@gnu.org>
* kernel/PosStream.st: Fix comment of #species.
* kernel/Stream.st: Fix #nextHunk.
* examples/zlib.c: New.
* examples/zlib.st: New.
2007-05-14 Paolo Bonzini <bonzini@gnu.org>
* kernel/Behavior.st: Fix #kindOfSubclass.
2007-04-17 Paolo Bonzini <bonzini@gnu.org>
* kernel/Behavior.st: Move Class methods...
* kernel/Class.st: ... here.
2007-04-17 Paolo Bonzini <bonzini@gnu.org>
* examples/Publish.st: Accept new syntax.
2007-04-17 Paolo Bonzini <bonzini@gnu.org>
* kernel/Builtins.st: Convert to new syntax.
2007-04-17 Paolo Bonzini <bonzini@gnu.org>
* kernel/Builtins.st: Move most builtins...
* kernel/AbstNamespc.st: ...here.
* kernel/ArrayColl.st: ... and here,
* kernel/Behavior.st: ... and here,
* kernel/BlkClosure.st: ... and here,
* kernel/ByteArray.st: ... and here,
* kernel/CFuncs.st: ... and here,
* kernel/CObject.st: ... and here,
* kernel/CharArray.st: ... and here,
* kernel/Character.st: ... and here,
* kernel/CompildCode.st: ... and here,
* kernel/CompildMeth.st: ... and here,
* kernel/CompiledBlk.st: ... and here,
* kernel/ContextPart.st: ... and here,
* kernel/FileDescr.st: ... and here,
* kernel/Float.st: ... and here,
* kernel/FloatD.st: ... and here,
* kernel/FloatE.st: ... and here,
* kernel/FloatQ.st: ... and here,
* kernel/HashedColl.st: ... and here,
* kernel/LargeInt.st: ... and here,
* kernel/Memory.st: ... and here,
* kernel/Namespace.st: ... and here,
* kernel/ObjMemory.st: ... and here,
* kernel/Object.st: ... and here,
* kernel/ProcSched.st: ... and here,
* kernel/Process.st: ... and here,
* kernel/Semaphore.st: ... and here,
* kernel/SmallInt.st: ... and here,
* kernel/Stream.st: ... and here,
* kernel/String.st: ... and here,
* kernel/Symbol.st: ... and here,
* kernel/SysDict.st: ... and here,
* kernel/Time.st: ... and here,
* kernel/UniChar.st: ... and here,
* kernel/UniString.st: ... and here,
2007-04-17 Paolo Bonzini <bonzini@gnu.org>
* tests/mutate.st: Finish converting to new syntax.
2007-04-11 Paolo Bonzini <bonzini@gnu.org>
Thomas Girard <thomas.g.girard@free.fr>
* libgst/vm.def: Fix pipelining typo.
* libgst/interp-bc.inl: Fix pipelining typo.
2007-04-11 Paolo Bonzini <bonzini@gnu.org>
* tests/heapsort.st: Use class variables.
* tests/random-bench.st: Use class variables.
2007-04-11 Paolo Bonzini <bonzini@gnu.org>
* kernel/ClassDesc.st: Add #import:.
* tests/blocks.st: Convert to new syntax.
* tests/chars.st: Convert to new syntax.
* tests/classes.st: Convert to new syntax.
* tests/cobjects.st: Convert to new syntax.
* tests/compiler.st: Convert to new syntax.
* tests/dates.st: Convert to new syntax.
* tests/delays.st: Convert to new syntax.
* tests/except.st: Convert to new syntax.
* tests/exceptions.st: Convert to new syntax.
* tests/fibo.st: Convert to new syntax.
* tests/fileext.st: Convert to new syntax.
* tests/floatmath.st: Convert to new syntax.
* tests/geometry.st: Convert to new syntax.
* tests/getopt.st: Convert to new syntax.
* tests/hash.st: Convert to new syntax.
* tests/hash2.st: Convert to new syntax.
* tests/heapsort.st: Convert to new syntax.
* tests/intmath.st: Convert to new syntax.
* tests/lists.st: Convert to new syntax.
* tests/lists1.st: Convert to new syntax.
* tests/lists2.st: Convert to new syntax.
* tests/matrix.st: Convert to new syntax.
* tests/methcall.st: Convert to new syntax.
* tests/mutate.st: Convert to new syntax.
* tests/nestedloop.st: Convert to new syntax.
* tests/objdump.st: Convert to new syntax.
* tests/objects.st: Convert to new syntax.
* tests/objinst.st: Convert to new syntax.
* tests/processes.st: Convert to new syntax.
* tests/prodcons.st: Convert to new syntax.
* tests/random-bench.st: Convert to new syntax.
* tests/untrusted.st: Convert to new syntax.
* tests/sets.st: Convert to new syntax.
* tests/sieve.st: Convert to new syntax.
* tests/strcat.st: Convert to new syntax.
* tests/strings.st: Convert to new syntax.
2007-04-11 Paolo Bonzini <bonzini@gnu.org>
* tests/compiler.st: Check that compiling a method does not
capture the temporaries dictionary.
* tests/exceptions.st: Wrap into block when evaluating multiple
statements together is important.
* tests/objects.st: Likewise.
* tests/untrusted.st: Likewise.
2007-04-02 Paolo Bonzini <bonzini@gnu.org>
* kernel/ClassDesc.st: Fix bugs in previous checkin to this file.
* kernel/Metaclass.st: Remove overrides where bugs were fixed
directly in the superclass.
2007-03-29 Stephen Compall <s11@member.fsf.org>
* kernel/Collection.st: Add and describe class from: protocol.
* kernel/Array.st: Specialize from:.
* kernel/Dictionary.st: Same.
2007-03-29 Stephen Compall <s11@member.fsf.org>
* kernel/Dictionary.st: Use a smaller default size in new.
* kernel/HashedColl.st: Treat new:'s argument as a requested
capacity.
2007-03-28 Palo Bonzini <bonzini@gnu.org>
* kernel/AnsiExcept.st: Force MutationError's creator to be nil.
* kernel/Builtins.st: Add #subclass:, always return class from
class creation stubs.
* kernel/Class.st: Add #shape: and #subclass:.
* kernel/ClassDesc.st: Add #instanceVariableNames:.
* kernel/Metaclass.st: Remove #instanceVariableNames:, add
#name:environment:subclassOf: (used by Class>>#subclass:).
* kernel/UndefObject.st: Add #subclass:.
* tests/mutate.st: Add tests for #subclass:.
2007-03-26 Paolo Bonzini <bonzini@gnu.org>
* kernel/Float.st: Add exclamation mark.
2007-03-26 Paolo Bonzini <bonzini@gnu.org>
* kernel/HashedColl.st: Add #withAll:.
2007-03-20 Paolo Bonzini <bonzini@gnu.org>
* kernel/Integer.st: Fix infinite loop in #binomial: when anInteger
is 0 or self.
2007-03-20 Paolo Bonzini <bonzini@gnu.org>
* kernel/CharArray.st: Point out that #lineDelimiter is not usable
on this class.
* kernel/Dictionary.st: Fix #addAll:, suggested by Janis Rucis.
2007-03-20 Paolo Bonzini <bonzini@gnu.org>
* tests/compiler.st: Test <category: ...> pragma.
2007-03-20 Paolo Bonzini <bonzini@gnu.org>
* kernel/ObjDumper: Fix typo.
2007-03-19 Paolo Bonzini <bonzini@gnu.org>
* examples/Application.st: Delete.
* examples/Debugger.st: Delete.
* examples/RandomInt.st: Delete.
* examples/DeltaBlue.st: Convert class variables to class-instance.
* kernel/Regex.st: Likewise.
* kernel/DLD.st: Likewise.
* kernel/ObjDumper.st: Likewise.
* kernel/PkgLoader.st: Likewise.
* kernel/Random.st: Likewise.
* kernel/ValueAdapt.st: Likewise.
* kernel/VFS.st: Likewise.
* examples/RegExp.st: Remove useless debugging code.
* kernel/ContextPart.st: Remove unused class variable.
2007-03-16 Paolo Bonzini <bonzini@gnu.org>
* kernel/Regex.st: Fix calls to #interval.
2007-03-09 Paolo Bonzini <bonzini@gnu.org>
* scripts/Finish.st: Fix DESTDIR installation.
2007-03-06 Paolo Bonzini <bonzini@gnu.org>
* examples/Continuations.st: Make more compatible with Seaside's
implementation.
2007-02-10 Stephen Compall <scompall@nocandysw.com>
* kernel/AbstNamespc.st: Make removeSubspace: public, change its
argument to be a symbol rather than a namespace, and don't make it
a subspace of Smalltalk.
2007-02-10 Paolo Bonzini <bonzini@gnu.org>
* kernel/Directory.st: Add #kernel and #userKernel, deprecate
#systemKernel and #localKernel.
* kernel/VFS.st: Adjust.
* kernel/PkgLoader.st: Adjust.
* kernel/SysDict.st: Add #imageLocal.
* scripts/Finish.st: Get `old' file path from ImageFilePath.
2007-02-06 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileDescr.st: Use #remove:ifAbsent:.
2007-02-05 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileDescr.st: Remove #allSubinstancesDo: on quit, instead
register open files in a WeakIdentitySet.
* kernel/Object.st: Store dependencies in a WeakKeyIdentityDictionary.
* kernel/WeakObjects.st: Don't transform dependencies into a
WeakKeyIdentityDictionary here.
2007-02-04 Paolo Bonzini <bonzini@gnu.org>
* kernel/Float.st: Remove debugging statement.
2007-02-01 Paolo Bonzini <bonzini@gnu.org>
* kernel/CharArray.st: Speed up #asInteger by 2x.
2007-01-29 Paolo Bonzini <bonzini@gnu.org>
* kernel/Float.st: Really fix bug in printing floating point numbers.
2007-01-29 Paolo Bonzini <bonzini@gnu.org>
* kernel/LargeInt.st: Rename #trailingZeros to #lowBit.
* kernel/SmallInt.st: Rename #trailingZeros to #lowBit.
* kernel/Integer.st: Rename #trailingZeros to #lowBit.
* kernel/Float.st: Fix bug in printing exact floating-point numbers.
Support gradual underflow in #raisedToInteger:.
* tests/floatmath.st: Add accuracy tests.
* tests/floatmath.ok: Adjust.
2007-01-28 Paolo Bonzini <bonzini@gnu.org>
Nicolas Cellier <ncellier@ifrance.com>
* kernel/Float.st: Rewrite #truncated and #asExactFraction.
* kernel/Fraction.st: Use #asFloatD in #hash. Rewrite #asFloat:.
* kernel/LargeInt.st: Rewrite #asFloat:. Add #trailingZeros.
* kernel/SmallInt.st: Add #trailingZeros.
* kernel/Integer.st: Add #trailingZeros.
* kernel/MappedColl.st: Use map size as collection size.
* tests/floatmath.st: Add accuracy tests.
* tests/floatmath.ok: Adjust.
2007-01-27 Paolo Bonzini <bonzini@gnu.org>
* tests/intmath.st: Add one regression test.
* tests/intmath.ok: Adjust.
2007-01-26 Stephen Compall <scompall@nocandysw.com>
* kernel/Dictionary.st: Use aBlock directly in associationsDo:.
* kernel/AbstNamespc.st: Likewise with subspacesDo:.
2007-01-26 Paolo Bonzini <bonzini@gnu.org>
* kernel/BlkClosure.st: Override #copy rather than #shallowCopy.
2007-01-22 Stephen Compall <scompall@nocandysw.com>
* kernel/Fraction.st: Print denominator for storeOn: as
denominator, not numerator as denominator.
Reported by J Pfersich.
2007-01-14 Stephen Compall <scompall@nocandysw.com>
* kernel/HashedColl.st: Add copyEmpty, using primSize instead of
basicSize. Fixes size-doubling for LookupTable.
2007-01-09 Stephen Compall <scompall@nocandysw.com>
* kernel/Directory.st: Pass Directory entries to
#allFilesMatching:do:'s block argument if they match aPattern.
2007-01-02 Paolo Bonzini <bonzini@gnu.org>
Stephen Compall <s11@member.fsf.org>
* kernel/FileSegment.st: Add #copyFrom:to:.
* kernel/Class.st: Fix bugs in pragma handlers.
2007-01-02 Mike Anderson <gnu-smalltalk@gingerbread.plus.com>
* kernel/Builtins.st: Fix Character>>#asciiValue: pasto.
2006-12-31 Paolo Bonzini <bonzini@gnu.org>
Stephen Compall <s11@member.fsf.org>
* kernel/FileDescr.st: Fix #copyFrom:to:.
* kernel/PosStream.st: Make the same method 0-based.
2006-12-19 Paolo Bonzini <bonzini@gnu.org>
* kernel/VFS.st: Initialize file system registry lazily.
2006-12-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/VFS.st: Use dependency to invoke #release instead of
#allSubinstancesDo:
2006-12-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/FileDescr.st: Fix #nextPutByte:.
* kernel/FileStream.st: Remove it and #nextPutByteArray:.
2006-12-14 Paolo Bonzini <bonzini@gnu.org>
* kernel/CFuncs.st: Accept that the address is nil.
2006-12-07 Paolo Bonzini <bonzini@gnu.org>
* kernel/Builtins.st: Add #divExact: primitive.
* kernel/Float.st: Use it when dividing by a GCD.
* kernel/Fraction.st: Use it when dividing by a GCD.
* kernel/Integer.st: Use it when dividing by a GCD.
* kernel/LargeInt.st: Use it when dividing by a GCD.
* kernel/ScaledDec.st: Use it when dividing by a GCD.
2006-12-05 Paolo Bonzini <bonzini@gnu.org>
*** Version 2.3 released.
2006-12-05 Paolo Bonzini <bonzini@gnu.org>
* kernel/Number.st: Fix coercion in previous checkin.
2006-12-02 Paolo Bonzini <bonzini@gnu.org>
* kernel/Number.st: Don't use Floats in #rounded and use
#rounded in #roundTo:.
2006-12-01 Paolo Bonzini <bonzini@gnu.org>
* kernel/CompildMeth.st: Fix typo in asynchronous call-outs.
* tests/cobjects.st: Test it.
2006-11-30 Paolo Bonzini <bonzini@gnu.org>
* kernel/VFS.st: Execute hooks before/after snapshots too.
Add release method to get rid of DESTDIRs.
2006-11-27 Paolo Bonzini <bonzini@gnu.org>
* scripts/Finish.st: Get rid of all DESTDIRs.
2006-11-21 Paolo Bonzini <bonzini@gnu.org>
* kernel/Regex.st: Move creation of MatchingRegexResults object to C.
2006-11-21 Paolo Bonzini <bonzini@gnu.org>
* examples/gdbm.c: Add GPL exception.
* examples/md5.c: Add GPL exception.
2006-11-19 Paolo Bonzini <bonzini@gnu.org>
* tests/quit.st: New.
2006-11-15 Brad Watson <whitebearded1@yahoo.com>
* examples/ncurses.st: New.
2006-11-15 Paolo Bonzini <bonzini@gnu.org>
* kernel/CFuncs.st: Rename #asyncCallFrom: and #callFrom:into: into
#asyncCall: and #callInto:.
* kernel/Class.st: Provide <cCall: 'function'> pragmas.
* kernel/CompildCode.st: Change special selector #callFrom:into:
into #callInto:.
* kernel/CompildMeth.st: Do not materialize context in the call-outs.
Add support for the <cCall: 'function'> pragma.
* kernel/ScaledDec.st: Fix bug in previous check-in.
2006-11-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/Float.st: Fix typo.
* kernel/ScaledDec.st: Compute GCD here for #asFraction.
2006-11-08 Paolo Bonzini <bonzini@gnu.org>
* kernel/Float.st: Rewrite printing to round correctly and never
divide a floating-point number.
* kernel/Number.st: Fix problems in #floorLog:, add #ceilingLog:.
Never divide.
* kernel/Integer.st: Likewise.
* tests/floatmath.st: Test rounding when printing.
* tests/geometry.st: Fix test vector to test the correct rounding.
2006-11-04 Paolo Bonzini <bonzini@gnu.org>
* kernel/CObject.st: Use #numberOfElements rather than #numElements.
2006-11-04 Paolo Bonzini <bonzini@gnu.org>
* kernel/Builtins.st: Fix primitive number for ByteArray
class>>#fromCData:size:.
2006-11-03 Paolo Bonzini <bonzini@gnu.org>
* kernel/LargeInt.st: Fix method comments.
2006-11-03 Paolo Bonzini <bonzini@gnu.org>
* kernel/BlkClosure.st: Mark #on:do: contexts as unwinding
* kernel/ProcSched.st: Remove debug code.
* kernel/Process.st: Fix parameter names in #on:at:suspend:. Add
#context and use it in #makeUntrusted:. Wrap process not only
in an #on:do:, but also in an #ensure: block.
* tests/exceptions.st: Test exception raising within a process.
2006-11-02 Paolo Bonzini <bonzini@gnu.org>
* kernel/BlkClosure.st: Do not fail if #on:do: has something else
than an exception passed to it.
2006-10-31 Paolo Bonzini <bonzini@gnu.org>
* kernel/Stream.st: Put pastEnd here...
* kernel/PosStream.st: ... from here.
2006-10-31 Paolo Bonzini <bonzini@gnu.org>
* kernel/AnsiExcept.st: Support raising WrongClass without setting
validClasses first.
2006-10-28 Paolo Bonzini <bonzini@gnu.org>
* kernel/CharArray.st: Add missing period in #isNumeric.
Patch by J Pfersich.
2006-10-27 Paolo Bonzini <bonzini@gnu.org>
* kernel/VFS.st: Implement isDirectory by accessing struct stat.
2006-10-27 Paolo Bonzini <bonzini@gnu.org>
* kernel/Float.st: Run #asFraction loop after stripping the exponent.
* kernel/FloatD.st: Fix comment. Reported by J Pfersich.
* kernel/FloatE.st: Likewise.
* kernel/FloatQ.st: Likewise.
2006-10-25 Paolo Bonzini <bonzini@gnu.org>
* examples/MiniInspector.st: Test #atEnd before reading next line.
2006-10-25 Paolo Bonzini <bonzini@gnu.org>
* examples/Prolog.st: Enjoy the wonders of polymorphism.
2006-10-23 Paolo Bonzini <bonzini@gnu.org>
* kernel/CharArray.st: Make #numberOfCharacters notYetImplemented
and #asUnicodeString subclassResponsibility.
* kernel/String.st: Remove #numberOfCharacters.
2006-10-16 Paolo Bonzini <bonzini@gnu.org>
* examples/Methods.st: New.
2006-10-16 Paolo Bonzini <bonzini@gnu.org>
* kernel/String.st: Fix storeString of read-only literals.
2006-10-15 Paolo Bonzini <bonzini@gnu.org>
* kernel/Regex.st: Fix Regex>>#asString, reported by J Pfersich.
2006-10-05 Paolo Bonzini <bonzini@gnu.org>
* kernel/ObjMemory.st: Wait for the completion of other processes
before quitting.
2006-09-29 Paolo Bonzini <bonzini@gnu.org>
* examples/LazyCollect.st: Fix reference to deleted class.
2006-09-22 Paolo Bonzini <bonzini@gnu.org>
* examples/regex.st: Move ...
* kernel/Regex.st: ... here. Move private classes into Kernel
namespace. Add documentation.
2006-09-22 Paolo Bonzini <bonzini@gnu.org>
* kernel/Builtins.st: Add UnicodeString>>#hash.
* kernel/UniString.st: Add #fromString: and #encoding methods.
* kernel/CharArray.st: Add #=, #encoding, #asUnicodeString.
* kernel/String.st: Add fast version of #=, remove #asUnicodeString.
2006-09-15 Paolo Bonzini <bonzini@gnu.org>
* examples/LazyCollect.st: Refactor.
2006-09-13 Paolo Bonzini <bonzini@gnu.org>
* kernel/Behavior.st: Use #readStream to convert a WriteStream
into a ReadStream.
* kernel/PosStream.st: Add #readStream.
* kernel/RWStream.st: Replace #useWholeStream with new method
#limit:. Define #on:from:to:.
* kernel/ReadStream.st: Optimize #on:from:to: with new method
#initCollection:limit:. Remove useless #reverseContents.
* kernel/WriteStream.st: Add #readStream.
* kernel/File.st: Create new file in #touch if not existing.
2006-09-08 Paolo Bonzini <bonzini@gnu.org>
* kernel/LinkedList.st: Fix quadraticness of #includes:.
2006-09-08 Paolo Bonzini <bonzini@gnu.org>
* kernel/File.st: Add methods to wrap utime and use them in #touch.
* kernel/VFS.st: Add methods to wrap utime.
* kernel/FileStream.st: Fix typo.
2006-09-08 Paolo Bonzini <bonzini@gnu.org>
* kernel/ExcHandling.st: Reinstate skipping internal contexts.
2006-09-08 Paolo Bonzini <bonzini@gnu.org>
* kernel/Builtins.st: Add checks to "Namespace current:"
* kernel/AnsiExcept.st: Accept classes in addition to VariableBindings.
2006-09-07 Paolo Bonzini <bonzini@gnu.org>
* scripts/Finish.st: Accept the full $(DESTDIR)$(pkgdatadir)
and $(pkgdatadir).
2006-09-06 Paolo Bonzini <bonzini@gnu.org>
* kernel/File.st: Add #pathFor:ifNone:.
* kernel/Directory.st: Use it in #create:.
2006-07-28 Paolo Bonzini <bonzini@gnu.org>
* kernel/SeqCollect.st: Add #keys.
* kernel/MappedColl.st: Likewise.
2006-07-26 Paolo Bonzini <bonzini@gnu.org>
* kernel/MappedColl.st: Don't use #species.
* kernel/SeqCollect.st: Don't use #species.
* kernel/ArrayColl.st: Don't use #species.
2006-07-20 Paolo Bonzini <bonzini@gnu.org>
* kernel/Getopt.st: New.
* tests/getopt.st: New.
2006-07-20 Paolo Bonzini <bonzini@gnu.org>
* kernel/Builtins.st: Define Stream>>#fileIn and #fileInLine:fileName:at:.
* kernel/FileDescr.st: Redefine #nextHunk.
* kernel/FileStream.st: Fix bug in #nextHunk. Remove file-in methods.
* kernel/Stream.st: Define #nextHunk.
2006-07-20 Paolo Bonzini <bonzini@gnu.org>
* kernel/Builtins.st: Add four-argument #fileOp: primitive.
* kernel/FileDescr.st: Look ahead one character in #atEnd for pipes.
* kernel/FileSegment.st: Use FileStream>>#copyFrom:to:.
* kernel/FileStream.st: Rewrite buffer flushing and collection
read/write. Do not use any fileOp: directly except for pread/pwrite
(which are not used for pipes -- see kernel/FileDescr.st) and
fileIn (which will disappear before the release).
2006-07-18 Paolo Bonzini <bonzini@gnu.org>
* kernel/Behavior.st: Add #utf32 shape.
* kernel/Builtins.st: Recognize ranges correctly for #character
and #utf32 shapes. Implement CharacterArray>>#valueAt: and
#valueAt:put: as primitives. Add UnicodeCharacter methods and
distinguish Character class>>#codePoint: from #value:. Adjust
instance variable name for character. Use specific primitive
for Character equality.
* kernel/ByteArray.st: Do not implement #asUnicodeString.
* kernel/CharArray.st: Remove #basicAt:/#basicAt:put:. Add
(abstract) #numberOfCharacters and #printOn:/#displayOn:/#storeOn:.
* kernel/Character.st: Use separate tables for classification
and case mapping. Answer false for #isIdentity. Change name
of instance variable. Add #asUnicodeString. Adjust printing
to support Unicode characters.
* kernel/Class.st: Document #utf32 shape.
* kernel/Collection.st: Add #asString and #asUnicodeString.
* kernel/Integer.st: Use #codePoint: in #asCharacter.
* kernel/ObjDumper.st: Add UnicodeCharacter storing. Add support
for #utf32 shape.
* kernel/PosStream.st: Add #isPositionable.
* kernel/Stream.st: Add #isPositionable and #isUnicode.
* kernel/String.st: Do not implement #asUnicodeString. Add printing
methods removed from CharacterArray. Add #byteAt:/#byteAt:put:.
* kernel/UndefObject.st: Document #utf32 shape.
* kernel/UniChar.st: New.
* kernel/UniString.st: New.
* tests/Ansi.st: Raise the codePoint needed to get an Error.
* tests/chars.st: Only test ASCII characters for #asCharacter.
2006-07-10 Paolo Bonzini <bonzini@gnu.org>
* examples/regex.st: Define with correct shape.
2006-07-08 Paolo Bonzini <bonzini@gnu.org>
* kernel/Rectangle.st: Fix incorrect checkin.
2006-07-07 Paolo Bonzini <bonzini@gnu.org>
* examples/LazyCollection.st: New.
2006-07-07 Paolo Bonzini <bonzini@gnu.org>
* kernel/Point.st: Fix #min: and #max:.
* kernel/Rectangle.st: Deal more gracefully with non-normalized
rectangles.
2006-04-27 Paolo Bonzini <bonzini@gnu.org>
* kernel/OrderColl.st: Split part of #removeAtIndex: into
#basicRemoveAtIndex:.
* kernel/SortCollect.st: Rename #removeAtIndex: to #basicRemoveAtIndex:.