summaryrefslogtreecommitdiff
path: root/qadevOOo
AgeCommit message (Collapse)AuthorFilesLines
2021-06-04Explicitly set ForceFocusAndToFront to false for unit testsMike Kaganski1-0/+1
It defaults to true on Windows (see officecfg/registry/data/org/openoffice/Office/Common.xcu), and may affect UITests, which are interactive there. Change-Id: Iad51b0a628deced1e90636d07040596a899b53ee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116695 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2021-05-17split OutputDevice from WindowNoel Grandin1-1/+2
as part of a longer-term goal of doing our widget rendering only inside a top-level render- context. I moved all of the OutputDevice-related code that existed in vcl::Window into a new subclass of OutputDevice called WindowOutputDevice. Notes for further work (*) not sure why we are getting an 1x1 surface in SvpSalGraphics::releaseCairoContext, but to fix it I clamp the size there (*) might have to dump VCLXDevice, and move it's code down into VCLXWindow and VCLXVirtualDevice (*) can we remove use of VCLXDevice in other places, in favour of just talking to the VCL code? Change-Id: I105946377f5322677d6f7d0c1c23847178a720b6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113204 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-04-19weld SmEditTextWindowCaolán McNamara1-1/+1
reuse the WeldEditAccessible a11y impl and remove the then unused starmath equivalent. Change-Id: I2dc1e0436ffcd0b295e204c21bfcd365dae08bff Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114044 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-04-07Updated README.md files to represent current code / use Markdown formatHossein1-2/+2
Previously, all of the README files have been renamed to README.md and now, the contents of these files were changed to use Markdown format. Other than format inconsistency, some README.md files lacked information about modules, or were out of date. By using LibreOffice / OpenOffice wiki and other documentation websites, these files were updated. Now every README.md file has a title, and some description. The top-level README.md file is changed to add links to the modules. The result of processing the Markdown format README.md files can be seen at: https://docs.libreoffice.org/ Change-Id: Ic3b0c3c064a2498d6a435253b041df010cd7797a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113424 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-03-24Using .md extension/Markdown syntax for modules READMEHossein1-0/+0
Renaming all README files for all top level modules to README.md, applying no content change at this stage to be able to track history of the files. These files should be edited to use correct Markdown syntax later. Change-Id: I542fa3f3d32072156f16eaad2211a397cc212665 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112977 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2021-03-22cid#1474333 Resource leak on an exceptional pathCaolán McNamara1-4/+11
Change-Id: I84ae0f078fade95f6219b2e949e60fb1d6b60f75 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112877 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-09-26Fix typo in codeAndrea Gelmini1-2/+2
It passed "make check" on Linux Change-Id: I8945fc73085afb6e4cdfe5083f3732191341a1d1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103459 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-09-26Fix typoAndrea Gelmini1-1/+1
It passed "make check" Change-Id: Ifdea79506b69c316869fff4b78e496a090f77c5d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103466 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-09-25remove unused importsNoel Grandin12-17/+0
Change-Id: Ib4a334ad929a410d6a19d1f832b202d61cd29336 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103384 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-09-25remove unused codeNoel Grandin1-68/+0
Change-Id: I131958be81d56730fee2f4939cf3b70489f7f6e4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103385 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-09-18xmloff: remove dead com.sun.star.comp.Draw.XMLSettingsExporterMiklos Vajna1-2/+2
And test com.sun.star.comp.Draw.XMLOasisSettingsExporter instead in JunitTest_xmloff_unoapi. Note that the test code is also dead at the moment, because xmloff/qa/unoapi/xmloff.sce disables the xmloff.Draw.XMLSettingsExporter line, but let's not regress even more in that code. Change-Id: I2152f32fd798b7a7df7086b125e77fe804185157 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102973 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-09-11xmloff: remove dead com.sun.star.comp.Draw.XMLContentExporterMiklos Vajna1-3/+3
And test com.sun.star.comp.Draw.XMLOasisContentExporter instead in JunitTest_xmloff_unoapi. Change-Id: I22bf816d08bcd04b277e461a5055883b730811b4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102401 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-09-04xmloff: remove dead com.sun.star.comp.Draw.XMLStylesExporterMiklos Vajna1-3/+3
And test com.sun.star.comp.Draw.XMLOasisSettingsExporter instead in JunitTest_xmloff_unoapi. Note that the test code is also dead at the moment, because xmloff/qa/unoapi/xmloff.sce disables the xmloff.Draw.XMLSettingsExporter line, but let's not regress even more in that code. Change-Id: I04eb38aad193dfbfde5df42f3e367aa47dfd12ab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102019 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-08-30Fix typo in codeAndrea Gelmini1-4/+4
It passed "make check" on Linux Change-Id: Id837205b0e6a7efa091a5b9ead75d767ceddcefa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101598 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-08-30Fix typosAndrea Gelmini2-2/+2
Change-Id: I041e65166eab9fc497742635fe59e11f63d55c6d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101645 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-30Fix typo in codeAndrea Gelmini2-4/+4
Change-Id: I84b15806a01b7a7ce6c10274ee066b4256a2e7c8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101648 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-23Fix typo in codeAndrea Gelmini1-4/+4
Change-Id: I9a81d265a99aee896a71c14e3a3ee6ba863b4d5d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101199 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-08-21Fix typo in codeAndrea Gelmini1-1/+1
Change-Id: I88f0562699c99730c29e269845d5b5e5e31953a4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101121 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-08-21Fix typosAndrea Gelmini3-3/+3
Change-Id: I8dc0cdcfe6bd90efc596df28e6c6d968b92618b5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101098 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
2020-08-21Fix typo in codeAndrea Gelmini1-1/+1
Change-Id: I6e3b4ca90b88e192e8fde29c578d29fdd42093f8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101122 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-08-21Fix typo in codeAndrea Gelmini1-1/+1
Change-Id: I9762e33948af64067f25add657f4a64cd19bd467 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101120 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-08-16Fix typo "damke" and reworked sentenceAndrea Gelmini1-3/+2
Removed duplicated part and fixed present continuous Change-Id: I52dd2e141115c130f9a753b1e1aeba2cc2711ede Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100776 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-14xmloff: remove dead com.sun.star.comp.Draw.XMLMetaExporterMiklos Vajna1-3/+3
And test com.sun.star.comp.Draw.XMLOasisMetaExporter instead in JunitTest_xmloff_unoapi. Change-Id: I1cd485378097b094e6773a7c37798b9aadf3070f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100687 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-08-07xmloff: remove dead com.sun.star.comp.Impress.XMLSettingsExporterMiklos Vajna1-3/+3
And test com.sun.star.comp.Impress.XMLOasisSettingsExporter instead in JunitTest_xmloff_unoapi. Note that the test code is also dead at the moment, because xmloff/qa/unoapi/xmloff.sce disables the xmloff.Impress.XMLSettingsExporter line, but let's not regress even more in that code. Change-Id: Ibca21fddc051253adef40df6f1da584c23b4423d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100269 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-07-24xmloff: remove dead com.sun.star.comp.Impress.XMLContentExporterMiklos Vajna1-3/+3
And test com.sun.star.comp.Impress.XMLOasisContentExporter instead in JunitTest_xmloff_unoapi. Note that the test code is also dead at the moment, because xmloff/qa/unoapi/xmloff.sce disables the xmloff.Impress.XMLContentExporter line, but let's not regress even more in that code. Change-Id: I5bbffaf512ea803c9265050cbe587f2e9743f09b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99336 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-07-17xmloff: remove dead com.sun.star.comp.Impress.XMLStylesExporterMiklos Vajna1-3/+3
And test com.sun.star.comp.Impress.XMLOasisStylesExporter instead in JunitTest_xmloff_unoapi. Note that the test code is also dead at the moment, because xmloff/qa/unoapi/xmloff.sce disables the xmloff.Impress.XMLStylesExporter line, but let's not regress even more in that code. Change-Id: I7912ce45421b9a2d5209696c6ec4074b15111f86 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98930 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-06-26xmloff: remove dead com.sun.star.comp.Impress.XMLMetaExporterMiklos Vajna1-3/+3
And test com.sun.star.comp.Impress.XMLOasisMetaExporter instead in JunitTest_xmloff_unoapi. Change-Id: Iec2da56b569c283686de1bd4aad5fb7ebebfbc2f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97183 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-05-06Move all public Java classes to libreoffice.jarSamuel Mehrbrodt2-5/+3
This moves the classes from juh.jar and ridl.jar to libreoffice.jar The goal is to have one single jar (and Java module, will be added later) which developers can include to work with LO. juh.jar and ridl.jar are kept as basically empty jars with libreoffice.jar on its classpath to keep backwards compatibility. This is a continuation of ae855bf48163ff64d94cfc34aff8e37abdb5518d and a preparation to have Java 9 module support. Change-Id: Ifbbfb97f60373d14256e62ae3122913bd17d5bbb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91930 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-04-22Fix typosAndrea Gelmini2-2/+2
Change-Id: I49d7dc8a2cbcba5413d05d97559321e672ed413a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92655 Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2020-04-09Force UITests to use internal Open/Save dialogsStephan Bergmann1-0/+1
At least on Windows, UITest_writer_tests UITEST_TEST_NAME=compareDocuments.compareDocuments.test_tdf130960 would otherwise open a system file-open dialog for "Compare to", which execute_dialog_through_command could apparently not handle. (The setting is changed for all tests that use qadevOOo/qa/registrymodifications.xcu, not just UITests, but that appears to have no negative consequences.) Change-Id: I004d139595c8ef04fc94fdac855a44c7c393def3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91960 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-03-10Fix typoAndrea Gelmini1-1/+1
Change-Id: I7742e947c4657bed5484b939f4a0972155081ff1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90288 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-02-27tdf#45904 Move XNameContainer Java tests to C++Jens Carl3-159/+0
Move missing XNameContainer Java tests to C++ for ScTableSheetsObj. Change-Id: I63a91487ab2e50b97c937edae929c43261553db9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89614 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2020-02-27tdf#45904 Move XElementAccess Java tests to C++Jens Carl1-2/+0
Move XElementAccess Java tests to C++ for ScTableSheetsObj. Change-Id: Ibc9d7e164e82387159a51568157c1d3b0756bf05 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89610 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2020-02-27tdf#45904 Move XIndexAccess Java tests to C++Jens Carl1-2/+0
Move XIndexAccess Java tests to C++ for ScTableSheetsObj. Change-Id: Idb130a51dc024cebbbc739d15c767f99558a69b7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89609 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2020-02-26tdf#45904 Move XNameReplace Java test to C++Jens Carl1-1/+0
Move XNameReplace Java test to C++ for ScTableSheetsObj. Fixes i#23594 by creating a new "com.sun.star.sheet.Spreadsheet" rather then using an existing one. Change-Id: If7058647cc5d79d11e5542a82017d5bd02f7049e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89493 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2020-02-26tdf#45904 Move XNameAccess Java tests to C++Jens Carl1-3/+0
Move XNameAccess Java tests to C++ for ScTableSheetsObj. Change-Id: I5fdaafe35852ea3c6e260d490200ce99e990c3b6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89408 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2020-02-17Fix typoAndrea Gelmini1-2/+2
Change-Id: I74b65394367a11a07d104bfbab6afbfe49919b3c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88336 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-02-09Fix typoAndrea Gelmini1-1/+1
Change-Id: I0e9155804a79e0eb97b86f4cfe930e4a0185dd61 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88337 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-02-09Fix typoAndrea Gelmini1-1/+1
Change-Id: I0a56f044b24158e2b44bb3550a97ea6bc21d3feb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88317 Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-02-06cid#1458159 Dereference after null checkCaolán McNamara1-2/+4
Change-Id: I5ec0f9571f3b551e716899cc86a57c2c91369641 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88083 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-06cid#1458158 Dereference before null checkCaolán McNamara1-1/+1
Change-Id: I6fbcbce28cbd472a48556ba107e604a09c8cbe30 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88081 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-06cid#1458157 Dereference before null checkCaolán McNamara1-1/+1
Change-Id: I36317f40a789cfb5915bd92cca75c01e4e53a782 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88082 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-02-04tdf#117331 Merge jurt and unoil into ridlSamuel Mehrbrodt2-5/+0
jurt.jar and unoil.jar are kept as effectively empty jars, each with a Class-Path: ridl.jar in their meta-inf/manifest.mf, so that 3rd-party code loading them (with or without also loading ridl.jar) will still have access to their content. Conceptually, the UNOIDL entities in unoil.jar (corresponding to module offapi) are not part of the URE, but are now made available by URE's ridl.jar. This should probably not cause problems in practice. At least for now, we seal exactly those packages in ridl.jar that were originally sealed in jurt.jar. Ideally, all of ridl.jar could be sealed now, but that would be mildly incompatible, as it would prevent 3rd-party code from introducing additional UNOIDL entities in the relevant namespaces (even if that is something we do not want 3rd-party code to do anyway). However, some JunitTest_jurt_* define classes in those sealed packages. In the past they got away with that by using gb_JunitTest_use_jar_classset,*,jurt. Instead they now need to gb_JunitTest_use_jar_classset,*,ridl and drop the gb_JunitTest_use_jar,*,ridl. But the former only makes available the classes that are specified in ridljar/Jar_ridl.mk with gb_Jar_add_sourcefiles, not the UNOIDL entities specified via gb_Jar_add_packagedirs. But the tests need the udkapi UNOIDL entities, so introduce gb_JunitTest_add_classpath to let the tests get them explicitly. (Curiously, JunitTest_jurt_uno and JnitTest_jurt_util use gb_JunitTest_use_jar_classset,*,jurt but don't seem to acutally need it; lets leave that for a follow-up clean up.) As a follow-up clean up, relevant files could be moved from jurt/ to ridljar/. Change-Id: I836f4e7bb47fb41f1306e3f223da90dba988eb9a Co-authored-by: Stephan Bergmann <sbergman@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/84946 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-12-19Fix typoAndrea Gelmini1-1/+1
Change-Id: Ic6ec67b7a13506c6242b2863360b065724844c5a Reviewed-on: https://gerrit.libreoffice.org/85520 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-12-05Fix typoAndrea Gelmini1-2/+2
Change-Id: Ibd0595eafc364b6e7ebc9a90e7c4a79d8a15d9d8 Reviewed-on: https://gerrit.libreoffice.org/84487 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-11-17Fix typoAndrea Gelmini1-1/+1
Change-Id: I59877df3c75d8423ae81a7d877b3144e65526253 Reviewed-on: https://gerrit.libreoffice.org/83007 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-11-16cid#1448447 silence RV: Bad use of return valueCaolán McNamara1-1/+2
Change-Id: If24d5fffb4ecf86fa6a43d824b5e40fcef29a691 Reviewed-on: https://gerrit.libreoffice.org/82995 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-10-27tdf#45904 Move XPropertySet Java tests to C++Jens Carl1-7/+0
Move XPropertySet Java tests to C++ for ScStyleObj. Change-Id: Ic4f2d69d0b569de9fe99c8af41370b0699f2ab1b Reviewed-on: https://gerrit.libreoffice.org/81556 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-10-27tdf#45904 Move XNamed Java tests to C++Jens Carl1-2/+0
Move XNamed Java tests to C++ for ScStyleObj. Change-Id: Idaff7307d15ca2665005e866dff36a033aa91354 Reviewed-on: https://gerrit.libreoffice.org/81553 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>
2019-10-23tdf#45904 Move XTextRange Java test to C++Jens Carl1-5/+0
Move XTextRange Java test to C++ for ScAnnotationShapeObj. Change-Id: If280b4e621fedd1023457ff626c6db8ef9a9f7ad Reviewed-on: https://gerrit.libreoffice.org/81295 Tested-by: Jenkins Reviewed-by: Jens Carl <j.carl43@gmx.de>