1
0
Fork 0
Commit Graph

373 Commits

Author SHA1 Message Date
Jan Steemann 23ba186b0d Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	CHANGELOG
	arangod/Ahuacatl/ahuacatl-access-optimiser.c
	arangod/CapConstraint/cap-constraint.c
	js/apps/system/aardvark/frontend/scss/_tiles.scss
	js/apps/system/aardvark/frontend/scss/generated.css
	js/apps/system/aardvark/frontend/scss/style.scss
	js/common/modules/org/arangodb/users-common.js
2014-02-25 17:21:14 +01:00
Jan Steemann 0b2c38bfac fixed uninitialised variable access 2014-02-24 17:50:19 +01:00
Jan Steemann edb0e61e13 fixed uninitialised variable access 2014-02-24 17:48:56 +01:00
Jan Steemann f8ebe5ded5 fixed small memleak 2014-02-24 14:51:06 +01:00
Jan Steemann bb3704e04b fixed small memleak 2014-02-24 14:23:50 +01:00
Jan Steemann a6b71d8eba fixed memleak 2014-02-24 14:19:42 +01:00
Michael Hackstein 015ab56259 Merge remote-tracking branch 'origin/devel' into sharding
Conflicts:
	arangod/VocBase/document-collection.c
	arangosh/CMakeLists.txt
	js/apps/system/aardvark/test/karma/karma.conf.js
2014-02-18 08:50:27 +01:00
Jan Steemann c40d930fa6 issue #765: added SLICE AQL function 2014-02-17 11:09:03 +01:00
Jan Steemann 8d8d5f5804 added ensureIndex function 2014-02-12 10:40:36 +01:00
Jan Steemann 002938aa04 AQL in coordinator 2014-02-07 16:38:35 +01:00
Jan Steemann c38c038492 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	CHANGELOG
	js/apps/system/aardvark/frontend/css/collectionsItemView.css
	js/apps/system/aardvark/frontend/css/graphlayout.css
2014-02-06 13:18:52 +01:00
Jan Steemann 6bb4f0f0ac added SKIPLIST AQL function
Conflicts:
	CHANGELOG
2014-02-03 16:54:35 +01:00
Jan Steemann fe9464afec added SKIPLIST AQL function 2014-02-03 16:37:07 +01:00
Jan Steemann b7ad436d19 issue #755: TRAVERSAL does not use strategy, order and itemOrder options 2014-01-31 01:52:07 +01:00
Jan Steemann e9c5af7895 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into sharding
Conflicts:
	CHANGELOG
	js/apps/system/aardvark/frontend/css/collectionsView.css
	js/apps/system/aardvark/frontend/css/layout.css
	js/apps/system/aardvark/frontend/js/routers/router.js
2014-01-30 19:40:21 +01:00
Jan Steemann 0a2d61a42a added SHORTEST_PATH AQL function, allow user-defined functions for filtering in TRAVERSAL etc. 2014-01-28 01:51:27 +01:00
Max Neunhoeffer 4f5b8f0462 Try to add boost libraries for shared_ptr. 2014-01-27 11:38:59 +01:00
Jan Steemann 583878176b issue #736: AQL function to parse collection and key from document handle
Conflicts:

	CHANGELOG
