Permalink
Switch branches/tags
Nothing to show
Commits on Aug 24, 2012
  1. Merge pull request #70 from dwt/correct-json-for-js

    Correct json for js
    mschoch committed Aug 24, 2012
  2. Merge pull request #69 from dwt/master

    Add basic error handling to make js views behave more closely to CouchDB
    mschoch committed Aug 24, 2012
Commits on Aug 22, 2012
  1. Fix handing over json to rhino by serializing it from the native java…

    … objects first.
    
    Possible optimizations:
    * make the dict and array wrappers work so they convert their children on demand (Thus only what is actually accessed will be converted)
    * hand in the actual json from the db directly, that way js still has to parse it, but at least we save parsing the json from java another time
    dwt committed Aug 22, 2012
Commits on Aug 14, 2012
  1. Add basic error handling to match the behavior of CouchDB more closely.

    If a javascript map function contains a syntax error, it is just ignored. It's views will always be empty.
    If a javascript map function throws an error when evaluating a document, that document is just ignored.
    dwt committed Aug 14, 2012
Commits on Aug 13, 2012
  1. Merge pull request #67 from pegli/reduce_complier

    implemented JavaScript reduce function compiler
    mschoch committed Aug 13, 2012
Commits on Aug 12, 2012
Commits on Aug 10, 2012
Commits on Aug 7, 2012
  1. added implementation of POST to _all_docs

    contributed by Sameer Segal
    mschoch committed Aug 7, 2012
Commits on Aug 6, 2012
Commits on Aug 3, 2012
  1. Merge pull request #62 from pegli/repl_change_observer

    TDReplicator never calls notifyObservers()
    mschoch committed Aug 3, 2012
  2. Merge pull request #61 from nickkitto/master

    Fix in replaceWithDatabase and spelling mistake
    mschoch committed Aug 3, 2012
Commits on Aug 2, 2012
  1. make changesProcessed and changesTotal private and change TDPusher an…

    …d TDPuller to use the access methods. This ensures that Observers get called with replication changes.
    pegli committed Aug 2, 2012
Commits on Jul 30, 2012
  1. Added mkdirs in TDDatabase.replaceWithDatabase. This was crashing my …

    …android 4.0 device without it, deleteRecursive deletes the containing folder and it was throwing an IOException.
    
    Tidied up a spelling mistake I noticed
    unknown committed Jul 30, 2012
Commits on Jul 28, 2012
  1. fixed support for Android 4.1 (in some cases)

    not convinced this works in all cases, but unit tests pass
    and AndroidGrocerySync works, so better than nothing
    
    couchbaselabs#48
    mschoch committed Jul 28, 2012
Commits on Jul 10, 2012
  1. changed strategy for handler threads again (now one per database, off…

    … main thread)
    
    changed continuous replication strategy to avoid memory leak
    mschoch committed Jul 10, 2012
Commits on Jul 8, 2012
  1. streamlined logging calls, to avoid String.format()

    reduced usage of separate handler threads
    mschoch committed Jul 8, 2012
  2. refactored the tests to reuse more code and clean up connections better

    new properties files support to change replication configuration
    mschoch committed Jul 8, 2012
Commits on Jul 7, 2012
  1. now uploads are supported as streams like downloads

    upload attachment now uses the streaming feature
    able to upload and download a 15MB movie wihout memory errors now
    mschoch committed Jul 7, 2012
  2. direct get requests for attachments now stream data without

    loading the entire attachment into memory
    mschoch committed Jul 7, 2012
  3. changed primary connection between TDRouter and the outside world to …

    …use streams
    
    NOTE: right now in many cases they are still byte array streams
    but in the future there is now a way to actually stream data out
    mschoch committed Jul 7, 2012
Commits on Jun 30, 2012
Commits on Jun 29, 2012
  1. properly release local string references

    caused crash when loops got deep comparing strings inside json key
    fixes couchbaselabs#39
    mschoch committed Jun 29, 2012
Commits on Jun 28, 2012
  1. add support for specifying a default HttpClientFactory at the TDServe…

    …r level
    
    this will be used by TDRouter when setting up any new replications
    mschoch committed Jun 28, 2012
Commits on Jun 26, 2012
  1. changed default behavior of TDRouter to more closely match CouchDB

    if a view has a reduce function, the default value for reduce=true
    if you do not want to reduce, you must explicitly pass reduce=false
    
    couchbaselabs#37
    mschoch committed Jun 26, 2012
Commits on Jun 24, 2012
Commits on Jun 23, 2012
Commits on Jun 21, 2012
Commits on Jun 18, 2012
  1. fix issue where TDRevision passed to filter function was sometimes null

    couchbaselabs#34
    
    also added some assertions to existing tests to detect this issue
    mschoch committed Jun 18, 2012
Commits on Jun 15, 2012
Commits on Jun 14, 2012
Commits on Jun 12, 2012
Commits on Jun 11, 2012