Commit Graph

7481 Commits

Author SHA1 Message Date
turu
72db43f2d6 correcting SIMD shr examples documentation 2026-03-09 21:33:23 -05:00
Jeroen van Rijn
7ae1a4c456 Merge pull request #6394 from StudebakerGuy/ucd
UCD minor error
2026-03-10 00:50:11 +01:00
StudebakerGuy
d3a71c5dc6 string_to_proplist_property returns error
string_to_proplist_property was being used with an or_return but
did not return an error. The function now returns an error when
it cannot identify a property.
2026-03-09 19:32:27 -04:00
StudebakerGuy
20b4d5757f Corrected type name Prop_List_Property 2026-03-09 19:25:00 -04:00
Jeroen van Rijn
4cf2f1a61b Merge pull request #6391 from mtarik34b/duration-unit-spacing
Add formatting flag for space between time.Duration and unit of measurement
2026-03-10 00:21:10 +01:00
Tarık B.
e119b9883f Use fi.space instead of fi.hash 2026-03-10 00:05:46 +01:00
Jeroen van Rijn
d880404b84 Style 2026-03-09 19:48:28 +01:00
Jeroen van Rijn
df0d74efbe Simplify table writer 2026-03-09 19:48:27 +01:00
Jeroen van Rijn
7928d1b92c Simplify 2026-03-09 19:48:26 +01:00
Jeroen van Rijn
7b79f28522 Allow compiling with -vet -vet-tabs -strict-style -vet-style -vet-cast -warnings-as-errors -disallow-do
Support the same strict flags as used throughout the CI tests.
2026-03-09 19:48:25 +01:00
Jeroen van Rijn
3f330752cd Replace iterators; fixes line ending handling 2026-03-09 19:48:24 +01:00
StudebakerGuy
1d0510d27f is_graphic now uses the generated Unicode tables
unicode.is_graphic has been modified to use the generted Unicode
tables. The tables Me, Mn, Mc, and Zs were add as needed by is_graphic.
2026-03-09 19:48:23 +01:00
StudebakerGuy
65d0e5c82f is_symbol uses generated Unicode tables
Tables for Sm, Sc, Sk, So are now being generated. These tables
are now being searched by is_symbol
2026-03-09 19:48:22 +01:00
StudebakerGuy
8f5f1ee1cc is_punct now searches generated tables 2026-03-09 19:48:20 +01:00
StudebakerGuy
3bfa01d4a8 Generate Unicode Punctuation Tables 2026-03-09 19:48:20 +01:00
StudebakerGuy
9b38bdf849 Refactor to remove the us of if do 2026-03-09 19:48:18 +01:00
StudebakerGuy
e9943e6145 is_letter now uses generated tables
unicode.is_letter has been modified to use the generated unicode tables.
2026-03-09 19:48:18 +01:00
StudebakerGuy
69c04b696a islower now used the generated tables 2026-03-09 19:48:16 +01:00
StudebakerGuy
b4d70d3c5b Corrected issue with PropList.txt ranges 2026-03-09 19:48:15 +01:00
StudebakerGuy
090dedda1b is_number now searches generate tables 2026-03-09 19:48:14 +01:00
StudebakerGuy
e5b1f1bf94 Add procedure is_decimal
This adds the function `is_decimal` to `core/unicode`
2026-03-09 19:48:13 +01:00
StudebakerGuy
263bc8cc7e Added comment to is_digit 2026-03-09 19:48:12 +01:00
StudebakerGuy
673adf30c3 Add searing of generated tables, Fixed in_digit
This adds the functino `unicode.in_range` to search for a run in
the `Range` type used in `core/unicode/generated.odin`.

This also modifies `unicode.binary_search` so it will support searching
types other than i32 by making it support implicit parametric polymorphism.

`unicode.in_digit` has been modified to use the generated tables.
2026-03-09 19:48:11 +01:00
StudebakerGuy
9d038b23ec Add generated tables to core/unicode 2026-03-09 19:48:09 +01:00
StudebakerGuy
8f579d1f3b Added program to generate Unicode Table
This adds a program that will generate tables for use by the `core/unicode`
package. The table generated file will be `core/unicode/generated.odin`

