summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/kernel/function.hpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2010-11-14Port to Ubuntu server 10.10 64-bit. C++ code fixes required to compile and ↵jsdelfino1-2/+2
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-01-11Improvements to autoconf build to make support for python, web service etc ↵jsdelfino1-2/+2
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-06Added a few more python and C++ component test combinations.jsdelfino1-1/+1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@896332 13f79535-47bb-0310-9956-ffa450edef68
2010-01-06Fixes to make build work on Ubuntu Jaunty 9.04.jsdelfino1-1/+1
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@896329 13f79535-47bb-0310-9956-ffa450edef68
2010-01-02Performance improvements when running both in multi-threaded and pre-forked ↵jsdelfino1-26/+14
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-14/+29
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-01Improved memory management using APR memory pools, changed frame allocation ↵jsdelfino1-10/+12
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-2/+2
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-0/+8
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-12/+5
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-03Removed explicit C++ keywords to let the compiler perform the necessary ↵jsdelfino1-4/+4
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-27/+24
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/+235
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