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
gingerBill
5d190b15d7
Minor improvements to io and os
2022-05-05 15:30:07 +01:00
Jeroen van Rijn
fe442d7c0c
[mem] Fix Dynamic_Pool.
2022-05-05 10:45:15 +02:00
zhibog
0e91e63043
Fix issue 1761. Added the test vector to the core and vendor tests
2022-05-04 22:13:50 +02:00
Jeroen van Rijn
b99940f33a
[xxhash] For the streaming tests, randomly select the size to use.
...
Randomize size used with `update`.
It'll print "Using user-selected seed {18109872483301276539,2000259725719371} for update size randomness."
If a streaming test then fails, you can repeat it using:
`odin run . -define:RAND_STATE=18109872483301276539 -define:RAND_INC=2000259725719371`
2022-05-02 19:20:25 +02:00
Jeroen van Rijn
6985181961
[xxhash] Add tests for large inputs
...
Test XXH32, XXH64, XXH3-64 and XXH3-128 for large inputs, with both all-at-once and streaming APIs.
XXH32_create_state and XXH64_create_state now implicitly call their "reset state" variants to simplify the streaming API to 3 steps:
- create state / defer destroy
- update
- digest (finalize)
These are tested with an array of 1, 2, 4, 8 and 16 megabytes worth of zeroes.
All return the same hashes as do both the one-shot version, as well as that of the official xxhsum tool.
3778/3778 tests successful.
2022-05-02 17:51:39 +02:00
gingerBill
2d3f59d9a7
Merge pull request #1758 from ftphikari/master
...
sys/windows: add a couple procedures and tons of constants
2022-05-02 13:11:25 +01:00
gingerBill
be8de4a1ff
Update arch enum
2022-05-01 23:52:55 +01:00
WalterPlinge
74d3bcec05
Fixed the depth values in the doc file, made some info more clear
2022-05-01 21:29:09 +01:00
Jeroen van Rijn
335b724209
[xxh3] Fix flaws in streaming implementation
2022-05-01 12:47:05 +02:00
hikari
b2fdb881eb
sys/windows: remove A variant for one SystemParametersInfoW
2022-05-01 13:21:28 +03:00
Jeroen van Rijn
6ade9acc4d
[pbm] Remove stray comment.
2022-04-30 22:54:53 +02:00
Jeroen van Rijn
694c13fe86
Merge branch 'master' into pr/1726
2022-04-30 21:01:04 +02:00
Jeroen van Rijn
8bd16c32f3
[pbm] Fixes.
2022-04-30 21:00:32 +02:00
Jeroen van Rijn
dd8b71e353
[pbm] WIP unit tests.
2022-04-30 17:52:23 +02:00
hikari
d24bebdb9e
sys/windows: add a couple procedures and tons of constants
2022-04-30 16:55:37 +03:00
Jeroen van Rijn
3978e7e1ca
[xml] Add parse_from_string overload.
...
`parse` now takes either a `[]u8` slice or a string.
`load_from_file` takes a path string.
2022-04-30 14:43:58 +02:00
gingerBill
b758c696f2
Merge pull request #1746 from odin-lang/sync-cond-futex
...
`core:sync` Improvements
2022-04-30 13:34:16 +01:00
Jeroen van Rijn
d6a8216ce4
[pbm] Normalize some errors, correct .depth
2022-04-30 14:34:07 +02:00
gingerBill
2720f64c06
Remove unused imports
2022-04-30 13:28:45 +01:00
gingerBill
4e39629a9a
Unify implementation for *nix platforms
2022-04-30 13:09:24 +01:00