Commit graph

430 commits

Author SHA1 Message Date
Sebastian Wilzbach
2dfbc51f17 Standardize whitespace after imports
Unified with:

sed -E "s/import\s*([^ ]+)\s*:\s*(.*(,|;))/import \1 : \2/" -i **/*.d
2016-05-29 22:09:56 +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
18b8abf60a remove the deprecated wiki macros 2016-05-27 05:52:23 +02:00
Jack Stouffer
b7165c04bc Move Ternary from std.experimental.allocator.common to std.typecons 2016-05-24 10:27:10 -04:00
Sebastian Wilzbach
f891779f25 use the new alias syntax 2016-04-27 01:56:50 +03:00
Sebastian Wilzbach
3d67cd228c style fix: space between operators 2016-04-26 22:26:20 +03:00
k-hara
114e2886d1 Use __traits(identifier) instead of stringof + startsWith in std.typecons.Proxy
It's more lightweight.
2016-03-31 10:36:26 +09:00
H. S. Teoh
3d15c1f3a9 Merge pull request #4129 from ntrel/scoped-docs
Improve docs for `std.typecons.scoped`
2016-03-29 17:43:57 -07:00
Nick Treleaven
0e6f9c0338 Improve docs for std.typecons.scoped
Fix note about moving a class instance.
Show automatic destruction of `scoped` result.
Show how `scoped` can lead to invalid class references.
Show move(typeof(scoped!A)) is wrong.
Show scoped member variable initialization.
2016-03-29 13:49:29 +01:00
Lars T. Kyllingstad
45a7d8efb5 Fix #12914: alignForSize will not accept immutable 2016-02-10 21:50:51 +01:00
Brad Anderson
7a3837095b Remove and explain Flag alias antipattern 2016-01-22 11:06:13 -07:00
John Colvin
563879ae6f Fix Issue 15561 2016-01-13 18:07:06 +00:00
Andrei Alexandrescu
718208dfc5 Merge pull request #3846 from aG0aep6G/TypeInfo.initializer
TypeInfo.init -> TypeInfo.initializer
2016-01-12 11:40:47 -05:00
JakobOvrum
b01c010cc6 Merge pull request #3833 from Bolpat/master
PR "Tuple's toString made useful" once again.
2016-01-08 02:29:15 +01:00
Q. F. Schroll
a0114bcc16 PR "Tuple's toString made useful" once again.
For the conversation and reasons see github.com/D-Programming-Language/phobos/pull/3594
2015-12-01 23:39:15 +01:00
anonymous
933aa8e30d TypeInfo.init -> TypeInfo.initializer 2015-11-30 21:20:46 +01:00
Vladimir Panteleev
e90be60a67 Merge pull request #3839 from aG0aep6G/ddlink
use DDLINK/DDSUBLINK instead of LINK2 and raw HTML
2015-11-27 04:54:52 +02:00
Jonathan M Davis
7afe668428 Merge pull request #3807 from dcarp/Fix15320
[Issue 15320] eliminate 'static assert(__traits(compiles,..'
2015-11-26 17:57:44 -08:00
anonymous
6832caf0be use DDLINK/DDSUBLINK instead of LINK2 and raw HTML
DDLINK/DDSUBLINK use ROOT_DIR which is more robust than a relative path.
2015-11-26 16:04:44 +01:00
anonymous
1c8467c676 update links to spec pages 2015-11-24 17:58:49 +01:00
Dragos Carp
75cbbef0ab Add asserts for the "compiles" tests 2015-11-16 03:04:07 +01:00
Dragos Carp
eb293b5063 Fix issue 15320 2015-11-13 03:45:29 +01:00
Martin Nowak
be7276a9ca Merge remote-tracking branch 'upstream/stable' into merge_stable 2015-10-31 18:57:28 +01:00
Dmitry Olshansky
8b187bbd15 Merge pull request #3357 from tom-tan/pure-nogc-typecons-RefCounted-methods
Add attributes to several methods for std.typecons.RefCounted
2015-10-30 17:46:04 +03:00
Andrei Alexandrescu
b6a61d9e71 Merge pull request #3288 from nordlow/struct-returned-findSplit
Struct Returned findSplit*() with implicit bool conversion
2015-10-29 14:37:39 -04:00
Martin Nowak
17af3b3014 fix Issue 15168 - ReplaceType broken for string sub-types 2015-10-28 10:54:18 +01:00
Martin Nowak
0e95f6723a Merge remote-tracking branch 'upstream/stable' into merge_stable 2015-10-27 15:55:59 +01:00
k-hara
6008df7804 Fix ReplaceType bug[3] - distinguish variadic function style - support typesafe variadic 2015-10-22 11:37:48 +09:00
k-hara
c8ac6c29db Fix ReplaceType bug[2] - support function local types 2015-10-22 11:33:21 +09:00
k-hara
c37ad2dadd Fix ReplaceType bug[1] - don't touch non-type template arguments on instantiated type 2015-10-22 11:26:14 +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
Per Nordlöw
100e7a485b Struct returned findSplits with bool conversion 2015-10-05 21:56:33 +02:00
Robert burner Schadek
0390fba7e7 fix Issue 14940
https://issues.dlang.org/show_bug.cgi?id=14940

format
2015-08-26 10:29:00 +02:00
Martin Nowak
e45f39c55a Merge remote-tracking branch 'upstream/stable' into merge_stable 2015-08-10 10:07:27 +02:00
k-hara
eff54e62ca fix Issue 14890 - Can not construct a RedBlackTree of Tuples 2015-08-10 11:58:01 +09:00
Martin Nowak
5ca7ddad60 Merge remote-tracking branch 'upstream/stable' into merge_stable
Conflicts:
	posix.mak

Manually edited:
	std/datetime.d (rename toNormalizedPath -> asNormalizedPath)
2015-07-24 01:28:58 +02:00
Martin Nowak
60f9b8b538 Revert "Merge pull request #3139 from mrkline/better-unique"
This reverts commit 8f4a85bc83, reversing
changes made to d74e4d787a.

Delay unfinished feature until after 2.068.x.
2015-07-21 09:31:54 +02:00
Steven Schveighoffer
c7ea82e3f5 Merge pull request #3462 from japplegame/patch-1
Rebindable support for AAs.
2015-07-20 15:22:31 -04:00
Jack Applegame
66e3a52a62 Rebindable support for AAs 2015-07-17 10:21:31 +03:00
H. S. Teoh
6a27c5803b Fix grammar in BitFlags docs. 2015-07-15 14:54:35 -07:00
Robert Schadek
5faa1ccfc1 Merge pull request #3158 from tom-tan/workaround-for-14405
Add workaround for issue 1238
2015-06-27 16:08:42 +02:00
Andrei Alexandrescu
b0af624aa3 Always add function linkage 2015-06-08 13:14:07 -07:00
Andrei Alexandrescu
5f0a1a6751 Add ReplaceType, use it in Algebraic. Also add get!k to Variant. 2015-06-08 10:52:11 -07:00
Tomoya Tanjo
4c9b5b539e Add attributes to several methods for std.typecons.RefCounted 2015-06-02 14:20:07 +09:00
Rainer Schuetze
adab223837 remove trailing whitespace, detab, tolf 2015-05-31 11:24:01 +02:00
Robert burner Schadek
787637debd deprecate std.stream and friends 2015-05-28 06:48:28 +02:00
Martin Nowak
9a473ab891 enable ref escape checking for struct RefCounted 2015-05-13 01:15:14 +02: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