Permalink
Commits on Feb 25, 2016
  1. example: use fast aref - no bounds checks

    res at(i) 6m20s
    res(i)    11s
    res[i]    7s
    
    at(i) is so slow, because we dont have the method cache yet
    rurban committed Feb 25, 2016
Commits on Jan 14, 2016
  1. make: add deploy target

    for deb,rpm,pkgin(bsd) and osxpkg (darwin).
    no windows installer yet
    rurban committed Jan 14, 2016
Commits on Nov 10, 2015
  1. potion-s: add -lsqlite3

    we should really start using LIBS for that.
    But sqlite3 is only needed for database and potion-s, nothing else.
    rurban committed Nov 10, 2015
Commits on Nov 9, 2015
  1. ChangeLog for str_cmp

    rurban committed Nov 9, 2015
  2. add table filter also

    analog to tuple.
    also simplify test/lists/map.pn, the filter example
    rurban committed Nov 9, 2015
  3. fixup lib/database

    integrate into Makefile (requires now sqlite3, not yet probed)
    reformat and document the source a bit
    add testcase
    rurban committed Nov 9, 2015
  4. Merge pull request #97 from robotii/patch-5

    Add reduce function to PNTuple
    rurban committed Nov 9, 2015
  5. Merge pull request #96 from robotii/sqlite

    Add sqlite library bindings
    rurban committed Nov 9, 2015
  6. Merge pull request #95 from robotii/patch-4

    Fix potion_send call in string.c
    rurban committed Nov 9, 2015
Commits on Nov 8, 2015
  1. coverity: fix write_write_typo: In asmb = asmb =

    Evaluation order violation
    asmb is written twice with the same value.
    
    Declare all malloc results as volatile.
    rurban committed Nov 8, 2015
  2. coverity: fix 2 TOCTTOU issues

    And return the handle from load_dylib, which is not FALSE.
    leaked_storage: Variable handle going out of scope leaks the storage it points to.
    They only problem with this is that the first 2 bits are shifted off,
    as PN_INT.
    rurban committed Nov 8, 2015
  3. coverity: escape_local_addr

    escape_local_addr: Returning, through *esp, the address of stack variable x
    rurban committed Nov 8, 2015
  4. improve make clean for .dSYM

    rurban committed Nov 8, 2015
  5. fix PN_TYPECHECK

    found by coverity: Macro compares unsigned to 0 (NO_EFFECT)
    unsigned_compare: This greater-than-or-equal-to-zero comparison
    of an unsigned value is always true. t - 2424832U >= 0U.
    rurban committed Nov 8, 2015
  6. fix some coverity issues with High impact

    Security recommendation: stat+open, Time of check time of use
    Pointer to local outside scope (RETURN_LOCAL)
    Some resource leaks (not all yet)
    rurban committed Nov 8, 2015
  7. README.md: fix travis img url

    rurban committed Nov 8, 2015
Commits on Nov 7, 2015
  1. Add reduce function to PNTuple

    robotii committed Nov 7, 2015
  2. Add sqlite library bindings

    robotii committed Nov 7, 2015
  3. Fix potion_send call in string.c

    robotii committed Nov 7, 2015
Commits on Nov 6, 2015
  1. add tuple filter and map methods

    Based on Peter Arthur's where pull request #91
    I don't like the name where for filter/grep. where should
    be reserved for type restrictions.
    rurban committed Nov 6, 2015
Commits on Nov 5, 2015
  1. build without .git and git

    add tools/version.sh which quits on a release version.
    Fixes GH #85
    rurban committed Nov 5, 2015
Commits on Nov 3, 2015
  1. bump version for docs

    rurban committed Nov 3, 2015
  2. Simplify PN_ALLOC_N(0) to PN_ALLOC()

    Thanks to @vendethiel.
    Also update the compilers to test with.
    rurban committed Nov 3, 2015
Commits on Nov 1, 2015
  1. fixup previous merge

    wrong cast
    rurban committed Nov 1, 2015
  2. Merge pull request #90 from robotii/file-improvements

    Correctly allocate PNFile
    rurban committed Nov 1, 2015
Commits on Oct 30, 2015
  1. Correctly allocate PNFile

    robotii committed Oct 30, 2015
Commits on Oct 27, 2015
  1. Fix various SEGV

    See GH #87.
    Fixes Function()() (empty closure or method), Error() (empty error message),
    Lobby cmp 0 (compare with Lobby is always 1, unless with Lobby which is 0).
    
    string of Compiled() (proto_string) not yet fixed
    rurban committed Oct 27, 2015
Commits on Oct 22, 2015
  1. Merge pull request #88 from robotii/patch-2

    Use after free in load.c
    rurban committed Oct 22, 2015