Commit graph

5 commits

Author SHA1 Message Date
Érico Rolim
2c66a4ced9 Use feature test macros properly in igs_resource_msg_from_err_unix.
Feature test macros should be used to inform the C library what
functions a program _expects_ to be available (and which should be made
available to it), not as checks for what functions are available to be
used. Therefore, it is necessary to set _POSIX_C_SOURCE to 200809L,
which indicates we wish to use functions defined in POSIX.2008, one of
which is `int strerror_r()`. This way, all libc (including glibc, as
long as _GNU_SOURCE is undefined) implementations will make the correct
version of the function available, and the fallback to the `char
*strerror_r()` version is no longer necessary.
2021-08-31 11:10:47 -04:00
Jeremy Bullock
133c867d93
Merge with core OpenToonz as of 7-5 (#73)
* add multi arc mockup

* implement mutli arc

* add join and smooth option

* reset multiarc and arc when deactivated

* create self loop if the last point is the same as the first

* make join option in multiarc consistent with tape tool

* fix a bug where thickness don't affect mutliarc in vector level

* remove join option in geometric tool

* stop mutliarc after closing shape

* double click can also end multi arc

* fix a bug where multiArc will produce buggy stroke

* fix a bug where geometric tools is not deactivated

* add multiArc shortcut

* rewrite multiArc

* revert changes to tvectorimage

* add undo data for multiArc

* Paste as Copy Command for XSheet

* Remove unneeded code

* Bug fix

* prevent guide lines from jumping around in MultiArc

* make stroke color consistent in MultiArc

* remove color in MultiArc's undo data

* make color consistent in MultiArc with previous version

* Fix single image raster levels

* fix compilation error

* fix a bug where multiArc might generate bugged stroke

* Remove ICONV dep (#3304)

* fix crash on saving studio palette

* Move to Paste Special Menu

* Don't Set Fixed Width if Docking a Floating Panel

Co-authored-by: pojienie <pojienie@gmail.com>
Co-authored-by: rim <11380091+rozhuk-im@users.noreply.github.com>
Co-authored-by: shun-iwasawa <shun.iwasawa@ghibli.jp>
Co-authored-by: Rodney <rodney.baker@gmail.com>
2020-07-05 23:32:52 -06:00
Shinya Kitaoka
120a6e041c apply clang-format 2016-06-15 15:43:10 +09:00
Campbell Barton
107701249b Basic edits for Linux portability 2016-04-12 02:56:45 +10:00
Toshihiro Shimizu
890dddabbd first commit 2016-03-19 02:57:51 +09:00