This patch used -Wmissing-declarations warning
to show functions and symbols that had no declarations, and either:
- Make static
- Add to header
This helps avoid possability that declarations and functions get out of sync.
And ensures all source files reference headers correctly.
It also makes sure functions defined with extern "C",
have this defined in the header. An error found in calligraph.h while writing this patch.
This has been applied to toonzlib, to avoid making very large global changes.
If accepted, -Wmissing-declarations warning could be added to CMake.
Directory listing compares full paths case insensitive,
this causes toLower to run a lot.
While this could be avoided entirely, at least avoid resizing the vector while lower casing strings.
This adds utility functions to conditionally add compiler flags,
allowing warnings from newer compiler versions to be used without
causing a lot of noise for users of older compilers.
* Small changes, for some reason VS 2015 can't link cprintf and they added a second function std::map::count and bind couldn't resolve the function. Substituted with a lambda-expression.
* Created all 64bit version of the 3rd party libs.
* Cleanup popup opens CleanupSettings instead of CleanupSettingsPane. Not finished, panel is wrong now (also uses CleanupSettings).
* Tried to get Twain working, failed.
* When there are more then 3 peg holes create additional holes.
* When a hole touches the boundary it should still be considered a hole.
* Do not compare dot size against fixed size. Will not work in some scan resolutions. Used the same value (PERCENT * max dot size) as later in the code in compare_dots.
* When there are more than three peg holes the code looked for the best fit and used that. The problem was, that the middle hole was used as center for auto center. For three peg holes that is correct, but does not work for more than three. Now the best fit is calculated and from there the offset of the middle of the three best fit holes is calculated and applied.
* One of the last changes broke VS2015 compatibility, it chocked on a missing include.
* fix for msvs2013
* revert autopos.cpp
* apply clang-format
* use GIT-LFS
This allows for running opentoonz without having to manually write ini files or copy the 'stuff' directory.
By default it installs to `/opt/opentoonz`.