dsa-t
6cb690fe6b
Remove annoying tooltips in DRC/ERC dialogs.
(cherry picked from commit 58a76a2617 )
Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
7 months ago
Matt Kosman
0890d3f1cb
remove text angle reset when rotating multiple fields
The fields were properly rotated by field->rotate and don't need additional setting of the text angle.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19366
7 months ago
Seth Hillbrand
6f54b11431
Remove schematic view size limitation
We don't need to worry about scrollbar button sizes anymore, so we don't
need to limit the viewport size based on the page
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20594
(cherry picked from commit ff6bee400e )
7 months ago
Andrej Valek
069954fa31
SCH_EDITOR_CONTROL(paste): make the annotation working again
The pasteMode was enforced to UNIQUE_ANNOTATIONS and not respecting the
value in settings. Basically revert the old behavior with respecting the
KIID generation.
Fixes kicad/code/kicad#19828
7 months ago
Wayne Stambaugh
aa1dbcba34
Fix broken label position algorithm in Eagle schematic importer.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20593
7 months ago
Jeff Young
a24f7121d8
Don't show mandatory fields in chooser.
Those we want are already accounted for in the
scoring algorithm.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20541
7 months ago
Jeff Young
598d446a38
Simplify libTree scoring algorithm.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20610
7 months ago
Wayne Stambaugh
c810ef716d
Actually prevent recursion when building connection sub-graph.
Propagating to neighboring connections when not a net will cause an
infinite recursion crash. Use the wxCHECK2 instead of wxASSERT to
prevent this.
Add a bunch of question comments where the use of wxASSERT is questionable.
7 months ago
jean-pierre charras
e57bc3304f
DIALOG_SIM_MODEL: fix possible crash when no lib loaded (null pointer)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20599
7 months ago
Jeff Young
7232a98b65
Remove redundant performance changes.
(Alex had already moved these to const char, which
avoids wxString's c'tor.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20506
7 months ago
Jeff Young
1d45de0d1d
Performance.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20506
7 months ago
Jeff Young
98ec2d7ba2
ADDED: metadata searching.
Symbol and footprint search panels can now optionally
search library links, descriptions and keywords.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10602
7 months ago
Jeff Young
702d802b22
Show library info for components in search panels.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19721
7 months ago
Julien Serin
f381c6e846
Feat add table selection with shift+click
ADDED now user can use shift+click to select multiple cell in a table with two click
Fixes https://gitlab.com/kicad/code/kicad/issues/19878
7 months ago
Jeff Young
60364a9062
Performance improvements for hatched fills (round 2)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20570
7 months ago
Wayne Stambaugh
1176ff4a15
Use symbol line width schematic setting when printing and plotting.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20574
7 months ago
Lucas Gerads
82003c8660
Simulator: Error checks for parsing ngspice intermediate file
- verify that the string "Values:" is actually found
- catch exceptions while parsing
- error messages
8 months ago
Seth Hillbrand
bccf365380
Isolate thread pool loops
Now that we are threading things in different frames, we need to watch
that we are not waiting for a process to complete in one frame while
working in another. To accomplish this, we only wait for our own loop
results
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20572
7 months ago
Jeff Young
3def4afaec
ADDED: menu item to control searching of hidden fields.
Applies to both PCBNew & Eeschema search panels.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20370
7 months ago
Jeff Young
0659290417
Simplify hatch damage/rebuild and move it out of view.
There should be far fewer hatched objects than other
objects, so we're spending too much effort finding
all the possible damage when we probably should
just be auto-regenerating all the hatching.
This also moves it out of being done during redraw,
which was proving problematic. Plus the refill
zones architecture does it during commit, and has
a lot more miles behind it.
7 months ago
jean-pierre charras
9eea670617
SCH_TEXTBOX: Do not plot twice the textbox shape.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20545
7 months ago
Mike Williams
40058ebe80
actions: move all basic selection operations to common actions
7 months ago
Jeff Young
901ad3064d
Remove assert that fires when applying preset.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20467
7 months ago
Jeff Young
967bf1d0a1
m_root is not guaranteed to be non-null.
7 months ago
Mike Williams
05e9772d54
groups: extract common class methods into EDA_GROUP base class
7 months ago
Mike Williams
5fd294cad2
eda frame: hoist FocusItem calls up a layer
Prep for SCH_GROUPs
7 months ago
Mike Williams
43e432f9ad
sch_group: add basic class implementation + test
7 months ago
Jeff Young
a1fe0f7faf
Don't process grid-change events when we're rebuilding the grid.
The selection has already changed and it's too
late to update any values.
Also regularises the event.Skip() handling from
8a1347d2c8 .
7 months ago
jean-pierre charras
c8b57c50dc
DIALOG_SYMBOL_FIELDS_TABLE: fix a ugly look issue specific to wxMSW
The recent change use a two lines title in a widget. It works fine on Linux
and MAC, but is not supported on Windows.
So, on Windows, a one line title is used.
7 months ago
Wayne Stambaugh
d52d0d0aad
Don't clobber SCH_SCREEN paths when adding new sheet from existing file.
The screen path will always be the correct absolute path. Otherwise it
would not be possible to load it.
Don't reset the first sheet file path to relative if the user did not
request it.
Don't use results of a failed call to wxFileName::MakeRelative() to set
sub-sheet file paths.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20502
7 months ago
Jeff Young
14ca6e7b08
Clearer column titles.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20509
7 months ago
Jeff Young
582aef0220
Don't assume a hypertext link is a cross-sheet reference.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20511
7 months ago
jean-pierre charras
d729b34986
Eeschema, DIALOG_FIELD_PROPERTIES: fix a strange bug specific to wxMSW.
wxStyledTextCtrl, SetExtraAscent() + SetExtraDescent() methods, when set
to a value not 0 generate a strange bug: the text is not always shown
(when enter a char, once the text is shown, once the text is not shown)
(Perhaps a wxMSW bug) and this call is not needed on WXMSW
7 months ago
Jeff Young
408d3a0170
Code clarity.
7 months ago
Jeff Young
4783bc4cfd
Don't respond to net navigator events while we're updating the wxTreeCtrl.
7 months ago
Mike Williams
659c783e5e
API: unbreak the build (SwapData -> SwapItemData)
7 months ago
Jeff Young
7ba07a3bb0
Use action to change current sheet.
That way it gets into the navigation hierarchy,
the current zoom gets saved, etc.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20466
7 months ago
Mike Williams
c67924ccac
schematic: convert RunOnChildren to also take recursion mode argument
Prepping for SCH_GROUPS, making consistent with the PCB code.
7 months ago
Mike Williams
7cf699bc9d
eeschema: move SwapData to SwapItemData/swapData paradigm
Used by BOARD_ITEM to support groups, which we are adding to the
schematic. Also adds an unused group pointer for now.
7 months ago
jean-pierre charras
7bd4fa3fa6
Fix a Coverity and a compil minor warning
7 months ago
Jeff Young
34f12dc4be
ADDED: fieldname template reordering.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20420
7 months ago
Seth Hillbrand
2dfe4d4716
Cleanup noisy assert
When undoing the addition of a symbol to the schematic, the symbol does
not originally have a parent, so we can't find the current sheet in
order to find the correct pins. But we know the sheet in the undo list,
so we can just pass it in
7 months ago
Mike Williams
cdbf71a562
eeschema: remove old source file
7 months ago
Wayne Stambaugh
7bc1404956
Fix broken Eeschema QA test when building jumper connectivity.
Don't attempt to access the library symbol jumper pin information when the
symbol doesn't have a valid library symbol reference.
7 months ago
Jeff Young
4cd007cb6d
Don't cover STL types.
7 months ago
Jon Evans
1c83f0a70b
Implement jumpers for footprints
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2558
8 months ago
Jon Evans
805ca0c791
ADDED: Jumpers for symbols
Support explicit jumper symbols, defined either by a
flag that all pins with the same number are connected,
or by explicit groups of jumpered pins
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2558
8 months ago
Jeff Young
9c375581ff
Don't assert (or crash) on shutdown.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20433
8 months ago
Jeff Young
0d6838b803
Add support for mixed-state checkboxes in grids.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17730
8 months ago
Jeff Young
5e61a5193f
Fix misleading cast.
8 months ago