1
0
Fork 0
Commit Graph

1150 Commits

Author SHA1 Message Date
Jan Steemann 44c9ca4e90 issue #565, plus a few usability fixxes for aal.search() 2013-07-03 14:06:57 +02:00
Jan Steemann e34566aa68 messed it up and fixed it 2013-07-03 13:06:20 +02:00
Jan Steemann cf04fcfc44 memory size restrictions 2013-07-03 13:01:01 +02:00
Jan Steemann c5cbfdb3e6 indentation 2013-07-03 12:40:12 +02:00
Jan Steemann 74489d9f93 OOM handling 2013-07-02 17:33:31 +02:00
Jan Steemann a35de51042 handle OOM 2013-07-02 17:19:03 +02:00
Jan Steemann d2b12968e0 avoid usage of NULL pointer 2013-07-02 17:09:44 +02:00
Jan Steemann 00b5970bfc check for NULL values 2013-07-02 17:08:27 +02:00
Jan Steemann d2eae10fb2 check for invalid values 2013-07-02 17:08:10 +02:00
Jan Steemann d7561e70e1 added logging options 2013-07-02 12:16:13 +02:00
Jan Steemann 659520875b preparation for better request logging 2013-07-01 15:31:56 +02:00
Jan Steemann b318c9cec6 updated list of HTTP status codes 2013-07-01 14:32:14 +02:00
Jan Steemann 7543ad0283 removed redundant declaration of HTTP status codes 2013-07-01 12:11:02 +02:00
Jan Steemann 2e063df6c1 fixed some zone debugging output 2013-06-29 00:10:41 +02:00
Jan Steemann 64f01e9a7b prevent logging deadlock 2013-06-28 19:14:33 +02:00
Jan Steemann b13e13fec2 check oom 2013-06-28 19:06:25 +02:00
Jan Steemann 1f68cb50a0 replaced LOG_ERROR with fprintf to not run into logging deadlock 2013-06-28 19:04:56 +02:00
Jan Steemann 0a98279259 replaced LOGGER_ with LOG_ (better control over memory allocation) 2013-06-28 19:04:32 +02:00
Jan Steemann dcc3de5d81 fixed type declaration (fixes compiler warning) 2013-06-28 15:47:40 +02:00
Jan Steemann 5ba876978b removed unused private variable (fixes compiler warning) 2013-06-28 15:44:59 +02:00
Jan Steemann 14422986e0 added option --server.authenticate-system-only 2013-06-26 23:23:37 +02:00
Jan Steemann 6e9c3e8e2c replication logging 2013-06-26 12:04:55 +02:00
Jan Steemann b0acfba634 less faults when server cannot start 2013-06-25 09:56:09 +02:00
Jan Steemann 703edda54e typos 2013-06-24 20:55:31 +02:00
Jan Steemann 191d389e8c a few mallocs less 2013-06-24 20:55:12 +02:00
Jan Steemann 315848c93c typo 2013-06-24 20:52:43 +02:00
Jan Steemann 0f7c632f0f less strlen 2013-06-24 17:31:37 +02:00
Jan Steemann 2d7edbef96 added db._exists() 2013-06-21 21:50:00 +02:00
Jan Steemann 8063ade2be fixed issues reported by cppcheck 2013-06-21 19:40:57 +02:00
Jan Steemann ee2de60670 less syscalls in logging, do not use file-logging in tests
file-based logging creates a problem with Valgrind 3.8.1 for `make unittests-http-server VALGRIND=valgrind` on OpenSuse 64 bits, -O2
2013-06-21 16:05:58 +02:00
Jan Steemann 2f8d8caf20 fixed a memleak in internal.download() 2013-06-21 10:58:36 +02:00
Jan Steemann 1691cf4036 fixed issues reported by Valgrind 2013-06-21 10:26:48 +02:00
Jan Steemann b1f243d296 fixed segfault for too big shapes, make shape collection filesize adaptive 2013-06-20 19:14:14 +02:00
Jan Steemann d9c0d588f9 added internal.adminDirectory 2013-06-20 15:47:48 +02:00
Jan Steemann f6f31667a5 issue #551 2013-06-20 14:57:43 +02:00
Jan Steemann ca9187854a added (unconditional) caching for PathHandler 2013-06-20 14:36:39 +02:00
Jan Steemann 9dfb7483ff "doCompact" attribute for collections 2013-06-19 16:51:16 +02:00
Jan Steemann 74d2a00737 test internal.download() 2013-06-13 15:05:08 +02:00
Jan Steemann a76c9e0142 post body in internal.download() 2013-06-13 12:53:37 +02:00
Jan Steemann 9599a021b9 moved some graph traversal validation into the traversal module
- that simplifies some of the traversal-calling routines
- make returning error codes more consistent (specific 404 errors when
referring to unknown collections instead of simple 400 errors)
- optionally limit traversals to a certain number of iterations so they
  don't run endlessly in cyclic graphs
