Commit graph

177 commits

Author SHA1 Message Date
Andrei Alexandrescu
416ac1f4e9 Merge pull request #801 from CyberShadow/std-net-curl-put-example
std.net.curl: Fix broken HTTP PUT example
2012-09-25 22:27:42 -07:00
Andrei Alexandrescu
87eb83d3b8 Merge pull request #800 from CyberShadow/std-net-curl-binary-post
std.net.curl: Do not assume POST data is null-terminated string
2012-09-25 22:27:11 -07:00
Vladimir Panteleev
57ec88f460 std.net.curl: Do not assume POST data is null-terminated string
This fixes uploading data not containing null characters, or
non-null-terminated data.
2012-09-18 03:58:06 +03:00
Vladimir Panteleev
39f7ea6ccc std.net.curl: Fix broken HTTP PUT example 2012-09-18 03:51:59 +03:00
Vladimir Panteleev
16f0b2ad56 std.net.curl: Fix unittests on Windows 2012-09-18 03:04:55 +03:00
Johannes Pfau
184cc8247d Fix dataTimeout in std.net.curl
* std.net.curl: Added operationTimeout.
* std.net.curl: dataTimeout fixed. (Used to set operation
  timeout instead of inactivity timeout)
2012-09-17 15:11:17 +02:00
SHOO
ede978cb39 Fix for issue 8558 2012-08-18 20:48:24 +09:00
Andrei Alexandrescu
be4bdc5dfa Fix documentation build 2012-04-13 22:05:29 -05:00
Jonas Drewsen
be9cbd854f Automatically add protocol if not present to improve protocol detection.
Set upload curl option on FTP file uploads
2012-04-07 22:05:22 +02:00
k-hara
844b1e16ad final @property 2012-03-20 01:55:31 +09:00
k-hara
80f0da80f8 More @property 2012-03-20 01:03:05 +09:00
Denis Shelomovskij
296de58334 cast(string) is neither necessary nor safe
*`curl_easy_strerror` isn't documented as returning immutable string
2012-02-20 17:05:12 +04:00
Jimmy Cao
8d02b47947 core.stdc.*string*.strlen 2012-02-18 12:49:52 -06:00
Jimmy Cao
1c50ab9659 avoid 1 allocation (per suggestion from Andrei) 2012-02-18 12:43:25 -06:00
Jimmy Cao
b801b26d41 Make exceptions more informative 2012-02-14 23:49:32 -06:00
dawg
a55c4bfaaa no, not the private _TypeTuple from core.time 2012-02-01 02:55:44 +01:00
dawg
2c32205d46 remove access to private function
- std.net.curl uses RefCountedAutoInitialize.yes
2012-01-30 22:44:16 +01:00
Jonas Drewsen
47b785d804 remove unneeded docs 2012-01-25 15:09:11 +01:00
Jonas Drewsen
3a893c3982 Remove docs for async ranges because the ranges are being hidden in functions when bug 2458 has been fixed 2012-01-21 10:27:07 +01:00
Jonas Drewsen
76352a09f5 More fixes from comments by jmdavis 2012-01-20 20:35:14 +01:00
Jonas Drewsen
1639217f7f Mostly fixes from comments by jmdavis 2012-01-19 22:45:34 +01:00
Jonas Drewsen
05ae761a79 Do not use property syntax for regular method calls 2012-01-16 22:11:26 +01:00
Jonas Drewsen
fdfb5c7f8f minor fixes to make std.net.curl compile with recent dmd 2012-01-10 21:10:47 +01:00
Jonas Drewsen
ad8b04a418 Move to etc.curl to std.net.curl 2012-01-10 21:06:18 +01:00
Jonas Drewsen
e05d47b4b2 Move from etc.curl to std.net.curl 2012-01-03 21:08:18 +01:00
David Nadlinger
e312f9898b Strict @property syntax compliance.
This enables the test suite to build with the -property switch enabled.

