1
0
Fork 0
Commit Graph

1511 Commits

Author SHA1 Message Date
jsteemann 730fdfb4dd lol self 2016-05-23 18:01:00 +02:00
jsteemann 7080f8293d various AQL changes
added behavior of TO_STRING() for arrays and objects
added C++ implementation for CONTAINS() function
added memmem implementation for Windows
2016-05-23 17:10:15 +02:00
Frank Celler c441700c20 Merge branch 'devel' of github.com:arangodb/arangodb into FMH 2016-05-22 21:45:40 +02:00
Frank Celler af0b0900af WIP 2016-05-22 21:08:37 +02:00
Frank Celler 806fce1dec WIP 2016-05-21 21:58:42 +02:00
Max Neunhoeffer 6c355cf420 Fix windows for TRI_SuspendExternalProcess NOP. 2016-05-19 16:28:20 +02:00
Max Neunhoeffer aa720cadda Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-05-19 14:18:59 +02:00
jsteemann dd0fd3df90 added x-arango-start-thread header feature 2016-05-19 14:15:59 +02:00
Max Neunhoeffer a73b348e77 Add TRI_SuspendExternalProcess and TRI_ContinueExternalProcess for Unix. 2016-05-19 14:06:57 +02:00
jsteemann 646a8becca added unlock() methods 2016-05-17 19:52:17 +02:00
jsteemann 85688198d2 don't copy as much 2016-05-16 21:33:38 +02:00
jsteemann ec92c1b3c3 re-use buffer for log messages to save mallocs 2016-05-16 21:33:00 +02:00
Frank Celler 9dbba248de added fillBody 2016-05-13 15:14:44 +02:00
Frank Celler dc6cb6f2c8 .S files must be in capital case to have preprocessor handle them 2016-05-12 15:20:14 +00:00
jsteemann 5be32e9fe5 attempt to speed up dumper 2016-05-12 16:46:52 +02:00
Jan Steemann e3b7be5c7a attempt to speed up dumper a bit 2016-05-12 16:25:06 +02:00
jsteemann ace3d4b900 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-05-12 09:07:47 +02:00
Kaveh Vahedipour ed94cbbdcc cluster supervision moves broken leaders 2016-05-12 08:36:41 +02:00
jsteemann 61b24c5b47 optimizations 2016-05-11 22:16:15 +02:00
jsteemann 130493d481 micro optimizations 2016-05-11 21:02:20 +02:00
Frank Celler bf16086623 moved SSL files into separate directory 2016-05-11 16:34:03 +02:00
Kaveh Vahedipour b4a5d49969 git push
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-05-11 14:59:53 +02:00
Kaveh Vahedipour be61bb0311 cluster supervision moves broken leaders 2016-05-11 14:59:40 +02:00
Kaveh Vahedipour 5f8f8a628a cluster supervision moves broken leaders 2016-05-11 14:59:10 +02:00
jsteemann a847c1639b Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-05-11 14:06:58 +02:00
jsteemann 98f0ad81a6 micro optimizations 2016-05-11 14:06:47 +02:00
Max Neunhoeffer b80a27a516 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-05-11 13:04:15 +02:00
Max Neunhoeffer d4cb11156c Take out apple ifdefs in crc4.s because it is not used on OSX. 2016-05-11 13:03:56 +02:00
jsteemann bfd5596359 optimizations 2016-05-11 11:50:07 +02:00
Jan Steemann 912383ca68 cppcheck 2016-05-10 20:13:55 +02:00
jsteemann 0ce8599598 fixes for MSVC 2016-05-10 19:01:21 +02:00
jsteemann 7b57b84393 constexpr 2016-05-10 17:14:18 +02:00
jsteemann 30525fccee use StaticStrings 2016-05-10 17:01:34 +02:00
jsteemann 61be9321a7 removed unused code 2016-05-10 16:04:10 +02:00
jsteemann f90a9fce18 handle "Connection" and "Content-Type" headers separately 2016-05-10 15:24:55 +02:00
Max Neunhoeffer f3130596a9 Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel 2016-05-10 14:50:58 +02:00
Max Neunhoeffer 8b94a8f73a Take out .align statements on apple. 2016-05-10 14:50:43 +02:00
Michael Hackstein ffb5ec8159 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-05-10 14:47:27 +02:00
Max Neunhoeffer efb9004340 Activate crc4, new assembler optimizations.
Only on x86_64 and if not overridden.
2016-05-10 13:16:02 +02:00
Max Neunhoeffer 6fda5645c4 Add new faster version of crc assembler code. 2016-05-10 13:07:28 +02:00
Michael Hackstein e9787018b3 The Pattern matching now allows a minDepth of 0 and even a complete search of depth 0. 2016-05-09 17:48:55 +02:00
Jan Steemann 49c39f6659 removed unused functions 2016-05-06 12:30:04 +02:00
Max Neunhoeffer 231acbbde2 Merge branch 'json_agency_comm' into devel 2016-05-05 00:14:22 +02:00
jsteemann 918a3c05da more diagnoses 2016-05-04 21:49:44 +02:00
Kaveh Vahedipour 35d604e9e0 Merge branch 'devel' of https://github.com/arangodb/arangodb into json_agency_comm 2016-05-04 18:17:00 +02:00
Wilfried Goesgens 14fe556031 Merge branch 'devel' of github.com:arangodb/ArangoDB into dox-cox-pix-ex-rox-box 2016-05-04 17:27:39 +02:00
Kaveh Vahedipour e623198d6c Merge branch 'devel' of https://github.com/arangodb/arangodb into json_agency_comm 2016-05-04 17:06:23 +02:00
Michael Hackstein 62f2d55c20 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-05-04 16:46:13 +02:00
Michael Hackstein ca836216fc Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-05-04 16:38:16 +02:00
jsteemann bb4b1b8b88 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-05-04 16:20:28 +02:00
jsteemann f2d014ff6a bugfixes 2016-05-04 16:10:04 +02:00
Michael Hackstein dc49aed09c The Equal function used in Sets and Maps now can optionally be instantiated with Velocypack options. This is required if we want to put complete documents into the container. 2016-05-04 15:40:37 +02:00
jsteemann 7ad08738af Merge branch 'devel' of https://github.com/arangodb/arangodb into dox-cox-pix-ex-rox-box 2016-05-04 14:54:45 +02:00
Frank Celler f6516398af changed config directory to arangodb3 2016-05-04 13:51:16 +02:00
Max Neunhoeffer 0ac60a8fe7 Merge branch 'devel' into json_agency_comm 2016-05-04 11:15:02 +02:00
jsteemann 18b163e8a2 optimization 2016-05-03 16:58:09 +02:00
Kaveh Vahedipour 7ac2f7111a Merge branch 'json_agency_comm' of https://github.com/arangodb/arangodb into json_agency_comm 2016-05-03 15:48:48 +02:00
Andreas Streichardt f5f040e21a Merge branch 'json_agency_comm' of github.com:arangodb/arangodb into json_agency_comm 2016-05-03 15:47:00 +02:00
jsteemann 495b266c8a initial commit 2016-05-03 15:42:24 +02:00
jsteemann ff21cb2da9 optimizations 2016-05-03 10:07:14 +02:00
jsteemann db9e3d1360 optimizations 2016-05-03 00:43:39 +02:00
jsteemann 1554619c35 removed unused functionality 2016-05-02 23:06:27 +02:00
jsteemann d3604238e4 optimizations 2016-05-02 23:06:04 +02:00
jsteemann 6a4d57ddfc reserve buffer space differently 2016-05-02 18:11:27 +02:00
jsteemann b9324ea2a1 use VPackDumper 2016-05-02 17:32:53 +02:00
jsteemann fefdd33574 use xxHash for hashing id strings 2016-05-02 15:46:04 +02:00
jsteemann 2a843e95a2 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-05-02 14:34:03 +02:00
Jan Steemann add739a337 separate to-JSON dumper, not yet used 2016-05-02 14:33:25 +02:00
jsteemann 14bd7bbe72 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-05-02 13:46:12 +02:00
jsteemann 36fd78aa56 added xxHash 2016-05-02 13:46:03 +02:00
Jan Steemann 2b0f3f7b57 change behavior of arithmetic operators, TO_STRING and TO_NUMBER 2016-05-02 13:29:29 +02:00
jsteemann 575e6e38d7 use constant 2016-05-01 23:43:01 +02:00
jsteemann 1a942ca589 use fixed-precision floats for logging 2016-05-01 23:31:49 +02:00
jsteemann 9232df6782 do not memset StringBuffer 2016-05-01 14:12:58 +02:00
jsteemann 1250fcf63e micro optimizations 2016-05-01 00:03:23 +02:00
jsteemann e478c1ae11 faster lookup for _key attribute 2016-04-30 13:25:06 +02:00
Frank Celler 6912d6a34e fixed typo 2016-04-30 00:38:31 +02:00
Michael Hackstein c58b78062b Added a sanitize externals function that expands externals on demand. It is now used whenever a query is stored in the query cache as the data it is pointing to might be moved. Has to be used as well when sending VPack to client. 2016-04-29 15:21:48 +02:00
Michael Hackstein dbe75625d4 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-04-29 13:58:59 +02:00
Michael Hackstein 536603f66f Velocypack helper now has a specialized hash and compare function for VPackStrings. It is more efficient as it uses shortcuts for bytesize. Will fail for non string case, use with caution 2016-04-29 13:53:41 +02:00
Frank Celler d4f7316b46 more static strings 2016-04-29 11:14:57 +02:00
jsteemann b796e4cc7d use some static strings here and there 2016-04-29 01:37:44 +02:00
jsteemann 6ca7fd3bb2 preparations for static strings collection 2016-04-29 01:08:44 +02:00
Frank Celler 6248f419f1 progress report and windows minidump 2016-04-28 18:59:13 +02:00
jsteemann 139c91d4c2 added timers 2016-04-28 12:48:02 +02:00
Jan Steemann 992e7ee143 fixed boost tests on Windows 2016-04-28 12:09:06 +02:00
jsteemann b9ef307bf1 micro optimizations 2016-04-28 12:04:14 +02:00
jsteemann cd45a52ba5 attempt to finish startup order 2016-04-27 22:54:29 +02:00
jsteemann a3fdda19af Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-04-27 19:17:19 +02:00
Frank Celler 7b83374c65 check ApplicationServer state 2016-04-27 18:01:36 +02:00
jsteemann bfd6fa833d disallow thread creation until ApplicationServer::start() 2016-04-27 16:17:46 +02:00
jsteemann fbd254bf22 Merge branch 'devel' of https://github.com/arangodb/arangodb into devel 2016-04-26 23:30:47 +02:00
jsteemann 1832670e8f global exception catch block 2016-04-26 23:23:06 +02:00
Frank Celler 59b93fa121 fixed shutdown 2016-04-26 20:46:03 +02:00
Wilfried Goesgens e31cb1492d Fix solaris port: move syslog adoption into the logger library. 2016-04-25 18:02:44 +02:00
Michael Hackstein ecf267f369 Merge branch 'devel' of github.com:arangodb/arangodb into devel 2016-04-25 15:25:31 +02:00
Michael Hackstein 85a2c3a44c The shortestPath computation now uses Slices instead of strings to identify the documents. 2016-04-25 15:25:22 +02:00
Jan Steemann 80bf3bbbb2 fixed some of my own noobness 2016-04-25 14:00:37 +02:00
Jan Steemann 5ea01c02b0 fixed number of threads detection 2016-04-25 13:57:59 +02:00
jsteemann 1fb953a515 improve insertion time 2016-04-25 10:40:48 +02:00
Frank Celler b0f418ac84 removed unused function 2016-04-24 13:59:28 -07:00
jsteemann e0dd623865 removed duplicate declarations 2016-04-24 20:17:39 +02:00
jsteemann dcc5825f93 cleaned up features a bit 2016-04-24 14:29:29 +02:00
Frank Celler 2cb73ce625 cosmetics 2016-04-23 22:14:57 -07:00
Frank Celler d6e8046992 updated cleanupCFiles 2016-04-23 16:34:57 -07:00
jsteemann 7866e5da1f allow out of memory 2016-04-23 21:11:35 +02:00
jsteemann 0da9ac7cdc micro optimizations 2016-04-23 16:23:15 +02:00
jsteemann e6b39a8fe8 added simple infrastructure for timing 2016-04-23 11:20:52 +02:00
Frank Celler 5335a5b0af moved to Random 2016-04-21 22:53:20 -07:00
Frank Celler 09b81c1314 fixed name for windows 2016-04-21 22:32:44 -07:00
Jan Steemann 7e9e5a96cb fixed endless recursion 2016-04-21 18:35:32 +02:00
Jan Steemann 485978e646 fixed over-/underflow 2016-04-21 15:51:26 +02:00
Max Neunhoeffer 877e42e7c5 Merge branch 'FMH' into devel 2016-04-21 14:04:39 +02:00
Jan Steemann 48d0a1cbb5 micro optimizations 2016-04-21 12:46:53 +02:00
Simran Brucherseifer a5ad9f33a9 Minor corrections
Excluded Aardvark, the graph viewer in particular
2016-04-20 22:09:00 +02:00
Kaveh Vahedipour d53e47c7d5 Merge branch 'devel' of https://github.com/arangodb/arangodb into FMH 2016-04-20 11:23:10 +00:00
Michael Hackstein 0cb3741e4f Fixed a bug in assoc multi. One result container was not handed in by reference. 2016-04-20 11:19:55 +02:00
Michael Hackstein 3407f4b111 The edge index now hands-in the result vector for doc mptr to AssocMulti. Also fixed the batch size for index lookups 2016-04-20 09:16:51 +02:00
Frank Celler 3bb24146a6 Merge branch 'devel' of github.com:arangodb/arangodb into FMH 2016-04-19 19:18:02 -07:00
jsteemann 316a1bd190 starting support for Externals 2016-04-19 22:31:40 +02:00
Frank Celler 007fe8e053 Merge branch 'devel' of https://github.com/arangodb/arangodb into FMH
Conflicts:
	arangod/Agency/Constituent.cpp
	arangod/Agency/RestAgencyHandler.cpp
	arangod/Aql/Query.cpp
	arangod/Aql/grammar.cpp
	arangod/RestHandler/RestSimpleQueryHandler.cpp
	arangod/RestServer/ArangoServer.cpp
	js/client/modules/@arangodb/testing.js
