Commit graph

16903 commits

Author SHA1 Message Date
The Dlang Bot
f87f2fab42
Merge pull request #6721 from ryan27968/patch-1
Fix typo
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-09-27 10:12:24 +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
The Dlang Bot
c9d594100e
Merge pull request #6718 from ibuclaw/corestdio
std.stdio: Remove redundant enum declarations
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-09-23 23:22:41 +02: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
Iain Buclaw
fd5facfe04 posix.mak: Enforce whitespace before opening parenthesis for version conditions 2018-09-22 16:57:24 +02:00
Mathis Beer
7a32298747 Fix issue 19257: Only remove const on .join if you can actually assign const to non-const values. 2018-09-21 11:43:40 +02:00
The Dlang Bot
c029ef2ead
Merge pull request #6715 from dcarp/patch-2
Fix formattedRead throwing Exception
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2018-09-21 01:09:44 +02:00
The Dlang Bot
fe35b94a05
Merge pull request #6714 from wilzbach/remove-betterc-separate
Remove separate @betterC tests
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2018-09-20 23:55:13 +02:00
The Dlang Bot
0032c8d580
Merge pull request #6692 from n8sh/allocate-zeroed-pt2
Implement allocateZeroed for building-block allocators
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-09-20 21:46:07 +02:00
Dragos Carp
838f5994ed
Fix formattedRead throwing Exception
formattedRead is documented as throwing FormatException.
2018-09-20 21:28:50 +02:00
The Dlang Bot
7f8e4fa334
Merge pull request #6710 from wolframw/issue_18851
Fix Issue 18851 -- std.net.curl.post cannot be used with !ubyte
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-09-20 19:57:07 +02:00
The Dlang Bot
60c801872d
Merge pull request #6712 from Biotronic/Issue-19240
Fix issue 19240 - std.typecons.Tuple should check for reserved identi…
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
2018-09-20 19:42:52 +02:00
wolframw
0f999e0a0a fix issue 18851 2018-09-20 18:52:31 +02:00
Sebastian Wilzbach
c7aeb240d0 Remove separate @betterC tests 2018-09-20 18:37:39 +02:00
The Dlang Bot
6a15dfbe18
Merge pull request #6708 from ibuclaw/ibmextended
std.math: Remove support for IBM extended reals
merged-on-behalf-of: David Nadlinger <code@klickverbot.at>
2018-09-20 15:32:06 +02:00
The Dlang Bot
df8c461c0e
Merge pull request #6709 from TurkeyMan/fix_editorconfig
Fix line endings in .editorconfig
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2018-09-20 13:32:00 +02:00
Petar Kirov
f12924e8e2
Merge pull request #6713 from FeepingCreature/fix/avoid-ludicrous-overallocation
Fix issue 19252: avoid ludicrous format length overestimate
2018-09-20 10:08:21 +03:00
Mathis Beer
c156f4ad95 Fix issue 19252: avoid ridiculous format length overestimate; dynamic-width strings should estimate width 0, not int.max 2018-09-19 21:13:21 +02:00
Simen Kjærås
ad8361b369 Fix issue 19240 - std.typecons.Tuple should check for reserved identifiers 2018-09-19 08:28:06 +02:00
Manu Evans
37fb32d091 Fix line endings in .editorconfig 2018-09-16 12:19:04 -07:00
Iain Buclaw
a55fcb7349 std.math: Remove support for IBM extended reals 2018-09-15 12:07:21 +02:00
The Dlang Bot
4ed155ce1c
Merge pull request #6706 from aG0aep6G/patch-1
Ddoc: fix unescaped dollar sign
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2018-09-13 20:50:42 +02:00
aG0aep6G
b9fe8b9ed0
Ddoc: fix unescaped dollar sign 2018-09-13 19:22:55 +02:00
Petar Kirov
99d689566c
Merge pull request #6704 from ibuclaw/unsafetcons
std.typecons: Unittest isn't safe
2018-09-12 09:49:17 +03:00
Nathan Sashihara
0ac79f5a82
Merge pull request #6705 from Geod24/fix-buildkite
Fix buildkite build
2018-09-11 20:52:57 -04:00
Geod24
4f16b86f7e Fix buildkite build
The 'betterC' target was renamed to 'betterc' in 1302dd54c1,
but stable was incorrectly merged into master in #6677.
2018-09-11 12:57:17 +09:00
Iain Buclaw
2d458405e1 std.typecons: Unittest isn't safe 2018-09-11 01:18:07 +02:00
Nathan Sashihara
e211db679a
Merge pull request #6461 from n8sh/emplace-zero-init
In std.conv.emplaceInitializer use memset instead of memcpy when setting all 0s
2018-09-09 17:25:54 -04:00
Nathan Sashihara
0e04a04ae0
Merge pull request #6697 from n8sh/replace-isInitAllZeroBits
Replace isInitAllZeroBits with new __traits(isZeroInit)
2018-09-09 16:28:48 -04:00
Nathan Sashihara
6c65e24a8c
Merge pull request #6677 from MartinNowak/merge_stable
Merge remote-tracking branch 'upstream/stable' into merge_stable
2018-09-09 15:09:48 -04:00
Martin Nowak
cbf857610b Merge remote-tracking branch 'upstream/stable' into merge_stable 2018-09-09 14:12:07 -04:00
Petar Kirov
538587451b
Merge pull request #6698 from n8sh/issue-19236
Fix Issue 19236 - Replace runtime `typeid(T).initializer().ptr is null` checks with compile-time `__traits(isZeroInit, T)`
2018-09-09 20:14:43 +03:00
Nathan Sashihara
947ba51707 Fix Issue 19236 - Replace runtime typeid(T).initializer().ptr is null checks with compile-time __traits(isZeroInit, T) 2018-09-09 12:19:34 -04:00
Nathan Sashihara
b97e76bdfd In std.conv.emplaceInitializer use memset instead of memcpy when setting all 0s 2018-09-09 11:36:13 -04:00
Nathan Sashihara
3255a2ebbb Replace isInitAllZeroBits with new __traits(isZeroInit)
Requires https://github.com/dlang/dmd/pull/8583.

