Commit graph

11165 commits

Author SHA1 Message Date
Per Nordlöw
956ef765c6 More alias-this tests and move some of the other-alias tests to undocumented unittests 2017-01-25 19:20:00 +01:00
Per Nordlöw
e685232e3b More negative asserts for alias-this-types 2017-01-25 19:12:18 +01:00
Per Nordlöw
284784a3c4 Cleanup function doc comments 2017-01-25 19:07:50 +01:00
Per Nordlöw
53f011cb08 Restrict isScalarType to non-aggregate types 2017-01-25 19:07:50 +01:00
Per Nordlöw
2c21169b5b Restrict isNumeric to not include char, wchar and dchar 2017-01-25 19:07:50 +01:00
Per Nordlöw
e975ad970d Revert compacter definition of isFinalClass and add more tests for both isAbstractClass and isFinalClass 2017-01-25 19:07:50 +01:00
Per Nordlöw
289b8d219a Revert compacter definition of isAbstractClass and add more tests 2017-01-25 19:07:50 +01:00
Per Nordlöw
78783f1527 Revert compacter definition of isFinalFunction 2017-01-25 19:07:50 +01:00
Per Nordlöw
1e7a6a18fc Revert compacter definition of isAbstractFunction 2017-01-25 19:07:50 +01:00
Per Nordlöw
f9947f3ffb More coverage in unittest for isScalarType 2017-01-25 19:07:50 +01:00
Per Nordlöw
93e302ba98 Compacter definition of isSigned including extra unittests 2017-01-25 19:07:50 +01:00
Per Nordlöw
51fbf1765a Compacter definition of of isScalarType including extra unittest that passes old and a new 2017-01-25 19:07:50 +01:00
Per Nordlöw
742024dc3d Compacter definition of isFinalFunction 2017-01-25 19:07:50 +01:00
Per Nordlöw
5239d032ff Compacter definition of isFinalClass 2017-01-25 19:07:50 +01:00
Per Nordlöw
155a701f1c Compacter definition of isAbstractFunction 2017-01-25 19:07:50 +01:00
Per Nordlöw
a07517abae Use builtin trait isArithmetic in isNumeric 2017-01-25 19:07:50 +01:00
Per Nordlöw
5a4e4622a9 Compacter definition of isAbstractClass 2017-01-25 19:07:49 +01:00
Per Nordlöw
ba75a3b1c9 Use builtin trait isFloating in isFloatingPoint 2017-01-25 19:07:49 +01:00
Per Nordlöw
72b2c24649 Use builtin trait isUnsigned 2017-01-25 19:07:49 +01:00
Per Nordlöw
d53ee9fc5c Add note about using builtin trait isScalar 2017-01-25 19:07:49 +01:00
Per Nordlöw
5ba527335e Use builtin trait isAssociativeArray 2017-01-25 19:07:49 +01:00
Per Nordlöw
3d79925e03 Use builtin trait isStaticArray 2017-01-25 19:07:49 +01:00
Dmitry Olshansky
2e1fd933a8 Fix auto-tester heisenbug on OSX 32 2017-01-25 00:15:46 +01:00
Andrei Alexandrescu
78be8eef4a Merge pull request #5060 from BBasile/issue-17116
fix issue 17116 - std.typecons.ReplaceType is not able to process const delegates
2017-01-24 10:22:31 -05:00
Jonathan M Davis
130714acdd Move deprecations along. 2017-01-24 03:08:10 -08:00
Basile Burg
181db425c9
fix issue 17116 - std.typecons.ReplaceType is not able to process const delegate 2017-01-23 21:51:43 +01:00
Walter Bright
e9cae54d54 std.format: remove unused declaration of _pfloatfmt 2017-01-21 16:13:03 -08:00
Walter Bright
9f77f47cc7 Merge pull request #5046 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
2017-01-21 15:45:48 -08:00
The Dlang Bot
c6d33505dc Merge pull request #5049 from Burgos/fix-17102
fix issue 17102 - Don't pass null to strlen in std.file.cenforce
merged-on-behalf-of: Jack Stouffer <jack@jackstouffer.com>
2017-01-21 18:48:11 +01:00
Nemanja Boric
e80d3b5745 Fix Issue 17102: std.write.file generates a segmentation fault when the
file name is a string with a default value

While trying to build the file name for exception
from 0terminated namez, don't pass null to strlen
2017-01-21 18:07:17 +01:00
Walter Bright
a5556a12a3 formattedWrite - pointers to stack variables need to be 'scope' 2017-01-20 20:22:48 -08:00
Dmitry Olshansky
ffba5a2a4d Merge pull request #5043 from byebye/issue_16323
Fix issue #16323 - implement utf.encodeBack function
2017-01-20 01:18:46 +01:00
byebye
45984042ea Fix condition and add to it explaining comment 2017-01-19 23:36:14 +01:00
byebye
7e85e21336 Change swap to assignment, fix decodeBack unit tests 2017-01-19 19:41:53 +01:00
byebye
944e7da50b Fix issue #16323 - implement utf.encodeBack function 2017-01-19 15:06:36 +01:00
Jack Stouffer
bb27aa7bd2 Merge pull request #5029 from somzzz/issue_16564
fix issue 16564 - KRRegion.empty sometimes returns Ternary.no
2017-01-19 08:50:26 -05:00
Jack Stouffer
fc37e0f750 Merge pull request #4887 from Superstar64/joiner_assign_front
made joiner.front assignable
2017-01-18 16:05:28 -05:00
Martin Nowak
00044d0dd9 Merge remote-tracking branch 'upstream/stable' into merge_stable 2017-01-18 14:09:18 +01:00
Dmitry Olshansky
4d19d0ad3a Fix issue 17066 2017-01-17 23:07:56 +01:00
Jack Stouffer
9dd0f579be Merge pull request #4982 from RazvanN7/Issue_16824
Fix Issue 16824 - std.experimental.allocator.dispose leaks memory
2017-01-17 15:29:04 -05:00
Jack Stouffer
ea1a58da6c Merge pull request #5000 from RazvanN7/Issue_16736
Issue 16736 - Retrieving cUrl time values is quite cumbersome
2017-01-17 11:10:20 -05:00
RazvanN7
1d6076760b Fix Issue 16736 - fixed broken links 2017-01-17 17:06:09 +02:00
Basile Burg
17cea5abdc
style fix - remove wrong usages of the final attribute 2017-01-16 21:00:13 +01:00
Steven Schveighoffer
48de5c1cca Merge pull request #4948 from John-Colvin/test_inheritFDs
test inheritFDs
2017-01-16 07:11:34 -05:00
somzzz
8a69b10451 fix issue 16564 2017-01-16 03:40:57 -08:00
Jack Stouffer
40bae5d48f Merge pull request #5034 from LemonBoy/correct-cast
Cast a void pointer to char* before subtracting it
2017-01-15 10:49:29 -05:00
LemonBoy
ccfd30019a Cast a void pointer to char* before subtracting it 2017-01-15 15:37:48 +01:00
RazvanN7
23fcc1cc25 Style changes 2017-01-15 12:11:06 +02:00
Martin Nowak
7ae36bf176 Merge remote-tracking branch 'upstream/stable' into merge_stable 2017-01-15 01:30:10 +01:00
Jack Stouffer
d94442c8e7 Merge pull request #5032 from jmdavis/issue_13017
Fix issue #13017: opEquals for null std.typecons.Nullable
2017-01-14 15:47:52 -05:00