Martin Kinkelin
c444d08fa1
Restore posix.mak, forwarding to generic Makefile
2023-12-16 22:22:20 +01:00
Martin Kinkelin
843afa8f64
Merge Makefiles
2023-12-16 22:22:20 +01:00
Iain Buclaw
b64bfbf911
Merge pull request #8858 from ibuclaw/merge_stable
...
merge stable
2023-12-02 17:00:17 +00:00
Iain Buclaw
4c07d45a79
Merge remote-tracking branch 'upstream/stable' into merge_stable
2023-12-02 13:57:02 +00:00
Iain Buclaw
1c52bd6096
purge changelog
2023-12-02 13:56:38 +00:00
Steven Schveighoffer
01957e9edb
Fix 24267 - make it so grapheme can be used as an aa key
2023-11-29 23:27:08 +01:00
Dennis
8c39523ba9
Merge pull request #8857 from ntrel/find-split-result
...
[std.algorithm.searching] Refactor `findSplit` result types
2023-11-28 23:38:54 +01:00
Dennis
505f81ab87
Merge pull request #8856 from ntrel/find-split-docs
...
[std/algorithm/searching] Improve findSplit docs
2023-11-28 23:34:43 +01:00
Dennis
6096f40a29
Merge pull request #8849 from FeepingCreature/fix/issue-24243-format-chain-filter-filter
...
Fix issue 24243: chain() must tolerate being in the init state.
2023-11-28 21:31:46 +01:00
Nick Treleaven
52ae4d36a9
3 minor tweaks
2023-11-28 17:38:29 +00:00
Nick Treleaven
0819fec814
[std.algorithm.searching] Refactor findSplit result types
2023-11-28 17:28:55 +00:00
Nick Treleaven
6b5f730b84
[std/algorithm/searching] Improve findSplit docs
...
Improve formatting for returned tuple.
Fix type of `result[1]` for After/Before.
Fix `pred` description.
Show example using custom `pred`.
2023-11-27 17:19:31 +00:00
Feldwor
39712a19bf
Update conv.d: textImpl(): make static if more readable. ( #8854 )
...
* Update conv.d: textImpl(): make static if more readable.
Adds newlines at the end of statements in the source code.
2023-11-25 22:54:54 +08:00
Martin Kinkelin
bef8a1c8e9
GHA: Adapt to recent dmd CI changes
2023-11-23 19:32:24 +02:00
Nick Treleaven
17bafda797
Fix assert on array literal ( #8851 )
...
Needed for https://github.com/dlang/dmd/pull/15837 .
2023-11-21 07:20:13 +08:00
Dennis
fe33c84610
Merge pull request #8836 from ntrel/fold-docs
...
[std.algorithm] Improve `fold` docs
2023-11-20 17:36:06 +01:00
Nick Treleaven
0ced94ca1c
[std.algorithm] Split find
docs into 2 ( #8844 )
...
It's much clearer to have separate docs for the overload not taking
`needle`, because its `pred` has a different signature and its behaviour
is simpler. It was necessary to move that overload (and its unittests)
above the other two.
Also improve the docs for the other overloads:
Remove duplicate BIGOH sentence already present under *Complexity*.
Use `e, n` for predicate parameter names, short for `element, needle`.
2023-11-20 22:19:03 +08:00
Dennis
7417040ae7
Merge pull request #8845 from ntrel/canFind-needles
...
Fix Issue 11111 - std.algorithm.canFind should support Needles...
2023-11-20 13:23:45 +01:00
Nick Treleaven
edc5bbde7b
Make new tests documented
2023-11-20 11:11:44 +00:00
Nick Treleaven
a2c2f79dfa
Fix Issue 11111 - std.algorithm.canFind should support Needles...
...
The requirement that each needle must be a range is arbitrary, so remove
it.
Note: This overload of `canFind` calls `find(haystack, needles)` which
calls `startsWith`, which accepts mixed element and range needles.
2023-11-20 10:58:16 +00:00
Nick Treleaven
585ddbe691
[std.algorithm] Improve canFind
docs ( #8843 )
...
Minor tweaks.
Fix wrong `LREF`.
Also fix wrong `REF` to `among`.
2023-11-20 05:55:26 +08:00
Yang Yujie
870eb5d5d6
Add std/math/hardware.d support for LoongArch64.
2023-11-17 09:01:36 +01:00
Mathis Beer
f6ff0f7c37
chain() must tolerate being in the init state.
2023-11-14 09:53:00 +01:00
Petar Kirov
24dab1f547
docs(std.logger.package): Fix ddoc macro typo in "Basic Logging" section
2023-11-13 00:30:32 +01:00
HuskyNator
fc06c514a8
Add missing log function error
to std.logger
documentation ( #8846 )
...
Error was missing from the documentation here.
2023-11-12 16:56:26 +08:00
Atila Neves
886d792d09
Add optional element type to isForwardRange
...
Similar to #8819
2023-11-07 15:26:52 +01:00
Dennis
4a75ffd016
Merge pull request #8818 from ntrel/array-ctor
...
Fix Issue 24151 - std.container.array: `Array!string("")` does not compile
2023-11-07 10:55:01 +01:00
Nick Treleaven
39d921681b
Fix import
2023-11-06 17:50:20 +00:00
Dennis
ebf5038fbf
Merge pull request #8841 from pbackus/revert-isbasictype-changes
...
Revert "Fix Issue 24215 - isBasicType!Enum should be false"
2023-11-06 12:00:32 +01:00
Paul Backus
12229f4986
Revert "Add changelog entry for isBasicType"
...
This reverts commit 1813356ab2
.
2023-11-04 10:57:37 -04:00
Paul Backus
fa0307e091
Revert "Fix Issue 24215 - isBasicType!Enum should be false"
...
This reverts commit 98326c477f
.
2023-11-04 10:57:37 -04:00
Paul Backus
1813356ab2
Add changelog entry for isBasicType
...
See PR #8838
2023-11-02 19:59:01 +01:00
Paul Backus
98326c477f
Fix Issue 24215 - isBasicType!Enum should be false
2023-11-02 16:23:46 +01:00
Iain Buclaw
1c98326e78
Merge pull request #8839 from ibuclaw/merge_stable
...
Merge stable
2023-11-02 00:51:44 +00:00
Iain Buclaw
c6f2c97c1b
Merge remote-tracking branch 'upstream/stable' into merge_stable
2023-11-02 00:43:47 +00:00
Iain Buclaw
244a5c2914
Merge remote-tracking branch 'upstream/master' into stable
2023-11-01 22:42:05 +00:00
Nick Treleaven
7f06f2358a
Rename b
to e
for element in predicates
2023-10-31 17:40:45 +00:00
Nick Treleaven
2170bb37bc
Tweak seed description
2023-10-31 17:37:05 +00:00
Nick Treleaven
5762f3311b
Explain predicate signature
2023-10-31 17:26:48 +00:00
Jonathan M Davis
1febc32aa6
Add Unshared to std.traits.
...
This is the shared equivalent of Unconst. It allows code to strip off
shared without stripping off const.
2023-10-31 11:51:59 +01:00
Paul Backus
c4cbe0c21b
Use isQualifierConvertible in isInputRange!(R, E)
...
This replaces the bespoke type comparison that was previously used. All
conversions allowed by the previous version are still allowed after this
change.
2023-10-31 11:38:10 +01:00
Martin Kinkelin
93530131b1
Revert "GHA: Work around a $p:
bug in DMD's d_do_test.d"
...
This reverts commit 4f6de84894
, as DMD
master has been fixed.
2023-10-30 19:17:42 +00:00
Nick Treleaven
f491d1f233
[std.algorithm] Improve fold
docs
...
Mention iteratively calling predicates in summary.
Use list to explain calling a single predicate with a seed.
Mention multiple results are produced in description.
Use list for see also.
Rename `seed` parameter `seeds` and fix docs.
Fix result docs when >1 predicate.
2023-10-30 16:17:24 +00:00
Jonathan M Davis
aa3416c5f6
Merge pull request #8834 from schveiguy/fixparallelism
...
make std.parallelism.AbstractTask inaccessible
2023-10-29 13:54:54 -06:00
Steven Schveighoffer
0ec4f47130
Fix issue 24207 - make AbstractTask private so it's not inadvertently
...
accessible to users of Task.
2023-10-29 11:04:54 -04:00
Imperatorn
2458e8f82e
Typo
2023-10-29 15:39:13 +01:00
Iain Buclaw
3e76526381
Merge pull request #8831 from kinke/ci_gha
...
CI: Move Cirrus jobs to GitHub Actions
2023-10-28 22:57:50 +01:00
Martin Kinkelin
4f6de84894
GHA: Work around a $p:
bug in DMD's d_do_test.d
...
/Users/runner/work/phobos/phobos => /Users/runner/work/phobos
2023-10-28 20:52:34 +02:00
Martin Kinkelin
b8a0537bdc
CI: Move Cirrus jobs to GitHub Actions
2023-10-28 20:11:21 +02:00
Paul Backus
4eb622ef4c
Add std.traits.isQualifierConvertible
2023-10-27 09:15:57 +02:00