Commit graph

11578 commits

Author SHA1 Message Date
Jonathan M Davis
d34164a2ea Move some deprecations along. 2015-11-26 00:28:38 -08:00
Jonathan M Davis
a4482d1709 Merge pull request #3834 from burner/std.file-whitespacefix
std.file whitespace fix
2015-11-25 18:03:14 -08:00
Dragos Carp
189dcda76c Remove .stringof usage 2015-11-25 22:39:56 +01:00
Robert burner Schadek
2c78a472e0 std.file whitespace fix
I merged a comment only PR that added a litte bit of doc.
It containted whitespace at the end.

This PR removes that whitespace.
2015-11-25 21:51:01 +01:00
Robert Schadek
d7dd3348df Merge pull request #3829 from bachmeil/change-file
Add reference to std.path
2015-11-25 20:06:33 +01:00
Vladimir Panteleev
57edef19df Merge pull request #3830 from aG0aep6G/language-subdir
update links to spec pages
2015-11-25 17:41:34 +02:00
anonymous
1c8467c676 update links to spec pages 2015-11-24 17:58:49 +01:00
Lance Bachmeier
0c8c51c952 Update file.d 2015-11-24 10:42:47 -06:00
Vladimir Panteleev
7af97f8ccc fix Issue 15377 - std.stdio: Use MSVCRT's _fseeki64 / _ftelli64 on Windows COFF 2015-11-24 14:38:00 +00:00
AndrejMitrovic
a661e5b001 Merge pull request #3823 from bachmeil/patch-1
Update file.d
2015-11-21 13:59:00 +01:00
Lance Bachmeier
5aec7996e2 Update file.d 2015-11-20 11:35:53 -06:00
Steven Schveighoffer
c254fecc48 Merge pull request #3822 from Blumerline/patch-privatearrayfield
fix issue 15364 - BitArray.len should be private
2015-11-19 10:50:57 -05:00
Steven Schveighoffer
b5f9ac264b Merge pull request #3821 from klickverbot/squash-pr-3808
Fix issue 15319 - broken import in std.file.copy
2015-11-19 09:50:29 -05:00
Blumerline
74fbb79087 fix issue 15364 - BitArray.len should be private 2015-11-19 14:14:06 +01:00
Blumerline
c1333caf69 Fix issue 15319 - broken import in std.file.copy 2015-11-19 13:30:35 +01:00
David Nadlinger
c82ddfea30 Merge pull request #3819 from ibuclaw/arm_exptest
Adjust expected result of test to match ARM and others
2015-11-19 13:10:31 +01:00
Iain Buclaw
edba3c09f9 Adjust expected result of test to match ARM and others 2015-11-19 10:12:40 +01:00
Brian Schott
4b57ad66e6 Merge pull request #3816 from lionello/doc_warnings
Fixed some doc warnings
2015-11-16 18:04:35 -08:00
Brian Schott
3b90461984 Merge pull request #3814 from CyberShadow/pull-20151116-000847
std.file: Update dirEntries documentation regarding path==""
2015-11-16 17:39:03 -08:00
Lionello Lunesu
be227ef595 Fixed some doc warnings 2015-11-17 09:21:52 +08:00
Andrei Alexandrescu
4e53643652 Merge pull request #3815 from lionello/issue15305
[Issue 15305] bitfields! setter erroneously clears subsequent fields
2015-11-16 07:45:21 -05:00
Lionello Lunesu
8e452d8dd4 [Issue 15305] bitfields! setter erroneously clears subsequent fields 2015-11-16 19:17:06 +08:00
Dragos Carp
75cbbef0ab Add asserts for the "compiles" tests 2015-11-16 03:04:07 +01:00
Andrei Alexandrescu
32b51aed4f Merge pull request #3690 from CyberShadow/pull-20151003-171210
fix Issue 15146 - std.file.dirEntries("") only works on Windows
2015-11-15 19:44:58 -05:00
Vladimir Panteleev
bf0fe11936 std.file: Update dirEntries documentation regarding path=="" 2015-11-16 00:09:43 +00:00
Dmitry Olshansky
c76b31859a Merge pull request #3811 from D-Programming-Language/revert-3710-uni-tab
Revert "New primitive - Tiny UTF Binary Search Table"
2015-11-15 10:43:28 +03:00
David Nadlinger
b813578a5a Revert "New primitive - Tiny UTF Binary Search Table" 2015-11-14 20:21:37 +01:00
Walter Bright
48d57e36e7 Merge pull request #3805 from andralex/simpler-emplace
Simpler emplace
2015-11-13 18:50:38 -08:00
Steven Schveighoffer
fc77dbbfa9 Merge pull request #3802 from aG0aep6G/15293
fix issue 15293
2015-11-13 10:40:40 -05:00
Andrei Alexandrescu
7e61c6d1d7 Improve coverage 2015-11-13 08:18:43 -05:00
Dragos Carp
c17a621bf2 Fix timezone issue 2015-11-13 05:33:57 -04:30
Dmitry Olshansky
99741241a1 Merge pull request #3698 from WalterBright/fix14861
[REG] fix Issue 14861 - Error in stdio.d in LockingTextReader.readFront()
2015-11-13 10:22:37 +03:00
Dragos Carp
eb293b5063 Fix issue 15320 2015-11-13 03:45:29 +01:00
anonymous
15b550da72 avoid .capacity 2015-11-13 00:36:05 +01:00
anonymous
994d6b8181 fix issue 15293
ReadlnAppender tried to claim the capacity of the passed buffer, calling
assumeSafeAppend on the result so that on the next call it has a capacity
again that can be claimed.

