gingerBill
8b3b659433
Re-enable string quoting within records
2022-06-11 15:16:17 +01:00
gingerBill
f33228fd6e
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-06-11 15:13:13 +01:00
gingerBill
df5b693de8
Refactor fmt_value
2022-06-11 15:13:07 +01:00
Josh Engler
6f80174f84
Merge branch 'master' into windows-bindings
2022-06-11 09:48:28 -04:00
hikari
0ebe81fce2
sys/windows: add GetTextExtentPoint32W
2022-06-11 12:27:18 +03:00
gingerBill
c75dd14308
Fix typo
2022-06-11 02:03:54 +01:00
gingerBill
c166b6a21d
Support optional length parameter on struct tags for multi-pointers
2022-06-11 01:40:58 +01:00
gingerBill
6ed5cbee12
Refactor to fmt_array
2022-06-11 01:38:14 +01:00
gingerBill
5b200ccdf8
Correct #soa printing
2022-06-11 01:32:52 +01:00
gingerBill
cf0f0c4b31
Clean up trailing comma
2022-06-11 01:23:41 +01:00
gingerBill
1399ecb41c
Refactor with fmt_struct
2022-06-11 01:22:18 +01:00
gingerBill
339d6cfd41
Check for in_bad
2022-06-11 01:17:33 +01:00
gingerBill
7bded4f189
Default to q for strings within structs
2022-06-11 01:09:42 +01:00
gingerBill
c7269b9ef0
Allow for fmt:"s" and fmt:"s,field_length"
2022-06-11 01:06:47 +01:00
gingerBill
85688015aa
Add fmt:"-" to ignore fields in a struct
2022-06-11 00:55:10 +01:00
hikari
3c6cc575c6
sys/windows: add a couple of constants
2022-06-10 21:17:27 +03:00
hikari
88e9eb7d0c
sys/windows: add functions and constants
2022-06-09 17:44:51 +03:00
hikari
d19fc54c3d
sys/windows: add macro
2022-06-08 21:18:11 +03:00
ftphikari
5d4291d9fa
Merge branch 'odin-lang:master' into master
2022-06-08 19:55:42 +03:00
hikari
b70cd03e9e
sys/windows: add interfaces from shobjidl_core.h
2022-06-08 19:38:12 +03:00
hikari
e91e5e1fe9
sys/windows: fix formatting
2022-06-07 20:16:32 +03:00
hikari
ae57a49915
sys/windows: fix file picker dialog
2022-06-07 17:59:15 +03:00
Despacito696969
a343fb171d
Fixed slice.is_sorted_cmp
2022-06-07 14:07:19 +02:00
Tetralux
fa2296a124
[runtime] Add builtin shrink for dynamic arrays and maps
...
Asks the allocator to shrink the backing allocation to the current __length__, or a capacity
of the user's choosing.
Returns `(did_shrink: bool, err: mem.Allocator_Error)`.
```
shrink(&array) // shrinks to len(array)
shrink(&array, N) // shrink to N capacity
shrink(&map) // shrinks down to len(map)
shrink(&map, N) // shrink to N capacity
```
2022-06-04 23:29:47 +00:00
Dale Weiler
a996cfc536
fix
2022-06-04 04:47:52 -04:00
Dale Weiler
c1d55b9296
add max heap implementation to slice package
2022-06-04 04:31:55 -04:00
Totoki Kei
5c18cca1ca
[core:testing] add global_fail_timeout_thread nil check
...
Fixed an issue where test would always fail unless set_fail_timeout was called.
2022-06-04 12:21:20 +09:00
JungerBoyo
78e6cd0c60
front() and back()
...
based on pop_front(), pop_back()
2022-06-04 00:12:34 +02:00
hikari
176954a6d8
sys/windows: add several functions and constants
2022-06-03 22:12:43 +03:00
JungerBoyo
ad6b3bd95f
unset function
...
unset function, clear single bits
2022-06-03 15:53:14 +02:00
Josh Engler
762895bc45
- Added EnumDisplaySettingsW and friends.
...
- Added additional file access/security/sharing attributes
2022-06-03 07:40:45 -04:00
hikari
592e9afa5f
sys/windows: add RegSetValueExW
2022-06-03 07:57:21 +03:00
hikari
a2e0373934
sys/windows: add registry functions and create winerror.odin
2022-06-03 06:44:42 +03:00
gingerBill
fb49841b1d
Remove strings dependency from core:sys/windows
2022-06-02 13:02:16 +01:00
gingerBill
01ea0d6f1e
Merge branch 'master' of https://github.com/odin-lang/Odin
2022-06-02 12:11:29 +01:00
gingerBill
bb7f291f5f
Remove simd_rem; Disallow simd_div for integers
2022-06-02 12:10:43 +01:00
Ian Lilley
dda2ed290a
tidying up Query_Info return value when not in query features
2022-06-01 22:40:39 -04:00
Ian Lilley
ee9908b09e
Reserve more space when exceeding, not meeting, capacity
2022-06-01 22:01:00 -04:00
Ian Lilley
66de1856e3
tighter allocation for arena allocator
2022-06-01 21:37:05 -04:00
gingerBill
ba5f7c4e2a
Deprecate a..b based ranges in favour of ..=
2022-06-01 11:08:19 +01:00
gingerBill
a1f15c2c69
Merge pull request #1807 from odin-lang/simd-dev
...
Generic #simd type and intrinsics
2022-05-31 11:52:24 +01:00
gingerBill
a7840d50e2
Correct documentation
2022-05-31 00:01:23 +01:00
gingerBill
cb10af08cb
Correct intrinsics.odin for documentation
2022-05-30 16:42:32 +01:00
gingerBill
4e49d24df9
Add enable_target_feature to ABM
2022-05-30 16:08:06 +01:00
gingerBill
68222cb8ab
Add SSE4.2
2022-05-30 16:06:31 +01:00
gingerBill
912d29af83
Add @(require_results) to all appropriate procedures
2022-05-30 15:59:48 +01:00
gingerBill
51707032d1
Add SSE4.1
2022-05-30 15:17:02 +01:00
gingerBill
f3aefbc443
@(require_target_feature=<string>) @(enable_target_feature=<string>)
...
require_target_feature - required by the target micro-architecture
enable_target_feature - will be enabled for the specified procedure only
2022-05-30 14:53:12 +01:00
gingerBill
cef022539e
Rename to lanes_rotate_left, lanes_rotate_right, lanes_reverse
2022-05-29 15:13:14 +01:00
gingerBill
f6dfa33697
Use single line attributes
2022-05-29 15:11:15 +01:00