The Dlang Bot
d262d06a14
Merge pull request #6796 from carun/master
...
canFind: added example to search for multiple needles in a hay stack.
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-12-11 11:58:05 +01:00
Arun Chandrasekaran
744e15aed1
canFind: added example to search for multiple needles in an array of hay stacks.
2018-12-11 00:44:03 -08:00
The Dlang Bot
517c5e8b42
Merge pull request #6798 from TurkeyMan/no_format_in_min_max
...
min/max shouldn't pull std.format.
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2018-12-10 23:46:41 +01:00
Manu Evans
3ac8804df1
min/max shouldn't pull std.format
2018-12-10 01:03:28 -08:00
The Dlang Bot
19f72cfe7f
Merge pull request #6789 from Biotronic/Issue-19456
...
Fix issue 19456 - ParameterIdentifierTuple incorrect for abstract met…
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2018-12-09 13:05:12 +01:00
The Dlang Bot
2e2d5fc264
Merge pull request #6797 from rainers/win64_sha_ssse3
...
SHA on Win64: use SSSE3 version by adjusting register usage
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2018-12-09 09:30:53 +01:00
Rainer Schuetze
4cd43db1d8
SHA on Win64: use SSSE3 version by adjusting register usage
2018-12-08 15:46:12 +01:00
The Dlang Bot
627a8171d5
Merge pull request #6793 from jsatellite/issue-19466
...
Fix issue 19466 - functionLinkage documentation omits some values
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2018-12-05 11:56:54 +01:00
jsatellite
01784b0ee9
Fix for issue 19466
2018-12-05 10:13:11 +00:00
Walter Bright
3e159dc18c
Merge pull request #6792 from WalterBright/LPCWSTR
...
inure against windows.d changes by casting to LPCWSTR
2018-12-05 00:07:12 -08:00
Walter Bright
f30f6b3ce1
inure against windows.d changes by casting to LPCWSTR
2018-12-04 22:56:29 -08:00
The Dlang Bot
de2836866a
Merge pull request #6791 from MartinNowak/merge_stable
...
Merge remote-tracking branch 'upstream/stable' into merge_stable
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2018-12-05 01:18:55 +01:00
Martin Nowak
c60001a44f
Merge remote-tracking branch 'upstream/stable' into merge_stable
2018-12-04 19:43:30 +01:00
The Dlang Bot
c7f9179691
Merge pull request #6786 from rainers/gc_other_binsizes
...
gc_allocator.goodAllocSize: relax conditions for the actual GC
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2018-12-04 00:26:30 +01:00
Rainer Schuetze
1556befad7
gc_allocator.goodAllocSize: relax conditions for the actual GC to allow "good" sizes other than powers of 2
2018-12-03 23:17:52 +01:00
Simen Kjærås
9f9988bfeb
Fix issue 19456 - ParameterIdentifierTuple incorrect for abstract methods with unnamed parameters
2018-12-03 12:04:03 +01:00
The Dlang Bot
e87b111162
Merge pull request #6787 from radcapricorn/refCountedUseMoveEmplace
...
[deduplication] `RefCounted` should use `moveEmplace`...
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2018-12-02 04:24:30 +01:00
Stanislav Blinov
c4324f405c
[deduplication] RefCounted
should use moveEmplace
...
...
...as per a comment in its implementation.
Not `@safe`, but `nothrow pure`; `calloc` if has pointers
2018-12-01 14:13:47 +03:00
Nicholas Wilson
807afdc85e
Merge pull request #6784 from radcapricorn/fix19444
...
Fix Issue 19444: hasRawAliasing loops on class with static array
2018-11-30 17:46:14 +08:00
Stanislav Blinov
43545feff8
Fix Issue 19444.
2018-11-30 11:19:58 +03:00
Sebastian Wilzbach
fbe9f2840a
Merge pull request #6777 from BBasile/alias-assign-trait
...
Remove `AliasSeq` when following `__traits` is directly aliasable
2018-11-29 14:34:06 +01:00
Basile Burg
aad0e0d760
Remove AliasSeq
when __traits
is directly aliasable
2018-11-29 11:21:20 +01:00
Nicholas Wilson
7d6bcd653e
Merge pull request #6783 from BBasile/update-dscanner
...
update dscanner
2018-11-29 18:19:53 +08:00
Basile Burg
46848d6aba
update dscanner
2018-11-29 09:53:48 +01:00
Nicholas Wilson
10887d04f8
Merge pull request #6781 from CyberShadow/pull-20181123-213706
...
Fix Issue 19429 - indexOf("a", "b") should be nothrow/@nogc
2018-11-27 09:48:57 +08:00
Nicholas Wilson
c0840d9480
Merge pull request #6780 from BBasile/empty-asm-instr
...
[trivial] remove empty asm instructions from std.math
2018-11-26 18:05:58 +08:00
Vladimir Panteleev
8889ef2f07
std.string: Optimize indexOf with start index a bit
...
Use of early returns improves readability and reduces the instruction
count in DMD's output.
2018-11-24 08:31:48 +00:00
Vladimir Panteleev
2f7854cc9a
std.string: Expose case-sensitive functions as separate overloads
...
Allow taking advantage of new nothrow/@nogc implementations from
nothrow/@nogc code.
Fixes issue 19429.
2018-11-23 22:44:06 +00:00
Vladimir Panteleev
f12e43e3b3
std.string: Optimize implementation for same-type case-sensitive search
...
Add a special case for case-sensitive search when the character size
of substrings matches. We do not need to decode in this case, so
perform a basic array search on the strings' representations.
2018-11-23 21:45:01 +00:00
Vladimir Panteleev
606465af0b
std.string: Refactor indexOf to a per-CaseSensitive template
...
Use the same code for case sensitive and insensitive search, but
refactor the case sensitivity parameter to a compile-time value under
the hood, so that each instantiation receives its own propagated
attributes.
2018-11-23 21:45:01 +00:00
Basile Burg
33aefbb729
[trivial] remove empty asm instructions from std.math
2018-11-23 17:10:37 +01:00
The Dlang Bot
68844089d4
Merge pull request #6778 from n8sh/issue-18680
...
Remove unnecessary opEquals from std.random.LinearCongruentialEngine
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2018-11-22 05:48:56 +01:00
Nathan Sashihara
dc1a3d3efa
Fix Issue 18680 - std.random.LinearCongruentialEngine has opEquals but no toHash
...
The custom opEquals is unnecessary. Autogenerated struct equals is correct.
2018-11-21 15:05:48 -05:00
The Dlang Bot
a66435ea90
Merge pull request #6764 from rracariu/master
...
Fix Issue 19396 - ScopeBuffer can't be used in betterC with inline
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2018-11-21 00:05:11 +01:00
rracariu
7c8d75b72e
Fix Issue 19396 - ScopeBuffer can't be used in betterC with inline
2018-11-20 22:14:36 +02:00
The Dlang Bot
3663f39412
Merge pull request #6775 from Geod24/remove-pascal-support
...
Remove support for `extern(Pascal)`
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2018-11-20 05:11:26 +01:00
Geod24
faf48bd493
Remove support for extern(Pascal)
2018-11-19 12:39:43 +01:00
Nicholas Wilson
f953e2c311
Merge pull request #6607 from wilzbach/fix-13683
...
[RFC] Fix Issue 13683 - More precise error message for wrong lambda
2018-11-19 15:45:02 +08:00
The Dlang Bot
8cef7b563e
Merge pull request #6743 from n8sh/string-template-antibloat
...
Decrease template bloat for string functions
merged-on-behalf-of: Jonathan M Davis <jmdavis@users.noreply.github.com>
2018-11-19 04:57:44 +01:00
Nicholas Wilson
1bfb5d4eb6
Merge pull request #6774 from n8sh/issue-19164-followup
...
Correct documentation in std.internal.memory
2018-11-19 11:04:20 +08:00
Nathan Sashihara
4cc47e6dc2
Fix Issue 19364 - Decrease template bloat for string functions
...
Use const(E)[] instead of E[] when it is valid and doesn't change the
return type.
2018-11-18 15:39:29 -05:00
Nathan Sashihara
d219440c32
Correct documentation in std.internal.memory
2018-11-18 04:31:42 -05:00
Nathan Sashihara
4f3db522d6
Merge pull request #6660 from n8sh/issue-19164
...
Fix Issue 19164 - malloc may be considered pure when failure results in program exit (no need to reset errno)
2018-11-18 01:19:27 -05:00
Nicholas Wilson
df938a337f
Merge pull request #6769 from n8sh/issue-19403
...
Fix Issue 19403 - Make std.string.stripLeft on char array nogc nothrow
2018-11-18 08:10:40 +08:00
Nathan Sashihara
dcca23edca
Fix Issue 19164 - malloc may be considered pure when failure results in program exit (no need to reset errno)
2018-11-17 17:00:16 -05:00
Nathan Sashihara
63a2198003
Fix Issue 19403 - Make std.string.stripLeft on char array nogc nothrow
2018-11-17 15:02:16 -05:00
Nicholas Wilson
ea4711e52a
Merge pull request #6772 from dlang/revert-6539-getTimesPosix
...
Revert "Add getTimesPosix"
2018-11-16 21:01:33 +08:00
Sebastian Wilzbach
0a45323f6f
Revert "Add getTimesPosix"
2018-11-16 21:33:59 +10:00
Nicholas Wilson
e6719075de
Merge pull request #6771 from n8sh/issue-19405
...
Fix Issue 19405 - Speed up backwards UTF-8 decoding in stripRight & make nogc nothrow for strings
2018-11-16 18:16:03 +08:00
Nathan Sashihara
f22d322d0f
Fix Issue 19405 - Speed up backwards UTF-8 decoding in stripRight & make nogc nothrow for strings
2018-11-16 03:14:23 -05:00