The obvious problem with that: readln would stomp over memory that it has
not been given.

There was also a subtler problem with it (which caused issue 15293):
When readln wasn't called with the previous line, but with the original
buffer (byLine does that), then the passed buffer had no capacity, so
ReadlnAppender would not assumeSafeAppend when slicing the new line from
it. But without a new assumeSafeAppend, the last one would still be in
effect, possibly on a sub slice of the new line.
2015-11-12 20:06:55 +01:00
Robert Schadek
f5ce17346d Merge pull request #3806 from 9il/dr
update dummyrange.d
2015-11-12 16:03:14 +01:00
Andrei Alexandrescu
9cc91cdac3 Add unittest for unions, fix typo and alignment 2015-11-12 09:35:43 -05:00
Ilya Yaroshenko
efd177e092 update dummyrange.d 2015-11-11 22:44:07 -08:00
Andrei Alexandrescu
4f797ea444 Merge pull request #3748 from WalterBright/bitmanip
bitmanip: don't reinvent unsignedToTempString
2015-11-12 00:16:35 -05:00
Andrei Alexandrescu
fb7f7bf624 Merge pull request #3792 from burner/std.format_housekeeping
std.format_housekeeping
2015-11-11 23:14:39 -05:00
Andrei Alexandrescu
2cdb9c4eec Merge pull request #3795 from JackStouffer/isNumeric
Add unittest examples to std.string.isNumeric
2015-11-11 23:14:05 -05:00
Andrei Alexandrescu
d2fa18dcef Remove trailing whitespace 2015-11-11 21:05:45 -05:00
Walter Bright
74bd8037c8 Merge pull request #3804 from andralex/traits-compiles-considered-harmful
Remove `static assert(__traits(compiles, xyz))` from `std.conv`
2015-11-11 17:47:43 -08:00
Andrei Alexandrescu
8812daf8a4 Merge pull request #3780 from burner/std.string.lineSplitter_unittest_example
std.string.lineSplitter_unittest_example
2015-11-11 20:41:17 -05:00
Andrei Alexandrescu
b4bb27ab5a Review 2015-11-11 19:48:11 -05:00
Andrei Alexandrescu
38caf42704 Major simplification of emplace - get the compiler to generate most of the needed code 2015-11-11 19:32:49 -05:00
Andrei Alexandrescu
32b000d93e Remove static assert(__traits(compiles, xyz)) from std.conv 2015-11-11 13:34:49 -05:00
Andrei Alexandrescu
2eb1280e12 WIP on emplace 2015-11-11 13:25:51 -05:00
Martin Nowak
8e20ab5ac3 Merge pull request #3803 from andralex/emplace
Issue 15313 - std.conv.emplace cannot initialize const objects
2015-11-11 10:28:25 +01:00
Andrei Alexandrescu
d4b2a3e389 remove trailing whitespace 2015-11-11 00:15:55 -05:00