gingerBill
|
7642e0a0e0
|
Require @(init) and @(fini) to be proc "contextless" ()
|
2025-08-08 12:10:01 +01:00 |
|
gingerBill
|
bb4bc316a4
|
for in string16; Support string16 across core
|
2025-08-02 12:20:35 +01:00 |
|
Jeroen van Rijn
|
e89abd006f
|
Fix #5452
|
2025-07-11 15:29:27 +02:00 |
|
Jeroen van Rijn
|
eef07431ef
|
Factor out buffered utf helper.
|
2025-06-16 20:12:27 +02:00 |
|
Jeroen van Rijn
|
4b36306674
|
Deprecate old @(deprecated) things.
|
2025-06-06 10:42:34 +02: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 |
|
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
|
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 |
|
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 |
|
Thomas la Cour
|
465ac74020
|
more windows stuff
|
2024-06-11 18:19:16 +02:00 |
|
gingerBill
|
3e7e779abf
|
Replace core:* to base:* where appropriate
|
2024-01-28 22:18:51 +00:00 |
|
Elusive Porpoise
|
2795f09fa8
|
Add GetStartupInfoW. Rename StartupInfo to StartupInfoW.
|
2023-04-03 22:27:47 -07:00 |
|
Colin Davidson
|
28f7f57247
|
manually start merging core_net
|
2023-03-01 07:58:30 -08:00 |
|
gingerBill
|
80ce1b7d85
|
Allow for N = -1 in wstring_to_utf8
|
2022-10-18 10:28:17 +01:00 |
|
Ian Lilley
|
87094ef96c
|
smaller allocation for no
n-null-terminated wstring
|
2022-08-15 09:17:10 -04:00 |
|
gingerBill
|
e1748a5dd1
|
Add MAKE_WORD
|
2022-07-21 17:08:11 +01:00 |
|
gingerBill
|
fb49841b1d
|
Remove strings dependency from core:sys/windows
|
2022-06-02 13:02:16 +01:00 |
|
gingerBill
|
0c45a46aab
|
Remove A calls in favour of W calls
|
2022-05-12 14:21:25 +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 |
|
hikari
|
c4a7739d13
|
sys/windows: add a couple macros
|
2022-04-07 19:28:24 +03:00 |
|
hikari
|
b21cf05d44
|
sys/windows: move L into util.odin
|
2022-04-01 02:25:10 +03:00 |
|
Jeroen van Rijn
|
df32b5b46c
|
[windows] Fix leak in glob.
|
2022-03-29 16:13:17 +02:00 |
|
gingerBill
|
251da264ed
|
Remove unneeded semicolons from the core library
|
2021-08-31 22:21:13 +01:00 |
|
Jeroen van Rijn
|
5dfff51a40
|
Allow core:sys/windows to build on Windows only
|
2021-07-15 12:13:57 +02:00 |
|
Jeroen van Rijn
|
aca5c7c1c6
|
Placate -vet.
|
2021-04-13 02:18:47 +02:00 |
|
Jeroen van Rijn
|
a1d871360c
|
Add support to core:windows to add/delete users.
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);
}
|
2021-04-13 02:09:44 +02:00 |
|
gingerBill
|
b727b6438b
|
Minimize unneeded casts
|
2021-03-03 14:31:17 +00:00 |
|
gingerBill
|
aa93305015
|
Replace usage of inline proc with #force_inline proc in the core library
|
2021-02-23 16:14:47 +00:00 |
|
gingerBill
|
fa33476438
|
Improve default temp allocator; Fix filepath.abs behaviour on Windows
|
2020-10-13 14:40:13 +01:00 |
|
gingerBill
|
fc4fdd588e
|
Remove usage of do in core library
|
2020-09-23 17:17:14 +01:00 |
|
gingerBill
|
6bd05ef5d7
|
Begin migration from sys/win32 to sys/windows
|
2020-06-26 19:11:34 +01:00 |
|