Jeff Young
e9e28b9aac
Retire legacy block architecture.
7 years ago
Jeff Young
927d2a645c
Move LibEdit Save operations to ACTIONS.
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
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
Jon Evans
638ac3838c
PcbNew: Fix layer alpha overrides being overwritten by color changes
Fixes: lp:1827518
* https://bugs.launchpad.net/kicad/+bug/1827518
(cherry picked from commit cb3edf2607 )
7 years ago
Jon Evans
d2a2dea9c4
Eeschema: fix worksheet and background color for printing
Fixes: lp:1820611
* https://bugs.launchpad.net/kicad/+bug/1820611
(cherry picked from commit 720b26d11e )
7 years ago
Jon Evans
b40289c1bd
Eeschema: use worksheet color when plotting
Fixes: lp:1825568
* https://bugs.launchpad.net/kicad/+bug/1825568
(cherry picked from commit e35be13b23 )
7 years ago
Jon Evans
15cf25a6fc
GerbView: Fix selection of the last two grid settings
Fixes: lp:1827642
* https://bugs.launchpad.net/kicad/+bug/1827642
(cherry picked from commit ba19d93df9 )
7 years ago
Jon Evans
6b40473f5d
GerbView: properly load worksheet visibility at startup
(cherry picked from commit 5d1dcb4387 )
7 years ago
Jon Evans
e156e4509c
Report actual intersection position for crossing tracks
Fixes: lp:1825588
* https://bugs.launchpad.net/kicad/+bug/1825588
(cherry picked from commit f101934909 )
7 years ago
Jon Evans
549b76739e
Exclude invisible items from view bounding box for zoom-to-fit
Fixes: lp:1116457
* https://bugs.launchpad.net/kicad/+bug/1116457
(cherry picked from commit ede2575018 )
7 years ago
jean-pierre charras
b5c80fe689
Fix missing include to compile pcbnew_wrap.cxx
7 years ago
jean-pierre charras
7bb1d50d55
Add missing file
7 years ago
jean-pierre charras
568d4e2b19
Avoid including id.h in a lot of files that do not use it.
7 years ago
jean-pierre charras
a6e6e914af
Eeschema: make menu file history working again.
(the bug was due to an unexpected menuitem ID range used for the menuitems of the history)
7 years ago
jean-pierre charras
b8e2054b23
Activate context menu in LIB_VIEW_FRAME canvas.
7 years ago
jean-pierre charras
0979aadae8
Fix a minor compil warning.
7 years ago
Seth Hillbrand
6bcf1839b7
pcbnew: Add arc approximation setting to board
This places the arc approximation setting in the kicad_pcb file and uses
it for all parts of the board rendering where arcs are converted to
segments. This allows the user to customize their speed vs. accuracy
tradeoff. The default setting of maximum error of 0.005mm is acceptable
for small boards on moderate systems.
7 years ago
Seth Hillbrand
0a668ee550
pcbnew: Remove segment count from board file
This removes the setting for number of segments per circle from the zone
definition. All segment counts are handled by absolute error allowed.
7 years ago
Jon Evans
52a9e68093
Store items changed by connectivity algorithm in undo list
Fixes: lp:1828442
* https://bugs.launchpad.net/kicad/+bug/1828442
(cherry picked from commit fb80ee5a0e )
7 years ago
Jeff Young
b9898e2bb0
Fix crash when a pagelayout includes a bitmap or polygon.
Fixes: lp:1830439
* https://bugs.launchpad.net/kicad/+bug/1830439
7 years ago
Jeff Young
8518c373d1
Move PLEditor to common actions for file ops.
7 years ago
Jeff Young
a3dfce5adb
Implement common file menu actions and move Eeschema over.
7 years ago
Jeff Young
ba4ba5b668
Implementing boundingbox getters for WS_DRAW_ITEMs.
7 years ago
Jeff Young
a6dee516fd
Fix issue with LAYER ids and bitfields.
7 years ago
Jeff Young
a1b3e5d9bb
Move PLEditor title updating to somewhere it will get called.
Also cleans up some uncalled stuff.
7 years ago
Jeff Young
94c8e84d3b
Make sure PCB document is opened when doing an update.
Fixes: lp:1830256
* https://bugs.launchpad.net/kicad/+bug/1830256
7 years ago
Jeff Young
a73f3fe36d
Use a bigger hammer when changing plEditor display mode.
7 years ago
Michael Kavanagh
741140e4a4
Fix footprint marked as modified when layer visibility changed
Fixes: lp:1830330
* https://bugs.launchpad.net/kicad/+bug/1830330
7 years ago
Seth Hillbrand
7058b79bf1
pcbnew: Fix assert in debug build
Previously we saved the visibility as a mask of 32bits and the check was
needed. These are now saved as per-layer setting, so the assert is
extra.
7 years ago
Seth Hillbrand
f0352176ec
Fix a compile error in Linux
Operands to the ternary operator cannot have different types under g++
(linux)
7 years ago
jean-pierre charras
32f25cf8b4
ACTION_MENU::appendCopy: Fix an issue on Windows with Check-able menu-items.
The source bitmap was copied to the new created item.
However, for Checkable menu-items, when setting a bitmap, our standard check bitmap is also added.
This is unwanted when the source bitmap is the wxNullBitmap (bitmap sizes are different)
7 years ago
jean-pierre charras
057366e97e
Viewlib frame: make toolbar menu "List Hotkeys" working
7 years ago
Jeff Young
899c8ccc8d
Highlight currently active inspector Apply button.
7 years ago
Jeff Young
71f188f3de
Hook up import-page-layout and change-background-color actions.
7 years ago
Jeff Young
2901fee9a0
Improve property panel <> selection synchronization.
7 years ago
Jeff Young
85f984ccd9
Add point-editor activation for immediate-mode drawing.
7 years ago
Jeff Young
09424db68f
Restore selection around undo/redo.
7 years ago
Jeff Young
431eae0492
Implement undo for PageLayout drawing tools.
7 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
jean-pierre charras
40382f4d52
Viewlib: menubar/view menu: make grid select working
Set also a better icon for this menu item
7 years ago
jean-pierre charras
944ecc8913
Remove unused vars.
7 years ago
John Beard
2ec4ceffbd
Reinstate "QA: Tweak boost print helper macro""
This reverts commit 3afea91088 .
This was actually not the issue, even though it seemed to trigger the
issue.
7 years ago
John Beard
a88ac393bb
QA: Remove helper function
The InOutString function is not really useful, in most cases it can
be done more simple with string operator+. This function is causing
issues on MSVC (perhaps the template param names) anyway.
7 years ago
Wayne Stambaugh
816f6db310
Pcbnew: Python scripting support clean up.
Always check the return value of PyRun_SimpleString() for errors when a
Python script is run and show an error message rather than fail silently.
Enable Python interpreter I/O redirection in debug builds so that script
string errors will be shown when PyRun_SimpleString() is called.
Do not call PyErr_Print() after a PyRun_SimpleString() call failure. It
doesn't do anything useful.
Do not call Py_Finalize() after a PyRun_SimpleString() call failure. It
seems to cause Pcbnew to crash.
7 years ago