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
sigod
e478958882
std.concurrency: MessageBox.get: yield if period is zero or negative
2015-12-08 15:42:46 +03:00
Jonathan M Davis
26a4340c30
Remove stray uses of TickDuration from Phobos internals.
2015-12-03 03:01:03 -08:00
Jonathan M Davis
d34164a2ea
Move some deprecations along.
2015-11-26 00:28:38 -08:00
Brian Schott
67c95e6de2
Merge pull request #3715 from dcarp/AliasSeq
...
Rename obsolete TypeTuple to AliasSeq
2015-10-16 20:59:56 -07:00
Vladimir Panteleev
82590904f7
fix Issue 15208 - Eradicate all uses of "Enforcement failed" in Phobos
2015-10-15 23:44:44 +00:00
Dragos Carp
d698887729
Remove obsolete TypeTuple references
...
Replace following names:
std.typetuple -> std.meta
TypeTuple -> AliasSeq
ParameterTypeTuple -> Parameters
FieldTypeTuple -> Fields
std.traits requires more work than search/replace and is left unchanged.
2015-10-13 20:37:44 +02:00
Doado
3772768224
Corrected typo on line 1196 from "varialbe" to "variable". PS Is the use of "analog" correct here? It sounds a bit odd.
2015-09-01 14:04:54 +01:00
sigod
a7a6e91d46
std.concurrency: receiveTimeout: allow negative timeout
2015-08-11 01:49:40 +03:00
sigod
c8048fa488
std.concurrency: receiveTimeout: document behavior with negative timeout
2015-07-25 12:10:53 +03:00
Walter Bright
8f4c07a840
add std.concurrencybase
2015-07-05 00:50:38 -07:00
Dmitry Olshansky
bcedffd0ee
Merge pull request #2943 from MartinNowak/useInitOnce
...
use initOnce for lazy shared initialization
2015-06-26 20:51:14 +03:00
Robert burner Schadek
62662c76cc
fixes c style string concat
2015-05-28 18:27:12 +02:00
Walter Bright
d9a9826e55
Revert "Introducing std.meta package"
2015-05-06 14:36:45 -07:00
Dicebot
a76d90c927
Phobos should only mention tuple as std.typecons.Tuple
2015-05-05 22:22:11 +03:00
Dicebot
82f54a38d3
TypeTuple -> MetaList inside Phobos
2015-05-05 22:22:11 +03:00
Dicebot
73f773838d
import std.typetuple -> import std.meta
2015-05-05 22:22:10 +03:00
Martin Nowak
e7dcf0c20f
replace shared static this with cas based lazy initialization
...
- to avoid circular module dependencies
2015-04-20 16:36:40 +02:00
Robert Schadek
f22559ffc1
Merge pull request #3041 from MartinNowak/synchronizeAttributes
...
fix attributes for synchronized (mtx)
2015-03-10 15:04:05 +01:00
Martin Nowak
196b7bd734
roll back Mutex nothrow
...
- we had troubles turning vibe.d's mutex class
into nothrow and have to undo the changes
for now
- use internal lock_nothrow/unlock_nothrow
functions so that the Scheduler API need
not be changed
2015-03-06 21:49:12 +01:00
Martin Nowak
0915442a55
can't synchronize on a const mutex
...
- deprecate MessageBox.isClosed
2015-03-06 21:41:39 +01:00
Martin Nowak
10cbf750f5
use initOnce for lazy shared initialization
...
- use TickDuration.currSystemTick instead of Clock.currSystemTick
to break cyclic dependency of std.datetime and std.concurrency
2015-02-11 20:31:37 +01:00
Andrei Alexandrescu
d2112760e1
Avoid use after remove from hashtable
2015-01-31 19:33:16 -08:00
Robert burner Schadek
d250e5cc26
Revert "Remove concurrency @trusted workarounds"
...
This reverts commit 299f0183e2661cb2640749a692a3463a0e51c1f9.
thread local forward
thread local default log function forward
nicer imports
forwardMsg must not be final
moved comments to package and started to integerade Martin's log disabling
more compile time function disabling
style and dscanner suggestions
stdThreadLog fix and doc
a lot of updates
* spell fixes
* better tests
* docu changes
docu update
whitespace
moduleLogLevel docu
2015-01-26 16:09:48 +01:00
Dicebot
8a77147276
Relax safety requirements on logging methods
...
Allows logging objects with @system toString
To compensate the change unittest blocks where marked as @safe where
applicable
Remove concurrency @trusted workarounds
Relevant druntime PR has been merged, plain @safe works now
2015-01-25 21:31:24 +01:00