Commit graph

10157 commits

Author SHA1 Message Date
Steven Schveighoffer
984b7343a8 Merge pull request #3495 from burner/array_remove_workaround
std.container.array remove workaround
2015-07-16 08:06:07 -04:00
Robert burner Schadek
8f937b10f5 std.container.array remove workaround
there was a bug workaround that works know

moretesting
2015-07-16 09:40:45 +02:00
Robert Schadek
c17c14dab1 Merge pull request #3441 from MetaLang/traits-copyconstness
Add CopyConstness
2015-07-16 09:01:30 +02:00
Walter Bright
69b77f68ef Merge pull request #3492 from quickfur/bitflags_grammar
[trivial] Fix grammar in BitFlags docs.
2015-07-15 22:58:47 -07:00
MetaLang
69d62066d2 Add CopyConstness 2015-07-15 23:14:33 -03:00
Walter Bright
162f1cbd96 Range-ify: std.file chdir and others 2015-07-15 17:02:11 -07:00
Walter Bright
a520b819e1 Range-ify std.file rmdir 2015-07-15 16:59:57 -07:00
H. S. Teoh
0e60a85284 Merge pull request #3490 from burner/assertNotThrownReturnValue
assertNotThrown return value
2015-07-15 15:47:16 -07:00
Robert burner Schadek
6f5983471d assertNotThrown can call expressions that return useful data
this allows the data to be returned from assertNotThrown

returns block
2015-07-16 00:19:27 +02:00
H. S. Teoh
6a27c5803b Fix grammar in BitFlags docs. 2015-07-15 14:54:35 -07:00
Dmitry Olshansky
db4d872d6e Merge pull request #3011 from 9il/float-traits
std.math: №1, change protection
2015-07-15 21:31:02 +03:00
karronoli
7877708089 Fix issue 14762
without clearing options in perform, curl use previous options.
- Prefer CUSTOM request by libcurl
https://github.com/bagder/curl/blob/master/lib/http.c#L1834
- Change to PUT after PUT by libcurl
https://github.com/bagder/curl/blob/master/lib/http.c#L1830
2015-07-16 01:26:32 +09:00
Steven Schveighoffer
098e4c5412 Merge pull request #3488 from JinShil/AliasTuple
Rename AliasSeq to AliasTuple
2015-07-14 17:40:10 -04:00
Mike
74b22a97e1 Rename AliasSeq to AliasTuple 2015-07-14 17:52:05 +09:00
Dmitry Olshansky
ea870fe080 Merge pull request #3466 from karronoli/fix-curl-options-arg
Issue 14763 - Use optionsData argument for options function.
2015-07-14 04:29:48 +03:00
Dmitry Olshansky
70028953a9 Merge pull request #3464 from karronoli/fix-curl-segv
Issue 14760 - Add clearContentLength for avoiding segmentation fault
2015-07-14 03:36:30 +03:00
Dmitry Olshansky
e873db6c6c Merge pull request #3485 from rainers/readln_example
Follow-up to PR 2794 - add better performing example to readln
2015-07-14 02:38:44 +03:00
Jonathan M Davis
4899aa85d2 Implement issue# 14792: Add SysTime.fromUnixTime.
We've had the ability to convert from unix time to SysTime, but it has
been more unwieldy than it should be. This adds fromUnixTime to go with
toUnixTime.

