Commit graph

888 commits

Author SHA1 Message Date
Andrei Alexandrescu
53c9b8b51a Review by JohanEngelen 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
a09c5a7e4b Add const/immutable support 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
d7a4ad96c2 Back to no custom min and max 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
77bb316d8e Adding custom min and max to Checked 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
1a62d66d93 Simplify checked(), replace onBadOpOpAssign with more precise onLowerBound/onUpperBound 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
047687889a Mumble -> Warn 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
edca085de8 Small improvements to documentation 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
ca9543921f Add Mumble, improve documentation 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
522077ea36 Add Saturate, change definition of onBadOpOpAssign 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
157db49e39 Workaround bug in libdparse 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
c9d9920b80 Rename representation to get; add function checked; improve documentation 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
2ca8872101 Review 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
aeb6325c93 Review 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
0033df3bd8 Add dox for ProperCompare 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
cecb6d8916 WIP: add std.experimental.checkedint 2017-02-24 09:12:12 -05:00
Sebastian Wilzbach
64a0814ae4 Issue 16824: fix experimental makeMultidimensionalArray API 2017-02-22 23:32:04 +01:00
Andrei Alexandrescu
30724e67d9 Merge pull request #5166 from wilzbach/dscanner-unittest-safe-or-system
Dscanner: let unittest be @safe or @system
2017-02-22 14:44:08 -05:00
Sebastian Wilzbach
6c9b626e6f [opSlice stye fixup] fix false-positives from the automatic conversion 2017-02-22 06:33:37 +01:00
Sebastian Wilzbach
a36cec8686 DScanner: automatially set all unattributed unittests to @safe or @system 2017-02-22 05:42:04 +01:00
Sebastian Wilzbach
425ab667a3 Automatically set the range style from a..b -> a .. b
Commands:

sed -E "s/([[:alnum:]])[.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]])[.][.] ([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) [.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
2017-02-22 05:37:31 +01:00
Sebastian Wilzbach
805c720595 Unify Phobos by ensuring there's always a space after cast(...)
Command:

sed -E 's/([^"])cast\(([^)]*?)\)([[:alnum:]])/\1cast(\2) \3/g' -i **/*.d
2017-02-21 16:40:20 +01:00
Sebastian Wilzbach
5521541032 Unify assert style to have no spaces between the first brace
Application of:

sed -E "s/assert +\(/assert(/" -i **/*.d
2017-02-21 15:27:15 +01:00
Sebastian Wilzbach
87dec58a41 DStyle: Constraints on declarations should have the same indentation level 2017-02-17 07:36:23 +01:00
Walter Bright
03b6ee586d Merge pull request #5092 from JackStouffer/logger-imports
Removed many global imports from std.experimental.logger.core
2017-02-10 15:51:26 -08:00
Jack Stouffer
7ebfead68b Removed many global imports from std.experimental.logger.core 2017-02-06 11:20:32 -05:00
Basile Burg
63f463b140
style, remove several useless usage of "final"
signals: concerned methods are templatized so never virtual
bitnfa: inside final class, methods always final
2017-02-06 09:34:28 +01:00
Jack Stouffer
bb27aa7bd2 Merge pull request #5029 from somzzz/issue_16564
fix issue 16564 - KRRegion.empty sometimes returns Ternary.no
2017-01-19 08:50:26 -05:00
Jack Stouffer
9dd0f579be Merge pull request #4982 from RazvanN7/Issue_16824
Fix Issue 16824 - std.experimental.allocator.dispose leaks memory
2017-01-17 15:29:04 -05:00
Basile Burg
17cea5abdc
style fix - remove wrong usages of the final attribute 2017-01-16 21:00:13 +01:00
somzzz
8a69b10451 fix issue 16564 2017-01-16 03:40:57 -08:00
RazvanN7
23fcc1cc25 Style changes 2017-01-15 12:11:06 +02:00
RazvanN7
098e52ba21 Created the make/disposeMultidimensionalArray functions + unittest 2017-01-12 19:47:37 +02:00
Sebastian Wilzbach
18ecb6b72c Make more modules publicly runnable on dlang.org 2017-01-06 23:29:55 +01:00
WalterW
f7e14e905b Fix issue 16352 - dead-lock in std.allocator.free_list unittest
This fixes the actual unittest.
2016-12-24 01:40:47 -05:00
WalterW
776202b4e4 SharedFreeList - Fix nodes count desync and use after free on deallocateAll 2016-12-23 12:55:32 -05:00
WalterW
5caa66ef31 Fix issue 16352 - dead-lock in std.allocator.free_list unittest 2016-12-23 12:55:32 -05:00
RazvanN7
936a802b50 Issue 16824 - std.experimental.allocator.dispose leaks memory for arrays of more than 1 dimension 2016-12-21 16:38:59 +02:00
RazvanN7
935d4ada9a Issue 16824 - std.experimental.allocator.dispose leaks memory for arrays of more than 1 dimension 2016-12-21 16:31:44 +02:00
sprinkle131313
0857bdfe27 Enables long line style check. 2016-12-20 04:00:36 -05:00
Sebastian Wilzbach
870cf27bbf Merge pull request #4946 from 9il/rmndslice
deprecate std.experimental.ndslice
2016-12-19 09:32:15 +01:00
Sebastian Wilzbach
cc7f125ed1 Add missing imports to public unittests 2016-12-15 23:23:35 +01:00
Ilya Yaroshenko
e6d9cc9c45 deprecate ndslice
fix import
2016-12-14 17:13: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
Sebastian Wilzbach
b82ae35fd7 Use void for auto function without return statement 2016-12-08 12:32:14 +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
Martin Nowak
26a6857e7b Merge pull request #4889 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
2016-11-21 00:19:08 +01:00
ljubobratovicrelja
c312da1888 Added unittest example demonstrating overlapped blocks. 2016-11-05 14:14:12 +01:00