Jeff Young
e8e0b07223
Honour on-the-fly language changes.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19773
11 months ago
Jon Evans
8903a82c50
Fix design block panel trampling symbol chooser settings
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19190
11 months ago
Jeff Young
577c1dd332
Also limit the number of search terms (as well as their length)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19464
11 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
12 months ago
Jeff Young
f7f86174a0
Make sure symbol editor prefs go in symbol_editor file.
(And same for footprint editor.)
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18905
1 year ago
Mike Williams
2c99bc6c6d
new feature: Schematic Design Blocks
Added to advanced config, default to off.
EnableDesignBlocks=1 in kicad_advanced to test
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/2263
2 years ago
Jeff Young
67a0253c66
m_filter is subtractive, and so must be run for each term
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18181
1 year ago
Alex Shvartzkop
ece46223c9
Fix shadowed/conflicting enum values.
2 years ago
Jeff Young
c828deee35
Sorting is not implemented on LIB_TREE columns.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/18101
2 years ago
aris-kimi
66bb49e2da
Silence some GCC warnings
2 years ago
Marek Roszko
d8343a97dd
explicit wx_str comparison
2 years ago
Jon Evans
0c2a084a47
Fix a few LIB_TREE search issues
Don't apply pruning to libraries that don't have
any children, since the point of the pruning is to
hide libraries that don't directly match a search
term if they don't have any children that match.
Fix searching for full LIB_IDs that got broken by
the implementation of "AND"
Fix searching for library names alone
Fixes https://gitlab.com/kicad/code/kicad/-/issues/17205
2 years ago
Alex Shvartzkop
41ffadc987
Use correct text color in LIB_TREE selected items on non-OSX.
(cherry picked from commit 6feafedfbe )
2 years ago
Jeff Young
2cd9fbab9d
Check known m_Desc field before m_Fields.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16971
(cherry picked from commit 25291d6e3a )
2 years ago
Alex Shvartzkop
fba6aaf0e8
Only height should be increased for LIB_TREE_RENDERER.
2 years ago
Alex Shvartzkop
ac59fae152
Fix cut-off library tree cell texts.
2 years ago
Seth Hillbrand
70a86c5caa
Specify conversion for MSVC
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
ecb7ac1da3
Lib Tree: don't always preselect in Already/Recently Placed
2 years ago
Jeff Young
df161c9886
Support parital matches for libraries.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16400
2 years ago
Mike Williams
c3d8fc4494
Symbol/Footprint Chooser: make columns resizable, sortable
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/16353
2 years ago
Jon Evans
2604854221
Make new lib tree highlighting dark-mode compatible
2 years ago
Jeff Young
d382a11c2a
Apply new on-canvas-item marking to footprint editor tree.
2 years ago
Jeff Young
afb050a67f
Header for non-MacOS builds.
2 years ago
Jeff Young
95dcf54d8d
New is-canvas-item highlighting.
2 years ago
Jeff Young
a4a946ab75
Clearer naming.
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
78e00ade7a
Clearer naming.
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
64c692a42e
Allow a:b to represent either lib:item_name or key:value.
Also changes the scoring algorithm to start at 0 and then increment
to 1 (the value that tells us to show, but not expand) only if the
search terms and lib filters are empty.
2 years ago
Alex Shvartzkop
9ed19192de
Improve editing values with {return} in text fields; Add hyperlink detection.
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
63c83b3aed
Remove dead code, and some formatting cleanup.
2 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
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
bc754df30f
Go back to winner-takes-all lib-tree scoring algorithm.
(Because we sort alphabetically there's no way to see
what the second-highest scored item was.)
3 years ago
Jeff Young
d01c023d5a
Retire the lib-tree scoring algorithm.
It appears to cause more confusion than help.
Fixes https://gitlab.com/kicad/code/kicad/issues/13905
3 years ago
Jeff Young
01564a254f
Make sure "Item" and "Description" end up in the translation database.
3 years ago
Jeff Young
eef3492fc0
Make symbol/footprint trees sensitive to language change.
3 years ago
Jon Evans
6cce99e0d0
Support showing Value field in symbol chooser
Fixes https://gitlab.com/kicad/code/kicad/-/issues/13527
3 years ago
Jeff Young
054649fa38
Formatting.
3 years ago
Jon Evans
375b530dad
ADDED: Column selection and reordering in symbol chooser
3 years ago
Jon Evans
f37086e840
Remove size handler that messes up column sizes
Could not reproduce an issue on wxGTK. If this causes problems
on other OS's, let's find a more appropriate fix
3 years ago
Jeff Young
8eb68ee472
Add pin/unpin context menu to Symbol Chooser and Footprint Chooser.
Also moves some more code down into common so it can be shared.
Fixes https://gitlab.com/kicad/code/kicad/issues/12384
3 years ago
Jon Evans
1520a1d372
Use cached untranslated header for looking up width
3 years ago
Jon Evans
e294fe2074
ADDED: Dynamic field columns in symbol chooser
CHANGED: Symbol chooser search now considers custom symbol fields
Visible columns can be controlled in database libraries.
In standard KiCad libraries, we show columns for all custom fields for now.
Customizable column visibility will be added in the future.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/11946
3 years ago
Seth Hillbrand
34a5a32a52
Prevent GTK from zero-ing out column size
Related to https://gitlab.com/kicad/code/kicad/-/issues/12180
3 years ago
Jeff Young
18ac169ac7
Add contexts to EDA_COMBINED_MATCHER.
3 years ago
jean-pierre charras
490875e222
Fix a missing call to aEvent.Skip() in commit 753f2f3.
Any wxSizeEvent handler must call Skip() to propagate the event.
3 years ago
Jeff Young
753f2f3e4c
Display descriptions in second column of library trees.
Also fixes some bugs in how the columns are sized.
Fixes https://gitlab.com/kicad/code/kicad/issues/12090
3 years ago