1
0
Fork 0
Commit Graph

2109 Commits

Author SHA1 Message Date
Jan Steemann f09122959c tried to fix SSL shutdown memleak 2014-09-29 14:41:21 +02:00
Jan Steemann 0d075dca3f pass queryRegistry into the AQL functions 2014-09-29 09:30:32 +02:00
Max Neunhoeffer 046d4f524d Implement getSome for RemoteBlock. 2014-09-26 16:19:25 +02:00
Max Neunhoeffer 784a299ab8 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-09-24 16:17:44 +02:00
Max Neunhoeffer cf5e1be91e Version version of HTTP API done. 2014-09-24 16:17:18 +02:00
Jan Steemann c8fba4c9be fixes for Visual Studio 2014-09-24 15:41:26 +02:00
Jan Steemann 1c134bd8a7 fixed off by one errors 2014-09-24 15:15:06 +02:00
Jan Steemann d5fb057603 less locking 2014-09-24 13:32:39 +02:00
Jan Steemann dbf964e204 small optimizations 2014-09-24 12:09:13 +02:00
Jan Steemann ddfb5c965d merged experimental features 2014-09-24 09:42:16 +02:00
Max Neunhoeffer 1f74a64b58 Implement POST for HTTP API for queries. 2014-09-23 16:51:03 +02:00
Jan Steemann d2f86ef8a0 macos 2014-09-23 10:22:03 +02:00
Jan Steemann ae4b46ae86 fixed fake locks on macos 2014-09-23 09:56:13 +02:00
Jan Steemann f4eab1abe9 macos 2014-09-23 09:38:16 +02:00
Jan Steemann 0b647f65a0 macos 2014-09-23 09:28:09 +02:00
Jan Steemann 9202720d53 lol jan 2014-09-23 09:21:01 +02:00
Jan Steemann 9a6dfa1db2 execute several types of expressions in C++ 2014-09-19 15:21:01 +02:00
Jan Steemann 03252d6244 added reserve() method 2014-09-19 12:44:19 +02:00
Jan Steemann c0a9d189c5 better error messages if mkdir fails 2014-09-18 17:48:05 +02:00
Jan Steemann 1016debd2e more robust recovery 2014-09-18 17:47:37 +02:00
Jan Steemann 307766cf13 fixed memleak in async jobs 2014-09-18 15:05:49 +02:00
Jan Steemann 04ae26a7fe added tests for skiplists 2014-09-18 14:45:45 +02:00
Max Neunhoeffer 3c675fee44 Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2 2014-09-17 14:08:18 +02:00
Max Neunhoeffer 2cdc5f4cd7 Fix skiplistback-ung and usage in AQL. 2014-09-17 14:07:23 +02:00
Jan Steemann e5e2cfe4da Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2014-09-17 11:50:42 +02:00
Jan Steemann d3f4f05df1 issue #1020 2014-09-17 11:42:01 +02:00
Jan Steemann 93ed0f2255 added reverse iteration for skiplists 2014-09-16 22:23:40 +02:00
Jan Steemann 85c96f2113 simplified hash index functions 2014-09-16 20:22:12 +02:00
Max Neunhoeffer ed63d2f58c Fix a bug introduced in the skiplist code when C++izing it. 2014-09-16 15:57:47 +02:00
Max Neunhoeffer 2b18e0379f C++-ize skip lists and introduce a backward link. 2014-09-16 14:57:16 +02:00
Max Neunhoeffer c57569a27c Start to reintroduce backpointers in skiplist.
Also need an non-nullptr end node now.
2014-09-16 00:17:04 +02:00
Jan Steemann 481a16fd7a removed bitarray indexes 2014-09-15 14:19:38 +02:00
Jan Steemann f2c249f16a removed debug output 2014-09-15 12:43:41 +02:00
Jan Steemann 5a1dc63946 fixed tons of compile errors in VS 2014-09-15 12:04:49 +02:00
Jan Steemann 8f27ef531c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	scripts/run
2014-09-15 09:51:04 +02:00
Max Neunhoeffer 42257d51e8 Make it compile again. 2014-09-14 22:26:36 +02:00
Frank Celler e1b9e343bb added maintenance mode 2014-09-14 21:44:42 +02:00
Jan Steemann 4e6f6f2cbd finalized move to cxx 2014-09-14 00:06:00 +02:00
Jan Steemann f5c3ee89c7 renamed last C files 2014-09-13 23:29:53 +02:00
Jan Steemann aa20c9e980 renamed last C files... 2014-09-13 22:38:25 +02:00
Jan Steemann 506936dcdb rename orgy 2014-09-13 02:35:13 +02:00
Jan Steemann 669cb3b235 renamed files 2014-09-13 01:44:01 +02:00
Jan Steemann 953b8cdfe3 renamed files 2014-09-13 00:34:48 +02:00
Jan Steemann 0dc0bc834f more files renamed 2014-09-13 00:20:30 +02:00
Jan Steemann 87afcf5e8d the great rename 2014-09-13 00:10:11 +02:00
Jan Steemann 6552490cbe Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/Aql/ExecutionNode.cpp
	arangod/Aql/ExecutionNode.h
	arangod/Aql/ExecutionPlan.cpp
	arangod/Aql/OptimizerRules.cpp
