Shawn Anastasio
3e22b75948
Fix libcontext on PPC64 ELFv2
...
libcontext currently restores and saves the FPSCR register
on ppc64. This behavior is fine (though unnecessary) on the
ELFv1 ABI which designates the register as volatile, but has
been observed to cause crashes on ELFv2 systems.
The ELFv2 ABI designates the FPSCR register as Limited-access
and specifies specific conditions that must be met to clobber
it. It does not seem that a context swap function meets these
conditions (and indeed, the save/restore register example in the
ABI document does not modify FPSCR).
This patch fixes ELFv2 ABI compliance by removing the FPSCR
save/restore code in libcontext entirely. This fixes observed
crashes on the platform and should have no consequence for
ELFv1 support.
Fixes: lp:1840088
* https://bugs.launchpad.net/kicad/+bug/1840088
2019-08-14 11:16:40 -07:00
Jeff Young
6fb96891b1
Mirror add zone icon so it's different from zone display mode icon.
...
Fixes: lp:1818867
* https://bugs.launchpad.net/kicad/+bug/1818867
2019-08-14 12:46:18 +01:00
Jeff Young
d92c318b40
Clean out obsolete icons.
2019-08-14 12:36:47 +01:00
Jeff Young
fb0fd825ba
Don't try and be too smart about scaling and worksheets.
...
Fixes: lp:1815586
* https://bugs.launchpad.net/kicad/+bug/1815586
2019-08-14 11:37:10 +01:00
Jeff Young
3cdf88f2c6
CERN copyrights for work packages.
2019-08-14 09:35:15 +01:00
Ian McInerney
8493daf9ff
Unify menu item creation for closing a window
...
* Push a function into CONDITIONAL_MENU that adds the item
* Modify the tooltip for close and exit items to have the
program name
Fixes: lp:1835454
* https://bugs.launchpad.net/kicad/+bug/1835454
2019-08-14 09:35:15 +01:00
Ian McInerney
e47c9ccc0b
pcbnew: Clean up switch statement in launcher
2019-08-14 09:35:14 +01:00
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.
2019-08-13 16:33:57 -04:00
Jeff Young
c2d77a7300
Add some defensive code to prevent re-entrant printing.
...
Fixes: lp:1765965
* https://bugs.launchpad.net/kicad/+bug/1765965
2019-08-13 18:00:09 +01:00
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
2019-08-13 16:53:40 +01:00
Jeff Young
045f5f6a61
Move some functions out of SELECTION_TOOL that don't really belong there.
2019-08-13 13:29:18 +01:00
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
2019-08-13 10:01:47 +01:00
jean-pierre charras
1c295d46a9
Pcbnew plot: fix missing footprint texts on solder mask layers.
...
Fixes: lp:1839892
https://bugs.launchpad.net/kicad/+bug/1839892
2019-08-13 09:43:36 +02:00
Seth Hillbrand
037e6bc006
Correcting missing detail in Chinese translator
2019-08-12 17:08:17 -07:00
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
2019-08-12 15:32:16 -07:00
Jeff Young
ccf18ceb0e
Fix accidental change in default radio button of Update PCB from Schematic.
2019-08-12 22:21:09 +01:00
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
2019-08-12 22:21:09 +01:00
Jeff Young
3bf24fae7a
Set selection reference point to top-left item.
...
Fixes: lp:1771016
* https://bugs.launchpad.net/kicad/+bug/1771016
2019-08-12 22:21:09 +01:00
Jeff Young
e855b244ae
Highlight whole net for simulation voltage probe.
2019-08-12 22:21:09 +01:00
Jeff Young
cc0bd9a171
Even out PCB_EDITOR_CONTROL and PCB_INSPECTION_TOOL.
2019-08-12 22:21:09 +01:00
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.
2019-08-12 15:03:25 -04:00
Ian McInerney
7bb046c0a5
cvpcb: Auto move to next NA after association
...
Also perform some cleanup of objects when windows close
2019-08-12 14:19:01 -04:00
Ian McInerney
36b430562d
cvpcb: Refactor events and cleanup formatting
2019-08-12 14:19:01 -04:00
Ian McInerney
c0204e90b1
cvpcb: Add library location to status information
...
Fixes: lp:1782805
* https://bugs.launchpad.net/kicad/+bug/1782805
2019-08-12 14:19:01 -04:00
Ian McInerney
c3b2885f88
cvpcb: Split control tool in two and add cut/copy/paste
2019-08-12 14:19:01 -04:00
Ian McInerney
95430e131e
cvpcb: cleanup include statements
2019-08-12 14:19:01 -04:00
Ian McInerney
e022a2e4d1
cvpcb: Clean up compile dependencies
2019-08-12 14:19:01 -04:00
Ian McInerney
9fda86e261
cvpcb: Move file extension to common and deprecate a header
2019-08-12 14:19:01 -04:00
Ian McInerney
796d888f8f
cvpcb: Add individual association deleting
2019-08-12 14:19:01 -04:00
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
2019-08-12 14:19:01 -04:00
Ian McInerney
d428d5fecf
cvpcb: Move some more tasks to a tool
2019-08-12 14:19:01 -04:00
Ian McInerney
06abda254a
cvpcb: Add undo/redo functionality to the associations
2019-08-12 14:19:01 -04:00
Ian McInerney
402031244d
cvpcb: Replumb the footprint association system
...
This is in preparation for implementing more association actions
and an undo/redo system.
2019-08-12 14:19:01 -04:00
Ian McInerney
72120e0a96
Actionize cvpcb
2019-08-12 14:19:01 -04:00
Ian McInerney
c0b80c67b9
Rename cvpcb footprint viewer tools
...
This is in preparation for the actionization of the main cvpcb window.
2019-08-12 14:19:01 -04:00
Michael Kavanagh
4c2ea8879f
Bit more ACTIONs cleanup
2019-08-12 13:49:55 -04:00
Michael Kavanagh
b414cbfada
Cleanup doDelete ACTIONs
2019-08-12 13:49:55 -04:00
Michael Kavanagh
79b2ff7551
Refactor deleteTool ACTION removing duplicates
2019-08-12 13:49:55 -04:00
Michael Kavanagh
db59c7011b
Unify menubar delete action
2019-08-12 13:49:55 -04:00
Wayne Stambaugh
9020a3a26c
Eeschema: remove dead code from LIB_PART object.
2019-08-12 12:13:21 -04:00
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
2019-08-12 09:30:46 -04:00
jean-pierre charras
9b6e1cb1cd
Fix incorrect I18n string.
2019-08-12 12:52:49 +02:00
Seth Hillbrand
8fcd59ebda
Adding chinese translator to AUTHORS.txt
2019-08-11 19:32:15 -07:00
jean-pierre charras
10e4bf2a20
Remove dead code
2019-08-11 14:22:58 +02:00
Seth Hillbrand
c9d65c5324
Adding contributors
2019-08-10 14:22:27 -07:00
jean-pierre charras
e04436b138
Cleaning code: remove dead code in spread_footprints.cpp.
2019-08-10 20:29:54 +02:00
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.
2019-08-10 08:28:25 -07:00
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
2019-08-10 11:58:05 +01:00
Jeff Young
3a2c39b0f8
Remove disappearing-preferences hack in favour of fix in wxWidgets.
...
This has been patched in our local OSX wxWidgets branch.
2019-08-10 11:58:05 +01:00
Jeff Young
039bd92ea5
Make LibEdit respect the Move-warps-cursor setting.
2019-08-10 11:58:05 +01:00