Commit graph

551 commits

Author SHA1 Message Date
Campbell Barton
bd75b08bc8 Linux Docs: remove libpng16, no longer required 2016-07-06 23:13:01 +10:00
Shinya Kitaoka
7abdb2380a Merge pull request #547 from ideasman42/warn-undefined-pr
Quiet -Wundef warning
2016-07-06 20:42:14 +09:00
Shinya Kitaoka
47895a0d7b Merge pull request #578 from opentoonz/warning-cleanup-pr
Quiet warnings
2016-07-06 19:24:49 +09:00
Shinya Kitaoka
887b754046 Merge pull request #549 from turtletooth/windowsbuild
Updated windows build instructions
2016-07-06 15:09:07 +09:00
Shinya Kitaoka
c08330d1ae Merge pull request #567 from opentoonz/cmake-cleanup-defines-pr
CMake: use multi-line defines
2016-07-06 13:56:49 +09:00
Shinya Kitaoka
7a5f69a55c Merge pull request #563 from janisozaur/travis
Travis Linux job
2016-07-06 13:36:24 +09:00
Shinya Kitaoka
8240663cb9 Merge pull request #554 from janisozaur/libpng
Add support for libpng<1.5
2016-07-06 13:26:51 +09:00
Shinya Kitaoka
2346da3b69 Merge pull request #557 from janisozaur/taskid
Fix argument assignment in TaskId
2016-07-06 12:01:25 +09:00
Shinya Kitaoka
af8faa4452 Merge pull request #558 from janisozaur/use-after-free
Prevent containerH being used after it was freed
2016-07-06 12:01:08 +09:00
turtletooth
c6b129f461 Merge pull request #580 from shun-iwasawa/revert_style_dblclk_behavior
Revert behavior when double clicking on styles to open the style editor (and some fixes)
2016-07-05 13:51:25 -06:00
shun-iwasawa
7c216ea4e6 Merge pull request #566 from opentoonz/fix-delete-pr
Correct missing [] from delete
2016-07-05 17:13:31 +09:00
shun_iwasawa
fd6c3c05ac revert behavior on dblclking style, and more 2016-07-05 16:15:29 +09:00
turtletooth
e7501e0aea Merge pull request #579 from shun-iwasawa/fix_brush_undo_crash
Fix crash on undo brush tool
2016-07-05 00:34:28 -06:00
shun_iwasawa
c7aa6fbfb0 fix brush undo crash 2016-07-05 14:24:07 +09:00
Campbell Barton
e05b0bbe1c Quiet warnings 2016-07-05 14:54:52 +10: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
f2d492861f CMake: use multi-line defines
Easier to read and avoids merge conflicts
2016-07-02 22:23:18 +10:00
Campbell Barton
c39a8a4b75 Correct incorrect delete 2016-07-02 22:22:01 +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
Michał Janiszewski
e4fe1a0954 Use OS X & Linux jobs on travis 2016-07-01 15:16:24 +02: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
Michał Janiszewski
839913e1f5 travis scripts 2016-07-01 12:11:51 +02:00
Michał Janiszewski
6dc4b98871 Transparently use lzma, if available in system
It will get picked up by libtiff, so make sure we provide it when
linking libimage
2016-07-01 12:11:51 +02:00
Michał Janiszewski
de3c4ac6e4 Travis for Linux 2016-07-01 12:11:51 +02:00
Michał Janiszewski
9258754773 Merge remote-tracking branch 'my_github/isnan' into travis-base 2016-07-01 12:11:21 +02:00
Campbell Barton
d89022ce19 Fix checking the left-node before operating on the right 2016-07-01 09:38:27 +10:00
Michał Janiszewski
1d0596c8d8 Prevent containerH being used after it was freed 2016-06-30 17:25:47 +02:00
Michał Janiszewski
38816b00c9 Fix argument assignment in TaskId 2016-06-30 17:20:50 +02: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
01e73f88e4 Add support for libpng<1.5 2016-06-30 15:21:57 +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
Jeremy Bullock
e442b14c1f Updated windows build instructions 2016-06-30 00:08:25 -06: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