1
0
Fork 0
Commit Graph

682 Commits

Author SHA1 Message Date
Frank Celler dab85633dd fixed WeakDictionary 2013-01-18 13:27:40 +01:00
Jan Steemann 3b4a18fd94 fixed import tests 2013-01-18 11:14:54 +01:00
Frank Celler 61c6433c1c fixed building of html/admin/js files 2013-01-18 10:27:25 +01:00
Jan Steemann 752b9a4846 fixed tests 2013-01-18 03:45:24 +01:00
Frank Celler a92d0c6b4a fixed jslint warnings 2013-01-18 00:13:03 +01:00
Frank Celler cce07ede8c started development mode 2013-01-18 00:02:10 +01:00
Frank Celler 670dc221ab Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	js/client/client.js
	js/common/bootstrap/module-internal.js
	js/common/modules/org/arangodb/simple-query-common.js
	js/server/ahuacatl.js
2013-01-17 23:56:31 +01:00
Frank Celler edef5feacc fixed tests 2013-01-17 23:45:19 +01:00
Frank Celler 159f613169 more cleanup 2013-01-17 18:24:58 +01:00
Jan Steemann 4b4f79d080 updated documentation for TRAVERSE 2013-01-17 18:22:58 +01:00
Frank Celler cfadf6ca06 fixed comments 2013-01-17 16:10:42 +01:00
Frank Celler 3c21a87366 more cleanup 2013-01-17 16:01:15 +01:00
Frank Celler 632b9bc430 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-01-17 10:30:48 +01:00
Frank Celler 250726ca00 reorganisation of modules 2013-01-17 10:30:35 +01:00
Jan Steemann c73cf43874 tests 2013-01-16 18:39:08 +01:00
Jan Steemann d10d35bf4b colors 2013-01-16 01:40:07 +01:00
Jan Steemann e0e3fe12b8 added graph traversal for Graph 2013-01-15 19:48:53 +01:00
Jan Steemann 7a6db16241 added db._version() 2013-01-15 16:44:48 +01:00
Frank Celler af98eb2802 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-01-14 14:25:49 +01:00
Frank Celler 3a5b66d840 added function action 2013-01-14 14:25:41 +01:00
Jan Steemann 848cc1ae28 added CollectionDatasourceFactory 2013-01-14 14:08:28 +01:00
Jan Steemann 4761e9c28c added more tests 2013-01-14 00:02:10 +01:00
Jan Steemann 6acc85389c fixed "any" traversal 2013-01-13 23:56:28 +01:00
Jan Steemann 87034eaa02 fixed traverse 2013-01-13 23:43:41 +01:00
Jan Steemann ad14130aa0 some tests for traversal 2013-01-13 23:40:27 +01:00
Jan Steemann 0ce59432e0 edge & vertex uniqueness for TRAVERSE 2013-01-13 22:56:14 +01:00
Jan Steemann a2373b7036 added any expander 2013-01-13 14:53:26 +01:00
Jan Steemann f1a741ea7f documentation for TRAVERSE 2013-01-13 14:47:51 +01:00
Jan Steemann 9c995b3d59 added more parameters for TRAVERSE function 2013-01-13 14:17:51 +01:00
Jan Steemann 8bf8a733a2 added traversal function 2013-01-13 13:48:23 +01:00
Frank Celler 12b611d102 Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel 2013-01-12 21:08:35 +01:00
Frank Celler 3187fcb4f7 fixed iterate 2013-01-12 21:02:31 +01:00
Jan Steemann 12c687d934 added AQL fulltext queries 2013-01-11 23:08:54 +01:00
Jan Steemann 43dee1dcf4 fulltext queries from AQL, documentation 2013-01-11 22:25:08 +01:00
Jan Steemann f34b5085ee more tests 2013-01-11 14:17:42 +01:00
Frank Celler ee6658c8e4 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-01-11 10:39:17 +01:00
Jan Steemann 386c884a0d adjusted traversal, breadth first post order still to do 2013-01-10 18:38:04 +01:00
Frank Celler 33e3031380 Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	Makefile.in
	VERSION
	arangod/V8Server/v8-query.cpp
	build_posix.h
	configure
	configure.ac
2013-01-10 18:00:25 +01:00
Jan Steemann 9ca60d422e Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-01-10 10:56:25 +01:00
Frank Celler 8ec82daba0 nicer error messages 2013-01-10 09:19:40 +01:00
Jan Steemann 7be548ab5d issue #271: optimise LENGTH(p.edges) operator const-value 2013-01-10 01:08:12 +01:00
Jan Steemann 4bd1aefbc6 broken, but need to go home 2013-01-09 21:06:34 +01:00
Jan Steemann e61fc070bd initial traversal prototypes 2013-01-09 19:05:33 +01:00
Frank Celler 128cb67c8b Merge remote-tracking branch 'origin/1.1' into devel
Conflicts:
	Documentation/Examples/shell-read-document-bad-handle
	Makefile.in
	arangod/Documentation/shell-document.dox
	configure
	js/actions/system/api-collection.js
	js/actions/system/api-index.js
	js/actions/system/api-system.js
	js/common/bootstrap/modules.js
	js/common/bootstrap/print.js
	js/server/ArangoCollection.js
	lib/V8/v8-utils.cpp
