Commit graph

4897 commits

Author SHA1 Message Date
Ferdinand Majerech
12fa1857f1 DDoc: Added a link to format string grammar for std.string.format. 2013-10-11 14:27:26 +02:00
monarch dodra
ef398db738 Merge pull request #1625 from IgorStepanov/formataafix2
AA test fixes (part 2)
2013-10-11 04:14:24 -07:00
Igor Stepanov
8021cffae0 Other AA fixes 2013-10-11 02:25:55 +04: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
Martin Nowak
d4e2ce1a53 Merge pull request #1624 from IgorStepanov/fixaaformattest
fix AA format tests
2013-10-10 06:28:58 +02:00
Igor Stepanov
4a22d3e6c8 fix AA format tests 2013-10-10 00:19:27 +04:00
monarch dodra
4b024858a8 Merge pull request #1620 from s-ludwig/fix_11194
fix issue 11194 - std.container.Array.reserve calls opAssign on uninitia...
2013-10-09 08:18:43 -07:00
monarch dodra
9c393a88f6 Merge pull request #1622 from denis-sh/fix-std.traits-eol-fixup-pull-1261
[Whitespace] Fix CRLF EOLs in `std.traits`.
2013-10-09 07:05:15 -07:00
Denis Shelomovskij
c930d8bd5e [Workaround] Disable some tests because of Issue 11202.
Issue URL: http://d.puremagic.com/issues/show_bug.cgi?id=11202
2013-10-09 11:54:33 +04:00
Denis Shelomovskij
2e75d66c6e Fix pull #1598. 2013-10-09 11:53:40 +04:00
Denis Shelomovskij
bf640ea8bc Revert "Merge pull request #1621 from monarchdodra/undoHasElaborate"
This reverts commit 2f65b41d41, reversing
changes made to 561d266f48.
2013-10-09 11:39:47 +04:00
Denis Shelomovskij
9a18458d50 [Whitespace] Fix CRLF EOLs in std.traits.
CRLF EOLs were introduced in ea72723850 commit of pull #1261.
2013-10-09 11:31:25 +04:00
monarchdodra
396d629120 Revert "Fix Issue 11108 - hasElaborateAssign should check whether the type is assignable"
This reverts commit e82724d740d223b52be2800eeec8d5ed4f673dfb.
2013-10-09 08:10:37 +02:00
Sönke Ludwig
5aac4a007a fix issue 11194 - std.container.Array.reserve calls opAssign on uninitialized data 2013-10-09 07:33:10 +02:00
Andrei Alexandrescu
561d266f48 Merge pull request #1598 from denis-sh/fix-Issue-11108
Fix Issue 11108 - `hasElaborateAssign` should check whether the type is assignable
2013-10-08 21:50:56 -07:00
Andrei Alexandrescu
e69f4dc793 Merge pull request #1618 from CyberShadow/std-process-gui-spawnprocess
std.process: Fix spawnProcess in Windows GUI programs (issue #11180)
2013-10-08 21:45:55 -07:00
David Nadlinger
7875e39cec Merge pull request #1597 from denis-sh/fix-std.traits.isAssignable
Fix `std.traits.isAssignable`
2013-10-08 11:36:16 -07:00
Denis Shelomovskij
8e8524a9a8 Clarify isAssignable documentation. Add private isRvalueAssignable and isLvalueAssignable.
Previously `isAssignable` worked like `isLvalueAssignable`.

Also add some unittests.
2013-10-08 21:11:09 +04:00
monarch dodra
af32ce4214 Merge pull request #1619 from denis-sh/fix-Issue-11196
Fix Issue 11196 - `std.range.zip` fails to compile if range elements aren't default contructable
2013-10-08 08:01:11 -07:00
Denis Shelomovskij
6788a62506 Fix Issue 11196 - std.range.zip fails to compile if range elements aren't default contructable
Issue URL: http://d.puremagic.com/issues/show_bug.cgi?id=11196
2013-10-08 17:08:27 +04:00
David Nadlinger
353f043fa9 Merge pull request #1552 from monarchdodra/emplaceFixup
Emplace fixup
2013-10-08 05:42:14 -07:00
David Nadlinger
3253eb6d3b Merge pull request #1528 from monarchdodra/arrayEmplaceFixup
Fixup unittest following emplace fix
2013-10-08 05:38:55 -07:00
David Nadlinger
43be59545a Merge pull request #1491 from monarchdodra/toSafe
makes to! string to string `@safe`, `pure` and `CTFE`-able
2013-10-07 12:03:13 -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
Vladimir Panteleev
24255bd0b7 std.process: Fix spawnProcess in Windows GUI programs (issue #11180) 2013-10-06 06:35:32 +00:00
David Nadlinger
6a02ef3e13 Merge pull request #1613 from Safety0ff/master
Support degenerate bitfields with fields of length 32 and 64
2013-10-05 08:14:31 -07:00
Adam D. Ruppe
f8d569614c the enum caused it to allocate needlessly. static immutable avoids that. 2013-10-04 21:57:01 -04:00
monarch dodra
79be7977c9 Merge pull request #1609 from Orvid/master
Scoped the imports in std.ascii
2013-10-04 07:39:47 -07:00
monarch dodra
84156739db Merge pull request #1556 from dawgfoto/fixMessageBoxInit
enforce thisTid was called before calling receive
2013-10-04 07:36:35 -07:00
Orvid King
6bb4e40a89 Properly scoped and selected the import of std.traits in std.ascii, so that it is only imported for the 2 functions that use it, toLower and toUpper.
There are also a couple of style changes, namely the ordering of values in an anonymous enum, and the use of only 1 indent level within an array declaration. The final change is to mark toLower and toUpper explicitly as @safe pure nothrow, as these are checked in unittests, but a unittest wouldn't tell you what was causing one of the attributes to not be valid for them.
2013-10-03 10:02:01 -05:00
safety0ff
282e88bc60 Add unittests for bugs which seem to have been fixed over time. 2013-10-03 10:14:24 -04:00
safety0ff
d2b6f04f2f Support degenerate bitfields with fields of length 32 and 64 to match documented constraints. 2013-10-03 10:06:55 -04:00
Denis Shelomovskij
7ed5b543bb [Refactor] Remove redundant parantheses in std.traits.isAssignable unittest. 2013-10-03 01:55:44 +04:00
Denis Shelomovskij
0b7f67e8b0 Use documented unittests for std.traits.isAssignable. 2013-10-03 01:55:44 +04:00
David Nadlinger
29c9b56860 Merge pull request #1611 from monarchdodra/11152
Fix Issue 11152 - formatChar doesn't handle `\0`
2013-10-02 13:39:51 -07:00
David Nadlinger
99f05dad4e Merge pull request #1575 from tom-tan/safe-unittest-array-minimallyInitializedArray
Mark the unittest for std.array.minimallyInitializedArray as @safe
2013-10-02 09:21:56 -07: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
Hara Kenji
8b74811d67 Merge pull request #1261 from denis-sh/add-lvalue-rvalue-traits
Add lvalue/rvalue traits
2013-10-02 08:11:18 -07:00
monarch dodra
55ec22276b Merge pull request #1576 from tom-tan/safe-pure-nothrow-array-split
Mark std.array.split and splitter as @safe, pure and nothrow
2013-10-02 04:33:58 -07:00
monarchdodra
2db9413d96 Fix Issue 11152 - formatChar doesn't handle \0 2013-10-02 11:06:35 +02:00
Andrej Mitrovic
6924d3e6db Merge pull request #1483 from monarchdodra/chunksAmbiguity
Solve conflicting "chunks" declaration
2013-10-01 18:13:48 -07:00
Martin Nowak
a0c7d83443 enforce thisTid was called before calling receive
- Simply calling receive in main as stated by the comment
  makes no sense, as nobody could send a message.
2013-09-30 21:45:13 +02:00
Daniel Murphy
d744bec6d4 Merge pull request #1605 from 9rnsr/fix9565
Fixup for issue 9565 - cleanup of #1544
2013-09-28 19:33:45 -07:00
Denis Shelomovskij
4f195b804d Fix toStringRadixConvert call in std.conv.toImpl.
`toStringRadixConvert` is not a property.
2013-09-28 16:06:29 +04: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
Andrej Mitrovic
be3a5f79e0 Merge pull request #1595 from rainers/reenable_demangle_test
reenable unittest for mangle/demangle
2013-09-28 03:03:39 -07:00
monarch dodra
18e59faffd Merge pull request #1604 from 9rnsr/enforceProp
fix property enforcement
2013-09-28 01:12:51 -07:00
k-hara
aead6721a6 fix property enforcement 2013-09-28 14:46:44 +09:00
monarch dodra
1ceddc4f82 Merge pull request #1601 from AndrejMitrovic/Fix11123
Issue 11123 - std.getopt should support function callbacks.
2013-09-27 08:02:01 -07:00
Andrej Mitrovic
83852de6c1 Fixes Issue 11123 - std.getopt should support function callbacks. 2013-09-27 15:19:11 +02:00