summaryrefslogtreecommitdiff
path: root/chart2
AgeCommit message (Collapse)Author
2015-11-18remove unused typedefs and inline use-once typedefsNoel Grandin
and improve the script a little Change-Id: I2792ea4dd5df3a50736fbe209225c3f16fb86b84 Reviewed-on: https://gerrit.libreoffice.org/20033 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-17loplugin:unnecessaryvirtualNoel Grandin
update the plugin with lessons learned from the mergeclasses plugin and re-run it Change-Id: I9d622eb3d05fceaf8fa764c533c8fa5dfb4c7711 Reviewed-on: https://gerrit.libreoffice.org/20015 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15Fast PCH generator and optimized PCH filesAshod Nakashian
Ported update_pch.sh to Python with improved performance and features. The new script is invoked from the same update_pch.sh which calls it for each library in parallel, although it can be invoked directly. The ported script (update_pch) updates all PCH files in ~15 seconds where the old script took ~4500 seconds. In addition, the new script supports 3-tiered headers (system, module, and local) and is very flexible to support other improvement. It has a per-library optimal configuration settings that can be updated using another new scripts (update_pch_autotune.sh) which finds optimal per-PCH settings. PCH files have been generated using the new scripts which builds significantly faster (2-3x, depending on module and configuration) and the intermediate binaries are noticably smaller (by several GBs). The new script stamps each generated PCH file with the command that generated it to make it trivial for users to update them, and also adds the command to invoke another script (update_pch_bisect) that helps find missing headers or conflicting headers that may break the build after updating the PCH. Finally update_pch has built-in unit-tests for makefile parsing and other core functionality. Change-Id: Ib933b50e50374d7e2e7e3e95ba8799b0cc8a27fa Reviewed-on: https://gerrit.libreoffice.org/19965 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin
using variations of: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\)\; \s*OUString\* pArray.*; .*\[0\]\s*=\s*(\S+)\;/Sequence<OUString> \1 { \2 };/g" Change-Id: I03c64334ff30ee14dce0d17b67f5122a3893bbe3 Reviewed-on: https://gerrit.libreoffice.org/19971 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin
replaced using: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<\s*OUString\s*> (\w+)\(\s*1\s*\); .*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g" Change-Id: I20ad0489da887a9712982531c3b127339bb8b3b9 Reviewed-on: https://gerrit.libreoffice.org/19969 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin
performed using: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\); .*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g" Change-Id: I4da56c80fa09bfc1e8f868794001e9921431e09f Reviewed-on: https://gerrit.libreoffice.org/19968 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser syntax for Sequence<OUString>Noel Grandin
replaced using the script: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence< OUString > (\w+)\(1\); .*\[0\] = (\S+);/Sequence< OUString > \1 { \2 };/g" Change-Id: I23688a91562051a8eed11fc2a85599545c285c34 Reviewed-on: https://gerrit.libreoffice.org/19967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-12Bin mesa_headers completelyTor Lillqvist
We don't need them in a MSVC or OS X compilation either. Change-Id: I00181fe0a047df09bbdfcce34c07eb2ebc45a2da
2015-11-12Avoid mesa_headers on X11, also link with -lGL only where necesssaryTor Lillqvist
The GLEW headers are enough, and what we actually use in these places. In addition to handling GL extension things in its dynamic fashion, GLEW headers also have declarations for standard, non-extension, OpenGL API, including xgl and wgl ones. Most likely we don't need mesa_headers on Windows or OS X either, and can drop them completely. Change-Id: Ic0d8d6238c862f8fe4a74e99e95344dcbf540980
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I71de514405bb9bcc746c1ab9633e7fe659888943
2015-11-10fix build, std::make_unique is C++14, use o3tl::make_uniqueNoel Grandin
after my recent boost::ptr_vector->std::vector<std::unique_ptr> conversions Change-Id: I5ebea198365bb2fddf43851c70ebea3f3e19d61b
2015-11-10fix buildNoel Grandin
after my boost::ptr_vector->vector<unique_ptr> conversions Change-Id: I1141e8ad614a650a274bf41bf3ebad9143c561c0
2015-11-10chart2: replace boost::ptr_vector with std::vector<unique_ptr>Noel Grandin
Change-Id: I5c374afcfa2760ebf21e461f38fe392692054dfe
2015-11-10chart2: replace boost::ptr_vector with std::vector<unique_ptr>Noel Grandin
Change-Id: Ia5c35cbd54045a79e896832adf2dbe68c5facf1f
2015-11-10chart2: replace boost::ptr_vector with std::vector<unique_ptr>Noel Grandin
Change-Id: I8bc458c2bcbcb72791ba93a6fe15c83e05d8fae1
2015-11-10chart2: replace boost::ptr_vector with std::vector<unique_ptr>Noel Grandin
Change-Id: I706b730ebbe6a7637a3f1a9cea80a1604f005a53
2015-11-09new loplugin: oncevarNoel Grandin
Change-Id: If57390510dde4d166be3141b9f658a7453755d3f Reviewed-on: https://gerrit.libreoffice.org/19815 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-06coverity#1338265 Uncaught exceptionCaolán McNamara
Change-Id: I5fd48ccaa9dc5c0477cb1d7da307c8403d92e3f7
2015-11-06coverity#1338253 Uncaught exceptionCaolán McNamara
Change-Id: Ia4235060dc2e8943a91e9115111bac9fe9a3fc66
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann
Change-Id: I5accc3f27b545c1dca6281201151729e3717fb0f
2015-11-05Reduce scope of #include <tools/poly.hxx>Matteo Casalin
Change-Id: I0d64393c029d27c8e6f3b6d360d2509dad16d860
2015-11-04Proper fix for coverity#1326893Stephan Bergmann
FindBugs' FE.FE_FLOATING_POINT_EQUALITY is about double value inaccuracies, not about NaN or negative zero (which is the topic of java.lang.Double.equals vs. ==). Reuse existing qa.TestCaseOldAPI.approxEqual method, moved to util.utils. Change-Id: I65f7bb1faf921e1c4035bb96aeff1eaf2cfb3153
2015-11-04yyyyyNoel Grandin
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
2015-11-02tdf#94269: Replace "n" prefix for bool variables with "b"Benjamin Ni
Change-Id: I178545792c7354a362658ac7ef8b1d4cf0865797 Signed-off-by: Michael Stahl <mstahl@redhat.com>
2015-10-30use uno::Reference::set method instead of assignmentNoel Grandin
Change-Id: I58410209f32f988f258a588364e0b037c2790211
2015-10-27loplugin:unusedmethodsNoel Grandin
Change-Id: I161cd52606c11b6008f5d8b1d8ee391692f91861 Reviewed-on: https://gerrit.libreoffice.org/19231 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-27Replace boost::bind by lambdas in chart2 tree.Mario J. Rugiero
Change-Id: Ida56649f15b58b3b11b3d43c5017fd5ebd9a2cf1 Reviewed-on: https://gerrit.libreoffice.org/19606 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-27tdf#91063 Move border to Gtkbox in Data Series content panelYousuf Philips
Change-Id: I33dd8f0688df09e57d565f0f5fb2883297e0497f Reviewed-on: https://gerrit.libreoffice.org/19607 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2015-10-24tdf#91063 Change show legend label to tooltip in chart sidebarYousuf Philips
Change-Id: I3d4cd44527bd9687df002543055286daf6e24a65 Reviewed-on: https://gerrit.libreoffice.org/19370 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2015-10-23implement text rotation for chart axis sidebar panel, tdf#94970Markus Mohrhard
Change-Id: Ifce97c437238bd1520a2122aa4027a1bcbba1e5d
2015-10-22make it harder to use the API wrongly, tdf#95056Markus Mohrhard
Change-Id: I07129285ac7f00513802a60c31d5de27f6f4a5d6
2015-10-22disable all error bar radion buttons in the beginning, tdf#95057Markus Mohrhard
Change-Id: I611a637038669fe855b4357045bff8d3eb5f8600
2015-10-21refactor out some com::sun::star typedefsNoel Grandin
which mostly serve to make the code harder to read Change-Id: Ia2a83fee9f850ab6f0bea6305ce8600d6b785fe8
2015-10-20new loplugin: badvectorinitNoel Grandin
look for places calling the 1-argument vector fill constructor and then immediately called push_back, which is generally a sign that its leaving empty slots. Change-Id: I34e69b8d09cc48c0d409499faaf192b9f86bc517 Reviewed-on: https://gerrit.libreoffice.org/17525 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-10-20loplugin:defaultparamsStephan Bergmann
Change-Id: I03541b984db147f8bd3ed35f83e297cf7eecd7f0
2015-10-19tdf#91063 Move border to Gtkbox similar to other panelsYousuf Philips
Change-Id: I8f385b2997585b3245ad862da60f0b394689b03b Reviewed-on: https://gerrit.libreoffice.org/19463 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-10-19loplugin:defaultparamsStephan Bergmann
Change-Id: I946e1970647d8005f54ac0362f5c2b04f867b22f
2015-10-19cleanup some local var declarationsNoel Grandin
found with git grep -nP '(\w+)\s+=\s+\g1\(' | lots-of-hand-filtering Change-Id: I598b0cfa6607823eaef09d95e610e05145c727f7
2015-10-18tdf#94960, Revert "it is insane to not map line and ..."Markus Mohrhard
This reverts commit 84254268bf5902d2405815970218e1893a7a673e. Change-Id: Id99bc1f44a4e23daaf2f12585981c0be66cbeda5
2015-10-18mark numbers as untranslatableStanislav Horacek
Change-Id: I44c44f96c0ece4d9412df234f57d0acb26b10f2d Reviewed-on: https://gerrit.libreoffice.org/19423 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-10-17coverity#1327446 Unchecked dynamic_castCaolán McNamara
Change-Id: Ib409b7fe4244b89f8767b20adcfae060f121b2f2
2015-10-16convert Link<> to typedNoel Grandin
Change-Id: I51d39d9d1688c4c734cd132213ef654fdc7d9b8e
2015-10-16convert Link<> to typedNoel Grandin
Change-Id: Icbba339dac0be31e30dff021bba06a219f8aecd6 Reviewed-on: https://gerrit.libreoffice.org/19405 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-15-Werror,-Wunused-private-fieldStephan Bergmann
Change-Id: I936ddbabb22e3dc16080ef0b11d585ea98442e57
2015-10-15calling IsSet() before Call() on Link<> is unnecessaryNoel Grandin
the Call() already does a check Found with: git grep -A 1 -w 'IsSet()' | grep -B 1 '.Call(' | grep ':' | cut -d ':' -f 1 Change-Id: Ia7248f5d62640b75f705e539c3d1183e39c0d847
2015-10-13remove some useless commentsNoel Grandin
found with git grep '// /' Change-Id: I948cf9ae61bbbf2ec706ca5b0572c4f27c58c745
2015-10-12disable arrow heads in chart sidebar, tdf#94971Markus Mohrhard
Change-Id: I631f34faf2befeb7cc61027c8fd59ef7b3543785
2015-10-12update the line panel for data points, related tdf#94969Markus Mohrhard
Change-Id: Ieffdfd1cc0d6b5cc0dd8394896aeb49838096a6b
2015-10-12update area panel for data points, tdf#94969Markus Mohrhard
Change-Id: I700ae8ff591ef1ea82887b1ec2cd7b4be04978db
2015-10-12Replace "SAL_FINAL" with "final" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: Ifa5ba21308e32df44571fa2941370f2f11179580