Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Apr 15, 2013
  1. Merge pull request #57 from kch/xcode

    authored
    Fixes assembly for issue #36, plus other Xcode warnings
Commits on Apr 2, 2013
  1. Caio Chassot
  2. Caio Chassot
  3. Caio Chassot
Commits on Mar 21, 2013
Commits on Mar 15, 2013
Commits on Mar 12, 2013
  1. minor change to beautifier - ignore colons inside strings

    authored
    The new colon-based alignment was also aligning colons in strings, as follows:
    
       (&img style:(+ "height:60px; width:60px; "
                       "float:right; background-color:#FFF; "
                     "padding:0.5px; margin:5px; "
               "border-radius: 16.67%; "
                  "box-shadow: 0px 0px 1px #AAA;")
               src:(app artworkUrl60:))
    
    This didn't seem good to me, so now colons inside strings are ignored for the purposes of alignment.
    
       (&img style:(+ "height:60px; width:60px; "
                      "float:right; background-color:#FFF; "
                      "padding:0.5px; margin:5px; "
                      "border-radius: 16.67%; "
                      "box-shadow: 0px 0px 1px #AAA;")
               src:(app artworkUrl60:))
  2. Merge pull request #56 from JensAyton/master

    authored
    Remove duplicate method declaration
  3. Jens Ayton
Commits on Mar 4, 2013
  1. Improved beautifier.

    authored
    1. The beautifier no longer applies fixed-width indentation
    for any symbols except for "class", which is indented by a
    single column. This (imo) provides less-distracting alignment
    and tightens up the left side of class declarations.
    
    2. Labels (including selector components) are now aligned
    on their trailing colons.
Commits on Feb 28, 2013
  1. Add support for embedded classes and ids to NuMarkupOperator

    authored
    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.
    
    Examples:
    
    % (puts (&div))
    <div></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. Andrew Schleifer
  2. Andrew Schleifer
Commits on Feb 14, 2013
Commits on Jan 6, 2013
  1. fix typo in README

    authored
Commits on Jan 3, 2013
Commits on Dec 18, 2012
  1. Andrew Schleifer

    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.
    
    E.g.:
    
        % (set origin (dict "alpha" 10 "bravo" 20))
        <__NSDictionaryM:7f9224202c50>
        % (set destination (origin map: (do (x y) (+ 1 y))))
        <__NSDictionaryM:7f9224202f40>
        % (destination "bravo")
        21
Commits on Nov 12, 2012
  1. Modifications to directly support HTML markup.

    authored
    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 http://www.w3.org/TR/html-markup/syntax.html.
Commits on Oct 15, 2012
  1. New "nubake" feature: easier baking into classes.

    authored
    nubake accepts three new options:
    	--method <methodname>
    	--class <classname>
    	--category <categoryname>
    
    When these are provided, nubake produces a source file that adds
    the named category to the named class. The category adds a method
    that evaluates the baked Nu code and returns the result. The
    purpose of this is to bake in code that can be evaluated from Nu.
    The code is evaluated in the main Nu parser's context so that
    macros and other objects can be made available to subsequent
    Nu code.
    
    Example:
    % nubake server.nu --method macros --category Baked --class MyServer --output MyServer+Baked.m
Commits on Sep 12, 2012
Commits on Jul 26, 2012
  1. fixed compiler warnings, removed unnecessary SNOWLEOPARD define, new …

    authored
    …labelValue method (deprecating labelName)
  2. simplified build to rely on Xcode command-line tools.

    authored
    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 Jun 10, 2012
Commits on Jun 4, 2012
Commits on Mar 30, 2012
Commits on Mar 29, 2012
  1. Johannes Goslar
Commits on Mar 26, 2012
  1. Clay Bridges

    Fix {Makefile,nuke,Nukefile} for /usr/bin/clang

    claybridges authored
    - as of OSX 10.7.3 & Xcode 4.3.1
    - improve logic for default @cc in nuke, so that @cc def will not 
    usually be required in a Nukefile
Commits on Mar 25, 2012
  1. Merge branch 'amalgamated'

    authored
    Resolving conflicts:
    	nu/nu.nu
    	objc/NuMacro_1.m
    	objc/NuOperator.m
    	test/test_list.nu
Something went wrong with that request. Please try again.