Commit graph

44 commits

Author SHA1 Message Date
Andrea Mazzoleni
e75b7c9bf3 Removes double space. 2013-07-24 21:56:37 +02:00
Andrea Mazzoleni
21362e9b01 Handles error ERROR_HANDLE_EOF (38) when getting the physical address of small files. 2013-07-24 21:41:16 +02:00
Andrea Mazzoleni
7fa93e6c98 Removes unnecessary warning removal. 2013-07-10 19:37:36 +02:00
Andrea Mazzoleni
e8b2d359d6 Doesn't use the physical address in Wine. 2013-07-10 18:31:48 +02:00
Andrea Mazzoleni
6032576650 Sorts the files by physical address before inserting them for the first time. 2013-06-25 22:41:10 +02:00
Andrea Mazzoleni
6e091490bb Adds comment about FILE_FLAG_BACKUP_SEMANTICS use. 2013-04-28 22:25:32 +02:00
Andrea Mazzoleni
db330b9d0b Doesn't exclude anymore system files in Windows. 2013-04-28 17:33:48 +02:00
Andrea Mazzoleni
e2c269fcdf Uses Windows API for reading/writing to improve error detection and reporting. 2013-04-06 14:52:23 +02:00
Andrea Mazzoleni
a85aa08276 Prints also the Windows GetLastError() in strerror(). 2013-04-04 19:30:24 +02:00
Andrea Mazzoleni
768113c670 Adds UUID to check to detect disk misplacement. 2013-03-03 22:39:46 +01:00
Andrea Mazzoleni
19ced1e6b3 Preloads all the functions required in Windows. 2013-02-28 22:03:56 +01:00
Andrea Mazzoleni
3cd7b4ee03 Removes support to symlink to dirs in Windows. They are different than symlinks to files. 2013-02-28 21:56:02 +01:00
Andrea Mazzoleni
14039c1a63 Fixes compilation in Windows. 2013-02-27 20:50:40 +01:00
Andrea Mazzoleni
28efb85011 Moves the unix support to the unix.c/h files and removes the os.c/h ones. 2013-02-27 20:20:49 +01:00
Andrea Mazzoleni
788001cc45 Removes all the access() uses. 2013-02-24 09:46:42 +01:00
Andrea Mazzoleni
2378de67dd Detects also forward slash when checking for the extended-length path format in Windows.
If the user specify it in the configuration file, it could happen to have it
converted by path_import().
2013-02-22 22:47:17 +01:00
Andrea Mazzoleni
f2629ee720 Uses direct Windows calls for mkdir/rmdir/access/remove. 2013-02-22 19:08:39 +01:00
Andrea Mazzoleni
2f42aadf38 Adds support for symlinks in Windows. 2013-02-21 19:12:59 +01:00
Andrea Mazzoleni
21b0645170 In Windows uses the long path format also for rename to ensure that operation in very deep dirs don't fail. 2013-01-27 18:52:26 +01:00
Andrea Mazzoleni
cc21721b2a Supports hardlinks in both Unix and Windows. 2013-01-27 18:06:15 +01:00
Andrea Mazzoleni
8204dfad6a Doesn't apply file filter rules to directory.
In Windows uses the information reported by FindFirstFile instead of calling lstat().
2013-01-18 00:15:55 +01:00
Andrea Mazzoleni
8426a77e19 Fixes compilation for Windows. 2012-12-04 18:32:10 +01:00
Andrea Mazzoleni
f935e3cda1 Takes care of dedup directories. 2012-11-17 13:52:34 +01:00
Andrea Mazzoleni
289c96974c Fixed dedup files handling. 2012-11-13 19:10:01 +01:00
Andrea Mazzoleni
05af556ae5 Removes a warwning in Windows 64 bit. 2012-11-02 14:08:16 +01:00
Andrea Mazzoleni
3c598b28cc Compiles with optional nanoseconds supports. 2012-09-19 21:52:15 +02:00
Andrea Mazzoleni
795df4a260 Adds a two second wait to workaround the FAT limitation of two second resololution of mtime. 2012-07-14 16:26:21 +02:00
Andrea Mazzoleni
71c7f4dffb More precise file modification time, now using nanoseconds. 2012-07-10 23:24:31 +02:00
Andrea Mazzoleni
0f80a7fb98 Fixes the long path name problem in Windows. 2012-04-12 21:35:13 +02:00
Andrea Mazzoleni
c692e83ae5 Prints the type of excluded files. 2012-04-11 22:03:14 +02:00
Andrea Mazzoleni
13d4dd7f03 Adds more error conversion from Windows to errno.
Also prints the error if the conversion is no supported.
2012-03-30 13:16:20 +02:00
Andrea Mazzoleni
0099c8957c Adds a new --filter-nohidden option to filter out hidden files. 2011-12-08 22:40:30 +01:00
Andrea Mazzoleni
e80d0ccdcf Use the st_dev field to ensure to use different disks. 2011-09-20 22:35:15 +02:00
Andrea Mazzoleni
83f89f4f0e Some minor changes. 2011-09-19 20:45:35 +02:00
Andrea Mazzoleni
66e9c359fd Restores the modification time of files in fixing. 2011-08-31 23:33:43 +02:00
Andrea Mazzoleni
4e7957ff73 Fixed remove in Windows. 2011-08-25 19:27:48 +02:00
Andrea Mazzoleni
3358efc24a Support for remove in Windows. 2011-08-25 18:59:01 +02:00
Andrea Mazzoleni
322110672e Hidden files in Windows are now backuped like any other file. 2011-08-25 09:03:31 +02:00
Andrea Mazzoleni
0365488ce9 Using lstat also in Windows. 2011-06-11 10:19:34 +02:00
Andrea Mazzoleni
edb9dd4ed8 Excludes from sync all the system and hidden files in Windows. 2011-06-06 21:49:53 +02:00
Andrea Mazzoleni
58f191ef1f Fixes the restore of unicode directories in Windows. 2011-05-24 20:10:10 +02:00
Andrea Mazzoleni
d2a38b85db Completes the fix for the file name in Windows. 2011-05-11 21:12:16 +02:00
Andrea Mazzoleni
4d99094462 Fixes the use of file names out of the codepage in Windows. 2011-05-10 21:28:53 +02:00
Andrea Mazzoleni
d74928b218 Moves specific MingW code to mingw.c/h. 2011-05-10 19:29:15 +02:00