Jon Evans
720147d272
Remove transitive inclusion of bitmaps.h
5 years ago
Seth Hillbrand
c15a9e60d4
Used cached footprints without check in preview
Between the time the user loads the footprint preview in cvpcb or Add
Footprint in pcbnew, we don't need to verify cache integrity to display
the footprint. We use the cache copy when displaying until we close the
selection window and re-open. This limits our need to iterate over the
full directory on every footprint display.
Alternate solutions for v7 should include looking into libfswatch for
change detection
5 years ago
Seth Hillbrand
d3cf97847e
Fix missing change for GetPath()
GetPath() returns the sheetpath for each component. The component KIIDs
for all units are stored in m_kiids, reachable by GetKIIDs(). We no
longer assume a single unit for the component but store all units in the
single COMPONENT for matching reference
Fixes https://gitlab.com/kicad/code/kicad/issues/7658
5 years ago
Jeff Young
66b33834b5
Always enable save; move dirty bit to asterisk in title bar.
Also unifies PCB Editor and Schematic Editor names with other
locations in the GUI (which were still Pcbnew and Eeschema).
Fixes https://gitlab.com/kicad/code/kicad/issues/7587
Fixes https://gitlab.com/kicad/code/kicad/issues/7594
5 years ago
Seth Hillbrand
8c2fe42ef0
More Undo/Redo Cleanup.
Don't need the reference point or container action type. Clearing this
command signatures to prevent future confusion/use
5 years ago
Wayne Stambaugh
5ecef204cd
Coding policy fixes.
Using "this->" violates coding policy section 2.7.
5 years ago
Michael Kavanagh
0551c98a99
Remove incorrect icon
5 years ago
Jeff Young
e5c051b403
Rewrite CVPCB copy/paste to not need to know about menu vs keyboard.
Fixes https://gitlab.com/kicad/code/kicad/issues/6602
5 years ago
Roberto Fernandez Bautista
9aedeae5c3
Don't log error messages when using the clipboard
wxClipboard::GetData()and wxClipboard::SetData() both log a "wxLogSysError" error-level message (see for example: https://github.com/wxWidgets/wxWidgets/blob/v3.1.4/src/msw/clipbrd.cpp#L703 ). This logged message gets displayed as a messagebox to the user.
The logging can be disabled temporarily by creating a wxLogNull object. See https://docs.wxwidgets.org/3.0/classwx_log_null.html
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6956
5 years ago
Wayne Stambaugh
4619d5e112
Fix more broken Doxygen comment specifiers.
5 years ago
Seth Hillbrand
8de9cff4e0
Change environmental variables to human-readable
Versions specific variables that may point to objects that change
through versions, allowing multiple KiCad versions to operate correctly
(even on MSW) on the same machine.
5 years ago
Michael Kavanagh
7081f6d715
Icons: Remove unused sources
mw_toolbar button has been replaced by toolbar palettes
auto_associe replaced by auto_associate in new set
5 years ago
Jeff Young
6b420b191a
Use color theme backgrounds in page previews.
Also includes a *lot* of const fixing to make it happen.
Fixes https://gitlab.com/kicad/code/kicad/issues/6811
5 years ago
Jeff Young
47ea51ec34
Allow both aui-manager-based infobars and window overlay infobars.
5 years ago
Jeff Young
1c0d4ac02d
Simplify some error messages.
5 years ago
Jeff Young
bb232e6ac6
Unify LIB_IDs now that both are stored in sexpr files.
Fixes https://gitlab.com/kicad/code/kicad/issues/6764
5 years ago
Jeff Young
5b22cef984
Associate -> assign in the context of footprint assignments.
Fixes https://gitlab.com/kicad/code/kicad/issues/6708
5 years ago
Jeff Young
73b7b104cd
Fix some issues with Infobar sizing.
This also commits to the new strategy as it wasn't really compatible
with if-def-ing anymore.
5 years ago
Jeff Young
7f8faffa3a
Trim down ever-expanding context menu.
5 years ago
Jeff Young
9c7c05c161
Mostly formatting cleanup but a few type-casting cleanups too.
5 years ago
Jeff Young
a207bd97bb
Naming conventions.
5 years ago
Wayne Stambaugh
c7926db553
More minor dialog layout improvements.
5 years ago
Jeff Young
d094f86b1a
Finish module cleanup (except for xpms).
5 years ago
Jeff Young
bdbb68f813
MODULE -> FOOTPRINT.
5 years ago
Jeff Young
84dd5108ba
Remove some "class_" prefixes from files.
5 years ago
Jeff Young
4dc877d0e9
Module -> Footprint.
5 years ago
Jeff Young
bfd8a62852
Formatting and naming conventions.
5 years ago
Ian McInerney
3d47eb0d49
Fix localization of the menu strings with accelerator strings
The accelerator strings really shouldn't be part of the translation,
and some translations have cause the accelerator keys to be incorrectly
handled. It is simpler to make it separate and just join them to the
translated string.
Make all accelerator modifiers use lowercased Ctrl instead of CTRL
to be the same as the other modifiers.
Fixes https://gitlab.com/kicad/code/kicad/issues/5992
5 years ago
Seth Hillbrand
9ed6cdd943
Remove GITHUB plugins
KiCad github downloads are no longer supported
Fixes https://gitlab.com/kicad/code/kicad/issues/6182
5 years ago
Ian McInerney
6bd3b0afa4
Various Coverity fixes
5 years ago
Marek Roszko
14c18b7e64
Move ui functions out of common and into ui_common
5 years ago
Marek Roszko
e49ac45b84
HTML_MESSAGE_BOX is a dialog
5 years ago
Marek Roszko
a785f70ea1
msgpanel is a widget, shove it to the right folder.
5 years ago
Seth Hillbrand
f8a4edb1c9
First pass renaming module to footprint
This is mostly in comments and the few remainin text strings that
reference module
5 years ago
Seth Hillbrand
661e85d705
Standardize "Key words" to "Keywords"
5 years ago
Marek Roszko
a1c75748a0
Remove GetChars(), a wxWidgets 2.9 compatibility hack
5 years ago
Jeff Young
90da5fccbd
Disambiguate backannotation (Update Schematic from PCB) from Cvpcb.
5 years ago
Mark Roszko
a8bd0a9b84
Handle Windows manifests ourselves and add dpi awareness option
5 years ago
Jeff Young
0c75a09bde
Remember pane widths in CvPcb.
Fixes https://gitlab.com/kicad/code/kicad/issues/5708
5 years ago
Mark Roszko
d9485129c8
Implement more context specific cursors using both stock and custom cursors.
5 years ago
Ian McInerney
43c14face0
Switch to showing metric/imperial units in comboboxes and menus
This will always show 1 unit from each system, with the primary unit
being the current frame unit and the secondary unit being the
most recent unit used from the other system. These are saved in
the settings, so they are saved between runs.
5 years ago
Ian McInerney
b1bd1f2a97
Introduce new action to switch to mils as a unit
5 years ago
jean-pierre charras
87a220b8e2
more cleanup about removing useless include
5 years ago
Ian McInerney
78c43158f4
Annotate the board class with if it is for a footprint edit/view
6 years ago
Ian McInerney
fc565edb33
Add a palette to the toolbars to display groups of actions
This adds a palette to toolbar items that displays groups
of actions when long-pressed on a button.
5 years ago
Seth Hillbrand
e840ac1c0c
Adding pledit and cvpcb zoom to fit
5 years ago
Seth Hillbrand
173b4ff588
Add snapping to eeschema
This generalizes both the SetPosition() function and ORIGIN_VIEWITEM
class away from the pcbnew-centric.
5 years ago
Roberto Fernandez Bautista
3b3af5327f
CADSTAR PCB Archive Importer: Move code into common/plugins and pcbnew/plugins folders
5 years ago
Roberto Fernandez Bautista
86bf592bac
ADDED: CADSTAR PCB Archive Importer
Initial commit
- Imports directly mappable layer stackup (only physical board fabrication layers for now)
5 years ago
Jeff Young
06ccef3dd4
Update all instances in CvPcb when one is changed.
5 years ago