Jeroen van Rijn
5ae44b25da
Merge pull request #2397 from DragosPopse/master
...
Made most libraries panic on js targets instead of not compiling
2023-03-22 12:18:09 +01:00
Dragos Popescu
b2ecb37b35
Changed js panics to unimplemented where sensible
2023-03-22 12:10:27 +01:00
Dragos Popescu
144d034475
Merge branch 'odin-lang:master' into master
2023-03-22 12:08:45 +01:00
gingerBill
e58915e12f
Fix typo!!!!
2023-03-21 19:20:44 +00:00
gingerBill
7f8c2a44a4
Add newlines to improve documentation generation
2023-03-21 19:20:11 +00:00
gingerBill
d986eee36b
Fix typo
2023-03-21 15:28:52 +00:00
gingerBill
b3e712e0b8
Correctly handle end comment for doc generation
2023-03-21 15:22:11 +00:00
gingerBill
05434daa69
Merge pull request #2398 from odin-lang/raylib-4.5
...
raylib 4.5
2023-03-21 14:22:37 +00:00
gingerBill
2c4a478987
Add @(extra_linker_flags=<string>)
2023-03-21 13:30:58 +00:00
gingerBill
a80ca23937
Keep -vet and -strict-style happy
2023-03-21 13:23:06 +00:00
gingerBill
ba02ef8f25
Change trailing comma require to -strict-style only
2023-03-21 13:16:03 +00:00
Dragos Popescu
ef3d8bdc42
Fixed more compile time errors when including os and thread to js targets
2023-03-21 04:17:31 +01:00
Dragos Popescu
951511704d
Responded to PR review. Made dynlib return false on js instead of panic
2023-03-20 21:57:51 +01:00
Dragos Popescu
23aae6ab0f
Merge branch 'odin-lang:master' into master
2023-03-20 21:52:03 +01:00
gingerBill
3748e117a9
Merge pull request #2370 from fabiansperber/parser_fix
...
Fix core:odin/parser #force_inline/force_no_inline call expression when it's a statement
2023-03-20 19:48:58 +00:00
Fabian Sperber
33798b8b80
Need to forward the name of the directive, not the hash token
2023-03-20 20:09:30 +01:00
gingerBill
2e85083d0a
Add msvcrt.lib to raylib on Windows
2023-03-20 16:34:03 +00:00
gingerBill
23b8a9033a
Update vendor:raylib to raylib 4.5
2023-03-20 16:27:34 +00:00
gingerBill
313b6874b1
Merge pull request #2382 from fabiansperber/freestanding-hide-default-temp-allocator
...
Remove usage of global_default_temp_allocator_data when not needed
2023-03-20 12:06:34 +00:00
gingerBill
6004412365
Merge pull request #2396 from WraithGlade/patch-1
...
Fixed incorrect precision value in `fmt` doc.
2023-03-20 12:05:37 +00:00
Dragos Popescu
adac039a2b
Made most libraries panic on js targets instead of not compiling
2023-03-20 04:08:48 +01:00
WraithGlade
adcc865c70
Fixed incorrect precision value in fmt doc.
...
It seems like `%.2f` is the correct implementation of "precision 2" for displaying floats, not `$.3f`. It prints two decimal places.
Either that or the next case (`%8.3f`) would be wrong instead, if it's the other way around.
So, there's a mistake here one way or the other at the least.
2023-03-19 22:06:39 -04:00
gingerBill
fe533fb809
Improve llreg integer type generation for SysV ABI
2023-03-19 01:29:53 +00:00
gingerBill
fa62963da7
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-03-19 00:52:09 +00:00
gingerBill
1f5bb99548
Improve SysV ABI for multiple return values that fit into a single register; Fixes #2384
2023-03-19 00:51:57 +00:00
Jeroen van Rijn
f1cd56c28a
Merge pull request #2394 from krixano/master
...
Add SetConsoleCursorInfo and GetConsoleCursorInfo to sys/windows package
2023-03-18 21:57:14 +01:00
Christian Seibold
852c8b533c
Add SetConsoleCursorInfo and GetConsoleCursorInfo to sys/windows package
2023-03-18 15:43:31 -05:00
Jeroen van Rijn
582a72574e
Merge pull request #2392 from Pingar5/master
...
Added parameter names to all ENet procs
2023-03-18 14:17:28 +01:00
Brennen Shaughnessy
b249ddde48
Added parameter names to all ENet procs
2023-03-18 09:09:45 -04:00
Jeroen van Rijn
b020ba2b5f
Merge pull request #2391 from ftphikari/master
...
sys/windows: added some functions and types for input hooks and tray …
2023-03-18 08:06:55 +01:00
hikari
03c6862d51
sys/windows: added some functions and types for input hooks and tray icons
2023-03-18 06:44:16 +02:00
gingerBill
b7f953b2ee
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-03-17 11:48:04 +00:00
gingerBill
0b064765c9
Add reflect.struct_field_value
2023-03-17 11:47:39 +00:00
Jeroen van Rijn
eb3ddce706
Merge pull request #2390 from MoustaphaSaad/fix-linalg-refract
...
Fix #2389
2023-03-16 23:46:08 +01:00
Mostafa Saad
5fdc9fa3b6
Fix #2389
2023-03-17 00:29:50 +02:00
gingerBill
bfb231fb8a
Simplify copy elision on variable declarations
2023-03-16 17:24:29 +00:00
gingerBill
74fb74d9cb
Keep -vet happy
2023-03-16 16:41:22 +00:00
gingerBill
97d7e295dd
Fix to split_multi_iterator
2023-03-16 16:35:30 +00:00
gingerBill
0727e91aeb
Simplify the implementation of strings.split_multi; add strings.index_multi
2023-03-16 16:30:48 +00:00
gingerBill
8dc70f797c
Increase use of temporary_allocator() where possible
2023-03-16 15:16:17 +00:00
gingerBill
2cf8a9da6f
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-03-16 15:05:06 +00:00
gingerBill
c1c7128634
Minimize severe memory usage by enforcing the heap_allocator() in places
2023-03-16 15:04:57 +00:00
Jeroen van Rijn
0e9ef50e63
Update build flag
2023-03-16 15:16:09 +01:00
gingerBill
e05944601a
Minor fixes
2023-03-16 13:35:38 +00:00
gingerBill
49cf0125a9
Fix minor memory leak
2023-03-16 13:01:06 +00:00
gingerBill
0602a16ad6
Reserve memory for procedures when generating the LLVM IR
2023-03-16 12:44:03 +00:00
gingerBill
09a0dad115
Add contextless to internal parse_hex call
2023-03-16 12:43:10 +00:00
Jeroen van Rijn
243a3f5006
Fix #2386
2023-03-16 12:35:05 +01:00
Jeroen van Rijn
33ca85bd4e
Fix #2385
2023-03-16 10:59:19 +01:00
Jeroen van Rijn
ca15eb26f0
Merge pull request #2378 from markodevv/directx12-message-callback
...
Add RegisterMessageCallback for d3d12
2023-03-16 08:20:26 +01:00