Commit Graph

47 Commits

Author SHA1 Message Date
SuperAuguste
fa6271bad6 shell32 and ole32 removed from std 2023-11-24 13:07:39 -05:00
Techatrix
855473062e correct unnecessary uses of 'var' 2023-11-16 23:47:20 +01:00
Techatrix
a564f58212 use getEnvVarOwned instead of getenv to support wasi 2023-09-20 10:19:47 +02:00
antlilja
fa75e1bc67 Update with changes to getenv in zig master
getenv now returns a zero terminated slice
2023-07-18 16:05:57 +02:00
antlilja
d070896807 Remove desitination type param from cast builtins 2023-06-26 21:52:26 +02:00
Techatrix
6b37490ac7 fix compile error when targeting wasm 2023-01-06 09:25:16 +01:00
Felix "xq" Queißner
24845b0103 Update to 0.10.0-dev.3394+1a1b7a3af 2022-08-02 09:25:44 +02:00
Techatrix
e0e80f07a6 Disable xdg_force_default by default 2022-08-02 09:24:34 +02:00
Techatrix
8e89159e02 Add option 'xdg_force_default' 2022-08-02 09:24:34 +02:00
Techatrix
c0d5f1de14 fix invalid free 2022-08-02 09:24:27 +02:00
Techatrix
ebf365686d Correctly handle XDG_CONFIG_DIRS
Fixes #28
2022-08-02 09:24:27 +02:00
Matthew Murray
9db1b99219 c_void -> anyopaque
ziglang/zig@9f9f215305
2021-12-21 14:13:33 +01:00
Loris Cro
26d434ec2b missing allocgate fix 2021-12-16 19:17:39 +01:00
Auguste Rame
0c6c4849dd spanZ -> span 2021-12-06 09:05:40 +01:00
MineBill
264f36e25d Update code to match the latest allocator interface 2021-12-06 09:05:40 +01:00
Loris Cro
f299244d78 allocate recursive calls to getPathXdg when in async mode 2021-10-25 08:26:06 +02:00
Lee Cannon
a282c26da5 Update to use @import("builtin") where required 2021-10-11 10:12:26 +02:00
Vincent Rischmann
234b589d3c fix calls to mem.split 2021-08-14 00:52:52 +02:00
Felix (xq) Queißner
f5e5fb8370 Update to latest master. 2021-06-25 23:22:12 +02:00
Lee Cannon
3385a8b231 Update to zig master
Redundant comptime is now a compile error.
2021-06-24 13:26:09 +02:00
Jonathan Hähne
e1794360c0 Add global_config folder 2021-03-31 12:37:35 +02:00
Flaminator
f98d0057f8 Update roaming_configuration on Windows
This change resolves ziglibs/known-folders#13
Change roaming_configuration on Windows to use the FOLDERID_RoamingAppData GUID instead of using the %appdata% environment variable.
FOLDERID_RoamingAppData is defined in https://docs.microsoft.com/en-us/windows/win32/shell/knownfolderid
2021-03-08 19:48:15 +01:00
nycex
7c8e1d99a6
fix debug print 2021-01-15 09:07:35 +01:00
joachimschmidt557
e1193f9ef5 macosx was renamed to macos 2020-10-14 14:44:27 +02:00
joachimschmidt557
55e93a5adb std.mem.dupe deprecated
Move to Allocator.dupe
2020-07-02 20:00:22 +02:00
nycex
ba32aa21e1
don't create an arena allocator on top of an arena allocator 2020-05-29 16:03:08 +02:00
nycex
467daacf0a
improve readability of xdg user dir parsing 2020-05-29 15:58:01 +02:00
nycex
f87020885d
disable xdg mac override by default 2020-05-29 15:48:23 +02:00
nycex
03584004aa
add xdg override for mac 2020-05-29 15:29:06 +02:00
Felix (xq) Queißner
0108949981 Adds .executable_dir to list of known folders. 2020-05-23 02:50:39 +02:00
Felix (xq) Queißner
42a32b0241 Drops templates folder, adds MacOS X support. 2020-05-19 18:41:52 +02:00
nycex
d26af63d01
update api in readme to current api 2020-05-19 16:34:25 +02:00
nycex
e8e85a58df
improve user-dirs.dirs parsing 2020-05-19 15:27:53 +02:00
nycex
db8f209e4d
fix wrongly placed break 2020-05-19 15:11:03 +02:00
nycex
238d2658ef
don't error when there is no user-dirs.dirs 2020-05-19 14:59:25 +02:00
nycex
d224a7a8ea
remove xdg specific test 2020-05-19 14:46:57 +02:00
nycex
974aee4df6
implement xdg getPath 2020-05-19 14:11:32 +02:00
nycex
5a7d567581
replace all occurances of special folder to known folder 2020-05-19 12:09:04 +02:00
nycex
0fd3bb1f27
remove system_folder folder 2020-05-19 12:03:54 +02:00
nycex
5469f89840
remove env variable for xdg system_folder 2020-05-19 11:57:17 +02:00
nycex
7c50ba7006
first approach of the xdg folder spec data 2020-05-19 02:00:48 +02:00
Felix (xq) Queißner
10875d4ddb Implements a bunch of windows supports, fixes bugs, makes open generic. 2020-05-19 01:28:41 +02:00
Felix (xq) Queißner
6ffc2806c8 Adds stubs for better git working. 2020-05-19 00:56:16 +02:00
Felix (xq) Queißner
2e1ab59bbe Merge branch 'master' of https://github.com/ziglibs/known-folders 2020-05-19 00:51:25 +02:00
Felix (xq) Queißner
48bfc2d746 Starts to implement windows GUID part. 2020-05-19 00:50:28 +02:00
nycex
fabcc0a7c8
format with zig fmt 2020-05-19 00:12:11 +02:00
Felix Queißner
8235ae65d0
Create known-folders.zig 2020-05-18 23:57:31 +02:00