Commit graph

103 commits

Author SHA1 Message Date
Tony Hannan
bc3866b79c new version using MonadControlIO instead of custom MonadMVar 2011-09-08 18:56:38 -04:00
Tony Hannan
747fd0ae87 fix typo in previous merge 2011-09-07 23:51:57 -04:00
Michael Snoyman
a320c363e4 Move to monad-control 2011-08-25 16:29:39 +03:00
Tony Hannan
4307fea5aa collect ids from insert lazily in case not used 2011-08-18 19:41:32 -04:00
Tony Hannan
dad5134863 remote ghc-option -O because Cabal does it 2011-07-22 10:58:56 -04:00
Tony Hannan
19da43a348 connect timeout 2011-07-21 11:27:19 -04:00
Tony Hannan
8025ac4ec4 Small edits to some comments. fix secondaryOk to return master only when no secondaries available 2011-07-13 15:34:52 -04:00
Tony Hannan
8672652395 move Pool to System.IO. update docs 2011-07-12 10:51:54 -04:00
Tony Hannan
b52854a457 moved docs to new docs folder. updated tutorial for version 1.0.0 2011-07-08 22:17:44 -04:00
Tony Hannan
9f48c26384 Simplify! Removed Context and Throw monad classes. Removed embedded pool from replica-set. Not backwards-compatible, starts new major version 1.x 2011-07-05 10:37:01 -04:00
Tony Hannan
f7ae5b7235 MapReduce updated to work with MongoDB version >= 1.7.4 2011-06-22 17:18:32 -04:00
Tony Hannan
db58a9c4ca use md5 from cryptohash package instead of nano-md5 to remove dependency on OpenSSL 2011-03-11 11:11:14 -05:00
Tony Hannan
85e2fc0cbb bump package version 2011-02-22 10:49:29 -05:00
Tony Hannan
04ff72f680 bump package version 2011-02-22 10:35:56 -05:00
Tony Hannan
a399e81925 Access monad no longer needs to be a MonadMVar 2011-01-26 14:25:12 -05:00
Tony Hannan
df93ac57c5 mongo does not depend on compact string, just bson does 2011-01-26 12:06:15 -05:00
Tony Hannan
73012bb430 Single param Network instance. NetworkIO instance of IO that yields Internet so user does not have to supply it 2010-12-27 00:23:02 -05:00
Tony Hannan
111d9a2f72 Abstract network communication so we can capture and replay messages if desired. Also, remove dependence on deprecated ImpredicativeTypes. 2010-12-19 21:08:53 -05:00
Tony Hannan
8da53a3fa3 Use Monad.MVar. Remove Delayed wrapper around promise. 2010-11-01 15:35:13 -04:00
Tony Hannan
630b558b93 Depend on mtl >= 2 since it now has Applicative instance for ReaderT, ErrorT, etc. 2010-11-01 10:25:46 -04:00
Tony Hannan
828a53a4a1 remove faulty cabal-version constraint from package file 2010-10-31 20:58:48 -04:00
Tony Hannan
36cc86fd70 Rename Connection to ConnPool. Edit tutorial and some comments 2010-10-31 20:38:38 -04:00
Tony Hannan
583f8330c7 Fix compile warnings 2010-10-27 16:46:11 -04:00
Tony Hannan
de32b22b4f Connection pooling and some refactoring 2010-10-27 16:13:23 -04:00
Tony Hannan
2d964f9448 fix sample code in comment, with bump in cabal version 2010-07-27 18:03:32 -04:00
Tony Hannan
3a7f235246 Slight API refactoring. Fix spinning pipeline when other end disconnects. Handle response flags correctly 2010-07-27 17:18:53 -04:00
Tony Hannan
6435bc3cd9 Handle response flags correctly, plus some comment changes 2010-07-03 13:15:30 -04:00
Tony Hannan
b03763b1d6 Add license file 2010-06-28 20:37:46 -04:00
Tony Hannan
5001bd0bef Add license file 2010-06-28 20:33:53 -04:00
Tony Hannan
99613cae3e Add license file 2010-06-28 20:24:23 -04:00
Tony Hannan
c9dc87ad33 Slight redesign: pipelining with writeMode instead of exclusive access with getLastError 2010-06-21 11:06:20 -04:00
Tony Hannan
3e4065cd97 See V0.5.0-Redesign.md for description of changes in this commit 2010-06-14 23:14:40 -04:00
Scott R. Parish
6f91a29f89 v0.4.2 2010-04-15 20:59:07 -05:00
Scott R. Parish
e0534f6bdd mongoDB.cabal: we no longer depend on convertible 2010-03-18 22:11:37 -05:00
Scott R. Parish
5b8b7b5dce v0.4.1 2010-03-14 13:26:14 -05:00
Scott R. Parish
532e758fe4 v0.4 2010-03-13 22:09:47 -06:00
Scott R. Parish
442ed03027 module level documentation to point to tutorials 2010-03-13 22:09:47 -06:00
Scott R. Parish
66cbae9046 compile with -O2 2010-03-13 20:43:11 -06:00
Scott R. Parish
e7c58bf4d7 BSON: use Integers to represent oid's, oid generation 2010-03-13 00:23:05 -06:00
Scott R. Parish
3e27994a6e v0.3 2010-03-04 19:44:20 -06:00
Scott R. Parish
34b4d22856 fix whitespace (mostly trailing) introduced in merge 2010-02-06 14:49:39 -06:00
Rick Richardson
0cf0da8ab6 added login/user mgmt, added multiple handles in the connection 2010-02-02 16:06:53 -05:00
Scott R. Parish
e820d7ad07 verison 0.2 2010-01-24 21:20:45 -06:00
Scott R. Parish
345ab65811 add homepage to .cabal 2010-01-19 06:03:58 -06:00
Scott R. Parish
423842a0c6 .cabal fixes required for hackage submission 2010-01-19 00:02:53 -06:00
Scott R. Parish
35ef4acc41 more complete .cabal files 2010-01-18 11:55:08 -06:00
Scott R. Parish
67bf1245bb some initial (to BsonValue) Convertible instances and toBson 2010-01-17 23:08:14 -06:00
Scott R. Parish
7f777c8fb4 compile with -Wall and -Werror, fix all ensuing breaks 2010-01-16 21:40:22 -06:00
Scott R. Parish
41b9c8d139 initial MongoDB.hs: can insert and delete 2010-01-10 21:23:54 -06:00
Scott R. Parish
b18d3d54b0 BSON: fix unexported data constructor 2010-01-10 21:23:54 -06:00
Scott R. Parish
2cea5777fb BSON: use Data.Map for BSONObjects 2010-01-10 21:23:54 -06:00
Scott R. Parish
61051bfc46 move the get/put* helpers to Util.hs so other modules can use them 2010-01-10 21:23:50 -06:00
Scott R. Parish
06391f5992 stuff to make into a package 2010-01-09 16:49:06 -06:00