From 55236223f8ed1fd6705e5f7ce689d679fbf11f79 Mon Sep 17 00:00:00 2001 From: dev-lab <11693331+dev-lab@users.noreply.github.com> Date: Sat, 23 May 2026 09:09:46 +0000 Subject: [PATCH] chore: automatically enrich source files with copyright headers --- docs/canvas-ui.js | 6 ++++++ docs/coil.html | 6 ++++++ docs/common.css | 6 ++++++ docs/cv-core.js | 6 ++++++ docs/db-core.js | 6 ++++++ docs/guide.html | 6 ++++++ docs/index.html | 6 ++++++ docs/inductor.html | 6 ++++++ docs/inspector.js | 6 ++++++ docs/nets.js | 6 ++++++ docs/resistor.html | 6 ++++++ docs/schema.html | 6 ++++++ docs/schema/app.js | 6 ++++++ docs/schema/components.js | 6 ++++++ docs/schema/db.js | 6 ++++++ docs/schema/draw.js | 6 ++++++ docs/schema/history.js | 6 ++++++ docs/schema/interaction.js | 6 ++++++ docs/schema/io.js | 6 ++++++ docs/schema/kicad.js | 6 ++++++ docs/schema/layout.js | 6 ++++++ docs/schema/parsers.js | 6 ++++++ docs/schema/state.js | 6 ++++++ docs/schema/ui.js | 6 ++++++ docs/spyglass.js | 6 ++++++ docs/stitch-editor.js | 6 ++++++ docs/studio.html | 6 ++++++ docs/studio.js | 6 ++++++ docs/tool-bridge.js | 6 ++++++ docs/tool-style.css | 6 ++++++ 30 files changed, 180 insertions(+) diff --git a/docs/canvas-ui.js b/docs/canvas-ui.js index f69f820..f2e3ee4 100644 --- a/docs/canvas-ui.js +++ b/docs/canvas-ui.js @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2025-2026 Taras Greben + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-pcb-retrace + * See LICENSE file for details. + */ + /* canvas-ui.js - Shared Canvas Logic (Mobile/Touch Ready + Resize Hook) */ class PanZoomCanvas { diff --git a/docs/coil.html b/docs/coil.html index 623b24e..29fe9d4 100644 --- a/docs/coil.html +++ b/docs/coil.html @@ -1,3 +1,9 @@ + + diff --git a/docs/common.css b/docs/common.css index cc49aed..543e09f 100644 --- a/docs/common.css +++ b/docs/common.css @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2025-2026 Taras Greben + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-pcb-retrace + * See LICENSE file for details. + */ + :root { --border: #cbd5e1; --text-muted: #94a3b8; diff --git a/docs/cv-core.js b/docs/cv-core.js index f9ed4a7..2eaf5a4 100644 --- a/docs/cv-core.js +++ b/docs/cv-core.js @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2025-2026 Taras Greben + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-pcb-retrace + * See LICENSE file for details. + */ + /* cv-core.js - Computer Vision Logic for PCB ReTrace Suite */ class CVManager { constructor() { diff --git a/docs/db-core.js b/docs/db-core.js index 59a372a..a998c53 100644 --- a/docs/db-core.js +++ b/docs/db-core.js @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2025-2026 Taras Greben + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-pcb-retrace + * See LICENSE file for details. + */ + /* db-core.js - Shared database initialization and schema definitions */ // Global UUID generator shared across all components diff --git a/docs/guide.html b/docs/guide.html index 3fbfc79..fe8bfb7 100644 --- a/docs/guide.html +++ b/docs/guide.html @@ -1,3 +1,9 @@ + + diff --git a/docs/index.html b/docs/index.html index b1172e1..1365914 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,3 +1,9 @@ + + diff --git a/docs/inductor.html b/docs/inductor.html index ab9e8c1..cf19dc4 100644 --- a/docs/inductor.html +++ b/docs/inductor.html @@ -1,3 +1,9 @@ + + diff --git a/docs/inspector.js b/docs/inspector.js index 651ec0c..ec2eb3c 100644 --- a/docs/inspector.js +++ b/docs/inspector.js @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2025-2026 Taras Greben + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-pcb-retrace + * See LICENSE file for details. + */ + /* inspector.js - Visual Trace Tracking (v6) */ class Inspector { diff --git a/docs/nets.js b/docs/nets.js index b735a4c..926257d 100644 --- a/docs/nets.js +++ b/docs/nets.js @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2025-2026 Taras Greben + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-pcb-retrace + * See LICENSE file for details. + */ + /* nets.js - Netlist Management (v3) */ class NetManager { diff --git a/docs/resistor.html b/docs/resistor.html index 11aaaa1..c153ca2 100644 --- a/docs/resistor.html +++ b/docs/resistor.html @@ -1,3 +1,9 @@ + + diff --git a/docs/schema.html b/docs/schema.html index 7d4d190..ddc5a0e 100644 --- a/docs/schema.html +++ b/docs/schema.html @@ -1,3 +1,9 @@ + + diff --git a/docs/schema/app.js b/docs/schema/app.js index 8af296e..fd80d08 100644 --- a/docs/schema/app.js +++ b/docs/schema/app.js @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2025-2026 Taras Greben + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-pcb-retrace + * See LICENSE file for details. + */ + // ── App entry point ─────────────────────────────────────────── import { autoImportDeviceLib } from './kicad.js'; import { S, NET_COLORS, initCanvas } from './state.js'; diff --git a/docs/schema/components.js b/docs/schema/components.js index ffb199d..b7b4146 100644 --- a/docs/schema/components.js +++ b/docs/schema/components.js @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2025-2026 Taras Greben + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-pcb-retrace + * See LICENSE file for details. + */ + // ═══════════════════════════════════════════════════════════════ // COMPONENT LIBRARY // diff --git a/docs/schema/db.js b/docs/schema/db.js index 069a9eb..1ea2fa1 100644 --- a/docs/schema/db.js +++ b/docs/schema/db.js @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2025-2026 Taras Greben + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-pcb-retrace + * See LICENSE file for details. + */ + // ═══════════════════════════════════════════════════════════════ // schema/db.js — Database layer for Schematic ReTrace // diff --git a/docs/schema/draw.js b/docs/schema/draw.js index 59dbcd2..4cb5ef1 100644 --- a/docs/schema/draw.js +++ b/docs/schema/draw.js @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2025-2026 Taras Greben + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-pcb-retrace + * See LICENSE file for details. + */ + import { S, canvas, ctx, w2s, getNetColor, GRID } from './state.js'; import { createComp } from './components.js'; diff --git a/docs/schema/history.js b/docs/schema/history.js index 96c2e09..bd1c364 100644 --- a/docs/schema/history.js +++ b/docs/schema/history.js @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2025-2026 Taras Greben + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-pcb-retrace + * See LICENSE file for details. + */ + // ── Undo history ───────────────────────────────────────────── // Kept separate to avoid circular imports between interaction.js and ui.js. import { S } from './state.js'; diff --git a/docs/schema/interaction.js b/docs/schema/interaction.js index 18d47ee..b7c19a7 100644 --- a/docs/schema/interaction.js +++ b/docs/schema/interaction.js @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2025-2026 Taras Greben + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-pcb-retrace + * See LICENSE file for details. + */ + // ── Interaction ─────────────────────────────────────────────── import { db } from './db.js'; import { S, canvas, s2w, snap } from './state.js'; diff --git a/docs/schema/io.js b/docs/schema/io.js index 1ef6693..3f2ca23 100644 --- a/docs/schema/io.js +++ b/docs/schema/io.js @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2025-2026 Taras Greben + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-pcb-retrace + * See LICENSE file for details. + */ + // ── Exports ─────────────────────────────────────────────────── import { S } from './state.js'; import { createComp } from './components.js'; diff --git a/docs/schema/kicad.js b/docs/schema/kicad.js index ad02fce..c22af40 100644 --- a/docs/schema/kicad.js +++ b/docs/schema/kicad.js @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2025-2026 Taras Greben + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-pcb-retrace + * See LICENSE file for details. + */ + import { db, uuid } from './db.js'; const SCALE = 20 / 2.54; diff --git a/docs/schema/layout.js b/docs/schema/layout.js index f37d721..4b55dd4 100644 --- a/docs/schema/layout.js +++ b/docs/schema/layout.js @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2025-2026 Taras Greben + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-pcb-retrace + * See LICENSE file for details. + */ + // ═══════════════════════════════════════════════════════════════ // LAYOUT — WireBender placement + routing // diff --git a/docs/schema/parsers.js b/docs/schema/parsers.js index 4851932..edea09f 100644 --- a/docs/schema/parsers.js +++ b/docs/schema/parsers.js @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2025-2026 Taras Greben + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-pcb-retrace + * See LICENSE file for details. + */ + // ── Parsers ─────────────────────────────────────────────────── import { classifyComp } from './components.js'; diff --git a/docs/schema/state.js b/docs/schema/state.js index 19ea175..7e0dd8b 100644 --- a/docs/schema/state.js +++ b/docs/schema/state.js @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2025-2026 Taras Greben + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-pcb-retrace + * See LICENSE file for details. + */ + // ── State ───────────────────────────────────────────────────── // Single mutable app state object. All modules share this reference. export const S = { diff --git a/docs/schema/ui.js b/docs/schema/ui.js index 5ddc743..7a8b55f 100644 --- a/docs/schema/ui.js +++ b/docs/schema/ui.js @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2025-2026 Taras Greben + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-pcb-retrace + * See LICENSE file for details. + */ + // ── UI helpers ──────────────────────────────────────────────── import { db, uuid } from './db.js'; import { S, getNetColor } from './state.js'; diff --git a/docs/spyglass.js b/docs/spyglass.js index 5f6ff7b..bc22411 100644 --- a/docs/spyglass.js +++ b/docs/spyglass.js @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2025-2026 Taras Greben + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-pcb-retrace + * See LICENSE file for details. + */ + /** * spyglass.js * Handles zooming, panning, and coordinate adjustment for PCB previews. diff --git a/docs/stitch-editor.js b/docs/stitch-editor.js index 18b8580..a42df07 100644 --- a/docs/stitch-editor.js +++ b/docs/stitch-editor.js @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2025-2026 Taras Greben + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-pcb-retrace + * See LICENSE file for details. + */ + /* stitch-editor.js */ class StitchEditor { diff --git a/docs/studio.html b/docs/studio.html index fb39218..d4b2975 100644 --- a/docs/studio.html +++ b/docs/studio.html @@ -1,3 +1,9 @@ + + diff --git a/docs/studio.js b/docs/studio.js index 104fb2a..67a4a40 100644 --- a/docs/studio.js +++ b/docs/studio.js @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2025-2026 Taras Greben + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-pcb-retrace + * See LICENSE file for details. + */ + /* studio.js - Main Application Logic */ const ICONS = { RESISTOR: ``, INDUCTOR: ``, COIL: `` }; diff --git a/docs/tool-bridge.js b/docs/tool-bridge.js index 9c41752..2cf6a9f 100644 --- a/docs/tool-bridge.js +++ b/docs/tool-bridge.js @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2025-2026 Taras Greben + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-pcb-retrace + * See LICENSE file for details. + */ + /** * tool-bridge.js * Common logic for connecting Component Tools (iframe) to the main Application (studio.js). diff --git a/docs/tool-style.css b/docs/tool-style.css index c1031cb..b95b149 100644 --- a/docs/tool-style.css +++ b/docs/tool-style.css @@ -1,3 +1,9 @@ +/* + * Copyright (c) 2025-2026 Taras Greben + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-pcb-retrace + * See LICENSE file for details. + */ + /* tool-style.css - Shared styles for Component Editors */ @import url('common.css');