Jeff Young
765606012f
Convert separate-compilation of selection.cpp to polymorphism.
6 years ago
Jeff Young
e606587ff6
Move remaining Symbol Tree ctx menu cmds to ACTIONS.
Also moves the various Player instantiators down into COMMON_TOOLS
for better sharing.
6 years ago
Jeff Young
b9927a0655
Don't put standard menu items into symbol tree context menu.
6 years ago
Jeff Young
469fc3b572
Finish moving symbol editor tree context menu to ACTIONs.
6 years ago
Jeff Young
2d40425e4d
Move footprint & symbol tree context menus to tool infrastructure.
Fixes: lp:1831692
* https://bugs.launchpad.net/kicad/+bug/1831692
6 years ago
Jeff Young
1ea5b04e22
More ACTIONS work. Nearly done now.
6 years ago
Jon Evans
1721cc1700
Ensure pasted sheets get parents set properly for screen discovery
Fixes: lp:1831460
* https://bugs.launchpad.net/kicad/+bug/1831460
6 years ago
Jeff Young
1bf04d1722
More ACTIONs work.
6 years ago
Jeff Young
568c8c336b
Move DRC control to a tool; move assorted commands to ACTIONS.
6 years ago
Jeff Young
9f1e2e34b7
Move some dupicated tools to common tools.
6 years ago
Jeff Young
33773bad4d
Yet more command conversions to ACTIONs.
6 years ago
Jeff Young
dfc2fe3929
Don't try to post-process an empty clipboard paste.
Fixes: lp:1831364
* https://bugs.launchpad.net/kicad/+bug/1831364
6 years ago
Jeff Young
7f1ed30ff5
Move DeMorgan handling to ACTIONs.
6 years ago
Jeff Young
39b91c90dd
Moved more operations to ACTIONs.
6 years ago
Jeff Young
3777c5270b
Move some more Eeschema operations to ACTIONs.
6 years ago
Jeff Young
f1076c0f48
Fix missing reference keeping history from getting saved.
Fixes: lp:1830185
* https://bugs.launchpad.net/kicad/+bug/1830185
6 years ago
Jeff Young
c7fa5c567f
Load sheet content after a paste.
Fixes: lp:1830633
* https://bugs.launchpad.net/kicad/+bug/1830633
6 years ago
Jeff Young
1dd1ddf83b
Try an "add wires" strategy instead of trying to figure out what to pick up and what to anchor.
Fixes: lp:1831199
* https://bugs.launchpad.net/kicad/+bug/1831199
6 years ago
Jeff Young
d7774b94fc
Fix regression with switching between drag and move operation.
6 years ago
Jeff Young
ead1914b1d
Don't autopan until mouse moves.
6 years ago
Jeff Young
d2daab808c
Remove some legacy cursor handling stuff.
6 years ago
jean-pierre charras
4842c73530
Fix minor compil warnings.
6 years ago
Jeff Young
0260b32125
Push resetLocalCoords down into COMMON_TOOLS.
Fixes: lp:1830693
* https://bugs.launchpad.net/kicad/+bug/1830693
6 years ago
Jeff Young
db90e97d0b
fixup! Implement undo for Page Settings in PlEditor, Eeschema and PCBNew.
6 years ago
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
6 years ago
Jeff Young
800cc1a11c
Fix intial drag point for paste in LibEdit.
6 years ago
Jeff Young
e9e28b9aac
Retire legacy block architecture.
6 years ago
Jeff Young
927d2a645c
Move LibEdit Save operations to ACTIONS.
6 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
6 years ago
jean-pierre charras
568d4e2b19
Avoid including id.h in a lot of files that do not use it.
6 years ago
jean-pierre charras
b8e2054b23
Activate context menu in LIB_VIEW_FRAME canvas.
6 years ago
Jeff Young
a3dfce5adb
Implement common file menu actions and move Eeschema over.
6 years ago
Jeff Young
85f984ccd9
Add point-editor activation for immediate-mode drawing.
6 years ago
Jeff Young
323bb0f8e1
Moving PageLayout editor to GAL canvas and modern toolset.
7 years ago
Michael Kavanagh
43a5bb72ca
Fix swapped mirror icons in eeschema context menu
Fixes: lp:1828631
* https://bugs.launchpad.net/kicad/+bug/1828631
7 years ago
Jon Evans
ab3ada5200
Clear moving flag for second-click-placed items
Fixes: lp:1830227
* https://bugs.launchpad.net/kicad/+bug/1830227
6 years ago
Jeff Young
ebd8c44eee
Don't confuse SCH_ITEMs and LIB_ITEMs.
Fixes: lp:1829826
* https://bugs.launchpad.net/kicad/+bug/1829826
7 years ago
jean-pierre charras
872c8ca37b
Remove a duplicate icon.
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
0047f88f82
Mark unfold bus menu as clean so it doesn't get generated a second time.
Fixes: lp:1829878
* https://bugs.launchpad.net/kicad/+bug/1829878
7 years ago
Jeff Young
1636405b66
Set a reference point for all selection sizes.
Fixes: lp:1829833
* https://bugs.launchpad.net/kicad/+bug/1829833
7 years ago
Tomasz Włostowski
ecb81426a4
eemodern: fixed use-after-free in SCH_DRAWING_TOOLS::DrawSheet().
7 years ago
Jeff Young
323ecada8d
Generate refresh preview events when objects are moving.
Fixes: lp:1829683
* https://bugs.launchpad.net/kicad/+bug/1829683
7 years ago
Jeff Young
fbffb9ae1e
Don't put KICAD_T arrays on stack and expect them to be there when you need them.
Fixes: lp:1829748
* https://bugs.launchpad.net/kicad/+bug/1829748
7 years ago
Jeff Young
67f7571f04
Don't call VIEW::Redraw() from within the tool.
Fixes: lp:1828824
* https://bugs.launchpad.net/kicad/+bug/1828824
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
Tomasz Włostowski
2b38b23a5e
eemodern: fixed use-after-free crash in LIB_EDIT_TOOL::DoDelete()
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
Seth Hillbrand
e1373d70ae
libedit: Ensure proper dereference in shared tools
Fixes: lp:1829826
* https://bugs.launchpad.net/kicad/+bug/1829826
7 years ago
Tomasz Włostowski
bc52f0a03b
eemodern: clean printf debug gibberish, implement inline drag, move & cursor warp/reference point options
7 years ago