Jeff Young
927d2a645c
Move LibEdit Save operations to ACTIONS.
7 years ago
Jeff Young
6936effaa7
Implement undo for Page Settings in PlEditor, Eeschema and PCBNew.
Fixes: lp:1820059
* https://bugs.launchpad.net/kicad/+bug/1820059
7 years ago
Jeff Young
a3dfce5adb
Implement common file menu actions and move Eeschema over.
7 years ago
John Beard
e1f6230e8c
Do not statically construct wxTimer
If you construct wxTimer statically, it will be constructed
before WX init, which means you might get assertions about
missing m_impl's within the timer class.
The solution is to construct the wxTimer at run time. In this
case, static within the function will be constructed only after
the function is called (and actually the scope only needed to be
this function anyway).
7 years ago
Jeff Young
67cc2aac2e
Rework Eeschema find/replace for modern toolset.
Fixes: lp:1827274
* https://bugs.launchpad.net/kicad/+bug/1827274
Fixes: lp:1827240
* https://bugs.launchpad.net/kicad/+bug/1827240
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
5f851a4bad
Add AutoplaceFields to symbol tool context menu.
7 years ago
Jeff Young
5dd71b5563
Disable pin table and part properties when there's no part.
Fixes: lp:1828962
* https://bugs.launchpad.net/kicad/+bug/1828962
7 years ago
Jeff Young
0dd1584394
Add import-sheet-pin error message and move messages to status popups.
Fixes: lp:1829314
* https://bugs.launchpad.net/kicad/+bug/1829314
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
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
Jeff Young
25209516a6
Adjust net highlighting after edits.
Fixes: lp:1800291
* https://bugs.launchpad.net/kicad/+bug/1800291
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
76a915d472
Fix highlighting when initiated via ctrl-click.
Fixes: lp:1796755
* https://bugs.launchpad.net/kicad/+bug/1796755
7 years ago
jean-pierre charras
0a308c4584
Fix minor compil warnings
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
7da2631b27
Check item before concluding that ConvertText has run.
Otherwise we set item from nullptr back to the selection, and then
we think we're dragging again which causes all kinds of grief.
Fixes: lp:1828067
* https://bugs.launchpad.net/kicad/+bug/1828067
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
e5151ed639
Use parent's transform when moving SCH_FIELDs.
Fixes: lp:1827873
* https://bugs.launchpad.net/kicad/+bug/1827873
7 years ago
Jeff Young
a42a4b0b52
Implement immediate bus unfold and add bus unfold to selection context menu.
7 years ago
Jeff Young
fd546da640
Homogenize hit testing and selection return types.
Prep work for sharing SCH_SELECTION_TOOL with LibEdit.
7 years ago
Jeff Young
b5fd7b9842
Move Leave Sheet to the top of the context menu.
7 years ago
Jeff Young
7e3ad4585a
Fix issues with dragging, moving and rotating wires.
7 years ago
Jeff Young
4ccfa17ff9
Fix bugs in sheet duplicate & copy/paste.
Don't edit sheet during AddToScreenAndUndoList() call. If it's
cancelled and we delete the item, callers will still own pointers
to the freed memory. Do it in New and Paste instead.
7 years ago
Jeff Young
1e5334f5d4
Implement DeMorgan conversions in modern toolset.
7 years ago
Jeff Young
c09817e08c
Context menus for labels.
7 years ago
Jeff Young
bbd8659f69
Implement explicit cross-probing (mainly for sheets which are too slow to do automatically).
Also moves the message panel updaters to SCH_INSPECTION_TOOL.
7 years ago
Jeff Young
588d13a912
Fix gcc issue with temp variable and move some collection specs.
Having the collection specs localized with their code improves
encapsulation.
(Thanks to crasic for the original patch.)
7 years ago
Jeff Young
35e8a340ca
Add enter/leave sheet to modern toolset.
7 years ago
Jeff Young
423d430b58
Replace deleteNode and deleteConnection with selectNode and selectConnection.
7 years ago
Jeff Young
1ff7869ec3
Move Edit with Symbol Editor to modern toolset context menu.
7 years ago
Jeff Young
f81007f74b
Some clean-up and moving message panel update to selection event.
7 years ago
Jeff Young
ddbd92c274
Add some more context menu stuff to eeschema modern toolset.
7 years ago
Jeff Young
42383ae871
Build out some of the modern toolkit context menus.
7 years ago
Jeff Young
da988428cf
Add modern toolset cut/copy/paste. They now use the system clipboard.
7 years ago
Jon Evans
e0ada1379f
Allow clearing PcbNew highlight through cross-probing
Fixes: lp:1821486
* https://bugs.launchpad.net/kicad/+bug/1821486
7 years ago
Jon Evans
c054944d67
Set real-time connectivity to on by default with a safety valve
7 years ago
Jeff Young
e476cfcec5
Move SPICE tools to modern framework.
7 years ago
Jeff Young
d281f051ed
Move eeschema delete tool to modern toolset.
7 years ago
Jeff Young
1a007c3e4b
Implement SCH_SELECTION_TOOL (but still with legacy semantics).
7 years ago
Simon Richter
ed4c9f7ddb
Use format string for composed strings
Some translations may need this.
7 years ago
Jeff Young
f2d9887409
Make usage of BRIGHTENED consistent (m_Flags, not m_Status).
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
460909ea9a
Move click-to-place tools to modern toolset.
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