<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/curl.git/lib/system_win32.c, branch bagder/https-proxy-tests</title>
<subtitle>github.com: bagder/curl.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/'/>
<entry>
<title>nit: Copyright year out of date</title>
<updated>2020-02-19T07:04:35+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-02-19T06:53:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=05b1b3508535bfe1fe6c8f76e7e8ddbda6f7b7d6'/>
<id>05b1b3508535bfe1fe6c8f76e7e8ddbda6f7b7d6</id>
<content type='text'>
Follow-up to 1fc0617dcc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follow-up to 1fc0617dcc
</pre>
</div>
</content>
</entry>
<entry>
<title>tool_util: Improve Windows version of tvnow()</title>
<updated>2020-02-18T20:52:13+00:00</updated>
<author>
<name>Jay Satiro</name>
<email>raysatiro@yahoo.com</email>
</author>
<published>2020-01-24T08:34:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=1fc0617dccc3fa138235f219e2eaa7b405d1162e'/>
<id>1fc0617dccc3fa138235f219e2eaa7b405d1162e</id>
<content type='text'>
- Change tool_util.c tvnow() for Windows to match more closely to
  timeval.c Curl_now().

- Create a win32 init function for the tool, since some initialization
  is required for the tvnow() changes.

Prior to this change the monotonic time function used by curl in Windows
was determined at build-time and not runtime. That was a problem because
when curl was built targeted for compatibility with old versions of
Windows (eg _WIN32_WINNT &lt; 0x0600) it would use GetTickCount which wraps
every 49.7 days that Windows has been running.

This change makes curl behave similar to libcurl's tvnow function, which
determines at runtime whether the OS is Vista+ and if so calls
QueryPerformanceCounter instead. (Note QueryPerformanceCounter is used
because it has higher resolution than the more obvious candidate
GetTickCount64). The changes to tvnow are basically a copy and paste but
the types in some cases are different.

Ref: https://github.com/curl/curl/issues/3309

Closes https://github.com/curl/curl/pull/4847
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Change tool_util.c tvnow() for Windows to match more closely to
  timeval.c Curl_now().

- Create a win32 init function for the tool, since some initialization
  is required for the tvnow() changes.

Prior to this change the monotonic time function used by curl in Windows
was determined at build-time and not runtime. That was a problem because
when curl was built targeted for compatibility with old versions of
Windows (eg _WIN32_WINNT &lt; 0x0600) it would use GetTickCount which wraps
every 49.7 days that Windows has been running.

This change makes curl behave similar to libcurl's tvnow function, which
determines at runtime whether the OS is Vista+ and if so calls
QueryPerformanceCounter instead. (Note QueryPerformanceCounter is used
because it has higher resolution than the more obvious candidate
GetTickCount64). The changes to tvnow are basically a copy and paste but
the types in some cases are different.

Ref: https://github.com/curl/curl/issues/3309

Closes https://github.com/curl/curl/pull/4847
</pre>
</div>
</content>
</entry>
<entry>
<title>win32: make DLL loading a no-op for UWP</title>
<updated>2019-06-25T18:33:07+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2019-06-25T06:26:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=e4b5dd29874c5746a35e9b3b8c8cfd01ffa4363a'/>
<id>e4b5dd29874c5746a35e9b3b8c8cfd01ffa4363a</id>
<content type='text'>
Reported-by: Michael Brehm
Fixes #4060
Closes #4072
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported-by: Michael Brehm
Fixes #4060
Closes #4072
</pre>
</div>
</content>
</entry>
<entry>
<title>url: Load if_nametoindex() dynamically from iphlpapi.dll on Windows</title>
<updated>2019-05-29T06:19:20+00:00</updated>
<author>
<name>Steve Holme</name>
<email>steve_holme@hotmail.com</email>
</author>
<published>2019-05-28T21:07:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=09eef8af18c7cc1a20f132843880f60f692d76c8'/>
<id>09eef8af18c7cc1a20f132843880f60f692d76c8</id>
<content type='text'>
This fixes the static dependency on iphlpapi.lib and allows curl to
build for targets prior to Windows Vista.

This partially reverts 170bd047.

Fixes #3960
Closes #3958
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes the static dependency on iphlpapi.lib and allows curl to
build for targets prior to Windows Vista.

This partially reverts 170bd047.

Fixes #3960
Closes #3958
</pre>
</div>
</content>
</entry>
<entry>
<title>system_win32: move win32_init here from easy.c</title>
<updated>2019-03-02T06:49:48+00:00</updated>
<author>
<name>Jay Satiro</name>
<email>raysatiro@yahoo.com</email>
</author>
<published>2019-02-28T08:03:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=db374c50db4df17d528c0383c8928cd9c7fb0e97'/>
<id>db374c50db4df17d528c0383c8928cd9c7fb0e97</id>
<content type='text'>
.. since system_win32 is a more appropriate location for the functions
and to extern the globals.

Ref: https://github.com/curl/curl/commit/ca597ad#r32446578
Reported-by: Gisle Vanem

