jean-pierre charras
49cedf7950
Pad properties dialog: Disambiguate connection to zone options for custom shaped pads and predefined shaped pads
2017-12-21 10:23:37 +01:00
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
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
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
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
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
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
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
a13c89c83d
Removed old debug output
2017-12-17 18:43:43 +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
Eldar Khayrullin
08b71cd252
pcad2kicadpcb_plugin: use a valid font properties
...
Use current selected font (Stroke, TrueType) properties.
Import TrueType Font properties: bold, italic.
2017-12-17 10:58:29 +01:00
Eldar Khayrullin
897702b2dc
pcad2kicadpcb_plugin: prepend numerical Ref with '.'
...
Kicad (EESchema) doesn't support only numerical references (like '1').
Prepend with '.' same references (convert reference '1' to '.1').
2017-12-17 10:58:29 +01:00
Eldar Khayrullin
21ddb2d989
pcad2kicadpcb_plugin: use default text parameters if not defined
2017-12-17 10:58:29 +01:00
jean-pierre charras
845ca5f641
very minor fixes in a few strings (replace ' by ", and module by footprint)
2017-12-16 20:46:55 +01:00
jean-pierre charras
766a9bec1e
Allows negative solder-mask margin in dialog pad properties.
...
However, this is not allowed for custom shapes pads, because it can create very strange solder mask shapes.
2017-12-16 20:43:47 +01:00
jean-pierre charras
2398d5ef8b
DIALOG_EDIT_COMPONENTS_LIBID: enhancement in orphan automatic remap:
...
add dialog to choose the right candidate when more than one is found
2017-12-16 14:50:37 +01:00
Jeff Young
27a55c5cd4
Commit in-place editing changes when dialog OK'ed.
...
Grid control in-place editing changes are not automatically
committed (at least on OSX).
Fixes: lp:1736836
* https://bugs.launchpad.net/kicad/+bug/1736836
2017-12-15 08:01:43 -05:00
Simon Richter
a9ccf1161b
Fix quotes in UI messages
...
This replaces all single and angle bracket quotes in UI messages with
double quotes, for consistency.
Sorry to all translators.
2017-12-15 07:33:07 -05:00
Tomasz Włostowski
75b21d010b
pcbnew: more thread (and nested wx event loop) safety for the zone filling/connectivity algo
2017-12-14 23:49:46 +01:00
Eldar Khayrullin
185c77e2fd
pcad2kicadpcb_plugin: fix compiling warning `override`
2017-12-14 18:52:11 +01:00
Maciej Suminski
9bb660a6bc
Fix P-Cad importer plugin warnings
...
A few methods differed by the number or type of arguments in derived
classes. They were changed to match the base class method signature and
marked as 'override'.
2017-12-14 18:52:05 +01:00
Maciej Suminski
4671b9b34e
Fixed module removal when rotating/flipping a placed module
...
Module placer did not mark the newly placed modules as selected,
but all edit functions (rotate/place/etc.) rely on getting a selected
item. When a rotation/flip command was issued, the newly placed module
was dropped and the one underneath the cursor has been rotated.
To fix this the newly placed modules are marked as selected.
It also simplifies the placer code a bit.
Fixes: lp:1738148
* https://bugs.launchpad.net/kicad/+bug/1738148
2017-12-14 17:13:42 +01:00
Maciej Suminski
9c2d1cf890
Fixed BOARD_COMMIT::Revert()
...
Revert() method was still not aware of CHT_DONE flag, therefore
the switch statement was always invalid. To fix it, the commit
type is split to type and flags as is done in Push() method.
2017-12-14 17:13:42 +01:00
Maciej Suminski
d599a83c4b
Removed unused variables in PCB_VIEW
2017-12-14 17:13:42 +01:00
jean-pierre charras
a287748921
Cosmetic enhancement: Add icons to track length tuner menu.
2017-12-14 14:33:20 +01:00
Tomasz Włostowski
eed924fe45
Fixed zone filling crash & thermal stubs inconsistency
...
Fixes: lp:1737557
* https://bugs.launchpad.net/kicad/+bug/1737557
Fixes: lp:1737542
* https://bugs.launchpad.net/kicad/+bug/1737542
Fixes: lp:1737541
* https://bugs.launchpad.net/kicad/+bug/1737541
2017-12-14 01:29:08 +01:00
Tomasz Włostowski
941ebe376c
poly2tri: throw exceptions instead of crashing on non-supported polygons
2017-12-14 01:25:28 +01:00
jean-pierre charras
c18b638c17
Cosmetic enhancement in GAL: disambiguationMenu: add icons in menuitems, like in Legacy mode.
2017-12-13 19:42:33 +01:00
Maciej Suminski
8ab8a11cf8
Faster zone and custom shape pad drawing, minor PCB_PAINTER refactor
...
Zones: it turned out that for every zone point, the set of hatch lines
has been drawn, resulting in numerous redundant lines. Now the set is
drawn only once per zone.
Custom shape pads: as GAL supports SHAPE_POLY_SETs, there is no need to
create a temporary vector to copy there a list of points to be drawn.
Changed the drawing calls to use SHAPE_POLY_SETs directly.
Thanks to Andreas Buhr patch, code for drawing filled polygons and their
outlines has been unified. Previously it was done by changing the
drawing method (GAL::DrawPolygon() vs GAL::DrawPolyline()), now it is
done by modifying attributes (stroke/fill).
2017-12-13 17:01:32 +01:00
Jeff Young
df76380a2d
Don't leave a hidden item behind.
...
If the object changes between a TA_CONTEXT_MENU_UPDATE
event and a TA_CONTEXT_MENU_CHOICE event (usually as
a result of a cancel), the old code would leave the
last item hidden.
Fixes: lp:1737562
* https://bugs.launchpad.net/kicad/+bug/1737562
2017-12-13 15:59:21 +01:00
jean-pierre charras
b395b55a20
Fix a few (minor) issues in microwave tools.
2017-12-11 12:54:44 +01:00
Maciej Suminski
f19aed9d5c
Workaround for OSX freeze when filling zones in GAL
...
More details:
https://lists.launchpad.net/kicad-developers/msg32306.html
2017-12-11 10:39:58 +01:00
Jon Evans
b6ac603f0a
Fix AlignLeft / AlignRight when using Flip Board view
...
Fixes: lp:1734377
* https://bugs.launchpad.net/kicad/+bug/1734377
2017-12-11 09:40:08 +01:00
Jon Evans
6ee26fdd8c
Remove LAYER_WORKSHEET from forced visibility since it now has a control
...
Fixes: lp:1737315
* https://bugs.launchpad.net/kicad/+bug/1737315
2017-12-10 17:41:00 -05:00
Maciej Suminski
d205366da7
Add support for wchar_t to SWIG
2017-12-08 18:04:51 +01:00
Maciej Suminski
f7072cc7c6
Moved DRC::doEdgeZoneDrc to drc_clearance_test_functions.cpp
2017-12-08 11:33:40 +01:00
Maciej Suminski
9b5dc5c215
GAL show markers for zone outlines gap test
...
Moved a DRC function (BOARD::Test_Drc_Areas_Outlines_To_Areas_Outlines)
from BOARD class to DRC (DRC::TestZoneToZoneOutline). Added BOARD_COMMITs
to handle marker visibility updates.
Fixes: lp:1619124
* https://bugs.launchpad.net/kicad/+bug/1619124
2017-12-08 11:33:32 +01:00
Seth Hillbrand
86b4a3c3e6
pcbnew: Correct spectra output default filename
...
Fixes: lp:1736724
* https://bugs.launchpad.net/kicad/+bug/1736724
2017-12-07 09:07:47 -05:00
Henner Zeller
3f57fa5d24
Change time_t in the functions that deal with timestamps to a new typedef timestamp_t (defined as a long).
...
that makes sure the c++ side and swigged Python side agree on the type, because time_t create problems in Python scripts.
2017-12-07 13:16:33 +01:00
Seth Hillbrand
a63e9b863b
pcbnew: Fix multiple delete bug
...
Delete events when using GAL are handled by only one tool handler
instead of ROUTER_TOOL and EDIT_TOOL both deleting items.
Fixes: lp:1715158
* https://bugs.launchpad.net/kicad/+bug/1715158
2017-12-07 09:31:20 +01:00