Commit graph

11114 commits

Author SHA1 Message Date
Ilya Yaroshenko
bf64e68e7b Merge pull request #4779 from WalterBright/traits-binary
replace binary literals with hex
2016-09-14 11:15:23 +02:00
Walter Bright
63811e9aeb replace binary literals with hex 2016-09-13 15:32:50 -07:00
Steven Schveighoffer
75627ddb6b I'm not the author of most of these, just RBTree. 2016-09-13 09:25:16 -04:00
NVolcz
3c06aae6e5 Added usage example to equal 2016-09-12 15:49:26 +02:00
NVolcz
afc7ae9bb3 Removed debug lines from example unittest
The example for ´´´auto joiner(RoR)(RoR r)´´´ includes a scoped debug line. This line is not relevant in an example unittest.
https://dlang.org/phobos/std_algorithm_iteration.html#joiner
2016-09-12 11:22:26 +02:00
Walter Bright
0fbd57c283 make Proxy.accessibleFrom() work with 'scope' inference 2016-09-11 04:20:10 -07:00
Andrei Alexandrescu
1630170e56 Merge pull request #4771 from WalterBright/conv-scope
std.conv: add annotations
2016-09-07 12:35:20 +02:00
Ilya Yaroshenko
e9cca340d4 Merge pull request #4770 from WalterBright/utf-scope
std.utf: add scope annotations
2016-09-07 11:47:30 +02:00
Ilya Yaroshenko
f5918de912 Merge pull request #4768 from WalterBright/searching-scope
searching.d: add scope annotations
2016-09-07 11:13:22 +02:00
Ilya Yaroshenko
6e714fd877 Merge pull request #4769 from jmdavis/deprecations
Move deprecations along.
2016-09-07 10:40:19 +02:00
Ilya Yaroshenko
3f241f22f5 Merge pull request #4766 from ntrel/fix-expandArray-example
[trivial] std.allocator.expandArray: Move ForcedInputRange example into undocumented test
2016-09-07 09:28:17 +02:00
Jonathan M Davis
5c2be71132 Move deprecations along. 2016-09-07 00:15:29 -07:00
Walter Bright
74ac8f92e5 std.conv: add annotations 2016-09-06 23:54:52 -07:00
Walter Bright
4e921ad311 std.utf: add scope annotations 2016-09-06 22:48:01 -07:00
Walter Bright
9cfe39bfe2 searching.d: add scope annotations 2016-09-06 02:33:12 -07:00
Walter Bright
a6af2a6bab add scope to searching.find()'s needle 2016-09-05 17:35:27 -07:00
Nick Treleaven
46d281bd07 expandArray: Move ForcedInputRange example into undocumented test
ForcedInputRange is private.
2016-09-05 12:17:06 +01:00
John Colvin
21d65b6a23 test typecons.Tuple.rename for sucessful no-ops, working around bug 16418 2016-09-02 09:11:20 +01:00
John Colvin
f2a49114cc simplify typecons.Tuple.rename implementation 2016-09-02 09:11:20 +01:00
John Colvin
bc22574fa6 fix std.typecons.Tuple.rename LREFs 2016-09-02 09:11:20 +01:00
John Colvin
ef448f92d2 complete std.typecons.Tuple.rename range example 2016-09-02 09:11:20 +01:00
John Colvin
cb59a64b54 make all std.typecons.Tuple.rename unittests @safe 2016-09-02 09:11:20 +01:00
John Colvin
5c23826279 std.typecons.Tuple.rename return by ref 2016-09-02 09:11:20 +01:00
John Colvin
239e4c8daf add std.typecons.Tuple.rename 2016-09-02 09:11:20 +01:00
Robert burner Schadek
bb119bece3 std.concurrency housekeeping
some review

