Commit graph

14174 commits

Author SHA1 Message Date
Nicholas Wilson
46e0074f03
Don't shorten the width of the iteration variable 2018-11-11 14:33:26 +08:00
ARaspiK
3d54b63c5d
Make rndgen nothrow
This passes all Phobos tests and would be really nice for no-exceptions situations, instead of appending `assumeWontThrow` to everything. Should be quick.
2018-11-10 21:47:25 +01:00
The Dlang Bot
3360701fb4
Merge pull request #6756 from pbackus/patch-1
Add %-( to format string grammar
merged-on-behalf-of: Eduard Staniloiu <edi33416@users.noreply.github.com>
2018-11-10 18:43:35 +01:00
Mike Parker
e44a862811
Typo in REF macro parameter list in each doc.
`$(REF Flag, std.typecons)`!"each"` should have a comma between the package names, not a dot. It was causing the text to render as `std.typecons..Flag!"each"`.
2018-11-09 19:43:43 +09:00
The Dlang Bot
b166873570
Merge pull request #6750 from edi33416/reduce_isImplConv
Simplify isImplicitlyConvertible trait
merged-on-behalf-of: Andrei Alexandrescu <andralex@users.noreply.github.com>
2018-11-09 00:24:20 +01:00
Vladimir Panteleev
1d4cfe3d88
Fix Issue 19367 - std.net.curl does not understand HTTP/2 status lines 2018-11-08 15:24:23 +00:00
The Dlang Bot
969b4e7bf8
Merge pull request #6753 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-11-08 06:22:10 +01:00
The Dlang Bot
f626143a43
Merge pull request #6699 from n8sh/issue-19197
Fix Issue 19197 - Replace instances of typeid(T).getHash(..) with hashOf
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-11-08 06:21:07 +01:00
Nicholas Wilson
41530c625b
Fix typo in opBinary doc 2018-11-08 08:08:32 +08:00
Paul Backus
569a49eb5b
Add %-( to format string grammar
This format specification is described later in the documentation, and works as documented, but is not included in the format string grammar.
2018-11-07 14:44:29 -05:00
Nicholas Wilson
694bbe3456
Fix opBinary[Right]CustomFloat op CustomFloat ambiguity
For dlang/dmd#8922
2018-11-07 10:38:00 +08:00
Martin Nowak
b2b295adff Merge remote-tracking branch 'upstream/stable' into merge_stable 2018-11-06 11:42:22 +01:00
Per Nordlöw
6b64ed9d57 Fix Issue 19366 - Qualify opCast(bool) as const for findSplit, findSplitBefore and findSplitAfter. 2018-11-05 10:48:27 -05:00
Martin Nowak
a8e9857756 fix Issue 19337 - cannot call std.algorithm.sort twice
- introduced with #6535 which stripped nested SortedRange types
  in assumeSorted, thus causing a mismatch between the return type
  of sort (SortedRange!(SortedRange!R)) and assumeSorted SortedRange!R
- fix by stripping nested SortedRange types in the SortedRange!R
  template instantiation
2018-11-05 15:43:25 +01:00
Eduard Staniloiu
7c30a7adf8 Simplify isImplicitlyConvertible trait 2018-11-05 13:57:25 +00:00
The Dlang Bot
f961aa8686
Merge pull request #6155 from wilzbach/fix-5502
Fix Issue 5502 - More handy ways to create associative arrays
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-11-03 23:30:21 +01:00
Vladimir Panteleev
d18d52641c
std.datetime.date: Clarify that add/roll mutate the current object
It was not clear from the documentation whether these methods mutate
the current object, or return a new object with the applied
modification. The fact that these functions have a non-void return
type adds to the confusion.

Clarify this by explicitly mentioning that the functions mutate the
current object, and add a "Returns:" DDoc section documenting that the
methods simply return `this`.
2018-11-01 21:24:52 +00:00
Iain Buclaw
918954a3d9 std.math: Use SPARC_Any instead of SPARC64 2018-11-01 01:24:46 +01:00
The Dlang Bot
c8afcb736b
Merge pull request #6741 from dukc/fuzzyTestFix
Removed an unittest of minimallyInitializedArray that can fail randomly
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-10-31 12:46:58 +01:00
dukc
84fe94c00e Removed an unittest of minimallyInitializedArray that can fail randomly 2018-10-31 12:38:38 +02:00
Sebastian Wilzbach
3cfe2c11fa Fix Issue 5502 - More handy ways to create associative arrays 2018-10-30 15:59:52 -04:00
Richard Palme
9d7f453f1f fixed issue 19338 2018-10-30 20:40:23 +01:00
The Dlang Bot
67cc14806d
Merge pull request #6737 from Andu033/master
Update the coding style in errorfunction.d
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2018-10-27 11:02:28 +02:00
Martin Nowak
bf44bb571e Merge remote-tracking branch 'upstream/stable' into merge_stable 2018-10-26 16:02:08 +02:00
Nathan Sashihara
725278b2ce Fix Issue 19331 - std.regex.internal.ir.SmallFixedArray.toHash is ignored because it's non-const 2018-10-25 03:22:04 -04:00
Per Nordlöw
fc96b0a99d make some traits iterative using static foreach 2018-10-23 21:22:57 +02:00
Geod24
1f2da409cc Fix Issue 4957: std.concurrency rejects structs with Tid
In addition to the fix which makes it recurse in struct, the
instantiation was changed to not use recursive template instantiation,
exception for struct's tupleof.
2018-10-23 04:12:59 -04:00
Nathan Sashihara
f784f74dad Fix Issue 19197 - Replace instances of typeid(T).getHash(..) with hashOf 2018-10-22 17:10:08 -04:00
Andu033
57ceb139c7
Update errorfunction.d 2018-10-21 16:15:08 +03:00
The Dlang Bot
e2709ee1e8
Merge pull request #6700 from schveiguy/fixsplitter
Allow no-arg splitter function to work on ranges that aren't standard strings
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-10-19 15:50:54 +02:00
Steven Schveighoffer
f7154ec86a Fix issue 19238 - Allow splitter on random-access ranges of characters that aren't
character arrays.
2018-10-18 11:05:57 -04:00
Nathan Sashihara
2e6c538dc6 Fix issue 19308 - optimize stripLeft
Add ASCII fast path to stripLeft & avoid redundant decoding.
2018-10-17 11:58:18 -04:00
aG0aep6G
08f76c2974 Ddoc: fix botched backticks 2018-10-16 23:37:17 +02:00
The Dlang Bot
76ef073df3
Merge pull request #6726 from FeepingCreature/fix/Issue-19297-handle-jsonvalue-signed-unsigned-comparison
Fix issue 19297: handle comparison of signed, unsigned and floating JSONValues as in D
merged-on-behalf-of: Vladimir Panteleev <github@thecybershadow.net>
2018-10-16 14:57:03 +02:00
Mathis Beer
b07b215424 Fix issue 19297: handle comparison of signed, unsigned and floating JSONValues 2018-10-11 10:47:28 +02:00
The Dlang Bot
264ab218dc
Merge pull request #6723 from crocopaw/transposed
Fix Issue 19289 - std.range.transposed with enforceNotJagged not throwing
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-10-06 17:49:03 +02:00
devel
aaa00b7232 Fix Issue 19289 - std.range.transposed with enforceNotJagged not throwing 2018-10-06 10:53:31 -04:00
Martin Nowak
95a1713806 Merge remote-tracking branch 'upstream/stable' into merge_stable 2018-10-05 17:26:18 +02:00
The Dlang Bot
0994f692e2
Merge pull request #6711 from FeepingCreature/fix/join-unassignable-const-arrays
Fix issue 19257: std.array.join: only remove const if you can actually assign const to non-const values
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-10-03 01:06:34 +02:00
Alexandru ermicioi
0648b8706f Fix issue 17276 added additional case for objects that do not have as root class Object. 2018-10-01 18:21:30 -04:00
The Dlang Bot
a531a9ca97
Merge pull request #6722 from rainers/issue19275
Fix Issue 19275 - std.process: redirecting output in a non-console application fails
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-10-01 12:56:37 +02:00
The Dlang Bot
a00b2e59af
Merge pull request #6719 from jpf91/aarch64
[AArch64] [GDC] Fix two small AArch64 bugs / typos
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-09-30 10:24:39 +02:00
Johannes Pfau
00301f0f0b AArch64: Fix typo in std.math 2018-09-30 09:28:47 +02:00
Johannes Pfau
5870efca77 Allow small differences in real number in test
The implementations are not equal and may lead slightly different
results (e.g. on AArch64 with GDC)
2018-09-30 09:28:41 +02:00
Rainer Schuetze
8f0aeedfc7 Fix issue 19275 - std.process: redirecting output in a non-console application fails
MS runtime up to VS2013 used pseudo handle _NO_CONSOLE_FILENO in that case
2018-09-29 20:37:45 +02:00
Ryan David Sheasby
3dfbbe7dbc
Fix typo 2018-09-27 08:37:30 +02:00
The Dlang Bot
656798f2b3
Merge pull request #6717 from ibuclaw/bshedversion
[refactor] posix.mak: Enforce whitespace before opening parenthesis for version …
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2018-09-26 15:39:36 +02:00
Nathan Sashihara
c99a1855f6 Fix Issue 18327 - std.random.XorshiftEngine is parameterized by UIntType but only works with uint
Also:
* Add ability to specify shift directions.
* Allow arbitrary XorshiftEngine sizes instead of predefined list only.
* Except when array is small, use index to make speed of `popFront`
  independent of array size.
2018-09-24 08:55:00 -04:00
Iain Buclaw
f8e19a134f posix.mak: Enforce no whitespace after opening parenthesis for version conditions 2018-09-23 17:38:58 +02:00
Iain Buclaw
10847bcf1d std.stdio: Remove redundant enum declarations 2018-09-22 23:35:10 +02:00