gingerBill
ac9919b8e2
Begin fixing type info stuff
2024-04-30 11:03:11 +01:00
gingerBill
d04039ba43
Update Tilde
2024-04-30 09:59:35 +01:00
gingerBill
e32ffdace8
Merge branch 'master' into update-tilde
2024-04-30 09:11:22 +01:00
gingerBill
5c1201fa42
Fix #3459
2024-04-30 09:10:00 +01:00
gingerBill
ff0973e0f5
Merge pull request #3513 from thetarnav/patch-2
...
Remove instrinsics and utf16 imports from os/os_js
2024-04-29 16:51:45 +01:00
Damian Tarnawski
ae322739b5
Remove instrinsics and utf16 imports from os/os_js
2024-04-29 16:59:52 +02:00
gingerBill
f6345d20f7
Merge pull request #3508 from Feoramund/fmt-alloc-print-reqres
...
Require results for non-buffered `print` procs
2024-04-29 12:04:58 +01:00
gingerBill
227aab8f39
Merge pull request #3507 from IllusionMan1212/glsl-fix
...
fix(linalg/glsl): incorrect quat by vector3 multiplication
2024-04-29 12:04:07 +01:00
gingerBill
d6824ea607
Merge pull request #3505 from Feoramund/allow-disabled-init-procs
...
Allow `@(init)` procs to be `@(disabled)`
2024-04-29 12:03:54 +01:00
gingerBill
2f88ded81a
Merge pull request #3504 from Feoramund/fix-racecond-error-va
...
Fix race condition in `error_va`
2024-04-29 12:03:26 +01:00
Feoramund
bbebb4ad60
Fix unseen print call in demo
2024-04-28 17:20:52 -04:00
Feoramund
700f9c94bd
Combine adjacent sbprint*/to_string calls
...
The `sbprint*` procs already return a string conversion.
2024-04-28 17:18:46 -04:00
Feoramund
c712de0cd0
Require results for non-buffered print procs
2024-04-28 17:17:01 -04:00
IllusionMan1212
1f5f417116
fix(linalg/glsl): incorrect quat by vector3 multiplication
2024-04-28 21:44:34 +02:00
Feoramund
a573161abd
Allow @(init) procs to be @(disabled)
2024-04-28 14:42:04 -04:00
Feoramund
f1c13d6bd8
Fix race condition in error_va
...
If the error count exceeded `MAX_ERROR_COLLECTOR_COUNT`, multiple
threads could print and exit simultaneously, causing a segfault.
This change moves the mutex lock back before the conditional.
2024-04-28 14:03:11 -04:00
gingerBill
a37826e646
Merge pull request #3268 from olesya-wo/core-mem-tracking_allocator-improve
...
Improved statistics for core/mem/Tracking_Allocator
2024-04-28 16:01:01 +01:00
gingerBill
3b4169c903
Merge pull request #3495 from Feoramund/fix-rune-literal-error-double-reporting
...
Fix invalid rune literal reported twice
2024-04-28 15:22:05 +01:00
gingerBill
0eb97dba6e
Merge pull request #3496 from laytan/allow-default-to-nil-allocator-on-wasm
...
wasm: allow `-default-to-nil-allocator`
2024-04-28 15:21:45 +01:00
gingerBill
fa5e6d2d84
Merge pull request #3497 from laytan/fix-buddy-allocator-wrong-query-info
...
fix: buddy allocator wrong query info pointer
2024-04-28 15:21:35 +01:00
gingerBill
4668dafa2b
Merge pull request #3498 from laytan/add-fprint-to-wasm
...
wasm: add the `fprint` procedures to `fmt`
2024-04-28 15:21:27 +01:00
Laytan Laats
cc5faecced
wasm: add the fprint procedures to fmt
...
This makes the `log` package work on wasm
2024-04-28 16:10:04 +02:00
Laytan Laats
0530f86a48
fix: buddy allocator wrong query info pointer
2024-04-28 16:09:03 +02:00
Laytan Laats
4fea5720a5
wasm: allow -default-to-nil-allocator
2024-04-28 16:05:41 +02:00
gingerBill
30cfdd73b0
Add extra asserts
2024-04-28 14:45:59 +01:00
gingerBill
950fd2d5ce
Rename trace_linux.odin to trace_cpp.odin
2024-04-28 13:52:52 +01:00
gingerBill
74d75fb7fb
Correct types on windows
2024-04-28 13:51:46 +01:00
gingerBill
7ee2c1084f
Update doc.odin
2024-04-28 13:51:10 +01:00
gingerBill
c0b7dd7da6
Remove need for allocator and MAX_FRAMES in trace.frames
2024-04-28 13:05:19 +01:00
gingerBill
be09584ea5
Increase MAX_FRAMES
2024-04-28 12:56:53 +01:00
gingerBill
5ac8e8f9fd
Add doc.odin
2024-04-28 12:52:02 +01:00
gingerBill
2eea06fc73
Set in_resolve for linux
2024-04-28 12:51:10 +01:00
gingerBill
0fa269811a
Change layout of Frame_Location
2024-04-28 12:49:17 +01:00
gingerBill
6c185a5dca
Add core:debug/trace for Linux
2024-04-28 12:43:27 +01:00
gingerBill
f428f26c8e
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-04-28 12:05:21 +01:00
gingerBill
44c9b988bb
Add default debug/trace to do nothing
2024-04-28 12:05:15 +01:00
Feoramund
29987c20c0
Fix invalid rune literal reported twice
...
The tokenizer and the parser were reporting it in different positions.
This way, they'll report in the same spot.
2024-04-28 07:02:21 -04:00
gingerBill
51d4dde63c
Merge pull request #3494 from Feoramund/fix-3481
...
Clear unused `global_error_collector.curr_error`
2024-04-28 11:59:18 +01:00
gingerBill
362aa82f59
Begin work on core:debug/trace
2024-04-28 11:58:16 +01:00
Feoramund
ebfbe4d260
Clear unused global_error_collector.curr_error
...
This should cleanly prevent acknowledging duplicate errors on the same
position as seems to be the intent based on the prior `else if`
condition.
2024-04-28 06:44:28 -04:00
gingerBill
e71cf96bbc
Keep -vet happy
2024-04-28 11:35:51 +01:00
gingerBill
383c17e842
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-04-28 11:31:55 +01:00
gingerBill
00b1a41540
Add stack frame procedures for core:sys/windows
2024-04-28 11:31:50 +01:00
Jeroen van Rijn
8fd318ea7a
Merge pull request #3492 from DreepyYunky/Add-SetMenu
...
Add `SetMenu()`
2024-04-27 20:04:15 +02:00
Yunky
1deb53cddb
Add SetMenu
2024-04-27 18:58:46 +01:00
gingerBill
05b5b8503d
Merge pull request #3491 from Feoramund/fix-json-omitempty
...
Fix `omitempty` in `json.marshal`
2024-04-27 15:32:21 +01:00
gingerBill
5e1b376e22
Disallow for x in bitset_or_map if x is a variable that matches the "key"
2024-04-27 10:34:17 +01:00
Feoramund
309a770cbf
Fix omitempty in json.marshal
2024-04-27 05:24:59 -04:00
gingerBill
393e4a9db6
Generalize Odin call-based "iterators" to work with more than 2-values: for x, y, z, w in iterate(&it)
...
It has an artificial limitation of 100 values because if you need for than that, you're doing something wrong.
2024-04-27 09:53:02 +01:00
gingerBill
efae99971b
Fix missing _ =
2024-04-27 09:19:50 +01:00