Commit graph

55 commits

Author SHA1 Message Date
Ash Moran 4745db500c Remove the (erroneously re-added) weakref.rb file and the require line that was still including it (project now uses the ref gem) 2011-08-27 05:55:24 +08:00
Andy Shipman 037544bdb5 Add weakhash back in 2011-08-27 05:55:23 +08:00
Denis Knauf 6c686eb2d3 rubinius-compatible; ref.gem. README: INIT_TRANSACTION 2011-08-25 13:48:26 +02:00
Denis Knauf bfe13fcce8 weakhash entfernt. ref-gem 2011-08-25 13:23:38 +02:00
Denis Knauf aeaccab933 reverted 2010-04-14 11:34:27 +02:00
Denis Knauf 55c7c8637b reverted 2010-04-14 11:33:49 +02:00
Denis Knauf 9ff255efcd More infos on exception (which database was trying to open) 2010-04-14 11:31:15 +02:00
Denis Knauf 26cf9ec0f8 More infos on exception (which database was trying to open) 2010-04-14 11:30:45 +02:00
Denis Knauf 9734d78410 DB#to_hash fixed 2010-04-03 13:18:50 +02:00
Denis Knauf a143782a9f DB#to_hash fixed 2010-04-03 13:12:57 +02:00
Denis Knauf 41c8d7005e DB#to_hash fixed 2010-04-03 13:09:53 +02:00
Denis Knauf ba288a0f4b Lesser Ruby-warnings: warning: instance variable @txn not initialized 2010-04-01 13:38:35 +02:00
Denis Knauf 0fca4a27e0 DB#initialize: @txn initialized (nil). 2010-03-31 00:41:27 +02:00
Denis Knauf a9d9aa3664 Env#[]: args should be the same like DB::initialize, now 2010-03-29 15:02:00 +02:00
Denis Knauf da7476fe70 woggle 2010-03-29 14:24:31 +02:00
Denis Knauf b01559ef13 typos 2010-03-29 11:45:57 +02:00
Denis Knauf 51f1627093 i think, i should write some tests. 2010-03-29 11:44:04 +02:00
Denis Knauf f35c674923 Exceptions, which are raised after ensure will not be raised 2010-03-21 00:39:45 +01:00
Denis Knauf e7113ce586 reek detects common code smells 2010-03-12 21:14:38 +01:00
Denis Knauf b9d52726ae Flay Report said, i have duplication in my code 2010-03-12 20:45:06 +01:00
Denis Knauf f04fcac66d BDB::DB supports transactions now. Version 0.0.8 2010-03-11 00:18:38 +01:00
Denis Knauf febd0ea1bb transaction support added 2010-03-09 22:55:07 +01:00
Denis Knauf 586f239f00 transactions added, not tested 2010-03-09 19:09:22 +01:00
Denis Knauf a4d1031d93 Weakhash: self cleaning cache. SBDB::Env#new: Hash-options added 2010-03-07 22:01:05 +01:00
Denis Knauf 9182884749 SBDB::Queue::unshift ready 2010-02-23 21:48:02 +01:00
Denis Knauf 5796cebdc8 re_len-support (never try to get re_len if it is not a Queue) 2010-02-23 20:28:38 +01:00
Denis Knauf 3c2ee96d63 re_len-support 2010-02-23 20:20:26 +01:00
Denis Knauf 1ce9a8ab4c Lesser parameters, more options 2010-02-23 19:39:27 +01:00
Denis Knauf 5f6a7d0038 unshift/push bugfix 2010-02-22 16:36:36 +01:00
Denis Knauf e3a18fa0f7 Recno/Queue#push 2010-02-22 16:17:25 +01:00
Denis Knauf 954ca1751b SBDB::Unknown: Blocks are nice 2010-02-06 11:57:14 +01:00
Denis Knauf 72aa9c8599 SBDB::Unknown: Blocks are nice 2010-02-06 11:56:09 +01:00
Denis Knauf 02791744a6 SBDB::Unknown: Blocks are nice 2010-02-06 11:54:57 +01:00
Denis Knauf d723a228a0 SBDB::TYPES 2010-02-06 11:50:52 +01:00
Denis Knauf f3153fba9f SBDB::Unknown: Better support. Auto detection and type. 2010-02-06 11:47:41 +01:00
Denis Knauf 37a9161470 Wenn kein Element existiert, wird ein Exception geworfen. Dies ist etwas unschoen, also wird diese abgefangen und nil zurueckgegeben. 2010-02-06 00:41:43 +01:00
Denis Knauf ff2e444047 SBDB::DB#[]=: If set to nil, it will delete item. SBDB::Cursor#each: Integer-keys for Recno and Queue. 2010-02-05 19:08:30 +01:00
Denis Knauf 8385dd2868 Env#[] 2010-02-03 13:34:26 +01:00
Denis Knauf c6fe157334 Env#close 2010-02-03 13:21:40 +01:00
Denis Knauf 3b169d4838 RDONLY 2010-02-02 18:12:11 +01:00
Denis Knauf 8bb9d18313 SBDB::Env#[] 2010-02-02 18:01:00 +01:00
Denis Knauf b9d22ea98c DB: Recno/Queue-support 2010-02-02 15:15:10 +01:00
Denis Knauf e9e06b1b99 Cursor: Typo 2010-02-02 15:12:58 +01:00
Denis Knauf 4cf0388c5b So langsam sind es zuviele Parameter fuer DB in Env. 2010-02-02 15:01:50 +01:00
Denis Knauf 0078170a23 Env: Typo 2010-02-02 14:56:47 +01:00
Denis Knauf ff902f3283 So langsam sind es zuviele Parameter fuer DB in Env. 2010-02-02 14:55:23 +01:00
Denis Knauf 54ec11fd27 SBDB::Env: Env wird bei SBDB::* als Parameter 6 erwartet, nicht 5. 2010-02-02 14:36:55 +01:00
Denis Knauf 950d77bd95 SBDB::WeakHash: ::Hash statt Hash, da es sonst SBDB::Hash nimmt 2010-02-02 14:31:57 +01:00
Denis Knauf 503eea32fd Env#initialize: typo 2010-02-02 14:23:40 +01:00
Denis Knauf 299978a9ed added: Weakhash#each 2010-02-02 10:50:04 +01:00