summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/kernel/monad.hpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-11-30Enable log collection using Scribe, and some minor log cleanup.jsdelfino1-11/+15
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1208240 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21Change default log level from 'info' to 'notice' and improve some of the log ↵jsdelfino1-0/+5
messages. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1204402 13f79535-47bb-0310-9956-ffa450edef68
2010-08-19Script fixes to get database working with the HTTPS-enabled store-cluster ↵jsdelfino1-1/+8
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-02-07Moved server configuration to HTTPD postConfig phase, to avoid running ↵jsdelfino1-0/+5
configuration commands twice and added a way for runtime modules and components to handle start/restart/stop events. Improved build scripts a little, to not depend on external environment variables. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@907352 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11Improvements to autoconf build to make support for python, web service etc ↵jsdelfino1-1/+0
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-02Cleaned up lifecycle handling of objects that hold library and file ↵jsdelfino1-5/+9
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-28/+21
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-13/+13
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-0/+3
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-55/+82
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-6/+75
reporting monad. Minor code cleanup. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@880598 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18Minor code cleanup, refactored list functions and cleaned up function names, ↵jsdelfino1-6/+6
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-0/+386
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