In addition, these changes solve the problem where you sometimes need a
value for unix time that doesn't fit in time_t (e.g. a 64-bit value on a
32-bit system), or you're dealing with a 64-bit time_t on a 32-bit
system (which Windows sometimes does). So, toUnixTime and
stdTimeToUnixTime now take an optional template argument which indicates
how many bits the result should be (defaulting to match the size of
time_t), and fromUnixTime and unixTimeToStdTime now take long rather
than time_t so that they can accept 64-bit values on 32-bit systems.
2015-07-13 16:21:36 -07:00
Rainer Schuetze
6dbae4ad2a add reference to byLine 2015-07-13 23:24:30 +02:00
Rainer Schuetze
e900b2b85b add example to readln with better performance than the basic usage 2015-07-13 22:49:26 +02:00
karronoli
7cbf6c6bff Fix issue 14760 2015-07-14 02:27:35 +09:00
Dmitry Olshansky
497c463e10 Merge pull request #2794 from rainers/issue13856
Fix Issue 13856 - std.stdio.readln stomps arrays
2015-07-13 18:05:08 +03:00
Dmitry Olshansky
30e4ff1717 Merge pull request #3479 from Xinok/issue12966
Fix Issue 12966 - Optimization for BinaryHeap
2015-07-13 01:06:54 +03:00
Rainer Schuetze
cb7bb65a08 remove CR 2015-07-12 10:03:33 +02:00
Dmitry Olshansky
6a595fbd73 Merge pull request #3482 from CyberShadow/pull-20150710-071447
std.algorithm.iteration: Add permutations
2015-07-12 10:30:42 +03:00
Vladimir Panteleev
6079e23d82 std.algorithm.iteration: Add permutations (fix issue 13596) 2015-07-12 03:38:49 +00:00
Dmitry Olshansky
5d17edc745 Merge pull request #2799 from Poita/Issue13650
Fix Issue 13650 - Cannot copy (w)char[] into (w)char[]
2015-07-10 22:32:58 +03:00
Dmitry Olshansky
18f1ab9d2f Merge pull request #3477 from WalterBright/toChars
std.conv add toChars()
2015-07-10 10:15:02 +03:00
Dmitry Olshansky
030595bcb2 Merge pull request #3452 from WalterBright/rangedirit
Range-ify std.path.DirIteratorImpl
2015-07-10 09:16:38 +03:00
Jonathan M Davis
255070aac0 Merge pull request #3478 from MartinNowak/fix11414
adapt druntime paths for fix to Issue 11414
2015-07-09 16:49:02 -07:00
Walter Bright
ee21d0e791 Range-ify std.path.DirIteratorImpl 2015-07-09 15:31:58 -07:00
Walter Bright
8dd8c0856e std.conv add toChars() 2015-07-09 15:29:27 -07:00
Dmitry Olshansky
54563c161b Merge pull request #3231 from tom-tan/uni-MultiArray-raw_ptr-pure-nothrow-nogc
Mark std.uni.MuliArray.raw_ptr as pure, nothrow and @nogc
2015-07-09 12:45:58 +03:00
Andrei Alexandrescu
b7e9336f99 Merge pull request #3447 from WalterBright/rangeattr
Range-ify std.file attribute functions
2015-07-09 01:41:12 -04:00
Andrei Alexandrescu
fcf7cdc22b Merge pull request #3453 from WalterBright/rangecopy
Range-ify std.file.copy()
2015-07-09 00:42:07 -04:00
Andrei Alexandrescu
2b8f99bb03 Merge pull request #3455 from WalterBright/rmformat
remove unnecessary uses of std.format
2015-07-09 00:26:17 -04:00
Xinok
08f0b242d5 Fix for instantiating BinaryHeap!(Array!int)) 2015-07-08 15:10:11 -05:00
Xinok
d52fb87ce7 Remove trailing space... 2015-07-08 11:23:59 -05:00
Xinok
b97a6c2e7e Migrate some heap operations to std.algorithm 2015-07-08 11:18:01 -05:00
Dmitry Olshansky
0e732cb4d6 Merge pull request #3480 from dsp/simplify-case
std.regex: simplify case
2015-07-08 15:50:20 +03:00
David Soria Parra
0b55d6319a std.regex: simplify case statement
The old issue 12603 is fixed according to the issue tracker. Therefore we try to
simplify the case statement as proposed initially.
2015-07-08 14:05:40 +02:00
David Soria Parra
a1de9eea10 std.regex: additional unittests testing ||, --, && and ~~ 2015-07-08 14:05:40 +02:00
Vladimir Panteleev
bf1d655754 std.path: Rename toAbsolutePath, toNormalizedPath, toRelativePath
New names: asAbsolutePath, asNormalizedPath, asRelativePath

Discussion:
http://forum.dlang.org/post/mmktgszutvkqgrjmnice@forum.dlang.org
2015-07-08 11:32:13 +00:00
Dmitry Olshansky
eeaba5091b Merge pull request #3474 from rainers/checkwhitespace2
add checkwhitespace check for the auto-tester
2015-07-08 13:08:37 +03:00
Rainer Schuetze
3a012ccd6b remove trailing white space 2015-07-08 07:00:56 +02:00
Rainer Schuetze
e2e374490a remove CR and tabs 2015-07-08 06:55:20 +02:00
Xinok
cc77356a9d Fix Issue 12966 - Optimization for BinaryHeap 2015-07-07 15:08:11 -05:00
Dmitry Olshansky
7cd3491989 Merge pull request #3475 from dsp/b14529
std.regex: correctly add last character of a set to regex (bugzilla 14529)
2015-07-07 21:27:19 +03:00
Martin Nowak
3399e4b0d0 adapt druntime paths for fix to Issue 11414 2015-07-07 12:10:46 +02:00
David Soria Parra
46831a485e std.regex: correctly add last character of a set to regex (bugzilla 14529)
When encounting the end of a character set ']' we have to correctly add the last
encountered valid character to the regex and resepect flags. This bug caused the
last character to not be correctly case folded if case folding was requested.

This fixes https://issues.dlang.org/show_bug.cgi?id=14529.
2015-07-07 01:32:11 +02:00