1
0
Fork 0
Commit Graph

1801 Commits

Author SHA1 Message Date
Jan Steemann ed0af6e7a4 less memset 2014-06-05 01:15:12 +02:00
Jan Steemann e31a91affe calculate lengths only once during dump() 2014-06-05 01:14:38 +02:00
Jan Steemann d7c6f74bf8 less doxygen-style comments 2014-06-05 01:13:01 +02:00
Jan Steemann ad1feb0ed4 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-04 14:30:28 +02:00
Frank Celler eda4b0cde4 fixed dfdb 2014-06-04 11:02:42 +02:00
Jan Steemann edd97f9bf3 removed doxygen comments 2014-06-03 17:35:44 +02:00
Jan Steemann 8ea7fa5e4a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh 2014-06-03 17:18:02 +02:00
Thomas Schmidts 87e0d54f04 small changes for new documentation in code-docu 2014-06-03 14:55:39 +02:00
Jan Steemann 715d11cb22 removed consts 2014-06-03 10:17:09 +02:00
Jan Steemann b7b6dafce9 removed libraryloader 2014-06-02 15:46:54 +02:00
Jan Steemann 2c934cf1aa Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	arangod/RestServer/ArangoServer.cpp
	arangod/V8Server/ApplicationV8.cpp
2014-06-02 09:52:05 +02:00
Frank Celler f054c71447 fixed log messages 2014-06-01 13:37:13 +02:00
Jan Steemann f055a7e3a2 added comment 2014-05-31 02:56:37 +02:00
Jan Steemann 5962e9dfc4 added std::19337 2014-05-31 02:56:18 +02:00
Jan Steemann d4dd58b264 merged primary-collection.cpp with document-collection.cpp 2014-05-31 00:22:32 +02:00
Jan Steemann 7b521a4c9e Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	arangod/VocBase/document-collection.cpp
	arangod/VocBase/document-collection.h
2014-05-30 12:51:20 +02:00
Jan Steemann c2478e30ec adjusted types for Windows 2014-05-30 12:09:17 +02:00
Frank Celler c8ddff2a9b fixed shutdown for busy V8 contexts 2014-05-30 11:39:11 +02:00
Jan Steemann 4cbdbba633 unregister all user tasks on shutdown 2014-05-28 21:36:05 +02:00
Jan Steemann 57d0d4a5ca inlined some functions 2014-05-28 21:12:16 +02:00
Jan Steemann 4f3ed048e4 fixed disconnect of agency connections, use less CPU while spinning in agency methods 2014-05-28 13:44:35 +02:00
Jan Steemann 7f6877e978 fixed wrong URL in API description 2014-05-28 11:01:34 +02:00
Jan Steemann 74ccb66d59 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh 2014-05-28 09:17:55 +02:00
Esteban Lombeyda 42525b2858 checking header file of DummyShell. This shell is not in use 2014-05-28 08:48:28 +02:00
Jan Steemann 86cecdb6a6 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	arangosh/Benchmark/BenchmarkThread.h
2014-05-26 17:28:16 +02:00
Jan Steemann adfaf9b760 garbage collection 2014-05-26 16:06:18 +02:00
Frank Celler ecd5641d03 added i/o stats 2014-05-25 23:11:03 +02:00
Jan Steemann e198c2f926 Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh 2014-05-23 09:33:38 +02:00
Jan Steemann 922d4890f2 Fixes to compile under Visual Studio. 2014-05-22 16:27:30 +02:00
Jan Steemann bd6ca1aeb2 Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh 2014-05-22 16:00:21 +02:00
Jan Steemann ea97d443b0 use wal shape and attribute markers 2014-05-22 16:00:00 +02:00
Max Neunhoeffer bb5b341ba6 Get rid of many "using namespace ..." occurrences in header files. 2014-05-22 15:13:16 +02:00
Max Neunhoeffer cb2f826494 Document legend format and fix offsets. 2014-05-22 14:08:03 +02:00
Max Neunhoeffer 12684aeb9b Add source code comments to Legends.{cpp,h}. 2014-05-22 11:10:04 +02:00
Jan Steemann 01a4c43b81 Merge branch 'mjmh' of https://github.com/triAGENS/ArangoDB into mjmh 2014-05-22 10:52:23 +02:00
Jan Steemann cf099a629b dump markers 2014-05-22 10:52:12 +02:00
Max Neunhoeffer 2820afdcc2 Remove many extern "C" declarations that are no longer needed. 2014-05-22 10:19:03 +02:00
Max Neunhoeffer e7560357d2 Further cleanup with #include "Basics/Common.h" 2014-05-21 16:59:54 +02:00
Max Neunhoeffer 726198007c Do not use linenoise with cmake under non-Windows. 2014-05-21 16:10:53 +02:00
Max Neunhoeffer c913f3a4c7 Fix lib/CMakeLists.txt 2014-05-21 15:59:04 +02:00
Max Neunhoeffer ff1dfdd55f Header cleanup: use #include "Basics/Common.h" in all C++ files. 2014-05-21 15:50:30 +02:00
Max Neunhoeffer 792b6d4458 Repair C++ version of program-options.c 2014-05-21 15:00:06 +02:00
Max Neunhoeffer 50783b36c8 program-options.c -> program-options.cpp 2014-05-21 14:50:52 +02:00
Max Neunhoeffer 69353334eb Get rid of TRI_ENABLE_CLUSTER everywhere. 2014-05-21 14:46:47 +02:00
Max Neunhoeffer 77025348df Make JsonParser C++, however, functions still extern "C". 2014-05-21 13:56:45 +02:00
Max Neunhoeffer 0af211c1e5 More header cleanups. 2014-05-21 13:42:41 +02:00
Max Neunhoeffer 786ea250ba Snapshot. 2014-05-21 11:20:03 +02:00
Max Neunhoeffer 07f9b941bb Merge branch 'mjmh' of ssh://github.com/triAGENS/ArangoDB into mjmh 2014-05-21 08:38:58 +02:00
Jan Steemann c15acbab08 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	lib/ShapedJson/Legends.cpp
	lib/ShapedJson/Legends.h
