forked from dlang/phobos
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… handle non-self-equal nullValue
[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
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]>
assert messages for std.string
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]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.