Commit graph

11578 commits

Author SHA1 Message Date
Mahdi Mohammadi
da82a23856 Better description for return value of exists 2016-02-29 18:10:24 +08:00
Basile Burg
1d7920d383 fixed issue 15596 2016-02-29 00:16:21 +01:00
Ilya Yaroshenko
9b8a297690 fix issue 15715 2016-02-27 10:08:11 +02:00
Ilya Yaroshenko
aef58835ef templates primitives for byElement* 2016-02-27 10:08:11 +02:00
Ilya Yaroshenko
df4a363e61 fix issue 15714 2016-02-27 10:08:11 +02:00
Superstar64
81ace2f346 added staticSort 2016-02-26 18:26:13 -05:00
H. S. Teoh
39412a3026 Merge pull request #4024 from WebDrake/remove-dodgy-promises
Remove ddoc references to 'second-generation std.random'
2016-02-26 13:29:00 -08:00
Joseph Rushton Wakeling
4031f59d34 Remove ddoc references to 'second-generation std.random'
While it would definitely be nice to deliver on this idea, better not to
mention it until we have an actual implementation lined up and approved.
2016-02-26 22:22:13 +01:00
Atila Neves
5d0ff1e1e5 Introduce "fold" as an alternative to "reduce" 2016-02-26 18:36:34 +01:00
H. S. Teoh
6282dda407 Implement conversion of biguint to octal.
Carried bits in last word must be output at the end.

Add unittest for 3rd/4th word no-carry boundary.

Implement 'o' format specifier in BigInt.toString().
2016-02-25 13:30:35 -08:00
Lars T. Kyllingstad
3ad0489e36 Merge pull request #3995 from quickfur/bigint_bounds
Issue 15678: BigInt("") should not break array bounds
2016-02-25 21:49:35 +01:00
Robert Schadek
5e5a8010ef Merge pull request #4004 from quickfur/cache-ddoc
[doc only] Improve ddoc for std.algorithm.iteration.cache
2016-02-25 12:46:09 +01:00
H. S. Teoh
e819658b3d Merge pull request #4018 from greenify/hotlink_collection_keywords
hotlink common collection keywords for user search
2016-02-24 10:30:12 -08:00
Sebastian Wilzbach
44cc4ffc89 hotlink common collection keywords for user search 2016-02-24 18:39:42 +02:00
H. S. Teoh
5dfa9b218c Merge pull request #4002 from nordlow/patch-1
Tag Code Refs with D ddoc tag for findSkip Documentation
2016-02-24 08:32:24 -08:00
Per Nordlöw
74deecc374 Update searching.d
Tag code with D ddoc tag.
2016-02-24 16:23:01 +01:00
H. S. Teoh
5c53be7676 Merge pull request #3977 from joakim-noah/android
Android update
2016-02-23 13:51:42 -08:00
Ilya Yaroshenko
1e665d24b2 Merge pull request #3928 from burner/dummyrange_variable_type
Make DummyRange work this types other than uint
2016-02-23 15:19:36 +02:00
H. S. Teoh
0a885cd1d0 Merge pull request #4016 from schveiguy/fix_import_deprecations
Fix remaining import deprecation messages
2016-02-22 15:34:53 -08:00
Steven Schveighoffer
7be2a35045 Switch some static imports to selective. 2016-02-22 17:06:29 -05:00
Ilya Yaroshenko
5e1146e4af refactor error messages 2016-02-23 00:00:45 +02:00
Ilya Yaroshenko
f6e274a0d3 Math Index Order 2016-02-23 00:00:45 +02:00
Steven Schveighoffer
b0acb7a394 Fix remaining import deprecation messages 2016-02-22 16:03:12 -05:00
David Nadlinger
972227d286 Merge pull request #4015 from schveiguy/fix_import_deprecations
Fix import issues for std.format and std.stdio to remove deprecation messages
2016-02-22 18:12:26 +01:00
Steven Schveighoffer
fac1bc22b5 Fix import issues for std.format and std.stdio 2016-02-21 18:58:12 -05:00
Steven Schveighoffer
1d1ddfbf5d Fix GCAllocator.expand to properly utilize GC.extend 2016-02-21 17:17:02 -05:00
H. S. Teoh
528573f0c4 Merge pull request #3931 from 9il/ndslice1
Issue 15532 & fix Issue 15540
2016-02-21 09:48:06 -08:00
David Nadlinger
c2ef2f1a6e Merge pull request #3981 from MartinNowak/fix313
fix incorrect imports/fqn usages
2016-02-20 22:51:31 +01:00
Jonathan M Davis
2567a2493a Fix issue# 15654: SysTime.toISOString formats time zones incorrectly.
Previously, it formatted the time zone the same as toISOExtString and
put a colon between the hours and minutes - which is correct for the ISO
extended format, but not the non-extended format. Now, it formats it
correctly per the ISO 9601 standard.