2013-06-12 17:04:47 +02:00
Oreste Panaia 81f20c7ba0 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-06-12 17:03:29 +08:00
a-brandt 5c27f36b95 bugfix non-virtual destructor 2013-06-12 09:12:58 +02:00
a-brandt d9fc2a6c60 Merge branch 'devel' into multiple_databases
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
	arangod/VocBase/primary-collection.c
2013-06-11 11:17:41 +02:00
Oreste Panaia 35ab2e6f62 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-06-10 17:05:58 +08:00
Oreste Panaia 8e10a5e173 windows updates 2013-06-10 17:05:33 +08:00
Jan Steemann f5326828c6 added flag to force writing of body even in case of HTTP errors for internal.download() 2013-06-07 13:38:13 +02:00
Jan Steemann c06d0d5ac3 type cast 2013-06-07 13:38:07 +02:00
Jan Steemann d31573a8b4 fixed a few type issues, updated TODOs 2013-06-07 11:31:42 +02:00
a-brandt 793dc6077d Merge branch 'devel' into multiple_databases 2013-06-05 17:29:34 +02:00
Oreste Panaia 2afd8a742c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-06-05 19:53:25 +08:00
Oreste Panaia 8a95c1c2a8 update 2013-06-05 19:52:34 +08:00
Jan Steemann fb33638b91 documentation fixes 2013-06-05 00:31:08 +02:00
Jan Steemann af7866f238 made internal.download() function more flexible
required by @mchacki
can now send custom headers and use non-GET method
2013-06-05 00:25:36 +02:00
a-brandt 384b3c283c Merge branch 'devel' into multiple_databases 2013-06-04 13:07:06 +02:00
Jan Steemann a7a8310a0d issue #549 2013-06-04 11:26:05 +02:00
a-brandt 1c0578c2b5 Merge branch 'devel' into multiple_databases
Conflicts:
	arangod/RestServer/ArangoServer.cpp
	arangod/VocBase/vocbase.c
	lib/HttpServer/ApplicationEndpointServer.cpp
	lib/HttpServer/ApplicationEndpointServer.h
	lib/HttpServer/HttpCommTask.h
	lib/HttpServer/HttpHandlerFactory.cpp
	lib/HttpServer/HttpHandlerFactory.h
	lib/Rest/HttpRequest.cpp
	lib/Rest/HttpRequest.h
2013-06-03 17:05:01 +02:00
Guido Reina 7decf1560a TRI_CreateRecursiveDirectory returns an int, but the function prototype says it returns a bool (the return code is not checked in the source code, so it is not a problem). 2013-05-26 18:44:35 +02:00
Guido Reina 0331ff7993 Typo. 2013-05-26 18:16:36 +02:00
Guido Reina 6ec2014052 dst->length is set again afterwards. 2013-05-26 18:04:46 +02:00
Jan Steemann 7770ea4d60 issue #536 2013-05-24 09:36:53 +02:00
Frank Celler dcf113ca99 issue #536: 1.3 fails to compile (lib_libarango_a-Logger.o)
Added solution for GENTOO from

