summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-05-17oops, don't commit hacked-up icu_driverAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@945114 13f79535-47bb-0310-9956-ffa450edef68
2010-05-17use O_APPEND to skip some lseeks, COUCHDB-754Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@945110 13f79535-47bb-0310-9956-ffa450edef68
2010-05-14faster implementation of pread_iolist. Closes COUCHDB-762Adam Kocoloski
Why it's faster: - 2 pread() calls (instead of 3) for MD5-prefixed terms - 1 gen_server:call (instead of 3) in all cases, also guarantees that we don't intersperse pread() calls to different parts of the file when we have concurrent readers. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@944336 13f79535-47bb-0310-9956-ffa450edef68
2010-05-13vhost_global_handlers bypass rewrite rules and are available in all vhostsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@943764 13f79535-47bb-0310-9956-ffa450edef68
2010-05-05rewriter security to allow isolation of databases via subdomainsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@941451 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04use crypto:md5 when available. thx fdmanana. Closes COUCHDB-757Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@941033 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04use keysearch BIF to search ejson props. Closes COUCHDB-747Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@940708 13f79535-47bb-0310-9956-ffa450edef68
2010-04-28Fix to make dbclose synchronous, to prevent unnecessary slowdown caused by ↵Damien F. Katz
many already completed client requests having a single db open, and the vm waiting a long time to asynchronously process the close messages. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@939009 13f79535-47bb-0310-9956-ffa450edef68
2010-04-25make before commit, make before commit, make before commitJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@937793 13f79535-47bb-0310-9956-ffa450edef68
2010-04-24tabs to spacesJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@937633 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23faster default view collation. Closes COUCHDB-746Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@937528 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23identity transfer w/ Content-Length when possible. thx rnewson. COUCHDB-745Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@937352 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22compaction preserves instance_start_time. Closes COUCHDB-744Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@936996 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22fix erlang filter funs and normalize filter fun api. thanks fdmanana. closes ↵John Christopher Anderson
COUCHDB-740 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@936889 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19Fix to close users db immediately after authentication.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@935737 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15accept gzipped attachments w/ standalone api. thx fdmanana. COUCHDB-712Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@934481 13f79535-47bb-0310-9956-ffa450edef68
2010-04-15refactor att compression to allow more encodings. thanks fdmanana. COUCHDB-710Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@934475 13f79535-47bb-0310-9956-ffa450edef68
2010-04-11bugfix for replication keepalive. Closes COUCHDB-730Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@933039 13f79535-47bb-0310-9956-ffa450edef68
2010-04-08fix last straggler view update_seq bugs, thanks tisba and bitdiddle for the ↵John Christopher Anderson
report git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@931731 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07make max_concurrent_connections configurable via Randall Leeds / COUCHDB-705John Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@931663 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07temp_views should be only available to server and database adminsJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@931655 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07somehow I missed this badarity bug running the test suite last night. ↵John Christopher Anderson
completes the last (update_seq) commit. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@931650 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07include update_seq in view responses, patch via Joscha Feth, (mostly) closes ↵John Christopher Anderson
COUCHDB-650 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@931439 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07changes is less likely to miss updates, and changes test is more robustJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@931407 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02Removed _sleep from all tests. replaced with loops that spin until a ↵Damien F. Katz
condition is true. Makes tests faster and less likely to fail sporadically. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@930430 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02change couch_server calls to have infinity timeout, because it might have to ↵Damien F. Katz
wait for disk io. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@930365 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02Fix hang with view shutdown.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@930364 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02Deterministic/synchronous shutdown code.Damien F. Katz
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@930363 13f79535-47bb-0310-9956-ffa450edef68
2010-03-28allows more complex keys in the rewriter, so it could ease theBenoit Chesneau
pagination (only array for now) : { "from": "simpleForm/complexView5/:a/:b", "to": "_list/simpleForm/complexView3", "query": { "key": [":a", ":b"] } }, git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@928374 13f79535-47bb-0310-9956-ffa450edef68
2010-03-28typo.Benoit Chesneau
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@928364 13f79535-47bb-0310-9956-ffa450edef68
2010-03-28allows client to retrieve the revision of document updated via _update,Benoit Chesneau
by providing it in headers. Header is named "X-Couch-Update-NewRev. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@928361 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25restart using init:restart() for better test reliabilityJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@927545 13f79535-47bb-0310-9956-ffa450edef68
2010-03-21Take query options into account when generating replication ids.Jan Lehnardt
Patch by Filipe Manana. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@925879 13f79535-47bb-0310-9956-ffa450edef68
2010-03-20backwards compatible ids for non-docid replicationsJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@925497 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19Do not use the doc_id list from the previous replication requestJan Lehnardt
on subsequent replication requests. Closes COUCHDB-703. Patch by Filipe Manana. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@925488 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16Fixes couch_server:all_databases/0Paul Joseph Davis
The logic was failing when the database path had a '.' path component in the middle because Filename -- Root is not a prefix operation. This patch adds a normalization function to couch_util that is run on the Root and Filename variables before doing the array subtraction. I could probably make it smarter and error out but I got lazy. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@923526 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15Made the opening of databases asynchronous, so that requests to open ↵Damien F. Katz
databases that are already in the open database cache do not have to wait on the file system. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@923456 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11make sure we pass etags in header when we send docBenoit Chesneau
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@921707 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10_stats builtin reduction for min/max/mean/varianceAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@921592 13f79535-47bb-0310-9956-ffa450edef68
2010-03-07json startkey, endkey, and key should be decoded before being sent to the ↵John Christopher Anderson
query server or externals git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@919949 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05config settings for replicator sessions and pipeline. Patch by Filipe MananaAdam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@919548 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05efficient attachment replication. Patch by Filipe Manana. Closes COUCHDB-639Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@919469 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05use OTP base64 lib. Patch by Filipe Manana. Closes COUCHDB-681Adam Kocoloski
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@919449 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04ensure full commit when the security object is updatedJohn Christopher Anderson
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@918855 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04reverting damien's latest commit until we can figure out why it's causing ↵John Christopher Anderson
failures git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@918834 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04Changed process tree shutdown to be synchronous, to eliminate spurious test ↵Damien F. Katz
failures caused by processes not shutdown fast enough or at the wrong time. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@918805 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03Fix pull replication. Patch by Randall Leeds.Jan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@918657 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01fix issue COUCHDB-678 applying patch from Filipe Manana.Benoit Chesneau
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@917553 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01Undo accidental revert. Sorry for the mess SVN acted weird on me. Probably ↵Jan Lehnardt
due to the LDAP infra issues. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@917411 13f79535-47bb-0310-9956-ffa450edef68
2010-02-28treat deleted docs as nonexistant docsJan Lehnardt
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@917104 13f79535-47bb-0310-9956-ffa450edef68