Jan Steemann
eb8899d9ae
applied changes suggested by cppcheck
2015-12-02 10:17:14 +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
9ef5b4746a
removed several includes from Common.h
2015-11-25 12:21:55 +01:00
Jan Steemann
5518244942
less iostream-ing
2015-11-24 13:55:06 +01:00
Jan Steemann
89e0f887b9
velocypack update
2015-11-19 13:28:40 +01:00
jsteemann
f5e71197ce
document creation
2015-11-17 01:46:58 +01:00
Jan Steemann
b0ea7dd562
added V8ToVPack conversion
2015-11-13 17:27:35 +01:00
Jan Steemann
e7be8952bb
updated vpack library
2015-11-09 15:26:12 +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
Wilfried Goesgens
7a54982eb4
Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH
2015-11-06 13:53:21 +01:00
Jan Steemann
3c04642550
moved object cache from `db` object into object of its own
2015-11-05 14:20:02 +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
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
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
Frank Celler
4b99be0c30
added --enable-console to configure
2015-10-25 19:59:16 +01:00
Wilfried Goesgens
dae95de667
Merge branch 'devel' of github.com:arangodb/ArangoDB into JHMH
2015-10-21 14:54:01 +02:00
Jan Steemann
3f622d71fb
fixed some require issues
2015-10-05 10:28:44 +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
CoDEmanX
3a9648d78a
More Americanization
2015-09-03 22:25:43 +02:00
CoDEmanX
b4593a7e82
Change spelling of 'initialize' to American English (comments and log messages only)
2015-09-01 17:07:21 +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
a253a5d320
do not halt on single-line comments
2015-08-28 16:41:14 +02:00
Jan Steemann
5bf32095a1
print abortion
2015-08-26 12:02:43 +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
dd378089bc
close connection on I/O errors
2015-08-14 14:59:32 +02:00
Jan Steemann
bdee652547
fixed V8 crash "Escape value set twice"
2015-08-12 23:39:59 +02:00
Jan Steemann
e62974240b
allow termination of current shell command
2015-08-12 21:39:16 +02:00
Frank Celler
4a9d775061
cleanup
2015-08-12 17:54:15 +02:00
Frank Celler
9de6bd39db
moved to strings, fixed #1432 : arangosh doesn't ignore prefixed ....> on paste
2015-08-12 17:54:14 +02:00
Frank Celler
3029891405
added better readline support for control-C
2015-08-11 12:05:55 +02:00
Jan Steemann
330fac6225
some unused function cleanup
2015-08-06 21:25:32 +02:00
Jan Steemann
472a0c76b1
do not read over the end of Buffer objects
2015-08-04 19:02:14 +02:00
Jan Steemann
6d7ccd7699
move shaper to cxx
2015-07-28 17:38:31 +02:00
Jan Steemann
bef83a7fbb
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-07-28 11:45:11 +02:00
Jan Steemann
cdfdec9244
save some overhead when walking plans
2015-07-28 11:44:34 +02:00
Jan Steemann
3d3024a54e
cppcheck
2015-07-28 09:51:24 +02:00
Jan Steemann
124fe7a34c
use new/delete for TRI_vocbase_t
2015-07-20 12:08:13 +02:00
Jan Steemann
4bc188422a
cppcheck
2015-07-15 22:13:42 +02:00
Jan Steemann
086663cbd3
rethrow exception
2015-07-14 18:30:42 +02:00
Jan Steemann
72feca418b
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-07-14 18:23:42 +02:00
Jan Steemann
f5a7e2120f
pass filename to internal.parse() call
2015-07-14 18:23:08 +02:00
Willi Goesgens
a435a96ea6
log exceptions during execution of scripts.
2015-07-14 17:36:30 +02:00
Willi Goesgens
f9cbb40a67
Add log output if executing javascript fails
2015-07-14 16:57:54 +02:00
Alan Plum
c9e193e2b8
genRandomSalt should take an argument.
2015-07-14 16:43:07 +02:00
Jan Steemann
2983f4e987
small garbage collection improvements
2015-07-14 13:30:37 +02:00
Jan Steemann
c71dc4d9bb
Merge branch 'devel' of https://github.com/arangodb/arangodb into aql-query-cache
2015-07-13 10:49:14 +02:00
Willi Goesgens
bd7aa7c305
Remove the global include to iostream; this reduces the compile time by 10%
...
( http://herbsutter.com/2013/08/19/gotw-7a-solution-minimizing-compile-time-dependencies-part-1/ for inspiration)
2015-07-07 12:11:21 +02:00
Jan Steemann
61e09fe10c
mini optimization
2015-06-27 06:51:11 +02:00
Jan Steemann
f7d5a612d9
do not use EscapableHandleScope for TRI_json_t to V8 conversions
...
Using EscapableHandleScope is slower than using a HandleScope directly
and also burst earlier with out of memory
2015-06-19 15:06:33 +02:00
Willi Goesgens
9c7d49a666
Merge branch 'v8_4.2' of github.com:arangodb/arangodb into devel
2015-06-18 10:34:08 +02:00
Jan Steemann
3d4f323718
fix some issues with multiple databases and database-switching
2015-06-10 13:24:38 +02:00
Jan Steemann
a6b2998b5d
added try...catch blocks for V8-to-CPP bindings
2015-06-08 16:04:42 +02:00
Jan Steemann
2178ace348
fixed invalid usage of null
2015-06-03 09:25:35 +02:00
Jan Steemann
4c7994597a
cppcheck
2015-06-02 22:49:22 +02:00
Jan Steemann
39cf9c527c
micro optimizations
2015-06-01 14:56:01 +02:00
Willi Goesgens
1d6765b603
Add TryCatch to JS_Load, since V8 doesn't like to continue here without that.
2015-05-29 16:51:47 +02:00
Jan Steemann
ad59242822
fixed ambiguous attribute name "version" for collections
2015-05-28 11:54:57 +02:00
Jan Steemann
4dde6e49cd
goodbye barriers, welcome ditches
2015-05-28 10:23:30 +02:00
Jan Steemann
03461903fe
fixed over-eager V8 context entering and exiting in non-cluster mode
2015-05-27 14:02:13 +02:00
Jan Steemann
07e553cd8d
Merge branch 'devel' of https://github.com/arangodb/arangodb into index-cxx
...
Conflicts:
arangod/V8Server/v8-vocbase.cpp
2015-05-26 17:07:26 +02:00
Jan Steemann
a9f2769ffa
now compiles and links
2015-05-23 04:31:13 +02:00
Willi Goesgens
fe19440bca
Add documentation for some more filesystem calls; change sequence.
2015-05-22 16:34:27 +02:00
Willi Goesgens
871a95122c
Work on documentation - not all documentation from the code seems to appear in the generated documentation.
2015-05-22 15:37:23 +02:00
Willi Goesgens
c418f10729
Implement copying of files, since copyRecursive can't copy single files.
2015-05-21 15:49:10 +02:00
Jan Steemann
688b21fe51
fixed namespaces
2015-05-20 15:49:39 +02:00
Willi Goesgens
8e858bc96d
Upgrade V8 to 4.2.77
...
- v8 now requires llvm libstdc++ inline
- ForceDelete is gone now; employ new tactics of working with wrapping shaped json
- gold crashes while linking V8, remove it.
2015-05-20 15:10:28 +02:00
Willi Goesgens
470c0401c1
Add filename to the exception
2015-05-13 10:49:15 +02:00
Jan Steemann
771f2db94b
cleanup
2015-05-11 17:26:42 +02:00
Jan Steemann
dd51747a3d
fix issue in regex
2015-05-08 17:45:00 +02:00
Jan Steemann
5ad7dea0c8
use auto for HTTP response headers iteration
2015-05-08 17:44:33 +02:00
Jan Steemann
6b412a1c01
Merge branch 'json-privatisierung' of https://github.com/arangodb/arangodb into json-privatisierung
2015-05-07 13:05:12 +02:00
Jan Steemann
537b115eac
optimized json parsing for V8 clients
2015-05-07 12:36:50 +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
Jan Steemann
8dbcf0e23f
Visual Studio adjustments
2015-04-30 11:46:55 +02:00
Jan Steemann
baa5e39348
removed lib/Basics/utf8-helper.cpp and merged with lib/Basics/Utf8Helper.cpp
2015-04-21 17:53:35 +02:00
Jan Steemann
e1312f2088
attempt to satisfy scan-build a bit
2015-04-16 11:47:18 +02:00
Jan Steemann
61c42e0ee2
fix relative URL redirects in internal.download()
2015-04-15 14:00:35 +02:00
Jan Steemann
524bfd63ff
make relative URLs work
2015-04-15 12:33:10 +02:00
Willi Goesgens
6579eefc33
Add function that can copy files recursive.
2015-04-14 14:46:17 +02:00
Jan Steemann
0e93087d50
slightly faster V8 => JSON conversion in AQL
2015-04-03 16:00:38 +02:00
Jan Steemann
ef25118d02
removed unused method
2015-04-03 15:02:52 +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
Willi Goesgens
0690b4943f
- Replace the javascript implementation of makeDirectoryRecursive by our native implementation
...
- fix the native implementation so it doesn't try to create driveletters as directories.
2015-03-26 17:23:57 +01:00
Jan Steemann
4566aa085a
add __filename and __dirname to global context also when using internal.load()
2015-03-25 18:06:42 +01:00
Jan Steemann
7ec3a18e04
added internal.options()
2015-03-25 17:08:29 +01:00
Jan Steemann
d567c012c3
added SYS_OPTIONS() to get options
2015-03-25 16:55:24 +01:00
Willi Goesgens
07c850b025
Windows: String::Value is the way to get twobyte-strings.
2015-03-24 15:55:55 +01:00
Willi Goesgens
fad2e60895
Fix windows compile of getenv facilities
2015-03-23 17:06:09 +01:00
Willi Goesgens
6ec5920057
don't let the mac-fix break linux ;-)
2015-03-23 11:15:46 +01:00
Frank Celler
8950175eac
added external
2015-03-23 10:51:14 +01:00
Willi Goesgens
696b7431ff
Fix windows compilaton for V8 environment adoption routines.
2015-03-20 13:20:06 +01:00
Willi Goesgens
958d89c91e
Add files for environment.
2015-03-20 12:03:05 +01:00
Willi Goesgens
108fccdbf7
Add environment variable to V8 wrapping.
2015-03-20 11:55:32 +01:00
Jan Steemann
1298bd40a8
added tests for out-of-memory situations
2015-03-20 08:54:15 +01:00
Jan Steemann
8c6cafceb3
fix arangosh multi-line input for ES6 template strings
2015-03-19 21:03:48 +01:00
Jan Steemann
8ec3d7b619
fixed Windows compile errors
2015-03-18 18:10:49 +01:00
Willi Goesgens
a95a496920
Add (unix) implementation for chmod
2015-03-18 13:41:26 +01:00
Jan Steemann
a45dcf499e
remove broken log message
2015-03-05 10:40:40 +01:00
Willi Goesgens
a3e03a7dc7
Fix available time for garbage collection to be not bigger as the callers value of availableTime
2015-03-05 10:31:08 +01:00
Jan Steemann
9d2196ebfd
VS
2015-03-03 13:12:12 +01:00
Willi Goesgens
ae5af7f023
Run microtasks after garbage collection; they may also need to clean up stuff.
2015-03-03 11:03:56 +01:00
Willi Goesgens
2619529f63
Relax cluster timeout when compiled with -DCOVERAGE
2015-02-26 11:01:53 +01:00
Jan Steemann
f46187d698
Revert "removed unused attribute"
...
This reverts commit f04a4a89391b87d928aeae5efbfb591058997786.
2015-02-24 11:27:55 +01:00
Willi Goesgens
47a6e56501
Fix use after free.
2015-02-24 10:36:07 +01:00
Willi Goesgens
bdcabd1a62
More verbose error message when declining to remove a directory outside of the temp directory.
2015-02-23 18:11:01 +01:00
Jan Steemann
55d03dd8fd
removed unused attribute
2015-02-23 16:27:19 +01:00
Jan Steemann
3d8235d820
Merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-02-23 15:36:02 +01:00
Jan Steemann
43545bf6fe
attempt to fix compile warning
2015-02-23 15:35:47 +01:00
Willi Goesgens
dcac88c35a
Fix error message on tempfile creation
2015-02-23 15:28:46 +01:00
Willi Goesgens
a58974d773
Improve error handling
...
- directory creation
- zip extraction
2015-02-23 12:26:49 +01:00
Willi Goesgens
cd9ad14160
Fix error handling in directory creation: only catch errors of directory existing; throw meaningfull error message.
2015-02-20 12:55:46 +01:00
Willi Goesgens
8ce7be78e2
improve error message while moving files - now contains source, destination and system error.
2015-02-19 19:25:05 +01:00
Jan Steemann
05fadde9e2
small changes
2015-02-19 13:58:50 +01:00
Jan Steemann
9be27a4788
fixed crash
2015-02-19 10:24:58 +01:00
Jan Steemann
59936f1f98
small optimizations
2015-02-19 09:31:00 +01:00
Jan Steemann
cb1aed4eea
fixed invalid types
2015-02-17 17:16:31 +01:00
Michael Hackstein
0c78629199
Merge branch 'foxx-pathes' of github.com:arangodb/arangodb into devel
2015-02-16 14:17:52 +01:00
Jan Steemann
1e0dae153c
cleanup
2015-02-15 23:57:41 +01:00
Jan Steemann
e250a31b0c
shaper changes
2015-02-15 21:53:27 +01:00
Willi Goesgens
e65db6114c
No need to step down to c-strings here.
2015-02-13 11:48:33 +01:00
Michael Hackstein
5b3fae42aa
Merge branch 'devel' of github.com:arangodb/arangodb into foxx-pathes
...
Conflicts:
js/apps/system/_admin/aardvark/APP/frontend/js/bootstrap/errors.js
js/common/bootstrap/errors.js
lib/Basics/voc-errors.cpp
lib/Basics/voc-errors.h
2015-02-13 10:20:36 +01:00
Jan Steemann
65d32cbb25
fixed cppcheck complaint
2015-02-13 00:23:39 +01:00
Michael Hackstein
aad7e46f10
Merge branch 'devel' of github.com:arangodb/arangodb into foxx-pathes
...
Conflicts:
Documentation/Books/Users/SUMMARY.md
js/actions/api-system.js
js/common/bootstrap/modules.js
js/server/modules/org/arangodb/foxx/manager.js
js/server/tests/shell-routing.js
2015-02-06 17:22:01 +01:00
Jan Steemann
f7c10cb2a6
added stack traces for ArangoError
2015-02-03 17:45:08 +01:00
Jan Steemann
d06c3c1ff3
changed "file names" of anonymous commands
2015-02-03 12:46:34 +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
7af624e2f0
selectivty, try 0
2015-01-27 09:34:04 +01:00
Frank Celler
1b722fe368
generated files
2015-01-26 11:59:05 +01:00
Jan Steemann
8580d49aec
added TRI_SimplifiedObjectToJson
2015-01-25 10:33:24 +01:00
Jan Steemann
0d8bf44215
gc adjustment
2015-01-23 20:51:42 +01:00
Jan Steemann
5d12a3da3b
garbage collection
2015-01-23 16:45:00 +01:00
Willi Goesgens
26281d94c9
When throwing the exception of being unable to open a file add the filename.
2015-01-22 15:09:59 +01:00
Jan Steemann
37ae686d4b
re-introduced odd (but compatible) behavior in ObjectToJson
2015-01-17 23:24:23 +01:00
Jan Steemann
9b66ab3a61
added AQL functions MD5, SHA1, and RANDOM_TOKEN
2015-01-17 22:40:47 +01:00
Jan Steemann
402d56c1af
when parsing or converting JSON, create elements in-place if possible to avoid memory allocations
2015-01-17 21:48:18 +01:00
Jan Steemann
af3fef03a0
fixed possible segmentation fault when passing a Buffer object into a V8 function as a parameter
2015-01-13 22:49:07 +01:00
Jan Steemann
b54dfae96f
removed several JSON functions
2015-01-13 01:31:04 +01:00
Jan Steemann
906d22a691
make fs.move() behave identical on Linux and Windows
...
Conflicts:
CHANGELOG
2015-01-12 20:13:11 +01:00
Jan Steemann
8a86c798a1
use IndexedPropertyAccessor for Buffer
2015-01-09 16:51:22 +01:00
Jan Steemann
3ce99bae8c
removed duplicate Reset() call
2015-01-09 10:41:26 +01:00
Jan Steemann
f3b142849f
fixed leaks during reverts
2015-01-03 01:28:23 +01:00
Jan Steemann
20e7fe7a7a
the great rename: array => object, list => array
2014-12-18 21:07:06 +01:00
Jan Steemann
0c38d60732
less replacements in flex output
2014-12-17 17:26:37 +01:00
Jan Steemann
cc3b97491d
added derived files
2014-12-17 10:30:32 +01:00
Jan Steemann
e8f51f1b5f
issue #1185 : parse non-fractional numbers with exponent
2014-12-17 10:28:48 +01:00