Skip to content
Commits on Dec 3, 2015
  1. Merge pull request #5 from hectr/fix-clang-build

    Replace unsigned INT with UINT (fixes #4)
    committed Dec 3, 2015
Commits on Dec 2, 2015
  1. @hectr
Commits on Jul 25, 2014
  1. fix to work on 64bit (again)

    segfaults were encountered again due to bogus int -> pointer conversions
    in functions like tree.additem (sometimes called with ints like 10,20,
    sometimes with char*s, sometimes even with C++ iterators...), .addleaf, etc.
    
    since the code is big it's hard to figure out why those intcasts were being
    done and how the same functionality could be implemented without invoking UB.
    
    after several tries to remove the offending calls, i reverted everything
    and decided to use intptr_t *everywhere*.
    
    - converted every occurence of int to INT so it can be overridden
    with CPP directives to intptr_t.
    - manually reverted the few ones that were conflicting with called
    libc functions.
    - when 0 was used as an arg in an overloaded function call expecting
    INT or void*, NULL is used now to use the pointer version (the
    INT version is just a wrapper around the respective void* version).
    
    used this regex for .h/.cc
    find . -name '*.h' -exec sed -i \
    's/^int$/INT/g;s/^int\([^a-zA-Z0-9_]\)/INT\1/g;s/\([^a-zA-Z0-9_]\)int$/\1INT/g;s/\([^a-zA-Z0-9_]\)int\([^a-zA-Z0-9]\)/\1INT\2/g' \
    {} \;
    committed Jul 25, 2014
Commits on Jul 22, 2014
  1. revert 0cb5727 partially

    all parts that used size_t casts for the int->void* issue
    were removed again.
    
    it seems the fix was not right, as motor crashes still on 64 bit sys
    (maybe due to newer gcc versions which are more sensitive to UB).
    committed Jul 22, 2014
  2. add Makefile

    closes #2
    committed Jul 22, 2014
  3. update .gitignore

    committed Jul 22, 2014
  4. import templates into repo

    committed Jul 22, 2014
  5. remove copy of libintl

    committed Jul 22, 2014
  6. remove autoconf files

    committed Jul 22, 2014
Commits on Oct 19, 2013
  1. Merge pull request #3 from pwaleczek/master

    Added support for building on OS X
    committed Oct 19, 2013
  2. @pwaleczek

    Make it build on OS X

    pwaleczek committed Oct 19, 2013
Commits on Jan 6, 2012
  1. and another strstream

    committed Jan 6, 2012
  2. and another strstream

    committed Jan 6, 2012
  3. fix another strstream

    committed Jan 6, 2012
  4. fix one strstream occurence

    committed Jan 6, 2012
  5. Revert "Fix compiler warnings."

    This reverts commit b8d4f1a.
    some of the fixes resulted in an endless loop in treeview::addnode
    committed Jan 6, 2012
  6. Revert "Remove autogenerated files. Update .gitignore."

    This reverts commit 32a328f.
    committed Jan 6, 2012
  7. Revert "Really purge autogenerated files."

    This reverts commit 976ad12.
    committed Jan 6, 2012
  8. Revert "Add configure."

    This reverts commit 115730e.
    committed Jan 6, 2012
Commits on Aug 25, 2011
  1. Merge pull request #1 from erikd/master

    FIxed some stuff
    committed Aug 25, 2011
  2. @erikd

    Add configure.

    erikd committed Aug 26, 2011
  3. @erikd

    Really purge autogenerated files.

    erikd committed Aug 25, 2011
  4. @erikd
  5. @erikd

    Fix segfault on x86_64.

    Segfault was happening when passing a list of strings to the horizontal
    bar class. This list was terminated by an integer zero. Changing that
    integer zero to '(const char*) 0' fixed the segfault. Not sure what the
    hell the compiler was doing.
    erikd committed Aug 25, 2011
  6. @erikd

    Fix compiler warnings.

    Works on x86, but still segfaults on x86_64.
    erikd committed Aug 25, 2011
  7. @erikd
  8. @erikd

    Add autogen.sh.

    erikd committed Aug 25, 2011
  9. @erikd
  10. @erikd
Commits on May 3, 2011
  1. added .gitignore

    committed May 3, 2011
  2. fixed compilation for 64bit. runs now but may need further investigat…

    …ion on the types being casted around.
    committed May 3, 2011
  3. imported 3.4.0 sourcecode

    committed May 3, 2011
Something went wrong with that request. Please try again.