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
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
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
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
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
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
Jan Steemann
907e6368c6
some unused function cleanup
2015-08-17 12:43:09 +02:00
Jan Steemann
0400737ae4
some flock diagnostics
2015-08-04 09:57:28 +02:00
Jan Steemann
23f8f2f86b
nullptr
2015-07-30 22:43:02 +02:00
Jan Steemann
a9f2769ffa
now compiles and links
2015-05-23 04:31:13 +02:00
Jan Steemann
e1312f2088
attempt to satisfy scan-build a bit
2015-04-16 11:47:18 +02:00
Willi Goesgens
11100ffc85
Get the windows directory creation without driveletters right (finally)
2015-04-15 14:47:31 +02:00
Willi Goesgens
84e88d01b7
Port CopyRecursive to mac
2015-04-15 13:39:09 +02:00
Willi Goesgens
fb768d7532
Fix windows implementation of xcopy
2015-04-15 13:01:07 +02:00
Willi Goesgens
40c5e18481
- We _must_ evaluate the return values of these system calls.
...
- fix windows driveletter detection.
2015-04-14 17:16:44 +02:00
Willi Goesgens
6579eefc33
Add function that can copy files recursive.
2015-04-14 14:46:17 +02:00
Jan Steemann
8c20002737
merge branch 'devel' of https://github.com/arangodb/arangodb into devel
2015-03-19 16:03:26 +01:00
Jan Steemann
7dc3fc3d5c
safely create collections and databases
2015-03-19 15:56:12 +01:00
Willi Goesgens
ccf795a303
System error messages for lock-files in windows.
2015-03-19 14:15:00 +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
Frank Celler
0687e4e080
removed registry entry, using relative path to binary instead
2015-03-08 20:06:18 +01:00
Willi Goesgens
edd26f59ba
Don't return file exists as an error.
2015-02-24 11:48:49 +01:00
Jan Steemann
e4b0c841f5
fixed memleak
2015-02-24 08:42:51 +01:00
Willi Goesgens
270f7cc919
Fix temp-file generation broken when adding error handling.
2015-02-23 16:52:03 +01:00
Willi Goesgens
dcac88c35a
Fix error message on tempfile creation
2015-02-23 15:28:46 +01:00
Willi Goesgens
f435789105
Fix double free introduced in last commit.
2015-02-23 12:48:52 +01:00
Willi Goesgens
a58974d773
Improve error handling
...
- directory creation
- zip extraction
2015-02-23 12:26:49 +01:00
Willi Goesgens
54892f51ef
First map the error, then return it to the caller.
2015-02-20 16:12:38 +01:00
Willi Goesgens
e4b52b7c47
Map windows directory errors to TRI
2015-02-20 16:03:03 +01:00
Willi Goesgens
9536857060
Fix windows build.
2015-02-20 13:04:01 +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
Willi Goesgens
c25199219d
Fix missing branch of TRI_LocateConfigDirectory for windows
2015-01-23 14:59:42 +01:00
Willi Goesgens
611d7648c7
Return configured path (if)
2015-01-20 19:43:15 +01:00
Willi Goesgens
f8ecab9216
fix typo
2015-01-20 17:29:08 +01:00
Willi Goesgens
b66796e69f
Add sysconfdir on the winxx implementation too, so we can have etc/relative installations.
2015-01-20 16:48:11 +01:00
Jan Steemann
906d22a691
make fs.move() behave identical on Linux and Windows
...
Conflicts:
CHANGELOG
2015-01-12 20:13:11 +01:00
Frank Celler
b2c927ec70
fixed company name
2014-12-26 12:39:15 +01:00
Frank Celler
4690276775
moved GetModuleFileName to TRI_LocateBinaryPath
2014-12-26 12:03:45 +01:00
Jan Steemann
2808e4eee8
cppcheck
2014-10-28 00:35:18 +01:00
Max Neunhoeffer
183cd3eb40
Sort out temporary directory creation with individual names.
2014-10-16 20:08:21 +02:00
Jan Steemann
e37f45253f
fixed return code of mtime
2014-10-15 18:24:01 +02:00
Jan Steemann
edae662eb4
added res.send() and res.sendFile()
2014-10-15 17:33:10 +02:00
Jan Steemann
6511fec7c6
added tests for fs.read and fs.write
2014-10-15 12:44:04 +02:00
Jan Steemann
c0a9d189c5
better error messages if mkdir fails
2014-09-18 17:48:05 +02:00
Jan Steemann
5a1dc63946
fixed tons of compile errors in VS
2014-09-15 12:04:49 +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