Jeff Young
9aaa235b7b
Use binary search on Footprint Info list.
While it only improves footprint loading on the standard library
by about 6%, it will keep larger libraries from getting catastrophic.
7 years ago
Jeff Young
33fc74a04d
Performance enhancements for Footprint Editor construction.
7 years ago
Jeff Young
92b3aca0ef
Fix crash when trying to view invalid footprint link.
Fixes: lp:1785218
* https://bugs.launchpad.net/kicad/+bug/1785218
7 years ago
Jeff Young
1b71c723bc
Fix pad properties Y dimension enabling.
Fixes: lp:1785241
* https://bugs.launchpad.net/kicad/+bug/1785241
7 years ago
Jeff Young
f3f814e622
Performance enhancements for footprint info list.
Cache the footprint info on disk (in the project).
Move timestamp-generation (and checking) to the filesystem so the
above will be bullet-proof.
Rewrite some wxWidgets classes for performance (see common.h).
7 years ago
Jeff Young
5e8e2570ba
Fix thread-safety issue with some global wxStrings.
These cause intermittent crashes in footprint loading. See
comments in code.
7 years ago
jean-pierre charras
e556cb8c91
Fix a minor wxWidgets debug alert.
7 years ago
qu1ck
72fcf46430
Extend swig definitions to contain SHAPE_LINE_CHAIN and VECTOR2I
8 years ago
Wayne Stambaugh
8e7d6063fd
Minor dialog and frame window improvements.
Drop all uses of wxRAISED_BORDER and wxSUNKEN_BORDER from dialogs and
panels used in main frame windows.
Drop use of wxSP_3DSASH options on all wxSplitterWindow definitions.
Minor dialog alignment and spacing fixes.
7 years ago
jean-pierre charras
ce3760438c
Fix a few wxWidgets minor asserts. Fix also a missing bitmap button initialization.
Fixes: lp:1783703
https://bugs.launchpad.net/kicad/+bug/1783703
7 years ago
Jeff Young
d8d4f75fa1
Fix button order and genralize Exit dialog so it can be shared more.
This also fixes a bunch of bugs where an error during save would
still close the window (rather than cancelling the close action).
Fixes: lp:1785034
* https://bugs.launchpad.net/kicad/+bug/1785034
7 years ago
Jeff Young
c655bffac1
Improve context menu consistency.
Also fixes some interactivity issues in the microwave tools around
single-click tools that have initial properties dialogs. Those
need to act kind of like a hybrid between single-click and two-click
tools.
Fixes: lp:1751381
* https://bugs.launchpad.net/kicad/+bug/1751381
7 years ago
Jeff Young
d6c6322f95
Leave measurement visible until another is started.
7 years ago
Seth Hillbrand
3a09358264
modedit: Store single copy of the footprint in undo
When changing elements in the module editor, each element shares the
same parent. Undo commits store a copy of the parent as it existed
before the change. For footprints with many elements, this creates
large, slow undo commits as a copy of the full footprint is stored for
each element being edited.
This keeps a single copy of the footprint in the undo stack per edit.
Fixes: lp:1780526
* https://bugs.launchpad.net/kicad/+bug/1780526
7 years ago
Maciej Suminski
53236a3838
Removed redundant 'v' in noise simulation command
Fixes: lp:1784282
* https://bugs.launchpad.net/kicad/+bug/1784282
7 years ago
jean-pierre charras
3d28d0274b
put a demo file to the right place
7 years ago
jean-pierre charras
b47ffd7054
Update python scripts examples according to recent changes in pcbnew code.
Add a new example to plot files
7 years ago
jean-pierre charras
fc6547f5c0
Make gerber job file writer accessible by Python scripts
7 years ago
Jeff Young
3a39ea21a2
Library pointer can be null even when LibId is set.
7 years ago
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
7 years ago
Jeff Young
72338a7002
Remove more dead code.
7 years ago
Jeff Young
6dbfa793e8
Fix GTK compile errors and remove dead code.
Fixes: lp:1783993
* https://bugs.launchpad.net/kicad/+bug/1783993
7 years ago
Jeff Young
9322139baa
Touch up Footprint Viewer for new Lib Tree.
7 years ago
Jeff Young
98849bde96
Generalize OSX &Cancel fix to work for other languages.
Fixes: lp:1784350
* https://bugs.launchpad.net/kicad/+bug/1784350
7 years ago
Jeff Young
4e3c84e733
Score leaf nodes in LIB_TREEs, not just symbols & footprints.
Fixes: lp:1783251
* https://bugs.launchpad.net/kicad/+bug/1783251
7 years ago
Jeff Young
9175a48c90
Enable Distribute H/V on pads.
Fixes: lp:1782988
* https://bugs.launchpad.net/kicad/+bug/1782988
7 years ago
Jeff Young
196bdc05db
Delete empty fields from Symbol Fields editor.
Fixes: lp:1784718
* https://bugs.launchpad.net/kicad/+bug/1784718
7 years ago
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.
7 years ago
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
7 years ago
Jeff Young
b400565880
Convert Place Footprint to component tree.
7 years ago
Jeff Young
97f7bd4cb9
Push component tree down into common.
Precondition to reusing component tree for footprints.
7 years ago
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.
7 years ago
Seth Hillbrand
284c39acac
pcbnew: Unify connected lists between items/zones
Keep the zoneitems in the same list as the rest of the items.
8 years ago
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.
8 years ago
Seth Hillbrand
2cf38f68fe
rtree: Updating to use functional
8 years ago
Seth Hillbrand
589e5b9ad7
Remove connectivity debug statements
8 years ago
Seth Hillbrand
dc1736eb87
pcbnew: Split Layers in connectivity
Splits the connectivity search RTree by layers to avoid large penalty on
zone searches.
8 years ago
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
7 years ago
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.
8 years ago
jean-pierre charras
1dbaef303e
Fix FootprintWizardBase.py according to recent changes in lib_id.h
7 years ago
Wayne Stambaugh
61b68e2476
Eeschema: fix print dialog button sizer layout issue.
7 years ago
jean-pierre charras
5a2e171f9e
fix a few wxWidgets asserts.
7 years ago
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.
8 years ago
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
7 years ago
qu1ck
be0e44e2ae
Extend swig definitions to contain SHAPE_LINE_CHAIN and VECTOR2I
8 years ago
jean-pierre charras
619e13dc2d
Fix D_PAD::BuildPadShapePolygon() incorrect calculation for custom pad shapes.
Fixes: lp:1784340
https://bugs.launchpad.net/kicad/+bug/1784340
7 years ago
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)
7 years ago
jean-pierre charras
6e9990449f
Gerbview: fix a minor log warning.
7 years ago
John Beard
6b039bc99e
Use M_PI for Pi, not constexpr calculation
Constexpr evaluation breaks Clang compilation.
Use math.h M_PI, as elsewhere.
7 years ago
Tomasz Wlostowski
516cf47946
OPENGL_GAL: optimized JP's bitmap drawing function to use textures
7 years ago