jean-pierre charras
3d28d0274b
put a demo file to the right place
2018-08-01 16:44:18 +02:00
jean-pierre charras
b47ffd7054
Update python scripts examples according to recent changes in pcbnew code.
...
Add a new example to plot files
2018-08-01 16:32:37 +02:00
jean-pierre charras
fc6547f5c0
Make gerber job file writer accessible by Python scripts
2018-08-01 16:32:37 +02:00
Jeff Young
3a39ea21a2
Library pointer can be null even when LibId is set.
2018-08-01 15:27:54 +01:00
Jeff Young
2155dd6591
Simplify ExitDialog and make platform-compliant.
...
Put the buttons in platform-compliant order.
Get rid of SaveMultiOptions in favour of repeated standard save
dialogs with a "Apply to all" checkbox.
Fixes: lp:1783444
* https://bugs.launchpad.net/kicad/+bug/1783444
2018-08-01 15:27:54 +01:00
Jeff Young
72338a7002
Remove more dead code.
2018-08-01 12:36:55 +01:00
Jeff Young
6dbfa793e8
Fix GTK compile errors and remove dead code.
...
Fixes: lp:1783993
* https://bugs.launchpad.net/kicad/+bug/1783993
2018-08-01 12:23:16 +01:00
Jeff Young
9322139baa
Touch up Footprint Viewer for new Lib Tree.
2018-08-01 11:47:48 +01:00
Jeff Young
98849bde96
Generalize OSX &Cancel fix to work for other languages.
...
Fixes: lp:1784350
* https://bugs.launchpad.net/kicad/+bug/1784350
2018-08-01 10:56:45 +01:00
Jeff Young
4e3c84e733
Score leaf nodes in LIB_TREEs, not just symbols & footprints.
...
Fixes: lp:1783251
* https://bugs.launchpad.net/kicad/+bug/1783251
2018-08-01 09:35:46 +01:00
Jeff Young
9175a48c90
Enable Distribute H/V on pads.
...
Fixes: lp:1782988
* https://bugs.launchpad.net/kicad/+bug/1782988
2018-08-01 09:35:46 +01:00
Jeff Young
196bdc05db
Delete empty fields from Symbol Fields editor.
...
Fixes: lp:1784718
* https://bugs.launchpad.net/kicad/+bug/1784718
2018-08-01 09:35:46 +01:00
Jeff Young
f8a5e2c1c8
Performance enhancements in fp loading, string cmp, etc.
...
Knocks about 1/3 off the first footprint load, and more than 1/2
off subsequent loads.
2018-08-01 09:35:46 +01:00
Jeff Young
0a35c5c97e
Convert Footprint Editor to component tree.
...
Fixes: lp:1784178
* https://bugs.launchpad.net/kicad/+bug/1784178
Fixes: lp:1780363
* https://bugs.launchpad.net/kicad/+bug/1780363
2018-08-01 09:35:46 +01:00
Jeff Young
b400565880
Convert Place Footprint to component tree.
2018-08-01 09:35:45 +01:00
Jeff Young
97f7bd4cb9
Push component tree down into common.
...
Precondition to reusing component tree for footprints.
2018-08-01 09:35:45 +01:00
Seth Hillbrand
13b96799ea
pcbnew: remove duplicate rebuild in GAL
...
When running GAL, the connectivity is built when the board loads, so the
extra call to rebuild connectivity is not needed.
2018-07-31 15:13:12 -07:00
Seth Hillbrand
284c39acac
pcbnew: Unify connected lists between items/zones
...
Keep the zoneitems in the same list as the rest of the items.
2018-07-31 15:12:08 -07:00
Seth Hillbrand
f87cb64d65
pcbnew: Ensure connectivity layers are respected
...
This prevents non-copper layers from being included in the connectivity
search. It also limits the layer search in the connectivity RTree to
just the copper layer range.
2018-07-31 15:11:19 -07:00
Seth Hillbrand
2cf38f68fe
rtree: Updating to use functional
2018-07-31 14:26:57 -07:00
Seth Hillbrand
589e5b9ad7
Remove connectivity debug statements
2018-07-31 14:26:57 -07:00
Seth Hillbrand
dc1736eb87
pcbnew: Split Layers in connectivity
...
Splits the connectivity search RTree by layers to avoid large penalty on
zone searches.
2018-07-31 14:26:57 -07:00
Tomasz Wlostowski
099fcf1247
ZONE_CREATE_HELPER: fix zone cutout creation in zones with holes, reinit selection with the resulting zone
...
Fixes: lp:1784268
* https://bugs.launchpad.net/kicad/+bug/1784268
2018-07-31 22:34:56 +02:00
Mark van Doesburg
91e3d21d68
Eeschema: Copy attributes from eagle.
...
Eagle allows for variants of components to be listed in the schematic.
This patch copies the variant data into the imported schematic item,
prefixing the alternate variant names with "VARIANT_" and keeping the
alternate values.
2018-07-31 11:58:01 -07:00
jean-pierre charras
1dbaef303e
Fix FootprintWizardBase.py according to recent changes in lib_id.h
2018-07-31 18:46:25 +02:00
Wayne Stambaugh
61b68e2476
Eeschema: fix print dialog button sizer layout issue.
2018-07-31 10:34:30 -04:00
jean-pierre charras
5a2e171f9e
fix a few wxWidgets asserts.
2018-07-31 13:16:58 +02:00
John Beard
c0615c5ef8
Update CA and ZH source svg filename
...
These were updated in 7841f8a466
, but the source
files seem to have not been changed.
2018-07-30 11:40:04 -07:00
Seth Hillbrand
d8abfcf827
Revert "Extend swig definitions to contain SHAPE_LINE_CHAIN and VECTOR2I"
...
This reverts commit be0e44e2ae
.
Causes build failure with gcc 4.9.2
2018-07-30 10:19:05 -07:00
qu1ck
be0e44e2ae
Extend swig definitions to contain SHAPE_LINE_CHAIN and VECTOR2I
2018-07-30 08:45:26 -07:00
jean-pierre charras
619e13dc2d
Fix D_PAD::BuildPadShapePolygon() incorrect calculation for custom pad shapes.
...
Fixes: lp:1784340
https://bugs.launchpad.net/kicad/+bug/1784340
2018-07-30 16:56:59 +02:00
jean-pierre charras
3a02e54411
Opengl fix: bitmaps having a width not multiple of 4 were incorrectly drawn.
...
This fix draws a "sub bitmap" having a width multiple of 4.
(The loss of 1 to 3 pixels in horizontal size should be not really noticeable)
2018-07-30 16:19:35 +02:00
jean-pierre charras
6e9990449f
Gerbview: fix a minor log warning.
2018-07-30 16:19:35 +02:00
John Beard
6b039bc99e
Use M_PI for Pi, not constexpr calculation
...
Constexpr evaluation breaks Clang compilation.
Use math.h M_PI, as elsewhere.
2018-07-30 12:08:53 +02:00
Tomasz Wlostowski
516cf47946
OPENGL_GAL: optimized JP's bitmap drawing function to use textures
2018-07-30 00:13:37 +02:00
jean-pierre charras
fefc7b8172
GAL canvases: add DrawBitmap(), using a basic brute force algo for OpenGL, and a optimized code for Cairo. In this fix the brute force means draw each pixel as a rectangle. It works fine, but could be optimized.
2018-07-30 00:13:30 +02:00
jean-pierre charras
e750382e75
Fix a few wxWidgets minor asserts
2018-07-29 17:27:11 +02:00
jean-pierre charras
f5e23e4f1a
Fix a few wxWidgets minor asserts
2018-07-29 12:54:36 +02:00
jean-pierre charras
882565f2e1
Fix a few wxWidgets minor asserts
2018-07-29 10:39:05 +02:00
jean-pierre charras
70d08a2364
Fix incorrect scaling factor to draw the page limits (GAL mode)
2018-07-28 18:36:51 +02:00
jean-pierre charras
d73db8c73a
Make a few strings not internationalized, because they must not be translated (html format strings)
2018-07-28 12:47:23 +02:00
jean-pierre charras
9a6fe2b8cd
CMakeLists.txt: add a option (BUILD_SMALL_DEBUG_FILES, default off) to create smaller binaries in debug mode.
...
It forces link option -g1 instead og -g3 which allows basic debug.
This is especially useful on Mingw because binaries in debug build are very large:
_pcbnew.kiface: 1.25 Gb, small file option: 65Mb
2018-07-28 10:38:00 +02:00
jean-pierre charras
3e5cd86288
Fix a few wxWidgets minor asserts. Fix a compil warning
2018-07-28 10:31:04 +02:00
jean-pierre charras
361366bbbc
wxHtmlWindow doesn't render HTML text when used only inside our .kiface dll. (Windows and Linux)
...
* When a wxHtmlWindow is used *only* in a dll/so module, the Html text is displayed
* as plain text.
* this patch forces wxHtmlWinParser initialization to avoid this issue
*see https://groups.google.com/forum/#!topic/wx-users/FF0zv5qGAT0
Fixes: lp:1783544
https://bugs.launchpad.net/kicad/+bug/1783544
2018-07-28 07:19:22 +02:00
jean-pierre charras
46f5d81d6e
Fixes in DIALOG_IMAGE_EDITOR (minor bug fix, and code update).
...
Fixes: lp:1783796
https://bugs.launchpad.net/kicad/+bug/1783796
2018-07-27 16:30:13 +02:00
Jeff Young
421204ae80
Improve Reset to Defaults button lable.
...
Also updates action buttons to a sdbSizer so the order is correct
on OSX.
Fixes: lp:1783584
* https://bugs.launchpad.net/kicad/+bug/1783584
2018-07-27 14:58:19 +01:00
Jeff Young
3c2c5c38ad
Make icon buttons slightly wider for MSW.
...
Fixes: lp:1783703
* https://bugs.launchpad.net/kicad/+bug/1783703
2018-07-27 14:58:19 +01:00
Jeff Young
40f5ca0bf7
Fix copy/paste error in numeric evaluator.
...
Fixes: lp:1783991
* https://bugs.launchpad.net/kicad/+bug/1783991
2018-07-27 14:58:19 +01:00
Jeff Young
4dfae16c1b
Consolidate to single menu actions for save, revert, etc.
...
There's no point in having both Save Symbol and Save Library when
only one can be selected at a time.
Also cleans up a bunch of extraneous icons, and fixes a few
copy/paste errors in menus and toolbars.
2018-07-27 14:58:19 +01:00
Jeff Young
95d3336f63
We need the other end of the stick when not yet routing.
...
Fixes: lp:1781424
* https://bugs.launchpad.net/kicad/+bug/1781424
2018-07-27 14:58:19 +01:00