Permalink
Commits on Nov 13, 2007
  1. Tagged 0.9.2 release. Fixes _super reassignment bug and cleans up des…

    …ign - no more __classMethods or manual instance method inheritance. Also adds many more tests.
    jcoglan committed Nov 13, 2007
  2. Added new tests for modular-style inheritance like that found in Ruby…

    …, in which classes can nest within others. Inheritance system works identically.
    jcoglan committed Nov 13, 2007
Commits on Nov 12, 2007
  1. Removed need for __classMethods property by introducing Function.clas…

    …sProperties(), which extracts all the individual class methods from a function and returns them as an object.
    jcoglan committed Nov 12, 2007
  2. Added valueOf and toString methods to this._super definition, which r…

    …eturn values for the parent method being called rather than the _super wrapper.
    jcoglan committed Nov 12, 2007
  3. Updated documentation.

    jcoglan committed Nov 12, 2007
  4. Fixed class creation so that default instance methods are added after…

    … subclassing occurs, if and only if they are needed. Includes addition of overwrite parameter to include, method, extend and classMethod. Added tests to show that ChildOfNativeClass has a working is_a method.
    jcoglan committed Nov 12, 2007
  5. Removed subclass() as a standard class method as it could be dangerou…

    …s. Subclassing is handled by a JS.Class.subclass() now.
    jcoglan committed Nov 12, 2007
  6. Fixed class method inheritance so that the whole class tree is inspec…

    …ted, so that sub-subclasses of Foo will inherit a new class method on Foo even if their own parents already implement it but they themselves do not.
    jcoglan committed Nov 12, 2007
  7. Changed inheritance model to use JavaScript's native prototype-chaini…

    …ng model, where a sublclass' prototype is assigned an instance of the superclass so it automatically inherits methods added to the superclass. Removed manual instance method inheritance code.
    jcoglan committed Nov 12, 2007
  8. Fixed bug with _super reassignment - caused problems where several me…

    …thods in the call stack use _super to refer to different methods. Each method call needs to give _super its original meaning back after completion.
    jcoglan committed Nov 12, 2007
Commits on Nov 11, 2007
  1. Removed noSuper feature (redundant since addition of Function#callsSu…

    …per) and updated documentation.
    jcoglan committed Nov 11, 2007
  2. Added Function#callsSuper method that determines whether a particular…

    … function calls this._super. This is used to decide whether to bother wrapping the function in a _super generator, thus automatically boosting performance for functions that don't use _super.
    jcoglan committed Nov 11, 2007
  3. Updated documentation.

    jcoglan committed Nov 11, 2007
  4. Added a stack of unit tests.

    jcoglan committed Nov 11, 2007
  5. Initial import. The bulk of the work is done, but we need unit tests …

    …and some benchmarks to finish up.
    jcoglan committed Nov 11, 2007
  6. Created folder remotely

    jcoglan committed Nov 11, 2007