Jeff Young
6b3410974d
Fix "same layers" test when duplicating zones.
2018-05-01 13:54:31 +01:00
Wayne Stambaugh
5d71153eab
Fix macos build bug caused by commit 2f5fdcf3
.
2018-04-30 15:47:50 -04:00
Wayne Stambaugh
6850e23fe0
Replace printf debugging output in common/project.cpp with wxLogTrace.
2018-04-30 15:18:09 -04:00
Seth Hillbrand
b2b70ed7e3
Fix minor signed/unsigned comparison
2018-04-30 11:15:29 -07:00
Seth Hillbrand
12487e14ab
Reduce extra loop comparison
2018-04-30 09:14:23 -07:00
Simon Richter
2f5fdcf329
Don't reference CMAKE_INSTALL_PREFIX in installation paths
...
This is substituted at configuration time, creating an absolute path, which
breaks overriding CMAKE_INSTALL_PREFIX at installation time, breaking the
workflow for installation using GNU stow.
2018-04-30 10:32:15 -04:00
Andrzej Wolski
5ac4dbe641
Fix window/crossed selection mode recognition in flipped view
...
Fixes: lp:1767233
2018-04-30 14:57:38 +02:00
jean-pierre charras
7395949ae0
LIB_ID: fix incorrect detection of illegal chars, when values are not ASCII values.
...
Fixes: lp:1764055
https://bugs.launchpad.net/kicad/+bug/1764055
2018-04-30 11:46:24 +02:00
jean-pierre charras
b636aaddf6
Eeschema: fix incorrect UI messages in dialogs due to using UTF8 strings instead of wxStrings (unicode) to build them.
...
(Added a explicit to build a Unicode string in UI messages to avoid mistakes)
2018-04-30 11:46:23 +02:00
Jeff Young
c8a784058e
Allow duplicating a zone onto the same layer in a GAL canvas.
...
Duplicate already works, so there's little reason to disallow
using the zone dialog to do it.
The legacy canvas can't be fixed because we'll immediately
union the two zones, resulting in a no-op.
Fixes: lp:1464677
* https://bugs.launchpad.net/kicad/+bug/1464677
2018-04-29 20:28:45 +01:00
Jeff Young
ae711d9994
Separate clearance axes when plotting pads to DXF (among other things).
2018-04-29 18:51:18 +01:00
Jeff Young
7b734551d3
Make sure pin-caches are up-to-date before testing dangling ends.
...
Fixes: lp:1767745
* https://bugs.launchpad.net/kicad/+bug/1767745
2018-04-29 16:55:24 +01:00
Jeff Young
21ceb786ac
Clear annotations *after* rebuilding symbol links.
...
We need to symbol links to determine whether or not units are
locked (ie: non-interchangeable).
Fixes: lp:1767744
* https://bugs.launchpad.net/kicad/+bug/1767744
2018-04-29 15:09:28 +01:00
Jeff Young
41b92b6d0f
Don't discard footprint's library ID when saving.
...
Fixes: lp:1767736
* https://bugs.launchpad.net/kicad/+bug/1767736
2018-04-29 09:45:05 +01:00
jean-pierre charras
ccb668c105
3D viewer: fix polygon contours of pads solder paste when solder paste ratio was not null.
...
(the oval and round rect pads 3D contours were incorrect)
Fixes: lp:1767209
https://bugs.launchpad.net/kicad/+bug/1767209
2018-04-28 20:31:50 +02:00
Seth Hillbrand
2a87117edc
Speed load/unload of complex boards
...
Corrects an error in polyline estimation
Syncs graphics to world PNS by whole layer set rather than
individual layer at a time.
Prevents reloading of full pns TOOL_BASE during reset of tools unless
the tool is being activated.
Fixes: lp:1766626
* https://bugs.launchpad.net/kicad/+bug/1766626
2018-04-28 16:11:07 +02:00
jean-pierre charras
458f9f5c97
3D viewer: fix incorrect calculation of pad shapes with clearance (i.e. pad shapes on solder paste and solder mask layers)
...
Fixes: lp:1767209
https://bugs.launchpad.net/kicad/+bug/1767209
2018-04-28 12:41:43 +02:00
Jeff Young
91cfecaa12
Don't allow wxDataViewCtrl updates during model update.
...
Also checks to make sure libraries are activated before adding
them to the component tree.
Fixes: lp:1765286
* https://bugs.launchpad.net/kicad/+bug/1765286
2018-04-28 10:45:32 +01:00
Maciej Suminski
5a051358b7
Removed an obsolete comment
2018-04-28 01:19:42 +02:00
Maciej Suminski
9960416e32
Spice simulator: plot currents in DC sweep simulation
...
Fixes: lp:1767457
* https://bugs.launchpad.net/kicad/+bug/1767457
2018-04-28 01:14:00 +02:00
Maciej Suminski
4d6947b56a
Spice simulator: do not display V(0) in the signals list
2018-04-28 01:14:00 +02:00
Maciej Suminski
539d12b08f
Spice simulator: more elegant approach to generating Spice device names
...
Code fixing Spice device names (prefixing reference with a character
corresponding to the assigned device model type) that was duplicated in
a few places has been moved to a function (NETLIST_EXPORTER_PSPICE::GetSpiceDevice()).
2018-04-28 01:14:00 +02:00
Maciej Suminski
095112a902
Spice simulator: add device prefix only when necessary for DC sweep (missing in bc67d1ad
)
2018-04-27 23:09:58 +02:00
jean-pierre charras
502bed083d
Fix a minimal size for the spice simulator frame.
...
For an obscure reason, the minimal frame size fixed in EDA_BASE_FRAME was not working.
2018-04-27 20:35:23 +02:00
jean-pierre charras
a9dd5b5335
Sim spice fix: the frame size was not the last stored size (like for other frames) but a default fixed value.
...
The frame size (and its subframes) is now the last used.
2018-04-27 18:33:13 +02:00
Jeff Young
cfd2f1d001
Missed some menu items in the earlier clean-up.
2018-04-27 15:26:00 +01:00
Jeff Young
942d4e7658
Check footprint history list for validity.
...
Fixes: lp:1767108
* https://bugs.launchpad.net/kicad/+bug/1767108
2018-04-27 15:26:00 +01:00
jean-pierre charras
ccce376e33
Refinements for commit 986b904
...
(Add comments and a minor fix)
2018-04-27 16:01:59 +02:00
Maciej Suminski
bc67d1ad8c
Spice simulator: prefix reference with device type only when necesary
...
Fixes: lp:1767271
* https://bugs.launchpad.net/kicad/+bug/1767271
Fixes: lp:1700853
* https://bugs.launchpad.net/kicad/+bug/1700853
2018-04-27 14:18:53 +02:00
jean-pierre charras
986b90424b
Fix an issue in LoadPlugins(bundlepath=None) python method (Windows specific).
...
For some obscure (for me) reason, the path separators in bundlepath are seen as escape seq, and the path can be incorrectly handled
(when \n or \r are found in this string).
it happens only for this path, not for other paths in LoadPlugins.
For bundlepath parameter, unix separator is now used.
Fixes: lp:1766879
https://bugs.launchpad.net/kicad/+bug/1766879
2018-04-27 14:04:24 +02:00
Maciej Suminski
7d9dea7897
Remove an excessive assert for Cairo canvas size
...
It is a C-style assert causing application termination when triggered.
Certain systems display pcbnew window shrinked so much, that the canvas
size is 0x0 pixels. The only problem with that is the window needs to be
resized.
Fixes: lp:1767031
* https://bugs.launchpad.net/kicad/+bug/1767031
2018-04-27 10:06:36 +02:00
Jeff Young
5e5e80d392
Don't allow panel to overwrite values set in Spice Model editor.
...
Fixes: lp:1766920
* https://bugs.launchpad.net/kicad/+bug/1766920
2018-04-26 19:13:19 +01:00
Jeff Young
6ccc8577ad
Hand-code calculation of field names column width.
...
Fixes: lp:1737361
* https://bugs.launchpad.net/kicad/+bug/1737361
2018-04-26 19:13:19 +01:00
jean-pierre charras
641c8bb548
PCBNew: Fix crash while routing in Legacy canvas
...
it was due to a incorrect behavior of TRACK::GetBestInsertPoint( BOARD* aPcb )
Also: update comment for this method.
Fixes: lp:1767061
https://bugs.launchpad.net/kicad/+bug/1767061
2018-04-26 19:42:55 +02:00
jean-pierre charras
7a923ab969
vrml export: fix line min width to 0.05mm (instead of 0.12mm)
2018-04-26 19:42:54 +02:00
Jeff Young
888c434776
Treat Mac as special case rather than GTK.
...
(Windows also needs the padding we use for GTK.)
2018-04-26 15:51:34 +01:00
Wayne Stambaugh
a7528df198
Allow for multiple user configurations.
...
Use KICAD_CONFIG_HOME environment variable on all platforms so users can
maintain multiple configurations of KiCad.
2018-04-26 08:29:37 -04:00
Jeff Young
dcf02f5f67
Use a single calc-column-width-impl for Fields Editor.
...
Also adds calculation of the initial splitter position based on
the widths of the fields in the list.
Fixes: lp:1737361
* https://bugs.launchpad.net/kicad/+bug/1737361
2018-04-26 11:10:58 +01:00
Jeff Young
5342aacf97
Implement magnetic pads & tracks for measurement tool.
...
This really needs to get put into the VIEW_CONTROLS for all the
tools, but that's probably a bit too risky for 5.0 at this
point.
Fixes: lp:1766547
* https://bugs.launchpad.net/kicad/+bug/1766547
2018-04-25 23:36:17 +01:00
Jeff Young
ac778bc5b4
Only draw hidden pins if requested or in LibEdit.
...
Fixes: lp:1742485
* https://bugs.launchpad.net/kicad/+bug/1742485
2018-04-25 20:07:22 +01:00
Jeff Young
09a6bada03
Delegation of keyEvents from 3D toolbar to 3D canvas.
...
Fixes: lp:1759803
* https://bugs.launchpad.net/kicad/+bug/1759803
2018-04-25 14:19:32 +01:00
jean-pierre charras
68e69fe95d
eeschema: context menu pops up on 2nd click after ESC key was pressed twice
...
other very minor fixes
Fixes: lp:1766830
https://bugs.launchpad.net/kicad/+bug/1766830
2018-04-25 14:28:41 +02:00
jean-pierre charras
528a67b27c
Fix incorrect sizing of 2 columns in dialog, on GTK (issue perhaps depending on GTK/wxWidget version)
2018-04-25 12:07:43 +02:00
jean-pierre charras
91209e194c
Remove useless tests after operator new
2018-04-25 12:07:43 +02:00
Jeff Young
7a7da560bc
Keep unknown nets at 0 while routing.
...
Previous algorithm used a static variable which it decremented
for each new unconnected track, but this resulted in the router
marking earlier fixed segments as collisions (because they
would get set to netcode = 0 when "fixed").
Fixes: lp:1762043
* https://bugs.launchpad.net/kicad/+bug/1762043
2018-04-25 10:54:32 +01:00
Maciej Suminski
26ee673a6b
Validate symbol alias names read from .dcm files
...
Fixes: lp:1766551
* https://bugs.launchpad.net/kicad/+bug/1766551
2018-04-25 10:15:44 +02:00
Jeff Young
4b3772cf07
Update value field when changing power symbol reference.
...
Fixes: lp:1765932
* https://bugs.launchpad.net/kicad/+bug/1765932
2018-04-25 00:36:08 +01:00
Jeff Young
7e29ff0bc4
Conditional compilation for global fields editor listbox.
2018-04-24 23:45:44 +01:00
Seth Hillbrand
8d017c9261
Re-enabling global spread and place
...
This had been removed along with autorouter but its functionality is
still desired. If/when the autorouter is resurrected, these IDs will
need to be deconflicted.
Fixes: lp:1766550
* https://bugs.launchpad.net/kicad/+bug/1766550
2018-04-24 11:44:08 -07:00
Seth Hillbrand
d0ffff3b88
Prevent deletion while actively routing
...
Fixes: lp:1766280
* https://bugs.launchpad.net/kicad/+bug/1766280
2018-04-24 10:44:49 -07:00