gingerBill
514b537dd5
Improve odin help -foo usage
2024-12-01 11:54:54 +11:00
Waqar Ahmed
3f30953c01
Fix typo, its supposed to be #config
...
Otherwise compile errors out when importing the file with the error:
```odin
vendor/lua/5.2/lua.odin(10:15) Error: Undeclared name: config
LUA_SHARED :: config(LUA_SHARED, false)
```
2024-12-01 11:54:54 +11:00
gingerBill
6baff9f1f8
Update radlink.exe
2024-12-01 11:54:54 +11:00
jakubtomsu
a119a6f33e
Fix a bug in hxa decoder found by the new check
2024-12-01 11:54:54 +11:00
jakubtomsu
aaea7b27f2
report error when builtin min/max has 1 (non-type) param
2024-12-01 11:54:54 +11:00
Dudejoe870
76d689a601
Fix typo in Quaternion dot product
2024-12-01 11:54:54 +11:00
Laytan Laats
460e2629bd
sys/posix: add MAP_ANONYMOUS
2024-12-01 11:54:54 +11:00
Laytan Laats
468c0b573a
add missing macos version
2024-12-01 11:54:54 +11:00
Tetralux
f8003b8b03
[runtime] make(map[K]V) should not allocate any capacity
...
`make(map[K]V)` was resolving to `make_map_cap()` which allocates initial capacity when it wasn't intended to.
It now calls `make_map()` which doesn't allocate any capacity.
Both `make(map[K]V)` and `make(map[K]V, allocator)` will NOT allocate initial capacity now.
2024-12-01 11:54:54 +11:00
Laytan Laats
ed8aede369
os2: skip dir test when unsupported
2024-12-01 11:54:54 +11:00
Laytan Laats
d94ef8d27a
sys/posix: fix dirfd on netbsd
2024-12-01 11:54:54 +11:00
Laytan Laats
ac2c9ac713
os2: fix file type detection in dir_windows
2024-12-01 11:54:54 +11:00
Laytan Laats
dac927fb75
os2: add read dir test
2024-12-01 11:54:54 +11:00
Laytan Laats
0c64129aad
os2: fix leak in dir_windows
2024-12-01 11:54:54 +11:00
NicknEma
f8ba86e0a6
Fix integer type
...
Change int to i32 so it is the correct size
2024-12-01 11:54:54 +11:00
gingerBill
57e0c41982
Make lowercase
2024-12-01 11:54:54 +11:00
gingerBill
d613a9ee5a
Fix typo
2024-12-01 11:54:54 +11:00
gingerBill
e58ac3cb8d
Add -linker:<string> to replace -lld and -radlink
2024-12-01 11:54:54 +11:00
gingerBill
6963b0f3f2
Check for more errors in json.unmarshal
2024-12-01 11:54:54 +11:00
gingerBill
95731aceac
Disallow -lld and -radlink to be used together
2024-12-01 11:54:54 +11:00
A1029384756
9e520c38db
core:sys/linux - prefixing + moved IN_CLOSE/IN_MOVE to constants
2024-12-01 11:54:54 +11:00
A1029384756
59adcf6c46
core:sys/linux - flags, spacing, inotify_init
2024-12-01 11:54:54 +11:00
A1029384756
f6b0ea160b
core:sys/linux - fixed vet errors
2024-12-01 11:54:54 +11:00
A1029384756
be66d4bd8b
core:sys/linux - implemented inotify
...
core:sys/linux - added constants and spacing
2024-12-01 11:54:53 +11:00
gingerBill
3afde70513
Add radlink.exe
2024-12-01 11:54:53 +11:00
gingerBill
ec96939953
Add -radlink
2024-12-01 11:54:53 +11:00
gingerBill
5d38eb9d81
Remove relative types from json marshaller
2024-12-01 11:54:53 +11:00
Alex Overstreet
357d6212d0
Use tabs instead of spaces
2024-12-01 11:54:53 +11:00
Alex Overstreet
522f05445e
Add STICKYKEYS, TOGGLEKEYS, and FILTERKEYS
2024-12-01 11:54:53 +11:00
Sebastian Pahnke
a0561860f9
Add NSApplication bindings for mainWindow and keyWindow
2024-12-01 11:54:53 +11:00
gingerBill
e72736a5a8
Remove #relative types from the compiler
2024-12-01 11:54:53 +11:00
gingerBill
31c630dfea
Make #relative types an error in parsing
2024-12-01 11:54:53 +11:00
gingerBill
95c812db78
Keep ASAN happy on type assertions
2024-12-01 11:54:53 +11:00
p2jason
62d30daa00
Increase size of JS keyboard event key/code buffer size
2024-12-01 11:54:53 +11:00
Laytan Laats
38c79b203a
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-12-01 11:54:53 +11:00
Satoshi Soma
362086d5d2
Fix: build_odin.sh always runs demo regardless of argument
...
Instead, it should run demo only if the argument was 'debug' or empty
2024-12-01 11:54:53 +11:00
Bazzagibbs
25be3dfca0
Add core:slice.size to get the byte size of a slice's backing data
2024-12-01 11:54:53 +11:00
bayo-code
7bd49cf018
Added support for odin build -target:?
2024-12-01 11:54:53 +11:00
bayo-code
9fbde3c1b8
Revert "List the supported targets using odin targets"
...
This reverts commit b589e3c499 .
2024-12-01 11:54:53 +11:00
bayo-code
c73c438db9
List the supported targets using odin targets
2024-12-01 11:54:53 +11:00
Doeke Wartena
bbb1400349
Update demo.odin
...
type: turns -> returns
2024-12-01 11:54:53 +11:00
Jacob Pfeiffer
a8d603fd7d
Correct zlib usage in doc
2024-12-01 11:54:53 +11:00
AP Darkly
f56cc069c5
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-12-01 11:54:53 +11:00
Doeke Wartena
cc1c97c6d0
Update scanner.odin
...
remove duplicated wording in comment
2024-12-01 11:54:53 +11:00
gingerBill
ddca55165d
Remove duplicates in -defineables
2024-12-01 11:54:53 +11:00
A1029384756
943b09a8b1
added unlinking section to posix socket binding documentation
2024-12-01 11:54:53 +11:00
Jeroen van Rijn
826abd6245
&&
2024-12-01 11:54:53 +11:00
Jeroen van Rijn
d44f8c377a
Phrasing!
2024-12-01 11:54:53 +11:00
Jeroen van Rijn
9ecc378803
Suggest -microarch:native if popcnt instruction is missing.
...
Fixes #4453 .
2024-12-01 11:54:53 +11:00
nickk-dv
1e600d74f1
fix LoadRandomSequence binding in vendor raylib
2024-12-01 11:54:53 +11:00