Jeroen van Rijn
7fc670c8a6
Merge pull request #6403 from mifreundorfer/fix-auto-reset-event-deadlock
...
Fix auto reset event signal deadlock
2026-03-11 10:25:11 +01:00
Michael Freundorfer
8b4cd5a3f3
Fix auto reset event signal deadlock
...
The status variables need to be updated every iteration, otherwise the thread
will spin forever, if another thread waits on the event between the load
and the compare exchange, because the old value is never updated.
2026-03-11 10:08:58 +01:00
gingerBill
7a41092dcc
Merge pull request #6395 from daninaga/master
...
correcting SIMD shr examples documentation
2026-03-10 12:25:19 +00:00
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
dca824c6af
Merge pull request #6393 from Kelimion/unicode
...
Unicode
2026-03-09 20:00:09 +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
StudebakerGuy
c4f5f9e55a
Add files needed to generate unicode tables
...
This commit adds the directory `/core/assets/UCD/`. This directory
contains three files; `PropList.txt`, `UnicodeData.txt`, and `license.txt`.
These files are from the Unicode Database (UCD). The first two are used to
generate tables for `core/unicode`. The third is the license that
covers the files that make up the UCD.
These files are from Unicode version 17.0.0. The latest versions may be
found ad [ucd](https://www.unicode.org/Public/UCD/latest/ucd/ ).
2026-03-09 19:48:07 +01:00
Jeroen van Rijn
1b23231e4a
Merge pull request #6387 from krnowak/krnowak/fix-tokenizer-init
...
Fix tokenizer init
2026-03-09 14:35:11 +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
0087d6d62e
Add preserve/* to base:runtime
...
```odin
none :: proc "preserve/none" () {}
most :: proc "preserve/most" () {}
all :: proc "preserve/all" () {}
print_cc :: proc(type: any) {
ti := type_info_of(type.id)
p := ti.variant.(runtime.Type_Info_Procedure)
fmt.println(p.convention)
}
main :: proc() {
print_cc(none)
print_cc(most)
print_cc(all)
}
```
2026-03-08 15:05:23 +01:00
Krzesimir Nowak
7320f10de6
Fix tokenizer init
2026-03-08 12:09:12 +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
1b850ded79
Merge pull request #6380 from gfaster/master
...
fix documentation of assign_at
2026-03-07 16:17:42 +01:00
Gavin Rohrer
93b1e97402
fix documentation of assign_at
2026-03-07 10:07:15 -05:00
Jeroen van Rijn
d767e1c513
Clarify long double comment
2026-03-07 14:57:39 +01:00
Jeroen van Rijn
7938e4d56e
Merge pull request #6379 from Kelimion/limit_exponent
...
Limit maximum exponent in parsing of float/integer literals
2026-03-07 12:54:46 +01:00
Jeroen van Rijn
6434bf4b65
Limit maximum exponent in parsing of float/integer literals
2026-03-07 12:38:04 +01:00
Laytan
dddf013744
Merge pull request #6377 from laytan/add-more-js-to-examples-all
...
add more js to examples/all js
2026-03-06 21:35:57 +01:00
Laytan Laats
0c0159b5b7
add more js to examples/all js
2026-03-06 21:05:53 +01:00
Jeroen van Rijn
a6cfde4373
Merge pull request #6374 from laytan/fix-macos-ci
...
Fix macos ci
2026-03-06 12:26:36 +01:00
Laytan Laats
92a2270ee1
intel has libs at a different path
2026-03-06 11:49:55 +01:00
Laytan Laats
fee99c56a6
fix MacOS CI
2026-03-05 22:06:54 +01:00
gingerBill
217b4967b0
Improve docs for type_info_underlying
2026-03-04 14:07:24 +00:00
gingerBill
029c96ce22
Separate type_info_core and type_info_underlying
2026-03-04 14:03:24 +00:00
Jeroen van Rijn
ed74233ace
Add bit_set to runtime.type_info_core.
2026-03-04 14:55:11 +01:00
Jeroen van Rijn
fc570d3210
Merge pull request #6362 from Yawning/feature/argon2id
...
core/crypto/argon2id: Initial import
2026-03-04 14:27:13 +01:00