Commit graph

11144 commits

Author SHA1 Message Date
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
Jonathan M Davis
5dc7aa2421 Fix issue #13017: opEquals for null std.typecons.Nullable
I was getting sick of this not working, and there have been multiple bug
reports on this, so I'm just fixing it. With these changes, using == and
!= on null Nullables will not result in an AssertError but instead will
consider them equal if they're both null, equal if they're both non-null
and have the same value, and not equal otherwise.
2017-01-14 11:37:56 -08:00
Eduard Staniloiu
095e3277b8 Enable opIndexAssign only for ranges that have assignable elements 2017-01-13 23:17:58 +02:00
Eduard Staniloiu
46a3353ad1 Fix opSlice index error. Add unittests and changelog entry 2017-01-13 21:22:54 +02:00
Jack Stouffer
03a91fc48c Merge pull request #5017 from JackStouffer/textImpl
Slight optimization for std.conv.text/wtext/dtext
2017-01-13 05:50:56 -05:00
Nick Treleaven
8ada2b7a50 Tweak std.traits function-related docs
Also fix order of constraint tests.
2017-01-13 07:28:14 +01:00
RazvanN7
098e52ba21 Created the make/disposeMultidimensionalArray functions + unittest 2017-01-12 19:47:37 +02:00
Jack Stouffer
48704296ef Merge pull request #5026 from dlang/UplinkCoder-patch-1
correct anySatisfy docs
2017-01-11 10:49:40 +00:00
Stefan Koch
ecd689d604 correct anySatisfy docs 2017-01-11 05:52:04 +01:00
Jack Stouffer
5154c66abf Merge pull request #5027 from ntrel/scopebuf-docs
Tweak std.internal.scopebuffer docs
2017-01-10 13:25:48 +00:00
Nick Treleaven
c32a2f4eda Remove old code - copying is allowed 2017-01-10 12:13:49 +00:00
Jack Stouffer
de51b31bf6 Merge pull request #4987 from ntrel/appender-docs
Improve docs for Appender, RefAppender
2017-01-10 04:48:30 +00:00
Nick Treleaven
9118661ca2 Tweak ScopeBuffer docs
* Fix ddoc for commented out `this(this)` showing in `put`'s docs.
* Fix missing ddoc for `put(CT[])` due to private `CT`.
* Use documented unittest for scopeBuffer instead of inline code.
2017-01-09 16:52:04 +00:00
Nick Treleaven
a17204a3a6 Avoid using private T in methods 2017-01-09 09:10:08 +00:00
Nick Treleaven
277fe1997b Merge opOpAssign overloads
Also avoids private symbols in RefAppender constraint.
2017-01-09 09:10:03 +00:00
Nick Treleaven
b7906549c5 Avoid using private impl in constraint 2017-01-09 09:09:59 +00:00
Nick Treleaven
7cd7266045 Improve docs for Appender, RefAppender
* Expand some docs.
* Document (Ref)Appender.T as it's used in public method signatures.
* Document RefAppender.opDispatch.
* Inline undocumented AppenderType.
* Rename appender(E[]*) parameter -> arrayPtr to better distinguish from
  appender(E[]).
2017-01-09 09:09:54 +00:00
Martin Nowak
382f9d28f8 faster CRC32 implementation
- use slicing by 8 algorithm with bigger precomputed tables
- roughly 4x faster
2017-01-08 03:21:45 +01:00
Martin Nowak
19641412f6 Merge remote-tracking branch 'upstream/master' into stable 2017-01-07 04:00:22 +01:00
The Dlang Bot
89c34875ef Merge pull request #4966 from wilzbach/public-editable-modules
Make more modules publicly runnable on dlang.org
merged-on-behalf-of: Martin Nowak <code@dawg.eu>
2017-01-07 02:08:46 +01:00
Sebastian Wilzbach
18ecb6b72c Make more modules publicly runnable on dlang.org 2017-01-06 23:29:55 +01:00
Martin Nowak
9de40a6b6c remove bitwise documentation
- still unresolved issues before release
2017-01-06 22:37:54 +01:00