summaryrefslogtreecommitdiff
path: root/c_src
Commit message (Collapse)AuthorAgeFilesLines
* Remove spurious call to get_node_from_dirtynodes().Linus Nordberg2016-05-101-1/+0
| | | | | Arguably useful for debug printouts. Let's add debug printouts explicitly if needed.
* Add some function documentation and clarifying comments.Linus Nordberg2016-05-101-6/+23
|
* Rename overwriteentry() -> replaceentry().Linus Nordberg2016-05-101-6/+6
| | | | | The former name is close enough to writeentry() to think "write to file", which is not what the function does.
* Improve readability, remove an assert, add an error printout.Linus Nordberg2016-05-101-19/+12
|
* Write the ENTRIESPERNODE constant in uppercase.Linus Nordberg2016-05-102-4/+4
| | | | Let's lowercase it once q is parametrized.
* Don't follow the NULL pointer.Linus Nordberg2016-05-101-0/+4
|
* Doc change.Linus Nordberg2016-05-091-2/+2
| | | | Uppercasing formal parameters, for consistency.
* Whitespace.Linus Nordberg2016-05-091-7/+0
| | | | Remove spurious whitespace.
* Document keypart().Linus Nordberg2016-05-091-0/+4
|
* Doc change -- dirtynodes is a list, not a tree.Linus Nordberg2016-05-091-1/+1
|
* Move code for increased readability.Linus Nordberg2016-05-091-2/+2
|
* Whitespace.Linus Nordberg2016-05-091-16/+16
| | | | More consistent indentation.
* Document keybits() and make it slightly easier to read.Linus Nordberg2016-05-091-3/+9
| | | | Also, remove unused KEYPART_MAX.
* Refactor getpath/getlast even more.Linus Nordberg2016-05-041-28/+17
|
* Refactor getpath(), getpathlastnode() and rename getpathlastnode->getlastnode.Linus Nordberg2016-05-041-34/+32
|
* Add documentation for readnode().Linus Nordberg2016-05-041-0/+9
|
* dprintf "failure" if the unpacknode() node fails in readnode().Linus Nordberg2016-04-291-1/+2
|
* Consolidate two identical error message format strings.Linus Nordberg2016-04-291-8/+5
|
* Print error message when non-cookie data is found in rebuild_index_file().Linus Nordberg2016-04-291-3/+2
|
* Add addvalue() function documentation.Linus Nordberg2016-04-291-0/+17
|
* Handle addvalue() errors separately from duplicate keys.Linus Nordberg2016-04-291-1/+7
|
* Add error printout for the duplicate key case in rebuild_index_file().Linus Nordberg2016-04-291-12/+12
| | | | | | | Also moving the offset calculation to after the printout because the printout needs it before increasing it. Also turn two outcommented fprint's into dprintf's.
* Turn a bunch of outcommented fprintf's into dprintf's.Linus Nordberg2016-04-292-13/+15
| | | | Also, rename dprintf 'level' to 'category' and add DEBUG_REBUILD.
* Whitespace and c-file-style "BSD".Linus Nordberg2016-04-297-11/+15
|
* Don't fail on missing temp files.Linus Nordberg2016-04-271-1/+1
|
* Break long lines and adjust other whitespace.Linus Nordberg2016-04-276-126/+317
|
* Fold addindex into addvalueMagnus Ahltorp2016-04-254-89/+12
|
* Remove Heimdal hash implementationMagnus Ahltorp2016-04-258-619/+277
| | | | Add missing files from previous commits
* Use utarray instead of home-grown listMagnus Ahltorp2016-04-251-73/+24
|
* Use pascal strings for keysMagnus Ahltorp2016-04-253-150/+72
|
* keypart no longer allocates memoryMagnus Ahltorp2016-04-251-28/+26
|
* Cast when using %llu format stringsMagnus Ahltorp2016-04-252-10/+10
|
* Make debug printing prettier.Magnus Ahltorp2016-04-253-147/+49
|
* Complete conversion to uthashMagnus Ahltorp2016-04-251-65/+21
|
* Remove unused codeMagnus Ahltorp2016-04-251-63/+0
|
* Convert halfway to uthashMagnus Ahltorp2016-04-252-53/+1052
|
* Free some more memoryMagnus Ahltorp2016-04-251-0/+2
|
* Make valgrind exit with error codeMagnus Ahltorp2016-04-251-8/+10
|
* Fix valgrind testMagnus Ahltorp2016-04-251-2/+1
|
* Allow all data sizes in permdbtestMagnus Ahltorp2016-04-252-10/+42
|
* Move code to util.c and filebuffer.cMagnus Ahltorp2016-04-256-386/+494
|
* Refactor marshallingMagnus Ahltorp2016-04-251-50/+54
| | | | Add chunking changes to listpermdb.erl
* Added rudimentary support for chunks.Magnus Ahltorp2016-04-251-3/+22
| | | | This means that the implementation should be compatible with the specification.
* Free more memory.Magnus Ahltorp2016-04-251-2/+3
|
* Free permdb object on errorMagnus Ahltorp2016-04-252-2/+5
|
* Free some more memory.Magnus Ahltorp2016-04-251-0/+2
|
* Free data correctly. Exit from permdbtest on error.Magnus Ahltorp2016-04-253-3/+11
|
* Added permdbtestMagnus Ahltorp2016-04-252-3/+134
|
* Added python bindings for permdb.Magnus Ahltorp2016-04-253-3/+404
|
* Fix warnings. More printouts. Change timeouts.Magnus Ahltorp2016-04-251-1/+1
|