When the filename is not absolute, the page layout file is now searched first in project folder, and then in kicad template folder, if not found in project.
Fix issue when using a page layout file in project folder: eeschema and Pcbnew did not use it, unless using an absolute path.
Now, if the file path is not absolute, it is seen as relative to the project (which is the expected behavior)
fp lib wizard: when pcbnew id compiled with USE_GITHUB_PLUGIN=OFF, the github plugin option is no more accessible (and the web viewer no more used).
Fix issue when using a page layout file in project folder: eeschema and Pcbnew did not use it, unless using an absolute path.
Now, if the file path is nor absolute, it is seen as relative to the project (which is the expected behavior)
fp lib wizard: when pcbnew id compiled with USE_GITHUB_PLUGIN=OFF, the github plugin option is no more accessible (and the web viewer no more used).
Note: the wxWidgets webkit/webview library is needed.
On windows,there is no problem.
On Linux, the libwebkitgtk-dev tool (sudo apt-get install libwebkitgtk-dev) must be installed if it is missing (and wxWidgets rebuilt).
However, to avoid use of wxwebview, you can compile kicad with cmake option -DKICAD_USE_WEBKIT=OFF.
But the github plugin wizard will be not available.
* Make patches/wxwidgets-3.0.2_macosx_yosemite.patch usable. There were
complaints here before that the patch does not work because it is a
"metapatch" that tries to patch another patch (which is not in the tree
and therefore fails). With this change, it becomes a normal patch again,
that can be applied to the wxWidgets source tree as described in
Documentation/compiling/mac-osx.txt.
* Make scripts/library-repos-install.sh compatible with OSX: This involves
checking for the correct option to enable extended regular expressions in
sed during detect_pretty_repos, as the script uses "-r", which is only
available in GNU sed. The sed shipped with Mac OSX is an older BSD descendant
sed which needs "-E". This change has been tested to work on Mac OSX 10.10.1
and on an up-to-date Arch Linux. I also changed the error message during
--install-prerequisites to inform users without apt-get or yum which programs
need to be installed to use the script.
* Add the execute flag to scripts/osx_build_wx.sh: At the moment, after
fetching the source with bzr, one has to chmod the file by hand. This
change change ensures consistency between the script and the build docs
for OSX, which assumes the script to be executable.
Looked like a minor issue, but was due to a more serious bug, when using 2 different DSN_LEXERS which were not synchronized.
The fix is not perfect, but unfortunately, the parser used to read the PCB_PLOT_PARAMS in .kicad_pcb files is also used in legacy board file reader.
Therefore it is better than write 2 parser functions, one for legacy files, the other for the .kicad_pcb files, which make the same thing.
BOM dialog: remove a not very useful button, and merge its function with an other (not perfect, need more work)
Add message box to show info added in BOM python scripts (See scripts/bom-in-python/README-bom.txt about this info)
This is due to the fact the boost::pylygon function resize ( a inflate/deflate function) used for calculations does not work with boost version >= 1.56.
Use Clipper inflate/deflate function instead. It is faster and works fine.
Inflate/deflate polygons does not work very well (neither with boost::polygon >= 1.56 nor with Clipper) for polygons which have holes linked by overlapping segments
(i.e. polygons with holes which can be drawn, because they are see as only one polygon)
Some code cleanup.