Ely Alon
17746db555
Fix user dirs, add docs
2025-06-07 01:22:30 +03:00
Jeroen van Rijn
2428fa37a9
tabs
2025-06-05 21:38:59 +02:00
Ely Alon
a9cdb4f446
add more user dirs
2025-06-05 21:50:59 +03:00
Jeroen van Rijn
a1759aa2fa
Fix
2025-06-05 16:54:39 +02:00
Jeroen van Rijn
93e1c6593e
Change os2.user_* on Windows to use SHGetKnownFolderPath.
...
Known folders can be redirected using `SHSetKnownFolderPath`, and it's a bit iffy to rely on environment variables.
This also more easily allows us to add `user_*_dir` procedures for the remaining 139 GUIDs in `known_folders.odin`, provided they have equivalents on other platforms.
2025-06-05 16:37:41 +02:00
Jeroen van Rijn
da3b3a4139
Allocate return value on provided allocator
2025-06-05 15:16:35 +02:00
Lucas Perlind
9f2d008a8a
Remove TEMP_ALLOCATOR_GUARD wrapper
2025-05-08 17:41:03 +10:00
Lucas Perlind
b9db1dd3e0
os2: Resolve temp allocator collisions
2025-05-08 17:41:01 +10:00
Feoramund
7d1fcfa09b
Fix wrong path in os2.user_config_dir
2025-03-02 17:22:40 -05:00
gingerBill
6ba1506aa9
Fix possible leaks in os2.user_* calls
2024-08-31 15:12:47 +01:00
Laytan Laats
ff0ca0bd53
os2: make config directory on darwin also ~/.config, it is the proper place
2024-08-14 01:44:37 +02:00
gingerBill
453fc5182b
Remove all uses of context stuff in os2
2024-05-14 18:34:05 +01:00
gingerBill
450b9ceaec
Add @(require_results) everywhere in os2
2024-05-14 18:25:15 +01:00
gingerBill
3e7e779abf
Replace core:* to base:* where appropriate
2024-01-28 22:18:51 +00:00
jason
3fe0680ad5
update os2 for recent core changes
2023-05-04 10:00:06 -04:00
Ian Lilley
dbec4b0d0e
fixed memory leak from calling get_env
2022-08-03 11:49:42 -04:00
gingerBill
bb4f108487
Update error handling for os2 on windows
2022-05-12 12:54:27 +01:00
gingerBill
3d7d347192
Convert ODIN_OS and ODIN_ARCH to use enums rather than use strings
2022-01-20 19:56:05 +00:00
gingerBill
ee876ad66b
Strip semicolons
2021-09-19 11:59:44 +01:00
gingerBill
ebbc33fdb5
Mockup of the new package os interface (incomplete and non-functioning)
2021-04-14 19:39:12 +01:00