Seth Hillbrand
f24dba97f4
Block preview while menus are shown
When the user is navigating a drop down menu, they don't want the
preview window to pop over their screen. This glues between the
LIB_TREE and the frame to block these preview events
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19117
10 months ago
Seth Hillbrand
0b2d4d4879
Revise Copyright statement to align with TLF
Recommendation is to avoid using the year nomenclature as this
information is already encoded in the git repo. Avoids needing to
repeatly update.
Also updates AUTHORS.txt from current repo with contributor names
10 months ago
Jeff Young
753d385473
Reduce dependency on dynamic_cast.
Also switches to checking __clang__ instead of __WXMAC__.
11 months ago
John Beard
df5fe44839
sch_symbol.h doesn't need sch_lib_table.h
It doesn't even use the forward-declared
SYMBOL_LIB_TABLE.
Including this pulls in the whole richio system,
and sch_symbol.h is a very-included header.
Quite a few things do use SYMBOL_LIB_TABLE, but nowhere
near as many as use SYMBOL.
1 year ago
Alex Shvartzkop
5475359d00
More build time optimizations.
2 years ago
Wayne Stambaugh
33869dbb61
Symbol chooser dialog layout improvements.
2 years ago
Jeff Young
95136494b3
RIP LIB_PIN.
2 years ago
Jeff Young
d77eae3e7e
Collapse LIB_FIELD into SCH_FIELD.
2 years ago
Jeff Young
5abc7145da
Fold LIB_ITEM into SCH_ITEM.
2 years ago
Jeff Young
ae735d3eb4
Renaming: replace convert with body-style.
No functional changes.
2 years ago
Jeff Young
e549d7c0c6
Formatting and clearer variable names.
(No functional changes.)
2 years ago
Mike Williams
1700cad83b
Symbol/Footprint Chooser: remember open libraries
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/16383
2 years ago
Mike Williams
bf6e6d0e11
Symbol Chooser Panel: save settings
2 years ago
Mike Williams
5704b3f422
Symbol Chooser Dialog: forward chars to panel
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/16350#note_1694513334
2 years ago
Mike Williams
6f25399469
Symbol Chooser: sort Already Placed
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/16272
2 years ago
Jeff Young
b9daa073d4
Work around wxWidgets CHAR_HOOK issue.
2 years ago
Jeff Young
518be57516
Implement ESC processing for choose symbol dialog.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16271
2 years ago
Jeff Young
752d2d5295
Filter must return true for libraries.
Also fixes a bug where a single symbol library wasn't expanded
due to the presence of the "-- already placed --" and
"-- recently used --" pseudo-libraries.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16074
2 years ago
Jeff Young
72c985bc07
Rewrite scoring algo again. (Third time's the charm?)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16042
2 years ago
Jeff Young
a846e0219b
Improve comment.
2 years ago
Franck Jullien
c010c7b0ea
eeschema: add 'Already placed' category when choosing symbol
5 years ago
Jeff Young
06446bb80e
Only expand lib tree when filtering.
2 years ago
Jeff Young
fa11e9138d
ADDED support for pin and fp filtering in FOOTPRINT_CHOOSER.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/7176
2 years ago
Jeff Young
b592a6634e
Cleanup.
2 years ago
Jeff Young
974da4ea7c
Push most of DIALOG_CHOOSE_SYMBOL down into PANEL_SYMBOL_CHOOSER.
Includes a dialog wrapper (DIALOG_SYMBOL_CHOOSER) and a frame
wrapper (SYMBOL_CHOOSER_FRAME).
2 years ago
Marek Roszko
8c6899b0d3
Tear out the eeschema conditional compile of PROJECT
2 years ago
Jeff Young
e6b0a6abca
ADDED: lib tree previews.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2418
2 years ago
Jeff Young
cb003d8ab4
Don't count pins of both De Morgan variants when matching to footprint pads.
(And remove un unused variable from grid settings dialog.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15550
2 years ago
Jeff Young
df7d62fdd3
Added a sort-order dropdown to lib-tree filters.
Also simplifies the scoring algorithm so that it only
differentiates between exact-match, match-at-start and
any-match. The rest of the position-based matching
stuff is gone, as is the knowledge of the name vs the
keywords vs the description. All that is left to the
provider of the weighted search terms array.
3 years ago
Jeff Young
bc0d59801a
Graphical diff for schematic vs library symbols.
Fixes https://gitlab.com/kicad/code/kicad/issues/13736
3 years ago
Jeff Young
056349e5ea
Units for footprint preview widgets.
3 years ago
Jeff Young
833e76a0bc
KiCad standard is left-aligned checkboxes.
3 years ago
Jeff Young
67caebe4c4
When the sash button is right next to the fp dropdown they look related.
3 years ago
Jeff Young
a21d24a4c8
Experiment with loading recent searches into the search menu.
Fixes https://gitlab.com/kicad/code/kicad/issues/11743
3 years ago
Jon Evans
da9be1a812
ADDED: Multi-selection cut/copy/paste in symbol editor library tree
Fixes https://gitlab.com/kicad/code/kicad/-/issues/11505
3 years ago
Jeff Young
244042ce51
Keep footprint selection in Symbol Chooser history list.
Fixes https://gitlab.com/kicad/code/kicad/issues/1841
3 years ago
Jeff Young
31316760f6
Separate power and symbol saved search strings.
Fixes https://gitlab.com/kicad/code/kicad/issues/11747
3 years ago
Jeff Young
7f4f5f2882
Save and re-load query string in Choose Symbol dialog.
While this has been requested on its own, it's primarily done here
because wxWidgets decided to send a SEARCH_CANCEL from a wxSearchCtrl
when hitting <ENTER> if the search control holes the empty string.
This causes us to not do a symbol instert in the Chooser dialog.
Fixes https://gitlab.com/kicad/code/kicad/issues/10169
Fixes https://gitlab.com/kicad/code/kicad/issues/7699
4 years ago
Jeff Young
c3552a940a
Make sure standard OK/Cancel buttons respond to current language.
Fixes https://gitlab.com/kicad/code/kicad/issues/9635
4 years ago
Mikolaj Wielgus
5f53019290
Substitute all wxHtmlWindow with HTML_WINDOW
Remove other places where <body> tag is used to override the default
black-on-white theme.
4 years ago
Jeff Young
f606679164
Proper numeric sorting for intersheet refs.
Also expunges the horrifically named std::remove and std::remove_if
(neither of which remove anything).
4 years ago
Jeff Young
b84d1456d5
KIFACE_I -> KIFACE_BASE.
4 years ago
Wayne Stambaugh
1a301d8eea
Stop using wxDialog::EndModal() from inside dialogs.
Calling wxDialog::EndModal() directly from inside the dialog is a
potential bug if the dialog is shown in the modeless or window modal
(quasi-modal). Use the internal button events where possible and
check for the appropriate mode before calling the correct end dialog
function.
4 years ago
Wayne Stambaugh
cb72da294a
More NULL expunging.
4 years ago
Marek Roszko
759f0e9a75
Be sure to stop the timer during widget destruction
Also fix a comment elsewhere :D
Fixes #8772
4 years ago
Jeff Young
0dfb5fcaf9
Error message cleanup.
wxString::Format is redundant in a wxLogXXX call.
Error messages should generally be translatable.
Error messages should use generally consistent sentence forms.
4 years ago
Jeff Young
5c21f93803
Consistency in progress and error messages.
4 years ago
Wayne Stambaugh
ff099453c8
Rename class_library.[h|cpp] to symbol_library.[h|cpp].
4 years ago
Wayne Stambaugh
71c183d7bb
Rename LIB_PART to LIB_SYMBOL.
4 years ago
Wayne Stambaugh
fbc135e69f
Rename SCH_COMPONENT to SCH_SYMBOL.
4 years ago