Commit graph

90 commits

Author SHA1 Message Date
Alex Rønne Petersen
1c22141596 Merge pull request #967 from 9rnsr/enforceProperty
For the more property enforcement
2012-11-22 22:29:20 -08:00
k-hara
01df2f60be Remove redundant parenthesis for getters, and use assignment syntax for setters 2012-11-23 15:07:17 +09:00
k-hara
2897ca8807 fix Issue 9062 - AddrExp should distinguish the existence of property resolution 2012-11-23 14:25:24 +09:00
Alex Rønne Petersen
5e9b90f9e2 Merge pull request #860 from CyberShadow/std-net-curl-onseek
std.net.curl: Implement seeking in basic HTTP requests
2012-10-19 09:13:17 -07:00
alexrp
b202180295 Remove all uses of sizediff_t in favor of ptrdiff_t. 2012-10-15 04:24:09 +02:00
Vladimir Panteleev
dc5b328d52 std.net.curl: Add unittest for seeking in basic HTTP requests 2012-10-15 03:08:12 +03:00
Vladimir Panteleev
6625029c1c std.net.curl: Implement seeking in basic HTTP requests
This enables reposting the data after a redirect, for example.
2012-10-11 02:03:10 +03:00
Andrei Alexandrescu
cbc0b9a9ca Merge pull request #761 from jmdavis/string
Removed deprecated functions in std.string
2012-10-06 21:50:28 -07:00
Torarin
25e4acd1b5 More tests for std.net.curl.byLine and std.net.curl.byChunk 2012-10-06 14:34:22 +02:00
torarin
2b234a264f Insert missing "HTTP." in front of Method.undefined in std.net.curl._getForRange. 2012-10-06 14:34:16 +02:00
jmdavis
27469366a7 Fix modules which incorrectly use std.string's public imports.
Now, they should be correctly importing for the functions publicly
imported by std.string so that if those public imports are ever removed,
they won't break.
2012-09-30 03:29:37 -07:00
Walter Bright
bf119860f4 fix Win64 varargs bug 2012-09-26 19:26:32 -07:00
Vladimir Panteleev
0a9fbcffb0 std.net.curl: Use std.file.tempDir() in unittests 2012-09-26 08:58:27 +03:00
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