Willi Goesgens
1c4a72b106
The Big V8 upgrade Merge.
2014-12-15 17:30:56 +01:00
Jan Steemann
ddfb5c965d
merged experimental features
2014-09-24 09:42:16 +02:00
Jan Steemann
506936dcdb
rename orgy
2014-09-13 02:35:13 +02:00
Jan Steemann
953b8cdfe3
renamed files
2014-09-13 00:34:48 +02:00
Jan Steemann
87afcf5e8d
the great rename
2014-09-13 00:10:11 +02:00
Jan Steemann
005e727bde
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
lib/V8/v8-conv.cpp
2014-09-01 16:15:32 +02:00
Jan Steemann
848ce68dc3
fixed too eager duplicates check for shaper
2014-09-01 15:48:58 +02:00
Jan Steemann
66d556b003
re-added cases for data types
2014-08-30 02:42:35 +02:00
Jan Steemann
799a845967
added V8StringConverter
2014-08-30 02:32:59 +02:00
Jan Steemann
6f5271823e
use auto
2014-08-23 01:54:28 +02:00
Jan Steemann
dcfa59806e
more C++11
2014-08-23 00:51:13 +02:00
Jan Steemann
30b32f1f90
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/Ahuacatl/ahuacatl-grammar.h
arangod/V8Server/v8-vocbase.cpp
js/server/tests/ahuacatl-general-graph.js
2014-08-13 16:29:57 +02:00
Jan Steemann
0a70e979f8
call `toJSON` function of objects (if present) when serializing
2014-08-13 16:05:58 +02:00
Jan Steemann
c7350c4c06
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
...
Conflicts:
arangod/V8Server/v8-vocbase.cpp
2014-08-07 16:12:14 +02:00
Jan Steemann
099ec8db60
reallow attribute names starting with underscores
2014-08-07 15:52:58 +02:00
Jan Steemann
cb2e9a8a37
fixed JSON conversion
2014-08-07 15:48:33 +02:00
Jan Steemann
196441b9b4
improved v8 object generation
2014-08-05 13:23:37 +02:00
Jan Steemann
f939b079c4
recovery
2014-07-03 22:49:49 +02:00
Jan Steemann
1d051f4e1e
fixed shaping of regexp/date objects etc
...
this is disallowed, but due to an invalid sequence of if statements such attributes
were silently converted into `{ }` before and no error was returned to the user
2014-07-03 16:58:40 +02:00
Frank Celler
4ae1f0cd4a
added temporary attribute entries in shaper
2014-06-26 12:50:50 +02:00
Jan Steemann
69eb029c56
CXX
2014-06-21 03:21:55 +02:00
Frank Celler
6936972d08
updated disclaimer
2014-06-20 16:41:35 +02:00
Jan Steemann
cc35e4696c
added more tests
2014-06-20 09:20:27 +02:00
Jan Steemann
362838ae69
TRI_ASSERT
2014-06-06 11:25:19 +02:00
Jan Steemann
229e710dd1
less memset
2014-06-05 01:15:40 +02:00
Jan Steemann
7b521a4c9e
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into mjmh
...
Conflicts:
arangod/VocBase/document-collection.cpp
arangod/VocBase/document-collection.h
2014-05-30 12:51:20 +02:00
Jan Steemann
57d0d4a5ca
inlined some functions
2014-05-28 21:12:16 +02:00
Jan Steemann
ea97d443b0
use wal shape and attribute markers
2014-05-22 16:00:00 +02:00
Jan Steemann
3f6d28de8d
fixed VS warnings
2014-05-13 12:44:00 +02:00
Jan Steemann
dfec7b7f3c
pass v8 handles by value, not by reference (as recommended in their manual)
2014-05-09 15:23:21 +02:00
Jan Steemann
2e17f4bcd7
cppcheck
2014-05-09 00:21:17 +02:00
Jan Steemann
79defc2ef1
-Wunreachable-code reverted. Visual Studio doesn't like it
2014-03-06 11:36:58 +01:00
Jan Steemann
c5c294aa6b
-Wunreachable-code
2014-03-06 11:30:38 +01:00
Jan Steemann
629348d696
properly acquire shape write locks
2014-02-28 18:43:09 +01:00
Jan Steemann
242b3d5bbf
const
2014-02-26 11:08:21 +01:00
Jan Steemann
b42f836202
prevent JSONification of cyclic objects
2014-02-24 14:50:47 +01:00
Jan Steemann
e79134799c
mini optimisations for shaping
2013-11-22 02:41:39 +01:00
Jan Steemann
978c12815a
share basic shape types
2013-11-05 20:21:48 +01:00
Jan Steemann
106fedd615
several errors fixed
2013-09-26 09:44:50 +02:00
Jan Steemann
9155b16252
caching for db[...]
2013-09-21 00:12:35 +02:00
Jan Steemann
9f8de8fb4f
fixed shaped-json debugging
2013-09-19 10:57:11 +02:00
Jan Steemann
78601319fb
updated replication API
2013-07-30 18:40:35 +02:00
Jan Steemann
fd2a83123c
renamed method
2013-07-11 09:23:13 +02:00
Jan Steemann
3f718ef0fa
fixed some issues in replication
2013-07-10 18:08:18 +02:00
Jan Steemann
ca6b184286
added TRI_JSON_STRING_REFERENCE
2013-07-10 17:00:29 +02:00
Jan Steemann
d2eae10fb2
check for invalid values
2013-07-02 17:08:10 +02:00
Jan Steemann
191d389e8c
a few mallocs less
2013-06-24 20:55:12 +02:00
Jan Steemann
b1f243d296
fixed segfault for too big shapes, make shape collection filesize adaptive
2013-06-20 19:14:14 +02:00
Frank Celler
cbc2ab93ba
fixed _shallowCopy, fixed creating of unknown attributes
2013-04-22 16:48:36 +02:00
Frank Celler
828b939053
fixed isolates, made ArangoError internal
2013-04-10 21:22:09 +02:00
Frank Celler
553ccf099c
remove addtogroup blocks
2013-04-03 18:20:37 +02:00
Frank Celler
f810711a79
FreeBSD port
2013-04-02 18:43:10 +02:00
Frank Celler
0be696bac1
treat undefined as null when saving
2013-03-27 15:53:18 +01:00
Frank Celler
1736221bac
fixed cyclic objects
2013-03-24 10:57:44 +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
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
1aa5109fa3
updated disclaimer
2013-03-13 17:03:18 +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
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
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
913480e881
make revision ids strings so they do not clip in clients that do not support 64 bit integers
2013-01-17 15:02:55 +01:00
Jan Steemann
6b6b692592
cleaned up v8 function creation
2012-11-12 09:30:51 +01:00
Jan Steemann
e657f9d6b4
made "_vertices" a shared string
2012-11-06 19:35:51 +01:00
a-brandt
9a599e468a
added "_key" attribute
2012-10-23 15:58:09 +02:00
a-brandt
3666069569
Added UTF8/UTF16 normalize and compare functions (uses libicu)
2012-09-17 09:49:41 +02:00
Frank Celler
94c954b8fd
application v8
2012-06-21 22:40:11 +02:00
Frank Celler
55ebf00dbd
Merge branch 'devel' of github.com:triAGENS/ArangoDB
...
Conflicts:
Actions/RestActionHandler.cpp
Actions/RestActionHandler.h
Makefile.files
Makefile.in
RestHandler/RestActionHandler.cpp
RestHandler/RestActionHandler.h
RestServer/ActionDispatcherThread.cpp
RestServer/ActionDispatcherThread.h
RestServer/RubyDispatcherThread.cpp
RestServer/RubyDispatcherThread.h
arangod/RestHandler/RestActionHandler.cpp
arangod/RestHandler/RestActionHandler.h
arangod/RestServer/ActionDispatcherThread.cpp
arangod/RestServer/ActionDispatcherThread.h
arangod/RestServer/ArangoServer.cpp
2012-06-08 15:57:33 +02:00
Frank Celler
d2c758d663
the great rename
2012-06-08 15:01:25 +02:00