~john-j-beard/kicad:arc_assist

Last commit made on 2017-03-01
Get this branch:
git clone -b arc_assist 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:
arc_assist
Repository:
lp:~john-j-beard/kicad

Recent commits

d44eb8e... by John Beard

Make the arc assistant overlay more dynamic

This adds two classes:

* ARC_CONSTRUCTION_MANAGER: handles the logical flow of constructing an
  arc by centre-point, set radius, set angle. This moves the logic out
  of the Pcbnew DRAWING_TOOL event loop in drawArc().
* ARC_ASSISTANT: graphical overlay to communicate current arc shape to
the user during the drawing process

a072a60... by John Beard

Add WithAlpha method to COLOR4D

This is useful for taking a "base" color and making derived colours with
the given alpha, but the same RGB value.

bbfb290... by John Beard

Make SELECTION_AREA a generic overlay item

This simplifies the (already simple) SELECTION_AREA class. It is also
moved into KIGFX::PREVIEW and put in the common library, where it can be
reused by other GAL-aware tools (not just in Pcbnew) in future.

ca0d67c... by John Beard

Add a simple item class for graphical overlays

This introduces SIMPLE_OVERLAT_ITEM, which is an abstract EDA_ITEM,
designed for use as an overlay for assisting interactive tools.

The item is drawn only on the GP_OVERLAY layer, and sets the fill,
stroke and line properties before calling a virtual function to draw the
shape, which will depend on the implementaiton of the derived class.

The motivation here is to simplify and unify basic overlays used when
in interactive tools. It is not designed to be the base class of all
possible overlays - more complex ones would be more clearly represented
as their own derivative of EDA_ITEM.

Applications of this class can include: zoom/select rectangles, zone
polygon previews, geometric shape helpers, and so on.

9dff85f... by John Beard

Add developer docs about testing

d7e1152... by Maciej Suminski

Correct way of freeing memory in NGSPICE class

Strings created with strdup() should be deleted using free(), not
delete.

fc0814c... by Martin Stoilov

More flexible node mapping in Spice netlist exporter

Allows to map nodes to pins for Spice models that have more pins than
corresponding schematic symbol. An example is a MOSFET model containing
gate, source, drain & body, whereas schematic symbol part has only gate,
source & drain with body and source connected inside the part.

4547b2e... by John Beard

Don't init wxBitmaps before GUI is ready

Init'ing static wxBitmaps in the global scope happens before the GUI is
ready, which segfaults, at least on GTK+. This can happen in, for
example, the Python module. In normal use, the singletop/kicad
loader has initialised the GUI first, so it doesn't manifest there.

8526935... by jean-pierre charras

GAL: better progression between zoom in/zoom out (in/out/in sequence keeps the same zoom value)

1cffcaf... by jean-pierre charras

GAL mode: Add small cross option to grid style (now: options are Dots, Grid, Small cross)