2016-04-19 07:44:00 +02:00
Jan Steemann 917a1744c9 updated vpack library 2016-04-18 15:30:26 +02:00
Frank Celler 17cd890132 WIP 2016-04-16 20:29:33 -07:00
Frank Celler 2dd798cd48 WIP 2016-04-15 22:09:55 -07:00
Frank Celler dd44191a91 WIP 2016-04-15 21:03:53 -07:00
Frank Celler cd91d3654e Merge remote-tracking branch 'origin' into FMH 2016-04-15 19:01:38 -07:00
Michael Hackstein 1e92fd3485 Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk 2016-04-14 08:28:28 +02:00
Kaveh Vahedipour d247e7a3bd mop is fixing the cluster load 2016-04-13 15:36:11 +02:00
Andreas Streichardt 4c27442bd9 Implement callbacks 2016-04-13 14:05:15 +02:00
Frank Celler 3f9dd62d4c WIP 2016-04-13 12:30:18 +02:00
Michael Hackstein a14d7dffe2 Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk 2016-04-13 08:30:48 +02:00
Jan Steemann c0fd5c5f78 removal of some JSON 2016-04-12 18:21:11 +02:00
Michael Hackstein 97623706b3 Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk 2016-04-11 10:09:43 +02:00
Michael Hackstein df497eb8b2 Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk 2016-04-10 14:09:25 +02:00
jsteemann 607efe8f89 removed unused function 2016-04-09 10:57:07 +02:00
jsteemann 163a61f17b prevent races on shutdown 2016-04-09 00:18:41 +02:00
jsteemann e839150857 use log topics 2016-04-09 00:17:06 +02:00
Jan Steemann f2e2dbb435 pacify valgrind
added assertion

