Commit graph

323 commits

Author SHA1 Message Date
Feldwor
6a6b09d176
Add one line of "Example:" Label 2019-08-21 10:44:50 +03:00
Feldwor
e0cc331eb5
Move out comment to outer for consistency 2019-08-21 10:23:47 +03:00
Feldwor
9c62374c56
Asterisk mistake
Co-Authored-By: Vladimir Panteleev <CyberShadow@users.noreply.github.com>
2019-08-20 19:50:08 +03:00
Feldwor
e94895711b
Fix HTTPS issues in the Examples 2019-08-20 19:40:56 +03:00
Feldwor
967b4cfbee
Specifying URL for the request 2019-08-20 19:16:54 +03:00
Feldwor
e775bd9973
Remove all three example lines 2019-08-20 18:31:44 +03:00
Feldwor
b656def0f0
Remove redundant HTTP acronyms, fix spelling 2019-08-20 18:28:02 +03:00
Feldwor
508ac918da
Add missing http declaration 2019-08-20 18:08:01 +03:00
Feldwor
4c00377268
Add empty line 2019-08-20 18:04:48 +03:00
Feldwor
aeea7270bf
Split example into three pieces 2019-08-20 17:30:44 +03:00
Feldwor
d09d4fad98
Update curl.d 2019-08-20 17:03:21 +03:00
Feldwor
d7c66373c5
Use new syntax for concatination 2019-08-20 16:53:27 +03:00
Feldwor
2b192be005
Remove concatination completely
Concatination breaks and give wrong results, so I decided to remove it completely
2019-08-20 12:51:43 +03:00
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
Sebastian Wilzbach
b56db9a061 Use selective top-level module imports in std.{functional,getopt,math,net,outbuffer} 2019-05-23 13:20:04 +02: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
Steven Schveighoffer
d4a35f09da More removal of version(unittest) 2018-04-13 12:20:02 -04: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
09b134a9d4 Fix DScanner - same visibility attribute used as defined on line 1713 2018-02-14 01:43:00 +01:00
The Dlang Bot
cbd6cf154c
Merge pull request #6129 from n8sh/isemail-noregex
Fix Issue 18384 - std.net.isemail is slow to import due to regex
merged-on-behalf-of: Steven Schveighoffer <schveiguy@users.noreply.github.com>
2018-02-13 15:54:46 +01:00
Nathan Sashihara
06e40304b2 Fix Issue 18384 - std.net.isemail is slow to import due to regex
Solution is to remove regex from std.net.isemail. May be worth revisiting
if std.regex compile times improve.
2018-02-11 06:08:45 -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