http://code.google.com/p/fritzing/issues/detail?id=1854
2013-05-22 21:48:06 +02:00
Jan Steemann af413c3cf0 unified case 2013-05-22 19:14:35 +02:00
Oreste Panaia 70bc62a5a5 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-05-21 17:47:22 +08:00
Oreste Panaia b764b4f71e extended errors for skiplist 2013-05-21 17:45:19 +08:00
Jan Steemann d7b64d4ae2 merged patches by @guidoreina 2013-05-21 11:33:43 +02:00
Jan Steemann ed77c19e16 added derived file 2013-05-17 15:59:58 +02:00
Jan Steemann ebc8c8ef52 removed superfluous \n 2013-05-17 14:53:41 +02:00
Jan Steemann 7ec9cb5eb6 fixed leak in fs.getTempPath() 2013-05-16 21:43:33 +02:00
Jan Steemann c59f00efa8 fixed handling of --temp-path 2013-05-15 15:55:48 +02:00
Jan Steemann c51f70de05 removed hard-coded groups from statistics web interface
now all statistics are dynamic
removed redundant code in statistics web interface
2013-05-14 02:36:01 +02:00
Jan Steemann 35f3711d08 less realloc 2013-05-13 21:48:09 +02:00
Jan Steemann 06fb9eacd7 fixed wrong size calculation 2013-05-13 09:23:23 +02:00
Jan Steemann c7d2f8f8cd some json / shaped-json and string handling improvements 2013-05-13 09:01:07 +02:00
Jan Steemann 8d329e3ab0 removed some redundant code 2013-05-13 08:59:52 +02:00
Jan Steemann 5b94d9af98 less malloc/free for JSON parsing 2013-05-08 23:32:14 +02:00
Jan Steemann 6740db7207 fix different resident set size report units 2013-05-08 19:10:49 +02:00
Jan Steemann d40f96d8e9 fixed potential memleaks 2013-05-08 18:02:10 +02:00
Jan Steemann eb8325ef34 fixed typo in error message 2013-05-08 11:10:34 +02:00
Jan Steemann cc7ee217a0 fixed typo 2013-05-07 18:49:03 +02:00
Jan Steemann 203aceccdf Merge pull request #510 from guidoreina/experiment
A bug fix and small code improvements?
2013-05-05 23:51:49 -07:00
Frank Celler 49b5507b73 fixed issue #489: Bug in aal.install
Conflicts:
	Makefile.in
2013-05-05 21:10:14 +02:00
Guido Reina 2f4319b31a [Small improvements] In the function ResizeAssociativeArray(), array->_table is already initialized to '\0's, so there is no need to call clearElement() for each element.
An associative array is only used by PQIndex and MasterTable_t.
For PQIndex the function ClearElementPQIndex() will be used, which sets the whole element to '\0's.
For MasterTable_t the function tablePositionClearElement() will be used, which sets all but one field to 0/NULL (the only field which is not set is _vectorNum).
If the clearElement() should be called, maybe TRI_Allocate() could be called with false, to avoid double initialization.
When copying elements, the for loop stops when the number of elements is the same as the original number of elements.

In the function TRI_FindByKeyAssociativeArray(), there is no need to check whether the element is not empty and is equal key element, only if it is not empty (as it is done in the function TRI_InsertKeyAssociativeArray()).
In the function TRI_FindByElementAssociativeArray(), there is no need to check whether the element is not empty and is equal element element, only if it is not empty (as it is done in the function TRI_InsertElementAssociativeArray()).
2013-05-05 18:10:37 +02:00
Guido Reina 4ac19a99fc Typos. 2013-05-05 16:12:17 +02:00
Frank Celler 51cefb18bf fixed issue 505: statistics not populated on MacOS
Conflicts:
	CHANGELOG