Closes https://github.com/curl/curl/pull/3625
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
.. since system_win32 is a more appropriate location for the functions
and to extern the globals.

Ref: https://github.com/curl/curl/commit/ca597ad#r32446578
Reported-by: Gisle Vanem

Closes https://github.com/curl/curl/pull/3625
</pre>
</div>
</content>
</entry>
<entry>
<title>Silence GCC 8 cast-function-type warnings</title>
<updated>2018-08-11T17:19:03+00:00</updated>
<author>
<name>Marcel Raad</name>
<email>Marcel.Raad@teamviewer.com</email>
</author>
<published>2018-08-09T15:19:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=25d2a1bae7871986eabdbe68dc05c5b6473ad4d7'/>
<id>25d2a1bae7871986eabdbe68dc05c5b6473ad4d7</id>
<content type='text'>
On Windows, casting between unrelated function types is fine and
sometimes even necessary, so just use an intermediate cast to
(void (*) (void)) to silence the warning as described in [0].

[0] https://gcc.gnu.org/onlinedocs/gcc-8.1.0/gcc/Warning-Options.html

Closes https://github.com/curl/curl/pull/2860
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On Windows, casting between unrelated function types is fine and
sometimes even necessary, so just use an intermediate cast to
(void (*) (void)) to silence the warning as described in [0].

[0] https://gcc.gnu.org/onlinedocs/gcc-8.1.0/gcc/Warning-Options.html

Closes https://github.com/curl/curl/pull/2860
</pre>
</div>
</content>
</entry>
<entry>
<title>system_win32: fix version checking</title>
<updated>2018-07-25T20:15:01+00:00</updated>
<author>
<name>djelinski</name>
<email>30433125+djelinski@users.noreply.github.com</email>
</author>
<published>2018-07-25T12:01:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=d0d48b42763ec8649196fbf7648ad9de0127dc27'/>
<id>d0d48b42763ec8649196fbf7648ad9de0127dc27</id>
<content type='text'>
In the current version, VERSION_GREATER_THAN_EQUAL 6.3 will return false
when run on windows 10.0. This patch addresses that error.

Closes https://github.com/curl/curl/pull/2792
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the current version, VERSION_GREATER_THAN_EQUAL 6.3 will return false
when run on windows 10.0. This patch addresses that error.

Closes https://github.com/curl/curl/pull/2792
</pre>
</div>
</content>
</entry>
<entry>
<title>spelling fixes</title>
<updated>2017-03-26T21:56:23+00:00</updated>
<author>
<name>klemens</name>
<email>ka7@github.com</email>
</author>
<published>2017-03-26T15:02:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=f7df67cff0a756eefc8daea36e6468df694a43d0'/>
<id>f7df67cff0a756eefc8daea36e6468df694a43d0</id>
<content type='text'>
Closes #1356
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #1356
</pre>
</div>
</content>
</entry>
<entry>
<title>win: fix Universal Windows Platform build</title>
<updated>2016-10-16T10:09:12+00:00</updated>
<author>
<name>Marcel Raad</name>
<email>raad@teamviewer.com</email>
</author>
<published>2016-10-01T15:55:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=422db18f15925b8ad7983329ca08041049783071'/>
<id>422db18f15925b8ad7983329ca08041049783071</id>
<content type='text'>
This fixes a merge error in commit 7f3df80 caused by commit 332e8d6.

Additionally, this changes Curl_verify_windows_version for Windows App
builds to assume to always be running on the target Windows version.
There seems to be no way to determine the Windows version from a
UWP app. Neither GetVersion(Ex), nor VerifyVersionInfo, nor the
Version Helper functions are supported.

Bug: https://github.com/curl/curl/pull/820#issuecomment-250889878
Reported-by: Paul Joyce

Closes https://github.com/curl/curl/pull/1048
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes a merge error in commit 7f3df80 caused by commit 332e8d6.

Additionally, this changes Curl_verify_windows_version for Windows App
builds to assume to always be running on the target Windows version.
There seems to be no way to determine the Windows version from a
UWP app. Neither GetVersion(Ex), nor VerifyVersionInfo, nor the
Version Helper functions are supported.

Bug: https://github.com/curl/curl/pull/820#issuecomment-250889878
Reported-by: Paul Joyce

Closes https://github.com/curl/curl/pull/1048
</pre>
</div>
</content>
</entry>
<entry>
<title>Curl_verify_windows_version: minor edit to avoid compiler warnings</title>
<updated>2016-08-27T16:08:16+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2016-08-27T16:08:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=a6ddd6555e02bb3114e3d193f7474c402269a040'/>
<id>a6ddd6555e02bb3114e3d193f7474c402269a040</id>
<content type='text'>
... instead of if() before the switch(), add a default to the switch so
that the compilers don't warn on "warning: enumeration value
'PLATFORM_DONT_CARE' not handled in switch" anymore.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... instead of if() before the switch(), add a default to the switch so
that the compilers don't warn on "warning: enumeration value
'PLATFORM_DONT_CARE' not handled in switch" anymore.
</pre>
</div>
</content>
</entry>
</feed>
