jean-pierre charras
b93cc8423e
qrcode_footprint_wizard.py fix (due to DRAWSEGMENT recent changes)
...
Fixes: lp:1739265
https://bugs.launchpad.net/kicad/+bug/1739265
2017-12-21 10:23:37 +01:00
Maciej Suminski
2fc07561f1
Fix crash when drawing a polygon with empty outline
...
In theory there should be no polygons with empty outline, but as you see
there was at least one leading to a crash.
Fixes: lp:1739455
* https://bugs.launchpad.net/kicad/+bug/1739455
2017-12-21 09:51:26 +01:00
Oliver Walters
5c6c60def4
Remove custom font from lib_table_grid
...
Fixes: lp:1738617
* https://bugs.launchpad.net/kicad/+bug/1738617
2017-12-21 09:35:52 +01:00
jean-pierre charras
59c527c40c
Excellon drill file generation: allows 4 digits in mantissa in Tool Information command when units are inches.
...
Fixes: lp:1738657
https://bugs.launchpad.net/kicad/+bug/1738657
2017-12-20 17:49:25 +01:00
Maciej Suminski
69ceae0ccf
Selection tool: do not select relatively large modules
...
To avoid situations when a large footprint covering most of the board
area (e.g. shield connector) is always selected, even when user clicks
in a seemingly empty spot, a simple filter has been added. In case
the footprint area covers more than 90% of the view area, the large
footprint is not selected. This way large footprints do not disturb
editing when the zoom is high enough.
Fixes: lp:1636214
* https://bugs.launchpad.net/kicad/+bug/1636214
2017-12-20 17:32:00 +01:00
Seth Hillbrand
a061fe1f99
Eeschema: Adding connection block selections
...
This adjusts the selection addition criteria for
blocks to allow items such as labels to connect to
lines not at the endpoints. It also uses the same
logic to correctly gather bus-wire, bus-bus entries.
Fixes: lp:1738941
* https://bugs.launchpad.net/kicad/+bug/1738941
2017-12-20 10:04:25 -05:00
Maciej Suminski
7f9876ec27
Fix lexical sort in component tree widget on Windows
...
Apparently explicitly requesting a column to be sorted breaks component
filtering on Windows. Without SetSortOrder() call the list is sorted and
filtering still works as expected.
Fixes: lp:1739412
* https://bugs.launchpad.net/kicad/+bug/1739412
2017-12-20 14:50:36 +01:00
Maciej Suminski
320fa7120d
Expand/collapse library nodes with Enter key in component chooser
2017-12-20 12:25:12 +01:00
Maciej Suminski
5fac73fc21
Fixed browsing order with arrow keys in component chooser on Windows
...
As Windows displays the component list in inverted order, the direction
of scrolling had to be reversed as well.
2017-12-20 12:23:05 +01:00
Maciej Suminski
6344e238b3
Fix random node selection in symbol library editor on Windows
...
Selecting a node while wxDataViewCtrl is frozen selects a random node on
Windows.
Fixes: lp:1739202
* https://bugs.launchpad.net/kicad/+bug/1739202
2017-12-20 12:06:21 +01:00
Maciej Suminski
457bbbed15
Added a comment for a1b70601
(fixed filtering in component chooser)
2017-12-20 11:48:00 +01:00
Maciej Suminski
f3a6bc6651
Fix crash on cut/remove a part in symbol library editor
...
Fixes: lp:1738635
* https://bugs.launchpad.net/kicad/+bug/1738635
Fixes: lp:1738999
* https://bugs.launchpad.net/kicad/+bug/1738999
2017-12-20 09:46:02 +01:00
Maciej Suminski
7741b90c78
gal: Draw grid from edge to edge
...
Fixes: lp:1677211
* https://bugs.launchpad.net/kicad/+bug/1677211
2017-12-20 09:28:39 +01:00
Seth Hillbrand
f4f0c09fe4
Eeschema: Clear drawing state when loading project
...
Prevents stray flags from entering schematic editing process
Fixes: lp:1738894
* https://bugs.launchpad.net/kicad/+bug/1738894
2017-12-19 11:49:25 -05:00
Maciej Suminski
a1b7060189
Fixed filtering in component chooser on Windows
...
Please never ask me about the SetSortOrder() part. When it is set to
'true', wxDataViewCtrl::EnsureVisible() does not always work correctly,
so sometimes the best search result is not shown in the window (no
pattern found). Now it is set to 'false' to avoid the described
behavior, but the sorting order is reversed on Windows, not on Linux.
I could not test it on OSX, but I am sure it paints walls in your room
pink. /me burst into tears.
Fixes: lp:1738696
* https://bugs.launchpad.net/kicad/+bug/1738696
2017-12-19 15:19:04 +01:00
Bernhard Stegmaier
29e1d3d98a
Fix Eagle plugin build errors on macOS
...
Fixes: lp:1738865
* https://bugs.launchpad.net/kicad/+bug/1738865
2017-12-19 13:38:28 +01:00
Maciej Suminski
d4c8e1b5e9
Fixed ignored hot keys for save part/library commands in Symbol Editor
...
Previously wxUpdateUIEvent::SetText() stripped hotkey from menu entries.
Fixes: lp:1737819
* https://bugs.launchpad.net/kicad/+bug/1737819
2017-12-19 12:21:07 +01:00
Maciej Suminski
017fc4da8f
Fixed capitalization and accelerators in Symbol Library Editor
...
Menu item labels follow the KiCad UI guideline.
Removed an accelerator conflict for 'Place' and 'Part' menus.
2017-12-19 12:21:07 +01:00
jean-pierre charras
f85a886ae4
Bug fix: Custom shaped pads having a not convex shape not magnetic on PnS router.
2017-12-19 11:13:28 +01:00
jean-pierre charras
3183fcb4bc
Fix minor compil warnings (some are for old compilers).
2017-12-18 19:52:44 +01:00
Tomasz Włostowski
3c6d17026e
pcbnew: router now respects local pad clearances correctly
...
Fixes: lp:1558858
* https://bugs.launchpad.net/kicad/+bug/1558858
2017-12-18 18:51:47 +01:00
Tomasz Włostowski
a4528988ca
pcbnew: fix graphical polygon movement, rotation, flipping and edit points synchronization.
...
Fixes: lp:1738449
* https://bugs.launchpad.net/kicad/+bug/1738449
Fixes: lp:1738032
* https://bugs.launchpad.net/kicad/+bug/1738032
2017-12-18 18:25:45 +01:00
Simon Richter
758d5727b0
Minor string fixes
2017-12-18 18:09:48 +01:00
Maciej Suminski
f039e0bb6d
Eagle parser: declare Convert() specialization for wxString in eagle_parser.h
2017-12-18 17:45:40 +01:00
Maciej Suminski
4b62b3519c
Update units in 'select track/via size' context menu
...
Fixes: lp:1485941
* https://bugs.launchpad.net/kicad/+bug/1485941
2017-12-18 17:03:07 +01:00
Bernhard Stegmaier
02d1b2611e
Remove wx-3.1 only constructor from HIDPI_GL_CANVAS wrapper.
2017-12-18 16:26:01 +01:00
Bernhard Stegmaier
0135d11412
Fix macOS pinch-to-zoom for 3d-viewer.
2017-12-18 16:26:01 +01:00
Bernhard Stegmaier
19d7112fa2
Merge HIDPI_GL_CANVAS wrapper with OPENGL_GAL implementation.
2017-12-18 16:26:01 +01:00
Bernhard Stegmaier
909d95b5be
Create HIDPI_GL_CANVAS wrapper for transparent wxGLCanvas HiDPI/Retina support. Enable HiDPI/Retina for 3d-viewer.
2017-12-18 16:26:01 +01:00
Tomasz Włostowski
9da1dc4c51
pcbnew: highlight net highlights ratnsest too
...
Fixes: lp:1738636
* https://bugs.launchpad.net/kicad/+bug/1738636
2017-12-18 15:30:35 +01:00
jean-pierre charras
1f78de409f
Define "template<> struct hash<wxString>" in Kicad only if wxWidgets version < 3.1.0, because it is already defined in 3.1.0
2017-12-18 09:53:14 +01:00
jean-pierre charras
9d4bfbded8
libedit, UI very minor change:
...
Enable "save curr lib" tool of main toolbar when modified even if this lib is empty.
It happens when all items are erased, and it is consistent with the close libedit dialog
that ask for saving all modified libraries
2017-12-18 09:50:28 +01:00
Christian Jacobsen
ff4829eee6
Added a validity check in SIM_PLOT_PANEL::IsGridShown()
...
Fixes: lp:1712086
* https://bugs.launchpad.net/kicad/+bug/1712086
2017-12-18 09:34:25 +01:00
Andrew Wygle
9413793ef4
Eeschema: Correctly assign unit when copy/pasting
...
Fixes: lp:1738656
* https://bugs.launchpad.net/kicad/+bug/1738656
2017-12-17 22:27:31 +01:00
Seth Hillbrand
3f24128f17
Eeschema: Updates pin cache correctly for multi-unit components
...
Fixes: lp:1738615
* https://bugs.launchpad.net/kicad/+bug/1738615
2017-12-17 14:44:12 -05:00
Maciej Suminski
2e00169ae7
Explicitly cast wxString to std::string when throwing std::exception
2017-12-17 20:17:02 +01:00
Maciej Suminski
3f68af177a
Eagle Schematic Importer fixes
2017-12-17 19:55:23 +01:00
Maciej Suminski
378846c2e3
Eagle Schematics Importer: support for UTF-8
...
Fixes: lp:1736083
* https://bugs.launchpad.net/kicad/+bug/1736083
2017-12-17 19:54:21 +01:00
Maciej Suminski
812b8b081d
Implemented std::hash<wxString> specialization
...
Thanks to that wxString objects can be stored in certain
STL containers, e.g. unordered_map.
2017-12-17 18:45:40 +01:00
Maciej Suminski
124c82f1cf
Eagle Schematic Import: fixed imported libraries location
...
Standalone eeschema did not have the project path set when importing
a non-KiCad sheet. Due to this any libraries created during the import
were saved to the directory of eeschema executable instead of the actual
schematic directory.
2017-12-17 18:45:40 +01:00
Maciej Suminski
7665a839cd
Eagle Schematic Import: try harder to generate a meaningful library name
...
The previous implementation relied only on the project name. When it is
set, the imported library was named '-eagle-import'. Now it tries
the project name and then the file name, using 'noname-eagle-import'
as fallback.
The library name is stored in the plugin to avoid changing the library
name after the project name has been set.
2017-12-17 18:45:40 +01:00
Maciej Suminski
a13c89c83d
Removed old debug output
2017-12-17 18:43:43 +01:00
Eldar Khayrullin
9f2c6e20cb
P-Cad PCB importer fixes
2017-12-17 11:27:19 +01:00
Eldar Khayrullin
4cd3992b94
pcad2kicadpcb_plugin: import graphic polygons from modules
...
Fixes: lp:1725931
* https://bugs.launchpad.net/kicad/+bug/1725931
2017-12-17 10:58:29 +01:00
Eldar Khayrullin
d62d3b8e21
pcad2kicadpcb_plugin: map layers Top/Bot Assy to F/B Fab
2017-12-17 10:58:29 +01:00
Eldar Khayrullin
87566eedc5
pcad2kicadpcb_plugin: fix size of text
2017-12-17 10:58:29 +01:00
Eldar Khayrullin
613272852d
pcad2kicadpcb_plugin: fix import a flipped RefDes
...
Fixes: lp:1730172
* https://bugs.launchpad.net/kicad/+bug/1730172
2017-12-17 10:58:29 +01:00
Eldar Khayrullin
9620a43022
pcad2kicadpcb_plugin: correct text position with arbitrary angle
2017-12-17 10:58:29 +01:00
Eldar Khayrullin
6f0e0826fa
pcad2kicadpcb_plugin: unlock orientation of footprint fields
2017-12-17 10:58:29 +01:00
Eldar Khayrullin
c9852d7c81
pcad2kicadpcb_plugin: import circles
2017-12-17 10:58:29 +01:00