Jeff Young
a27e4246e0
Move some more menu commands to ACTIONs.
6 years ago
Jeff Young
9d9745b555
Remove more legacy editing code.
6 years ago
Jeff Young
e9e28b9aac
Retire legacy block architecture.
6 years ago
Jon Evans
ec39bdda77
GerbView: fix saving of canvas type and lingering legacy menu item
Fixes: lp:1829647
* https://bugs.launchpad.net/kicad/+bug/1829647
(cherry picked from commit b00e20b23f
)
6 years ago
Jeff Young
7d9a0b06e0
Push help menu down into EDA_BASE_FRAME.
6 years ago
Jeff Young
b90b454ada
Remove legacy block operations.
6 years ago
Jeff Young
1a3d0492f5
Push polar coords down into COMMON_TOOLS.
6 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
jean-pierre charras
2d99ec779f
Gerbview: Sync issue between the D Code drop list and the active layer
Fixes: lp:1829234
https://bugs.launchpad.net/kicad/+bug/1829234
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
0021ecf51e
Don't double-escape netnames.
Netnames in wxChoice or wxListBox are already in internal format
and don't need escaping again.
Fixes: lp:1823863
* https://bugs.launchpad.net/kicad/+bug/1823863
7 years ago
bobo87
ca7aec2d4e
Fix crash in gerbview when legacy disabled
Fixes: lp:1822877
* https://bugs.launchpad.net/kicad/+bug/1822877
7 years ago
Jeff Young
684bb62fd8
Escape slashes in labels and netnames.
Also re-allows spaces, as they can already come in through sheet
names.
Fixes: lp:1798621
* https://bugs.launchpad.net/kicad/+bug/1798621
7 years ago
Seth Hillbrand
9d99fd188f
Revert "Change top selection drop-down to combobox"
This reverts commit 7d06651a10
.
7 years ago
Seth Hillbrand
7d06651a10
Change top selection drop-down to combobox
wxChoice centers the selection on GTK. So when switching from a
mid-list item to an item at the top, the list is always cut off for
choice lists located on the top toolbar. Using a combobox provides a
drop-down that allows easier access to all elements in the box.
Fixes: lp:1808569
* https://bugs.launchpad.net/kicad/+bug/1808569
7 years ago
Nabeel Ahmad
664fb234ff
GerbView: Add actions to reload files
NEW: Adds new items in File Menu and Toolbar to reload the Gerber files
for all layers.
Fixes: lp:1794004
* https://bugs.launchpad.net/kicad/+bug/1794004
7 years ago
Jeff Young
86a801aabc
Allow updating of file history size on the fly.
Also updates the file menu IDs so that we can actually handle
more than 9 items in the file history.
Also adds configurable file history length to the other gerber
files (zip, drill and job).
Fixes: lp:1745729
* https://bugs.launchpad.net/kicad/+bug/1745729
7 years ago
Jeff Young
d81faa72c9
Overhaul border drawing in all the Kicad frames.
Primary change is to replace most control/window borders with
AUI pane borders. We implement our own AUI border drawing
routine which avoids the ugly one-pixel white frames around
dark canvasses.
Also increases the signal-to-noise ratio of all the pane
creation code in the various frames.
7 years ago
Jeff Young
e329a411bf
Add grid and zone dropdowns to GerbView frame.
(cherry picked from commit be5c1e2)
7 years ago
Jeff Young
7841f8a466
Unified preferences dialog framework.
(cherry picked from commit 8ee3e77)
8 years ago
jean-pierre charras
07dc12fdd3
Fix incorrect UI management of Zoom to Selection, created by fix 2a419156
8 years ago
Jeff Young
2a419156e0
Don't try to check uncheckable menu items.
When updating toolbars make sure the events are coming from the
toolbar in question (and not the menus which share the same ID).
Fixes: lp:1763563
* https://bugs.launchpad.net/kicad/+bug/1763563
8 years ago
jean-pierre charras
a2f118d2fa
Gerbview: fix not working menu item "Zoom to Selection" in main menu. This also fixes a wxASSERT for this menu item
8 years ago
Wayne Stambaugh
a5cca18dd1
GerbView: add view menu.
Include all actions provided by left vertical toolbar in a new view
menu for consistency with other main frames.
Move show/hide layer manager to view menu.
Simplify some toolbar and menu update logic.
Fixes lp:1753337
https://bugs.launchpad.net/kicad/+bug/1753337
8 years ago
jean-pierre charras
5a33f09608
Fix memory leak
8 years ago
Jon Evans
cd2224b94d
Add missing hotkey support to GerbView
Fixes: lp:1752982
* https://bugs.launchpad.net/kicad/+bug/1752982
8 years ago
Jon Evans
d2c86f8594
GerbView: Disable legacy-only event handlers when GAL is active
Fixes: lp:1752209
* https://bugs.launchpad.net/kicad/+bug/1752209
8 years ago
Jon Evans
2da7199a37
GerbView: Fix active layer synchronization
8 years ago
Jon Evans
37beb726e3
GerbView: Implement in-place GAL layer reordering (for X2 sorting)
8 years ago
Jon Evans
449da4303e
Remove more unnecessary calls to RecacheAllItems
8 years ago
Jon Evans
4ec7a02ccd
Add a method to conditionally update VIEW_ITEMs (GerbView performance)
8 years ago
Jon Evans
d7bb83ddcb
Add a REPAINT flag for faster redraw when bounding box hasn't changed
8 years ago
Jon Evans
b90528a7ae
Fix regression in GerbView display settings; some optimization too
8 years ago
jean-pierre charras
a0ac1a48c2
Gerbview: fix code after renaming files
8 years ago
Maciej Suminski
da305e7750
Move SwitchCanvas() implementation to EDA_DRAW_FRAME
Share more code between pcbnew and gerbview. Fix warnings regarding
shadowing EDA_DRAW_FRAME::SwitchCanvas().
8 years ago
Jon Evans
b21f301097
Defer canvas type setting save until destruction of EDA_DRAW_FRAME
Fixes: lp:1741787
* https://bugs.launchpad.net/kicad/+bug/1741787
8 years ago
Simon Richter
a9ccf1161b
Fix quotes in UI messages
This replaces all single and angle bracket quotes in UI messages with
double quotes, for consistency.
Sorry to all translators.
8 years ago
Maciej Suminski
05a120f09f
Unified {Load,Save]CanvasTypeSetting in EDA_DRAW_FRAME
8 years ago
Maciej Suminski
88cab885af
Code formatting
8 years ago
Jon Evans
b90d86aa2d
Properly update toolbar buttons on application start
8 years ago
Jon Evans
915e51e1f0
GerbView GAL support part 1: changes to existing files
- New GAL draw layers for GerbView
- Improved bounding boxes for Gerber shapes
- Switched to use of SHAPE_POLY_SET for polygons
- Add GAL methods to support selection and rendering
- Add GUI support of editing GAL options
- Rename get/setActiveLayer to Get/SetActiveLayer to match convention
8 years ago
jean-pierre charras
50164e9968
Add Gerber job file writer in Pcbnew, and a basic reader in Gerbview. Currently disabled
Fix also very minor issues in Gerbview
8 years ago
jean-pierre charras
ad48cd435d
Replace SetToolID( ID_NO_TOOL_SELECTED, ...) by SetNoToolSelected() in code
8 years ago
jean-pierre charras
526b5e2cd3
Fix broken behavior of the "Zoom to selection" tool in Gerbview and Eeschema.
8 years ago
Jon Evans
3ec28e2acf
Refactor layer enumerations to all live in the same place
9 years ago
jean-pierre charras
6329ca5065
Gerbview: add in file menu an option to load a zip archive containing Gerber and/or drill files.
9 years ago
Cirilo Bernardo
48ed9f080e
Add Help Menu item to open browser at kicad-pcb.org/contribute
9 years ago
jean-pierre charras
f1226afc89
Gerbview: support of %TA.AperFunction (aperture attribute) and better support of %TO (currently work in progress) object attribute.
9 years ago
jean-pierre charras
a907e50424
Gerbview: code cleanup (mainly remove g_GERBER_List global variable)
9 years ago