Permalink
Commits on Jul 3, 2010
  1. - Some major tweaks to avoid the race conditions and serialization is…

    …sues we've been encountering
    
        * Monkey Patching package-only methods in org.bson.BSON via a package-space invading helper.
            + Can now specifically add and remove individual transformers, which lets us unregister DateTime as needed.
            + GridFS now loans itself a temporary unserialization. this WILL cause a race condition in threaded environs using
                both GridFS and JodaTime deserialization so be careful.  Also - it may interfere w/ 3rd party jdk date
                deserialization hooks with it's current lazy implementation.
        * MongoConnection's constructor now loads the 'base' (non Joda) serializers automatically.  TODO - Ability to turn this off.
    - To avoid an occasional toString race condition, added an 'always patch' functionality to the queryo perators to load any needed transformers if they aren't there.
    Brendan W. McAdams committed Jul 3, 2010
Commits on Jul 2, 2010
  1. Fixed markdown headers

    Brendan W. McAdams committed Jul 2, 2010
  2. - Doc tweaks

    Brendan W. McAdams committed Jul 2, 2010
  3. - Added dependencies from Bum repo, removed local static libs.

    Brendan W. McAdams committed Jul 2, 2010
Commits on Jul 1, 2010
  1. Added tag REL_1_0-RC3 for changeset 60ba0ab5d4f6

    Brendan W. McAdams committed Jul 1, 2010
  2. - Added a logging config for testing

    Brendan W. McAdams committed Jul 1, 2010
Commits on Jun 30, 2010
  1. - Rolled to RC3 - more tweaks to serialization of arrays, etc.

    - Added ability to sort and get at underlying cursor for map/reduce results
    Brendan W. McAdams committed Jun 30, 2010
  2. - Changes after still having edge case problems serializsing certain …

    …data.
    
        * Added automatic ArrayBuffer serializer helper.
        * Now imports the "base" Serialization helper as part of Implicits.
    Brendan W. McAdams committed Jun 30, 2010
  3. - Corrected a bug in the array-taking operators ($in / $nin / $all) w…

    …hich were passing unit tests but actually creating unserializable data
    
    - Adjusted interfaces to calling map/reduce by making defaultable params for any Option[_]'s, adding a mapReduce method to MongoDB and a parameterized method on MongoCollection
    - Rolled internal version to 1.0-RC2 but not releasing RC2 yet
    Brendan W. McAdams committed Jun 30, 2010
Commits on Jun 23, 2010
  1. - API Doc for RC1

    Brendan W. McAdams committed Jun 23, 2010
  2. - Tweaked existing MongoDBObject code a bit and added Scala style Bui…

    …lders & Factories, with implicits to get maplike methods. This is about as close as we'll reasonably get to mapping ticket #6 without rewriting everything. Fixes #6.
    Brendan W. McAdams committed Jun 23, 2010
  3. - Reenabled Product conversions but only explicitly - implicit 'try t…

    …o slurp up any Product' was misbehaving
    
    - Added an implicit conversion for Map[String, Any] to DBObject, and a quick unit test thereof
    Brendan W. McAdams committed Jun 23, 2010
  4. _

    Brendan W. McAdams committed Jun 23, 2010
  5. - markdown header to readme

    Brendan W. McAdams committed Jun 23, 2010
  6. - Renaming README file for bitbucket

    --HG--
    rename : README.md => README
    Brendan W. McAdams committed Jun 23, 2010
  7. - Adding link to GH-pages for API Docs

    Brendan W. McAdams committed Jun 23, 2010
  8. - Refs #13, Added new base system for Conversion Helpers. Includes de…

    …serialization for JodaTime
    Brendan W. McAdams committed Jun 23, 2010