added assertions
2016-04-08 15:05:08 +02:00
Michael Hackstein d67b203382 Merge branch 'devel' of github.com:arangodb/arangodb into spdvpk 2016-04-08 13:15:16 +02:00
Michael Hackstein 541395a262 Merge branch 'spdvpk' of github.com:arangodb/arangodb into spdvpk 2016-04-08 12:42:59 +02:00
Michael Hackstein 12d973504c Fixed babies creation in cluster with undefined keys. 2016-04-08 10:53:11 +02:00
Jan Steemann e4b1dd8f5f fixed tests for TRI_HashJsonByAttributes() 2016-04-07 19:55:42 +02:00
Jan Steemann 6df7221691 cleanup 2016-04-07 17:08:44 +02:00
Michael Hackstein d792432d95 Replaced HashByAttributes to only use VelocyPack. Will be removed soon. Also removed some obsolete code 2016-04-07 16:13:43 +02:00
Kaveh Vahedipour bb4d520467 VelocyPackHelper buildEmptyObject was buggy 2016-04-06 16:33:56 +00:00
Michael Hackstein 3ad837f17c Added a function to hash specific attributes of a velocypack Object 2016-04-06 16:43:59 +02:00
Max Neunhoeffer b1963d2cee Fix replication in the sense that revs are now copied over. 2016-04-05 10:27:43 +02:00
Frank Celler 5cab4cffac WIP 2016-04-04 15:23:25 +02:00
Frank Celler 6002ede1c4 Merge branch 'devel' of github.com:arangodb/arangodb into FMH 2016-04-03 21:46:30 +02:00
Frank Celler e83c1f09b4 WIP 2016-04-02 23:41:21 +02:00