Commit graph

631 commits

Author SHA1 Message Date
Campbell Barton
9ece9c0c92 Cleanup: CMake style
Use parens on newline, avoids diff-noise when adding values.
2016-07-23 04:59:47 +10:00
turtletooth
fef27f08d4 changed default icon size to 16 by 9 (#662) 2016-07-22 17:20:38 +09: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
0f12b3ee16 use new context (#659) 2016-07-21 10:34:09 +09:00
turtletooth
66af7cc365 Function Curves Window Usability - Option 1 (#657)
* removed ctrl key requirement from function curves editor

* removed commented code
2016-07-21 10:29:28 +09:00
Shinya Kitaoka
2a7129aa92 use std::unique_ptr<> instead of std::auto_ptr<> (#601) 2016-07-20 21:49:32 +09:00
Shinya Kitaoka
79608672bb Add badges (#660)
* add badges

* fix link
2016-07-20 19:29:44 +09:00
shun-iwasawa
edcaeef982 Merge pull request #655 from skitaoka/feature/appveyor-ci
Add appveyor.yml
2016-07-20 18:15:58 +09:00
Shinya Kitaoka
281d6e4dd9 fix version 2016-07-20 15:06:54 +09:00
Shinya Kitaoka
dd3caad447 add appveyor.yml 2016-07-20 13:04:20 +09:00
turtletooth
e0f89bc768 Merge pull request #652 from shun-iwasawa/pencil_test_improvement
Camera Capture (former Pencil Test) improvement
2016-07-19 19:47:40 -06:00
shun_iwasawa
7b62b4505b pencil test improvement 2016-07-19 21:45:02 +09:00
Campbell Barton
4e9ecfd38b Fix crash reading level (TLZ) file (#637)
- double fclose call
  (readVersion closed the file, however this is already closed when the class is freed)

- buffer overrun reading a char pointer which isn't NULL terminated.
  use memcmp instead.
2016-07-14 20:52:12 +09:00
tomosu
9cb984e84d workaround for missing left button on osx (#561)
* workaround for missing left button on osx

* change Qt path

* change CMake

* transfer filter's pointer to application directly

* rebase

* add final, delete virtual, and beautificate
2016-07-14 19:09:44 +09:00
Campbell Barton
a107c1293f Docs: add qtmultimedia as a dependency 2016-07-14 18:51:02 +10:00
tomosu
8d9526db1b add doneCurrent in fx and raster code (#636) 2016-07-14 17:42:21 +09:00
Xelloss
6a7ff2ca42 Fix some can't translate strings on UI (#515)
* Add & to "Scan & Cleanup" menu item

Missing a ‘&’ punctuation on this menu item.

* fix can't translation strings on Cleanup Setting

* fix can't translation strings on Combo Viewer

* fix can't translation strings on Main Windows

* fix can't translation strings on Preference

* fix can't translation strings on Context Menu

* fix can't translation strings on Style Picker tool

* fix can't translation strings on Watercolor FX

* fix can't translation strings on Tape Tool

* fix can't translation strings on Rotate Tool

* fix can't translation strings on FileBroswer

* fix can't translation strings on FileBroswer

* fix can't translation strings on FileBroswer

* Add new source strings and translate in Chinese

* Add new source strings and translate in Chinese

* Add new source strings and translate in Chinese

* Add new source strings for french

* Add new source strings for german

* Add new source strings for italian

* Add new source strings for japanese

* Add new source strings for spanish

* Add new source strings for spanish

* Add new source strings for japanese

* Add new source strings for italian

* Add new source strings for german

* Add new source strings for french

* Add new source strings for spanish

* Add new source strings for japanese

* Add new source strings for italian

* Add new source strings for german

* Add new source strings for french

* include Qt translation support

* include Qt translation support

* Update stylepickertool.cpp

* Update viewtools.cpp

* remove modifications

Check failed

* remove modifications

Check failed

* Update stylepickertool.cpp

* Fix more can't translate strings on UI

* translation support for Pick Style Tool and Rotate Tool

* Add more source strings in all language TS files

* update qm files of chinese

* Remove modifications of Style Picker tool & Rotate Tool again...
2016-07-14 17:00:28 +09:00
Campbell Barton
87094dbf7a Correct delete[] use (#629) 2016-07-14 15:56:52 +09:00
Campbell Barton
ccd5052709 Cleanup: declare local functions static (#632)
Applies to toonz, toonzfarm, toonzqt.
2016-07-14 15:51:27 +09:00
Michał Janiszewski
a8ddbe1107 Add clang Travis job (#635) 2016-07-14 15:49:28 +09:00
Campbell Barton
a3a77b1204 CMake: initialize build type (#609)
Avoid using an empty build type.

While supported, it means some settings aren't well defined.
better to default to Release.
2016-07-14 13:44:36 +09:00
shun-iwasawa
535d3f26d8 Merge pull request #400 from turtletooth/pixels
Add pixels - Finished.
2016-07-14 12:40:30 +09:00
Michał Janiszewski
d5a8e51d74 Fix TNZ_MACHINE_CHANNEL_ORDER_MRGB check (#602) 2016-07-14 12:04:33 +09:00
Campbell Barton
b3bd842e04 Make functions static, ensure declarations match headers (#610)
This patch used -Wmissing-declarations warning
to show functions and symbols that had no declarations, and either:

- Make static
- Add to header

This helps avoid possability that declarations and functions get out of sync.
And ensures all source files reference headers correctly.

It also makes sure functions defined with extern "C",
have this defined in the header. An error found in calligraph.h while writing this patch.

This has been applied to toonzlib, to avoid making very large global changes.
If accepted, -Wmissing-declarations warning could be added to CMake.
2016-07-13 21:05:06 +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
0279c27280 Fix crash loading levels (#615)
Effects Linux, but may apply to other systems too.
2016-07-13 19:07:11 +09:00
Campbell Barton
1970953c90 Fix use-after free on render (#612) 2016-07-13 18:55:14 +09:00
Jeremy Bullock
027819831e hide fields for exportlevelpopup if pixelsonly 2016-07-13 02:28:26 -06:00
Jeremy Bullock
ae0f0a65a8 Fixed new scene having correct dpi even if default settings are set other than 53.33333 2016-07-13 01:51:33 -06:00
Jeremy Bullock
2e52c6995c reverted default units 2016-07-13 00:38:17 -06:00
Jeremy Bullock
3eeb02f307 Set cleanup camera settings 2016-07-13 00:28:41 -06: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
turtletooth
9e7a9d2cd4 Merge pull request #581 from shun-iwasawa/turtletooth-maximize
Maximize Pane where mouse is shortcut by turtletooth (modified)
2016-07-12 14:05:10 -06:00
Campbell Barton
7c480e855e Merge pull request #625 from turtletooth/windowspencilbuild
Added Qt5Multimedia to build instructions for windows
2016-07-12 08:58:48 +10:00
shun-iwasawa
b2a562cb68 Merge pull request #620 from turtletooth/shortcutwindow
Fixed remove shortcut not updating, added focus when item selected
2016-07-11 20:43:17 +09:00
Jeremy Bullock
a610102e75 Added Qt5Multimedia to build instructions for windows 2016-07-11 00:36:03 -06:00
Campbell Barton
9b2bfdae51 Fix uninitialized variable use (#613) 2016-07-11 15:22:56 +09:00
Jeremy Bullock
eddd8a3654 removed unnecesary code 2016-07-10 18:45:34 -06:00
Jeremy Bullock
7f493cca08 updated remove shortcut works, added focus when item selected 2016-07-10 13:49:14 -06:00
turtletooth
534c9edc88 Merge pull request #587 from shun-iwasawa/fix_crash_on_savelevelas
Fix crash on Save Level As when the current level is not selected
2016-07-09 14:10:02 -06:00
Campbell Barton
5f15dd3724 Correct define check 2016-07-09 13:56:47 +10:00
Campbell Barton
326eaa5b78 CMake: use STATUS for messages, spaces indentation 2016-07-09 10:44:05 +10:00
Campbell Barton
a9c3dad75a CMake: differentiate system includes (#604) 2016-07-09 00:47:11 +09:00
turtletooth
f8ebe3b803 Merge pull request #575 from shun-iwasawa/pencil_test_viewer
Pencil test feature
2016-07-08 09:00:24 -06:00
Campbell Barton
a0c6e1562d CMake: Test for endian instead of guessing based on the platform (#600) 2016-07-08 20:22:25 +09:00
Campbell Barton
8d53343985 CMake: Conditionally add warnings when supported (#598)
This adds utility functions to conditionally add compiler flags,

allowing warnings from newer compiler versions to be used without
causing a lot of noise for users of older compilers.
2016-07-08 16:23:32 +09:00
Campbell Barton
a9208f5aad Correct delete array usage (#599) 2016-07-08 13:43:56 +09:00
Campbell Barton
83caeb2eb5 Fix #593 inverted colors in raster level Linux 2016-07-08 11:46:31 +10:00