Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | filebuffer: continue reading after short readrobust-distributionexperimental-new-dist | Magnus Ahltorp | 2016-11-22 | 1 | -11/+34 |
| | | | | permdb: only read small chunks when verifying commit | ||||
* | Make calc_padding handle 64 bit offsets correctly | Magnus Ahltorp | 2016-11-18 | 1 | -2/+2 |
| | |||||
* | Change commit length field to 64-bit in permdb data file | Magnus Ahltorp | 2016-11-16 | 1 | -10/+10 |
| | |||||
* | Better error handling when allocating and freeing permdb objectpermdb-alloc-fix-4 | Magnus Ahltorp | 2016-08-19 | 1 | -9/+19 |
| | |||||
* | Lock permdb database files with flock | Magnus Ahltorp | 2016-07-11 | 1 | -4/+17 |
| | |||||
* | Print correct function name in debug printouts. | Linus Nordberg | 2016-05-13 | 1 | -2/+2 |
| | |||||
* | Whitespace. | Linus Nordberg | 2016-05-13 | 1 | -4/+5 |
| | |||||
* | Make put_node_in_dirtynodes take a binary key and levelpermdb-index-endian-3 | Magnus Ahltorp | 2016-05-13 | 1 | -21/+22 |
| | |||||
* | Added 'keyexists' command to permdb | Magnus Ahltorp | 2016-05-13 | 1 | -0/+37 |
| | |||||
* | Clarify incrementation of data pointer. | Linus Nordberg | 2016-05-13 | 1 | -2/+2 |
| | |||||
* | Change endian of permdb index file to big-endianpermdb-index-endian-2 | Magnus Ahltorp | 2016-05-13 | 1 | -37/+35 |
| | |||||
* | Cast node_offset variables to make compilers happy with %llu format. | Linus Nordberg | 2016-05-13 | 1 | -10/+18 |
| | | | | | One would think that typedef uint64_t node_offset would make this obvious. | ||||
* | Reverting "Don't follow the NULL pointer." | Linus Nordberg | 2016-05-10 | 1 | -4/+0 |
| | | | | | | | There are several other instances of accessing NULL, both in permdb.c and filebuffer.c. Fixing one isn't very helpful. This reverts commit 2a63ac24a6c151b47e64a023965eab57ae9b1493. | ||||
* | Remove spurious call to get_node_from_dirtynodes(). | Linus Nordberg | 2016-05-10 | 1 | -1/+0 |
| | | | | | Arguably useful for debug printouts. Let's add debug printouts explicitly if needed. | ||||
* | Add some function documentation and clarifying comments. | Linus Nordberg | 2016-05-10 | 1 | -6/+23 |
| | |||||
* | Rename overwriteentry() -> replaceentry(). | Linus Nordberg | 2016-05-10 | 1 | -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 Nordberg | 2016-05-10 | 1 | -19/+12 |
| | |||||
* | Write the ENTRIESPERNODE constant in uppercase. | Linus Nordberg | 2016-05-10 | 1 | -2/+2 |
| | | | | Let's lowercase it once q is parametrized. | ||||
* | Don't follow the NULL pointer. | Linus Nordberg | 2016-05-10 | 1 | -0/+4 |
| | |||||
* | Doc change. | Linus Nordberg | 2016-05-09 | 1 | -2/+2 |
| | | | | Uppercasing formal parameters, for consistency. | ||||
* | Whitespace. | Linus Nordberg | 2016-05-09 | 1 | -7/+0 |
| | | | | Remove spurious whitespace. | ||||
* | Document keypart(). | Linus Nordberg | 2016-05-09 | 1 | -0/+4 |
| | |||||
* | Doc change -- dirtynodes is a list, not a tree. | Linus Nordberg | 2016-05-09 | 1 | -1/+1 |
| | |||||
* | Move code for increased readability. | Linus Nordberg | 2016-05-09 | 1 | -2/+2 |
| | |||||
* | Whitespace. | Linus Nordberg | 2016-05-09 | 1 | -16/+16 |
| | | | | More consistent indentation. | ||||
* | Document keybits() and make it slightly easier to read. | Linus Nordberg | 2016-05-09 | 1 | -3/+9 |
| | | | | Also, remove unused KEYPART_MAX. | ||||
* | Refactor getpath/getlast even more. | Linus Nordberg | 2016-05-04 | 1 | -28/+17 |
| | |||||
* | Refactor getpath(), getpathlastnode() and rename getpathlastnode->getlastnode. | Linus Nordberg | 2016-05-04 | 1 | -34/+32 |
| | |||||
* | Add documentation for readnode(). | Linus Nordberg | 2016-05-04 | 1 | -0/+9 |
| | |||||
* | dprintf "failure" if the unpacknode() node fails in readnode(). | Linus Nordberg | 2016-04-29 | 1 | -1/+2 |
| | |||||
* | Consolidate two identical error message format strings. | Linus Nordberg | 2016-04-29 | 1 | -8/+5 |
| | |||||
* | Print error message when non-cookie data is found in rebuild_index_file(). | Linus Nordberg | 2016-04-29 | 1 | -3/+2 |
| | |||||
* | Add addvalue() function documentation. | Linus Nordberg | 2016-04-29 | 1 | -0/+17 |
| | |||||
* | Handle addvalue() errors separately from duplicate keys. | Linus Nordberg | 2016-04-29 | 1 | -1/+7 |
| | |||||
* | Add error printout for the duplicate key case in rebuild_index_file(). | Linus Nordberg | 2016-04-29 | 1 | -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 Nordberg | 2016-04-29 | 1 | -10/+11 |
| | | | | Also, rename dprintf 'level' to 'category' and add DEBUG_REBUILD. | ||||
* | Whitespace and c-file-style "BSD". | Linus Nordberg | 2016-04-29 | 1 | -6/+6 |
| | |||||
* | Break long lines and adjust other whitespace. | Linus Nordberg | 2016-04-27 | 1 | -99/+231 |
| | |||||
* | Fold addindex into addvalue | Magnus Ahltorp | 2016-04-25 | 1 | -86/+9 |
| | |||||
* | Remove Heimdal hash implementation | Magnus Ahltorp | 2016-04-25 | 1 | -1/+0 |
| | | | | Add missing files from previous commits | ||||
* | Use utarray instead of home-grown list | Magnus Ahltorp | 2016-04-25 | 1 | -73/+24 |
| | |||||
* | Use pascal strings for keys | Magnus Ahltorp | 2016-04-25 | 1 | -71/+72 |
| | |||||
* | keypart no longer allocates memory | Magnus Ahltorp | 2016-04-25 | 1 | -28/+26 |
| | |||||
* | Cast when using %llu format strings | Magnus Ahltorp | 2016-04-25 | 1 | -9/+9 |
| | |||||
* | Make debug printing prettier. | Magnus Ahltorp | 2016-04-25 | 1 | -137/+42 |
| | |||||
* | Complete conversion to uthash | Magnus Ahltorp | 2016-04-25 | 1 | -65/+21 |
| | |||||
* | Remove unused code | Magnus Ahltorp | 2016-04-25 | 1 | -63/+0 |
| | |||||
* | Convert halfway to uthash | Magnus Ahltorp | 2016-04-25 | 1 | -53/+86 |
| | |||||
* | Move code to util.c and filebuffer.c | Magnus Ahltorp | 2016-04-25 | 1 | -383/+81 |
| | |||||
* | Refactor marshalling | Magnus Ahltorp | 2016-04-25 | 1 | -50/+54 |
| | | | | Add chunking changes to listpermdb.erl |