1
0
Fork 0
Commit Graph

952 Commits

Author SHA1 Message Date
jsteemann 2af9c58b1c fixed uninitialized _revkey value 2016-03-18 16:50:29 +01:00
jsteemann 60b145ceae removed unused persistents 2016-03-18 15:49:06 +01:00
jsteemann e0ce1cef5a make buffers somewhat usable 2016-03-17 22:47:22 +01:00
jsteemann 996299cea3 Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-03-17 17:17:50 +01:00
jsteemann 4de93d49b9 added shebang support 2016-03-17 16:18:04 +01:00
jsteemann 2ceecda5f7 Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-03-15 23:44:42 +01:00
Frank Celler d64bf2dc95 added srv:// endpoint 2016-03-15 23:25:07 +01:00
jsteemann fab3477a17 removed unused line 2016-03-15 18:38:00 +01:00
jsteemann 4f8265bfc8 temporary builder leaser 2016-03-15 14:08:03 +01:00
jsteemann 33df831f41 small optimizations for v8<->vpack 2016-03-14 22:22:35 +01:00
jsteemann a84c46d62b some optimizations for V8<->vpack conversion 2016-03-14 21:50:16 +01:00
jsteemann 3c6cdb5ddb Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-03-14 09:14:54 +01:00
Frank Celler 601f8c5f00 fixed cleanup 2016-03-12 17:28:03 +01:00
Jan Steemann 7995cbb1ec ignore values of type undefined 2016-03-11 19:43:36 +01:00
Jan Steemann c814332503 fixed materialization of _id values 2016-03-11 14:15:59 +01:00
Max Neunhoeffer e77159b008 New returnNew option for insert. 2016-03-11 12:44:36 +01:00
Jan Steemann ff24255cdb added isSingleOperationTransaction 2016-03-11 08:54:11 +01:00
Jan Steemann b393c3d9bb Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-03-09 09:42:10 +01:00
Frank Celler dfa9047484 switch arangosh to new ApplicationFeatures and ProgramOptions 2016-03-08 23:32:43 +01:00
Jan Steemann 9f84b767d1 Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-03-07 08:11:01 +01:00
Frank Celler 60cd363f19 moved build date to file build-date.h.in 2016-03-05 09:49:31 +01:00
Max Neunhoeffer 4cb42662f3 Merge branch 'spdvpk' of ssh://github.com/ArangoDB/ArangoDB into spdvpk 2016-03-04 15:19:26 +01:00
jsteemann 053648b36c simplifications 2016-03-04 02:25:18 +01:00
Max Neunhoeffer 0770a4b665 Fix TRI_V8ToVPack to always deliver if no error is returned. 2016-03-02 10:33:09 +01:00
Jan Steemann 3e82064770 Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-02-25 14:59:08 +01:00
Frank Celler 37a0a7fc05 Merge branch 'devel' of github.com:arangodb/arangodb into solaris 2016-02-25 10:56:14 +01:00
jsteemann 74fa6cf207 Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-02-25 00:02:03 +01:00
jsteemann b3a20e915f simplified some logging 2016-02-24 22:48:56 +01:00
Frank Celler 4b2b85f1b5 more cleanup 2016-02-24 19:19:04 +01:00
Frank Celler 24649f44bd move to strings and away from regexp 2016-02-23 15:25:07 +01:00
Jan Steemann 70d44f06fa Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-02-23 13:22:46 +01:00
Frank Celler d142a5ddb4 move to strings and away from regexp 2016-02-23 12:26:09 +01:00
Jan Steemann 8b8101fc59 Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-02-19 11:44:06 +01:00
Jan Steemann adde757e46 move v8 try-catch into handle scopes 2016-02-19 11:42:44 +01:00
Michael Hackstein 7ed6754389 Fixed usage of document, to also include customTypeHandler for export to V8 2016-02-18 13:21:06 +01:00
Jan Steemann 64f85c526b Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk 2016-02-16 09:53:36 +01:00
Alan Plum 6593f3d358 Clean up stacktraces
Fixes #1564, #1565, #1744.
2016-02-15 22:56:29 +01:00
Jan Steemann 9898103bc1 initial vpack documents 2016-02-11 21:56:10 +01:00
jsteemann d2001b6c0a fixed leak 2016-02-07 00:06:38 +01:00
Jan Steemann 657ac8d50f fixes for Windows 2016-02-04 09:36:29 +01:00
Frank Celler bb3acf8cd5 fixed /_admin/log 2016-02-04 00:41:50 +01:00
Jan Steemann b7abf5a40d attempt to fix Windows build 2016-02-01 12:04:28 +01:00
jsteemann ae25d2b53b removed `using namespace std` 2016-01-31 18:22:00 +01:00
jsteemann 2d7323a560 fixed warnings shown by clang-3.7 2016-01-31 02:17:36 +01:00
jsteemann 353c9732b7 removed last LOG_xxx macros 2016-01-30 04:03:18 +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
Jan Steemann 9046e1831b clang-format 2016-01-27 13:43:46 +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
Frank Celler 8a7f409380 added fs.append 2016-01-24 11:34:13 +01:00
jsteemann 9ba3b68109 cppcheck 2016-01-23 16:22:39 +01:00
Frank Celler d3330bdf9b fixed temp path to honor TMPDIR 2016-01-22 13:16:25 +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
jsteemann 431900f17a changed namespace from triagens to arangodb 2016-01-17 00:44:53 +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
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
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
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
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
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 f422576ee0 clang-format 2016-01-05 17:43:24 +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
Frank Celler 1065a1bd2c added work monitor 2016-01-04 15:33:06 +01:00
Max Neunhoeffer c7f00bfeda Continue work on TODOs. 2015-12-23 14:40:04 +01:00
Jan Steemann ca95afef2c fixed undefined behavior 2015-12-17 16:09:54 +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 1e98af01ba set cloexec for file descriptors 2015-12-15 20:30:28 +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
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
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 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
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
Jan Steemann 50e08ab099 removed unused file 2014-12-16 17:30:48 +01:00
Max Neunhoeffer bf915da2e3 Use an unordered_map for JSBarriers. 2014-12-16 09:57:44 +01:00
Willi Goesgens 1c4a72b106 The Big V8 upgrade Merge. 2014-12-15 17:30:56 +01:00
Alan Plum 41ab3aa4d6 Renamed mergeArrays->mergeObjects to make API less confusing. 2014-12-02 17:03:03 +01:00
Jan Steemann ac36c0cd7a added mergeArrays attribute 2014-11-28 13:58:49 +01:00
Frank Celler 10e07f1982 added generated files 2014-11-12 14:58:51 +01:00
Frank Celler 88d1f78464 Merge remote-tracking branch 'origin/2.3' into devel
Conflicts:
	CHANGELOG