2014-01-17 23:13:06 +01:00
Jan Steemann 9f69aae986 issue #736: AQL function to parse collection and key from document handle 2014-01-17 22:39:04 +01:00
Jan Steemann f95a0dc6c1 defer evaluation of subqueries 2014-01-10 16:45:36 +01:00
Jan Steemann 269e50eb8f defer evaluation of logical operators 2014-01-10 16:45:07 +01:00
Jan Steemann dc8fdf8ca0 defer evaluation of subqueries 2014-01-10 16:42:46 +01:00
Jan Steemann 8277e7582c defer evaluation of logical operators 2014-01-10 10:58:30 +01:00
Jan Steemann 6e066f4d8e allow user functions as AQL function call parameters 2014-01-06 12:58:26 +01:00
Jan Steemann 3679fdfe68 allow user functions as AQL function call parameters 2014-01-06 12:57:03 +01:00
Jan Steemann 02a84a4f92 allow functions results as parameters in all function calls 2014-01-06 11:15:48 +01:00
Jan Steemann ca1e6288a2 allow functions results as parameters in all function calls 2014-01-06 11:14:54 +01:00
Frank Celler 84507cfc44 merged changes from 1.4 back to devel 2013-12-27 14:59:23 +01:00
Jan Steemann 993d857afe allow references as function parameters 2013-12-07 18:56:04 +01:00
Jan Steemann 26fc85f88c allow references as function parameters 2013-12-04 22:05:44 +01:00
Jan Steemann b75c66c2e4 fixed segfault in AQL optimiser when using IN on constant, non-list values 2013-11-21 22:56:37 +01:00
Jan Steemann 6302003f06 fixed segfault in AQL optimiser when using IN on constant, non-list values 2013-11-21 22:53:32 +01:00
Jan Steemann 9a5a11c146 fixed a segfault in the AQL optimiser 2013-11-18 14:17:16 +01:00
Jan Steemann 56adf3b2dd fixed a segfault in the AQL optimiser 2013-11-18 14:16:32 +01:00
Jan Steemann 40a21d0efb fixed bitarray index access 2013-11-07 16:27:23 +01:00
Jan Steemann 9d5e5ff7cc merged fix for issue #653 2013-11-07 16:26:45 +01:00
Jan Steemann 217e5f897b fixed bitarray index access 2013-11-07 16:24:57 +01:00
Jan Steemann 9e78ab5af5 added NTH and POSITION 2013-11-04 18:24:03 +01:00
Jan Steemann 935d1edd53 issue #653: slow query 2013-11-04 13:33:26 +01:00
Jan Steemann e190076c29 allow dynamic parameters in DOCUMENT() 2013-10-30 16:19:24 +01:00
Jan Steemann 83866ba58b made AQL DOCUMENT function polymorphic 2013-10-30 16:19:14 +01:00
Jan Steemann e576ee5662 allow dynamic parameters in DOCUMENT() 2013-10-30 16:17:37 +01:00
Jan Steemann 73dd3f9185 made AQL DOCUMENT function polymorphic 2013-10-30 15:01:38 +01:00
Jan Steemann 4f50b98c45 removed second logger implementation 2013-10-30 00:38:25 +01:00
Jan Steemann 2c434d3b20 added DOCUMENT_HANDLE function 2013-10-29 11:09:47 +01:00
Frank Celler 4d3045e060 cmake 2013-10-26 09:45:27 +02:00
Jan Steemann af07091d1c Windows fixes 2013-10-09 15:33:38 +02:00
Jan Steemann 72c846a8cd shut up VC 2013-10-01 10:26:35 +02:00
Jan Steemann 106fedd615 several errors fixed 2013-09-26 09:44:50 +02:00
Jan Steemann 5c0fd200f7 more OOM awareness 2013-09-19 08:44:12 +02:00
Jan Steemann 3a6cabfe44 creating/dropping 2013-09-11 17:16:43 +02:00
Jan Steemann 1af5aa6b45 block compaction & datafile removal while dumping 2013-08-30 17:25:09 +02:00
Jan Steemann 2556b0714f fixed issues reported by VS 2012 2013-08-29 16:43:56 +02:00
Jan Steemann e6d8687250 added AQL MINUS function 2013-08-26 22:25:30 +02:00
Jan Steemann 9eb1752a7e use AQL LIMIT but still return the unlimited count value
Still needs documentation and tests
2013-08-19 18:41:00 +02:00
Jan Steemann 5a99987673 issue #581: parameter binding for attributes 2013-08-19 12:29:59 +02:00
Jan Steemann 16b7b82266 updated type 2013-07-26 09:43:05 +02:00
Jan Steemann d0961244c6 added range support for AQL 2013-07-19 18:38:13 +02:00
Jan Steemann 937c843c38 added AQL INTERSECTION function 2013-07-18 16:43:31 +02:00
Jan Steemann e359dc29dd INCOMPATIBLE CHANGE: changed AQL user function namespace resolution operator from `:` to `::`
AQL user-defined functions were introduced in ArangoDB 1.3, and the namespace resolution
operator for them was the single colon (`:`). A function call looked like this:

    RETURN mygroup:myfunc()

