Commit Graph

344 Commits

Author SHA1 Message Date
NicknEma
cc29b41ccc Mark procs as "contextless" in winerror.odin
So that they can be called from places like the windproc and stuff.
2024-11-04 10:24:27 +01:00
Colin Davidson
a6502c3e8c Initial cut of timezones 2024-10-09 19:26:43 -07:00
jakubtomsu
0b74a661e3 add file flags like in WinBase.h 2024-10-06 19:53:04 +02:00
flysand7
842f1ae304 Fix indentation issues 2024-09-26 07:13:00 +11:00
flysand7
dbad23385d [os2]: Implement pipe_has_data procedure 2024-09-24 08:12:21 +11:00
Karl Zylinski
19f0127e55 Moved all packages in core, base, vendor, tests and examples to use new #+ file tag syntax. 2024-09-14 18:27:49 +02:00
Feoramund
1ced76cdd1 Fix broken cases of Seek usage in _file_stream_proc
Handles `EINVAL`, among other fixes.
2024-08-28 19:53:20 +02:00
Fakhri Mouad
16503c3b91 Add Win32 procs needed to handle clipboard 2024-08-28 16:36:06 +01:00
Laytan Laats
ef66f96cf2 fix windows bindings where BOOL is not actually a boolean
Fixes #4157
2024-08-28 15:45:41 +02:00
VladPavliuk
cc2ed2b302 Fix win32 dwmapi enum. 2024-08-25 14:34:24 +03:00
gingerBill
eb799393d5 Fix -vet-tabs issues 2024-08-24 13:56:41 +01:00
gingerBill
31bb3dc4f0 Merge pull request #3971 from jasonKercher/os2-process-linux
os2 process linux implementation
2024-08-16 12:38:27 +01:00
jason
07a9c69714 update core:filepath's clean, join and split_list to return optional Allocator_Errors 2024-08-16 01:48:27 -04:00
Jeroen van Rijn
f328929939 Merge pull request #4038 from Hyrtwol/core-sys-windows-rawinput-code
Core sys windows rawinput code
2024-08-08 18:23:02 +02:00
Thomas la Cour
3d0519fe6c trim whitespace 2024-08-08 18:05:41 +02:00
Thomas la Cour
a4eeb6ed02 rawinput code 2024-08-08 18:03:59 +02:00
Jeroen van Rijn
94c62fb630 Fix typo. 2024-08-08 18:01:09 +02:00
Jeroen van Rijn
ada3df303e Allow symlink test to work irrespective of git settings. 2024-08-08 17:46:00 +02:00
Thomas la Cour
6e6f2a1f6b removed obsolete fiels on WIN32_FIND_DATAW to match the size from the winsdk headers 2024-07-26 10:14:13 +02:00
Thomas la Cour
58ab6e5f94 missign cursorinfo 2024-07-26 10:07:20 +02:00
Thomas la Cour
fe4754a77c format 2024-07-25 10:27:49 +02:00
Thomas la Cour
9d67d12d22 Merge remote-tracking branch 'upstream/master' into sys-windows-2
# Conflicts:
#	core/sys/windows/shell32.odin
2024-07-25 10:05:41 +02:00
gingerBill
9e82ae10ac Merge branch 'master' of https://github.com/odin-lang/Odin 2024-07-24 21:55:55 +01:00
gingerBill
85880f9def Add more NtDll stuff 2024-07-24 21:55:51 +01:00
Jeroen van Rijn
4ff62994bf Add CLSCTX_ALL 2024-07-24 22:54:17 +02:00
gingerBill
2dbccbde54 Improve win32 types 2024-07-24 14:53:48 +01:00
gingerBill
6d2487a692 Add some more Ntdll calls 2024-07-24 13:38:14 +01:00
Jeroen van Rijn
da80c51195 Merge pull request #3966 from KyleNBurke/sys-windows-add-type
Add `NCCALCSIZE_PARAMS` to `sys/windows`
2024-07-23 07:45:44 +02:00
Kyle Burke
9d99f98194 Remove semicolon 2024-07-23 00:22:19 -05:00
Kyle Burke
c32e12c3f5 Add NCCALCSIZE_PARAMS to sys/windows 2024-07-23 00:09:50 -05:00
IllusionMan1212
07121f81ff core/sys/windows: added drag and drop procedures 2024-07-17 00:32:25 +02:00
gingerBill
169fc4d3be General clean up of the os2/process_windows.odin code 2024-07-16 11:56:31 +01:00
Thomas la Cour
3627a51daf Merge remote-tracking branch 'upstream/master' into sys-windows-2 2024-07-12 16:06:48 +02:00
flysand7
6ae47c6f43 [sys/windows] Add advapi bindings, process-related functions and context-related stuff 2024-07-12 19:21:44 +11:00
Thomas la Cour
3291c59728 post rebase 2024-07-11 21:37:37 +02:00
Thomas la Cour
dd75b7a4d9 Merge remote-tracking branch 'upstream/master' into sys-windows-2
# Conflicts:
#	core/sys/windows/kernel32.odin
#	core/sys/windows/types.odin
#	core/sys/windows/user32.odin
#	core/sys/windows/winerror.odin
2024-07-11 21:20:53 +02:00
gingerBill
7e41340510 Unify IUnknown COM interface 2024-07-10 15:20:07 +01:00
gingerBill
efe5e9e349 Merge pull request #3858 from flysand7/wow64-apiset
Add bindings for WOW64 API set
2024-07-06 00:23:47 +01:00
Jeroen van Rijn
9ecc33570b Improve fix. 2024-07-05 13:51:38 +02:00
Jeroen van Rijn
164a5e587e Fix utf8_to_wstring given zero bytes. 2024-07-05 13:46:07 +02:00
flysand7
41282b5211 Add bindings for WOW64 API set 2024-07-02 21:56:04 +11:00
flysand7
62d107bea5 [sys/windows]: Fix the type declaration for MODULEENTRY32W 2024-07-02 21:34:54 +11:00
flysand7
561b96b20d [sys/windows]: Fix the value for TH32CS_SNAPPROCESS constant 2024-06-30 13:34:08 +11:00
flysand7
2737ccab3d [core/windows]: Bind tlhelp.h functions from kernel32.dll 2024-06-30 12:35:42 +11:00
Jeroen van Rijn
5d1d98cef3 Merge pull request #3806 from NicknEma/windows_fixes
Update CommandLineToArgvW return type
2024-06-25 12:22:27 +02:00
NicknEma
845613c404 Update CommandLineToArgvW return type
It now returns a multi-pointer so it can be iterated without any casting.
2024-06-25 12:10:17 +02:00
Jeroen van Rijn
94a8c38d86 Add GetNumberOfConsoleInputEvents 2024-06-20 15:19:25 +02:00
Jeroen van Rijn
4380934283 Merge pull request #3787 from jasonKercher/more-windows-comm
Add more bindings for comm ports and console events
2024-06-19 23:32:12 +02:00
jason
93e67f6bec make -strict-style happy 2024-06-19 17:15:09 -04:00
jason
6b1e76985c move DCB to types.odin; add more bindings for comm functions 2024-06-19 17:04:18 -04:00