jsteemann
5bfd12a0ce
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-01-30 01:08:59 +01:00
jsteemann
dbd5c500cb
remove TRI_ENABLE_LOGGING
2016-01-30 00:46:40 +01:00
jsteemann
9482ee1cca
use Logger
2016-01-30 00:08:35 +01:00
Frank Celler
44a519b89e
added setLevel
2016-01-29 23:25:05 +01:00
Jan Steemann
c47eef63b5
added missing header
2016-01-29 20:05:16 +01:00
Frank Celler
eef111f4ae
added Logger
2016-01-29 19:23:24 +01:00
Jan Steemann
828f46c76b
shut up compiler
2016-01-29 19:19:06 +01:00
Jan Steemann
cd4cbae6ce
ported fixes to devel
2016-01-29 19:05:27 +01:00
Wilfried Goesgens
6c0d6cd182
Merge branch 'devel' of github.com:arangodb/ArangoDB into devel
2016-01-29 09:57:41 +01:00
Wilfried Goesgens
61c8941ac9
Remove unneccesary copy of va_args
2016-01-29 09:57:20 +01:00
Michael Hackstein
651e705ebd
Introduced a new EMPTY_GRAPH error which is thrown during AQL execitions whenever the graph has no edge collections.
2016-01-28 18:07:26 +01:00
Jan Steemann
37a083edca
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-01-27 18:53:29 +01:00
Jan Steemann
585208afcf
changed directory name pattern for collections
2016-01-27 18:53:16 +01:00
Frank Celler
7a11220acc
fixed missing namespace
2016-01-27 16:17:17 +01:00
Frank Celler
175e1e6b51
moved low level mutex in Mutex class
2016-01-27 15:31:02 +01:00
Jan Steemann
9046e1831b
clang-format
2016-01-27 13:43:46 +01:00
Jan Steemann
3d8a52cdf4
some refactoring
2016-01-27 13:28:19 +01:00
Jan Steemann
1634421d3b
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-01-26 17:09:15 +01:00
Wilfried Goesgens
ac277648f3
Change the way windows eventlogging is handled: initialize it once on start.
...
Fix unhandled exception handler to do less resource allocation.
2016-01-26 16:50:19 +01:00
Jan Steemann
ee6d77c425
some locks removed
2016-01-26 16:43:21 +01:00
Jan Steemann
7069810778
removed some low-level locks
2016-01-26 16:16:18 +01:00
Jan Steemann
3fc862f0ef
changed locking macros
2016-01-26 15:39:12 +01:00
Max Neunhoeffer
bee3f7e21a
Cleanup ClusterComm library. Allow singleRequest asyncRequests.
...
Also run ClusterComm sender thread and connection manager in
single server mode.
2016-01-26 11:05:15 +01:00
Charles Phillips
a7c25d95f3
MSG_NOSIGNAL not supported on solaris platform
2016-01-25 23:29:05 -08:00
Charles Phillips
0b2d10a603
fix,solaris: invalid conversion from 'unsigned int' to 'void*' ptr
2016-01-25 23:29:04 -08:00
Charles Phillips
63ef328ad6
fix,solaris: invalid conversion from 'const char*' to 'char*'
...
lib/ProgramOptions/program-options.cpp: In function 'option* InitOptionStructure(option*, const char*, int, int*, int)':
lib/ProgramOptions/program-options.cpp:308:16: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
option->name = name;
^
2016-01-25 23:29:04 -08:00
Charles Phillips
a85a055835
fix,solaris: "version" conflicts with math namespace
...
lib/Basics/RandomGenerator.cpp: In function 'arangodb::basics::Random::random_e arangodb::basics::Random::selectVersion(arangodb::basics::Random::random_e)':
lib/Basics/RandomGenerator.cpp:544:25: error: reference to 'version' is ambiguous
random_e oldVersion = version;
^
In file included from ./lib/Basics/Common.h:62:0,
from lib/Basics/RandomGenerator.h:27,
from lib/Basics/RandomGenerator.cpp:24:
/opt/local/gcc49/lib/gcc/x86_64-sun-solaris2.11/4.9.3/include-fixed/math.h:119:6: note: candidates are: enum version
enum version {libm_ieee = -1, c_issue_4, ansi_1, strict_ansi};
2016-01-25 23:29:04 -08:00
Charles Phillips
b68a4302fe
CODE, TRI_facilitynames not declared in codebase (?)
...
Possibly related issue from FreeBSD build: https://github.com/arangodb/arangodb/pull/1124
2016-01-25 23:29:03 -08:00
Charles Phillips
6f56b1f586
simplify custom isSymlink and isDirectory fns into S_ISLNK, S_ISDIR macros
2016-01-25 23:29:03 -08:00
Charles Phillips
8bd23eb261
flags for solaris operating system
2016-01-25 23:29:03 -08:00
Jan Steemann
5dc0a429b2
removed spinlocks and TRI_WINDOWS_VISTA_LOCKS
2016-01-25 17:55:06 +01:00
Jan Steemann
31bdc67d12
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2016-01-25 13:47:57 +01:00
Jan Steemann
097de21d33
fixed mismatched free/delete
2016-01-25 13:47:41 +01:00
Jan Steemann
47b77150f3
more trace logging
2016-01-25 13:47:21 +01:00
Kaveh Vahedipour
720c55fd4c
Merge branch 'devel' of https://github.com/arangodb/arangodb into cmakification
2016-01-25 13:47:10 +01:00
Kaveh Vahedipour
3f39a10bf8
Integrated obiwahn contributions
2016-01-25 13:46:44 +01:00
Michael Hackstein
a3f0d2e279
Merge branch 'vpack' of github.com:arangodb/arangodb into devel
2016-01-25 13:09:05 +01:00
Michael Hackstein
e845e48621
Fixed broken include statement
2016-01-25 11:44:42 +01:00
Michael Hackstein
5b2062b4e4
Removed legacy toJson function from Index.h. All callers now use VelocyPack directly
2016-01-25 11:42:31 +01:00
Kaveh Vahedipour
2c119d0550
Merge branch 'devel' of https://github.com/arangodb/arangodb into cmakification
2016-01-25 11:31:57 +01:00
Jan Steemann
6e24f5e016
include debug malloc
2016-01-25 11:29:08 +01:00
Jan Christoph Uhde
d6fa59d930
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
* 'devel' of https://github.com/arangodb/arangodb :
fix for invalid input
renamed methods (thanks M$ for redefining free in debugging)
moved into sub-directories
fixed missing ;
moved tests into sub-directories
added missing backslash
added fs.append
removed unnecessary 'exit 1'
create out directory
added -- to signal the end of arangosh commands
fixed merge errors
switch to testing.js, moved testing.js to client
added WorkMonitor
less re-allocations
increase threshold for "big" allocations
cppcheck
Documentation: AQL title updates
move QueryErrors - Aql/Fundamentals links explained
move AQL query errors in its own chapter
2016-01-25 11:24:29 +01:00
Kaveh Vahedipour
180eae9186
Merge branch 'devel' of https://github.com/arangodb/arangodb into cmakification
2016-01-25 09:14:06 +01:00
Michael Hackstein
a6f58ce14d
Use forward declarations for VelocyPack instead of all includes everywhere
2016-01-24 14:29:31 +01:00
Frank Celler
8a7f409380
added fs.append
2016-01-24 11:34:13 +01:00
Michael Hackstein
e39a43ef43
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-24 10:38:48 +01:00
jsteemann
904a85a27e
less re-allocations
2016-01-23 17:26:11 +01:00
jsteemann
0fbb3882e4
increase threshold for "big" allocations
2016-01-23 17:25:48 +01:00
jsteemann
9ba3b68109
cppcheck
2016-01-23 16:22:39 +01:00
Jan Christoph Uhde
1a44d102ed
add v8 and icu as imported targets
2016-01-23 15:06:33 +01:00
Jan Christoph Uhde
f86139481b
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
* 'devel' of https://github.com/arangodb/arangodb :
Fix arangosh text to report proper results.
fix undefined behavior
Use json output of rspec, and parse it to get a proper result.
mutex is not necessary, because it is initialized in the boot phase
align structure for ruby tests properly so that we have a result.
Lintify
fix out-of-memory situations
call open/close event localy for now.
Fix indention, broken merge
fixed temp path to honor TMPDIR
- rename variables to match V ertex, E dge, P ath - add tests that wrap the graph operations into more obscure quries.
jslint
Issue #1675 . allow enabling strict mode in tests
Fix layers for results of config-, upgrade-test and arangob.
Mention warnings saw that this should also be here when inspecting pr #1674
Documentation: added a few titles
more diagnosis
2016-01-22 16:30:46 +01:00
Frank Celler
2a590d16d4
mutex is not necessary, because it is initialized in the boot phase
2016-01-22 14:19:00 +01:00
Michael Hackstein
b31cc0ba15
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-22 13:36:47 +01:00
Jan Steemann
9beeb09f37
fix out-of-memory situations
2016-01-22 13:24:33 +01:00
Wilfried Goesgens
9902b8eaf9
call open/close event localy for now.
2016-01-22 13:23:54 +01:00
Wilfried Goesgens
c99910e6ea
Fix indention, broken merge
2016-01-22 13:22:06 +01:00
Michael Hackstein
7ef829ae63
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-22 13:16:39 +01:00
Frank Celler
d3330bdf9b
fixed temp path to honor TMPDIR
2016-01-22 13:16:25 +01:00
Jan Christoph Uhde
2423db6482
add v8 CMakeLists.txt for CMake
2016-01-22 09:36:37 +01:00
Jan Christoph Uhde
032dc64693
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
...
* 'devel' of https://github.com/arangodb/arangodb : (105 commits)
fixes ported from 2.8
fix version strings
lock debugging
Add missing return code if uniq constraints are violated.
added --enable-boost-tests in case the boost libraries are not available
Migrate jasmine->mocha
reorganise Aql/Basics.md for improved information retrieval
fix some locks
catch exception
make example copyable
another fix for Visual Studio
fixes for Visual Studio
added VPack version number
unification of sub-thread naming
removed outdated upgrading function
fixed test in failure mode
namespace cleanup
more checks & asserts, C API cleanup
class has virtual methods, so add virtual dtor, too
shorten critical logging section
...
2016-01-21 21:13:08 +01:00
Michael Hackstein
191c2dc3a9
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-21 16:29:38 +01:00
Jan Steemann
25f4f54935
lock debugging
2016-01-21 15:54:48 +01:00
Kaveh Vahedipour
5679410317
Building on OSX
2016-01-21 15:17:43 +01:00
jsteemann
79d57bf74e
added VPack version number
2016-01-21 01:04:51 +01:00
jsteemann
6f0be080fa
unification of sub-thread naming
2016-01-21 00:51:51 +01:00
jsteemann
842384016d
namespace cleanup
2016-01-21 00:20:22 +01:00
jsteemann
ef67a496e6
more checks & asserts, C API cleanup
2016-01-20 22:08:11 +01:00
Jan Steemann
17dde3e93f
shorten critical logging section
2016-01-20 14:04:55 +01:00
Frank Celler
a2c911c608
fixed wrong TRI_HAVE_GETTID for Windows
2016-01-20 11:38:13 +01:00
Michael Hackstein
51a683facb
Added a toVelocyPack function to all indexes. Removed specialized toJson from all indexes. Generalized toJson invokes specialized toVelocyPack for compatibility reasons.
2016-01-19 15:40:37 +01:00
Frank Celler
ff11db7b78
added threadNumber to identify a thread
2016-01-19 13:57:30 +01:00
jsteemann
8a5018b4af
added some Bloom filter implementation
2016-01-19 12:07:54 +01:00
Michael Hackstein
b8bff937b1
Improved VelocyPack Helper functions. They now directly return the default value if the key is not existing
2016-01-19 09:46:33 +01:00
Michael Hackstein
aace581915
Fixed the most stupid thing ever found on windows yet. std::max forbidden trololololol
2016-01-18 12:26:32 +01:00
jsteemann
431900f17a
changed namespace from triagens to arangodb
2016-01-17 00:44:53 +01:00
jsteemann
81cbbee354
added HTTP response code 451
2016-01-17 00:26:59 +01:00
Michael Hackstein
f254f83dfb
Moved DebugClearFailure to v8-actions, alowing it to be executed in Cluster as well
2016-01-16 15:19:49 +01:00
Michael Hackstein
0371083fd0
Added a function to compare two VelocyPacks which is compatible to the old compare two shaped json values.
2016-01-15 13:42:03 +01:00
Michael Hackstein
212b3752b1
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-15 10:58:20 +01:00
Frank Celler
cffd81011b
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2016-01-15 09:52:37 +01:00
Frank Celler
828a2eb1ce
added time
2016-01-15 09:52:31 +01:00
Jan Christoph Uhde
306eac4484
fix: local configuration can now be found by more projects
2016-01-15 00:10:18 +01:00
jsteemann
1b959c827d
more const unification
2016-01-15 00:09:52 +01:00
jsteemann
f66eb007cd
some const unification
2016-01-15 00:03:03 +01:00
jsteemann
0421c619a6
merge defines
2016-01-14 23:46:20 +01:00
Jan Christoph Uhde
b53cb6188a
fix: build on debian sid -- bumped cmake version
2016-01-14 23:40:52 +01:00
jsteemann
3ace0533d5
removed useless comments
2016-01-14 23:22:37 +01:00
jsteemann
2ae325fd4e
removed some of those "using namespace" directives
2016-01-14 23:21:39 +01:00
Michael Hackstein
d999c7063b
Moved Debug functions to V8Server and made them available via a debug endpoint. This is used to distributed debugSetFailAt in cluster, s.t. DBServers use these functions as well
2016-01-14 17:14:18 +01:00
Michael Hackstein
0575fbb4ef
Added a convenience function for uint64_t parsing. Works with strings as well as numbers
2016-01-14 12:44:07 +01:00
Michael Hackstein
ad8fa5c63a
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-14 09:23:10 +01:00
Frank Celler
89ca0ffae1
added work monitor call
2016-01-13 18:10:51 +01:00
Michael Hackstein
2029d185be
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-13 17:20:32 +01:00
Michael Hackstein
c7dee19a1f
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2016-01-13 16:47:17 +01:00
Michael Hackstein
6bb32275cc
Avoid Tail recursion in Traverser. Some compilers cannot do it ;(
2016-01-13 16:47:07 +01:00
Jan Steemann
8404d0eac1
better OOM handling in ThreadPool constructor
2016-01-13 16:19:53 +01:00
Michael Hackstein
09ffbabf06
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2016-01-13 10:51:41 +01:00
Michael Hackstein
69f4f974d3
Vocbase server now stores VPack instead of TRI_json_t
2016-01-13 10:25:52 +01:00
Jan Steemann
bb3703cf9e
fix recovery
2016-01-12 20:47:02 +01:00
Jan Steemann
6937dbc489
aggregate fixes
2016-01-12 17:21:18 +01:00
jsteemann
14216e4ca5
Valgrind garbage collection shutdown fix attempt
2016-01-12 14:27:23 +01:00
Jan Steemann
687d6133f0
comments reformatting
2016-01-11 09:52:39 +01:00
Jan Steemann
91fb07dcd1
catch conversion exceptions
2016-01-08 18:11:54 +01:00
jsteemann
9f0576c65f
don't rely so much on namespace std being present
2016-01-08 01:05:06 +01:00
jsteemann
50c0e18d53
removed useless con|destructor comments
2016-01-07 21:19:53 +01:00
jsteemann
0bfc9a19ae
BE -> AE
2016-01-07 21:09:33 +01:00
Jan Steemann
8b4b6a1943
moved docu blocks into their own files
2016-01-07 16:03:17 +01:00
Wilfried Goesgens
7fc4b356e4
Revert formattings that break documentation parts.
2016-01-07 15:12:04 +01:00
Jan Steemann
3ad20c0cae
auto-generated headers
2016-01-06 18:41:51 +01:00
Jan Steemann
a3b026d9d1
removed useless sections from code, unified include guards
2016-01-06 14:15:22 +01:00
Jan Steemann
9a1d7959e9
merged string-buffer.h and StringBuffer.h
2016-01-06 13:24:09 +01:00
Jan Steemann
bdc51bca80
fix potential crash
2016-01-06 12:14:15 +01:00
Jan Steemann
f422576ee0
clang-format
2016-01-05 17:43:24 +01:00
Wilfried Goesgens
775b853ec1
Add missing include
2016-01-05 14:36:04 +01:00
Jan Steemann
edb4d2dc4c
fix some VS compile errors
2016-01-05 14:10:10 +01:00
jsteemann
a6cb463e06
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2016-01-05 00:25:10 +01:00
Jan Steemann
a04993b4e4
turn off debug output
2016-01-04 19:12:34 +01:00
Jan Steemann
f207238e8a
do not use workmonitor freelists for client tools
2016-01-04 18:43:51 +01:00
Jan Steemann
28d80cf8d4
fixed shutdown leak
2016-01-04 18:37:01 +01:00
Frank Celler
1065a1bd2c
added work monitor
2016-01-04 15:33:06 +01:00
Frank Celler
b44c7ab64c
Darwin fixes
2016-01-03 12:46:06 +01:00
Jan Steemann
22b4524ba6
issue #1626 : fix HTTP status return codes for several error codes
2015-12-23 21:57:45 +01:00
Max Neunhoeffer
2dbdb52a36
Merge branch 'devel' into vpack
2015-12-23 15:14:05 +01:00
Jan Steemann
eb1834da80
fixed Visual Studio warning
2015-12-23 15:13:53 +01:00
Max Neunhoeffer
b4887dce17
Remove unused stuff: GLOBAL_TIMEZONE and matchInteger.
2015-12-23 15:13:06 +01:00
Max Neunhoeffer
394057fbda
Merge branch 'devel' into vpack
2015-12-23 15:09:20 +01:00
Max Neunhoeffer
c7f00bfeda
Continue work on TODOs.
2015-12-23 14:40:04 +01:00
Jan Steemann
b5838ed560
removed unused functions
2015-12-23 14:19:11 +01:00
Jan Steemann
887e93babc
index handling fixes
2015-12-23 14:01:14 +01:00
Max Neunhoeffer
a80f2e71f4
Merge branch 'vpack' of ssh://github.com/ArangoDB/ArangoDB into vpack
2015-12-22 16:50:54 +01:00
Max Neunhoeffer
225c8cd843
Work on TODOs.
2015-12-22 16:50:09 +01:00
Jan Steemann
f6592aabff
removed unused file
2015-12-22 16:49:39 +01:00
Jan Steemann
e2e483e06a
potential fix
2015-12-22 12:34:48 +01:00
Max Neunhoeffer
4131d38b10
Merge branch 'devel' into vpack
2015-12-21 10:25:26 +01:00
Max Neunhoeffer
b8674e5a21
Fix Hebrew fix.
2015-12-21 10:23:54 +01:00
Max Neunhoeffer
3d6223c64c
Merge branch 'devel' into vpack
2015-12-21 10:21:41 +01:00
Max Neunhoeffer
a26675e28b
Turn around the Hebrew "Goodbye" to make it right with most terminals.
2015-12-21 10:18:36 +01:00
Max Neunhoeffer
0743885dec
Fix handling of VPackOptions in Parser/Builder usage.
...
Also fix TRI_json_t* handling for cluster methods.
2015-12-18 20:42:59 +01:00
Jan Steemann
ca95afef2c
fixed undefined behavior
2015-12-17 16:09:54 +01:00
Jan Steemann
ad45a4b254
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-17 12:31:14 +01:00
Jan Steemann
b76c61adb1
\0 fix
2015-12-17 12:28:16 +01:00
Jan Steemann
2b3f3f997b
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-17 10:59:30 +01:00
jsteemann
ead2ee47e7
issue #1409 : fix NUL-byte handling
2015-12-17 10:54:24 +01:00
Jan Steemann
6ee9a6f90e
replication fixes
2015-12-16 19:52:01 +01:00
Jan Steemann
8e18d6463f
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-12-16 11:44:56 +01:00
Jan Steemann
a694b7ef48
make_unique
2015-12-16 11:36:35 +01:00
Michael Hackstein
2867ff1eb4
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2015-12-16 10:52:08 +01:00
Michael Hackstein
e6e66d4469
Fixed a bug in Traversal Path Uniqueness.
2015-12-16 10:51:54 +01:00
Jan Steemann
a7cf52c6e0
fixed Visual Studio build
2015-12-16 10:06:42 +01:00
jsteemann
bcbfa1505b
removed wrong assertion
2015-12-15 21:25:03 +01:00
jsteemann
1e98af01ba
set cloexec for file descriptors
2015-12-15 20:30:28 +01:00
Jan Steemann
ad8381ad6a
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-15 16:37:33 +01:00
jsteemann
c043f9301c
changed error message
2015-12-15 13:13:31 +01:00
jsteemann
72f2c4a80e
added implementation for make_unique
2015-12-15 13:09:27 +01:00
Jan Steemann
223c44d572
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-15 12:02:47 +01:00
Jan Steemann
2b83e134f9
explicitly set closed flag
2015-12-15 11:58:32 +01:00
Jan Steemann
84fae4ebcb
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-14 18:16:30 +01:00
Jan Steemann
8e7ac689a2
issue #1606 : fail gracefully on invalid index definitions
2015-12-14 16:58:05 +01:00
Jan Steemann
da6f76ca7a
switched to template implementations
2015-12-14 15:48:40 +01:00
jsteemann
fd29ccdbc5
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-13 23:37:22 +01:00
jsteemann
600c48375d
added optimizer rule `sort-in-values`
2015-12-13 23:33:44 +01:00
jsteemann
1942ecc9ad
added missing space between languages
2015-12-13 00:46:42 +01:00
Jan Steemann
2bdbb13e2c
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-11 14:13:36 +01:00
jsteemann
18e47457a6
fixes
2015-12-11 13:29:18 +01:00
jsteemann
c40bfe6557
cppcheck
2015-12-10 22:40:40 +01:00
Jan Steemann
a406ced17c
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-10 21:33:43 +01:00
Jan Steemann
a1a95f227f
fix VS warning
2015-12-10 21:16:03 +01:00
Jan Steemann
f2b9e1139b
replaced levenshtein distance implementation
2015-12-10 18:43:44 +01:00
Max Neunhoeffer
b6b78c4acc
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2015-12-10 15:28:30 +01:00
Max Neunhoeffer
105ac4d562
Remove xxhash.
2015-12-10 15:28:18 +01:00
Wilfried Goesgens
399c44278e
Add left-to-right and right-to-left guards around the hebrew bye message
2015-12-10 11:09:21 +01:00
Michael Hackstein
b492b154d8
Added a velocyPackFromFile to the VelocyPackHelper
2015-12-10 11:02:19 +01:00
Jan Steemann
a36e4827c7
build fix
2015-12-10 10:43:59 +01:00
Michael Hackstein
5e39b1e811
Added a convenience function for default http result body parsing options
2015-12-09 21:46:13 +01:00
Michael Hackstein
de588621bc
Added a bodyToVelocyPack function for Simple Http Result
2015-12-09 21:10:15 +01:00
Michael Hackstein
f6e24e41e7
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2015-12-09 12:41:57 +01:00
Max Neunhoeffer
7aba9b0cbb
Add some velocy helpers, to be deleted later.
2015-12-09 12:39:56 +01:00
Michael Hackstein
acadb089ee
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2015-12-09 10:29:13 +01:00
jsteemann
c99f4244c7
bugfix for cluster edges API
2015-12-09 00:26:18 +01:00
Michael Hackstein
02784df7f8
Updated file list function to use std::vector<std::string> instead of TRI_string_vector_t.
2015-12-08 15:10:03 +01:00
Michael Hackstein
1e7108d9ca
Optimized toVelocyPack functions in Index. Added special implementations for edge and primary indexes. All others TODO
2015-12-07 15:44:28 +01:00
Michael Hackstein
ad0697446a
Allow to pass in the ParserOptions for request to velocyPack
2015-12-07 14:20:20 +01:00
Michael Hackstein
fe61871111
Added a new convenience function to VelocyPackHelper to get either the string value of an attribute or a default string if it fails
2015-12-06 12:57:02 +01:00
Michael Hackstein
6474f65166
Added an additional assertion to VPackHelper
2015-12-05 13:01:10 +01:00
Michael Hackstein
a8ff6f3a5f
Fixed convenience function for NumberType in VPack
2015-12-04 16:44:22 +01:00
Jan Steemann
1a3ea99e95
fixed after signature changes
2015-12-04 15:52:40 +01:00
Jan Steemann
5c033f566b
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-04 13:47:08 +01:00
Jan Steemann
cf7fa63a53
issue #1036 : allow aborting waiting HTTP requests from the ArangoShell
2015-12-03 18:55:51 +01:00
Jan Steemann
931e3f93ae
issue #1036 : implement CTRL-C handling in ArangoShell for Windows
2015-12-03 16:25:19 +01:00
Jan Steemann
75a888d9ac
Windows fixes
2015-12-03 15:06:20 +01:00
Jan Steemann
d572f3ed03
Merge branch 'aql-multi-modify' of https://github.com/arangodb/arangodb into devel
2015-12-03 11:38:30 +01:00
Michael Hackstein
3ea14e66a3
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
2015-12-03 10:19:17 +01:00
jsteemann
9fa0f6d3a7
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-multi-modify
2015-12-02 16:38:50 +01:00
Jan Steemann
eb8899d9ae
applied changes suggested by cppcheck
2015-12-02 10:17:14 +01:00
hkernbach
6d25ac57e9
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
2015-12-01 11:25:58 +01:00
Jan Steemann
0dd207f9f5
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-12-01 11:14:12 +01:00
jsteemann
49af794f5d
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-multi-modify
2015-12-01 01:56:46 +01:00
jsteemann
04e81ea851
more replication
2015-11-30 23:33:59 +01:00
Jan Steemann
f013c809ea
replication improvements
2015-11-30 18:27:31 +01:00
Michael Hackstein
e9a36a3fbf
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
2015-11-30 14:17:44 +01:00
Michael Hackstein
e56776bfd5
The PathEnumerator now automatically prunes if the getVertex callback returns false
2015-11-27 16:23:13 +01:00
Jan Steemann
b13284a0c3
replication improvements
2015-11-27 16:16:31 +01:00
Jan Steemann
a66368e10c
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-11-26 17:13:33 +01:00
Michael Hackstein
7bf37620bb
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
2015-11-26 16:32:26 +01:00
Jan Steemann
389c3e0cf0
small optimizations
2015-11-26 16:31:25 +01:00
Jan Steemann
e29bc893b7
finalized index API changes
2015-11-25 16:44:01 +01:00
Jan Steemann
db85c926be
added transaction to AssocUnique APIs
2015-11-25 15:57:48 +01:00
Jan Steemann
db078f1554
changed some APIs of AssocMulti
2015-11-25 15:40:01 +01:00
Jan Steemann
9ef5b4746a
removed several includes from Common.h
2015-11-25 12:21:55 +01:00
Jan Steemann
b6752faf0b
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-11-25 11:44:32 +01:00
Jan Steemann
a7c8a37938
use range-based for loop
2015-11-25 11:05:31 +01:00
Alan Plum
7538d71333
URL parameter -> {query,path} parameter
2015-11-24 18:09:43 +01:00
Jan Steemann
5518244942
less iostream-ing
2015-11-24 13:55:06 +01:00
Michael Hackstein
561ef30ac1
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
2015-11-24 08:59:01 +01:00
Jan Steemann
b08e1a76bc
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-11-23 12:06:29 +01:00
Jan Steemann
1bf5abaf14
changed HTTP return code for canceled operations from 408 to 410
2015-11-23 10:25:05 +01:00
Michael Hackstein
b18ce56a68
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
2015-11-20 10:49:00 +01:00
Jan Steemann
a4bff00093
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-11-19 16:46:30 +01:00
Jan Steemann
bcb31ab4c2
insertv continued
2015-11-19 16:46:06 +01:00
Max Neunhoeffer
f604f1d434
Fix Prefetch NOP.
2015-11-19 16:45:19 +01:00
Max Neunhoeffer
de47cb4ad7
Add a memory prefetch hint.
2015-11-19 16:44:32 +01:00
Jan Steemann
08d817ba53
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-11-19 14:36:11 +01:00
Jan Steemann
bde7c984d2
added VPack library
2015-11-19 14:04:35 +01:00
Jan Steemann
89e0f887b9
velocypack update
2015-11-19 13:28:40 +01:00
jsteemann
cb62c657e0
initial commit
2015-11-18 17:46:19 +01:00
Michael Hackstein
7a36bbb43f
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
2015-11-18 13:58:47 +01:00
Jan Steemann
a6b898c34a
Merge branch 'devel' of https://github.com/arangodb/arangodb into vpack
2015-11-17 14:09:15 +01:00
Jan Steemann
82eddeb120
allow using array indexes without specifying the `[*]` extension
2015-11-17 14:03:58 +01:00
jsteemann
f5e71197ce
document creation
2015-11-17 01:46:58 +01:00
Jan Steemann
2b0de0b702
updated vpack library
2015-11-16 14:13:27 +01:00
Jan Steemann
b0ea7dd562
added V8ToVPack conversion
2015-11-13 17:27:35 +01:00
Jan Steemann
dca8efa82f
updated vpack library
2015-11-13 12:58:17 +01:00
Michael Hackstein
8d0d921ab6
Included two Abstract classes for Traversals. Traverser and TraversalPath. Implemented both of them for Single-Server Traversals.
2015-11-12 16:25:36 +01:00
Jan Steemann
71e605a5c7
updated vpack library
2015-11-11 13:57:17 +01:00
Wilfried Goesgens
2d5d2d881e
Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH
2015-11-11 11:05:06 +01:00
Michael Hackstein
8cd8e048bc
Merge branch 'devel' of github.com:arangodb/arangodb into vpack
2015-11-10 17:25:40 +01:00
Jan Steemann
fe7ccb3ac3
experimental color prompting and window resize tracking for linenoise
2015-11-10 17:13:58 +01:00
Jan Steemann
ccf75ab804
updated vpack library
2015-11-10 15:49:38 +01:00
Michael Hackstein
d12daaaef7
Replaced TRI_Json_t in RestExportHandler by VelocyPack
2015-11-10 14:12:40 +01:00
Jan Steemann
e321c9747a
added option `--server.hide-product-header`
2015-11-10 10:27:59 +01:00
Michael Hackstein
eb9376f7d8
Added a method to create TRI_json_t from VPack
2015-11-10 09:54:27 +01:00
Michael Hackstein
66e1534b65
Started to Implement a static VelocyPackHelper. Having the same functionality as JsonHelper but for VelocyPack. Should make move way easier.
2015-11-09 16:01:54 +01:00
Jan Steemann
e7be8952bb
updated vpack library
2015-11-09 15:26:12 +01:00
Michael Hackstein
2ff01110f7
Added a option to VelocyPackify HTTP request bodies
2015-11-09 14:40:19 +01:00
Michael Hackstein
298d00908c
Added an implementation to transform a VelocyPack into a V8::Handle<V8::Value>
2015-11-08 15:00:13 +01:00
Frank Celler
2cc4f1a253
removed empty flags
2015-11-07 20:14:21 +01:00
Michael Hackstein
7a14d6c31a
Merge branch 'vpack' of github.com:arangodb/arangodb into vpack
2015-11-06 16:41:39 +01:00
Jan Steemann
02fc1e4d20
vpack library update
2015-11-06 16:28:48 +01:00
Michael Hackstein
42cf09e7f0
The RestVersionHandler now uses VPack instead of TRI_json_t
2015-11-06 15:02:13 +01:00
Wilfried Goesgens
7a54982eb4
Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH
2015-11-06 13:53:21 +01:00
Michael Hackstein
074c071573
Implemented a VelocyPack Dumper adapter for TRI_string_buffer
2015-11-06 11:38:04 +01:00
Jan Steemann
861661774a
added vpack
2015-11-06 09:58:22 +01:00
Jan Steemann
4816490c98
simplified shell invocation code a bit
2015-11-05 16:16:49 +01:00
Jan Steemann
3c04642550
moved object cache from `db` object into object of its own
2015-11-05 14:20:02 +01:00
Jan Steemann
dc53e9fe95
move away from mutex to atomic variables
2015-11-05 10:58:35 +01:00
Wilfried Goesgens
179660e87c
Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH
2015-11-04 17:07:09 +01:00
Frank Celler
94a730edd2
Merge pull request #1528 from christiano/devel
...
Added PT bye message
2015-11-04 13:23:51 +01:00
Jan Steemann
8db2018eb5
updated linenoise version
2015-11-03 16:07:48 +01:00
Frank Celler
57a6e6b61b
fixed linenoise path
2015-11-03 10:21:36 +01:00
Jan Steemann
874fe25fcb
fixed test failure
2015-11-03 10:21:32 +01:00
Jan Steemann
eef31ab797
comments
2015-11-03 10:21:32 +01:00
Frank Celler
7b996804d0
added linenoise ng
2015-11-03 10:21:28 +01:00
Michael Hackstein
f23259b2bb
Added CXX implementation of BINARY_OPERATOR_DIV
2015-11-03 10:19:30 +01:00
Michael Hackstein
11606c1f55
Added a CXX implementation of BINARY_PLUS.
2015-11-03 10:19:26 +01:00
Frank Celler
3500e569a8
reverted 011117edee
, 72c8847324
, 5da5715fa9
, a371aac4af
, 7decf1560a
, 0331ff7993
, 6ec2014052
, ae8d686ae6
, 7efd0a1ec7
, 3449b87e2c
, d35a4034ef
, 7b3c1ed4dd
, e0c88e4a1a
, 952d643101
, fc9de8ed08
, 2f4319b31a
, 105662d5ba
, 0a08833b0f
, 4ac19a99fc
, 4c5494c67d
, 528bb85b30
, 528bb85b30
becuase of missing CLA
2015-11-03 10:19:25 +01:00
Frank Celler
2d63bd5e7c
reverted e9a4f7bb55
, 21b498127c
, fe02d691d8
, 75e904c085
, 42440ff75a
becuase of missing CLA
2015-11-03 10:19:24 +01:00
Wilfried Goesgens
bb9039c855
Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH
2015-10-29 16:01:01 +01:00
Jan Steemann
ac4069d9de
added TRI_DeleteArrayJson() function
2015-10-29 14:49:29 +01:00
Jan Steemann
01499dde43
added deadlock detection for lazy locking of collections
2015-10-29 11:57:22 +01:00
Wilfried Goesgens
951165ab1e
Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH
...
Conflicts:
arangod/Aql/grammar.cpp
arangod/Aql/grammar.h
js/common/modules/org/arangodb/graph-examples/example-graph.js
2015-10-28 11:08:18 +01:00
Jan Steemann
cd677d26c0
yawe: yet another windows exception
2015-10-28 09:55:07 +01:00
jsteemann
5fff134c80
added CXX implementations of `WITHIN` and `NEAR` AQL functions
2015-10-27 23:24:00 +01:00
Jan Steemann
f963c728f6
fixed memleak in linenoise shell result handling
2015-10-27 11:15:40 +01:00
Jan Steemann
e38d547a88
using linenoise from yhirose/cpp-linenoise
2015-10-27 09:35:31 +01:00
Frank Celler
07d779e5aa
fixed stdlib=c++ and linenoise options
2015-10-25 22:13:49 +01:00
Frank Celler
4b99be0c30
added --enable-console to configure
2015-10-25 19:59:16 +01:00
jsteemann
fad9782a4a
removed unused functions
2015-10-23 01:22:41 +02:00
Frank Celler
b7de227138
removed readline
2015-10-22 15:41:33 +02:00
Wilfried Goesgens
cd6cc35def
Adjust the stage to the now non-void pointered index implementation.
2015-10-22 11:12:21 +02:00
Wilfried Goesgens
dae95de667
Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH
2015-10-21 14:54:01 +02:00
Michael Hackstein
3a3ab872f0
Fixed internal error for plan instantiation if the condition is empty
2015-10-19 15:09:59 +02:00
Jan Steemann
84978c0a8a
noexcept emulation
2015-10-19 12:03:15 +02:00
Jan Steemann
37e76084bb
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-jmmh-conditions
2015-10-19 09:52:53 +02:00
Frank Celler
1641553f26
fixed signed / unsigned mixup
2015-10-18 23:40:34 +02:00
jsteemann
aaf9c72e3c
removed unused typedef
2015-10-17 09:28:39 +02:00
Christiano Anderson
1ba370f214
Changed PT message
2015-10-16 12:44:45 -03:00
Christiano Anderson
ddcb14b94a
Added PT bye message
2015-10-16 10:58:04 -03:00
jsteemann
04a9ee03c3
fixed an assertion failure
2015-10-15 23:27:14 +02:00
Jan Steemann
7f778b148a
blind commit
2015-10-15 16:19:33 +02:00
jsteemann
f5f61ea173
cppcheck
2015-10-15 01:32:25 +02:00
Jan Steemann
b792632726
preparations for condition validation
2015-10-14 18:29:00 +02:00
Jan Steemann
98882efa61
optimizer fixes
2015-10-14 16:56:03 +02:00
Michael Hackstein
4c6b0f283a
AttributeNames from the attribute parser are now non-nested attributes. They offer a function to join nested elements
2015-10-13 16:26:11 +02:00
jsteemann
adebf6e7c9
removed some iostream includes
2015-10-12 21:40:46 +02:00
Jan Steemann
ffa777979c
make IN values unique and sort em
2015-10-12 15:34:41 +02:00
Jan Steemann
f0edd198bc
added specializeOne() and specializeAll()
2015-10-12 13:02:52 +02:00
Jan Steemann
bf71cdecdb
noexcept
2015-10-08 16:35:28 +02:00
Michael Hackstein
345725bdf9
Fixed skiplistindex with equality and range conditions
2015-10-08 14:58:52 +02:00
Michael Hackstein
5a026db641
Merge branch 'aql-jmmh-conditions' of github.com:arangodb/arangodb into aql-jmmh-conditions
2015-10-07 16:13:04 +02:00
Jan Steemann
a1de2bfcc1
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-jmmh-conditions
...
Conflicts:
CHANGELOG
2015-10-07 10:18:21 +02:00
jsteemann
c5cb00f56d
removed unused methods
2015-10-06 21:38:49 +02:00
Michael Hackstein
9f9e49566b
Fixed namespace issue for ostream of TRI_json_t
2015-10-06 17:50:03 +02:00
Jan Steemann
118f924598
support [*] operator
2015-10-05 19:15:22 +02:00
Jan Steemann
e46ba60715
changed signatures of attribute-access-detecting functions
2015-10-05 16:01:19 +02:00
Jan Steemann
1f009a046c
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-jmmh-conditions
2015-10-05 10:32:53 +02:00
Jan Steemann
3f622d71fb
fixed some require issues
2015-10-05 10:28:44 +02:00
jsteemann
c302b9153a
added stringification for TRI_json_t
2015-10-02 21:10:34 +02:00
Jan Steemann
7292384b37
deduplicate IN arrays
2015-10-02 14:05:27 +02:00
Jan Steemann
676daf398d
attempt to get rid of compiler warning
2015-10-02 10:49:14 +02:00
Jan Steemann
c3f52d536e
really fix compilation on Windows
2015-10-01 17:38:27 +02:00
Jan Steemann
d916d2f577
try to fix compile error
2015-10-01 17:36:04 +02:00
Frank Celler
1e7d970a8d
create timeout before the actual call
2015-10-01 12:00:00 +02:00
Jan Steemann
0ea2247eb0
scan-build
2015-09-30 17:28:52 +02:00
Jan Steemann
99f244774d
fixed --javascript.execute
2015-09-25 13:58:04 +02:00
Michael Hackstein
1a7f414c16
Merge branch 'devel' of github.com:arangodb/arangodb into JHMH
2015-09-18 12:21:39 +02:00
Frank Celler
c4d1fff729
new traversal
2015-09-18 10:40:28 +02:00
Jan Steemann
775292224a
don't leak lockfile descriptor at shutdown
...
the descriptor will be freed by the OS anyway at shutdown, but fixing this will make the leak disappear from the Valgrind output
2015-09-17 18:02:59 +02:00
jsteemann
6f17678fd9
use table lookups for JSON escaping
2015-09-16 01:18:57 +02:00
jsteemann
0bbf9d7be4
use official HTTP response code names
2015-09-15 23:15:25 +02:00
Jan Steemann
a3f7002a41
less pause for matching parens (helps when copy & pasting code into the shell)
2015-09-14 17:44:29 +02:00
Jan Steemann
75ccd7e2cc
fixed incremental sync method
2015-09-14 17:44:12 +02:00
Jan Steemann
e08d840b47
replication API documentation
2015-09-14 15:30:00 +02:00
Jan Steemann
5865ca7955
lol self
2015-09-08 15:16:10 +02:00
Jan Steemann
18963d635c
fix leak
2015-09-08 15:06:43 +02:00
Michael Hackstein
1afd19e550
Fixed the resizing of AssocUnique. It was different from AssocMulti which cased the nonUnique index to be faster than the unique one
2015-09-08 11:48:57 +02:00
Jan Steemann
3e468fcf38
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-09-07 20:01:42 +02:00
Jan Steemann
62714a50f9
less OpenSSL leaks
2015-09-07 20:01:31 +02:00
Jan Steemann
8b599b5274
changed some include headers around
2015-09-07 17:09:10 +02:00
Jan Steemann
b6a1684605
primary index speedup
2015-09-07 16:22:39 +02:00
Jan Steemann
39939fc1c9
primary index initial insertion speedup
2015-09-07 13:05:02 +02:00
Jan Steemann
5bf02f9eb9
removed assert, because a clang
2015-09-07 11:31:19 +02:00
Jan Steemann
9228fd0e89
added assertions
2015-09-07 11:07:54 +02:00
Jan Steemann
f45d9f5bc7
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-09-07 09:39:50 +02:00
Jan Steemann
b74d608180
fixed my own bug
2015-09-07 09:39:21 +02:00
CoDEmanX
8aa78dcb7f
Fix some more typos
2015-09-05 17:18:04 +02:00
Jan Steemann
21d023b502
fixed inconsistent ifdefs
2015-09-04 18:14:55 +02:00
Jan Steemann
47360f4511
added tests
2015-09-04 14:21:31 +02:00
Willi Goesgens
771c291042
Merge pull request #1472 from CoDEmanX/devel
...
More Americanization
2015-09-04 09:15:30 +02:00
Jan Steemann
06760a2c45
fixed broken index scan
2015-09-03 22:49:53 +02:00
CoDEmanX
3a9648d78a
More Americanization
2015-09-03 22:25:43 +02:00
Michael Hackstein
630c8fd42f
Improved Primary Sequential read
2015-09-03 16:25:24 +02:00
Jan Steemann
ec61d921f6
fixed typo
2015-09-03 13:55:07 +02:00
Jan Steemann
ad67d59fc9
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-09-03 13:54:01 +02:00
Jan Steemann
ad6ca31201
use unique_ptr
2015-09-03 13:53:50 +02:00
Jan Steemann
5c44c968ef
no additional memory allocations in maintainer mode, no zone comparisons on free
2015-09-03 13:15:49 +02:00
Jan Steemann
73d087f788
delete random implementation on shutdown
2015-09-03 13:08:13 +02:00
Michael Hackstein
0edccb5ca3
The AssocUnique does not require the key element for insertion any more. It needs two functions instead: Compare identical and compare element keys.
2015-09-03 10:16:15 +02:00
Michael Hackstein
481cb1b7dd
Removed const in AssocMulti batch insert. It was non-const casted internally...
2015-09-03 10:16:15 +02:00
Michael Hackstein
9001e88a89
Added a general batch inserter for AssocUnique. Not used in any index yet
2015-09-03 10:16:14 +02:00
Jan Steemann
c89cf82c6b
constified
2015-09-02 17:37:28 +02:00
Jan Steemann
4494b69f8e
fix compiler warnings on 32bit
2015-09-02 14:13:27 +02:00
Jan Steemann
2e617ac0cc
Merge branch 'american-english' of https://github.com/CoDEmanX/ArangoDB into devel
...
Conflicts:
arangod/Wal/Slots.cpp
lib/Basics/debugging.cpp
lib/Basics/files.cpp
2015-09-02 13:14:49 +02:00
Jan Steemann
0e802d6438
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-09-02 10:20:18 +02:00
Jan Steemann
a7dc45e966
use ReadWriteLocker
2015-09-02 10:20:05 +02:00
Jan Steemann
a80d6635ab
create fat datafiles
...
This prevents SIGBUS when a sparse datafile is accessed and the disk is full. In
this case the mmapped region is not necessarily backed by physical memory, and
accessing the memory may crash the program
2015-09-02 10:18:24 +02:00
CoDEmanX
956b396e43
Change spelling of 'initialize' to American English (actual code and files)
2015-09-01 17:29:22 +02:00
CoDEmanX
b4593a7e82
Change spelling of 'initialize' to American English (comments and log messages only)
2015-09-01 17:07:21 +02:00
Michael Hackstein
faf0677757
Removed debug output
2015-09-01 15:05:49 +02:00
Michael Hackstein
a9e7adc1ed
Fixes in basics SkipList
2015-09-01 15:05:48 +02:00
Michael Hackstein
4409a59265
Further templatification of skiplist and fixed the tests
2015-09-01 15:05:47 +02:00
Michael Hackstein
e01f8f6b0f
Fixes for C++ification of skiplist
2015-09-01 15:05:47 +02:00
Michael Hackstein
cbd1cd7111
Removed non obsolete file for basic skiplist
2015-09-01 15:05:46 +02:00
Michael Hackstein
d50df2617c
Templatified the Basic skiplist. This avoids using void* and includes type safeness
2015-09-01 15:05:46 +02:00
Michael Hackstein
b8b129d84c
The primary index now uses the Hash-cache again
2015-08-31 11:33:12 +02:00
Jan Steemann
a3ee707f6f
less creations of empty headers maps
2015-08-30 22:11:18 +02:00
Jan Steemann
a9d63a0612
do not advertise support for delate encoding in `org/arangodb/request` by default
2015-08-29 02:46:01 +02:00
Jan Steemann
573c143398
constified
2015-08-29 02:18:02 +02:00
Jan Steemann
a253a5d320
do not halt on single-line comments
2015-08-28 16:41:14 +02:00
Michael Hackstein
81fa8018b0
Improved primary index lookups to use parameter by reference instead of byPointer. less error prone. Fixed some issues with it.
2015-08-28 09:28:24 +02:00
Michael Hackstein
771a6d5143
Should have dereferenced the pointer before adding sth
2015-08-28 09:28:24 +02:00
Michael Hackstein
082e49f2c1
Further adoptions of internal functionality to new Primary index
2015-08-28 09:28:23 +02:00
Michael Hackstein
6d4d41387b
Implemented sequential read and any read in Transaction.h
2015-08-28 09:28:22 +02:00
Michael Hackstein
48240bccc1
Added findSequential and findRandom in AssocUnique. Required for PrimaryIndex
2015-08-28 09:28:22 +02:00
Jan Steemann
abea80ac53
issue #1436 : deflate responses encoded with `content-encoding: deflate`, too
2015-08-27 15:16:32 +02:00
Michael Hackstein
b791ea09da
Fixed a bug in AssocUnique.
2015-08-27 10:38:43 +02:00
Jan Steemann
1a2449193e
skiplist code cleanup
2015-08-26 22:52:41 +02:00
Jan Steemann
21793ff9f7
cppcheck
2015-08-26 21:36:44 +02:00
Jan Steemann
e8505a35f2
cppcheck
2015-08-26 21:35:57 +02:00
Michael Hackstein
2212be29c0
Merge branch 'devel' of github.com:arangodb/arangodb into devel
2015-08-26 17:10:14 +02:00
Michael Hackstein
7257bf0b9d
Skiplist and HashIndex will now print their figures if requested
2015-08-26 17:10:02 +02:00
Jan Steemann
8f2df77c30
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-08-26 16:59:40 +02:00
Jan Steemann
249627e21b
fixed VS build
2015-08-26 16:59:27 +02:00
Max Neunhoeffer
c0f1b72bab
Add "sensible" madvise calls.
...
Essentially the strategy is: A newly created and a newly opened file
is advised to be "SEQUENTIAL ACCESS", because we will either write to
it or scan it sequentially. As soon as it is sealed, we switch the
advice to "RANDOM ACCESS", because this should be the normal pattern and
aggressive read-aheads tend to be bad. The collector and the compactor
switch a sealed file back to "SEQUENTIAL ACCESS" just before they scan
it and back to "RANDOM ACCESS", when they are done.
Furthermore, all data files in a collection are advised with "WILLNEED"
just before the collection is scanned during loading.
Finally, the actual hash table of AssocMulti is advised to be random
access, although this is an anonymous map given to us by malloc and not
a memory mapped file.
2015-08-26 16:45:26 +02:00
Jan Steemann
a3550e331e
fixed makefiles
2015-08-26 16:17:45 +02:00
Jan Steemann
61243ebb7b
Merge branch 'devel' of https://github.com/arangodb/arangodb into array_indexing
...
Conflicts:
arangod/HashIndex/hash-array-multi.cpp
arangod/Indexes/HashIndex.cpp
2015-08-26 15:01:29 +02:00
Michael Hackstein
4a3b8007bd
Fixed memory calculation of HashIndexMulti. And added index information for it
2015-08-26 14:38:23 +02:00
Jan Steemann
5bf32095a1
print abortion
2015-08-26 12:02:43 +02:00
Michael Hackstein
4effa2291e
Merge branch 'devel' of github.com:arangodb/arangodb into array_indexing
2015-08-26 10:41:27 +02:00
Jan Steemann
9374a25822
removed unused error code
2015-08-25 19:55:48 +02:00
Jan Steemann
c07e32427b
issue #1458 : HTTP code 500 when unique constraint violated
2015-08-25 19:29:05 +02:00
Michael Hackstein
40c1361244
Merge branch 'devel' of github.com:arangodb/arangodb into array_indexing
2015-08-25 16:40:31 +02:00
Jan Steemann
18f231f666
do not read memory for comparisons
2015-08-25 16:09:12 +02:00
Max Neunhoeffer
7957df9215
Merge branch 'array_indexing' of ssh://github.com/ArangoDB/ArangoDB into array_indexing
2015-08-25 13:04:48 +02:00
Max Neunhoeffer
203e9a5195
Make hashcache in AssocMulti switchable-off. Does not work yet.
2015-08-25 12:46:47 +02:00
Michael Hackstein
57c6103458
Revert "The AssocUnique index now requires only an element to insert it. They key is derived"
...
This reverts commit ea70a948e254716905a7619e72b41fbef4f66695.
2015-08-25 09:40:29 +02:00
Michael Hackstein
2d6af6e872
The AssocUnique index now requires only an element to insert it. They key is derived
2015-08-24 17:14:39 +02:00
Michael Hackstein
5b6f8b7b8e
Added a remove by key function to AssocUnique
2015-08-24 17:06:21 +02:00
Michael Hackstein
ba8264eada
AssocUnique is now a templated index. Foundation to move primary index to use it
2015-08-24 16:41:16 +02:00
Michael Hackstein
f9647962d7
Moved HashIndex/hash-array.h to Basics/AssocUnique.h
2015-08-24 14:17:49 +02:00
Michael Hackstein
2dd0f7cf7f
Continued @neunhoef 's on simplification of hash-index. The index itself will never free anything, calling class is responsible for freeing now.
2015-08-24 13:14:35 +02:00
Michael Hackstein
d43c515b56
Fixed a bug in hash index buckets. When resizing the table was not nulled correctly.
2015-08-24 11:22:53 +02:00
Michael Hackstein
b708a7ae68
Merge remote-tracking branch 'origin/devel' into array_indexing
2015-08-21 15:34:49 +02:00
Michael Hackstein
85b58a6d8d
Fixed sparse indexes
2015-08-21 14:07:32 +02:00
Michael Hackstein
9bb7c0dec6
The skiplist index is now able to index arrays as well
2015-08-21 11:04:04 +02:00
Michael Hackstein
4bb8508d82
Implemented a new improved version of the Array index insertion function.
2015-08-20 14:03:17 +02:00
Willi Goesgens
61eb1e6002
Fix vs 2015 compile issue.
2015-08-20 11:34:01 +02:00
Jan Steemann
deb7830615
fix dump/restore filenames
2015-08-20 02:47:00 +02:00
Jan Steemann
97d67e4399
use binary-safe string representations
2015-08-20 01:46:20 +02:00
Jan Steemann
1be3733a64
moved some handlers around
...
fix disappeared handlers
2015-08-20 01:26:52 +02:00
Jan Steemann
0e3fddf917
fixes for VS2015
2015-08-19 17:18:13 +02:00
Max Neunhoeffer
ff135a10ad
Add some overrides to silence a clang compiler warning.
2015-08-19 14:46:06 +02:00
Michael Hackstein
241905c42c
Merge branch 'devel' of github.com:arangodb/arangodb into array_indexing
2015-08-19 12:51:53 +02:00
Jan Steemann
65424143c6
fix VS build
2015-08-19 12:37:34 +02:00
Jan Steemann
28ad41defc
fix compile warnings
2015-08-19 12:22:34 +02:00
Jan Steemann
e9a598c020
do not include deprecated header
2015-08-19 12:01:12 +02:00
Michael Hackstein
1a4d59d954
Merge branch 'devel' of github.com:arangodb/arangodb into array_indexing
2015-08-19 11:57:12 +02:00
Jan Steemann
6680f3bb5a
fix Mac build
2015-08-19 11:56:41 +02:00
Michael Hackstein
59e8ea3fad
Merge branch 'devel' of github.com:arangodb/arangodb into array_indexing
2015-08-19 11:56:34 +02:00
Jan Steemann
9f0384284f
moved files
2015-08-19 11:19:37 +02:00
Jan Steemann
edd1e90511
clean up shell implementation code
2015-08-18 18:10:27 +02:00
Jan Steemann
8677da48b1
replication API enhancements, not yet ready
2015-08-18 18:08:20 +02:00
Jan Steemann
338dd7e100
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-08-17 18:41:13 +02:00
Jan Steemann
4e771b2728
replication improvements
2015-08-17 18:41:05 +02:00
Willi Goesgens
35de50d153
set the mac to add hashes too.
2015-08-17 17:31:15 +02:00
Michael Hackstein
e867181a72
Merge remote-tracking branch 'origin/eimerung_hashindex' into array_indexing
2015-08-17 15:58:53 +02:00
Michael Hackstein
2c0bdb5861
Added a function in the attribute parser to transform an expanded attribute to the correct path for pid.
2015-08-17 12:43:13 +02:00
Max Neunhoeffer
1ba7587fc0
Rename ThreadProtector to DataProtector.
2015-08-17 12:43:12 +02:00
Jan Steemann
a8428877e7
some cleanup
2015-08-17 12:43:12 +02:00
Jan Steemann
4db822443b
allow non-const access to string-buffer
2015-08-17 12:43:11 +02:00
Michael Hackstein
8e3e2d547d
Do not push <Class const> into vector. It does not work everywhere
2015-08-17 12:43:11 +02:00
Jan Steemann
98106510d2
remove CONST_CAST helper
2015-08-17 12:43:11 +02:00
Jan Steemann
6262614ce3
delay supervisor startup
2015-08-17 12:43:10 +02:00
Jan Steemann
205d1e73ed
fix Visual Studio compile errors
2015-08-17 12:43:09 +02:00
Michael Hackstein
d7d00a5d0d
Fixed index comparision with multiple components. Introduced by AttributeName format.
2015-08-17 12:43:09 +02:00
Max Neunhoeffer
a18faae89f
Untemplatify ThreadProtector for those with gcc < 4.9.2.
...
We will revert this later once everybody has gcc >= 4.9.2.
2015-08-17 12:43:09 +02:00
Jan Steemann
907e6368c6
some unused function cleanup
2015-08-17 12:43:09 +02:00
Michael Hackstein
c2338d80d0
A user can now create an indux on attribute[*] which will put an index on attribute and ignores the expand flag. Does not harm any feature in AQL now.
2015-08-17 12:43:08 +02:00
Michael Hackstein
17a8f73a06
Now the input for indexes is parsed using the new attribute parser. This means the flags for expanded Attributes are set. Also introduced a transformation function to transform an attributeName list back into a string.
2015-08-17 12:43:07 +02:00
Max Neunhoeffer
a5cb29e026
Improve the explanation of ThreadProtectors.
2015-08-17 12:43:06 +02:00
Max Neunhoeffer
49f74b1baf
Replace DataGuardian by ThreadProtector.
2015-08-17 12:43:06 +02:00
Jan Steemann
5faf5d8248
provide more information on arangod startup and shutdown in supervisor mode
2015-08-17 12:43:06 +02:00
Jan Steemann
cc42bd1c85
log logfiles location on startup
2015-08-17 12:43:06 +02:00
Michael Hackstein
8fbb2739b0
The indexes can now use the new AttributeName struct which contains a flag if the attribute should be Array-Indexed. Right now this flag is hard-coded to false in all cases and not persisted.
2015-08-17 12:43:05 +02:00
Michael Hackstein
c85d5e347a
Implemented a new AttributeNameParser this is able to identify [*] expansion and shall be used for array indexes. Also includes tests.
2015-08-17 12:43:05 +02:00
Jan Steemann
46565e4daf
fix parallel insertion
2015-08-17 12:43:05 +02:00
Max Neunhoeffer
6d5d14a3ed
Merge branch 'devel' of ssh://github.com/ArangoDB/ArangoDB into devel
2015-08-17 12:40:16 +02:00
Jan Steemann
6a46fd55ec
added explicit
2015-08-17 00:14:53 +02:00
Jan Steemann
69721a6cca
fix handling of socket read/write errors
2015-08-16 22:42:27 +02:00
Jan Steemann
46c8d042ae
fix busy waits in scheduler threads
2015-08-16 22:08:25 +02:00
Jan Steemann
57cb32bdf6
close connections
2015-08-14 18:16:35 +02:00