Seth Hillbrand
11b45002e1
pcbnew: Code formatting
7 years ago
Tomasz Włostowski
c0b61c19b7
router: fixed use-after-free error occuring when a newly routed segment covered exactly an older one
Fixes: lp:1747973
* https://bugs.launchpad.net/kicad/+bug/1747973
8 years ago
Tomasz Włostowski
9932ff32ae
refactoring: wrapped boost::optional in OPT<> class for the purpose of easier transition to C++17 in the future
8 years ago
Tomasz Wlostowski
c45cc1de68
Fixes: lp:1653146 (Assertion failed when trying to delete track with router tool active, in debug mode)
https://bugs.launchpad.net/kicad/+bug/1653146
9 years ago
jean-pierre charras
bcfc1e7a3f
fix shadowed local variables
9 years ago
Simon Richter
ad088db6d2
Add more "override" markers.
9 years ago
Tomasz Włostowski
0b8ab2f73d
router: fixed incorrect clearance computation in highlight collisions mode.
Fixes: lp:1621186
https://bugs.launchpad.net/kicad/+bug/1621186
9 years ago
decimad
94aaa47583
Add Remove overloads for specific item types, split removal into index-handling and lifetime-handling (not 100% correct yet, since the index is defactor lifetime-owner, it will be later.)
9 years ago
decimad
94fae5d6a1
fix eager dynamic allocation in PNS::NODE::addLine
move implementation into PNS::NODE::Add since lines will never be part of the index itself
9 years ago
decimad
96a3145543
use unique_ptr at client <-> pns-router border, to document the pns router is taking ownership
add overloads for NODE::Add( ... ) taking pointers to specific item types (retain old private add-Functions, they will come in handy later)
LINE overloads now take by reference, to document their special treatment.
updated code throughout affected by these changes
9 years ago
decimad
4770be0920
Make the segment-ref container a true member of PNS::LINE
improve const correctness
return segment container by ref
change client code accordingly
9 years ago
decimad
6c749e0ba8
Remove PNS_ prefix from most types inside namespace PNS
9 years ago
decimad
4cf44d9725
Rename pns item kind constants in preparation for renaming pns classes
9 years ago
decimad
de6281e977
Move PNS router code into namespace PNS
update copyright messages
9 years ago
Maciej Suminski
ca499b80e1
Fixed wxLogTrace() calls in PNS
Fixes: lp:1616702
* https://bugs.launchpad.net/kicad/+bug/1616702
9 years ago
Maciej Suminski
78050c05e2
Changed PNS logging routine to wxLogTrace
9 years ago
Maciej Suminski
9f0b42cb35
pns: fixed a few memleaks & conditional jumps depending on uninitalized variables
9 years ago
Maciej Suminski
7e94e5282a
Changed PNS debug output to use wxLogTrace
9 years ago
Maciej Suminski
0ef866ee74
Code formatting
9 years ago
Tomasz Wlostowski
b52eb441a1
router: fix compilation warnings
9 years ago
Tomasz Wlostowski
4cbb0aebfd
P&S: support for custom visitor objects in PNS_NODE::QueryColliding()
9 years ago
Tomasz Wlostowski
9c8bdcc894
P&S refactor: removed most of Kicad-dependent code from PNS internal classes
9 years ago
Simon Richter
1b2fd6a382
Replace BOOST_FOREACH with C++11 range based for.
10 years ago
Tomasz Wlostowski
95252267ec
Router: check layers of all traversed joints in FindLinesBetweenJoints(). (fixes lp:1531762)
10 years ago
Tomasz Wlostowski
3596ef2d4c
router: fixed loop removal regression in shove mode
10 years ago
Tomasz Wlostowski
5bbf980ec7
router: fixes for disappearing segments after shoving & assertion in PNS_NODE destructor
10 years ago
Tomasz Wlostowski
a96299d456
router: improvements to shove algorithm
10 years ago
Tomasz Wlostowski
95c59c8060
router: multiple fixes:
- PNS_ITEMSET now keeps ownership info (does not rely on PNS_ITEM::Owner(), avoiding the risk of dangling pointers)
- fixed vias losing connected traces when dragging in mark obstacles mode
- fixed rare segfault when board item returned null netclass
10 years ago
Tomasz Wlostowski
e342744a32
router: Do not use reference to a temporary object. Prevent double freeing (m_joints). Draw tuned track always on top.
10 years ago
Maciej Suminski
127fcfa7c9
Code formatting.
10 years ago
Maciej Suminski
0fbf31ef38
P&S: memory mgr & disappearing trace fixes. Still a bit buggy, though...
11 years ago
Tomasz Wlostowski
afb6571249
PNS_NODE: fix segfault when dragging a track/corner of a track forming a ring
11 years ago
Maciej Suminski
b16ade0805
PNS code formatting.
11 years ago
Maciej Suminski
66778e1b00
PNS code formatting.
11 years ago
Maciej Suminski
766da1e494
Code formatting.
11 years ago
Tomasz Wlostowski
171d39c8d0
router: invoke interactive drag when dragging traces/vias in edit tool (disabled by default)
11 years ago
Tomasz Wlostowski
52e193eded
router: fixing assert
11 years ago
Maciej Suminski
721949b50e
Fix memory leak in pns_node and pns_line_placer. Fix coverity uninitialized warnings.
11 years ago
Maciej Suminski
4fb9bce354
Code formatting.
11 years ago
Tomasz Włostowski
112adccbcb
router: differential pairs & length tuning support
11 years ago
Kirill Mavreshko
b4e0a5cbbf
Fixes bug #1332438 : PNS router crashes when you another track while routing in "shove" mode
12 years ago
Tomasz Wlostowski
c87baa9d22
router: fix segfault when trying to shove a line that forms a closed loop.
12 years ago
Maciej Suminski
ad1b138f28
Reformatted PNS code to conform the coding policy.
12 years ago
Tomasz Włostowski
061660e9e4
Long-awaited new version of the P&S router
12 years ago
Lorenzo Marcantonio
342016b692
Constification of HitTest and GetParent
In particular HitTest for zones *do not* select the nearest vertex/edge as a side effect
12 years ago
Lorenzo Marcantonio
85c5aa22c6
Constification of HitTest and GetParent
In particular HitTest for zones *do not* select the nearest vertex/edge as a side effect
12 years ago
Povilas Kanapickas
7f12513c7e
Remove some uses of using namespace std.
12 years ago
Maciej Suminski
bc305859b2
Mainly case changes.
12 years ago
Maciej Suminski
0ac3e1fbf2
Namespace KiGfx->KIGFX.
template<> -> template <>
Some more reformatting according to uncrustify results.
12 years ago
Maciej Suminski
22045b61ea
Converted tabs to spaces. Removed trailing whitespaces.
12 years ago