VladPavliuk
64ae99f016
Add support of ignore tag for json.marshal
2024-07-13 14:13:59 +03:00
Jeroen van Rijn
d845a07519
Merge pull request #3912 from xzores/master
...
Update stb_truetype.odin
2024-07-13 00:16:34 +02:00
xzores
b4683f4399
Update stb_truetype.odin
2024-07-12 23:57:45 +02:00
VladPavliuk
79e2f63182
Small code refactoring in test_core_json
2024-07-13 00:38:58 +03:00
VladPavliuk
39983eaaa4
Remove unused imports in test_core_json
2024-07-13 00:26:54 +03:00
VladPavliuk
dbdad0476d
Allow to marshal and unmarshal maps with int keys
2024-07-13 00:07:48 +03:00
Thomas la Cour
3627a51daf
Merge remote-tracking branch 'upstream/master' into sys-windows-2
2024-07-12 16:06:48 +02:00
gingerBill
e715674512
Merge pull request #3907 from flysand7/console-read-fix
...
[core/os]: Fix read_console edge case bug
2024-07-12 14:58:40 +01:00
gingerBill
9e0c4098be
Merge pull request #3905 from flysand7/winapi-process-procs
...
[sys/windows]: Advapi bindings, process-related functions and thread context
2024-07-12 14:58:27 +01:00
NicknEma
d10694901f
Simplify and fix doc examples
...
Remove unnecessary examples;
fix compilation errors in the remaining ones
2024-07-12 15:48:47 +02:00
NicknEma
c75a872909
Write doc comments in intrusive_list.odin
...
Write description, inputs/returns and some examples for each procedure
2024-07-12 15:37:34 +02:00
NicknEma
a348a7e84e
Create doc.odin
...
Create a doc file with a brief of the package and an example program (copied from a discord message by laytan)
2024-07-12 15:18:58 +02:00
flysand7
a7d95ab3e1
[core/os]: Fix read_console not stopping the read when newline can't fit in output slice
2024-07-12 20:28:38 +11:00
flysand7
6ae47c6f43
[sys/windows] Add advapi bindings, process-related functions and context-related stuff
2024-07-12 19:21:44 +11:00
Thomas la Cour
3291c59728
post rebase
2024-07-11 21:37:37 +02:00
Thomas la Cour
dd75b7a4d9
Merge remote-tracking branch 'upstream/master' into sys-windows-2
...
# Conflicts:
# core/sys/windows/kernel32.odin
# core/sys/windows/types.odin
# core/sys/windows/user32.odin
# core/sys/windows/winerror.odin
2024-07-11 21:20:53 +02:00
gingerBill
1770e3a9a9
Fix typo
2024-07-11 17:19:12 +01:00
gingerBill
19753ed8a3
Add rand.Generator and other calls
2024-07-11 17:12:42 +01:00
gingerBill
59d87d1f05
Add gen := context.random_generator parameters to rand calls
2024-07-11 17:01:34 +01:00
gingerBill
6b3453cc64
Fix #3902
2024-07-11 13:08:38 +01:00
gingerBill
5e7634d90c
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-07-11 13:04:32 +01:00
gingerBill
fc7c7cd8ab
Merge pull request #3900 from Kelimion/winres
...
Allow precompiled resources with `-resource:foo.res`
2024-07-11 12:51:25 +01:00
gingerBill
e05e99253b
Merge pull request #3904 from laytan/make-instrumentation-work-on-wasm
...
make instrumentation "work" on wasm
2024-07-11 12:50:51 +01:00
Jeroen van Rijn
a8ce5bd005
Merge pull request #3903 from laytan/allow-mem-virtual-import-on-more-targets
...
allow `core:mem/virtual` import on more targets by expanding the `other` implementation
2024-07-11 02:12:53 +02:00
Laytan Laats
65ca03a930
make instrumentation "work" on wasm
...
Using instrumentation on WASM causes it to complain about the
llvm.returnaddress instrinsic. This PR could be considered a "hack" but
makes this work by just passing `nil` instead of the return address.
2024-07-11 01:57:00 +02:00
Laytan Laats
0dfc660c71
allow core:mem/virtual import on more targets by expanding the other implementation
2024-07-11 01:55:59 +02:00
Jeroen van Rijn
c49afb0039
Add hinstdll forward to runtime globals
2024-07-10 19:58:29 +02:00
Jeroen van Rijn
b02291b20a
Compile demo with -vet -strict-style.
2024-07-10 19:26:35 +02:00
gingerBill
f75a45c3fa
Add aliases starts_with and ends_with
2024-07-10 16:34:15 +01:00
gingerBill
7e41340510
Unify IUnknown COM interface
2024-07-10 15:20:07 +01:00
Jeroen van Rijn
4148c6d6c7
#if WINDOWS
2024-07-10 15:25:49 +02:00
Jeroen van Rijn
cc73e06a46
Allow precompiled resources with -resource:foo.res
...
And add them to the magic new feature.
2024-07-10 15:09:13 +02:00
gingerBill
733b7c704c
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-07-10 13:45:27 +01:00
gingerBill
c54e3d3c4f
Improve warning handling for possible default: typo
2024-07-10 13:45:21 +01:00
Jeroen van Rijn
8dc4eca4d2
Allow using precompiled .res file.
2024-07-10 14:25:18 +02:00
gingerBill
34c6868e78
Merge pull request #3895 from laytan/fix-optimization-mode-attribute
...
remove misleading @(optimization_mode) values and make "none" inhibit optimizations
2024-07-10 13:22:57 +01:00
gingerBill
38315f83da
Merge pull request #3898 from laytan/fix-enable-target-features-for-poly-procs
...
fix require/enable target feature attribute on poly procs
2024-07-10 13:22:06 +01:00
gingerBill
5aa1f3751b
Merge pull request #3899 from laytan/fix-more-attributes-not-applied-to-poly-procs
...
fix optimization mode, cold, and disabled not being applied to poly procs
2024-07-10 13:21:57 +01:00
gingerBill
36301d0359
Give better syntax error messages for things like #define Example 123
2024-07-10 13:03:38 +01:00
gingerBill
c83307f26f
Give error message suggestion when doing ^x instead of x^ if x is an r-value
2024-07-10 12:39:42 +01:00
gingerBill
30204837ce
Merge branch 'master' of https://github.com/odin-lang/Odin
2024-07-10 12:28:23 +01:00
gingerBill
f85f6b338a
Change .. variadic logic; comment out unneeded error message
2024-07-10 12:28:15 +01:00
Laytan Laats
40625b24e2
fix optimization mode, cold, and disabled not being applied to poly procs
2024-07-09 19:49:12 +02:00
Laytan Laats
1fce5791a1
fix require/enable target feature attribute on poly procs
2024-07-09 19:33:25 +02:00
Jeroen van Rijn
d43a2daa17
Merge pull request #3897 from Kelimion/simd-vet
...
Let simd/x86 pass new transmute/cast vet.
2024-07-09 17:04:45 +02:00
Jeroen van Rijn
7b31acd2d7
Let simd/x86 pass new transmute/cast vet.
2024-07-09 16:50:55 +02:00
gingerBill
b83822fd35
#3892 - Use temporary directory for asm file generation
2024-07-09 15:41:05 +01:00
gingerBill
ae2f16edea
Fix #3894
2024-07-09 15:29:36 +01:00
gingerBill
9782d7b928
Merge pull request #3896 from odin-lang/cached-builds
...
Internal Cached Builds
2024-07-09 15:27:45 +01:00
gingerBill
5627af582a
Add RPROMPT to blacklist
2024-07-09 15:18:15 +01:00