Commit graph

24 commits

Author SHA1 Message Date
otakuto
ed7dcd5873 using std::swap instead of tswap (#2195) 2018-08-30 17:18:43 +09:00
romeojulietthotel
12386f2352 Remove unused vars (#1841)
* Remove double byte glyph from comment.

* Remove unused variables and some commented includes.
2018-04-20 11:12:45 +09:00
shun-iwasawa
5a2ff6d279 Add add_dependencies Command to CMake for OSX (#1587)
* fix cmake for osx

* try using make -j 2 for osx travis

* obtain qt5.9.2 from the previous homebrew
2017-11-24 13:10:45 +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
shun-iwasawa
27b0cfd38c clang formatting (#703) 2016-08-04 16:23:36 +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
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
f2d492861f CMake: use multi-line defines
Easier to read and avoids merge conflicts
2016-07-02 22:23:18 +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
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
1660e0d627 Fix conflicts (Remove license and edition defines and code) (#291)
* Remove license support, and old editions

Previously, old code to support various editions of Toonz, as well as
license activiation code, was cluttering the repository.
Support for LINETEST is retained.

* fix conflicts
2016-05-16 20:45:31 +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
Michał Janiszewski
bb8dc0a880 Fix loop counter 2016-04-25 21:54:42 +02: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
2148c874dd remove using namespace std; from headers 2016-04-20 10:24:48 +09:00
Toshihiro Shimizu
890dddabbd first commit 2016-03-19 02:57:51 +09:00