Commit Graph

824 Commits

Author SHA1 Message Date
Beman
23759ba8ec Add lexically_proximate and proximate functions. 2015-08-25 15:05:17 -04:00
Beman
27f8e5fd6a Minor tweaks. 2015-08-25 11:04:21 -04:00
Beman
732609a2da Change member normal() and relative() to non-member lexically_normal() and lexically_relative(). See doc/relative_proposal.html#Add-lexical-functions-as-non-members for rationale. 2015-08-23 09:33:21 -04:00
Beman
ac3fe66c4d Improve standardese of weakly_canonical() by replacing C++ code with prose specification. 2015-08-22 09:51:07 -04:00
Beman
c739cee694 Apply normal() to weakly_canonical results, but only when know to be needed or it is not known if it may be needed. 2015-08-19 08:43:36 -04:00
Beman
24c6434228 Supply "Overview:" sections for proposed wording. 2015-08-19 08:38:03 -04:00
Beman
7f890543f8 Finalize Draft 1 of proposal 2015-08-17 11:00:46 -04:00
Beman
1bba3591dd Save work-in-progress. 2015-08-17 08:48:54 -04:00
Beman
6980d25a1b Save work-in-progress 2015-08-15 09:20:26 -04:00
Beman
b54092e66f Simplify expressions and remove accumulated cruft. 2015-08-13 09:01:59 -04:00
Beman
cb11081a7d Finish initial proposed wording section of relative_proposal.html. Drive-by tweaks to other stuff. Add example/directory_symlink_parent_resolution.cpp, include/boost/filesystem/string_file.hpp, and related infrastructure. 2015-08-12 17:26:03 -04:00
Beman
074a5a157a Initial commit. 2015-08-11 15:29:54 -04:00
Beman
fe71dc8729 Fix test where Windows and POSIX results differ 2015-08-10 08:34:22 -04:00
Beman
f5da08da74 Initial commit. 2015-08-10 08:15:24 -04:00
Beman
a7ac4c088f Add relative_test to Jamfile, fix Cygwin/GCC C++03 enum constant usage error. 2015-08-10 08:09:48 -04:00
Beman
7d6429554a Bring operational functions weakly_canonical() and relative() up to production quality: move implementations to operations.cpp, add error handling, replace tail recursion with iteration, rename weak_canonical to weakly_canonical. The weak_canonical name grated on me every type I used it. 2015-08-10 07:10:59 -04:00
Beman
2101376680 Replace tail recursion with iteration. 2015-08-09 09:53:05 -04:00
Beman
34dd2c7718 Add 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. 2015-08-08 16:29:44 -04:00
Beman
6e92c9a8b2 Add 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. 2015-08-08 12:11:35 -04:00
Beman
5b8b9db1c9 Cleanup missed edits. 2015-08-08 06:18:08 -04:00
Beman
8a8c8abecc Rename semi_canonical() to weak_canonical. The STL uses "weak" to denote reduced requirements. 2015-08-08 05:56:55 -04:00
Beman
9706dbb9b1 Revert "Change the name of path::relative to path::relative_to to distinguish it a bit from path::relative_path."
This reverts commit d5fb8323f8.

Leave possible renaming for bikeshed discussions. KISS.
2015-08-08 05:44:30 -04:00
Beman
d5fb8323f8 Change the name of path::relative to path::relative_to to distinguish it a bit from path::relative_path. 2015-08-07 16:50:47 -04:00
Beman
6da5f657fb Remove lexically_relative() free function. Add path::rel 2015-08-07 16:41:06 -04:00
Beman
dc794ea95b Merge branch 'feature/relative' into feature/relative2 2015-08-06 08:08:46 -04:00
Beman
4487aa4200 Update the Release History for 1.59.0 2015-07-26 20:55:25 -04:00
Beman
6c33e4375d Final, with Linux example output updated. 2015-07-26 17:46:28 -04:00
Beman
a984f70f56 A few final changes on Windows. Linux examples still to be tested and output captured. 2015-07-26 11:59:30 -04:00
Beman
03d1256acc Rename bld scripts to build. Get started modernizing, correcting, and updating the tutorial. Continue work on example programs. 2015-07-26 10:52:15 -04:00
Beman
989d108440 Switch 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. 2015-07-25 15:39:16 -04:00
Beman
e9d72fa16c Upgrade build infrastructure. Modernize tutorial examples to use C++11 to simplify code and make it easier to understand. Initial tutorial edits. 2015-07-25 14:47:52 -04:00
Beman
7701398d38 Add example/msvc infrastructure 2015-07-25 07:04:08 -04:00
Beman
84b52d1de1 Let the CSS handle the table font size. Works better for firefox, chrome, IE, and probably other browsers. 2015-07-23 10:28:17 -04:00
Beman
6908572988 Break Linux/Windows tables in two, solving a lot of spacing issues on various browsers. 2015-07-23 10:17:39 -04:00
Beman
95175ef819 Fix #11491, temp_directory_path doesn't return valid temp path on Android. 2015-07-22 11:13:06 -04:00
Beman
9205205043 Cleanup some symbol encoding and presentation issues. 2015-07-22 08:29:45 -04:00
Beman
5dd97cd12f Remove 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. 2015-07-22 07:40:56 -04:00
Beman
7e7e14f54a Hand merge some tweaks from endian library. 2015-05-24 10:12:31 -04:00
Beman
f35a14e004 Add copy_file-compilation-error-2015-05-04.cpp 2015-05-24 08:20:45 -04:00
Beman Dawes
4de6b5745d Merge pull request #10 from ahmedcharles/haiku
haiku: don't crash because of unsupported locale in libstdc++
2015-03-27 20:02:43 -04:00
Beman
1c104ba10f Add issue tests for 4329, 5300, 10205 2015-03-27 20:01:52 -04:00
Adrien Destugues
3a02e54625 haiku: don't crash because of unsupported locale in libstdc++
See https://svn.boost.org/trac/boost/ticket/4688
We do the same as on Mac OS X and assume the filesystem uses utf-8.

Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2015-03-17 22:26:31 +00:00
Beman
706cf988a9 Revise get_temp_directory() test cases. Drive-by warning removal and partial fix for TortoiseGit-related test harness crashes. 2015-02-03 12:11:44 -05:00
Beman
424f09019c Rewrite 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". 2015-02-03 11:31:57 -05:00
Beman
a89b7af83a Comment out test case until fix is applied. Drive by fix of two curly brace errors that happened to cancel each other out. 2015-01-31 08:56:07 -05:00
Beman
06bddf3bc3 Rename typedef causing conflict with cygwin libraries. Fix refactoring missed in create_directory_symlink() that only affected cygwin tests. Clear gcc warning on cygwin tests. 2015-01-31 08:53:02 -05:00
Beman
01bbe99241 Refactor 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. 2015-01-31 08:00:59 -05:00
Beman
41e8c45fab Center page 2015-01-28 10:56:50 -05:00
Beman
b939afc4b8 Refine issue reporting. 2015-01-28 10:45:08 -05:00
Beman
96d5cdda3b Remove test_folder. Content is now in branch test-files/utf-8, so that master and develop conform to Boost file naming policy. 2015-01-11 17:55:55 -05:00