<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vcpkg/toolsrc/include/pch.h, branch 2019.12</title>
<subtitle>Forked from https://github.com/microsoft/vcpkg</subtitle>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/'/>
<entry>
<title>[vcpkg] Make Filesystem::remove_all faster #7570</title>
<updated>2019-08-07T23:51:12+00:00</updated>
<author>
<name>Nicole Mazzuca</name>
<email>mazzucan@outlook.com</email>
</author>
<published>2019-08-02T23:49:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=e79f0dc5328f28b2b3942e2cd0e9b0c1accca4a1'/>
<id>e79f0dc5328f28b2b3942e2cd0e9b0c1accca4a1</id>
<content type='text'>
I added benchmarks to measure how fast the parallel remove_all code was
-- it turns out, about 3x slower than stdfs::remove_all. Since this was
the case, I removed all of the parallelism and rewrote it serially, and
ended up about 30% faster than stdfs::remove_all (in addition to
supporting symlinks).

In addition, I did the following three orthogonal changes:
  - simplified the work queue, basing it on Billy O'Neal's idea
  - Fix warnings on older versions of compilers in tests, by splitting
    the pragmas out of pch.h.
  - Ran clang-format on some files

In fixing up remove_all, the following changes were made:
  - On Windows, regular symlinks and directory symlinks are distinct;
    as an example, to remove directory symlinks (and junctions, for that
    matter), one must use RemoveDirectory. Only on Windows, I added new
    `file_type` and `file_status` types, with `file_type` including a new
    `directory_symlink` enumerator, and `file_status` being exactly the
    same as the old one except using the new `file_type`. On Unix, I
    didn't make that change since they don't make a distinction.
  - I added new `symlink_status` and `status` functions which use the
    new `file_status` on Windows.
  - I made `Filesystem::exists` call `fs::exists(status(p))`, as opposed
    to the old version which called `stdfs::exists` directly.
  - Added benchmarks to `vcpkg-test/files.cpp`. They test the
    performance of `remove_all` on small directories (~20 files), with
    symlinks and without, and on large directories (~2000 files), with
    symlinks and without.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I added benchmarks to measure how fast the parallel remove_all code was
-- it turns out, about 3x slower than stdfs::remove_all. Since this was
the case, I removed all of the parallelism and rewrote it serially, and
ended up about 30% faster than stdfs::remove_all (in addition to
supporting symlinks).

In addition, I did the following three orthogonal changes:
  - simplified the work queue, basing it on Billy O'Neal's idea
  - Fix warnings on older versions of compilers in tests, by splitting
    the pragmas out of pch.h.
  - Ran clang-format on some files

In fixing up remove_all, the following changes were made:
  - On Windows, regular symlinks and directory symlinks are distinct;
    as an example, to remove directory symlinks (and junctions, for that
    matter), one must use RemoveDirectory. Only on Windows, I added new
    `file_type` and `file_status` types, with `file_type` including a new
    `directory_symlink` enumerator, and `file_status` being exactly the
    same as the old one except using the new `file_type`. On Unix, I
    didn't make that change since they don't make a distinction.
  - I added new `symlink_status` and `status` functions which use the
    new `file_status` on Windows.
  - I made `Filesystem::exists` call `fs::exists(status(p))`, as opposed
    to the old version which called `stdfs::exists` directly.
  - Added benchmarks to `vcpkg-test/files.cpp`. They test the
    performance of `remove_all` on small directories (~20 files), with
    symlinks and without, and on large directories (~2000 files), with
    symlinks and without.
