Dicebot
73f773838d
import std.typetuple -> import std.meta
2015-05-05 22:22:10 +03:00
Zach the Mystic
d58a2569ac
make comment normal
2015-03-19 01:42:42 -04:00
k-hara
e7b3d834d7
detab and remove trailing whitespaces
2015-02-10 00:56:40 +09:00
anonymous
9309f2b142
[DDoc] add HTML class "quickindex" to manually maintained jump link tables
2015-01-26 11:19:05 +01:00
Ferdinand Majerech
e91bd42e0c
and a $(D ) around CurlException
2015-01-13 22:32:52 +01:00
Ferdinand Majerech
69d12364bc
Link macro fix.
2015-01-13 22:31:22 +01:00
Ferdinand Majerech
088f0e074f
[trivial, but see notes] [DDoc] Throws: in std.net.curl.get()
...
Also added a note about needing to explicitly link `libcurl`.
====
Note:
====
I only added this for `get()` because that's what I have to use right now, but I'm pretty sure other `std.net.curl` functions need `Throws:` sections as well.
Also, a detailed explanation that `CurlException on error` (e.g. possible errors) would be better, but someone knowledgeable needs to do it.
2015-01-13 22:27:26 +01:00
Andrei Alexandrescu
cb044b02aa
Verbatim-related changes in phobos
2015-01-12 00:05:36 -08:00
Andrei Alexandrescu
a13cee766d
Ensure each module has a description at the top.
2015-01-11 14:14:29 -08:00
Martin Nowak
8211903e21
allow to specify throwOnError for high-level wrappers
...
- in HTTP, FTP, SMTP perform
2014-11-22 15:39:09 +01:00
Martin Nowak
99ba1e1b61
use a Flag!"throwOnError" for Curl.perform
2014-11-22 15:39:08 +01:00
Martin Nowak
48f147bf40
use lower-case flag strings
...
- so that Yes.keepTerminator/No.keepTerminator don't look so weird
2014-11-17 20:37:18 +01:00
Ilya Yaroshenko
76eebfe49a
use Flag!"KeepTerminator"
...
CaseSensitive -> Flag
remove Yes/No
remove public keyword
2014-11-17 03:32:32 +03:00
Andrei Alexandrescu
779f086ad2
Merge pull request #2581 from schuetzm/proxyuserpwd
...
Add setProxyAuthentication() in std.net.curl
2014-10-19 12:29:37 -07:00
Geod24
0fb95b8c27
Usage of WEB macro for License everywhere
2014-10-15 11:30:42 +02:00
Marc Schütz
ca7b4faf4b
Add setProxyAuthentication() in std.net.curl
2014-10-05 10:39:16 +02:00
Martin Nowak
f0b69e3172
doc comment for setCookie
2014-09-26 03:12:56 +02:00
Geod24
7100047473
Replace enforceEx with enforce where it's possible
2014-08-25 12:18:02 +02:00
Denis Shelomovskij
ff144b0ae0
Replace most toStringz
/toUTF16z
/toUTFz
usages with tempCString*
ones.
...
Only non-trivial cases left when a refactoring is required to use a temporary buffer.
Also add `nothrow`/`@nogc` attributes.
2014-08-23 17:23:13 +04:00
H. S. Teoh
556625b7e6
Fix ddoc params abuse in std.net.curl.SMTP.onProgress.
2014-08-14 19:14:32 -07:00
H. S. Teoh
7c30e216dd
Fix ddoc params abuse for std.net.curl.FTP.onProgress.
...
Refactor callback params as macro to minimize copy-n-paste.
2014-08-14 19:14:32 -07:00
H. S. Teoh
ecb39e9d98
Fix ddoc params abuse in std.net.curl.HTTP.onProgress.
2014-08-14 19:10:59 -07:00
Михаил Страшун
f901a2d0c2
Merge pull request #1527 from quickfur/post_contentType
...
std.net.curl: Allow user to specify Content-Type in POST requests
2014-07-13 00:40:02 +03:00
H. S. Teoh
d2116889a6
Expand ddoc.
2014-07-12 07:31:37 -07:00
H. S. Teoh
378d01629b
Add method for std.net.curl.HTTP that allows user to specify Content-Type.
2014-07-11 16:43:29 -07:00
Carlos Une
3f95468346
Fix Issue 13042 - std.net.curl.SMTP doesn't send emails with libcurl-7.34.0 or newer
2014-07-07 05:35:24 -03:00
Andrej Mitrovic
e34c3ca875
Fix Issue 8767 - Add note on where to download the curl static library when using x86 Windows.
2014-04-24 20:52:36 +02:00
Andrej Mitrovic
e9329c10d4
Strip spaces.
2014-04-24 20:52:01 +02:00
Trent Clarke
039a237cba
fixes Issue 9054 - std.net.curl byLineAsync and byChunkAsync broken.
2014-04-19 00:29:37 +10:00
Martin Nowak
52a180d507
callback uses size_t not double
...
- Not sure why the curl internal double arguments
are converted to size_t in the first place though.
2014-03-21 17:05:41 +01:00
Yazan S. Dabain
a81f6200cf
[Trivial] Fix documentation typos
2014-02-28 21:08:19 +02:00
Andrej Mitrovic
e25fa58aee
Merge pull request #1923 from CyberShadow/std-net-curl-curloption
...
std.net.curl: Publicly import CurlOption
2014-02-16 14:59:35 +01:00
k-hara
b391b2ec9f
Convert to new alias syntax
2014-02-11 15:27:05 +09:00
k-hara
701768ccfc
fix Issue 12098 - libcurl bad argument on handle null
2014-02-11 12:31:49 +09:00
Vladimir Panteleev
a414010649
std.net.curl: Publicly import CurlOption
2014-02-10 17:25:50 +00:00
Daniel Murphy
a656f26e9e
Remove use of automatic adjacent string literal concatenation from phobos
2014-01-20 03:42:21 +11:00
Walter Bright
9cb7cabc59
Merge pull request #1847 from MartinNowak/fix11879
...
fix Issue 11879 - missing default User-Agent in std.net.curl
2014-01-13 02:28:26 -08:00
Martin Nowak
b84b43ff5d
fix Issue 11879 - missing default User-Agent in std.net.curl
...
- use "Phobos-std.net.curl/2.065 (libcurl/7.32.0)" as
default "User-Agent"
- add method to set a different user agent
2014-01-12 21:31:58 +01:00
monarchdodra
fd8540072d
Remove trailing white
2014-01-08 08:30:28 +01:00
Dmitry Olshansky
3b6cc0cb73
fix issue 11350
...
Do not throw on bad UTF inside of a C callback
2014-01-07 19:23:10 +04:00
Brad Anderson
4b226d9649
Typo "Protcools"
2014-01-02 21:50:44 -07:00
Brad Anderson
8f6394e2b6
Typo "enconding"
2014-01-02 20:41:05 -07:00
Martin Nowak
d0e51e109f
fix Issue 10710 - phobos depends on versioned libcurl
...
- create a libcurl_stub.so for linking
- set it's soname to libcurl.so.4 so that phobos
gets a DT_NEEDED libcurl.so.4 entry
- the runtime linker will load libcurl.so and resolve
all undefined references
- disable pragma(lib, "curl") because it doesn't work
for archives anyways and additionally links against
the real libcurl (dmd appends -L-lcurl when building phobos).
2013-12-20 15:38:11 +01:00
Martin Nowak
39652cbd70
Merge pull request #1757 from jpf91/fixCurl
...
[urgent] Fix possible stack corruption in std.net.curl
2013-12-15 13:51:36 -08:00
gittywithexcitement
672b98677a
update onReceive documentation
...
Return value description was incomplete.
2013-12-12 00:46:59 -08:00
Johannes Pfau
6392e8af36
Fix possible stack corruption in std.net.curl
...
The HTTP and SMTP structs are used as value types. The delegate created
in onReceiveHeader stores a pointer to this HTTP as it needs to access
this.p so we potentially leak a reference to a stack variable here.
As the Impl struct is always allocated on the heap via RefCounted
storing a pointer to Impl is not an issue. So we move the delegate
generation out of HTTP and into impl to make sure it only stores a
pointer to Impl which will stay valid even if the original HTTP object
is moved.
Also reset some delegates in _basicHTTP and _basicFTP to avoid leaving
references to stack variables around.
2013-12-07 20:30:00 +01:00
Carlos Une
cab6c58379
Fix Issue 9737 - std.net.curl and SSL - documentation missing
2013-11-11 22:28:08 -02:00
SeeSchloss
be87817e03
Documentation precisions regarding HTTP/FTP charset encoding
2013-10-19 16:19:48 +02:00
Lionello Lunesu
b4074054ba
Fix issue 10893: added missing or renamed DDoc parameters (found by fix to 10236)
2013-08-31 15:36:29 +08:00
Andrej Mitrovic
4da1639c98
Merge pull request #1337 from 9rnsr/fix_attrs
...
Potentially @safe & pure formatting
2013-06-27 18:53:22 -07:00