Commit graph

267 commits

Author SHA1 Message Date
jmdavis
8f7e70c2ef Make Rebindable @trusted. 2014-06-11 01:59:41 -07:00
monarchdodra
d609bd332f Sed "@safe pure nothrow" 2014-05-06 08:21:13 +02:00
monarch dodra
02884e6172 Merge pull request #2094 from AndrejMitrovic/Fix12464
Issue 12464 - Inject imports to core.vararg on Posix when wrapping C-style variadic functions via AutoImplement.
2014-04-24 17:16:50 +02:00
Andrej Mitrovic
31f968ee53 Fix Issue 12464 - Inject imports to core.vararg on Posix when wrapping C-style variadic functions via AutoImplement. 2014-04-24 16:10:09 +02:00
monarch dodra
7e1334fbda Merge pull request #2087 from AndrejMitrovic/Fix12596
Fix12596 - Implement Typedef ctor that can take itself as the parameter.
2014-04-23 22:28:36 +02:00
monarch dodra
aede15f059 Merge pull request #2102 from AndrejMitrovic/Fix11705
Issue 11705 - Document Typecons and its parameters properly.
2014-04-23 16:45:48 +02:00
Andrej Mitrovic
4e47221560 Fix Issue 11705 - Document Typecons and its parameters properly. 2014-04-22 22:55:15 +02:00
Andrej Mitrovic
c69d2959e8 Fix12596 - Implement Typedef ctor that can take itself as the parameter. 2014-04-19 14:44:52 +02:00
Dmitry Olshansky
0d29cdc3d6 Introduce UTF Matchers into std.uni.
It's a step zero to get decode-less std.regex.
UTF matchers are efficient functors around a set of
specific tries. Enables processing Unicode characters
without decoding at speeds on par with decoding itself.

Along the way make staticIota at 'package' protected and reuse it.

Fix a shameful typo in setSearcher.
2014-04-13 14:31:05 +04:00
Andrej Mitrovic
2604610475 Remove Ref template which was undocumented, unused, and had a non-working implementation. 2014-04-12 13:43:48 +02:00
Andrei Alexandrescu
e289a7cdd7 Revert "Merge pull request #1685 from blackwhale/utf8-matcher"
This reverts commit 216ca01ca8, reversing
changes made to d56c1dbc08.
2014-03-15 17:11:17 -07:00
Dmitry Olshansky
1c86ecf0c4 Introduce UTF Matchers into std.uni.
It's a step zero to get decode-less std.regex.
UTF matchers are efficient functors around a set of
specific tries. Enables processing Unicode characters
without decoding at speeds on par with decoding itself.

Along the way make staticIota at 'package' protected and reuse it.

Fix a shameful typo in setSearcher.
2014-03-08 13:55:32 +04:00
monarchdodra
c6bd4766a3 Add support for non-assignable construction for tuple 2014-02-18 09:33:43 +01:00
Peter Alexander
f8aa638c5a Fix Issue 12046 - Disallow Rebindable!(T[N])
https://d.puremagic.com/issues/show_bug.cgi?id=12046
2014-02-15 20:00:12 +00:00
Peter Alexander
c9fe9679d4 Fix Issue 7654 - Fix Rebindable of narrow strings.
`Rebindable!(const(T)[])` should be `T[]`, but `Rebindable` was using `ElementType` instead of `ElementEncodingType`, which would result in `dchar[]` for narrow strings. This pull fixes this simple mistake.

