Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Sep 24, 2011
  1. Tim Burks
  2. Tim Burks
Commits on Sep 17, 2011
  1. Jeff Buck
Commits on Aug 25, 2011
  1. Tim Burks

    Merge pull request #21 from itfrombit/master

    timburks authored
    Added #ifdef around calls to NuMacro_1.m dumpContext calls
Commits on Aug 21, 2011
  1. Jeff Buck
Commits on Aug 18, 2011
  1. Jeff Buck
Commits on Jun 11, 2011
  1. Tim Burks

    Tweaks to build Nu on Mac OS 10.7 (Lion).

    timburks authored
    All unit tests pass. No new Lion features are used.
Commits on Apr 25, 2011
  1. Tim Burks
Commits on Apr 2, 2011
  1. Tim Burks

    Partial workaround for problems running nush in the Xcode console.

    timburks authored
    It is possible to run nush interactively in the Xcode console,
    but without this modification, all input characters are printed
    twice. Also, even with this change, command history is broken.
Commits on Mar 27, 2011
  1. Andrew Schleifer
Commits on Mar 26, 2011
  1. Andrew Schleifer
Commits on Mar 24, 2011
  1. Tim Burks
  2. Tim Burks
  3. Tim Burks
Commits on Mar 20, 2011
  1. Yusef Napora

    Added a small hack to the NSMethodSignature workaround we're using to…

    yusefnapora authored
    … side-step a bug in Apple's objective C runtime
    
    Added a small hack to the NSMethodSignature workaround we're using to side-step a bug in Apple's objective C runtime
    method_getNumberOfArguments() and method_getArgumentType() functions.
    
    The method_getNumberOfArguments() and method_getArgumentType() functions count block objects twice
    (their type signature is "@?" and it counts both the '@' and the '?') so we use -[NSMethodSignature getNumberOfArguments]
    which correctly reports the number of arguments even if some are block objects.  However, getNumberOfArguments returns zero
    if a method has no arguments, while method_getNumberOfArguments() returns 2 (for the implicit arguments cmd and self).
    This commit adds a hack that falls back to method_getNumberOfArguments() and method_getArgumentType() if
    -[NSMethodSignature getNumberOfArguments] return zero.
    
    This allows us to use pass blocks into objective c methods, and it doesn't break 'nuke test'.
Commits on Mar 19, 2011
  1. Yusef Napora

    Added macros for creating ObjectiveC blocks from Nu to nu/cblocks.nu

    yusefnapora authored
    The 'cblock' and 'bridgedblock' macros create Objective C block objects with the following syntax:
    (cblock <return-type> ((<param-type>) <param-name> ...) <nu-code>)
    
    For example:
    (cblock void ((id) name) (puts "Hello #{name}"))
    
    'bridgedblock' has the same syntax but returns a NuBridgedBlock object from which you can
    access the NuBlock and C block objects with the 'nuBlock' and 'cBlock' messages.
    These are equivalent:
    (cblock void () (puts "Hello world"))
    ((bridgedblock void () (puts "Hello world")) cBlock)
  2. Yusef Napora
Commits on Mar 14, 2011
  1. Andrew Schleifer
  2. Andrew Schleifer
Commits on Feb 16, 2011
  1. Andrew Schleifer
Commits on Feb 15, 2011
  1. Andrew Schleifer
  2. Andrew Schleifer
Commits on Feb 10, 2011
  1. Andrew Schleifer
Commits on Jan 13, 2011
  1. Tim Burks
Commits on Jan 3, 2011
  1. Tim Burks
Commits on Jan 1, 2011
  1. jab

    main.h was renamed NuMain.h

    jab authored
    casualty of 91be0c1
Commits on Dec 19, 2010
  1. Andrew Schleifer
  2. Andrew Schleifer
  3. Andrew Schleifer

    Add XIB file compilation tasks to nuke.

    andrewschleifer authored
    When one or more XIB files are specified in a Nukefile, nuke will now
    compile them with ibtool, the same executable that Xcode uses to compile
    XIB files.
    
    If you put your XIB files in a directory called "resources", the following
    Nukefile declaration will cause them to be compiled (to NIB files) and
    copied into your application or framework's Resources directory:
    
        (set @xib_files  (filelist "^resources/.*\.xib$"))
    
    The compilation is triggered by the nuke "compilation-tasks" macro,
    and the "application-tasks" and "framework-tasks" macros cause
    the compiled file to be copied into the application or framework bundle,
    respectively.
Commits on Dec 16, 2010
  1. Tim Burks

    comprehensive source file renaming.

    timburks authored
    renamed source files to make them more amenable to inclusion in other projects.
Commits on Dec 12, 2010
  1. Tim Burks
Commits on Dec 5, 2010
  1. Tim Burks
Commits on Nov 28, 2010
  1. Andrew Schleifer
  2. Andrew Schleifer
  3. Andrew Schleifer
Something went wrong with that request. Please try again.