2013-01-09 15:30:21 +01:00
Frank Celler 812360145e added flush 2013-01-09 11:47:17 +01:00
Frank Celler 46e0cc70bf deployment tool 2013-01-08 11:02:57 +01:00
Jan Steemann 992c49d4a1 more cases for issue #324 2013-01-08 00:47:44 +01:00
Jan Steemann d76920443d added tests and documentation for volatile collections 2013-01-07 10:55:25 +01:00
Frank Celler b9c0d7c937 moved errors to arangodb, fixed lslint warning 2013-01-06 12:09:40 +01:00
Frank Celler f5b1476d78 fixed jslint warnings 2013-01-06 11:05:28 +01:00
Frank Celler 7be1c01bda removed linked in JavaScript code, separate files for 'fs' and 'console' 2013-01-05 23:24:10 +01:00
Frank Celler 51779b4a3e fixed more jslint warnings 2013-01-05 17:13:13 +01:00
Frank Celler 28dc56496f fixed jslint warnings 2013-01-05 16:22:29 +01:00
Frank Celler 9c87607f46 added iterate 2013-01-05 16:21:03 +01:00
Frank Celler aa0d9d4e3e Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	Makefile.in
	js/server/server.js
2013-01-05 12:38:09 +01:00
Frank Celler c91b7c0f14 fixed jslint errors 2013-01-05 11:59:01 +01:00
Frank Celler 24fc2d371e moved methods to ArangoCollection 2013-01-05 11:46:33 +01:00
Frank Celler 7226c41ca6 Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	js/actions/system/api-collection.js
2013-01-05 11:21:24 +01:00
Frank Celler 0549528325 Merge branch '1.1' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	CHANGELOG
	Makefile.in
	arangod/V8Server/ApplicationV8.cpp
	arangod/V8Server/v8-vocbase.cpp
	html/admin/js/master.js
	js/actions/system/api-collection.js
	js/common/bootstrap/errors.js
	js/server/version-check.js
	lib/BasicsC/errors.dat
	lib/BasicsC/logging.c
	lib/BasicsC/voc-errors.c
	lib/BasicsC/voc-errors.h
2013-01-05 11:16:50 +01:00
Frank Celler ba26708f94 moved to actions.errors 2013-01-05 11:15:40 +01:00
Frank Celler f9dba124dd Merge remote-tracking branch 'origin/issue317' into 1.1
Conflicts:
	js/common/bootstrap/modules.js
2013-01-03 18:57:18 +01:00
Frank Celler 1c1106d825 fixed names 2013-01-03 18:45:44 +01:00
Frank Celler 79360ea164 more exports 2013-01-03 17:15:20 +01:00
Frank Celler 53364b7f15 updated error codes 2013-01-03 16:31:55 +01:00
Frank Celler 503e0ff8fe fixed merge conflicts 2013-01-02 18:07:57 +01:00
Frank Celler f188357f83 added padding for 32bit 2013-01-02 17:07:44 +01:00
Frank Celler dadcef3de3 renamed execute/load to executelocal and executeglobal 2013-01-02 14:52:55 +01:00
Jan Steemann c77bcfb385 issue #339 2013-01-02 10:37:10 +01:00
Jan Steemann cc304beca9 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-01-02 10:28:53 +01:00
Jan Steemann 908fcc8acd issue #339 2013-01-02 10:28:44 +01:00
Jan Steemann b48d039e3f issue #327 2012-12-27 18:26:04 +01:00
Jan Steemann e28d9b9a93 issue #327: fixed javascript parse errors 2012-12-27 18:05:02 +01:00
Jan Steemann d562c52fd7 backport of issue #300 2012-12-22 03:38:29 +01:00
Jan Steemann 443757df3b some tests for issue #325 2012-12-20 13:35:49 +01:00
Frank Celler d5f24ce13c Merge remote-tracking branch 'origin/windows' into HEAD
Conflicts:
	CHANGELOG
	Documentation/InstallationManual/Installing.md
	Documentation/Makefile.files
	Documentation/Scripts/generateTOC.py
	Documentation/header.html
	Installation/OBS/clean-repo.sh
	Installation/OBS/create-repo.sh
	Installation/OBS/create-ymp.sh
	Installation/OBS/index.html
	Installation/OBS/load-repo.sh
	Makefile.in
	VERSION
	aclocal.m4
	arangod/Ahuacatl/ahuacatl-functions.c
	arangod/Documentation/user-manual.dox
	arangod/V8Server/v8-actions.cpp
	arangod/V8Server/v8-vocbase.cpp
	arangod/VocBase/collection.c
	arangod/VocBase/datafile.c
	arangosh/V8Client/arangosh.cpp
	config/compile
	config/config.guess
	config/config.sub
	config/depcomp
	config/install-sh
	config/missing
	configure
	configure.ac
	js/server/arango-upgrade.js
	js/server/modules/org/arangodb/actions.js
	lib/BasicsC/logging.c
	lib/Utilities/ScriptLoader.cpp
