Steve Shreeve
|
5e81cf2f82
|
simplify logic
|
2010-11-11 15:31:27 -05:00 |
|
Ryan Fitzgerald
|
4a1bccefae
|
implementing as_json for object id to return structure of mongoDB extended json
|
2010-11-11 15:26:06 -05:00 |
|
Kyle Banker
|
f1ddd871f2
|
major: typo
|
2010-10-13 18:38:15 -04:00 |
|
Kyle Banker
|
cd03fafb27
|
RUBY-187 ByteBuffer should take another ByteBuffer as initial data
|
2010-10-13 17:08:45 -04:00 |
|
Kyle Banker
|
0c82f01d97
|
JRuby: validate key names and only move _id when necessary.
|
2010-10-07 17:42:39 -04:00 |
|
Kyle Banker
|
b8d6f57602
|
A few more BSON fixes
|
2010-10-04 14:25:44 -04:00 |
|
Jari Bakken
|
112870b537
|
Get rid of missing parentheses warning.
|
2010-10-04 13:32:46 -04:00 |
|
Jari Bakken
|
9d2f3fbc27
|
Call super in BSON::OrderedHash#== instead of doing the comparison in Ruby.
This has a notable performance impact for large hashes.
|
2010-10-04 13:32:33 -04:00 |
|
Kyle Banker
|
8dce3a613d
|
Removed deprecated ObjectID class (use ObjectId now)
|
2010-10-04 12:15:14 -04:00 |
|
Kyle Banker
|
bf10db9b21
|
minor: ObjectId optimization
|
2010-10-04 12:09:29 -04:00 |
|
Kyle Banker
|
c04dfec1db
|
Revert JRuby callback to use RubyBSONCallback
|
2010-10-01 13:57:16 -04:00 |
|
Kyle Banker
|
315e608cd4
|
Optimized callback class to return Java objects
|
2010-10-01 09:52:29 -04:00 |
|
Kyle Banker
|
2a7b089a9b
|
BSON for JRuby
|
2010-09-30 09:43:17 -04:00 |
|
Kyle Banker
|
f494c9601d
|
minor: comment cleanup
|
2010-09-13 14:44:41 -04:00 |
|
Hongli Lai (Phusion)
|
264bddbeee
|
Fix reference to NULL_BYTE.
|
2010-09-13 10:51:44 -04:00 |
|
Hongli Lai (Phusion)
|
c8726ca150
|
Optimize MongoDB::Cursor#construct_query_message.
|
2010-09-13 10:51:15 -04:00 |
|
Hongli Lai (Phusion)
|
bde53f1e20
|
Optimize ByteBuffer: use binary string as underlying storage instead of array.
|
2010-09-13 10:51:02 -04:00 |
|
Hongli Lai (Phusion)
|
1c25541492
|
Optimize ByteBuffer#get_int.
|
2010-09-13 10:50:04 -04:00 |
|
Hongli Lai (Phusion)
|
026e409d6d
|
Optimize Ruby 1.8 implementation of BSON::OrderedHash.
The set in there is unnecessary. Use the hash itself as "set". This makes
BSON::OrderedHash 148% faster on Ruby 1.8.
|
2010-09-13 10:49:50 -04:00 |
|
Hongli Lai (Phusion)
|
b9de2eaa5c
|
When possible, have BSON::ByteBuffer store the underlying binary data as a binary String instead of an array.
This dramatically improves the performance of BSON::ByteBuffer.new(a_string).
On Ruby 1.9.2 it is about 130 times faster.
|
2010-09-09 15:59:17 -04:00 |
|
Kyle Banker
|
2eaca6bc8e
|
RUBY-172 fix for OrderedHash#clone
|
2010-08-27 15:50:42 -04:00 |
|
Mike Dirolf
|
7702d671ea
|
Use C objectid_generate for ObjectId in addition to ObjectID.
Also, remove broken defined? check from objectid.rb and object_id.rb -
it was never doing anything since we require those files at the top of
cbson.c.
|
2010-08-25 10:23:18 -04:00 |
|
Kyle Banker
|
02a0c7c2dc
|
RUBY-165 raise error if BSON.serialize is passed something other than a hash
|
2010-08-24 14:01:24 -04:00 |
|
Kyle Banker
|
c7c309b00d
|
RUBY-158 deprecate BSON::ObjectID for BSON::ObjectId
|
2010-08-24 12:49:23 -04:00 |
|
Kyle Banker
|
bacb1ee69e
|
RUBY-167 fix OrderedHash#reject
|
2010-08-23 14:19:32 -04:00 |
|
Kyle Banker
|
e9de3e56ea
|
RUBY-139 add new sub-type 0. Will become default with the release of mongod 1.8
|
2010-08-04 15:39:31 -04:00 |
|
Kyle Banker
|
bb7cb79030
|
minor: fix for to_json
|
2010-07-07 17:04:45 -04:00 |
|
Ryan Angilly
|
a7de4f2eed
|
make BSON::OrderedHash equal to other types of hashes in both directions
|
2010-06-24 12:52:28 -05:00 |
|
justindossey
|
222040f82d
|
Added Set for use in membership tests, optimizing out the expensive call to Array#include?
|
2010-06-15 09:58:52 -04:00 |
|
Kyle Banker
|
aa70597a67
|
minor: bson deserialize fix
|
2010-05-31 23:11:02 -04:00 |
|
Kyle Banker
|
99c2d1463e
|
RUBY-131 read bson io object; b2json executable (neomantra)
|
2010-05-28 14:01:51 -04:00 |
|
Kyle Banker
|
b7dd6053c1
|
Licensing; RUBY-134
|
2010-05-25 22:24:29 -04:00 |
|
Kyle Banker
|
b33755fd46
|
RUBY-130
|
2010-05-24 11:43:44 -04:00 |
|
Kyle Banker
|
653d156a8a
|
better object id representation for inspect
|
2010-05-18 12:22:19 -04:00 |
|
Kyle Banker
|
97ee66be02
|
minor: source file encoding with magic comment
|
2010-05-07 15:33:27 -04:00 |
|
Mike Dirolf
|
d68e42812e
|
respect Encoding.default_internal in BSON decoder
|
2010-05-07 15:15:52 -04:00 |
|
sleverbor
|
ed76126a12
|
namespaced the OrderedHash class
|
2010-05-06 18:25:18 -07:00 |
|
Kyle Banker
|
cc0192b2cc
|
represent inspected ObjectID using extended JSON format
|
2010-04-13 11:30:13 -04:00 |
|
Kyle Banker
|
860ab356d2
|
RUBY-121
|
2010-04-12 12:01:50 -04:00 |
|
Kyle Banker
|
e18d2d6fbb
|
removed deprecated RegexpOfHolding
|
2010-04-07 16:32:25 -04:00 |
|
Kyle Banker
|
45d3b91882
|
exception refinements for bson split
|
2010-04-05 18:24:31 -04:00 |
|
Kyle Banker
|
982d9a7765
|
minor: removed swp
|
2010-04-05 14:14:02 -04:00 |
|
Kyle Banker
|
8426a06244
|
minor: some minor details
|
2010-04-05 14:09:06 -04:00 |
|