H. S. Teoh
12ccd7518f
No double negatives!
2015-08-27 10:45:18 -07:00
H. S. Teoh
155f433c67
[dox] Add deprecation message to module.
2015-08-27 10:36:10 -07:00
H. S. Teoh
4f5ae2f195
[dox] Add Params: and Returns: to assumeUnique and assumeWontThrow
2015-08-27 10:14:15 -07:00
H. S. Teoh
e4a7a63d5c
[dox] Add Params: and Returns: to the various enforce() overloads.
2015-08-27 09:53:14 -07:00
Dmitry Olshansky
a336f3c7bc
Merge pull request #3497 from aG0aep6G/hasMember
...
std.traits.hasMember: just forward to __traits(hasMember, ...)
2015-08-27 09:29:55 +03:00
Dmitry Olshansky
738e7317d8
Merge pull request #3578 from quickfur/sameHead_index
...
[dox] Add sameHead/sameTail to function list in docs.
2015-08-27 07:48:36 +03:00
vladdeSV
0cb9b9e523
format() returns the correcty type
...
Change type from C to S
Fix error in conv.d
Added isSomeString
Changed unittests
assert message is converted to string
Change S to Char[]
Replace std.conv.convFormat() with alias to std.format.format()
Revert S to Char[]
Change back to Char[]
Remove pure
2015-08-26 11:25:57 +02:00
Robert burner Schadek
0390fba7e7
fix Issue 14940
...
https://issues.dlang.org/show_bug.cgi?id=14940
format
2015-08-26 10:29:00 +02:00
Ilya Yaroshenko
b425797926
fix UUID hash function
...
update
remove spaces
rework docs
change union order
2015-08-26 09:30:11 +03:00
Vladimir Panteleev
8f5a37f174
Merge pull request #3542 from luismarques/fix_issue_14884
...
Fix Issue 14884 - `among` docs broken link to `find` and `canFind`
2015-08-26 03:18:46 +00:00
H. S. Teoh
7d22b3e021
[dox] Improve std.complex ddocs.
...
Add `Params:` and `Returns:`, make unittests ddoc'd examples.
2015-08-25 17:41:38 -07:00
k-hara
6579c574bb
fix Issue 14904 - bad error message in reduce: 'Incompatible function/seed/element'
...
The verbose message is shown only when the given `fun` is actually valid.
2015-08-25 13:38:24 +09:00
Martin Nowak
9fe6ebceaf
fix clearIfSupported implementation
...
- to clear an option like ssl_ctx that depends
on the compile-time configuration of the used
curl library
- update CurlError enum
obsolete4 was reused as CURLE_NOT_BUILT_IN
- unknown_telnet_option was incorrectly named
(doesn't have anything to do with telnet)
2015-08-25 01:05:12 +02:00
Martin Nowak
0663a30751
rangify base parameter of asRelativePath
2015-08-25 00:53:24 +02:00
Robert Schadek
abcf383f11
Merge pull request #3569 from quickfur/leadingrown
...
[dox] Leading rows in Container Primitives table should span all columns.
2015-08-24 22:53:30 +02:00
H. S. Teoh
91910e9e1b
Fix broken hyperlinks to std.algorithm submodules.
2015-08-24 07:20:50 -07:00
Martin Nowak
ced236fb99
don't clean noprogress when dupping the curl handle
...
- fixes the issue that byLineAsync and byChunkAsync
currently always show the default curl progressbar
2015-08-24 15:16:59 +02:00
Martin Nowak
3e09aa89eb
turn off verbose output in test
2015-08-24 15:16:58 +02:00
Martin Nowak
463d24144d
fix type for content length parameter
...
- curl expects a 64-bit curl_off_t type
- change method from size_t to ulong
- checked conversion using to!curl_off_t
- keep testing for magic size_t.max to not
break code
2015-08-24 15:16:58 +02:00
Martin Nowak
4a496c848c
fix Issue 14938 - std.net.curl tests should use localhost or stub any networking
...
- implement test server on second thread that can be
fed with premade responses and records the requests
- rewrite tests
- fix upload which didn't work at all
2015-08-24 15:16:55 +02:00
H. S. Teoh
41abc0c5ec
Add sameHead/sameTail to function list in docs.
2015-08-23 21:24:35 -07:00
Martin Nowak
bd6a629ba6
fix doc generation
...
- example unittests must directly follow the declaration
2015-08-23 17:51:45 +02:00
Martin Nowak
70cd96b12f
add another generate example
...
- based on #3540
2015-08-23 17:51:45 +02:00
Martin Nowak
ceb29a91c0
fix Issue 14877 - std.net.curl needs PATCH http method
...
- use infilesize for anything but post requests
though apparently curl can use both for non-POST
methods
2015-08-23 17:36:36 +02:00
Martin Nowak
2bc204c465
fix docs for HTTP only requests
2015-08-23 17:36:36 +02:00
Martin Nowak
522592c430
[refactor] deduplicate doSend condition
2015-08-23 17:35:51 +02:00
Dmitry Olshansky
82b9820095
Merge pull request #3549 from rcorre/variant-visit-inout-fix
...
Allow Variant.visit to support const types.
2015-08-23 11:37:29 +03:00
Dmitry Olshansky
354778b430
Merge pull request #3570 from MartinNowak/noDataForOptions
...
remove data argument from options
2015-08-23 08:48:16 +03:00
H. S. Teoh
a331d7f870
Merge pull request #3573 from CyberShadow/pull-20150822-162819
...
fix Issue 14949 - Non-descriptive "Enforcement failed" when attemptin…
2015-08-22 10:33:22 -07:00
Vladimir Panteleev
78a0fb92e9
fix Issue 14949 - Non-descriptive "Enforcement failed" when attempting to write to closed file
2015-08-22 16:28:51 +00:00
Martin Nowak
592ce24379
dynamically load libcurl
...
- avoids issues with versioned symbols on different platforms
- lazy loading/initialization of curl library
- fix Issue 13324
- try to load curl from the exe itself before loading a shared library
thus allowing to link against a different or a static curl library
2015-08-22 16:27:45 +02:00
Martin Nowak
9ac2d3c1b0
remove data argument from options
...
- it's unlikely that the non-usage of
OPTIONS body changes anytime soon
2015-08-22 09:34:16 +02:00
Steven Schveighoffer
6df5d551fd
Merge pull request #3296 from aka-demik/Issue-7648
...
Cleanup for Issue 7648: std.stdio expects file names to be encoded in CP_ACP on Windows instead of UTF-8
2015-08-21 16:15:40 -04:00
Vladimris Nordholm
277321b045
Change back to Char[]
2015-08-21 21:26:12 +02:00
Dmitry Olshansky
fadfe88564
Merge pull request #3567 from MartinNowak/fix14760
...
fix Issue 14760 - Clear content-length for libcurl
2015-08-21 11:15:45 +03:00
Dmitry Olshansky
fe6122ce87
Merge pull request #3548 from MartinNowak/master
...
merge byChar, byWchar, and byDchar into a single byUTF implementation
2015-08-21 10:10:17 +03:00
H. S. Teoh
72aa622dc4
Leading rows in Container Primitives table should span all columns.
...
Depends on: https://github.com/D-Programming-Language/dlang.org/pull/1071
2015-08-20 14:58:32 -07:00
H. S. Teoh
17e240b051
Fix typo in chunkBy cheatsheet.
2015-08-20 10:33:36 -07:00
Steven Schveighoffer
de2df2bb04
Merge pull request #3565 from 9rnsr/fix14925
...
Supplemental fix for issue 14925
2015-08-20 08:07:25 -04:00
Martin Nowak
404c3cd9df
fix Issue 14760 - Clear content-length for libcurl
...
- content-length must be set to allow follow-up
post/put/trace requests with empty body
- reset content-length to 0 after _basicHTTP
2015-08-20 12:28:42 +02:00
Martin Nowak
9fbfb7c40a
Revert "Merge pull request #3464 from karronoli/fix-curl-segv"
...
This reverts commit 70028953a9
, reversing
changes made to e873db6c6c
.
2015-08-20 12:19:31 +02:00
H. S. Teoh
03eac95230
Add missing cheatsheet links for ordered and strictlyOrdered.
2015-08-19 22:21:20 -07:00
k-hara
9d24ef3500
Add unittest for the fixed unlisted bug
2015-08-20 09:10:30 +09:00
k-hara
ea811edab9
Supplemental fix for issue 14925 - remove redundant conditions
2015-08-20 09:09:29 +09:00
Martin Nowak
8bf9d9fce4
Merge pull request #3563 from quickfur/chooseAmong_index
...
[dox] Add missing cheatsheet link to chooseAmong.
2015-08-20 02:00:00 +02:00
Martin Nowak
9f366c0ac1
Merge pull request #3564 from Laeeth/patch-1
...
update curl.d documentation
2015-08-20 01:59:01 +02:00
H. S. Teoh
cbd547702c
Add missing cheatsheet link to chooseAmong.
2015-08-19 10:29:09 -07:00
Steven Schveighoffer
3f8b910e2c
Fix issue 14925 -- merge overloads of replaceInPlace to avoid ambiguity
...
with template instantiation. Also, preclude narrow strings and other
invalid combinations (e.g. long[] and int[]) from being selected for
optimized path.
2015-08-19 11:45:02 -04:00
Denis.Hlyakin
3a025da7c6
Cleanup for Issue 7648. Add Non-ASCII characters in filename for unittests.
2015-08-18 15:58:12 +03:00
Martin Nowak
0d710e0279
replace _decode with decodeFront
2015-08-18 13:22:19 +02:00