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

Sync with upstream. #2

Merged
merged 1,128 commits into from
Oct 1, 2019
Merged

Sync with upstream. #2

merged 1,128 commits into from
Oct 1, 2019

Conversation

veelo
Copy link
Owner

@veelo veelo commented Oct 1, 2019

No description provided.

thewilsonator and others added 30 commits June 11, 2019 14:42
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]>
In addition make the ctors (which were @trusted) and tests @safe, but
that is not an API change, so it is not in the changelog.
* changelog
* annotate unittest
* with check for strict parsing
* tabs
Merge remote-tracking branch 'upstream/stable' into merge_stable
Fix issue 19939 - std.format count width error
merged-on-behalf-of: Nathan Sashihara <[email protected]>
Increase unit-test coverage of complex.d to 100 percent
merged-on-behalf-of: Nicholas Wilson <[email protected]>
Swapping the fptr and union around will avoid unnecessary padding.
19987 - Reduce memory used by VariantN
merged-on-behalf-of: Nicholas Wilson <[email protected]>
typo in transcode unittest
merged-on-behalf-of: Nicholas Wilson <[email protected]>
std_json allow trailing comma
merged-on-behalf-of: Nathan Sashihara <[email protected]>
…l.cstring.tempCString

This is applicable for narrow strings when the output type matches the
string's encoding type.
Merge remote-tracking branch 'upstream/stable' into merge_stable
merged-on-behalf-of: Petar Kirov <[email protected]>
Fix issue 19823 - std.range.dropOne doesn't drop the element when cal…
merged-on-behalf-of: Jonathan M Davis <[email protected]>
WalterBright and others added 29 commits September 12, 2019 23:21
array.d: replace Error with assert()
merged-on-behalf-of: Nicholas Wilson <[email protected]>
bigint.d: replace Error with assert()
merged-on-behalf-of: Nicholas Wilson <[email protected]>
…int-infinite-ranges-in-test-mode

Fix issue 20218: format: don't try to print the entire range while merely testing the format string
merged-on-behalf-of: Nicholas Wilson <[email protected]>
Fix issue 20145 - Random unittest failures in std.datetime.stopwatch
merged-on-behalf-of: Nicholas Wilson <[email protected]>
adds assert messages to std.container.dlist
merged-on-behalf-of: Nicholas Wilson <[email protected]>
assert messages container dlist typo fix
merged-on-behalf-of: Nicholas Wilson <[email protected]>
Add Unconst to std.traits
merged-on-behalf-of: Nicholas Wilson <[email protected]>
This makes the create() method protected to enable
spawning a fiber with a custom stack size.

The InfoFiber class has been made protected to
allow instantiating it in subclasses.
FiberScheduler: Make the stack size configurable
merged-on-behalf-of: Nicholas Wilson <[email protected]>
This example seems to not have worked ever.

You cannot create a delegate to an uninstantiated template function, and for the task() template function to be able to deduce a
function, all optional parameters to read() need to be given.

The delegate issue is kind of obvious. The default parameter issue I don't know whether is a compiler limitation that could be lifted or not.

These fixes make the example less pretty, especially compared to the example of the other overload of task(), but is it how it is.

Runnable variant: https://run.dlang.io/is/WAns8z (not for publication)
Make task() example compilable.
merged-on-behalf-of: Nicholas Wilson <[email protected]>
Remove posix only unittest relying on presence of unzip untility.
merged-on-behalf-of: Vladimir Panteleev <[email protected]>
Clearer documentation for approxEqual
merged-on-behalf-of: Nicholas Wilson <[email protected]>
std.zip: Update and correct main documentation
merged-on-behalf-of: Vladimir Panteleev <[email protected]>
Fix typo.
merged-on-behalf-of: Nicholas Wilson <[email protected]>
Move "print" to "convert" in example of to template.
merged-on-behalf-of: Nicholas Wilson <[email protected]>
std.zip: Add data structure for detecting overlapping chunks.
merged-on-behalf-of: Nicholas Wilson <[email protected]>
typetuple: 100% code coverage
merged-on-behalf-of: Nicholas Wilson <[email protected]>
@veelo veelo merged commit 9baca23 into veelo:master Oct 1, 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.