2014-11-12 04:57:41 +01:00
Jan Steemann 26c3b0174f fixed tests 2014-10-31 19:58:20 +01:00
Jan Steemann d4d3e37a0d added internal.parseFile 2014-10-30 19:18:05 +01:00
Jan Steemann 83252851e6 report warnings in queries 2014-10-30 17:33:15 +01:00
Jan Steemann 13d240384f less namespace pollution 2014-10-28 00:24:37 +01:00
Willi Goesgens 28f3b27922 These are not pointers. 2014-10-27 15:52:00 +01:00
Willi Goesgens 2378e2cef3 - don't output pseudo filenames in errors
- use nullptr
2014-10-27 15:46:53 +01:00
Jan Steemann 0a0f5f86ab issue #1056: "fs": zip functions fail with passwords 2014-10-25 00:36:46 +02:00
Alan Plum 55f3c9829c Fixed PBKDF2 usage. 2014-10-22 17:29:17 +02:00
Jan Steemann 12ac3b8bdd added comment 2014-10-21 10:45:27 +02:00
Jan Steemann 3d70c55d85 fixed isatty handling 2014-10-21 10:43:30 +02:00
Jan Steemann fbdcffbd16 no colors if output is not a tty 2014-10-18 01:39:56 +02:00
Jan Steemann d4da8cb908 fixed arangosh 2014-10-17 13:25:49 +02:00
Jan Steemann 0aa02a696b pass ApplicationV8 to queries 2014-10-17 10:35:02 +02:00
Jan Steemann dcb9427b6f rewrote transaction contexts 2014-10-16 15:53:28 +02:00
Jan Steemann edae662eb4 added res.send() and res.sendFile() 2014-10-15 17:33:10 +02:00
Jan Steemann c946a1536a documentation for fs 2014-10-15 14:01:15 +02:00
Jan Steemann 6bd448be46 added support for reading / writing binary data in fs.readFileSync && fs.write 2014-10-14 19:07:16 +02:00
Jan Steemann 1ba2030e0b debug info 2014-10-13 11:10:12 +02:00
Jan Steemann d9cc80bab7 fixes for Visual Studio 2014-10-10 14:37:03 +02:00
Willi Goesgens 73d121ece7 Add the possible error messages from waitpid to the result output. 2014-10-10 11:44:48 +02:00
Willi Goesgens e433a2831e Add a new wrapper which does fork + waitpid in one js call, so we're closer to the flame and less eventually miss something. 2014-10-08 16:48:30 +02:00
Jan Steemann ff80fafba5 fixed cached lookups of collections on the server, which may have caused spurious problems after collection rename operations 2014-10-08 14:59:02 +02:00
Jan Steemann 0f83d8132f fixed some transaction threading errors 2014-10-06 18:39:01 +02:00
Jan Steemann ce9499eac8 less string copying, less regex slowdown when importing CSV files 2014-09-30 23:20:12 +02:00
Jan Steemann 0d075dca3f pass queryRegistry into the AQL functions 2014-09-29 09:30:32 +02:00
Jan Steemann dbf964e204 small optimizations 2014-09-24 12:09:13 +02:00
Jan Steemann ddfb5c965d merged experimental features 2014-09-24 09:42:16 +02:00
Jan Steemann 481a16fd7a removed bitarray indexes 2014-09-15 14:19:38 +02:00
Jan Steemann 506936dcdb rename orgy 2014-09-13 02:35:13 +02:00
Jan Steemann 669cb3b235 renamed files 2014-09-13 01:44:01 +02:00
Jan Steemann 953b8cdfe3 renamed files 2014-09-13 00:34:48 +02:00
Jan Steemann 0dc0bc834f more files renamed 2014-09-13 00:20:30 +02:00
Jan Steemann 87afcf5e8d the great rename 2014-09-13 00:10:11 +02:00
Jan Steemann c16ddedc83 Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	arangod/V8Server/v8-vocbase.cpp
	js/apps/system/aardvark/frontend/js/bootstrap/errors.js
	js/common/bootstrap/errors.js
	js/server/modules/org/arangodb/ahuacatl.js
	js/server/modules/org/arangodb/aql-helper.js
	js/server/tests/shell-skiplist-index.js
