Commits on Sep 24, 2011
Commits on Sep 17, 2011
Commits on Aug 25, 2011
  1. Merge pull request #21 from itfrombit/master

    Added #ifdef around calls to NuMacro_1.m dumpContext calls
    Tim Burks committed Aug 25, 2011
Commits on Aug 21, 2011
Commits on Aug 18, 2011
Commits on Jun 11, 2011
  1. Tweaks to build Nu on Mac OS 10.7 (Lion).

    All unit tests pass. No new Lion features are used.
    timburks committed Jun 11, 2011
Commits on Apr 25, 2011
Commits on Apr 2, 2011
  1. Partial workaround for problems running nush in the Xcode console.

    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.
    timburks committed Apr 2, 2011
Commits on Mar 27, 2011
  1. Revert "Fixed console delegate method syntax error"

    This reverts commit 16051b8.
    andrewschleifer committed Mar 27, 2011
Commits on Mar 26, 2011
Commits on Mar 24, 2011
Commits on Mar 20, 2011
  1. Added a small hack to the NSMethodSignature workaround we're using to…

    … 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'.
    yusefnapora committed Mar 20, 2011
Commits on Mar 19, 2011
  1. Added macros for creating ObjectiveC blocks from Nu to nu/

    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)
    yusefnapora committed Mar 19, 2011
Commits on Mar 14, 2011
Commits on Feb 16, 2011
Commits on Feb 15, 2011
Commits on Feb 10, 2011
  1. Merge branch 'current'

    andrewschleifer committed Feb 10, 2011
Commits on Jan 13, 2011
Commits on Jan 3, 2011
Commits on Jan 1, 2011
  1. main.h was renamed NuMain.h

    casualty of 91be0c1
    jab committed Jan 1, 2011
Commits on Dec 19, 2010
  1. Add XIB file compilation tasks to nuke.

    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,
    andrewschleifer committed Nov 29, 2010
Commits on Dec 16, 2010
  1. comprehensive source file renaming.

    renamed source files to make them more amenable to inclusion in other projects.
    Tim Burks committed Dec 16, 2010
Commits on Dec 12, 2010
  1. add missing files to iOS Xcode project, add include for sleep(), upda…

    …te iOS SDK
    Tim Burks committed Dec 12, 2010
Commits on Dec 5, 2010
  1. (NSData +dataWithStandardInput)

    Tim Burks committed Dec 5, 2010
Commits on Nov 28, 2010