Skip to content
This repository
branch: master

Mar 26, 2012

  1. James Cook

    removed unused TEST CPP macro

    authored March 26, 2012
  2. James Cook

    Removed base <4 support

    I think it's been long enough, and with the massive changes I'm making
    to get this thing resurrected fighting with old API support would slow
    things down to an unreasonable degree.  Also, older versions of GHC
    don't really even work on Mac OS anymore anyway.
    authored March 26, 2012
  3. James Cook

    Changed test suite to a cabal test-suite section

    authored March 26, 2012

Mar 24, 2012

  1. James Cook

    Deleted HOC.Marshal module which appears to be unused

    authored March 24, 2012
  2. James Cook

    Minor formatting change in a LANGUAGE pragma

    authored March 24, 2012
  3. James Cook

    Cleaning up imports

    authored March 24, 2012
  4. James Cook

    Moved more FFI stuff to HOC-cbits

    authored March 24, 2012
  5. James Cook

    Fixed TH-generated instance problems

    This is yet another place the 'fresh names in [d|...|] quotes' change
    in GHC 7.2 broke everything.
    authored March 24, 2012
  6. James Cook

    Pulled more FFI stuff into HOC-cbits package

    authored March 24, 2012

Mar 23, 2012

  1. James Cook

    Minimal (but still violent) change to build on modern GHCs.

    The HOC package has been split in 2; one for the objective-c bits and one for the rest.  The old hacks for building ObjC code are no longer necessary, and splitting the package makes it so we don't need the hack for loading the ObjC code during compiling (for Template Haskell use).
    
    I plan to clean this up a bit more too; I'll probably make a "HOC.CBits.*" module for each obj-c file containing nothing but the foreign imports, so the haskell types are declared in the same package as the Obj-C code being imported.
    authored March 23, 2012

Jun 18, 2010

  1. Apply the relevant part of fix-bindings.patch as supplied by bickford…

    …b to
    
    allow people to select their Mac OS X SDK via an environment variable when
    creating bindings.
    Also update the README accordingly.
    
    
    git-svn-id: http://hoc.googlecode.com/svn/trunk@416 587db195-be3e-0410-add0-45d45444aa60
    authored June 18, 2010
  2. Fix Setup.hs

    git-svn-id: http://hoc.googlecode.com/svn/trunk@415 587db195-be3e-0410-add0-45d45444aa60
    authored June 18, 2010
  3. Apply a mixture of patches contributed by pedromartins.pt and Torsten…

    … Kemps-Benedix to fix issue 23 and its duplicate, issue 25.
    
    git-svn-id: http://hoc.googlecode.com/svn/trunk@414 587db195-be3e-0410-add0-45d45444aa60
    authored June 18, 2010

