Commit graph

440 commits

Author SHA1 Message Date
Andrei Alexandrescu
3a0caddfb5 Merge pull request #4483 from WalterBright/typeconsinfer
std.typecons: prevent inference of attributes of test cases
2016-06-27 19:48:04 -04:00
Walter Bright
eddcadd90a std.typecons: prevent inference of attributes of test cases 2016-06-27 11:45:07 -07:00
Steven Schveighoffer
d42eff4ff8 Merge pull request #4450 from burner/typecons_implicit_string_join
std.typecons implicit string join
2016-06-21 13:36:18 -04:00
Robert burner Schadek
db42ef2550 std.typecons implicit string join
made explicit
2016-06-21 14:33:43 +02:00
Andrei Alexandrescu
c9a9bb69e0 Merge pull request #4430 from WalterBright/typecons-uintptr
typecons: size_t should be uintptr_t
2016-06-18 07:28:22 -04:00
Andrei Alexandrescu
5d6569a3e5 Merge pull request #4344 from aG0aep6G/16054
fix issue 16054 - can break immutable with std.typecons.Rebindable
2016-06-18 05:10:43 -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
Walter Bright
bd2d48b9b3 typecons: size_t should be uintptr_t 2016-06-14 14:40:39 -07:00
Sebastian Wilzbach
49531e3c73 fix broken web links
sed 's/(WEB http:\/\//(WEB /' -i **/*.d
2016-06-07 18:54:17 +02:00
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
anonymous
b391486693 fix issue 16054 - can break immutable with std.typecons.Rebindable 2016-05-22 00:33:19 +02: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