2014-09-12 15:17:50 +02:00
Jan Steemann a5c52998e8 remove redundant calculations 2014-09-12 15:10:48 +02:00
Max Neunhoeffer d1e02c2e7b Ignore an unused parameter. 2014-09-12 14:43:23 +02:00
Max Neunhoeffer d12bb6f86c Ignore unused parameters. 2014-09-12 14:43:05 +02:00
Max Neunhoeffer d6268fc75b Fix a but where a type argument was unused. 2014-09-12 14:42:26 +02:00
Jan Steemann ce104ce81a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-09-10 13:29:17 +02:00
Jan Steemann e653552c5e issue #997: added large file support for Windows 2014-09-10 13:12:18 +02:00
Willi Goesgens 4c91bce5a7 fix typo 2014-09-10 11:06:29 +02:00
Jan Steemann f053299f9a check memory 2014-09-10 10:54:11 +02:00
Jan Steemann c16ddedc83 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
	js/apps/system/aardvark/frontend/js/bootstrap/errors.js
	js/common/bootstrap/errors.js
	js/server/modules/org/arangodb/ahuacatl.js
	js/server/modules/org/arangodb/aql-helper.js
	js/server/tests/shell-skiplist-index.js
2014-09-09 22:18:52 +02:00
Jan Steemann 3ea0c8ec28 remove pending dispatcher jobs on shutdown 2014-09-08 15:03:19 +02:00
Alan Plum b0995dfdb7 Replaced PBKDF2_HMAC with PBKDF2_HMAC_SHA1 for OSX compat. 2014-09-08 14:32:40 +02:00
Jan Steemann 6d83700478 disable spinlocks in debugging 2014-09-08 14:14:39 +02:00
Jan Steemann a0868577ca tried to diagnose logger races 2014-09-08 09:30:56 +02:00
Alan Plum 6f9376e264 Fixed PBKDF2HMAC comment. 2014-09-05 16:35:27 +02:00
Alan Plum 469af580e5 Added PBKDF2-HMAC. 2014-09-05 16:23:37 +02:00
Frank Celler 4ffec6e914 tried to silence rpmlint: remove empty files, remove unused scripts, fixed initgroups, fixed identical files, remove __DATE__
Conflicts:
	CHANGELOG
	Makefile.in
2014-09-05 09:28:21 +02:00
Max Neunhoeffer 63020e078e Prevent readline-history memleak. 2014-09-05 09:11:25 +02:00
Alan Plum 4e3659c01a Added support for sha384, sha512. 2014-09-04 23:17:58 +02:00
Jan Steemann 005e727bde Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	lib/V8/v8-conv.cpp
2014-09-01 16:15:32 +02:00
Jan Steemann 848ce68dc3 fixed too eager duplicates check for shaper 2014-09-01 15:48:58 +02:00
Jan Steemann aadd0f9254 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/Utils/CollectionNameResolver.h
	arangod/V8Server/v8-vocbase.cpp
2014-08-30 17:35:08 +02:00
Jan Steemann 7771621fc6 take compatibility settings into account even for async requests 2014-08-30 17:26:45 +02:00
Jan Steemann d1454294c1 removed hard-coded value 2014-08-30 17:26:36 +02:00
Jan Steemann 66d556b003 re-added cases for data types 2014-08-30 02:42:35 +02:00
Jan Steemann 799a845967 added V8StringConverter 2014-08-30 02:32:59 +02:00
Jan Steemann 1367a016cf Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-08-29 20:38:30 +02:00
Willi Goesgens be1c84f480 Exceptions: don't print Backtraces if the exception is handled in the subsequent js code. 2014-08-29 12:15:19 +02:00
Jan Steemann 5928d285ad fixed WAL recovery which hung in certain conditions 2014-08-29 12:03:38 +02:00
Jan Steemann b54e791f8f Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-08-28 22:23:25 +02:00
Jan Steemann d72354da66 issue #1003: added feature to use backslash escaping for CSV data in arangoimp 2014-08-28 21:03:58 +02:00
Jan Steemann a014b44ba4 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/Utils/Transaction.h
2014-08-28 11:06:14 +02:00
Jan Steemann 81c095105b issue #1003 2014-08-28 10:32:32 +02:00
Jan Steemann cd1d0c45f8 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-query.cpp
2014-08-27 19:25:37 +02:00
Jan Steemann cda10393f5 some traversal speedups 2014-08-27 18:56:51 +02:00
Thomas Schmidts f964696ec1 Fixed wrong spelling in the errors 2014-08-25 15:56:34 +02:00
Willi Goesgens 91d420ea07 Merge branch 'aql2' of github.com:triAGENS/ArangoDB into aql2 2014-08-25 13:33:59 +02:00
Willi Goesgens e65a53475b improve Exceptionhandling
- add backtraces
  - derive public from std::exception so the usual catch to these kicks in.
