hanabi1224
ded8342f3f
Reduce allocations
2022-04-19 20:46:33 +08:00
ftphikari
240fb9b953
Merge branch 'odin-lang:master' into master
2022-04-19 06:00:30 +03:00
hikari
4997a43763
Merge remote-tracking branch 'origin/master'
2022-04-19 05:59:42 +03:00
hikari
aa4eb35671
sys/windows: add some procedures
2022-04-19 05:58:22 +03:00
Jeroen van Rijn
d99ba9c073
Merge pull request #1731 from Kelimion/targa
...
[image/tga] Writer for RGB(A) 8-bit images.
2022-04-18 23:36:45 +02:00
Jeroen van Rijn
fdd24f787f
[image/tga] Writer for RGB(A) 8-bit images.
2022-04-18 23:28:34 +02:00
Jeroen van Rijn
df4a0c62ad
Delete accidentally added test artefact.
2022-04-18 19:10:53 +02:00
Jeroen van Rijn
e3e3309a9b
Merge pull request #1728 from Tetralux/more-slice-helpers
...
Duplicate some basic slice procedures from core:mem into core:slice
2022-04-18 19:05:20 +02:00
Tetralux
7428e52264
Duplicate some basic slice procedures from core:mem into core:slice
2022-04-18 16:56:45 +00:00
Jeroen van Rijn
20b70c3b7b
Merge pull request #1727 from hanabi1224/fix-lru
...
Fix bugs in core:container/lru
2022-04-18 13:39:23 +02:00
hanabi1224
4247ba67ed
Fix bugs in core:container/lru
2022-04-18 15:24:54 +08:00
Jeroen van Rijn
e738e93da0
Merge pull request #1723 from ftphikari/master
...
sys/windows: add timeEndPeriod
2022-04-17 18:27:07 +02:00
hikari
b78f3a8069
sys/windows: add timeEndPeriod
2022-04-17 19:17:38 +03:00
Jeroen van Rijn
939973acd7
[QOI] Add to examples/all.
2022-04-17 12:35:34 +02:00
gingerBill
ed4cb72b19
Merge pull request #1696 from Despacito696969/master
...
Fix for `slice_to_components` compilation error
2022-04-16 21:56:13 +01:00
Jeroen van Rijn
70cbffd58b
Merge pull request #1722 from Kelimion/varint_streamed
...
[LEB128] Add byte-at-a-time ILEB decoder.
2022-04-16 18:19:38 +02:00
Jeroen van Rijn
6d0ba8d189
[LEB128] Add byte-at-a-time ILEB decoder.
2022-04-16 18:14:01 +02:00
Jeroen van Rijn
b6f3fa6ee1
Merge pull request #1719 from ftphikari/precise_sleep
...
time: add accurate sleep procedure
2022-04-16 16:52:46 +02:00
Jeroen van Rijn
91037766d2
Update time.odin
...
Add caveats.
2022-04-16 16:48:08 +02:00
hikari
8bf73950fa
time: remove unnecessary yield
2022-04-16 14:36:48 +03:00
hikari
4f4793817c
time: fix unix build
2022-04-16 14:35:49 +03:00
hikari
0a0440a6e8
time: yield accurate_sleep instead of relaxing the cpu
2022-04-16 14:08:37 +03:00
hikari
b9dc81d808
runtime: update comment description
2022-04-16 13:46:36 +03:00
Jeroen van Rijn
8e7ddccf00
Merge pull request #1717 from ftphikari/master
...
sys/windows: add procedures and types
2022-04-16 12:38:39 +02:00
Jeroen van Rijn
a5773f1657
Merge pull request #1718 from Kelimion/varint_streamed
...
Add uleb128 byte-at-a-time decoder.
2022-04-16 02:20:07 +02:00
Jeroen van Rijn
44316401c9
Add uleb128 byte-at-a-time decoder.
2022-04-16 02:07:57 +02:00
hikari
b05fbaacda
time: add accurate sleep procedure
2022-04-16 00:32:17 +03:00
hikari
1b4d5b73ab
sys/windows: add some constants
2022-04-15 22:04:34 +03:00
hikari
d3fbf36df7
sys/windows: add winmm bindings file
2022-04-15 19:18:22 +03:00
ftphikari
de819cff94
Merge branch 'odin-lang:master' into master
2022-04-15 19:16:52 +03:00
hikari
cfae39c29d
sys/windows: add procedures and types
2022-04-15 19:16:31 +03:00
gingerBill
989641a616
Update Vulkan generation and package
2022-04-15 12:14:12 +01:00
gingerBill
fc3f62e3ed
Minor rearrangement
2022-04-15 11:50:08 +01:00
gingerBill
6b7c04e046
Improve utilities
2022-04-15 11:33:28 +01:00
gingerBill
cfeb16f917
Add more proc groups
2022-04-15 11:20:42 +01:00
gingerBill
9a2d9002e6
Minor fixes and add use of proc groups where better suited
2022-04-15 11:14:59 +01:00
gingerBill
ea0b02d9b9
Add Buffer contentsAsSlice and contentsAsType
2022-04-14 16:42:24 +01:00
gingerBill
0d621511e5
Correct signature types
2022-04-14 16:16:53 +01:00
gingerBill
e53c858855
Add NS.Block to allow for the creation of block-like lambdas in Odin
2022-04-14 15:47:49 +01:00
gingerBill
8a9f7fc684
Fix #1713
2022-04-14 15:09:03 +01:00
gingerBill
51db46551e
Add MetalKit; Add NSApplication NSMenu NSMenuItem; Improve Metal classes
2022-04-14 15:03:47 +01:00
gingerBill
600b79276a
Merge pull request #1709 from ap29600/quicksort_fix
...
Fix tail recursion in `_quick_sort_general`
2022-04-13 11:20:46 +01:00
Andrea Piseri
a040be957f
Fix tail recursion in _quick_sort_general
...
The `if` statement should have been a `for` loop, in order to allow recursively
sorting the subarrays with quicksort, and not resort to shell sort after
one step.
2022-04-13 10:55:16 +02:00
Jeroen van Rijn
f6fa553572
Merge pull request #1708 from Kelimion/varint_doc
...
[varint] Clear up doc.odin.
2022-04-13 00:03:58 +02:00
Jeroen van Rijn
8310436350
[varint] Clear up doc.odin.
2022-04-13 00:03:36 +02:00
Jeroen van Rijn
f92ffe60e7
Merge pull request #1699 from ftphikari/master
...
mem: replace size procedures with constants
2022-04-12 20:12:05 +02:00
Jeroen van Rijn
de72754d7a
Merge pull request #1707 from Kelimion/qoi
...
[image] Add QOI load/save.
2022-04-12 19:33:11 +02:00
Jeroen van Rijn
bf712e9355
[QOI] Add support for RGB images (previously loader always output RGBA).
...
Also add QOI to CI test suite by roundtripping 8-bit RGB(A) through QOI and checking the hashes match.
2022-04-12 19:23:48 +02:00
Jeroen van Rijn
ab9457346d
[PNG] Remove debug printf.
2022-04-12 18:26:10 +02:00
Jeroen van Rijn
15b440c4f1
[image] Add QOI load/save.
...
Additionally:
- Firm up PNG loader with some additional checks.
- Add helper functions to `core:image` to expand grayscale to RGB(A), and so on.
TODO: Possibly replace PNG's post-processing steps with calls to the new helper functions.
2022-04-12 18:14:09 +02:00