gingerBill
c1eb536726
Change to "contextless" from "c"`
2023-05-29 23:30:48 +01:00
Ryhor Spivak
8012e6fa43
Remove rcDevice field from WINDOWPLACEMENT. Add WaitMessage and SetWindowPlacement.
...
rcDevice is under #ifdef _MAC in WinUser.h and _MAC is defined only for PowerPC Mac builds.
2023-05-24 15:14:30 +03:00
gingerBill
3108752a0c
Fix #2518
2023-05-18 11:55:37 +01:00
Yawning Angel
def4fdc3f3
core/sys/info: Fix the CPUID check
...
This needs to test that the n-th bit is set.
2023-05-16 23:52:15 +09:00
Yawning Angel
adb4692ce8
core/sys/info: Workaround extremely rare XGETBV issues
...
Someone ran into this on Discord, so adopt the same workaround that
chrome did, by checking both OSXSAVE and XSAVE before calling XGETBV.
The old way of detecting AVX is correct per Intel, but such is life.
2023-05-16 22:56:16 +09:00
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
RestartFU
586e85281e
fix SendInput function in user32
2023-04-08 23:13:37 +00:00
Jon Lipstate
0f1c5b3891
correct errors
2023-04-05 22:22:16 -07: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
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
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
Jon Lipstate
24493e89ad
WSAPoll
2023-03-28 22:17:39 -07:00
Christian Seibold
852c8b533c
Add SetConsoleCursorInfo and GetConsoleCursorInfo to sys/windows package
2023-03-18 15:43:31 -05:00
Jeroen van Rijn
b020ba2b5f
Merge pull request #2391 from ftphikari/master
...
sys/windows: added some functions and types for input hooks and tray …
2023-03-18 08:06:55 +01:00
hikari
03c6862d51
sys/windows: added some functions and types for input hooks and tray icons
2023-03-18 06:44:16 +02:00
Elusive Porpoise
4210aa9ab9
add SetConsoleOuputCP
2023-03-15 17:15:25 -07:00
Sokus
1ecab2fcbc
Add set_blocking for network sockets
2023-03-08 13:30:12 +01:00
gingerBill
a262c0bbf3
Separate out the read_reg into three non-parapoly procedures
2023-03-07 16:25:46 +00:00
gingerBill
0674b1b6ee
Merge pull request #2314 from SentientCoffee/pr/win32_console_text_attributes
...
Add win32 SetConsoleTextAttribute for setting cmd prompt colors
2023-03-04 15:19:34 +00:00
Colin Davidson
090723179b
Merge branch 'master' into core_net_update
2023-03-02 06:50:25 -08:00
Colin Davidson
caf9716bf1
more cleanup ripple
2023-03-01 08:21:53 -08:00
Colin Davidson
d569daae33
more manual type carryover
2023-03-01 08:17:41 -08:00
Colin Davidson
28f7f57247
manually start merging core_net
2023-03-01 07:58:30 -08:00
Jeppe Skov
ffc592c7cf
Added missing Windows functions for console manipulation
...
This commit adds several missing types and functions to the Windows implementation to enable manipulation of console windows. The types added include 'SMALL_RECT', 'CONSOLE_SCREEN_BUFFER_INFO', and 'PCONSOLE_SCREEN_BUFFER_INFO'. The functions added include 'GetConsoleScreenBufferInfo', 'SetConsoleScreenBufferSize', and 'SetConsoleWindowInfo'. These functions were necessary to properly manage the console window.
2023-02-28 23:18:10 +01:00
gingerBill
9afd9f9bea
Merge branch 'master' into new-temp-allocator
2023-02-28 12:15:54 +00:00
gingerBill
c8d3a9121b
Merge pull request #2354 from elusivePorpoise/master
...
FindFirstChangeNotification series of calls
2023-02-28 10:49:42 +00:00
Colin Davidson
edd78ae129
cleanup of os/linux
2023-02-28 01:17:43 -08:00
Elusive Porpoise
8738695bd8
FindFirstChangeNotification series of calls
2023-02-27 18:43:43 -08:00
Colin Davidson
9c9300ed58
derp. raw-syscalls
2023-02-19 20:44:00 -08:00
Colin Davidson
f2202db517
make darwin syscalls contextless
2023-02-19 20:38:46 -08:00
Colin Davidson
6a2ef1f4f3
add osx support
2023-02-19 20:23:35 -08:00
Colin Davidson
051c9cb564
begin adding tsc frequency getters
2023-02-19 20:08:11 -08:00
gingerBill
986cba584e
Add runtime.DEFAULT_TEMP_ALLOCATOR_TEMP_GUARD where appropriate
2023-02-10 16:23:33 +00:00
Daniel
34cb558279
Add win32 SetConsoleTextAttributes for setting cmd prompt colors
2023-01-25 14:17:20 -05:00
Colin Davidson
171d5b4012
more windows kerfuffle
2023-01-06 13:45:21 -08:00
Colin Davidson
1cc893f21c
Merge branch 'master' into get_core_count
2023-01-06 13:34:16 -08:00