Commit Graph

16983 Commits

Author SHA1 Message Date
Jeroen van Rijn
27667ce36b iff -> if and only if (⟺) 2026-03-13 11:54:15 +01:00
Jeroen van Rijn
3da7817f5a Merge pull request #6409 from frwdrik/patch-2
Fix typo in error message for using statement
2026-03-12 16:47:50 +01:00
Fredrik Vaeng Røtnes
b4405d01f8 Fix typo in error message for using statement
Change "It you do require..." to "If you do require..."
2026-03-12 16:37:05 +01:00
Jeroen van Rijn
b0e88fbed4 Merge pull request #6398 from Faker-09/virtual_arena_overcommit_bug_5821
Fix for virtual arena overcommit bug #5821
2026-03-12 12:29:44 +01:00
Jeroen van Rijn
7a8b6d189e Merge pull request #6404 from botero-dev/android-platforms
Add support for other Android architectures
2026-03-11 22:34:25 +01:00
Laytan Laats
273ab7e3bb nbio: fix posix big send/recv wrongly check if done 2026-03-11 22:19:28 +01:00
Andrés Botero
9df092759e Add support for other Android architectures 2026-03-11 15:37:37 -05:00
gingerBill
143a8762a0 Merge branch 'master' of https://github.com/odin-lang/Odin 2026-03-11 14:22:49 +00:00
gingerBill
b7bb7a1dc4 Use scope_reserve call directly 2026-03-11 14:22:36 +00:00
gingerBill
ea3f5b1ead Merge pull request #6389 from connnnal/d3d12-1.619.x-partial
Partial 1.619.x d3d12 bindings
2026-03-11 14:20:54 +00:00
gingerBill
461486ef6c Fix comments which used /// instead of // 2026-03-11 13:41:27 +00:00
gingerBill
770ee8e420 Merge pull request #6392 from maximusdionyssopoulos/master
core:sys/darwin/Foundation: Fix NSTimer binding
2026-03-11 11:45:40 +00:00
gingerBill
c4ef17db3d Merge pull request #6402 from bymehul/fix-6401-generic-cycle-deadlock
Fix generic cycle deadlock in struct layout
2026-03-11 11:45:22 +00:00
gingerBill
03fff831bc Merge pull request #6400 from bymehul/fix-bitfield-literal-6396
fix: handle full-width bit_field literal masks
2026-03-11 11:33:41 +00:00
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
bymehul
763c8d3a42 Fix generic cycle deadlock in struct layout 2026-03-11 03:04:26 +05:30
bymehul
c9e55d3add fix: handle full-width bit_field literal masks 2026-03-10 23:21:19 +05:30
Shane Shrybman
5d80809dc8 Fix virtual arena memory block overcommit bug #5821 2026-03-10 11:13:15 -04:00
Shane Shrybman
5a82f06ba1 Add virtual arena tests for bug #5821 2026-03-10 11:12:45 -04: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
maximusdionyssopoulos
ac6cabd5e3 fix NSTimer scheduledTimerWithTimeInterval:repeats:block: procedure 2026-03-09 21:17:20 +11:00