2014-09-09 22:18:52 +02:00
Alan Plum b0995dfdb7 Replaced PBKDF2_HMAC with PBKDF2_HMAC_SHA1 for OSX compat. 2014-09-08 14:32:40 +02:00
Alan Plum 6f9376e264 Fixed PBKDF2HMAC comment. 2014-09-05 16:35:27 +02:00
Alan Plum 469af580e5 Added PBKDF2-HMAC. 2014-09-05 16:23:37 +02:00
Alan Plum 4e3659c01a Added support for sha384, sha512. 2014-09-04 23:17:58 +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 45d5d0f53a cppcheck 2014-08-22 13:53:21 +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
Frank Celler f6e242039d relaxed % and escaping 2014-08-12 14:53:59 +02:00
Frank Celler cc91cd1cb0 Merge branch 'devel' of github.com:triAGENS/ArangoDB into devel 2014-08-11 12:43:47 +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
Frank Celler be06ef7f25 new upgrade-database (formely known as version-check) and new startup procedure 2014-08-07 14:12:19 +02:00
Jan Steemann ac7b47c0b7 nullptr 2014-08-06 09:42:36 +02:00
Jan Steemann fe4d83e80b Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into aql2
Conflicts:
	Documentation/Books/Users/Aql/README.mdpp
	Documentation/Books/Users/AqlExtending/README.mdpp
2014-08-05 15:09:28 +02:00
Thomas Schmidts baf6635627 Added missing methods to fs module. fix #978 2014-08-05 13:37:40 +02:00
Jan Steemann 196441b9b4 improved v8 object generation 2014-08-05 13:23:37 +02:00
Jan Steemann f4e8775ddc nicer parser error messages 2014-07-30 12:30:06 +02:00