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
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
gingerBill
4055c31cf0
Update utf-32 printing
2022-06-12 16:48:06 +01:00
gingerBill
e88af4e458
Support UTF-16 printing with []u16 and [^]u16 related types
2022-06-12 16:36:55 +01:00
gingerBill
79eb7b52d9
Merge pull request #1828 from JungerBoyo/patch-2
...
front() and back()
2022-06-12 16:17:39 +01:00
gingerBill
83b2bf44c4
Merge pull request #1842 from ftphikari/master
...
sys/windows: add a couple of constants
2022-06-12 16:12:43 +01:00
gingerBill
670f18ad1b
Minor change to shrink
2022-06-12 16:12:24 +01:00
gingerBill
9a81716936
Merge pull request #1820 from Tetralux/shrink
...
[runtime] Add builtin `shrink` for dynamic arrays and maps
2022-06-12 16:11:18 +01:00
gingerBill
f013499eea
Merge pull request #1827 from JungerBoyo/patch-1
...
unset function
2022-06-12 16:09:09 +01:00
gingerBill
d04f732e68
Add fmt:"s,0" to allow arrays and multi-pointers to be printed with NUL termination
2022-06-12 13:07:43 +01:00
gingerBill
38ff2a3ed9
Minor fix
2022-06-11 15:57:56 +01:00
gingerBill
bd502d16bc
Correct distinction between indirection and record level
2022-06-11 15:24:35 +01:00
gingerBill
a11e17fbc3
Disable again
2022-06-11 15:18:51 +01:00
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
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
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