Permalink
Switch branches/tags
Nothing to show
Commits on Apr 4, 2012
Commits on Apr 3, 2012
  1. .gitignore

    mokus0 committed Mar 30, 2012
Commits on Mar 30, 2012
  1. Added an NSRange-return test

    mokus0 committed Mar 30, 2012
    This tests the returning of multiple 64-bit integers.  I feel this is
    useful in addition to the NSRect test because that one passes multiple
    floating-point values, which, if passed in registers, are passed
    differently than ints.
    
    Unfortunately I think in both cases they are passed in memory due to
    llvm-gcc's wrong ABI implementation (maybe GCC's too since the test
    passes on linux with the same cifIsStret function), making
    the issue moot.
Commits on Mar 29, 2012
  1. New gnustep-config package

    mokus0 committed Mar 29, 2012
    This provides a simple interface to the gnustep-config command-line
    tool.  Unfortunately I don't think we can easily avoid depending on it
    on the Mac because it's used in HOC-cbits' Setup.hs, and we can't use an
    "if" on the Build-Type field.
    
    Simplified that Setup.hs by extracting all of the gnustep-config logic,
    also used it in a couple other places where paths were hard-coded.
  2. removed .cvsignore files

    mokus0 committed Mar 29, 2012
  3. Removed "withMarshalledDummy"

    mokus0 committed Mar 29, 2012
    I'm guessing this is just bit rot.
  4. Cleaning up build files.

    mokus0 committed Mar 29, 2012
    HOC package now uses build-type: Simple.
    HOC-cbits still doesn't - its Setup.hs uses gnustep-config to find the
    paths of a few things.
  5. More objc cleanup

    mokus0 committed Mar 29, 2012
    Removed some unnecessary GNUSTEP-specific preprocessor macros and fixed
    another OSX build error introduced the earlier GNUstep refactor.
  6. Oops, forgot about an ObjC-2 change

    mokus0 committed Mar 29, 2012
    Apple doesn't want you to touch struct objc_class.super_class anymore.
  7. More Obj-C code cleanup

    mokus0 committed Mar 29, 2012
    Mostly eliminating unnecessary GNUSTEP-isms; GNUstep now provides a lot
    more of the same functions as Apple's implementation for interacting with the runtime.
  8. Major cleanup in HOC-cbits

    mokus0 committed Mar 29, 2012
    - Removed ObjC2 flag (older ObjC is no longer supported)
    - Fixed build problems under GNUstep.  Now builds and passes tests, but
      all is not quite well yet - it spews warnings when running.
    - General formatting and cleanliness improvements in ObjC sources
  9. Removed CVSROOT and libffi

    mokus0 committed Mar 29, 2012
    I don't think we need them anymore, and if it turns out we do they're
    still in the repo's history.
  10. Better logic for finding GNUstep paths

    mokus0 committed Mar 29, 2012
    Simpler and more reliable - just ask gnustep-config for the things we
    want to know.
Commits on Mar 27, 2012
  1. haskell's "Int" is C's "long", pretty much.

    mokus0 committed Mar 27, 2012
    Also don't assume int and ptr and hInt are all the same size.  They
    aren't.
  2. cifIsStret: "It's complicated"

    mokus0 committed Mar 27, 2012
    I hate poorly written language specs.  Apparently so does whoever
    implemented it in LLVM-GCC, because they didn't follow it.
  3. Fixed a wrong type string

    mokus0 committed Mar 27, 2012
  4. Floats are CGFloats now, and on 64-bit they are doubles

    mokus0 committed Mar 27, 2012
    A proper solution would probably be to introduce a new CGFloat type
    which maps to whatever the current target uses.
  5. More logging

    mokus0 committed Mar 27, 2012
  6. Trace flag off by default

    mokus0 committed Mar 27, 2012
  7. more ghetto logging

    mokus0 committed Mar 27, 2012
  8. ids are not always pointers anymore!

    mokus0 committed Mar 27, 2012
    Apple's objc_msgsend, starting around Mac OS 10.7, supports "tagged
    pointers" - if "self" has bit 0 set, then it is an index into a table
    of interned objects.
    
    This one was "fun" to track down.  One should not have to read asm to
    find bugs in Haskell code... ;)
Commits on Mar 26, 2012