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
jean-pierre charras
6f8a0a4eed
pcbnew: Fix launching of action plugins from an action menu
The action menu handler was capturing too many menuitem events.
Only context menuitem highlight events and some popup menu events need to be captured
Any id < 0 (like automatically assigned menuitem id) is no longer captured.
Fixes: lp:1831669
https://bugs.launchpad.net/kicad/+bug/1831669
6 years ago
Jeff Young
1ea5b04e22
More ACTIONS work. Nearly done now.
6 years ago
jean-pierre charras
eb1faebf1f
Pcbnew: prepare the new zone filling algo (filled polygons with no thickness). Work in progress.
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
e517199794
Move ConfigurePaths and LibTable management to common ACTIONs.
6 years ago
Seth Hillbrand
1f30d0c803
pcbnew: remove the last dlist components from pcbnew
6 years ago
Jeff Young
33773bad4d
Yet more command conversions to ACTIONs.
6 years ago
Jeff Young
6ac273264d
Move Show3DViewer to common action.
6 years ago
Jon Evans
374a3feb3e
Fix message panel update
6 years ago
Jeff Young
45a9544726
Instantate a default menu from no selection when menu is first built.
This might resolve some of the GTK menu anomalies.
6 years ago
jean-pierre charras
b7f4113f96
Some minor fixes to prepare the new zone filling algo (no filled polygon thickness)
6 years ago
Seth Hillbrand
6a45446496
pcbnew: Remove the last dlist from modules/pcbnew
6 years ago
Seth Hillbrand
9163ac543a
pcbnew: Move pads to std::deque
6 years ago
Jeff Young
3e655801b5
Fix bug in selecting grid size in Pcbnew.
Fixes: lp:1831337
* https://bugs.launchpad.net/kicad/+bug/1831337
6 years ago
Jeff Young
7f1ed30ff5
Move DeMorgan handling to ACTIONs.
6 years ago
Seth Hillbrand
888c01d11b
pcbnew: Move tracks to std::deque
6 years ago
Seth Hillbrand
961b22d603
pcbnew: Changing drawings from dlist to std::deque
6 years ago
Jeff Young
296ec66796
Cosmetic cleanup in preference panels.
6 years ago
Jeff Young
74e10791ff
Fix some Mac-specific issues with the Preferences... menu item.
6 years ago
Jeff Young
f67df4bf11
Collapse ARRAY_CREATOR into single class now that legacy instance is gone.
Also removes AllowLegacyCanvas ADVANCED_CONFIG option.
6 years ago
Jon Evans
b578f8b362
Fix infinite loop in grid initialization, Cairo edition
6 years ago
Jeff Young
7553cc2651
Clean up some dangling legacy odds and ends.
6 years ago
Jeff Young
c71c1d4d1a
Prevent infinite loop when grid size not defined.
6 years ago
Jeff Young
ed9153a786
Fix assert launching PCBNew.
6 years ago
Jeff Young
c2662b0e11
Retire EDA_DRAW_PANEL and legacy_wx/EDA_DRAW_FRAME.
6 years ago
Jeff Young
d6e9bdf07b
Convert remaining legacy drawing code to print code.
6 years ago
Jeff Young
03bab2f4a9
Remove some more legacy drawing stuff.
6 years ago
Jeff Young
d2daab808c
Remove some legacy cursor handling stuff.
6 years ago
Jeff Young
edc8438ef0
Start the process of removing the legacy draw panel.
6 years ago
jean-pierre charras
4842c73530
Fix minor compil warnings.
6 years ago
Jon Evans
9094a17795
Zoom to fit: only consider worksheet if there are no other items
6 years ago
Seth Hillbrand
87d997704f
Enable cairo switch
Hooks up the action to the event.
Fixes: lp:1830976
* https://bugs.launchpad.net/kicad/+bug/1830976
6 years ago
Ian McInerney
45f10fcff1
gal: Decoupled X and Y grid step sizes
Made the X and Y step sizes for the grid separate in the GAL.
Cleaned up the types inside the DrawGrid functions.
Fixes: lp:1821416
* https://bugs.launchpad.net/kicad/+bug/1821416
7 years ago
Jeff Young
1e9da7f57b
Remove CurItem() architecture and legacy routers and drawing code.
7 years ago
Jeff Young
9d29e94cb5
Remove some more legacy code.
7 years ago
Jeff Young
0260b32125
Push resetLocalCoords down into COMMON_TOOLS.
Fixes: lp:1830693
* https://bugs.launchpad.net/kicad/+bug/1830693
7 years ago
Jeff Young
a27e4246e0
Move some more menu commands to ACTIONs.
7 years ago
Jeff Young
c0909611d3
Remove a bunch more legacy editing code.
7 years ago
John Beard
6b4b2d61f8
Common: do not conditionally define wxPoint/Size operator<<
Due to an interaction with old (<1.59) versions of Boost, the ostream
operator<< for wxPoint and wxSize is requried to use
BOOST_CHECK_EQUAL_COLLECTIONS (the print_log_value<T> function is not
used by this macro until 1.59).
Because these functions are available in Debug builds, unit tests that
use such functions will break when compiled as Release or
RelWithDebugInfo.
The change here is to not disable these functions in Release builds.
Also, the functions are moved to common.h, to go with other generic
WX "polyfill" functions. Although they might be commonly used by the
EDA_ITEM::Show functions, they are not specifically related to that
class.
Fixes: lp:1830612
* https://bugs.launchpad.net/kicad/+bug/1830612
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
Jon Evans
0a6b1ea256
Improve image alpha handling in PDF and PS plotters
Fixes: lp:1825276
* https://bugs.launchpad.net/kicad/+bug/1825276
(cherry picked from commit 4adf89b40b )
7 years ago
Jeff Young
e9e28b9aac
Retire legacy block architecture.
7 years ago
Jeff Young
21c216556b
Cut/copy/paste for PlEditor.
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
248089c934
Get rid of PageLayout globals so drawing the preview doesn't mess up the document.
7 years ago
Jeff Young
bdd44ce88c
Use consistent PageLayout data structure names.
7 years ago
Seth Hillbrand
0e5cc54ec9
Eagle: Fix crash when importing Eagle V6
This fixes multiple issues when importing Eagle V6 files.
Crashes occured when arcs of 0-length were found and when parts were
referenced in the schematic that were not found in the library. This
could happen if the library and schematic were different cases.
Fixes: lp:1830564
* https://bugs.launchpad.net/kicad/+bug/1830564
7 years ago