2012-12-20 11:11:47 +01:00
Oreste Panaia 83ded3fc1f windows fixes 2012-12-20 17:17:30 +08:00
Jan Steemann 7f93615dc6 issue #326 2012-12-19 17:22:01 +01:00
Jan Steemann dd906abbd3 issue #324 2012-12-18 19:04:45 +01:00
Jan Steemann dc3c479e71 potential fix for issue #315 2012-12-17 13:09:15 +01:00
Jan Steemann d07dfd9ee1 potential fix for #315 2012-12-17 13:06:18 +01:00
Jan Steemann 58686a8c2e issue #323 2012-12-17 10:18:46 +01:00
Jan Steemann 81d6146d02 issue #323 2012-12-17 10:16:26 +01:00
Jan Steemann fb4afd0353 fulltext index 2012-12-10 12:16:48 +01:00
Jan Steemann cbaa57a1bd cleanup of fulltext indexes, resizing etc. 2012-12-07 18:00:01 +01:00
Jan Steemann c49ce0a52f fulltext resizing, still incomplete 2012-12-07 13:51:19 +01:00
Jan Steemann b5b431e815 some more tests 2012-12-07 09:08:58 +01:00
Oreste Panaia 857b66c490 windows version 2012-12-06 20:44:01 +08:00
Jan Steemann 013fea7d01 added missing function referenced by simple query API 2012-12-05 18:44:35 +01:00
Jan Steemann 1ffa8e702c more tests and documentation for fulltext indexes 2012-12-05 16:12:33 +01:00
Jan Steemann f9f893d4b7 extended AQL DOCUMENT() function to take a list of ids 2012-12-05 14:14:44 +01:00
Jan Steemann a9df4d22cb extended AQL document() function to take id lists 2012-12-05 14:10:06 +01:00
Jan Steemann fd61b74174 added AQL function DOCUMENT() to retrieve a document by its _id value 2012-12-05 11:48:56 +01:00
Jan Steemann e4e95fabfe added AQL function DOCUMENT() 2012-12-05 11:47:03 +01:00
Jan Steemann cc54fd3ccc added some language test cases 2012-12-04 16:02:40 +01:00
Jan Steemann 99034b0aa4 more tests 2012-12-04 15:36:49 +01:00
Jan Steemann 0b41690881 tests for substrings 2012-12-04 15:01:48 +01:00
Jan Steemann b5c978feb6 applied bugfix from Richard, more test cases 2012-12-04 14:40:50 +01:00
Jan Steemann 46132c9f26 more tests for fulltext 2012-12-04 14:20:55 +01:00
Jan Steemann dc9f84fc60 added test cases for update and delete 2012-12-04 11:46:49 +01:00
Jan Steemann 5742ab6fba fixed unicode lowercasing 2012-12-04 11:12:38 +01:00
Jan Steemann 5eb0081bcd tests for issue #300 2012-12-04 09:58:23 +01:00
Jan Steemann 1992597015 applied bug fix from Richard, activated 2 more tests 2012-12-04 09:00:48 +01:00
Jan Steemann cb08d4f45f fulltext tests 2012-12-04 01:51:16 +01:00
Jan Steemann 4d2d8455d4 fulltext query test cases 2012-12-04 01:20:34 +01:00
Jan Steemann 962ef32c15 code style 2012-12-03 23:55:59 +01:00
Jan Steemann cdbb96788f issue #313 2012-12-03 15:30:01 +01:00
Jan Steemann d60888e970 replaced arango-upgrade script with server startup option --upgrade 2012-12-03 13:45:58 +01:00
Jan Steemann 42ba0502f0 changed upgrade procedure
removed arango-upgrade script, replaced it with --upgrade server option
adjusted documentation & start scripts
2012-12-03 13:02:59 +01:00
Jan Steemann 59461d0c4b added functionality to add and remove users programatically
removed arango-password script
2012-12-03 11:42:30 +01:00
Jan Steemann cbad6b526a make collections accesible via name instead of id.
this allows using the collection name instead of ids in _from, _to, _id etc.
2012-11-28 13:16:15 +01:00
Jan Steemann bd3c8189dc Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-11-27 13:56:08 +01:00
Jan Steemann d4daccb3a5 added a fix and tests for issue #293 2012-11-27 13:55:52 +01:00
Frank Celler 249492a89c Merge remote-tracking branch 'origin/1.1' into devel
Conflicts:
	CHANGELOG
	Documentation/Manual/GlossaryCollectionName.md
	Documentation/Manual/NewFeatures11.md
	Documentation/UserManual/FirstStepsArangoDB.md
	VERSION
	arangod/Documentation/api-blueprints.dox
	arangod/HashIndex/hasharray.c
	arangod/RestHandler/RestVocbaseBaseHandler.cpp
	arangod/RestServer/ArangoServer.cpp
	arangod/V8Server/v8-actions.cpp
	arangod/V8Server/v8-vocbase.cpp
	arangod/VocBase/compactor.c
	arangod/VocBase/document-collection.c
	configure.ac
	html/admin/js/master.js
	js/server/ahuacatl.js
	js/server/arango-upgrade.js
	lib/BasicsC/voc-errors.h
	lib/V8/V8LineEditor.cpp
	lib/V8/v8-utils.cpp
