Commit graph

153 commits

Author SHA1 Message Date
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
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
51c8ee5bc1 add null pointer check (#1106) 2017-03-16 19:02:07 +09:00
shun_iwasawa
597034da8d fix vector fill 2017-03-03 17:38:46 +09:00
shun_iwasawa
a3cdd885f5 added color filter feature and modified composition with colorscale 2017-01-16 20:33:23 +09:00
jabarrera
96d45ce5a1 Fix crash by catching exceptions and skipping frames with bad names. Show warning with skips to message center (#966) 2016-12-21 15:25:34 +09:00
jabarrera
e8ad777186 Fix for Linux audio on i386
Specialized array copying caused problems and isn't needed.
2016-11-27 22:26:45 +11:00
Campbell Barton
cbcab0b54e Linux: Correct misuse of SDL_MixAudio
memset needs to be used even with full volume.
2016-11-27 11:45:45 +11:00
jabarrera
7c1be800e9 Fix audio reproduction issue (863) in GNU/Linux 2016-11-27 11:34:25 +11:00
shun_iwasawa
53bef61327 Merge remote-tracking branch 'origin/master' into numpad_for_palette_shortcut 2016-10-26 20:54:28 +09:00
Jeremy Bullock
d8339e9782 Fix for ffmpeg named with sequence names (#826)
- Now ffmpeg types can have a name such as img.0001.gif or img_0001.mp4 with no crash. 
close #767
2016-10-06 17:19:46 +09:00
Jeremy Bullock
63610baef4 Merge pull request #764 from shun-iwasawa/organize_palette
"Organize palette" and "Update colors by using picked position" features for the workflow using raster level as a color model
2016-10-02 22:33:36 -06:00
shun_iwasawa
beb3057607 enable shift + tab 2016-09-13 19:10:05 +09:00
shun_iwasawa
4635d82930 numpad for palette shortcut 2016-09-12 19:51:52 +09:00
shun-iwasawa
7cd1ff71f5 clang format (#797) 2016-09-08 16:54:16 +09:00
Campbell Barton
a6cacc8cf1 Translate comments to English 2016-09-08 15:07:21 +10:00
MCCCS
a0ce326e1b 🐛 Fix spelling mistakes 2016-09-07 16:28:50 +03:00
Campbell Barton
4121b4ed18 Merge pull request #723 from ckorn/format
Add format string literal
2016-09-01 17:47:40 +10:00
shun_iwasawa
c53f280f96 Merge remote-tracking branch 'origin/master' into organize_palette 2016-08-26 21:01:24 +09:00
shun_iwasawa
9cbd0e8743 organize_palette 4 2016-08-26 20:59:54 +09:00
shun_iwasawa
98ad89fbd3 Merge remote-tracking branch 'origin/master' into stageinch2 2016-08-19 12:33:38 +09: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
e897af4ff2 organize palette 3 2016-08-18 20:25:44 +09:00
shun_iwasawa
bb0d83547a add dpi compatibility check and remove comment 2016-08-18 17:27:10 +09:00
shun_iwasawa
d6df3f9261 introducing stage-standarddpi 2016-08-16 13:52:38 +09:00
Christoph Korn
c17229f066 Add format string literal
Prevents security issues when the string contains
format specifiers.
Fixes: warning: format not a string literal and
no format arguments [-Wformat-security]
2016-08-10 22:30:04 +02:00
Jeremy Bullock
2969b4c245 support for jpeg import (#656)
This allows jpeg images to be imported.
close #576
2016-08-10 21:46:04 +09:00
shun-iwasawa
27b0cfd38c clang formatting (#703) 2016-08-04 16:23:36 +09:00
Campbell Barton
9c30a09048 Correct function name
Function name didn't match header (though it remains unused).
2016-07-23 11:24:31 +10:00
Campbell Barton
5cfa877449 Quiet warnings
- duplicate headers in C source & header
- use const char arg
- invalid typedef
2016-07-23 05:23:17 +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
shun-iwasawa
535d3f26d8 Merge pull request #400 from turtletooth/pixels
Add pixels - Finished.
2016-07-14 12:40:30 +09:00
Campbell Barton
ac2647b212 Avoid unnecessary vector resizing (tstring.toLower) (#614)
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.
2016-07-13 20:52:24 +09:00
Campbell Barton
f278fa10f0 Avoid making a copy of filepaths just to compare them (#616)
Instead compare them in-place.
2016-07-13 19:07:41 +09:00
Campbell Barton
1970953c90 Fix use-after free on render (#612) 2016-07-13 18:55:14 +09:00
Jeremy Bullock
59dbbf498a Clang formatting applied 2016-07-12 21:09:46 -06:00
Jeremy Bullock
b6ada42502 Fixed TUnit error 2016-07-12 14:52:07 -06:00
Campbell Barton
5f15dd3724 Correct define check 2016-07-09 13:56:47 +10:00
turtletooth
f8ebe3b803 Merge pull request #575 from shun-iwasawa/pencil_test_viewer
Pencil test feature
2016-07-08 09:00:24 -06:00
Shinya Kitaoka
7abdb2380a Merge pull request #547 from ideasman42/warn-undefined-pr
Quiet -Wundef warning
2016-07-06 20:42:14 +09:00
shun_iwasawa
21a6b6ba06 pencil test popup 2016-07-06 20:06:20 +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
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
shun-iwasawa
7c216ea4e6 Merge pull request #566 from opentoonz/fix-delete-pr
Correct missing [] from delete
2016-07-05 17:13:31 +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