https://d.puremagic.com/issues/show_bug.cgi?id=7654
2014-02-15 14:53:12 +00:00
Andrej Mitrovic
f9994612b8 Fixes Issue 7666 - Implement reverse property for Tuple. 2014-02-12 12:54:01 +01:00
k-hara
b391b2ec9f Convert to new alias syntax 2014-02-11 15:27:05 +09:00
monarch dodra
ae9356537e Merge pull request #1899 from Poita/bug12031
Fix Issue 12031 (partial) - opDollar for Typedef!T
2014-02-04 05:59:57 -08:00
k-hara
f9d39cbf59 fix Issue 12058 - std.typecons.AutoImplement does not work for inout member functions 2014-02-02 16:00:26 +09:00
Peter Alexander
27a6d57972 Fix Issue 12031 (partial) - opDollar for Typedef!T
Just forwarding the various kinds of `opDollar` in `Proxy!T`. Partially fixes bug 12031 -- I believe a dmd change is needed to completely fix it (separate to opDollar forwarding).
2014-02-01 20:29:44 +00:00
k-hara
557799fc55 fix Issue 12041 - Strange warning pragma when instantiating WhiteHole
Remove restiction in AutoImplement with nothrow function.
2014-01-30 19:21:17 +09:00
Daniel Murphy
a656f26e9e Remove use of automatic adjacent string literal concatenation from phobos 2014-01-20 03:42:21 +11:00
k-hara
6628a306cf Add more necessary local imports 2013-12-26 11:55:18 +09:00
k-hara
baf5c78deb Use selective local import and place at the head of the required code block 2013-12-26 11:55:06 +09:00
Andrei Alexandrescu
4093af87a9 Removed spurious messages, fixed unittest errors 2013-12-19 18:58:33 -08:00
Andrei Alexandrescu
de5789d6c9 Reduce deps in std.conv and std.typecons 2013-12-19 18:16:39 -08:00
monarch dodra
899604e5a6 Merge pull request #1644 from eco/patch-5
Add example of how to use scoped member variable
2013-12-15 23:44:37 -08:00
Martin Nowak
d5ddbb4901 Merge pull request #1724 from monarchdodra/tupleToString
Make Tuple.toString conditional
2013-12-15 15:31:32 -08:00
Tero Hänninen
a63dc3e356 Remove bug from staticIota in typecons
step is not used -> if passed anything other than 1 as step, staticIota
will behave incorrectly.
2013-12-06 17:13:24 +02:00
k-hara
b774a41e59 Get rid of templates just for attribute inference 2013-12-02 22:56:43 +09:00
k-hara
f8fe67ed59 Remove workaround for issue 10313 2013-12-02 10:18:29 +09:00
Daniel Murphy
a11a20ef74 Remove more uses of NCEG operators in phobos 2013-11-30 14:09:39 +11:00
monarchdodra
2af80dc13d Make Tuple.toString conditional 2013-11-26 08:59:02 +01:00
k-hara
38068aa53c Fix unittest for issue 10268. 2013-11-20 21:17:31 +09:00
Brad Anderson
d44f7f628c Add example of how to use scoped member variable 2013-10-15 17:13:32 -06:00
k-hara
4844aef982 Remove workaround for issue 10357
Because the root compiler issue 9665 has been fixed.
2013-10-15 13:07:30 +09:00
Walter Bright
e478ddef9e Merge pull request #1612 from 9rnsr/fix10357
[REG2.063] Issue 10357 - std.typecons.Nullable!(SysTime).Nullable.__ctor!() error instantiating
2013-10-10 15:07:00 -07:00
k-hara
18cd94ea3b fix Issue 11165 - std.typecons._d_toObject conflicts with std.signals._d_toObject 2013-10-06 22:25:59 +09:00
k-hara
55bc6fc1de fix Issue 10357 - std.typecons.Nullable!(SysTime).Nullable.__ctor!() error instantiating
Add a workaround until qualified postblit is properly implemented.
2013-10-03 00:54:37 +09:00
k-hara
1c16335334 Fixup for issue 9565
Remove unnecessary else block so right not it's never used.
2013-09-28 19:22:43 +09:00
k-hara
01f9455fac fix Issue 10538 - std.typecons.wrap should consider opDispatch 2013-09-26 13:53:13 +09:00
k-hara
830b6c1bd4 fix Issue 10536 - std.typecons.wrap doesn't work with a class that defines opCast 2013-09-26 13:53:11 +09:00
Andrej Mitrovic
401ded61c8 Fix Issue 10608 - Better diagnostic for RefCounted assert. 2013-09-19 03:09:01 +02:00
k-hara
5fac5f8949 Additional fix for issue 9565 2013-09-04 22:26:52 +09:00
monarch dodra
3d7e9b5d21 Merge pull request #1394 from 9rnsr/enforceProp
Supplemental change for dmd/pull/2305
2013-08-05 10:41:17 -07:00
k-hara
d61085c375 fix Issue 10686 - No [] operator overload for immutable Tuple 2013-07-21 21:22:16 +09:00
Tomoya Tanjo
003798dec6 Add unittest 2013-07-17 21:19:32 +09:00
k-hara
30356d606f Fix @property annotations and incorrect parenthesis 2013-07-16 00:31:26 +09:00
Tomoya Tanjo
b92432cb7a Fix Issue 10647 2013-07-15 23:08:38 +09:00
Tomoya Tanjo
bb50a33f1b Fixes Issue 10570 2013-07-08 21:12:59 +09:00