Jeff Young
79fe134495
Init Footprint Viewer with current FPID.
...
Fixes: lp:1757421
* https://bugs.launchpad.net/kicad/+bug/1757421
2018-03-21 23:11:55 +00:00
Jeff Young
99e659ff54
Coverity fixes.
2018-03-21 23:11:55 +00:00
Andrzej Wolski
ff3f229871
Decouple vias from tracks in selection filter
2018-03-21 17:21:08 -04:00
Andrzej Wolski
ea3f8743fd
Fixes in GAL selection filter:
...
- vias were always left selected, include vias in tracks filter - as in legacy
- make text filtering work
- cleanup drawings filtering code
- hide checkbox "Include items on invisible layers" because it does not work in GAL
2018-03-21 17:21:01 -04:00
Jon Evans
8cdb82df42
Update Windows MSYS2 build instructions; remove "easy way" for now
2018-03-21 14:33:44 -04:00
Maciej Suminski
bad462a228
Spice simulator: reload ngSpice dll on error
...
ngSpice frequently ends up a simulation with an error:
"Error: ngspice.dll cannot recover and awaits to be detached"
The only way forward is to reload the shared library and
reinitialize ngSpice.
Fixes: lp:1753101
* https://bugs.launchpad.net/kicad/+bug/1753101
2018-03-21 18:01:38 +01:00
Maciej Suminski
61e42ba392
Spice simulator: changed NGSPICE instance type to shared_ptr
...
It was yet another time when I tried to free a singleton pointer.
Let's make clear it is not meant to be freed manually.
2018-03-21 18:01:38 +01:00
Maciej Suminski
50053e7f27
Spice simulator: code formatting
2018-03-21 18:01:38 +01:00
Maciej Suminski
33620ecc85
Revert "libngspice is linked at compile time"
...
This reverts commit 75f8b20493
.
In case of problems, ngspice demands to be detached which is not
possible when it is linked at compile time.
2018-03-21 18:01:38 +01:00
Maciej Suminski
dfd2a8fc48
NumericEvaluator: return false for invalid expressions
...
Clearing bClError flag in NumericEvaluator::parseOk() made the
expression look valid, even if the flag has been set for a previous
token. Now it is cleared before an expression is parsed and verified
after parser finishes.
Fixes: lp:1756995
* https://bugs.launchpad.net/kicad/+bug/1756995
2018-03-21 17:11:35 +01:00
jean-pierre charras
7b4a8d7eb5
Gerber job file: update file format due to a recent change.
...
Please: note the gerber JSON file format is currently a moving target, although most of the format is now fixed.
Most, but not all.
2018-03-21 12:40:10 +01:00
Jon Evans
477b4c5447
Update Linux application and mimetype icons
2018-03-20 22:42:32 -04:00
Jon Evans
31081269d3
Update application icons
2018-03-20 22:26:59 -04:00
Jon Evans
285bf79370
Fix strings for save/load project menu options; standardize on "Load"
...
Fixes: lp:1753659
* https://bugs.launchpad.net/kicad/+bug/1753659
2018-03-20 22:20:54 -04:00
Jon Evans
b9ce203487
Fix pad selection requirements in footprint editor
...
Fixes: lp:1757295
* https://bugs.launchpad.net/kicad/+bug/1757295
2018-03-20 21:15:05 -04:00
Jon Evans
b53ed148f3
Optimization to track DRC and some formatting cleanup
2018-03-20 20:37:35 -04:00
Jon Evans
c78171d01f
DRC: Add an optional mode to report all track errors
...
Fixes: lp:1754442
* https://bugs.launchpad.net/kicad/+bug/1754442
2018-03-20 19:54:06 -04:00
Seth Hillbrand
73408f3f21
Correct DRC calculation on segments
...
If objects are at the clearance limit, they qualify as passing DRC.
Therefore, all comparison functions that indicate failure should be
strictly greater than or less than while all comparison functions that
indicate success (in the DRC) should be greater/equal or less/equal.
This also corrects a rounding error at the nm scale and handles
scaling zero-length and large segments correctly.
Fixes: lp:1756403
* https://bugs.launchpad.net/kicad/+bug/1756403
Fixes: lp:1593373
* https://bugs.launchpad.net/kicad/+bug/1593373
2018-03-20 15:35:53 -07:00
Jeff Young
683be7155e
Mirror-image coordinate system on back of board for PNP.
...
Also converts any delimiters in tokens to underscores.
Fixes: lp:1679205
* https://bugs.launchpad.net/kicad/+bug/1679205
2018-03-20 16:57:42 +00:00
jean-pierre charras
b5f1fdd981
Add icon to Get and Move context menu item in GAL mode.
...
Windows does not like mixing menu items with and without icons (sizing error).
Fixes: lp:1756263
https://bugs.launchpad.net/kicad/+bug/1756263
2018-03-20 08:30:02 +01:00
Jon Evans
3103e3dc4c
DRC: Center zoom on marker location, not DRC item start location
...
For some DRC checks, the location of the marker is not the location
of the first item in the resulting DRC_ITEM, so centering the screen
on PointA of the DRC_ITEM can be confusing.
2018-03-19 22:25:55 -04:00
Maciej Suminski
b40bf4c0ea
Center DIALOG_SHIM position if it would have appeared off the screen
...
DIALOG_SHIM stores the dialog position, so every time it is shown, it is
displayed in the same location. This caused problems on multidisplay
setups, as dialogs could show up off the screen if the original display
has been detached in the meantime, effectively making them inaccesible
to the user.
Fixes: lp:1756623
* https://bugs.launchpad.net/kicad/+bug/1756623
2018-03-20 00:02:22 +01:00
Wayne Stambaugh
620c2af356
KiCad: fix template folder load bug.
...
Add a check to see if the folder selected by the user contains a
project template meta data folder and use that folder instead of
assuming that it is a folder containing sub-folders with project
templates. The normal behavior is preserved when no meta data
folder is detected.
Fixes lp:1751465
https://bugs.launchpad.net/kicad/+bug/1751465
2018-03-19 12:49:57 -04:00
Maciej Suminski
33dcc080ea
STEP exporter: check board outline continuity
2018-03-19 17:34:11 +01:00
Maciej Suminski
a42aed3305
Added "Copy" to right click menu in WX_HTML_REPORT_PANEL
2018-03-19 17:15:07 +01:00
Maciej Suminski
17d63dbc1f
Fixed text alignment in WX_HTML_REPORT_PANEL
2018-03-19 17:04:38 +01:00
Maciej Suminski
5ba3e43d31
Converted STEP exporter dialog to use WX_HTML_REPORT_PANEL
2018-03-19 17:04:38 +01:00
Maciej Suminski
eebabf165b
kicad2step: Report lack of model definition rather than empty file names
2018-03-19 17:04:38 +01:00
Maciej Suminski
47e4798423
kicad2step: Report function name and line number only in debug builds
2018-03-19 17:04:38 +01:00
jean-pierre charras
2ff74cb3fc
Add support for .gbrjob new file format (JSON format) in Gerbview
...
Add experimental code to generate .gbrjob files in the new JSON file format
2018-03-19 15:14:20 +01:00
Jeff Young
1a845bc4ad
Safer way to commit in-progress changes in wxGrid.
...
In some cases the wxGrid would attempt to close the editor in
the middle of the d'tor, resulting in segfaults.
2018-03-19 12:13:28 +00:00
jean-pierre charras
5e34563f52
Fix a long calculation time that happens with some gerber files when closing Gerbview in legacy display mode.
2018-03-19 10:58:27 +01:00
Maciej Suminski
ce610f33a2
Coverity fixes
...
resource leak: #172233
negative array index write: #102363
uninitialized scalar field: #174540 #174539
structurally dead code: #169334 #169331
2018-03-19 10:02:05 +01:00
Jon Evans
4e76a18d5d
Add checks against missing D-Codes in flashed Gerber items
...
Fixes: lp:1756710
* https://bugs.launchpad.net/kicad/+bug/1756710
2018-03-18 21:55:27 -04:00
Jeff Young
aa0ae48dda
Update status bar and toolbars on language change.
...
Fixes: lp:1392582
* https://bugs.launchpad.net/kicad/+bug/1392582
Fixes: lp:1748428
* https://bugs.launchpad.net/kicad/+bug/1748428
2018-03-18 22:17:27 +00:00
Jeff Young
89ebab5df2
Comments for SELECTION_TOOL::guessSelectionCandidates().
2018-03-18 22:17:27 +00:00
Jeff Young
df924a5e68
Follow standard FBP naming conventions.
2018-03-18 22:17:27 +00:00
Carsten Schoenert
bc1b10bc92
AboutDialog_main.cpp: update the link to the libraries
...
The KiCad official libraries have now a own dedicated website.
2018-03-18 11:21:24 -04:00
Carsten Schoenert
4723aae18c
AboutDialog_main.cpp: re-adding i18n macros
...
Some strings in the About Kicad dialog are not displayed as translated
strings due the strings not marked as i18n based strings.
2018-03-18 11:21:24 -04:00
jean-pierre charras
827b818b5d
Very minor fixes in Gerbview and Kicad:
...
Gerbview: fix X2 z order display of Adhesive (Glue) layers.
Kicad: very minor cosmetic enhancement in Create Project dialog.
2018-03-18 16:04:23 +01:00
Jeff Young
e0e0687cd7
Revert "Allow 5.0 to read 6.0 files with hole-to-hole clearance settings."
...
This reverts commit 0a4c04530a
.
2018-03-16 22:22:15 +00:00
Jeff Young
1684fc735a
Defensive coding to attempt to prevent wxWidgets crash.
...
Fixes: lp:1756255
* https://bugs.launchpad.net/kicad/+bug/1756255
2018-03-16 19:02:25 +00:00
Jeff Young
b8fd2f3c79
Revert "Don't be pedantic about the file format."
...
This reverts commit 1537cbc59c
.
2018-03-16 18:11:36 +00:00
Jeff Young
d3e7efcd66
Ignore pads when selecting drag candidates in router tool.
...
Fixes: lp:1747156
* https://bugs.launchpad.net/kicad/+bug/1747156
2018-03-16 18:01:40 +00:00
Jeff Young
b335ef0531
Don't involve user in implementation details.
...
Fixes: lp:1756299
* https://bugs.launchpad.net/kicad/+bug/1756299
2018-03-16 16:57:38 +00:00
Jeff Young
1537cbc59c
Don't be pedantic about the file format.
...
It's just another form of nagging.
2018-03-16 16:57:38 +00:00
Marco Ciampa
9e8bcbea04
Gerbview: fix typo in tooltip string.
2018-03-16 09:41:53 -04:00
Wayne Stambaugh
3f52e87224
Standardize terminology for automatic zoom to "Zoom to Fit".
...
Fixes lp:1753336
https://bugs.launchpad.net/kicad/+bug/1753336
2018-03-16 08:38:36 -04:00
jean-pierre charras
819056df9d
Eeschema: Add footprint field to Cadstar netlist file.
...
Fixes: lp:1755996
https://bugs.launchpad.net/kicad/+bug/1755996
2018-03-16 13:20:00 +01:00
Jeff Young
3b0a758f97
Ensure router layer is visible.
...
Fixes: lp:1663556
* https://bugs.launchpad.net/kicad/+bug/1663556
2018-03-16 02:43:17 +00:00