Nick Treleaven
72da991685
[std.algorithm.searching] Fix 2 typos in docs ( #8728 )
2023-03-31 15:38:47 +03:00
Dennis Korpel
17b1a11afd
Remove redundant assumeUnique
in std.path
2023-03-25 04:49:48 +01:00
Jeremy
3c74c2b88a
Add an introduction to the std.json documentation, fix some mistakes in std.curl and replace broken links in std.stdio ( #8724 )
...
* Fix some mistakes in curl.d
* Add an introduction for std.json
* Fix more documentation in curl.d
* Fix broken links in std.stdio documentation
2023-03-21 11:01:15 +02:00
Razvan Nitu
91308f2f64
Merge pull request #8717 from burner/clamp_static_assert_message
...
Better std.algorithm.comparison.clamp error messages
2023-03-16 17:05:06 +08:00
Iain Buclaw
cfd5f13326
Merge remote-tracking branch 'upstream/stable' into merge_stable
2023-03-15 22:42:49 +00:00
Robert burner Schadek
d8c627e037
Better std.algorithm.comparison.clamp error messages
2023-03-15 16:53:20 +01:00
Per Nordlöw
8d03d52db4
Add doc hints between read and readText
2023-03-15 12:52:00 +01:00
RazvanN7
67a47cf39d
Fix Issue 23776 - getSymbolsByUDA fails to fetch symbols from module
2023-03-15 02:48:08 +01:00
RazvanN7
5b3afa5987
Fix std.random to not use this in static contexts
2023-03-15 00:17:00 +01:00
WebFreak001
3b3757af6b
fix 22147: allow @disable this(this) T in DList!T
2023-03-12 19:49:11 +01:00
WebFreak001
e2e1bb4c57
fix isBidirectionalRange with no-postblit .back
2023-03-12 19:49:07 +01:00
Iain Buclaw
65e380c339
std.math.exponential: Fix wrong placement of 1.0 in log1p coefficient
2023-03-11 14:52:06 +01:00
Andrew Lalis
2f8dd14f8d
Add emptyObject() and emptyArray() functions to std/json ( #8559 )
...
* Added emptyObject() and emptyArray() functions, and tests for them.
2023-03-09 15:28:55 +08:00
Razvan Nitu
8143b89ab8
Merge pull request #8700 from ntrel/prefer-__traits
...
[std.traits] Add 'See also: __traits'
2023-03-06 17:33:00 +08:00
Christian Koestlin
1720e03241
fix Issue 6106 - Keep track of changes during replace function
...
The functions without the newly introduced parameter forward
to the full implementation to reduce code duplication.
2023-03-05 12:49:26 +01:00
Geod24
928279879c
Fix a printf prototype in std.traits test
2023-03-04 12:50:04 +01:00
Geod24
ca8fa6c4ca
std.traits: Don't use soon-to-be-deprecated 'in ref'
2023-03-03 21:58:54 +01:00
Razvan Nitu
73e2f6d6e6
Merge pull request #8706 from ntrel/throw-shared
...
[std.concurrency] Avoid throwing shared type
2023-03-03 23:22:08 +08:00
Iain Buclaw
f2ac205a9d
std.math.exponential: Disable use of fyl2x and fyl2xp1 intrinsics on dmd/macOS port
2023-03-03 01:42:36 +01:00
Nick Treleaven
860a8871a7
Avoid throwing shared type
...
See comment for details and:
https://github.com/dlang/dmd/pull/14706#issuecomment-1432027545
2023-03-02 17:00:49 +00:00
Nick Treleaven
fdfaba2e18
Add links to spec/traits
2023-03-02 16:35:27 +00:00
Iain Buclaw
ff4d579e5d
Merge remote-tracking branch 'upstream/stable' into merge_stable
2023-03-01 18:01:33 +00:00
Nick Treleaven
54655c13f1
Add newlines
2023-03-01 11:39:17 +00:00
Nick Treleaven
750cfdb523
Change note to see also
...
Add isNested.
2023-03-01 11:19:20 +00:00
Iain Buclaw
e74d997522
fix Issue 23750 - log1p for floats/doubles not actually providing extra accuracy
2023-03-01 12:13:52 +01:00
Geod24
0dffb006ac
Change a unittest in std.traits for upcoming deprecation
2023-02-28 15:49:24 +01:00
Geod24
2e8f217ae9
Change how preview=in is detected
...
This is a minor internal change, but will allow us to deprecate in ref at the parser level.
2023-02-28 12:56:43 +01:00
Nick Treleaven
fff2fea42b
[std.traits] Prefer using __traits in new code
...
This reduces template instantiation overhead.
Note that some __traits accept type instances in addition to just types.
2023-02-25 13:30:33 +00:00
richard (rikki) andrew cattermole
ff86bb0d70
Improve std.regex build times by removing a formattedWrite call
2023-02-25 02:29:32 +13:00
The Dlang Bot
6d647c5825
Merge pull request #8697 from ibuclaw/merge_stable
...
merge stable
Signed-off-by: Nicholas Wilson <thewilsonator@users.noreply.github.com>
Merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2023-02-22 03:06:03 +01:00
Iain Buclaw
0f6de4ebde
Merge remote-tracking branch 'upstream/stable' into merge_stable
2023-02-21 23:52:58 +00:00
Razvan Nitu
0dc17a149e
Merge pull request #8681 from WalterBright/socket_assert
...
std.socket - tired of heisenbug failures in test suite
2023-02-22 01:08:15 +08:00
Razvan Nitu
eae52eb799
Merge pull request #8692 from ntrel/isSomeFunc
...
[std.traits] Simplify isSomeFunction
2023-02-22 01:05:03 +08:00
Steven Schveighoffer
fa5d1b138b
Revert "Fixing a memory leak"
...
This reverts commit cbb455fb34
.
2023-02-21 11:03:57 -05:00
Razvan Nitu
b77c739643
Merge pull request #8685 from burner/filter_static_assert_message
...
Better std.algorithm.iteration.joiner error messages
2023-02-21 18:56:26 +08:00
Andrea Fontana
cbb455fb34
Fixing a memory leak
...
In the forked process, the array "pfds" is allocated and is never free'd.
That's a problem if you're going to spawn and keep running a lot of processes, since it's a quite big array.
2023-02-21 11:41:37 +01:00
Robert burner Schadek
8546da5b04
Better std.algorithm.iteration.filter error messages
2023-02-21 10:17:22 +01:00
Iain Buclaw
a33d048302
std.math.exponential: Fix log10 coefficient order
2023-02-20 20:39:50 +01:00
Nick Treleaven
d35d395072
[std.traits] Simplify isSomeFunction
2023-02-20 16:02:30 +00:00
Razvan Nitu
2deea50438
Merge pull request #8690 from ikeycode/sorting-typos
...
algorithm/sorting: Fix typo introduced in PR #8678
2023-02-20 22:47:51 +08:00
Razvan Nitu
c9d1bd5813
Merge pull request #8691 from ntrel/return-type
...
More avoidance of std.traits.ReturnType
2023-02-20 22:44:59 +08:00
Razvan Nitu
0cec16af17
Merge pull request #8687 from n8sh/make-recent-isPointer-replacements-not-change-behavior
...
Fix recent isPointer changes to use is(T == U*, U) instead of is(T : U*, U)
2023-02-20 20:35:51 +08:00
Nick Treleaven
e9b234e73e
Tweak std.traits categories
2023-02-19 10:59:57 +01:00
Nick Treleaven
1c397ee30d
Revert back to (R r) to fix inout
2023-02-18 18:46:23 +00:00
Nick Treleaven
19c19a6e22
std.traits: Add note about ReturnType instantiations
...
Also avoid ReturnType in ForeachType.
2023-02-18 15:40:00 +00:00
Nick Treleaven
c7e1a1ed92
Update isSlicing docs to match code
...
Use lvalueOf instead of `(R r)` parameter as lvalueOf!R is already
needed for the other tests.
2023-02-18 15:30:14 +00:00
Ikey Doherty
ac8318c5ad
algorithm/sorting: Fix typo introduced in PR #8678
...
Typo specifically introduced in:
- baaa1117de
Signed-off-by: Ikey Doherty <ikey@serpentos.com>
2023-02-18 14:33:49 +00:00
Paul Backus
ec947ebc0f
std.net.curl: add missing import to examples
...
Fixes issue 23724 - HTTP.onReceive example does not compile
2023-02-18 00:40:25 +01:00
Nathan Sashihara
68c7ec8d25
Fix recent isPointer changes to use is(T == U*, U) instead of is(T : U*, U)
...
The behaviors are different and the changes appear accidental rather
than deliberate. In at least one case the change would result in wrong
behavior:
https://github.com/dlang/phobos/pull/8635#issuecomment-1433898162
Affected PRs: #8635 , #8636 , #8637 , #8638 , #8639
2023-02-16 19:46:24 -05:00
Vladimir Panteleev
fdceb11b3b
Fix Issue 23706 - Do not escape POSIX shell parameters unless necessary
...
POSIX follow-up to Issue 13447 / 09a0b876c8
.
2023-02-14 14:53:52 +00:00