1
0
Fork 0
Commit Graph

909 Commits

Author SHA1 Message Date
Jan Steemann fc0e64f812 issue #247 2012-10-17 13:07:44 +02:00
Jan Steemann 82d6440ede added clear method 2012-10-17 10:15:51 +02:00
Jan Steemann d379c2eaba issue #246: added clear() function 2012-10-17 09:57:23 +02:00
Jan Steemann 930b0a172a issue #240: added documentation about collection type 2012-10-14 21:51:22 +02:00
Jan Steemann 9312c9e8f9 issue #240: add documentation about collection type 2012-10-14 21:36:26 +02:00
Frank Celler 195d6903c1 added generated files 2012-10-14 16:23:48 +02:00
Frank Celler c0c869d1ff Merge branch 'devel' of github.com:triAGENS/ArangoDB
Conflicts:
	arangod/RestServer/ArangoServer.cpp
	arangosh/ArangoShell/ArangoClient.cpp
	js/client/js-client.h
2012-10-13 16:28:09 +02:00
Jan Steemann 6146aa3981 issue #219: re-introduced different behavior of db and edge objects 2012-10-13 00:44:24 +02:00
Frank Celler 59ef60d6b2 fixed doc errors 2012-10-12 19:21:52 +02:00
Frank Celler 7c3547e815 Merge branch 'devel' of github.com:triAGENS/ArangoDB
Conflicts:
	Makefile.files
	Makefile.in
	js/actions/system/api-system.js
2012-10-11 23:18:55 +02:00
Jan Steemann 2bb0407826 issue #235: fixed broken web front end 2012-10-11 21:32:15 +02:00
Frank Celler 1f96f6baaa removed generated files 2012-10-11 20:37:41 +02:00
Frank Celler 160b6a3661 using standard name 2012-10-11 19:14:05 +02:00
Jan Steemann 7ba1920b88 moved try ... catch blocks to outermost scope 2012-10-11 16:20:22 +02:00
Frank Celler bbd9698d22 removed generated files 2012-10-11 16:20:08 +02:00
Frank Celler 2f93046870 Merge branch 'devel' of github.com:triAGENS/ArangoDB 2012-10-11 16:17:36 +02:00
Frank Celler c59da5fd70 fixed path 2012-10-11 16:15:35 +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
Frank Celler a1c27df103 Merge branch 'devel' of github.com:triAGENS/ArangoDB
Conflicts:
	Makefile.in
2012-10-11 14:35:23 +02:00
Frank Celler 27cf9d9b04 Merge branch 'devel' of github.com:triAGENS/ArangoDB
Conflicts:
	3rdParty/Makefile.all-in-one-zeromq
	Makefile.in
	js/actions/system/api-blueprint.js
	js/actions/system/api-system.js
