Commit Graph

3692 Commits

Author SHA1 Message Date
Matias Fernandez
3b2864d8a6 Add IsWindow to user32.odin
This is useful for checking if window has been closed without going through the WindowProc.
2023-04-22 17:49:16 -04:00
Jeroen van Rijn
9a982cc5b5 Fix #2471 2023-04-21 08:35:21 +02:00
gingerBill
57214c63cb Merge pull request #2457 from jakubtomsu/master
Handle unmarshalling unknown values in `core:encoding/json`
2023-04-20 11:27:09 +01:00
gingerBill
2d699fd13b Fix again append on zero sized types 2023-04-19 15:34:40 +01:00
gingerBill
13c321b8fb Fix missing cast in array_elems 2023-04-19 15:31:51 +01:00
Jeroen van Rijn
fa42a788c8 Preserve port when calling net.resolve with hostname:port. 2023-04-18 18:24:27 +02:00
gingerBill
7abaf77292 Add struct #no_copy 2023-04-15 15:47:18 +01:00
gingerBill
e79883e4fd Add #no_copy to sync primitives 2023-04-15 15:41:30 +01:00
gingerBill
5da76ae34b Add struct #no_copy 2023-04-15 15:37:32 +01:00
jakubtomsu
a6d5f9877f Convert indentation to tabs 2023-04-14 17:27:52 +02:00
jakubtomsu
994825671d Handle unmarshalling to json.Value 2023-04-14 15:05:25 +02:00
RestartFU
586e85281e fix SendInput function in user32 2023-04-08 23:13:37 +00:00
Jeroen van Rijn
6fe8692b98 Merge pull request #2445 from Lperlind/documentation/strings_returns
Document return values of strings and add allocator errors where possible
2023-04-08 10:05:39 +02:00
Yawning Angel
7fc2081543 core/crypto: Add private attributes for internals
These constants and internal routines are not intended for use outside
the actual implementations themselves.
2023-04-08 10:15:00 +09:00
Yawning Angel
b8c2b0105b core/crypto: Disable optimization for the ct byte compare
Hedge against the possibility of a compiler getting clever enough to
optimize this pattern as well.
2023-04-08 10:11:04 +09:00
Yawning Angel
d72db2698b core/crypto/_fiat: Hedge against LLVM cleverness
Recent LLVM is getting smart to the point where the optimizer can change
a traditional constant-time conditional swap into a pointer swap.

Ensure that this does not happen by force-disabling optimization.
Additionally, disable inlining the relevant routines such that manual
inspection in optimized builds is still reasonably easy to do.
2023-04-08 09:57:47 +09:00
Lucas Perlind
e0d9092df8 Document return values of strings and add allocator errors where
possible
2023-04-07 20:39:01 +10:00
Jon Lipstate
7a8aa03e54 doc tests verified 2023-04-06 14:58:57 -07:00
Jon Lipstate
846c0f7cfc add decimal subpackage ref 2023-04-06 09:56:27 -07:00
Jon Lipstate
1886193c6c resolve doc-test issues 2023-04-06 09:44:57 -07:00
Jon Lipstate
ed7284add2 parens 2023-04-06 00:14:46 -07:00
Jon Lipstate
9ecbd70daa parens 2023-04-06 00:02:57 -07:00
Jon Lipstate
b8989d9bf9 strconv docs 2023-04-05 23:52:11 -07:00
Jon Lipstate
0f1c5b3891 correct errors 2023-04-05 22:22:16 -07:00
Jon Lipstate
41ff7a6010 Merge branch 'master' into strconv_docs 2023-04-05 22:20:21 -07:00
Karl Zylinski
d7cc166eab Fix for skip_alphanum in JSON tokenizer not checking if first character is non-alphanum. This broke any single-character key when using SJSON specification in combination with not using quoted strings. 2023-04-05 22:37:05 +02:00
Jeroen van Rijn
fb0b9de7a9 Merge pull request #2423 from jon-lipstate/wsapoll
Winsock updates, iocp calls
2023-04-05 09:08:07 +02:00
Jon Lipstate
2c9156e2c1 repaired autoformatter 2023-04-04 23:57:52 -07:00
Jon Lipstate
236347b5bc retain runtime load sample 2023-04-04 23:11:01 -07:00
Jon Lipstate
c5d2b01923 remove runtime signatures to prevent ffi collisions 2023-04-04 23:03:19 -07:00
Jon Lipstate
bf75fd9d34 Revert "remove keyedevent"
This reverts commit 219343f3c0.
2023-04-04 22:02:37 -07:00
Jon Lipstate
9a8c69d1c0 remove duplicate 2023-04-04 22:01:44 -07:00
Jon Lipstate
6c943722f3 add non Ex variant 2023-04-04 22:00:22 -07:00
Jon Lipstate
219343f3c0 remove keyedevent 2023-04-04 11:47:26 -07:00
Jeroen van Rijn
9c1612f122 Merge pull request #2437 from elusivePorpoise/master
sys/windows: add a bunch of consts, a function and rename a struct
2023-04-04 09:56:05 +02:00
Jon Lipstate
6cba4d3483 iocp support 2023-04-04 00:42:38 -07:00
Jon Lipstate
738cf837de additional winsock apis, doc links 2023-04-04 00:32:34 -07:00
Jon Lipstate
2550918f27 Merge remote-tracking branch 'origin' into wsapoll 2023-04-03 23:57:28 -07:00
Elusive Porpoise
aa5a222c6d Add creation, thread priority, and copy file flags. 2023-04-03 22:33:40 -07:00
Elusive Porpoise
2795f09fa8 Add GetStartupInfoW. Rename StartupInfo to StartupInfoW. 2023-04-03 22:27:47 -07:00
Jeroen van Rijn
f205df1996 Merge pull request #2436 from Lperlind/batch-fail
Make tests scripts error if a test fails
2023-04-03 08:56:43 +02:00
Lucas Perlind
c59ad24856 Make tests scripts error if a test fails
Additionally fixes tests that were found broken because
of this.
2023-04-03 16:49:14 +10:00
Lucas Perlind
67e6f57192 Small improvements strings documentation
* Use new 'Returns:' and 'Inputs:' keywords used by the website generator
* Make order item order resemble website, i.e. 'Returns:' comes before
  'Example:'
* Add a few missing input items
* Add a few missing return items
2023-04-03 08:44:14 +10:00
Lucas Perlind
6ff0cc0b40 Enforce example names in documentation 2023-04-01 09:13:15 +11:00
Jeroen van Rijn
fce2042375 Merge pull request #2428 from elusivePorpoise/pr2428
relocations and add some error consts to winmm
2023-03-29 22:18:55 +02:00
Elusive Porpoise
57594153a1 relocations and add some error consts to winmm
Summary:

Test Plan:
2023-03-29 13:06:42 -07:00
Jeroen van Rijn
ff93ea5bf1 Merge pull request #2426 from elusivePorpoise/pr2426
Add TIMECAPS stuff
2023-03-29 22:05:26 +02:00
Elusive Porpoise
4a54676f31 Add TIMECAPS stuff
Summary:

Test Plan:
2023-03-29 12:10:44 -07:00
gingerBill
2f771bee7b Merge pull request #2412 from oskarnp/text_table
text/table: Initial implementation
2023-03-29 15:08:33 +01:00
Jon Lipstate
24493e89ad WSAPoll 2023-03-28 22:17:39 -07:00