Commit Graph

13229 Commits

Author SHA1 Message Date
gingerBill
c440122d93 Remove relative types from json marshaller 2024-11-14 16:18:41 +00:00
gingerBill
cf819f45fd Merge branch 'master' of https://github.com/odin-lang/Odin 2024-11-14 16:17:30 +00:00
gingerBill
e38a08013e Remove #relative types from the compiler 2024-11-14 16:17:24 +00:00
gingerBill
b3d1d7b835 Make #relative types an error in parsing 2024-11-14 16:08:53 +00:00
gingerBill
d9968771d1 Merge pull request #4486 from alexover1/master
Add STICKYKEYS, TOGGLEKEYS, and FILTERKEYS to core:sys/windows
2024-11-13 21:53:53 +00:00
Alex Overstreet
5ea7fe14dd Use tabs instead of spaces 2024-11-13 15:46:56 -06:00
Alex Overstreet
0af183485b Add STICKYKEYS, TOGGLEKEYS, and FILTERKEYS 2024-11-13 15:41:16 -06:00
Laytan
7cec3044db Merge pull request #4484 from spahnke/add-bindings
Add NSApplication bindings for `mainWindow` and `keyWindow`
2024-11-13 20:18:23 +01:00
gingerBill
89a5decc33 Keep ASAN happy on type assertions 2024-11-13 18:32:50 +00:00
Sebastian Pahnke
395fa7fdb8 Add NSApplication bindings for mainWindow and keyWindow 2024-11-13 14:42:31 +01:00
gingerBill
91bd5d4418 Merge pull request #4479 from p2jason/master
Increased the size of Javascript keyboard event key/code buffer size
2024-11-12 15:58:58 +00:00
p2jason
2beb495140 Increase size of JS keyboard event key/code buffer size 2024-11-12 13:37:08 +13:00
gingerBill
764c32fd3e Merge pull request #4477 from laytan/enum-value-has-name
reflect: add `enum_value_has_name` proc
2024-11-11 21:30:19 +00:00
Laytan
bed6828ea3 Merge pull request #4454 from amekusa/fix-build-sh
Fix: `build_odin.sh` always runs demo regardless of argument
2024-11-11 19:02:57 +01:00
Laytan Laats
9c374b4d02 reflect: add enum_value_has_name proc
Easy way to check if the current value has a defined name/member in the
enum type.
2024-11-11 18:56:59 +01:00
Jeroen van Rijn
287774ed6f Merge pull request #4476 from Bazzas-Forks/slice-size
Add core:slice.size
2024-11-11 11:14:46 +01:00
Jeroen van Rijn
74178cd741 Merge pull request #4471 from bayo-code/list-supported-targets
List the supported targets using `odin build . -targets:?`
2024-11-11 10:43:56 +01:00
bayo-code
8585fdf25f Added support for odin build -target:? 2024-11-11 04:16:01 +01:00
bayo-code
d5b221f972 Revert "List the supported targets using odin targets"
This reverts commit b589e3c499.
2024-11-11 04:09:53 +01:00
Bazzagibbs
cb0c1663b7 Add core:slice.size to get the byte size of a slice's backing data 2024-11-11 14:04:59 +11:00
bayo-code
b589e3c499 List the supported targets using odin targets 2024-11-10 07:16:13 +01:00
Jeroen van Rijn
da196a2b74 Merge pull request #4470 from clankill3r/patch-2
Update demo.odin
2024-11-09 19:55:32 +01:00
Doeke Wartena
602dab3864 Update demo.odin
type: turns -> returns
2024-11-09 19:47:00 +01:00
Jeroen van Rijn
76bf28ef2e Merge pull request #4468 from Cthuflu/patch-doc-1
Correct zlib usage in doc
2024-11-09 00:18:51 +01:00
Jacob Pfeiffer
4029ddb2b3 Correct zlib usage in doc 2024-11-08 10:32:26 -05:00
gingerBill
2b72407cf3 Merge pull request #4465 from apatterndarkly/examples-readme-relative-links
fix relative links in examples/README.md
2024-11-08 13:39:32 +00:00
gingerBill
4890c3681c Merge pull request #4467 from clankill3r/patch-1
Update scanner.odin
2024-11-08 13:38:29 +00:00
gingerBill
20a8c97d68 Remove duplicates in -defineables 2024-11-08 11:24:00 +00:00
Laytan
e03f998c27 Merge pull request #4462 from A1029384756/master
Added Unlinking Section to Posix Socket Binding Documentation
2024-11-07 21:37:50 +01:00
Doeke Wartena
b492b73ff2 Update scanner.odin
remove duplicated wording in comment
2024-11-07 20:15:22 +01:00
Jeroen van Rijn
1b16ddbb3e Merge pull request #4464 from Kelimion/should_use_native
Suggest `-microarch:native` if `popcnt` instruction is missing.
2024-11-07 15:09:24 +01:00
Jeroen van Rijn
3bfe675a68 && 2024-11-07 15:02:19 +01:00
AP Darkly
190ab5543d fix relative links in examples/README.md
This fix adjusts the links for 'demo', 'core', 'all', and 'vendor' so that they navigate to the intended destinations instead of yielding 404s.
2024-11-07 13:58:57 +00:00
Jeroen van Rijn
deb562613f Phrasing! 2024-11-07 13:13:58 +01:00
Jeroen van Rijn
925d8749e0 Suggest -microarch:native if popcnt instruction is missing.
Fixes #4453.
2024-11-07 12:56:49 +01:00
A1029384756
5be7ac4039 added unlinking section to posix socket binding documentation 2024-11-06 20:36:29 -05:00
Laytan
fd442b8678 Merge pull request #4461 from nickk-dv/master
Fix random sequence bindings in vendor raylib
2024-11-06 22:31:00 +01:00
nickk-dv
c2dd15b5d3 fix LoadRandomSequence binding in vendor raylib 2024-11-06 22:39:48 +02:00
gingerBill
f02d621a8e Merge pull request #4394 from seventh-chord/errormessages
Suggestion when assigning enum to bit_set
2024-11-06 13:10:17 +00:00
gingerBill
e8f231ee72 Merge pull request #4437 from dpoetzschke/fix/windows-args-escaping
fix windows args parser problem from issue #4393
2024-11-06 13:08:55 +00:00
gingerBill
1419d0d295 Minor formatting change 2024-11-05 12:45:30 +00:00
Jeroen van Rijn
013c1d3128 Merge pull request #4456 from colrdavidson/timezones_fix
add new test, better fail-check, and non-transitioning tz fix
2024-11-05 12:55:16 +01:00
Colin Davidson
b2d1fbba9c oops, missed a comma 2024-11-05 03:48:47 -08:00
Colin Davidson
c9158b3220 add new test, better fail-check, and non-transitioning tz fix 2024-11-05 03:44:07 -08:00
Satoshi Soma
26c3c2a97d Fix: build_odin.sh always runs demo regardless of argument
Instead, it should run demo only if the argument was 'debug' or empty
2024-11-05 17:48:37 +09:00
Jeroen van Rijn
e6475fec4d Merge pull request #4449 from 0dminnimda/add-pie
Link as PIE for PIC by default
dev-2024-11
2024-11-04 14:25:31 +01:00
gingerBill
a0b35f67f8 Fix previous commit for arrays 2024-11-04 12:51:54 +00:00
0dminnimda
5e308cef5e Revert further simplifiction 2024-11-04 15:50:43 +03:00
gingerBill
bbf76fa43e Fix bug for foo().bar where foo() is a 0-value expression 2024-11-04 12:49:43 +00:00
0dminnimda
8ad5e46ff8 Simplify further 2024-11-04 15:44:07 +03:00