Commit graph

11003 commits

Author SHA1 Message Date
Eduard Staniloiu
f5c1e47258 Addressed comments. Refactored code. Fixed bugs. 2016-12-15 17:51:44 +02:00
Eduard Staniloiu
3209adfd74 Fixed cast bug that caused the bitmask to be a 32bit int for long and ulong types 2016-12-15 17:51:44 +02:00
Eduard Staniloiu
0b7cb1639b std.range: implement bitwise adapter over Integral type Ranges 2016-12-15 17:51:44 +02:00
Vladimir Panteleev
3f8298e853 Merge pull request #4939 from John-Colvin/patch-19
use WindowsException for errors from windows api
2016-12-15 14:11:15 +03:00
RazvanN7
0d0ca991a9 Issue 14294 - partialSort should also accept two ranges 2016-12-12 17:18:18 +02:00
Andrei Alexandrescu
19445fc71e Merge pull request #4940 from Darredevil/issue-4125
Fix Issue 4125 - std.numeric.gcd can use a binary GCD
2016-12-12 09:19:56 -05:00
Alexandru Razvan Caciulescu
6b4c2585fe Fix Issue 4125 - std.numeric.gcd can use a binary GCD 2016-12-12 15:39:40 +02:00
Steven Schveighoffer
43a4d2cc1e Merge pull request #4934 from John-Colvin/fix_spawn
Fix Issue 16955 - std.process.spawnProcessImpl can crash due to alloca
2016-12-11 14:12:53 -05:00
Sebastian Wilzbach
c352281212 Enforce Allman style for do { 2016-12-09 17:40:50 +01:00
John Colvin
aec837beca Fix Issue 16955 - std.process.spawnProcessImpl can crash due to alloca 2016-12-09 16:39:09 +00:00
John Colvin
73242a329f add explanatory comment in environment unittest 2016-12-09 16:07:03 +00:00
John Colvin
68b1ab0ae1 use WindowsException for errors from windows api 2016-12-09 16:05:41 +00:00
Andrei Alexandrescu
b100b859a5 Merge pull request #4928 from somzzz/issue_15421
fix issue_15421 [reloaded] - The behaviours of the topNs differ with the bottom
2016-12-09 10:29:17 -05:00
Andrei Alexandrescu
333383e778 Merge pull request #4938 from John-Colvin/windows_getEnv
Improve getting environment variables on windows
2016-12-08 20:40:18 -05:00
John Colvin
fe29c5ba51 cosmetics 2016-12-09 00:35:07 +00:00
John Colvin
bbf8f2ab59 move to infinite looping to get env var 2016-12-08 21:47:43 +00:00
John Colvin
37849e1c93 harden window get environment variables 2016-12-08 21:45:54 +00:00
somzzz
682536d586 fix issue 155421 2016-12-08 13:43:56 -08:00
Ilya Yaroshenko
5c770fba08 Merge pull request #4933 from sprinkle131313/master
Issue 13429: make sicmp and icmp @nogc nothrow.
2016-12-08 23:09:23 +02:00
Ilya Yaroshenko
60fe72b197 fix back for byElement
fix style
2016-12-08 19:17:50 +02:00
Ilya Yaroshenko
25b1e12254 remove byElement specialisation for N = 1 2016-12-08 18:43:48 +02:00
Ilya Yaroshenko
d2e024d9bb deprecate not nothrow API in ndslice and make binary representation public 2016-12-08 18:43:43 +02:00
Andrei Alexandrescu
e93695e902 Merge pull request #4909 from ntrel/variant-tests
std.variant: Guard documented unittest members in VariantN
2016-12-08 09:58:02 -05:00
Sebastian Wilzbach
0e9f16ebe9 Reenable style checking of std/conv.d 2016-12-08 13:15:15 +01:00
Sebastian Wilzbach
f0c5a9fad6 Follow-up style fixes for December 2016-12-08 12:32:24 +01:00
Sebastian Wilzbach
b82ae35fd7 Use void for auto function without return statement 2016-12-08 12:32:14 +01:00
Nick Treleaven
8c2c11dbdf std.variant: Guard documented unittest members in VariantN
Move a non-documented unittest out of VariantN.
2016-12-08 10:53:57 +00:00
Sebastian Wilzbach
2c8166318b Follow-up style fixes for November 2016-12-08 01:46:47 +01:00
Sebastian Wilzbach
64217c8965 Style fix: specify/remove local imports 2016-12-08 01:46:47 +01:00
Sebastian Wilzbach
6f1690f6b1 Style fix: enforce allman style 2016-12-08 01:46:46 +01:00
Sebastian Wilzbach
1ca4d31e21 Style fix: package wide std.algorithm imports 2016-12-08 01:46:46 +01:00
Sebastian Wilzbach
c5ba7c7d0b Style fix: Add whitespace between import colon 2016-12-08 01:46:46 +01:00
Sebastian Wilzbach
df2e72d113 Style fix: add whitespace after if/while 2016-12-08 01:46:46 +01:00
Andrei Alexandrescu
99398975d4 Merge pull request #4912 from RazvanN7/bootcamp_fixes
Issue 5236 - raw reading for integers and a few refactorings
2016-12-07 12:47:56 -05:00
Ilya Yaroshenko
9046849d36 Merge pull request #4932 from dlang/stable
merge stable into master
2016-12-07 18:08:59 +02:00
Andrei Alexandrescu
9eb35e11b3 Merge pull request #4929 from somzzz/issue_13314
fix issue 13314  - BinaryHeap assumes Store has dup property
2016-12-06 22:54:28 -05:00
somzzz
b339da57ed unittest for dup present and missing in Store 2016-12-06 17:00:41 -08:00
Andrei Alexandrescu
98a7c44aaf Merge pull request #4907 from RazvanN7/Issue_8828
Issue 8829 - std.algorithm.find fails to take advantage of SortedRange
2016-12-06 17:57:06 -05:00
somzzz
4c708c7566 comment 2016-12-06 10:17:46 -08:00
sprinkle131313
40787cee7f Issue 13429: make sicmp and icmp @nogc nothrow 2016-12-06 12:11:29 -05:00
RazvanN7
ff4b6b9e65 Solved a minor bug 2016-12-06 16:01:21 +02:00
Jack Stouffer
94d3786d69 Merge pull request #4923 from ntrel/variant-opIndexOpAssign
Fix Issue 16758 - Variant.opIndex result not modified after opAssign
2016-12-06 13:46:46 +00:00
Jack Stouffer
eef757a0ab Merge pull request #4910 from ntrel/variant-opIndexAssign
Ensure VariantN.opIndexAssign takes a suitable value
2016-12-06 13:18:30 +00:00
RazvanN7
2e896520c9 Applied review feedback, fixed some bugs + added unit tests for them 2016-12-06 13:52:24 +02:00
RazvanN7
60396a1d67 Fixed some issues 2016-12-06 13:19:57 +02:00
RazvanN7
71ffa25d8a added a comment 2016-12-06 13:19:57 +02:00
RazvanN7
e4b82503b8 Issue 8829 - std.algorithm.find fails to take advantage of SortedRange 2016-12-06 13:19:57 +02:00
RazvanN7
752b2ca210 Issue 8829 - std.algorithm.find fails to take advantage of SortedRange 2016-12-06 13:19:57 +02:00
RazvanN7
818d512007 Issue 8829 - std.algorithm.find fails to take advantage of SortedRange 2016-12-06 13:19:57 +02:00
RazvanN7
d6519853e1 Issue 8829 - std.algorithm.find fails to take advantage of SortedRange 2016-12-06 13:19:57 +02:00