</pre>
</div>
</content>
</entry>
<entry>
<title>VS 2019 16.3 deprecates &lt;experimental/filesystem&gt;. (#6968)</title>
<updated>2019-06-20T18:46:55+00:00</updated>
<author>
<name>Stephan T. Lavavej</name>
<email>stl@nuwen.net</email>
</author>
<published>2019-06-20T18:46:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=f0902b35370fbebcf257de88e43ee47379185a10'/>
<id>f0902b35370fbebcf257de88e43ee47379185a10</id>
<content type='text'>
VS 2019 16.3 will contain a couple of source-breaking changes:

* &lt;experimental/filesystem&gt; will be deprecated via an
impossible-to-miss preprocessor "#error The &lt;experimental/filesystem&gt;
header providing std::experimental::filesystem is deprecated by
Microsoft and will be REMOVED. It is superseded by the C++17
&lt;filesystem&gt; header providing std::filesystem. You can define
_SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING to acknowledge
that you have received this warning."

* &lt;filesystem&gt; will no longer include &lt;experimental/filesystem&gt;.

In the long term, I believe that vcpkg should detect when it's being
built with VS 2017 15.7 or newer, compile in C++17 mode, include
&lt;filesystem&gt;, and use std::filesystem. (Activating this for VS 2019 16.0
or newer would also be reasonable.) Similarly for other toolsets
supporting std::filesystem.

In the short term, this commit makes vcpkg compatible with the upcoming
deprecation. First, we need to define the silencing macro before
including the appropriate header. I've chosen to define it
unconditionally (without checking for platform or version), since it
has no effect for other platforms or versions. Second, we need to deal
with &lt;filesystem&gt; no longer including &lt;experimental/filesystem&gt;.
I verified that VS 2015 Update 3 contained &lt;experimental/filesystem&gt;
(back then, it simply included the &lt;filesystem&gt; header, where the
experimental implementation was defined; this was later reorganized).
Therefore, all of vcpkg's supported MSVC toolsets have
&lt;experimental/filesystem&gt;, so we can simply always include it.

I've verified that this builds with both VS 2015 Update 3 and
VS 2019 16.1.3 (the current production version).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
VS 2019 16.3 will contain a couple of source-breaking changes:

* &lt;experimental/filesystem&gt; will be deprecated via an
impossible-to-miss preprocessor "#error The &lt;experimental/filesystem&gt;
header providing std::experimental::filesystem is deprecated by
Microsoft and will be REMOVED. It is superseded by the C++17
&lt;filesystem&gt; header providing std::filesystem. You can define
_SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING to acknowledge
that you have received this warning."

* &lt;filesystem&gt; will no longer include &lt;experimental/filesystem&gt;.

In the long term, I believe that vcpkg should detect when it's being
built with VS 2017 15.7 or newer, compile in C++17 mode, include
&lt;filesystem&gt;, and use std::filesystem. (Activating this for VS 2019 16.0
or newer would also be reasonable.) Similarly for other toolsets
supporting std::filesystem.

In the short term, this commit makes vcpkg compatible with the upcoming
deprecation. First, we need to define the silencing macro before
including the appropriate header. I've chosen to define it
unconditionally (without checking for platform or version), since it
has no effect for other platforms or versions. Second, we need to deal
with &lt;filesystem&gt; no longer including &lt;experimental/filesystem&gt;.
I verified that VS 2015 Update 3 contained &lt;experimental/filesystem&gt;
(back then, it simply included the &lt;filesystem&gt; header, where the
experimental implementation was defined; this was later reorganized).
Therefore, all of vcpkg's supported MSVC toolsets have
&lt;experimental/filesystem&gt;, so we can simply always include it.

I've verified that this builds with both VS 2015 Update 3 and
VS 2019 16.1.3 (the current production version).</pre>
</div>
</content>
</entry>
<entry>
<title>[vcpkg] Synchronize vcpkg-base with external repo (#5934)</title>
<updated>2019-04-09T06:26:18+00:00</updated>
<author>
<name>Robert Schumacher</name>
<email>roschuma@microsoft.com</email>
</author>
<published>2019-04-09T06:26:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=b39b0899cb403aa1f2e86f9e111d16d6f1328737'/>
<id>b39b0899cb403aa1f2e86f9e111d16d6f1328737</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[vcpkg] Silence warnings on recent clang</title>
<updated>2018-03-13T13:25:59+00:00</updated>
<author>
<name>Robert Schumacher</name>
<email>roschuma@microsoft.com</email>
</author>
<published>2018-03-13T13:25:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=f72b46690a89a7e19563f93f0eaa5f8a21184254'/>
<id>f72b46690a89a7e19563f93f0eaa5f8a21184254</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[vcpkg-contact-survey] Add monthly survey prompt</title>
<updated>2017-12-02T00:08:09+00:00</updated>
<author>
<name>Robert Schumacher</name>
<email>roschuma@microsoft.com</email>
</author>
<published>2017-12-02T00:08:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=71f8958a069208b08a4bcca207956ef8a15238ab'/>
<id>71f8958a069208b08a4bcca207956ef8a15238ab</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[vcpkg] Push use of UTF-16 to only around Win32 call boundaries.</title>
<updated>2017-10-16T18:44:04+00:00</updated>
<author>
<name>Robert Schumacher</name>
<email>roschuma@microsoft.com</email>
</author>
<published>2017-10-16T18:44:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=7214c3583bdf569bc873305908ec109a6c8716cc'/>
<id>7214c3583bdf569bc873305908ec109a6c8716cc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[vcpkg] Re-layout all files using new organization scheme.</title>
<updated>2017-10-14T01:37:41+00:00</updated>
<author>
<name>Robert Schumacher</name>
<email>roschuma@microsoft.com</email>
</author>
<published>2017-10-14T01:37:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=e17de99599a2f114faab1bb4821fbaad4d266c95'/>
<id>e17de99599a2f114faab1bb4821fbaad4d266c95</id>
<content type='text'>
All filenames and directories are lowercase. Use dots for namespace separation.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All filenames and directories are lowercase. Use dots for namespace separation.
</pre>
</div>
</content>
</entry>
<entry>
<title>Suppress 4768 warning from shlobj.h</title>
<updated>2017-10-03T00:29:11+00:00</updated>
<author>
<name>Alexander Karatarakis</name>
<email>alkarata@microsoft.com</email>
</author>
<published>2017-10-02T23:55:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=e25a31eca8550780ce96586ef27063728441b2e2'/>
<id>e25a31eca8550780ce96586ef27063728441b2e2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[vcpkg] Trap Ctrl-C, enable thread safety for global data structures</title>
<updated>2017-08-25T23:03:57+00:00</updated>
<author>
<name>Robert Schumacher</name>
<email>roschuma@microsoft.com</email>
</author>
<published>2017-08-25T23:03:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=98ee8a949ad4bfdfa9bf0411b552a23c923eaff7'/>
<id>98ee8a949ad4bfdfa9bf0411b552a23c923eaff7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[vcpkg] Improve diagnostics upon port load failure</title>
<updated>2017-06-08T11:32:57+00:00</updated>
<author>
<name>Robert Schumacher</name>
<email>roschuma@microsoft.com</email>
</author>
<published>2017-06-08T07:36:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=247a6cec90004b8666d155eacc0f27d3a6c8fcf9'/>
<id>247a6cec90004b8666d155eacc0f27d3a6c8fcf9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
