Nicolas Sicard
4b1e5f8a6a
Fixed whitespace
2016-01-20 22:51:02 +01:00
Andrei Alexandrescu
eba4817874
Add maxCount and maxPos
2016-01-20 12:12:41 -05:00
Nicolas Sicard
5c60f4c02a
Updated sqlite3 to version 3.10.1
2016-01-20 08:58:35 +01: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
Jack Stouffer
478527e3c5
added nextPow2 and truncPow2
2016-01-16 01:11:28 -05:00
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
H. S. Teoh
472931f98f
Merge pull request #3932 from D-Programming-Language/9il-patch-1
...
improve error message in ndslice
2016-01-15 12:44:35 -08: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
David Nadlinger
11485b6b04
Merge pull request #3930 from andralex/topN
...
topN: define behavior for nth >= r.length, improve speed
2016-01-15 08:29:31 +01: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
Andrei Alexandrescu
66e2918040
Merge pull request #3888 from tsbockman/bitop-ulong
...
Update Phobos for druntime PR #1452 core.bitop changes
2016-01-13 23:55:32 -05:00
Andrei Alexandrescu
22615a8e57
Merge pull request #3927 from John-Colvin/patch-12
...
Fix Issue 15561
2016-01-13 22:06:46 -05:00
Martin Nowak
f6b94c8e58
Merge pull request #3905 from 9il/slice
...
[2.070][ndslice] upgrade win*.mak & uncomment unittest with dummyranges
2016-01-13 23:51:33 +01:00
tsbockman
9da546b2a6
core.bitop bsr(), bsf(), and popcnt() now support ulong inputs even on a 32-bit arch.
...
This also fixes a few small issues:
* In std.numeric, `Ulong union` didn't consider endianness, and
* in `roundDownToPowerOf2()`, this expression: (1 << bsr(num)) is always 32-bit,
whereas it should, at a minimum, match the bit-ness of num.
* ilogb() supports integer inputs, but this was undocumented.
2016-01-13 13:54:27 -08:00
Robert burner Schadek
fd55091784
Make DummyRange work this types other than uint
...
* fixating the current DummyRange behaviour in a unittest.
* structured the tests a little
* DummyRange with custom types
style
style again
even more style
spaces
2016-01-13 21:26:21 +01:00
Ilya Yaroshenko
10da3381c1
Merge pull request #3921 from andralex/15553
...
Fix Issue 15553 - topN very inefficient [slower than sort, even for topN(0)] but should be O(n)
2016-01-13 10:07:11 -08:00
John Colvin
563879ae6f
Fix Issue 15561
2016-01-13 18:07:06 +00:00
Vladimir Panteleev
458c1ceb35
fix Issue 12379 - Add toFile function which writes its first argument to a file
2016-01-13 12:29:18 +00:00
Vladimir Panteleev
60448be39a
std.stdio: Add lockingBinaryWriter
2016-01-13 12:29:08 +00:00
Vladimir Panteleev
34fbe76659
std.stdio: Refactor LockingTextWriter.handle_ field into property
2016-01-13 12:28:49 +00:00
Andrei Alexandrescu
1e74490f44
Merge pull request #3855 from JakobOvrum/range_tail
...
Add std.range.tail
2016-01-12 13:35:54 -05:00
Andrei Alexandrescu
718208dfc5
Merge pull request #3846 from aG0aep6G/TypeInfo.initializer
...
TypeInfo.init -> TypeInfo.initializer
2016-01-12 11:40:47 -05:00
Andrei Alexandrescu
0d1a9288c2
Merge pull request #3894 from adamdruppe/import_empty
...
publically import empty too because users expect it
2016-01-12 09:45:37 -05:00
Andrei Alexandrescu
9284ee864c
Merge pull request #3900 from markisaa/issue_15276
...
Issue 15276: Allow users to specify shell for executeShell, pipeShell, spawnShell
2016-01-12 06:59:48 -05:00
Andrei Alexandrescu
dbf8ad9b7b
Merge pull request #3914 from JackStouffer/patch-4
...
Fix Too Permissive Template Constraint in topN
2016-01-12 06:02:23 -05:00
Ilya Yaroshenko
45b3051a9a
Update package.d
2016-01-12 01:02:10 -08:00
Andrei Alexandrescu
3641f466f9
Merge pull request #3919 from 9il/patch-5
...
fix Issue 15543
2016-01-12 03:16:40 -05:00
Jakob Øvrum
8b495a5e60
Remove use of exit() in std.getopt example
...
Supersedes #3875
2016-01-12 16:39:20 +09:00
Andrei Alexandrescu
e2437fee81
Merge pull request #3777 from MartinNowak/fix15222
...
recursively create zip file
2016-01-12 00:54:19 -05:00
Andrei Alexandrescu
47259a4267
Merge pull request #3923 from JakobOvrum/tls_in_reduce
...
Remove TLS variables from ReduceSeedType
2016-01-12 00:30:00 -05:00
Andrei Alexandrescu
2ea33ce0f6
Merge pull request #3920 from 9il/patch-6
...
fix Issue 15549
2016-01-12 00:28:45 -05:00
Jakob Øvrum
c06c1e5a17
Remove TLS variables from ReduceSeedType
2016-01-12 12:40:23 +09:00
Andrei Alexandrescu
a505de3b51
Always return range.save
2016-01-11 13:32:30 -05:00