summaryrefslogtreecommitdiff
path: root/sc/CppunitTest_sc_ucalc.mk
AgeCommit message (Collapse)AuthorFilesLines
2021-05-17sc_ucalc: move formula tests to their own moduleXisco Fauli1-107/+2
in order to split sc_ucalc monster into smaller modules Now, we can change CppunitTest_sc_ucalc.mk to use the template - Enable testExternalRefUnresolved on Linux/Mac - Remove testFormulaHashAndTag. it was disabled in f4dc8a869ac49f19c20fc5fa606448e9103726bd < the idea behind the test can't work right now > Change-Id: I864341442ccd321c8ef4f7147db4512bcc7a6b21 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115595 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-05-16sc_ucalc: no need to have one cxx file for just 3 testsXisco Fauli1-1/+0
Change-Id: Ib56e14735e575606519b60d73ec539be86b01cc5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115678 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-05-16sc_ucalc: move conditional format tests to their own moduleXisco Fauli1-1/+0
in order to split sc_ucalc monster into smaller modules While at it, remove testCopyPasteSkipEmptyConditionalFormatting it was added already disabled in 5915d38e84c7a7861c169bea18c63824bcfdc470 <add disabled test for conditional formatting with skip empty cells> and it fails if it's enabled Change-Id: I6222849b38ab288b24432dc00698d72f5bcc5c2e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115677 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-05-14sc_ucalc: move pivot table tests to their own moduleXisco Fauli1-1/+0
in order to split sc_ucalc monster into smaller modules Change-Id: I5fa1b9b7366c45414d26804a09d1b78aebc83e2d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115568 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-05-14sc_ucalc: move shared formula tests to their own moduleXisco Fauli1-1/+0
in order to split sc_ucalc monster into smaller modules Change-Id: I399daeb57dd5fba7077fef6584b0a3772df84d84 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115559 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2021-05-14sc_ucalc: move sort tests to their own moduleXisco Fauli1-1/+0
in order to split sc_ucalc monster into smaller modules Change-Id: Ib041d1fbce51230dcc46320939257771eac0faea Change-Id: Iae19af01de63346b2bf951ed935fccbd6bfb9d15 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115558 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2019-10-04add gbuild function for a common PCH and use it in sc/ and sax/Luboš Luňák1-0/+2
And make it simple to disable the whole feature by setting gb_DISABLE_PCH_REUSE=1, just in case. Also work around a possible BOOST_ALL_NO_LIB mismatch when using the common PCH. Change-Id: I96fd507edf1ada6242ac225026250e5a588d0193 Reviewed-on: https://gerrit.libreoffice.org/79365 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2019-04-25Cut down on -pthread/-lpthread proliferationStephan Bergmann1-6/+0
Building against libstdc++ effectively always requires -pthread anyway (as various standard C++ headers require it, see the comment added to solenv/gbuild/platform/unxgcc.mk), so many explicit uses of -pthread/-lpthread can be removed. Doing a (partial) test build on Linux with Clang -stdlib=libc++ suggests that libc++ indeed doesn't need -pthread as libstdc++ does. The remaining uses of -pthread/-lpthread are mostly in configure.ac for the various BSDs (which somebody else might want to clean up now), and related to external projects. I tried to be careful to remove -pthread/-lpthread from makefiles only when C++ object files are involved (so -pthread will now be included on the link command line by default). Change-Id: I936e082839cb9a434bd273ce5a1f187a4245dfa1 Reviewed-on: https://gerrit.libreoffice.org/71291 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-05-31SwModule is a convenient (?) place for passing events to Automation clientsTor Lillqvist1-1/+5
Generate Application.DocumentChange and Application.Quit events. SfxHintId::DocChanged seems to correspond nicely enough to Application.DocumentChange. It is generated a bit eagerly, but as its documentation is fairly vague and no specific detailed information is passed in parameters anyway, it probably doesn't hurt if a client gets it a bit more often with LO than with some other product. Can now remove the FIXME-marked Quit event things in SwVbaApplication. Now need oovbaapi in many makefiles for them to compile. Change-Id: I4d0c5b93b584f198bcc854002eec7aaba7909ecc Reviewed-on: https://gerrit.libreoffice.org/55106 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2018-03-11Move (and rename) graphic stuff from svtools to vclTomaž Vajngerl1-0/+1
This is preparing to change how GraphicManager works where it won't base itself around GraphicObject anymore but Graphic. No functional or cosmetic change was made to the classes, only changes that were needed because of the move and rename. The only thing that wasn't moved is the GraphicRenderer as it is not needed in vcl for now (but makes sense to move it in the future to keep graphic stuff together). grfmgr was renamed to GraphicObject as the GraphicManager will be changed a lot and most likely moved out, so the name grfmgr won't make any sense anymore. All the UNO implementations were renamed with a prefix Uno and used the same name as the class name. This is made to be more specific which are the Uno objects (for example graphic.cxx contained the implementation of XGraphic, which is similar to graph.cxx contains Graphic). Change-Id: I54a2fa6c7e997469aaa7770db05244adb9f64137 Reviewed-on: https://gerrit.libreoffice.org/51068 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-07-02tdf#108789 and others: overhaul DBase files encoding handlingLionel Elie Mamane1-0/+1
- Calc: make the complete "what encoding to use" decision before calling the connectivity driver, so that the driver has no ambiguity about whether it should override our setting or not. To this end, factorise the part of the driver that reads the encoding from the file header into dbtools. - Calc: don't ask for encoding when the file's header give the encoding. - don't confuse CP850 (the default) and "don't know", including: * don't ignore CP850 user setting * don't overwrite user setting with CP850 Thanks to Julien Nabet for the extensive collaboration on this. Change-Id: Id80b7c505858b88f717b0ce6bd890527909e5fd1
2017-06-06tdf#107945: prepare for future multi-threading of pivot cache...Kohei Yoshida1-0/+6
It's disabled for now. We need to first make the edit engine and a few other places thread-safe before we can parallelize this code. Change-Id: Ie09536964ece42d43f505afc5e2611d469cc5c95 Reviewed-on: https://gerrit.libreoffice.org/38424 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2017-04-21gbuild: Remove MSVC 2013 legacy codeDavid Ostrovsky1-1/+0
Uwinapi is discontinued. Change-Id: I063b4d0d8fab2d60de168e960a63b8181158ac01 Reviewed-on: https://gerrit.libreoffice.org/23198 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
2017-04-14remove the old collaboration feature based on telepathyMarkus Mohrhard1-4/+0
Change-Id: I1f08d6ef43b76e7bae41ac33bb954f506ae7c485 Reviewed-on: https://gerrit.libreoffice.org/36542 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-06-09tdf#94698 cleanup Makefiles. Get rid of udkapi and offapiGleb Mishchenko1-4/+1
This patch changes occurences in makefiles from $(eval $(call gb_CppunitTest_use_api,comphelper_test_config, \ udkapi \ offapi \ )) to $(eval $(call gb_CppunitTest_use_sdk_api,comphelper_test_config)) (corrected instead of abandon, jani) Change-Id: Ic96ec65d82d7452e288f05a8b6d576ef543b068e Reviewed-on: https://gerrit.libreoffice.org/23426 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-04-12Move clew/clew.h into external, tooStephan Bergmann1-2/+2
For consistency with what 38cd1d9a5f00dc69ba0d60e2fe6957090c7a26d1 "clew: move this foreign code to external/clew" did for clew.c. Library_scfilt depends on clew/clew.h, simply make it depend on the full clew external. Change-Id: Idcbf56a69084e108832c8970507ebea0f7ff400b Reviewed-on: https://gerrit.libreoffice.org/24035 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-01-27extract all cond format tests in ucalc to own fileMarkus Mohrhard1-0/+1
Change-Id: Ia4773e81e7d3c23404090f5cf5d9d35038c24cd7 Reviewed-on: https://gerrit.libreoffice.org/21817 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-12-01sc interpreter: Improve the unit test for S/W Interpreter.Jan Holesovsky1-0/+4
Some of the operations are blacklisted for vectorization there, so test both the normal and s/w interpreter case. Change-Id: I6d48831f6bdbbb1e150bea06fc97ea5d6e66365b
2014-12-08Don't treat clew as part of an "external" clcc moduleTor Lillqvist1-1/+2
There is no obvious authoritative upstream for clew anyway, so it causes philosophical problems for distros. For a while, we used to use a zip archive from the "clcc" project on SourceForge that included clew.c and clew.h. (Before that we also just had clew.c and clew.h in our source repo.) So, drop the external/clcc module and have clew.c and clew.h in the source repo again. But this time clew is in a module of its own, not in sc. This re-introduces "No need to have OpenCL optional at configure-time" This reverts commit 764836cb00e8e6dfd2ab48e080a166ec90359e01. Change-Id: I413142f4f9f8399489f9c3e5327132822f07a454 Reviewed-on: https://gerrit.libreoffice.org/13368 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-11-27Work in progress: Move Calc-independend OpenCL configuration out of scTor Lillqvist1-1/+3
Intermediate commit. More changes will follow: The device selection logic needs to be moved, too. (And cleaned up.) Instead of the separate formulacalculationoptions dialog we should simply have a normal options page for those OpenCL-related settings that will remain purely Calc-specific, like the formula opcode subsetting. Change-Id: Id60d95e80d377cbbf5780beb473b221bce06b5e5
2014-11-25Need -lrt for clock_gettime() with older glibc versionsTor Lillqvist1-0/+6
Change-Id: I6ccd990ba71867f0ff96ad06cf5a9e7c98c93657
2014-11-25Move clew into a library of its ownTor Lillqvist1-7/+1
Change-Id: Ifb7e86b078bd549506a9cc1b9ce9fc22fffc5eec
2014-11-10merge vcllo and vclopenglloMarkus Mohrhard1-1/+0
Change-Id: I419ca67dc1f87dd9ac751aa5a094fecf58136edb
2014-10-29Need -ldl on Linux nowTor Lillqvist1-0/+7
Change-Id: I3a207f86611a5078cd2de1437cd48e612232aaf2
2014-09-18Move all sort related unit tests to separate source file.Kohei Yoshida1-0/+1
Change-Id: I26e967e9d9fb361ad0d8988715d0d0fd47e478fe
2014-06-26sort libraries and components in sc test makefilesMarkus Mohrhard1-4/+4
Change-Id: I38cda4e1ba520c9bb15f71b27543cb80fd696424
2014-06-04DeInitVCL at end of testsStephan Bergmann1-0/+1
This required some changes to the framework: * Init-/DeInitVCL is no longer done per individual test in BootstrapFixture, but once per CppunitTest invocation in a new vclbootstrapprotector (similarly to the exisiting unobootstrapprotector). CppunitTests that need VCL now need to declare gb_CppunitTest_use_vcl. * For things to work properly, the UNO component context needs to be disposed from within DeInitVCL (cf. Desktop's Application::DeInit called from DeInitVCL). The easiest solution was to introduce an Application::setDeInitHook (where the hook is called from DeInitVCL) specifically for vclbootstrapprotector to call. * PythonTests don't (yet) call DeInitVCL; they still hook into BootstrapFixture's original test_init functionality (to call InitVCL), and do not make use of the vclbootstrapprotector. Change-Id: I4f3a3c75db30b58c1cd49d81c51db14902ed68b2
2014-05-07Need vclopengl nowTor Lillqvist1-0/+1
Change-Id: I6f0aca371212fc51eefa29e526ccb646bdac70c3
2014-04-18Try making it possible to use --disable-avmedia for desktop platforms tooTor Lillqvist1-1/+1
Unfinished work in progress. Change-Id: I978755d73630b8653b169a53f937c1332799e22e
2014-04-12Unnecessary to mention dependency on icudata as only libicuuc directly uses itTor Lillqvist1-1/+0
libicudata exports a single symbol, icudt52_data (for ICU version 52), and only libicuuc refers to it. Change-Id: Ia04356fda20cf8109156ccd1cbbd9091e70adf27
2014-04-11Enable scaddins for ucalc test session.Kohei Yoshida1-0/+3
This adds several worksheet functions to the list. Change-Id: Ib1a72c4401a4bd5e09ec98dfa1bd6175234005e0
2014-02-03Add test code to exercise ScColumn::HasEditCells().Kohei Yoshida1-0/+1
Change-Id: Ibacf3585a6d15d541a50cb7bb50905d34a7d598b
2014-01-20Related: #i56998# use locale rules to format percentageCaolán McNamara1-0/+1
Change-Id: I4b744cf10165383153d2a71c05df0c0ed327c641
2013-10-18fdo#60698: Move fileaccess module to ucbMarcos Paulo de Souza1-1/+0
Change-Id: I4c688a4aeedcae56ed6404574bd1bb392d4190cb Reviewed-on: https://gerrit.libreoffice.org/6311 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-09-19Remove opencl-sdk configure option, and build time opencl conditionals.Kohei Yoshida1-3/+0
We now load OpenCL library dynmically at run-time as needed. So there is no build time dependency on any OpenCL implementations. Change-Id: I214399060398a7c5e37b9a254147ccc2834e7866
2013-07-24Add separate file for formula related tests.Kohei Yoshida1-0/+1
Change-Id: I805bc77b939ca44950319a9626f176336460e4f9
2013-07-11Move pivot table tests into a separate source file.Kohei Yoshida1-0/+1
Change-Id: Ie32999007bbeaff4076195c68f2537ba0da6148b
2013-07-09fix Windows buildMarkus Mohrhard1-2/+5
Change-Id: I505bb74b64b5c2db432d9f1d2c6754f188f8c314
2013-07-08Split ucalc.cxx into multiple source files.Kohei Yoshida1-0/+1
Change-Id: Ic46dcc8cb415fd3ea9062d477260cb6f120fb815
2013-07-08Create a new library to store shared qa code for sc.Kohei Yoshida1-0/+1
Change-Id: I38aa1461d05e3dee096e69b7cd95e2ddfccc9594
2013-06-24Fix a bug in "find all" search, and a test to catch it in the future.Kohei Yoshida1-0/+1
Change-Id: I296d2dff65da55cc86e10a78eb9c768a924fcddd
2013-06-17OpenCL code cleanupsMichael Meeks1-0/+3
Change-Id: Iab75b11f13856a6e631587e22b5d76977b8c7448
2013-06-16inital work on FILTERXML functionMarkus Mohrhard1-3/+4
Change-Id: Ifb884a52b275df818812f8be6cd7650dcb97849d
2013-06-11Resolves: #i121120 Support RightB(), LeftB(), LenB() and MidB()Wang Lei1-0/+4
Patch by: Zhang Lu Review by: Wang Lei (cherry picked from commit 424079cb8348d77e40f7d3291578bdffbe662f34) Conflicts: formula/inc/formula/compiler.hrc formula/inc/formula/opcode.hxx oox/source/xls/formulabase.cxx sc/inc/helpids.h sc/util/hidother.src sc/util/makefile.mk Change-Id: Ia04aa69aa2764842507b36ba7cc8c99e99a314e9
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks1-24/+4
2013-04-13Get sc to build.Kohei Yoshida1-0/+1
Change-Id: Ia5a73ec2acd3663a35632f268b59c0646cd356ea
2013-04-05new module i18nlangtagEike Rathke1-1/+1
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl1-2/+2
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-14Figured out why testFuncMATCH was failing. Fixed it, all green.Kohei Yoshida1-0/+2
Change-Id: Id45f4c853bf689afa8a46edc02e1e5f8c43894bc
2012-10-04fdo#46808, Adapt task::InteractionHandler UNO service to new styleNoel Grandin1-0/+1
Since we don't need to expose XInitialisation, we can make the new-style service implement XInteractionHandler2. Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558