aboutsummaryrefslogtreecommitdiff
path: root/core/sys/windows
Commit message (Collapse)AuthorAgeFilesLines
* Add `vendor:directx` packages: `dxgi`, `d3d11`, and `d3d12`gingerBill2022-02-161-0/+3
| | | | TODO: enums marked with `bit_set` may need conversions
* Add socket() function to windows ws32 bindingsCarwyn Nelson2021-11-101-0/+5
| | | | | | | It looks like this was missing from the winsock bindings. Odin contains WSASocketW which I assume would also work for obtaining a socket, but socket() is distinct and is what I was using, so I assume others will want it too.
* Fix the windows binding for getaddrinfoCarwyn Nelson2021-11-101-3/+3
| | | | | getaddrinfo should take a double pointer to ADDRINFOA instead of a single pointer. If you call the binding in its current state you will not get back a valid ADDRINFOA struct. I have also changed the `node` and `service` params to be cstring to avoid having to do `transmute(u8) value`.
* Remove assertgingerBill2021-10-251-1/+1
|
* add GetModuleHandleAJonas Welle2021-10-161-0/+1
|
* Make many `package time` procedures use `"contextless"` calling conventiongingerBill2021-10-111-1/+1
|
* sys: Add Windows Bluetooth APIs.Jeroen van Rijn2021-09-132-0/+116
|
* Remove unneeded semicolons from the core librarygingerBill2021-08-311-3/+3
|
* Remove unneeded semicolons from the core librarygingerBill2021-08-317-617/+617
|
* Use multi-pointers when appropriategingerBill2021-08-221-1/+1
|
* Disallow `using` on an enum declaration.gingerBill2021-08-051-3/+11
|
* Big simplification and improvement of the entity collection system, reducing ↵gingerBill2021-07-271-0/+2
| | | | unneeded steps for packages
* Allow `core:sys/windows` to build on Windows onlyJeroen van Rijn2021-07-1511-0/+11
|
* Correct `\n` ignore rulesgingerBill2021-04-261-1/+1
|
* Fix style issues; Use new attribute `@(cold)` where appropriate in the new ↵gingerBill2021-04-141-1/+2
| | | | sync package
* Placate -vet.Jeroen van Rijn2021-04-131-2/+0
|
* Add support to core:windows to add/delete users.Jeroen van Rijn2021-04-135-2/+943
| | | | | | | | | | | | | | | | | | | | | | | | | | | | main :: proc() { using fmt; using windows; username := "testuser"; password := "testpass"; ok := add_user("", username, password); fmt.printf("add_user: %v\n", ok); pi := windows.PROCESS_INFORMATION{}; ok2, path := windows.add_user_profile(username); fmt.printf("add_user_profile: %v, %v\n", ok2, path); ok3 := windows.delete_user_profile(username); fmt.printf("delete_user_profile: %v\n", ok3); ok4 := windows.delete_user("", username); fmt.printf("delete_user: %v\n", ok4); // Has optional bool to not wait on the process before returning. b := run_as_user(username, password, "C:\\Repro\\repro.exe", "Hellope!", &pi); fmt.printf("run_as_user: %v %v\n", b, pi); }
* Minor fixesgingerBill2021-03-181-0/+1
|
* Minimize unneeded castsgingerBill2021-03-032-6/+6
|
* Replace usage of `inline proc` with `#force_inline proc` in the core librarygingerBill2021-02-232-3/+3
|
* Remove `bit_field` type from Odin (keyword and dead runtime code still exists)gingerBill2021-02-191-2/+3
|
* Add kernel32 memory apigingerBill2021-02-112-0/+446
|
* Correct sys/win32 to match sys/windowsgingerBill2021-02-042-2/+47
|
* Add experimental `-insert-semicolon` functionality to tokenizer and parsergingerBill2020-11-012-10/+9
|
* Fixed package namezhibog2020-10-241-1/+1
|
* Fixed getting windows version. The former function is no longer working on ↵zhibog2020-10-242-12/+21
| | | | Windows 10. Also fixed the struct to use correct win32 names
* Improve default temp allocator; Fix filepath.abs behaviour on WindowsgingerBill2020-10-132-24/+37
|
* Add `os.stat`, `os.lstat`, `os.fstat`, `filepath.walk`gingerBill2020-09-281-0/+7
|
* Update packages os, path, and filepathgingerBill2020-09-261-0/+4
|
* Add `package path/filepath`; Add `os.stat` for windows (TODO: unix)gingerBill2020-09-252-0/+13
|
* Remove usage of `do` in core librarygingerBill2020-09-231-1/+3
|
* [REFLECTION BREAKING] Modify the internals of the `map` type to increase ↵gingerBill2020-09-071-0/+2
| | | | performance
* Add sys/windows/synchronization.odingingerBill2020-08-021-0/+10
|
* Update package syncgingerBill2020-08-021-0/+1
|
* Fix new `package path`gingerBill2020-07-101-0/+7
|
* Update sys/windows; Add sync.Blocking_Mutex (windows only at the moment)gingerBill2020-06-272-2/+5
|
* Add more exception handling stuff to sys/windowsgingerBill2020-06-262-3/+19
|
* Update sys/windowsgingerBill2020-06-262-5/+4
|
* Begin migration from sys/win32 to sys/windowsgingerBill2020-06-268-0/+1172