2014-05-20 17:03:49 +02:00
Max Neunhoeffer a5f901fe37 Add pointer marking functionality. 2014-05-20 15:25:51 +02:00
Jan Steemann b20240b829 added legend 2014-05-20 14:37:57 +02:00
Max Neunhoeffer a0d4adc986 Add Legends.cpp to CMakeLists.txt 2014-05-20 14:22:16 +02:00
Max Neunhoeffer 67f32ec430 Activate Legends.cpp in Makefile 2014-05-20 13:29:34 +02:00
Max Neunhoeffer 0dab3706c5 Finish first version of JsonLegend, not activated in Makefile. 2014-05-20 13:27:57 +02:00
Max Neunhoeffer b5df264cdb First draft of legend generator. 2014-05-20 13:27:09 +02:00
Max Neunhoeffer 464b6720ca Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-05-20 13:25:10 +02:00
Max Neunhoeffer dbd973164b Finish first version of JsonLegend, not activated in Makefile. 2014-05-20 13:24:29 +02:00
Jan Steemann 1e2078510d removed whitespace 2014-05-20 12:00:36 +02:00
Max Neunhoeffer 9910599d8d Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-05-20 08:41:51 +02:00
Jan Steemann 9453beb7cc Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh 2014-05-19 14:25:34 +02:00
Jan Steemann 6423b171b7 re-added result completion 2014-05-19 14:23:46 +02:00
Esteban Lombeyda 11184fe003 Merge branch 'refactoring' of github.com:triAGENS/ArangoDB into devel 2014-05-19 13:51:29 +02:00
Esteban Lombeyda 4bfb52167c Important line code for autocompeltion was reinserted 2014-05-19 13:35:57 +02:00
Esteban Lombeyda d060d3709f Empty method getAlternatives for MRLineEditor 2014-05-19 12:12:42 +02:00
Esteban Lombeyda 963fdc5ee5 cleaning 2014-05-19 11:30:31 +02:00
Jan Steemann 168fdcf6ef Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	UnitTests/Basics/bson-test.cpp
	arangod/V8Server/v8-actions.cpp
	lib/Basics/BsonHelper.h
2014-05-19 11:21:58 +02:00
Esteban Lombeyda 9bcaba6002 documentation 2014-05-19 10:57:58 +02:00
Esteban Lombeyda 48cdb09008 clean separation of V8 code from Shell 2014-05-19 10:29:54 +02:00
Max Neunhoeffer 72b923325a First draft of legend generator. 2014-05-18 15:53:30 +02:00
Esteban Lombeyda 45ea4e6f57 reducing duplicate code 2014-05-17 15:47:13 +02:00
Jan Steemann 1328aed652 small refactoring 2014-05-17 12:17:58 +02:00
Jan Steemann 0a2e155f12 don't copy bytecode after creation 2014-05-17 12:05:15 +02:00
Jan Steemann b35c38236e fixed size bug 2014-05-17 10:48:59 +02:00
Jan Steemann e9c4a759f7 add string length to object creation 2014-05-17 01:37:36 +02:00
Jan Steemann 90cea0533e fixed Windows build 2014-05-16 21:48:46 +02:00
Jan Steemann 42b33046d1 removed v8 dependency 2014-05-16 21:46:31 +02:00
Jan Steemann 93179cc03b removed unused variable 2014-05-16 21:16:45 +02:00
Jan Steemann 36567df644 removed libbson 2014-05-16 20:32:05 +02:00
Jan Steemann a355c9d37f break instead of return 2014-05-16 20:26:06 +02:00
Jan Steemann d5200f26d7 moved magic number to function 2014-05-16 19:05:54 +02:00
Jan Steemann 81c68927aa remove no-ops from shape-accessor 2014-05-16 18:39:23 +02:00
Esteban Lombeyda eaa39427f9 Compiling under linux 2014-05-16 15:19:54 +02:00
Esteban Lombeyda 6918afcc2e Merge branch 'refactoring' of github.com:triAGENS/ArangoDB into refactoring 2014-05-15 13:43:48 +02:00
Esteban Lombeyda 7feb081a5f Merge branch 'refactoring' of github.com:triAGENS/ArangoDB into refactoring
Conflicts:
	lib/V8/V8LineEditor.cpp
