qt5base-lts/src/corelib
Svenn-Arne Dragly 50cfbd6112 Animation: Fix case where QEasingCurve::valueForProgress returns nan
Previously, we would divide by zero in BezierEase::findTForX if factorT3
was zero when solving the cubic equation.

This change fixes the problem by adding solutions for the special cases
where the cubic equation can be reduced to a quadratic or linear
equation.

This change also adds tests that cover cases where the equation becomes
quadratic, linear or invalid.

Task-number: QTBUG-67061
Change-Id: I2b59f7e0392eb807663c3c8927509fd8b226ebc7
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
2018-03-26 15:53:10 +00:00
..
animation Fix GCC 8 warning in qvariantanimation 2018-02-14 05:43:55 +00:00
codecs QUtf8: Add some UTF-8 text operation functions 2018-02-03 21:31:57 +00:00
doc Revert "JSON doc: update the RFC we link to" 2018-02-21 18:51:40 +00:00
global Revert "Detect C standard and try using the most recent" 2018-03-26 15:10:33 +00:00
io QFile::rename: fix the error message if renaming a file by copy fails 2018-03-21 14:23:53 +00:00
itemmodels Make sure we can build with -no-feature-itemmodel 2018-03-21 14:00:29 +00:00
kernel Make sure we can build with -no-feature-itemmodel 2018-03-21 14:00:29 +00:00
mimetypes QMimeDatabase: fix regression in alias resolving 2018-02-28 22:17:58 +00:00
plugin Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
serialization JSON: remove braces from UUID text representations 2018-03-02 04:06:33 +00:00
statemachine doc: Correct remaining qdoc warning in qsignaltransition.cpp 2018-01-04 12:50:29 +00:00
thread QSemaphore: add minor optimization for 64-bit Linux systems 2018-03-19 20:36:55 +00:00
tools Animation: Fix case where QEasingCurve::valueForProgress returns nan 2018-03-26 15:53:10 +00:00
configure.json logging: Clarify and document how we look for the presence of a console 2018-03-07 18:12:09 +00:00
corelib.pro Remove src/corelib/arch, merging with src/corelib/thread 2018-03-19 20:36:45 +00:00
debug_script.py macOS: Add LLDB debug script when building with separate debug info (dSYM) 2017-07-07 18:09:45 +00:00
eval.pri
Qt5Config.cmake.in Remove CMake code for CMake < 3.1 2018-03-24 22:31:18 +00:00
Qt5CoreConfigExtras.cmake.in Remove CMake code for CMake < 3.1 2018-03-24 22:31:18 +00:00
Qt5CoreConfigExtrasMkspecDir.cmake.in
Qt5CoreConfigExtrasMkspecDirForInstall.cmake.in
Qt5CoreMacros.cmake Remove CMake code for CMake < 3.1 2018-03-24 22:31:18 +00:00
Qt5CTestMacros.cmake Merge remote-tracking branch 'origin/5.6' into 5.7 2016-04-04 08:59:18 +02:00
Qt5ModuleLocation.cmake.in Use separate Qt5Config.cmake inside build directory 2016-11-25 10:46:34 +00:00
Qt5ModuleLocationForInstall.cmake.in cmake: avoid @var@ expansion in older CMake versions 2017-07-10 21:25:47 +00:00
QtCore.dynlist
qtcore.tracepoints Support for LTTNG and ETW tracing 2018-01-28 19:17:02 +00:00
qtzlib.pro make a proper header-only module for QtZlib 2015-11-17 20:22:17 +00:00