2014-08-25 13:31:53 +02:00
James 776cb02f1e Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2 2014-08-25 13:12:54 +02:00
James 09f945eaf7 added some constructors for Json with TRI_json_t const* as arg. 2014-08-25 13:05:48 +02:00
Willi Goesgens 903a3f06ba Add function pointer to the demangled output of the backtrace, which can be used like this:
addr2line -e bin/arangod 0xaddb74
to obtain the line number of the stackframe.
2014-08-25 10:52:22 +02:00
Jan Steemann f6b424b833 use auto 2014-08-23 03:20:38 +02:00
Jan Steemann 6f5271823e use auto 2014-08-23 01:54:28 +02:00
Jan Steemann 51515afb68 optimization for the empty string 2014-08-23 01:28:40 +02:00
Jan Steemann dcfa59806e more C++11 2014-08-23 00:51:13 +02:00
Jan Steemann 86bf8e3c4f removed unused function argument 2014-08-23 00:50:37 +02:00
Jan Steemann 70732ce9ef added derived file 2014-08-22 21:53:54 +02:00
Jan Steemann 7330597f15 fixed ambigious method JsonHelper::getStringValue 2014-08-22 21:53:29 +02:00
Jan Steemann a70a9613f6 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	lib/BasicsC/voc-errors.h
2014-08-22 21:51:38 +02:00
Jan Steemann 04fbe668cc Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-08-22 17:58:12 +02:00
Jan Steemann 9f9277357b some more asserts 2014-08-22 17:57:47 +02:00
Max Neunhoeffer 3413eec1b7 Fix a merge mistake. 2014-08-22 17:03:45 +02:00
Max Neunhoeffer 4b229c5873 Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	lib/Basics/JsonHelper.h
2014-08-22 17:02:06 +02:00
James 931aaee618 Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/Aql/OptimizerRules.cpp
2014-08-22 16:19:01 +02:00
James 4c49a3be5e deserialising of IndexRangeNode almost completed. 2014-08-22 16:17:10 +02:00
James 0c4f8c1466 adding some more helper functions to get json array entries. 2014-08-22 15:05:08 +02:00
Jan Steemann 45d5d0f53a cppcheck 2014-08-22 13:53:21 +02:00
Max Neunhoeffer e5f09bfd87 Fix an invalid throw() by removing it. 2014-08-22 13:46:33 +02:00
Jan Steemann c0d0c0c347 fail when using wrong memory zone 2014-08-22 13:07:00 +02:00
Jan Steemann 0f03ca0a2b cppcheck 2014-08-22 12:50:06 +02:00
Max Neunhoeffer 5d15b4fba5 Silence an (unjustified) compiler warning. 2014-08-22 09:33:26 +02:00
Willi Goesgens 37a636d929 Add deleted constructor to avoid the compiler falling through to the bool constructor in case of missuse. 2014-08-20 16:56:52 +02:00
Jan Steemann 99ce138c12 fixed creation of subqueries from JSON input 2014-08-19 18:51:11 +02:00
Willi Goesgens 49126ea6c1 empty change 2014-08-19 16:10:38 +02:00
Frank Celler 9fa3d22d6c towards new dispatcher interface 2014-08-18 23:37:32 +02:00
Max Neunhoeffer 1e592cebb9 Delete const copy constructor for better error messages. 2014-08-15 16:38:34 +02:00
Max Neunhoeffer 86055a7773 Further cleanup of Json wrapper class. 2014-08-15 14:38:10 +02:00
Max Neunhoeffer 21eda8a212 Withdraw some operator magic for Json wrapper class. 2014-08-15 13:29:01 +02:00
James b5327b3770 Merge branch 'aql2' of ssh://github.com/triAGENS/ArangoDB into aql2 2014-08-14 15:21:07 +02:00
James 392c1db4c3 JS_ExecuteAql now returns a cursor. 2014-08-14 15:20:52 +02:00
Max Neunhoeffer 2bf01eae1b Remove tabs. 2014-08-14 13:07:20 +02:00
Willi Goesgens a5c031505b Merge branch 'aql2' of github.com:triAGENS/ArangoDB into aql2 2014-08-13 17:12:46 +02:00
Willi Goesgens dd1845ac8a Print beautiful stacktraces for C-Asserts. 2014-08-13 17:09:27 +02:00
Jan Steemann 30b32f1f90 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/Ahuacatl/ahuacatl-grammar.h
	arangod/V8Server/v8-vocbase.cpp
	js/server/tests/ahuacatl-general-graph.js
