Permalink
Commits on Nov 8, 2010
  1. Tweak for OpenBSD support

    committed Nov 8, 2010
  2. Add rebar

    committed Nov 8, 2010
Commits on Nov 7, 2010
  1. Switch to using dynamically allocated output buffer instead of static…

    … one
    
    Before, this port driver was unable to convert large inputs because the
    output buffer was a global of a fixed size. The new approach is to
    malloc a buffer the size of the input and then realloc if iconv returns
    E2BIG. Tested on OSX and on OpenBSD. Have not tested with Linux's glibc
    iconv yet.
    committed Nov 7, 2010
Commits on Aug 14, 2010
  1. *Sigh*, I *was* right, it IS an off by one (because of the ignore fla…

    …g I added)
    
    I think the segfault I saw was from some other source...
    committed Aug 14, 2010
  2. Revert "Fix a (I think) off-by-one error in iconv:close, triggered on…

    … 10.6"
    
    Turns out this wasn't the fix, it only masks whatever the underlying
    issue is.
    committed Aug 14, 2010
Commits on Aug 12, 2010
Commits on Dec 9, 2009
  1. Hack to work around glibc's poor handing of //IGNORE

    Glibc's iconv implementation does honor //IGNORE, but the result of
    iconv() will always indicate failure when an illegal sequence is
    encountered so we have to track if //IGNORE was requested manually and
    ignore EILSEQ if it was. This is done by adding an extra field to the
    end of the binary returned to track the IGNORE status (0 or 1).
    
    This probably should be done differently (specify ignore as a flag when
    opening the converter and track it that way) but it'll do for now.
    Andrew Thompson committed Dec 9, 2009
Commits on Oct 9, 2009
  1. Installation notes

    Andrew Thompson committed Oct 9, 2009
  2. Goddamn angle brackets

    Andrew Thompson committed Oct 9, 2009
  3. Add a readme

    Andrew Thompson committed Oct 9, 2009
  4. Tweak the building of the driver some more

    Andrew Thompson committed Oct 9, 2009
Commits on Oct 8, 2009
  1. This guard considered harmful

    committed Oct 8, 2009
  2. Disable the debug prints

    committed Oct 8, 2009
  3. typo

    committed Oct 8, 2009
  4. OSX support, attempt #2

    committed Oct 8, 2009
Commits on Oct 7, 2009
  1. Attempt at OSX support

    committed Oct 7, 2009
  2. Some tweaks to the erlang interface to the driver:

    * Fixed obsolete guards
    * use byte_size for efficency
    * Make use of the smarter code loading function for when the library
      isnt installed in the lib_dir
    committed Oct 7, 2009