Commit Graph

166 Commits

Author SHA1 Message Date
Kyle Banker f7825eab82 BUMP 0.18.1 2009-12-05 09:35:31 -05:00
Mike Dirolf 0161ea3962 fix for negative dates on 1.9 RUBY-65 2009-12-03 10:07:02 -05:00
Mike Dirolf 584a4d68f7 minor: free buffer on exceptions 2009-12-02 17:01:49 -05:00
Mike Dirolf 84da36c380 utf-8 encoding for 1.9 and checking for 1.8 in C 2009-12-02 16:53:49 -05:00
Mike Dirolf 5995572a3e minor: missing return 2009-12-02 16:15:13 -05:00
Mike Dirolf c893b9269f move buffer stuff out to buffer.c/h and be safer about allocs 2009-12-02 15:31:58 -05:00
Kyle Banker d39169530a minor: version checking for cbson 2009-12-02 11:53:59 -05:00
Mike Dirolf 6de555f19c fix for gethostname call 2009-12-02 11:10:30 -05:00
Mike Dirolf 572bf10110 C ext: build on ruby 1.9 and fix objectid generation 2009-11-13 11:41:50 -05:00
Sean Cribbs cb4d94f541 Optimize ByteBuffer#to_s and Mongo::ObjectID#generate via C extensions. 2009-10-29 11:44:07 -04:00
Mike Dirolf 79acba5417 fix for inserting duplicate _id when using C extension and doc responds to has_key? for both '_id' and :_id (MongoMapper related) 2009-10-22 15:20:27 -05:00
Mike Dirolf 2b701119e1 complete deprecation of a bunch of stuff 2009-09-17 15:28:45 -04:00
Mike Dirolf 902c3120c8 decode strings as UTF-8 when using C extension on 1.9 2009-09-04 11:02:04 -04:00
Mike Dirolf 3d304b1a02 better support for 64-bit 2009-09-04 10:22:28 -04:00
Mike Dirolf ef0a150f81 support packing and unpacking 64-bit pointers 2009-09-01 11:26:19 -04:00
Mike Dirolf e65dd99667 API CHANGE: moving XGen::Mongo::Driver and XGen::Mongo to Mongo and XGen::Mongo::GridFS to GridFS 2009-08-20 10:50:48 -04:00
Mike Dirolf bb13fbe687 use nil for BSON undefined instead of useless Undefined class. deprecate Undefined class 2009-08-19 15:18:02 -04:00
Mike Dirolf 431039a82a add InvalidName exception and use that where appropriate 2009-08-13 15:52:11 -04:00
Mike Dirolf fb48299975 handle longs in c extension 2009-08-04 10:39:25 -04:00
Mike Dirolf cb52b24040 hopefully sorted out this header nonsense 2009-08-03 12:06:51 -04:00
Mike Dirolf 3d6942c257 use ruby/ include paths - really wish this would be somehow standardized for different ruby installations 2009-08-03 11:18:13 -04:00
Mike Dirolf 2e4a7f153f raise a more clear exception for range error on Fixnums on 64-bit 2009-08-03 11:08:10 -04:00
Mike Dirolf 975412426f minor: revert to old include path. will have to find a separate fix for windows 2009-07-28 11:25:11 -04:00
Mike Dirolf 5a6a8d29a5 minor: update include paths 2009-07-20 15:22:08 -04:00
Mike Dirolf 706d06aee0 towards a working windows build for the C extension 2009-07-17 12:16:33 -04:00
Mike Dirolf 0d8ba577ba minor: oops - bad copy forgot semicolon 2009-07-16 16:36:07 -04:00
Mike Dirolf 6cd976398e minor: c ext return dates as UTC, update credits, tweak last commit 2009-07-16 16:32:57 -04:00
Mike Dirolf 6099d3b67e attempt a fix for weird error on some systems 2009-06-05 14:52:01 -04:00
Mike Dirolf ec6fcd33ce attempt at a fix for weird include paths 2009-06-04 16:51:34 -04:00
Mike Dirolf d87a7da617 BUG RUBY-15 don't check key names on create_index operations 2009-06-02 09:38:31 -04:00
Mike Dirolf 71d7ff726b don't allow invalid key names on inserts 2009-06-01 17:38:11 -04:00
Mike Dirolf 37d6e16fe7 test and fix for BSON w/ negative integers. raise RangeError for out of range ints 2009-05-15 11:19:13 -04:00
Mike Dirolf 2dffc4b504 don't set _id to default value for hash 2009-04-24 10:03:40 -04:00
Mike Dirolf 02b37f6e48 decoder for data_timestamp 2009-04-22 13:49:56 -04:00
Mike Dirolf 2d841222b7 update c extension so it works on 1.8 and 1.9 2009-03-23 12:14:38 -04:00
Mike Dirolf 9e12025727 setup extension gem 2009-03-19 13:12:30 -04:00
Mike Dirolf 4e386c8cff change require path for extension 2009-03-19 13:11:43 -04:00
Mike Dirolf e60387f2fe c enc/decoder for new-style dbrefs 2009-03-18 13:54:33 -04:00
Mike Dirolf ceb994d656 get extension to build on gem install 2009-03-17 17:48:43 -04:00
Mike Dirolf 0d72ad3cdf c encoder/decoder for new Code type 2009-03-12 16:12:52 -04:00
Mike Dirolf d8a8c03a81 need to initialize this 2009-03-11 11:37:18 -04:00
Mike Dirolf 68807b8df5 a couple of fixes 2009-03-11 10:49:30 -04:00
Mike Dirolf 29e538e935 decode to an OrderedHash 2009-03-10 15:41:28 -04:00
Mike Dirolf 12e959eb15 regexp decoding 2009-03-10 15:33:03 -04:00
Mike Dirolf 173ebdbf48 dbref 2009-03-10 14:58:20 -04:00
Mike Dirolf a3f4e4565a undefined, oid, date decoders 2009-03-10 13:19:18 -04:00
Mike Dirolf 5bbbd0b1cd decode binary, code, symbol 2009-03-10 11:48:06 -04:00
Mike Dirolf 0d2e87d105 enough decoders to run bson_benchmark.rb 2009-03-10 10:45:56 -04:00
Mike Dirolf d0d043323f towards c decoder 2009-03-10 10:23:42 -04:00
Mike Dirolf 3ef1a6dfa8 support for bignum 2009-03-05 17:03:49 -05:00
Mike Dirolf 380a3aa3a1 write values as code 2009-03-05 16:08:10 -05:00
Mike Dirolf 1a52281b4e write _id first 2009-03-05 15:48:40 -05:00
Mike Dirolf e93b02137c test an ordered hash and encode them specially in c 2009-03-05 14:58:34 -05:00
Mike Dirolf 6f845b2dbf regex encoder 2009-03-05 13:16:34 -05:00
Mike Dirolf 56595af858 dbref encoder 2009-03-05 11:45:04 -05:00
Mike Dirolf 9f2305715e oid encoder 2009-03-05 11:38:08 -05:00
Mike Dirolf 634766b14e encode undefined 2009-03-05 11:12:44 -05:00
Mike Dirolf cfb1cb73ce encoder for symbols 2009-03-05 11:09:52 -05:00
Mike Dirolf 3904079715 encoder for Time 2009-03-05 10:58:56 -05:00
Mike Dirolf 709e819523 handle symbol keys as well as strings 2009-03-05 10:27:19 -05:00
Mike Dirolf 0ac6f2b4ed use ruby allocation macros 2009-03-05 09:48:12 -05:00
Mike Dirolf 5e1f827b09 bytebuffers => binary w/ subtype 2 2009-03-05 09:22:55 -05:00
Mike Dirolf 24e695b40d encoder for binary 2009-03-04 17:38:06 -05:00
Mike Dirolf 3a3109e7dc enough encoders to do bson_benchmark 2009-03-04 11:07:22 -05:00
Mike Dirolf 064ddacd5e c encoder for string types 2009-03-04 10:05:50 -05:00
Mike Dirolf c69fbb7f67 checkpoint - beginnings of c encoder 2009-03-03 17:07:22 -05:00