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
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2026 Taras Greben
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
# See LICENSE file for details.

# ==========================================
# CMake & Build Directories
# ==========================================
Expand Down
4 changes: 4 additions & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2026 Taras Greben
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
# See LICENSE file for details.

header:
license:
spdx-id: "AGPL-3.0-only"
Expand Down
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2026 Taras Greben
# SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
# See LICENSE file for details.

cmake_minimum_required(VERSION 3.16)
project(WireBender CXX)

Expand Down
6 changes: 6 additions & 0 deletions src/PcbVisualizer.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#include "PcbVisualizer.h"
#include "internal/PcbRouter.h"
#include <vector>
Expand Down
6 changes: 6 additions & 0 deletions src/PcbVisualizer.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "WireBenderTypes.h"
Expand Down
6 changes: 6 additions & 0 deletions src/WireBender.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#include "WireBender.h"

#include "internal/Labelbot.h"
Expand Down
6 changes: 6 additions & 0 deletions src/WireBender.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once
#include "WireBenderTypes.h"
#include <memory>
Expand Down
6 changes: 6 additions & 0 deletions src/WireBenderTypes.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

// All public data structures exchanged between WireBender and its callers.
Expand Down
6 changes: 6 additions & 0 deletions src/internal/Labelbot.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "WireBenderTypes.h"
Expand Down
6 changes: 6 additions & 0 deletions src/internal/NetClassifier.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once
// internal/NetClassifier.h
// Thin adapter: converts WireBender SchematicNetlist to prototype NetList,
Expand Down
6 changes: 6 additions & 0 deletions src/internal/PcbGraph.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "core/bend/geometry.h"
Expand Down
6 changes: 6 additions & 0 deletions src/internal/PcbGraphAlgorithms.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "PcbGraph.h"
Expand Down
6 changes: 6 additions & 0 deletions src/internal/PcbPostProcessor.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "PcbGraph.h"
Expand Down
6 changes: 6 additions & 0 deletions src/internal/PcbRouter.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "PcbPostProcessor.h"
Expand Down
6 changes: 6 additions & 0 deletions src/internal/SchematicAvoidRouter.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "../WireBenderTypes.h"
Expand Down
6 changes: 6 additions & 0 deletions src/internal/SchematicNetlist.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once
// internal/SchematicNetlist.h
// Plain storage for the netlist description. No adaptagrams types.
Expand Down
6 changes: 6 additions & 0 deletions src/internal/SchematicPlacer.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once
// internal/SchematicPlacer.h
// Thin adapter: converts WireBender types to prototype types,
Expand Down
6 changes: 6 additions & 0 deletions src/internal/core/Component.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "Pin.h"
Expand Down
6 changes: 6 additions & 0 deletions src/internal/core/Debug.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include <chrono>
Expand Down
6 changes: 6 additions & 0 deletions src/internal/core/NetList.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "NetPin.h"
Expand Down
6 changes: 6 additions & 0 deletions src/internal/core/NetPin.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include <string>
Expand Down
6 changes: 6 additions & 0 deletions src/internal/core/NetRegistry.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "Debug.h"
Expand Down
6 changes: 6 additions & 0 deletions src/internal/core/Pin.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "libavoid/libavoid.h"
Expand Down
6 changes: 6 additions & 0 deletions src/internal/core/PlacementOptimizer.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "Component.h"
Expand Down
6 changes: 6 additions & 0 deletions src/internal/core/RouterShapePin.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "libavoid/libavoid.h"
Expand Down
6 changes: 6 additions & 0 deletions src/internal/core/RouterState.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "NetRegistry.h"
Expand Down
6 changes: 6 additions & 0 deletions src/internal/core/RouterStats.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

/**
Expand Down
6 changes: 6 additions & 0 deletions src/internal/core/RoutingResult.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "RouterState.h"
Expand Down
6 changes: 6 additions & 0 deletions src/internal/core/SchematicRouter.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "NetList.h"
Expand Down
6 changes: 6 additions & 0 deletions src/internal/core/SchematicRouterOptions.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

/**
Expand Down
6 changes: 6 additions & 0 deletions src/internal/core/ShapeRegistry.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "Component.h"
Expand Down
6 changes: 6 additions & 0 deletions src/internal/core/bend/Connector.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "Junction.h"
Expand Down
6 changes: 6 additions & 0 deletions src/internal/core/bend/ConnectorEnd.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "Connector.h"
Expand Down
6 changes: 6 additions & 0 deletions src/internal/core/bend/Junction.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "libavoid/libavoid.h"
Expand Down
6 changes: 6 additions & 0 deletions src/internal/core/bend/JunctionEdges.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "ConnectorEnd.h"
Expand Down
6 changes: 6 additions & 0 deletions src/internal/core/bend/JunctionPointResult.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "libavoid/libavoid.h"
Expand Down
6 changes: 6 additions & 0 deletions src/internal/core/bend/OccupiedArea.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "Connector.h"
Expand Down
6 changes: 6 additions & 0 deletions src/internal/core/bend/OccupiedRect.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "libavoid/libavoid.h"
Expand Down
6 changes: 6 additions & 0 deletions src/internal/core/bend/Placement.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "Transform.h"
Expand Down
6 changes: 6 additions & 0 deletions src/internal/core/bend/Proxima.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Copyright (c) 2026 Taras Greben
* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Commercial-WireBender
* See LICENSE file for details.
*/

#pragma once

#include "OccupiedRect.h"
Expand Down
Loading