summaryrefslogtreecommitdiff
path: root/chart2/Module_chart2.mk
AgeCommit message (Collapse)Author
2020-08-06tdf#135184 add linecaps in chartsRegina Henschel
Chart is currently not able to interpret property linecap. But in case of linecap 'round' or 'square', line dashes lengths are adapted so that they look same as in MS Office (tdf#134053). This does not work, if the corresponding linecap property is not interpreted. Dashed border of data labels is not fixed because of bug tdf#135366. In addition I have fixed errors in prstDash detection, which I have noticed while creating unit tests. The unit tests cover file text, not visual appearence. Change-Id: I8cf2d2b2fc0923c2882f8148b4550bc363270480 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99562 Tested-by: Jenkins Reviewed-by: Regina Henschel <rb.henschel@t-online.de>
2018-11-01gbuild: rename value OS=IOS to OS=iOSMichael Stahl
This gets rid of the horrible hack in gbuild.mk to accomodate the case-incorrect iOS platform makefiles that cannot be renamed without upsetting git on file systems that sadly lack the case sensitivity feature. Keep the macro defined to IOS though. Change-Id: I1022bfef4900da00e75fc1ccce786b20f8673234 Reviewed-on: https://gerrit.libreoffice.org/62705 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2018-07-17remove the GL based 3D chartsMarkus Mohrhard
Change-Id: Ia578c71ae70aa0a85b49fa50138edf90f961b1e9 Reviewed-on: https://gerrit.libreoffice.org/57533 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-07-21migrate to boost::gettextCaolán McNamara
* all .ui files go from <interface> to <interface domain="MODULE"> e.g. vcl * all .src files go away and the english source strings folded into the .hrc as NC_("context", "source string") * ResMgr is dropped in favour of std::locale imbued by boost::locale::generator pointed at matching MODULE .mo files * UIConfig translations are folded into the module .mo, so e.g. UIConfig_cui goes from l10n target to normal one, so the res/lang.zips of UI files go away * translation via Translation::get(hrc-define-key, imbued-std::locale) * python can now be translated with its inbuilt gettext support (we keep the name strings.hrc there to keep finding the .hrc file uniform) so magic numbers can go away there * java and starbasic components can be translated via the pre-existing css.resource.StringResourceWithLocation mechanism * en-US res files go away, their strings are now the .hrc keys in the source code * remaining .res files are replaced by .mo files * in .res/.ui-lang-zip files, the old scheme missing translations of strings results in inserting the english original so something can be found, now the standard fallback of using the english original from the source key is used, so partial translations shrink dramatically in size * extract .hrc strings with hrcex which backs onto xgettext -C --add-comments --keyword=NC_:1c,2 --from-code=UTF-8 --no-wrap * extract .ui strings with uiex which backs onto xgettext --add-comments --no-wrap * qtz for gettext translations is generated at runtime as ascii-ified crc32 of content + "|" + msgid * [API CHANGE] remove deprecated binary .res resouce loader related uno apis com::sun::star::resource::OfficeResourceLoader com::sun::star::resource::XResourceBundleLoader com::sun::star::resource::XResourceBundle when translating strings via uno apis com.sun.star.resource.StringResourceWithLocation can continue to be used Change-Id: Ia2594a2672b7301d9c3421fdf31b6cfe7f3f8d0a
2017-06-23iOS, convert CPPUnittest to noopjan Iversen
unittest is not supported for iOS due to the way it is build Change-Id: I0682c5252231668edc2ec186147b872ef6fcc695
2017-04-04tdf#83257 [API-CHANGE] Pivot chart implementationTomaž Vajngerl
This is a squashed commit of the pivot chart implementation. Some of the changes: - Add pivot chart specific (pivot table) data provider which provides the data from a pivot table to the associated chart. - When inserting a chart and the cursor is in a pivot table, in that case insert a pivot chart - Modify the pivot chart when the pivot table changes - Collect and set the number format for the values - isDataFromSpreadsheet check for the creation wizard - In ChartView (and VLegend) check if the data provider is a pivot chart data provider and get the pivot table field names to create the buttons on the UI. - Adds the functionallity to show a filter pop-up (from calc) when clicking on row / column / page field buttons. - Remove (X)PopupRequest as we won't need it. - Add ODF import/export for pivot charts: + Added loext:data-pilot-source attribute on chart:chart which is the internal name of the pivot table with which the pivot chart is associated with. If the element is present, then the it means the chart is a pivot chart, else it is a normal chart + Added service to create pivot chart data provider through UNO + Add new methods to XPivotChartDataProvider to create value and label data sequences separately from the data source, which is needed for pivot chart import + When importing defer setting the data provider until a later time when we know if we are creating a chart od a pivot chart - Pivot chart ODF round-trip test - Add table pivot chart supplier API: This adds the XTablePivotChartSupplier and related interfaces so we can access, create, delete pivot charts from UNO in a sheet document. With this we now distinguish between normal charts and pivot charts. This was mainly needed because we can't extend the "published" interfaces of TableChartSupplier. - Added an extensive test, which uses the API to create a new pivot chart when there was none, and checks that the pivot chart updates when the pivot table updates. Change-Id: Ia9ed96fd6b1d342e61c2f7f9fa33a5e03dda21af Reviewed-on: https://gerrit.libreoffice.org/36023 Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2017-03-12the test seems to depend on the fontsMarkus Mohrhard
Fixes "Random Config" tb run #289 Change-Id: Ib1d672ac0a68e977f8d32f87c730ff1b0822f32c Reviewed-on: https://gerrit.libreoffice.org/35109 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-02-12ChartDumpTest: A new chart test suite for a more sistematic testingTamás Zolnai
A hibrid of dumper tests (xmlDump) and simple CppUnit tests. Advantages: * Easy to add a new test case ** Add a new test file and generate the reference ** Similar to dumper tests * Easy to find out the root of the problem when test fails ** Assertion is not coming somewhere from an XML file ** Assertion are placed in the code, so if you read and understand that code, you can find out easier why the test fails. ** Similar to simple CppUnit tests. * One test checks only one smaller part of the whole document ** e.g. legend, chart data, grid Change-Id: I7bba5a37efcc62d6358c84acece91963243a914f Reviewed-on: https://gerrit.libreoffice.org/34154 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2016-08-18screenshots: add new global make targetArmin Le Grand
Up to now the screenshot creation was added/dependent of target slowcheck. Since quite some modules have added screenshot creations now, I added an own target 'screenshot' to allow to keep current slowcheck and screenshot creation separated Change-Id: I80a49a0db607edf8e0405672d570f624d29912e7
2016-08-18screenshots: add dialog test cases for chart2Armin Le Grand
All *.ui files create a screenshot, but not all look useful Change-Id: I90d977ae84a65e9576ba9cc9b178407997e4ba79
2016-08-03Reduce ENABLE_OPENGL / ENABLE_HEADLESS confusionTor Lillqvist
ENABLE_OPENGL means whether to enable the OpenGL slideshow transition code. It does not mean whether to enable use of OpenGL in general. So rename it to ENABLE_OPENGL_TRANSITIONS while at it. ENABLE_HEADLESS means whether to disable use of X11 and OpenGL on X11 (and Wayland) platforms, I think, meaning Linux and maybe Solaris and the BSDs. Maybe it should be renamed to DISABLE_X11_AND_OPENGL. Change-Id: Ibb30f51646b1bcc477fe691a3fa38c7a1e3944ae
2016-03-25fix headless buildOliver Specht
disables OpenGL and glew usage, lets --without-gui do what --without-x did before and disables X related test Change-Id: I680b47c9962a0d43c8ece593db0b82e347ceebdb Reviewed-on: https://gerrit.libreoffice.org/23474 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-09-08related tdf#93676, add test for chart::CommonFunctorsMarkus Mohrhard
Change-Id: I9667611135300155ee87cca1ad444ad8a6a9aeb1
2015-06-22Add unit tests for chart2 trend calculatorsPhilippe Jung
Will be used to check tdf#70673 is fixed. Test will fail before the fix and should pass after. Change-Id: I9e0fdc696fb99ac2f0e24b04273391d526c629a6 Reviewed-on: https://gerrit.libreoffice.org/16406 Reviewed-by: Philippe Jung <phil.jung@free.fr> Tested-by: Philippe Jung <phil.jung@free.fr>
2014-04-29Build libchartopengl for all platformsTor Lillqvist
That doesn't mean it would need to be used on iOS or Android, if we don't need/want to. Change-Id: Ia6ac6f32cac3f6958f5ec240ec4be369474edfb8
2014-04-03add concept for chart xshape testsMarkus Mohrhard
will be run on a tinderbox for now that will be the reference for anything related to it Change-Id: Ib795b53f74e9207d0272342f12d426bbc21164b4
2014-03-17Revert "Move OpenGLRender to vcl"Markus Mohrhard
This reverts commit 04b70c682e2cdc52b144961a83d05fd203de6884. The OpenGLRender is not abstract enough for vcl. Leave it in chart2. Conflicts: chart2/source/view/inc/DummyXShape.hxx chart2/source/view/main/OpenGLRender.hxx vcl/Library_vclopengl.mk Change-Id: I5392c8ee34462ff49059126ca2284d8ebe1eb379
2014-03-14Move OpenGLRender to vclZolnai Tamás
Change-Id: I6383ae3f94fc18aec92596b9d857d3fde5869dd6
2014-02-03Make the OpenGL stuff in chart2 compile for OS X (but definitely won't work)Tor Lillqvist
Change-Id: I487fcd12bf90e8ce2c05743244858f7b5145c355
2014-01-29add Symbol2D renderingPeilin
Change-Id: Ic294ffc4bc675495fe83ac182dbebbba7245c7b9
2014-01-29Revert "disable building the OpenGL pieces"Michael Meeks
This reverts commit 449157cae77fc6a1b2a96f53d78d7a93cb33436d. Re-enable building the OpenGL pieces and limit it to Windows, Linux and FreeBSD Conflicts: chart2/Module_chart2.mk Change-Id: I9edaaad4244b3c2c2b1174d91f57464dad69f214
2013-12-16uiconfig is a l10n-relevant targetBjoern Michaelsen
Change-Id: I8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06
2013-11-19disable building the OpenGL piecesMarkus Mohrhard
2013-11-19add glew and make chartopengl a dynamically loaded libMarkus Mohrhard
2013-11-14make l10n buildable separatelyBjoern Michaelsen
- this renames the 'almost' module target to non-l10n - and adds a l10n target which is intended to only build l10n parts of the product - packagers should then be able to build l10n and non-l10n parts of the product independently, thus: - enable quicker rebuilds - distribution of load - updates to l10n without a full rebuild - security fixes to binaries without rebuilding all l10n - the new targets are called build-l10n-only and build-non-l10n-only - note this is not intended to move a concept of split packages upstream -- while this exsists in distros, the number of test scenarios for this would explode upstream Change-Id: Ib8ccc9bc52718d9b0ebbfee76ad93dc29c260863 Conflicts: filter/Module_filter.mk
2013-05-14Assume CppunitTest_chart2_import got removed by accidentStephan Bergmann
...by 14c2ab30201d97f733375b4e3e88e5919701be25 "add export test for charts." Change-Id: I5c77276a80e15fff8d4042c3bc52f3094227d647
2013-05-13Fix namingStephan Bergmann
Change-Id: Ib2f9577429a4b9b97540de1eb40837ddafdc05b5
2013-05-01add export test for chartsMarkus Mohrhard
Change-Id: I176f7967d37f3032057758d9aaa5f39c46d29c3d
2013-04-22actually this test should be fine as slowcheck testMarkus Mohrhard
Change-Id: Ie6f65f1ea2bfc61c9575b88957e6062c2c51566e
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-11deliver all uiconfig files by UIConfigDavid Tardon
Change-Id: Ie78b7ce399ba34485146ca7622c59d31f8105d02 Reviewed-on: https://gerrit.libreoffice.org/3229 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-11rename UI to UIConfigDavid Tardon
I plan to use it to deliver all */uiconfig files, not just .ui, as a preliminary step to get rid of postprocess/packconfig. Change-Id: Ie7b4434b2f247165e3ab69a4d0c193418720a149 Reviewed-on: https://gerrit.libreoffice.org/3225 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-03-28move the dialog to chart2Markus Mohrhard
Change-Id: I9f6e967d52dd10072c57b4f55faedd4ed7f98094
2013-03-05slowcheck is not executed after everything is builtMarkus Mohrhard
2013-03-05start for an initial chart2 import testMarkus Mohrhard
Change-Id: Iedd531186fccd73704eb3137195a22d3ca005293
2012-08-06merge pointlessly fragmented chart2 libraries, leaving controller split.Michael Meeks
2011-08-10prefer makefile-gmake-mode to plain makefile-modeTakeshi Abe
2011-07-30Add consistent Emacs and vim mode linesTor Lillqvist
2011-04-15gbuildize chart2David Tardon
2011-03-28migrate chart2 subsequenttests to gbuildBjoern Michaelsen