Permalink
Commits on Feb 17, 2013
  1. Merge branch 'stable-3.2'

    bonzini committed Feb 17, 2013
  2. streams: Add ConcatenatedStream>>#species for a gst-convert fix

    zecke committed with bonzini Feb 14, 2013
    gst-convert will construct a ConcatenatedStream when multiple input
    files are passed. In contrast to a FileStream the species was Array
    and not String leading to an issue with the RBScanner>>#scanNumber.
    
    Add ConcatenatedStream>>#species to return the species of the current
    stream.
    
    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.
Commits on Feb 10, 2013
  1. stinst: Allow gst-convert to work for OldSyntax/Squeak syntax

    zecke committed Feb 10, 2013
    The gst-convert command
    
    $ gst-convert -r'Osmo.LogManager -> LogManager' -F squeak -f gst
    
    was rewriting the nodes but the exported file contained the original
    unmodified sourcecode. The FormattingExporter for the gst syntax is
    using the >>#methodFormattedSourceString to format, use it inside the
    OldSyntaxExporter as well. Another option would be to subclass the
    SqueakSyntaxExporter and OldSyntaxExporter and add the formatting there.
    
    2013-02-10  Holger Hans Peter Freyther  <holger@freyther.de>
    
    	* OldSyntaxExporter.st: Reformat the method node in
    	OldSyntaxExporter>>#oldSyntaxSourceCodeFor:.
    	* RewriteTests.st: Add the TestRewrite class.
    	* package.xml: Add the TestRewrite test to the testsuite.
Commits on Feb 8, 2013
  1. Merge branch 'stable-3.2'

    bonzini committed Feb 8, 2013
  2. stinst: Introduce a RBNumberLiteralToken to keep numbers in the origi…

    zecke committed Feb 8, 2013
    …nal format
    
    When using gst-convert to convert code number literals were rewritten from
    forms like 2r01 to 1. In most cases this is not wanted because the bits might
    come from a specification or make it more obvious what one tests for.
    
    2013-02-08  Holger Hans Peter Freyther  <holger@freyther.de>
    
    	* RBFormatter.st: Use the RBToken>>#storeOn: for writing.
    	* RBParser.st: Create a RBNumberLiteralToken for number literals.
    	* RBToken.st: Create the RBNumberLiteralToken class.
    	* RewriteTests.st: Add test for the number literal parsing
    	* package.xml: Add the new test to the testsuite.
  3. add more NEWS items

    bonzini committed Feb 8, 2013
  4. Merge branch 'stable-3.2'

    bonzini committed Feb 8, 2013
  5. stinst: Put the class variables into the classVars and not the pool

    zecke committed Jan 29, 2013
    The class variables were placed in the pool and not in the class variables
    array. This was found while exporting OsmoLogging to Squeak syntax.
    
    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-29  Holger Hans Peter Freyther  <holger@freyther.de>
    
    	* STLoaderObjs.st: Put class variables into the classVars array.
  6. stinst: Export comments in a way they are parsable with pharo 1.4

    zecke committed Jan 29, 2013
    Add >>#fileOutComment:to: to the FileOutExporter and re-implement it
    for Squeak/Pharo to write it as a chunk. This is confirmed to work
    with Pharo 1.4.
    
    2013-01-29  Holger Hans Peter Freyther  <holger@freyther.de>
    
    	* Exporter.st: Add FileOutExporter class>>#fileOutComment:to:.
    	* SqueakExporter.st: Re-implement the
    	SqueakSyntaxExporter class>>#fileOutComment:to: using chunks.
  7. Remove security framework

    MrGwen committed with zecke Jan 27, 2013
    The framework has never been fully implemented and is not used
    by anone. Remove it from the code to simplify things. In the future
    it might be implemented in a different way.
    
    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.
    	* packages/stinst/parser/STSymTable.st: Remove security checks.
    	* tests/Makefile.am: Remove security tests.
    	* tests/testsuite.at: Remove security tests.
    	* tests/untrusted.ok: Remove security tests.
    	* tests/untrusted.st: Remove security tests.
    
    VisualGST
    2013-01-29  Holger Hans Peter Freyther  <holger@freyther.de>
    
    	* Notification/Kernel/Metaclass.st: Remove usages of #isUntrusted
    	and #makeUntrusted:
  8. misc: Enable silent rules of automake

    zecke committed Jan 27, 2013
    2013-01-27  Holger Hans Peter Freyther  <holger@freyther.de>
    
    	* configure.ac: Enable the silent rules.
    	* snprintfv/configure.ac: Enable the silent rules.