2013-05-04 21:54:22 +02:00
Jan Steemann 911084a3ad removed now superfluous comment 2013-05-03 16:57:42 +02:00
Jan Steemann 83b525c5d6 changed name of value in statistics 2013-05-03 12:09:57 +02:00
Jan Steemann eef611b1da fixed some compiler & jslint warnings 2013-05-03 11:09:45 +02:00
Jan Steemann ee7ab712d6 issue #495 2013-05-03 11:08:58 +02:00
Jan Steemann 2c381d5d6a issue #498 2013-05-02 12:27:06 +02:00
Frank Celler f85b1c5a21 Merge pull request #499 from guidoreina/experiment
Minor changes
2013-05-01 05:27:07 -07:00
Guido Reina 4c5494c67d In the functions TRI_VerifyLockFile (Linux and Windows), the buffer 'buffer' was initialized to 0 right before calling TRI_UInt32String(), making TRI_UInt32String() return always 0, instead of the PID. 2013-05-01 11:05:20 +02:00
Guido Reina 528bb85b30 Implemented function for shutting down the statistics.
The new function is called by ShutdownRest() and releases the memory allocated by TRI_InitialiseStatistics().
2013-05-01 11:03:40 +02:00
Guido Reina 3c352b9ab2 The comment for the method reserve() was wrong (it was copied from the method annihilate()). 2013-05-01 11:01:35 +02:00
a-brandt 43aec7e76b Merge branch 'devel' of github.com:triAGENS/ArangoDB into multiple_databases 2013-04-30 10:05:53 +02:00
Oreste Panaia 115d87196c sync windows dev 2013-04-29 23:13:06 +08:00
Oreste Panaia c42c0bf565 sync dev for windows 2013-04-29 21:49:28 +08:00
Oreste Panaia 532c7eae8e windows dev update 2013-04-29 21:24:57 +08:00
a-brandt 6839fe7701 Merge branch 'devel' of github.com:triAGENS/ArangoDB into multiple_databases 2013-04-24 17:46:36 +02:00
Jan Steemann fc83d9abe6 fixed documentation for -c 2013-04-24 10:55:12 +02:00
Frank Celler e1bafcef3c zip.c is now tri-zip.c 2013-04-23 19:04:27 +02:00
Oreste Panaia ee339ffd9f windows 1.3 changes 2013-04-23 19:03:08 +02:00
Frank Celler fb8d8799c3 moved document of console to JSModuleConsole, added packages and node 2013-04-23 18:39:25 +02:00
Oreste Panaia 1ddbd2e4d9 update 2013-04-23 19:02:46 +08:00
Oreste Panaia b83d90f021 skiplist transaction support 2013-04-23 18:56:26 +08:00
a-brandt 234b1460f8 Merge branch 'devel' of github.com:triAGENS/ArangoDB into multiple_databases 2013-04-23 09:55:08 +02:00
Frank Celler cbc2ab93ba fixed _shallowCopy, fixed creating of unknown attributes 2013-04-22 16:48:36 +02:00
a-brandt 7a0a9ff3b4 Merge branch 'devel' of github.com:triAGENS/ArangoDB into multiple_databases 2013-04-22 14:53:33 +02:00
a-brandt 8f52b8916b vocbase handling 2013-04-22 14:52:46 +02:00
Jan Steemann b61aac7879 higher precision for statistics values, added "sum" attribute for statistics 2013-04-22 13:24:08 +02:00
Jan Steemann c9f3bdac33 added TODO 2013-04-22 08:41:12 +02:00
Jan Steemann 3d44116609 changed description of startup attribute 2013-04-22 08:38:29 +02:00
Jan Steemann 4527348f71 changed text on startup 2013-04-22 08:38:08 +02:00
Frank Celler bab92e9c04 fixed help messages 2013-04-21 22:12:58 +02:00
Frank Celler df03d38ee2 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-04-21 21:46:00 +02:00
Frank Celler a75736a148 added Buffer from node 2013-04-21 21:45:39 +02:00
Frank Celler d2ea4e9bd2 added SlowBuffer from node 2013-04-21 21:32:32 +02:00
Jan Steemann e1dae88f7b improved description for log.filter command line option 2013-04-19 12:05:49 +02:00
Jan Steemann 8ea6915b55 added IndexedPropertyGetter for ShapedJson 2013-04-19 11:35:55 +02:00
a-brandt 7c0e5fb16f Merge branch 'devel' of github.com:triAGENS/ArangoDB into multiple_databases 2013-04-18 12:01:47 +02:00
Jan Steemann b0bd55adbe fixed downloads 2013-04-18 12:00:49 +02:00
a-brandt 58de325e98 Merge branch 'devel' of github.com:triAGENS/ArangoDB into multiple_databases 2013-04-17 16:58:23 +02:00
a-brandt fcae2b2961 added RequestContext 2013-04-17 16:56:48 +02:00
Jan Steemann b667e458fc fixed error messages 2013-04-16 11:55:17 +02:00
Jan Steemann f6c4589852 fixed type 2013-04-16 11:39:07 +02:00
Jan Steemann dee5adb9f5 added client side API for transactions 2013-04-12 23:18:48 +02:00
a-brandt 0a44b019db Merge branch 'devel' into multiple_databases 2013-04-12 14:16:25 +02:00
a-brandt aa216c2edb changes for multiple databases 2013-04-12 14:15:06 +02:00
Jan Steemann 9b5849f650 updated documentation 2013-04-12 00:42:02 +02:00
Jan Steemann 229893c086 documentation for transactions 2013-04-12 00:03:05 +02:00
Jan Steemann b6925a7b7b transactions 2013-04-11 19:06:55 +02:00
Frank Celler 2135e2633e Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-04-11 13:55:43 +02:00
Frank Celler 142cc08704 replaced more deprecated calls 2013-04-11 13:55:33 +02:00
a-brandt 3e80cb0071 fixed typo 2013-04-11 09:04:35 +02:00
Frank Celler f373615268 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	arangod/V8Server/v8-actions.cpp
2013-04-10 21:47:51 +02:00
Frank Celler 828b939053 fixed isolates, made ArangoError internal 2013-04-10 21:22:09 +02:00
a-brandt 012f4eab35 added cookie keys 2013-04-10 17:43:32 +02:00
a-brandt 4675dcc036 added negative expire time 2013-04-10 17:09:14 +02:00
a-brandt 2d8c547fc8 added cookie support 2013-04-10 16:23:42 +02:00
Jan Steemann 7f1cd2681c added functions to add to front 2013-04-10 08:50:49 +02:00
Jan Steemann 5f5ee7e5e1 added error code 2013-04-10 08:50:13 +02:00
Frank Celler c567f0a81d Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-04-06 21:58:05 +02:00
Frank Celler 0600cc852e fixed mem error 2013-04-06 21:57:58 +02:00
Frank Celler a0278476da Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	lib/Basics/StringUtils.cpp
2013-04-06 10:19:09 +02:00
Frank Celler 1d7ee507e2 added TRI_ERROR_ARANGO_DOCUMENT_KEY_MISSING 2013-04-06 10:18:29 +02:00
Jan Steemann 3a8783b26a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-04-05 15:35:23 +02:00
Jan Steemann edf513551f error handling 2013-04-05 15:35:08 +02:00
Frank Celler 97e61c77d5 added escape check 2013-04-05 14:47:58 +02:00
Frank Celler ab38a0543a fixed missing length 2013-04-05 14:47:45 +02:00
Jan Steemann ed10d9b6aa AQL user functions 2013-04-05 12:50:44 +02:00
Jan Steemann ce4ec381fc updated list of HTTP status codes 2013-04-05 11:28:06 +02:00
Jan Steemann 1417def879 disallow create/drop/rename operations inside transactions 2013-04-04 09:41:44 +02:00
Frank Celler 553ccf099c remove addtogroup blocks 2013-04-03 18:20:37 +02:00
Frank Celler 0ba6329a12 added trace 2013-04-03 16:32:04 +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
Frank Celler 717dd6e289 safer string building 2013-04-02 18:01:32 +02:00
Frank Celler 42b92c794f fixed error messages and tests 2013-04-02 17:46:19 +02:00
Frank Celler cb5427cbce replaced throwing of strings by real objects 2013-04-02 11:27:31 +02:00
Frank Celler 0a0f4ee4ec use error object to get stack trace 2013-03-31 12:24:51 +02:00
Frank Celler 5bee550aa7 added plattform 2013-03-31 00:10:47 +01:00
Frank Celler 31a9a71050 fixed unzip and create of parent directory 2013-03-28 20:31:04 +01:00
Jan Steemann 007cae87e6 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-03-28 14:42:19 +01:00
Jan Steemann ba0d608a25 renamed function 2013-03-28 14:13:11 +01:00
Lucas Dohmen f1b5f20fab Foxx: Also using ArangoDB Mimetype Lookup for the other way around 2013-03-28 14:01:04 +01:00
Lucas Dohmen 8261a46577 Added a Mimetype 2013-03-28 13:25:30 +01:00
Frank Celler 0be696bac1 treat undefined as null when saving 2013-03-27 15:53:18 +01:00
Frank Celler d8159a990e Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-27 11:32:52 +01:00
Frank Celler be971602f2 added install and uninstall of FOXX apps 2013-03-27 11:32:39 +01:00
Jan Steemann 3fd4fd984b mimetypes w/ charsets 2013-03-27 10:31:30 +01:00
Jan Steemann 909c316e22 added mimetype generation file 2013-03-27 10:11:56 +01:00
Jan Steemann 771b03ced3 fixed exception handling in ArangoSh 2013-03-26 16:01:05 +01:00
Jan Steemann ed4fa9361b fixed senseless wait for body in http head 2013-03-26 15:36:40 +01:00
Jan Steemann 3bb251000c Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	lib/V8/v8-utils.cpp
2013-03-26 14:13:41 +01:00
Jan Steemann 1492118545 added test cases for "fs" module 2013-03-26 14:09:20 +01:00
Frank Celler 557184631d more fox-manager, added files section 2013-03-26 13:58:00 +01:00
Frank Celler 0f6e48a38b Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	js/server/modules/org/arangodb/foxx.js
2013-03-26 10:01:39 +01:00
Jan Steemann a0460b5991 issue #120: added examples for endpoint syntax in `arangod --help`
Now showing: `--server.endpoint <string>    endpoint for client requests (e.g. "tcp://127.0.0.1:8529", or "ssl://192.168.1.1:8529")`
2013-03-25 15:52:02 +01:00
Frank Celler 877066392e foxx manager cleanup 2013-03-25 14:10:10 +01:00
Jan Steemann da998a3e65 fixed mruby build 2013-03-25 10:06:05 +01:00
Jan Steemann 75d2d05b04 added comment 2013-03-24 18:58:05 +01:00
Jan Steemann af4be86cef fixed doxygen errors 2013-03-24 18:31:23 +01:00
Jan Steemann 124d7cb29f fixed file uploads 2013-03-24 18:13:13 +01:00
Jan Steemann 071144ecc0 temporary file functons 2013-03-24 14:32:09 +01:00
Jan Steemann d9595caaf5 added upload API 2013-03-24 13:17:50 +01:00
Jan Steemann f58e1a4b9a sendFile 2013-03-24 11:44:29 +01:00
Frank Celler 1736221bac fixed cyclic objects 2013-03-24 10:57:44 +01:00
Jan Steemann 76a86a853f fixed build? 2013-03-24 10:43:55 +01:00
Jan Steemann 37f364e70e added internal.download() 2013-03-24 01:04:26 +01:00
Jan Steemann 91fbb454f3 added zipFile() 2013-03-23 22:32:59 +01:00
Jan Steemann faf450e570 added zip functionality 2013-03-23 20:55:19 +01:00
Jan Steemann d97954e466 unzip 2013-03-23 20:52:33 +01:00
Jan Steemann fd446bac1a Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel 2013-03-23 19:14:02 +01:00
Jan Steemann 5cf913b2ca zlib 2013-03-23 19:13:31 +01:00
Frank Celler d1dab99248 more debug info 2013-03-23 18:07:37 +01:00
Frank Celler a1429ef749 more debug info 2013-03-23 18:03:17 +01:00
Frank Celler 961552b753 added trace for failed conversion 2013-03-23 17:32:32 +01:00
Jan Steemann 0d2fdcae58 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	js/common/bootstrap/module-fs.js
2013-03-23 14:36:45 +01:00
Jan Steemann 6cd509c8e5 added fs.isFile() 2013-03-23 14:27:10 +01:00
Frank Celler 8a54df7419 added .arangosh.rc, added /_admin/execute 2013-03-23 14:04:08 +01:00
Frank Celler 38a5cf6a2d added development-mode 2013-03-22 17:33:25 +01:00
Jan Steemann 40199d64b7 fixed handling of empty and reserved attribute names in documents
specifying an empty attribute name in a document may have led to segmentation faults
when the document was unpacked later.
2013-03-20 11:48:33 +01:00
Frank Celler 734a0350e4 fixed wrong cast 2013-03-19 14:17:29 +01:00
Jan Steemann 54d05e35e6 const 2013-03-19 11:32:27 +01:00
Jan Steemann 95d78faa3c fixed doxygen errors 2013-03-18 20:07:31 +01:00
Oreste Panaia 081ad862a6 CAS modifications 2013-03-18 19:52:53 +08:00
Oreste Panaia 8333858eac CAS modifications 2013-03-18 19:11:18 +08:00
Jan Steemann b6f680cd46 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
Conflicts:
	arangod/VocBase/document-collection.c
