Iain Buclaw
268b56be49
std.math: Remove duplicated RISCV version conditions
2020-06-29 16:35:52 +02:00
Iain Buclaw
6d6c02cda7
std.experimental.allocator.building_blocks.region: Remove duplicated RISCV version condition
2020-06-29 16:35:52 +02:00
The Dlang Bot
4d63a573f8
Merge pull request #7533 from ntrel/meta-map
...
[std.meta] Improve AliasSeq Map example & other tweaks
merged-on-behalf-of: Atila Neves <atilaneves@users.noreply.github.com>
2020-06-29 15:59:09 +02:00
The Dlang Bot
80a870d54d
Merge pull request #7548 from MoonlightSentinel/publictests
...
Fix public examples failing due to missing imports
merged-on-behalf-of: Mathias LANG <pro.mathias.lang@gmail.com>
2020-06-28 19:28:58 +02:00
MoonlightSentinel
c46c2c3aa6
Fix public examples failing due to missing imports
2020-06-28 18:12:56 +02:00
The Dlang Bot
549fa5c300
Merge pull request #7541 from MartinNowak/merge_stable
...
merge stable
merged-on-behalf-of: Mathias LANG <pro.mathias.lang@gmail.com>
2020-06-24 03:40:44 +02:00
Martin Nowak
64384cf202
Merge remote-tracking branch 'upstream/stable' into merge_stable
2020-06-24 00:08:51 +02:00
Nick Treleaven
8308cef30b
Don't use auto ref
lambda
2020-06-21 08:44:41 +01:00
The Dlang Bot
595904d376
Merge pull request #7511 from n8sh/issue-20889
...
Support construction of std.bigint.BigInt from a sign and a byte-array magnitude
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2020-06-20 03:08:16 +02:00
Andrei Alexandrescu
d65301490a
Merge pull request #7524 from MoonlightSentinel/move-sort
...
Fix issue - sort should move elements instead of copy...
2020-06-19 09:01:18 -04:00
Andrei Alexandrescu
a3dd382e66
Merge pull request #7530 from Just-Harry/fix-issue-20929
...
Fix issue 20929 - std.experimental.allocator.expandArray's range-based overload fails to instantiate for char and wchar arrays.
2020-06-19 08:57:42 -04:00
MoonlightSentinel
574f1f594f
Fix issue - sort should move elements instead of copy...
...
... because it's reordering elements instead. Calling `opAssign` on
unitialized members might also cause errors if the implementation
requires a valid instance (see `TimSortImpl`)
2020-06-19 09:10:58 +02:00
The Dlang Bot
95e8303068
Merge pull request #7535 from aG0aep6G/20949
...
fix issue 20949 - std.range.popFront is unsafe in release mode
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2020-06-19 03:13:47 +02:00
aG0aep6G
26822f44b5
fix issue 20949 - std.range.popFront is unsafe in release mode
2020-06-18 15:15:46 +02:00
John Colvin
b8e90f4a22
Fix Issue 20943 - std.algorithm.setops.cartesianProduct fails for ranges with @system popFront ( #7519 )
...
Let safety of cartesianProduct.Result.popFront be inferred.
2020-06-18 18:08:14 +09:00
Harry Gillanders
86e2d75187
Fix issue 20929
...
std.experimental.allocator.expandArray's range-based overload fails to
instantiate for char and wchar arrays.
2020-06-18 05:56:06 +01:00
Nick Treleaven
9756265b28
Minor tweaks
2020-06-16 13:30:55 +01:00
Nick Treleaven
74416ab6eb
Improve AliasSeq Map example
...
Inline simple functions, move testRef next to where it's used.
2020-06-16 13:21:53 +01:00
Martin Nowak
a6caa89885
Merge remote-tracking branch 'upstream/master' into stable
2020-06-16 12:37:04 +02:00
The Dlang Bot
a394c1348b
Merge pull request #7532 from Biotronic/Issue20928
...
Issue 20928 - Overloaded opIndex confuses MapResult
merged-on-behalf-of: Atila Neves <atilaneves@users.noreply.github.com>
2020-06-15 18:11:47 +02:00
Simen Kjærås
692f909883
Fix issue 20928
2020-06-15 10:11:43 +02:00
The Dlang Bot
b2e2ac0e43
Merge pull request #7527 from MartinNowak/merge_stable
...
merge stable
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2020-06-12 12:05:21 +02:00
Nicholas Wilson
79cc44b8f5
Merge pull request #7510 from kinke/tilde
...
std.path: Fix tilde expansion for HOME=/
2020-06-12 11:07:22 +08:00
Martin Nowak
fa87fdc1fc
Merge remote-tracking branch 'upstream/stable' into merge_stable
2020-06-12 00:12:33 +02:00
Martin Kinkelin
86a24dcafe
std.path: Fix tilde expansion for HOME=/
2020-06-11 20:40:39 +02:00
The Dlang Bot
a2ebc17239
Merge pull request #7526 from Geod24/rm-funding
...
Remove FUNDING.yml
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2020-06-11 14:37:24 +02:00
Geod24
ca7f01a7ea
Remove FUNDING.yml
...
This file can be found at dlang/.github now and we can remove the copy
we have in every single repository.
2020-06-11 20:38:25 +09:00
The Dlang Bot
c4c82994d3
Merge pull request #7520 from kinke/patch-1
...
std.math: Fix comment for isIdentical
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2020-06-07 17:26:25 +02:00
Martin Kinkelin
a7a1e0dc4e
std.math: Fix comment for isIdentical
2020-06-07 16:32:15 +02:00
The Dlang Bot
e3376a3561
Merge pull request #7516 from n8sh/is-identical-doc-fix-nan
...
Fix documentation of std.math.isIdentical for NaN: compares all bits not just payload
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2020-06-06 08:53:03 +02:00
The Dlang Bot
6d6e04bf6a
Merge pull request #7517 from WalterBright/scalbn-inline
...
scalbn() doesn't inline
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2020-06-06 07:43:54 +02:00
Walter Bright
016b33a1a4
scalbn() doesn't inline
2020-06-05 21:46:27 -07:00
Nathan Sashihara
0a0b03353e
Fix documentation of std.math.isIdentical for NaN: compares all bits not just payload
2020-06-05 18:48:25 -07:00
The Dlang Bot
ad2bf141a8
Merge pull request #7514 from MartinNowak/merge_stable
...
merge stable
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2020-06-06 01:30:10 +02:00
Nathan Sashihara
a0f4b65db8
Fix Issue 20889 - Support construction of std.bigint.BigInt from a sign and a byte-array magnitude
...
For consistency with other std.bigint functions allows arbitrary ranges.
2020-06-04 16:04:26 -07:00
Martin Nowak
3e9b17e7d3
Merge remote-tracking branch 'upstream/stable' into merge_stable
2020-06-04 18:14:08 +02:00
The Dlang Bot
6b10968b7c
Merge pull request #7512 from ntrel/writeln-str
...
[std.stdio.writeln] Simplify static checks for string specialization
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2020-06-04 02:04:14 +02:00
Nick Treleaven
73e71219c0
[std.stdio.writeln] Simplify static checks for string specialization
...
Checking for a slice or static array whose first element converts to
const(char) is enough; it rules out aggregates, enums, null.
2020-06-03 16:11:53 +01:00
The Dlang Bot
5825b7ad7d
Merge pull request #7505 from welkam/patch-1
...
Size(). Make description more clear and add example
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2020-06-03 07:55:57 +02:00
welkam
70d61e22ee
removed deleteme and improved description
2020-06-02 22:43:48 +03:00
The Dlang Bot
95e4fb49de
Merge pull request #7503 from MoonlightSentinel/safe-json
...
Fix Issue 20874 - std.json.assign requires '@safe' and 'pure'
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2020-05-31 10:05:35 +02:00
The Dlang Bot
ec600564ac
Merge pull request #7500 from denizzzka/generic_FSChar
...
alias FSChar = char for a wider range of platforms
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2020-05-31 06:17:21 +02:00
The Dlang Bot
781a4a0358
Merge pull request #7509 from n8sh/issue-20887
...
Improve speed of std.digest.digest!(Hash, Range) on non-array ranges
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2020-05-31 05:21:45 +02:00
The Dlang Bot
a7bd1a3184
Merge pull request #7502 from MoonlightSentinel/move-safe
...
Fix Issue 20869 - `move` is overly trusting of `opPostMove`
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2020-05-31 04:33:26 +02:00
Nathan Sashihara
18f2e6f042
Fix Issue 20887 - Improve speed of std.digest.digest!(Hash, Range) on non-array ranges
2020-05-30 18:04:07 -07:00
The Dlang Bot
6fc59f47ad
Merge pull request #7508 from wolframw/fix-20882
...
fix issue 20882 - Outdated examples in the documentation (std.stdio)
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2020-05-30 17:47:06 +02:00
wolframw
372b20ca17
fix issue 20882 - Outdated examples in the documentation (std.stdio)
2020-05-30 15:50:59 +02:00
welkam
05f46a852d
changed tabs to spaces
2020-05-29 17:15:40 +03:00
welkam
9fa355c26a
Size(). Make description more clear and add example
...
what title says
2020-05-29 16:39:36 +03:00
MoonlightSentinel
082f8300d9
Fix Issue 20869 - move
is overly trusting of opPostMove
...
Remove the manual check whether move is `@safe` and instead let the
compiler do the attribute interference by adding appropriate @trusted
blocks.
Note:
I could've extend the current checks `trustedMoveImpl` but that could
easily miss other corner cases.
2020-05-29 13:35:07 +02:00