summaryrefslogtreecommitdiffhomepage
path: root/talpid-windows
AgeCommit message (Collapse)AuthorFilesLines
2025-10-07Add missing feature in talpid-windowsDavid Lönnhager1-0/+1
2025-10-03Bump windows-sys version to latestDavid Lönnhager5-69/+91
This also refactors and documents some code
2025-09-04Add missing feature for talpid-windowsDavid Lönnhager1-0/+1
2025-09-03Move get_system_dir to talpid-windowsDavid Lönnhager2-0/+21
2025-09-03Move multibyte_to_wide to talpid-windowsDavid Lönnhager2-0/+77
2025-07-10Run `cargo fmt`Sebastian Holmin4-14/+14
2025-03-24Add test for is_admin_ownedDavid Lönnhager2-0/+38
2025-03-24Add function for checking if file is owned by admin or system accountDavid Lönnhager3-0/+51
2025-02-25Remove unnecessary impl SyncJoakim Hulthe1-2/+0
2025-02-25Fix improper pointer provenanceJoakim Hulthe1-3/+1
`&mut buffer[0] as *mut u8` will create a raw pointer that is only allowed to access the very first byte of `buffer`. `slice::as_mut_ptr` is preferred.
2025-02-25Allow undocumented_unsafe_blocks in some modulesJoakim Hulthe3-0/+6
2025-02-25Add some safety comments in talpid_windows::netJoakim Hulthe1-0/+2
2025-02-25Add safety comments in talpid_windows::ioJoakim Hulthe1-0/+6
2025-02-12Format workspaceSebastian Holmin1-7/+7
The 2024 edition contains new formatting rules. All of these are not compatible with the 2021 formatting style, but most of them are. To change the formatting to be as close to the new style as possible while remaining compatible with the 2021 edition, I first ran `cargo +beta fmt` with the edition set to 2024, then, with the edition set to 2021, I ran `cargo fmt`.
2025-02-12Fix `unsafe_op_in_unsafe_fn` warningSebastian Holmin1-12/+14
2025-01-24Complete leak checker and implement in daemonJoakim Hulthe1-1/+1
2024-09-25Add `futures` to workspace dependenciesSebastian Holmin1-1/+1
2024-04-16Add Event::duplicateDavid Lönnhager1-2/+22
2024-04-16Add missing `windows_sys` featureMarkus Pettersson1-0/+1
Fix `talpid-openvpn` refusing to compile for Windows due to a missing feature: `Win32_System_Com`. Fix `talpid-windows` refusing to compile for Windows due to a missing feature: `Win32_Security`.
2024-04-03Enable single-use-lifetimes rustc lintLinus Färnstrand1-1/+1
Removes superfluous lifetime definitions. Simplifying the code
2024-02-27Replace err_derive with thiserrorJoakim Hulthe2-20/+19
`err_derive` is unmaintained and will probably stop working with rust edition 2024. `thiserror` is almost a drop-in replacement. This commit simply replaces all occurences of `derive(err_derive::Error)` with `derive(thiserror::Error)` and fixes the attributes, but the Error and Display impls should be identical.
2024-02-13Fix MTU detection below min IPv6 value for windowsSebastian Holmin1-17/+4
2024-02-09Add windows MTU detection implementation.Sebastian Holmin1-0/+22
2024-01-16Add rust-version to all Cargo.tomlLinus Färnstrand1-0/+1
2024-01-09Remove version and publish cargo metadataLinus Färnstrand1-2/+0
Since Rust 1.75.0 the `version` field is optional. The version defaults to "0.0.0" if it's not specified, and `publish` defaults to false if no version has been given. So by not specifying a version we get both `version = "0.0.0" and `publish = false` "for free"
2024-01-05Run `cargo +nightly fmt`Sebastian Holmin1-1/+1
2024-01-04Add workspace level lintsLinus Färnstrand2-1/+3
2023-10-21Remove references to talpid-windows-net in e2e testsDavid Lönnhager1-1/+1
2023-10-20Add process module to talpid-windowsDavid Lönnhager3-22/+162
2023-10-20Move talpid-windows-net into talpid-windowsDavid Lönnhager3-5/+505
2023-10-20Move Event and Overlapped to talpid-windows crateDavid Lönnhager4-0/+157