Commit graph

141 commits

Author SHA1 Message Date
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
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
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
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
ljubobratovicrelja
946dce263f Added hint in docs about overlapped blocks. 2016-11-05 14:14:12 +01:00
Martin Nowak
0f5b131d0a Merge remote-tracking branch 'upstream/stable' into merge_stable
Conflicts:
        std/traits.d
2016-11-05 12:15:09 +01:00
Andrei Alexandrescu
00ce4ed3a1 Merge pull request #4865 from 9il/tohash
fix issue 16609
2016-11-01 13:32:55 -04:00
Martin Nowak
dff5422fa5 Merge pull request #4873 from 9il/stable
️Implicit cast to const slices in case of underlaying range is a pointer.
2016-10-24 08:54:06 +02:00
Ilya Yaroshenko
821ccc907b Implicit cast to const slices in case of underlaying range is a pointer. 2016-10-16 18:55:15 +02:00
Ilya Yaroshenko
5ebd773343 reduce test template bloat 2016-10-16 17:14:58 +02:00
Ilya Yaroshenko
52767078cc fix issue 16419 2016-10-16 12:47:04 +02:00
Ilya Yaroshenko
7120a2fa86 add note about Mir 2016-10-01 08:30:01 +02:00
Ilya Yaroshenko
2ad1da6e2b update ndslice tables 2016-10-01 08:04:27 +02:00
Ilya Yaroshenko
a3d18ebbec add slice.as 2016-09-30 21:28:59 +02:00
Ilya Yaroshenko
1c9ff2f1ed fix mixin style 2016-09-30 16:16:39 +02:00
Ilya Yaroshenko
545dfd08d7 workaround for Issue 16473 2016-09-30 16:13:35 +02:00
Ilya Yaroshenko
a90f857754 reduce ndslice template bloat part 2 2016-09-30 01:43:15 +02:00
Ilya Yaroshenko
c39ec4cd43 reduce ndslice template bloat part 1 2016-09-30 01:43:05 +02:00
Ilya Yaroshenko
99532a8f41 fix issue 16503 : add fast math bridge for LDC 2016-09-23 20:29:28 +02:00
Ilya Yaroshenko
a3f205a19e fix 16501 and fix issue 16501 2016-09-23 20:29:15 +02:00
Andrei Alexandrescu
ca39f61132 Merge pull request #4780 from 9il/all
add uninitializedSlice
2016-09-20 13:24:48 -04:00
Ilya Yaroshenko
4f871af02f add uninitialised slice allocation 2016-09-17 01:00:14 +02:00
Andrei Alexandrescu
39957b56ef Merge pull request #4782 from 9il/repeatSlice
add repeatSlice
2016-09-16 18:15:25 -04:00
Andrei Alexandrescu
8170aac80c Merge pull request #4785 from 9il/ab
add anyEmpty and backward for Slice
2016-09-16 18:10:58 -04:00
Ilya Yaroshenko
40d290fe7a add anyEmpty and backward for Slice 2016-09-14 14:11:34 +02:00
Ilya Yaroshenko
a29e41cbfe remove pragma inline for generic code 2016-09-14 13:08:22 +02:00
Ilya Yaroshenko
1ea8b7a12e add repeatSlice 2016-09-14 12:01:05 +02:00
Dmitry Olshansky
488b399c8a Merge pull request #4693 from 9il/iota3
add iotaSlice variant with step
2016-08-09 20:05:48 +02:00
Dmitry Olshansky
31ef7f7c44 Merge pull request #4698 from 9il/zl
relax length constraints
2016-08-09 19:32:44 +02:00
Ilya Yaroshenko
bd33e92935 remove object file 2016-08-04 11:04:27 +02:00
Dmitry Olshansky
fba7339893 Merge pull request #4639 from 9il/mm3
fix Issue 16311 - toHash for Slice is not defined
2016-08-04 11:00:45 +02:00
Ilya Yaroshenko
15c04beabd remove pragma(inline, false) 2016-08-03 16:22:33 +02:00
Ilya Yaroshenko
4866f6c79d add Slice.toHash 2016-07-31 18:07:42 +02:00
David Nadlinger
eb9e676783 Merge pull request #4647 from 9il/assign
fix Issue 16315 and optimise arithmetic operations for Slice
2016-07-31 15:50:26 +01:00
Ilya Yaroshenko
a92618b3a3 relax length constraints 2016-07-31 16:45:30 +02:00
Petar Kirov
fd0ceb2b39 Make iotaSlice implementation easier to understand 2016-07-31 15:18:50 +03:00
Ilya Yaroshenko
3e0a93325b fix Issue 16315, optimise arithmetic operations for Slice 2016-07-31 11:11:47 +02:00