summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/kernel/value.hpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-01-03Refactoring, rename isNil to isNull.jsdelfino1-8/+8
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1428206 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03Improve handling of nested lists, trees, null and floating point values.jsdelfino1-25/+36
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1428191 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11Port kernel to C++11 and refactor some of the core modules. Convert functors ↵jsdelfino1-187/+184
to lambdas, and add C++ const, noexcept and inline annotations to get more efficient generated code. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1419985 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-4/+7
when logging is turned off. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1308248 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20Fix stack overflow on Mac OS X.jsdelfino1-8/+23
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1172977 13f79535-47bb-0310-9956-ffa450edef68
2011-04-17Fix representation of null values and escape control characters in JSON and ↵jsdelfino1-7/+21
HTTP query strings. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1094210 13f79535-47bb-0310-9956-ffa450edef68
2011-02-26Correctly pass query strings through component wiring redirects and improve ↵jsdelfino1-1/+1
format of XML and JSON response documents. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1074924 13f79535-47bb-0310-9956-ffa450edef68
2010-09-06Strawman implementation of the OAuth 2.0 protocol. Minor improvements to the ↵jsdelfino1-0/+19
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-16Test Postgresql hot standby + replication and integrated Postgresql database ↵jsdelfino1-0/+12
in store-cluster sample. Add a front cache component which can be used to wire a cache component and a database component. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@985799 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22Moved component start calls from HTTPD postConfig to childInit, to give ↵jsdelfino1-0/+9
components an opportunity to start and setup connections and resources in each HTTPD child process. Adjusted utility components and test cases to this change. Minor code cleanup of Java components and integration tests. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@912491 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17Working queue and chat components. Added a few useful start/stop scripts. ↵jsdelfino1-0/+24
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-11Improvements to autoconf build to make support for python, web service etc ↵jsdelfino1-7/+6
and relevant test cases optional and generate ac_defines used in ifdefs to check for debug and multithreading. Moved some optional code and test cases around to run them only when the tested features are built. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@897791 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05Minor cleanup, removed unused poolptr and char value types.jsdelfino1-94/+1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@895954 13f79535-47bb-0310-9956-ffa450edef68
2010-01-02Cleaned up lifecycle handling of objects that hold library and file ↵jsdelfino1-1/+1
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-84/+100
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-68/+158
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-42/+99
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-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-1/+43
reporting monad. Minor code cleanup. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@880598 13f79535-47bb-0310-9956-ffa450edef68
2009-11-01Improved memory management using APR memory pools, changed frame allocation ↵jsdelfino1-23/+85
in eval library to support forward references and fixed memory leak in XML parsing code. Also simplified a bit the printing of lists to make them easier to read. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@831639 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26Minor refactoring, given each module its own namespace. Added utility ↵jsdelfino1-32/+9
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-18Minor code cleanup, refactored list functions and cleaned up function names, ↵jsdelfino1-3/+52
moved support for elements to a new header file. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@826543 13f79535-47bb-0310-9956-ffa450edef68
2009-10-11Some code cleanup, removed unused functions, changed == empty-list to isNil ↵jsdelfino1-7/+7
to avoid unnecessary construction of empty lists, replaced some casts by generic declarations. Added simple maybe, failable and state monad classes to help return optional objects or failures and carry state around. Added utility functions to zip and unzip list. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@823981 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03Minor code cleanup.jsdelfino1-1/+5
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@821427 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03Removed explicit C++ keywords to let the compiler perform the necessary ↵jsdelfino1-8/+8
conversions. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@821426 13f79535-47bb-0310-9956-ffa450edef68
2009-09-27Moved some sources up in the directory tree to attempt to simplify the ↵jsdelfino1-0/+0
directory structure a bit, and some minor refactoring. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819394 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26Refactored the value class. Cleaned up usage of namespaces to remove side ↵jsdelfino1-98/+114
effects from includes. Added a few util functions to help work with threads. Added synchronizations to make pointers thread safe. Adjusted store sample to refactoring. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819220 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14Utility functions and headers used by the sample store app, function ↵jsdelfino1-0/+341
objects, lists and strawman pointer utils. Started to implement a generic value holder object that can help exchange data with scripting components. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814481 13f79535-47bb-0310-9956-ffa450edef68