Beman
e4e5bb8bf5
Fix ticket #6945 by applying patch from Kaylyn Bogle
2014-12-30 10:48:46 -05:00
Beman
704f4e328d
Add a comment, and two BOOST_ASSERTs to detect the possible infinite loop described in ticket 4438 in case my analysis that the infinite loop will never happen is wrong.
2014-12-26 10:07:43 -05:00
Beman
4b4b3d8853
Add support for the Wind River VxWorks RTOS. Thanks to Rogerio Dos Santos.
2014-12-04 07:23:21 -05:00
Beman
490c2c3298
For all path_traits convert() and dispatch() functions provide two overloads, one with a "const codecvt_type&" argument, and one without. The overload without a codecvt argument calls path::codecvt() iff a conversion actually needs to be performed. Change all uses of path_traits convert() and dispatch() functions call the appropriate overload, rather than calling with path::codecvt() as a default. This limits the impact of locale("") initialization failures on Linux and other non-BSD POSIX systems to programs that actually depend on locale(""). It further ensures that exceptions thrown as a result of such failures occur after main() has started, and so can be caught.
2014-10-27 19:20:17 -04:00
Beman
1262a9f0d2
Fix C++03 compile failures for previous commit.
2014-10-24 11:46:50 -04:00
Beman
d57509c558
For compiled operational function detail::copy_file, pass detail::copy_options, a plain-old enum, rather than a BOOST_SCOPED_ENUM. We cannot pass a BOOST_SCOPED_ENUM to a compled function because it will result in an undefined reference if the library is compiled with -std=c++0x but the use is compiled in C++03 mode, or vise versa. Fixes tickets #6124 , #6779 , and #10038 .
2014-10-24 10:58:42 -04:00
Beman
d5a2658d16
Move constant used only on Windows into Windows-specific helpers. Quiets clang warning message.
2014-09-04 09:24:20 -04:00
Beman
76d209567f
Refactor dot_path and dot_dot_path into functions, to prevent path constructor being called before main() starts. In theory that is harmless when path::value_type is the same as value_type of the ctor Source, but eliminating it simplifies reasoning about program correctness.
2014-08-22 11:31:42 -04:00
Beman
750a82e20d
Revert "Merge branch 'develop' of github.com:boostorg/filesystem into develop"
...
This reverts commit 4610afc49e , reversing
changes made to 6623bde4fe .
2014-08-05 09:16:57 -04:00
Beman
cc99cc6ceb
Merge branch 'develop' into ts-develop
2014-07-31 17:24:34 -04:00
Beman
feffecb67f
Remove testing residue, update copyright date.
2014-07-25 15:35:36 -04:00
Beman
d774842f39
Initial directory junction support. See release_history.html
2014-07-25 11:00:54 -04:00
Beman
038bce7e2d
DTS: enum perms changed to enum class perms. Constant names have changed; synonyms provided.
2014-07-23 15:35:44 -04:00
Beman
99a94662b2
Merge branch 'develop' into ts-develop
...
Conflicts:
include/boost/filesystem/operations.hpp
test/operations_test.cpp
2014-07-22 20:55:58 -04:00
Beman
6ed4c4f6f7
Apply Christian Hammerl's fix for tickets 9683 and 10187. Supply test cases that should work for both POSIX and Windows. Tested with fix commented out to verify test cases do detect the problem.
2014-07-16 08:48:44 -04:00
Beman
fcb9600f91
Merge updates from Beman's Github repo. Unstable.
2014-07-09 14:47:13 -04:00
Chris Stylianou
e64d3f2dc3
Update operations.cpp
...
Added missing check for Solaris 10 which can declare __sun as well.
2014-01-03 02:31:58 +00:00
Antony Polukhin
f45977684a
Apply trivial patch for Android compilation of Boost.Filesystem (refs #8706 )
...
[SVN r84916]
2013-06-30 10:51:55 +00:00
Beman Dawes
08c11663d9
Fix #7239 , Stack overflow when calling create_directories(":D"). The reported problem was a symptom of an internal bug that caused path::filename() and path::parent_path() to fail on Windows for path(":"), and that in turn caused other functions that depend on filename() or parent_path() to fail, such as create_directories().
...
[SVN r80279]
2012-08-28 12:57:02 +00:00
Beman Dawes
6d73e629b8
Fix #6659 and #7051 , fchmodat supported only on Solaris 11. Disable fchmodat for both Sun and GCC compilers regardless of OS version; a runtime check is too much trouble.
...
[SVN r79484]
2012-07-13 21:02:36 +00:00
Beman Dawes
999ab2ff4b
Fix a Linux fchmodat problem affecting symlink permissions reported during discussion of 6659. Patch supplied by Duncan Exon Smith. Does not fix the original problem.
...
[SVN r79481]
2012-07-13 19:43:33 +00:00
Beman Dawes
ede84eefd7
Filesystem: Further fixes for #6932 . Clarify docs. Add test cases.
...
[SVN r78747]
2012-05-29 15:53:02 +00:00
Beman Dawes
c0b7979013
Filesystem: fix #6932 , create_directories throws exception even if error_code is specified.
...
[SVN r78721]
2012-05-28 15:47:59 +00:00
Beman Dawes
221b7cf7c6
Filesystem: Fix #6809 , Implementation of filesystem::rename() method for MS Windows is wrong, by adding MOVEFILE_COPY_ALLOWED to deal with renames across drives, volumes, file systems. Fix has no effect on non-Windows systems.
...
[SVN r78078]
2012-04-19 12:45:42 +00:00
Beman Dawes
4910fe6e64
Fix #3737 , Boost.Filesystem does not compile on Windows Mobile
...
[SVN r77585]
2012-03-27 14:40:56 +00:00
Beman Dawes
7941871477
Filesystem - Delete v3 directories no longer needed. Cleanup links, namespaces, and other residue from dual v2/v3 support.
...
[SVN r77555]
2012-03-26 12:44:24 +00:00
Beman Dawes
16099b4c7d
Filesystem - Move V3 files and directories into place
...
[SVN r77554]
2012-03-26 12:31:06 +00:00
Beman Dawes
fa515c07f5
Move files into new v2 + v3 directory structure
...
[SVN r62653]
2010-06-09 13:00:15 +00:00
Beman Dawes
91715967a5
Upgrade system and filesystem to conform system_category and generic_category interface to N3090, the current C++0x working paper, section 19.5, System error support.
...
Refactor API macros into a new header, boost/system/api_config.hpp.
Prohibit user definition of API macros. Rationale: ensure all translation units use same definitions, cut number of environments that need to be tested.
[SVN r62313]
2010-05-30 15:38:32 +00:00
Beman Dawes
c855c033b6
Fix #3962
...
[SVN r62220]
2010-05-25 23:47:37 +00:00
Beman Dawes
012d1d3b75
Fix #3910
...
[SVN r62219]
2010-05-25 23:33:39 +00:00
Beman Dawes
ac5729f7fe
Fix #3867 , both for ERROR_NOT_READY and ERROR_INVALID_DRIVE. These happen when CD/DVD drive has no disc and USB card reader has no card, respectively.
...
[SVN r62218]
2010-05-25 23:18:13 +00:00
Beman Dawes
a14be77483
Fix #3551 for Windows Mobile
...
[SVN r58193]
2009-12-06 16:55:44 +00:00
Beman Dawes
68168bc676
Filesystem: fix #3509
...
[SVN r56616]
2009-10-06 12:32:46 +00:00
Beman Dawes
a9ef12ad33
Filesystem: fix #3172 , ECV++ 9 missing <sys/utime.h>. The fix applied was to include <ctime> instead. This is the correct header; the previous song-and-dance was workaround on top of workaround from years ago. This change will break any Windows libraries that don't provide <ctime>, but if that happens workarounds specific to those libraries can be added. That's better than cluttering up the code with workarounds no longer needed.
...
[SVN r54032]
2009-06-17 22:50:10 +00:00
Beman Dawes
0aaa65e768
Fix Filesystem #2925 , copy_file atomiticity
...
[SVN r53073]
2009-05-17 15:55:46 +00:00
Beman Dawes
ca156ad712
Workaround: Sun compiler on Linux dirent.h defines _DIRENT_HAVE_D_TYPE but expected macros not present
...
[SVN r52420]
2009-04-16 14:51:55 +00:00
Beman Dawes
b917a12625
Fix #2725
...
[SVN r51931]
2009-03-23 11:30:54 +00:00
Beman Dawes
be7290da56
Filesystem: Fix #2531 by applying suggested patch
...
[SVN r50562]
2009-01-13 13:30:07 +00:00
Beman Dawes
17f2e28fef
Filesystem: fix #2542 , wrong close 0 descriptor in copy_file_api on unix
...
[SVN r50033]
2008-11-30 02:49:13 +00:00
Beman Dawes
e2cd046fde
Filesystem: ticket #2176 .
...
[SVN r49209]
2008-10-09 15:01:27 +00:00
Beman Dawes
9a3052e452
Filesystem; clear ticket #2168
...
[SVN r49085]
2008-10-01 15:50:44 +00:00
Beman Dawes
f58c3cd871
fix posix_remove() return
...
[SVN r47186]
2008-07-07 13:09:09 +00:00
Beman Dawes
3ee73a0df7
Partial resolution of ticket #1972 ; remove() issues for POSIX are cleared. Added regression test cases covering self-reference and cyclic symlinks.
...
[SVN r47006]
2008-07-02 21:05:54 +00:00
Beman Dawes
8fb975b2b9
Fix inspect boo boos; mostly broken links
...
[SVN r43709]
2008-03-18 19:35:18 +00:00
Beman Dawes
8d845ad07a
Enable the XPG-compliant version of readdir_r() on AIX. Merged from 1.34.1.
...
[SVN r40640]
2007-11-01 15:23:06 +00:00
Beman Dawes
fbb5d8650b
Treat Windows ERROR_SHARING_VIOLATION as an existing file of unknown type. Fixes ticket #897
...
[SVN r40630]
2007-10-31 22:01:58 +00:00
Beman Dawes
cf38bdb506
Win64 returns ERROR_BAD_PATHNAME for //nosuch, while Win32 returns ERROR_BAD_NETPATH
...
[SVN r39556]
2007-09-26 18:11:27 +00:00
Beman Dawes
184a2518c5
Clear compiler warnings
...
[SVN r39520]
2007-09-25 13:45:52 +00:00
Boris Gubenko
887e81ae91
reapply fix for gcc on HP-UX in -r39130
...
[SVN r39237]
2007-09-13 16:11:38 +00:00