lp:~decimad/kicad/privatedevel

Created by Michael Steinberg and last modified
Get this branch:
bzr branch lp:~decimad/kicad/privatedevel
Only Michael Steinberg can upload to this branch. If you are Michael Steinberg please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Michael Steinberg
Project:
KiCad
Status:
Development

Recent revisions

6943. By Michael Steinberg

boost::foreach removal followup: const correctness, remove unnecessary copies, code style guideline.

6942. By Michael Steinberg

Replacements: boost::function -> std::function, boost::bind -> std::bind

6941. By Michael Steinberg

Improved const-correctness. Take smart pointers by value if they're copied.

6940. By Michael Steinberg

Walked all BOOST_FOREACH-loops' loop-variables: removed unnecessary copies and improved const-correctness

6939. By Michael Steinberg

Fix memory leaks with improper wxBaseConfig* usage (model ownership and ownership-transfer with std::unique_ptr)

6938. By Simon Richter

portability: maximum string constant length is 511.

This uses an array instead, which has no such limitation

6937. By Simon Richter

Use signed loop variable for OpenMP loop.

The OpenMP specification requires loop variables to be signed, for nebulous
reasons.

6936. By Simon Richter

windows: provide performance measurement primitives

On Windows, performance measurement is best performed using
QueryPerformanceCounter, which reports ticks with an arbitrary but fixed
frequency.

6935. By Simon Richter

Work around VC++ 2015 bug.

The combination of
 - template resolution
 - optimization
 - structured exception handling
 - chained operator=

appears to trigger a bug in the compiler.

As this code is nonsensical anyway (numeric_limits<>::min() returns the
smallest positive value for floating point types, but the largest negative
value for integral types), it should probably be rewritten.

This change just avoids the compiler bug, though.

6934. 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
 - ask for macros from math.h
 - suppress min/max macros from windows.h

Flags:
 - 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

In addition, remove one explicit define that is now covered by the compiler flags.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:kicad/product
This branch contains Public information 
Everyone can see this information.