Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Mar 24, 2014
  1. Merge branch 'gnustep-libobjc2' of

Commits on Jul 6, 2013
  1. The parser now merges consecutive labels.

    When labels such as foo: and bar: appear consecutively,
    they are combined into a single label foo:bar:.
    This is helpful when generating markup from the automatic &-operators;
    now attributes can contain ':' characters.
Commits on Jun 25, 2013
Commits on May 16, 2013
  1. Fixed Darwin build.

Commits on May 15, 2013
  1. Preliminary support for GNUstep+libobjc2.

    All unit tests pass.
Commits on Apr 2, 2013
Commits on Mar 21, 2013
Commits on Mar 15, 2013
Commits on Feb 28, 2013
  1. Add support for embedded classes and ids to NuMarkupOperator

    I've been generating a lot of HTML with Nu and decided to
    take this simple extension from the Hiccup Clojure library.
    Now when we specify a markup element with the (&element)
    automatic operator, we can add classes and id values by
    including "." and "#" in the element name.
    % (puts (&div))
    % (puts (&div.x))
    <div class="x"></div>
    % (puts (&div#main))
    <div id="main"></div>
    % (puts (&div#main.x1.x2.x3))
    <div id="main" class="x1" class="x2" class="x3"></div>
    Beware that this means that the '#' can now be included in symbols,
    so if you have code like "this#", you will be unpleasantly surprised
    by this change.
Commits on Feb 18, 2013
  1. @andrewschleifer
Commits on Dec 18, 2012
  1. @andrewschleifer

    Add "map" to NSDictionary

    andrewschleifer authored committed
    If you send the map: message to a dictionary and it will apply the provided
    callable to each value and return another dictionary with the results set for
    the corresponding keys.
        % (set origin (dict "alpha" 10 "bravo" 20))
        % (set destination (origin map: (do (x y) (+ 1 y))))
        % (destination "bravo")
Commits on Nov 12, 2012
  1. Modifications to directly support HTML markup.

    The &html operator includes the <!DOCTYPE html> prefix.
    By default, only the "void elements" specified in the
    HTML spec are allowed to be empty.
    See section 4.3 of
Commits on Sep 12, 2012
Commits on Jul 26, 2012
  1. simplified build to rely on Xcode command-line tools.

    also fixed unit test that expected "Xcode" to be installed.
    It fails when a developer preview is installed instead (under a different name).
Commits on Oct 16, 2011
  1. @philipwhite

    Added a signature operator to allow nu code an easy way to convert sy…

    philipwhite authored
    …mbols to ObjC type signatures.
    Updated the cblock macro in to use the signature operator.
    Added a test for c blocks to the TestBridge class.
Commits on Oct 15, 2011
  1. @philipwhite

    removed c blocks bridge code that worked around a bug in Snow Leopard…

    philipwhite authored
    … and added a test case for cblocks
Commits on Sep 16, 2011
  1. @itfrombit

    Fixed test case

    itfrombit authored
  2. @itfrombit
Commits on Aug 27, 2011
  1. improved handling of init* methods that don't return self.

    NSXMLDocument is one of many classes whose init methods return
    something other than self. Others include NSArray and NSDictionary,
    which return a special "placeholder" subclass instance from alloc.
    NSXMLDocument behaves similarly but without an explicit placeholder
    This change should eliminate a crash that occurred when placeholders
    were overreleased.
    In past versions of Nu, we looked for known explicit placeholders
    and handled them specially, but this was removed in Lion when the
    NSArray and NSDictionary placeholders subclasses appeared to to
    ignore release messages. However, this was not true for
    NSXMLDocument, which implicitly uses the placeholder pattern and
    does not have a placeholder subclass.
    Now we watch methods whose names begin with "init" to see if they
    return their original target or not, which allows us to properly
    handle the placeholder pattern whether it is used from an explicit
    placeholder subclass or not.
Commits on Aug 24, 2011
  1. @chapados

    Add test cases for "Normal" and "Fast" message forwarding sequences.

    chapados authored
    * "Normal" message forwarding
    * "Fast" message forwarding
Commits on Jul 9, 2011
Commits on Jul 4, 2011
  1. @itfrombit
Commits on Jun 21, 2011
  1. moved Xcode project to Xcode directory, disabled some tests that are …

    …broken for iOS simulator-only.
    oddly, these tests pass on the device.
Commits on Jun 19, 2011
  1. reenabled more unit tests for iOS.

    oddly, is broken in the simulator only.
  2. operator cleanup

    The (ivars) and (ivar-accessor) operators now do nothing and should
    be removed. Instance variables are now implicitly created and
    stored using associated objects, so there is no overhead for their
    potential use.
    The (cmethod) and (imethod) operators are still available but with
    a deprecation warning in the log. They should be replaced by (+) and
    (-), which are more consistent with Objective-C usage.
    The (def) operator is gone. It was carried over from Ruby and in
    practice, the equivalent (function) is preferred.
Commits on Jun 18, 2011
  1. tests for bridged structures.

  2. fixed unit tests to run on iOS devices.

    2 problems:
    1. the property list test was writing to /tmp
    2. we needed a handler pool to run on iOS devices detached from the debugger.
Something went wrong with that request. Please try again.