Commit graph

10635 commits

Author SHA1 Message Date
Ilya Yaroshenko
4f871af02f add uninitialised slice allocation 2016-09-17 01:00:14 +02:00
Steven Schveighoffer
75627ddb6b I'm not the author of most of these, just RBTree. 2016-09-13 09:25:16 -04: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
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
Sebastian Wilzbach
aebc8b7536 Merge pull request #4748 from JackStouffer/patch-17
[trivial] Fix spelling mistake in iteration.d
2016-08-25 01:59:45 +02:00
Sebastian Wilzbach
7ab18cd5ec Merge pull request #4742 from andralex/16046
Fix issue 16046 - ScopedAllocator does not set prev, causing segfaults
2016-08-25 01:26:32 +02:00
Walter Bright
b14de98141 use @system to return pointers to stack 2016-08-24 12:55:52 -07:00
Jack Stouffer
c5d537f06e Fix spelling mistake in iteration.d 2016-08-24 15:45:47 -04:00
Andrei Alexandrescu
beaba6e498 Merge pull request #4746 from WalterBright/cstring-scope
fix tempCString() to follow strict scope rules
2016-08-24 06:52:41 -04:00
Walter Bright
9c5401ce92 fix tempCString() to follow strict scope rules 2016-08-24 01:34:57 -07:00
Robert Schadek
f6167ab22d Merge pull request #4633 from JackStouffer/conv
[trivial] Improved docs for std.conv.parse (part 4)
2016-08-24 08:58:32 +02:00
anonymous
2be9e31ef6 fix issue 16420 - Incorrect example in std.getopt docs 2016-08-23 22:54:13 +02:00
anonymous
d9a0fdaa2e minor spelling/grammar corrections
comma before "etc."
"til" -> "until"
2016-08-23 22:53:17 +02:00
Andrei Alexandrescu
54a5e49b2a Fix issue 16046 - ScopedAllocator does not set prev, causing segfaults 2016-08-22 12:23:28 -04:00
Steven Schveighoffer
0538d0ce15 Merge pull request #4727 from Cauterite/patch-1
fix Issue 16383 - 'Algebraic visit does not match const'
2016-08-19 08:49:29 -04:00
Steven Schveighoffer
ea3f446a98 Fix issue where initializeAll does not properly use
TypeInfo_StaticArray.initializer. Found in issue 16394
2016-08-18 17:29:29 -04:00