Commit graph

188 commits

Author SHA1 Message Date
The Dlang Bot
b97aa79fb6 Merge pull request #5665 from aG0aep6G/16230
prepare for fix of druntime issue 16230
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2017-08-01 15:09:18 +02:00
anonymous
7e87d0646a prepare for fix of druntime issue 16230 2017-08-01 09:22:41 +02:00
Sebastian Wilzbach
f46a73ad26 Mark random coverage line in std.concurrency 2017-07-17 22:05:08 +02:00
Sebastian Wilzbach
a5afe1609f Fix Issue 17640 - std.concurrenct writeln conflicts with std.stdio writeln in unittests 2017-07-12 16:03:25 +02:00
Sebastian Wilzbach
10d05229ae Make Phobos module examples runnable 2017-07-02 00:22:13 +02:00
The Dlang Bot
83ae83c178 Merge pull request #5515 from dukc/fiberRangeInterface
Generator implements InputRange interface
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2017-07-01 04:45:55 +02:00
dukc
942da358c2 Some cleanup on imports and comments 2017-07-01 02:10:24 +02:00
Vladimir Panteleev
f89cf8c395
std.concurrency: Fix "Synposis" typo 2017-06-28 19:33:30 +00:00
dukc
5983bcc8de Since std.concurrency.Generator is a class already, I made it to implement
std.range.interfaces.InputRange without having to call inputRangeObject().
2017-06-26 23:49:51 +03:00
The Dlang Bot
abfffae14f Merge pull request #5462 from andralex/concurrencybasesux
Remove std.concurrencybase
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2017-06-17 06:09:08 +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
Andrei Alexandrescu
44a3be48db Remove std.concurrencybase 2017-06-11 11:01:08 -04:00
Jack Stouffer
af4bb44baa Use dfmt on std/concurrency.d 2017-03-19 15:05:35 -04:00
Jack Stouffer
de56aeac09 Added attributes to several functions in std.concurrency 2017-03-10 15:57:56 -05:00
The Dlang Bot
d4ead5fc88 Merge pull request #5255 from JackStouffer/thisTid
Make std.concurrency functions leaner by using static functions
merged-on-behalf-of: David Nadlinger <code@klickverbot.at>
2017-03-10 21:05:43 +01:00
Jack Stouffer
05dbd92369 Make std.concurrency functions leaner by using static functions 2017-03-10 13:56:12 -05:00
Jack Stouffer
46996388e4 Merge pull request #5258 from JackStouffer/Message
Simplify std.concurrency.Message's ctor
2017-03-10 09:28:44 -05:00
Jack Stouffer
c2b49ea55d Simplify std.concurrency.Message's ctor 2017-03-08 15:24:02 -05:00
Jack Stouffer
698ec25c7f Fix spelling mistake in std/concurrency.d 2017-03-08 14:22:56 -05:00
Jack Stouffer
77464845c5 Make the exception ctors documented 2017-03-08 13:18:02 -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
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
87dec58a41 DStyle: Constraints on declarations should have the same indentation level 2017-02-17 07:36:23 +01:00
Walter Bright
38ceeda680 std.concurrency: remove false Ddoc comments 2017-02-11 02:09:19 -08:00
Basile Burg
17cea5abdc
style fix - remove wrong usages of the final attribute 2017-01-16 21:00:13 +01:00
Sebastian Wilzbach
18ecb6b72c Make more modules publicly runnable on dlang.org 2017-01-06 23:29:55 +01:00
Jack Stouffer
971da6a37b Remove some global imports from std.concurrency 2016-09-21 16:10:10 +01:00
Robert burner Schadek
bb119bece3 std.concurrency housekeeping
some review

