summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-08-18screenshots: add dialog test cases for svtoolsArmin Le Grand4-0/+266
All *.ui files create a screenshot, but not all look useful Change-Id: I7a7a6c3ab38e8890404082dd359ff5f4f1ebf9fd
2016-08-18screenshots: add dialog test cases for starmathArmin Le Grand4-0/+267
All *.ui files create a screenshot, but not all look useful Change-Id: Iee511be3b1a94e036b289e55d77f690e10627706
2016-08-18screenshots: add dialog test cases for sfx2Armin Le Grand4-0/+292
All *.ui files create a screenshot, but not all look useful Change-Id: I2bf5165828daed91a7e09205e6b329f0c844c3fc
2016-08-18screenshots: add dialog test cases for reportdesignArmin Le Grand4-0/+272
One patterned dialog does not work what means all based on this one do not work, need to be instantiated for real probably... Change-Id: I8d82e0dbf937bb4c052486da21ada58afe7f5a08
2016-08-18screenshots: add dialog test cases for fpickerArmin Le Grand4-0/+255
Change-Id: I6c94ff393e823552ea9c2332bd05abf5b2fafd54
2016-08-18screenshots: add dialog test cases for formulaArmin Le Grand4-0/+255
Change-Id: I2fb495dd8603b00127504240e4bec16726c2153f
2016-08-18screenshots: add dialog test cases for filterArmin Le Grand4-0/+270
All *.ui files create a screenshot, but not all look useful Change-Id: Idd684f1fee55eebb58b4b56a2681cd4058be2880
2016-08-18screenshots: add dialog test cases for desktopArmin Le Grand4-0/+266
Only one dialog had to be disabled, some others look not very useful Change-Id: I2f8e786c0bb94259c5d03e7a72cc1d6ed9bbc066
2016-08-18screenshots: add dialog test cases for basctlArmin Le Grand4-0/+268
All *.ui files create a screenshot, but not all look useful Change-Id: I79be2811df628286e5af058a5a8e0232ddf6a2f7
2016-08-18screenshots: add dialog test cases for dbaccessArmin Le Grand4-0/+323
One dialog makes the execution hang, seems to wait for some interaction Change-Id: I68ef4f9b2a1575a6c70238f82eb27ee87aaae336
2016-08-18screenshots: add dialog test cases for chart2Armin Le Grand5-1/+293
All *.ui files create a screenshot, but not all look useful Change-Id: I90d977ae84a65e9576ba9cc9b178407997e4ba79
2016-08-18screenshots: add dialog test cases for cuiArmin Le Grand6-44/+492
Only one dialog had to be disabled, some others look not very useful Change-Id: Icbf46365e1824ea320ce721b8c783883336e9278
2016-08-18screenshots: add dialog test cases for svxArmin Le Grand8-354/+634
All *.ui files create a screenshot, but not all look useful Change-Id: I5aeec438b90488ea19cdb1251fee7dcf23e1c2cb
2016-08-18screenshots: add dialog test cases for writerArmin Le Grand9-7/+479
Writer has currently no known dialogs that get created with an opened writer document. There are some ui files that do not work with fallback (7), but most work (167). Not all look good, though. Change-Id: I92a6a5077e3a8c93148e162455093399ba1f99ed
2016-08-18screenshots: fix fallback cases for sd and scArmin Le Grand3-19/+29
Change-Id: I27dab5552e3924df30c8b09c46994b2d645bcde9
2016-08-18screenshots: fallback screenshot to ui filesArmin Le Grand7-161/+500
Besides the already existing methods to dump adapted dialogs and create and dump fallback dialogs I added a possibility to process a given input file which may contain a list of UXMLDescription files (*.ui files), one per line. This file is processed (empty lines and comment lines using '#' allowed) and for each descriptor first tries to find a known, adapted dialog. If found it gets used, else fallback is tried. Added ui-definition files for sd and sc which contain all ui-files from these dialogs. Adapted the test base class to hold the needed functionality. Change-Id: I1d4c64af8cd5d9c89a53b193951c3e49669f5852
2016-08-18screenshots: Use UI string and fallback for UI-String onlyArmin Le Grand4-101/+283
Two changes in this commit: The Dialogs to be dumped are identified in their test files using their UXMLDescription to allow later to 'find' the known dialogs and use the specialized construction for these. Also added a fallback to construct a vcl Dialog based on only the UXMLDescription and the VclBuilder. This will be constructed without any active initialization/layouting, so should only be used for unknown Dialogs. Also added a dumpDialogToPath version to the tooling that can work directly with a vcl Dialog instead of a VclAbstractDialog. Change-Id: I90abb6f59c2fcc5d534907ae7e4b9a15edc2d694
2016-08-18screenshots: use new bootstrap fixture in sc and sdKatarina Behrens4-196/+10
Change-Id: Ida0d3179726896b32b0876b1855b1f0be12d3b48
2016-08-18screenshots: move shared code to separate classKatarina Behrens3-0/+142
Change-Id: I1760de221bc53d345c2bbfb4fe878c120073ea45
2016-08-18screenshots: this is really unusedKatarina Behrens1-2/+0
Change-Id: Iaaf171f7b91476be0f2d668402e6f309b81d53c3
2016-08-18screenshots: use smart pointersKatarina Behrens1-22/+12
Change-Id: I7b3780aecc7807e5905865f8d7eca816993ab148
2016-08-18screenshots: gen screenshots during 'make slowcheck'Katarina Behrens2-0/+5
Change-Id: I666dfcb451367f5ac9f36207703cf090c1846b35
2016-08-18screenshots: don't leak windowsKatarina Behrens1-1/+1
Change-Id: If39441d6419556d1ae7637626b17b81357d29c38
2016-08-18screenshots: support creating shots of tab dialogsKatarina Behrens1-2/+44
try that with ScAttrDlg first Change-Id: Id84f5940ca3de9788446f2e513fa3991f31a2d5a
2016-08-18screenshots: sc dialog factory ifc for tab dialogsKatarina Behrens1-0/+10
Change-Id: Ia1f67a161cfadbf2b71d3647c50e1c0a4b24ae8d
2016-08-18screenshots: don't crash on opening csv import dlgKatarina Behrens1-8/+11
Change-Id: I1ff56d79f7ff31317187cf077380481f1ef44366
2016-08-18screenshots: dialog doesn't even have a help buttonKatarina Behrens7-15/+8
So drop helpID argument from its ctor (not to mention the fact that a help text with ID .uno:TabBgColor doesn't exist either) Change-Id: I0624f0474334cc799d67f7f292e11194de5195fa
2016-08-18screenshots: actually save screenshots for scKatarina Behrens1-119/+188
Change-Id: If563f5b0fd5b28589bfbe4cf91061951acd14ebf
2016-08-18screenshots: interface for sc dialog factoryKatarina Behrens1-1/+11
Change-Id: Ibe0f8ec2714002b2dc84ef0c0bb8cb845e906aab
2016-08-18screenshots: open more sc modal dialogs, part 2Katarina Behrens3-2/+32
Change-Id: Ia5a1bbc00acff10405aa5205b9fd5a930deb5fc9
2016-08-18screenshots: rPath argument is now unusedKatarina Behrens1-3/+3
Change-Id: Icd3c66b83419f25b198937b05ede9b22f1344726
2016-08-18screenshots: modify tab dialog screenshot id a bitKatarina Behrens1-1/+1
Use only ID of the current page. Change-Id: I27ef4d2112a047379cec6bc221ba403f1a0371e4
2016-08-18screenshots: names to copy screenshot IDsKatarina Behrens3-20/+44
For tab dialogs. While at it, factor out file-saving code into a separate function. Change-Id: Ideffc9934c0d562fe365d0bb1942f31056d4a486
2016-08-18screenshots: write created screenshots into workdirKatarina Behrens1-16/+14
Use osl file abstractions for that Change-Id: I876ca61e1d42b29f7c592b2778d8847b15513b98
2016-08-18screenshots: open more sc modal dialogsKatarina Behrens1-0/+39
Change-Id: Ie0d0bcea3409f99cce0b9dccd4f316d1da3c0d84
2016-08-18screenshots: kill work-around for pseudo-headless modeKatarina Behrens3-10/+2
Start test with use_vcl_non_headless_with_windows instead Change-Id: Id6ff9c6f15ec927e1cbe2c599c526857982a76d2
2016-08-18screenshots: opening some sc dialogs from cppunitKatarina Behrens3-0/+236
Change-Id: I4e56f0264ada77e24f5d71fa9eaf48e5eedaaae8
2016-08-18screenshots: unset VCL_HIDE_WINDOWSKatarina Behrens1-1/+10
Those screenshot cppunit tests need to run in non-headless mode with dialog windows exposed (i.e. VCL_HIDE_WINDOWS must not be set) To preserve the current behaviour (VCL_HIDE_WINDOWS is set always on Win and Mac, and in use_vcl_non_headless case on Linux), introduce 2 new variables: gb_CppunitTest_show_windows: unset VCL_HIDE_WINDOWS unconditionally gb_CppunitTest_hide_windows: set VCL_HIDE_WINDOWS=1 if HEADLESS is empty (i.e. let's not use emptiness of HEADLESS as an indicator, as it is empty in 2 mutually exclusive cases) Change-Id: Ib2f7a9cfb1202944d10856c44b6ac7c41156b333
2016-08-18screenshots: exclude sd tests for the whileKatarina Behrens1-1/+0
Change-Id: Ia5fc46f5030285049acf4836ba4cbd6285cbe5ae
2016-08-18screenshots: add missing cppunit filesKatarina Behrens3-2/+766
Change-Id: I9fd716671c7d1dc568d14b914c9a802fc6239a5e
2016-08-18screenshots: added support for minimal Screenshot ifcArmin Le Grand3-0/+100
For simple TabDialogs with minimal interface. That works, but found out that for SD it's using a TabDialog with two TabPages with the same *.ui file. To avoid problems for now, adapted to use PageIDs again, marked in the code as to-be-changed. Change-Id: I30af6367f4d3c1e9097b1fe3d2b230ab4eab5ed7
2016-08-18screenshots: added pretty much all sd dialogsArmin Le Grand1-1/+1
Windows version works well. Linux needs some adaptions, working on it. Also need to take a look at tpure TabDialog/TabPage cases (see case 23) Change-Id: Id0d32e14810dbc62b7735becf1826a9b436ce546
2016-08-18screenshots: added stuff for Linux buildArmin Le Grand3-0/+3
Change-Id: Icc219fd6d2d8fc555f8e54d1fd0116e5976c5f7b
2016-08-18screenshots: added more virtualization/abstractionArmin Le Grand10-39/+55
TabPabe Identification to UI-File names. Isolated some data initialization constructs. Added more dialogs to dump. Should dump on all systems now Change-Id: I7ee07309e0bf88064f789c13bcbff93c17370f77
2016-08-18screenshots: extend default paths where stuff gets writtenArmin Le Grand14-11/+192
Change-Id: I1886d832bb9474371ea27d4d36f0446b221246d0
2016-08-18configure: move export validation, check for min jreThorsten Behrens1-108/+114
officeotron needs JRE 1.6 at minimum, so check for that and bail out sensibly. Had to move that entire block down after java version checks. Change-Id: I69b510c53a789478710dae6167a237c2edf40f2d
2016-08-18Update officeotron jar - now built with java 1.6 targetThorsten Behrens1-1/+1
Mac did not like the previous 1.7 bytecode version. Change-Id: I0dc22731cadaed7883023cb89a84d7c9304714e1
2016-08-17Tino should be TinosCaolán McNamara1-1/+1
Change-Id: I9f02547e2c800816abe395c42fecadba2ee7332e
2016-08-17Updated coreStanislav Horacek1-0/+0
Project: help 641b43850cb2903e640bfbdd5df413e80aff2b68 tdf#99840 update info on saving of pen drawings in Impress Change-Id: I46546fa3a25cf2eed21438f6171f1959777166f5 Reviewed-on: https://gerrit.libreoffice.org/28093 Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk> Tested-by: Olivier Hallot <ohallot@collabora.co.uk>
2016-08-17Resolves: tdf#101245 doc(x) protected areas not protected with disabled cursorMartin Nathansen1-1/+4
Protected areas of imported doc(x) documents are now protected even when the “enable cursor” option is disabled: It is still possible to set the cursor into the protected area, but the text is not editable anymore. Change-Id: If45dfc82fb7cc70e0a6569a9d735eafcafda9bc2 Reviewed-on: https://gerrit.libreoffice.org/28075 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>