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
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
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
Jack Stouffer
33b7385129
Merge pull request #5020 from adamdruppe/issue_16653
...
better workaround for issue 16653, fix ketmar comment
2017-01-06 13:15:48 -05:00
Jack Stouffer
1722b3e6b5
Merge pull request #5019 from LemonBoy/implicit-boolconv
...
Explicitly initialize a bool variable with a bool value.
2017-01-06 11:16:45 -05:00
Adam D. Ruppe
5febcef466
better workaround for issue 16653, fix ketmar comment
2017-01-06 10:11:41 -05:00
Jonathan M Davis
017d4f7fd9
Merge pull request #5016 from nykytenko/localtime
...
Solaris: fix std.datetime:LocalTime.utcToTZ issue.
2017-01-06 06:44:04 -08:00
Oleg Nykytenko
5cb2d0ae49
Add spaces around the minus signs.
2017-01-06 13:44:26 +02:00
Jack Stouffer
4c4ab0d42e
Slight optimization for std.conv.text/wtext/dtext
2017-01-05 18:14:24 -05:00
LemonBoy
47dd696c5c
Explicitly initialize a bool variable with a bool value.
2017-01-06 00:06:14 +01:00
Jack Stouffer
824bbee70d
Merge pull request #5010 from Chaosus/master
...
Make std.getopt.autoIncrementChar use private modifier
2017-01-05 14:55:09 -05:00
Jack Stouffer
83b25ec626
Merge pull request #4970 from RazvanN7/Issue_16959
...
Fix Issue 16959 - bringToFront fails on char array
2017-01-05 14:14:55 -05:00
RazvanN7
82c30a6882
Issue 16959 - Added doc entry about Unicode behaviour + 1 public unittest
2017-01-05 13:31:46 +02:00
Oleg Nykytenko
4aec11a680
Solaris: fix std.datetime:LocalTime.utcToTZ issue.
2017-01-05 10:49:27 +02:00
Jack Stouffer
dae20409c7
Merge pull request #5015 from JackStouffer/parse-decoding3
...
Removed auto-decoding from the floating point version of std.conv.parse
2017-01-05 01:41:33 -05:00
Jack Stouffer
a30844663f
Removed auto-decoding from the floating point version of std.conv.parse
2017-01-05 00:51:01 -05:00
Jack Stouffer
f94a9e9ee7
Merge pull request #4287 from wilzbach/traits_has_function_attributes
...
std.traits: hasFunctionAttributes
2017-01-04 16:22:05 -05:00
Jack Stouffer
ea3fcd0933
Merge pull request #5014 from JackStouffer/parse-decoding2
...
Cleaned up auto decoding special case in std.conv.parse for integers
2017-01-04 15:50:50 -05:00
Jack Stouffer
2b0969532e
micro-optimization in std.conv.parse
2017-01-04 15:20:49 -05:00
Sebastian Wilzbach
90c6b394fe
Merge pull request #4917 from AndrejMitrovic/multi-short
...
getopt: assert on duplicate long/short options
2017-01-04 21:14:23 +01:00
Jack Stouffer
a07a727e89
Cleaned up auto decoding special case in std.conv.parse for integers
2017-01-04 13:46:20 -05:00
Sebastian Wilzbach
970dff3bef
std.traits: hasFunctionAttributes
2017-01-04 15:26:46 +01:00
Sebastian Wilzbach
0c822434cb
Merge pull request #4509 from JohanEngelen/outofboundshift
...
Fix undefined behavior of BitsSet.popFront() upon aggressive optimization
2017-01-04 13:16:58 +01:00
Chaosus
281e4e09fa
Make std.getopt.autoIncrementChar use private modifier
2017-01-02 21:22:42 +03:00
WalterWaldron
40606feece
Fix unstable sort documentation.
...
Noticed this here: https://dlang.org/library/std/algorithm/sorting/sort.html
2016-12-30 03:04:50 -05:00
Sebastian Wilzbach
d1b59d3f2e
Fix Issue 16135 - missing std.format import in std.algorithm.comparison
2016-12-30 08:59:25 +01:00
Sebastian Wilzbach
3c0b47ab51
Merge pull request #4979 from WalterWaldron/fix16996
...
Fix Issue 16996 - std.algorithm.remove with SwapStrategy.unstable rem…
2016-12-29 06:53:20 +01:00
WalterW
99b74fb962
Add @nogc annotated unittest for std.algorithm.remove
2016-12-29 00:08:02 -05:00