Commit graph

59 commits

Author SHA1 Message Date
shun-iwasawa
3812bacda5 fix maddin200 pointed problems part2 2022-04-01 14:26:34 -04:00
luz paz
cd6cb546f3 Fix various typos
Found via `codespell -q 3 -S *.ts,thirdparty, -L appy,ba,chunck,datas,forse,inbetween,inly,inout,pevent,possibile,upto`
2022-01-19 20:47:01 -05:00
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
Rozhuk Ivan
a7b6545028 Add FreeBSD (tested) and other BSD systems (not tested) to build and run.
I fail to build TIFF code: it requires access to libtiff internals but it
unavailable with libtiff prom ports. Probably pre build form
thirdparty/tiff-4.0.3 should fix this, but I don't check this.
Tiff code disabled for work but available in options.

I fail with SSE2 too, there is some mess with class initialization:
TRaster32P rout32 = rout; have no idea how to fix it.
If some one want to play with it, then try to build with
CFLAGS+= -DUSE_SSE2 -DDWORD=uint32_t -D_aligned_malloc=aligned_alloc -D_aligned_free=free
on non windows system.

FarmServer::queryHwInfo() - now uses TSystem::***() to collect system info,
to avoid code duplication.

Add pthread as required lib.
2021-08-31 11:10:48 -04: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
artisteacher
4871443ae5
Fix unused command line arguments (#99)
This uses some of PR opentoonz/opentoonz#3031 by Otakuto with some small additions so that command line arguments can function.
2020-07-25 22:53:56 -06:00
Jeremy Bullock
f0e7451df2
3142 (#24)
* Fix build with Clang 10

* System depend code deduplication

* Improve multi-layer style picker.

Allows clicking anywhere on a stroke in another layer to pick it -
not just the center.

Fixes #2843.

* Get actual pixel size instead of hard-coding to 1.0.

Co-authored-by: Rodney <rodney.baker@gmail.com>
Co-authored-by: Rozhuk Ivan <rozhuk.im@gmail.com>
Co-authored-by: Martin van Zijl <martin.vanzijl@gmail.com>
2020-05-28 16:17:17 -06:00
Jeremy Bullock
1d8faddcc0
Tahoma Branding (#6) 2020-05-22 22:20:51 -06:00
Rozhuk Ivan
823a31f62c Fix multiple clang warnings 2020-04-13 22:21:56 +03:00
Tact Yoshida
ceffab4672 Fix std labels 2019-12-24 17:58:05 +09:00
Artisteacher
c851bfc478 More path fixes 2019-12-15 20:31:40 -05:00
artisteacher
48cbb835c2
Update tfarmtask.cpp 2019-12-15 19:35:23 -05:00
artisteacher
2f3a624473
Remove version number from name 2019-12-15 19:33:27 -05:00
Rodney
83fe31d0e0
Merge pull request #2600 from manongjohn/xcode_builds
Xcode IDE support for macOS builds
2019-09-19 09:15:18 -05:00
Campbell Barton
e4aac6f433 Cleanup: undeclared function warnings
Make static or comment out.
2019-06-30 12:59:14 +10:00
John Dancel
83fae996d8 Xcode IDE support 2019-04-20 22:54:44 -04:00
otakuto
ed7dcd5873 using std::swap instead of tswap (#2195) 2018-08-30 17:18:43 +09:00
Dave
ba9da17b89 Issue #1131 toonz farm & open toonz on different platforms (#1609)
close #1131
2018-05-22 18:00:46 +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
Dave
5a94754d3c Various TFarm fixes (#1140)
close #1125 
close #1126 
close #1127 
close #1129
2017-08-03 14:29:04 +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
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
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
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
ccd5052709 Cleanup: declare local functions static (#632)
Applies to toonz, toonzfarm, toonzqt.
2016-07-14 15:51:27 +09:00
Campbell Barton
a9c3dad75a CMake: differentiate system includes (#604) 2016-07-09 00:47:11 +09:00
Shinya Kitaoka
7abdb2380a Merge pull request #547 from ideasman42/warn-undefined-pr
Quiet -Wundef warning
2016-07-06 20:42:14 +09:00
Shinya Kitaoka
c08330d1ae Merge pull request #567 from opentoonz/cmake-cleanup-defines-pr
CMake: use multi-line defines
2016-07-06 13:56:49 +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
Michał Janiszewski
38816b00c9 Fix argument assignment in TaskId 2016-06-30 17:20:50 +02:00
Campbell Barton
d869b5f8e6 Quiet -Wundef warning
Exposes accidental typos when checking exact values of a define.
2016-06-30 12:28:26 +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
Campbell Barton
22fd3b0447 CMake: changes needed to build on Linux (#452)
Note that these are the main changes from the linux port.
Not a fully working linux port.
2016-06-16 13:52:02 +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
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
Campbell Barton
9472c8d664 Cleanup: very long lines
While this isn't an error, this causes search tools (grep for eg), to give warnings.
2016-04-25 14:15:01 +10: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
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