2013-03-15 18:16:36 +01:00
Jan Steemann 312b5fda64 some refactoring of document CRUD operations 2013-03-15 17:58:56 +01:00
Frank Celler 71fbdf87cd Mac fixes 2013-03-15 15:46:17 +01:00
Frank Celler f9ba951999 fixed comments 2013-03-15 13:42:52 +01:00
Frank Celler b0fc77d83d Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-15 11:37:59 +01:00
Frank Celler c773a0e825 replaced union by CONST_CAST 2013-03-15 11:37:49 +01:00
Oreste Panaia c8ea7ddc8b prepartion for skiplist transactions 2013-03-15 18:26:15 +08:00
Oreste Panaia 36733eb19f preparation for skiplists supporting transactions 2013-03-15 18:12:20 +08:00
Jan Steemann 0216883e36 add warning on exception 2013-03-14 17:28:13 +01:00
Jan Steemann 12a0bc787c empty string optimisations 2013-03-14 16:41:28 +01:00
Jan Steemann ab14179ee7 made fsync configurable when writing json files 2013-03-14 12:33:25 +01:00
Frank Celler 891cac01b2 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
Conflicts:
	arangod/VocBase/collection.c
2013-03-13 17:05:59 +01:00
Frank Celler 1aa5109fa3 updated disclaimer 2013-03-13 17:03:18 +01:00
a-brandt 62b72d17a1 #344 added missing support of array-url-parameters 2013-03-13 14:20:01 +01:00
Achim Brandt eb8855d37a removed <mach/shared_memory_server.h> for MacOSX 2013-03-12 16:54:45 +01:00
Jan Steemann 71b2587d96 added assertions for debugging 2013-03-12 12:55:52 +01:00
Jan Steemann 270de94a77 log out of memory errors 2013-03-12 09:27:44 +01:00
Frank Celler 9543bbcba0 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-11 09:50:12 +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 cd5a675f62 fixed making arangoirb 2013-03-11 09:39:42 +01:00
Jan Steemann b66a7492b9 addendum for issue #443 2013-03-08 22:30:35 +01:00
Jan Steemann b7086fe93d removed unused fe-configuration handler 2013-03-08 20:26:06 +01:00
Jan Steemann 1a7e6b2d5b colorize! 2013-03-08 18:36:11 +01:00
Jan Steemann 99630450c2 removed checks for TRI_HAVE_ICU because ICU is a prerequisite for using ArangoDB 2013-03-08 16:03:54 +01:00
Jan Steemann 1ea4c1c4b0 issue #443 2013-03-08 15:16:29 +01:00
Jan Steemann 0a883f4076 merged some changes from trx branch into devel 2013-03-08 14:22:25 +01:00
Jan Steemann 5631314bc7 issue #212: added auto-increment support for collections
the feature can be used by creating a collection with the extra `keyOptions`
attribute as follows:

    db._create("mycollection", { keyOptions: { type: "autoincrement", offset: 1, increment: 10, allowUserKeys: true } });