Sep 27, 2009

  1. Fix build issue on Snow Leopard by forcing 32-bit mode for cbits build

    (issue #22)
    Thanks to AntoineVanGelderJnr for the patch.
    
    
    git-svn-id: http://hoc.googlecode.com/svn/trunk@413 587db195-be3e-0410-add0-45d45444aa60
    authored September 27, 2009
  2. fix build instructions (issue #21)

    git-svn-id: http://hoc.googlecode.com/svn/trunk@412 587db195-be3e-0410-add0-45d45444aa60
    authored September 27, 2009

Aug 23, 2009

  1. improve handling of backslashes and comments in the preprocessor

    multi-line preprocessor directives no longer mess up line numbers.
    
    multi-line comments in multi-line preprocessor directives no longer
    cause trouble.
    
    
    
    git-svn-id: http://hoc.googlecode.com/svn/trunk@411 587db195-be3e-0410-add0-45d45444aa60
    authored August 23, 2009

Aug 21, 2009

  1. Rework mechanics of calls to super so that meta-class objects

    are never passed through the machinery in ID.hs.
    
    See issue #18
    
    
    git-svn-id: http://hoc.googlecode.com/svn/trunk@410 587db195-be3e-0410-add0-45d45444aa60
    authored August 21, 2009

Aug 20, 2009

  1. add flags for proper exception handling on GNUstep

    git-svn-id: http://hoc.googlecode.com/svn/trunk@409 587db195-be3e-0410-add0-45d45444aa60
    authored August 20, 2009
  2. On GNUstep, clean up the stack frame chain in

    Invocation.m:callWithExceptions
    
    When the FFI call from Haskell to callWithExceptions() is made,
    %ebp contains not a stack frame link but rather some other value.
    When GNUstep's NSException tries to walk the stack to generate a
    stack trace, it segfaults.
    Therefore, we use GCC's __builtin_frame_address to retrieve
    the saved frame pointer value, save it elsewhere and reset the
    stack frame link to 0 so that GNUstep's stack trace just stops
    there.
    It is reset to the stored value upon exit.
    
    Fixes issue #19.
    
    
    
    git-svn-id: http://hoc.googlecode.com/svn/trunk@408 587db195-be3e-0410-add0-45d45444aa60
    authored August 20, 2009
  3. Fix a mixup in sending messages to super on GNUstep:

    the "self" parameter was passed incorrectly to the
    superclass method implementation.
    
    
    git-svn-id: http://hoc.googlecode.com/svn/trunk@407 587db195-be3e-0410-add0-45d45444aa60
    authored August 20, 2009

Aug 17, 2009

  1. Make things compile under GNUstep (issue #17)

    git-svn-id: http://hoc.googlecode.com/svn/trunk@406 587db195-be3e-0410-add0-45d45444aa60
    authored August 17, 2009
  2. fix build system for GNUstep

    git-svn-id: http://hoc.googlecode.com/svn/trunk@405 587db195-be3e-0410-add0-45d45444aa60
    authored August 17, 2009
  3. fix various warnings, unused imports

    git-svn-id: http://hoc.googlecode.com/svn/trunk@404 587db195-be3e-0410-add0-45d45444aa60
    authored August 17, 2009
  4. minor documentation corrections/updates

    git-svn-id: http://hoc.googlecode.com/svn/trunk@403 587db195-be3e-0410-add0-45d45444aa60
    authored August 17, 2009

Aug 13, 2009

  1. Merging ObjC2 branch to trunk (r380 and related changes)

    git-svn-id: http://hoc.googlecode.com/svn/trunk@402 587db195-be3e-0410-add0-45d45444aa60
    authored August 13, 2009

Aug 12, 2009

  1. Let's be honest, this TODO file is dead.

    git-svn-id: http://hoc.googlecode.com/svn/trunk@400 587db195-be3e-0410-add0-45d45444aa60
    authored August 12, 2009

Aug 11, 2009

  1. zap autoconf/make build system, old interface generator

    (issue #3)
    
    
    git-svn-id: http://hoc.googlecode.com/svn/trunk@397 587db195-be3e-0410-add0-45d45444aa60
    authored August 11, 2009
  2. update documentation on the subject of building HOC

    git-svn-id: http://hoc.googlecode.com/svn/trunk@396 587db195-be3e-0410-add0-45d45444aa60
    authored August 11, 2009
  3. add a magic incantation to reduce executable sizes and link times by

    a huge factor (i.e. 1MB instead of 31MB for an unstripped binary):
    
    ghc-options: -optl-Wl,-dead_strip
    
    
    git-svn-id: http://hoc.googlecode.com/svn/trunk@395 587db195-be3e-0410-add0-45d45444aa60
    authored August 11, 2009
  4. change a path name so that tests can now be run from the main HOC dir…

    …ectory,
    
    where the cabal file that builds the tests is located
    
    
    git-svn-id: http://hoc.googlecode.com/svn/trunk@394 587db195-be3e-0410-add0-45d45444aa60
    authored August 11, 2009
  5. add cabal build files for the samples,

    and fix some compile errors
    
    
    git-svn-id: http://hoc.googlecode.com/svn/trunk@393 587db195-be3e-0410-add0-45d45444aa60
    authored August 11, 2009
  6. make HOCWrap compile again

    git-svn-id: http://hoc.googlecode.com/svn/trunk@392 587db195-be3e-0410-add0-45d45444aa60
    authored August 11, 2009
  7. Have another shot at fixing the cabal build (issue #12).

    HOC_cbits.o is passed in via c-sources; Setup.hs now contains a hack that prevents the
    "ghc: no input files" problem.
    
    To be exact: the custom build hook arranges for a short shell script to be called
    instead of ghc. This shell script checks whether it is being called on HOC_cbits.o
    and silently ignores that command. For all other parameters, it invokes the actual ghc.
    
    
    git-svn-id: http://hoc.googlecode.com/svn/trunk@388 587db195-be3e-0410-add0-45d45444aa60
    authored August 11, 2009
  8. fix a typo

    git-svn-id: http://hoc.googlecode.com/svn/trunk@387 587db195-be3e-0410-add0-45d45444aa60
    authored August 11, 2009

Feb 14, 2009

  1. add a flag for base 4.0 support

    git-svn-id: http://hoc.googlecode.com/svn/trunk@386 587db195-be3e-0410-add0-45d45444aa60
    authored February 14, 2009
Something went wrong with that request. Please try again.