office-gobmx/chart2
BaiXiaochun 3128fd02c0 Purge out when safe rtl::math ( isValidArcArg / sin / cos )
/** If a value is a valid argument for sin(), cos(), tan().
IEEE 754 specifies that absolute values up to 2^64 (=1.844e19) for the
radian must be supported by trigonometric functions.  Unfortunately, at
least on x86 architectures, the FPU doesn't generate an error pattern for
values >2^64 but produces erroneous results instead and sets only the
"invalid operation" (IM) flag in the status word :-(  Thus the application
has to handle it itself.
*/

chart2/source/tools/RelativePositionHelper.cxx
Function name: RelativePositionHelper::getCenterOfAnchoredObject
From here: suppose it's related to the orientation of the chart << 2^64

chart2/source/view/main/LabelPositionHelper.cxx
LabelPositionHelper::LabelPositionHelper
Suppose: setup label position.
There won't be angles grater than 360º.

chart2/source/view/main/PlottingPositionHelper.cxx
PolarPlottingPositionHelper::transformUnitCircleToScene
Suppose: maybe disc chart orientation?
Internal angle should be safe.

chart2/source/view/main/ShapeFactory.cxx
ShapeFactory::getSizeAfterRotation
Suppose: rotate shape
Internal angle should be safe.

drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
Constant 100% safe

sc/source/core/data/documen4.cxx
bool ScDocument::Solver
Suppose: the tangent is being used as numerical derivative (Regula falsi algorithm)
So no impossible angles

scaddins/source/analysis/bessel.cxx
Filtered it out as bad imput

Change-Id: Ib348cca6ce13263d087b6731f93f58d8a15cc725
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118193
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
2021-07-03 21:57:29 +02:00
..
inc vcl: outdevmap.hxx -> rendercontext/ImplMapRes.hxx 2021-06-15 09:25:10 +02:00
qa Purge out rtl::math::setNan 2021-06-30 09:52:45 +02:00
source Purge out when safe rtl::math ( isValidArcArg / sin / cos ) 2021-07-03 21:57:29 +02:00
uiconfig remove 'relief' from CheckButtons 2021-06-17 16:26:33 +02:00
workbench/addin
AllLangMoTarget_chart.mk
CppunitTest_chart2_common_functors.mk
CppunitTest_chart2_dialogs_test.mk
CppunitTest_chart2_dump.mk
CppunitTest_chart2_export.mk
CppunitTest_chart2_export2.mk
CppunitTest_chart2_geometry.mk
CppunitTest_chart2_import.mk Split CppunitTest_chart2_import into two 2021-06-15 13:12:48 +02:00
CppunitTest_chart2_import2.mk Split CppunitTest_chart2_import into two 2021-06-15 13:12:48 +02:00
CppunitTest_chart2_pivot_chart_test.mk
CppunitTest_chart2_trendcalculators.mk
CppunitTest_chart2_xshape.mk
export_setup.mk
import_setup.mk Split CppunitTest_chart2_import into two 2021-06-15 13:12:48 +02:00
IwyuFilter_chart2.yaml
JunitTest_chart2_unoapi.mk
Library_chartcontroller.mk
Library_chartcore.mk
Makefile
Module_chart2.mk Split CppunitTest_chart2_import into two 2021-06-15 13:12:48 +02:00
README.md
UIConfig_chart2.mk

Chart Implementation for LibreOffice Calc

The chart2 denotes a second generation re-write done to rid us of the foul and twisted legacy chart code.

Debugging

Shortcuts

CTRL + F12 creates a layout dump based on the XShapeDumper based on SAL_WARN("chart2", ...