Permalink
Switch branches/tags
Nothing to show
Commits on Mar 26, 2012
  1. removed unused TEST CPP macro

    mokus0 committed Mar 26, 2012
  2. Removed base <4 support

    mokus0 committed Mar 26, 2012
    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.
Commits on Mar 24, 2012
  1. Cleaning up imports

    mokus0 committed Mar 24, 2012
  2. Fixed TH-generated instance problems

    mokus0 committed Mar 24, 2012
    This is yet another place the 'fresh names in [d|...|] quotes' change
    in GHC 7.2 broke everything.
Commits on Mar 23, 2012
  1. Minimal (but still violent) change to build on modern GHCs.

    mokus0 committed Mar 23, 2012
    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.
Commits on Jun 18, 2010
  1. Apply the relevant part of fix-bindings.patch as supplied by bickford…

    wolfgang.thaller@gmx.net
    wolfgang.thaller@gmx.net committed Jun 18, 2010
    …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
  2. Fix Setup.hs

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

    wolfgang.thaller@gmx.net
    wolfgang.thaller@gmx.net committed Jun 18, 2010
    … 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
Commits on Sep 27, 2009
  1. Fix build issue on Snow Leopard by forcing 32-bit mode for cbits build

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

    wolfgang.thaller@gmx.net
    wolfgang.thaller@gmx.net committed Sep 27, 2009
    git-svn-id: http://hoc.googlecode.com/svn/trunk@412 587db195-be3e-0410-add0-45d45444aa60
Commits on Aug 23, 2009
  1. improve handling of backslashes and comments in the preprocessor

    wolfgang.thaller@gmx.net
    wolfgang.thaller@gmx.net committed Aug 23, 2009
    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
Commits on Aug 21, 2009
  1. Rework mechanics of calls to super so that meta-class objects

    wolfgang.thaller@gmx.net
    wolfgang.thaller@gmx.net committed Aug 21, 2009
    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
Commits on Aug 20, 2009
  1. add flags for proper exception handling on GNUstep

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

    wolfgang.thaller@gmx.net
    wolfgang.thaller@gmx.net committed Aug 20, 2009
    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
  3. Fix a mixup in sending messages to super on GNUstep:

    wolfgang.thaller@gmx.net
    wolfgang.thaller@gmx.net committed Aug 20, 2009
    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
Commits on Aug 17, 2009
  1. Make things compile under GNUstep (issue #17)

    wolfgang.thaller@gmx.net
    wolfgang.thaller@gmx.net committed Aug 17, 2009
    git-svn-id: http://hoc.googlecode.com/svn/trunk@406 587db195-be3e-0410-add0-45d45444aa60
  2. fix build system for GNUstep

    wolfgang.thaller@gmx.net
    wolfgang.thaller@gmx.net committed Aug 17, 2009
    git-svn-id: http://hoc.googlecode.com/svn/trunk@405 587db195-be3e-0410-add0-45d45444aa60
  3. fix various warnings, unused imports

    wolfgang.thaller@gmx.net
    wolfgang.thaller@gmx.net committed Aug 17, 2009
    git-svn-id: http://hoc.googlecode.com/svn/trunk@404 587db195-be3e-0410-add0-45d45444aa60
  4. minor documentation corrections/updates

    wolfgang.thaller@gmx.net
    wolfgang.thaller@gmx.net committed Aug 17, 2009
    git-svn-id: http://hoc.googlecode.com/svn/trunk@403 587db195-be3e-0410-add0-45d45444aa60
Commits on Aug 13, 2009
  1. Merging ObjC2 branch to trunk (r380 and related changes)

    james.cook@usma.edu
    james.cook@usma.edu committed Aug 13, 2009
    git-svn-id: http://hoc.googlecode.com/svn/trunk@402 587db195-be3e-0410-add0-45d45444aa60
Commits on Aug 12, 2009
  1. Let's be honest, this TODO file is dead.

    wolfgang.thaller@gmx.net
    wolfgang.thaller@gmx.net committed Aug 12, 2009
    git-svn-id: http://hoc.googlecode.com/svn/trunk@400 587db195-be3e-0410-add0-45d45444aa60
Commits on Aug 11, 2009
  1. zap autoconf/make build system, old interface generator

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

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

    wolfgang.thaller@gmx.net
    wolfgang.thaller@gmx.net committed Aug 11, 2009
    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
  4. change a path name so that tests can now be run from the main HOC dir…

    wolfgang.thaller@gmx.net
    wolfgang.thaller@gmx.net committed Aug 11, 2009
    …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
  5. add cabal build files for the samples,

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

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

    wolfgang.thaller@gmx.net
    wolfgang.thaller@gmx.net committed Aug 11, 2009
    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
  8. fix a typo

    wolfgang.thaller@gmx.net
    wolfgang.thaller@gmx.net committed Aug 11, 2009
    git-svn-id: http://hoc.googlecode.com/svn/trunk@387 587db195-be3e-0410-add0-45d45444aa60
Commits on Feb 14, 2009
  1. add a flag for base 4.0 support

    wolfgang.thaller@gmx.net
    wolfgang.thaller@gmx.net committed Feb 14, 2009
    git-svn-id: http://hoc.googlecode.com/svn/trunk@386 587db195-be3e-0410-add0-45d45444aa60