Commit graph

30 commits

Author SHA1 Message Date
luz paz
35e409e926 fix various typos
Found via `codespell -q 3 -S *.ts,thirdparty, -L appy,ba,inbetween,inout,pevent,possibile,upto`
2021-08-31 11:10:50 -04:00
Érico Rolim
2e3c011ee3 Include <unistd.h> instead of <sys/unistd.h>.
On glibc systems, the <sys/unistd.h> header simply redirects to
<unistd.h>, while on musl systems this header doesn't exist. Therefore,
it makes more sense to include <unistd.h> directly.
2021-08-31 11:10:47 -04:00
shun-iwasawa
fc41561bb3 fix redundant preview invocation 2021-01-24 14:05:31 -05:00
Jeremy Bullock
51daab8588
OpenToonz changes as of 11-11-20 (#489)
* removed unused tcleanuppreprocessor.cpp and .h

Signed-off-by: Jeremy Bullock <jcbullock@gmail.com>

* removed unused directory lzodriver

Signed-off-by: Jeremy Bullock <jcbullock@gmail.com>

* OpenToonz changes as of 11-11-20

Co-authored-by: Sean Kuehl <teddscottfelt@gmail.com>
2020-11-12 14:40:58 -07:00
Rozhuk Ivan
823a31f62c Fix multiple clang warnings 2020-04-13 22:21:56 +03:00
otakuto
e7dd1492d7
Remove unused TIdentifiable (#3080) 2020-04-07 18:36:30 +09:00
shun_iwasawa
0cae242b72 clang format all 2017-07-20 19:46:27 +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
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
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
tomosu
eea0acf6fa Use stringstream instead of strstream (#431)
* replace strstream with string stream

* all change

Signed-off-by: tomosu <tomosu@users.noreply.github.com>

* small changes
2016-06-13 21:50:05 +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
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
Michał Janiszewski
b82824518a Make sure all the sqrt coeffs have space for storage 2016-04-25 21:54:52 +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
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
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
262a92f130 use smart pointer for m_imp 2016-04-14 19:15:09 +09:00
Campbell Barton
d0e335dfee Fix include case 2016-04-12 02:58:51 +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
Toshihiro Shimizu
890dddabbd first commit 2016-03-19 02:57:51 +09:00