Skip to content
This repository
branch: master

simpleleveldb: new list and set endpoints, cleaned up most other endp…

…oints, revamped makefile, enhanced simplehttp test system

** New Endpoints **
list_prepend
list_pop
set_add
set_remove
set_pop

** Other Endpoints **
list_append and list_remove take multiple "value" arguments
list_append and list_remove had "echo_data" parameter, now "return_data", different structure
most endpoints now support a custom single-character separator
mput no longer supports multi-character separator
all endpoints have both txt and json format output that makes sense
mget json format changed
mget standardize MISSING_ARG_KEY error message
fwmatch and range_match have txt output capability

** General Cleanup **
formatting tweaks by cstyle
error string pointer properly handled everywhere to avoid leaks or double frees
mput_cb() simplify buffer offset expressions and remove malloc and free
mput_cb() don't look for separator char after buffer ends
mput_cb() match first separator, not last
db_open() and db_close() should take (void)
fix memory leak in fwmatch_cb() if missing key
dump_csv_cb() doesn't use format argument, remove var
get_cb() avoid extra data copy
new str_list_set.{c,h} with helpers for string representations of lists and sets
re-arrange extra types and add function prototypes for all helpers
remove DUPE_N_TERMINATE() and use strndup() instead
don't allocate json objects until needed
README.md updated and tweaked
enhance makefile to generate full dependencies
queuereader: remove global message_len, not needed

** Tests **
remove comment references to mongod
trust make to properly update the executable instead of deleting it first
valgrind can optionally be turned off with --no-valgrind
remove --show-reachable from valgrind output
refactor test_output_dir
server under test started once and stays up for all tests on it
extend timeout to let target program start (valgrind can take a while)
simpleleveldb test function split into multiple
slightly more comprehensive tests added for various endpoints
test_simpleleveldb.py run directly
latest commit 94b75ab236
Pierce Lopez ploxiln authored April 23, 2012
..
Octocat-spinner-32 Makefile new long format options parsing and auto-generated --help docs April 26, 2011
Octocat-spinner-32 echo.py Example. February 20, 2009
Octocat-spinner-32 simplequeue.c cstyle repo April 05, 2012
Octocat-spinner-32 test_simplequeue.py simpleleveldb: new list and set endpoints, cleaned up most other endp… May 08, 2012
Something went wrong with that request. Please try again.