~sjr/kicad:msvc

Last commit made on 2019-07-05
Get this branch:
git clone -b msvc 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:
msvc
Repository:
lp:~sjr/kicad

Recent commits

2586a1c... by Simon Richter

Define compiler flags for MSVC

Defines:
 - inhibit generation of #pragma comment(lib, ...) from boost
 - inhibit warnings about "unsafe" containers
 - inhibit warnings about "unsafe" C functions
 - inhibit warnings about "deprecated" POSIX functions
 - suppress min/max macros from windows.h

Flags:
 - source and execution charsets are UTF-8
 - suppress warnings about throw() not being fully supported in the compiler
 - suppress warnings about values being explicitly cast to bool
 - enable string pooling
 - enable unreferenced code removal
 - enable COMDAT folding
 - generate PDB debug information

e8c24d6... by Simon Richter

Pull in macro definition for strncasecmp on MSVC

7ca12b5... by Tomasz Wlostowski

MSVC support for libcontext

This uses the Windows native Fiber API.

61ba06e... by Simon Richter

Work around missing min/max in Windows headers

Windows headers assume min/max to be macros, but we set NOMINMAX to hide
the macro definitions. This pulls in an alternative implementation.

82d2e82... by Simon Richter

Remove own copy of FindOpenSSL.cmake

1fdf172... by Simon Richter

Set _USE_MATH_DEFINES on Windows

All compilers need this in standards-compliant mode.

1093b12... by Tomasz Wlostowski

Export LIB_TREE_ITEM

47a809c... by Tomasz Wlostowski

pcbnew: can't return a copy of ptr_vector if items are polymorphic and have no clone() methods. Work it around.

1548dcf... by Jeff Young

Fix typo in Pad Enumeration tool.

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

18995a1... by jean-pierre charras

page layout draw function: fix a rounding issue.
For items defined by 2 point, the ending point coordinates are rounded to the near integer,
but the starting point coordinates were just truncated instead of being rounding,
creating sometimes an error for horizontal or vertical lines.

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