about summary refs log tree commit homepage
DateCommit message (Collapse)
2014-10-03Ruby tdb 0.6.2 - fix for Ruby 1.9.3, new mailing list v0.6.2
This releases fixes builds under Ruby 1.9.3 thanks to a bug report by Mark Sayer <mark.a.sayer@gmail.com> who reported the issue via email. Users on Ruby 2.0 and later are not affected by this release. There are also minor bugfixes for users stuck on Ruby 1.8. There are also minor build/packaging fixes. Finally, there is a new, subscription-optional mailing list: ruby-tdb-public@bogomips.org No subscription is required to post, and HTML will be considered spam and rejected. Subscription is optional, you may subscribe by sending a blank email to: ruby-tdb-public+subscribe@bogomips.org And following instructions in the confirmation email. Similarly, you may unsubscribe by sending an email to: ruby-tdb-public+unsubscribe@bogomips.org Mailing list archives are available at: http://bogomips.org/ruby-tdb-public/
2014-10-03HACKING: update pointer to mailing list references
2014-10-03documentation updates for mailing list archives
public-inbox is nice as it allows downloading full archives via git (which is a lot more efficient than rsync).
2014-10-03update mailing list info
librelist no longer offers rsync-able archives, and over the years I've become less and less satisfied with subscription-required mailing lists. So the new mailing list will be a public-inbox[1] with no subscription required at: ruby-tdb-public@bogomips.org Since no subscription is required, please Cc: all recipients (LKML-style) as many participants are NOT subscribed. I've subscribed the current list address to the old librelist address so old posts continue to go through. [1] http://public-inbox.org/README
2014-10-03gemspec: add test-unit dependency
Ensure this works with recent and past test-unit versions.
2014-10-03gemspec: update up wrongdoc dependency
2014-10-03tdb.c: fix a spelling error in rb_bug message
Oops.
2014-10-03tdb/mt: fix tests under Ruby 1.8
This will probably be the last release we make under Ruby 1.8
2014-10-03fix ruby/thread.h checking under 1.9.3
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 warning
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.1
2014-02-10Ruby tdb 0.6.0 - many updates v0.6.0
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 versions
It's been a while since 1.9.2
2014-02-10relax license to LGPLv2.1+
LGPLv3+ is not compatible with GPLv2-only, unfortunately, there are still many GPLv2-only packages around.
2014-02-10.wrongdoc.yml: add email addresses
2014-02-09use a normal Ruby hash to store exceptions
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 :initialize
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 siphash24
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 removal
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 declaration
2014-02-09murmur3: cleanup inlines
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 task
RAA is dead.
2011-11-19raise ArgumentError if null bytes exist in file path
We don't want path names silently truncated when passed to the C API.
2011-08-22.gitignore: add /tmp
This is where our built objects go
2011-08-22add murmur3f (x86_64 128 bit truncated to 32-bits)
This is faster for larger keys on x86_64
2011-08-18doc: updates for Murmur3
2011-08-18switch to pkg.mk
It's common to a bunch of other Ruby/C extensions I maintain..
2011-08-18test_tdb_hash_functions: add distribution tests
Just in case something was horribly wrong in my C++ -> C ports.
2011-08-18add murmur3a hash
It should be slightly faster than murmur2
2011-08-18add fork test
Just in case...
2011-05-08shorten git URLs
bogomips.org went on a URL diet
2011-01-17fix RAA update task
2011-01-17Ruby tdb 0.5.0 - reusable buffer for fetch v0.5.0
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 it
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 buffer
This allows apps to reduce GC thrashing by reusing a string buffer.
2011-01-17test_tdb: fix and expand the repack test
We can't repack an in-memory DB, only files
2011-01-17switch site to wrongdoc
No more JavaScript! Down with JavaScript! \o/
2010-12-15doc: add HACKING document
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.0
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 test
Just in case it wasn't long enough to expose any issues or crash the system.
2010-12-10enforce locking for TDB creation/destroy
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 #each
Too tricky to support, for now.
2010-12-10add a new TDB::HashFunctions module
It's nice to have common hash functions available...
2010-12-09rdoc: enable webcvs links for cgit
Might as well enable it to help people browse code.
2010-12-07Ruby tdb - 0.2.0 - optional thread-safety v0.2.0
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 error
Oops.
2010-12-04add support for "clear" and "repack" methods
TDB#clear maps to tdb_wipe_all and TDB#repack maps to TDB#repack.
2010-12-03README: update with thread-safety usage
One limitation that's easy to work around, for now.
2010-12-03add optional thread-safety on a per-object basis
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 users
Hopefully upstream fixes this soon for everyone else.