summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-01-10Bump fabric and chttpd versionsAdam Kocoloski
The fabric bump fixes some corner cases for read repair. The chttpd bump improves error handling for delayed responses.
2011-12-23Make cURL a soft dependencyPaul J. Davis
This makes sure that we only optionally require the same version of cURL that CouchDB does.
2011-12-12Allow CPPPATH to be overriden in the environmentPaul J. Davis
2011-12-12Set the stack size for sub contextsPaul J. Davis
I was forgetting to pass the args through to evalcx so that it could use the stack size specified on the command line.
2011-11-09Add check for JS script object typePaul J. Davis
2011-11-09Bump fabric version and drop the pre1 from release versionAdam Kocoloski
2011-11-09Conditionally apply JSON encoding to update_seq valuesRobert Newson
BigCouch 0.3 cannot parse requests of the form /db/_changes?since="123-foo" so the recent ?JSON_ENCODE addition to Since in two places causes 0.3 <-> 0.4 replication to fail with json_encode/badterm errors. This patch applies JSON encoding only when the Since value is not already a binary (i.e, when it's a [integer(), binary()]) and interop is restored. BugzID: 12833
2011-11-08Simplify READMEAdam Kocoloski
2011-11-04Add a script to create a source tarballRobert Newson
2011-10-31Merge commit '1.1.1' into 0.4.xRobert Newson
Conflicts: acinclude.m4.in configure.ac couchjs/c_src/http.c src/erlang-oauth/Makefile.am src/erlang-oauth/oauth.app.in src/erlang-oauth/oauth_hmac_sha1.erl src/erlang-oauth/oauth_http.erl src/erlang-oauth/oauth_plaintext.erl src/etap/etap_web.erl
2011-10-31Fix retrieval of headers larger than 4kAdam Kocoloski
Our headers start with a <<1>> and then four bytes indicating the length of the header and its checksum. When the header is larger than 4090 bytes it will be split across multiple blocks in the file and will need to be reassembled on read. The reassembly consists of stripping out <<0>> from the beginning of each subsequent block in the remove_block_prefixes/2 function. The bug here is that we tell remove_block_prefixes that we're starting 1 byte into the current block instead of 5, so it ends up removing one good byte from the header and injecting one or more random <<0>>s. Headers larger than 4k are very rare and generally require a view group with a huge number of indexes or indexes with fairly large reductions, which explains why this bug has gone undetected until now. Closes COUCHDB-1319.
2011-10-24Fix SpiderMonkey source evaluationPaul J. Davis
Looks like we had a couple commits get crossed over during the merges. This removes the original version of the patch that wrapped JS functions with parens.
2011-10-23Hardcode couchjs binary namePaul Joseph Davis
Windows doesn't have the libgen.h header or an easily identified basename function. Instead of playing games we just configure the name with autoconf and run with that.
2011-10-20Fix object sealing with spidermonkey 1.7.0Robert Newson
2011-10-20Update CHANGES and NEWS to reflect COUCHDB-1129Filipe David Manana
2011-10-20Fix JavaScript CLI test runner.Paul Joseph Davis
Accidentally inverted the logic of a test when patching for newer versions of SpiderMonkey.
2011-10-20Fix object sealing on sm 1.7.0Robert Newson
2011-10-19mention 1.8.5 support in NEWS/CHANGESRobert Newson
2011-10-18Revert "Build couchjs with C, not C++. Fixes libm error on CentOS."Adam Kocoloski
This reverts commit 6b26f47e8287b2d1c1d7b74199647dec2e7c2bef. Turns out the 'libm' error is a very obscure way of reporting a lack of a C++ compiler.
2011-10-18Minor fixes to link agianst SpiderMonkey trunkPaul Joseph Davis
This patch allows couchjs to link against the SpiderMonkey as it existed in the mercurial hash 59c1e6bdb11 from [1]. This does *not* ensure compatibility with CouchDB as there are other things that will also need to be fixed. Specifically, the anonymous function issue for builtin JS functions. [1] http://hg.mozilla.org/mozilla-central/
2011-10-18Prevent linking against too new of a SpiderMonkeyPaul Joseph Davis
Versions of SpiderMonkey newer than js185-1.0.0 have removed the JSOPTION_ANONFUNFIX which basically invalidates all CouchDB JavaScript functions ever written. This configure patch prevents the accidental linking to a library that has this new behavior while allowing people to forcefully override the check.
2011-10-18Merge pull request #77 from cloudant/12741-replication-seq-formatAdam Kocoloski
2011-10-17Fix seq problem in full_uri by encodingBob Dionne
BugzID:12741
2011-10-17Build couchjs with C, not C++. Fixes libm error on CentOS.Robert Newson
2011-10-17remove scons cache in 'make clean'Robert Newson
2011-10-13restore couch_util:verify call in oauth.Robert Newson
2011-10-12Freeze dependencies, this is 0.4.0pre1Adam Kocoloski
2011-10-12Merge pull request #71 from cloudant/12726-custom-http-optionsAdam Kocoloski
2011-10-12Remove obsolete options, document N,QAdam Kocoloski
2011-10-12Update CHANGES/NEWS/acinclude.m4.in for 1.1.1Robert Newson
2011-10-12Remove duplicated word "the"Filipe David Manana
2011-10-11Document custom HTTP/socket options in default.iniPaul J. Davis
Part of the backport of COUCHDB-1008 to chttpd. This just updates the default.ini with some commented out options describing their availability to users.
2011-10-10Remove call to subprocess.check_outputPaul J. Davis
This function is new in Python 2.7 and we already have a function that returns command ouput. Just reuse runcmd to get the version.
2011-10-10Fix R15 warning for etap_web.erlRobert Newson
2011-10-10Backport erlang-oauth from master for R15 compatRobert Newson
2011-10-10Merge remote-tracking branch 'apache/1.1.x'Robert Newson
2011-10-07Include twig explicitly in the release configAdam Kocoloski
This fixes "Unable to generate spec" errors when trying to build a release on Erlang/OTP R13.
2011-10-06Revert "Fix function evaluation by newer SpiderMonkey's."Robert Newson
This reverts commit 61f10e7590bd352b367ad426a56587cbef3700b6.
2011-10-06Revert "Remove SpiderMonkey 1.8.5 compatibility"Robert Newson
This reverts commit 5b558c81ed9709fb286a6821e9ae6d6478012c2c.
2011-10-06fix shadowing warning.Robert Newson
2011-10-06Remove SpiderMonkey 1.8.5 compatibilityRobert Newson
This commit reverts 1.8.5 compatibility including the corresponding couchjs paren hack as this leads to significant breakage in existing functions.
2011-10-05Update CHANGES and NEWS for the 1.1.1 releaseFilipe David Manana
2011-10-05update CHANGES and NEWS to include a one line summary for every ticket ↵Robert Newson
resolved in 1.1.1
2011-10-04Merge pull request #67 from cloudant/12645-merge_latest_1.1.xAdam Kocoloski
2011-10-04Merge remote branch 'apache/1.1.x'Adam Kocoloski
2011-10-02fix couchjs help language and use short optionsRandall Leeds
2011-10-02distclean couchjs.1 help2man fileRandall Leeds
2011-10-02improve argument parsing in couchjsRandall Leeds
This change makes argument parsing in couchjs more robust: * Removes the need for couchjs script * Adds long options * Makes all the options to couchjs available (fix COUCHDB-893) Conflicts: bin/Makefile.am bin/couchjs.tpl.in configure.ac
2011-10-01fix COUCHDB-648 - _update handler ignores "code"Randall Leeds
Test by Christian Carter This is a backport of r1177890 git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1177892 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30Replicator: skip documents with empty IDFilipe David Borba Manana
Due to a bug, older releases allowed the creation of documents with an empty ID, which are impossible to GET therefore making the replicator crash. This change simply skips such documents and logs an error message to inform users. This is a backport of revision 1177548 from trunk. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1177550 13f79535-47bb-0310-9956-ffa450edef68