Permalink
Commits on Jun 2, 2008
  1. redo nurbs callbacks to attach callback functions to nurbs objects

    oblanc2 authored and bonzini committed Jun 2, 2008
    packages/opengl:
    2008-06-02  Olivier Blanc  <olivier.blanc@laposte.net>
    
    	* OpenGLUNurbs.st: Change the callback implementation to attach
    	callback functions to nurbs objects.
    	* gstGluNurbs.c: Likewise.
    	* test/surfpoints.st: Likewise.
  2. add nurbs

    bonzini committed May 19, 2008
    2008-06-02  Olivier Blanc  <olivier.blanc@laposte.net>
    
            * OpenGLU.st: Remove nurbs functions.
            * OpenGLUNurbs.st: New.
            * gstopengl.h: Declare newly exported functions.
            * gstGl.c: Export gst_opengl_glMap_size.
            * gstGlu.c: Call gst_initModule_gluNurbs.
            * gstGluNurbs.c: New.
            * test/surface.st: New.
            * test/surfpoints.st: New.
  3. merge OpenGL nurbs functions

    bonzini committed Jun 2, 2008
    2008-06-02  Olivier Blanc  <olivier.blanc@laposte.net>
    
    	* OpenGLU.st: Remove nurbs functions.
    	* OpenGLUNurbs.st: New.
    	* gstopengl.h: Declare newly exported functions.
    	* gstGl.c: Export gst_opengl_glMap_size.
    	* gstGlu.c: Call gst_initModule_gluNurbs.
    	* gstGluNurbs.c: New.
    	* test/surface.st: New.
    	* test/surfpoints.st: New.
  4. speed up OpenGL blitting if Apple extensions are present

    bonzini committed Jun 2, 2008
    packages/opengl:
    2008-06-02  Paolo Bonzini  <bonzini@gnu.org>
    
    	* OpenGL.st: Add glFinish, glPushClientAttrib, glPopClientAttrib,
    	glGetString.
    	* OpenGLEnum.st: Add GL_TEXTURE_STORAGE_HINT_APPLE-related constants.
    	* OpenGLU.st: Add gluCheckExtension.
    	* gstGl.c: Add (commented out) a couple of Apple extensions.
    
    packages/sdl:
    2008-06-02  Paolo Bonzini  <bonzini@gnu.org>
    
    	* cairo/CairoSDL.st: Add GL_APPLE_client_storage and
    	GL_TEXTURE_STORAGE_HINT_APPLE support.
  5. return the receiver, not nil, if a callout's returned type is #void

    bonzini committed Jun 2, 2008
    libgst:
    2008-06-02  Paolo Bonzini  <bonzini@gnu.org>
    
    	* libgst/cint.c: Return the receiver, not nil, if the returned type
    	is #void.
  6. remove one #replaceFrom:to:withObject: testcase.

    bonzini committed Jun 1, 2008
    2008-06-01  Paolo Bonzini  <bonzini@gnu.org>
    
    	* tests/Ansi.st: Remove one testcase.
  7. handle ProtocolError better after fixing core exception handling bug

    bonzini committed Jun 1, 2008
    packages/net:
    2008-06-01  Paolo Bonzini  <bonzini@gnu.org>
    
    	* URIResolver.st: Handle ProtocolError in a saner way.
  8. fix weird case of nested exception handlers and #pass

    bonzini committed Jun 1, 2008
    2008-06-02  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.
Commits on Jun 1, 2008
  1. fix URL bugs introduced in File rewrite.

    bonzini committed Jun 1, 2008
    2008-06-01  Paolo Bonzini  <bonzini@gnu.org>
    
    	* kernel/FileDescr.st: Make #file call #asFile.
    	* kernel/URL.st: Fix bugs introduced in File rewrite.
  2. fix some URL/NetClients bugs also in 3.0.

    bonzini committed Jun 1, 2008
    2008-06-01  Paolo Bonzini  <bonzini@gnu.org>
    
    	* kernel/URL.st: Fix redirects including a GET query.
    	Add #contents and #readStream.
    
    packages/net:
    2008-06-01  Paolo Bonzini  <bonzini@gnu.org>
    
    	* Base.st: Make ProtocolError resumable.
    	* MIME.st: Trim whitespace in front of fields.
    	* URIResolver.st: Fix case when there is a protocol error.