The single colon caused an ambiguity in the AQL grammar, making it indistinguishable from
named attributes or the ternary operator in some cases, e.g.

    { mygroup:myfunc ? mygroup:myfunc }

The change of the namespace resolution operator from `:` to `::` fixes this ambiguity.

Existing user functions in the database will be automatically fixed when starting ArangoDB
1.4 with the `--upgrade` option. However, queries using user-defined functions need to be
adjusted on the client side to use the new operator.
2013-07-18 12:02:28 +02:00
Jan Steemann 088d8aebf8 more tailored AQL error messages in case collection cannot be found 2013-07-18 10:48:02 +02:00
Jan Steemann d6dff8ee2b removed unused function 2013-07-18 02:32:25 +02:00
Jan Steemann c61395dff6 added single line comments for AQL 2013-07-17 15:12:53 +02:00
Jan Steemann ca6b184286 added TRI_JSON_STRING_REFERENCE 2013-07-10 17:00:29 +02:00
Jan Steemann d79d95a3a7 moved attribute names to defines 2013-07-05 14:41:23 +02:00
Jan Steemann 74489d9f93 OOM handling 2013-07-02 17:33:31 +02:00
Jan Steemann 8f27323f61 handle OOM 2013-07-02 17:21:45 +02:00
Jan Steemann 5b1f9f2a14 handle OOM 2013-07-02 17:21:07 +02:00
Jan Steemann 678cc23935 handle OOM 2013-07-02 17:17:52 +02:00
Jan Steemann 865597b8c2 indenting 2013-06-24 19:24:09 +02:00
Jan Steemann 0f7c632f0f less strlen 2013-06-24 17:31:37 +02:00
Jan Steemann ae5b06176e indentation 2013-06-22 02:45:07 +02:00
Jan Steemann d2a0d17c2a indenting 2013-06-21 21:24:42 +02:00
Jan Steemann e3275136cd allow incremental access to all documents from a collection out of AQL 2013-06-07 16:51:42 +02:00
Jan Steemann d31573a8b4 fixed a few type issues, updated TODOs 2013-06-07 11:31:42 +02:00
Jan Steemann 54b0552dee use a stable sort in COLLECT 2013-06-06 16:56:39 +02:00
Jan Steemann 5bdaa22049 issue #545 2013-06-04 18:31:16 +02:00
Jan Steemann fadcb59423 issue #540 2013-05-23 15:24:40 +02:00
Jan Steemann aca42ef9fd issue #540: merged patch by @guidoreina, added test 2013-05-23 12:17:57 +02:00
Jan Steemann d7b64d4ae2 merged patches by @guidoreina 2013-05-21 11:33:43 +02:00
Jan Steemann 68d2775b39 fixed uninitialised value 2013-05-17 15:22:40 +02:00
Jan Steemann 7f5884626c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-05-13 09:01:29 +02:00
Jan Steemann c7d2f8f8cd some json / shaped-json and string handling improvements 2013-05-13 09:01:07 +02:00
Guido Reina 7efd0a1ec7 Merge remote branch 'remotes/upstream/devel' into experiment 2013-05-09 18:56:50 +02:00
Guido Reina 7b3c1ed4dd In the function TRI_CreateNodeReturnEmptyAql(), if TRI_Allocate() failed to allocate memory for 'list', 'list' was freed, instead of 'node'. 2013-05-09 17:14:37 +02:00
Jan Steemann 3ac55bedbb issue #512: bind parameters for limit 2013-05-06 10:47:53 +02:00
Jan Steemann 8e23b92fb9 made "limit" an optional parameter for AQL NEAR() 2013-04-21 15:45:13 +02:00
Jan Steemann b667e458fc fixed error messages 2013-04-16 11:55:17 +02:00
Jan Steemann b6925a7b7b transactions 2013-04-11 19:06:55 +02:00
Jan Steemann badf20e47e added AQL function NEIGHBORS 2013-04-09 18:14:46 +02:00
Frank Celler 683284340e fixed typo 2013-04-08 17:02:54 +02:00
Jan Steemann 085e6be3bb fixed memleak 2013-04-05 14:02:56 +02:00
Jan Steemann ce66172328 updated generated files 2013-04-05 13:08:47 +02:00
Jan Steemann ed10d9b6aa AQL user functions 2013-04-05 12:50:44 +02:00
Frank Celler 37e134ff50 new Foxx 2013-04-04 18:56:38 +02:00
Jan Steemann bc28fff205 explicit NULL checks 2013-04-03 18:00:15 +02:00
Jan Steemann f7a5cf4cf3 transactions 2013-04-03 14:40:23 +02:00
Frank Celler f810711a79 FreeBSD port 2013-04-02 18:43:10 +02:00
Jan Steemann 4bb32107ba triAGENS/ArangoDB-PHP#55
optimiser may have mis-optimised duplicate filter statements with limit
2013-03-27 14:22:49 +01:00
Jan Steemann 69db58a154 index cleanup 2013-03-22 10:38:47 +01:00
Jan Steemann d1cde4457a wrapped some assertions into TRI_ASSERT_DEBUG 2013-03-15 19:00:59 +01:00
Frank Celler f9ba951999 fixed comments 2013-03-15 13:42:52 +01:00
Jan Steemann 12a0bc787c empty string optimisations 2013-03-14 16:41:28 +01:00
Frank Celler 1aa5109fa3 updated disclaimer 2013-03-13 17:03:18 +01:00
Jan Steemann ab0752102d why? 2013-03-11 10:44:26 +01:00
Frank Celler c915bfa5ff cleanup of indexes, fix for compaction (hash, cap, geo)
Conflicts:
	arangod/VocBase/compactor.c
	arangod/VocBase/document-collection.c
	arangod/VocBase/synchroniser.c
	arangod/VocBase/vocbase.c
