Commit Graph

18 Commits

Author SHA1 Message Date
Kovid Goyal
3803d7e3c2 Use maps package for generic keys/values functions 2023-03-14 22:49:40 +05:30
Kovid Goyal
7ce83e7fd0 Use the generic contains/index from slices instead of our custom one 2023-03-14 22:40:20 +05:30
Kovid Goyal
a2887bb9e0 get rid of utils.Cut since we can now rely on strings.Cut instead 2023-03-04 13:37:55 +05:30
Kovid Goyal
41fb3c79c5 DRYer 2023-01-24 18:26:01 +05:30
Kovid Goyal
1f00c27097 Also create an automatic text/plain alias when reading from clipboard 2023-01-22 22:04:53 +05:30
Kovid Goyal
0ab618c2dc Fix #5767 2022-12-13 10:20:02 +05:30
Kovid Goyal
94410f2866 Handle EBUSY as well 2022-12-06 12:20:20 +05:30
Kovid Goyal
f35ee1bb40 Fix using primary selection with the extended protocol 2022-12-06 11:15:52 +05:30
Kovid Goyal
b644a42a48 Allow using wildcard mime types when copying from clipboard 2022-12-03 14:06:16 +05:30
Kovid Goyal
6422b323c6 Implement MIME aliases for clipboard 2022-12-03 12:20:03 +05:30
Kovid Goyal
a622a149f6 Allow arbitrary bytes in the mime metadata key 2022-12-03 09:21:36 +05:30
Kovid Goyal
26e8a5186a Avoid extra roundtrip when only reading clipboard mime types 2022-12-03 08:06:48 +05:30
Kovid Goyal
bde737fa38 Finish implementation of clipboard writing 2022-12-03 08:02:27 +05:30
Kovid Goyal
fe75493c37 Better error messages 2022-12-01 18:17:53 +05:30
Kovid Goyal
e187265d04 Dont truncate the output file just to get tis permission bits 2022-12-01 14:13:28 +05:30
Kovid Goyal
0a985134e2 Ensure permissions are correct when using atomic writes 2022-12-01 14:04:52 +05:30
Kovid Goyal
e555d963b1 DRYer 2022-12-01 13:58:06 +05:30
Kovid Goyal
f29ce19097 Reading arbitrary MIME from clipboard now works 2022-12-01 13:35:44 +05:30