summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-12-06Allow CPPPATH to be overriden in the environmentPaul J. Davis
2011-12-02whitespaceBob Dionne
2011-12-01Set 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-22Remove unused importsBob Dionne
2011-11-11Add check for JS script object typePaul J. Davis
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-09Merge pull request #80 from cloudant/12833-conditional_json_encodeAdam 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-08Update troubleshooting linkAdam Kocoloski
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-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-25Fix 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-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-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-18Merge pull request #76 from cloudant/12741-replication-seq-formatAdam Kocoloski
2011-10-17Revert "Build couchjs with C, not C++. Fixes libm error on CentOS."Robert Newson
This reverts commit e311d45fba617e7917d76109b4e21dbb388f268d. Turns out the 'libm' error is a very obscure way of reporting a lack of a c++ compiler.
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-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-17remove scons cache in 'make clean'Robert Newson
2011-10-13Merge pull request #72 from cloudant/12730-add-remsh-scriptPaul J. Davis
Add a remsh script for each node BugzId: 12730
2011-10-13Improve remsh scriptPaul J. Davis
Cookies now default to using ~/.erlang.cookie which is automatically generated if it does not exist when erlang starts with a name. There is also no longer a need to specify a name to remsh as it'll generate a name based on the process id and set the short or long version appropriately.
2011-10-13Merge pull request #74 from cloudant/7c04f93Adam Kocoloski
Fix badarg error in couch_server:try_close_lru/1 BugzID: 12363
2011-10-13restore couch_util:verify call in oauth.Robert Newson
2011-10-13Fix badarg error in couch_server:try_close_lru/1Paul J. Davis
The race condition in couch_server's ets table usage rears its ugly head by leaving an entry in couch_lru. This patch just addresses the issue by allowing the client pid to use the db and ignores the fact that for the duration its over the max_dbs_open setting.
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-11Add a remsh command to BigCouchPaul J. Davis
The remsh pattern is quite useful for connecting to running nodes for debugging production issues. This adds a small script that lets users connect quickly to a running node.
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.