34dd2c7718Add a new path member function: "path normal() const;" and change the old deprecated normalize() non-const function to be implemented in terms of the new function. The implementation remains the same, except for returning by value rather than modifying in place. Motivation: Jamie Alsop has identified removal of redundant .. and . elements (i.e. normalization) as a need closely related to the relative path functionality requested by numerous Boost issue requests, the C++ LWG, and NB comments to the Filesystem TS. Given that both lexical and operational relative functionality is needed, there is less risk in providing a well-documented path::normal() lexical function.
Beman
2015-08-08 16:29:44 -0400
6e92c9a8b2Add experimental path::generic() function returning generic formatted (i.e. separators are forward slashes). Motivation: may be simpler than having a family of generic_*string functions.
Beman
2015-08-08 12:11:35 -0400
8a8c8abeccRename semi_canonical() to weak_canonical. The STL uses "weak" to denote reduced requirements.
Beman
2015-08-08 05:56:55 -0400
9706dbb9b1Revert "Change the name of path::relative to path::relative_to to distinguish it a bit from path::relative_path."
Beman
2015-08-08 05:44:30 -0400
d5fb8323f8Change the name of path::relative to path::relative_to to distinguish it a bit from path::relative_path.
Beman
2015-08-07 16:50:47 -0400
4487aa4200Update the Release History for 1.59.0
Beman
2015-07-26 20:55:25 -0400
6c33e4375dFinal, with Linux example output updated.
Beman
2015-07-26 17:46:28 -0400
a984f70f56A few final changes on Windows. Linux examples still to be tested and output captured.
Beman
2015-07-26 11:59:30 -0400
03d1256accRename bld scripts to build. Get started modernizing, correcting, and updating the tutorial. Continue work on example programs.
Beman
2015-07-26 10:52:15 -0400
989d108440Switch to using html_include_files (see github.com/Beman/command-line-tools) to suck in the actual examples source code. Get rid of some unneeded includes.
Beman
2015-07-25 15:39:16 -0400
e9d72fa16cUpgrade build infrastructure. Modernize tutorial examples to use C++11 to simplify code and make it easier to understand. Initial tutorial edits.
Beman
2015-07-25 14:47:52 -0400
9205205043Cleanup some symbol encoding and presentation issues.
Beman
2015-07-22 08:29:45 -0400
5dd97cd12fRemove the macro generation documentation (doc/src) source. This was a temporary expedient to all generation of the standard library TS working paper and the Boost documentation to share the same source file. Now that the TS is published, it is no longer needed. It was always a pain to maintain.
Beman
2015-07-22 07:40:56 -0400
7e7e14f54aHand merge some tweaks from endian library.
Beman
2015-05-24 10:12:31 -0400
3a02e54625haiku: don't crash because of unsupported locale in libstdc++
Adrien Destugues
2014-11-15 01:05:16 +1300
706cf988a9Revise get_temp_directory() test cases. Drive-by warning removal and partial fix for TortoiseGit-related test harness crashes.
Beman
2015-02-03 12:11:44 -0500
424f09019cRewrite Windows implementation of temp_directory_path() to (1) avoid GetTempPath() failure if path length > 130 (ticket #5300) and (2) provide a more sensible sequence of directories than provided by GetTempPath(), per boost list discussion "[filesystem] temp_directory_path() behavior on Windows".
Beman
2015-02-03 11:31:57 -0500
a89b7af83aComment out test case until fix is applied. Drive by fix of two curly brace errors that happened to cancel each other out.
Beman
2015-01-31 08:56:07 -0500
06bddf3bc3Rename typedef causing conflict with cygwin libraries. Fix refactoring missed in create_directory_symlink() that only affected cygwin tests. Clear gcc warning on cygwin tests.
Beman
2015-01-31 08:53:02 -0500
01bbe99241Refactor operations error handling helpers to (1) be less confusing and (2) fix a Windows problem where ::SetLastError() values were getting cleared before they could be retrieved by the error handling helpers.
Beman
2015-01-31 08:00:59 -0500
96d5cdda3bRemove test_folder. Content is now in branch test-files/utf-8, so that master and develop conform to Boost file naming policy.
Beman
2015-01-11 17:55:55 -0500
eb9cac384eEdit comments to clarify dependencies.
Beman
2015-01-10 11:35:47 -0500
c0b5754ab8Fix ticket #10388, an occasional failure of temp_directory_path to deal correctly with the trailing separator. A path member function remove_trailing_separator() was added publicly since this may be useful to users.
Beman
2015-01-10 09:31:44 -0500
a9561f945fUpdate Version History. Fixes#4550.
Beman
2015-01-05 11:30:39 -0500
bb5a0ff09dClear warnings, including new warnings from VC++ 2015 preview.
Beman
2015-01-05 10:34:24 -0500
f17852e98dAdd test case described in ticket #4611. Behavior checked against the TS, and is working as specified. Closed the ticket as "wontfix", since there is no implementation defect.
Beman
2014-12-30 18:09:16 -0500
9fd93a2008Fix ticket #7018, operations_test.cpp does not correctly use setenv, including the suggested setenv* void fix. Added comment explaining choice of void fix rather than _putenv fix.
Beman
2014-12-30 11:59:53 -0500
e4e5bb8bf5Fix ticket #6945 by applying patch from Kaylyn Bogle
Beman
2014-12-30 10:48:46 -0500
0dfb7171fbFinalize issue reporting before requesting comments. Also fix some inspect issues.
Beman
2014-12-29 09:18:12 -0500
aa94a72fc4Add style sheet from Boost.Endian. Copy so it can be customized for Boost.Filesystem as needed without worrying about impact on other libraries.
Beman
2014-12-26 10:41:22 -0500
8f75aec0e7Remove the install as it did not work as expected.
Beman
2014-12-26 10:11:38 -0500
704f4e328dAdd 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.
Beman
2014-12-26 10:07:43 -0500
fb824af6e3Add file_size to Jamfile
Beman
2014-12-26 09:53:30 -0500
1ac23b633eNo point in inspecting the Chinese names being tested.
Beman
2014-12-24 08:37:41 -0500
5a0e0609c5Switch to the VC++ codepage 950 codecvt facet. Verified output correct.
Beman
2014-12-24 08:25:54 -0500
785d521b54Add infrastructure. Use UTF-8.
Beman
2014-12-24 07:17:56 -0500
3143a61080Add generic issue_test project (with source files) to speed issue testing by providing some canned infrastructure.
Beman
2014-12-23 07:34:03 -0500
a39af865c5Add project "headers" that touches all filesystem header files. This causes Visual Studio "Find/Replace in files" to work properly for filesystem header files.
Beman
2014-12-23 07:27:28 -0500
9848729fb8Upgrade to VC++ 2015 Preview.
Beman
2014-12-04 15:35:33 -0500
4b4b3d8853Add support for the Wind River VxWorks RTOS. Thanks to Rogerio Dos Santos.
Beman
2014-12-04 07:23:21 -0500
490c2c3298For 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.
Beman
2014-10-27 19:20:17 -0400
f0611a5a0eMerge branch 'master' of github.com:boostorg/filesystem
Beman
2014-10-27 09:00:16 -0400
d57509c558For 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.
Beman
2014-10-24 10:58:42 -0400
9979e06d63Correct version number
Beman
2014-10-13 08:16:26 -0400
d5a2658d16Move constant used only on Windows into Windows-specific helpers. Quiets clang warning message.
Beman
2014-09-04 09:24:20 -0400
0041ea9646Removed unused codecvt buffer size definitions long since moved to path_traits. Quiets clang warning.
Beman
2014-09-04 09:13:57 -0400
76d209567fRefactor 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.
Beman
2014-08-22 11:13:16 -0400
dc1fd98dc6Add metadata file.
Daniel James
2014-08-18 14:58:47 +0100
5b4e1b5580Remove comments about mutexes. They are a distraction and less relevant as C++11 support becomes widespread.
Beman
2014-08-18 09:01:16 -0400
245341aaa9Update release history.
Beman
2014-08-17 15:40:56 -0400
35096ca056Add 9219.cpp plus infrastructure and path.cpp logging
Beman
2014-08-17 10:55:01 -0400
4d64f34c01Add non-const overloads for the value_type and string_type to avoid calling codecvt(). Fixes ticket #9219.
Beman
2014-08-17 09:22:32 -0400
5229dd663e9054 and 10228 are now closed.
Beman
2014-08-07 16:45:40 -0400
8ef629c906Add __OpenBSD__ to the operating systems that "expect their string parameters to be in UTF-8 encoding and nothing else." Fixes#8352
Beman
2014-08-06 12:24:44 -0400
0e16e5bdffReplace more <boost/test/prg_exec_monitor.hpp> usage with <boost/detail/lightweight_main.hpp>.
Beman
2014-08-06 12:19:29 -0400
bf1339e282Remove use of <boost/test/prg_exec_monitor.hpp>. It has caused trouble for years, and I'm tired of fighting with it. The last straw was adding a Cygwin gcc toolset, only to have <boost/test/prg_exec_monitor.hpp> fail to link. Change to always use <boost/detail/lightweight_main.hpp>, which is trouble-free.
Beman
2014-08-06 12:16:06 -0400
6512ae2cedInitial commit before merge from ts-develop.
Beman
2014-08-06 08:07:16 -0400
63ad0348aaAdd hello_filesystem.cpp and related infrastructure so we have a handy starting point for building quick tests.
Beman
2014-08-05 15:14:04 -0400
750a82e20dRevert "Merge branch 'develop' of github.com:boostorg/filesystem into develop"
Beman
2014-08-05 09:16:57 -0400
4610afc49eMerge branch 'develop' of github.com:boostorg/filesystem into develop
Beman
2014-08-04 20:25:07 -0400
91c4517a8cAdd a useless initialization to quiet the Clang static analyzer, closing ticket #8954.
Beman
2014-07-28 16:47:25 -0400
02b5767bf1Shorten name of operations_test temp directory to shorten console commands when debugging.
Beman
2014-07-28 08:30:24 -0400
e8c90f7f15Add test for ODR violations such as forgetting to inline a function in a header. Thanks to STL for pointing out this testing technique.
Beman
2014-07-25 17:58:15 -0400