Ian McInerney
5862b1559f
Cleanup position handling for TOOL_EVENTs
* Make the events generated by the selection of context menu items
have the position where the menu was opened
* Ensure that TC_COMMAND type events have their position set to
be the cursor position where the event originated
6 years ago
jean-pierre charras
16f4958430
Pcbnew: avoid crash when closing pcbnew if the DRC dialog is open.
Cvpcb: change from commit 9ceca583:
the root class close event that save settings is now seeing the close event.
6 years ago
Jeff Young
b4a3f4bb41
Sync GAL grid with layer visibility on doc-open.
Fixes: lp:1843169
* https://bugs.launchpad.net/kicad/+bug/1843169
6 years ago
Jeff Young
2553dd2942
Bail on our custom dockart provider.
It appears that it was causing some crashes, and it was never clear
that it looked better anyway.
6 years ago
Jeff Young
10c25a2290
Update frame type enum to match current class names.
6 years ago
jean-pierre charras
b25ffc0aa8
Pcbnew, layer manager: fix flicker when loading a file, and incorrect size on start when no file is loaded
Fixes: lp:1840591
https://bugs.launchpad.net/kicad/+bug/1840591
6 years ago
Jeff Young
17b5a3750b
Move preferences-lost hack down into EDA_DRAW_FRAME.
I've now seen it in Eeschema as well as Pcbnew.
Fixes: lp:1839148
* https://bugs.launchpad.net/kicad/+bug/1839148
6 years ago
Jeff Young
0b87a92ed6
Make Mac-work-around Mac-only.
6 years ago
Jeff Young
4399a52ad3
Work around a wxWidgets bug that loses the preferences item from the menu.
Fixes: lp:1839148
* https://bugs.launchpad.net/kicad/+bug/1839148
6 years ago
Jeff Young
01e78b04c6
Save last-used-paths in export dialogs.
Also fixes the export GenCAD dialog so that browse correctly updates
the textbox.
Fixes: lp:1793761
* https://bugs.launchpad.net/kicad/+bug/1793761
6 years ago
Alexander
bb290abe91
added board statistics dialog, which shows info for production and assembly
6 years ago
Jeff Young
3a8f32c380
Convert ShowEEschema to an ACTION so it can get a hotkey assignment.
Fixes: lp:1686010
* https://bugs.launchpad.net/kicad/+bug/1686010
6 years ago
Jeff Young
f9702aab87
Immediate actions for PlEditor, PcbNew, etc.
7 years ago
Jeff Young
f088d4d762
Add env-var setting to CommonSettingsChanged().
Fixes: lp:1804925
* https://bugs.launchpad.net/kicad/+bug/1804925
7 years ago
Seth Hillbrand
98124e68c7
Update exit strategy to match UI guidelines
In singletop mode, all frames show the "Quit" option in the file menu
and will quit on Ctrl-Q. When launched from the main KiCad interface,
sub-programs show the "Close" option instead and will close with Ctrl-W.
In this mode, Ctrl-Q will instruct the main program to exit.
Fixes: lp:1779938
* https://bugs.launchpad.net/kicad/+bug/1779938
7 years ago
Jeff Young
4eab89d9ef
Fix OSX button order issue in Unsaved Changes dialog.
Also changes the presentation of the string when the checkbox appears
so that the "Changes will be lost" warning isn't hidden by the turndown.
This last part may require conditional compilation as it's undocumented.
Lastly, regularizes the Unsaved Changes strings between the apps.
7 years ago
Jeff Young
8f84c3ec4f
Grid rid of GetCanvas/GetGalCanvas distinction now that there's only gal.
7 years ago
Jeff Young
ce1f35a1be
Cleanup some left-over vestiages of the legacy canvas architecture.
7 years ago
Seth Hillbrand
daad58e511
pcbnew: Add option to show ratsnest while moving
Re-works ratsnest display options in the configuration parameters rather
than the board file. Moves ratsnest options to central preferences
location.
Fixes: lp:1826440
* https://bugs.launchpad.net/kicad/+bug/1826440
Fixes: lp:1821183
* https://bugs.launchpad.net/kicad/+bug/1821183
7 years ago
Jeff Young
5e49517781
Move hotkeys to ACTION architecture.
7 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.
7 years ago
Seth Hillbrand
f007d2857a
pcbnew: ClearPcb() without queuing tools
When exiting pcbnew, we only want to run the sections of ClearPcb that
remove the old pcb data. We do not want to queue events that handle
initializing a new pcb. These were caught after freeing memory in some
cases, leading to segfaults.
Fixes: lp:1831560
* https://bugs.launchpad.net/kicad/+bug/1831560
7 years ago
Jeff Young
15241b7fcf
ACTION-ize toolbar/palette control.
7 years ago
Jeff Young
1222f3cc72
ACTION-ize fab outputs.
7 years ago
Jeff Young
1ea5b04e22
More ACTIONS work. Nearly done now.
7 years ago
Jeff Young
1ea001d497
Go back to event-loop zooming for new frames.
The immediate mode appears to have made things worse not better.
7 years ago
Jeff Young
1bf04d1722
More ACTIONs work.
7 years ago
Jeff Young
3912c7407f
Move global commands to ACTIONs.
Also fixes a crash bug opening Edit Tracks and Vias dialog.
7 years ago
Jeff Young
568c8c336b
Move DRC control to a tool; move assorted commands to ACTIONS.
7 years ago
Jeff Young
e517199794
Move ConfigurePaths and LibTable management to common ACTIONs.
7 years ago
Jeff Young
6ac273264d
Move Show3DViewer to common action.
7 years ago
Seth Hillbrand
d1877d7c1b
Moving modules from DLIST to std::deque
7 years ago
Jeff Young
69e60d3982
Make sure grid settings get set in new canvas when switching.
7 years ago
Jeff Young
7553cc2651
Clean up some dangling legacy odds and ends.
7 years ago
Jeff Young
ed9153a786
Fix assert launching PCBNew.
7 years ago
Jeff Young
c2662b0e11
Retire EDA_DRAW_PANEL and legacy_wx/EDA_DRAW_FRAME.
7 years ago
Jeff Young
d6e9bdf07b
Convert remaining legacy drawing code to print code.
7 years ago
Jeff Young
03bab2f4a9
Remove some more legacy drawing stuff.
7 years ago
Jeff Young
d2daab808c
Remove some legacy cursor handling stuff.
7 years ago
Jeff Young
edc8438ef0
Start the process of removing the legacy draw panel.
7 years ago
Seth Hillbrand
eb0fc7bae2
Re-connect switch canvas on startup
7 years ago
Seth Hillbrand
453eb9c3eb
pcbnew: Reconnect Grid settings dialog
Connects using the new common grid settings ID
7 years ago
Jeff Young
1e9da7f57b
Remove CurItem() architecture and legacy routers and drawing code.
7 years ago
Jeff Young
a27e4246e0
Move some more menu commands to ACTIONs.
7 years ago
Jeff Young
718ad77891
Fix a bug introduced when UseGalCanvas() no longer switches.
We still need to setup the viewport the first time.
Also removes some more legacy editing code.
7 years ago
Jeff Young
9d9745b555
Remove more legacy editing code.
7 years ago
Jeff Young
2502bce987
Move quit back to wxIDs. wxWidgets like to muck around with the location on OSX.
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
bdd44ce88c
Use consistent PageLayout data structure names.
7 years ago
Jeff Young
323bb0f8e1
Moving PageLayout editor to GAL canvas and modern toolset.
7 years ago