[repo] Licence: CPAL-1.0 (Mark, 2026-11-23), Exhibit B credit in README, SPDX headers, version 0.1.1
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Built on Domi, https://aula.marek-novak.cz
|
||||
|
||||
//! Domi games: Atrium registry entries with `kind = "game"`, launched through their `domi-<app>://open` link, or
|
||||
//! web games (Rosea, Moin) opened by URL.
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Built on Domi, https://aula.marek-novak.cz
|
||||
|
||||
//! Epic Games Launcher: one JSON `.item` manifest per installed app in
|
||||
//! `%ProgramData%\Epic\EpicGamesLauncher\Data\Manifests`. Launch is
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Built on Domi, https://aula.marek-novak.cz
|
||||
|
||||
use std::fmt;
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Built on Domi, https://aula.marek-novak.cz
|
||||
|
||||
//! GOG: the app reads one registry key per installed game (assumption, verify on the PC:
|
||||
//! `HKLM\SOFTWARE\WOW6432Node\GOG.com\Games\<gameID>` with the values `gameID`, `gameName`, `path`, `exe`,
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Built on Domi, https://aula.marek-novak.cz
|
||||
|
||||
use crate::error::ParseError;
|
||||
use crate::limits::{MAX_GAME_ID, MAX_GOG_ID};
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Built on Domi, https://aula.marek-novak.cz
|
||||
|
||||
use crate::error::ParseError;
|
||||
use crate::limits::{MAX_ARG, MAX_ARGS, MAX_ARGS_LINE, MAX_HOST, MAX_URL};
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Built on Domi, https://aula.marek-novak.cz
|
||||
|
||||
//! The pure core of Arena Domi: strict parsers for game launcher files and the game library model.
|
||||
//!
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Built on Domi, https://aula.marek-novak.cz
|
||||
|
||||
//! Every cap the parsers enforce. Anything over a cap is refused, never truncated. `docs/FORMATS.md` lists them
|
||||
//! with the error each one gives.
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Built on Domi, https://aula.marek-novak.cz
|
||||
|
||||
//! A game the user added by picking its `.exe`.
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Built on Domi, https://aula.marek-novak.cz
|
||||
|
||||
use crate::error::ParseError;
|
||||
use crate::id::{GameId, Source};
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Built on Domi, https://aula.marek-novak.cz
|
||||
|
||||
use crate::error::ParseError;
|
||||
use crate::limits::MAX_PATH;
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Built on Domi, https://aula.marek-novak.cz
|
||||
|
||||
//! Steam: `config/libraryfolders.vdf` lists the library folders; each installed app has
|
||||
//! `<library>/steamapps/appmanifest_<id>.acf`. Launch is `steam://rungameid/<id>`.
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Built on Domi, https://aula.marek-novak.cz
|
||||
|
||||
//! Small shared checks: titles, ids, numbers, a stable hash, the lettered cover.
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Built on Domi, https://aula.marek-novak.cz
|
||||
|
||||
//! A strict tokenizer, parser and writer for Valve's KeyValues text format (VDF), as used by Steam's
|
||||
//! `libraryfolders.vdf` and `appmanifest_<id>.acf`.
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Built on Domi, https://aula.marek-novak.cz
|
||||
|
||||
//! Epic `.item` manifests: valid fixtures and the hostile ones that are Epic-specific.
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Built on Domi, https://aula.marek-novak.cz
|
||||
|
||||
//! GOG entries built from registry values the app passes in.
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Built on Domi, https://aula.marek-novak.cz
|
||||
|
||||
//! Hostile input across every parser: refused with a typed error, never a panic.
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Built on Domi, https://aula.marek-novak.cz
|
||||
|
||||
//! Launch strings contain only parsed, validated fields: nothing raw from a file reaches a URI or an argument.
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Built on Domi, https://aula.marek-novak.cz
|
||||
|
||||
//! Manual games (an `.exe` the user picked) and Domi games (Atrium registry entries).
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Built on Domi, https://aula.marek-novak.cz
|
||||
|
||||
//! Dedupe and ordering in `merge`.
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Built on Domi, https://aula.marek-novak.cz
|
||||
|
||||
//! `WinPath` and `GameId`: the two validated value types everything else is built from.
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Built on Domi, https://aula.marek-novak.cz
|
||||
|
||||
//! Steam: valid fixtures and the hostile ones that are Steam-specific.
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Built on Domi, https://aula.marek-novak.cz
|
||||
|
||||
//! The VDF tokenizer, parser and writer on hand-written input.
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
// Copyright (c) 2026 Marek Novák. Built on Domi, https://aula.marek-novak.cz
|
||||
|
||||
//! Property tests on the VDF tokenizer and parser: no panics on arbitrary bytes, and generated documents survive
|
||||
//! a write/parse round trip.
|
||||
|
||||
Reference in New Issue
Block a user