2014-05-15 13:43:08 +02:00
Esteban Lombeyda 3a61e7b3f3 Header file for Linenoise shell is commited 2014-05-15 13:27:53 +02:00
Esteban Lombeyda e3ff0391a2 Refactoring LineEditor 2014-05-15 10:27:59 +02:00
Jan Steemann 9fa7fe20ea scan-build 2014-05-15 10:16:13 +02:00
Jan Steemann 2bc4aa90af fixed issues found by scan-build 2014-05-15 10:09:06 +02:00
Jan Steemann 579a46220e added one-shot tasks 2014-05-14 21:04:37 +02:00
Jan Steemann a02611fba1 case-insensitive completion 2014-05-14 18:43:01 +02:00
Jan Steemann 8a5c2438b9 removed tabs 2014-05-14 18:01:40 +02:00
Esteban Lombeyda ed7feb0664 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-05-13 13:46:55 +02:00
Esteban Lombeyda 3ca80a796d Avoiding warining C4250 of microsoft compiler 2014-05-13 13:45:06 +02:00
Jan Steemann b0f119e88c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-05-13 13:39:52 +02:00
Jan Steemann 9f7923ace3 fixed VS warnings 2014-05-13 13:39:42 +02:00
Jan Steemann 1e99992a4e added note about non-functional `options` attribute 2014-05-13 12:58:24 +02:00
Jan Steemann 3f6d28de8d fixed VS warnings 2014-05-13 12:44:00 +02:00
Jan Steemann 6011994329 added atomic header 2014-05-12 18:05:25 +02:00
Jan Steemann 300da03c5c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh 2014-05-12 17:25:01 +02:00
Jan Steemann 14813638dd removed boost 2014-05-12 17:22:42 +02:00
Jan Steemann ed50f3656d added unordered_map and unordered_set 2014-05-12 17:09:26 +02:00
Jan Steemann b96b7d489c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-05-12 16:50:33 +02:00
Jan Steemann 401c8f8192 do not pass 0 to ctor 2014-05-12 16:50:17 +02:00
Jan Steemann 027ec2d3f4 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
Conflicts:
	arangod/V8Server/V8PeriodicTask.cpp
	arangod/V8Server/V8PeriodicTask.h
	arangod/V8Server/v8-actions.cpp
	js/common/bootstrap/module-internal.js
	js/server/server.js
	lib/Dispatcher/ApplicationDispatcher.cpp
	lib/Dispatcher/RequeueTask.cpp
	lib/GeneralServer/GeneralListenTask.h
	lib/Scheduler/ApplicationScheduler.cpp
	lib/Scheduler/PeriodicTask.cpp
	lib/Scheduler/Scheduler.cpp
	lib/Scheduler/Scheduler.h
	lib/Scheduler/Task.cpp
	lib/Scheduler/Task.h
	lib/Scheduler/TimerTask.cpp
	lib/Scheduler/TimerTask.h