std.cpuid: vendor()/processor() have not been converted to properties in accordance to core.cpuid.
std.xml: Element.text() cannot be a property due to the optional parameter.
2011-12-04 09:56:14 +01:00
Christian Kamm
de9eaaa3c8 Fix imports in isemail.d.
ElementType is defined in std.range.
2011-10-10 19:21:24 +02:00
Andrei Alexandrescu
169817e9e2 Merge pull request #254 from dawgfoto/master
small bug in isemail
2011-09-13 21:05:11 -07:00
dawg
b51f6ce6fd small bug in isemail 2011-09-13 07:54:21 +02:00
dawg
8783e87185 fix fallout from fixing Bug6652 2011-09-13 07:53:24 +02:00
jmdavis
de1b1a651b Revert "add module to deal with browsers"
This reverts commit 8fef7afec6.
2011-07-21 20:08:08 -07:00
jmdavis
31cd426744 Revert "fix build fail on OSX"
This reverts commit a3073f8a58.
2011-07-21 20:08:05 -07:00
jmdavis
2c6cf1db68 Revert "fix memory leak"
This reverts commit 44ee619089.
2011-07-21 20:07:49 -07:00
Walter Bright
44ee619089 fix memory leak 2011-07-20 12:23:00 -07:00
Walter Bright
a3073f8a58 fix build fail on OSX 2011-07-20 11:14:11 -07:00
Walter Bright
8fef7afec6 add module to deal with browsers 2011-07-19 15:29:43 -07:00
jmdavis
15fb65f1bb Reverted toAsciiLower and toAsciiUpper to toLower and toUpper. 2011-06-22 19:22:27 -07:00
jmdavis
2d310e5e20 Changed the names of some of the std.ascii functions.
isWhite, isLower, isUpper, toLower, and toUpper now have Ascii in their
name, which matches what std.unit does with its versions of those
functions. Hopefully, it should also reduce bugs due to using the wrong
function between the ASCII and unicode versions by making the difference
more obvious.
2011-06-19 18:41:00 -07:00
jmdavis
dd3a0c20a2 Created std.ascii to replace std.ctype.
All of the new, properly camelcased functions in std.ctype have been
moved to std.ascii, and std.ctype has been scheduled for deprecation.
2011-06-14 04:06:54 -07:00
jmdavis
654f35a677 Replaced calls to std.string and std.ctype's tolower with their toLower counterparts. 2011-06-12 16:59:52 -07:00
Jacob Carlborg
258787c1b8 Cut down to the 120 column limit. Converted tabs to spaces. 2011-04-24 13:00:34 +02:00
Jacob Carlborg
014f4ee88d Merge remote branch 'upstream/master' into isemail
Conflicts:
	std/net/isemail.d
2011-04-24 12:51:53 +02:00
jmdavis
fb0ae2b705 Fixed build error on 64-bit Linux. 2011-04-19 02:13:09 -07:00
Jacob Carlborg
f88b4e5ebc Changed the order of the CheckDns members. 2011-04-11 18:05:43 +02:00
Jacob Carlborg
d4b499d654 Reformatted the code to fit within 120 columns. 2011-04-10 15:13:15 +02:00
Jacob Carlborg
a4a4848f9f Updated the docs to reflect the new CheckDns type. 2011-04-04 21:50:29 +02:00
Jacob Carlborg
e13643d81f Removed a list item in the docs. 2011-04-04 21:48:47 +02:00
Jacob Carlborg
786486e51e Added a new function, statusCodeDescription, for getting a descriptive string of a status code. 2011-04-04 21:45:32 +02:00
Jacob Carlborg
4f0e3d5c20 Removed the firstChar function. Added a note about that the DNS check is not implemented. 2011-04-04 21:39:05 +02:00
Jacob Carlborg
cbf2853113 A couple of fixes:
* Formatting of the copyright
* Changed the checkDNS bool to an enum
* Changed the isEmail static assert to a template constraint
* Changed to the correct naming convention for all the enum members
* Make use of "enforce" where appropriate
2011-04-04 21:11:27 +02:00