summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-09-29add helper methods to deal with Calc UNOMarkus Mohrhard
This is the third part of the UI Test tutorial. The code in uitest/libreoffice is generally useful UNO code that allows to interact with LibreOffice. This code should be independent of the UI testing framework and provide external developers a helpful starting point to writer python extensions. Change-Id: Ia1429577affd98dcf3f1aee3da3a7256499a1c78
2016-09-29add introspection support for SvSimpleTableMarkus Mohrhard
This is the second part of the UI test tutorial. The tutorial shows how to add introspection support to a new vcl::Window based UI object. Change-Id: I2b3ed68d313749787869c7e85f2e27c9d01fff4a
2016-09-29allow to listen to different eventsMarkus Mohrhard
Change-Id: I4121d35e8052cf25bc2e6089e45c62c3bbcc859a
2016-09-29use the new close dialog abstraction in impressMarkus Mohrhard
Change-Id: I6fef4bfa5b964c83b21c73ec406bf7fc10958a41
2016-09-29make use of the new event for closed dialogsMarkus Mohrhard
Change-Id: I59102fda8390d9594999ceaa45105e38ecbc970e
2016-09-29send an event when the dialog is actually closedMarkus Mohrhard
The last data structures in vcl are only updated when the dialog is disposed. Especially mpFirstFrame is not updated until the dispose. So we need to wait until that point for the UI tests. Change-Id: I7432600e879c4c7dcffa445ac6b3cd228d0aa856
2016-09-29Updated coreGiovanni Calligaris
Project: dictionaries a722518c294b898d9f3fbfc7f24b14a2008ef507 Update Guarani thesaurus to v1.1 added Makefile changes/additions minor correction and replace idx file glitch in dat file Change-Id: If26d8e5fcf9737534b4188416574faaedbb8a2e5 Signed-off-by: Olivier Hallot <ohallot@collabora.co.uk> Reviewed-on: https://gerrit.libreoffice.org/29236
2016-09-29Updated coreGabor Kelemen
Project: help 708e33c4cb0054b38fced2fb160a5240e02feb01 Remove 'Insert Video' and 'Insert Sound' help pages These were removed from the UI, now there is Insert - Media - Audio or Video: https://cgit.freedesktop.org/libreoffice/core/commit/?id=1875ea687b2c5c45fe3df626c05ca5f483417269 Change-Id: I7b68098144282b7770da38313ca623061d188fa3 Reviewed-on: https://gerrit.libreoffice.org/29385 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2016-09-29Resolves: tdf#101433 reset RasterOpMode on cached virtual device before reuseCaolán McNamara
Change-Id: I178aa499b080b0b684d41fdd4115a6398f944c43
2016-09-29tdf#83306: sal: fix compare of rtl::OUString/OString containing '\0'Michael Stahl
For whatever reason oox shape import code uses OUStrings that contain '\0' characters. The rtl_uString / rtl_String are allowed to contain '\0' but the strncmp/wcsncmp functions stop comparing on the first '\0', so use memcmp/wmemcmp instead. (regression from 281989007fd7dea997ed9a65f513f80b1aff67dd) Change-Id: If148927f19d065a21f32f3c14433b0bda7ae9301 Reviewed-on: https://gerrit.libreoffice.org/29384 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-09-29Resolves: tdf#102334 Some hidden text not imported as hidden correctlyCaolán McNamara
began to be a problem since.. commit 705a8c226aee3e68db492083b7cf8b704335328b Author: Caolán McNamara <caolanm@redhat.com> Date: Tue Sep 23 20:35:50 2014 +0100 WW8PLCFMan::AdjustEnds deeply flawed concept wrt change tracking but underlying problem is... commit b3cee382f449aa69213dc21f7b1ba6a5356d2865 Author: Caolán McNamara <caolanm@redhat.com> Date: Mon Jun 27 14:52:41 2011 +0100 Related: #i76955# make this 4+ times faster Change-Id: I1cd42a0f51599efab9352c960a5f496626af7ac0
2016-09-29add test for tdf#96453 part 1Markus Mohrhard
This is the first part in the UI testing tutorial. The commit adds the skeleton for a UI test. Currently the test only opens the conditional format manager dialog and closes the dialog again. Change-Id: Iff1d662d0aa675efad6b9682bf86a246c7a5a8d3 Reviewed-on: https://gerrit.libreoffice.org/29373 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-29fix test failureMarkus Mohrhard
Change-Id: Ia963b3930b5d2d0ab612619e0165dadd058b3fda Reviewed-on: https://gerrit.libreoffice.org/29372 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-29add missing test filesMarkus Mohrhard
Change-Id: Idab1e1649b016d99ccd32158d36dc1d3e56a44b9 Reviewed-on: https://gerrit.libreoffice.org/29371 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-29Updated coreGabor Kelemen
Project: help 09d83720ede6138a465e5531ae4dc8feb2bb39a0 related tdf#96398 Remove help for Insert - Object - Plugin Support for external plugins was removed in 5.2 so the corresponding help can go too Change-Id: I26f242da25a9ff9a2dcb86510cfe42247820719f Reviewed-on: https://gerrit.libreoffice.org/29383 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2016-09-29LOK: conditionally include part number in invalidation payloadMiklos Vajna
Since desktop/ code queues, compresses and only emits callbacks on idle, it's possible that two invalidations are in the queue, and there was a setPart() call between them. In this case it's impossible to tell what part the invalidation was sent for. Fix this by conditionally including the part number in the invalidation payload. It's off by default, a new feature flag is added to request this behavior. gtktiledviewer enables this feature flag by default, though just to show the part number in the debug output. Android doesn't enable it. Change-Id: I73e6def848c0eb61d64e71026002c7a0e750aab4
2016-09-29gbuild: try to avoid invoking gdb with LD_LIBRARY_PATH setMichael Stahl
Commit b078e0d638514b298616838fae090b8294bac32f introduced the problem that gdb will load via LD_LIBRARY_PATH the libpython3.5m.so.1.0 from INSTDIR instead of the one from the system, which makes it unhappy (at least on Fedora 24). Try to hack around that by detecting that the user wants to run gdb, and passing in a command "set environment LD_LIBRARY_PATH ..." so that "run" inside gdb uses the custom LD_LIBRARY_PATH but gdb itself does not. Change-Id: I1d29d2af1a77ffab3e718a876c17c29de444c6d9 Reviewed-on: https://gerrit.libreoffice.org/29349 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-09-29tdf#95386 Remove remaining mentions of Help AgentGabor Kelemen
Replace it with the Help on Help command Change-Id: Ia454a2f6a123b4fb68fda1eae1e07e99ba81487f Reviewed-on: https://gerrit.libreoffice.org/29381 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-09-29sw: remove unnecessary debug code in fetabMiklos Vajna
Change-Id: I78bff9b899a6bbe2ab831a6f0cba60f614609449 Reviewed-on: https://gerrit.libreoffice.org/29379 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-09-29only date autofilter menus need the space for the tree expandersCaolán McNamara
so for lists that don't include dates then drop the tree view bits to save space to the left of the entries Change-Id: I44f624d8a06d578674806813239a408466c87d70
2016-09-29vcl: test JPEG reading - RGB, CMYK and grayscaleTomaž Vajngerl
Change-Id: Ice713966b9c721472441478c965212b5c8f74acd Reviewed-on: https://gerrit.libreoffice.org/29368 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2016-09-29Page margin popup converted to use outside sidebarSzymon Kłos
Change-Id: I3c4cc20fc8f2818677a77f848a1566bb56ceb7c6 Reviewed-on: https://gerrit.libreoffice.org/29363 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-09-29tdf#88206 replace cppu::WeakImplHelper* in sfx2 and svlJochen Nitschke
some fallout in include/editeng/unotext.hxx which uses WeakAggImplHelper1 from implbase1.hxx Change-Id: I7237c46c1eb17752c63eeddc6a3aee41788fbbd2 Reviewed-on: https://gerrit.libreoffice.org/29374 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-09-29Fix naming of makefile to mend make dump-deps.Michael Meeks
Also add error message to make this more clear in the future. Change-Id: Ic9e3a2c89119ef1ec3e6cc1074b7419f7ee268b7 Reviewed-on: https://gerrit.libreoffice.org/29375 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-09-29tdf#101549: Add script to remove tooltip_markupsMuhammet Kara
From the glade .ui files. Currently the script doesn't check for identical tooltip_text. Change-Id: Ic6b80e7eb0ced2e4515cc57d3b548b26cef5b67c Reviewed-on: https://gerrit.libreoffice.org/29366 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-09-29tdf#90697 unit test for an unused FirstPage headerJustin Luth
Continuous section breaks are tricky to handle. Here is a strange case where the first page header is defined in the middle of a page, so it is unused. Also added is an extra section page break for added complexity (which inherits from the previous section). Except for not dynamically switching to the most recently defined headers/footers (which Writer is not designed to do), these breaks are currently handled somewhat properly. Adding this test to prevent regressions. Change-Id: I6fe464c8839660a6eb19e0dd205adfa6ec988d7d Reviewed-on: https://gerrit.libreoffice.org/29322 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org>
2016-09-29merge SdrPageView::IsObjSelectable and SdrPageView::IsObjMarkableJochen Nitschke
These member functions have the same purpose and share same functionality in great parts. The checks are rewritten for better readability and merged into IsObjMarkable. This adds IsInserted and a same page check to the function. Tested selection of nested grouped objects. Tested selection of objects in front of objects on master pages. The fix for #i43302# doesn't seem nessasary (saw no way to create empty groups) but leaving it on for now. Change-Id: I35d84c66dfd832d626ba2700f22d4c437593cac7 Reviewed-on: https://gerrit.libreoffice.org/27786 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-09-28tdf#100015 (related) Move Math help icons to correct locationGabor Kelemen
So that they are actually packaged into the theme zip Change-Id: I119880dc1fb9448e69fd17a3ad0d2463027563a6 Reviewed-on: https://gerrit.libreoffice.org/29339 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2016-09-28tdf#99386, broadcast that cell content changed after merge cells undo/redoMarkus Mohrhard
Change-Id: Idf41d1b07e26af66d9eefd18e5d5b582edc205e9 Reviewed-on: https://gerrit.libreoffice.org/29370 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-28tdf#102235 Replace Hindi with Indic and add some sample digitsLaurent Balland-Poirier
Tools > Options > Language settings > Complex Text Layout > Numerals: Choosing "Hindi" (eastern arabic) numerals is quite confusing for Hindi language which use Devanagari numerals. I propose to recall it "Indic" See https://en.wikipedia.org/wiki/Eastern_Arabic_numerals and add some sample digits Change-Id: I97e50d6e5c4715eb3aed9701457164269d5d75da Reviewed-on: https://gerrit.libreoffice.org/29000 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-09-28tdf#101549: Remove tooltip_markup from glade .ui filesMuhammet Kara
where there is also an identical tooltip_text. And convert the remaining tooltip_markup properties to tooltip_text. Change-Id: Id9995217468fb7046a2822dcef9a99072a7269ee Reviewed-on: https://gerrit.libreoffice.org/29367 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-09-28add GAMMALN test caseZdeněk Crhonek
Change-Id: I885c3d335dc1219ca5d24a91ea0ab39311e5ba63 Reviewed-on: https://gerrit.libreoffice.org/29305 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-28add HARMEAN test caseZdeněk Crhonek
Change-Id: I5a7a04e4030e26bcf1eac4d9c72382b4fc68ec8e Reviewed-on: https://gerrit.libreoffice.org/29329 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-28add GAUSS test caseZdeněk Crhonek
Change-Id: I051def159eeb3ddab693b0ef340636504a635b42 Reviewed-on: https://gerrit.libreoffice.org/29333 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-28add GEOMEAN test caseZdeněk Crhonek
Change-Id: I5d0e94515a7cb87dc09eb5dcc0ee65e7de9593db Reviewed-on: https://gerrit.libreoffice.org/29331 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-09-28Reintroduce "tdf#90697 unit test for rtf import"Samuel Mehrbrodt
This reverts commit 7c3cb23136229c748984b49847af6f729ce3e6ba. Change-Id: I3a38663f6dffbb47a4d120d59ba26ada76d4c701 Reviewed-on: https://gerrit.libreoffice.org/29350 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-09-28cleanup includesJochen Nitschke
related tdf#102630 Useless /org.openoffice.Office/Substitution feature Change-Id: Ifa260c962efcaacd7477fb03a3d4d07e43743e6f Reviewed-on: https://gerrit.libreoffice.org/29359 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-09-28remove define 'local'Jochen Nitschke
Change-Id: I7b8ff60a25a5b835b7a2893befeb82b424bbcd2c Reviewed-on: https://gerrit.libreoffice.org/29354 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-09-28Resolves: tdf#102343 unable to undo stylesheet changes in master...Caolán McNamara
slides done via proxy textbox objects regression since... commit 12a4200e8ff7f045efcc7e9d15a24b15b248c437 Author: Armin Le Grand <alg@apache.org> Date: Thu Aug 9 08:42:27 2012 +0000 Related: #i120498# Enhanced Undo/Redo and user experience... when editing texts in graphic objects and/or tables The issue is that the formatting changes in these master textboxes create changes in the stylesheet, rather than just changes in the textbox itself and the changes above don't take that into account and throw away these unusual undo objects. Change-Id: I209758cefa96b2f886161de1d44d6a68d007faa7
2016-09-28sw lok: fix one view inserting a comment, other view jumping there as wellMiklos Vajna
Views are expected to be more or less independent. So when one view inserts a comment, don't emit cursor callbacks in the other views, so that the other views don't jump to the comment position. Change-Id: I5e4eadccef971dce2b7c759f3094f6d348d07645
2016-09-28editeng: invalidate everything only when toggling header-footer editAshod Nakashian
The repaining of the full screen can be costly in certain cases. Here we avoid it altogether if we don't switch between header/footer editing and document-body editing. If for whatever reason this results in some regression, we should then avoid the invalidation for the Online version only. The change is unconditional because, in theory, it shouldn't cause regression, and tests pass. Change-Id: I05467c98b5fa4857b94f6742004f98dca3799826 Reviewed-on: https://gerrit.libreoffice.org/29272 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-09-28tdf#102073: sw: do not create SwFootnoteNumPortion inside tableMichael Stahl
The SwTextFormatter::WhichFirstPortion() wants to create a new SwFootnoteNumPortion for the first paragraph in every cell, because it doesn't have mpPrev set and SwTextFrame::IsFootnoteNumFrame() is true, and somehow this even causes an infinite loop in the bugdoc because initially nothing more than the footnote number fits inside a line. Just detect that it's inside a table and return false then. Change-Id: I1f010f1242d53d9f99a4d3a4f6fc3cee65aa3958
2016-09-28fftester: cut out middle man in deref null ptr and get addressCaolán McNamara
Change-Id: Iba157f47e847cb2eba1d771a6f357019d68b4f13
2016-09-28tdf#95386 Remove remains of .uno:HelperDialogGabor Kelemen
Change-Id: Id131de5bf2b97a35fc67258fe5029fad0b4edf5e Reviewed-on: https://gerrit.libreoffice.org/29352 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-09-28Updated coreGabor Kelemen
Project: help 112cf7c587ffbfb442148e1d49d3638596b91615 tdf#100015 (related) New image locations in Math help Images need to be moved around a bit for packaging so references to them need to be modified accordingly Change-Id: I3dce3fa5f38aa2a4fc9b3f22c59327d99008cee3 Reviewed-on: https://gerrit.libreoffice.org/29340 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-09-28Updated coreGabor Kelemen
Project: help d9c6d41f7cc34ced40b2a9ba433d41d429b0a4d5 tdf#95386 Remove remains of .uno:HelperDialog from helpcontent Change-Id: Ibe3f7d9b89ad919a03c9b1b6d87a72c1d3883b47 Reviewed-on: https://gerrit.libreoffice.org/29353 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-09-28Updated coreGabor Kelemen
Project: help 2a71b08a718d170e6240a8e006ab71c98465a944 tdf#98438 Remove reference to nonexisting Table toolbar icons Change-Id: I89c7dd720c5a8f7d3eb70c4c089a0ecc9a1723d0 Reviewed-on: https://gerrit.libreoffice.org/29344 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-09-28sw: fix loplugin:staticanonymousMiklos Vajna
Change-Id: I8e58200129eea0eae37c335265bf634b390da28a
2016-09-28GetSvxShape does the same checks, so use it directlyCaolán McNamara
and drop the worthless unused xShapeTunnel Change-Id: Id9875691e8a01a11a84b0dd08a53fdee517924f4
2016-09-28Remove old cell styles from calcJaskaran Singh
Change-Id: Ic3f7aa6d247af8a422899549b7238c7fb6cf2406 Reviewed-on: https://gerrit.libreoffice.org/29338 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jaskaran singh <jvsg1303@gmail.com>