2014-05-12 16:49:20 +02:00
Esteban Lombeyda 9c1d39c1f4 Some Windows Warnings are avoided 2014-05-12 16:48:05 +02:00
Frank Celler 1048559dcf fixed percent 2014-05-12 00:38:03 +02:00
Jan Steemann d23fe23254 added tasks manual entry 2014-05-10 02:25:59 +02:00
Jan Steemann 548a79ac4d Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-05-10 00:43:40 +02:00
Jan Steemann cfc2d407d7 added tests for task management 2014-05-10 00:43:14 +02:00
Max Neunhoeffer 8ce1b08183 Add a ClusterMethod to truncate a collection in a cluster. 2014-05-09 23:14:41 +02:00
Jan Steemann 82595ee169 improved periodic task management 2014-05-09 17:36:24 +02:00
Jan Steemann dfec7b7f3c pass v8 handles by value, not by reference (as recommended in their manual) 2014-05-09 15:23:21 +02:00
Jan Steemann 931269245d Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-05-09 12:18:17 +02:00
Jan Steemann 2eca70e606 fixed timeout overflows on 32 bit 2014-05-09 12:17:57 +02:00
Frank Celler 20479ef320 added missing namespace 2014-05-09 11:00:18 +02:00
Jan Steemann 2e17f4bcd7 cppcheck 2014-05-09 00:21:17 +02:00
Jan Steemann 20292af75c throw different type of debug error to prevent bogus "out-of-memory" errors 2014-05-08 23:00:18 +02:00
Jan Steemann 8fa45ca181 added string task ids for periodic jobs 2014-05-08 22:59:36 +02:00
Jan Steemann 7b9ce7046f added typecasts 2014-05-08 14:29:15 +02:00
Jan Steemann 7f9446f6bc Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-05-07 18:48:44 +02:00
Jan Steemann 7d28a03782 added AQL date functions 2014-05-07 18:17:46 +02:00
Max Neunhoeffer 62ca0e9a30 Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel 2014-05-07 16:47:06 +02:00
Max Neunhoeffer a312d496a9 Finish server functionality for cluster dump. 2014-05-07 16:36:47 +02:00
Max Neunhoeffer df68f47338 Use StringBuffer in SimpleHttpResult rather than stringstream. 2014-05-07 16:35:40 +02:00
Max Neunhoeffer 8ba8ffcbb1 Add a useful const. 2014-05-07 16:34:22 +02:00
Esteban Lombeyda 6385569dec manualy unification of JS_ProcessStatistics in devel and 2.0 2014-05-07 10:43:44 +02:00
Max Neunhoeffer 18b759ce32 Fix killing of processes unknown to arangod under Unix. 2014-05-06 11:41:55 +02:00
Frank Celler 990a041bbd added local directory to search path 2014-05-04 21:24:52 +02:00
Frank Celler 3db2475d1c added ignore for certain API calls (version & aardvark) 2014-05-04 12:46:29 +02:00
Jan Steemann 0a5e641f97 added index memory usage statistics
this also adds index memory usage to the output of the `figures` method
2014-05-02 22:05:29 +02:00
Jan Steemann 77d02b1235 fixed invalid typedef 2014-05-02 12:29:11 +02:00
Jan Steemann 02a532a122 added CURRENT_USER function for AQL 2014-05-02 12:00:39 +02:00
Jan Steemann 18302b3ab4 do not segfault on cancellation 2014-04-25 12:45:31 +02:00
Max Neunhoeffer 0dd2bfe38e Cleanup 64-byte alignment for 32-bit compilation. 2014-04-24 11:08:28 +02:00
Jan Steemann d3d3473013 fixed compile warning regarding ISOC90 2014-04-23 21:30:55 +02:00
Jan Steemann 9bfcca67a0 fixed compile warning regarding assigned-only variables 2014-04-23 21:30:20 +02:00
Jan Steemann a4ee394d4b fixed AQL return codes in the face of cancellation 2014-04-23 19:07:34 +02:00
Jan Steemann f34d25381f don't log if not properly initialised 2014-04-22 22:00:09 +02:00
Jan Steemann 4732a42c18 fixed small memleak in application server setup 2014-04-22 16:36:26 +02:00
Jan Steemann 341481ba66 fixed Windows compile errors and warnings 2014-04-22 14:49:00 +02:00
Frank Celler 91fd5b5c0f fixed base init 2014-04-21 19:06:17 +02:00
Frank Celler 6cdfa029c9 added more error information, fixed try catch
Conflicts:
	CHANGELOG
	arangod/V8Server/ApplicationV8.cpp
2014-04-21 13:35:06 +02:00
= 20d450da81 Bug fix: compirler error 2014-04-17 15:46:24 +02:00
= 74860e3a84 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-04-17 15:36:53 +02:00
Frank Celler 8e9ad58f3b added cancelation of asnyc jobs
Conflicts:
	arangod/V8Server/ApplicationV8.cpp
	arangod/V8Server/v8-actions.cpp
	lib/Rest/Handler.h
2014-04-16 20:16:22 +02:00
= 87ae2f9c2a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2014-04-14 08:56:20 +02:00
Jan Steemann 74f184dd81 fix compile warning 2014-04-13 22:21:13 +02:00
Jan Steemann 2050049b06 added periodic job management
this adds functions internal.deletePeriod() and internal.getPeriodic()
functions internal.definePeriodic() now also has an extra parameter to
specify the name of a periodic job. this makes it more easy to tell
jobs apart in the result of internal.getPeriodic().
2014-04-13 22:19:46 +02:00
Jan Steemann 90c0d0dfd6 added periodic job management
this adds functions internal.deletePeriod() and internal.getPeriodic()
functions internal.definePeriodic() now also has an extra parameter to
specify the name of a periodic job. this makes it more easy to tell
jobs apart in the result of internal.getPeriodic().
2014-04-11 21:33:41 +02:00
Jan Steemann d0bcb02015 generate/validate keys 2014-04-11 16:19:00 +02:00