The `type` attribute will make sure the keys will be auto-generated if no `_key` attribute is specified for a document.
The `allowUserKeys` attribute determines whether users might still supply own `_key` values with documents or if this
is considered an error.
The `increment` value determines the actual increment value, whereas the `offset` value can be used to seed to value
sequence with a specific starting value. This will be useful later in a multi-master setup, when multiple servers can use
different auto-increment seed values and thus generate non-conflicting auto-increment values.

The default values currently are:

- `allowUserKeys`: `true`
- `offset`: `0`
- `increment`: `1`

The only other available key generator type currently is `traditional`. The `traditional` key generator
will auto-generate keys in a fashion as ArangoDB always did (some increasing integer value, with a more or less unpredictable
increment value).

Note that for the `traditional` key generator there is no the option to disallow user-supplied keys and give the
server the sole responsibility for key generation.
2013-03-08 11:54:03 +01:00
Jan Steemann b307e4cd6d completed auto-increment key generator 2013-03-08 10:51:50 +01:00
Jan Steemann 092327058b potential solution for #438 (non-windows) 2013-03-07 10:50:40 +01:00
Jan Steemann 424ab3e759 removed redundant function 2013-03-07 01:30:34 +01:00
Jan Steemann a716f300a1 less strlen() calls 2013-03-07 00:58:08 +01:00
Jan Steemann a73d32c553 initialise lists to the correct size 2013-03-07 00:46:27 +01:00
Jan Steemann 0fb397eabd adjusted startup output to be more compact, less verbose 2013-03-06 19:05:17 +01:00
Jan Steemann 8f48edb6d6 set minimum number of open files to 256 at server start 2013-03-06 18:26:31 +01:00
a-brandt 18c05bdac6 added session errors 2013-03-06 14:05:42 +01:00
a-brandt d4875c8afb Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-05 16:20:37 +01:00
Frank Celler dd15025c1c fixed tests, add missing prefix = false to statistics call 2013-03-05 13:32:58 +01:00
a-brandt e41847c336 moved random generators and nonce functions to internal and crypto module 2013-03-04 16:18:00 +01:00
a-brandt 58148f33a4 changed nonce handling 2013-03-04 14:03:22 +01:00
a-brandt 16aef17808 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-04 10:33:01 +01:00
Jan Steemann 390916c417 fix stringbuffer appending for special numeric values 2013-03-04 09:09:31 +01:00
a-brandt d6392971bf Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-04 09:06:45 +01:00
Frank Celler dd96bb4abd Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2013-03-03 22:40:55 +01:00
Frank Celler 60037971dc rewrote statistics 2013-03-03 22:39:41 +01:00