Willi Goesgens
e1262a1078
Initialize forgottone member.
2015-05-06 18:06:28 +02:00
Jan Steemann
0996d603c6
fulltext improvements
2015-05-06 14:21:32 +02:00
Michael Hackstein
b89c28e141
Now allows the new CPP traversal to contain the vertex data. Edgedata is yet to come
2015-05-05 22:49:37 -07:00
Jan Steemann
c677ea8b88
added tests for collection.lookupByKeys() and collection.removeByKeys()
2015-05-05 17:57:33 +02:00
Jan Steemann
a007a867ee
"privatized" TRI_vector_t internals.
...
This allows changing the internals of TRI_vector_t structs in order to make the struct smaller.
On 64 bits, the size of TRI_vector_t is reduced from 48 bytes to 28 bytes.
TRI_json_t does benefit from this, as its biggest component is a TRI_vector_t.
2015-05-05 10:31:02 +02:00
Willi Goesgens
312972a4ec
Modify examples so they clean up after their run.
2015-05-04 17:22:25 +02:00
Michael Hackstein
4c7b9459d5
The cpp shortest path now returns _id instead of _key. First implementation of cpp neighbors. Returns only vertexIds now.
2015-05-03 00:13:30 -07:00
Michael Hackstein
ca0de62aa3
Moved all v8 context sensitive parts into from V8Traverser v8-vocbase
2015-05-02 21:46:54 -07:00
Max Neunhoeffer
97f7743d84
Less copying in Traverser.
2015-05-02 06:28:52 +02:00
Michael Hackstein
91fa1cb6f8
Merge branch 'cppTrav3' of github.com:/arangodb/arangodb into cppTrav
2015-05-01 17:08:56 -07:00
Michael Hackstein
9edb48b1cf
Made everything compile again
2015-05-01 17:07:02 -07:00
Michael Hackstein
13e765f6d9
Further reduced copying in Traverser
2015-05-01 16:18:45 -07:00
Michael Hackstein
73db004a85
Reduced string copy in traverser
2015-05-01 14:49:31 -07:00
Max Neunhoeffer
24d04148c8
Schaltbar.
2015-05-01 10:30:30 -07:00
Jan Steemann
0099fe260a
return value optimization for AQL
2015-04-30 23:38:27 +02:00
Max Neunhoeffer
65c4c5629d
Highly experimental aggregation experiment. Do not use.
2015-04-30 00:44:39 -07:00
Willi Goesgens
fd6fc37429
Use the proper fee function for json structures - fixes memleak.
2015-04-28 13:25:31 +02:00
Michael Hackstein
ed7666e81e
Improved code readablity and implemented a distance attribute based weighting function
2015-04-27 23:58:07 -07:00
Willi Goesgens
57e361a74b
Adust documentation snipets
...
- they now node when they expect to throw an exception, so all exceptions else thrown are real bugs
- bugs some snippets fixed
- some snippets now do a proper setup & teardown
2015-04-27 17:12:35 +02:00
Jan Steemann
96fdbe91dc
issue #1318 : Inconsistent db._create() syntax
2015-04-27 10:51:22 +02:00
Michael Hackstein
7f3a9fbcae
Included the CPP Shortest path into AQL. Only under certain conditions
2015-04-26 22:17:23 -07:00
Michael Hackstein
6e7e127b97
Rebase cleanup
2015-04-25 21:58:57 -07:00
Max Neunhoeffer
d1ab2a9d6f
Make bidirectional switchable.
2015-04-25 21:48:33 -07:00
Michael Hackstein
5e1909eef1
Added weight Info.
2015-04-25 21:47:44 -07:00
Michael Hackstein
599240fb21
Removed couts
2015-04-25 21:47:43 -07:00
Max Neunhoeffer
84f1ae1659
Add some more couts.
2015-04-25 21:46:23 -07:00
Max Neunhoeffer
7a80feee40
Correct edge expander.
2015-04-25 21:42:17 -07:00
Max Neunhoeffer
e508a1697d
Use new PriorityQueue, compiles, does not work.
2015-04-25 21:41:45 -07:00
Max Neunhoeffer
5ccab6b3a8
Sort out mess with strange non-copying.
2015-04-25 21:40:44 -07:00
Max Neunhoeffer
2c5f56672c
Snapshot.
2015-04-25 21:39:04 -07:00
Michael Hackstein
de699494af
Fixed problem with thread construction for constant string
2015-04-25 21:38:07 -07:00
Michael Hackstein
c1c98b16f6
Added version with broken threads. Computation is correct, but threads do not fire up
2015-04-25 21:36:24 -07:00
Michael Hackstein
6f81b0add1
Further implementation of Shortest Path. The Shortest path is found in cpp conversion to JS not yet working
2015-04-25 21:35:40 -07:00
Michael Hackstein
e092bda62f
Further implementation of simple expander. Also included Path -> JSON converter.
2015-04-25 21:35:39 -07:00
Max Neunhoeffer
6cd05d0154
Make it compile. Probably still fishy.
2015-04-25 21:34:41 -07:00
Michael Hackstein
9f1830b4c5
Started implementing the Expander function. Not et finished does not compile but i am moving over to a new machine
2015-04-25 21:34:41 -07:00
Michael Hackstein
85c13802d4
First commit. Started implementing dijkstra in C++. Got all the transaction stuff up and running now. Time to write down the algorithm.
2015-04-25 21:34:40 -07:00
Thomas Schmidts
fb7af0e86f
Fixed #1303 Deleted one sentence from the documentation
2015-04-24 16:49:00 +02:00
Jan Steemann
32b547886b
fixed up some headers
2015-04-24 13:11:29 +02:00
Jan Steemann
629883041c
added asserts
2015-04-21 12:08:09 +02:00
Jan Steemann
e2000f571f
try to satisfy scan-build
2015-04-16 15:04:11 +02:00
Jan Steemann
7c393dec44
fixed assertion error on shutdown
2015-04-13 16:24:19 +02:00
Max Neunhoeffer
bd0724add6
Fix retry behaviour in some places of cluster code.
2015-04-13 13:03:40 +02:00
Max Neunhoeffer
1709a25163
Startup V8 threads concurrently in multiple C++11 threads.
...
Conflicts:
arangod/V8Server/ApplicationV8.cpp
2015-04-13 12:07:26 +02:00
Thomas Schmidts
d7dc9ea169
Fixed broken examples in the documentation
2015-04-12 13:47:26 +02:00
Alan Plum
966af1a750
Added global/GLOBAL/root to global context.
2015-04-07 16:47:09 +02:00
Jan Steemann
20a4299d0d
use nullptr
2015-04-03 14:59:49 +02:00
Jan Steemann
37e0233d10
Revert "added missing files for JSH"
...
This reverts commit 99b80dd1e338ec122fea54e6af604f2310f1e080.
2015-04-03 14:57:52 +02:00
Jan Steemann
8b132ad60f
added missing files for JSH
2015-04-03 14:57:12 +02:00
Jan Steemann
6dfb4d4b09
Merge branch 'devel' of https://github.com/arangodb/arangodb into cursor-refactoring
...
Conflicts:
arangod/Aql/ExecutionBlock.cpp
lib/HttpServer/HttpHandler.cpp
lib/HttpServer/HttpServerJob.h
2015-03-31 15:13:31 +02:00
Jan Steemann
6f4fadd630
removed .o files
2015-03-31 14:45:22 +02:00
Frank Celler
ffbc45d2e2
new HttpServer & HttpCommTask
...
Conflicts:
Makefile.in
arangod/Aql/RestAqlHandler.cpp
arangod/Aql/grammar.cpp
arangod/Cluster/RestShardHandler.cpp
lib/GeneralServer/GeneralServer.h
lib/GeneralServer/GeneralServerDispatcher.h
lib/HttpServer/HttpServerJob.h
lib/HttpServer/HttpsCommTask.h
lib/SimpleHttpClient/SslClientConnection.cpp
2015-03-31 09:12:01 +02:00
Jan Steemann
925f4fbab6
cleanup of some static const variables
2015-03-30 21:43:55 +02:00
Jan Steemann
80a99ab23e
refactored cursor API
2015-03-30 14:58:51 +02:00
Jan Steemann
c352ba6a03
small logging refactoring
2015-03-26 03:09:07 +01:00
Jan Steemann
3555cdb0fe
removed unused method
2015-03-25 17:00:47 +01:00
Jan Steemann
e230ac11c0
fixed leak
2015-03-25 16:55:45 +01:00
Frank Celler
4c5d57f1b8
merged Exceptions.h and Exception.h
2015-03-23 14:05:19 +01:00
Jan Steemann
d63f47e840
added possibility to kill JS traversals
2015-03-20 23:05:41 +01:00
Jan Steemann
7cce25967e
fixed potential undefined behavior
2015-03-19 11:05:49 +01:00
Jan Steemann
57daabee81
fix for potential undefined values
2015-03-19 10:59:29 +01:00
Jan Steemann
85308fa7f3
removed remainder of development mode
2015-03-19 10:33:31 +01:00
Jan Steemann
30e44ef553
override
2015-03-13 18:27:29 +01:00
Jan Steemann
f035ea1c3b
kill AQL queries
...
Conflicts:
arangod/Aql/ExecutionBlock.cpp
2015-03-12 15:00:14 +01:00
Jan Steemann
64d77cbe24
added query tracking feature
2015-03-12 13:02:13 +01:00
Jan Steemann
22200118e1
added method getCoordinators()
2015-03-06 14:02:16 +01:00
Willi Goesgens
73086d9176
wrong index on the strings.
2015-03-05 15:55:32 +01:00
Willi Goesgens
d2230b3811
Add logging of V8 shutdown, relax timeout for Valgrind.
2015-03-05 10:56:06 +01:00
Jan Steemann
1461d75ed4
improve collection loading time
...
This patch reduces collection loading time by preallocating enough space in primary index ahead of time.
When a collection is closed, the number of documents in the collection will be stored in the collection's JSON info file.
This value is used to determine the initial size for the primary index when the collection is loaded next time.
Datafile iteration has also been made slightly faster.
The above changes will have a significant benefit when the collection's datafiles are already in the OS buffer cache, and when there are no secondary indexes.
Loading datafiles from disk or building secondary indexes may be more time-consuming than the improvements reapable by this patch, but the patch shouldn't hurt anyway.
2015-02-26 16:35:51 +01:00
Jan Steemann
05fadde9e2
small changes
2015-02-19 13:58:50 +01:00
Jan Steemann
59936f1f98
small optimizations
2015-02-19 09:31:00 +01:00
Jan Steemann
83ea75fa8f
removed unused config options
2015-02-18 16:40:15 +01:00
Jan Steemann
f29591135a
adjusted geo index API
2015-02-18 14:59:46 +01:00
Jan Steemann
9ba591e961
handle call to sync() with wrong parameter type
2015-02-12 00:29:23 +01:00
Jan Steemann
b1d023821e
fixed tests
2015-02-11 18:46:52 +01:00
Jan Steemann
6f12e69bae
Merge branch 'devel' of https://github.com/arangodb/arangodb into sparse-indexes
2015-02-11 09:51:16 +01:00
Frank Celler
3e35e94a83
added hidden option --fronend-version-check
2015-02-10 21:24:24 +01:00
Jan Steemann
a0309c44e2
Merge branch 'devel' of https://github.com/arangodb/arangodb into sparse-indexes
...
Conflicts:
.travis.yml
2015-02-09 20:32:18 +01:00
Jan Steemann
82c7522d4e
test fixes
2015-02-09 20:08:06 +01:00
Max Neunhoeffer
dd0d57b41a
Merge branch 'devel' of ssh://github.com/triAGENS/ArangoDB into devel
2015-02-07 21:35:18 +01:00
Max Neunhoeffer
134aa7fce8
Add breakpoint facility via console for JavaScript code in server.
2015-02-07 21:34:20 +01:00
Jan Steemann
003d7e9112
sparse indexes, initial commit, untested
2015-02-07 03:07:41 +01:00
Jan Steemann
acc354839d
made functions static
2015-02-06 21:15:05 +01:00
Willi Goesgens
b17abadd42
Put error messages of simple http client into cluster comm results.
2015-02-04 11:25:12 +01:00
Jan Steemann
423d22ed71
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-02-02 18:56:17 +01:00
Frank Celler
23e66107a5
moved try/catch into a block
2015-02-02 17:07:31 +01:00
Jan Steemann
39603ebaf4
added selectivity estimates for some index types
2015-01-30 23:04:46 +01:00
Willi Goesgens
ba387a0483
Initialize the platform pointer.
2015-01-29 19:02:31 +01:00
Willi Goesgens
e666fd6dfc
Properly shut down V8 to make Valgrind happy
2015-01-29 17:31:30 +01:00
Frank Celler
7aa4591678
arangod/Aql/Expression.cpp
2015-01-29 15:21:14 +01:00
Willi Goesgens
293a3fe7d3
Differenciate whether we fail to locate or execute a script in error messages.
2015-01-27 12:25:40 +01:00
Jan Steemann
6a433177c0
use Escape
2015-01-24 14:06:20 +01:00
Jan Steemann
0d8bf44215
gc adjustment
2015-01-23 20:51:42 +01:00
Jan Steemann
0f94293efd
shutdown time
2015-01-23 18:56:01 +01:00
Jan Steemann
5d12a3da3b
garbage collection
2015-01-23 16:45:00 +01:00
Jan Steemann
8aeded5c86
fixed documentation
2015-01-22 13:36:01 +01:00
Willi Goesgens
b1f881254d
Upgrade V8 to 3.31.74.1
2015-01-19 19:29:31 +01:00
Jan Steemann
d534a41e21
recovery tests
...
Conflicts:
arangod/Wal/LogfileManager.cpp
Conflicts:
arangod/Wal/LogfileManager.cpp
2015-01-19 18:14:03 +01:00
Jan Steemann
578afe98d9
removed documentation for removed methods
2015-01-15 23:06:04 +01:00
Jan Steemann
b9c52dca9e
fix for intermittent 404 errors in Foxx and other actions
2015-01-15 23:06:04 +01:00
Jan Steemann
b54dfae96f
removed several JSON functions
2015-01-13 01:31:04 +01:00
Jan Steemann
25d30c2b96
indentation
2015-01-09 16:51:00 +01:00
Willi Goesgens
aa1cdc09e2
Make shure we leave all contexts we open in the propper sequence.
2015-01-08 17:53:13 +01:00
Jan Steemann
5f4fe21681
added asserts for context locker
2015-01-08 16:41:12 +01:00
Willi Goesgens
9e26914696
After freeing the locker, null its struct member so we remain to know its gone.
2015-01-08 16:20:30 +01:00
Jan Steemann
74bb6b6dc3
fix isolates and contexts
2015-01-07 18:15:29 +01:00
Jan Steemann
be4512fad3
removed duplicate method
2015-01-07 17:40:40 +01:00
Jan Steemann
ac0bb85c3d
issue #1201 : better error checking for fulltext index with multiple attributes
2015-01-05 09:41:56 +01:00
Frank Celler
1748e403e4
added TRI_FORCE_ARMV6
2014-12-23 16:31:20 +01:00
Jan Steemann
d358b80080
ES6
2014-12-20 04:02:24 +01:00
Jan Steemann
a82ac45190
fixed tests on ARM
2014-12-19 17:59:36 +01:00
Jan Steemann
fd5a723f30
removed deprecated methods
2014-12-19 14:00:58 +01:00
Jan Steemann
20e7fe7a7a
the great rename: array => object, list => array
2014-12-18 21:07:06 +01:00
Willi Goesgens
807643f000
the context-cope exits the context for us - we don't need to do this anymore by ourselves.
2014-12-17 14:32:03 +01:00
Willi Goesgens
fb3ec155a8
Re-Instanciate the context-scope guard were needed.
2014-12-17 13:59:56 +01:00
Max Neunhoeffer
bf915da2e3
Use an unordered_map for JSBarriers.
2014-12-16 09:57:44 +01:00
Jan Steemann
ac9836421d
removed todo
2014-12-15 21:48:49 +01:00
Jan Steemann
2e77d31d11
removed TODO
2014-12-15 21:47:01 +01:00
Jan Steemann
a90ee78ae1
fixed segfault
2014-12-15 20:48:10 +01:00
Willi Goesgens
1c4a72b106
The Big V8 upgrade Merge.
2014-12-15 17:30:56 +01:00
Jan Steemann
6aaa5f05a4
nullptr
2014-12-09 16:27:14 +01:00
Jan Steemann
23203a5437
indenting
2014-12-08 11:23:45 +01:00
Jan Steemann
d9a945e33a
include or exclude system collections from replication
2014-12-05 14:58:43 +01:00
Jan Steemann
399176cf67
fixed cursor ttl issue
...
Conflicts:
CHANGELOG
2014-12-05 09:18:32 +01:00
Jan Steemann
0cb5b70a3e
turned assertions into ifs
2014-12-04 11:15:33 +01:00
Frank Celler
77f544a554
Merge pull request #1144 from triAGENS/less-confusing-http-naming
...
Renamed mergeArrays->mergeObjects (because it's actually about objects, not arrays)
2014-12-03 14:48:04 +01:00
Jan Steemann
4ef82239a3
added optimizer statistics
2014-12-03 11:38:56 +01:00
Alan Plum
41ab3aa4d6
Renamed mergeArrays->mergeObjects to make API less confusing.
2014-12-02 17:03:03 +01:00
Patrick Huber
c9de415b1f
space, typo. DatabaseMethods.mdpp references v8-vocbase.cpp but this doc block is in v8-collection.cpp...
2014-12-01 15:11:30 +01:00
Jan Steemann
ac36c0cd7a
added mergeArrays attribute
2014-11-28 13:58:49 +01:00
Thomas Schmidts
c6b8e1a569
Fixed some dead links in the documentation
2014-11-21 09:13:50 +01:00
Jan Steemann
da468b2f58
allow lazier querying of hash index
2014-11-18 14:16:36 +01:00
Jan Steemann
a71bf1819c
issue #1099 : do not fail if general-graph.remove is used inside a transaction
2014-11-17 15:47:39 +01:00
Jan Steemann
21ef4579f5
updated documentation
2014-11-14 17:17:51 +01:00
Jan Steemann
cf784816a8
hide function
2014-11-14 16:43:34 +01:00
Jan Steemann
b0de1bb226
leaner and meaner error messages
2014-11-07 10:53:00 +01:00
Jan Steemann
e93a9a8ce2
fixed documentation
2014-11-06 13:39:35 +01:00
Jan Steemann
22d2cfd876
fixed documentation
2014-11-06 13:14:47 +01:00
Jan Steemann
2fe79a65a4
speed up AQL queries with V8 expressions
2014-11-05 16:59:57 +01:00
Jan Steemann
e5abbe92e9
fixed broken cursors if cursor size > batchSize
2014-11-05 12:19:36 +01:00
Willi Goesgens
bab1762ee9
Directly route results to v8-objects instead of going via a json object when calling AQL from a V8 context
2014-11-05 10:56:10 +01:00
Jan Steemann
26c3b0174f
fixed tests
2014-10-31 19:58:20 +01:00
Jan Steemann
a5e7b26c81
added comment [skip ci]
2014-10-31 17:31:40 +01:00
Jan Steemann
4f68960ed7
removed Ahuacatl [skip ci]
2014-10-31 17:31:00 +01:00
Jan Steemann
83252851e6
report warnings in queries
2014-10-30 17:33:15 +01:00
Max Neunhoeffer
c07bfb894d
Fix a memleak in cluster.
2014-10-30 14:58:59 +01:00
Max Neunhoeffer
3960ff5667
Fix TRI_FreeBarrier by giving two variants.
2014-10-30 09:51:13 +01:00
Max Neunhoeffer
1d867643d5
Protect some flags in a barrier by the barrier lock.
2014-10-30 09:36:38 +01:00
Jan Steemann
7c180b31fb
hide experimental functions for now
2014-10-29 20:53:50 +01:00
Jan Steemann
13d240384f
less namespace pollution
2014-10-28 00:24:37 +01:00