dbxdebug 0.2.1__tar.gz → 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dbxdebug-0.3.0/.github/dependabot.yml +17 -0
- dbxdebug-0.3.0/.github/workflows/release.yml +74 -0
- dbxdebug-0.3.0/.github/workflows/test.yml +75 -0
- {dbxdebug-0.2.1 → dbxdebug-0.3.0}/.pre-commit-config.yaml +0 -7
- dbxdebug-0.3.0/.release-please-manifest.json +3 -0
- dbxdebug-0.3.0/CHANGELOG.md +45 -0
- dbxdebug-0.3.0/LICENSE +151 -0
- dbxdebug-0.3.0/PKG-INFO +443 -0
- dbxdebug-0.3.0/README.md +421 -0
- dbxdebug-0.3.0/docs/migration.md +507 -0
- dbxdebug-0.3.0/plugin.json +11 -0
- {dbxdebug-0.2.1 → dbxdebug-0.3.0}/pyproject.toml +11 -12
- dbxdebug-0.3.0/release-please-config.json +13 -0
- dbxdebug-0.3.0/skills/debug-dos-programs/SKILL.md +337 -0
- dbxdebug-0.3.0/skills/debug-dos-programs/references/recipes.md +377 -0
- dbxdebug-0.3.0/skills/debug-dos-programs/references/troubleshooting.md +357 -0
- dbxdebug-0.3.0/skills/dosbox-x-debug-protocol/SKILL.md +324 -0
- dbxdebug-0.3.0/skills/dosbox-x-debug-protocol/references/history.md +334 -0
- dbxdebug-0.3.0/skills/dosbox-x-debug-protocol/references/packets.md +284 -0
- dbxdebug-0.3.0/skills/dosbox-x-debug-protocol/references/qmp-commands.md +302 -0
- dbxdebug-0.3.0/src/dbxdebug/addressing.py +143 -0
- {dbxdebug-0.2.1 → dbxdebug-0.3.0}/src/dbxdebug/cli.py +102 -4
- {dbxdebug-0.2.1 → dbxdebug-0.3.0}/src/dbxdebug/dbx_kbd.py +46 -18
- dbxdebug-0.3.0/src/dbxdebug/doctor.py +182 -0
- dbxdebug-0.3.0/src/dbxdebug/frames.py +282 -0
- dbxdebug-0.3.0/src/dbxdebug/gdb.py +439 -0
- {dbxdebug-0.2.1 → dbxdebug-0.3.0}/src/dbxdebug/html.py +2 -2
- dbxdebug-0.3.0/src/dbxdebug/paths.py +81 -0
- dbxdebug-0.3.0/src/dbxdebug/qmp.py +434 -0
- dbxdebug-0.3.0/src/dbxdebug/registry.py +515 -0
- dbxdebug-0.3.0/src/dbxdebug/session.py +930 -0
- {dbxdebug-0.2.1 → dbxdebug-0.3.0}/src/dbxdebug/utils.py +8 -4
- dbxdebug-0.3.0/tests/integration/__init__.py +1 -0
- dbxdebug-0.3.0/tests/integration/conftest.py +131 -0
- dbxdebug-0.3.0/tests/integration/test_live_session.py +538 -0
- dbxdebug-0.3.0/tests/test_addressing.py +70 -0
- {dbxdebug-0.2.1 → dbxdebug-0.3.0}/tests/test_basic.py +21 -3
- dbxdebug-0.3.0/tests/test_cli_session.py +218 -0
- dbxdebug-0.3.0/tests/test_frames.py +355 -0
- dbxdebug-0.3.0/tests/test_gdb_capabilities.py +137 -0
- dbxdebug-0.3.0/tests/test_gdb_registers.py +166 -0
- dbxdebug-0.3.0/tests/test_paths.py +142 -0
- dbxdebug-0.3.0/tests/test_qmp_commands.py +258 -0
- dbxdebug-0.3.0/tests/test_registry.py +202 -0
- dbxdebug-0.3.0/tests/test_session.py +299 -0
- {dbxdebug-0.2.1 → dbxdebug-0.3.0}/uv.lock +0 -346
- dbxdebug-0.2.1/.github/workflows/lint.yml +0 -29
- dbxdebug-0.2.1/.github/workflows/publish.yml +0 -65
- dbxdebug-0.2.1/.github/workflows/test.yml +0 -73
- dbxdebug-0.2.1/PKG-INFO +0 -164
- dbxdebug-0.2.1/README.md +0 -143
- dbxdebug-0.2.1/src/dbxdebug/gdb.py +0 -297
- dbxdebug-0.2.1/src/dbxdebug/qmp.py +0 -239
- {dbxdebug-0.2.1 → dbxdebug-0.3.0}/.gitignore +0 -0
- {dbxdebug-0.2.1 → dbxdebug-0.3.0}/src/dbxdebug/__init__.py +0 -0
- {dbxdebug-0.2.1 → dbxdebug-0.3.0}/src/dbxdebug/capture_io.py +0 -0
- {dbxdebug-0.2.1 → dbxdebug-0.3.0}/src/dbxdebug/keyboard.py +0 -0
- {dbxdebug-0.2.1 → dbxdebug-0.3.0}/src/dbxdebug/video.py +0 -0
- {dbxdebug-0.2.1 → dbxdebug-0.3.0}/tests/__init__.py +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
updates:
|
|
3
|
+
- package-ecosystem: github-actions
|
|
4
|
+
directory: /
|
|
5
|
+
schedule:
|
|
6
|
+
interval: weekly
|
|
7
|
+
groups:
|
|
8
|
+
github-actions:
|
|
9
|
+
patterns: ["*"]
|
|
10
|
+
|
|
11
|
+
- package-ecosystem: uv
|
|
12
|
+
directory: /
|
|
13
|
+
schedule:
|
|
14
|
+
interval: weekly
|
|
15
|
+
groups:
|
|
16
|
+
python:
|
|
17
|
+
patterns: ["*"]
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
name: Release
|
|
2
|
+
|
|
3
|
+
# release-please maintains a "Release vX.Y.Z" PR from the conventional-commit
|
|
4
|
+
# history. Merging that PR updates CHANGELOG.md and the manifest, then creates
|
|
5
|
+
# the vX.Y.Z tag and GitHub Release. hatch-vcs derives the package version from
|
|
6
|
+
# that tag at build time. Publishing must run in this same workflow run, because
|
|
7
|
+
# a tag/release created with GITHUB_TOKEN does not trigger a separate workflow.
|
|
8
|
+
|
|
9
|
+
on:
|
|
10
|
+
push:
|
|
11
|
+
branches: [main]
|
|
12
|
+
|
|
13
|
+
permissions: {}
|
|
14
|
+
|
|
15
|
+
concurrency:
|
|
16
|
+
group: release-${{ github.ref }}
|
|
17
|
+
cancel-in-progress: false
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
release-please:
|
|
21
|
+
runs-on: ubuntu-latest
|
|
22
|
+
permissions:
|
|
23
|
+
contents: write # create the release + tag
|
|
24
|
+
pull-requests: write # open/maintain the release PR
|
|
25
|
+
outputs:
|
|
26
|
+
release_created: ${{ steps.release.outputs.release_created }}
|
|
27
|
+
tag_name: ${{ steps.release.outputs.tag_name }}
|
|
28
|
+
steps:
|
|
29
|
+
- uses: googleapis/release-please-action@5c625bfb5d1ff62eadeeb3772007f7f66fdcf071 # v4.4.1
|
|
30
|
+
id: release
|
|
31
|
+
with:
|
|
32
|
+
config-file: release-please-config.json
|
|
33
|
+
manifest-file: .release-please-manifest.json
|
|
34
|
+
|
|
35
|
+
# Full CI (lint + format + pyright + test matrix + build) gates the publish.
|
|
36
|
+
# If anything here fails, the publish job below is skipped and nothing ships.
|
|
37
|
+
ci:
|
|
38
|
+
needs: release-please
|
|
39
|
+
if: ${{ needs.release-please.outputs.release_created == 'true' }}
|
|
40
|
+
permissions:
|
|
41
|
+
contents: read
|
|
42
|
+
uses: ./.github/workflows/test.yml
|
|
43
|
+
|
|
44
|
+
publish:
|
|
45
|
+
needs: [release-please, ci]
|
|
46
|
+
if: ${{ needs.release-please.outputs.release_created == 'true' }}
|
|
47
|
+
runs-on: ubuntu-latest
|
|
48
|
+
environment:
|
|
49
|
+
name: pypi
|
|
50
|
+
url: https://pypi.org/p/dbxdebug
|
|
51
|
+
permissions:
|
|
52
|
+
id-token: write # OIDC for PyPI Trusted Publishing
|
|
53
|
+
contents: write # upload built artifacts to the GitHub Release
|
|
54
|
+
steps:
|
|
55
|
+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
|
|
56
|
+
with:
|
|
57
|
+
ref: ${{ needs.release-please.outputs.tag_name }}
|
|
58
|
+
fetch-depth: 0 # Full history + tags for hatch-vcs version
|
|
59
|
+
|
|
60
|
+
- name: Install uv and set up Python
|
|
61
|
+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
|
|
62
|
+
with:
|
|
63
|
+
python-version: "3.11"
|
|
64
|
+
|
|
65
|
+
- name: Build
|
|
66
|
+
run: uv build
|
|
67
|
+
|
|
68
|
+
- name: Publish to PyPI
|
|
69
|
+
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # v1.14.0
|
|
70
|
+
|
|
71
|
+
- name: Attach artifacts to the GitHub Release
|
|
72
|
+
env:
|
|
73
|
+
GH_TOKEN: ${{ github.token }}
|
|
74
|
+
run: gh release upload "${{ needs.release-please.outputs.tag_name }}" dist/* --clobber
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
name: Test
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: ["**"] # All branches, not tags
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [main]
|
|
8
|
+
workflow_call: # invoked by release.yml to gate publishing
|
|
9
|
+
|
|
10
|
+
permissions:
|
|
11
|
+
contents: read
|
|
12
|
+
|
|
13
|
+
concurrency:
|
|
14
|
+
group: test-${{ github.workflow }}-${{ github.ref }}
|
|
15
|
+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
|
|
16
|
+
|
|
17
|
+
jobs:
|
|
18
|
+
lint:
|
|
19
|
+
runs-on: ubuntu-latest
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
|
|
22
|
+
|
|
23
|
+
- name: Install uv and set up Python
|
|
24
|
+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
|
|
25
|
+
with:
|
|
26
|
+
python-version: "3.11"
|
|
27
|
+
|
|
28
|
+
- name: Install dependencies
|
|
29
|
+
run: uv sync --locked --dev
|
|
30
|
+
|
|
31
|
+
- name: Ruff check
|
|
32
|
+
run: uv run ruff check src/ tests/
|
|
33
|
+
|
|
34
|
+
- name: Ruff format check
|
|
35
|
+
run: uv run ruff format --check src/ tests/
|
|
36
|
+
|
|
37
|
+
- name: Pyright
|
|
38
|
+
# No path argument on purpose: that makes pyright use [tool.pyright]
|
|
39
|
+
# `include` from pyproject.toml, so CI can never check fewer paths
|
|
40
|
+
# than the config claims to cover (it once skipped tests/ entirely).
|
|
41
|
+
run: uv run pyright
|
|
42
|
+
|
|
43
|
+
test:
|
|
44
|
+
needs: lint
|
|
45
|
+
runs-on: ubuntu-latest
|
|
46
|
+
strategy:
|
|
47
|
+
matrix:
|
|
48
|
+
python-version: ["3.11", "3.12"]
|
|
49
|
+
steps:
|
|
50
|
+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
|
|
51
|
+
|
|
52
|
+
- name: Install uv and set up Python ${{ matrix.python-version }}
|
|
53
|
+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
|
|
54
|
+
with:
|
|
55
|
+
python-version: ${{ matrix.python-version }}
|
|
56
|
+
|
|
57
|
+
- name: Install dependencies
|
|
58
|
+
run: uv sync --locked --dev
|
|
59
|
+
|
|
60
|
+
- name: Run tests
|
|
61
|
+
run: uv run pytest tests -v
|
|
62
|
+
|
|
63
|
+
build:
|
|
64
|
+
needs: test
|
|
65
|
+
runs-on: ubuntu-latest
|
|
66
|
+
steps:
|
|
67
|
+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
|
|
68
|
+
with:
|
|
69
|
+
fetch-depth: 0 # Full history for hatch-vcs
|
|
70
|
+
|
|
71
|
+
- name: Install uv
|
|
72
|
+
uses: astral-sh/setup-uv@d0cc045d04ccac9d8b7881df0226f9e82c39688e # v6.8.0
|
|
73
|
+
|
|
74
|
+
- name: Build (packaging smoke test)
|
|
75
|
+
run: uv build
|
|
@@ -62,13 +62,6 @@ repos:
|
|
|
62
62
|
# - --allow-init-docstring=True
|
|
63
63
|
# exclude: ^(tests/|src/dbxdebug/cli\.py)
|
|
64
64
|
|
|
65
|
-
# Commitizen for commit message linting (Conventional Commits)
|
|
66
|
-
- repo: https://github.com/commitizen-tools/commitizen
|
|
67
|
-
rev: v3.29.1
|
|
68
|
-
hooks:
|
|
69
|
-
- id: commitizen
|
|
70
|
-
stages: [commit-msg]
|
|
71
|
-
|
|
72
65
|
# Actionlint for GitHub Actions workflow linting
|
|
73
66
|
- repo: https://github.com/rhysd/actionlint
|
|
74
67
|
rev: v1.7.4
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [0.3.0](https://github.com/lokkju/dbxdebug/compare/v0.2.1...v0.3.0) (2026-09-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### ⚠ BREAKING CHANGES
|
|
7
|
+
|
|
8
|
+
* **session:** set_breakpoint(seg, off) now computes a LINEAR address via addressing.linear(seg, off) instead of packing seg:off as a far pointer. Current DOSBox-X builds decode Z0/z0 as linear (this package's GDBClient requires dosbox-x-linear-bp+ at connect), so the old packed form would silently misplace the breakpoint while gdbserver still answered OK.
|
|
9
|
+
* **gdb:** read_registers()["eip"] is now documented as an offset within CS, not a linear address, matching the fixed GDB stub semantics (register 8 is EIP-within-CS in both g and G directions on stubs that advertise dosbox-x-eip-offset+). Code that combined the old eip value directly as a linear address is silently wrong against a fixed stub; call linear_pc() to get the linear program counter instead.
|
|
10
|
+
* **utils:** parse_x86_address (and anything that calls it, including the `dbxdebug mem`/`cpu` CLI commands) now interprets a bare digit string with no "0x" prefix as hexadecimal instead of decimal. Callers that were relying on decimal parsing of unprefixed strings (e.g. passing "1000" and expecting 1000 rather than 4096) must add an explicit base-10 conversion before calling, or use a "0x"-prefixed or already-hex string.
|
|
11
|
+
* **gdb:** GDBClient now refuses to connect to a stub that does not advertise dosbox-x-linear-bp+. Such builds split the Z0 argument as a packed far pointer, so any breakpoint above 64 KB answers OK and never fires -- silently. Pass require_capabilities=False to proceed against an old build deliberately.
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **addressing:** add the linear addressing module ([e73ce82](https://github.com/lokkju/dbxdebug/commit/e73ce82479a8b1883305fb4db2d33b4f0d960e7c))
|
|
16
|
+
* **cli:** add session list, session reap and doctor ([8179f94](https://github.com/lokkju/dbxdebug/commit/8179f94e11aa07a536ab027dec7dbc3dd425f16c))
|
|
17
|
+
* **frames:** add real-mode stack frame walking ([02c2990](https://github.com/lokkju/dbxdebug/commit/02c29909e1a492e1392d0ddecec994da8e71ea83))
|
|
18
|
+
* **gdb:** add register list, linear PC, and register write to GDBClient ([fc5729e](https://github.com/lokkju/dbxdebug/commit/fc5729e6e0561310c49d1ac94a84368bb051deed))
|
|
19
|
+
* **gdb:** require dosbox-x-linear-bp+ at connect ([b8cc28f](https://github.com/lokkju/dbxdebug/commit/b8cc28fb31d444a961d8850987eef2bbe0bc6d34))
|
|
20
|
+
* **qmp:** wrap memdump, screendump, savestate, loadstate, system_reset and quit ([c7a97c6](https://github.com/lokkju/dbxdebug/commit/c7a97c67561f2b732cff7d62b57f994fe8d922c8))
|
|
21
|
+
* **registry:** add the session registry with list and reap ([2af648d](https://github.com/lokkju/dbxdebug/commit/2af648db88c446f1563ed83ab297b22b929f278d))
|
|
22
|
+
* **session:** port the DosboxSession lifecycle from a downstream consumer ([70f26d9](https://github.com/lokkju/dbxdebug/commit/70f26d948cc49f57463c9d91657a7c0f896d0372))
|
|
23
|
+
* **skills:** ship the two Agent Skills from this repo ([ff01e0d](https://github.com/lokkju/dbxdebug/commit/ff01e0daad568a9de0e031b5f5ed87d56fe1638b))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
* add shifted punctuation mappings to char_to_qcode ([6a19fb4](https://github.com/lokkju/dbxdebug/commit/6a19fb47a0de76841815664eeee78b3537502f86))
|
|
29
|
+
* **addressing:** validate seg:off components and clarify parse errors ([c5d67a5](https://github.com/lokkju/dbxdebug/commit/c5d67a5792392dd373860f8cf880863d20b8d2e0))
|
|
30
|
+
* **cli:** report the real package version instead of a hardcoded 0.1.0 ([8100d53](https://github.com/lokkju/dbxdebug/commit/8100d53cf9c228d31d0ed3997561680c4aa18f04))
|
|
31
|
+
* **frames:** correct steps_out threshold and close review gaps ([880a965](https://github.com/lokkju/dbxdebug/commit/880a965c6855a22ae6de2edbc78091a8be05e028))
|
|
32
|
+
* **paths:** unify dosbox-x binary resolution between session and doctor ([0bda742](https://github.com/lokkju/dbxdebug/commit/0bda742a35e8f56f74367268612b7fd45e3c528d))
|
|
33
|
+
* satisfy ruff C420 and formatting gates ([d464033](https://github.com/lokkju/dbxdebug/commit/d46403357cce148df2d424ac1df54c24fcd296c3))
|
|
34
|
+
* **session:** close start()/stop() review gaps from Task 8 round 1 ([6032fcb](https://github.com/lokkju/dbxdebug/commit/6032fcb7f1414149adc8f5363c433bded29f7e86))
|
|
35
|
+
* **session:** restore process-group sweep lost by round-1's kill_group pid= ([c3cd6ff](https://github.com/lokkju/dbxdebug/commit/c3cd6ff5faed880ac9d9ef94ec3db2852ce3ab73))
|
|
36
|
+
* **tests:** re-scope the desync guard and close integration review gaps ([0832b6d](https://github.com/lokkju/dbxdebug/commit/0832b6d3a6026c89d03c9574b43b5c727b019b88))
|
|
37
|
+
* **utils:** parse bare address digits as hex, not decimal ([b0ba5be](https://github.com/lokkju/dbxdebug/commit/b0ba5bedb5b109f4279ba2e4119ee3a4268d0fda))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Documentation
|
|
41
|
+
|
|
42
|
+
* add CI, PyPI, and license badges to README ([cb3d2fd](https://github.com/lokkju/dbxdebug/commit/cb3d2fda3cd81c736f20dba706ef90e8e6f3e4b4))
|
|
43
|
+
* document the migration path onto dbxdebug ([e868090](https://github.com/lokkju/dbxdebug/commit/e8680907b976fd8ddb3ce7c5cdf5db0301fc6d54))
|
|
44
|
+
* **frames:** neutralise downstream references and drop a false claim ([cbbec5a](https://github.com/lokkju/dbxdebug/commit/cbbec5ad2b446ea50902872ad3d76a4034e604ad))
|
|
45
|
+
* rewrite the README around the session lifecycle ([5cd96ce](https://github.com/lokkju/dbxdebug/commit/5cd96ce8858f8ca4244237f158f8f067d3ab5f8b))
|
dbxdebug-0.3.0/LICENSE
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
# Polyform Shield License 1.0.0
|
|
2
|
+
|
|
3
|
+
<https://polyformproject.org/licenses/shield/1.0.0>
|
|
4
|
+
|
|
5
|
+
## Acceptance
|
|
6
|
+
|
|
7
|
+
In order to get any license under these terms, you must agree
|
|
8
|
+
to them as both strict obligations and conditions to all
|
|
9
|
+
your licenses.
|
|
10
|
+
|
|
11
|
+
## Copyright License
|
|
12
|
+
|
|
13
|
+
The licensor grants you a copyright license for the
|
|
14
|
+
software to do everything you might do with the software
|
|
15
|
+
that would otherwise infringe the licensor's copyright
|
|
16
|
+
in it for any permitted purpose. However, you may
|
|
17
|
+
only distribute the software according to [Distribution
|
|
18
|
+
License](#distribution-license) and make changes or new works
|
|
19
|
+
based on the software according to [Changes and New Works
|
|
20
|
+
License](#changes-and-new-works-license).
|
|
21
|
+
|
|
22
|
+
## Distribution License
|
|
23
|
+
|
|
24
|
+
The licensor grants you an additional copyright license
|
|
25
|
+
to distribute copies of the software. Your license
|
|
26
|
+
to distribute covers distributing the software with
|
|
27
|
+
changes and new works permitted by [Changes and New Works
|
|
28
|
+
License](#changes-and-new-works-license).
|
|
29
|
+
|
|
30
|
+
## Notices
|
|
31
|
+
|
|
32
|
+
You must ensure that anyone who gets a copy of any part of
|
|
33
|
+
the software from you also gets a copy of these terms or the
|
|
34
|
+
URL for them above, as well as copies of any plain-text lines
|
|
35
|
+
beginning with `Required Notice:` that the licensor provided
|
|
36
|
+
with the software. For example:
|
|
37
|
+
|
|
38
|
+
> Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
|
|
39
|
+
|
|
40
|
+
## Changes and New Works License
|
|
41
|
+
|
|
42
|
+
The licensor grants you an additional copyright license to
|
|
43
|
+
make changes and new works based on the software for any
|
|
44
|
+
permitted purpose.
|
|
45
|
+
|
|
46
|
+
## Patent License
|
|
47
|
+
|
|
48
|
+
The licensor grants you a patent license for the software that
|
|
49
|
+
covers patent claims the licensor can license, or becomes able
|
|
50
|
+
to license, that you would infringe by using the software.
|
|
51
|
+
|
|
52
|
+
## Noncompete
|
|
53
|
+
|
|
54
|
+
Any purpose is a permitted purpose, except for providing any
|
|
55
|
+
product that competes with the software or any product the
|
|
56
|
+
licensor or any of its affiliates provides using the software.
|
|
57
|
+
|
|
58
|
+
## Competition
|
|
59
|
+
|
|
60
|
+
Goods and services compete even when they provide functionality
|
|
61
|
+
through different kinds of interfaces or for different technical
|
|
62
|
+
platforms. Applications can compete with services, libraries
|
|
63
|
+
with plugins, frameworks with development tools, and so on,
|
|
64
|
+
even if they're written in different programming languages
|
|
65
|
+
or for different computer architectures. Goods and services
|
|
66
|
+
compete even when provided free of charge. If you market a
|
|
67
|
+
product as a practical substitute for the software or another
|
|
68
|
+
product, it definitely competes.
|
|
69
|
+
|
|
70
|
+
## New Products
|
|
71
|
+
|
|
72
|
+
If you are using the software to provide a product that does
|
|
73
|
+
not compete, you may continue doing so even if the licensor or
|
|
74
|
+
any of its affiliates later provides a competing product.
|
|
75
|
+
|
|
76
|
+
## Discontinued Products
|
|
77
|
+
|
|
78
|
+
You may begin using the software to provide a product that
|
|
79
|
+
competes with one the licensor or any of its affiliates has
|
|
80
|
+
stopped providing, unless the licensor includes a plain-text
|
|
81
|
+
line beginning with `Licensor Line of Business:` with the
|
|
82
|
+
software that mentions that line of business. For example:
|
|
83
|
+
|
|
84
|
+
> Licensor Line of Business: YoyodyneTM Desktop Software (http://example.com/desktop)
|
|
85
|
+
|
|
86
|
+
## Sales of Business
|
|
87
|
+
|
|
88
|
+
If the licensor or any of its affiliates sells a line of
|
|
89
|
+
business developing the software or using the software
|
|
90
|
+
to provide a product, the buyer can also enforce
|
|
91
|
+
[Noncompete](#noncompete) for that product.
|
|
92
|
+
|
|
93
|
+
## Fair Use
|
|
94
|
+
|
|
95
|
+
You may have "fair use" rights for the software under the
|
|
96
|
+
law. These terms do not limit them.
|
|
97
|
+
|
|
98
|
+
## No Other Rights
|
|
99
|
+
|
|
100
|
+
These terms do not allow you to sublicense or transfer any of
|
|
101
|
+
your licenses to anyone else, or prevent the licensor from
|
|
102
|
+
granting licenses to anyone else. These terms do not imply
|
|
103
|
+
any other licenses.
|
|
104
|
+
|
|
105
|
+
## Patent Defense
|
|
106
|
+
|
|
107
|
+
If you make any written claim that the software infringes or
|
|
108
|
+
contributes to infringement of any patent, your patent license
|
|
109
|
+
for the software granted under these terms ends immediately. If
|
|
110
|
+
your company makes such a claim, your patent license ends
|
|
111
|
+
immediately for work on behalf of your company.
|
|
112
|
+
|
|
113
|
+
## Violations
|
|
114
|
+
|
|
115
|
+
The first time you are notified in writing that you have
|
|
116
|
+
violated any of these terms, or done anything with the software
|
|
117
|
+
not covered by your licenses, your licenses can nonetheless
|
|
118
|
+
continue if you come into full compliance with these terms,
|
|
119
|
+
and take practical steps to correct past violations, within
|
|
120
|
+
32 days of receiving notice. Otherwise, all your licenses
|
|
121
|
+
end immediately.
|
|
122
|
+
|
|
123
|
+
## No Liability
|
|
124
|
+
|
|
125
|
+
***As far as the law allows, the software comes as is, without
|
|
126
|
+
any warranty or condition, and the licensor will not be liable
|
|
127
|
+
to anyone for any damages related to this software or this
|
|
128
|
+
license, under any kind of legal claim.***
|
|
129
|
+
|
|
130
|
+
## Definitions
|
|
131
|
+
|
|
132
|
+
The **licensor** is the individual or entity offering these
|
|
133
|
+
terms, and the **software** is the software the licensor makes
|
|
134
|
+
available under these terms.
|
|
135
|
+
|
|
136
|
+
**You** refers to the individual or entity agreeing to these
|
|
137
|
+
terms.
|
|
138
|
+
|
|
139
|
+
**Your company** is any legal entity, sole proprietorship,
|
|
140
|
+
or other kind of organization that you work for, plus all
|
|
141
|
+
organizations that have control over, are under the control of,
|
|
142
|
+
or are under common control with that organization. **Control**
|
|
143
|
+
means ownership of substantially all the assets of an entity,
|
|
144
|
+
or the power to direct its management and policies by vote,
|
|
145
|
+
contract, or otherwise. Control can be direct or indirect.
|
|
146
|
+
|
|
147
|
+
**Your licenses** are all the licenses granted to you for the
|
|
148
|
+
software under these terms.
|
|
149
|
+
|
|
150
|
+
**Use** means anything you do with the software requiring one
|
|
151
|
+
of your licenses.
|