2012-10-11 14:33:31 +02:00
Jan Steemann f47a96c168 updated documentation (#227, #228, #229) 2012-10-11 00:36:47 +02:00
Jan Steemann dcaf0ffcae issue #228 2012-10-11 00:05:02 +02:00
Jan Steemann a002ded8ed Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-10-10 22:55:17 +02:00
Jan Steemann 600ba0ed0c fixed a typo in documentation 2012-10-10 22:00:33 +02:00
Jan Steemann b639a6ec8c removed lines that printed stuff out 2012-10-10 18:33:34 +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
Jan Steemann 9ffa4779e2 test cases for issue #213 2012-10-10 09:22:18 +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 03f8ce95b8 some more documentation for issue #221 2012-10-08 17:17:43 +02:00
Jan Steemann 02b06ef22c issue #221: updated documentation for explain 2012-10-08 17:10:33 +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
Jan Steemann 87304f9ea7 issue #211 2012-10-04 11:24:52 +02:00
Jan Steemann 29f2525798 issue #211: add an extra note in the docs about isSystem attribute 2012-10-04 10:09:12 +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 a5f83c3e8d create modules collection 2012-10-01 12:00:43 +02: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
Frank Celler 5d21d2ac2d removed try/catch 2012-09-29 14:52:56 +02:00
Oreste Panaia eabf79704a VS 2012-09-28 23:45:16 +08:00
Oreste Panaia 8726b833d4 removed long static standard c++ string from header file 2012-09-28 21:52:28 +08:00
Jan Steemann 56dcb0aedf reduced number of docs in compaction test even more 2012-09-27 13:49:59 +02:00
Jan Steemann 856a1bf9f6 reduced number of docs even further 2012-09-26 16:44:33 +02:00
Jan Steemann 704520c436 reduced waittime 2012-09-26 16:26:40 +02:00
Jan Steemann ad6f26e86a added waittime, reduced number of docs 2012-09-26 16:26:05 +02:00
Jan Steemann 55a1c66203 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-09-26 15:49:01 +02:00
Jan Steemann 4a0e773536 added waittime 2012-09-26 15:48:23 +02:00
Lucas Dohmen 1ced4b79a4 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2012-09-26 14:19:26 +02:00
Lucas Dohmen 06fb38ca20 Requiring Graph.js automatically requires monkeypatches
The user should not have to do that manually.
Makes no sense.
2012-09-26 14:18:24 +02: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
a-brandt 3ce1888f44 added test for internal sorting of skiplists 2012-09-24 16:45:28 +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 d1184d89e4 added missing charset 2012-09-20 09:32:53 +02:00
Frank Celler a67bb18f72 return 5xx if not implemented 2012-09-19 15:33:43 +02:00
a-brandt d51383d081 Added HAS_ICU to shell and console 2012-09-19 11:23:23 +02:00
Oreste Panaia bd8bebed86 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-09-19 15:21:26 +08: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
Oreste Panaia f5316acb9d Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	arangod/Ahuacatl/ahuacatl-grammar.c
	arangod/V8Server/v8-vocbase.cpp
	arangod/VocBase/document-collection.c
	arangod/VocBase/document-collection.h
2012-09-17 22:40:12 +08:00
Oreste Panaia c7e5eae52d Added additional error numbers for bitarray index creation 2012-09-17 19:57:10 +08: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
Jan Steemann f7e98df4a3 removed unused error codes 2012-09-14 15:18:28 +02:00
Frank Celler ac0076c66d put functions inside a anonymous function 2012-09-14 12:58:47 +02:00
Jan Steemann 1d865cddb1 removed unnecessary long waits 2012-09-13 17:41:00 +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
Jan Steemann 31676da1ff made deletion of cursors an atomic operation 2012-09-11 16:30:23 +02:00
Jan Steemann 135d454a3c fix wrong variable names 2012-09-10 17:59:51 +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 6134497b5d Merge https://github.com/triAGENS/ArangoDB into devel 2012-09-10 20:42:48 +08:00
Oreste Panaia 8847d87580 added limited AQL support for bit indexes 2012-09-10 20:42:14 +08:00
Jan Steemann 7a20b188ba issue #188 2012-09-06 13:35:01 +02:00
Jan Steemann 37914fcf34 issue #188, issue #150: introduce periodic garbage collection for V8 contexts, fix issue with server-side cursor refcounts 2012-09-06 11:37:01 +02:00
Jan Steemann ae71cf201b issue #189 2012-09-04 14:11:39 +02:00
Jan Steemann 5000759f0b issue #189 2012-09-04 14:10:59 +02:00
Jan Steemann c855f06a47 issue #189 2012-09-04 14:10:19 +02:00
Lucas Dohmen fbe85fcb40 Merge branch 'graph_algorithms' into devel
Conflicts:
	Makefile.in
	configure
2012-09-04 09:41:03 +02:00
Jan Steemann 4aaf066081 issue #185: increased wait time in test 2012-09-04 08:35:19 +02:00
Jan Steemann 035ca9c548 increased wait time 2012-09-03 17:42:55 +02:00
Jan Steemann 13f703c2c7 issue #184 2012-09-03 11:08:35 +02:00
Jan Steemann 6232ca74c7 changed unloading of collections to not wait in an endless loop if collection cannot be unloaded 2012-09-03 10:40:07 +02:00
Jan Steemann 8944637717 issue #183: strange unittest error 2012-09-03 08:42:38 +02:00
Jan Steemann f70cdc8fcb issue #169: adjusted documentation 2012-08-31 18:08:36 +02:00
Jan Steemann e4e73a7a56 issue #169: missing argument for simple queries 2012-08-31 17:32:53 +02:00
Jan Steemann 21f24eb62b removed unused file 2012-08-31 15:28:43 +02:00
Jan Steemann 93b2a109e3 fixed typos 2012-08-31 14:06:35 +02:00
Jan Steemann b8f694ec0a issue #178: added test cases for arangoimp 2012-08-31 13:31:16 +02:00
Jan Steemann 601858fb5f added generated code 2012-08-31 13:30:36 +02:00
Jan Steemann 95cf1b65c3 fixed typo in example 2012-08-31 13:08:52 +02:00
Jan Steemann 374b65e0d7 issue #177: fixed wrong error message 2012-08-31 10:49:36 +02:00
Jan Steemann ebbac1891a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-08-31 09:33:49 +02:00
Jan Steemann e06b425d22 issue #174: extended documentation for within query 2012-08-31 09:32:22 +02:00
Frank Celler 9a3c51c7b8 Merge branch '1.0' of github.com:triAGENS/ArangoDB
Conflicts:
	CHANGELOG
2012-08-31 08:59:19 +02:00
Frank Celler 2ab77278d9 changes to allow SUBDIR build 2012-08-30 18:06:23 +02:00
Frank Celler 39f4a8f833 cleanup directory structure and init file handling
moved common functions to ArangoClient
2012-08-30 16:54:42 +02:00
a-brandt 7a6ae34b18 bugfix wrong variable name 2012-08-30 13:33:03 +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 2f88d9413a issue #170 2012-08-28 14:08:54 +02:00
Jan Steemann 80db80d7e4 issue #170: changed help text 2012-08-28 14:08:00 +02:00
Jan Steemann f8bc6c449d issue #170: changed help text 2012-08-28 14:07:04 +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 93b182abc7 added documentation 2012-08-23 14:19:13 +02:00
Jan Steemann 105af56bf7 issue #110: support for partial updates 2012-08-21 15:17:51 +02:00
Jan Steemann bc56546f23 issue #110: allow partial updates 2012-08-21 11:50:55 +02:00
Jan Steemann d602942925 preparation for issue #110: added HTTP patch method 2012-08-20 13:50:24 +02:00
Jan Steemann 0c7021fab7 re-fixed #109: there is no way to reliably detect that a user is referring to some unknown/unloaded collection in arangosh. Therefore reverted the previous fix and simply added a startup notice for the user 2012-08-20 12:53:03 +02:00
Jan Steemann 291d3fbc64 issue #108: speed up truncate operation 2012-08-20 11:13:01 +02:00
Jan Steemann 26dda3ff7b issue #109 2012-08-17 15:14:40 +02:00
Jan Steemann 3609bad0e7 issue #109: added more user-friendly message if collection used does not exist on client (arangosh) 2012-08-17 13:15:31 +02:00
Lucas Dohmen 1699414168 Added two execution files for the comparison 2012-08-16 13:21:45 +02:00
Lucas Dohmen 472f279506 Added Payload Tests 2012-08-15 22:15:11 +02:00
Jan Steemann b29d303488 fixed sporadically failing test 2012-08-15 12:43:20 +02:00
Lucas Dohmen 26182ef857 Removed some unnecessary files 2012-08-15 00:55:25 +02:00
Lucas Dohmen 5fa6eb8478 Some minor fixes. 2012-08-15 00:51:14 +02:00
Jan Steemann 396859e4fc added test case to trigger compaction 2012-08-14 11:52:50 +02:00
Frank Celler 69a8e64f9b Merge branch 'master' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	.gitignore
	Makefile.in
	Makefile.local
	Makefile.unittests
2012-08-09 15:25:29 +02:00
Jan Steemann ea8277373b work around caching to avoid endless loop in unload() 2012-08-08 17:07:54 +02:00
Jan Steemann 3f2937b1e1 work around caching to avoid endless loop in unload() 2012-08-08 17:05:53 +02:00
Frank Celler 302339ce09 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2012-08-08 15:43:28 +02:00
Frank Celler e2873c2d23 fixed mod 2012-08-08 15:43:00 +02:00
Frank Celler 80b78a7415 added GC 2012-08-08 15:33:58 +02:00
Jan Steemann 7e79bfd5eb added derived file 2012-08-08 14:51:54 +02:00
Jan Steemann 982781ec3e reduced sleep intervals 2012-08-08 14:51:00 +02:00
Frank Celler 5027294e26 wait for collection to unload in unit-tests 2012-08-08 10:21:44 +02:00
Lucas Dohmen 353b28d814 Faster Handling of shortest path if empty 2012-08-06 16:07:12 +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 b0e452f74a Merge branch 'master' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	CHANGELOG
	Makefile.am
	Makefile.in
	arangod/V8Server/v8-vocbase.cpp
2012-08-02 17:17:36 +02:00
Oreste Panaia 03cce62c3a bitarray index now support explicit values 2012-08-02 15:20:43 +08: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 b2a334a063 added datafile map for collection 2012-07-25 20:56:34 +02:00
Oreste Panaia 53e4fb7f12 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	arangod/BitIndexes/bitarray.c
	arangod/BitIndexes/bitarrayIndex.c
2012-07-24 14:56:04 +08:00
Oreste Panaia cd5ed3ac67 added http support for bitarray idnex creation 2012-07-24 14:30:38 +08:00
Lucas Dohmen 0b0df398d0 First version of Measurements and Shortest Path Executor 2012-07-23 13:56:25 +02:00
Lucas Dohmen 00ae5bf344 Merge branch 'master' into graph_algorithms 2012-07-18 16:03:13 +02:00
Lucas Dohmen 463045e17c The pathTo method now supports graph-wide caching
This is the first step to support measurements. The data for the tests
has been added.
2012-07-18 16:00:17 +02:00
Frank Celler a02faec3a3 added basic authentication 2012-07-15 17:06:59 +02:00
Frank Celler 1df2799005 added --javascript.script
renamed --unit-tests to --javascript.unit-tests
2012-07-15 00:50:05 +02:00
Frank Celler 191b1338fe issue #98: Unable to change journalSize 2012-07-11 13:42:17 +02:00
Lucas Dohmen 8861bd6410 Moved Graph tests to the correct file 2012-07-10 14:55:19 +02:00
Lucas Dohmen fb605e1247 Betweenness Measurement added to Vertices 2012-07-09 18:09:57 +02:00
Lucas Dohmen c6c9712f82 Added support for geodesics to Graph.js 2012-07-09 16:22:02 +02:00
Oreste Panaia 224614f14a Bitarray index fixes 2012-07-06 12:02:08 +08:00
Oreste Panaia 67d6b7fca0 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2012-07-05 13:59:46 +08:00
Oreste Panaia c72f44c949 Bitarray indexes update 2012-07-05 13:59:26 +08:00
Jan Steemann 1a43f1d54a documentation update 2012-07-04 13:53:53 +02:00
Jan Steemann be6d64ced6 fixed unittest expectations after fix for issue #121 2012-07-04 12:32:09 +02:00
Jan Steemann 3411a9b98c fixed a few query optimiser bugs, added test cases 2012-06-29 15:26:35 +02:00
Heiko Kernbach 67083c2d12 use->using 2012-06-29 12:00:57 +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
Oreste Panaia b84c9fefa9 Some bitarray index creation tests 2012-06-29 14:49:52 +08:00
Oreste Panaia a9f9c3af55 trying to upload bitarrays 2012-06-27 14:21:21 +08:00
Lucas Dohmen 07366afcfc Added two measurements to graphs
* diameter
* radius
2012-06-26 15:25:26 +02:00
Oreste Panaia 43309908ec Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	arangod/BitIndexes/bitarray.c
	arangod/RestServer/ArangoServer.cpp
	configure
2012-06-26 20:41:04 +08:00
Lucas Dohmen ecf09fc4dc Added distanceTo and two measurements to Vertices
The two measurements are:

* eccentricity
* closeness
2012-06-26 14:17:41 +02:00
Oreste Panaia 20bbdab435 Bitarray index first draft 2012-06-26 20:05:49 +08:00
Lucas Dohmen c6b2b2642c Added Degrees to Vertices, Size and Order to Graphs 2012-06-26 12:51:26 +02:00
Lucas Dohmen ac092872ee Refactoring on Graph.js
All methods reviewed and refactored. The refactorings use the new
ECMA Script 5 methods which are more efficient and precise.
2012-06-24 09:30:30 +02:00
Frank Celler 94c954b8fd application v8 2012-06-21 22:40:11 +02:00
Lucas Dohmen 8682f82dfa Merge branch 'devel' into graph_algorithms 2012-06-20 17:05:45 +02:00
Lucas Dohmen 2745997ad8 Re-Did the optimizations of the monkeypatches 2012-06-20 17:01:14 +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
Lucas Dohmen a31d5e8f27 Monkeypatches have their own module now. 2012-06-20 15:14:48 +02:00
Lucas Dohmen bfa2e09ee6 All "Monkey Patches" now use Object.defineProperty 2012-06-20 14:12:26 +02:00
Jan Steemann 5a74e95f35 allow reusing ids and revision when creating collections and documents 2012-06-19 15:50:52 +02:00
Lucas Dohmen a7d3d50082 Linted graph.js and shell-graph-algorithms.js 2012-06-16 18:31:50 +02:00
Lucas Dohmen c129644fff Added a listed option to commonNeighbors and commonAttributes
If the listed option is given, instead of the number of attributes /
neighbors, the list of the names of the shared attributes / the IDs
of the shared neighbors are returned.
2012-06-16 18:26:41 +02:00
Lucas Dohmen edff65d5c8 Vertex#commonPropertieWith now also has a normalized variant 2012-06-16 18:05:14 +02:00
Lucas Dohmen b3620827d3 Added commonPropertiesWith to Vertex 2012-06-16 18:00:32 +02:00
Lucas Dohmen 2c70ce9291 Reorganization of functionality and tests for Graph.js 2012-06-16 17:38:27 +02:00
Lucas Dohmen c0a94a570b Added a commonNeighborsWith method to Vertex
Returns the number of common neighbors.
2012-06-16 14:58:48 +02:00
Lucas Dohmen 15b0a44aba Edge Exclusion for pathTo function
You can now exclude certain edges in your pathTo function with the
paramater `only` that expects a function that takes an edge as an
argument and returns true if and only if the edge should be used
for the path.

Use Case:
Only include edges on the path that have a rating of x or higher.
2012-06-16 14:26:26 +02:00
Lucas Dohmen 580813f006 Added Support for Weight Functions in pathTo
Instead of just selecting an attribute to get the weight of an edge,
the user can now formulate the computation of the weight of an edge
as a function that takes an edge as an argument and returns the weight.
This allows more flexible weights in the application.
2012-06-16 14:04:37 +02:00
Frank Celler 716b720a7f added /_admin/echo 2012-06-14 20:53:48 +02:00
Lucas Dohmen 46027601ac Merge branch 'devel' into graph_algorithms 2012-06-13 16:19:54 +02:00
Lucas Dohmen e41291c44d Tiny improvement: forEach instead of for 2012-06-13 16:11:26 +02:00
Lucas Dohmen aa17edce23 Refactored Vertex#getNeighbors 2012-06-13 14:01:48 +02:00
Lucas Dohmen ad91d8cdfc The weighted pathTo now also takes a default weight
The default weight is needed, when an edge doesn't
have the specified weight attribute.
The default for this default value is `Infinity`.
2012-06-13 13:48:54 +02:00
Jan Steemann d7ca7ae1b7 added "official" explain API 2012-06-13 13:27:39 +02:00
Lucas Dohmen 7eddaa9259 Added support for weighted graphs to pathTo
The method `pathTo` now also accepts the following option:

* weight: The name of the attribute including the weight
2012-06-13 13:15:21 +02:00
Jan Steemann e3a075057f reference accesses can now use indexes 2012-06-13 12:07:29 +02:00
Lucas Dohmen f11acff837 Enhanced pathTo for directed and labelled graphs
The `pathTo` method accepts an options hash.
Currently supported:

* direction: "both", "outbound", "inbound"
* labels: undefined or Array of Strings
2012-06-13 11:55:26 +02:00
Lucas Dohmen 70ae8d84d4 Small Refactoring for pathesForTree 2012-06-12 15:38:19 +02:00
Lucas Dohmen 104b28b607 Refactored the pathesForTree method
* It's now testable
* It's now in a better OO design
2012-06-12 15:25:06 +02:00
Lucas Dohmen e3a3e5f857 Heavy refactoring of the methods for Dijkstra 2012-06-12 13:24:25 +02:00
Lucas Dohmen 33732898ce Enhanced Vertex#getNeighbors
* getNeighbors now takes the following arguments:
  * direction: 'both', 'outbound' or 'inbound'
  * pathLabels: undefined or Array of Strings
2012-06-12 12:23:09 +02:00
Jan Steemann d84193bce7 explain & optimizer 2012-06-11 17:55:09 +02:00
Frank Celler cc1853688c Merge branch 'devel' of github.com:triAGENS/ArangoDB
Conflicts:
	RestServer/ArangoServer.cpp
	V8Client/arangosh.cpp
2012-06-07 18:00:57 +02:00
Frank Celler 6675e8da2b Merge pull request #102 from jsteemann/master
potential solution for issue #95 (execute jslint)
2012-06-07 08:49:59 -07:00
Lucas Dohmen ea13cfac51 Renamed all occurrences of node to vertex... 2012-06-06 19:14:21 +02:00
Lucas Dohmen 933bc293b6 Added documentation for all pathTo helper functions 2012-06-06 19:11:53 +02:00
Lucas Dohmen 0433236c8b Graph.js: Lint-Free 2012-06-06 18:49:43 +02:00
Frank Celler 203a7006c0 Merge branch 'devel' of github.com:triAGENS/ArangoDB 2012-06-06 18:32:45 +02:00
Lucas Dohmen 020aa12c35 Dijkstra: Finds all shortest pathes now
* Previously only found one shortest path
* Returns the same results as Neo4j
2012-06-06 18:09:57 +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
Lucas Dohmen a41ff384ab Dijkstra finds pathes of correct length. 2012-06-06 14:57:57 +02:00
Frank Celler 6063327d04 fixed --quite for shell, fixed command line for unit-tests 2012-06-06 14:19:47 +02:00
Jan Steemann cfccab47eb issue #100: "count" attribute exists in cursor response with "count: false" 2012-06-06 09:54:39 +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
Frank Celler 0726789ab0 Merge branch 'devel' of github.com:triAGENS/ArangoDB
Conflicts:
	.gitignore
	Ahuacatl/ahuacatl-codegen.h
2012-06-02 11:20:47 +02:00
Frank Celler fe2337b7d4 Merge branch '1.0' of github.com:triAGENS/ArangoDB
Conflicts:
	configure
2012-06-02 11:15:29 +02:00
Frank Celler 7c7d378fb1 preparation for mruby console 2012-06-02 11:13:57 +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 bde11ec3b0 added dedicated test cases for arangosh-only functions 2012-05-31 17:49:49 +02:00
Jan Steemann 57fb43fe1e fixed broken functions and help texts in arangosh 2012-05-31 17:32:35 +02:00
Jan Steemann d506033c26 fixed help in arangosh and web admin, fixed several broken functions 2012-05-31 17:30:42 +02:00
Jan Steemann 3ca1e598e2 fixed help in arangosh 2012-05-31 16:46:28 +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 0ef03fc006 mini cleanup 2012-05-28 22:10:03 +02:00
Jan Steemann 6f7e11e46c potential solution for issue #95 2012-05-28 22:01:32 +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
Lucas Dohmen a1cf1017c5 Passes the Neo4j 500 Length Test now. 2012-05-25 15:25:13 +02:00
Frank Celler b2d521ee35 cleanup action queues 2012-05-25 14:28:27 +02:00
Frank Celler a0cd51d2fc moved /document => /_api/document 2012-05-25 12:21:02 +02:00
Frank Celler 1e3ab217f3 Merge branch 'devel' of github.com:triAGENS/ArangoDB 2012-05-25 00:26:50 +02:00
Frank Celler a0d19953e2 removed globals 2012-05-25 00:26:36 +02:00
Frank Celler 2184db3303 removed globals 2012-05-25 00:16:40 +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
Frank Celler ef3c8d0de6 cleanup JSLInt 2012-05-24 15:40:48 +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