Commits on Jan 23, 2013
  1. travis: Update the apt repository before each build

    zecke committed Jan 23, 2013
    The CI was failing to install packages because the pulseaudio package
    has vanished. Always upate the apt repository before doing the installation.
    
    2013-01-23  Holger Freyther  <holger@freyther.de>
    
    	* .travis.yml: Update before_install to update the apt repository.
Commits on Jan 17, 2013
  1. kernel: Name the Process created by the Delay class

    zecke committed Jan 17, 2013
    The Delay>>#value:onTimeoutDo: selector creates a new process to
    inject the timeout interrupt into the calling process. Give this
    process a name to help in debugging.
    
    2013-01-17  Holger Freyther  <holger@freyther.de>
    
    	* kernel/Delay.st: Name the process created.
  2. tests: Correct the Dates test and update the test result.

    zecke committed Jan 17, 2013
    The test intended to verify that the suffix is not consumed from
    the stream but the date was parsed from a new stream so the test
    always succeeded. Right now more characters are consumed and the
    suffix test would fail. Change the test to use the right stream
    for parsing the date and change the test result to include the
    suffix and what remained inside the stream.
    
    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.
  3. Merge branch 'stable-3.2'

    zecke committed Jan 17, 2013
  4. win32: Fix compilation for Windows

    zecke committed Jan 17, 2013
    The function is defined in the sysdep.h header file, add the
    SigHandler argument to it.
    
    2013-01-17  Gwenael Casaccio  <gwenael.casaccio@gmail.com>
    
    	* libgst/sysdep/win32/timer.c: Correct the function signature.
Commits on Jan 16, 2013
  1. travis: Add .travis.yml for the travis-ci.org

    zecke committed Jan 16, 2013
    travis-ci is a MIT licensed continous integration system that is
    integrating with projects on github.com. It will automatically build
    new revisions and merge-requests.
    
    2013-03-16  Holger Freyther  <holger@freyther.de>
    
    	* .travis.yml: Add description for the travis-ci service.
  2. dist: Fix make distcheck due missing files

    zecke committed Jan 16, 2013
    The streams.st and streams.ok file was missing making the streams
    test fail during the make distcheck.
    
    2013-03-16  Holger Freyther  <holger@freyther.de>
    
    	* tests/Makefile.am: Add streams.st and streams.ok to data
Commits on Dec 29, 2012
  1. Merge branch 'stable-3.2'

    bonzini committed Dec 29, 2012
  2. MAX_OOP_TABLE_SIZE is expressed in OOPs

    bonzini committed Dec 29, 2012
    libgst:
    2012-12-29  Paolo Bonzini  <bonzini@gnu.org>
    
    	* libgst/oop.h: MAX_OOP_TABLE_SIZE is expressed in OOPs, not bytes.
    	Reported by Holger Freyther.
  3. memory: Handle heap allocation failures without aborting

    zecke committed with bonzini Dec 28, 2012
    _gst_heap_sbrk/heap_sbrk_internal will return NULL on allocation
    failures and set errno to ENOMEM but the morecore method assumed
    that MMAP_FAILED (PTR -1) would be returned. Make it consistent.
    
    This way I can allocate up to 1.4gb of virtual address space until
    I run into GC scalability issues.
    
    2012-12-29  Holger Hans Peter Freyther  <holger@freyther.de>
    
           * libgst/alloc.c: _gst_heap_sbrk returns NULL and not MMAP_FAILED
           on allocation failure.
           * libgst/heap.c: Return NULL on allocation failure.
Commits on Nov 26, 2012
  1. fix lrintf replacement

    bonzini committed Nov 26, 2012
    lib-src:
    2012-11-26  Paolo Bonzini  <bonzini@gnu.org>
    
    	* lib-src/lrintf.c: Fix return type.
Commits on Oct 10, 2012
  1. Merge branch 'stable-3.2'

    bonzini committed Oct 10, 2012
  2. fix ConcatenatedStream for real and add testcase

    bonzini committed Oct 9, 2012
    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.
Commits on Oct 8, 2012
  1. remove old libltdl cruft

    bonzini committed Oct 8, 2012
  2. fix for ConcatenatedStream>>#copyFrom:to:

    bonzini committed Oct 8, 2012
    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.
  3. fix quoting in libc-so-name.m4

    bonzini committed Oct 8, 2012
    This fixes a false-positive warning with Autoconf 2.69.
  4. stinst: Squeak does not like nil as category string use a string

    zecke committed with bonzini Oct 6, 2012
    2012-10-06  Holger Freyther  <holger@freyther.de>
    
    	* SqueakExporter.st: Use 'as yet unclassified' as category string
    	if it is nil.