2013-03-11 09:49:58 +01:00
Jan Steemann a73d32c553 initialise lists to the correct size 2013-03-07 00:46:27 +01:00
Jan Steemann 529cf8c93e initialise vectors with basic sizes 2013-03-07 00:13:26 +01:00
Jan Steemann 1b2155baf8 minor AQL runtime optimisations 2013-03-06 22:31:03 +01:00
Jan Steemann 46a7f3e1a2 added AQL test case 2013-03-01 11:09:36 +01:00
Jan Steemann 1fde3ad1e9 fixed optimiser problem with PATHS 2013-03-01 10:11:38 +01:00
Jan Steemann 8ec5735418 added tests for SUM(), MEDIAN() etc. 2013-02-28 10:56:52 +01:00
Jan Steemann 14c3863a17 added tests for LEFT(), RIGHT() 2013-02-28 09:38:03 +01:00
Jan Steemann 16586c6ee1 make AQL REVERSE() work on strings, too 2013-02-27 14:16:40 +01:00
Jan Steemann 71459b680f issue #426 2013-02-22 23:26:52 +01:00
Frank Celler 1b69e1bb6c regenerated files 2013-02-21 14:27:31 +01:00
Frank Celler 2553b572ab fixed mode 2013-02-21 14:14:20 +01:00
Oreste Panaia 2c12f63d7f libev interface 2013-02-19 20:58:21 +08:00
Frank Celler 78ba7acb17 generated files 2013-02-15 13:22:02 +01:00
Jan Steemann 3e04acf3ee added AQL functions KEEP() and UNSET() 2013-02-14 16:14:22 +01:00
Frank Celler 83ef8421c0 fixed padding for 32bit systems 2013-02-13 15:33:20 +01:00
Jan Steemann f00bf9c8d2 be more strict with numeric limits 2013-02-13 12:08:59 +01:00
Jan Steemann ca81913abb added AQL function EDGES() 2013-02-07 22:53:50 +01:00
Jan Steemann f16f88a2e6 added docs for CONTAINS(), added LIKE() 2013-02-06 11:40:45 +01:00
Jan Steemann 2263e959fe added tests for cross-collection queries 2013-02-05 09:26:05 +01:00
Jan Steemann 3fd6373c2f removed error 1520, replaced with standard error 1203 2013-02-04 23:04:37 +01:00
Jan Steemann de0b290bcd moved AQL to use AhuacatlTransaction 2013-02-04 11:25:03 +01:00
Jan Steemann 8989bc398c added more test cases for over/underflow 2013-01-30 20:58:40 +01:00
Jan Steemann 843453a76c test for infinite values to prevent endless while loops in number value printing 2013-01-30 19:26:43 +01:00
Jan Steemann e50daa33c9 fixed "evil" optimisation case 2013-01-30 09:39:18 +01:00
Jan Steemann 9773a88cf9 prevent endless loops for inf double values being appended to string buffer 2013-01-29 12:07:30 +01:00
Jan Steemann d4d7123cc8 issue #363: renamed TREE to TRAVERSAL_TREE 2013-01-28 17:33:17 +01:00
Jan Steemann 0be8df6082 added experimental AQL TREE() function. 2013-01-24 18:08:33 +01:00
Jan Steemann ac91506da4 fixed issues reported by jslint, added AQL ATTRIBUTES() 2013-01-24 17:25:48 +01:00
Jan Steemann 8fc4b97710 shortened internal aql function names 2013-01-24 14:55:12 +01:00
Jan Steemann 81dc83b8df de-globalised aql 2013-01-24 14:49:55 +01:00
Jan Steemann 09f0a91595 make MATCHES() AQL function variadic 2013-01-23 10:25:38 +01:00
Jan Steemann e0d3eb53e0 added MATCHES 2013-01-22 13:50:30 +01:00
Jan Steemann 58cead20e7 allow FUNC(...)[...] and FUNC(...).attr in AQL 2013-01-22 11:27:21 +01:00
Jan Steemann acd9c5c214 cppcheck fixes 2013-01-21 12:05:25 +01:00
Frank Celler 250726ca00 reorganisation of modules 2013-01-17 10:30:35 +01:00
Frank Celler 7380ddfabe Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	arangosh/V8Client/arangosh.cpp
	bin/arango32.msi
	bin/arango64.msi
	lib/BasicsC/win-utils.c
2013-01-15 15:50:47 +01:00
Oreste Panaia c01a5c6275 arango shell and import 2013-01-14 20:16:09 +08:00
Jan Steemann 8bf8a733a2 added traversal function 2013-01-13 13:48:23 +01:00
Jan Steemann 43dee1dcf4 fulltext queries from AQL, documentation 2013-01-11 22:25:08 +01:00
Jan Steemann 7be548ab5d issue #271: optimise LENGTH(p.edges) operator const-value 2013-01-10 01:08:12 +01:00
Oreste Panaia 9baae9c129 windows bug fixes 2013-01-09 22:23:35 +08:00
Jan Steemann 992c49d4a1 more cases for issue #324 2013-01-08 00:47:44 +01:00
Frank Celler 503e0ff8fe fixed merge conflicts 2013-01-02 18:07:57 +01:00
Jan Steemann 443757df3b some tests for issue #325 2012-12-20 13:35:49 +01:00