Commit graph

218 commits

Author SHA1 Message Date
Feldwor
06efd236b2
Update curl.d
* Fixed missing http variable
* Fixed deprecated concatenation 
```
Error: Implicit string concatenation is deprecated, use "http://upload.wikimedia.org/wikipedia/commons/" ~ "5/53/Wikipedia-logo-en-big.png" instead
```
2019-08-20 12:25:13 +03:00
Iain Buclaw
c6bd674325 std/net/curl.d: Don't call exit in non-main thread 2019-04-06 14:20:38 +02:00
Iain Buclaw
8d51519f3f fix Issue 18519: missing curl + phobos = std.net.curl unittest timing out
Disable the std.net.curl tests in the makefile, not the module.
2019-01-03 15:12:44 +01:00
Iain Buclaw
d36b28c3fc std.net.curl: Shutdown socket before closing in unittest
This fixes a thread deadlock that occurs in the test runner if libcurl
is missing.
2019-01-03 00:53:04 +01:00
Iain Buclaw
1dcb92aade std.net.curl: Check temporary file exists before removing
As seen when libcurl cannot be loaded (missing library), the lack of
checking causes a new exception to be thrown while another is inflight.
2019-01-03 00:53:04 +01:00
Martin Nowak
fea8ee223f Merge remote-tracking branch 'upstream/stable' into merge_stable 2018-12-28 22:25:14 +01:00
Thomas Mader
5279b34946 Add LibcurlPath version option
Adds possibility to specify absolute path to libcurl.
The TZDatabaseDir version option already does the same for the tzdata directory.
This commit enables the same fix for the path to libcurl. It's needed for Operating systems like NixOS without a search path for dynamic libs.
See https://issues.dlang.org/show_bug.cgi?id=15391 for more information.
Additionally I removed the Makefile part of the TZDatabaseDir solution
because the necessary compiler arguments can be easily given via DFLAGS, which is also compiler independent and doesn't use the /tmp dir which leads to problems on NixOS.
2018-12-27 14:55:09 +01:00
Nathan Sashihara
6ffd4e7f28 Replace imports of core.sys.windows.windows to speed up compilation 2018-12-17 21:03:31 -05:00
Vladimir Panteleev
1d4cfe3d88
Fix Issue 19367 - std.net.curl does not understand HTTP/2 status lines 2018-11-08 15:24:23 +00:00
Martin Nowak
95a1713806 Merge remote-tracking branch 'upstream/stable' into merge_stable 2018-10-05 17:26:18 +02:00
Iain Buclaw
fd5facfe04 posix.mak: Enforce whitespace before opening parenthesis for version conditions 2018-09-22 16:57:24 +02:00
wolframw
0f999e0a0a fix issue 18851 2018-09-20 18:52:31 +02:00
wazar
39bb4d7ae8 fix AA test: order of AA elements isn't determined 2018-07-05 02:02:27 +03:00
The Dlang Bot
a56ae8026b
Merge pull request #6542 from wilzbach/underscore
Remove a few cases of underscore escaping
merged-on-behalf-of: Steven Schveighoffer <schveiguy@users.noreply.github.com>
2018-06-04 22:29:52 +02:00
Sebastian Wilzbach
c324714fde Remove a few cases of underscore escaping 2018-06-04 13:05:01 +02:00
Sebastian Wilzbach
14fe47491b Fix Issue 18940 - [std.net.curl]Can't run examples on page. cannot implicitly convert expression 2018-06-04 03:35:59 +02:00
Sebastian Wilzbach
42894784dd Markdownify Phobos
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
The Dlang Bot
35e9807bbe
Merge pull request #6234 from rainers/curl_freeze
fix issue 18519 freebsd 11 + phobos + curl, timing out
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2018-03-11 14:13:44 +01:00
Rainer Schuetze
b8e5bca94b fix issue 18519 freebsd 11 + phobos + curl, timing out
stop the TestServer waiting in accept() before thread_joinall
2018-02-28 12:50:44 +01:00
Sebastian Wilzbach
214aa016ef Temporarily disable curl tests for FreeBSD 32-bit 2018-02-27 23:32:07 +01:00
Jack Stouffer
663b5b9278 Revert addition of StdUnittest 2018-02-20 13:32:32 -05:00
Sebastian Wilzbach
a2985edaad Use -return-exit-code to fail the testsuite on DScanner failures 2018-02-11 01:55:09 +01:00
Sebastian Wilzbach
d9830b739e Fix DScanner warnings 2018-02-10 22:46:32 +01:00
Sebastian Wilzbach
a24b4509ac Remove use of undefined ddoc macros from Phobos 2018-02-09 19:19:57 +01:00
Sebastian Wilzbach
efe5e8f5b0
Merge pull request #6122 from CyberShadow/std-net-curl-async-ns
std.net.curl: Move asynchronous stuff to lazily-instantiated namespace
2018-02-04 14:54:51 +01:00
Vladimir Panteleev
d60fcf6a6b
std.net.curl: Move asynchronous stuff to lazily-instantiated namespace
Allows avoiding importing std.concurrency unless asynchronous
functionality actually needed. Improves impact on import time by about
15%.
2018-02-04 11:48:51 +00:00
Elias Batek
e93781ee9b
Update win32 libcurl link
The real download can be found in the directory `other` of the *Release Archive*. It was not really straight forward to just link the download page.

