Commit graph

19812 commits

Author SHA1 Message Date
Iain Buclaw
1f49f65c51 Merge remote-tracking branch 'upstream/stable' into merge_stable 2023-02-01 20:32:15 +00:00
Iain Buclaw
a4592ef56d purge changelog 2023-02-01 20:31:41 +00:00
DanutAldea
cce4c938dd Fix Issue 20397 2023-02-01 00:44:25 +01:00
Rosca Rares
71c78b4dee Fix Issue 19567 2023-02-01 00:18:28 +01:00
Razvan Nitu
6f9b1b8768
Merge pull request #8671 from RazvanN7/remove_alisthis_for_classes
Remove alias this from classes in phobos
2023-01-26 21:35:26 +08:00
RazvanN7
61658d2372 Remove alias this from classes in phobos 2023-01-26 14:35:08 +02:00
Razvan Nitu
c6bfea5462
Merge pull request #8668 from FeepingCreature/issue-23460-immutable-nullable-range
Fix issue 23640: Use `Nullable[]` to allow iterating `Nullable` of immutable type.
2023-01-20 18:23:57 +08:00
Razvan Nitu
6eaa69f12d
Merge pull request #8657 from dukc/correctGraphemeWalker
Fixed many issues in grapheme walker
2023-01-20 16:35:42 +08:00
Ate Eskola
2619ebcd66 Added changelog entry. 2023-01-19 19:08:10 +02:00
Ate Eskola
a0b74aab18 Brace style fixed. 2023-01-19 18:59:27 +02:00
Mathis Beer
19eaf8a1bd Fix issue 23640: Use Nullable[] to allow iterating Nullable of immutable type. 2023-01-19 12:20:06 +01:00
Ate Eskola
93a8054a9e Commented which parts of the state machine satisfy which GB rules. 2023-01-18 23:21:43 +02:00
Razvan Nitu
20763349e1
Merge pull request #8663 from deadalnix/propersignextend
Branchless sign extend in std.bitmanip
2023-01-18 19:26:09 +08:00
Razvan Nitu
76d23ea5ea
Merge pull request #8667 from ntrel/concur-docs
Tweak std.concurrency docs
2023-01-18 19:20:47 +08:00
Amaury Séchet
19ac06272d Branchless sign extend in std.bitmanip 2023-01-18 01:32:47 +00:00
Nick Treleaven
e18ed95ed0 Tweak std.concurrency docs 2023-01-17 16:27:47 +00:00
Ate Eskola
6550747c72 Refactored the grapheme walker to a proper state machine. 2023-01-14 19:32:56 +02:00
Ate Eskola
57fe5b80e5 Got rid of mixin(eat) in grapheme walker. 2023-01-14 17:12:10 +02:00
Ate Eskola
6e79e72334 Fixed unexplained rebase conflicts 2023-01-14 17:11:21 +02:00
Ate Eskola
e53a0aba9f Missing two tables & some clarrifications (Real author is Richard Cattermole, name changed while rebasing) 2023-01-14 17:07:05 +02:00
richard (rikki) andrew cattermole
fce7d2f6e8 Whitespace to make it fail! 2023-01-14 16:52:51 +02:00
richard (rikki) andrew cattermole
0679c7bbab Forgot to rename a couple of tries 2023-01-14 16:52:51 +02:00
richard (rikki) andrew cattermole
efb53fe2c6 Updated version Ate Eskola (@dukc)'s emoji handling for graphemes 2023-01-14 16:52:51 +02:00
Ate Eskola
b334d4ddb2 Fix issue 23474 - Fixed many issues in grapheme walker 2023-01-14 16:52:51 +02:00
RazvanN7
ad92ea2f8d Use traits(getVirtualMethods) instead of traits(getVirtualFunctions) 2023-01-12 23:06:28 +01:00
The Dlang Bot
71371234e7
Merge pull request #8661 from iK4tsu/fix-formattedRead-tuple-overload
Fix: [std.format.read] formattedRead static asserts with Tuple and compile time format string

Signed-off-by: Luís Ferreira <contact@lsferreira.net>
Merged-on-behalf-of: Luís Ferreira <contact@lsferreira.net>
2023-01-05 21:18:28 +01:00
João Lourenço
7cc45a81df
test(format.read): add formattedRead compile-time format string overload with Tuple arguments unit tests
Signed-off-by: João Lourenço <jlourenco5691@gmail.com>
2023-01-05 18:39:30 +00:00
João Lourenço
c4192e855e
fix(format.read): formattedRead incorrectly static asserts with Tuple and compile-time format string
This method supports std.typecons.Tuple, however, when passing the
format string at compile-time, the format validation does not correctly
account for the std.typecons.Tuple's types and instead validates the
std.typecons.Tuple itself leading to a static assert.

