Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
Commits on Oct 10, 2011
@rnewson rnewson Backport erlang-oauth from master for R15 compat 1a11127
@rnewson rnewson Fix R15 warning for etap_web.erl 605f274
Commits on Oct 12, 2011
@fdmanana fdmanana Remove duplicated word "the" 79fa8d7
@rnewson rnewson Update CHANGES/NEWS/acinclude.m4.in for 1.1.1 d010475
@kocolosk kocolosk Freeze dependencies, this is 0.4.0pre1 282ed2c
Commits on Oct 13, 2011
@rnewson rnewson restore couch_util:verify call in oauth. 1e1d07a
Commits on Oct 17, 2011
Robert Newson remove scons cache in 'make clean' e671953
Robert Newson Build couchjs with C, not C++. Fixes libm error on CentOS. 6b26f47
Commits on Oct 18, 2011
@kocolosk kocolosk Merge pull request #77 from cloudant/12741-replication-seq-format c8a5018
@davisp davisp Prevent linking against too new of a SpiderMonkey
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.
7ce9e10
@davisp davisp Minor fixes to link agianst SpiderMonkey trunk
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/
7c6e5f0
Commits on Oct 19, 2011
@kocolosk kocolosk Revert "Build couchjs with C, not C++. Fixes libm error on CentOS."
This reverts commit 6b26f47.

Turns out the 'libm' error is a very obscure way of reporting a lack
of a C++ compiler.
5f59de1
@rnewson rnewson mention 1.8.5 support in NEWS/CHANGES e37148e
Commits on Oct 20, 2011
@rnewson rnewson Fix object sealing on sm 1.7.0 ac1f52b
@davisp davisp Fix JavaScript CLI test runner.
Accidentally inverted the logic of a test when patching for newer
versions of SpiderMonkey.
0d0ed41
@fdmanana fdmanana Update CHANGES and NEWS to reflect COUCHDB-1129 89f7faa
Robert Newson Fix object sealing with spidermonkey 1.7.0 a5d2cea
Commits on Oct 23, 2011
@davisp davisp Hardcode couchjs binary name
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.
af7a6ae
Commits on Oct 24, 2011
@davisp davisp Fix SpiderMonkey source evaluation
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.
f351ee6
Commits on Oct 31, 2011
@kocolosk kocolosk Fix retrieval of headers larger than 4k
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.
a635249
Robert Newson Merge commit '1.1.1' into 0.4.x
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
8bbd833
Commits on Nov 04, 2011
Robert Newson Add a script to create a source tarball 2e1054a
Commits on Nov 08, 2011
@kocolosk kocolosk Simplify README e0dd9f3
Commits on Nov 09, 2011
Robert Newson Conditionally apply JSON encoding to update_seq values
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
223646a
@kocolosk kocolosk Bump fabric version and drop the pre1 from release version 89850ce
@davisp davisp Add check for JS script object type 3462a56
Commits on Dec 12, 2011
@davisp davisp Set the stack size for sub contexts
I was forgetting to pass the args through to evalcx so that it could use
the stack size specified on the command line.
83a451f
@davisp davisp Allow CPPPATH to be overriden in the environment 0bdc62b
Commits on Dec 23, 2011
@davisp davisp Make cURL a soft dependency
This makes sure that we only optionally require the same version of cURL
that CouchDB does.
6cec3db
Commits on Jan 10, 2012
@kocolosk kocolosk Bump fabric and chttpd versions
The fabric bump fixes some corner cases for read repair.  The chttpd
bump improves error handling for delayed responses.
631ab54
@kocolosk kocolosk Remove unused URLs 91c25cf
@kocolosk kocolosk Remove superfluous formatting 121c71c
Commits on Jan 16, 2012
Robert Newson Use spawn_monitor to await process completion
BugzID: 13133
effae95
Robert Newson Only set the process dictionary if exit was ok 5a7a1a5
Commits on Jan 17, 2012
Robert Newson Merge pull request #91 from cloudant/13133-attachment-replication
Fix attachment replication

BugzID: 13133
42334fa
Robert Newson Bump to chttpd 1.4.2 b5c6252
Commits on Jan 18, 2012
Robert Newson Revert use of spawn_monitor
As Filipe correctly points out, we want the parent to die if the child dies.
855bb7d
Commits on Jan 21, 2012
Robert Newson Bump dependencies for pre7 release 050b8c9
Commits on Jan 24, 2012
@davisp davisp Minor bug getting the reduce_limit setting 6696d6f
Commits on Jan 31, 2012
@davisp davisp Fix bug in replicator request piplining
A replication with both an HTTP source and target on the same host and
port could end up in a dead lock due to ibrowse replication pipelining
when attachments are present on the source. The ibrowse http worker
would end up forming a multipart/mime body using anonymous reader
functions for attachment stubs. When the attachment stub functions are
executed it is possible that they end up assigned to the same ibrowse
worker.

This is a bit of a long path but then end result is equivalent to
calling gen_server:call(self(), Args, infinity) from a gen_server
callback.

A quick work around for users is to set up a DNA alias (possibly in
/etc/hosts) or to use a combination of hostname and ip address so that
ibrowse assigns the requests to different pools.
f199c33
Robert Newson Fix previous commit db23528
Commits on Feb 22, 2012
Robert Newson Merge 0.4.x 986c86b
Something went wrong with that request. Please try again.