Ian McInerney
e47c9ccc0b
pcbnew: Clean up switch statement in launcher
6 years ago
Wayne Stambaugh
0328f3e33b
Eeschema: fix bug in sheet name comparisons on Windows.
The use of wxPATH_UNIX when calling GetFullPath() on windows drops the
volume identifier (c:\) from the file name which will cause comparison
failures.
6 years ago
Jeff Young
c2d77a7300
Add some defensive code to prevent re-entrant printing.
Fixes: lp:1765965
* https://bugs.launchpad.net/kicad/+bug/1765965
6 years ago
Jeff Young
a33d67f6b4
Push shift/cmd+<enter> processing down into dialog shim.
This will make them more uniform rather than only supported when
something else is using <enter>.
Fixes: lp:1838353
* https://bugs.launchpad.net/kicad/+bug/1838353
6 years ago
Jeff Young
045f5f6a61
Move some functions out of SELECTION_TOOL that don't really belong there.
6 years ago
Jeff Young
dd938b02df
New move tool doesn't require GetAndPlace to jump through hoops.
And at least one of those hoops leaves the cursor forced.
Fixes: lp:1839877
* https://bugs.launchpad.net/kicad/+bug/1839877
6 years ago
jean-pierre charras
1c295d46a9
Pcbnew plot: fix missing footprint texts on solder mask layers.
Fixes: lp:1839892
https://bugs.launchpad.net/kicad/+bug/1839892
6 years ago
Seth Hillbrand
037e6bc006
Correcting missing detail in Chinese translator
6 years ago
Seth Hillbrand
619c78622e
pcbnew: Initialize drag and clear links
Drag is used for multiple modes so should be initialized when starting.
The line that we generate however needs to be pristine in drag, so we
clear the links in the duplicate.
Fixes: lp:1839612
* https://bugs.launchpad.net/kicad/+bug/1839612
6 years ago
Jeff Young
ccf18ceb0e
Fix accidental change in default radio button of Update PCB from Schematic.
6 years ago
Jeff Young
f3f0a6899f
Invoke move by ACTION; the EDIT_TOOL does lots of other stuff too.
Fixes: lp:1839877
* https://bugs.launchpad.net/kicad/+bug/1839877
6 years ago
Jeff Young
3bf24fae7a
Set selection reference point to top-left item.
Fixes: lp:1771016
* https://bugs.launchpad.net/kicad/+bug/1771016
6 years ago
Jeff Young
e855b244ae
Highlight whole net for simulation voltage probe.
6 years ago
Jeff Young
cc0bd9a171
Even out PCB_EDITOR_CONTROL and PCB_INSPECTION_TOOL.
6 years ago
Ian McInerney
d170243d61
Fix some memory leaks
Some elements of modules and boards were not deleted, so memory
was being leaked on some library loads and single-instance
pcbnew usage.
6 years ago
Ian McInerney
7bb046c0a5
cvpcb: Auto move to next NA after association
Also perform some cleanup of objects when windows close
6 years ago
Ian McInerney
36b430562d
cvpcb: Refactor events and cleanup formatting
6 years ago
Ian McInerney
c0204e90b1
cvpcb: Add library location to status information
Fixes: lp:1782805
* https://bugs.launchpad.net/kicad/+bug/1782805
6 years ago
Ian McInerney
c3b2885f88
cvpcb: Split control tool in two and add cut/copy/paste
6 years ago
Ian McInerney
95430e131e
cvpcb: cleanup include statements
6 years ago
Ian McInerney
e022a2e4d1
cvpcb: Clean up compile dependencies
6 years ago
Ian McInerney
9fda86e261
cvpcb: Move file extension to common and deprecate a header
6 years ago
Ian McInerney
796d888f8f
cvpcb: Add individual association deleting
6 years ago
Ian McInerney
2d27c10c63
cvpcb: Add processing of hotkeys to the main window
* Add a tool loop to handle ESC to close the window and
focus changing keys
* Make changing focus a tool
6 years ago
Ian McInerney
d428d5fecf
cvpcb: Move some more tasks to a tool
6 years ago
Ian McInerney
06abda254a
cvpcb: Add undo/redo functionality to the associations
6 years ago
Ian McInerney
402031244d
cvpcb: Replumb the footprint association system
This is in preparation for implementing more association actions
and an undo/redo system.
6 years ago
Ian McInerney
72120e0a96
Actionize cvpcb
6 years ago
Ian McInerney
c0b80c67b9
Rename cvpcb footprint viewer tools
This is in preparation for the actionization of the main cvpcb window.
6 years ago
Michael Kavanagh
4c2ea8879f
Bit more ACTIONs cleanup
6 years ago
Michael Kavanagh
b414cbfada
Cleanup doDelete ACTIONs
6 years ago
Michael Kavanagh
79b2ff7551
Refactor deleteTool ACTION removing duplicates
6 years ago
Michael Kavanagh
db59c7011b
Unify menubar delete action
6 years ago
Wayne Stambaugh
9020a3a26c
Eeschema: remove dead code from LIB_PART object.
6 years ago
Wayne Stambaugh
e3e546f7d2
PCB calculator: fix regulator dialog layout.
Set default dialog size to -1,-1 to allow the dialog to size itself
properly to prevent the buttons in the standard dialog button sizer
from being truncated.
Fixes lp:1839695
https://bugs.launchpad.net/kicad/+bug/1839695
6 years ago
jean-pierre charras
9b6e1cb1cd
Fix incorrect I18n string.
6 years ago
Seth Hillbrand
8fcd59ebda
Adding chinese translator to AUTHORS.txt
6 years ago
jean-pierre charras
10e4bf2a20
Remove dead code
6 years ago
Seth Hillbrand
c9d65c5324
Adding contributors
6 years ago
jean-pierre charras
e04436b138
Cleaning code: remove dead code in spread_footprints.cpp.
6 years ago
Seth Hillbrand
0b80c00678
Add Valgrind stack instrumentation
Our coroutine system can make debugging memory issues harder by not
following a standard stack allocation system. We can get around this by
using valgrind's built-in stack instrumentation. Each coroutine
registers a stack allocation allowing memcheck to recognize when
accesses are bounded.
6 years ago
Jeff Young
c836cc9cf8
Don't use activate to move as the edit tool must activate for other ops.
Fixes: lp:1839534
* https://bugs.launchpad.net/kicad/+bug/1839534
6 years ago
Jeff Young
3a2c39b0f8
Remove disappearing-preferences hack in favour of fix in wxWidgets.
This has been patched in our local OSX wxWidgets branch.
6 years ago
Jeff Young
039bd92ea5
Make LibEdit respect the Move-warps-cursor setting.
6 years ago
jean-pierre charras
b15f039444
pcb_calculator: fix an issue in a dialog: Was not resizable.
All our dialogs are resizable.
6 years ago
jean-pierre charras
3796b2fe7f
Fix minor compil warnings (signed/unsigned comparison)
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
bc07c7da11
Use wxChoice instead of wxComboBox so we get menu highlighting.
6 years ago
Jeff Young
441c2c240f
Use a transform matrix to address some print bugs.
Sadly, this only works on MSW until wxWidgets 3.1.1.
Fixes: lp:1464773
* https://bugs.launchpad.net/kicad/+bug/1464773
6 years ago
Jeff Young
17d015ed5d
Strip illegal chars from 3D filepath and change rotation increment to 90deg.
Fixes: lp:1823559
* https://bugs.launchpad.net/kicad/+bug/1823559
6 years ago