summaryrefslogtreecommitdiff
path: root/sw/Module_sw.mk
AgeCommit message (Collapse)Author
2015-04-27CppunitTest_sw_ooxmlsdrexport: split into two partsMiklos Vajna
Change-Id: I8af572c43542c384718c8f9c75749d2f3cb35cac
2015-03-24Executable_tiledrendering is obsolete and can be killedTor Lillqvist
Change-Id: I4159adb321a939126a0577a48e5917be5825557e
2015-03-16Add testcase for SwXTextDocument::resetSelection().Miklos Vajna
Change-Id: Idc97ebfe3db27ac52c1c6b16177f08118a750e69
2015-02-21Disable more tests with _use_library_objects for mergelibsMatúš Kukan
Change-Id: Iad803091864fb1a1a974df7c8eea6dba566d186c
2015-02-07Fixup --without-x buildRiccardo Magliocchetti
Accept gl linkage in hope of future offscreen mesa support. Avoid linking with GLX though. Change-Id: I4e666f60e74fe34075a8da9eeba95807cf8fe38c Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/13452 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-12-10fdo#80403: Writer specific AutoCorr use FastParserDaniel Sikeler
Contextclasses implement XFastContextHandler Importclasses implement XFastDocumentHandler Tokens for BlockList.xml are defined in BlockListTokens.txt Tokens for content.xml are defined in TextBlockTokens.txt A perfect hash table is generated with gperf and used by the tokenhandlers This is corrected version of c1e90457d2ecc6e1171b7a296ab8bd05821e39e6 (Also pushing again follow-up c940d4d30673dc02ea34b5e60a4a8140648a0dba "loplugin:saloverride" and 5f0f3d4e91e9eb1d1f60b0cd073e7bbd8ea38c29 "Work around -Werror,-Wdeprecated-register") The commits were reverted in 7ef4457b9fc06b5c25c607d7e0149f45c7015b10 Change-Id: I08cd852fa751f98fd0ac6a55dda22f82a869b4d8
2014-12-05Revert "fdo#80403: Writer specific AutoCorr use FastParser"Stephan Bergmann
This reverts commit c1e90457d2ecc6e1171b7a296ab8bd05821e39e6 (plus follow-up c940d4d30673dc02ea34b5e60a4a8140648a0dba "loplugin:saloverride" and 5f0f3d4e91e9eb1d1f60b0cd073e7bbd8ea38c29 "Work around -Werror,-Wdeprecated-register"), it broke JunitTest_sw_unoapi. Change-Id: I21499f8a7810eef637bb51a30380ae60b3d915cd
2014-12-04fdo#80403: Writer specific AutoCorr use FastParserDaniel Sikeler
Contextclasses implement XFastContextHandler Importclasses implement XFastDocumentHandler Tokens for BlockList.xml are defined in BlockListTokens.txt Tokens for content.xml are defined in TextBlockTokens.txt A perfect hash table is generated with gperf and used by the tokenhandlers Change-Id: Iff8ad5f1a4df0b808ee6fdf13f75a821596e9ee9 Reviewed-on: https://gerrit.libreoffice.org/12386 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-11-07Test for swapped out image loss during Writer exportZolnai Tamás
Related to the bug fdo#52226. The fix in *.rtf and *.docx export was this commit: 9dd5caac62083f7162d83319284df68ee83e3777 The problem was that the images were somehow swapped out but were not swapped in during export. Test the main Writer formats: ODT, RTF, DOC, DOCX.
2014-11-03drop SW_DLLPUBLICs for unit-test only exposureCaolán McNamara
seeing as have a uwriter target for the non-exposed symbols case. As a motivating side-effect stops crashing on exit on an optimized build with my x86_64 fedora 20 gcc 4.8.3 build Change-Id: If0240ee02d4899e488b12d2d8d5f9b6bf7cca37d
2014-10-22Replace DISABLE_SCRIPTING with HAVE_FEATURE_SCRIPTINGTor Lillqvist
Feature test macros that govern conditional compilation should be defined in config_*.h include files, not on the compilation command line. Change-Id: I40575a4762fd2564f10927b6f38a112dd9f9a3d7
2014-10-01MM: first unit test and infrastructureJan-Marek Glogowski
Extendes SwModelTestBase with mail merge functions and a declaration of the DECLARE_MAILMERGE_TEST macro and uses it in a first test. As most tests it's registered as a slow test run by 'make check'. The broken MM used to drop the leading empty pages, which resulted in a document with 4 pages and the two page bound draws merged per single page. Tests the MM result for page count (eight) and each draw anchor to be on a different page. Change-Id: Iab17f5844e68221d48cb89863323bcfe4c8ae0d2
2014-09-17sw: html import test: local images shouldn't be file links (bnc#580834)Matúš Kukan
Change-Id: Id35e03a3f814609e40e4beea778e66cce39054d1
2014-08-28Revert "sw: _one_ unit test with use_library_objects sw ought to be enough"Michael Stahl
This reverts commit d2a4e7c7f70a0ff0769ed228320833fa6b29bff9. We now export SwGlobals::ensure for another test, so no need to use sw objects in this one...
2014-08-21sw: _one_ unit test with use_library_objects sw ought to be enoughMichael Stahl
Linking those things takes a lot of RAM. Change-Id: I4db9ee3f07f97601d526ab3f905ecadbf4c552ca
2014-08-19split CppunitTest_sw_ooxmlexport into several testsLuboš Luňák
In order to allow running them in parallel. There are already enough tests to make it run for a couple of minutes and it's annoying to see only once core busy with it. I intentionally left the original file at the same name, without 1 appended, in order to avoid merge problems. Change-Id: I097c45c34797cc68f5d1790cf31eefc96fbaf44e
2014-07-17extract CppunitTest_sw_ooxmlfieldexport from CppunitTest_sw_ooxmlimportMiklos Vajna
before: $ time make -sr CppunitTest_sw_ooxmlexport real 4m5.728s after: $ time make -sr CppunitTest_sw_ooxmlexport real 3m24.446s and the new CppunitTest_sw_ooxmlfieldexport can run in parallel. Change-Id: I5a1d121f51e2d09a1c2126a33484e956c5c706a8
2014-06-05Unittest the whitespace stripping logic for tox text generationTobias Lippert
The separate class allows to unittest this functionality in isoloation. Change-Id: I1e5eddfb455ca85a662ea38c03302883decc5d58 Reviewed-on: https://gerrit.libreoffice.org/9608 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-05-06sw: make CppunitTest_sw_uwriter a slowcheckMiklos Vajna
It's annoying that after touching a cxx file from Library_sw, it's not enough to wait till it relinks, it also relinks CppunitTest_sw_uwriter as well. So turn that one into a slowcheck, this way 'make sw' doesn't relink it. Change-Id: I0a8d956f57e92a9c6f1f91b727f492ca4c92c599
2014-03-11ooxml round-trip tests: Move w14 tests to its own test suite.Tomaž Vajngerl
Change-Id: I42c7cd0aef3f9811440e70d8ea2c31432e1d32ff
2014-02-26CppunitTest_sw_ooxmlexport: factor out drawing-related testcasesMiklos Vajna
As a start, moved 30 asserts to the new suite, still 378 is in the original one. Change-Id: I934bce63e286af3080ae014c3bd8f4f09866feb2
2014-02-19Avoid app specific CreateDialogFactory code for non-DESKTOP.Matúš Kukan
As happened in 7e9ac5952711400ad856b3328c5cc00c05cec6f2 for cui library. Change-Id: If51201eb452d4b84729b37949fb9b949020b47b8
2013-12-16uiconfig is a l10n-relevant targetBjoern Michaelsen
Change-Id: I8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06
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-10-28sw: make the uiwriter testcase a slowcheckMiklos Vajna
The uiwriter test is similar to filter tests, except that the asserts are filter-independent. Those are slowchecks already, move this one there as well. This speeds up 'make sw' a bit, which is slow enough already. Change-Id: I566bf94938c3de6267705a7720bf093bfe4ef7c7
2013-10-22added the tiledrendering ui from gladePtyl Dragon
Change-Id: I8c32f5f3e09d2dc6214a76cd15a0b3adba62824e
2013-10-21Tiled rendering: This is a desktop test app.Jan Holesovsky
Change-Id: I022ca7c6bc7a9efd874bd04eaf78836afcee21c6
2013-10-21Tiled rendering: VCL test app skeleton.Jan Holesovsky
Change-Id: I465dcadf14935bce4f610376b41b9a66963e2cf8
2013-10-13Introduce unit test in replace functionnality in WriterArnaud Versini
Change-Id: I5ee33965a511c7730610377a2e41f4728a0fe4d2 Reviewed-on: https://gerrit.libreoffice.org/6184 Tested-by: Arnaud Versini <arnaud.versini@libreoffice.org> Reviewed-by: Arnaud Versini <arnaud.versini@libreoffice.org>
2013-09-22make the PythonTest run on WNTMichael Stahl
- fix the PATH - file url needs to start with file:///X:/ (three slashes, literal :) Change-Id: I0d16d1e946fd06ba5523961c23c3b46872c0c050
2013-06-19fdo#64238: fix for missing footer bugAdam Co
Signed-off-by: Miklos Vajna <vmiklos@suse.cz> Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Change-Id: I328547c41bfc1a23f7e6233db57fbfa415e22cb3 Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
2013-06-18.mk files should not be executableMiklos Vajna
Change-Id: I390df82ebaa0b0e715e0cdfd8d39febe4f217d96
2013-06-18disable test that ends throwing std::bad_allocDavid Tardon
... after eating >11 GiB of memory. Change-Id: I6202fa7e410c9b397c465cb1c185305aeee509e1
2013-06-17PythonTest still does not work on WindowsStephan Bergmann
Change-Id: I79e352efeb1ed3fe8dab53bfb31362ac2ce11b06
2013-06-16Another try to fix python unit test on MSVCDavid Ostrovsky
Change-Id: I66734830ef228b6928b24194f278632fa9f2c70c
2013-04-30fdo#62336 - unit test for conversion failure.Michael Meeks
Turns out this depends on not doing layout, and so is a real corner-case. Change-Id: If9d2db6b1a0df94fc809fb353f2dbf2cf9ac1c9a
2013-04-22clean up PythonTestsDavid Ostrovsky
Conflicts: sw/PythonTest_sw_python.mk Change-Id: I8dc937df02efb686bf19d6606b9b42b6f0abf742
2013-04-20disable PythonTest on WNT for nowMichael Stahl
There is a problem that needs fixing first, in order to be able to load the test.dll the OUTDIR/bin needs to be on PATH but starting the dev-install's python.exe with that then results in 2 instances of tklo.dll loaded, which fails horribly. Hopefully this will get easier once more stuff (python and libraries) is moved to INSTDIR. Change-Id: Ib615baac48e5e863b0b49a2de6c2985100ce3ae7
2013-04-19run PythonTests with internal python tooMichael Stahl
... and use PYTHON_FOR_BUILD in the system python case. Change-Id: If3c3305ab4f613642bea9b775e4c7a602f5a476c TODO: needs testing on more platforms Reviewed-on: https://gerrit.libreoffice.org/3471 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
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-04-09set up python unit test infrastructureDavid Ostrovsky
Extract boostraping code from convwatch.py to unotest.py. Use python builtin unittest module as unit test framework. Specify the unit test modules in make file. Another option would be to use discover mode of unittest module. Add __pycache__ to global .gitignore to keep the source directory clean. Another option would be to deliver the unit tests to workdir prior to test execution. Currently only system python3 is supported. Change-Id: I2692817673f786e950e1176a17c7675f989755b6 Reviewed-on: https://gerrit.libreoffice.org/3214 Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de> Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-03-18sw: rename odf/ooxml/rtf/ww8 filter testsMiklos Vajna
The subsequent part of their name was misleading, as they are slowchecks, not subsequentchecks anymore. Change-Id: I2e5c1506d88b017e563adee9134905dc2b4e7d68
2013-02-03sw: sw_swdoc_test -> sw_uwriterMiklos Vajna
To be consistent to sc_ucalc and sd_uimpress. Change-Id: Id6b09bacdf19fb7c524f11352ba81cd630535a74
2012-12-05restore swdoc testCaolán McNamara
4b586bd622c94e617075f4e176087584ae5fe47d (presumably accidentally) removed it Change-Id: I7c9ce15f5393a31bdc33aad8edc91375859501c1
2012-12-05correctly parse range in cond format dlgMarkus Mohrhard
Change-Id: I92d19cd71f7f1c9e90b2d3039a5c3c6a0143d1c7
2012-12-03convert outline numbering numbering tab over fullyCaolán McNamara
Change-Id: I8ff97ad9ecc6367d98dc31829f82d074f99f5934
2012-11-30re-base on ALv2 code. Includes:Michael Meeks
Patches contributed by Oliver-Rainer Wittmann sw34bf06: #i117783# - Writer's implementation of XPagePrintable - apply print settings to new printing routines http://svn.apache.org/viewvc?view=revision&revision=1172115 sw34bf06: #o12311627# use <rtl_random> methods to create unique ids for list styles and list ids http://svn.apache.org/viewvc?view=revision&revision=1172112 sw34bf06 #i114725#,#i115828# - method <SwDoc::ClearDoc()> - clear list structures completely http://svn.apache.org/viewvc?view=revision&revision=1172122 i#118572 - remove ui string and help content regarding usage of Java Mail in Writer's Mail Merge as Java Mail is not used. http://svn.apache.org/viewvc?view=revision&revision=1197035 Patches contributed by Mathias Bauer cws mba34issues01: #i117718#: provide filter name in case storage of medium does not allow to detect one http://svn.apache.org/viewvc?view=revision&revision=1172350 cws mba34issues01: #i117721#: directly provide parameters retrieved from SfxMedium http://svn.apache.org/viewvc?view=revision&revision=1172353 gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1397315 cws mba34issues01: #i117723#: convert assertion into trace http://svn.apache.org/viewvc?view=revision&revision=1172355 cws mba34issues01: #i117699#: keep layout alive until swdoc dies http://svn.apache.org/viewvc?view=revision&revision=1172362 cws mba34issues01: #i117943#: missing color attributes in RTF clipboard http://svn.apache.org/viewvc?view=revision&revision=1172363 Patch contributed by Henning Brinkmann imported patch i#103878 http://svn.apache.org/viewvc?view=revision&revision=1172109 Patches contributed by Michael Stahl sw34bf06: #i117955#: WW8 export: disable storing of section breaks in endnotes http://svn.apache.org/viewvc?view=revision&revision=1172119 Patch contributed by imacat Fixed the Asian language work count. http://svn.apache.org/viewvc?view=revision&revision=1241345 Patch contributed by Pedro Giffuni i#20878 - Add comment with BZ issue for reference. http://svn.apache.org/viewvc?view=revision&revision=1244517 Patch contributed by Andre Fischer Do not add targets for junit tests when junit is disabled. http://svn.apache.org/viewvc?view=revision&revision=1241508 add writerperfect dependency.
2012-09-28use UI gbuild class to package .ui files in swDavid Tardon
Change-Id: I3c6a8d3cbd9fad20506c1deb34d7a65c4fa76bc6
2012-09-20introduce new option --disable-cve-testsDavid Ostrovsky
Change-Id: I288638c4a70396ccb7354b20e901aa0c46ffe442 Reviewed-on: https://gerrit.libreoffice.org/653 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>