fromISOString temporarily accepts both the extended and non-extended
formats to avoid breaking any programs that have been writing out ISO
strings to read back in later, but eventually, we'll make it so that it
only accepts the non-extended format like it's supposed to.
2016-02-20 13:10:47 -08:00
Martin Nowak
ce2ac192c9 fix incorrect imports/fqn usages
- mostly of the form `import a.b : sym; a.b.sym();`, which is wrong b/c
  selective imports do not add the module to the current scope
2016-02-20 14:41:44 +01:00
H. S. Teoh
b2f1987cb3 Merge pull request #4007 from e10s/meta_repeat
Introduce std.meta.Repeat
2016-02-19 17:06:13 -08:00
H. S. Teoh
fb5f8f2cbf Merge pull request #3978 from John-Colvin/patch-13
Make std.traits.Select work for compile-time expressions
2016-02-19 15:10:35 -08:00
Steven Schveighoffer
b57a61f45f Merge pull request #4008 from quickfur/conv_errmsg
Issue 15695: wrong error message in failed conversion from string to int
2016-02-19 15:59:14 -05:00
John Colvin
b3f05a28d6 Make std.traits.Select work for compile-time expressions 2016-02-19 20:45:27 +00:00
H. S. Teoh
80c5318a38 Merge pull request #3985 from John-Colvin/publicAlias
make std.meta.Alias public and orthogonal to std.meta.AliasSeq
2016-02-19 11:35:16 -08:00
Steven Schveighoffer
6e7ae5aea6 Merge pull request #3996 from sigod/slist-reverse
Issue 12563 - SList: add reverse method
2016-02-19 09:37:49 -05:00
Kazuya Takahashi
b7212fe796 Add std.meta.Repeat to changelog 2016-02-19 23:20:08 +09:00
Kazuya Takahashi
ca28462781 Introduce std.meta.Repeat 2016-02-19 22:46:20 +09:00
H. S. Teoh
ac657e876f Merge pull request #4006 from sigod/curl-appender
std.net.curl: _basicHTTP: use Appender
2016-02-18 15:09:26 -08:00
sigod
d278569480 std.net.curl: _basicHTTP: use Appender for collecting of response data 2016-02-19 00:52:54 +03:00
H. S. Teoh
405858d816 Merge pull request #3859 from BBasile/getopt-checker
Static verification of std.getopt arguments with more helpful error messages
2016-02-17 22:01:21 -08:00
H. S. Teoh
32f032fe65 Merge pull request #4001 from alphaKAI/patch-1
Fix Document of process.d with pipe
2016-02-17 12:33:57 -08:00
H. S. Teoh
c80f3fe5ef Correct invalid character in error message in int parsing code. 2016-02-17 12:29:34 -08:00
H. S. Teoh
d5fe5ab4fa Fix misleading comment. 2016-02-17 11:55:48 -08:00
H. S. Teoh
30035daa88 Flag should be bool, not size_t. 2016-02-17 11:50:05 -08:00
H. S. Teoh
25aae21049 Merge pull request #3798 from JakobOvrum/std_meta_apply
Add std.meta.applyLeft and std.meta.applyRight
2016-02-17 10:39:49 -08:00
H. S. Teoh
887414b364 Delete old dead code. 2016-02-17 10:17:48 -08:00
H. S. Teoh
adc341e914 BigInt("") should not break array bounds.
Throws exception on empty string instead.

Update ddoc.

Also throw on invalid digit strings.
2016-02-17 10:17:48 -08:00
Jakob Øvrum
b04a0eabea Add std.meta.applyLeft and std.meta.applyRight 2016-02-17 22:52:24 +09:00
H. S. Teoh
3237f93c29 Merge pull request #4005 from aG0aep6G/15686
fix issue 15686 - std.uni overloads documentation
2016-02-16 16:34:22 -08:00