Commit graph

70 commits

Author SHA1 Message Date
jsdelfino
64587892af Increase log buffer size.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1517423 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 05:18:17 +00:00
jsdelfino
91c4354f61 Fix build errors with latest GCC and CLang compilers.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1517422 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 05:18:15 +00:00
jsdelfino
7905926c41 Support sorting database search results by rank, and add a rank attribute to ATOM entries.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1517412 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 03:04:23 +00:00
jsdelfino
2853156a2b Refactoring, rename isNil to isNull.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1428206 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 08:10:25 +00:00
jsdelfino
157ca678de Improve handling of nested lists, trees, null and floating point values.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1428191 13f79535-47bb-0310-9956-ffa450edef68
2013-01-03 07:41:02 +00:00
jsdelfino
ae0b7c0063 Port kernel to C++11 and refactor some of the core modules. Convert functors 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-12-11 03:51:03 +00:00
jsdelfino
574ccee478 Minor memory management, performance, and tracing improvements.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1361917 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 06:48:11 +00:00
jsdelfino
f278315081 Improve error reporting with a reason code. Improve debug and audit logging. 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-05-28 04:39:18 +00:00
jsdelfino
a6d8c8ff0c Add more fine grain debug options and remove overhead in debug log macros when logging is turned off.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1308248 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 06:24:05 +00:00
jsdelfino
6f1d9dd9f4 Add options to use mmap or electric fence to check memory accesses, and fix a few memory access violations.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1294008 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 03:26:59 +00:00
jsdelfino
a07d4945c1 Fix mapping between repeating XML elements, S-expression lists, and JSON array cells.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1294006 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 03:26:51 +00:00
jsdelfino
4f245967cb Optimize server modules a bit. Pass individual config elements instead of the whole server config. Load target composite once into the request. Enable loading of shared component implementations from the main contribution.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1291134 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 07:20:22 +00:00
jsdelfino
d907c6fe64 Add a partitioner component, which combined with a selector component can be used to implement data partitioning, sharding, or data access load balancing for example.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1231822 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 03:49:08 +00:00
jsdelfino
681567b281 Use HTTPD ap_log_error instead of stderr to log when running inside HTTPD, to get log piping and rotation to work.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1222604 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 08:18:38 +00:00
jsdelfino
cc233e5d22 Fix build and install errors on Mac OS X. Add missing scripts to forward IP ports on Mac OS X.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1209010 13f79535-47bb-0310-9956-ffa450edef68
2011-12-01 09:09:05 +00:00
jsdelfino
d59fdfce0f Enable log collection using Scribe, and some minor log cleanup.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1208240 13f79535-47bb-0310-9956-ffa450edef68
2011-11-30 03:46:48 +00:00
jsdelfino
ce2b2a6f5c Change default log level from 'info' to 'notice' and improve some of the log messages.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1204402 13f79535-47bb-0310-9956-ffa450edef68
2011-11-21 08:47:18 +00:00
jsdelfino
09db0fb6ee Fix stack overflow on Mac OS X.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1172977 13f79535-47bb-0310-9956-ffa450edef68
2011-09-20 04:45:31 +00:00
jsdelfino
a44b60593a Improve logging with multiple threads and processes.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1165450 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 23:30:20 +00:00
jsdelfino
763f84a6da Build with Clang/LLVM when available.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1164964 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 06:02:25 +00:00
jsdelfino
88fb903346 Implement an OpenCL component implementation evaluator. Add OpenCL tests, working on Ubuntu and MacOS with both CPU and NVIDIA and ATI GPUs.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1162473 13f79535-47bb-0310-9956-ffa450edef68
2011-08-28 02:50:09 +00:00
jsdelfino
29edc4e6fb Implement a portable alternative to __thread and get the HTTP and SQLDB components and the Auth modules working with the HTTPD multithreaded event MPM.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1162472 13f79535-47bb-0310-9956-ffa450edef68
2011-08-28 02:50:02 +00:00
jsdelfino
ab81b661aa Add more complete test of multi-threaded worker, work queue and thread local storage.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1156460 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 02:59:20 +00:00
jsdelfino
caec161501 Port to Mac OS X 10.6.7.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1140690 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 15:50:47 +00:00
jsdelfino
874620b24e Refactor some of the extensions and remove unnecessary namespace prefixes.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1126298 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 02:29:02 +00:00
jsdelfino
a0f6883021 Fix representation of null values and escape control characters in JSON and HTTP query strings.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1094210 13f79535-47bb-0310-9956-ffa450edef68
2011-04-17 22:14:18 +00:00
jsdelfino
038525403e Fix performance and security issues reported by pagespeed and skipfish.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1088508 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 08:46:08 +00:00
jsdelfino
49b878b1b0 Change ATOM and RSS feed representations to use name value pairs instead of just strings, to allow support for all ATOM and RSS attributes and avoid confusion with non-feed string results.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1079292 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 08:18:07 +00:00
jsdelfino
60646adbda Fix test case broken by XML document indentation format change.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1074984 13f79535-47bb-0310-9956-ffa450edef68
2011-02-27 04:10:40 +00:00
jsdelfino
7c018c6fb6 Correctly pass query strings through component wiring redirects and improve format of XML and JSON response documents.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1074924 13f79535-47bb-0310-9956-ffa450edef68
2011-02-26 20:59:35 +00:00
jsdelfino
2e9c610931 Fix memory leak in Python runtime integration. Reduce memory consumption of debug trace functions. Add trace points to help track the lifecycle of some of the runtime context objects.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1056880 13f79535-47bb-0310-9956-ffa450edef68
2011-01-09 03:39:08 +00:00
jsdelfino
74aef8947b Fix roundtripping of JSON arrays, booleans and numbers, ATOM / RSS feed detection, and support REST-style JSON and XML payloads in server handler and client proxy.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1052432 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 02:54:39 +00:00
jsdelfino
a4f8fcde0e Add support for XML and JSON formats to file database component.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1052430 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 02:54:28 +00:00
jsdelfino
2c7009b520 Port to Ubuntu server 10.10 64-bit. C++ code fixes required to compile and 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-11-14 09:27:28 +00:00
jsdelfino
2d574d2281 Strawman implementation of the OAuth 2.0 protocol. Minor improvements to the 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-09-06 07:45:00 +00:00
jsdelfino
163a913a22 Make sure components execute in the correct contribution directory and fix support for Python relative module imports.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@990483 13f79535-47bb-0310-9956-ffa450edef68
2010-08-29 03:19:48 +00:00
jsdelfino
768a1e33e5 Script fixes to get database working with the HTTPS-enabled store-cluster 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-08-19 04:10:43 +00:00
jsdelfino
16f96409b9 Test Postgresql hot standby + replication and integrated Postgresql database 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-08-16 06:15:24 +00:00
jsdelfino
d6451b8170 Some refactoring of the HTTP support, tunnel Memcached requests over HTTPS and add HTTPS config to store-cluster sample.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@985561 13f79535-47bb-0310-9956-ffa450edef68
2010-08-14 18:46:26 +00:00
jsdelfino
ac8bb2ddec Minimal support for implementation.widget, using simplified (and generic) JSONRPC and ATOMPub Javascript proxies. Minor changes to the server runtime to serve reference requests from widgets. Adjust and simplified samples using the widget support.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@959521 13f79535-47bb-0310-9956-ffa450edef68
2010-07-01 06:04:35 +00:00
jsdelfino
70520addf9 Add build support for a minimum distribution using prebuilt dependencies from Ubuntu 9.10.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@951656 13f79535-47bb-0310-9956-ffa450edef68
2010-06-05 05:38:55 +00:00
jsdelfino
c28aa6b491 Upgrade SCDL schemas to cd05 level. Remove unused and unsupported schemas. Add SCDL schema validation test case.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@950343 13f79535-47bb-0310-9956-ffa450edef68
2010-06-02 02:56:25 +00:00
jsdelfino
7808f187b6 Add support for RSS feeds and minor fixes to ATOM support.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@949652 13f79535-47bb-0310-9956-ffa450edef68
2010-05-31 02:29:45 +00:00
jsdelfino
e5a49fff24 Fix distribution build, add missing files and samples and fix path to libraries. GCC 4.5 is used if available but not installed automatically.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@949435 13f79535-47bb-0310-9956-ffa450edef68
2010-05-29 19:44:35 +00:00
jsdelfino
b174f527dc Add a test for lambda expressions with gcc-4.5 and change build script to require gcc-4.5.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@935247 13f79535-47bb-0310-9956-ffa450edef68
2010-04-17 20:21:32 +00:00
jsdelfino
da7c427739 Removed build output from version control.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@933116 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 07:00:38 +00:00
jsdelfino
76361f54a8 Add various utility hash functions, useful to hash and retrieve keys from a datastore.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@933115 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 06:57:32 +00:00
jsdelfino
99af35834f Minor fixes to distro build. Added missing scripts. Placed libraries in the correct module and component directories.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@917438 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 09:59:18 +00:00
jsdelfino
7ca235a3a0 Fixed build errors, undefined AC_PROG_JAR autoconf macro, debug macro redefinition.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@916151 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 06:41:37 +00:00
jsdelfino
8c771c8ecd Moved component start calls from HTTPD postConfig to childInit, to give 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-22 06:08:34 +00:00