jean-pierre charras
e73dd40f26
APPEARANCE_CONTROLS: fix incorrect behavior of Preset layers widget:
In non English languages, the selection of a previous choice was broken
due to the fact fixed (read only) presets have a English name, but the
UI list uses translated names, so the actual selection was not correctly
displayed.
3 years ago
Jeff Young
aad85a83da
Improvements to rotation/mirroring of dimensions inside footprints.
Fixes https://gitlab.com/kicad/code/kicad/issues/11861
3 years ago
Jeff Young
23e8bafd9c
Don't run courtyard conflicts in footprint editor.
3 years ago
Miklos Marton
426c46abb1
pcbnew: pad editor UI fixes
When editing a pad with circular hole the Y dimension is hidden
and Diameter is shown instead of Size X when opening the properties
of an existing pad.
Adjusted Pad shape: label to be vertically aligned to the pad shape
combobox.
3 years ago
jean-pierre charras
6679decc8d
Fix syntax issues in footprint wizards
Fixes #11867
https://gitlab.com/kicad/code/kicad/issues/11867
3 years ago
Jeff Young
048f277b1e
Don't reset Footprint Tests Run if the board didn't change.
Fixes https://gitlab.com/kicad/code/kicad/issues/11844
3 years ago
Jeff Young
d69e3fdb5e
Specify a winding for Hyperlynx arcs.
I can't test it, so it's a 50:50 guess. We may need to flip the
test....
3 years ago
Jeff Young
298edb09c3
Initialize TEXT_ATTRIBUTES justifications for text & textboxes.
Fixes https://gitlab.com/kicad/code/kicad/issues/11805
3 years ago
jean-pierre charras
9db907cc70
pcbnew, plot footprint: fix typo that prevent ploting dimensions
Fixes #11860
https://gitlab.com/kicad/code/kicad/issues/11860
3 years ago
jean-pierre charras
d19705ac8c
FOOTPRINT::Flip(): add missing handle of dimensions.
3 years ago
jean-pierre charras
c8ce01ce8e
pcb_parser: fix an incorrect CHECK_MSG when parsing a dimension in a footprint.
this incorrect CHECK_MSG created a crash.
Fixes #11859
https://gitlab.com/kicad/code/kicad/issues/11859
3 years ago
Jeff Young
73836b50fc
Add proper collision test to via placer.
Also moves DISALLOW constraint processing outside the loop as it
performs it's own loop over any objects referenced by the rules.
Fixes https://gitlab.com/kicad/code/kicad/issues/11832
3 years ago
Jeff Young
801a98a302
Don't clear marker counts when closing DRC dialog.
Fixes https://gitlab.com/kicad/code/kicad/issues/11844
3 years ago
Jeff Young
231ac567b8
Bug fixes for printing vias.
Blind/buried and microvias didn't get their layers trimmed properly,
nor did through vias with dropped pads.
Fixes https://gitlab.com/kicad/code/kicad/issues/11851
3 years ago
Jeff Young
82ebc247b8
More performance enhancements for DRC.
3 years ago
Jeff Young
5da817649b
Fix nullptr bug.
3 years ago
Jeff Young
97b0005780
More caching for DRC.
Also fixes a bug where some physical clearance tests would be run even
if the clearance was 0 (or if the rule was set to IGNORE).
3 years ago
jean-pierre charras
f20cb0fda8
Activate teardrops: remove advanced config option and add teardrop keywords in files. (the ability to read teardrop keywords was added some time ago)
3 years ago
Miklós Márton
b912bef2f6
pcbnew: Display Diameter when circular shape selected in pad editor
3 years ago
Fabien Corona
bd8f0ae81a
Ibis: Fix coverity issues
3 years ago
Seth Hillbrand
4043dca613
Push wxString allocation to smaller context
Prevents creation of new wxString on stack for each clearance check
3 years ago
Seth Hillbrand
359d66bc81
Protect against invalid pads
Before dereferencing the front of the sequence, we have to ensure that
the pad exists on any layer. If not, just return the default (probably
F_Cu) for the element
3 years ago
Seth Hillbrand
5327b10064
Remove shared wxString instance in DRC
Threaded DRC access will write to this string, re-allocating the memory
without any synchronization between threads using the string. Comment
adding this listed performance as a reason for using shared strings.
Measured performance does not seem noticeably different in either case,
even with high-error count boards. If there is a case where the
performance is limiting, we can replace these wxStrings with
std::wstring and utilize fmt
Fixes https://gitlab.com/kicad/code/kicad/issues/9888
3 years ago
Jeff Young
d40664d171
Handle double-click in dimension drawing tool.
Fixes https://gitlab.com/kicad/code/kicad/issues/11815
3 years ago
Jeff Young
5e80e2a421
58f553a9ca requires that cache be layer-sensitive.
Fixes https://gitlab.com/kicad/code/kicad/issues/11814
3 years ago
Fabien Corona
bf62d6e9ee
Ibis: Coverity issues
3 years ago
jean-pierre charras
9fd5ee5a2f
paper min size set to 1 inch (previously 0.1 inch, very small indeed)
Avoid using magic numbers in file pcb_parser.cpp.
Fixes #11807
https://gitlab.com/kicad/code/kicad/issues/11807
3 years ago
Jeff Young
52bc2511cd
Add a radioButton mode to IMAGE_BUTTON.
Fixes https://gitlab.com/kicad/code/kicad/issues/11797
3 years ago
Marek Roszko
87f10ea206
Split off the netlist export content helper but it's advancedcfg
3 years ago
Marek Roszko
cb44d97ed4
Update pcbnew to the new filedlg customize
3 years ago
Jon Evans
e5ece4e460
ibis_parser: fixes to build on MSVC
Use stringstream instead of C arrays for formatting std::string
std::isnan(int) is invalid
Also fix a few report severities that seemed inconsistent
3 years ago
Jeff Young
9b70308f5c
Nullptr defensive code.
Fixes https://gitlab.com/kicad/code/kicad/issues/11690
3 years ago
Jeff Young
4f3cfdc92e
Clang says nan and isnan aren't in std namespace....
3 years ago
Jeff Young
f22cf1cc3a
Fill in missing bits of LAYER variable for printing/plotting.
Fixes https://gitlab.com/kicad/code/kicad/issues/11788
3 years ago
Seth Hillbrand
20f4e62176
Rename signalIntegrity to ibis
We do not use camelCase in KiCad
3 years ago
Tomasz Wlostowski
f5fe1d5462
router: another attempt at improving 'kink' robustness of the hull generator
3 years ago
Fabien Corona
0d35d69f70
ADDED: Read IBIS files
3 years ago
Seth Hillbrand
ac0f95683f
Sort PCAD layers
Better fix for 11750. Instead of figeting with layer values, we sort
our map based on the layer numbers in the PCAD file. F_Cu is always
layer 1 and B_Cu is always layer 2.
Fixes https://gitlab.com/kicad/code/kicad/issues/11750
3 years ago
Seth Hillbrand
e857622dd4
Handle B_Cu ordering
Stopgap until we introduce multi-layer mapping widget
Fixes https://gitlab.com/kicad/code/kicad/issues/11750
(cherry picked from commit 32aabaf010 )
3 years ago
Seth Hillbrand
124bdb6673
Check for older tags in pcad import
The pourOutline/planeOutline do not include support for fillets
Fixes https://gitlab.com/kicad/code/kicad/issues/11749
(cherry picked from commit 72b7f9fe10 )
3 years ago
Jeff Young
f2c26ae528
Formatting.
3 years ago
Tomasz Wlostowski
56df462474
router: fix SegmentHull() corner case when it 'chamfers' more than the clearance permits (corner case for 0-length segments, which we use
for representing holes)
3 years ago
Tomasz Wlostowski
990281a897
router: use either copper or hole clearance, whichever is larger, when checking track -> hole collisions
3 years ago
Tomasz Wlostowski
4192c0a709
router: move IsFlashedOnLayer to the IFACE_BASE class so that it can be used in the debugger tool
3 years ago
Tomasz Wlostowski
bcfe12ce47
router: improvements in robustness of SegmentHull()
- ensure the 'chamfer' radius and clearance is rounded before computing the actual hull vertices
- for small, non-45 degree line segments (present in many boards), generate a slightly larger but still axis-aligned 45 degree hull instead of following exactly the segment direction
3 years ago
Tomasz Wlostowski
e90ab055b9
router: remove unused LINE::Is45Degree()
3 years ago
Jon Evans
dc6c27b686
Don't wipe out visibility state when changing layer count
(cherry picked from commit 7053981835 )
3 years ago
Jon Evans
30fb298ed3
PNS: Re-enable hole clearance for non-flashed pads/vias
Fixes https://gitlab.com/kicad/code/kicad/-/issues/11098
3 years ago
Jon Evans
23596812b6
PNS: Implement HoleHull for VIA
3 years ago
Jeff Young
bf71cada4e
ADDED: User viewports for 3D viewer.
Fixes https://gitlab.com/kicad/code/kicad/issues/5724
3 years ago