summaryrefslogtreecommitdiff
path: root/src/couchdb/priv/couch_js
AgeCommit message (Collapse)Author
2010-06-15Fix warnings on Linux builds.Jan Lehnardt
Patch by Paul Davis. Closes COUCHDB-775 git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@954950 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27Fix weird error with JS_DefineFunctions call.Paul Joseph Davis
I found a fairly odd case with JS_DefineFunctions returning success without actually having defined any functions on the global object. This was happening on an Ubuntu 9.10 machine with Spidermonkey 1.7 which is most odd. I refactored the code to iterate over the JSFunctionSpec array and define the functions one by one which appears to alleviate the issue. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885041 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27Minor formatting fix.Paul Joseph Davis
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884946 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27get windows building againMark Hammond
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884751 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26Setup JavaScript command line runner.Paul Joseph Davis
All JS tests can now be run from the command line using the cURL adapter. In the future I would like to rework this and provide better TAP output. For now, each test is a single TAP assert. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884675 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26Complete refactoring of couch_js.Paul Joseph Davis
In particular, the cURL bindings have been rewritten to be more useful and easily applied in command line scripts. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884672 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26Move all C code to src/couchdb/privPaul Joseph Davis
Shuffling bits around to conform to Erlang conventions. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@884671 13f79535-47bb-0310-9956-ffa450edef68