Marek Roszko
4df3cb912d
Remove another leaky wx/log.h header
4 years ago
Jon Evans
bc6b9b527a
Allow stackup height to be excluded from length calculations
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8384
4 years ago
Jon Evans
ce01a28aad
Don't double-remove nets when netcodes are reused
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8206
4 years ago
Ian McInerney
ecd9bf696e
Be consistent about using nullptr instead of 0
0 can be too easily overloaded into an int, so ensure we use nullptr
when we mean pointers.
5 years ago
Jon Evans
29c45743b7
Fix calculation of arc lengths; include them in net inspector
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8140
5 years ago
Jon Evans
36ef198610
Clean up nets from items when deleting in the inspector
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8162
5 years ago
Jon Evans
c7ecb51f77
Update PNS length tuning algorithm to match the new BOARD algorithm
Now tracks inside pads are optimized to give a more accurate length.
Also, the start/end of the assembled line is used to identify the right
pad joints for pad-to-die length calculation.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4204
Fixes https://gitlab.com/kicad/code/kicad/-/issues/1765
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6877
5 years ago
Jon Evans
41c54d383e
Fix some edge cases with length calculation
5 years ago
Jon Evans
cdfb014ab6
CHANGED: Account for via height in track length calculations
5 years ago
Jon Evans
80728f8d78
Improve algorithm for calculating net length; use it for netinfo message panel
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4258
5 years ago
Dominik Wernberger
e2aa7be4b3
Added a lot of consts and refactored a few lines
5 years ago
Jeff Young
86aaa2e9cb
Rationalize footprint bounding boxes and cache all of them.
Fixes https://gitlab.com/kicad/code/kicad/issues/7720
5 years ago
Jeff Young
a3b9e8ddb4
Round 2 of Worksheet -> Drawing Sheet.
5 years ago
Jeff Young
b08862e445
Fix group undo/redo bugs.
1) Don't remove items from group when the group is being deleted as
well. We need those pointers for undo/redo.
2) Flip the GROUP/UNGROUP undo status when undoing/redoing group and
ungroup actions.
3) Remove PCB_GROUP_T from the rebuild-netlists section. Nothing
about an item's group/ungrouped status changes its netlisting.
4) Add PCB_PAD_T to the rebuild-netlists section. It can probably
only happen in the footprint editor where we don't care about
netlisting, but it's conceptually more correct and who knows what
might change in the future....
Fixes https://gitlab.com/kicad/code/kicad/issues/7540
5 years ago
Wayne Stambaugh
5ecef204cd
Coding policy fixes.
Using "this->" violates coding policy section 2.7.
5 years ago
Jeff Young
d261fa3792
Make sure items are removed from groups when deleted.
Fixes https://gitlab.com/kicad/code/kicad/issues/7387
5 years ago
Jon Evans
bea310569b
Fix parsing of track/via user sizes from legacy boards
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6134
5 years ago
Jeff Young
360953ba98
"comp" -> "symbol".
5 years ago
Jeff Young
08d595c9bf
Move title block fields to global availability in PCBNew.
Fixes https://gitlab.com/kicad/code/kicad/issues/7118
5 years ago
Jon Evans
5c8927678a
Don't link a project to a board more than once
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6929
5 years ago
Roberto Fernandez Bautista
f74a86b7e1
Add missing dimension objects to BOARD::Move collector
Fixes import of orthogonal dimensions
5 years ago
Jeff Young
efd16dca66
Fix a bunch of issues with group selection and highlighting.
Fixes https://gitlab.com/kicad/code/kicad/issues/6686
5 years ago
Jeff Young
ef25c78a04
Separate polygonization error from chaining error.
This way we can report anything that doesn't exactly chain while still
applying a fudge factor for our own stuff.
Fixes https://gitlab.com/kicad/code/kicad/issues/1795
5 years ago
Jeff Young
2f087dfa1b
Fix crash bug trying to delete zone from list twice.
Fixes https://gitlab.com/kicad/code/kicad/issues/6815
5 years ago
Jeff Young
5d4042d6b0
Don't check edge cuts visibility when getting board bbox from edges.
Fixes https://gitlab.com/kicad/code/kicad/issues/6805
5 years ago
Jeff Young
acfbcb4beb
Make distinction between PCBNew-wide tools and Board-specific tools.
The old names were really hard to keep straight (even for me, who named
many of them).
5 years ago
Jeff Young
b1f0bf7334
More consistent naming.
5 years ago
Marek Roszko
9407e6dc83
Another set of color msgpanel items stripped
5 years ago
Marek Roszko
e88d41f764
Add bulk add/remove mode flag to the BOARD_LISTENER
This attempts to fix performance when importing large changesets from schematics.
The appearance control is a BOARD_LISTENER that would otherwise redraw per item imported which may cause lockups
5 years ago
Jeff Young
2f3f4c209e
Make sure DRC reports a missing board outline.
Fixes https://gitlab.com/kicad/code/kicad/issues/6481
5 years ago
Jeff Young
1391774f64
Re-factor boundary/courtyard checker error handling.
ADDED Footprint Checker dialog to display the results in.
Fixes https://gitlab.com/kicad/code/kicad/issues/6446
5 years ago
Jeff Young
b123318cf6
Encourage use of full DRC for board & footprint malformed outlines.
It shows much more detail. Removes some nag dialogs and places
hypertext links in others.
Also fixes the auto-layer-showing to correctly show Edge.Cuts or
F.CrtYd or B.CrtYd for errors relating to them.
Fixes https://gitlab.com/kicad/code/kicad/issues/6446
5 years ago
Jeff Young
18ad58cf4c
Replace legacy copper edge heuristics.
Fixes https://gitlab.com/kicad/code/kicad/issues/6435
5 years ago
Marek Roszko
16e3e59495
Split out arrayDim and MIRROR templates from macros.h
These were not macros
5 years ago
Jeff Young
7bd31d5237
Naming conventions.
5 years ago
Jeff Young
8bae52d1c3
Correct naming conventions.
5 years ago
Jeff Young
bdbb68f813
MODULE -> FOOTPRINT.
5 years ago
Jeff Young
3451ac3088
PCB_MODULE_T -> PCB_FOOTPRINT_T
5 years ago
Jeff Young
63a54d003e
More module -> footprint.
5 years ago
Jeff Young
52a46341db
More module -> footprint.
5 years ago
Jeff Young
f5443de7f9
D_PAD -> PAD.
5 years ago
Jeff Young
84dd5108ba
Remove some "class_" prefixes from files.
5 years ago
Jeff Young
f7333ad64a
Update some classnames including archaic zone names.
5 years ago
Jeff Young
56c57c4cca
Update marker view when setting excluded.
Fixes https://gitlab.com/kicad/code/kicad/issues/6254
5 years ago
Werni
a7d5d1f091
Add more consts all over the place
5 years ago
Marek Roszko
81a7afc76e
Use kicad_algo directly rather than common.h
5 years ago
jean-pierre charras
15369915cc
Minor code cleanup: move "extern" declarations to convert_drawsegment_list_to_polygon.h
5 years ago
Jeff Young
cce557b9ad
Redo the board-edge-building logic to return better error reports.
Fixes https://gitlab.com/kicad/code/kicad/issues/6119
5 years ago
Seth Hillbrand
f8a4edb1c9
First pass renaming module to footprint
This is mostly in comments and the few remainin text strings that
reference module
5 years ago
Marek Roszko
52a12c6ccd
Remove kicad_string.h from footprint_info.h
5 years ago