Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/rizinorg/sdb

Simple string-based Key/Value database
https://github.com/rizinorg/sdb

Warnings III: "const", types, visibility.

Among other things, declare the _POSIX_C_SOURCE and _XOPEN_SOURCE
feature test macros so that th...

63432f9d0f2583fe2b1afe2f3c3dbeb60bdaa470 authored almost 12 years ago
Warnings II: Fix some signed/unsigned mismatches.

Also define the __unused macro for function arguments.

3965427650278ea112011a82d71bc1b94726d892 authored almost 12 years ago
Do not expose the internal implementation symbols.

Build with -fvisibility=hidden and declare only the sdb_*()
functions with default visibility.

485e3e70a5eabdb8fd27e2bc2d30de8c50dc09b0 authored almost 12 years ago
Honor some more compiler and linker flags.

Honor CPPFLAGS in the memcache build.
Honor LDFLAGS (and ignore CFLAGS) while linking everywhere.

1f27765782e16d30be57426ea3903e29bb551308 authored almost 12 years ago
Fix the "clean" target.

e408c40d9711b7a6fa404a100bac7a6b92e084df authored almost 12 years ago
Build a shared library properly.

- build the library as libsdb.so.0.0.0
- pass the -soname parameter to the linker with version...

32e882c856bfaadd648885cb64496981455ccd2e authored almost 12 years ago
Release 0.6, implemented sdba CAS support

5cbb14eb19c3c63f55c0eece25c9049a5c53dd66 authored almost 12 years ago
Fix scan-build warnings

3750245e9d03e61d298096cd56c1d9b5f8698e72 authored almost 12 years ago
Code refactoring (-16 loc)

415ba7433692541eaa05c150e22c1c1217db742b authored almost 12 years ago
Initial support for sdb_querysf and inferiors

0cb981880545a516142a63aa806980b592a854d1 authored almost 12 years ago
Split sdb.c into query.c, minor cleanups

ebd0ad13f9113a60d8c57510ba96e68126948a36 authored almost 12 years ago
Merge alloc.c inside cdb_make and other minor cleanups

fa2b93405c019ebbf691038be7a1071fcd5ac99b authored almost 12 years ago
Add sdb_queryf, fix sdb_alen, Use () for arrays, alength=(?)