Usually people don't like playing hide and seek while coding.
2018-02-03 21:08:30 +01:00
SHOO
c97bf685ec remove trailing whitespace 2018-01-28 04:39:47 +09:00
SHOO
80f4709a98 Fix Issue 18316 - std.net.curl.SMTP.mailTo fails to compile 2018-01-28 03:57:59 +09:00
Sebastian Wilzbach
b9eaa3b1bd Fix Issue 18278 - writef documentation 404 error 2018-01-26 10:17:47 +01:00
Martin Nowak
e31e7293ff remove stale comment 2018-01-14 22:25:32 +01:00
Sebastian Wilzbach
7de3787876 Use static foreach in Phobos 2018-01-03 17:30:11 +01:00
The Dlang Bot
da00e8f390
Merge pull request #5927 from wilzbach/udflags
Add a StdUnittest version
merged-on-behalf-of: David Nadlinger <code@klickverbot.at>
2017-12-21 13:10:52 +01:00
Sebastian Wilzbach
2678754347 Add StdUnittest to std.net.curl + stdx.allocator 2017-12-21 09:36:10 +01:00
Sebastian Wilzbach
91eaa508c4 Address review 2017-12-15 20:02:58 +01:00
Sebastian Wilzbach
ca0777a1a7 Make imports in std.net.curl local & lazy 2017-12-15 11:41:31 +01:00
Ky-Anh Huynh
1c1c8a6455 std.net.curl: Fix getTiming example 2017-10-07 13:20:22 +07:00
The Dlang Bot
4cfe0f38bc Merge pull request #5551 from MartinNowak/http_status_exception
throw specific HTTPStatusException on http request errors
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-07-08 21:06:22 +02:00
Martin Nowak
97e9db7f02 throw specific HTTPStatusException on http request errors
- To make them distinguishable from (e.g. connection) errors and allow
  appropriate handling in client code.
2017-07-08 14:01:49 +02:00
RazvanN7
e40a35675a Fix Issue 17540 - std.net.curl: HTTP no possibillity to set CURLOPT_NOPROXY 2017-07-06 19:28:15 +02:00
Walter Bright
e37ce5aa62 Merge pull request #5468 from andralex/nononosharedstaticzisincurl
Eliminate shared this from std/net/curl.d
2017-06-30 13:06:40 -07:00
The Dlang Bot
fc5e0d37ee Merge pull request #5522 from JackStouffer/datetime-imports
Switched package-wide datetime imports to new sub-packages
merged-on-behalf-of: Vladimir Panteleev <github@thecybershadow.net>
2017-06-30 20:23:02 +02:00
Jack Stouffer
20d40a954c Switched package-wide datetime imports to new sub-packages 2017-06-30 13:51:53 -04:00
Sebastian Wilzbach
818deb3615 Fix DDoc macros 2017-06-30 01:39:24 +02:00
Sebastian Wilzbach
2ec7e9199b Fix Ddoc comments 2017-06-21 05:10:24 +02:00
Vladimir Panteleev
d0b9555a06
Revert "Sort selective imports"
This reverts commit 998ad51fd7.
2017-06-13 17:51:52 +00:00
Sebastian Wilzbach
998ad51fd7 Sort selective imports 2017-06-12 08:12:09 +02:00
Sebastian Wilzbach
61717ecc7d Sort imports 2017-06-12 07:54:38 +02:00
Andrei Alexandrescu
f1455701ea Eliminate shared this from std/net/curl.d 2017-06-11 14:05:41 -04:00
Jonathan M Davis
07fddbb388 Move deprecations along. 2017-05-07 11:27:48 +02:00