Tobias Hammer
7b9e8a5894
Suppress unused parameter warning on android
2020-01-23 09:27:12 +01:00
Steffen Schuemann
10937ca294
refs #44 , using Xcode 11.3 in CI
2019-12-21 14:29:59 +01:00
Steffen Schuemann
c96bc30a3f
refs #44 , warnings on Xcode 11.3
2019-12-21 12:38:57 +01:00
Steffen Schuemann
f5bfb98aea
minor refactorings and work on ci integration
2019-12-08 13:49:15 +01:00
gulrak
e7169c4943
stop linking std::filesystem tests against libc++fs on clang 9
2019-12-07 15:01:20 +01:00
Steffen Schuemann
8facfa0044
Updated readme and version bump to v1.2.10
v1.2.10
2019-11-24 16:33:29 +01:00
Steffen Schuemann
a47e15d434
work on CI configuration
2019-11-24 15:34:41 +01:00
Steffen Schuemann
9a873d3705
work on CI configuration
2019-11-24 14:10:47 +01:00
Steffen Schuemann
c5f16d6ce7
work on CI configuration
2019-11-24 12:09:57 +01:00
Steffen Schuemann
f29dd973c2
work on CI configuration.
2019-11-24 11:54:54 +01:00
Steffen Schuemann
07b7d46e8b
refs #38 , added check for older GCCs
2019-11-24 00:30:12 +01:00
Steffen Schuemann
2c3242a38e
refs #38 , switched to pragma based fix, as it seams the most widely accepted way.
2019-11-23 23:53:36 +01:00
Steffen Schümann
c37d756a7f
refs #41 , fs::rename now overwrites existing files on windows, extended tests
2019-11-22 18:48:10 +01:00
Steffen Schümann
5a933d5c52
refs #39 , remove DWORD dependency in forwarding mode and change test to trigger an error if there is a dependency to windows.h
2019-11-22 18:46:21 +01:00
Steffen Schümann
c97ac97b30
Merge remote-tracking branch 'origin/feature-38-getprocaddress-warnings'
2019-11-22 11:00:53 +01:00
gulrak
4726dd5713
Merge pull request #40 from Zer0xFF/patch-1
...
typo fix
2019-11-21 12:00:58 +01:00
Zer0xFF
43db588e61
typo
2019-11-19 23:49:47 +00:00
gulrak
73da6e1a95
refs #38 , work on warning about GetProcAddress cast on MSYS2 GCC9.2
2019-11-17 21:20:19 +01:00
gulrak
8ea72cfb73
Updated readme.
2019-11-15 14:28:23 +01:00
gulrak
d3d4597f42
Updated readme.
2019-11-15 14:26:14 +01:00
gulrak
461a6c0154
Updated readme and version bump to v1.2.8
v1.2.8
2019-11-15 09:05:17 +01:00
gulrak
059b2fab78
Small test cleanup to help ctest.
2019-11-15 08:29:05 +01:00
gulrak
01d1f685fc
Merge pull request #37 from cybik/patch-1
...
Typo
2019-11-10 22:55:00 +01:00
Renaud Lepage
3a6c550dc0
Typo
2019-11-09 16:40:09 -08:00
Steffen Schuemann
c1a2fb5d17
refs #36 , fix for warnings on xcode 11.2 due to unhelpful use of references
2019-11-07 09:10:09 +01:00
Steffen Schuemann
7301cd1105
refs #35 , new option GHC_FILESYSTEM_WITH_INSTALL defaulting to ON only if not used as subdirectory.
2019-11-07 08:56:35 +01:00
Steffen Schuemann
9ac9c9ca49
Adding Xcode 11.2 to travis
2019-11-07 06:21:12 +01:00
gulrak
741eaca3fd
Merge pull request #34 from jeanguyomarch/toctou-race
...
fix: TOCTOU race when creating directories
2019-11-06 19:54:09 +01:00
Jean Guyomarc'h
b5df8c5942
fix: TOCTOU race when creating directories
...
When create_directories() is called to create a chain of directories,
path components are created one by one. For each path component, ghc
checks if the directory exists. If not it attempts to create it. In
case of failure to create this directory, the function fails.
This behavior exhibits a TOCTOU (Time Of Check/Time Of Use) race when
different threads of execution (e.g. different processes) attempt to
create the same paths (or paths that contain a common hierarchy).
The following sequence of events between threads T1 and T2 illustrates
the issue:
T1: checks path P exists: no. Will attempt to create P...
T2: checks path P exists: no. Will attempt to create P...
T1: creates P, no error
T2: fails to create P: raises an error
It is not desirable for create_directories() to fail in this case. This
commit mirrors the GNU libstdc++ implementation of the c++ filesystem
library: if the creation of a directory fails, we will inspect the path
that should have been created as a directory. If it is indeed a
directory (another thread of execution created it for us), the error is
now reset and the function continues to iterate to the next path
component.
2019-11-06 15:09:52 +01:00
Steffen Schuemann
9db85faf14
refs #33 , fix for lexically_normal
2019-10-23 23:08:15 +02:00
Steffen Schuemann
cf5188899b
refs #33 , added test for trailing preferred seperator on last '..' for path::lexically_normal
2019-10-23 22:21:10 +02:00
Steffen Schuemann
8302328ef9
Merge branch 'master' of github.com:gulrak/filesystem
2019-10-03 10:02:05 +02:00
Steffen Schuemann
24d6c7e7de
Updated readme.
2019-10-03 10:01:45 +02:00
gulrak
21fc37b0e2
Merge pull request #31 from jwnimmer-tri/deprecated-static-constexpr-storage
...
Fix storage deprecation warning when in C++17 mode
2019-09-30 20:37:22 +02:00
gulrak
9b9528cfad
Merge pull request #32 from jwnimmer-tri/warning-old-style-cast
...
Fix old-style-cast warnings
2019-09-30 20:35:29 +02:00
Jeremy Nimmer
8f4ea166a2
Fix old-style-cast warnings
...
Fixes "error: use of old-style cast [-Werror=old-style-cast]" when compiling
with GCC 7.4.
2019-09-30 10:05:01 -04:00
Jeremy Nimmer
ee8dd08c6c
Fix storage deprecation warning when in C++17 mode
...
Fixes "error: redundant redeclaration of 'constexpr' static data member
'ghc::filesystem::path_helper_base<char_type>::preferred_separator'
[-Werror=deprecated]" when compiling with GCC 7.4 in -std=c++17 mode.
2019-09-30 09:45:59 -04:00
gulrak
65b54093ea
Merge pull request #24 from JonasVautherin/export-target
...
export as target
2019-09-29 19:20:06 +02:00
gulrak
49df1eaefb
Merge pull request #30 from asmaloney/options-submodule
...
CMake: Do not include test and example options if including as submodule
2019-09-27 19:43:36 +02:00
Steffen Schuemann
9a3c37fedf
Merge branch 'master' of github.com:gulrak/filesystem
2019-09-27 19:42:50 +02:00
Steffen Schuemann
9de8ce5b38
wip version bump
2019-09-27 19:42:12 +02:00
Andy Maloney
ccdd8ec40e
Do not include test and example options if including as submodule
...
Also rename these options so it's clear they are part of GHC Filesystem
2019-09-27 13:03:07 -04:00
gulrak
aae1331300
Update README.md
2019-09-21 18:30:36 +02:00
Steffen Schuemann
15a82e9098
Version bump to v1.2.6
v1.2.6
2019-09-21 17:06:54 +02:00
Steffen Schuemann
6a9196fc39
Updated README.md
2019-09-21 16:56:42 +02:00
Steffen Schuemann
fbdee68f21
refs #27 , Squashed commit of the following:
...
commit aabbf8f3d880dcd0aeaa97f014d91d54dfa24ed4
Author: Steffen Schümann <s.schuemann@pobox.com>
Date: Sat Sep 21 16:22:25 2019 +0200
refs #27 , ghc::filesystem::path::preferred_seperator fix for VS2015
commit 03b437cefb39746127b34ce6c9d47df7209a27c7
Merge: cbe0c61 589219b
Author: Steffen Schümann <s.schuemann@pobox.com>
Date: Fri Sep 20 13:42:31 2019 +0200
Merge branch 'master' into feature-27-mingw-preferred_separator
commit cbe0c61492f3a6817f03343bb16d73211625a9cb
Author: Steffen Schuemann <s.schuemann@pobox.com>
Date: Sat Aug 24 22:20:10 2019 +0200
Test for workaround of static constexpr issue
2019-09-21 16:46:00 +02:00
Steffen Schuemann
589219bb0d
refs #29 , fixes for MinGW warnings
2019-09-01 09:23:39 +02:00
Steffen Schuemann
d12bdbed99
refs #29 , work on stricter warning set
2019-09-01 08:27:23 +02:00
Jonas Vautherin
daebcb3c96
export as target
2019-08-16 09:43:22 +02:00
Steffen Schuemann
135015f20b
Fix for wchar_t issue introduced with last commit.
2019-08-15 15:19:48 +02:00