It may be better to incorporate this into `generate_entity_table.odin`.
This can easily be accomplised if desired.
2026-03-09 19:48:09 +01:00
Tarık B.
8f101af8f8 Add formatting flag for space between time.Duration and unit 2026-03-08 21:01:31 +01:00
Jeroen van Rijn
6f5446bfc4 Merge pull request #6381 from Faker-09/mem_rollback_stack_typo
core:testing remove whitespace typo
2026-03-07 18:28:35 +01:00
Shane Shrybman
e1ea3d634b core:testing remove whitespace typo 2026-03-07 11:34:15 -05:00
Jeroen van Rijn
d767e1c513 Clarify long double comment 2026-03-07 14:57:39 +01:00
Jeroen van Rijn
6434bf4b65 Limit maximum exponent in parsing of float/integer literals 2026-03-07 12:38:04 +01:00
Yawning Angel
86b629ba84 core/crypto/argon2id: Initial import 2026-03-04 21:29:55 +09:00
Yawning Angel
058bd9a914 core:crypto/_blake2: Cleanups and fixes
The fixes apply to "use it as a MAC" which was not part of the
documented/exposed API.  It now is, and is covered by the self-test
routines from the RFC.
2026-03-04 21:22:56 +09:00
IllusionMan1212
afbb0b4357 os: return .Permission_Denied for .EACCES in posix and linux 2026-03-03 17:50:31 +02:00
gingerBill
a5e1eb56ab Add explicit_underlying: bool RTTI field for bit_set; add runtime.type_info_underlying 2026-03-03 12:26:42 +00:00
Yawning Angel
47ad434d1a core:crypto/_blake2: Fix final blocks call with partial block 2026-03-03 20:54:13 +09:00
bplu4t2f
4c981ad10a Fix return value of FreeLibraryAndExitThread 2026-03-02 21:21:50 +01:00
bplu4t2f
2a9c35fe3c Fix incorrect PVOID/VOID usage in some win32 signatures 2026-03-02 21:19:10 +01:00
gingerBill
e8ca4a24fa Add assert to freelist_push_with_index 2026-03-01 13:28:30 +00:00
gingerBill
7cc68da719 Merge pull request #6342 from fendevel/webgl-additions
webgl: Add bindings, fix `Tex*Image*D`
2026-03-01 13:15:56 +00:00
gingerBill
757bdf0e87 Remove TODO 2026-03-01 13:06:11 +00:00
gingerBill
05a951b338 Fix name lookup 2026-03-01 13:05:51 +00:00
gingerBill
c685c312c5 Make the tokenizer work with a custom hash map protected by a spinlock 2026-03-01 13:00:27 +00:00
Jeroen van Rijn
a0b9d710f7 Merge pull request #6336 from bplu4t2f/master
Fix MultiByteToWideChar usage in utf8_to_wstring_buf
2026-02-28 13:16:39 +01:00
bplu4t2f
1e0f5a691c Fix overflow edge cases on 32-bit systems. 2026-02-28 11:39:12 +01:00
fendevel
eeb7e775f3 webgl: Add bindings, fix Tex*Image*D 2026-02-28 00:37:34 +00:00
miningape
4ec443df9b fix: strings.substring not returning end of range 2026-02-28 00:44:26 +01:00
Laytan Laats
6a6460e824 fix another old os use in when statement 2026-02-27 22:11:11 +01:00
Laytan
90118d6508 Merge pull request #6337 from andzdroid/patch-2
nbio: fix op re-use
2026-02-27 21:18:31 +01:00
Laytan Laats
f61a216c9f nbio: put clearing of list nodes in proper place and simplify test 2026-02-27 21:04:43 +01:00
bplu4t2f
9883e4ec29 Handle edge cases: Allocation error, extremely long input 2026-02-27 19:16:34 +01:00