Jeff Young
d24a2afaca
Fix duplicate to work like paste to keep pins from getting duplicated.
Also fixes the post-duplicate move to start at the cursor pos.
Also fixes the fact that duplicate wasn't getting its hotkey.
Fixes: lp:1830596
* https://bugs.launchpad.net/kicad/+bug/1830596
7 years ago
Jeff Young
927d2a645c
Move LibEdit Save operations to ACTIONS.
7 years ago
Jeff Young
323bb0f8e1
Moving PageLayout editor to GAL canvas and modern toolset.
7 years ago
jean-pierre charras
f18807ea0f
Eeschema: Ensure axis are always drawn in libedit and viewlib
Fixes: lp:1822408
https://bugs.launchpad.net/kicad/+bug/1822408
7 years ago
Jeff Young
7d9a0b06e0
Push help menu down into EDA_BASE_FRAME.
7 years ago
Jeff Young
38cdafd407
Remove vestiges of legacy BLOCK architecture from eeschema.
7 years ago
Jeff Young
fbb807f3bb
Move some more menu & toolbar items to modern toolset.
7 years ago
Jeff Young
69afa27a5f
Implement ACTION_TOOLBAR and update some of the menus to ACTION_MENU.
This gives us better separation of MVC in line with the design of
the modern toolset. It also reduces a whole bunch of duplicated
data.
7 years ago
Jeff Young
f9e4ee1fc9
CONTEXT_MENU -> ACTION_MENU. (Now used for menu-bar menus too.)
7 years ago
Jeff Young
e850592587
Cleanup.
7 years ago
Jeff Young
ef5c69167a
Start moving some LibEdit and SchEdit menubar menus to actions.
Also includes a bunch of bug fixes that got intermingled.
Fixes: lp:1828826
* https://bugs.launchpad.net/kicad/+bug/1828826
Fixes: lp:1828826
* https://bugs.launchpad.net/kicad/+bug/1828826
Fixes: lp:1828793
* https://bugs.launchpad.net/kicad/+bug/1828793
7 years ago
Wayne Stambaugh
3c4f8c1bf7
Fix frame name capitalization in all about dialogs.
This is a stop gap fix. It should be possible to use the wxFrame title
string for this but some of the frame windows have appropriated the title
string for configuration file naming purposes which is less than ideal.
Fixes lp:1825977
https://bugs.launchpad.net/kicad/+bug/1825977
7 years ago
Jeff Young
f602ccd814
Insert EE_TOOL_BASE under SchEdit and LibEdit tools, and fix errant rename scope which clobbered PCBNew's PICKER_TOOL.
7 years ago
Jeff Young
5c39521149
Move Symbol Properties and Pin Table to actions.
Fixes: lp:1804273
* https://bugs.launchpad.net/kicad/+bug/1804273
7 years ago
Jeff Young
7995b5cc3c
Restore selection on abort and undo/redo.
Also includes a related bug fix to not create an undo record for
the initial schematic cleanup.
Fixes: lp:1825975
* https://bugs.launchpad.net/kicad/+bug/1825975
7 years ago
Jeff Young
9cc3d6764f
fixup! Fix some legacy set-to-idle statements.
7 years ago
Jeff Young
5e08be7018
Fix some legacy set-to-idle statements.
7 years ago
Jeff Young
792c4328aa
Cleanup.
7 years ago
Jeff Young
0c2ba94b16
More sharing between SchEdit and LibEdit.
7 years ago
Jeff Young
c1539ae014
Naming changes to reflect sharing between SchEdit and LibEdit.
7 years ago
Jeff Young
ea0941cab3
Implement modern tools for LibEdit.
7 years ago
Jeff Young
40f41133b3
Move Circle, Arc, Rectangle and PolyLine tools to modern toolset.
7 years ago
Jeff Young
469231ae15
Move Pin, Symbol Text and Symbol Anchor to modern toolset.
7 years ago
Jeff Young
cd2bd23c37
Fix a bunch of issues with hotkeys, IDs and event processing.
Fixes: lp:1827894
* https://bugs.launchpad.net/kicad/+bug/1827894
7 years ago
Jeff Young
207900e4f9
Move libedit message panel updating to the Inspection Tool.
7 years ago
Jeff Young
a12d769074
Code clarification and commenting.
Also renames toolbar files to reduce confusion with the modern toolset
tool files.
7 years ago
Jeff Young
8e75824d29
Use selection tool for locateItem.
7 years ago
Jeff Young
f87d371b8b
Move to shared COLLECTORS for sch and lib.
7 years ago
Jeff Young
32765ebffd
Do some refactoring in prep for sharing some sch tools with libedit.
7 years ago
Jeff Young
ed0e6af66d
Move to direct tool registration.
It was confusing that the primary frames registered their tools
differently than the other frames. In addition, since the other
frames also added their own tools, foo_actions::RegisterAllTools()
didn't really register all tool but rather those used by the
principal frame (PCB_EDIT_FRAME, SCH_EDIT_FRAME, etc.)
7 years ago
Jeff Young
58ba573038
Handle cascading selections in placement.
See https://forum.kicad.info/t/call-for-testers-eemodern/16663/32
7 years ago
Michael Kavanagh
2a09664ebc
Clean up import and export menus
Fixes: lp:1822907
* https://bugs.launchpad.net/kicad/+bug/1822907
7 years ago
Jeff Young
a461eae8b9
Fix 100s of usages of GetFlags() which conflated != 0 with being edited.
While this was true long ago, many flags have been added since which
have nothing to do with editing (HIGHLIGHTED, BEGIN_ONPAD, etc.)
7 years ago
jean-pierre charras
6e8dd598c0
Minor fixes in translatable strings. Fix also a minor compil warning.
7 years ago
Jeff Young
2bcf38d2b6
Add try/catch block around writing a new library.
Fixes: lp:1825203
* https://bugs.launchpad.net/kicad/+bug/1825203
7 years ago
Jeff Young
0772b54845
Move eeschema zoom-selection to modern toolset.
Fixes: lp:1825164
* https://bugs.launchpad.net/kicad/+bug/1825164
7 years ago
Jeff Young
c88fd514a0
Implement drawing tools in modern toolset.
Fixes: lp:1825192
* https://bugs.launchpad.net/kicad/+bug/1825192
7 years ago
Jeff Young
ecfa05e2ca
Allow adding symbols/footprints from editors and browsers.
This was always possible from modal browsers and from the footprint
editor, but it's now also possible from non-modal browsers and the
symbol editor.
Fixes: lp:920380
* https://bugs.launchpad.net/kicad/+bug/920380
7 years ago
Jeff Young
94a948fdd1
Move grid selection for both Eeschema and Pcbnew to COMMON_TOOLS.
7 years ago
Jeff Young
3c11b89e4c
Hook up refresh buttons to library tree synchronisation.
Fixes: lp:1820057
* https://bugs.launchpad.net/kicad/+bug/1820057
7 years ago
Jeff Young
77f15eeeaf
Support synchronous messaging over KIWAY EXPRESS.
This allows us to make the various netlist and pcb update routines
more atomic and less reliant on carefully sequenced asynchronous
messages.
This is also a prelude to adding support for footprint testing
without a netlist.
7 years ago
Jeff Young
b6c0aeb608
Move cut/copy/paste part (in libedit tree) to real clipboard.
Fixes: lp:1821547
* https://bugs.launchpad.net/kicad/+bug/1821547
7 years ago
Jeff Young
2aad4a5e57
Remove dead code from removal of eeschema legacy canvas.
7 years ago
Michael Kavanagh
b0674b8802
Add Ctrl+, hotkey to preferences dialog
Also change interactive router settings from Ctrl+, to Ctrl+Shift+,
7 years ago
Michael Kavanagh
fe6bc411dd
Fix 'hokey' -> 'hotkey' typo
7 years ago
Seth Hillbrand
9bfce26ce7
Move env var substitution into GetAssociatedDocument
We always want the documents to have their variables replaced when
opening the associated file.
Fixes: lp:1819309
* https://bugs.launchpad.net/kicad/+bug/1819309
7 years ago
Seth Hillbrand
db31b7902a
libedit: Resolve path substitutions
Fixes: lp:1818220
* https://bugs.launchpad.net/kicad/+bug/1818220
7 years ago
Frank Severinsen
71a62bb782
Change pin on grid test in symbol editor.
The pin on grid test always used a fixed grid spacing of 25 mils. The
change uses the current grid setting for the on grid test. Grid sizes
below 25 mils are clamped to 25 mils to prevent issues when connecting
wires to pins in the schematic editor.
Fixes lp:1817896
https://bugs.launchpad.net/kicad/+bug/1817896
7 years ago
Jeff Young
22229fbba4
Re-parent items being copied from the clipboard.
Their original parent might have been freed by now if they came
from a different symbol.
Fixes: lp:1815525
* https://bugs.launchpad.net/kicad/+bug/1815525
7 years ago
Jeff Young
f494a24404
Resync lib_tree after editing aliases.
This also fixes an unrelated bug where the current part highlighting
would get lost after a rename.
Fixes: lp:1817639
* https://bugs.launchpad.net/kicad/+bug/1817639
7 years ago