Commit graph

564 commits

Author SHA1 Message Date
Q. F. Schroll
da17fdc038 added static asserts for arrays and pointers 2017-03-24 01:51:32 +01:00
Q. F. Schroll
c07db5334f added static assert for * type 2017-03-24 00:58:17 +01:00
H. S. Teoh
633a677144 Nicer error messages for std.typecons.experimental.Final. 2017-03-23 16:19:56 -07:00
Q. F. Schroll
e7086e8254 fix * assignment and improved unit test 2017-03-23 20:57:45 +01:00
Q. F. Schroll
05620ead4b Fix issue 17270 2017-03-23 01:23:42 +01:00
Eduard Staniloiu
dd304f635b Allow AffixAllocator to work with IAllocator 2017-03-16 14:44:46 +02:00
Eduard Staniloiu
85000db4be Make the resolveInternalPointer method abide the IAllocator API 2017-03-15 16:54:31 +02:00
Sebastian Wilzbach
090d5164e8 Fix links from $(LREF $(D ...)) -> $(LREF ...)
sed -E 's/[$]\(D [$]\(LREF (.*)\)\)/$(LREF \1)/' -i **/*.d
2017-03-05 08:11:29 +01:00
Sebastian Wilzbach
5b07bd5939 [BOOKTABLES]: Add BOOKTABLE to stdx.checkedint (#5238)
[BOOKTABLES]: Add BOOKTABLE to stdx.checkedint
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-03-04 08:50:39 +01:00
Sebastian Wilzbach
1dfbb9ad16 [BOOKTABLES]: Add BOOKTABLE to stdx.allocator 2017-03-04 05:07:14 +01:00
Sebastian Wilzbach
d6d6831d3b Remove std.experimental.ndslice (#5187)
Remove std.experimental.ndslice
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2017-03-02 09:02:45 +01:00
Jack Stouffer
e554764c01 Merge pull request #5216 from wilzbach/unluckily-phobos
Replace LUCKY links with actual links
2017-03-01 15:17:19 -05:00
Sebastian Wilzbach
d548e8830a Replace LUCKY links with actual links 2017-02-28 23:46:54 +01:00
Sebastian Wilzbach
427bcb9c71 Fix CircleCi: auto functions that return null should be void 2017-02-28 22:27:51 +01:00
Sebastian Wilzbach
b8a88558a9 Fix Ddoc warnings 2017-02-26 09:33:14 +01:00
Andrei Alexandrescu
a4755b7769 Add simple example at the beginning 2017-02-25 14:26:14 -05:00
Sebastian Wilzbach
78f4e8990e Fix CircleCi for std.experimental.checkedint (add unittest attributes) 2017-02-24 17:20:02 +01:00
Andrei Alexandrescu
4c9e0502a9 Please the style checker although I shouldn't have to 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
5919487140 Use std.math.isNaN instead of comparison to fix failures on Darwin 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
d3ddf0fd38 Improve docs spacing, remove spurious output in unittest 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
30626d289d Improve coverage a bit more 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
0f75fc2ac1 Fix copypasta in documentation 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
082b8b61c8 Add Throw hook, improve coverage, fix a few bugs 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
89df85c412 Lil more coverage 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
cde67f4ca1 Increase coverage, fix bugs 2017-02-24 09:12:12 -05:00
Andrei Alexandrescu
ca164a7d74 Add isNAN function, fix bug 2017-02-24 09:12:12 -05:00
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