revert
2016-08-31 08:19:54 +02:00
Rainer Schuetze
17d064e234 fix issue 16386: avoid the assignment operator on an object that has been destroyed 2016-08-14 11:52:00 +02:00
Jack Stouffer
37c26ea54f Removed package wide std.algorithm imports from std.concurrency 2016-07-18 09:38:32 -04:00
Walter Bright
bb5e6a5284 Merge pull request #4537 from atilaneves/std_concurrency_ut
Add @system and @safe to std.concurrency unit tests
2016-07-02 04:25:09 -07:00
Atila Neves
6b12f49b39 Add @system and @safe to std.concurrency unit tests 2016-07-02 10:41:52 +02:00
Jack Stouffer
1e7a168c9a Fixed local imports in std.concurrency 2016-06-30 17:54:13 -04:00
anonymous
7b6745727b Ddoc: CXREF -> REF (sed)
Done by:

arg='\s*([^(),]*)'
from='\$\(CXREF\s'$arg','$arg'\)'
to='$(REF \2, core,\1)'
(find . -type f -name "*.d" -print0; \
    find . -type f -name "*.dd" -print0) | \
xargs -0 sed -i -r "s/$from/$to/g"
2016-06-08 00:22:03 +02:00
Sebastian Wilzbach
1d34a121e9 apply all-man braces in Phobos
// find common cases
sed -E "s/^(\s*)((if|static if|for|foreach|foreach_reverse|while|unittest|switch|else|version).*)\s*\{$/\1\2\n\1{/" -i **/*.d
// catch else-if
sed -E "s/^(\s*)} (else static if| if|else if|else)(.*)\s*\{$/\1}\n\1\2\3\n\1{/" -i **/*.d
// remove created trailing whitespace
sed -i 's/[ \t]*$//' **/*.d
2016-05-31 13:07:53 +02:00
anonymous
764caefa36 XREF -> REF (sed)
Done by:

(find . -type f -name "*.d" -print0; \
    find . -type f -name "*.dd" -print0) | \
xargs -0 sed -i -r \
    's/\$\(XREF\s+([^(),]*),\s*([^(),]*)\)/$(REF \2, std,\1)/g'
2016-05-27 21:32:46 +02:00
Dmitry Olshansky
c1027f1970 Merge pull request #4246 from wilzbach/sed_spaces_part_2
style fix: add space after 'for' operator
2016-04-27 16:17:18 +04:00
Sebastian Wilzbach
d1714c9afb minor style fixes 2016-04-27 04:18:22 +03:00
Sebastian Wilzbach
5a8988c149 style fix: add space after for operator 2016-04-27 02:04:02 +03:00
Sebastian Wilzbach
3d67cd228c style fix: space between operators 2016-04-26 22:26:20 +03:00
Yazan Dabain
9d575fa339 Fix issue 15917 - std.concurrency module destructor causes useless creation of new MessageBox 2016-04-12 22:57:25 +03:00
Dmitry Olshansky
7988eae1d1 Merge pull request #3545 from sigod/patch-1
std.concurrency: receiveTimeout: allow negative timeout
2016-04-12 02:06:09 +04:00
Johan Engelen
4b74c5f687 Remove deprecated std.concurrency.MessageBox.isClosed() const.
Within Phobos, this is the only occurrence of synchronizing on an immutable object. Removal of this deprecated function allows us to resolve Issue 14251.
2016-03-28 11:25:44 +02:00
Sönke Ludwig
09b69b2fdf Add unit test for Tid.toString. 2016-02-09 12:58:21 +01:00
Sönke Ludwig
d6908237c9 Fix Tid.toString().
The previous behavior generated a string that was different for every copy of the same Tid. With this change it outputs the address of the unique MessageBox instance instead.
2016-02-09 12:43:35 +01:00
Shriramana Sharma
5978ca7831 migrate other Phobos modules to use std.exception.basicExceptionCtors 2016-01-17 10:39:37 +05:30
tcak
38bd1b898f Parentheses and redundant spaces are removed. 2016-01-02 15:39:16 +02:00
tcak
c2c682aea8 An extra example is added for spawn function. 2015-12-30 20:06:10 +02:00