Commit graph

525 commits

Author SHA1 Message Date
shun_iwasawa
c7aa6fbfb0 fix brush undo crash 2016-07-05 14:24:07 +09:00
Shinya Kitaoka
fd19c4eedf Support Visual Studio 2015 (#544)
* 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
2016-07-04 17:50:30 +09:00
Campbell Barton
18f19a087d CMake/Linux: install other binaries into bin 2016-07-04 17:22:17 +10:00
Campbell Barton
ca4a5d4003 Linux: Support Release builds 2016-07-03 19:24:25 +10:00
Campbell Barton
3158be2a42 CMake/Linux: add an install target
This allows for running opentoonz without having to manually write ini files or copy the 'stuff' directory.

By default it installs to `/opt/opentoonz`.
2016-07-03 18:34:50 +10:00
Campbell Barton
4b2c78d518 Linux Docs: add libpng16 to deps 2016-07-02 15:04:40 +10:00
Campbell Barton
04a69ac821 Linux Docs: add git to build deps 2016-07-02 14:27:14 +10:00
Campbell Barton
268e1b4036 CMake: quiet warnings
- OBJCSOURCES was being used but undefined (set to empty)
- RC_FILE was being used on Linux/OSX, this is only for WIN32.
2016-07-02 09:21:15 +10:00
Shinya Kitaoka
fb022e94eb Merge pull request #555 from janisozaur/filebrowser
Fix wrong field access in filebrowser.cpp
2016-07-01 23:56:56 +09:00
Shinya Kitaoka
c89cd4d785 Merge pull request #559 from ideasman42/tcenter-line-pr
Fix checking the left-node before operating on the right
2016-07-01 23:56:34 +09:00
Shinya Kitaoka
b9016690ed Merge pull request #553 from janisozaur/isnan
isnan fixes
2016-07-01 20:53:04 +09:00
Shinya Kitaoka
3a82d02659 Merge pull request #556 from janisozaur/virtual
Mark TTileSet destructor as virtual
2016-07-01 20:44:23 +09:00
Campbell Barton
d89022ce19 Fix checking the left-node before operating on the right 2016-07-01 09:38:27 +10:00
Michał Janiszewski
dfbb44814b Mark TTileSet destructor as virtual
This class gets inherited, yet the destructor is not marked as virtual.
2016-06-30 17:17:40 +02:00
Michał Janiszewski
d73986b938 Fix wrong field access in filebrowser.cpp 2016-06-30 17:13:26 +02:00
Michał Janiszewski
b86749e216 isnan fixes
isnan was used without specifying namespace
2016-06-30 13:42:20 +02:00
Campbell Barton
78b2e3a02b CMake: search for the .so file first
The pre-compiled .a file for OSX caused linking error on Linux.
2016-06-30 19:24:04 +10:00
Campbell Barton
bbd0f1b769 Search for dynamically linked superlu 2016-06-30 18:03:11 +10:00
Campbell Barton
0499d0d542 Merge pull request #550 from janisozaur/sdl2-includes
Fix SDL includes in tnzbase
2016-06-30 17:46:09 +10:00
Michał Janiszewski
c8607f3d7a Fix SDL includes in tnzbase
SDL headers are installed to /usr/include/SDL2 which was in conflict
with explicit way they were included previously.
2016-06-30 10:55:55 +02:00
Campbell Barton
2e1cb68b4e CMake: wrap lines for easier reading 2016-06-30 14:37:43 +10:00
Campbell Barton
620578b1a0 Fix missing array specifier from delete 2016-06-30 14:37:43 +10:00
turtletooth
3db6439c7a Merge pull request #510 from shun-iwasawa/add_search_to_shortcutpopup
Configure Shortcuts popup optimized
2016-06-29 21:56:39 -06:00
Campbell Barton
6aa05c353f Minor edits to Linux how-to-build doc 2016-06-30 13:54:19 +10:00
Campbell Barton
3cb5de860c Linux support working on a basic level (builds and runs)
Add docs on building with Linux.
2016-06-30 13:51:59 +10:00
Campbell Barton
bb2501c991 CMake: Include liblzo2.so in FindLZO 2016-06-30 13:15:56 +10:00
Campbell Barton
7aaaec233a CMake: find module formatting
Split find_path, find_library across multiple lines
makes it easier to read and diff against.
2016-06-30 11:09:11 +10:00
Campbell Barton
b130eca2da Workaround using C's abs on Linux
math.h is indirectly included, making abs return double on Linux.
2016-06-30 10:41:38 +10:00
Campbell Barton
b45a54792d CMake: write Linux output into bin/
Resolves naming collisions between directories and binaries.
2016-06-30 10:13:38 +10:00
Campbell Barton
1c6681c983 Merge pull request #525 from ideasman42/linux-opengl-pr
Changes needed to build OpenGL files with Linux
2016-06-30 08:25:57 +10:00
Campbell Barton
f493896cc0 Cleanup: typo (sensibility) 2016-06-29 20:49:17 +10:00
shun-iwasawa
55327d15ae Merge pull request #467 from ideasman42/linux-tsound-pr
Linux support for tsound (SDL2), from pr #51
2016-06-29 18:55:41 +09:00
Shinya Kitaoka
00c547d5c1 Merge pull request #521 from janisozaur/aligner-type
Rename aligner_type redefinitions
2016-06-29 18:55:30 +09:00
Shinya Kitaoka
d1f6c4e95b REFACTORING: Add final specifiers (#537)
* add final specifiers

* apply clang-format

* fix for macOS
2016-06-29 15:17:12 +09:00
Shinya Kitaoka
91695244e8 Merge pull request #532 from shun-iwasawa/fix_infoviewer_text_color
Fix File Info text color
2016-06-29 12:56:16 +09:00
Michał Janiszewski
5387bee4bd Rename aligner_type redefinitions 2016-06-27 08:33:20 +02:00
shun-iwasawa
c86c5d6189 Organizing the Tool option bar layout (#443)
* edit tool, selection tool, brush tool

* other tools

* include cmath
2016-06-27 15:22:54 +09:00
shun_iwasawa
b102ca20bb fix infoviewer text color (and some other ui color) 2016-06-27 14:21:30 +09:00
Shinya Kitaoka
959a52be05 Merge pull request #524 from ideasman42/linux-misc-pr
Misc minor changes needed for building on Linux
2016-06-27 11:56:58 +09:00
Shinya Kitaoka
59f6a53bb9 Merge pull request #522 from shun-iwasawa/fix_brush_shortcut_bug
Fix shortcut feature for increasing/decreasing the brush tool size
2016-06-24 23:37:47 +09:00
Shinya Kitaoka
3f703d25c8 Merge pull request #507 from janisozaur/fixes
Fixes
2016-06-24 23:18:02 +09:00
Campbell Barton
89a491484a Misc minor changes needed for building on Linux 2016-06-24 22:01:09 +10:00
Campbell Barton
301bdb149a Changes needed to build OpenGL files with Linu 2016-06-24 21:38:08 +10:00
Shinya Kitaoka
bc8b18dbfd Merge pull request #518 from ideasman42/linux-isnan-pr
Use cmath instead of defining isnan (Linux build-fix)
2016-06-24 19:47:47 +09:00
shun_iwasawa
d2802fdfc2 fix brush size shortcut 2016-06-24 18:38:47 +09:00
Michał Janiszewski
a6309b14b7 Use std::max_element 2016-06-24 10:35:50 +02:00
Michał Janiszewski
a92a71476f isnan fix
isnan is already defined on Linux in math.h, as included in:

    toonz/sources/include/tutil.h:7,
    toonz/sources/include/traster.h:6,
    toonz/sources/include/tcolorutils.h:9,
    toonz/sources/common/tapptools/tcolorutils.cpp:4:

with type:

    constexpr bool std::isnan(double)
2016-06-24 10:35:50 +02:00
Shinya Kitaoka
e57a4dcea3 Merge pull request #508 from shun-iwasawa/fix_levelstrip_ui
Fix Level Strip UI not to hide scroll bar
2016-06-24 17:11:04 +09:00
tomosu
f0ee5d1373 Merge pull request #506 from skitaoka/fix/use-atomic
Use std::atomic instead of native implementations
2016-06-24 16:25:55 +09:00
Shinya Kitaoka
dd88e058e0 Merge pull request #509 from janisozaur/overrides
Add missing `override` specifiers
2016-06-24 16:09:27 +09:00