Commit graph

131 commits

Author SHA1 Message Date
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
safety0ff
fc3cda0beb Fix issue 12446 - std.parallelism.amap: prefer iteration to indexing 2014-03-23 17:34:59 -04:00
monarch dodra
fd4626c15f Update parallelism.d 2014-03-13 12:17:54 +01:00
monarch dodra
6cc8aadcba Remove duplicate isAssignable 2014-03-13 11:51:59 +01:00
monarch dodra
841405d0f1 Cleanup adjoin in parallelism 2014-03-13 11:51:29 +01:00
Yazan S. Dabain
a81f6200cf [Trivial] Fix documentation typos 2014-02-28 21:08:19 +02:00
k-hara
b391b2ec9f Convert to new alias syntax 2014-02-11 15:27:05 +09:00
Daniel Murphy
a656f26e9e Remove use of automatic adjacent string literal concatenation from phobos 2014-01-20 03:42:21 +11:00
monarchdodra
fd8540072d Remove trailing white 2014-01-08 08:30:28 +01:00
Andrei Alexandrescu
56da8e597d Merge branch 'master' of github.com:D-Programming-Language/phobos into fewer-imports 2013-12-22 22:20:24 -08:00
Maxim Fomin
8783a76e4d Add link to bug page 2013-12-22 20:55:40 +02:00
Maxim Fomin
df129273cc Disable setting thread priority 2013-12-22 20:37:16 +02:00
Andrei Alexandrescu
4093af87a9 Removed spurious messages, fixed unittest errors 2013-12-19 18:58:33 -08:00
Daniel Murphy
92358ab76c Convert x.classinfo to typeid(x) 2013-11-18 21:54:02 +11:00