2012-11-27 12:34:58 +01:00
Jan Steemann ecddca6969 issue #296 2012-11-26 10:22:17 +01:00
Jan Steemann 33ab7b96e1 issue #296 2012-11-26 10:21:37 +01:00
Jan Steemann 13e5cf5b15 issue #296 2012-11-26 10:17:59 +01:00
Jan Steemann eac11fb793 issue #293 2012-11-24 03:16:23 +01:00
Jan Steemann bc9cf9428a issue #287 2012-11-20 18:27:48 +01:00
Jan Steemann 0f8767a996 issue #287 2012-11-20 18:22:31 +01:00
Jan Steemann a2b404123a load monkeypatches on all occasions 2012-11-20 16:50:15 +01:00
Jan Steemann b159a0539b moved monkeypatches.js to bootstrap folder and load it at all occasions, allowing graph usage from arangosh 2012-11-20 15:36:19 +01:00
Jan Steemann 30799b0857 fixed unknown log level 2012-11-20 09:33:39 +01:00
Jan Steemann 50f6868b6a fixed unknown log level 2012-11-20 09:33:09 +01:00
Jan Steemann 744618fbe0 fixed some escape routes in version check 2012-11-20 09:31:09 +01:00
Jan Steemann 2efa2f32db added server version check 2012-11-20 09:27:28 +01:00
Jan Steemann 85a8f56a34 complain about non-expected database directory versions 2012-11-20 01:41:41 +01:00
Jan Steemann 66cf084232 fixed issue #283: AQL LENGTH() now works on documents, too 2012-11-19 14:01:47 +01:00
Jan Steemann 37750da396 * fixed issue #283: AQL LENGTH() now works on documents, too 2012-11-19 14:00:09 +01:00
Jan Steemann 3718f3570d ALL() moved to transaction semantics 2012-11-19 13:07:38 +01:00
Jan Steemann fe693e6ae3 make documents read use transaction semantics 2012-11-19 11:23:44 +01:00
Jan Steemann 792f57b760 issue #271: simple paths() function optimisations
When an "outbound" query is made with the paths() function, the optimiser will now use an index if a FILTER condition can exploit an index on .source.
Example query:

FOR p IN PATHS(users, relations, "outbound")
  FILTER p.source._id == "some-id"
  RETURN p

