~john-j-beard/kicad:swatches

Last commit made on 2017-02-28
Get this branch:
git clone -b swatches https://git.launchpad.net/~john-j-beard/kicad
Only John Beard can upload to this branch. If you are John Beard please log in for upload directions.

Branch merges

Branch information

Name:
swatches
Repository:
lp:~john-j-beard/kicad

Recent commits

8bd381a... by John Beard

Break row indicators out to own class

The introduces INDICATOR_ICON, which is a very simple class holding a
bitmap that can toggle on or off.

The ICON_PROVIDER class then provides icons to INDICATOR_ICONS, which
means the class can be used for more than just row indicators.

A default row icon provider is also provided for use in the standard row
selector.

604b559... by John Beard

Use Bind rather than Connect in LAYER_WIDGET

Bind is safer than Connect. Bind is more flexible and has a more concise
signature.

99687d1... by John Beard

Move layer/render swatches to own class

This introduces COLOR_SWATCH, which is a reusable
widget that shows a color swatch and can invoke the colour picker
when duble/middle clicked.

It uses it's own wxCommandEvent to signal the change.

This makes the layer widget simpler internally, and also allows other
code to show identical swatches if needed.

9abf280... by John Beard

Use wxStaticBitmaps for layer/render swatches

On Linux with recent GTK+ toolkits, these swatches had very wide
borders, resulting in colour swatches of only a few pixels. On OSX, all
borders were disabled, leaving only the swatch.

This commit changes the wxBitmapButton to wxStaticBitmap, which fixes
the issue on Linux GTK+ and also removes the platform-specific element,
as it will now be the same on all systems.

These widgets aren't used as buttons anyway, a single click is handled
across the whole row, not just the swatch. So using a button was not the
most intuitive affordance.

Fixes: lp:1605411
* https://bugs.launchpad.net/kicad/+bug/1605411

be10de8... by jean-pierre charras

Eeschema: Fix crash when reading a library if a symbol having aliases generates a parse error after its ALIAS list definition

94037f4... by jean-pierre charras

Fix eeschema crashes when a library has a component where the name under "DEF" does not agree with the name under "F1"
(now "F1" is forced to name given by "DEF", like in stable version)
Fix also an incorrect parsing of .dcm file, if a component was not found in corresponding symbol lib.
(Can happen for not updated .dcm files)

a0df0f7... by John Beard

When filling/unfilling zones, create undo points in GAL

This is a feature which is apparently not available in legacy, but the
undo points created in GAL do work in legacy mode.

796f321... by John Beard

Draw zone hatching in GAL

This just uses the same hatch lines that are built into the zone as
legacy.

They are always drawn, even when there is a fill, as if the fill
doesn't reach the corners, the hatches can be seen.

Fixes: lp:1487043
* https://bugs.launchpad.net/kicad/+bug/1487043

64d6c3f... by jean-pierre charras

eeschema segfault when a library "T" command is missing Halign Valign values

Fixes: lp:1668082
https://bugs.launchpad.net/kicad/+bug/1668082

f35cb6c... by jean-pierre charras

Fix: if a part description has a problem in a library, Eeschema crashes due to a double deletion.