Jeff Young
d3f57fac5a
Must assign extension to keep from stripping last '.' section.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20065
9 months ago
Jeff Young
0aa4f11970
Fix format string.
9 months ago
Jeff Young
f0c81e972f
Fix accidental ingoring of rotation angle.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20271
9 months ago
Mike Williams
18010b1104
selection: sort box selection by rows and columns by default
Some tools can take a selection order and it is nice to provide a
sane human-oriented default sorting when box selecting.
9 months ago
Mike Williams
7578439b0c
PCB editor: extend create array functionality to arrange existing items
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/19919
10 months ago
Jeff Young
0a3ddd33ee
Use ERROR_INSIDE for knockout text (and a 0 gap).
9 months ago
Jeff Young
824c7ecfa7
Improve readability.
Also drops a parameter that hasn't been implemented
since early 2022.
9 months ago
JamesJCode
24a8c2a684
Ensure PNS length tuning calculation uses correct layer ID context
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20372
9 months ago
Jeff Young
142f8265c5
Simplify (and fix) plated copper differentiation.
Also a few fixes for 3D rendering textboxes and
tables.
9 months ago
Wayne Stambaugh
8fa48c7be2
Fix Coverity issue #514495 .
https://scan8.scan.coverity.com/#/project-view/22886/10844?selectedIssue=514495
9 months ago
Wayne Stambaugh
47984b6793
Coding policy house keeping.
9 months ago
Wayne Stambaugh
4131089260
Fix Coverity issue #544154 .
https://scan8.scan.coverity.com/#/project-view/22886/10844?selectedIssue=543084
9 months ago
JamesJCode
4a99a3060d
Add new DRC expression function isMemberOfSheetOrChildren
This allows the multichannel tool to search for footprints that are in nested
hierarchical sheets.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20339
9 months ago
Jeff Young
6c97a40b8c
Attempt to fix lack of initialisation on GTK/MSW.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20050
9 months ago
jean-pierre charras
60f65e68c1
Step export: handle castellated pads.
Only pads having the fab property "Castellated" are handled.
9 months ago
Jeff Young
1848401d5b
Update layer per page.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20352
9 months ago
Jeff Young
dd921354fc
Cleanup.
9 months ago
Jeff Young
413d6747c5
Collapse SCH_TABLE border drawing into shared code.
Also pushes GetCornersInSequence() into EDA_SHAPE
so it can be shared between SCH_TABLE and PCB_TABLE.
Also fixes bug in drawing column rulings over the
right external border.
Also fixes a bug with dialog control enabling.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20350
9 months ago
Jeff Young
1333c4c305
Move layer arg parsing up so we can handle user-defined layer names.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18773
9 months ago
Jon Evans
77747aa41e
Use UI order for drill report stackup
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20069
9 months ago
Seth Hillbrand
676dd4ceec
Fix inheritance for git_common
Avoids repo type pointer issues when casting from void
9 months ago
Jeff Young
f9b19bbb5b
Fix is-same logic in updateFootprintParameters.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19988
9 months ago
JamesJCode
ede5faee72
Implement dynamic assignment of component classes
9 months ago
Seth Hillbrand
26c331a837
Adjust git handling
- Utilize scoped deletion for individual git_*_free() calls
- Protect against multiple usage when updating icons
- Reduce frequency of git update calls
9 months ago
Jeff Young
1ee3131e4a
Check silk/soldermask collisions in FP checker.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19707
9 months ago
Jeff Young
8894c470ef
Don't modify selection in the middle of a move/drag.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20239
9 months ago
jean-pierre charras
7f1b412203
plot mask layers: do not skip mask on track when solder mask min web is not 0
When solder mask min web is not 0, PlotSolderMaskLayer() uses GenerateLayerPoly(),
that skipped tracks (not updated since tracks can be on a mask layer)
9 months ago
jean-pierre charras
2210fc3518
minor compil warning fix
9 months ago
Jeff Young
3c32f4d31d
Refresh preview after rotate/flip/mirror during move.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19561
9 months ago
Jeff Young
e48a2b5ee4
Don't report non-meeting line-pairs.
We're called on each line pair, so a rect would otherwise
always report to failures for the two pairs of opposite
sides.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20326
9 months ago
dsa-t
18b5046fae
Fix Eagle PCB layers handling after v9 layer changes.
(cherry picked from commit 2bf369793c )
Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
9 months ago
Jeff Young
93ea523eec
De-duplicate table border drawing code.
Also cleans up a misconception about table header borders,
and renames the getter/setter to be clearer.
Also makes sure that table cells are updated when the table
layer changes.
And another bug where we were writing the grey color value
back to the cell for hidden cells.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20319
9 months ago
Zenn Geeraerts
d31eeb5c1b
Use case insensitivity when loading Altium files
Altium is case insensitive, so our match for internal names should be also
10 months ago
Seth Hillbrand
1c245ad01e
Be sure to clear hit cache
When re-running the DRC creepage check, we need to ensure that the
element-element hittest set is cleared to report the same errors again
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20048
9 months ago
Seth Hillbrand
96794e94e3
Correct layerset calls
The Board layerset (because BOARD is a BOARD_ITEM) should return the
layers that the board contains instead of just the F.Cu. This assigns
the common function to map to the board-specific functions
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20317
9 months ago
Jeff Young
6df9c90440
Add textOnEdgeCuts to global DRC items list.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20308
9 months ago
jean-pierre charras
ccc396a6c2
BOARD::BulkRemoveStaleTeardrops(): fix bug that prevent removing a teardrop.
When a teardrop is the first zone (or the only one) in list (i.e. last tested)
it was ignored, and therefore not removed.
9 months ago
Jeff Young
b7ef57a97d
Apply Damjan's rotated table fixes to PCB_TABLE::GetEffectiveShape().
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20143
9 months ago
Jeff Young
459cf030b8
Don't disable first internal layer in footprint editor.
It's used as a proxy for all internal layers.
Also fixes LAYER_RANGE_ITERATOR so that it works with an odd
number of copper layers.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20246
9 months ago
Jeff Young
31b788c04f
Add a bit of protection from integer overflows.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19660
9 months ago
Jeff Young
b11b1a6f72
Ease in a bit more fmt::format().
9 months ago
Jeff Young
b569d919ea
No more invisible (non-field) text.
9 months ago
Jeff Young
567da3de91
Tables support for router.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20295
9 months ago
Jeff Young
6ac64d290b
Check parent footprint as well for component class.
Also output more descriptive text when checking inherited
rules on parent footprint.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20281
9 months ago
Lucas Dumont
3ddaa24775
Change deleting for-range loop to while loop
It seem that the iterator may be invalidated in the loop.
By always taking the first element and looping until empty, we avoid the issue
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20283
9 months ago
Tomasz Wlostowski
c05cc345f3
multichannel: possible fix for ghosting footprints when using grouping
9 months ago
Tomasz Wlostowski
b1bf5127fa
connectivity: treat empty FPIDs as matching in TOPO_MATCH
9 months ago
Tomasz Wlostowski
8192ba73d9
connectivity: TOPO_MATCH now orders reference components by the lowest matching candidate count.
This heuristic seems to make the algorithm reject non-isomorphic mappings much earlier on and converges faster on a solution for typical circuits.
9 months ago
Tomasz Wlostowski
91ee987cfe
connectivity: TOPO_MATCH now prioritizes component candidates by the ratio of matching pad nets.
This improves cloning of circuits with numerous of matching component mappings (e.g. LED matrices) by
taking preference for mappings with same order of net connections.
9 months ago
Jeff Young
a468c486eb
DRC for tables. (And some fixes for dimensions.)
9 months ago