Commit graph

9422 commits

Author SHA1 Message Date
Robert Schadek
c44e239ced Merge pull request #3958 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
2016-01-29 14:54:39 +01:00
Jack Applegame
f790eeeb98 Fix imports. 2016-01-29 13:48:36 +03:00
Jack Applegame
b2e6ed320f Bucketizer unittest update 2016-01-29 13:31:46 +03:00
Ilya Yaroshenko
6ec96dd623 fix Issue 15532 and fix Issue 15540 2016-01-28 22:43:26 -08:00
Ilya Yaroshenko
b258aae620 fix unittests in ndslice.slice 2016-01-28 22:13:33 -08:00
Ilya Yaroshenko
85f72989cf fix unittests in ndslice.package 2016-01-28 22:13:33 -08:00
Ilya Yaroshenko
5cdf968c6d fix unittests in ndslice.selection 2016-01-28 22:13:33 -08:00
Ilya Yaroshenko
ceaa9e5b6f fix unittests in ndslice.iteration 2016-01-28 22:13:33 -08:00
JakobOvrum
eec7609314 Merge pull request #3956 from ZombineDev/patch-3
Fix makeArray for types with disabled this(this)
2016-01-29 08:27:06 +09:00
Dariusz Antoniuk
e9ef91d5d4 Fix a typo in stack allocator usage example
Objs should be deallocated by the same allocator used to allocate them.
2016-01-28 15:16:48 +01:00
H. S. Teoh
02c0083e1c Merge pull request #3942 from andralex/maxPos
Add maxCount and maxPos
2016-01-27 21:18:43 -08:00
Martin Nowak
3b417a98f6 Merge remote-tracking branch 'upstream/stable' into merge_stable 2016-01-27 21:17:17 +01:00
Petar Kirov
6615f6990e Fix makeArray for types with disabled this(this) 2016-01-27 17:39:59 +02:00
AndrewEdwards
096480ecc3 Remove deprecated modules and symbols scheduled for removal in 2015 2016-01-27 18:34:07 +09:00
H. S. Teoh
6a98d6ba03 Better variable naming. 2016-01-26 16:47:43 -08:00
H. S. Teoh
5517fe1bcd Add example of how to use a custom predicate. 2016-01-26 15:52:45 -08:00
Martin Nowak
581574e449 Merge pull request #3935 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
2016-01-25 01:43:05 +01:00
Martin Nowak
861c1c5b39 fixup for #3822
- keep ptr and len as deprecated (unsafe) properties
2016-01-24 23:38:06 +01:00
Jack Applegame
a527393821 fix Bucketizer.owns 2016-01-24 10:04:43 +03:00
Martin Nowak
6be2087858 Merge pull request #3824 from jmdavis/issue15376
Fix for issue# 15376. Get time zone conversions at runtime.
2016-01-23 15:05:59 +01:00
Jonathan M Davis
635cecee55 Fix for issue# 15376. Get time zone conversions at runtime.
It's proven to be a maintenance problem to maintain the time zone
conversions between the IANA TZ database names and the Windows time zone
names in std.datetime. So, rather than compiling them in, this provides
a way to get them at runtime (which will also make it so in the future,
older releases can work properly on up-to-date Windows boxes, which is
not the case currently with regards to time zone conversions). The
current conversion functions can be deprecated after parseTZConversions
has been out for a release (so that it's possible for users to compile
their code for two releases in a row without getting deprecation
messages).
2016-01-23 04:43:26 -08:00
Andrei Alexandrescu
5fa89e9481 Merge pull request #3947 from eco/patch-15
Remove suggestion in documentation to add an alias to uses of Flag
2016-01-22 14:11:40 -05:00
Brad Anderson
7a3837095b Remove and explain Flag alias antipattern 2016-01-22 11:06:13 -07:00
Ilya Yaroshenko
0d639cc6ee Merge pull request #3945 from kinke/kimJongUn
[Windows] std.datetime: Add North Korean timezone
2016-01-21 15:09:00 -08:00
Andrei Alexandrescu
600aad231c Merge pull request #3946 from 9il/cawp
remove Flag alias
2016-01-21 17:11:30 -05:00
Ilya Yaroshenko
bbc2a9d9a2 remove Flag alias 2016-01-21 12:06:34 -08:00
Martin
756e406281 [Windows] std.datetime: Add North Korean timezone
MS recently added it with https://support.microsoft.com/en-us/kb/3093503
2016-01-21 20:57:03 +01:00
aG0aep6G
40a1713eeb fix broken link 2016-01-21 01:48:23 +01:00
Andrei Alexandrescu
eba4817874 Add maxCount and maxPos 2016-01-20 12:12:41 -05:00
Jonathan M Davis
804623012e Merge pull request #3752 from nordlow/unary-startsWith
Add Unary Overload of startsWith() and endsWith()
2016-01-19 22:27:59 -08:00
Basile Burg
ad226e92d5 added getOpt constraint that checks the options
on invalid pattern:
- outputs a message that gives a hint about the wrong type
- includes the index of the wrong option