Commits on May 31, 2008
  1. make gst-convert --quiet really quiet

    Daniele Sciascia authored and bonzini committed May 31, 2008
    2008-05-31  Daniele Sciascia  <daniele.sciascia@lu.unisi.ch>
    
    	* scripts/Convert.st: --quiet was verbose.
Commits on May 30, 2008
  1. do not crash gst-remote if getpid not present

    bonzini committed May 30, 2008
    2008-05-30  Paolo Bonzini  <bonzini@gnu.org>
    
    	* scripts/Remote.st: Do not crash if getpid not present.
  2. remove executable extension when looking up gst-tool's argv[0]

    bonzini committed May 30, 2008
    2008-05-30  Paolo Bonzini  <bonzini@gnu.org>
    
    	* gst-tool.c: Remove executable extension if present.
  3. don't initialize SdlDisplay twice, it breaks almost everything!

    bonzini committed May 30, 2008
    packages/sdl:
    2008-05-30  Paolo Bonzini  <bonzini@gnu.org>
    
    	* libsdl_gl/Display.st: Avoid double initialization of SdlDisplay.
  4. fix %w in _gst_msg_sendf

    bonzini committed May 30, 2008
    libgst:
    2008-05-30  Paolo Bonzini  <bonzini@gnu.org>
    
    	* libgst/callin.c: Fix %w in _gst_msg_sendf.
  5. add support for OpenGL blitting of Cairo surfaces

    bonzini committed May 30, 2008
    2008-05-30  Paolo Bonzini  <bonzini@gnu.org>
    
    	* examples/CairoBlit.st: Hack together OpenGL support here.
    
    packages/cairo:
    2008-05-30  Paolo Bonzini  <bonzini@gnu.org>
    
    	* CairoContext.st: Add #operator and #operator:.
    	* CairoFuncs.st: Add cairo_{get,set}_operator.
    	* CairoSurface.st: Add #free.
    
    packages/opengl:
    2008-05-30  Paolo Bonzini  <bonzini@gnu.org>
    
    	* OpenGL.st: Add glPushAttrib, glPopAttrib, glBlendFunc,
    	glTexSubImage1D, glTexSubImage2D.
    
    packages/sdl:
    2008-05-30  Paolo Bonzini  <bonzini@gnu.org>
    
    	* libsdl/Display.st: Add #shutdown.  Move SdlGLDisplay...
    	* libsdl_gl/Display.st: ... here.
    	* cairo/CairoSDL.st: Add OpenGL support.
  6. fix CByte

    bonzini committed May 30, 2008
    2008-05-30  Paolo Bonzini  <bonzini@gnu.org>
    
    	* kernel/CObject.st: Fix CByte.
  7. support both #uint and #uInt spellings

    bonzini committed May 30, 2008
    2008-05-30  Paolo Bonzini  <bonzini@gnu.org>
    
    	* kernel/CCallable.st: Support both #uint and #uInt spelling
    	(and similarly for #ushort, #uchar, #ulong).
Commits on May 28, 2008
  1. use #ensure: in #fileIn:

    bonzini committed May 28, 2008
    2008-05-28  Paolo Bonzini  <bonzini@gnu.org>
    
    	* kernel/FileStream.st: Use #ensure: in #fileIn:.
Commits on May 27, 2008
  1. move #join up to Collection

    bonzini committed May 27, 2008
    2008-05-27  Paolo Bonzini  <bonzini@gnu.org>
    
    	* kernel/SeqCollect.st: Move #join...
    	* kernel/Collection.st: ... here.  Use #anyOne.
  2. add String>>#= primitive

    bonzini committed May 27, 2008
    2008-05-27  Paolo Bonzini  <bonzini@gnu.org>
    
    	* kernel/ByteArray.st: Use VMpr_ArrayedCollection_equal.
    	* kernel/String.st: Use VMpr_ArrayedCollection_equal.
    
    libgst:
    2008-05-27  Paolo Bonzini  <bonzini@gnu.org>
    
    	* libgst/prims.def: Add VMpr_ArrayedCollection_equal.
  3. 2008-05-27 Paolo Bonzini <bonzini@gnu.org>

    bonzini committed May 27, 2008
    	* kernel/ArrayColl.st: Avoid useless checks.
    	* kernel/SeqCollect.st: Allow replacing zero elements with
    	#replaceFrom:to:withObject:.
    	* tests/Ansi.st: Adjust testsuite.
Commits on May 24, 2008
  1. avoid leaking file descriptors for LimitedStreams

    bonzini committed May 24, 2008
    2008-05-24  Paolo Bonzini  <bonzini@gnu.org>
    
    	* kernel/VFSZip.st: Avoid leaking file descriptors for LimitedStreams.
Commits on May 22, 2008
  1. implement #gather: in terms of #join (instead of #join:)

    bonzini committed May 22, 2008
    2008-05-22  Paolo Bonzini  <bonzini@gnu.org>
    
    	* kernel/ArrayColl.st: Remove implementation of #gather:.
    	* kernel/Collection.st: Implement #gather: in terms of #join.
  2. fix #all on archives (to solve Google Treasure Hunt #2!)

    bonzini committed May 22, 2008
    2008-05-22  Paolo Bonzini  <bonzini@gnu.org>
    
    	* kernel/VFS.st: Fix #all on archives.
  3. don't pin weak objects to a fixed location

    bonzini committed May 22, 2008
    (not so experimental change -- fact is, I don't see anymore a reason
    why this should be necessary).
    
    libgst:
    2008-05-22  Paolo Bonzini  <bonzini@gnu.org>
    
    	* libgst/oop.c: Don't pin weak objects to a fixed location.
    	* libgst/oop.h: Remove now unused fields.
  4. avoid GC problems with recently introduced libffi cache

    bonzini committed May 22, 2008
    libgst:
    2008-05-22  Paolo Bonzini  <bonzini@gnu.org>
    
    	* libgst/cint.h: Declare _gst_invalidate_croutine_cache.
    	* libgst/cint.c: Define it.  Replace cache validity boolean with
    	a cache generation number.
    	* libgst/oop.c: Call it after GC.
  5. add #replaceFrom:to:with:startingAt: primitive to Array

    bonzini committed May 22, 2008
    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>
    
    libgst:
    2008-05-22  Paolo Bonzini  <bonzini@gnu.org>
    
    	* libgst/prims.def: Make VMpr_ByteArray_replaceFromToWithStartingAt
    	more generic.
  6. more OpenGL configury fixes

    oblanc2 authored and bonzini committed May 22, 2008
  7. a couple of collection speedups

    bonzini committed May 22, 2008
    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.
Commits on May 21, 2008
  1. update GLUT configury for Linux

    oblanc2 authored and bonzini committed May 21, 2008
  2. add libffi closures

    bonzini committed May 21, 2008
    2008-05-21  Paolo Bonzini  <bonzini@gnu.org>
    
    	* kernel/CCallback.st: New.
    	* tests/cobject.st: Test closures.
    
    libgst:
    2008-05-21  Paolo Bonzini  <bonzini@gnu.org>
    
    	* libgst/cint.c: Extract part of push_smalltalk_obj into c_to_smalltalk.
    	Add closure support.
    	* libgst/cint.h: Declare functions for closures.
    	* libgst/dict.c: Add CCallbackDescriptor.
    	* libgst/dict.h: Add CCallbackDescriptor.
    	* libgst/files.c: Load CCallback.st.
    	* libgst/prims.def: Declare closure primitives.
  3. support evaluating blocks from callins.

    bonzini committed May 21, 2008
    libgst:
    2008-05-21  Paolo Bonzini  <bonzini@gnu.org>
    
    	* libgst/callin.c: Support '%B' for the receiver in msgSendf.
    	* libgst/interp.c: Callins evaluate blocks if the selector is NULL.
    
    2008-05-21  Paolo Bonzini  <bonzini@gnu.org>
  4. create a CCallable superclass for CFunctionDescriptor

    bonzini committed May 21, 2008
    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.
    
    libgst:
    2008-05-21  Paolo Bonzini  <bonzini@gnu.org>
    
    	* libgst/cint.c: Replace CFunctionDescriptor references with CCallable.
    	Allow OOPs in the argument vector and parse them as #cObject.
    	* libgst/cint.h: Likewise.
    	* libgst/dict.c: Add _gst_c_callable_class and definition of CCallable.
    	* libgst/dict.h: Add _gst_c_callable_class.
    	* libgst/files.c: Load CCallable.st.
    	* libgst/save.c: Replace CFunctionDescriptor references with CCallable.