revert
2016-08-31 08:19:54 +02:00
Andrei Alexandrescu
2854ae011f Merge pull request #4680 from wilzbach/allocator_safe_2
Propagate attributes in std.experimental.allocator.make
2016-08-30 07:53:38 -04:00
Andrei Alexandrescu
cb09746cb1 Merge pull request #4706 from SealabJaster/issue_16168
Issue 16168 - isCopyable trait for value types
2016-08-30 07:44:24 -04:00
Andrei Alexandrescu
49833864d5 Merge pull request #4739 from aG0aep6G/isInstanceOf-for-non-types
implement std.traits.isInstanceOf for non-types
2016-08-30 07:31:45 -04:00
Andrei Alexandrescu
ca5f5cdd13 Merge pull request #4752 from togrue/fix_16387
Fixed Issue 16387 - getSymbolsByUDA works with structs but fails with classes
2016-08-30 07:13:30 -04:00
Andrei Alexandrescu
b291600a0a Merge pull request #4758 from japplegame/patch-2
fix AllocatorList.allocate weird behavior
2016-08-30 06:51:32 -04:00
Jack Applegame
e56ac3620a modify unittest to increase test coverage 2016-08-29 22:50:07 +04:00
Jack Applegame
d07cb58d3e add unittest 2016-08-29 22:14:53 +04:00
togrue
b44e3bd24a Fixed Issue 16387
(getSymbolsByUDA works with structs but fails with classes)

- added a filter to skip the inaccessable 'this' member
2016-08-29 20:14:30 +02:00
togrue
b450113a4a Enhancement 16363
Issue 16363 (Cannot construct a random access range using frontTransversal)
https://issues.dlang.org/show_bug.cgi?id=16291

- Added the length property to frontTransversal (only if the length is known)
2016-08-29 19:49:22 +02:00
Sebastian Wilzbach
e7612f952a Add style changes to HeadConst 2016-08-29 18:00:02 +02:00
Jack Applegame
f02c9a3688 fix AllocatorList.allocate weird behavior
Wrong `return` position. That says it all. Creating unnecessary allocators, memory leaks and so on.
2016-08-29 19:52:16 +04:00
Jakob Øvrum
415d573a3c Add std.experimental.typecons.HeadConst - fix issue 13796 2016-08-29 17:30:52 +02:00
Walter Bright
b58c4fb421 add 'scope' to utf.UTFException.setSequence() 2016-08-29 01:23:29 -07:00
Andrei Alexandrescu
5c5dda3dfb Merge pull request #4249 from wilzbach/fix_15960
fix issue 15960 - deprecate setUnion in favor of merge
2016-08-28 20:15:40 -04:00
Robert Schadek
82ff5bc889 Merge pull request #4753 from jdeschenes/empty_getopt
Fix Issue 16443 - Segmentation fault when option name is empty
2016-08-28 23:16:48 +02:00
Dmitry Olshansky
8343936990 Merge pull request #4714 from WalterBright/outbuffer-overflow
outbuffer.d: add overflow checks
2016-08-28 22:25:25 +02:00
Dmitry Olshansky
96b93c7b63 Merge pull request #4736 from schveiguy/fixinitializeall
Fix issue where initializeAll does not properly use initializer
2016-08-28 21:44:30 +02:00
jmdeschenes
024b751547 Fix Issue 16443 - Prevent segmentation fault
If the option name is an empty string an Exception will be raised instead.
2016-08-28 13:58:55 -04:00
Sebastian Wilzbach
501a1d5f41 fix issue 15960 - deprecate setUnion in favor of merge 2016-08-28 17:51:29 +02:00
Jonathan M Davis
3c93cb7aae Merge pull request #4701 from JackStouffer/toHash
Add toHash to SysTime
2016-08-28 05:53:30 -07:00
John Colvin
7c7af21d48 add test for Issue 16413 2016-08-27 15:06:22 +01:00
Sebastian Wilzbach
9abe256cab Merge pull request #4740 from togrue/bugfix_16179
Fix issue 16179 - multiSort no longer callable with delegate with context
2016-08-26 21:47:54 +02:00
togrue
7f88a93227 Fixed issue 16179
(multiSort no longer callable with delegate with context)

- Moved out nested functions inside multiSort to the module scope.
- Added a unittest
2016-08-26 21:04:01 +02:00
Walter Bright
18396218f0 bitmanip: missing a 'return' attribute 2016-08-24 22:06:03 -07:00
Walter Bright
85de7885b8 use @system to return pointers to stack 2016-08-24 17:09:20 -07:00