Marek Roszko
1ed4cd3644
Bump vcpkg for opencascade
3 years ago
Jeff Young
c5e7d800a4
Back out earlier diamond-to-rectangle fix for one that's more targeted.
(And doesn't fail qa_pcbnew.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14828
3 years ago
Jeff Young
4ea41174c3
Variable names and minor performance fixes.
3 years ago
jean-pierre charras
6eda60e503
Pcbnew: UI change: move layer selector from main toolbar to auxiliary toolbar
3 years ago
Jeff Young
4dda7d39ab
Tranform diamonds back to rects after rotating to a cardinal orientation.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14828
3 years ago
Seth Hillbrand
c33d1ab244
Don't dirty the item connectivity prematurely
Item connectivity changes once the elements are commited, not during the
process of moving.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14884
3 years ago
Mike Williams
d48858e298
LibTree: add numpad enter as enter
Written by Andrej Valek
3 years ago
Mike Williams
6e2bea8128
Symbol Fields Table: fix grid tricks show/hide column corruption
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/14874
3 years ago
Mike Williams
fb7925806c
Symbol Fields: allow hiding reference column
3 years ago
Alex
d945b76c65
Center calculator grid cells, sync font styles with fbp.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14743
3 years ago
Alex
26c25c5475
Move bitmap setup to ctor in eeschema annotation options.
3 years ago
Jeff Young
aafbbb4c63
Clean up includes.
3 years ago
Jeff Young
7a3a8b67c1
Exclude redraws during closing (particularly of RATSNEST_VIEW_ITEM).
3 years ago
Jeff Young
29aabcf77e
Naming clarity. No functional changes.
3 years ago
Jeff Young
f3d3ade1dc
Increased mutex safety.
Don't even query the size() without having at least a shared_lock.
*May* prevent KICAD-4S, but seems unlikely.
3 years ago
Marek Roszko
b41606ecf7
Use the correct printf format for the move individually status text
Fixes sentry KICAD-1ZT
3 years ago
Jeff Young
0091b9f897
Prevent Sentry KICAD-MM crash.
It'd be nicer to know what happens, but we don't have a reproducible
case, so this "fix" will at least prevent that particular crash.
3 years ago
Jeff Young
1528f4700c
Treat canvas item as current when tree view contains no selection.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/12702
3 years ago
Mike Williams
039f23eba8
Symbol Fields Table: check against data model col for grouping
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/14870
3 years ago
Mike Williams
bb6555ff36
Symbol Fields Table: remember export filename
https://gitlab.com/kicad/code/kicad/-/issues/14872
3 years ago
jean-pierre charras
9e6c56525a
EEschema, DIALOG_SYMBOL_FIELDS_TABLE: minor cosmetic fix
Fixes #14868
https://gitlab.com/kicad/code/kicad/-/issues/14868
3 years ago
jean-pierre charras
92018f0066
Fix minor compil warnings
3 years ago
Jeff Young
95d104ab65
Implement UI condition for search panel visibility.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14826
3 years ago
Jeff Young
2ffeca9f36
Formatting (no functional changes)
3 years ago
Seth Hillbrand
e4fe27993e
Fix wxCHECK_MSG in DRC
The layers check needs to look for testing against technical layers for
those vias that pass the outer layers
3 years ago
Jeff Young
9da66ccb58
Hack Mac icon buttons back to size.
It remains unclear to me how this *should* be going forward, but
this at least gets us back to the status quo.
3 years ago
Jeff Young
5875f89531
Centralize text size clamping.
Also introduces alg::clamp to improve readability of
std::max( min, std::max( value, max ) )
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14876
3 years ago
Jon Evans
1aff03eadb
Fix bitmap scaling for SPLIT_BUTTON
3 years ago
Jon Evans
8f69336ad1
Support DPI scaling in custom bitmap buttons
3 years ago
Wayne Stambaugh
bdee545841
Coverity warning fixes.
3 years ago
Seth Hillbrand
5756a7a0af
Prevent makeup events from contaminating the system
3 years ago
Seth Hillbrand
7f5d790610
Ensure we aren't trying to access a closed board
3 years ago
Seth Hillbrand
4bc0822733
Connectivity: Correct alias-based bus resolution
Aliases in bus resolution were being resolved without a path, making
them effectively global nets. This applies the corrected path to the
bus members and adds a QA to catch this error
3 years ago
Jeff Young
97cf7c874e
Handle Altium dimension angles and non-unit suffixes.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13751
3 years ago
Jeff Young
3c8d2bfca5
Assertion checking for hole/parent ownership mismatch.
(This mismatch is the root of the problem in issue #14852.)
3 years ago
Alex
df4fefeb20
Fix view shifting when infobar is shown.
3 years ago
Mike Williams
04532a61f4
Symbol Fields Dialog: don't change sheets on load
Late bind the range selection event so we don't lose our selection as a
result of loading data into the table, then jumping to the selected
value.
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/14186
3 years ago
jean-pierre charras
cb5c571d0d
Demos: update old action script to be compatible with current code
3 years ago
jean-pierre charras
9a47b34499
Replace PAD_SHAPE::RECT by PAD_SHAPE::RECTANGLE to avoid a collision NAME with a windows header on MSYS2, creating many compil warnings. No actual code change.
3 years ago
Mike Williams
0eb45a7f27
Schematic: symbol fields dialog: restore size, not min size
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/14861
3 years ago
Tomasz Włostowski
3c3517cc36
router: can't add a clone of a VIA's hole when adding the via to INDEX - this will result in bogus colliding objects
This commit partially reverts deb3cbf8 . VIA and SOLID operator='s introduced in it do a good job but the cloning of holes in addHole() causes bogus collisions.
3 years ago
Seth Hillbrand
fe62a3f985
Update Clipper2 to 9d946d7
Fixed a number of smaller issues as well as overlapping segment
cleaning.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14682
3 years ago
Wayne Stambaugh
d854e2bfe8
Schematic net navigator improvements.
Arrange connectivity items by sheet. Complex nets which span many
sheets make finding objects difficult. It also provides a higher
level of sheet view granularity.
3 years ago
jean-pierre charras
707b0becee
bitmap2component: fix incorrect min size of the main frame.
It was due to the fact the sizers were set without menubar, created later.
A dummy menubar is now added at frame creation, to allow sizers to be
correctly initialized.
Fixes #14859
https://gitlab.com/kicad/code/kicad/-/issues/14859
3 years ago
jean-pierre charras
db3cf4274b
Modify the order of an include to avoid a collision name with a windows
header that prevent Kicad build (msys2 specific)
3 years ago
Jeff Young
deb3cbf89b
Prevent use-after-free crashes by not fighting over who owns a HOLE.
The diff-pair placer creates DIFF_PAIRs on the stack, which have
VIAs in them, which have HOLEs in them. The HOLEs get put in the
NODE's index, and we then crash later when doing a collision after
the stack variable has gone out of scope.
The stack variable is also copied while doing a search for "best",
and without the operator= definitions the "best" and the "original"
both think they own the HOLE.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14852
3 years ago
Jeff Young
2300b0d2a3
Don't dim SCH_FIELDs when selecting them.
(They were only getting drawn on top of the selection shadow when
drawn by their parent symbol because LIB_FIELD was correctly
setting the view layers but SCH_FIELD was not.)
3 years ago
Marek Roszko
e536fa966c
Remove extraneous Pgm()
3 years ago
Marek Roszko
8eb265bf4c
Add a central assert handler that generates sentry events
3 years ago
Marek Roszko
c2d56eefb9
Fix blank symbol svg export file names
Fixes https://gitlab.com/kicad/code/kicad/-/issues/14857
3 years ago