summaryrefslogtreecommitdiffstats
path: root/sca-cpp/branches/lightweight-sca/modules/js/eval.hpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-09-05git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1381061 ↵giorgio1-0/+0
13f79535-47bb-0310-9956-ffa450edef68
2012-07-16Minor memory management, performance, and tracing improvements.jsdelfino1-4/+11
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1361917 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28Improve error reporting with a reason code. Improve debug and audit logging. ↵jsdelfino1-1/+1
Fix test scripts to cleanup state from previous builds and correctly report test errors. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1343138 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02Add more fine grain debug options and remove overhead in debug log macros ↵jsdelfino1-2/+2
when logging is turned off. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1308248 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23Use HTTPD ap_log_error instead of stderr to log when running inside HTTPD, ↵jsdelfino1-6/+1
to get log piping and rotation to work. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1222604 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05Tune up Mozilla SpiderMonkey memory usage and garbage collection.jsdelfino1-3/+3
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1165451 13f79535-47bb-0310-9956-ffa450edef68
2011-08-28Implement a portable alternative to __thread and get the HTTP and SQLDB ↵jsdelfino1-2/+4
components and the Auth modules working with the HTTPD multithreaded event MPM. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1162472 13f79535-47bb-0310-9956-ffa450edef68
2011-08-14Switch from the HTTPD prefork MPM to the multi-threaded event MPM where ↵jsdelfino1-4/+17
possible. Fix multi-threading issues in the SpiderMonkey integration. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1157676 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11Upgrade to SpiderMonkey 1.8.5.jsdelfino1-11/+36
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1156555 13f79535-47bb-0310-9956-ffa450edef68
2011-04-17Fix representation of null values and escape control characters in JSON and ↵jsdelfino1-2/+6
HTTP query strings. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1094210 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21Fix Javascript test case. Enable Javascript error reporting on non-debug build.jsdelfino1-0/+3
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1083693 13f79535-47bb-0310-9956-ffa450edef68
2011-01-09Fix memory leak in Python runtime integration. Reduce memory consumption of ↵jsdelfino1-0/+8
debug trace functions. Add trace points to help track the lifecycle of some of the runtime context objects. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1056880 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24Fix roundtripping of JSON arrays, booleans and numbers, ATOM / RSS feed ↵jsdelfino1-1/+3
detection, and support REST-style JSON and XML payloads in server handler and client proxy. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1052432 13f79535-47bb-0310-9956-ffa450edef68
2010-12-08Move JavaScript eval functions to the js module.jsdelfino1-157/+32
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1043295 13f79535-47bb-0310-9956-ffa450edef68
2010-11-14Port to Ubuntu server 10.10 64-bit. C++ code fixes required to compile and ↵jsdelfino1-1/+1
run on 64-bit. Update INSTALL doc and build scripts. Remove a few obsolete scripts. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1034963 13f79535-47bb-0310-9956-ffa450edef68
2010-09-21Strip the leading '.' added by some JSON-RPC clients to method names.jsdelfino1-1/+3
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@999229 13f79535-47bb-0310-9956-ffa450edef68
2010-09-19Improvements to the oauth module and support for oauth 1.0a using liboauth.jsdelfino1-0/+4
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@998571 13f79535-47bb-0310-9956-ffa450edef68
2010-09-06Strawman implementation of the OAuth 2.0 protocol. Minor improvements to the ↵jsdelfino1-0/+7
OpenID support and changes to enable it to co-exist with OAuth. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@992963 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19Script fixes to get database working with the HTTPS-enabled store-cluster ↵jsdelfino1-1/+3
sample configuration. Also some logging improvements and aggregation of the sample logs using scribe. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@987012 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14Some refactoring of the HTTP support, tunnel Memcached requests over HTTPS ↵jsdelfino1-0/+13
and add HTTPS config to store-cluster sample. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@985561 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17Working queue and chat components. Added a few useful start/stop scripts. ↵jsdelfino1-1/+1
Fixed lifecycle code to call start/stop/restart functions before APR pools are cleaned up in both parent and child processes. Minor build script improvements. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@910819 13f79535-47bb-0310-9956-ffa450edef68
2010-01-24Working Web service component using Axis2C 1.6. Some fixes to the JSON ↵jsdelfino1-46/+50
conversion functions to correctly handle all cases of nested objects and arrays. Added support for component properties, the Web service component has a URI property that can be configured to the address of the target Web service. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@902540 13f79535-47bb-0310-9956-ffa450edef68
2010-01-17Added asserts to memory alloc functions. Fixed JSON request construction to ↵jsdelfino1-1/+1
support char func names. Reduced size of test messages to speed up test cases. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@900074 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11Minor fixes to server and python evaluator to get python store working. ↵jsdelfino1-0/+12
Some changes to python and scheme store test cases to simplify them a bit and make them consistent. Enabled a few more server test combinations. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@897785 13f79535-47bb-0310-9956-ffa450edef68
2010-01-02Cleaned up lifecycle handling of objects that hold library and file ↵jsdelfino1-11/+2
resources. Fixed pool stack initialization concurrency issue. Re-enabled watch strings to help watch compound values in debugger. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@895305 13f79535-47bb-0310-9956-ffa450edef68
2010-01-02Performance improvements when running both in multi-threaded and pre-forked ↵jsdelfino1-31/+31
HTTPD. Changed memory management to use Apache APR pools instead of ref counting pointers as it's much faster and easier to integrate with the Python and Ruby interpreters. Changed to use simple pool-based string and stream implementations instead of the STL ones, which cause a lots of mutex locks in a multi-threaded environment. Added build options to compile with threading and profiling. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@895165 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26Added missing const qualifiers, macros and util functions to help debugging, ↵jsdelfino1-3/+3
and a simple balanced tree implementation for use in lookup tables. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@893938 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30Added debug macros and cleaned up debug logging. Added locking macros used ↵jsdelfino1-1/+1
when compiling for multithreading. Fixed value conversions to numbers. Fixed compile warnings. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@885348 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23Refactored httpd server integration, split http support and server logic in ↵jsdelfino1-5/+5
two modules. Added functions to load component implementations packaged as dynamic libraries. Minor monad code cleanup, converted cast operators to separate functions. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@883249 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16Cleaning up SVN structure, moving sca trunk to sca-cpp/trunk.jsdelfino1-0/+0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@880633 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16Fixed support for nested elements and lists. Improved failure/error ↵jsdelfino1-8/+7
reporting monad. Minor code cleanup. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@880598 13f79535-47bb-0310-9956-ffa450edef68
2009-11-01Minor refactoring of read/write functions and primitive procs. Added ↵jsdelfino1-41/+53
functions to help store data in memcached. Fixes to HTTP support and more tests. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@831640 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26Minor refactoring, given each module its own namespace. Added utility ↵jsdelfino1-14/+48
functions to convert between values elements/attributes and fixed XML, ATOM and JSON serialization of lists. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@829699 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18Some fixes to the JSON and httpd support. Added support for Atom. Adjusted ↵jsdelfino1-51/+62
store test. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@826545 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11Added support for JSON-RPC to httpd module. Fixed issues with double numbers ↵jsdelfino1-25/+27
in json.hpp. Added store .html and .js files to store test case. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@823982 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05Changed XML and JSON databindings to use lazy lists and writer functions ↵jsdelfino1-48/+37
instead of STL streams, to help integrate them with HTTPD and CURL, which don't use streams. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@821715 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03Strawman implementation of a JSON data binding.jsdelfino1-0/+349
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@821429 13f79535-47bb-0310-9956-ffa450edef68