gingerBill
0ec4d97bfd
Correct parser logic for is_token_field_prefix
2022-08-01 15:24:17 +01:00
gingerBill
97acc57649
Simplify field prefix handling
2022-08-01 13:17:10 +01:00
gingerBill
83c8c48ed7
Simplify ast parsing for prefixes
2022-08-01 13:07:49 +01:00
Christoffer Lerno
f45e8e5d47
Added virtual memory headers for Darwin.
2022-07-29 20:01:26 +02:00
William Roe
d913155972
Fix bug unmarshalling JSON with assertions disabled
...
When asserts are disabled, code within the assert isn't run. Having
expect_token within an assert means that the state of the Parser is
mutated when asserts are run, but not when they aren't.
There's already a wrapper procedure for this pattern, which I have
reused here.
2022-07-28 13:56:14 +01:00
gingerBill
220dfd7440
Minor clean up of wasi_api.odin
2022-07-25 17:00:32 +01:00
Daniel Gavin
25869b7504
Change open to be read only when opening directory
2022-07-25 11:34:03 +02:00
gingerBill
08f5259d77
Replace insert_at with inject_at and assign_at
2022-07-24 23:07:35 +01:00
Luxko
00e704b216
fix linalg.angle_from_quaternion
...
fixes #1894 .2:
```odin
package laa
import "core:fmt"
import la "core:math/linalg"
main:: proc() {
angle := f32(0.5)
quat := la.quaternion_angle_axis_f32(angle,la.Vector3f32{0,0,1})
fmt.printf("retreived: %0.8f\n", la.angle_from_quaternion(quat)) // should be 0.5, but wasn't
}
```
2022-07-23 00:59:45 +08:00
Yeongju Kang
4e8bc0786d
fix parameter for atan2 in procedure asin
2022-07-22 15:48:06 +09:00
Tetralux
3a8adc6721
[path/slashpath] Change join() to take a slice instead of varargs
...
Achieves parity with filepath.join(), which was similarly changed a while back.
2022-07-21 17:49:31 +00:00
gingerBill
e1748a5dd1
Add MAKE_WORD
2022-07-21 17:08:11 +01:00
gingerBill
3db3047f47
Minor improvements
2022-07-19 16:17:23 +01:00
gingerBill
9eb3da0474
Remove import cycle on FreeBSD
2022-07-18 15:20:28 +01:00
gingerBill
22a0c3fce1
Disallow proc() do stmt and only allow proc() { stmt }
2022-07-18 15:09:04 +01:00
gingerBill
0571b80d37
Fix printing of bit_set types
2022-07-16 17:56:38 +01:00
Jeroen van Rijn
3e6ec65dd9
Fix murmur64a's tail handling.
...
Also, split up the murmur64 proc into murmur64a and murmur64b as they're distinct hashes with their own output.
2022-07-15 13:02:07 +02:00
gingerBill
157c87b2a2
Fix typo
2022-07-15 00:34:26 +01:00
gingerBill
d3081bd889
Add buffer_read_ptr and buffer_write_ptr
2022-07-14 15:26:50 +01:00
gingerBill
2ae5bf4395
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-07-14 11:56:13 +01:00
gingerBill
f28547cae1
Fix libc.putchar
2022-07-14 11:56:05 +01:00
Jeroen van Rijn
5332705e31
[hash] Give crc-64 a 64-bit seed.
2022-07-14 11:07:52 +02:00
gingerBill
ae9d540c1c
Correct naming in tests
2022-07-11 11:55:49 +01:00
gingerBill
c90b7c38f1
Rename strings.Builder procedures to be consistent with the rest of the core library
2022-07-11 11:50:08 +01:00
Michael Kutowski
b313d09c2c
flux fixed key deletion and generic in flux_to
2022-06-28 18:27:52 +02:00
gingerBill
c0d2359a91
Merge pull request #1826 from englerj/windows-bindings
...
Added additional Windows bindings.
2022-06-28 13:14:35 +01:00
gingerBill
51a2f09032
Merge pull request #1863 from OrigamiDev-Pete/master
...
Correct error reporting for Win32 file operations
2022-06-28 13:12:41 +01:00
Jimmy "Keeba" Lefevre
9e288b7ce8
Change LPCSTR to LPCWSTR in windows _W procedures
2022-06-27 21:48:02 +02:00
Peter DV
e58f45bef7
Correct error reporting
2022-06-27 11:26:34 +10:00
Pablo Narvaja
6ffe814ca7
assign package docs to file docs
2022-06-23 18:13:34 -03:00
Jeroen van Rijn
888913c739
Add runtime.dll_forward_reason for Windows DLLs.
2022-06-21 17:29:55 +02:00
hikari
c6903fbcd5
sys/windows: add constants and macro
2022-06-17 15:14:21 +03:00
ftphikari
13c8149046
Merge branch 'odin-lang:master' into master
2022-06-16 22:55:24 +03:00
hikari
665db0f778
sys/windows: add RegSetKeyValueW
2022-06-16 22:54:59 +03:00
gingerBill
173286de65
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-06-16 15:49:13 +01:00
gingerBill
f2ecda8fec
Rename to SJSON for the Simplified JSON notation variant
2022-06-16 15:49:08 +01:00
Jeroen van Rijn
6f1222e9bf
Update strings.prefix_length to handle partial UTF-8 runes.
2022-06-16 16:12:15 +02:00
gingerBill
84a424f21e
Add numerous procedure groups decode_rune, decode_last_rune, rune_count, full_rune
2022-06-16 15:07:07 +01:00
Jeroen van Rijn
9f413862e9
Add strings.prefix_length & slice.prefix_length
2022-06-16 12:34:13 +02:00
hfr4
30b7c8ad66
wrong variable names in functions
2022-06-14 18:20:38 +02:00
gingerBill
21e637d2b3
Allow %q with enums
2022-06-13 23:30:10 +01:00
gingerBill
6c196931d2
Increase record_level on displaying map values
2022-06-13 14:46:03 +01:00
gingerBill
d7195b0798
Add missing commas
2022-06-13 11:12:31 +01:00
Josh Engler
50cbb8a1fc
Fix tab spacing.
2022-06-12 15:55:38 -04:00
gingerBill
ff9d058392
Minor changes to core:slice/heap; add to examples/all
2022-06-12 17:25:42 +01:00
gingerBill
1acc8f438b
Merge pull request #1830 from graphitemaster/dale/max_heap
...
add max heap implementation to slice package
2022-06-12 17:21:04 +01:00
gingerBill
c53426fcb4
Merge pull request #1818 from IanLilleyT/reserve_exceed
...
Dynamic array append reserves more space when it exceeds capacity
2022-06-12 17:19:08 +01:00
gingerBill
ca1f419dc2
Merge pull request #1819 from IanLilleyT/no_query_info
...
Allocator: tidying up Query_Info return values when not part of Query_Features
2022-06-12 17:15:08 +01:00
gingerBill
fae60a6b88
Merge pull request #1829 from totoki-kei/dev/totoki-kei/patch-testing
...
[testing] Fixed `@(test)` always fails unless `testing.set_fail_timeout` is called
2022-06-12 17:15:02 +01:00
gingerBill
65b8cfae82
Minor code clean up
2022-06-12 16:49:15 +01:00