Commit graph

125 commits

Author SHA1 Message Date
shun_iwasawa
953c16267c add turtletooth's solution 2017-10-11 13:06:35 +09:00
shun_iwasawa
339330f82f prevent windows outside the gui thread 2017-10-11 11:40:34 +09:00
shun_iwasawa
c44e4b4863 Merge branch 'shaders' of https://github.com/turtletooth/opentoonz into turtletooth-shaders 2017-10-10 22:18:13 +09:00
masafumi-inoue
26f824c67c Debug about "HLSNoiseIno assertion error". And some refactoring. (#1427)
* Add cheching getRaster(), and referctoring
2017-08-25 18:04:40 +09:00
Jeremy Bullock
5b52af4342 Fix for mac 2017-08-08 22:54:55 -06:00
Ivan Mahonin
1213cfb37b #shaders: fix warnings about context thread 2017-08-07 11:22:46 +07:00
Jeremy Bullock
d165bbb42c #shaders: start of shaders fix 2017-08-07 11:22:31 +07:00
shun_iwasawa
ddeca6efd6 fix for osx 2017-06-12 11:51:11 +09:00
shun_iwasawa
c0bf38ef8b timecodefx iwa 2017-06-09 20:36:26 +09:00
shun-iwasawa
5b7b9fb309 V1.1.3 (#1255) 2017-06-06 21:19:00 +09:00
Ivan Mahonin
429ee8c8e4 Allow to cross compile for Windows with Linux/Mingw (part 3 of 3, cmake) (#1150)
* #mingw #cmake: rules for native and cross compilation

* #mingw #cmake: fix CMakeLists.txt for using with MinGW under Windows

* #mingw #cmake: fix typo (BUILD_ENV_WIN -> BUILD_ENV_MSVC)
2017-05-26 15:00:05 +09:00
Ivan Mahonin
2fc36cb841 Allow to cross compile for Windows with Linux/Mingw (part 2 of 3, bugfixes) (#1149)
* #mingw #bug: place explicit instantiations on templates before first use

* #mingw #bug: remove API attributes from inline functions

* #mingw #bug: add 'static' attribute for local functions

* #mingw #bug: fix API attributes for splitSpeedInOutSegment

* #mingw #bug: replace strstream to stringstream

* #mingw #bug: remove cross references to plasticskeleton from tnzcore

* #mingw #bug: fix bug with order of initializaition of static variables

* #mingw #bug: fix glutInit
2017-05-19 19:20:33 +09:00
shun-iwasawa
f7a4d82155 curve the seam of looped spectrum (#1190) 2017-05-19 17:27:21 +09:00
Ivan Mahonin
e280ae86d6 Allow to cross compile for Windows with Linux/Mingw (part 1 of 3, preprocessor) (#1148)
* split _WIN32 and _MSC_VER, lowercase includes
2017-05-08 21:13:29 +09:00
shun-iwasawa
9d08564877 SoapBubbleFxIwa Improvement (#1175)
* fit thickness and center opacity

* loop and shift spectrum

* render mode
2017-04-28 11:52:23 +09:00
shun_iwasawa
3f47107854 small fix 2017-03-24 18:23:03 +09:00
shun_iwasawa
a35b8f8c48 bokeh fx iwa 2017-03-24 15:14:07 +09:00
shun-iwasawa
a1471ce40f soapbubblefx update (#1076) 2017-03-08 12:34:08 +09:00
Jeremy Bullock
c923b546fe Merge pull request #950 from shun-iwasawa/bubble_fx
New Fx : SoapBubble Iwa
2016-12-08 21:34:56 -07:00
shun_iwasawa
4d2acff575 soap bubble fx iwa 2016-12-06 17:03:25 +09:00
shun-iwasawa
4f59008bae Use English for 'iwa_motionblurfx' comments - modified (#932) 2016-11-28 16:09:24 +09:00
Campbell Barton
d3ecc4ec7b Use English for 'iwa_motionblurfx' comments 2016-11-27 11:31:25 +11:00
Shinya Kitaoka
6fa9acbd5f Add source formatting check (#689)
* add source formatting check
* fix beautification scripts
2016-08-18 21:10:57 +09:00
shun-iwasawa
27b0cfd38c clang formatting (#703) 2016-08-04 16:23:36 +09:00
tomosu
ac08090374 change to move thread before destructor called (#702) 2016-08-04 14:40:59 +09:00
Campbell Barton
9ece9c0c92 Cleanup: CMake style
Use parens on newline, avoids diff-noise when adding values.
2016-07-23 04:59:47 +10:00
Campbell Barton
8c6c57f1b4 Enable missing-declarations warning (#643)
Finish ensuring symbols use headers correctly
2016-07-22 13:38:33 +09:00
Shinya Kitaoka
2a7129aa92 use std::unique_ptr<> instead of std::auto_ptr<> (#601) 2016-07-20 21:49:32 +09:00
tomosu
8d9526db1b add doneCurrent in fx and raster code (#636) 2016-07-14 17:42:21 +09:00
Campbell Barton
87094dbf7a Correct delete[] use (#629) 2016-07-14 15:56:52 +09:00
Campbell Barton
a9c3dad75a CMake: differentiate system includes (#604) 2016-07-09 00:47:11 +09: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
c08330d1ae Merge pull request #567 from opentoonz/cmake-cleanup-defines-pr
CMake: use multi-line defines
2016-07-06 13:56:49 +09:00
Campbell Barton
ca4a5d4003 Linux: Support Release builds 2016-07-03 19:24:25 +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
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
Michał Janiszewski
b86749e216 isnan fixes
isnan was used without specifying namespace
2016-06-30 13:42:20 +02:00
Campbell Barton
d869b5f8e6 Quiet -Wundef warning
Exposes accidental typos when checking exact values of a define.
2016-06-30 12:28:26 +10: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
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
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
Campbell Barton
3b073728d4 Use cmath instead of defining isnan
Needed for building on Linux
2016-06-24 06:41:58 +10:00
Michał Janiszewski
d37dbb57f2 Add missing override specifier 2016-06-23 13:41:27 +02:00
Shinya Kitaoka
1a69bdd87e fix ino_line_blur 2016-06-23 16:34:05 +09:00
Shinya Kitaoka
38fd868138 apply clang-format 2016-06-20 11:34:17 +09:00
Shinya Kitaoka
473e70432a add override specifier 2016-06-20 11:34:15 +09:00
Shinya Kitaoka
120a6e041c apply clang-format 2016-06-15 15:43:10 +09:00
Shinya Kitaoka
ee259ffaf7 remove duplicated constants (#296) 2016-06-13 21:37:09 +09:00
Shinya Kitaoka
9eb50de5fe Use std functions (#297)
* use std functions

* replace toInt        to std::stoi
* replace toDouble     to std::stod
* replace toString     to std::to_string
* replace toWideString to std::to_wstring

* fix for MacOS

* cosmetic change
2016-06-07 16:06:00 +09:00
Shinya Kitaoka
12c444ee0d use std::min and std::max (#318) 2016-05-18 13:03:37 +09:00
Shinya Kitaoka
8105532604 add #pragma once (#303) 2016-05-17 00:04:11 +09:00
Shinya Kitaoka
d4642c34e8 Remove macros: CASE, __OR, and DEFAULT (#286)
* remove syntax macros: CASE, __OR, and DEFAULT

* define VC_EXTRALEAN

* remove meaningless comments
2016-05-13 19:49:17 +09:00
Campbell Barton
f08982dd33 CMake: cleanup indentation, remove redundant endif args 2016-04-27 21:48:12 +10:00
Campbell Barton
4aa85c3899 Cleanup: -Wwrite-strings warning 2016-04-27 10:55:26 +10:00
Shinya Kitaoka
3bfa549e8b remove "using"
- using std::string;
- using std::wstring;
- using std::ostream;
- using std::istream;
- using std::iostream;
- using std::ostrstream;
- using std::istrstream;
- using std::fstream;
2016-04-21 16:23:15 +09:00
Shinya Kitaoka
c12eacf2f3 remove #define NOMINMAX 2016-04-20 10:24:50 +09:00
Shinya Kitaoka
42bfb61883 remove delete[] 2016-04-20 10:24:47 +09:00
Shinya Kitaoka
6a4e01532c remove 2016-04-20 10:24:46 +09:00
Shinya Kitaoka
9f5a1bd760 use _WIN32 instead of WIN32 2016-04-20 10:24:44 +09:00
kogaki
5bbc3c26fa Revert "Remove strstream" 2016-04-18 22:16:18 +09:00
kogaki
417c1d6f96 Merge pull request #169 from skitaoka/fix/remove-strstream
Remove strstream
2016-04-18 19:14:23 +09:00
kogaki
8f50ce17db Merge pull request #168 from skitaoka/fix/motionblurfx
Fix memory allocation at doDirectionalBlur
2016-04-18 19:13:50 +09:00
Shinya Kitaoka
a85aeb719a Merge remote-tracking branch 'upstream/master' into fix/reduce-boost-dependencies
# Conflicts:
#	toonz/sources/include/tfarmtask.h
2016-04-15 14:28:42 +09:00
Shinya Kitaoka
e938cfcdc7 Merge pull request #63 from ideasman42/linux-basic-portability
Linux: Basic portability edits
2016-04-15 13:42:07 +09:00
Shinya Kitaoka
262a92f130 use smart pointer for m_imp 2016-04-14 19:15:09 +09:00
Shinya Kitaoka
16a82fca96 Merge branch 'stringstream' of https://github.com/janisozaur/opentoonz into janisozaur-stringstream 2016-04-13 14:18:53 +09:00
Shinya Kitaoka
7ac5ba3eff Merge pull request #111 from OriginalAdric/fix_unrefd_locals
Fix unreferenced locals/labels warnings
2016-04-13 14:11:27 +09:00
Shinya Kitaoka
6aada0ab29 use unique_ptr<> 2016-04-13 13:30:02 +09:00
John Davidson
9980bf84e0 Use 'delete' on a 'new' object in motionblurfx.cpp. 2016-04-11 23:10:16 -07:00
Campbell Barton
107701249b Basic edits for Linux portability 2016-04-12 02:56:45 +10:00
Michał Janiszewski
df394d6939 Move to stringstream
std::strstream is deprecated, stringstream is the suggested replacement.
2016-04-03 02:22:18 +02:00
Adric Worley
f63c1a0076 Fixes unreferenced local variable warnings.
Deleted variables in most cases. Commented out or moved to IFDEF where referenced by existing but disabled code.
2016-03-30 09:25:34 -04:00
Campbell Barton
3dcf6bfa09 CMake: use tab indentation & whitespace edits 2016-03-27 14:44:29 +11:00
roentgen
19af1bad04 use cmake modules for superlu and lzo.
use pkg-config for usb, glew and lz4(not static).
(WIP) fixed getting kinda hack for tiff out to libtiff
2016-03-23 03:48:01 +09:00
Toshihiro Shimizu
890dddabbd first commit 2016-03-19 02:57:51 +09:00