Skip to content
Commits on May 14, 2013
  1. Add pointer to Couchbase Lite

    Traun Leyden committed May 14, 2013
Commits on May 10, 2013
Commits on May 9, 2013
  1. Use local ip address

    Traun Leyden committed May 9, 2013
  2. Fix non-passing test. TODO: run this by Marty to see what this test w…

    …as supposed to be checking for in the first place (why expecting BAD_REQUEST in this case?)
    Traun Leyden committed May 9, 2013
  3. disable tests that are known to not work (yet)

    Traun Leyden committed May 9, 2013
  4. Merge branch '52tests_heavy_attachments' of git://github.com/cesine/T…

    …ouchDB-Android into cesine-52tests_heavy_attachments
    
    Conflicts:
    	TouchDB-Android-TestApp/AndroidManifest.xml
    Traun Leyden committed May 9, 2013
Commits on May 8, 2013
  1. Merge branch 'refs/heads/replicator_fixes'

    Traun Leyden committed May 8, 2013
  2. disable non-passing test (issue #42)

    Traun Leyden committed May 8, 2013
  3. @cesine

    Tests for non-trivial Attachments

    moved tests focused on creation and retrieval and replication of docs with more than ~5MB of images into its own test, although it tests the Attachemnts and Replicator functionality.  It Looks like a 768MB RAM device can handle only 8MB of images, where as a 1GB RAM device can handle over 14MB of images.
    cesine committed May 8, 2013
  4. @cesine
  5. @cesine

    for #52 added some plain text files for upload too

    These files are to replicate the multipart upload example in
    http://wiki.apache.org/couchdb/HTTP_Document_API#Multiple_Attachments
    cesine committed Mar 10, 2013
  6. @cesine

    5.4-7.2MB of images causes OutOfMemoryError

    for #52 Tested with 4 x images at 1.8MB
    
    03-08 20:55:22.790: I/dalvikvm-heap(10255): Grow heap (frag case) to 44.019MB for 9478792-byte allocation
    03-08 20:55:22.840: D/dalvikvm(10255): GC_FOR_ALLOC freed 9256K, 38% free 35677K/56740K, paused 48ms, total 48ms
    03-08 20:55:22.860: D/dalvikvm(10255): GC_CONCURRENT freed 1K, 36% free 36833K/56740K, paused 5ms+4ms, total 23ms
    03-08 20:55:22.880: I/Replicator(10255): Waiting for replicator to finish
    03-08 20:55:22.930: D/dalvikvm(10255): GC_FOR_ALLOC freed 18515K, 61% free 22413K/56740K, paused 15ms, total 16ms
    03-08 20:55:22.960: D/dalvikvm(10255): GC_CONCURRENT freed <1K, 52% free 27384K/56740K, paused 2ms+7ms, total 26ms
    03-08 20:55:23.050: D/dalvikvm(10255): GC_FOR_ALLOC freed 4738K, 52% free 27257K/56740K, paused 16ms, total 17ms
    03-08 20:55:23.120: D/dalvikvm(10255): GC_FOR_ALLOC freed 4608K, 49% free 29157K/56740K, paused 16ms, total 17ms
    03-08 20:55:23.200: D/dalvikvm(10255): GC_CONCURRENT freed 3584K, 43% free 32755K/56740K, paused 3ms+3ms, total 21ms
    03-08 20:55:23.200: D/dalvikvm(10255): WAIT_FOR_CONCURRENT_GC blocked 10ms
    03-08 20:55:23.280: I/TDDatabase(10255): com.couchbase.touchdb.replicator.TDPusher$2@41255d88: Sending 2 revisions
    03-08 20:55:23.280: V/TDDatabase(10255): com.couchbase.touchdb.replicator.TDPusher$2@41255d88: Sending [{doc1 #2-abd59e35-5a0d-4063-9287-c0d646eda60a}, {doc2 #1-56e6ae77-1110-4cec-a156-5347e037016b}]
    03-08 20:55:23.300: D/dalvikvm(10255): GC_CONCURRENT freed 4741K, 37% free 36206K/56740K, paused 3ms+4ms, total 21ms
    03-08 20:55:23.300: D/dalvikvm(10255): WAIT_FOR_CONCURRENT_GC blocked 12ms
    03-08 20:55:23.630: D/dalvikvm(10255): GC_FOR_ALLOC freed 223K, 23% free 43942K/56740K, paused 16ms, total 17ms
    03-08 20:55:23.700: D/dalvikvm(10255): GC_FOR_ALLOC freed <1K, 20% free 45477K/56740K, paused 16ms, total 16ms
    03-08 20:55:23.700: I/dalvikvm-heap(10255): Forcing collection of SoftReferences for 9479102-byte allocation
    03-08 20:55:23.720: D/dalvikvm(10255): GC_BEFORE_OOM freed 785K, 22% free 44691K/56740K, paused 23ms, total 23ms
    03-08 20:55:23.720: E/dalvikvm-heap(10255): Out of memory on a 9479102-byte allocation.
    03-08 20:55:23.720: I/dalvikvm(10255): "RemoteRequest-http://----:---@testcouch.iriscouch.com:80/touchdb-test/_bulk_docs" prio=5 tid=14 RUNNABLE
    03-08 20:55:23.720: I/dalvikvm(10255):   | group="main" sCount=0 dsCount=0 obj=0x4129b588 self=0x68c90c28
    03-08 20:55:23.720: I/dalvikvm(10255):   | sysTid=10279 nice=0 sched=0/0 cgrp=apps handle=1755869792
    03-08 20:55:23.720: I/dalvikvm(10255):   | state=R schedstat=( 418373000 10460000 129 ) utm=41 stm=0 core=3
    03-08 20:55:23.720: I/dalvikvm(10255):   at org.codehaus.jackson.util.ByteArrayBuilder.toByteArray(ByteArrayBuilder.java:~154)
    03-08 20:55:23.720: I/dalvikvm(10255):   at org.codehaus.jackson.map.ObjectMapper.writeValueAsBytes(ObjectMapper.java:2106)
    03-08 20:55:23.720: I/dalvikvm(10255):   at com.couchbase.touchdb.support.TDRemoteRequest.run(TDRemoteRequest.java:121)
    03-08 20:55:23.720: I/dalvikvm(10255):   at java.lang.Thread.run(Thread.java:856)
    03-08 20:55:23.720: W/dalvikvm(10255): threadid=14: thread exiting with uncaught exception (group=0x40b01930)
    03-08 20:55:23.730: E/AndroidRuntime(10255): FATAL EXCEPTION: RemoteRequest-http://semisecureadmin:none@cesine.iriscouch.com:80/touchdb-test/_bulk_docs
    03-08 20:55:23.730: E/AndroidRuntime(10255): java.lang.OutOfMemoryError
    03-08 20:55:23.730: E/AndroidRuntime(10255): 	at org.codehaus.jackson.util.ByteArrayBuilder.toByteArray(ByteArrayBuilder.java:154)
    03-08 20:55:23.730: E/AndroidRuntime(10255): 	at org.codehaus.jackson.map.ObjectMapper.writeValueAsBytes(ObjectMapper.java:2106)
    03-08 20:55:23.730: E/AndroidRuntime(10255): 	at com.couchbase.touchdb.support.TDRemoteRequest.run(TDRemoteRequest.java:121)
    03-08 20:55:23.730: E/AndroidRuntime(10255): 	at java.lang.Thread.run(Thread.java:856)
    03-08 20:55:23.880: I/Replicator(10255): Waiting for replicator to finish
    cesine committed Mar 8, 2013
  7. @cesine

    for #52 added attachment upload tests

    * added some sample images taken with an android (1MB)
    * added an activity to copy the images out of the assets into the sdcard
    * attached the images to a document
    * turned on replication
    
    Tests pass in ~51 seconds on a wifi connection contacting iriscouch.com
    cesine committed Mar 8, 2013
  8. @cesine

    fixing typo overrid to override

    cesine committed Mar 8, 2013
  9. @cesine
  10. After importing into Eclipse, it bumped the target version to 17 (nee…

    …d to run this by Marty to make sure this won't cause any problems)
    Traun Leyden committed May 7, 2013
Commits on Mar 1, 2013
  1. @jchris

    Merge pull request #83 from bsquared/master

    Resubmitted fix for issue 81.
    jchris committed Mar 1, 2013
  2. @jchris

    Merge pull request #87 from iLanguage/master

    Tiny patch which removes username and password from the logs
    jchris committed Mar 1, 2013
Commits on Feb 20, 2013
  1. @cesine
  2. @cesine
  3. @cesine
Commits on Nov 19, 2012
  1. @bsquared

    Update TouchDB-Android/src/com/couchbase/touchdb/TDServer.java

    Removed the caret in the parameters to Pattern.matches.
    The caret no longer needs to be added to the expression as it is part of the expression.
    bsquared committed Nov 19, 2012
  2. @bsquared

    Update TouchDB-Android/src/com/couchbase/touchdb/TDServer.java

    LEGAL_CHARACTERS expression changed to handle _all_ file/database name requirements. Enforce legal characters [1] and first character is lowercase alpha.
    
    Only lowercase letters (a-z), digits (0-9), and any of the characters _, $, (, ), +, -, and / are allowed. Moreover, the database name must begin with a letter. from cloudant.com
    bsquared committed Nov 19, 2012
Commits on Aug 24, 2012
  1. @mschoch

    Merge pull request #70 from dwt/correct-json-for-js

    Correct json for js
    mschoch committed Aug 24, 2012
  2. @mschoch

    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. @dwt

    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. @dwt
  2. @dwt

    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. @mschoch

    Merge pull request #67 from pegli/reduce_complier

    implemented JavaScript reduce function compiler
    mschoch committed Aug 13, 2012
Commits on Aug 12, 2012
  1. changes to unit tests and test activity for replication changes

    new test case for TDSequenceMap
    Marty Schoch committed Aug 12, 2012
  2. major improvements to pull replication

    1. uses caching thread pool for remote requests
    2. change tracker reads response line by line
    3. TDSequenceMap used to track checkoints
    4. SingleThreaded access to TouchDB improved
    Marty Schoch committed Aug 12, 2012
Commits on Aug 10, 2012
  1. @pegli
Commits on Aug 7, 2012
  1. @mschoch

    added implementation of POST to _all_docs

    contributed by Sameer Segal
    mschoch committed Aug 7, 2012
Something went wrong with that request. Please try again.