Russell Oliver
3d9c25494c
Revert "Eagle importer: use only global net labels"
...
This reverts commit b1f456fade
.
2018-03-04 16:42:55 +01:00
Jon Evans
2da7199a37
GerbView: Fix active layer synchronization
2018-03-03 23:43:16 -05:00
Jeff Young
284c346828
Don't cache github libraries above nginx server.
...
It's too expensive to fetch the timestamps when the github
server is busy. See Dick Hollenbeck's comments at the top of
github_plugin.cpp for more info.
Also adds some safety to the other caching algorithms after
seeing github_plugin's wild-west usage of the kicad_plugin.
Fixes: lp:1753143
* https://bugs.launchpad.net/kicad/+bug/1753143
2018-03-04 01:16:59 +00:00
Wayne Stambaugh
43147a3a7a
Do not append "RESCUE" to symbol names when rescuing symbols.
...
Fixes lp:1741755
https://bugs.launchpad.net/kicad/+bug/1741755
2018-03-03 15:34:26 -05:00
Jeff Young
c294a54c57
Fix footprint wizard setup of gEDA libraries.
...
Fixes: lp:1753164
* https://bugs.launchpad.net/kicad/+bug/1753164
2018-03-03 20:08:29 +00:00
Jeff Young
c77d13292b
Reinstate multi-threading in zone filler.
2018-03-03 17:41:53 +00:00
Tomasz Włostowski
919b449595
Added 'show spice netlist' menu option in the simulator
...
Fixes: lp:1745887
* https://bugs.launchpad.net/kicad/+bug/1745887
2018-03-03 17:38:28 +01:00
Tomasz Włostowski
d3b259cc09
pcbnew: toolbar/menu state sync for display units
2018-03-03 17:38:28 +01:00
Tomasz Włostowski
af7064ef89
pcbnew: synchronize zone visibility view menu entries with the toolbar buttons
2018-03-03 17:38:28 +01:00
Wayne Stambaugh
aeae32b1a2
Fix file naming bug when importing Eagle projects with . in file name.
...
Fixes lp:1747470
https://bugs.launchpad.net/kicad/+bug/1747470
2018-03-03 08:35:53 -05:00
Seth Hillbrand
3760b6820f
pcbnew: align centers to the top and left
...
When aligning module centers, it can be hard to determine which item
will be chosen for the alignment target when it chooses based on the
median of the center values. Instead, this patch chooses the alignment
target as the top and left most items of the Y and X centering,
respectively
2018-03-02 20:15:51 -08:00
Seth Hillbrand
818d4257c9
pcbnew: Prevent alignment on pads + parents
...
Filter a selection that contains pads and the pads' parent modules
before performing alignment operations.
2018-03-02 20:15:51 -08:00
Seth Hillbrand
d5cd9761dd
pcbnew: Check locks in alignment
...
When aligning in pcbnew, check for pad/module locks before performing a
move and query the user.
When aligning on pads, don't move the pad without moving the footprint,
so we don't break footprints.
Fixes: lp:1751352
* https://bugs.launchpad.net/kicad/+bug/1751352
2018-03-02 20:15:51 -08:00
Seth Hillbrand
e6245c5c5a
Fix type comparison warning
2018-03-02 17:08:01 -08:00
Jeff Young
8e1d397587
Update Eagle and gEDA importers.
...
Remove a throw in the Eagle importer which just threw a wedge
in the works, and return a default modTime when the file hasn't
been set yet.
Give the gEDA importer the multi-file cache management performance
improvements from the kicad_plugin.
Fixes: lp:1752719
* https://bugs.launchpad.net/kicad/+bug/1752719
2018-03-03 00:21:26 +00:00
Jeff Young
33d925f631
Add GetLibraryTimestamp to other plugins.
...
Fixes: lp:1752719
* https://bugs.launchpad.net/kicad/+bug/1752719
2018-03-02 20:53:48 +00:00
Seth Hillbrand
cb052b42a6
LibEdit: Correct Mirroring labels in context menu
...
Fixes: lp:1752763
* https://bugs.launchpad.net/kicad/+bug/1752763
2018-03-02 10:17:55 -08:00
Maciej Suminski
3f1a3fe65b
Derive DIALOG_MULTI_OPTIONS from wxMultiChoiceDialog
2018-03-02 18:09:27 +01:00
Maciej Suminski
be13bb0013
Refactored SelectSingleOption() to take advantage of wxSingleChoiceDialog.
2018-03-02 17:43:59 +01:00
Maciej Suminski
18167f829a
Derive KIDIALOG from wxRichMessageDialog
...
wxRichMessageDialog already offers a dialog with a checkbox, so
the custom dialog setup code is not necessary anymore.
2018-03-02 17:05:35 +01:00
Maciej Suminski
1d5df8e975
Renamed KI_DIALOG to KIDIALOG
2018-03-02 11:57:03 +01:00
Maciej Suminski
d5ac7c031d
Assign net classes to nets before showing the Design Rules dialog
...
It is needed to display nets that have just been imported to the
board (e.g. in an update PCB from schematics step).
2018-03-02 11:50:13 +01:00
Andrzej Wolski
1ac5ec1fc8
Restore some missing visibility items from board file
...
LAYER_TRACKS, LAYER_PADS_TH and LAYER_NON_PLATEDHOLES
now have their own visibility control, so do not force them on.
2018-03-02 11:12:53 +01:00
Maciej Suminski
0923c7f4de
Change 'Create Array' default hot key due to a conflict with 'New File'
2018-03-02 11:08:04 +01:00
Maciej Suminski
52fcddf4f4
Allow drawing self-intersecting polygons, just display a warning
...
Fixes: lp:1751654
* https://bugs.launchpad.net/kicad/+bug/1751654
2018-03-02 10:58:43 +01:00
Seth Hillbrand
886159347a
Eeschema: Verify file content exists
...
Fixes: lp:1752724
* https://bugs.launchpad.net/kicad/+bug/1752724
2018-03-01 14:32:59 -08:00
jean-pierre charras
e3c71efbeb
Fix compil warnings
2018-03-01 18:24:36 +01:00
Maciej Suminski
de6b32d236
Share certain settings between board and footprint editor
...
45 degree graphics segments and selection vs dragging preference
should use the same setting in both applications.
2018-03-01 17:20:50 +01:00
Maciej Suminski
9127e09815
Code formatting
2018-03-01 17:20:50 +01:00
Maciej Suminski
98616da017
Added an option to enforce dragging gesture to always draw selection box
...
Partial solution to a problem described in lp:#1636214
2018-03-01 17:15:57 +01:00
Wayne Stambaugh
ce1bd4c6b7
Eeschema: fix remapping backup project with schematics in subfolders.
...
The backup code was designed for a project with all of the schematics
in the project folder which is not always the case. Fix the schematic
backup to keep the schematic folder structure in tact during backups.
Fixes lp:1751662
https://bugs.launchpad.net/kicad/+bug/1751662
2018-02-28 11:42:05 -05:00
Maciej Suminski
fef1ba9993
Increase the area ratio threshold for rejecting large footprints in selection
2018-02-28 17:00:45 +01:00
Jon Evans
88fb4c57e5
PcbNew: center on items rather than zooming to them on find
...
Fixes: lp:1751480
* https://bugs.launchpad.net/kicad/+bug/1751480
2018-02-28 16:58:05 +01:00
Simon Richter
675bd39e8a
Avoid shadowed variable
2018-02-28 16:34:03 +01:00
jean-pierre charras
2c85de3ab2
gerbview layer manager: fix a minor issue, and and icons in context menu, similar to pcbnew layer manager context menu
2018-02-28 10:21:37 +01:00
Jon Evans
2c54f6fe32
GerbView: Fix DCode reordering; ensure loaded layers are visible
2018-02-28 08:23:41 +01:00
Jon Evans
de483ac1aa
GerbView: only erase current layer if a new file is chosen
2018-02-28 08:23:40 +01:00
Jon Evans
490a2105c3
Properly update view when GerbView display settings changed
2018-02-28 08:23:39 +01:00
Jon Evans
cd14525839
GerbView: More accurate selection of arc shapes
2018-02-28 08:23:39 +01:00
Jon Evans
e2408989a4
GerbView: redraw negative items when visibility changes
2018-02-27 20:59:08 +01:00
Jon Evans
37beb726e3
GerbView: Implement in-place GAL layer reordering (for X2 sorting)
2018-02-27 20:59:07 +01:00
jean-pierre charras
eb94d2fcd0
Gerbview: fix an issue when loading files: Layer filenames order in right tab view modified each time a new file is loaded.
...
It creates strange issues (inconsistent layer filenames order, inconsistent items colors) especially with non X2 files.
2018-02-27 19:58:07 +01:00
Robbert Lagerweij
a59864201a
pcbnew: use centerpoint distribution in align tool for overlaping items
...
reimplement the centerpoint distribution and use it when the items to be
distributed overlap leaving no gap to use for spacing
Fixes: lp:1748763
* https://bugs.launchpad.net/kicad/+bug/1748763
2018-02-27 17:58:19 +01:00
jean-pierre charras
5f578c884c
Fix SetValue() method in TEXT_CTRL_EVAL
...
Normal SetValue() call would temporarily change the displayed
value, but as soon as the text widget receives focus again, the original
expression (not evaluated) is restored.
To avoid this, the original expression is cleared in the associated
NumericEvaluator object.
2018-02-27 12:47:43 +01:00
Maciej Suminski
5f2b8e0409
Change NumericEvaluator::clear() to optionally accept an object to clear
2018-02-27 12:47:32 +01:00
Jon Evans
0d794b20bb
Add null check in ROUTER_TOOL::breakTrack()
2018-02-27 08:45:06 +01:00
Dan Weatherill
4124019f41
Send model change event on design rules change
...
Dispatches a TA_MODEL_CHANGE event when the design rules dialog is
closed, the intention being to cause the router tool to re-sync its
design rule information
Fixes: lp:1462929
* https://bugs.launchpad.net/kicad/+bug/1462929
2018-02-26 14:40:18 -05:00
Jon Evans
80035661dc
Use proper path when loading files from Gerber job file
2018-02-26 14:26:58 -05:00
Jon Evans
5292829e05
Fix edge case GERBER_FILE_IMAGE creation logic
2018-02-26 14:26:47 -05:00
Jon Evans
b03ac1f614
Only update item color when highlighting items in GerbView
2018-02-26 13:48:16 -05:00