939 Commits

Author SHA1 Message Date
Marcus Holland-Moritz
c706ba2cb2 dwarfs_tools test cleanup 2023-06-28 14:45:08 +02:00
Marcus Holland-Moritz
0a1f635a12 Drop dependency on tar & diff tools 2023-06-28 14:23:00 +02:00
Marcus Holland-Moritz
05f4ea0bb9 Remove dependency on unreliable tar archive 2023-06-28 12:50:46 +02:00
Marcus Holland-Moritz
480092a8da Update test data archive with some Unicode 2023-06-28 10:36:49 +02:00
Marcus Holland-Moritz
e4dbb4f1dd Parse unicode filter rules 2023-06-28 03:02:57 +02:00
Marcus Holland-Moritz
6674c9bf67 Output unix style path for filter rule debugging 2023-06-28 03:02:34 +02:00
Marcus Holland-Moritz
8189f392d0 Just set a utf8 locale 2023-06-28 03:01:55 +02:00
Marcus Holland-Moritz
cfa54bc81a Add sys_string_to_string() conversion function 2023-06-28 03:01:18 +02:00
Marcus Holland-Moritz
4686baca2d Fix path truncation on Windows 2023-06-28 00:50:18 +02:00
Marcus Holland-Moritz
498e52380a First shot at updating the README with Windows stuff 2023-06-28 00:43:16 +02:00
Marcus Holland-Moritz
fdc0951fe5 Use %USERPROFILE% in cmake/win.bat 2023-06-27 23:59:04 +02:00
Marcus Holland-Moritz
8f4ed162ff More dwarfs_tools tests (that also work on Windows) 2023-06-27 21:33:40 +02:00
Marcus Holland-Moritz
7e7e46f09a Some tweaks to dwarfs_tools test and more tests 2023-06-27 20:52:06 +02:00
Marcus Holland-Moritz
9b1c66c53c Add test filesystem 2023-06-27 20:02:25 +02:00
Marcus Holland-Moritz
0c85637a06 Make dwarfs_tools test work on Windows 2023-06-27 18:47:26 +02:00
Marcus Holland-Moritz
0c3ee8550c Force binary mode on stdout when writing header in dwarfsck 2023-06-27 18:39:16 +02:00
Marcus Holland-Moritz
2dfc39eb6f Move make_file_stat to file_stat module 2023-06-27 18:36:16 +02:00
Marcus Holland-Moritz
5df3dd64be Revert "WIP: add FTXUI"
This reverts commit 4ca3d6966096cf3709037a665c38ddda9595eb03.
2023-06-27 14:22:17 +02:00
Marcus Holland-Moritz
77f2d39437 Finally get rid of std::endl 2023-06-27 14:22:05 +02:00
Marcus Holland-Moritz
34a03061fe Remove set_cursor_state, let's not overcomplicate things for now 2023-06-27 14:13:29 +02:00
Marcus Holland-Moritz
449d7490ac Suppress extra usage info with WinFsp 2023-06-27 12:07:55 +02:00
Marcus Holland-Moritz
974c3070d4 More Windows terminal / locale / UTF8 tweaks 2023-06-27 11:52:32 +02:00
Marcus Holland-Moritz
3dba17ea76 Set worker threads to background mode on Windows if niceness > 0 2023-06-27 11:15:34 +02:00
Marcus Holland-Moritz
3b39b319b4 Raise priority of progress thread 2023-06-27 11:14:25 +02:00
Marcus Holland-Moritz
6770c13c08 Fancy console output for Windows 2023-06-27 11:14:09 +02:00
Marcus Holland-Moritz
3364972027 Add /utf-8 compile flag for MSVC 2023-06-27 11:12:36 +02:00
Marcus Holland-Moritz
65862e790f Add unix_dpath() for filter rules 2023-06-27 00:19:57 +02:00
Marcus Holland-Moritz
9163c6e24e Initial Unicode support for command line arguments on Windows 2023-06-26 23:59:11 +02:00
Marcus Holland-Moritz
1dcab5996e Use wmain() on Windows 2023-06-26 23:03:05 +02:00
Marcus Holland-Moritz
83ab473add Update CPack config for Windows builds 2023-06-26 21:53:18 +02:00
Marcus Holland-Moritz
42ab8e0989 Fix tests relying on unix-style paths 2023-06-26 21:32:51 +02:00
Marcus Holland-Moritz
a0f51660f5 Add unix_path() to entry_view 2023-06-26 21:32:33 +02:00
Marcus Holland-Moritz
2232796f20 make_preferred is not needed in filesystem_extractor 2023-06-26 21:08:56 +02:00
Marcus Holland-Moritz
1b1a2b41b4 Use readlink_mode::unix for (WinFsp) FUSE layer 2023-06-26 21:08:28 +02:00
Marcus Holland-Moritz
759178bbfd Add readlink_mode::unix 2023-06-26 21:07:59 +02:00
Marcus Holland-Moritz
df195a88b5 VirtualFree() doesn't seem to work as needed at the moment 2023-06-26 20:06:32 +02:00
Marcus Holland-Moritz
be4f1a3e80 Show preferred path separator in dwarfsck 2023-06-26 19:48:15 +02:00
Marcus Holland-Moritz
02a34bfa49 Try to ensure symlinks can work cross-platform 2023-06-26 19:14:55 +02:00
Marcus Holland-Moritz
bcb7f004d1 Add preferred path separator to metadata 2023-06-26 18:54:19 +02:00
Marcus Holland-Moritz
a4eebc68da Fix Unicode path names on Windows in filesystem_extractor 2023-06-26 18:44:42 +02:00
Marcus Holland-Moritz
3bb0d7609e Reimplement path function in entry_view 2023-06-26 18:44:42 +02:00
Marcus Holland-Moritz
af1877b7f6 Call setlocale(LC_ALL) to make sure libarchive works correctly 2023-06-26 18:44:42 +02:00
Marcus Holland-Moritz
f671976526 Fix read_symlink function 2023-06-26 18:44:42 +02:00
Marcus Holland-Moritz
b1567d5196 Properly read inode and nlink on Windows 2023-06-26 18:44:42 +02:00
Marcus Holland-Moritz
d79937e539 Disable run-time checks with MSVC 2023-06-26 18:38:54 +02:00
Marcus Holland-Moritz
e8351ec7ac More path handling cleanup 2023-06-26 12:19:25 +02:00
Marcus Holland-Moritz
7c98ecefd7 Don't call data() on read-only mapped_file 2023-06-26 11:57:17 +02:00
Marcus Holland-Moritz
267108e015 Update benchmark 2023-06-26 11:38:26 +02:00
Marcus Holland-Moritz
367c80559a More flexible batch file for Windows builds 2023-06-26 11:07:41 +02:00
Marcus Holland-Moritz
5a17c877a3 More moving from std::string to fs::path 2023-06-26 10:53:56 +02:00