summaryrefslogtreecommitdiff
path: root/sc
AgeCommit message (Collapse)Author
2016-08-18screenshots: add dialog test cases for svxArmin Le Grand
All *.ui files create a screenshot, but not all look useful Change-Id: I5aeec438b90488ea19cdb1251fee7dcf23e1c2cb
2016-08-18screenshots: add dialog test cases for writerArmin Le Grand
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 Grand
Change-Id: I27dab5552e3924df30c8b09c46994b2d645bcde9
2016-08-18screenshots: fallback screenshot to ui filesArmin Le Grand
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 Grand
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 Behrens
Change-Id: Ida0d3179726896b32b0876b1855b1f0be12d3b48
2016-08-18screenshots: gen screenshots during 'make slowcheck'Katarina Behrens
Change-Id: I666dfcb451367f5ac9f36207703cf090c1846b35
2016-08-18screenshots: don't leak windowsKatarina Behrens
Change-Id: If39441d6419556d1ae7637626b17b81357d29c38
2016-08-18screenshots: support creating shots of tab dialogsKatarina Behrens
try that with ScAttrDlg first Change-Id: Id84f5940ca3de9788446f2e513fa3991f31a2d5a
2016-08-18screenshots: sc dialog factory ifc for tab dialogsKatarina Behrens
Change-Id: Ia1f67a161cfadbf2b71d3647c50e1c0a4b24ae8d
2016-08-18screenshots: don't crash on opening csv import dlgKatarina Behrens
Change-Id: I1ff56d79f7ff31317187cf077380481f1ef44366
2016-08-18screenshots: dialog doesn't even have a help buttonKatarina Behrens
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 Behrens
Change-Id: If563f5b0fd5b28589bfbe4cf91061951acd14ebf
2016-08-18screenshots: interface for sc dialog factoryKatarina Behrens
Change-Id: Ibe0f8ec2714002b2dc84ef0c0bb8cb845e906aab
2016-08-18screenshots: open more sc modal dialogs, part 2Katarina Behrens
Change-Id: Ia5a1bbc00acff10405aa5205b9fd5a930deb5fc9
2016-08-18screenshots: open more sc modal dialogsKatarina Behrens
Change-Id: Ie0d0bcea3409f99cce0b9dccd4f316d1da3c0d84
2016-08-18screenshots: opening some sc dialogs from cppunitKatarina Behrens
Change-Id: I4e56f0264ada77e24f5d71fa9eaf48e5eedaaae8
2016-08-17enable password export tests under macosxCaolán McNamara
gerrit says they build with this cert folder disable variable in place Change-Id: Ibf711a01e6c055613c65dd94d85b523e7c8b5acd
2016-08-17revert div by 0 ubsan hackarounds nowCaolán McNamara
Change-Id: I6497a87d3071f91d5465033d2dc6ecafaa6461f4 Revert "use div() instead of /0 to content ubsan" This reverts commit fa293f7d6792a2beab048461c8a067e9ca980bb8. Revert "use div() instead of /0 to content ubsan" This reverts commit e043cce9a48c1e4f4dd232a58de64f03d1d3919f. Revert "use div() instead of /0 to content ubsan" This reverts commit ebe04c075649c677b55941e3b4e57fbca150b5db. Revert "use div() instead of /0 to content ubsan" This reverts commit fb2c146752074b132d665e40343a08dcb2e6672e.
2016-08-17Resolves: tdf#88257 handle FILTERXML array/matrix contextEike Rathke
... in which subsequent node elements are to be stored in the result matrix. Change-Id: Ia980a99a2b9ffba0e651f5d4c2420c8acfb80615
2016-08-17Avoid division by zeroStephan Bergmann
...when i == 0. Change-Id: Iae1adbe559370bdba195afb74e83b5c94e5de4e2
2016-08-17convert SvXMLGraphicHelperMode to scoped enumNoel Grandin
Change-Id: Ib0360b395fafe3c8123a0cc0fd0cbfd581fa5414
2016-08-17convert SvxEscapement to scoped enumNoel Grandin
and fix a potential bug with footnotes and superscripts in writer in ndtxt.cxx, where it was passing bad args to the SvxEscapementItem constructor Change-Id: I0d2de34c056e7824f3b456a86d502e10ac93a1c1
2016-08-17convert SvxSpecialLineSpace to scoped enumNoel Grandin
And move it inside editeng, since it's not really used anywhere else. And fix a bunch of places that were incorrectly calling the constructor with the enum. Change-Id: I74e8ab8bcf315eb5ad0720e74d04a450f0a3e5c9
2016-08-17convert SvxBreak to scoped enumNoel Grandin
Change-Id: If8b79ed617e5662550bd73bd1506d047217f2313
2016-08-17convert SvxCellJustifyMethod to scoped enumNoel Grandin
Change-Id: Ifdb9192f6556477a28af05a74042f216d4e9e8fd
2016-08-16tdf#30456 Enable to empty or not merged cellsLaurent Balland-Poirier
Insert options during MergeCells to empty hidden cells Three options: - Move contents to first cell (previous Yes) - Keep contents in covered cells (previous No, default) - Empty covered cells (new option) To be done: link to the help system https://gerrit.libreoffice.org/27467/ Change-Id: I98e85296591cce8ba789d282cead1f1010e5e2ce Reviewed-on: https://gerrit.libreoffice.org/27463 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2016-08-16Fraction Number Format: add UI/Sidebar optionsLaurent Balland-Poirier
Enable modification of fraction number format through dialog UI: - negative in red - "Decimal places" is replaced with "Denominator places" - leading zeros for integer part - thousand separator for integer part Update: options in Sidebar Thousand separator works, also for ' ' as thousand separator Change-Id: I0ed2952ed9cd8afb5444b44997526e5019a5858d Reviewed-on: https://gerrit.libreoffice.org/27268 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Laurent BP <laurent.balland-poirier@laposte.net>
2016-08-16tdf#101204 make VDB return correct results for fractional periods.Winfried Donkers
Change-Id: I97f7ff5f0c632a2b2e0501919a4d0fc1414fa028 Reviewed-on: https://gerrit.libreoffice.org/27779 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-08-16LOK unit tests: document what is a view callbackMiklos Vajna
Change-Id: Ic605ca12cebfb6fd8239829942bbc6a70f45ac06 Reviewed-on: https://gerrit.libreoffice.org/28168 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-08-16GSoC notebookbar: icon size switchingSzymon Kłos
+ added entry in the Options > View + changed sfxlo-SidebarToolBox to sfxlo-NotebookbarToolBox in the Notebookbar ui files Change-Id: Id5719953be9830b650af96d54e63936c553cda74 Reviewed-on: https://gerrit.libreoffice.org/28169 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2016-08-16Revert "add LOGEST testcase"Eike Rathke
This reverts commit f2da3173f8d91898638749039265b7ad3303df2a. It makes fail the Linux-rpm_deb-x86@71-TDF and Linux-rpm_deb-x86@71-TDF-dbg tinderbox builds. Change-Id: I78f270e24fe7e500f147fb1ab637c67e54d5d07d Reviewed-on: https://gerrit.libreoffice.org/28161 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2016-08-16Resolves: tdf#101165 crash on deselecting all filtersCaolán McNamara
this affects 5-1, but not master because of 7967e5e51e5210b8c3d3dc63502bd7d875eb36b7 which changed the trigger in ScCheckListMenuWindow::setAllMemberState but lets fix it in master anyway in case there's another route in here Change-Id: I49162bb73bf6dbef5cff68d35d10da2c47d9f2b5
2016-08-16update miBroadcasterPos before copying it, tdf#100852 relatedEike Rathke
Also for CopyAsLinkHandler. Change-Id: Ia8ca5cbcd5edcf3b85f8d735d7c698572479ec22
2016-08-16GSoC notebookbar: multiple .ui implementationsSzymon Kłos
+ added menu controller for .uno:Notebookbar showing all implementations + switching between .ui files + officecfg stores implementation description + added second implementation file notebookbar_groups.ui Change-Id: I9f406daced7a111793f61a2e9f939cba27d92184 Reviewed-on: https://gerrit.libreoffice.org/28067 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2016-08-16loplugin:unusedenumvalues in scNoel Grandin
Change-Id: If16f62c3a44a603aff7399f2064777069d5d85fa Reviewed-on: https://gerrit.libreoffice.org/28074 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-16new loplugin to check for static OUStringsNoel Grandin
that are better declared as OUStringLiteral Change-Id: Ifb5d9a12bb31a68641940bec16971a8181a46567 Reviewed-on: https://gerrit.libreoffice.org/27377 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-15Resolves: tdf#100852 update miBroadcasterPos before copying itEike Rathke
Change-Id: I9ab9acfb0871355ceb2c3c83f51e7ba05a74d8f2
2016-08-15Revert "add LINEST test case"Eike Rathke
This reverts commit 98cf484952eb2cec654a3d7d27463131b9f8509b. It breaks tinderbox build of Linux-rpm_deb-x86@71-TDF-dbg for yet unknown reason. Change-Id: I8384faa32b39e79c7e57a20a9a9d7a2e3c9a9b11 Reviewed-on: https://gerrit.libreoffice.org/28142 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-08-15Revert "add GROWTH test case"Eike Rathke
This reverts commit e601533855e2d7958a2d216e40601400178374a5. It breaks tinderbox build of Linux-rpm_deb-x86@71-TDF for yet unknown reason. Change-Id: Ie68fd7ba1bb218940d90c66cae07a9c2374a864f Reviewed-on: https://gerrit.libreoffice.org/28143 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-08-15-fsanitize=vptrStephan Bergmann
Change-Id: Idce5149277a0fbbcb8bcb92c2f368b796ac0d843
2016-08-15tdf#100782 have XPropertyList hold unique_ptrJochen Nitschke
Change-Id: I928f297e1be76b965898d83cb3dd2e79b23b7974 Reviewed-on: https://gerrit.libreoffice.org/28095 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-15Revert "add CUMPRINC test case"Markus Mohrhard
This seems to break the @71 tinderbox. This reverts commit da67f033d2a726a54ba10a1796beca50ed8b2624.
2016-08-15tdf#92218 Another round of tweaks to single toolbar modeYousuf Philips
Change-Id: I685687df630fe1905f18476be8c0266546048ceb Reviewed-on: https://gerrit.libreoffice.org/28108 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2016-08-12check SelectionForbidsCellFill() on EnterBlock()Eike Rathke
... to prevent Alt+Enter filling a huge selection. Change-Id: I8ce905c6e5ad0cb4dadf309f7b995142414e7193
2016-08-11Add more shapes to Insert > Shapes menuYousuf Philips
Change-Id: I58a476199047ab08c74803a560ba63357b77db38 Reviewed-on: https://gerrit.libreoffice.org/27996 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2016-08-11Resolves: tdf#96568 check SelectionFillDOOM() on EnterMatrix()Eike Rathke
Change-Id: I6843b4fac175b646a6dd725f5591c49e960a5f18
2016-08-11tdf#96015 (part) links to Askbot in the Help menuOlivier Hallot
Add the entry "~Get help online" to the modules Help menu. on click, the system browser opens http://hub.libreoffice.org/forum/?&LOlang=<lang> <lang> is obtained from .getLocale() That in turn will redirect to e.g. askbot (but only few languages are using it at the moment) or other nl-specific resources. (nl-projects can request corresponding targets from infa, without the need to change the code – cf rdm#1983) The link can/should be extended to also include the version of LO and the currently used module to allow finer grained redirects. Change-Id: I56108dba4dd2684405623c4586103fc8ff9bea56 Reviewed-on: https://gerrit.libreoffice.org/27028 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2016-08-11loplugin:constantparamNoel Grandin
Change-Id: Ia06b9b189033b9409d7a59a211866f66a0614886 Reviewed-on: https://gerrit.libreoffice.org/28016 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-11recognize another release's unknown currency saved as symbol we knowEike Rathke
This may happen when saving a currency with a changed symbol in the current release, load it in an older release, save it there and load it again in the newer release. For example DKK [$kr.-406] #.##0,00;[RED][$kr.-406] -#.##0,00 new in master/5.3 (changed symbol from 'kr' to 'kr.') loaded and saved in earlier releases writes currency 'kr.' instead of 'DKK' reloaded in master since there was no match as currency lead to number format #.##0,00 [$kr.] Change-Id: I5c8f165a2f420d77f5a2c0921c33a57797f92526