Commit Graph

4001 Commits

Author SHA1 Message Date
gingerBill
9c1f270bd5 Rename load_from_slice to load_from_bytes across core 2022-05-14 14:55:15 +01:00
gingerBill
e46d87b221 Fix type and keep -vet happy 2022-05-14 14:47:58 +01:00
gingerBill
5af7004f44 Add image packages to examples/all 2022-05-14 14:43:50 +01:00
gingerBill
01e8e682c0 Generalized core:image loader
```odin
import "core:image"
import "core:image/png"

...

img, err := image.load_from_file("path.png")
```
2022-05-14 14:38:26 +01:00
Jeroen van Rijn
7057f5fc11 Add PAM and PFM to format detection. 2022-05-14 15:17:37 +02:00
gingerBill
f17a9dd5e7 Add even more file formats 2022-05-14 13:59:49 +01:00
gingerBill
ec3394b8da Merge branch 'master' of https://github.com/odin-lang/Odin 2022-05-14 13:46:15 +01:00
gingerBill
0cca42a1f4 Add image.which file format testing procedures 2022-05-14 13:46:10 +01:00
Jeroen van Rijn
85edcf9cc2 Revert. 2022-05-14 13:34:52 +02:00
gingerBill
3b842ffe29 Remove semicolons 2022-05-14 12:27:21 +01:00
Jeroen van Rijn
6c0e2e2a53 pool_join should look at .Done. 2022-05-14 13:18:38 +02:00
Jeroen van Rijn
42371f7aea Fix fix. 2022-05-13 15:25:20 +02:00
Jeroen van Rijn
58fc305b11 Do a bit less work for pool_join. 2022-05-13 15:11:33 +02:00
Jeroen van Rijn
7e0c359f99 Fix thread pool join. 2022-05-13 15:03:40 +02:00
Jeroen van Rijn
7bc21c6691 Allow CSV/TSV reader to read multi-line fields. 2022-05-13 14:19:04 +02:00
gingerBill
dd56c85e55 Merge pull request #1784 from yay/os-darwin-fixes
os_darwin.odin fixes
2022-05-13 10:10:05 +01:00
Vitaly Kravchenko
9e2a847ebc Typo fix 2022-05-13 09:32:04 +01:00
Vitaly Kravchenko
daef39a206 os_darwin.odin fixes 2022-05-13 09:27:15 +01:00
gingerBill
5d496cdcda Merge pull request #1783 from AaronGlazer/master
core:sys/windows - Add flag values for FormatMessageW and LocalAlloc/etc.
2022-05-13 09:21:04 +01:00
gingerBill
f27f595549 Add core:encoding/endian 2022-05-12 19:35:07 +01:00
Aaron Glazer
536e0a8c29 Adding flag values for FormatMessageW and LocalAlloc/etc. 2022-05-12 08:22:51 -07:00
gingerBill
3fdb3dd767 Minor style change in leb128.odin 2022-05-12 15:59:15 +01:00
gingerBill
d224679619 Minor name changes within core:encoding/xml for consistency 2022-05-12 15:57:03 +01:00
gingerBill
2dd181e663 Remove duplication 2022-05-12 15:48:27 +01:00
gingerBill
f002857edc Clean up core:time to be consistent across all platforms 2022-05-12 15:47:24 +01:00
gingerBill
97739da85a Remove core:sys/win32 2022-05-12 14:33:03 +01:00
gingerBill
6c14586fff Add GetAddrInfoExW 2022-05-12 14:27:46 +01:00
gingerBill
0c45a46aab Remove A calls in favour of W calls 2022-05-12 14:21:25 +01:00
gingerBill
d1fc9d3073 Add more libraries 2022-05-12 13:54:40 +01:00
gingerBill
2fb351bf04 Update sys/windows to be closer to the soon to be deleted sys/win32 2022-05-12 13:45:17 +01:00
gingerBill
dc832ad49f Minor fix 2022-05-12 13:20:55 +01:00
gingerBill
eef44b11f3 Make the utf16 conversion procedures in core:sys/windows safer by checking for memory leaks 2022-05-12 13:17:58 +01:00
gingerBill
bb4f108487 Update error handling for os2 on windows 2022-05-12 12:54:27 +01:00
gingerBill
ccb38c3dc6 Add _safe versions 2022-05-12 12:54:14 +01:00
gingerBill
cc81057d21 Merge branch 'master' of https://github.com/odin-lang/Odin 2022-05-12 11:33:08 +01:00
gingerBill
8b4b81fdeb Fill in most of os2/file_windows.odin 2022-05-12 11:33:01 +01:00
Jeroen van Rijn
f4ad4c7aa6 Disable thread.terminate on Darwin for now. 2022-05-11 16:17:35 +02:00
Jeroen van Rijn
8fb718245a Implement pthread_cancel. 2022-05-11 15:52:04 +02:00
Jeroen van Rijn
56e3b7cb7d Fix join on *nix. 2022-05-11 13:43:29 +02:00
Thimilius
d48d3bfa87 Fix join_multiple typo 2022-05-11 13:12:56 +02:00
Jeroen van Rijn
8559790bd8 Fix ; typo. 2022-05-10 20:02:39 +02:00
Aaron Glazer
c9e31dc90d Adding some proc bindings, struct definitions, and constant values. 2022-05-08 02:34:10 -07:00
Jeroen van Rijn
85e6efdf16 Ctrl-C handler on Windows. 2022-05-08 10:39:03 +02:00
Jeroen van Rijn
6b89ff43ea Merge pull request #1770 from ftphikari/master
sys/windows: fix RGB macro
2022-05-06 17:28:21 +02:00
hikari
4cdc55af91 sys/windows: fix RGB macro again 2022-05-06 18:23:52 +03:00
hikari
4b289f904c sys/win32: fix RGB macro 2022-05-06 13:58:00 +03:00
gingerBill
6f20b5bb59 Add mock for _yield 2022-05-06 10:59:55 +01:00
gingerBill
96ab17ecfc Begin mocking os2 for windows out more 2022-05-05 18:01:44 +01:00
gingerBill
18bde22b26 Go to a File based approach over Handle based 2022-05-05 16:15:03 +01:00
gingerBill
e61aad925b Merge branch 'master' of https://github.com/odin-lang/Odin 2022-05-05 15:30:14 +01:00