summaryrefslogtreecommitdiffstats
path: root/cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added test cases and scripts to test the HTTP binding support. Refactored ↵jsdelfino2009-11-1624-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
* Fixed parsing of comments. Added functions to read scripts and more test cases.jsdelfino2009-11-164-28/+99
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@880600 13f79535-47bb-0310-9956-ffa450edef68
* Added SCDL parsing functions. Refactored cache support with disk-cached ↵jsdelfino2009-11-1622-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
* Fixed support for nested elements and lists. Improved failure/error ↵jsdelfino2009-11-169-76/+255
| | | | | | reporting monad. Minor code cleanup. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@880598 13f79535-47bb-0310-9956-ffa450edef68
* Minor refactoring of read/write functions and primitive procs. Added ↵jsdelfino2009-11-0136-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
* Improved memory management using APR memory pools, changed frame allocation ↵jsdelfino2009-11-0122-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
* Added test cases to make check build target. Changed store-script to interop ↵jsdelfino2009-10-2621-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
* Minor refactoring, given each module its own namespace. Added utility ↵jsdelfino2009-10-2618-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
* Some fixes to the JSON and httpd support. Added support for Atom. Adjusted ↵jsdelfino2009-10-1813-100/+484
| | | | | | store test. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@826545 13f79535-47bb-0310-9956-ffa450edef68
* Renamed xml-test to xsd-test. Added another test under modules/eval.jsdelfino2009-10-184-5/+41
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@826544 13f79535-47bb-0310-9956-ffa450edef68
* Minor code cleanup, refactored list functions and cleaned up function names, ↵jsdelfino2009-10-1820-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
* Added support for JSON-RPC to httpd module. Fixed issues with double numbers ↵jsdelfino2009-10-119-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
* Some code cleanup, removed unused functions, changed == empty-list to isNil ↵jsdelfino2009-10-1113-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
* Strawman implementation of an HTTPD module, like the extensions/rest/service ↵jsdelfino2009-10-054-2/+357
| | | | | | module, but simpler. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@821716 13f79535-47bb-0310-9956-ffa450edef68
* Changed XML and JSON databindings to use lazy lists and writer functions ↵jsdelfino2009-10-055-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
* Strawman implementation of a JSON data binding.jsdelfino2009-10-036-3/+462
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@821429 13f79535-47bb-0310-9956-ffa450edef68
* Added minimal support for comments. Removed build output from version control.jsdelfino2009-10-034-8/+16
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@821428 13f79535-47bb-0310-9956-ffa450edef68
* Minor code cleanup.jsdelfino2009-10-035-34/+33
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@821427 13f79535-47bb-0310-9956-ffa450edef68
* Removed explicit C++ keywords to let the compiler perform the necessary ↵jsdelfino2009-10-0320-118/+117
| | | | | | conversions. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@821426 13f79535-47bb-0310-9956-ffa450edef68
* Refactored store tests and moved them under test/. Simplified the script ↵jsdelfino2009-10-0349-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
* Moved some sources up in the directory tree to attempt to simplify the ↵jsdelfino2009-09-2764-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
* Strawman implementation of a mini script evaluation library, which can be ↵jsdelfino2009-09-2710-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
* Created etc directory, with useful svn-config, svn-ignore and git-exclude ↵jsdelfino2009-09-274-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
* Minor cleanup, added error checking.jsdelfino2009-09-261-18/+21
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819223 13f79535-47bb-0310-9956-ffa450edef68
* Added a variant of store that implements the business logic as a set of ↵jsdelfino2009-09-2617-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
* Added some test cases, util functions to read/write XML and a command line ↵jsdelfino2009-09-267-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
* Refactored the value class. Cleaned up usage of namespaces to remove side ↵jsdelfino2009-09-2614-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
* Removed workaround from the SCA schema as it's not fixing the ambiguous ↵jsdelfino2009-09-264-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
* Added ChangeLog back as it's needed by the build tools.jsdelfino2009-09-261-0/+0
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@819218 13f79535-47bb-0310-9956-ffa450edef68
* Porting store composites to the latest schemas.jsdelfino2009-09-143-30/+30
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814497 13f79535-47bb-0310-9956-ffa450edef68
* Cleaned up old out of sync build artifacts.jsdelfino2009-09-1450-8710/+0
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814487 13f79535-47bb-0310-9956-ffa450edef68
* Fixed sample namespaces, changed from tuscany to store. Also adjusted ifndef ↵jsdelfino2009-09-149-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
* Adjusted makefiles and configure.ac to start to build the store sample.jsdelfino2009-09-143-2/+18
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814482 13f79535-47bb-0310-9956-ffa450edef68
* Utility functions and headers used by the sample store app, function ↵jsdelfino2009-09-144-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
* Starting to implement the store sample in C++. Assembling the components ↵jsdelfino2009-09-1413-0/+744
| | | | | | manually in code for now. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814480 13f79535-47bb-0310-9956-ffa450edef68
* Added a few more svn ignores and git excludes.jsdelfino2009-09-142-3/+6
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814479 13f79535-47bb-0310-9956-ffa450edef68
* Reusing SCDL 1.1 xsds from assembly-xsd module.jsdelfino2009-09-1441-0/+3904
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@814476 13f79535-47bb-0310-9956-ffa450edef68
* Made javadoc build optional for now as it pollutes the logs and confuses the ↵jsdelfino2009-09-062-1/+2
| | | | | | CDT error parser. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@811747 13f79535-47bb-0310-9956-ffa450edef68
* Moved configuration of CXXFLAGS compile options to configure.ac script to ↵jsdelfino2009-09-0621-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
* Updated svn:ignore property config file. Added Git exclude config file.jsdelfino2009-09-062-1/+65
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@811735 13f79535-47bb-0310-9956-ffa450edef68
* More fixes to the autoconf build. Fixed Samples and Distros builds.jsdelfino2009-09-0623-470/+258
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@811730 13f79535-47bb-0310-9956-ffa450edef68
* Minor changes to the Autoconf build files. SCA and SDO builds are working again.jsdelfino2009-08-2410-45/+15
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@807102 13f79535-47bb-0310-9956-ffa450edef68
* Restored Linux Autoconf build files from 1.0-M3 tag to get the SCA build ↵jsdelfino2009-08-2495-0/+3218
| | | | | | working again on Linux. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@807101 13f79535-47bb-0310-9956-ffa450edef68
* Added some debug to help why the runtime fails to load extension modulesslaws2008-10-201-0/+3
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@706175 13f79535-47bb-0310-9956-ffa450edef68
* TUSCANY-2643 - Patch supplied by Julien Bigot to correct the handling of ↵slaws2008-10-207-17/+145
| | | | | | composite scoped components. Thanks Julien. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@706173 13f79535-47bb-0310-9956-ffa450edef68
* applying TUSCANY-2439 fix to the Native SDO repoadrianocrestani2008-06-253-23/+29
| | | | git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@671633 13f79535-47bb-0310-9956-ffa450edef68
* Move Tuscany from Incubator to top level.dims2008-06-171501-0/+186463
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@668359 13f79535-47bb-0310-9956-ffa450edef68