Age | Commit message (Collapse) | Author |
|
|
|
BugzID: 13133
|
|
|
|
|
|
The fabric bump fixes some corner cases for read repair. The chttpd
bump improves error handling for delayed responses.
|
|
This makes sure that we only optionally require the same version of cURL
that CouchDB does.
|
|
|
|
I was forgetting to pass the args through to evalcx so that it could use
the stack size specified on the command line.
|
|
|
|
|
|
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
|
|
|
|
|
|
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
|
|
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.
|
|
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.
|
|
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.
|
|
|
|
|
|
Accidentally inverted the logic of a test when patching for newer
versions of SpiderMonkey.
|
|
|
|
|
|
This reverts commit 6b26f47e8287b2d1c1d7b74199647dec2e7c2bef.
Turns out the 'libm' error is a very obscure way of reporting a lack
of a C++ compiler.
|
|
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/
|
|
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.
|
|
|
|
BugzID:12741
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
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.
|
|
|
|
|
|
|
|
This fixes "Unable to generate spec" errors when trying to build a
release on Erlang/OTP R13.
|
|
This reverts commit 61f10e7590bd352b367ad426a56587cbef3700b6.
|
|
This reverts commit 5b558c81ed9709fb286a6821e9ae6d6478012c2c.
|
|
|
|
This commit reverts 1.8.5 compatibility including the corresponding couchjs
paren hack as this leads to significant breakage in existing functions.
|
|
|
|
resolved in 1.1.1
|
|
|
|
|
|
|