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
gingerBill
0564cb6483
Merge pull request #1824 from ftphikari/master
...
sys/windows: add registry functions and create winerror.odin
2022-06-10 14:31:48 +01:00
Hasen Judy
4be92c7eb8
HACK work around for creating a cocoa window
...
See #1825 for more details.
This does not fix the underlying issue; it's merely a work around for
this specific manifestation of the bug.
2022-06-10 17:10:00 +09: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
gingerBill
bfcb527b42
Merge pull request #1831 from Despacito696969/master
...
Fixed `slice.is_sorted_cmp`
2022-06-07 13:23:01 +01: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
gingerBill
174fa9b490
Merge pull request #1817 from IanLilleyT/arena_allocation
...
Improved arena allocation with alignment
2022-06-02 10:53:23 +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 ..=
dev-2022-06
2022-06-01 11:08:19 +01:00
gingerBill
487bd3d942
Keep compiler happy
2022-06-01 11:07:58 +01:00
gingerBill
4fac7a8f27
Update wasm/README.md
2022-06-01 10:40:59 +01:00
gingerBill
25dae06b6a
Remove loader.mjs
2022-06-01 10:32:24 +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
516f6647b4
Fix intrinsics.non_temporal_{load, store}
2022-05-31 11:00:41 +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
f3868ac932
Improve missing handled results for built in procedures
2022-05-30 15:57:26 +01:00
gingerBill
5b42dd7707
Correct @(require_results) on parapoly procedures
2022-05-30 15:27:09 +01:00
gingerBill
51707032d1
Add SSE4.1
2022-05-30 15:17:02 +01:00
gingerBill
a0babefe55
Fix lb_build_builtin_simd_proc
2022-05-30 15:13:45 +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
Jeroen van Rijn
a6c779b50e
Merge pull request #1815 from hasenj/patch-1
...
Missing lib imports for raylib on macOS
2022-05-30 15:32:46 +02:00