Commit graph

187 commits

Author SHA1 Message Date
Sebastian Wilzbach
3f44a4cd73 Fix issue 17019 - std.algorithm.iteration.each should be usable with parallel 2018-08-01 16:25:26 +02:00
Sebastian Wilzbach
c324714fde Remove a few cases of underscore escaping 2018-06-04 13:05:01 +02:00
The Dlang Bot
e13e3889ac
Merge pull request #6435 from JackStouffer/input-range-link
Make references to input ranges a link to isInputRange
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-04-15 01:42:45 +02:00
Steven Schveighoffer
d4a35f09da More removal of version(unittest) 2018-04-13 12:20:02 -04:00
Jack Stouffer
e14f89e170 Make references to input ranges a link to isInputRange 2018-04-08 16:19:57 -04:00
Sebastian Wilzbach
6f766dce5d Remove redundant 'static' storage classes 2018-04-05 13:11:48 +02:00
Sebastian Wilzbach
42894784dd Markdownify Phobos
$(D word) -> `word`
2018-04-02 22:32:47 +02:00
Jack Stouffer
663b5b9278 Revert addition of StdUnittest 2018-02-20 13:32:32 -05:00
Jack Stouffer
18cbb29b04 Replaced version(unittest) blocks with version(StdUnittest) 2018-02-01 19:56:59 -05:00
The Dlang Bot
fa0a6192a1
Merge pull request #5951 from acehreli/TaskPool_fold
Fix Issue 18096 - Add fold() to std.parallelism
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-01-17 06:05:48 +01:00
Andrei Alexandrescu
c1c8e8681e
remove surprising emtpy line 2018-01-16 11:58:56 -05:00
Walter Bright
b8291f2d5d std.parallelism: replace explicit code with Throwable.chainTogether() 2018-01-09 00:57:16 +01:00
Ali Çehreli
f9e3dde2bb Use string lambdas in non-documentation unittests to reduce memory usage of dmd 2017-12-28 22:56:23 -08:00
Ali Çehreli
8cfff5e810 Use message with static assert(0), use aliases instead of nested functions, do not use format in CTFE, add more unit tests. 2017-12-26 23:47:12 -08:00
Ali Çehreli
665e4adbce Implement std.parallelism.fold with static if branches instead of with template specializations 2017-12-26 22:40:48 -08:00
Ali Çehreli
673c4e959d Apply review comments: Backticks for inline code, StdUnittest, etc. 2017-12-26 22:40:48 -08:00
Ali Çehreli
c472b2303d Fix Issue 18096 - Add fold() to std.parallelism 2017-12-26 22:40:48 -08:00
Diederik de Groot
31ca73d58d
Port of phobos to DragonFlyBSD
Notes:
- FIXME message related to dragonfly malloc issue (issue reported on upstream dragonfly issue database)
2017-12-20 08:05:49 +01:00
Sebastian Wilzbach
c47c950d84 Manually replace body with do in std.parallelism 2017-11-20 15:33:52 +01:00
Sebastian Wilzbach
df6365092a Replace body keyword with its replacement: do
Automatic replacement with

    sed -i "s/^\([ ]*\)body/\1do/" -i **/*.d
2017-11-20 15:33:52 +01:00
Andrei Alexandrescu
746b9e82f1 Fix visibility issue 2017-10-27 08:11:26 -04:00
Andrei Alexandrescu
4f9b7efbf4 Propagate safety properly 2017-10-26 16:38:41 -04:00
Andrei Alexandrescu
286930a99c Review 2017-10-26 12:10:14 -04:00
Andrei Alexandrescu
58c4f7deed Eliminate static shared this from std/parallelism.d 2017-10-25 17:41:26 -04:00
The Dlang Bot
c0652345e9 Merge pull request #5502 from wilzbach/fix-17539
Fix Issue 17539 - std.parallellism.parallel triggers 'statement not reachable'
merged-on-behalf-of: Vladimir Panteleev <github@thecybershadow.net>
2017-07-04 22:18:10 +02:00
Sebastian Wilzbach
339308b829 Add // nocoverage to non-deterministically covered lines 2017-07-03 23:36:15 +02:00
Sebastian Wilzbach
f3770ba1d6 Fix Issue 17539 - std.parallellism.parallel triggers 'statement not reachable' 2017-06-21 09:58:21 +02:00
Vladimir Panteleev
d0b9555a06
Revert "Sort selective imports"
This reverts commit 998ad51fd7.
2017-06-13 17:51:52 +00:00
Sebastian Wilzbach
998ad51fd7 Sort selective imports 2017-06-12 08:12:09 +02:00
Sebastian Wilzbach
61717ecc7d Sort imports 2017-06-12 07:54:38 +02:00
Vladimir Panteleev
76c6dcc984 Allow ignoring individual lines for coverage analysis
This adds a work-around to the non-deterministic coverage fluctuations
in std.parallelism. Lines with `nocoverage` on them will be excluded
from coverage analysis, and be considered as not containing any code.
2017-05-07 15:26:25 +00:00
Jack Stouffer
516c74bf0b Added some type qualifiers to std.parallelism 2017-03-19 15:01:47 -04:00
Jack Stouffer
d4a890fa09 Removed global std.typecons import from std.parallelism 2017-03-14 16:25:01 -04:00
Jack Stouffer
dddf0991d7 Removed global core.exception import from std.parallelism 2017-03-14 16:25:01 -04:00
Jack Stouffer
dbb7f7a722 Removed global std.math import from std.parallelism 2017-03-14 16:25:01 -04:00
Jack Stouffer
4a7deff8da Removed global std.exception import from std.parallelism 2017-03-14 16:25:00 -04:00
Jack Stouffer
c70cbe6631 Removed global std.conv import from std.parallelism 2017-03-14 16:25:00 -04:00
Jack Stouffer
3d8edd5f96 Removed global std.range import from std.parallelism 2017-03-14 16:25:00 -04:00
Jack Stouffer
114ff0034e Removed global std.algorithm import from std.parallelism 2017-03-14 16:24:58 -04:00
Jack Stouffer
4ce5d44dbb Use underscores for number literals with five or more digits 2017-02-23 09:45:49 -05: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
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
Bastiaan Veelo
4c3ec6adc4 [doc] Remove spurious data section.
Not sure if this hack prevents the line starting with "data:" to be interpreted as a data section, please test.

Note: data sections seem to be an undocumented feature of ddoc: https://dlang.org/spec/ddoc.html

Maybe ddoc should require an empty line above (real) sections?
2017-02-09 18:41:16 +01:00
Sebastian Wilzbach
f0c5a9fad6 Follow-up style fixes for December 2016-12-08 12:32:24 +01:00
ZombineDev
b44fb6bea2 Fix typo introduced in PR #4915 2016-11-22 10:09:38 +02:00
Petar Kirov
a7597df60e Fix issue 16705 - TaskPool.reduce fails to compile "cannot get frame pointer to D main" 2016-11-20 20:55:43 +02:00
Etienne Cimon
856c984b78 Avoid GC Allocations in sharedStaticDtor
The `Thread.opApply` static method will use `realloc` from `core.stdc.stdlib` instead of `gc.gc.GC.malloc` which sometimes fails with `onInvalidMemoryOperationError` when run within a `static ~this` module dtor
2016-10-04 15:04:29 -04:00
Walter Bright
b14de98141 use @system to return pointers to stack 2016-08-24 12:55:52 -07:00
Steven Schveighoffer
c74537000c Fix all windows cycles 2016-07-08 21:07:15 -04:00