about summary refs log tree commit homepage
AgeCommit message (Collapse)AuthorFilesLines
2014-10-03gemspec: update up wrongdoc dependencyEric Wong1-1/+1
2014-10-03tdb.c: fix a spelling error in rb_bug messageEric Wong1-1/+1
Oops.
2014-10-03tdb/mt: fix tests under Ruby 1.8Eric Wong2-0/+5
This will probably be the last release we make under Ruby 1.8
2014-10-03fix ruby/thread.h checking under 1.9.3Eric Wong1-10/+5
Thanks to 9d30be3b14e56293cb8402e8c820b89a77460b73[1] for reporting this via private email on 2014-10-03T00:55:55Z [1] - (printf "firstname lastname" | sha1sum)
2014-10-03fix -Wformat-security warningEric Wong1-1/+1
In our case, it was actually harmless because tdb_errorstr only returns trusted data, but the warning is ugly.
2014-02-10tdb.gemspec: fix license field name v0.6.1Eric Wong1-1/+1
2014-02-10Ruby tdb 0.6.0 - many updates v0.6.0Eric Wong1-1/+1
Added siphash24 and some murmur3 variants as option. Many internal updates and compatibility fixes for future Ruby versions. License is now LGPLv2.1+ (from LGPLv3+) for compatibility with GPLv2-only software. See "git log" for full details.
2014-02-10HACKING: update for Ruby versionsEric Wong1-1/+1
It's been a while since 1.9.2
2014-02-10relax license to LGPLv2.1+Eric Wong4-171/+503
LGPLv3+ is not compatible with GPLv2-only, unfortunately, there are still many GPLv2-only packages around.
2014-02-10.wrongdoc.yml: add email addressesEric Wong1-0/+2
2014-02-09use a normal Ruby hash to store exceptionsEric Wong1-11/+8
st.h should probably not be part of the public Ruby API, and it may well be removed one day (I would support it).
2014-02-09test_tdb_mt: do not barf on unwrapped :initializeEric Wong1-0/+1
Not sure if it's an rbx implementation difference or not, but initialize is obviously wrapped and probably(?) private depending on the version/implemntation of Ruby...
2014-02-09add siphash24Eric Wong6-3/+344
It's the preferred hash function nowadays by Ruby itself, so it probably makes sense to add it
2014-02-09prepare for rb_thread_blocking_region removalEric Wong2-44/+60
It'll be OK to use rb_thread_call_without_gvl when rb_thread_blocking_region is not detectable at all. We still use rb_thread_blocking_region for Ruby 2.0-2.1 because rb_thread_call_without_gvl was detectable in 1.9.3, but not usable as an internal symbol. ref: https://bugs.ruby-lang.org/issues/9502
2014-02-09rbtdb.h: add missing declarationEric Wong1-0/+1
2014-02-09murmur3: cleanup inlinesEric Wong1-5/+4
force inline didn't work for non-static functions (probably without extern), and we didn't need non-static functions in those cases anyways, so just use static inline and trust the compiler to do its thing.
2013-09-30Rakefile: kill raa_update taskEric Wong1-38/+0
RAA is dead.
2011-11-19raise ArgumentError if null bytes exist in file pathEric Wong2-1/+5
We don't want path names silently truncated when passed to the C API.
2011-08-22.gitignore: add /tmpEric Wong1-0/+1
This is where our built objects go
2011-08-22add murmur3f (x86_64 128 bit truncated to 32-bits)Eric Wong5-2/+138
This is faster for larger keys on x86_64
2011-08-18doc: updates for Murmur3Eric Wong2-6/+6
2011-08-18switch to pkg.mkEric Wong2-151/+177
It's common to a bunch of other Ruby/C extensions I maintain..
2011-08-18test_tdb_hash_functions: add distribution testsEric Wong1-0/+30
Just in case something was horribly wrong in my C++ -> C ports.
2011-08-18add murmur3a hashEric Wong5-1/+105
It should be slightly faster than murmur2
2011-08-18add fork testEric Wong1-0/+17
Just in case...
2011-05-08shorten git URLsEric Wong3-6/+6
bogomips.org went on a URL diet
2011-01-17fix RAA update taskEric Wong1-0/+2
2011-01-17Ruby tdb 0.5.0 - reusable buffer for fetch v0.5.0Eric Wong1-1/+1
Eric Wong (5): doc: add HACKING document switch site to wrongdoc test_tdb: fix and expand the repack test fetch and delete may be passed destination buffer multithreaded TDB is dangerous, discourage it
2011-01-17multithreaded TDB is dangerous, discourage itEric Wong4-6/+12
Lets just avoid threads for now :) The torture test still fails and there doesn't appear to be a good way to fix it without upstream supporting it.
2011-01-17fetch and delete may be passed destination bufferEric Wong2-14/+76
This allows apps to reduce GC thrashing by reusing a string buffer.
2011-01-17test_tdb: fix and expand the repack testEric Wong1-2/+12
We can't repack an in-memory DB, only files
2011-01-17switch site to wrongdocEric Wong6-187/+44
No more JavaScript! Down with JavaScript! \o/
2010-12-15doc: add HACKING documentEric Wong1-0/+60
It was referenced in the README and not included for some reason.
2010-12-13Ruby tdb - 0.3.0 - TDB::HashFunctions for Metropolis v0.3.0Eric Wong1-1/+1
There are attempts at improving thread-safety, but still tread carefully since it's not ideal as upstream does not yet support it.
2010-12-10mt: longer testEric Wong1-1/+1
Just in case it wasn't long enough to expose any issues or crash the system.
2010-12-10enforce locking for TDB creation/destroyEric Wong2-2/+18
TDB objects aren't created often, so this shouldn't be noticeable, and there's no other way if any notion of thread-safety is desired.
2010-12-10mt: just break when attempting TDB methods inside #eachEric Wong2-16/+15
Too tricky to support, for now.
2010-12-10add a new TDB::HashFunctions moduleEric Wong3-0/+56
It's nice to have common hash functions available...
2010-12-09rdoc: enable webcvs links for cgitEric Wong1-2/+4
Might as well enable it to help people browse code.
2010-12-07Ruby tdb - 0.2.0 - optional thread-safety v0.2.0Eric Wong1-1/+1
There is now basic thread-safety for Ruby 1.9 users that can be enabled by passing :threadsafe => true to TDB.new MRI 1.8 users do not need thread-safety as native threads are not used.
2010-12-06README: fix grammar errorEric Wong1-1/+1
Oops.
2010-12-04add support for "clear" and "repack" methodsEric Wong4-2/+46
TDB#clear maps to tdb_wipe_all and TDB#repack maps to TDB#repack.
2010-12-03README: update with thread-safety usageEric Wong1-2/+4
One limitation that's easy to work around, for now.
2010-12-03add optional thread-safety on a per-object basisEric Wong4-2/+143
Thread-safety is useful sometimes and needless overhead otherwise. Default to whatever TDB upstream defaults to.
2010-12-03README: add an extra note for non-Debian usersEric Wong1-0/+3
Hopefully upstream fixes this soon for everyone else.
2010-12-03lookup3: fix build from missing #includeEric Wong1-0/+1
This appears to be needed on x86 Debian Lenny but not x86_64
2010-12-02README: add Caveats sectionEric Wong1-2/+20
We're not perfect, so don't raise expectations too high!
2010-12-02RDoc updatesEric Wong3-17/+67
We still need a lot of work in this area, but this is better than nothing.
2010-12-01gemspec: do not modify VERSION envEric Wong1-1/+1
1.9.2 does not like this.
2010-12-01minor RDoc updates v0.1.0Eric Wong4-8/+20