Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating with upstream #1

Merged
merged 145 commits into from
Jun 13, 2019
Merged

Conversation

jasonSchroeder89
Copy link
Owner

No description provided.

dukc and others added 30 commits November 14, 2018 21:36
[GDC] GCC9 last-minute fix: MinGW changes to get phobos to build
merged-on-behalf-of: Nicholas Wilson <[email protected]>
[S390] std.math: Use IBMZ_Any for SystemZ bindings
merged-on-behalf-of: Nicholas Wilson <[email protected]>
- unittests did fail with DIP1000 due to missing return scope
  inference in chained range, thus leading to a scope violation
  which prevented `@safe` inference
- fixed unittests by adding return scope to chain.Result
- would still fail under dip1000 with other ranges that
  miss return scope on their opSlice
- should not have any effect on non-DIP1000 usage
fix Issue 19777 - SortedRange.opSlice should infer safety
…d.randomUUID

On 64-bit architectures use 64 bits of entropy to initialize
thread-local `rndGen`.

The motivation for this change is std.uuid defaults to using `rndGen`
to generate UUIDs. If every `rndGen` starts in one of 2^^32 states then
if 77000 independent programs each generate a single UUID there is a 50%
chance that at least two of them generate the same initial UUID (and all
subsequent UUIDs would be identical as well). Not just Phobos but also
C++ boost::uuids::random_generator defaults to generating UUIDs with a
Mersenne Twister initialized from a 32-bit seed, exacerbating the
collision problem further. If instead there are 2^^64 possible initial
states of `rndGen` there can be over 5 billion independent `rndGen`s
before there is a 50% chance of two having identical initial states.

This change is limited to 64-bit architectures to avoid a measurable
performance decrease, because many programs are not generating UUIDs.
Fix Issue 19836 - Excessive probability of UUID collisions in std.uuid.randomUUID
merged-on-behalf-of: Nicholas Wilson <[email protected]>
Merge remote-tracking branch 'upstream/stable' into merge_stable
std.mmfile: MAP_ANON is only defined in core.sys.posix.sys.mman
merged-on-behalf-of: Petar Kirov <[email protected]>
…emplates

Revert "Decrease template instantiation in std.algorithm.searching : all & any"
merged-on-behalf-of: Petar Kirov <[email protected]>
Fix Issue 6657 - dotProduct overload for small fixed size arrays
merged-on-behalf-of: Nathan Sashihara <[email protected]>
Merge remote-tracking branch 'upstream/stable' into merge_stable
merged-on-behalf-of: Petar Kirov <[email protected]>
Changed the private enhanced seeding method for `rndGen` to something
that is fast on both 64 bit and 32 bit machines so can be enabled
regardless of architecture. When compiled with LDC it is about 1.35x
the speed of public `Mt19937.seed(uint)`.
Fix Issue 19226 - std.typecons.Nullable(T, T nullValue) doesn't fully handle non-self-equal nullValue
SSoulaimane and others added 29 commits May 26, 2019 05:17
Added an enumerated type of ASCII control character.
ControlChar: member name typos
merged-on-behalf-of: Nicholas Wilson <[email protected]>
[TRIVIAL] Make link clickable and safe
merged-on-behalf-of: Nicholas Wilson <[email protected]>
Ternary operator no longer promotes characters to integers [Part 2]
merged-on-behalf-of: Nicholas Wilson <[email protected]>
assert messages for std.array
merged-on-behalf-of: Nicholas Wilson <[email protected]>
Fix Issue 19513 - Use sched_getaffinity(2) to get the number of CPU cores if abailable
merged-on-behalf-of: Nicholas Wilson <[email protected]>
Update header of sqlite3 to 3.28.0
merged-on-behalf-of: Nicholas Wilson <[email protected]>
Add powmod() for BigInt operands.
std.csv assert messages
merged-on-behalf-of: Nicholas Wilson <[email protected]>
Explicitly link to math library
merged-on-behalf-of: Nicholas Wilson <[email protected]>
Add a sponsorship button
merged-on-behalf-of: Nicholas Wilson <[email protected]>
std.process.forkChild cannot be inlined
merged-on-behalf-of: Nicholas Wilson <[email protected]>
The Win32_64 linker error that prevented this from being included in
PR #6743 no longer occurs in CI.
assert messages for std.format
merged-on-behalf-of: Nicholas Wilson <[email protected]>
…amic-arrays

Variant of an array can be compared with another array
merged-on-behalf-of: Nicholas Wilson <[email protected]>
FuncType is actually `@system` because of this, for some reason it is still `pure` and `nothrow`.
function attributes go on the right of function aliases
It's important to mention this, particularly so the user notices the auto-decoding overloads.
[docs][std.range.primitives] Add links to array range primitives
merged-on-behalf-of: Nicholas Wilson <[email protected]>
Add `inout` to range.front to reduce template proliferation
merged-on-behalf-of: Nathan Sashihara <[email protected]>
@jasonSchroeder89 jasonSchroeder89 merged commit 54e4a74 into jasonSchroeder89:master Jun 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.