Vladiwostok
231ae8b68a
Fix D-Scanner linting issues ( #9070 )
...
* Fix UndocumentedDeclarationCheck linting issue
* Fix IfConstraintsIndentCheck linting issue
* Address feedback
* Fix publictests CI
* Fix old (libdparse) D-Scanner linting warn
2024-10-27 01:21:56 -07:00
Ate Eskola
bdedad3bf8
Added a new popGrapheme function to std.uni ( #9053 )
...
* Added a new popGrapheme function to std.uni
* A changelog clarification and fix of inaccurate static condition
* Committing to restart the tests, and adding the new function to the
module doc index while there.
2024-10-12 16:24:24 -07:00
Ate Eskola
b3a9736480
graphemeStride now @nogc with DChars
2024-09-20 12:23:11 +02:00
Dennis Korpel
bbb156629e
std.uni: Make auto ref
adjacent
2024-08-14 17:10:41 +02:00
Dennis Korpel
135e9ad193
std.uni: optimize simpleCaseTable
...
Cuts size of simpleCaseTable entries in half (8 -> 4 bytes), reducing table size from 24 Kb to 12 Kb.
Still only 22 out of 32 bits per entry are actually used, so could be optimized further.
Using plain integers saves 10 ms semantic2 compile time.
2024-01-09 12:02:12 +01:00
Dennis Korpel
90715f3b07
std.uni: use dstring for compositionTable
2024-01-08 23:37:44 +01:00
Dennis Korpel
bd8b943fa2
std.uni: optimize fullCaseTable
2024-01-07 11:35:29 +01: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
569bc57098
Mark unsafe union access @trusted
( #8787 )
2023-07-31 13:58:35 +03:00
Ate Eskola
e6ed401821
fix issue 23361 - std.uni.normalize made pure
2023-06-14 20:38:24 +03:00
Ate Eskola
a0b74aab18
Brace style fixed.
2023-01-19 18:59:27 +02:00
Ate Eskola
93a8054a9e
Commented which parts of the state machine satisfy which GB rules.
2023-01-18 23:21:43 +02: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
Ate Eskola
b334d4ddb2
Fix issue 23474 - Fixed many issues in grapheme walker
2023-01-14 16:52:51 +02: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
richard (rikki) andrew cattermole
122df9272a
Upstream Unicode table generator and update tables to v15
2022-12-12 02:10:14 +13:00
Lucian Danescu
8293310cd8
rename variables
2022-11-09 23:28:55 +02:00
Lucian Danescu
452b1def78
same name fix
2022-11-07 19:20:19 +02:00
deadalnix
f22ef1ac82
Simplify isAlpha
...
The codegen is literally the same.
I could have delegated to std/ascii, and in fact, I do think this would be the right thing to do int he absence of DMD's inliner being what it is.
2022-10-12 23:29:57 +02:00
Iain Buclaw
352258539c
Fix 'the the' typos in Phobos documentation
2022-09-20 21:31:46 +02:00
Ate Eskola
26d8a41e83
removed reduntant import furgotten from debugging.
2022-07-16 12:38:20 +03:00
Ate Eskola
95d19d97ac
Fix issue 23250 - corrected reginal indicator pairing.
2022-07-15 16:53:51 +03:00
dkorpel
2ac53fa164
Make toLower
and toUpper
return scope
2022-03-25 20:08:06 +01:00
Dennis Korpel
7ee15aa567
Fix typo 'preforming'
2022-03-17 14:28:21 +01:00
dkorpel
c9450a561c
make std.uni unittest compile with inout-return fix
2022-02-16 15:54:55 +00:00
Walter Bright
e9a35fd9c9
add scome scope to std.uni.package
2021-12-23 01:43:14 -08:00
dkorpel
cd7389266e
Add explicit return
to inout
functions
2021-11-16 23:22:33 +00:00
John Colvin
dc69783cfb
@safe tests in std.uni
2021-10-15 11:30:04 +00:00
dkorpel
5242beb167
add return scope to realloc
2021-06-08 09:32:30 +00:00
dkorpel
6c51d19c89
Add return scope
to MultiArray ctor
2021-06-01 14:14:06 +02:00
nordlow
88a4ebbc1f
Annotate std/uni/package.d to please dlang/dmd#12520
2021-05-17 18:30:15 +02:00
berni44
ad5247072f
std.format: Add formatting integers with %e, %f, %g and %a.
2021-04-26 16:28:00 +02:00
berni44
b2019ebab0
Narrow imports of std.math in the rest of phobos.
2021-04-21 03:00:57 +02:00
berni44
6f2a0934a7
Adapt imports of std.format to new structure of std.format.
2021-03-19 13:22:00 +01:00
Nathan Sashihara
fe1deb2f84
Fix a few places where opDollar could be an alias of length
2020-11-11 02:09:56 +01:00
starcanopy
04c472ed05
Fix issue 21302: std.uni's documentation contains a dead link to its source file
2020-10-11 06:33:04 +02:00
Nathan Sashihara
453faadf5b
Replace is(Unqual!T == Unqual!U) with is(immutable T == immutable U) for speed & memory usage
2020-08-03 15:07:32 +02:00
Per Nordlöw
a54b71e6e6
Qualify unittests as nothrow @nogc
2020-07-27 18:43:15 +02:00
Per Nordlöw
7b60bf7c53
Wrap static assert assert in unittests
2020-07-27 17:49:55 +02:00
Nicholas Lindsay Wilson
39dc254193
replace "package " with "package(std) "
2020-05-05 13:08:39 +08:00
Nicholas Lindsay Wilson
f0aade9ad2
Move std.uni to a package
2020-05-05 10:55:41 +08:00