Jon Evans
7825809b3a
Fix Linux build
6 years ago
Jon Evans
90bd351807
Properly flush color settings after migration
Also fix missing gerbview migration
Fixes #3965
6 years ago
Simon Richter
866aac9737
Clean up a few unused names of caught exceptions
6 years ago
Simon Richter
0f105c4c9a
Fix preprocessor expression
The "and" and "or" keywords are only defined if <iso646.h> is included.
This fixes the C4067 warnings.
6 years ago
Ian McInerney
c31089d9f4
eeschema: Properly set bold and italic properties in global text edit dialog
Fixes https://gitlab.com/kicad/code/kicad/issues/3963
6 years ago
Tomasz Wlostowski
a28f58d14d
router: fix regression in PNS_KICAD_IFACE treating newly created items as invisible (side effect = non-45 degree angles due to incorrect snapping)
6 years ago
Tomasz Wlostowski
6850067182
router: commit traces made in single stroke/click (fixes regression introduced with Backspace support)
6 years ago
jean-pierre charras
2a026bd882
spread_footprints.cpp: try to avoid integer overflow when spreading footprints.
In rare cases (one known case) sizes of areas used as container when spreading
footprints can become negative, thus hanging pcbnew.
Happens if many footprints are very big (say 80cm).
Now if there is no room to place footprints, some are stacked.
6 years ago
jean-pierre charras
e37c9f117d
Fix memory leak when loading a 0 degrees arc in footprint
6 years ago
Andrew Downing
2f7ac2b5b4
Don't truncate polar coordinates in position relative dialog/move exact dialog
6 years ago
Jeff Young
3f31d48b5e
Use a more friendly method of ensuring unique sheet names.
Also fixes a bug where we were failing to respect the
forceKeepAnnotations flag when processing content nested in
a sheet.
Fixes https://gitlab.com/kicad/code/kicad/issues/3681
6 years ago
Seth Hillbrand
3e0ff72720
Drop invalid arcs on footprint load
In the case where the footprint arc has a non-normal angle, we cannot
represent this in pcbnew and it corrupts the gerber output. Therefore
we drop the invalid arc and continue to load the footprint/board.
Fixes #3918 | https://gitlab.com/kicad/code/kicad/issues/3918
6 years ago
Tomasz Wlostowski
e5fff302a3
router: fix arc drawing in ROUTER_PREVIEW_ITEM
6 years ago
Jeff Young
149d34fbe1
Add missing files from last commit.
6 years ago
Tomasz Wlostowski
e0bad936bf
router: enable inline dragging of components
6 years ago
Tomasz Wlostowski
44905e1b0a
router: initial support for dragging components with traces attached
6 years ago
Tomasz Wlostowski
b2b1edbcd1
router: KICAD_IFACE can now commit changes to module positions
6 years ago
Tomasz Wlostowski
b6e059f018
router: use a common base class for all dragging algorithms
6 years ago
Tomasz Wlostowski
1d0ee66187
router: kill debug printf()
6 years ago
Tomasz Wlostowski
77478014d8
router: kill some warnings in OPTIMIZER
6 years ago
Tomasz Wlostowski
796aec6e6e
router: SOLID::SetPos() should update the shape position too
6 years ago
Tomasz Wlostowski
5a16fda11a
router: allow modification of SOLIDs in PNS::NODE
6 years ago
Tomasz Wlostowski
b7aea6f14c
kimath: fix warning
6 years ago
Jeff Young
9ded76bcad
Update tests to UUIDs.
Fixes https://gitlab.com/kicad/code/kicad/issues/3939
Fixes https://gitlab.com/kicad/code/kicad/issues/3958
6 years ago
Seth Hillbrand
7cb3ed456e
PNS: No free-angle drag at the moment.
Fixes #3954 | https://gitlab.com/kicad/code/kicad/issues/3954
6 years ago
Seth Hillbrand
84b1ab7ce0
PCad: Handle arbitrary PCad layer numbers
KiCad is limited to 32 signal layers but PCad can number the layers
higher than this. Instead of a C-style array, we now hold the layer
numbers in a std::map to support arbitrary numbering.
Fixes #3949 | https://gitlab.com/kicad/code/kicad/issues/3949
6 years ago
Seth Hillbrand
081ec393da
eeschema: Load using root sheet if null
The root sheet is not set for pasting, in which case, we should utilize
the global root if needed.
Fixes #3956 | https://gitlab.com/kicad/code/kicad/issues/3956
6 years ago
Jon Evans
72a6963e9e
Free some memory that asan was complaining about
6 years ago
Jon Evans
9cc5b4b3f9
Fix management of nested settings for PNS
6 years ago
Ian McInerney
d5ceb8252e
Clean up some warnings
6 years ago
Hufo
992a553d43
pcbnew: Refactor D_PAD::AddPrimitives() and allow use from python
Rename all the D_PAD::AddPrimitive methods to clean up their API,
and expose the vector<PAD_CS_PRIMITIVE> type in the python API.
6 years ago
Seth Hillbrand
245b778454
libedit: Fix speed of lib check
The symbol check output the HTML message for each item. This is _very_
slow and can lock the system reponsiveness. Changing to a queue/flush
method is much faster
6 years ago
Seth Hillbrand
797ff00367
Cleanup header
Missing function causes issues in Python now that the routine is gone.
6 years ago
Jeff Young
3860ab9f0c
Fix issue returning pointers to items inside std::vector.
(When the vector is re-allocated your pointers become bogus.)
6 years ago
Tomasz Wlostowski
f77d2f8cb8
router: option to enable optimization of the track being dragged
6 years ago
Tomasz Wlostowski
4525a17076
router: backspace key to undo last fixed segment(s)
6 years ago
Tomasz Wlostowski
b5c11f21e5
router: rounding mode context menu entry
6 years ago
Tomasz Wlostowski
ce683c403a
genral: always link libcurl to avoid unresolved symbols in pcbnew
6 years ago
Tomasz Wlostowski
d1a5d8c78b
router: don't forget the tail when toggling via placement
6 years ago
Tomasz Wlostowski
8ddeb966ca
pns: drag wip on walkaround via mode
6 years ago
Tomasz Wlostowski
cf4945afaa
router: optimizer should now handle 'keep vertex' constraint correctly...
6 years ago
Tomasz Wlostowski
53c3f95ac4
router: initial attempt at walkaround mode for dragger
6 years ago
Tomasz Wlostowski
c0314dbb29
router: dragger can now optimize also the segment being dragged
6 years ago
Tomasz Wlostowski
a6d3ae3c5b
router: NODE now can also query joints
6 years ago
Tomasz Wlostowski
6b767d50c3
router: initial support for user-provided constraints for the optimizer
6 years ago
Tomasz Wlostowski
a42b86d3ac
geometry: missing return in SEG::Contains()
6 years ago
Tomasz Wlostowski
c2d95a00c1
router: improved handling of corner cases in LINE::Walkaround
6 years ago
Tomasz Wlostowski
37a754c4dd
router: initial attempt at improved 'aim at mouse cursor' strategy in walkaround mode, wip...
6 years ago
Tomasz Wlostowski
43b71cd9e3
router: Clear() method for PNS::LINE
6 years ago
Tomasz Wlostowski
dbe90e163e
router: use one global logger object
6 years ago