1
0
Fork 0
Commit Graph

45 Commits

Author SHA1 Message Date
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