Jeff Young
eb3a201d39
Move some PCBNew and GerbView actions to their COMMON equivalents.
7 years ago
Jeff Young
06d64c7883
Use wxMessageBox instead of ASSERT for duplicate hotkey warnings.
7 years ago
Jeff Young
e850592587
Cleanup.
7 years ago
Jeff Young
053c26c96e
Refresh shown_text cache when incrementing label name.
Fixes: lp:1828874
* https://bugs.launchpad.net/kicad/+bug/1828874
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
Wayne Stambaugh
a32bb4e9a5
Pcbnew: fix crash when deleting DRC errors from DRC dialog.
Fixes lp:1828726
https://bugs.launchpad.net/kicad/+bug/1828726
7 years ago
Henner Zeller
2aea26de1e
Raytracing - a more pleasing way sequencing blocks to render.
7 years ago
John Beard
dcd4b13104
Remove workaround for fixed issue (spaces in text crash GAL)
The spaces-crash-GAL issue (lp:1668455) was fixed by
ef8f5db024 .
THis removes a work-around in the arc drawing assistant.
7 years ago
John Beard
6cf7ad68ad
Pcbnew: break out preview draw helpers
The graphical drawing routines in the arc assistant can be
made more generic for re-use in similar code.
7 years ago
John Beard
041c52c369
Arc preview: Add guide circle
When drawing an arc, show a guide circle that indicates the
radius of the arc at the current cursor. This can be useful
as a guide for seeing where the arc will reach once the radius
is fixed by the second click.
Fixes lp:1796158
* https://bugs.launchpad.net/kicad/+bug/1796158
7 years ago
Wayne Stambaugh
6f27ef7f66
Fix library table editor dialog environment variable grid column names.
Fixes lp:1825977
https://bugs.launchpad.net/kicad/+bug/1828459
7 years ago
Mario Luzeiro
b9a17b928a
Fixes lp Bug #1828747 - Add some epsilon value to ray dir on orthographic mode
so they will not be zero when viewing the board com the top/bot.
This was causing problems with BBox intersect function that was using
invDir values.
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
d290154dd3
Fix rectangle resizing in LibEdit.
Fixes: lp:1828791
* https://bugs.launchpad.net/kicad/+bug/1828791
7 years ago
Wayne Stambaugh
3c4f8c1bf7
Fix frame name capitalization in all about dialogs.
This is a stop gap fix. It should be possible to use the wxFrame title
string for this but some of the frame windows have appropriated the title
string for configuration file naming purposes which is less than ideal.
Fixes lp:1825977
https://bugs.launchpad.net/kicad/+bug/1825977
7 years ago
Seth Hillbrand
f37ee5c2b3
Remove unused LRU cache
7 years ago
jean-pierre charras
92ccb766ab
Python fp wizards: fix a few issues in qrcode_footprint_wizard.py
Fixes: lp:1828744
https://bugs.launchpad.net/kicad/+bug/1828744
7 years ago
Jon Evans
7a715904ad
Fix copy-paste error
7 years ago
Jon Evans
ee095a6711
Make sure secondary drivers are followed-up on after absorption
7 years ago
Jon Evans
019f63cd95
Don't merge subgraphs by matching sheet pin names
7 years ago
Jeff Young
924a5e68f0
Fix missing superclass call.
7 years ago
Jeff Young
25209516a6
Adjust net highlighting after edits.
Fixes: lp:1800291
* https://bugs.launchpad.net/kicad/+bug/1800291
7 years ago
jean-pierre charras
51bfec8ef9
Footprint viewer: fix a crash when clicking the "Insert footprint in board" tool when no footprint selected
7 years ago
John Beard
18593d2dbb
3D viewer: decouple renderers from wxCursors
Provide a toolkit-agnostic interface for "busy indicators", which
allows the 3D viewer to show a busy cursor, without the canvases
having to to know how a wxCursore works.
The motivation here is to decouple the 3D renderers from the WX
GUI system, as they can then be used when when there is not an
active window (e.g. for offscreen rendering).
Otherwise, attempting to use a wxBusyCursor without a GUI
available is an instant segfault.
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
5c39521149
Move Symbol Properties and Pin Table to actions.
Fixes: lp:1804273
* https://bugs.launchpad.net/kicad/+bug/1804273
7 years ago
Jeff Young
7995b5cc3c
Restore selection on abort and undo/redo.
Also includes a related bug fix to not create an undo record for
the initial schematic cleanup.
Fixes: lp:1825975
* https://bugs.launchpad.net/kicad/+bug/1825975
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
Jeff Young
f8776f72ac
Drop cell editor when selecting column.
Fixes: lp:1828222
* https://bugs.launchpad.net/kicad/+bug/1828222
7 years ago
Martin McNamara
7200f4d7b5
PCBnew: Fixes crosshair issue with "Place Text" and "Add Dimension".
When using "Place Text" the crosshair was freezing if cancelled before
placing text.
After the crosshair freezes, the next uses of the "Place Text" or
"Add Dimension" caused the crosshair to jump to the screen location
where the previously the crosshair was frozen.
Cancelling the "Add Dimension" caused the crosshair to jump to the
screen location where the crosshair was when cancelled on the next use
of the "Place Text" or "Add Dimension".
Fixes: lp:1822578
* https://bugs.launchpad.net/kicad/+bug/1822578
7 years ago
jean-pierre charras
0a308c4584
Fix minor compil warnings
7 years ago
jean-pierre charras
17ac5b6d13
DIALOG_EDIT_COMPONENT_IN_LIBRARY: fix a dialog resize issue (grid not resized).
7 years ago
jean-pierre charras
e19141bdc8
LIB_CIRCLE: fix missing transform of m_EndPos in mirror and rotate.
Fixes: lp:1828655
https://bugs.launchpad.net/kicad/+bug/1828655
7 years ago
Jeff Young
9cc3d6764f
fixup! Fix some legacy set-to-idle statements.
7 years ago
Jeff Young
b83dac68d0
Fix drag-select hit-testing of LibEdit items.
7 years ago
Jeff Young
5e08be7018
Fix some legacy set-to-idle statements.
7 years ago
Jeff Young
792c4328aa
Cleanup.
7 years ago
Jeff Young
a9f663d5ef
Soften hit-testing in SchEdit and LibEdit a bit.
Old threshold was 0; new is 5 pixels.
7 years ago
Jeff Young
0c2ba94b16
More sharing between SchEdit and LibEdit.
7 years ago
Jeff Young
717b1d37be
Defensive coding that will possibly fix a crash when scrolling through footprints.
Fixes: lp:1828289
* https://bugs.launchpad.net/kicad/+bug/1828289
7 years ago
Jeff Young
86d1592777
Fix bug with re-enting selection main loop.
7 years ago
Jeff Young
c1539ae014
Naming changes to reflect sharing between SchEdit and LibEdit.
7 years ago
Jeff Young
f3c95ad83c
Clean up the RepeatItem architecture and finish deleting the UndoItem facility.
7 years ago
Mark
5685174808
Fix for SWIG 4.0.0
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
e77d096412
Make setting a breakpoint easier.
7 years ago
Jeff Young
f6e07f575a
Rename for clarity.
SetOffset() didn't set anything; it performed an action.
Move() suggests a delta, when it in fact does a SetPosition().
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
Michael Kavanagh
a3483f44d2
Add Save As hotkey to footprint editor
Fixes: lp:1828481
* https://bugs.launchpad.net/kicad/+bug/1828481
7 years ago