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
a-brandt
c4bdb201b5
added Nonce.cpp
2013-03-01 16:49:22 +01:00
a-brandt
8d78bb1c60
added rondom generator and nonce support
2013-03-01 16:48:37 +01:00
Frank Celler
7abeda64b8
fixed process statistics for MacOSX
2013-03-01 13:37:44 +01:00
Oreste Panaia
586a10ef2c
final merge errors
2013-03-01 18:19:30 +08:00
Oreste Panaia
0f5717cd61
more merge conflicts fixes
2013-02-28 21:36:14 +08:00
Oreste Panaia
fc5e1ba623
merge conflicts with devel
2013-02-28 19:42:58 +08:00
Oreste Panaia
a48696ec28
network modifications required for windows
2013-02-28 17:43:39 +08:00
Frank Celler
a79279445a
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-02-26 18:20:27 +01:00
Jan Steemann
ebc653a0bd
issue #435
2013-02-26 12:11:13 +01:00
Frank Celler
85d2e87154
added new package option
2013-02-25 18:15:32 +01:00
Jan Steemann
54449494bc
issue #432 : added option to turn off statistics gathering
...
without recompilation
2013-02-25 17:43:13 +01:00
Jan Steemann
74798c4fb1
more verbose option help texts
2013-02-25 09:20:20 +01:00
Jan Steemann
f74da805ec
fixed typo in option names
2013-02-25 09:17:36 +01:00
Jan Steemann
845fada5fe
downgraded log message about unknown suffices
2013-02-23 01:59:28 +01:00
Jan Steemann
cd6c4c99a5
adjust log buffers for frontend
...
now the log level & date are not redundantly stored in the log message
2013-02-23 01:29:51 +01:00
Jan Steemann
d3b332e2a5
removed variant objects, switched to JSON instead
2013-02-23 01:19:00 +01:00
Jan Steemann
8e5919b597
return error if oom
2013-02-23 01:16:21 +01:00
Jan Steemann
971a6a352d
removed variant
2013-02-22 17:36:36 +01:00
Jan Steemann
81f79315d1
removed configure option --enable-zone-debug
2013-02-22 15:54:14 +01:00
Oreste Panaia
9e69106c90
Merge branch '1.2' of https://github.com/triAGENS/ArangoDB into 1.2
2013-02-22 16:58:06 +08:00
Oreste Panaia
ea601a23b3
Socket changes for windows libev
2013-02-22 16:51:13 +08:00
Frank Celler
1b69e1bb6c
regenerated files
2013-02-21 14:27:31 +01:00
Frank Celler
fe9f10af8d
Merge branch 'devel' of github.com:triAGENS/ArangoDB into 1.2
...
Conflicts:
CHANGELOG
Documentation/Manual/arangodb_1.2_shell_reference_card.pdf
Makefile.in
aclocal.m4
config/compile
config/config.guess
config/config.sub
config/depcomp
config/missing
configure
lib/JsonParser/json-parser.c
2013-02-21 14:21:59 +01:00
Frank Celler
2553b572ab
fixed mode
2013-02-21 14:14:20 +01:00
Jan Steemann
53b41e7832
get rid of Valgrind warnings due to libev re-alloc behavior
2013-02-20 19:33:32 +01:00
Jan Steemann
e1da2c45fd
added TRI_ShutdownMemory() to free core reserve on clean shutdown
2013-02-20 19:11:33 +01:00
Jan Steemann
3fdebb38ee
issue #393 , issue #128
...
Added a REST API for user management
The REST API exposes the functionality available in module "users" for HTTP access.
The following methods are available:
* GET /_api/user/username: fetch user information
* POST /_api/user: create new user
* PUT /_api/user: replace an existing user
* PATCH /_api/user: (partially) update an existing user
* DELETE /_api/user: remove an existing user
Additionally, a module "crypto" is introduced and exposed for Javascript actions.
The crypto module provides the following functions:
* require("org/arangodb/crypto").md5();
* require("org/arangodb/crypto").sha256();
* require("org/arangodb/crypto").rand();
2013-02-20 11:56:26 +01:00
Oreste Panaia
2c12f63d7f
libev interface
2013-02-19 20:58:21 +08:00
Jan Steemann
4f37fada0d
some mini-modifications for slightly higher throughput
2013-02-19 09:54:36 +01:00
Jan Steemann
382047dbd6
issue #404
2013-02-18 14:28:19 +01:00
Jan Steemann
86a64db15d
suppress warnings for unknown content-types
2013-02-18 13:37:57 +01:00
Frank Celler
2ac556d0f1
changed default
2013-02-18 10:06:36 +01:00
Frank Celler
ced7b05cca
added fix for TRI_ENABLE_LOGGING from Jan
2013-02-16 14:03:35 +01:00
Frank Celler
78ba7acb17
generated files
2013-02-15 13:22:02 +01:00
Frank Celler
45c815b7eb
fixed issue #403 : Usage of exit() etc.
2013-02-15 12:19:09 +01:00
Frank Celler
7b92dcc9bc
fixed issue #405 : 1.2 compile warnings
2013-02-15 11:57:35 +01:00
Frank Celler
cf9a942417
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
...
Conflicts:
CHANGELOG
2013-02-15 11:52:53 +01:00
Frank Celler
e4d1c8a6bd
partly fix for issue #333 : [debian] Group arangodb is not used when starting vie init.d script
2013-02-15 11:50:05 +01:00
Jan Steemann
c64208de25
disable some statistics that are never queried
2013-02-15 11:36:53 +01:00
Jan Steemann
d321f32523
moved some const value out of loop
2013-02-15 11:35:48 +01:00
Jan Steemann
8b7a5d2649
slighty optimise duplicates check
2013-02-15 10:22:47 +01:00
Jan Steemann
637ed65e09
expose reserve function
2013-02-15 10:22:31 +01:00
Frank Celler
dd1657a1f8
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-02-14 16:47:45 +01:00
Frank Celler
069dcdfc94
changed logging of fatal errors
2013-02-14 16:47:35 +01:00
Jan Steemann
831b84ab2e
fixed issue #348
2013-02-14 15:19:08 +01:00
Jan Steemann
8b79f6e2b6
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel
2013-02-13 18:05:44 +01:00
Jan Steemann
5c922cca02
fixed compile warnings with conditional compilation
2013-02-13 18:00:35 +01:00
Frank Celler
83ef8421c0
fixed padding for 32bit systems
2013-02-13 15:33:20 +01:00
Jan Steemann
332da75bcb
fixed invalid number to string conversion for edge cases
2013-02-13 11:35:34 +01:00
Jan Steemann
8365c4294c
small mods
2013-02-12 18:16:23 +01:00
Jan Steemann
052ae2f76f
no zero-prefilling for structs that do not need it
2013-02-12 16:34:53 +01:00
Frank Celler
9bf9862f2b
Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel
2013-02-09 13:15:34 +01:00
Frank Celler
8cca06127c
moved .dox to .md
2013-02-09 13:15:28 +01:00
a-brandt
6147a1d9c0
unset the escape codes for windows
2013-02-08 15:39:52 +01:00
a-brandt
4daf9d618b
added "v8::V8::LowMemoryNotification()" before "while (!v8::V8::IdleNotification())" to trigger V8 GC
2013-02-08 14:20:12 +01:00
Jan Steemann
f16f88a2e6
added docs for CONTAINS(), added LIKE()
2013-02-06 11:40:45 +01:00
Jan Steemann
5e6b73e2d3
do not close descriptors
2013-02-06 10:16:57 +01:00
Jan Steemann
3fd6373c2f
removed error 1520, replaced with standard error 1203
2013-02-04 23:04:37 +01:00
Jan Steemann
6c64dbd105
some more cleanup
2013-02-01 15:29:37 +01:00
Jan Steemann
621f0dbb2c
test remove
2013-02-01 10:49:18 +01:00