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
Steven Schveighoffer
612444ea67
Fix loop during unit tests between std.parallelism and std.range
2016-07-06 11:45:52 -04:00
Walter Bright
1decb74758
remove incorrect use of 'scope'
2016-07-04 13:22:29 -07:00
Jack Stouffer
a485ea00a0
Fixed local imports in std.parallelism
2016-07-01 09:16:22 -04:00
Sebastian Wilzbach
ec47ac4224
Remove the WEB macro in favor of HTTP
...
replacement: sed 's/\$(WEB/\$(HTTP/g' -i **/*.d
2016-06-16 00:14:51 +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
d648f9320e
XREF_PACK -> REF (sed)
...
Done by:
from='\$\(XREF_PACK\s+([^(),]*),\s*([^(),]*),\s*([^(),]*)\)'
to='$(REF \3, std,\1,\2)'
(find . -type f -name "*.d" -print0; \
find . -type f -name "*.dd" -print0) | \
xargs -0 sed -i -r "s/$from/$to/g"
2016-05-27 21:32:46 +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
Sebastian Wilzbach
484f7bfbe0
enforce: whitespace after catch
2016-05-14 15:28:43 +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
Nikolay Tolstokulakov
eff74ed2a2
netbsd patch
2016-03-11 10:10:47 +06:00
Steven Schveighoffer
b0acb7a394
Fix remaining import deprecation messages
2016-02-22 16:03:12 -05:00
Martin Nowak
ce2ac192c9
fix incorrect imports/fqn usages
...
- mostly of the form `import a.b : sym; a.b.sym();`, which is wrong b/c
selective imports do not add the module to the current scope
2016-02-20 14:41:44 +01:00
Benjamin L. Merritt
5f08c058ab
Changed "Examples:" in Ddoc to "Example:"
2015-12-17 18:32:41 -08:00
k-hara
e864e53adc
fix property enforcement
2015-12-04 15:42:53 +09: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
k-hara
35f1f6226a
Supplemental fix for issue 14860
...
`task[] = RTask.init;` has two bugs:
1. `RTask` is a nested struct, so `RTask.init` contains null context pointer.
2. That is a block assignment, so there is a possibility to call
`RTask.~this()` on garbage objects (stack allocated `buf` is initialized by `void`).
Fixed to use `emplaceRef` on each elements.
2015-08-02 19:05:30 +09:00
Walter Bright
67f71a84e9
std.parallelism: move static constructor out of template
2015-07-02 19:55:28 -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
anonymous
b28962635f
fix package XREFs
...
Also add escaping underscores in some places, and rewrap to 80 columns
where touching anyway.
2015-06-15 22:30:41 +02:00
Joakim
3352c90c2e
Separate linux kernel, glibc, and bionic APIs where appropriate
2015-05-27 21:54:52 -05:00
Andrei Alexandrescu
9b9af3196a
Revert "Prefer std.typecons.Flag over booleans for some Phobos arguments"
2015-05-16 18:26:55 -07:00
Matt Kline
d04ebe0baa
Add comments and fixup capitalization of flags
2015-05-16 15:47:25 -07:00
Matt Kline
428f04138b
Move std.paralellism from bool args to Flags
2015-05-14 00:43:06 -07:00
Walter Bright
d9a9826e55
Revert "Introducing std.meta package"
2015-05-06 14:36:45 -07:00
Dicebot
7970fcc748
Don't use fqn for any/all
...
In most cases it resolves unambiguosly
2015-05-05 22:22:11 +03:00
Dicebot
a76d90c927
Phobos should only mention tuple as std.typecons.Tuple
2015-05-05 22:22:11 +03:00
Dicebot
1c9ae027ef
Rename old std.typetuple symbols inside Phobos
...
staticIndexOf -> indexOf
allSatisfy -> all
anySatisfy -> any
staticMap -> Map
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
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
k-hara
e7b3d834d7
detab and remove trailing whitespaces
2015-02-10 00:56:40 +09:00
k-hara
638cededda
Supplemental fix for issue 13783 in std.parallelism
...
`auto f(ref ubyte);` should not take an lvalue of `enum E : ubyte`.
Fixing 13783 will disallow the accepts-invalid bug.
2014-11-29 12:16:18 +09:00
kai
6dcb2179e9
Solaris fixes for std.stdio and std.parallelism
...
- Use GENERIC_IO
- Use sysconf to determine number of CPUs
2014-11-21 22:50:14 +01:00
Ilya Yaroshenko
c8d9afedea
clean scope imports
...
imports of `std.range, std.algorithm, std.array, std.string,
std.format, std.uni` are affected.
2014-11-21 00:08:35 +03:00
k-hara
d20e91ae01
Prevent definition of non-disabled default constructors in template structs
2014-08-26 22:39:35 +09:00
monarchdodra
bdb68f8094
Fix Issue 12733 - parallelism.amap incorrect assignment without initialization
2014-08-23 01:55:37 +02:00
H. S. Teoh
ba310c0f64
Do the same for amap and reduce, for consistency's sake.
2014-08-08 16:12:12 -07:00
H. S. Teoh
d27d85532a
Ddoc for map() should be associated with the function itself.
2014-08-08 15:59:23 -07:00
Joakim
60cfc11a11
Make all tests that create a temporary file in the local directory get the path from one central function, so they can be made to use an absolute path
2014-08-04 23:33:25 -05:00
Joakim
11de397dd7
Start getting tests passing on Android/x86
2014-07-09 17:52:15 -05:00
monarchdodra
d609bd332f
Sed "@safe pure nothrow"
2014-05-06 08:21:13 +02:00
k-hara
384a1da82f
fix property enforcement
2014-04-03 13:46:40 +09:00