2014-08-13 16:29:57 +02:00
Jan Steemann 0a70e979f8 call `toJSON` function of objects (if present) when serializing 2014-08-13 16:05:58 +02:00
Max Neunhoeffer 28f0d7be05 Sort out TRI_CompareValuesJson to use UTF8 on demand. 2014-08-13 14:22:05 +02:00
Frank Celler f6e242039d relaxed % and escaping 2014-08-12 14:53:59 +02:00
Jan Steemann a2061f66a3 Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-08-11 14:54:25 +02:00
Jan Steemann 24f1f979d0 fixed jsonification of values 2014-08-11 14:54:14 +02:00
Max Neunhoeffer e065c1e507 Fix a bug in JsonHelper about autofree. 2014-08-11 14:28:34 +02:00
Frank Celler cc91cd1cb0 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-08-11 12:43:47 +02:00
James a4f357c15e EnumerateListBlock now working for JSON lists and prepended "explicit" to Json constructors.. 2014-08-08 09:43:54 +02:00
Jan Steemann c7350c4c06 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
2014-08-07 16:12:14 +02:00
Jan Steemann 099ec8db60 reallow attribute names starting with underscores 2014-08-07 15:52:58 +02:00
Jan Steemann cb2e9a8a37 fixed JSON conversion 2014-08-07 15:48:33 +02:00
Frank Celler be06ef7f25 new upgrade-database (formely known as version-check) and new startup procedure 2014-08-07 14:12:19 +02:00
Jan Steemann 1015404edc working on AQL function calls and error handling 2014-08-06 16:19:43 +02:00
Jan Steemann ac7b47c0b7 nullptr 2014-08-06 09:42:36 +02:00
Jan Steemann fe4d83e80b Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	Documentation/Books/Users/Aql/README.mdpp
	Documentation/Books/Users/AqlExtending/README.mdpp
2014-08-05 15:09:28 +02:00
Thomas Schmidts baf6635627 Added missing methods to fs module. fix #978 2014-08-05 13:37:40 +02:00
Jan Steemann 196441b9b4 improved v8 object generation 2014-08-05 13:23:37 +02:00
Jan Steemann 6e09cd1736 gcc 2014-08-05 09:07:11 +02:00
Max Neunhoeffer 87a36596b1 Change Json format of ExecutionPlans. 2014-07-30 15:20:09 +02:00
Jan Steemann 376ae9b8dc Merge branch 'aql2' of https://github.com/triAGENS/ArangoDB into aql2 2014-07-30 12:30:20 +02:00
Jan Steemann f4e8775ddc nicer parser error messages 2014-07-30 12:30:06 +02:00
Max Neunhoeffer b9e5218d81 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into aql2 2014-07-30 09:46:13 +02:00
Jan Steemann b657c61bee readline vs. linenoise vs. dummyshell: finally... 2014-07-30 09:43:38 +02:00
Max Neunhoeffer 8f1945bba7 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into aql2 2014-07-30 09:32:26 +02:00
Jan Steemann 728a439d3f readline vs. linenoise vs. dummyshell: next try 2014-07-30 09:30:41 +02:00
Jan Steemann 62d989aa61 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2 2014-07-30 09:19:55 +02:00
Jan Steemann e05604e5b4 issue #972: Compilation Issue 2014-07-30 09:13:40 +02:00
Jan Steemann 641d35b906 added static v8-basic optimizations 2014-07-29 12:52:37 +02:00
Max Neunhoeffer f3a5aefffb Forgot one. 2014-07-28 16:26:50 +02:00
Jan Steemann 765e44e80b execution v0.0000001 2014-07-28 15:51:38 +02:00
Max Neunhoeffer aa7e24495f Take out debugging output. 2014-07-25 15:16:34 +02:00