Commits on Jun 22, 2010
  1. - Fixes #14 - Further testing of the previous fix against a third-par…

    …ty built setup indicated a few issues, including explicit package imports failure, as well as the existence of an Object for connections which needed duplication. Now validates against said third party package.
    Brendan W. McAdams committed Jun 22, 2010
  2. - Migrated Conversions from Implicits to a new package which requires…

    … explicit import to run, .conversions.scala
    
    - Docs forthcoming. Refs #13
    Brendan W. McAdams committed Jun 22, 2010
  3. - Merge (Fixes Ticket #14)

    Brendan W. McAdams committed Jun 22, 2010
  4. - Added an implicitly imported "Deprecated Type Aliases" base trait f…

    …or old object names (Fixes ticket #14) Example:
    
        scala> new ScalaMongoConn(new Mongo)
        <console>:12: warning: type ScalaMongoConn in trait DeprecatedTypeAliases is deprecated: ScalaMongoConn has been deprecated. Please use com.novus.casbah.mongodb.MongoConnection instead.
               new ScalaMongoConn(new Mongo)
                          ^
    Brendan W. McAdams committed Jun 22, 2010
  5. - Added "DeprecatedTypeAliases" base for old naming, throws deprecati…

    …on warnings when old types are used ala:
    
        scala> new ScalaMongoConn(new Mongo)
        <console>:12: warning: type ScalaMongoConn in trait DeprecatedTypeAliases is deprecated: ScalaMongoConn has been deprecated. Please use com.novus.casbah.mongodb.MongoConnection instead.
           new ScalaMongoConn(new Mongo)
                      ^
    Brendan W. McAdams committed Jun 22, 2010
Commits on Jun 18, 2010
  1. - Unlinking docs, moving them to wiki

    Brendan W. McAdams committed Jun 18, 2010
  2. - Fixed symlink for docs, added missing test refs #3

    - Added API documentation, refs #2
    Brendan W. McAdams committed Jun 18, 2010
  3. - GridFS Support added and working, with loan pattern. Fixes ticket #3

        * Loan pattern now saves for you automatically. If you dislike this behavior use the straight create methods.
    - Added symlink for javadocs to be generated and saved
    Brendan W. McAdams committed Jun 18, 2010
  4. - Added encoding hook to swap scala.util.matching.Regex out to a java…

    … Regex so mongoDB can encode it cleanly. Fixes ticket #10
    Brendan W. McAdams committed Jun 18, 2010
  5. - Migrated "Scala" out of all class names towards a more language neu…

    …tral implementation. Now uses "Mongo" Prefix which typically distinguishes from existing Mongo stuff. Fixes ticket #12
    
    --HG--
    rename : src/main/scala/mongodb/ScalaMongoCollection.scala => src/main/scala/mongodb/MongoCollection.scala
    rename : src/main/scala/mongodb/ScalaMongoConn.scala => src/main/scala/mongodb/MongoConnection.scala
    rename : src/main/scala/mongodb/ScalaMongoCursor.scala => src/main/scala/mongodb/MongoCursor.scala
    rename : src/main/scala/mongodb/ScalaMongoDB.scala => src/main/scala/mongodb/MongoDB.scala
    rename : src/main/scala/mongodb/ScalaDBObject.scala => src/main/scala/mongodb/MongoDBObject.scala
    Brendan W. McAdams committed Jun 18, 2010
  6. - Implemented all Bareword Operators which resolves ticket #8

    - Fixed a few Deprecation issues
    Brendan W. McAdams committed Jun 18, 2010
  7. - Checkpointing while working on ticket #8 ; this barewordquery impl …

    …has become absurd, and is being corrected.
    Brendan W. McAdams committed Jun 18, 2010
Commits on Jun 17, 2010
  1. - Updated source base to Mongo Java Driver 2.0 which fixes ticket #1

    - Added support for MongoDB to understand serializing Joda DateTime, which refs ticket #4
        * Need to add the ability to toggle deserialization to DateTime instead of java.util.Date.
        * Need to evaluate if any other JodaTime objects need to be serializable.
    Brendan W. McAdams committed Jun 17, 2010
  2. - Integrated 'standalone' query operator base code, with support for …

    …$set and $unset. More forthcoming, see ticket #8
    
    --HG--
    rename : src/main/scala/mongodb/QueryOperators.scala => src/main/scala/mongodb/query/CoreOperators.scala
    Brendan W. McAdams committed Jun 17, 2010
Commits on Jun 15, 2010
  1. - Added support for JodaTime using the ScalaTime Library (currently a…

    … static dependency)
    
        * Implicits sets up a encoder so MongoDB knows how to save Joda DateTime to the DB safely(same format as java.util.Date)
    Brendan W. McAdams committed Jun 15, 2010
Commits on Jun 7, 2010
  1. - Added new operators for Arrays, $not, some basic regerx support

    - First pass of gridfs support (needs unit tests)
    - Started to build a custom DBObject wrapper
    Brendan W. McAdams committed Jun 7, 2010