Also remove isInitAllOneBits and replace with direct check for
char/wchar. isInitAllOneBits had the same problem with unreasonable
memory usage as the old isInitAllZeroBits
(https://issues.dlang.org/show_bug.cgi?id=18937).
2018-09-09 11:27:38 -04:00
The Dlang Bot
8538fd7e17
Merge pull request #6696 from jpf91/fixArm
[ARM] [GDC] Make hasExceptionTraps pure on ARM
merged-on-behalf-of: Iain Buclaw <ibuclaw@gdcproject.org>
2018-09-08 17:05:37 +02:00
Nathan Sashihara
a3dfcc1025 Implement allocateZeroed for building-block allocators
Followup to https://github.com/dlang/phobos/pull/6411
2018-09-08 10:56:34 -04:00
The Dlang Bot
a681e986a3
Merge pull request #6467 from vlasebian/checked_toHash
Fix Issue 18675 - Missing toHash in std/experimental/checkedint.d
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-09-08 16:41:18 +02:00
Johannes Pfau
24c998d021 Make hasExceptionTraps pure on ARM 2018-09-08 14:39:07 +02:00
The Dlang Bot
097a405e59
Merge pull request #6517 from vlasebian/red_toHash
Fix Issue 18683 - no toHash in rbtree
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2018-09-08 13:43:45 +02:00
Vlad Vitan
f21833ff15 Fix Issue 18675 - Missing toHash in std/experimental/checkedint.d 2018-09-08 07:40:02 -04:00
The Dlang Bot
bc0bfcf12d
Merge pull request #6694 from Biotronic/issue-19228
Fix issue 19228 - hasAliasing fails on static arrays
merged-on-behalf-of: Petar Kirov <ZombineDev@users.noreply.github.com>
2018-09-08 09:58:02 +02:00
The Dlang Bot
217c9af28f
Merge pull request #6659 from shove70/patch-1
Fix Issue 17712 - [REG 2.074] [LINK] Undefined reference to std.conv.toChars!(10, char, 1, uint).toChars(uint)
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-09-07 22:20:09 +02:00
Simen Kjærås
bcc9d57b20 Fix issue 19228 - hasAliasing fails on static arrays 2018-09-06 09:35:16 +02:00
The Dlang Bot
f03cce20ea
Merge pull request #6689 from WalterBright/copyright
switch Digital Mars copyright to D Language Foundation
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-09-06 00:11:16 +02:00
Walter Bright
33cceac7ac switch Digital Mars copyright to D Language Foundation 2018-09-05 13:49:46 -07:00
The Dlang Bot
e80038b9d0
Merge pull request #6687 from John-Colvin/substitute_fix
fix substitute for single subrange subst
merged-on-behalf-of: Nathan Sashihara <n8sh@users.noreply.github.com>
2018-09-05 08:01:10 +02:00