the message doesn't hide the error origin becasue pragma(msg) is used instead or assert(0)
2016-01-19 18:51:47 +01:00
Per Nordlöw
f7f48475f2 Review updates 2016-01-18 12:45:01 +01:00
Jonathan M Davis
791659460d Merge pull request #3751 from jamadagni/StandardExceptionConstructors
Standard exception constructors
2016-01-17 17:35:14 -08:00
Per Nordlöw
bfebdc7ecc Add alternative commenting 2016-01-17 21:21:39 +01:00
Per Nordlöw
0b934852c3 Add unary overloads for startsWith and endsWith 2016-01-17 21:21:39 +01:00
Martin Nowak
10d1dc4a5b Merge remote-tracking branch 'upstream/stable' into merge_stable 2016-01-17 20:36:06 +01:00
Ilya Yaroshenko
7f24ccfeb5 Merge pull request #3933 from andralex/heap
Faster heap operations
2016-01-16 21:42:40 -08:00
Shriramana Sharma
5978ca7831 migrate other Phobos modules to use std.exception.basicExceptionCtors 2016-01-17 10:39:37 +05:30
Shriramana Sharma
8ddd871779 Add basicExceptionCtors mixin 2016-01-17 10:39:37 +05:30
Andrei Alexandrescu
731e47e242 Merge pull request #3800 from JackStouffer/lambda
Removed string predicates from std.algorithm.iteration documentation
2016-01-15 20:32:40 -05:00
Andrei Alexandrescu
01bdccf310 Improved siftDown and percolate, also documented both 2016-01-15 17:24:49 -05:00
Andrei Alexandrescu
4898908ae1 Merge pull request #3769 from WalterBright/opttochars
std.conv: improve toChars() performance
2016-01-15 16:42:28 -05:00
Walter Bright
08ffa1d2b5 std.conv: improve toChars() 2016-01-15 11:21:28 -08:00
Andrei Alexandrescu
96ece512a2 Use member syntax for swapAt to give the range a chance to intercept it 2016-01-15 12:26:05 -05:00
Andrei Alexandrescu
c12573a337 Faster heap operations 2016-01-15 11:25:28 -05:00
Ilya Yaroshenko
c25b7d5c71 improve error message in ndslice 2016-01-15 01:53:55 -08:00
Andrei Alexandrescu
f259c22987 topN: define behavior for nth >= r.length, improve speed 2016-01-14 23:58:51 -05:00
Andrei Alexandrescu
ac96a3d3c0 Merge pull request #3684 from 9il/shared_free_list
[allocators] add approxMaxNodes for shared free list
2016-01-14 02:48:51 -05:00
Andrei Alexandrescu
e19a597ff7 Merge pull request #3924 from JakobOvrum/std_getopt_example
Remove use of exit() in std.getopt example
2016-01-14 01:50:51 -05:00
Andrei Alexandrescu
a813ac6eed Merge pull request #3925 from 9il/patch-5
Replace sort with topN in ndslice example
2016-01-14 00:53:13 -05:00