Andrey Semashev
7339882ccf
Added BOOST_FILESYSTEM_VERSION 4 and moved breaking path changes to v4.
Boost.Filesystem v4 will contain breaking changes from v3 that are required
for better compatibility with C++17 std::filesystem. It will also remove
the deprecated features of v3.
Updated docs to reflect the differences between v3 and v4. Updated tests
to verify both v3 and v4 where the differences are present.
3 years ago
Andrey Semashev
0ada9c0ec2
Force C++11 for compiling examples that are using C++11 features.
3 years ago
Andrey Semashev
bb116b96f6
Removed example testing scripts as they are unused.
3 years ago
Andrey Semashev
87181d517d
Removed MSVC projects as they are not maintained.
3 years ago
Andrey Semashev
c03249c375
Reformatted code for more consistent look and better readability.
3 years ago
Andrey Semashev
c758552338
Moved directory tools to separate files. Reworked readdir_r support.
Directory iteration components were moved to separate files to simplify
maintenance of operations.hpp/cpp.
directory_iterator implementation on POSIX platforms has been reworked
to only allocate internal buffer when readdir_r is used. When readdir
is used, the dirent structure returned by readdir is used directly, which
eliminates the potential of buffer overrun in case if some directory name
exceeds the buffer size. This also removes the need to copy dirent members
into the buffer, which improves performance and simplifies maintenance.
For buffer size we now use the max path size as opposed to max filename
size. This is done to minimize the possibility of buffer overruns when
readdir_r is used.
On Windows, use Boost.WinAPI to configure the default target Windows version.
This removes WINVER and _WIN32_WINNT defines in Boost.Filesystem as these
macros should be defined by Boost.WinAPI now.
Additionally, exception.hpp and directory.hpp includes in operations.hpp are
marked as deprecated as operations.hpp do not need those components. Users
are encouraged to include the new headers explicitly in their code, as needed.
5 years ago
Andrey Semashev
27256f9d55
Removed asynch-exceptions=on for MSVC.
5 years ago
Andrey Semashev
c0c93a0c58
Removed linking with Boost.System from docs and examples.
5 years ago
Andrey Semashev
2c1fa1a4a0
Removed linking with Boost.System.
Since Boost.System is now header-only, no need to depend on its library.
Fixes https://github.com/boostorg/filesystem/issues/98 .
5 years ago
Beman
49218481e5
Clean up some tutorial example code and fix the wording for it in the tutorial. Thanks to Anmol-Singh-Jaggi for pull request #11 .
7 years ago
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.
9 years ago
Beman
a984f70f56
A few final changes on Windows. Linux examples still to be tested and output captured.
9 years ago
Beman
03d1256acc
Rename bld scripts to build. Get started modernizing, correcting, and updating the tutorial. Continue work on example programs.
9 years ago
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.
9 years ago
Beman
e9d72fa16c
Upgrade build infrastructure. Modernize tutorial examples to use C++11 to simplify code and make it easier to understand. Initial tutorial edits.
9 years ago
Beman
7701398d38
Add example/msvc infrastructure
9 years ago
Beman
8f75aec0e7
Remove the install as it did not work as expected.
9 years ago
Beman
fb824af6e3
Add file_size to Jamfile
9 years ago
Beman
bf1339e282
Remove 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.
10 years ago
Beman
750a82e20d
Revert "Merge branch 'develop' of github.com:boostorg/filesystem into develop"
This reverts commit 4610afc49e
, reversing
changes made to 6623bde4fe
.
10 years ago
Beman
044b98373c
All char16_t/char32_t dependencies #ifdef'ed out. All test/msvc/filesystem.sln tests pass.
10 years ago
Beman Dawes
21ec949654
filesystem testing change: use <boost/test/prg_exec_monitor.hpp> by default, define BOOST_LIGHTWEIGHT_MAIN to use <boost/detail/lightweight_main.hpp>. This gives us the better exception reporting of <boost/test/prg_exec_monitor.hpp> but provides easy fallback to <boost/detail/lightweight_main.hpp> if desired.
[SVN r78057]
12 years ago
Beman Dawes
dec6c711f0
Add missing files
[SVN r77558]
12 years ago
Beman Dawes
16099b4c7d
Filesystem - Move V3 files and directories into place
[SVN r77554]
12 years ago
Beman Dawes
fa515c07f5
Move files into new v2 + v3 directory structure
[SVN r62653]
14 years ago
Vladimir Prus
121ad129f0
Fix Boost.Filesystem->Boost.System dependency for windows/shared.
[SVN r58028]
15 years ago
Beman Dawes
54cdfd14fa
Merge from trunk
[SVN r55126]
15 years ago
Beman Dawes
39a9f8a82b
filesystem tweaks
[SVN r52921]
15 years ago
Beman Dawes
0a93531186
Add include <cwchar> in two place to fix ticket #2382
[SVN r49208]
16 years ago
Beman Dawes
e22eb55f69
Boost.Filesystem: change tests to define BOOST_FILESYSTEM_NO_DEPRECATED. Expand deprecated_test.
[SVN r48463]
16 years ago
Beman Dawes
fb65347b54
After extensive discussion on the list with Dave Abrahams, Vladimir Prus, and others, rename basic_path::leaf() -> filename, branch_path -> parent_path, replace_leaf -> replace_filename. Add basic_path member functions stem, extension, replace_extension.
[SVN r47181]
16 years ago
Beman Dawes
001c15dd32
Rename is_regular() to is_regular_file
[SVN r47131]
16 years ago
Beman Dawes
c3d20c1c44
fix header name
[SVN r46807]
16 years ago
Marshall Clow
dcbe9649c2
Replaced all occurrences of non-ASCII copyright symbol with '(c)' for people using non-ASCII code pages
[SVN r43992]
16 years ago
Beman Dawes
8aac46b5a8
Fix inspect boo boos; mostly broken links
[SVN r43710]
16 years ago
Beman Dawes
8fb975b2b9
Fix inspect boo boos; mostly broken links
[SVN r43709]
16 years ago
Beman Dawes
076a56f25d
Merge latest trunk
[SVN r42032]
17 years ago
Beman Dawes
4ed2439686
Refresh examples, add example build script, reflect that in docs. Apply suggestions from Darren Cook.
[SVN r41500]
17 years ago
Beman Dawes
fa9c7b59f8
Merged tools, system, filesystem from trunk at 41106
[SVN r41109]
17 years ago
Beman Dawes
6fbd106e94
Add copyright and license
[SVN r40767]
17 years ago
Vladimir Prus
c1840ee23f
Remove V1 Jamfiles
[SVN r38516]
17 years ago
Beman Dawes
900825607b
Update copyright, license
[SVN r35897]
18 years ago
Rene Rivera
62f04b3993
Remove obsolete Boost.Build v1 files.
[SVN r35880]
18 years ago
Beman Dawes
2045be22d6
Bring into compliance with N2066, TR2 Diagnostics Enhancements. Tests passing on Win32, Linux, on most modern compilers.
[SVN r35823]
18 years ago
Beman Dawes
22bb191bf0
Remove copyright symbol as it causes VC++ warnings on Windows with codepage set to non-English, particularly Asian, languages
[SVN r33295]
18 years ago
Beman Dawes
040c9372b3
Bring into sync with WG21/D1934=06-0004
[SVN r32532]
18 years ago
Beman Dawes
aac5f49666
is_file, file_flag -> is_regular, regular_flag per TR2 proposal
[SVN r32201]
19 years ago
Beman Dawes
48d4335bfc
merge from i18n branch - at last!
[SVN r32079]
19 years ago
Vladimir Prus
f57c2d02b9
Update to match V1 Jamfile.
Patch from Daniel Schlyder.
[SVN r30972]
19 years ago
Vladimir Prus
8692b025bc
Fix library name
[SVN r22783]
20 years ago