Show features with sdb -f
Get length of array with (?)key
Add sdb_queryf() helper function
Use (...

cc2e9049be6e100a4bff6a71f5982af4a105cc44 authored almost 12 years ago
Initial complete implementation of array access

Uses the new sdb_a* api
Added some tests to ensure never gets broken

0d3390631223ce447023036c7354c31345fc284a authored almost 12 years ago
Initial implementation of arrays

6787a1bba4d5530f837fdcba118d15df52f6d873 authored almost 12 years ago
Optimize sdbn using getc. Initial dwarf of array sdb api

f04fd19355a8cbb4da93b2f98988409327a981fa authored almost 12 years ago
More fd==-1 checks

c1e2c1279db789afa83f185f9203fcb73db21ce8 authored almost 12 years ago
Fix some warnings

341a32d9b666b047284fbee7ffe0a0b483c83919 authored almost 12 years ago
Fix w32 build. lock.c must be rewritten

6d8880782d133aab5dca246cb5d772b65c72d9ee authored about 12 years ago
Force sdb_query's json-get/set to use ask only after eq

4f8b79d74b05127bfa508a18c45f2f81b9a72b8c authored about 12 years ago
Merge branch 'master' of git://github.com/radare/sdb

Conflicts:
src/json.c
src/sdb.c

58e5e13f92f48bdee5c62a42efe3f024c85f7423 authored about 12 years ago
Fixes in json parser and publish npm package.json

fc01179c908f7b0b69beed26fdc63aa3b88d0c3f authored about 12 years ago
Fix make symstall

664709a8946b7c3838702983f45153379d2b8944 authored about 12 years ago
Fix json array get issue, move tdd to test/

90909e02f41080a82ba45a720486ef50c53192ed authored about 12 years ago
Do not redefine w32 symbol names (itoa->__itoa)

32b6c6422997893ca73bd4068acfd61acebb669f authored over 12 years ago
Fix make dist and reduce LOCs (-22)

d4d9641284c4fe75cb10aa9d24982681101d450d authored over 12 years ago
Enhace json support and add test suite

Add test suite for sdb and sdb-json
Fix json_get for complex paths (requires more work)
Fix sdb_...

953ff722358bab5999cf3597709ed04f169b2cb9 authored over 12 years ago
Add sdb_getc (constant ret), fixes and test for cas

Change database format to handle trailing \x00

41b86e997c0da2bea2540b972cf74711b82f3093 authored over 12 years ago
sdb_delete -> sdb_remove

699773771af1ff617e149a743a02d6f17a246acb authored over 12 years ago
Add some 'D' bindings, move langs to benchmark/

2775caa6711321cd945fbaf150a225e6684b13fc authored over 12 years ago
put the json format api in sdb.h and add free method

7d9aa91a95d9c37b779d33a29d437053b42b7754 authored over 12 years ago
Change sdb_json_format signature to be like printf(3)

4f91537335da965f4122285fc7a39a7243872636 authored over 12 years ago
Fix makefile race condition

646f3d6dac98e6bd7a8bc12148982140a146e576 authored over 12 years ago
Added json format helper, do sdb-version.h in src/

a2397fbcea45be5395427980f3d4480f00473178 authored over 12 years ago
Minor notes

ef687e76668772b87630daaaa8d31f7b84848bf5 authored over 12 years ago
Add lzma compression info

f21e2a945a54beafa769f1eeace292e2b9eb4bcb authored over 12 years ago
* fix clang-analyzer warnings in memchace protocol

7031219d1f48cf9867294990ac830d56eb49b0a8 authored over 12 years ago
* Fix memory leaks

0dcdb128a95958404c47f7c60cf0e35355cbac28 authored almost 13 years ago
* Do not use system stuff when building vala/types

f99391b2f4ac0a6daf96e44e2ea4054944914c44 authored almost 13 years ago
* Fix various issues reported by clang-analyzer

27c824a951d4ec23a8d578dc1418f9b1eb07d700 authored almost 13 years ago
* Minor fix the test benchmark output

07bf2f32ebcea49f2f6168d27b56b39e8446f2f3 authored almost 13 years ago
* Use linked list in sdb_ns code

* sdb_ns_sync doesnt handle any arg now
* Reduce the number of calls to sdb_now ()

932c7d5bf068af40fcaa3ac6eeeebe383d1b5c0d authored almost 13 years ago
* More fixes and enhacements for the node-native module

62459a22cd381ce4984e7a6f678a5dbb989b7ae7 authored almost 13 years ago
* sdb_add honors cas

0d7a47f1eccac7bd95131d0e659913000946ba71 authored almost 13 years ago
* Initial implementation of node-sdb-native

- It's 2.5x faster than node-sdb-ffi
* Fix benchmark tests
* Export SDB_VERSION in sdb.h
* C++ ...

27729e8a67c5ceaf5a6dc331aa32fae0a845c062 authored almost 13 years ago
* Add support for namespaces

- Bindings not yet in sync
- add test program

b578e146bd2dd23240e91e7d3d09c27c640f903e authored almost 13 years ago
* Bump to 0.5

* Implement memcache udp set protocol
- get is not yet supported.
- supporting multiple datag...

49f5ff11e1cbd09fdf10e293f4bd9b5e9b755725 authored almost 13 years ago
* Fix memcache build and initial work for CAS

01a373c5431fe52878dae296fdcadb275602e332 authored almost 13 years ago
* Deprecate cdb_hash() -> moved to sdb_hash()

- Simplified call tree
* Fix newlisp bindings

b9d098fb25031bc1f0aaa76397344b25491b20a6 authored almost 13 years ago
* Fix bindings

d5badb9dbdb166d8d951e44a66ec99412facd721 authored almost 13 years ago
* Introduce the new CAS api (like in memcache)

- async and threaded apps will benefit from this
- memcache support for cas is not yet done
...

c57d08c5d3d8b7e4663321afbe72d057eb2e7624 authored almost 13 years ago
* Add java and perl benchmarks

- perl 5s
- java 6s
* Remove unused code in json/api.c

c882323aca31026bf139209144034efade83db5f authored almost 13 years ago
* Better vala and newlisp bindings

* Add newlisp and python into the benchmark suirt
- newlisp 2.4s
- python 11.3s

3ffe473c598a3a2e6df189f2cf7b9ef339ce2c2e authored almost 13 years ago
* Added benchmark programs for json parse

c: 0m1.953s
vala: 0m1.966s
luvit-sdb: 0m2.057s
node: 0m2.150s
luvit: 0...

dbea1cc857e286e7d8bd8c3fd1cc8dedf2143a7e authored almost 13 years ago
* Fix make dist

e485e25f8ec6dbf873e12b948da031e8e75be2c6 authored almost 13 years ago
* Add support for inc/dec json fields +k?p

* Fix 'sdb -'

be80ef1e039f033263a8475266da66743c5bba46 authored almost 13 years ago
* Honor sdb - file-less database

* '+' and '-' inc/dec in prompt
* Update README.md with json and examples

2a0ab66969ed45d07f6aaa875a228900f8a98929 authored almost 13 years ago
* Fix README.md

d0dc28063eca5083e9144379a12a557841a7630e authored almost 13 years ago
* Add make symstall

f6dd75b1b7718dd592cf8a7d8059c88f8f43a4b2 authored almost 13 years ago
* Use own itoa() in sdb_json_seti()

- much faster than sprintf()
* Add json api to the vala bindings
* Honor CFLAGS and LDFLAGS in ...

ca8d82517b776c72f29d3b0123fca54b8d58297a authored almost 13 years ago
* Enhace newlisp and nodejs apis

- luvit-ffi is 3x faster than node-ffi
* Fix end of string issue in json get/set api
* Fix make...

07bb05375eeea03a4c445428b0c3e4cfe1ad06f3 authored almost 13 years ago
* Fix build with make -j N>1

89563bc0d0cb1cbd57722d84e982a526aaaacccb authored almost 13 years ago
* Fix segfault sdb_sync when no dbname given

6fbd346a52dabac2bdfa7e217ef0a74c23f545ff authored almost 13 years ago
* Standarize the sdb_create/append/finish api

* On OSX/x86 build for x86-32/64
- NodeJS and NewLisp bindings working again
* Fix static/share...

ffb531c2d436d7a2514c4063e83e7863963d20f4 authored almost 13 years ago
* Fix json `make test`

d10dbc2a0476c219ae34b4684b9a1a4900d97265 authored almost 13 years ago
* Fix issue in cdb value length parser

- Long values are now theorically supported (must test the limits)
- max key length = 255
...

dadd2090fe956a72ff60e7127c0479aa6552662b authored almost 13 years ago
* Remove TODO point and unused debug printf

5a84aed601a8805aad79493e6803a2581e91fb4c authored almost 13 years ago
* Integrate json api into the sdb prompt

* Split key/path with '?' char
* Set operation on json is broken. only get works
* Bump to 0.4

-...

2536001afe760498525170776f02b3de5845d716 authored almost 13 years ago
* Add json_geti and _seti

* Added json_indent and json_unindent
* Random fixes and simplifications along the json api

bad71c500bd26095a4c40c8ded0d121949248249 authored almost 13 years ago
* initial import of the working sdb_json_get api

538b783a87369649531b7ea01a9d8fa8f6ae731c authored almost 13 years ago
* Initial draft for json support

cfb710260a186e61d013050b9801f43127150a53 authored almost 13 years ago
* Honor O_BINARY for w32

* Fix build of vala/types by fixing a memcache.a issue

17aad256c09df94cead56fe3b6e25fd3b639f8f8 authored about 13 years ago
* Minor makefile fixes

3f4a7e8e075b2c062bee0422b75295922d15e02f authored about 13 years ago
* Fix possible uninitialized variable in sdb_dump_next

- thanks llvm-analyzer

cbc84b93477d78a15dcba000bb6066a4aaf7c144 authored about 13 years ago
* Fix build for windows

45624917281b48f6885527f8dec61a514884aab2 authored over 13 years ago
* null pointer checks everywhere

b222d0aabc87b3d9bf49acc10757ab916e63c96b authored over 13 years ago
* Add sdb_reset()

ff0ba3aa1bf10f811c5f9873b593a3921c8656ab authored over 13 years ago
* Add sdb_file api. Honor "" dir as NULL

af8073e2e5096a939c29bf4f24ec8b3b9d66f74a authored over 13 years ago
* Add sdb_file() api function

4282ebeaccd60dc3893efeffaa138003d7e4f583 authored over 13 years ago
* Fix build

1f856e1b97323552aca05124ba105e58e7f79cc1 authored over 13 years ago
* Rename list to ls and hash

--HG--
rename : src/list.c => src/ls.c
rename : src/list.h => src/ls.h

54194ed90285db51fba463bc713767c8ad3cab01 authored over 13 years ago
* More renaming of ht and list to avoid r2 conflicts

0f15120018517ff9cc500ebf7c604397a95004b4 authored over 13 years ago
* Rename sdb typedef into Sdb

9c783c9e98762f5c03c0a5a17ad7d2689023c6be authored over 13 years ago
* Cleanup for integration with r2

cd5abfa7644ca86508113f0d5ff85b0aeea0f442 authored over 13 years ago
* More fixes in the socket reading code

- Remove all printf debugging messages
- Still buggy, but faster and usable

a7075e17a5cbc9a47ffeaf3437e44a92de1a0c8e authored over 13 years ago
* Flush internal McSdbClient buffer in fds_del()

* Ignore case sensitive commands
* Use $(shell uname -m) in -arch darwin build

56d675360e1010dbeecf38862669686614b835f5 authored over 13 years ago
* Fix compilation of vala/types

- Fixes some warnings in the vala bindings
* Bump sdb 0.3 and mcsdb 0.2 (merge versions?)
* Add...

210048f865db72d2e88355bd4b0467b5adc4b8b1 authored over 13 years ago
* Fix make dist and bump some other versions

ffd651fd3d0c37c6211cc184bdf52832ea8710f3 authored over 13 years ago
* Bump release 0.2

* Fix make dist

100203dc4c5fb7f4e6df8d33a8aeea2d711677cc authored over 13 years ago
* Added VERSION and handle -v|-h flag in sdb

47863856418f0335aeeff6dd468b92ac44992681 authored over 13 years ago
* Implement sdb_flush() and mcsdb_flush()

- Sync sdb.vapi
- Used by memcache flush_all command

d94f3a2a1651abdc71351f52a0ac321d4236cbde authored over 13 years ago
* Added Iterable and StackIterator class

- Some code refactoring to get a more robust
design using abstract classes and overriden me...

ddd26a93ff7f6725df3806e65e07e91baffa63ef authored over 13 years ago
* Update TODO and README

dfc51a48cc03669fa3ba1b37806f4644d5623e0e authored over 13 years ago
* Finalize sdb instance

2f31cf6fc47ef08971d4e7be27bc78a8ad4e6c58 authored over 13 years ago
* Unify vala clean, build and install makefile targets

- Autodetect if vala is installed in config.mk

10606da13959ede362400aa178416915ba05a7a8 authored over 13 years ago
* Build sdbtypes as a vala library

- Requires make vala and make install-vala to run
- Generate include file and vapi with valac...

28ce4ac0021ed9bea29dc1f4c96bae13147a1051 authored over 13 years ago
* Implemented Array, Hash and List properly

* Added support for syntax sugar on Hash

acbd03502101cb84800496d5c86ef57b87f327e6 authored over 13 years ago
* Fix segfault in sdb_sync

813eeffba7979cfa504c7a807bab82b30aaaac67 authored over 13 years ago
* Initial import of SdbTypes

* Some bugfixes in sdb core

921d61799a38bfc3fa94ca99e7b1add68e11f5cf authored over 13 years ago
* Minor optimization

f2d90d65ef650d855e9468871e5afcdc74e99f20 authored over 13 years ago