summaryrefslogtreecommitdiffstats
path: root/cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-11-16Added test cases and scripts to test the HTTP binding support. Refactored ↵jsdelfino24-831/+1497
httpd module and added a wiring httpd module. Implementation of the store demo prepared for ApacheCon. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@880601 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16Fixed parsing of comments. Added functions to read scripts and more test cases.jsdelfino4-28/+99
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@880600 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16Added SCDL parsing functions. Refactored cache support with disk-cached ↵jsdelfino22-159/+775
functions that can be used to cache SCDL files. Minor makefile updates to get build and ctags working on Ubuntu 9.10. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@880599 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16Fixed support for nested elements and lists. Improved failure/error ↵jsdelfino9-76/+255
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 ↵jsdelfino36-337/+1135
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-11-01Improved memory management using APR memory pools, changed frame allocation ↵jsdelfino22-148/+424
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-26Added test cases to make check build target. Changed store-script to interop ↵jsdelfino21-141/+1239
with java store sample. Added reference support to http module. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@829700 13f79535-47bb-0310-9956-ffa450edef68
2009-10-26Minor refactoring, given each module its own namespace. Added utility ↵jsdelfino18-217/+527
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 ↵jsdelfino13-100/+484
store test. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@826545 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18Renamed xml-test to xsd-test. Added another test under modules/eval.jsdelfino4-5/+41
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@826544 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18Minor code cleanup, refactored list functions and cleaned up function names, ↵jsdelfino20-214/+452
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-11Added support for JSON-RPC to httpd module. Fixed issues with double numbers ↵jsdelfino9-123/+1121
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-11Some code cleanup, removed unused functions, changed == empty-list to isNil ↵jsdelfino13-82/+633
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-05Strawman implementation of an HTTPD module, like the extensions/rest/service ↵jsdelfino4-2/+357
module, but simpler. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@821716 13f79535-47bb-0310-9956-ffa450edef68
2009-10-05Changed XML and JSON databindings to use lazy lists and writer functions ↵jsdelfino5-138/+258
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.jsdelfino6-3/+462
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@821429 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03Added minimal support for comments. Removed build output from version control.jsdelfino4-8/+16
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@821428 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03Minor code cleanup.jsdelfino5-34/+33
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 ↵jsdelfino20-118/+117
conversions. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@821426 13f79535-47bb-0310-9956-ffa450edef68
2009-10-03Refactored store tests and moved them under test/. Simplified the script ↵jsdelfino49-281/+551
evaluation logic a little, added an apply procedure and support for variable lists of args. Added a test case that assembles the store app using a script. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@821425 13f79535-47bb-0310-9956-ffa450edef68
2009-09-27Moved some sources up in the directory tree to attempt to simplify the ↵jsdelfino64-31/+53
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-27Strawman implementation of a mini script evaluation library, which can be ↵jsdelfino10-0/+1234
used for simple test case components without requiring integration with bigger and more complex 3rd party script engines like Ruby or Python. That way the core test cases should work without requiring the more complex Python or Ruby extensions to work. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819393 13f79535-47bb-0310-9956-ffa450edef68
2009-09-27Created etc directory, with useful svn-config, svn-ignore and git-exclude ↵jsdelfino4-0/+265
configured for the use with the sca project. Added a utility script to run valgrind on an executable and produce a memory usage report. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819392 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26Minor cleanup, added error checking.jsdelfino1-18/+21
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819223 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26Added a variant of store that implements the business logic as a set of ↵jsdelfino17-21/+684
functions stringed together instead of classes, to help see how that style can help simplify the component assembly process. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819222 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26Added some test cases, util functions to read/write XML and a command line ↵jsdelfino7-2/+948
test program to help validate SCDL against the schemas. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819221 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26Refactored the value class. Cleaned up usage of namespaces to remove side ↵jsdelfino14-221/+518
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-26Removed workaround from the SCA schema as it's not fixing the ambiguous ↵jsdelfino4-24/+46
particle issue in the schema anyway. Added implementation-widget schema. Removed unusued file. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819219 13f79535-47bb-0310-9956-ffa450edef68
2009-09-26Added ChangeLog back as it's needed by the build tools.jsdelfino1-0/+0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819218 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14Porting store composites to the latest schemas.jsdelfino3-30/+30
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814497 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14Cleaned up old out of sync build artifacts.jsdelfino50-8710/+0
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814487 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14Fixed sample namespaces, changed from tuscany to store. Also adjusted ifndef ↵jsdelfino9-34/+51
statements in includes to match namespace + include name. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814486 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14Adjusted makefiles and configure.ac to start to build the store sample.jsdelfino3-2/+18
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814482 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14Utility functions and headers used by the sample store app, function ↵jsdelfino4-0/+1193
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
2009-09-14Starting to implement the store sample in C++. Assembling the components ↵jsdelfino13-0/+744
manually in code for now. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814480 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14Added a few more svn ignores and git excludes.jsdelfino2-3/+6
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814479 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14Reusing SCDL 1.1 xsds from assembly-xsd module.jsdelfino41-0/+3904
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814476 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06Made javadoc build optional for now as it pollutes the logs and confuses the ↵jsdelfino2-1/+2
CDT error parser. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@811747 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06Moved configuration of CXXFLAGS compile options to configure.ac script to ↵jsdelfino21-45/+16
make them consistent across the project. Increased warning level and enabled support for debug and profiling. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@811742 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06Updated svn:ignore property config file. Added Git exclude config file.jsdelfino2-1/+65
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@811735 13f79535-47bb-0310-9956-ffa450edef68
2009-09-06More fixes to the autoconf build. Fixed Samples and Distros builds.jsdelfino23-470/+258
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@811730 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24Minor changes to the Autoconf build files. SCA and SDO builds are working again.jsdelfino10-45/+15
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@807102 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24Restored Linux Autoconf build files from 1.0-M3 tag to get the SCA build ↵jsdelfino95-0/+3218
working again on Linux. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@807101 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20Added some debug to help why the runtime fails to load extension modulesslaws1-0/+3
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@706175 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20TUSCANY-2643 - Patch supplied by Julien Bigot to correct the handling of ↵slaws7-17/+145
composite scoped components. Thanks Julien. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@706173 13f79535-47bb-0310-9956-ffa450edef68
2008-06-25applying TUSCANY-2439 fix to the Native SDO repoadrianocrestani3-23/+29
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@671633 13f79535-47bb-0310-9956-ffa450edef68