Commit graph

354 commits

Author SHA1 Message Date
otakuto
91a93e2575 Remove tcg_function_types.h (#2772) 2020-01-08 10:49:48 +09:00
Tact Yoshida
b8554a09aa Use std::sort instead of obsoleted qSort 2020-01-06 06:12:43 +09:00
Tact Yoshida
56ab7aa8de Use std::isfinite instead of _finite 2019-12-17 13:54:36 +09:00
Jeremy Bullock
d44d54af2d
Merge branch 'master' into feature06_mingw_win32 2019-11-14 08:12:51 -07:00
Rodney
2ec4f7a223
Merge pull request #2662 from blackwarthog/feature16_fixalignas
Revert "Use alignas instead of DV_ALIGNED (#2437)"
2019-11-07 06:50:10 -07:00
Rodney
690ac4579c
Merge pull request #2632 from manongjohn/fix_copyDir_for_macOS
Fix copyDir for macOS
2019-11-02 13:01:48 -07:00
manongjohn
bd4e8aa598 Resolve conflicts with master 2019-10-14 15:42:58 -04:00
Rodney
310c4f0dfb
Merge pull request #2802 from shun-iwasawa/g/fix_macro_curvefx_crash
Fix Crash When Loading MacroFx Containing CurveFx
2019-10-14 04:13:37 -05:00
manongjohn
6ea45db0df Handle escaped backslash at end of string 2019-10-11 13:27:22 -04:00
manongjohn
e82b2060cd Fix reading escaped double-quotes in strings 2019-10-10 19:17:22 -04:00
shun-iwasawa
1b50d3cb2b
save fids of color model in palette (#2792) 2019-09-24 12:28:42 +09:00
shun-iwasawa
e3d315d033 fix crash with curve fx in macro 2019-09-22 00:48:37 +09:00
manongjohn
55a5931ad4
Merge pull request #2776 from shun-iwasawa/g/cache_folder_replacement
Cache folder replacement & Clear cache command
2019-09-20 08:50:42 -04:00
shun-iwasawa
7f4819b70b cache folder replacement 2019-09-17 16:26:56 +09:00
Ivan Mahonin
2f0c773744 Revert "Use alignas instead of DV_ALIGNED (#2437)"
This reverts commit 2647ec5f3f.
2019-09-09 12:04:42 +07:00
Ivan Mahonin
9f92bb89f9 #mingw #win32: replace ifdef _WIN32 to _MSC_VER for MSVC-specific code 2019-09-09 11:36:14 +07:00
Ivan Mahonin
db7f146cab #mingw #win32: disable quicktime 2019-09-09 11:36:13 +07:00
Ivan Mahonin
322341d64f #mingw #win32: disable sse2 2019-09-09 11:36:13 +07:00
Ivan Mahonin
b031a8d377 #mingw #win32: disable asm 2019-09-09 11:36:13 +07:00
Ivan Mahonin
13b0349095 #common: release note in full application name
add option to add edition, revision, build method etc.
to the end of the full application name:

OpenToonz 1.3.0
OpenToonz 1.3.0.1 (Nightly Build)
OpenToonz 1.3.1.1 (Experimental Release)
OpenToonz 1.3.0.2 (My Great Edition)
2019-09-09 11:13:23 +07:00
Rodney
323797ab43
Merge pull request #2607 from manongjohn/seq_0_fix
Allow sequenced files starting with 0
2019-09-02 08:25:07 -05:00
Rodney
7566c6b324
Merge pull request #2627 from manongjohn/portable_macOS_fix
Fix macOS portable detection
2019-08-26 03:30:13 -05:00
Rodney
7ea125bdb3
Merge pull request #2621 from shun-iwasawa/win_file_browser_enhancement
File Browser Enhancement for Windows
2019-08-26 03:09:27 -05:00
shun-iwasawa
be2cc70aa7 fix crash on loading linked macro fx 2019-08-22 19:08:37 +09:00
shun-iwasawa
d74d26669d Merge remote-tracking branch 'origin' into otakuto-remove-tArrayCount-macro 2019-08-07 11:19:41 +09:00
otakuto
8f49919d8b Remove -fpermissive flag (#2457) 2019-08-02 16:17:38 +09:00
shun-iwasawa
fe2893b15c clang format 2019-08-02 15:48:26 +09:00
shun-iwasawa
31b6f77785 Merge branch 'remove-tArrayCount-macro' of https://github.com/otakuto/opentoonz into otakuto-remove-tArrayCount-macro 2019-08-02 15:47:17 +09:00
manongjohn
649b9abaec Palette switching behavior changes (#2518)
* Track and restore current style

* Auto switch to new style page

* Auto Switch to drag/drop-merged palette page

* Default to style 1 when returning to deleted style
2019-07-12 00:57:23 +09:00
Campbell Barton
e4aac6f433 Cleanup: undeclared function warnings
Make static or comment out.
2019-06-30 12:59:14 +10:00
shun-iwasawa
ad786a7134 fix macrofx link (#2620) 2019-06-20 00:06:28 -06:00
manongjohn
e4c3c8ecda Fix setting working directory 2019-06-02 19:21:05 -04:00
manongjohn
273f30f45a Get app directory name 2019-06-02 13:41:10 -04:00
manongjohn
fba66295ba Fix app rename causing not to work 2019-06-02 08:39:40 -04:00
manongjohn
ccec799e01 Fix copyDir for macOS 2019-06-01 11:38:45 -04:00
shun_iwasawa
83c0b2c4ec handle name filters 2019-05-28 13:28:11 +09:00
manongjohn
65b0ffe260 Fix macOS portable detection 2019-05-25 11:14:07 -04:00
shun_iwasawa
f5f4afa9d0 readDirectory enhancements 2019-05-22 17:24:51 +09:00
John Dancel
c7c567e380 Allow sequenced files starting with 0 2019-05-03 06:32:34 -04:00
otakuto
e347adcb20 Remove make_cast_it (#2594) 2019-04-16 14:56:35 +09:00
manongjohn
f2ace2130c Fix crash when loading bad fill data (#2519)
* Ignore bad intersection data

* Fix crash removing unwanted intersect data
2019-03-19 13:03:40 +09:00
otakuto
2647ec5f3f Use alignas instead of DV_ALIGNED (#2437) 2019-02-21 13:45:24 +09:00
otakuto
6756911932 Remove tcg_deleter_types.h (#2436) 2019-02-21 11:58:39 +09:00
shun-iwasawa
0c69c1b6f2 fix output bpp glitch (#2509) 2019-02-07 18:10:43 +09:00
manongjohn
54e85db21d Fix Z=0 Camera Preview crash (#2405)
* Fix Z=0 Camera Preview crash
2019-01-23 10:59:53 +09:00
shun_iwasawa
b487a57263 test using QPointer::data for sender argument 2019-01-09 16:27:09 +09:00
shun_iwasawa
fff476431b Merge branch 'feature10_sound' of https://github.com/morevnaproject/opentoonz into morevnaproject-feature10_sound 2019-01-09 15:19:39 +09:00
shun-iwasawa
f39ea05cac Remove Version Numbers from File Names (#2410)
* remove version numbers from file names

* update plist and systemvar for osx

* modify appveyor script
2018-12-28 11:15:09 +09:00
manongjohn
9e8e639c30 Fix loading macrofx preset issue (#2425) 2018-12-27 10:50:10 +09:00
Tact Yoshida
1d7cf9a5bf Remove tArrayCount macro 2018-12-20 05:16:25 +09:00
shun-iwasawa
93fdd4ee3f matte color (#2418) 2018-12-19 14:29:00 +09:00
shun-iwasawa
cfa6ff15c0 improve jpeg chroma subsampling (#2419) 2018-12-18 16:37:47 +09:00
shun-iwasawa
5b2332a085 New Fx: Text Fx Iwa (#2393)
* text fx iwa

* fix for osx and linux
2018-12-18 14:55:22 +09:00
Ivan Mahonin
657d805309 Fix antialiasing (#2289)
* fix antialiasing for strokes

close #1166
close #2285
2018-12-17 16:13:22 +09:00
otakuto
6985407a96 remove duplicate include (#2271) 2018-10-31 12:00:01 +09:00
shun-iwasawa
fdbab550ad load jpeg dpi from exif, save to jfif (#2322) 2018-10-18 11:56:20 +09:00
shun-iwasawa
18a7c631a5 fix updating animated guide (#2264) 2018-09-11 15:41:56 +09:00
otakuto
ed7dcd5873 using std::swap instead of tswap (#2195) 2018-08-30 17:18:43 +09:00
Ivan Mahonin
e162dba222 #sound: seamless 2018-08-18 10:44:22 +07:00
Ivan Mahonin
3cd9622ed8 #sound: improve sound_qt 2018-08-18 10:44:22 +07:00
shun-iwasawa
b932c159c4 fix input field crash (#2223) 2018-08-10 16:00:11 +09:00
manongjohn
b66bc4e313 Show actual fonts in font dropdowns (#2080)
* Show actual fonts in font dropwdowns
2018-08-06 15:46:52 +09:00
shun-iwasawa
2a1a635007 fix unc path conversion (#2173) 2018-08-01 16:42:10 +09:00
shun-iwasawa
e3b1897540 set system path with command line qualifiers (#2143) 2018-07-10 14:42:57 +09:00
shun-iwasawa
a86fd8f80a fix vector region style on osx (#2105) 2018-06-26 15:21:18 +09:00
shun-iwasawa
85c99518a8 fix load tzp (#2091) 2018-06-21 11:31:23 +09:00
shun-iwasawa
e87e0815f7 Make More UI Texts Translatable (#2026)
* make ui texts translatable

* add more translatable texts

* load translate file for default commands
2018-06-04 12:18:43 +09:00
Jeremy Bullock
75c9c58524 Improvements to Vector Snap (#1906)
* Improvements to Vector Snap
2018-05-25 16:21:25 +09:00
Konstantin Dmitriev
a9c425317e Fix sound playback on Linux by enabling fix #1302 for Linux platform (#1749)
close #1302 
close #1097 
close #907
2018-05-25 10:28:41 +09:00
shun-iwasawa
b5e76bca01 fix sequential check (#1997) 2018-05-24 16:45:18 +09:00
shun-iwasawa
5b724a61d7 Allow for multilingual FX Help tooltips by jpturcotte (modified) (#1931)
* Allow for multilingual FX Help tooltips

This PR allows for showing the FX Help tooltips in the user's preferred language, as indicated in" Preferences". If a folder by the name of the language string exists in "$stuff/doc" (e.g. "$stuff/doc/English"), the help files there will be shown first. If the folder or requested file cannot be found, the files in "$stuff/doc" will be shown by default. This is my first code PR, and I am not a programmer, so please be lenient. Thanks to @RodneyBaker for coming up with the idea, to @turtletooth and @shun-iwasawa for helping me resolve my build issues, and finally to @manongjohn for providing encouragement and the logic behind these changes!

* fix tistream checking
2018-05-21 15:30:48 +09:00
shun-iwasawa
dd780b2779 colormodel image (#1907) 2018-05-21 15:11:35 +09:00
shun-iwasawa
eff63f0236 do not check seqnum for tnz files (#1955) 2018-05-09 16:09:58 +09:00
manongjohn
4ee91c9e42 Fix number+letter filename save and detection (#1833)
close #235
close #1382
close #1693
close #1761
close #1768
close #1809
2018-04-23 13:34:00 +09:00
shun-iwasawa
00ab483723 fix crash on batch rendering with unc path (#1866) 2018-03-14 15:46:59 +09:00
Jeremy Bullock
e122a937ef Fill Tool: Allow Fillable Gap Size Change in Vector Images (#1317)
close #1093 

* CAUTION *
Changing the "Maximum Gap" from the default value (1.15) will lose backward compatibility of PLI file.
2018-03-07 15:09:17 +09:00
shun-iwasawa
e6b1248e52 Fix png and spritesheet render (depremultiply) by turtletooth (modified) (#1844)
* Fix png and spritesheet render (depremultiply)

* move depremultiply in PngWriter
2018-03-05 22:00:18 -07:00
shun-iwasawa
b08db1990c stop using global context (#1785) 2018-03-05 20:52:40 -07:00
shun-iwasawa
3a1040f273 add merge inks option to matchline (#1826) 2018-02-28 16:32:37 +09:00
Jeremy Bullock
e23841235b
Merge pull request #1740 from shun-iwasawa/fix_plastic_black_contour
Fix Plastic Tool not to Create the Black Contour
2018-01-22 11:38:05 -07:00
shun_iwasawa
927bc0fbcc fix plastic black contour 2018-01-19 11:18:08 +09:00
shun_iwasawa
7e52a2e788 enlarge plastic texture 2018-01-12 21:12:24 +09:00
manongjohn
cd95b04c7e Minus sign crash fix 2017-11-26 03:13:12 -05:00
Jeremy Bullock
7712907c92 Middle Mouse Drag to Edit Values (#1362)
* Middle mouse drag to edit numeric values
* The function editor spreadsheet values can be ctrl + dragged to change their value. Alt + click on a key will clear it.
2017-11-20 16:28:59 +09:00
shun_iwasawa
b7aa7cd3f3 undo for autopaint 2017-11-07 13:11:02 +09:00
shun_iwasawa
3e2518a270 env file template 2017-10-20 22:23:54 +09:00
Jeremy Bullock
1e17edb69a Guided Drawing Feature (#1297)
* Guided Drawing Feature
2017-09-25 14:29:38 +09:00
Jeremy Bullock
6767bee6b3 Fix for sierra scrub crash (#1302)
* fix for sierra scrub crash
2017-09-22 16:19:10 +09:00
manongjohn
20c9615add Foreign letter and Apostrophe fix (#1468)
close #666 
close #1226 

* Double-quote strings with foreign letters

* Stop escaping apostrophe for Windows and OSX
2017-09-15 16:57:43 +09:00
Jeremy Bullock
1a58e5883a Move AutoClose Value to TEnv (#1467) 2017-09-15 14:41:27 +09:00
shun_iwasawa
2c0f507302 color filter available on render and vector levels 2017-09-11 11:03:30 +09:00
shun-iwasawa
5e6203f300 Fix crash on using preference template (#1456)
* fix crash on using preference template
2017-09-08 14:26:03 +09:00
shun-iwasawa
acd6b875b5 fix registry setup (#1457) 2017-09-07 17:13:23 +09:00
Jeremy Bullock
46512f5f12 Allow All Windows Builds to be Portable (#1381)
* Allow All Windows Builds to be Portable if 'portablestuff' Folder in Main Folder
2017-09-04 15:13:56 +09:00
shun_iwasawa
6c274854e3 font position and size fix 2017-08-23 15:05:52 +09:00
Jeremy Bullock
da1fe046a8 Merge pull request #1294 from shun-iwasawa/typetool_using_qt
Enable Type Tool in OSX
2017-08-22 23:17:35 -06:00
Jeremy Bullock
cd00fd74d3 Snapping and Frame Range for Vector Brush (#1319)
* Frame Range for Vector Brush
* Brush Snapping
2017-08-14 19:59:51 +09:00
Dave
5a94754d3c Various TFarm fixes (#1140)
close #1125 
close #1126 
close #1127 
close #1129
2017-08-03 14:29:04 +09:00
shun_iwasawa
0cae242b72 clang format all 2017-07-20 19:46:27 +09:00
shun_iwasawa
df21fa034b type tool using qt 2017-06-22 21:06:57 +09:00
Ivan Mahonin
7fe8291637 #common #bug: fix toUpper/toLower functions
Standard forbids modifying of data by string::c_str() pointer, in some
case it's may affect other strings.
2017-06-15 20:49:57 +07: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
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