Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Changelog

Notable changes to this project will be documented in this file.

## 0.4.0

### Fixed

- Terminated Linux `dconf` and `gsettings` proxy watchers when their owning
process exits without running Rust destructors.
- Prevented Linux proxy watchers from inheriting unrelated file descriptors,
including Chromium shared-memory resources.

### Documentation

- Directed support requests to the `microsoft/vscode` issue tracker.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ log = "0.4"
tokio = { version = "1", optional = true, default-features = false, features = ["sync"] }
# Public Suffix List used to stop the WPAD suffix walk at the registrable domain.
psl = "2"

# Runtime for the sandboxed PAC backend, in AOT mode only: `runtime` + `std`
# but deliberately NO `cranelift` (or `winch`/`pulley`), so this build cannot
# compile wasm at all — it can only `Module::deserialize` the artifact that
Expand Down Expand Up @@ -116,6 +117,9 @@ windows-sys = { version = "0.60", features = [
# non-Windows dependency above.
rquickjs-sys = { version = "0.12.1", optional = true }

[target.'cfg(target_os = "linux")'.dependencies]
libc = "0.2"

[dev-dependencies]
tokio = { version = "1", features = ["sync", "rt", "macros", "time"] }

Expand Down
12 changes: 7 additions & 5 deletions SUPPORT.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

## How to file issues and get help

This project uses GitHub Issues to track bugs and feature requests. Please
search the [existing issues](https://github.com/microsoft/os-proxy-resolver/issues)
before filing new issues to avoid duplicates. For new issues, file your bug or
feature request as a new Issue.
This repository does not have GitHub Issues enabled. Please search the
[existing Visual Studio Code issues](https://github.com/microsoft/vscode/issues)
before filing bugs or feature requests to avoid duplicates. File new reports in
the [microsoft/vscode repository](https://github.com/microsoft/vscode/issues/new/choose)
and mention `os-proxy-resolver` in the report.

For help and questions about using this project, please file a GitHub Issue.
For help and questions about using this project, please file an issue in the
`microsoft/vscode` repository.

## Microsoft Support Policy

Expand Down
1,114 changes: 978 additions & 136 deletions ThirdPartyNotices.txt

Large diffs are not rendered by default.

848 changes: 845 additions & 3 deletions npm/ThirdPartyNotices.txt

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions npm/native/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion npm/platforms/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vscode/os-proxy-resolver-darwin-arm64",
"version": "0.3.0",
"version": "0.4.0",
"description": "Native binding for @vscode/os-proxy-resolver on macOS arm64",
"main": "os_proxy_resolver.node",
"files": ["os_proxy_resolver.node", "LICENSE.txt", "ThirdPartyNotices.txt"],
Expand Down
2 changes: 1 addition & 1 deletion npm/platforms/darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vscode/os-proxy-resolver-darwin-x64",
"version": "0.3.0",
"version": "0.4.0",
"description": "Native binding for @vscode/os-proxy-resolver on macOS x64",
"main": "os_proxy_resolver.node",
"files": ["os_proxy_resolver.node", "LICENSE.txt", "ThirdPartyNotices.txt"],
Expand Down
2 changes: 1 addition & 1 deletion npm/platforms/linux-arm-gnueabihf/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vscode/os-proxy-resolver-linux-arm-gnueabihf",
"version": "0.3.0",
"version": "0.4.0",
"description": "Native binding for @vscode/os-proxy-resolver on Linux armhf",
"main": "os_proxy_resolver.node",
"files": ["os_proxy_resolver.node", "LICENSE.txt", "ThirdPartyNotices.txt"],
Expand Down
2 changes: 1 addition & 1 deletion npm/platforms/linux-arm64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vscode/os-proxy-resolver-linux-arm64-gnu",
"version": "0.3.0",
"version": "0.4.0",
"description": "Native binding for @vscode/os-proxy-resolver on Linux arm64",
"main": "os_proxy_resolver.node",
"files": ["os_proxy_resolver.node", "LICENSE.txt", "ThirdPartyNotices.txt"],
Expand Down
2 changes: 1 addition & 1 deletion npm/platforms/linux-arm64-musl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vscode/os-proxy-resolver-linux-arm64-musl",
"version": "0.3.0",
"version": "0.4.0",
"description": "Native binding for @vscode/os-proxy-resolver on Linux arm64 (musl)",
"main": "os_proxy_resolver.node",
"files": ["os_proxy_resolver.node", "LICENSE.txt", "ThirdPartyNotices.txt"],
Expand Down
2 changes: 1 addition & 1 deletion npm/platforms/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vscode/os-proxy-resolver-linux-x64-gnu",
"version": "0.3.0",
"version": "0.4.0",
"description": "Native binding for @vscode/os-proxy-resolver on Linux x64",
"main": "os_proxy_resolver.node",
"files": ["os_proxy_resolver.node", "LICENSE.txt", "ThirdPartyNotices.txt"],
Expand Down
2 changes: 1 addition & 1 deletion npm/platforms/linux-x64-musl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vscode/os-proxy-resolver-linux-x64-musl",
"version": "0.3.0",
"version": "0.4.0",
"description": "Native binding for @vscode/os-proxy-resolver on Linux x64 (musl)",
"main": "os_proxy_resolver.node",
"files": ["os_proxy_resolver.node", "LICENSE.txt", "ThirdPartyNotices.txt"],
Expand Down
2 changes: 1 addition & 1 deletion npm/platforms/win32-arm64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vscode/os-proxy-resolver-win32-arm64-msvc",
"version": "0.3.0",
"version": "0.4.0",
"description": "Native binding for @vscode/os-proxy-resolver on Windows arm64",
"main": "os_proxy_resolver.node",
"files": ["os_proxy_resolver.node", "LICENSE.txt", "ThirdPartyNotices.txt"],
Expand Down
2 changes: 1 addition & 1 deletion npm/platforms/win32-x64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vscode/os-proxy-resolver-win32-x64-msvc",
"version": "0.3.0",
"version": "0.4.0",
"description": "Native binding for @vscode/os-proxy-resolver on Windows x64",
"main": "os_proxy_resolver.node",
"files": ["os_proxy_resolver.node", "LICENSE.txt", "ThirdPartyNotices.txt"],
Expand Down
21 changes: 11 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "@vscode/os-proxy-resolver",
"version": "0.3.0",
"version": "0.4.0",
"description": "Resolve the operating system proxy configuration from Node.js",
"main": "index.js",
"types": "index.d.ts",
"files": [
"index.js",
"index.d.ts",
"platform.js",
"CHANGELOG.md",
"LICENSE.txt",
"ThirdPartyNotices.txt"
],
Expand All @@ -30,14 +31,14 @@
"verify:packages": "node npm/scripts/verify-packages.js"
},
"optionalDependencies": {
"@vscode/os-proxy-resolver-darwin-arm64": "0.3.0",
"@vscode/os-proxy-resolver-darwin-x64": "0.3.0",
"@vscode/os-proxy-resolver-linux-arm-gnueabihf": "0.3.0",
"@vscode/os-proxy-resolver-linux-arm64-gnu": "0.3.0",
"@vscode/os-proxy-resolver-linux-arm64-musl": "0.3.0",
"@vscode/os-proxy-resolver-linux-x64-gnu": "0.3.0",
"@vscode/os-proxy-resolver-linux-x64-musl": "0.3.0",
"@vscode/os-proxy-resolver-win32-arm64-msvc": "0.3.0",
"@vscode/os-proxy-resolver-win32-x64-msvc": "0.3.0"
"@vscode/os-proxy-resolver-darwin-arm64": "0.4.0",
"@vscode/os-proxy-resolver-darwin-x64": "0.4.0",
"@vscode/os-proxy-resolver-linux-arm-gnueabihf": "0.4.0",
"@vscode/os-proxy-resolver-linux-arm64-gnu": "0.4.0",
"@vscode/os-proxy-resolver-linux-arm64-musl": "0.4.0",
"@vscode/os-proxy-resolver-linux-x64-gnu": "0.4.0",
"@vscode/os-proxy-resolver-linux-x64-musl": "0.4.0",
"@vscode/os-proxy-resolver-win32-arm64-msvc": "0.4.0",
"@vscode/os-proxy-resolver-win32-x64-msvc": "0.4.0"
}
}
Loading
Loading