The index on p._id was not exploited before, because the optimiser did not know that variable "p" related to collection "users" and that the condition actually would filter on users._id (the variable name in the FILTER statement is "p.source._id).
Now, AQL functions can define callbacks which are called by the optimiser to try some function-specific optimisations.
The optimise callback for PATHS() tries to exploit indexes for filters that filter on the vertex collection (1st parameter to PATHS() call). Indexes can be exploited if the query is an "outbound" query and there are filters on "source", or if the query is an "inbound" query and there are filters on "destination". "anybound" queries will not be optimised
2012-10-26 13:32:01 +02:00
Jan Steemann 973ac4fa62 issue #271: simple paths() function optimisations
When an "outbound" query is made with the paths() function, the optimiser will now use an index if a FILTER condition can exploit an index on .source.
Example query:

FOR p IN PATHS(users, relations, "outbound")
  FILTER p.source._id == "some-id"
  RETURN p

The index on p._id was not exploited before, because the optimiser did not know that variable "p" related to collection "users" and that the condition actually would filter on users._id (the variable name in the FILTER statement is "p.source._id).
Now, AQL functions can define callbacks which are called by the optimiser to try some function-specific optimisations.
The optimise callback for PATHS() tries to exploit indexes for filters that filter on the vertex collection (1st parameter to PATHS() call). Indexes can be exploited if the query is an "outbound" query and there are filters on "source", or if the query is an "inbound" query and there are filters on "destination". "anybound" queries will not be optimised
2012-10-26 12:01:46 +02:00
a-brandt b1e24ca6bd Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-10-25 11:52:32 +02:00
a-brandt 26b7f4a996 added datafile upgrade 2012-10-25 11:51:45 +02:00
Jan Steemann 67c0ac2e2c issue #262 2012-10-25 10:57:51 +02:00
Jan Steemann bbd3dc8e23 issue #262 2012-10-25 10:57:26 +02:00
a-brandt 71f1b7c5bd Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-10-24 12:36:39 +02:00
Jan Steemann 785d602fa0 remove invalid file 2012-10-24 11:55:15 +02:00
Jan Steemann 5a465a1763 more verbose action debugging 2012-10-24 11:54:40 +02:00
Jan Steemann e28a6625ef more verbose action debugging 2012-10-24 11:54:14 +02:00
a-brandt ba5a98e613 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-10-24 10:47:21 +02:00
a-brandt c2d0749178 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	arangod/RestHandler/RestDocumentHandler.cpp
	arangod/RestHandler/RestEdgeHandler.cpp
	arangod/RestHandler/RestImportHandler.cpp
	arangod/V8Server/v8-vocbase.cpp
	arangod/VocBase/document-collection.c
	arangod/VocBase/document-collection.h
	arangod/VocBase/primary-collection.c
	arangod/VocBase/primary-collection.h
2012-10-24 10:46:38 +02:00
Jan Steemann 85a81a2e04 another bugfix 2012-10-24 10:11:06 +02:00
Jan Steemann b95831c906 another bugfix 2012-10-24 10:10:41 +02:00
Jan Steemann 95c9c85608 documentation update 2012-10-24 09:39:39 +02:00
Jan Steemann 6e2e340c41 documentation update 2012-10-24 09:38:46 +02:00
Jan Steemann 39afb5e1a0 initialise variable 2012-10-23 18:51:22 +02:00
Jan Steemann c3f84cb2a6 initialise variable 2012-10-23 18:50:34 +02:00
Jan Steemann a422f005b6 updated documentation and error messages 2012-10-23 17:03:21 +02:00
Jan Steemann d4a116525b some documentation and error message updates 2012-10-23 17:02:31 +02:00
Jan Steemann 9b7315e188 fixed arango-upgrade 2012-10-23 15:56:20 +02:00
Jan Steemann 6d2861ec5e fixed arango-upgrade 2012-10-23 15:54:52 +02:00
Jan Steemann f64bfd9240 also add other system collection 2012-10-22 16:46:28 +02:00
Jan Steemann 9b93fec78d issue #252: add _modules collection by default 2012-10-22 14:00:29 +02:00
Jan Steemann 21527dbb33 issue #252: add _modules collection by default 2012-10-22 13:59:37 +02:00
Jan Steemann 6d1201b2ec issue #248: allow AQL optimiser to pull out completely uncorrelated subqueries to the top level, resulting in less repeated evaluation of the subquery 2012-10-22 09:23:58 +02:00
Jan Steemann d117f2916a issue #248: pull out some sort of subqueries 2012-10-22 09:14:38 +02:00
Frank Celler 7f33ac5519 added autoload for modules
Conflicts:
	CHANGELOG
	js/server/js-server.h
2012-10-20 22:07:50 +02:00
Frank Celler c1b0c37480 added module org/arangodb, added convinient functions 2012-10-18 15:39:00 +02:00
Jan Steemann 875bfd7f79 issue #247 2012-10-17 13:12:12 +02:00
Frank Celler 939c5ece15 Merge branch '1.0' of github.com:triAGENS/ArangoDB
Conflicts:
	CHANGELOG
	CONTRIBUTING.md
	Doxygen/arango-html.doxy
	Doxygen/arango-latex.doxy
	Doxygen/arango-xml.doxy
	Doxygen/arango.template
	Makefile.in
	Makefile.local
	Makefile.unittests
	VERSION
	config/config.sub
	configure
	configure.ac
	js/actions/system/api-system.js
	js/client/js-client.h
	js/common/bootstrap/js-modules.h
	js/server/js-ahuacatl.h
	packetize.sh
2012-10-11 15:19:44 +02:00
Jan Steemann 6d96d040fa added AQL function TO_LIST 2012-10-10 11:02:56 +02:00
Jan Steemann eb11086ae5 added AQL function TO_LIST 2012-10-10 10:51:35 +02:00
Frank Celler c637ac03b6 Merge branch '1.0' of github.com:triAGENS/ArangoDB into 1.0-issue-165 2012-10-09 16:47:58 +02:00
Jan Steemann 9ceca523af issue #219: continue in case of "document not found" error 2012-10-08 18:23:49 +02:00
Jan Steemann e326255301 issue #219: continue in case of "document not found" error 2012-10-08 18:12:50 +02:00
Jan Steemann 3b8ad1835e harmonise API between client and server versions
this adds db._createStatement() on the server side, furthermore it provides GeneralArrayCursor.elements()
2012-10-08 18:11:45 +02:00
Jan Steemann 788f91cd59 added ArangoStatement.explain() client method, wrote test cases 2012-10-08 15:49:15 +02:00
Jan Steemann 5da08eb283 allow AQL to use indexes in additional cases 2012-10-08 12:51:27 +02:00
Frank Celler d1728b8920 fixed undefined vs delete attributes 2012-10-01 13:11:05 +02:00
Frank Celler 049009ba5a a string as action is mapped to a prefix controller 2012-10-01 12:39:11 +02:00
Oreste Panaia 5d79b618c7 strings converted to char* 2012-10-01 18:36:42 +08:00
Frank Celler 50c2963897 create _routing if not present 2012-10-01 11:49:09 +02:00
Frank Celler faad04c8b3 switch options and next 2012-10-01 11:46:06 +02:00
Jan Steemann 3b5d4a4fc9 issue #204: allow import of tab-separated values
this enables the user to specify the tab as separator for arangoimp.
the separator and eol values used by arangoimp can now also consist of
more than one character.

updated documentation and added test cases
2012-09-30 01:38:32 +02:00
Frank Celler db4d31cd94 fixed jslint issures 2012-09-29 16:39:58 +02:00
Frank Celler aeb83e4435 ssue #165: front-end application howto 2012-09-29 16:03:32 +02:00
Oreste Panaia 8726b833d4 removed long static standard c++ string from header file 2012-09-28 21:52:28 +08:00
Jan Steemann 3bbed7fe3b fixed task numbers 2012-09-26 14:08:03 +02:00
Jan Steemann 372abf03bb der fux mag pilze 2012-09-26 14:05:08 +02:00
Frank Celler e9b1e1c58f Merge branch '1.0' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	3rdParty/mruby/include/mrbconf.h
	3rdParty/mruby/include/mruby.h
	3rdParty/mruby/include/mruby/array.h
	3rdParty/mruby/include/mruby/khash.h
	3rdParty/mruby/include/mruby/object.h
	3rdParty/mruby/include/mruby/variable.h
	3rdParty/mruby/mrblib/error.rb
	3rdParty/mruby/mrblib/print.rb
	3rdParty/mruby/src/array.c
	3rdParty/mruby/src/cdump.c
	3rdParty/mruby/src/class.c
	3rdParty/mruby/src/codegen.c
	3rdParty/mruby/src/error.c
	3rdParty/mruby/src/gc.c
	3rdParty/mruby/src/init.c
	3rdParty/mruby/src/kernel.c
	3rdParty/mruby/src/math.c
	3rdParty/mruby/src/numeric.c
	3rdParty/mruby/src/object.c
	3rdParty/mruby/src/parse.y
	3rdParty/mruby/src/pool.c
	3rdParty/mruby/src/proc.c
	3rdParty/mruby/src/range.c
	3rdParty/mruby/src/sprintf.c
	3rdParty/mruby/src/state.c
	3rdParty/mruby/src/string.c
	3rdParty/mruby/src/struct.c
	3rdParty/mruby/src/symbol.c
	3rdParty/mruby/src/time.c
	3rdParty/mruby/src/variable.c
	3rdParty/mruby/src/vm.c
	3rdParty/mruby/src/y.tab.c
	3rdParty/mruby/test/assert.rb
	3rdParty/mruby/test/t/array.rb
	3rdParty/mruby/test/t/exception.rb
	3rdParty/mruby/test/t/kernel.rb
	3rdParty/mruby/test/t/math.rb
	3rdParty/mruby/test/t/module.rb
	3rdParty/mruby/test/t/string.rb
	3rdParty/mruby/test/t/struct.rb
	3rdParty/mruby/test/t/time.rb
	3rdParty/mruby/tools/mirb/mirb.c
	3rdParty/mruby/tools/mruby/mruby.c
	Doxygen/arango-html.doxy
	Doxygen/arango.template
	Makefile.am
	Makefile.in
	UnitTests/HttpInterface/api-http-spec.rb
	aclocal.m4
	arangod/RestHandler/RestDocumentHandler.cpp
	arangod/RestServer/ArangoServer.cpp
	arangod/V8Server/ApplicationV8.cpp
	arangod/V8Server/ApplicationV8.h
	arangod/V8Server/v8-actions.cpp
	arangod/V8Server/v8-query.cpp
	arangod/V8Server/v8-vocbase.cpp
	arangod/V8Server/v8-vocbase.h
	arangod/VocBase/compactor.c
	arangod/VocBase/compactor.h
	arangod/VocBase/shadow-data.c
	arangod/VocBase/simple-collection.c
	arangod/VocBase/simple-collection.h
	arangod/VocBase/synchroniser.c
	arangod/VocBase/vocbase.c
	arangoirb/MRClient/arangoirb.cpp
	config/compile
	config/depcomp
	config/install-sh
	config/missing
	configure
	js/actions/demo/geo.js
	js/actions/demo/hallo-world.js
	js/actions/system/api-collection.js
	js/actions/system/api-edges.js
	js/actions/system/api-system.js
	js/actions/system/documents.js
	lib/BasicsC/locks-posix.c
	lib/BasicsC/operating-system.h
	lib/HttpServer/HttpCommTask.cpp
	lib/HttpServer/HttpCommTask.h
	lib/MRuby/MRLineEditor.cpp
	lib/MRuby/mr-utils.c
	m4/Makefile.doxygen
	m4/all-in-one.mruby
2012-09-20 16:39:59 +02:00
Frank Celler a67bb18f72 return 5xx if not implemented 2012-09-19 15:33:43 +02:00
Frank Celler 8f5b31177b added redirect 2012-09-18 16:33:16 +02:00
a-brandt d077c97f2c ICU updates 2012-09-18 15:42:46 +02:00
Frank Celler 2ce0c4336a added module in database 2012-09-18 15:07:57 +02:00
a-brandt 1a9961cb4c Added COMPARE_STRING function 2012-09-18 13:13:26 +02:00
Frank Celler 88b72adea4 more actions example, reloadCache added 2012-09-17 18:08:28 +02:00
Frank Celler 4f6762436c added first go at user actions 2012-09-16 17:25:57 +02:00
Frank Celler 21eb612376 first version of new actions module 2012-09-15 19:16:36 +02:00
Frank Celler 49b19e4657 Merge branch 'devel' of github.com:triAGENS/ArangoDB
Conflicts:
	lib/BasicsC/terminal-utils-posix.c
	lib/BasicsC/terminal-utils.c
	lib/SimpleHttpClient/SimpleHttpResult.cpp
2012-09-12 23:49:14 +02:00
Frank Celler e8089d86a7 removed user manager 2012-09-12 23:37:39 +02:00
Jan Steemann d002fde025 documentation 2012-09-12 22:02:20 +02:00
Jan Steemann 650261faed issue #195: make arango-upgrade write VERSION file, add global Javascript variable DATABASEPATH 2012-09-12 21:53:01 +02:00
Jan Steemann d670fbca5b issue #150, issue #188 2012-09-12 09:32:25 +02:00
Oreste Panaia f93eef34d7 git
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel

Conflicts:
	lib/ShapedJson/json-shaper.c
2012-09-10 20:53:41 +08:00
Jan Steemann c0268ce475 try to avoid duplicate read-locking from AQL queries 2012-09-10 14:44:29 +02:00
Oreste Panaia 8847d87580 added limited AQL support for bit indexes 2012-09-10 20:42:14 +08:00
Jan Steemann 8944637717 issue #183: strange unittest error 2012-09-03 08:42:38 +02:00
Jan Steemann b8f694ec0a issue #178: added test cases for arangoimp 2012-08-31 13:31:16 +02:00
Frank Celler 2ab77278d9 changes to allow SUBDIR build 2012-08-30 18:06:23 +02:00
Jan Steemann 1167b62ca6 issue #153: wrote upgrade script for arango. this will convert collections into edge collections etc. 2012-08-28 17:29:36 +02:00
Jan Steemann b8e7d5634d issue #153: edge collection should be a flag for a collection 2012-08-28 10:48:24 +02:00
Jan Steemann d602942925 preparation for issue #110: added HTTP patch method 2012-08-20 13:50:24 +02:00
Jan Steemann 291d3fbc64 issue #108: speed up truncate operation 2012-08-20 11:13:01 +02:00
Jan Steemann 31dbf59cc8 issue #137: AQL optimizer should use indexes for ref accesses with 2 named attributes 2012-08-06 13:08:45 +02:00
Jan Steemann a70d4f2920 issue #137: exploit indexes for FILTER patterns collection.attribute operator collection.attribute 2012-08-06 12:56:11 +02:00
Frank Celler 325a4d59bb datafile check 2012-07-28 20:57:03 +02:00
Frank Celler 818b6d9ec2 datafile debugger 2012-07-28 09:32:45 +02:00
Frank Celler a02faec3a3 added basic authentication 2012-07-15 17:06:59 +02:00
Jan Steemann 3411a9b98c fixed a few query optimiser bugs, added test cases 2012-06-29 15:26:35 +02:00
Jan Steemann fa3b6a74fa fixed some range optimiser bugs, added test cases 2012-06-29 11:30:44 +02:00
Jan Steemann bafc974623 added test cases for range optimisation, fixed some range optimiser bugs 2012-06-29 10:23:04 +02:00
Frank Celler 94c954b8fd application v8 2012-06-21 22:40:11 +02:00
Lucas Dohmen 15eddecc34 Revert "Monkeypatches have their own module now."
This reverts commit d01b16a930cfc5a47174d7e24a1742c20f874318.

Conflicts:
	js/common/modules/monkeypatches.js
2012-06-20 16:43:08 +02:00
Lucas Dohmen 455befdbf6 Monkeypatches loaded by default and refactored
The monkeypatches will now always be loaded a server startup.
I also refactored them.
2012-06-20 16:18:04 +02:00
Jan Steemann e3a075057f reference accesses can now use indexes 2012-06-13 12:07:29 +02:00
Jan Steemann d84193bce7 explain & optimizer 2012-06-11 17:55:09 +02:00
Jan Steemann 7d84873f4f added test cases for ref access 2012-06-06 16:20:23 +02:00
Jan Steemann c21659fbac added more test cases for index access 2012-06-06 15:57:38 +02:00
Jan Steemann 60429b39eb issue #100: "count" attribute exists in cursor response with "count: false" 2012-06-06 08:59:55 +02:00
Jan Steemann 0da201adb5 potential fix for issue #100 2012-06-05 09:59:15 +02:00
Jan Steemann 15a504d023 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-06-01 13:21:20 +02:00
Heiko Kernbach 6a8c0c2400 test suite 2012-06-01 10:33:18 +02:00
Jan Steemann 11612dbe15 fixed a segfault with some broken queries 2012-06-01 09:12:14 +02:00
Jan Steemann 164b63f7a6 handling special case for empty strings in contains() 2012-05-31 16:25:27 +02:00
Heiko Kernbach 030ba0f2e2 ahuacatl-contains 2012-05-31 14:15:46 +02:00
Jan Steemann 2b841bacf7 contains() 2012-05-31 13:15:00 +02:00
Jan Steemann 68db2dc0b5 test case for issue #97 2012-05-28 20:52:00 +02:00
Frank Celler 86fcb881e9 fixed === and !== and == and != 2012-05-25 15:33:35 +02:00
Frank Celler b2d521ee35 cleanup action queues 2012-05-25 14:28:27 +02:00
Frank Celler 1e3ab217f3 Merge branch 'devel' of github.com:triAGENS/ArangoDB 2012-05-25 00:26:50 +02:00
Frank Celler 67e5ea65b3 console is now a module 2012-05-24 23:59:53 +02:00
Frank Celler 988d8090c1 jslint 2012-05-24 23:25:19 +02:00
Jan Steemann 693338a0fb renamed some functions 2012-05-24 15:27:29 +02:00
Jan Steemann cf8c339e7c added AQL example queries 2012-05-24 14:34:29 +02:00
Jan Steemann 9d5e80b5b0 double the throughput for simple AQL queries by returning the result set as V8 list instead of a cursor 2012-05-24 12:24:23 +02:00
Jan Steemann e67d7da686 documentation for AQL functions 2012-05-24 11:25:49 +02:00
Jan Steemann 26ee519b32 fix for issue #89 2012-05-24 00:07:07 +02:00
Jan Steemann 3f539e7bd6 possible fix for issue #82 2012-05-23 21:44:52 +02:00
Jan Steemann 7c0e146246 issue #80: support LENGTH(collection) 2012-05-23 17:50:58 +02:00
Jan Steemann 74f9a39fd3 commit derived file 2012-05-23 16:44:58 +02:00
Jan Steemann 99fe2199a6 changed implementation of paths function 2012-05-23 16:39:48 +02:00
Jan Steemann 1829075aa0 made direction parameter optional for paths function 2012-05-23 13:42:04 +02:00
Jan Steemann 0bf4a241c7 added test cases 2012-05-23 00:13:33 +02:00
Jan Steemann a4b1027690 added functions unique(), reverse(), first(), last() and has() 2012-05-22 22:43:58 +02:00
Jan Steemann 34bfac9774 some more tests 2012-05-22 22:18:30 +02:00
Jan Steemann f1837d67e5 added paths() function 2012-05-22 18:47:19 +02:00
Jan Steemann 6a75b8affd added collections() function 2012-05-22 13:09:36 +02:00
Frank Celler d3f3cb1f88 Merge branch '0.5' of github.com:triAGENS/ArangoDB into devel 2012-05-22 12:34:18 +02:00
Jan Steemann c928642277 fixed memleaks 2012-05-22 12:22:03 +02:00
Frank Celler f5c7265911 fixed error message 2012-05-22 09:36:43 +02:00
Jan Steemann 21e5f2353e test 2012-05-22 08:52:48 +02:00
Frank Celler 7705fc2ac4 Merge branch 'devel' of github.com:triAGENS/ArangoDB 2012-05-21 18:28:15 +02:00
Frank Celler dd92df134c sk doc 2012-05-21 18:28:00 +02:00
Frank Celler b682357901 added skip list queries 2012-05-21 17:19:17 +02:00
Jan Steemann 46ea63a11c more test cases 2012-05-21 14:57:49 +02:00
Jan Steemann 24d829bb5c added tests for skiplist queries 2012-05-21 14:46:59 +02:00
Frank Celler b64a51844f added lookup skiplist index 2012-05-21 13:51:03 +02:00
Jan Steemann 8e834971fd internally changed the query execution, adjusted query tests 2012-05-21 10:31:05 +02:00
Jan Steemann 4d8e005241 more test cases 2012-05-19 01:41:11 +02:00
Jan Steemann 57efcc2668 added complex tests 2012-05-19 01:17:17 +02:00
Jan Steemann e5cc97633f added tests 2012-05-18 18:56:41 +02:00
Jan Steemann ba7eb326c7 added test cases 2012-05-18 17:18:50 +02:00
Jan Steemann 12df9e7d02 added test cases 2012-05-18 16:51:24 +02:00
Jan Steemann 7fea45cb97 added error code checks for bind parameter tests 2012-05-18 16:11:45 +02:00
Jan Steemann 92392b6c79 fixed tests 2012-05-18 16:05:28 +02:00
Jan Steemann 49990c5288 unified javascript runtime error messages in AQL 2012-05-18 15:52:11 +02:00
Jan Steemann 4188057ecc tried to make geo tests deterministic 2012-05-18 14:47:59 +02:00
Jan Steemann 70385d0f68 added test cases for geo queries 2012-05-18 14:20:23 +02:00
Jan Steemann c019da58b9 improved function argument validation 2012-05-18 13:33:59 +02:00
Jan Steemann 5dc9bf65e0 added NEAR() and WITHIN() functions 2012-05-18 10:11:27 +02:00
Jan Steemann 0077a4dee2 added tests 2012-05-16 20:24:14 +02:00
Jan Steemann fc72722a59 added tests for logical operations 2012-05-16 19:40:06 +02:00
Jan Steemann ab41fc94ae added comments 2012-05-16 19:33:08 +02:00
Jan Steemann 247bba8ecd fixed test cases 2012-05-16 17:06:03 +02:00
Jan Steemann 07207daa19 fixed examples in arangosh, added tests for AHUACATL_PARSE 2012-05-16 16:46:36 +02:00
Jan Steemann ac4621b315 added test case for bind parameters 2012-05-16 15:45:05 +02:00
Jan Steemann 77a2d45282 fixed ternary operator in AQL, added test cases 2012-05-16 15:15:51 +02:00
Jan Steemann bccb3e48b6 test was not deterministic 2012-05-16 14:39:35 +02:00
Jan Steemann 197517e408 added tests for bind parameters 2012-05-16 14:36:05 +02:00
Jan Steemann 9260d8b44a AQL now uses skiplists for single and multi-range queries 2012-05-16 12:14:35 +02:00
Jan Steemann 0050f21b2c added multi-value access for skiplists, hash indexes and primary indexes 2012-05-16 10:14:15 +02:00
Jan Steemann d4da126bcb skiplists 2012-05-15 15:27:43 +02:00
Jan Steemann 85f24a72f0 more optimisations 2012-05-15 15:22:56 +02:00
Jan Steemann a35f492b7f added hash index access for for loops 2012-05-15 13:42:15 +02:00
Jan Steemann 54c60a32b5 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-05-14 23:30:30 +02:00
Jan Steemann 693165e47d added some string functions plus test cases 2012-05-14 23:29:54 +02:00
Frank Celler 56c53e5741 doc user-manual 2012-05-14 21:44:29 +02:00
Frank Celler 6a8218e703 Merge branch 'devel' of github.com:triAGENS/ArangoDB 2012-05-14 14:52:17 +02:00
Frank Celler c909ec20f3 more doc 2012-05-14 14:51:55 +02:00
Jan Steemann 29897365e2 fixed some tests 2012-05-14 14:47:23 +02:00
Frank Celler 1f7d7ea334 fixed Web-Front-End access via / 2012-05-13 15:18:21 +02:00
Frank Celler 763e7aba98 renamed to Arango 2012-05-12 14:40:34 +02:00
Jan Steemann 61db7ee3e8 more tests 2012-05-11 17:05:33 +02:00
Jan Steemann bc25a251f7 added more test cases, fixed some query edge cases 2012-05-11 16:47:02 +02:00
Jan Steemann 0613a82a1d added test cases 2012-05-11 00:40:04 +02:00
Jan Steemann efce58a2f2 added query test cases 2012-05-11 00:18:49 +02:00
Frank Celler 70d636a2be fixed firstExample 2012-05-10 20:30:40 +02:00
Frank Celler e1cd69d515 fixed hash 2012-05-10 20:14:49 +02:00
Frank Celler e169f12c71 Merge branch 'devel' of github.com:triAGENS/AvocadoDB 2012-05-10 17:10:27 +02:00