This change now adds support for this feature when used with
compile-time format strings.

Fix Issue #23600

Signed-off-by: João Lourenço <jlourenco5691@gmail.com>
2023-01-05 18:39:18 +00:00
Razvan Nitu
19b890230d
Merge pull request #8656 from ntrel/dirEntries-perm
Document dirEntries throws without read permission
2023-01-05 17:00:36 +08:00
Nick Treleaven
52dfd3e553 Remove RUNNABLE_EXAMPLE to fix DAutoTest 2023-01-04 19:43:38 +00:00
Nick Treleaven
ac5108e7e0 Apply suggestions from code review
Co-authored-by: Razvan Nitu <razvan.nitu1305@gmail.com>
2023-01-04 11:38:52 +00:00
Nick Treleaven
4eaa3c49e8 Try using UL macro instead 2023-01-04 11:38:52 +00:00
Nick Treleaven
3aa94941b3 Document dirEntries throws without read permission
Part of:
Issue 12391 - dirEntries throws in foreach

Add example showing how to handle subdirectory read permission failures.
2023-01-04 11:38:52 +00:00
The Dlang Bot
e5a521ab2b
Merge pull request #8660 from ibuclaw/merge_stable
merge stable

Signed-off-by: Petar Kirov <PetarKirov@users.noreply.github.com>
Merged-on-behalf-of: Petar Kirov <PetarKirov@users.noreply.github.com>
2023-01-03 02:28:29 +01:00
Iain Buclaw
6b0c16fa06 Merge remote-tracking branch 'upstream/stable' into merge_stable 2023-01-03 00:09:53 +00:00
Iain Buclaw
c48b306f58 ci: Update cirrus macOS image to macos-monterey-xcode 2023-01-02 22:19:02 +01:00
Iain Buclaw
b092ef9fa7
Merge pull request #8659 from ibuclaw/rm-auto-tester
Makefile: stub out all auto-tester-build and auto-tester-test recipes
2023-01-02 18:10:21 +01:00
Iain Buclaw
70b78e4917 Makefile: stub out all auto-tester-build and auto-tester-test recipes 2023-01-02 17:34:07 +01:00
Iain Buclaw
f4f246a317 Merge remote-tracking branch 'upstream/master' into stable 2023-01-01 07:18:24 +00:00
The Dlang Bot
dcb45d6161
Merge pull request #8654 from ntrel/unique-struct-note
Add changelog for Unique!struct calling destroy

Signed-off-by: Nicholas Wilson <thewilsonator@users.noreply.github.com>
Merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2022-12-27 13:32:27 +01:00
Nick Treleaven
72ac289679 Don't use missing NOTE macro 2022-12-27 10:10:44 +00:00
Gabriel Dolberg
21d7d23d4f Typo: begining -> beginning 2022-12-26 20:22:08 +01:00
The Dlang Bot
814d685bb4
Merge pull request #8653 from ntrel/test-tweaks
[trivial] Tweak a few tests

Signed-off-by: Nicholas Wilson <thewilsonator@users.noreply.github.com>
Merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2022-12-24 23:13:58 +01:00
Nick Treleaven
d089bce558 Add changelog for Unique!struct calling destroy
https://github.com/dlang/phobos/pull/8651
2022-12-24 13:28:38 +00:00
Nick Treleaven
fdab7cdef9 Remove unnecessary @trusted 2022-12-24 13:07:22 +00:00
Nick Treleaven
c27f250eb5 Tweak 2 tests 2022-12-24 13:06:37 +00:00
Nick Treleaven
d5c1067131
Fix Issue 23561 - std.typecons.Unique!struct does not destroy struct … (#8651)
Fix Issue 23561 - std.typecons.Unique!struct does not destroy struct …

Signed-off-by: Luís Ferreira <contact@lsferreira.net>
Signed-off-by: Razvan Nitu <razvan.nitu1305@gmail.com>
Merged-on-behalf-of: Razvan Nitu <razvan.nitu1305@gmail.com>
2022-12-24 13:40:54 +01:00
Razvan Nitu
313715c572
Merge pull request #8652 from rikkimax/fix-issue-23540
Fix issue 23540 - std.uni loadProperty aliases for C are incorrect
2022-12-24 20:39:29 +08:00
richard (rikki) andrew cattermole
13ef27a56e Fix issue 23540 - std.uni loadProperty aliases for C are incorrect 2022-12-24 12:26:02 +13:00
Razvan Nitu
67d4521c2c
Merge pull request #8617 from rikkimax/unicode_tables
Upstream the Unicode database table generator and update the tables to 15
2022-12-19 16:49:58 +08:00