jean-pierre charras
0f0d9afa66
Pcbnew, legacy mode: fix ratsnest display artifacts when finishing or removing a track
2018-03-29 09:28:41 +02:00
Seth Hillbrand
d1ab62fb4d
pcbnew: Save only edited footprint when saving
...
Don't re-save all files in a library when editing a single footprint.
This creates issues with formatting in version control systems where
unmodified files are re-written without being explicitly changed by the
user.
Fixes: lp:1752991
* https://bugs.launchpad.net/kicad/+bug/1752991
2018-03-28 14:42:32 -07:00
Jon Evans
ed99251f0b
Add explicit file:// URI scheme for html help files
...
This fixes the help location on MacOS
2018-03-28 17:18:15 -04:00
jean-pierre charras
6740a37632
move and swap layers: make changes undoable.
...
minor code cleanup.
2018-03-28 15:30:11 +02:00
jean-pierre charras
6a4d14bade
Fix cosmetic issues in dialog. Use move instead of swap in dialog, to avoid mistakes, as the dialog allows moving objects between layers, and do not really swap layers.
2018-03-28 12:45:54 +02:00
Seth Hillbrand
952aa7a1a6
Removing the last of time_t and fixing downcast corner bug in collector
2018-03-27 16:52:06 -07:00
jean-pierre charras
ffa454d6f9
class MODULE: use timestamp_t instead of time_t in SetLastEditTime and GetLastEditTime, like in all other methods using a time stamp.
2018-03-27 20:43:52 +02:00
jean-pierre charras
2edc675eaf
DIALOG_LAYERS_SETUP: force 4 non copper layers to be always in use.
...
edge cut, courtyard and margin layers are (or can be) used in DRC.
So they are seen as mandatory, and the dialog always force them active.
2018-03-27 20:26:48 +02:00
Seth Hillbrand
545e6bbd0c
Defining time_t for Python
...
Fixes: lp:1732738
* https://bugs.launchpad.net/kicad/+bug/1732738
2018-03-27 09:43:23 -07:00
jean-pierre charras
78161b5922
Layers setup management: Warn user if some removed layers are in use in footprints loaded on the board.
...
Fix also memory leak and missing connectivity rebuild.
2018-03-27 13:44:59 +02:00
jean-pierre charras
602d9e1972
Fix a missing init in gerber plot script demo.
...
Fixes: lp:1759071
https://bugs.launchpad.net/kicad/+bug/1759071
2018-03-27 13:42:51 +02:00
Jon Evans
0ded476f9d
Add a hotkey to control net highlighting
...
Fixes: lp:1757446
* https://bugs.launchpad.net/kicad/+bug/1757446
2018-03-26 23:09:44 -04:00
Seth Hillbrand
9472444b41
Fix minor rounding error in curved wire import
2018-03-26 15:18:47 -07:00
Seth Hillbrand
ced0fcee1e
Updating Eagle Importer to take curved zones
...
Fixes: lp:1755879
* https://bugs.launchpad.net/kicad/+bug/1755879
2018-03-26 15:09:56 -07:00
Maciej Suminski
886dc48cc4
Point Editor: reset the pointer to the modified point as it becomes invalid
...
Fixes: lp:1759024
* https://bugs.launchpad.net/kicad/+bug/1759024
2018-03-27 00:03:48 +02:00
Jeff Young
8b94606fb5
Promote selection up context menu hierarchy.
...
This is so that tools checking for a selected item won't think
the menu has been cancelled if the selection was in a submenu.
Fixes: lp:1758372
* https://bugs.launchpad.net/kicad/+bug/1758372
2018-03-26 20:35:49 +01:00
Jeff Young
778a3a4777
Count pins instead of using netcount as a proxy.
...
Fixes: lp:1703155
* https://bugs.launchpad.net/kicad/+bug/1703155
2018-03-26 19:57:08 +01:00
Tomasz Włostowski
ca4e4aead4
router: don't push vias if push force is zero
...
Fixes: lp:1758540
* https://bugs.launchpad.net/kicad/+bug/1758540
2018-03-26 20:13:32 +02:00
Seth Hillbrand
347f6daddc
Eagle Converter: Adjust arcs to use error-based alg
...
Implements the revised, difference-error based algorithm in the Eagle
arc import rather than using the hard-coded 32-segments/360°
2018-03-26 10:39:23 -07:00
Jon Evans
1dd4af2972
Sort VIEW_GROUP drawing by layer order
...
Fixes: lp:1757146
* https://bugs.launchpad.net/kicad/+bug/1757146
2018-03-26 10:18:50 -04:00
jean-pierre charras
1cd64778d6
fix a minor compil warning.
2018-03-26 08:24:09 +02:00
Jon Evans
a8b1c2a8f2
Change dimension style to improve display and be more standard
2018-03-25 21:50:57 -04:00
Jeff Young
b3e3964787
Fix Linux crash opening CvPcb.
2018-03-26 00:52:02 +01:00
Jeff Young
ba49bd0386
Allow XLS netlist exporters to specify a file extension.
...
Fixes: lp:1591779
* https://bugs.launchpad.net/kicad/+bug/1591779
2018-03-26 00:51:54 +01:00
Wayne Stambaugh
c8c5b5da07
Fix zoom to selection in bug in gal canvas.
2018-03-25 16:12:56 -04:00
Jeff Young
a763435b59
Change zone segment count to high/low res.
2018-03-25 20:20:51 +01:00
Jeff Young
f4ce8766e3
Implement shared FOOTPRINT_LIST.
...
While we already cache the loaded footprint files, parsing said files
into the list is also time-intensive. Since the FOOTPRINT_LIST is
already hash-stamped against the current timestamps of the files that
make up the list, sharing a single copy of the list is quite
straight-forward.
2018-03-25 19:21:28 +01:00
Jeff Young
b24b0d5dfe
Dialog-ize CvPcb and implement proper Save.
...
Save now goes to disk (instead of just the in-memory schemaitc),
and the UI attempts to make this clear.
2018-03-25 19:21:27 +01:00
Wayne Stambaugh
8d8c422a19
Add zoom to selection menu entry to all editors.
...
Fixes lp:1753339
https://bugs.launchpad.net/kicad/+bug/1753339
2018-03-25 12:34:19 -04:00
jean-pierre charras
33f795be4f
Make call to Inkscape (to convert .svg files to .png files) compatible with OSX version of Inkscape
2018-03-25 16:38:45 +02:00
Jon Evans
c6e6134ebd
Set appropriate parent for new directory checkbox
...
Fixes: lp:1754731
* https://bugs.launchpad.net/kicad/+bug/1754731
2018-03-25 10:25:40 -04:00
Jon Evans
bfe9eff878
Don't use wxTE_RICH in label editing dialog
...
Fixes: lp:1742296
* https://bugs.launchpad.net/kicad/+bug/1742296
2018-03-24 22:31:34 -04:00
Jon Evans
6b51cc33da
Set appropriate parent for 3D library downloader progress dialog
...
Fixes: lp:1758095
* https://bugs.launchpad.net/kicad/+bug/1758095
2018-03-24 21:08:35 -04:00
Maciej Suminski
4b5ca0ec14
Drawing tool: prevent creating zero-length lines
...
Fixes: lp:1758570
* https://bugs.launchpad.net/kicad/+bug/1758570
2018-03-24 23:57:06 +01:00
Marco Ciampa
4594fedc2c
Small typo in menubar
2018-03-24 10:36:40 -04:00
Jeff Young
97fffe875f
Notify clients when GRID_TRICKS toggles checkboxes.
2018-03-24 13:13:57 +00:00
Seth Hillbrand
f317b10adf
Ensure that the current copper zone is not first
...
The zeroth index is reserved especially for the <no net> tag, so we need
to keep the current net at 1 or greater to keep it connected.
Fixes: lp:1758488
* https://bugs.launchpad.net/kicad/+bug/1758488
2018-03-23 20:38:47 -07:00
Seth Hillbrand
fb882633b2
Save layers regardless of view
...
We do not modify the underlying board when saving. Previously only the
visible layers were saved. This created a discrepancy between the board
that the user was editing and the board that was saved to disk.
Fixes: lp:1754049
* https://bugs.launchpad.net/kicad/+bug/1754049
2018-03-23 09:32:56 -07:00
jean-pierre charras
6940f92469
Fix compil issue and warning on Windows/msys2
2018-03-23 15:07:38 +01:00
Jeff Young
5957bc7dba
Make sure checkboxes refresh on Linux.
2018-03-23 13:33:17 +00:00
Jeff Young
7df943af9c
Play nice with JetBrains CLion
2018-03-23 12:46:17 +00:00
Jeff Young
cd0cd242d1
Move 3D polygon approximation to absolute-error algorithm.
...
Also inflates via and pad hole polygons to bisect their circles.
Fixes: lp:1758137
* https://bugs.launchpad.net/kicad/+bug/1758137
2018-03-23 12:46:17 +00:00
Jeff Young
fbf10e941b
Switch zone fillets to absolute-error algorithm.
...
And some general cleanup to related constants, etc.
2018-03-23 12:46:17 +00:00
Jeff Young
d2d0660647
Open viewer even when FPID is invalid.
...
Just show an empty viewer.
2018-03-23 12:46:17 +00:00
Jeff Young
a0364a1137
Don't make user click twice to toggle checkbox in wxGrid.
2018-03-23 12:46:17 +00:00
jean-pierre charras
29ebca4053
Very minor fix: make a menu string more easily translatable
2018-03-22 21:00:41 +01:00
Maciej Suminski
434b385a95
Eagle SCH importer: prepend # to references of symbols without assigned footprints
...
With hash character starting the reference value, schematic components
are considered as virtual and therefore netlist updater do not warn about
an unsigned footprint anymore. This approach is useful to handle logos,
frames or other virtual Eagle components.
Fixes: lp:1756281
* https://bugs.launchpad.net/kicad/+bug/1756281
2018-03-22 18:20:02 +01:00
Maciej Suminski
e9537953cd
Eagle SCH importer: reduced code duplication for importing labels
2018-03-22 18:20:02 +01:00
Maciej Suminski
97f8a3361e
Renamed ERC rule: "Test unique global labels" to "Test single instances of global labels"
2018-03-22 18:20:02 +01:00
Maciej Suminski
6331f94544
OpenGL GAL: safer error handling
...
Replaced assert() with wxCHECK(), so in case of problems methods return
instead of continuing with invalid state/data, wherever possible.
2018-03-22 18:20:02 +01:00