Permalink
Switch branches/tags
Nothing to show
Commits on Jun 21, 2013
  1. LICENSE: LGPL 2.1 or later.

    Iñaki Garcia Etxebarria contacted me to point out that "LOL" is not a very good license! This is just a quick update to confirm my intention.
    committed Jun 21, 2013
Commits on Dec 10, 2011
  1. fix the test

    Not that the current output is canonical or anything, but it vaguely works.
    0xdaf committed Dec 10, 2011
  2. fix low level pointer stuff

    c2hs changes? GHC changes? Who knows?
    0xdaf committed Dec 10, 2011
  3. perform conversion of return values

    Also, maintain a map of all API elements in the module by name, so
    that we can generate appropriate conversions for enum values.
    
    Keeping this map in the Config structure is a bit icky, but it'll do
    for now.
    0xdaf committed Dec 10, 2011
  4. fix Bool -> CInt conversions

    0xdaf committed Dec 10, 2011
  5. make foreign types more pointery

    If we generate a wrapper type
    
      data Foo = Foo (Ptr Foo)
    
    for a GI type Foo then then occurrences of Foo in Haskell type
    signatures will generally have Haskell type Foo, whereas the foreign
    signatures will have (Ptr Foo).
    0xdaf committed Dec 10, 2011
  6. generate callback as pointers to IO ()

    This isn't correct, but generates less compiler errors in the meantime.
    0xdaf committed Dec 10, 2011
  7. foreign file names are CStrings

    0xdaf committed Dec 10, 2011
  8. simplify naming representation

    0xdaf committed Dec 10, 2011
  9. ucFirst: don't force letters to lowercase

    Otherwise we generate inconsistent identifiers.
    0xdaf committed Dec 10, 2011
  10. enhance code generation for enums

    Generate code for each field, and Enum instances.
    0xdaf committed Dec 10, 2011
Commits on Jun 13, 2011
  1. add the beginnings of a test suite

    0xdaf committed Jun 13, 2011
  2. GI.Type: remove redundant catch-all caases

    They introduce pattern overlap warnings.
    0xdaf committed Jun 13, 2011
  3. rename Main.hs to haskell-gi.hs

    0xdaf committed Jun 13, 2011
  4. Main: eliminate warnings

    0xdaf committed Jun 13, 2011
  5. GI.CodeGen: eliminate warnings

    0xdaf committed Jun 13, 2011
  6. GI.API: eliminate warnings

    0xdaf committed Jun 13, 2011
  7. GI.API: remove unused unionName

    0xdaf committed Jun 13, 2011
  8. split genCode out from genModule

    0xdaf committed Jun 13, 2011
  9. erase extraneous NoCodes when mappending Codes

    This makes for more legible debug output.
    0xdaf committed Jun 13, 2011
  10. derive Eq for Code and CodeTag

    0xdaf committed Jun 13, 2011
Commits on May 12, 2011