~sjr/kicad:coordinates

Last commit made on 2018-11-20
Get this branch:
git clone -b coordinates https://git.launchpad.net/~sjr/kicad
Only Simon Richter can upload to this branch. If you are Simon Richter please log in for upload directions.

Branch merges

Branch information

Name:
coordinates
Repository:
lp:~sjr/kicad

Recent commits

9394846... by Simon Richter

Compatibility functions for new coordinate system

1aeddea... by Simon Richter

New coordinate framework

acfa13c... by jean-pierre charras

Fix typo

70e660d... by Seth Hillbrand

GRID_HELPER: Update target geometry when moving

Setting a previously visible item visible is a nop. If the target was
visible, make sure to update the geometry

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

f1f4473... by Wayne Stambaugh

Footprint editor: add save view to PNG file.

Factor out save current canvas view to image file code from symbol editor
code so it can be used anywhere.

Add ability to save to any image format supported by wxBitmapType. See
https://docs.wxwidgets.org/3.0/gdicmn_8h.html#a90a1eb6d85b5044a99b706fd979f27f5.
Currently only PNG output is implemented.

Please note that there is a minor bug that appears to be due to the
scroll bars which causes unfilled areas on the right and bottom edges
of the image. This always existed in the save symbol editor view
image but it was not as noticeable because by default the background
color is white. It is very noticeable in the footprint editor with
a black background.

The usual smattering of coding policy and comment fixes.

Fixes lp:1802127

https://bugs.launchpad.net/kicad/+bug/1802127

6860320... by Jeff Young

Init LibEdit with unit & conversion when opening from schematic.

3de04e1... by Jeff Young

Convert pasted objects to current unit and DeMorgan variant.

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

5c72674... by Jeff Young

Move Zone Properties dialog to Connect() strategy.

If checkboxes don't have individual IDs FormBuilder won't assign
them and the event table ends up connecting each checkbox to all
of the checkbox handlers in the dialog.

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

4c355c3... by John Beard

Fix rounding in COLOR4D::ToColour

Due to the implicit floor of the cast from double to unsigned char,
there was a small rounding error in COLOUR4D's WX conversion function.

This fixes the failing tests.

Also make the cast to unsigned char explicit.

ee81921... by John Beard

QA: Make a separate unit test utils library, COLOR4D tests

This includes:

* Linkage against the Boost unit test libs
* Configuration of the Boost libs
* A place for common generics "extras" for unit test harnesses
  including
    * A simple way to allow "expected-failure" tests (without
      breaking Boost < 1.58, e.g. Ubuntu LTS)
    * Moving some simple numeric predicates from the geom tests
      to the utils library.

Expand unit test docs to describe the expected failures macro.

Add a few COLOR4D tests, including one with expected failures due
to a pre-existing bug. This will be fixed in a follow-up commit.