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
Jeff Young
7b05e456cc
Bug fixes for multiple symbol instances in complex hierarchies
1) use SCH_COMPONENT::GetRef(), GetValue() and GetFootprint() when
instance-specific info is needed
2) update UpdateAllScreenReferences() to handle value and footprint.
3) BACKANNO is CvPcb's handler, not back annotation's handler. Which
means it needs GUI behaviour, not back annotation behaviour.
Fixes https://gitlab.com/kicad/code/kicad/issues/5520
5 years ago
Ian McInerney
f28b60896c
Allow toolbar items to cancel tools when pressed
There was a regression in v6 where the zoom to selection toolbar
item wasn't canceling the tool when pressed and the tool was active
(it was in v5). This implements a more generic framework for canceling
tools on button presses.
Fixes https://gitlab.com/kicad/code/kicad/issues/5103
5 years ago
Mark Roszko
9f128f942c
Move shutdown blocker to kiplatform
5 years ago
Jeff Young
2697fc3864
Remove canvas-switching from OSX.
The Cairo renderer doesn't work on Retina displays.
Fixes https://gitlab.com/kicad/code/kicad/issues/4788
5 years ago
Mark Roszko
1082402b33
Convert UNDO_REDO_T to an enum class
5 years ago
Mark Roszko
89e74140eb
Save file / window states for kicad project locally
5 years ago
Thomas Pointhuber
a03fb7a9a8
Altium: Refactor and add initial structure for schematic importer
altium: move pcbnew/altium2kicadpcb_plugin -> pcbnew/plugins/altium
See: https://gitlab.com/kicad/code/kicad/-/issues/4412
5 years ago
Wayne Stambaugh
ede39780e2
Remove all debugging output that cannot be disabled.
The use of printf, wxLogDebug, and std::err/std::out causes excessive
debugging output which makes finding specific debugging messages more
difficult than it needs to be.
There is still some debugging output in test code that really needs to
be moved into a unit test.
Add debugging output section to the coding policy regarding debugging
output.
5 years ago
Ian McInerney
4491f24d5e
Ripout the old SyncToolbars infrastructure reminants
The tool framework no longer needs to request updates of the UI
state for the controls, wxWidgets will do it for us.
5 years ago
Ian McInerney
e8b11c911e
Migrate Pcbnew/footprint viewer/footprint editor to the new UI update system
5 years ago
Ian McInerney
fd4388710d
Migrate eeschema, libview and libedit to the UI condition framework
Also, fix some issues in other frames identified along the way.
5 years ago
Ian McInerney
45fb030b9b
Rename and shorten the names in ACTION_CONDITIONS
5 years ago
Ian McInerney
3b05d7cddd
Move more frames to the new UI condition framework
* Frames moved: cvpcb, cvpcb footprints frame, gerbview, pagelayout editor
This also introduces new EDITOR_CONDITIONS that are used to set the
conditions of very common editor settings.
Also, some IDs were converted to tools in the pagelayout editor.
5 years ago
Ian McInerney
4c535c160c
Set the about program name for cvpcb
5 years ago
Ian McInerney
5c7a43b939
Remove unused CMake from cvpcb
5 years ago
Seth Hillbrand
e19a7910f8
Revert "Revert "Set DoubleBuffering to reduce flicker""
This reverts commit c18cab6154
.
5 years ago
Jeff Young
7340c97ef9
Undo for schematic-wide operations.
Editing value/footprint fields of multi-unit components.
Find/Change.
Annotation.
Back annotation.
Fixes https://gitlab.com/kicad/code/kicad/issues/2122
Fixes https://gitlab.com/kicad/code/kicad/issues/4869
Fixes https://gitlab.com/kicad/code/kicad/issues/3933
Fixes https://gitlab.com/kicad/code/kicad/issues/4871
Fixes https://gitlab.com/kicad/code/kicad/issues/3899
5 years ago
Seth Hillbrand
c18cab6154
Revert "Set DoubleBuffering to reduce flicker"
This reverts commit 106259f6e6
.
In its place, we set double buffering to only menubars in an attempt to
find a soluton to #4785
Fixes https://gitlab.com/kicad/code/kicad/issues/4863
5 years ago
Jeff Young
9806d846b2
Remove redundant Text Filter toggle icon and fix <Enter>.
(Enter in the filter textbox should execute the search, not close
the dialog.)
Fixes https://gitlab.com/kicad/code/kicad/issues/4768
5 years ago
Jon Evans
c0aa6965de
Migrate PcbNew project settings to new framework
Various architecture upgrades to support this.
Creating a BOARD now requires a valid PROJECT, which caused
some (mostly transparent) changes to the Python API internals.
ADDED: Project local settings file
CHANGED: Board design settings are no longer stored in PCB file
CHANGED: Net classes are no longer stored in PCB file
CHANGED: Importing board settings now reads boards, not just projects
Fixes https://gitlab.com/kicad/code/kicad/-/issues/2578
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4070
5 years ago
Jon Evans
0e2f9cb1bd
Migrate CvPcb project parameters
5 years ago
Ian McInerney
fb10406e67
Add right-click context menus for toolbar items
5 years ago
Ian McInerney
52856a8ce4
Move scaled toolbar separator into ACTION_TOOLBAR
* Ensure all separators are scaled separators
* Clean up toolbar creation functions
5 years ago
Jeff Young
ad12c42e8b
Push grid settings dialogs down into common.
This also gives support for fast grid switching and a user grid
to eeschema.
Fixes https://gitlab.com/kicad/code/kicad/issues/2200
5 years ago
Jeff Young
c48f4272f3
Collapse a level out of the zoom settings.
The APP_SETTINGS_BASE now holds the list of zoom factors, and
the old legacy (screen-based) code has been removed.
5 years ago
Jeff Young
f84406009b
Push a couple of layers of indirection out of grid settings.
5 years ago
Ian McInerney
9d0ea66a96
Don't use the accelerator table in the menubars
It seems that the accelerator table causes issues with
keyboard events on MSW.
Fixes https://gitlab.com/kicad/code/kicad/issues/1941
5 years ago
Ian McInerney
4357c1d3b3
Coverity and compiler warning fixes
* Initialize variables
* Test dynamic casts
Fixes https://gitlab.com/kicad/code/kicad/issues/4620
5 years ago
Ian McInerney
bcd5d7f22e
Fix include path
5 years ago
Jeff Young
0ddf53397f
Make sure CvPcb gets its Cancel button fixed up.
It's no longer a DIALOG_SHIM so it can't depend on its fixup.
Fixes https://gitlab.com/kicad/code/kicad/issues/4611
5 years ago
Ian McInerney
a074b32615
Move cvpcb DISPLAY_FOOTPRINTS_FRAME loading error handling to a reporter
5 years ago
Jeff Young
fa2f396a7c
Cleanup.
5 years ago
Jeff Young
d99febba6c
Treat sketch mode module items and board items the same.
5 years ago
Jon Evans
28a4813c71
Force footprint viewers to have a cursor
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4528
5 years ago