Skip to content

Conversation

@thewilsonator
Copy link
Contributor

0-v-0 and others added 30 commits June 22, 2024 11:07
Remove std.conv import from quickSortImpl
…g#9019)

* Move `std.math.exponential.pow` implementation outside template

* Fix compilation on Mac
Caught with grep -Er '\(\$[A-Za-z]'
for link in $(grep -Eor 'https?://[^\\)", ]+' | grep -v dlang.org \
| grep -Eo 'https?://.+'); do (printf "%s: " "$link"; curl -Is "$link" \
| head -n1) | grep -E '4..$'; done

for link in $(grep -Eor '\\$\\(HTTP .+, ' | grep -v dlang.org \
| cut -d' ' -f2- | sed 's/, .*$//'); do out="$(curl -Is "$link")"; \
(! [ $? = 0 ] || printf '%s' "$out" | head -n1 | grep -Eq '4..') \
&& printf '%s\\n' "$link"; done
replace dead links

Signed-off-by: Vladimir Panteleev <[email protected]>
Signed-off-by: Nicholas Wilson <[email protected]>
Merged-on-behalf-of: Nicholas Wilson <[email protected]>
Note: www.canonware.com/download/jemalloc/jemalloc-latest/doc/jemalloc.html jemalloc link isn't responding, and it now lives at jemalloc.net (see also https://github.com/jemalloc/jemalloc?tab=readme-ov-file#readme).

Fixes Bugzilla Issue 24667 - goo.gl is going away.
Bugzilla 23300 - add testcase for std.array on scope InputRange
The second opCast overload is necessary to allow built-in implicit
conversions (e.g., mutable to const) to be performed explicitly via a
cast expression. Nullable.opEquals depends on this behavior.
…_t length' without using 'data' property

Add `length` property rather than `app[].length`.

Also remove `@trusted` attribute from `@safe` function.
thewilsonator and others added 13 commits October 21, 2024 09:44
* fix long line linter error

* Update package.d
Avoid breaking code that do "final switch" oven JSONType.
Fix Issue 24823 - std.json: Allow optionally preserving the order of fields in JSON objects
Added 'Haiku' and 'Solaris' to 'system'.
* Add documentation from the Phobos 3 Design repo. Add section on Template Reduction by request of Walter. Split up documents for clarity.

* Add README.md. Update documents using documents from the V3 Design Repo.

* Move numeric to the math package.
…pt. (dlang#9069)

* Remove Phobos 3 dub.sdl and replace it with the build_v3.d buid script.

* Add environment bang to the build script.

* Fix the Phobos v3 build script so that unit tests work on POSIX.

---------

Co-authored-by: Jonathan M Davis <[email protected]>
@dlang-bot
Copy link
Contributor

Thanks for your pull request and interest in making D better, @thewilsonator! We are looking forward to reviewing it, and you should be hearing from a maintainer soon.
Please verify that your PR follows this checklist:

  • My PR is fully covered with tests (you can see the coverage diff by visiting the details link of the codecov check)
  • My PR is as minimal as possible (smaller, focused PRs are easier to review than big ones)
  • I have provided a detailed rationale explaining my changes
  • New or modified functions have Ddoc comments (with Params: and Returns:)

Please see CONTRIBUTING.md for more information.


If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment.

Bugzilla references

Auto-close Bugzilla Severity Description
14138 major std.parallelism.task breaks @safety
15315 normal can break immutable with std.algorithm.move
20870 normal std.outbuffer.printf is trusted
20872 normal std.array.assocArray trusts user-provided 'front' for values
22293 enhancement Nullable should define opCast!bool
23300 normal std.array : array wrongly propagates scopeness of source
24667 normal goo.gl is going away
24685 major std.stdio.File.rawRead allows reading raw pointers from files in @safe code
24698 enhancement Appender needs to expose readonly property 'size_t length' without using 'data' property

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "stable + phobos#9072"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.