Commit Graph
12230 Commits
Author SHA1 Message Date
Markus Mohrhard 3c979a362b uitest: provide a way to select a floating window, e.g. popup menu
Change-Id: Ice418b974c59c7d8c773b81a82f0a06c84547f10
Reviewed-on: https://gerrit.libreoffice.org/35699
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-03-26 02:56:27 +00:00
Andrea Gelmini 095438e52c Fix typos
Change-Id: I14dca0d55c09187690dc1d94936c40b890ca5cea
Reviewed-on: https://gerrit.libreoffice.org/35637
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-25 12:36:37 +00:00
Julien Nabet b5bef1f7d5 Typos
Change-Id: I13020539fe121151e884a90d72d47788fb3ae65c
Reviewed-on: https://gerrit.libreoffice.org/35436
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-19 18:50:33 +00:00
dennisroczek 7e24cedb9e fix typo/grammar: "the the" --> the
* also removing pointless ASCII art (tdf#62475)
* truncate ending whitespace in Doxyfile

Change-Id: I59b012f41ac0d170216229da85a49aa41689dee5
Reviewed-on: https://gerrit.libreoffice.org/35151
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-19 05:43:51 +00:00
Samuel Mehrbrodt 9b6ed11d58 gpg4libre: No need to create separate idl files for gpg services
Change-Id: Ief217cd91e30433c30ac0547d28fb6eab2dc43b0
Reviewed-on: https://gerrit.libreoffice.org/35213
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-03-16 16:57:52 +00:00
Andrea Gelmini 127b2e5999 Fix typos
Change-Id: I63da858b3f264cd099e60192633b44d362b6fad7
Reviewed-on: https://gerrit.libreoffice.org/35055
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-12 20:02:11 +00:00
Tor Lillqvist 5d6532a94b Fix (German?) spelling mistakes in comments: s/save/safe (the adjective)
Might be more of them left, I found these by looking for "is save" or
"it save".

Many more potential misspellings of "Safe" as "Save" in identifiers
are left. Need to check individually which of them actually mean
"Safe", which mean "Saved" perhaps.

Change-Id: I5d3791ea2df2e1d485f65400404972b72af45aec
2017-03-11 10:14:26 +02:00
Samuel Mehrbrodt 88ac77c0bc gpg4libre: List and view GPG keys
* Add GPG implementation of css::xml::crypto UNO interfaces (part of that is only stub atm)
* List gpg keys along with other certificates
* Viewing gpg certificates: Not all properties are implemented yet

Change-Id: I7f60b26efe949a94bf8fe1b8d4d428002c2995b1
Reviewed-on: https://gerrit.libreoffice.org/33843
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-03-04 10:26:43 +00:00
Andrea Gelmini 5bea199bae Fix typos
Change-Id: Ic6c41fbcc36c11a7528cde0986593a39c2d6738b
Reviewed-on: https://gerrit.libreoffice.org/34803
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-02 12:39:35 +00:00
Markus Mohrhard aa10a19c8e uitest: add a specific method for executing dialogs
This allows us to split the parts that need to run async and the ones
that can run synchronous. This will reduce the number of signals that we
need.

Change-Id: I9c9f3df3422cc66d28d66e0638e212b39c743e33
Reviewed-on: https://gerrit.libreoffice.org/34669
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-02-27 09:43:45 +00:00
Eike Rathke 838fab822c Resolves: tdf#79250 add typed list to form control listbox
... so numeric and text data can be distinguished input.

Change-Id: I63280a93c272ccc6f5e7ca06a1a1fcbfb3db8455
2017-02-14 11:49:35 +01:00
Stephan Bergmann afd2e71776 Missing @since tags
...after 8cc8ffdb04 "[API CHANGE] Add PopupRequest
- a callback to open a pop-up win. in calc"

Change-Id: I94be25141fdc415c8cc45c8a2f1be9ee69d23f2c
2017-02-14 09:19:32 +01:00
Tomaž Vajngerl 7704b2f0a8 comment XPopupRequest API
Change-Id: I7a539bce74bba7b299ae75a2525a2c0d1249894a
Reviewed-on: https://gerrit.libreoffice.org/34189
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-02-13 21:11:05 +00:00
Tomaž Vajngerl 8cc8ffdb04 [API CHANGE] Add PopupRequest - a callback to open a pop-up win. in calc
Change-Id: Iea600e229deb69d1638a1a649008fc4738a5934a
Reviewed-on: https://gerrit.libreoffice.org/34005
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2017-02-12 22:22:06 +00:00
Eike Rathke d3293c7173 Revert "Resolves: tdf#79250 add typed list to form control listbox"
This reverts commit e387b69967.

It breaks toolkit.subsequentcheck with
propertyChangeListener wasn´t called for ´TypedItemList´

Back to the drawing board for the twisted property logic of forms and
toolkit uno control models.
2017-02-11 01:19:37 +01:00
Eike Rathke e387b69967 Resolves: tdf#79250 add typed list to form control listbox
... so numeric and text data can be distinguished input.

Change-Id: I63280a93c272ccc6f5e7ca06a1a1fcbfb3db8455
2017-02-10 20:58:52 +01:00
Stephan Bergmann 8c2f9bb5b8 Remove duplicate documentation comment
Change-Id: I5215f4a27a5fde9e34ba1dce0a6f68f8dfbf0f97
2017-02-07 21:10:12 +01:00
Markus Mohrhard 4c02332d3d uitest: provide a way to get a json representation of the ui info
This just provides the information that is also available through the
getState method in a nicer way.

Change-Id: Ib64f6ecd2c4e9c0a940f3f9607c9a777233e90d2
Reviewed-on: https://gerrit.libreoffice.org/33978
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-02-07 10:16:25 +00:00
Samuel Mehrbrodt 436035a2b2 Fix some typos
Change-Id: Ide3786aad5589e2d430a4e3890d51117b145e51d
Reviewed-on: https://gerrit.libreoffice.org/33842
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-02-02 17:29:29 +00:00
Michael Stahl 57e696742c offapi: improve some Settings documentation
Change-Id: Ic63adf85d096cb51f43e5a54453d43ad02792a99
2017-01-30 15:24:45 +01:00
Michael Stahl c971cfbe21 offapi: FormulaProperties doc broken link
Change-Id: I45eb0f3259ec514864178b6725107e5ba0ea140e
2017-01-27 11:51:05 +01:00
Miklos Vajna a4af8986c9 [API CHANGE] offapi: remove unused xsec_fw UNO services
This is mostly just the offapi/ part, more C++ code can be removed in
xmlsecurity/ after this. SignatureVerifier, SAXEventKeeper,
SignatureCreator, XMLSignatureTemplate and XMLEncryptionTemplate was
only used inside xmlsecurity, but they all are accessed directly
already. Decryptor and Encryptor wasn't even used by internal code since
they were added in commit 9f34fde7a8
(libxmlsec, 2004-07-12).

It seems to be unlikely that any of these non-published services were
used by 3rd-party code, since they were specific to other xmlsecurity/
code, not generic functionality that could be useful in other contexts.

Change-Id: I4bcfa88d11d2b92a440f6617193c6460125ce4fd
Reviewed-on: https://gerrit.libreoffice.org/33569
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-01-26 10:43:25 +00:00
Caolán McNamara e3cfa49e81 drop now unusd private:resource/.../image urls
Change-Id: Ic456113b295c3b90316d2792b630c44892ac20a7
2017-01-19 21:00:19 +00:00
Kohei Yoshida bbf40e3b5d Use the old-fashion way to instantiate a UNO service.
Change-Id: Ibc5c55dbe9c4c5101ebb292696f79e4e8c8a35c5
Reviewed-on: https://gerrit.libreoffice.org/33293
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2017-01-19 01:45:08 +00:00
Caolán McNamara feb3b3dbda XPackageTypeInfo::getIcon is useless
nothing in LibreOffice calls it, and anything external would get a
resource id which is useless to anything except LibreOffice internals

Change-Id: I9d6d91a047da64dc98b556ae46fc86d84cf774f4
2017-01-18 11:12:15 +00:00
Kohei Yoshida 294f2e627c tdf#97597: attempt to add test for multithreaded input stream buffering.
But it always passes, even when UseBufferedStream is set to false...
Needs improvement.

Change-Id: I98f65dcd7bec3b47a437fdc6cc42c6e8e3775522
Reviewed-on: https://gerrit.libreoffice.org/33190
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
2017-01-17 02:05:54 +00:00
Caolán McNamara 0b21f2964a drop imagelist example from idl comments
Change-Id: Ib5aede052caa5f6bb7540091aff0f8c6ef2dbfa8
2016-12-30 14:06:20 +00:00
Tor Lillqvist b1c1458760 Revert "[API CHANGE] createSecurityContext() was always called with an empty string"
I got cold feet. I don't want to have to revert this many years later
instead, when some obscure 3rd-party software stops working.

This reverts commit e1ce7bad62.
2016-12-22 08:48:16 +02:00
Tor Lillqvist e1ce7bad62 [API CHANGE] createSecurityContext() was always called with an empty string
So drop the parameter then and propagate fallout in the Windows
implementation in xmlsecurity. The NSS implementation already ignored
the parameter completely.

This interface is not 'published' and the parameter was even marked as
'reserved for internal use' so I doubt any external code has used it.

Change-Id: I5915b941b79cfddadc8137c32ed07c20c9ccaa37
2016-12-21 21:24:09 +02:00
Yossi Zahn 08fb6d73f8 tdf#66212 - Add Hebrew NATNUM1 to numbering-format menus.
Previously it was only accessible as "Native Numbering" and Locale option had to be set to Hebrew.

Still to implement: rtf/ooxml/.doc export/import
                    NATNUM2?

Change-Id: Ife9943a7d21e8f69c2761007dcefdf3e223fc261
Reviewed-on: https://gerrit.libreoffice.org/31901
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
2016-12-13 18:23:58 +00:00
Tamás Zolnai c0d4aadf08 [API Change]: Create new GeneralFunction2 for adding median
New functionality added to pivot table became fully
broken with Eike's revertion:
5024430950
This commit fixes this problem.

Change-Id: I67cfc63305bb9b2edeed2abd26d729fbf650579f
Reviewed-on: https://gerrit.libreoffice.org/31096
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2016-11-23 02:46:17 +00:00
Miklos Vajna 9b910bd62e [API CHANGE] offapi: remove unused XSecurityController interface
This unpublished interface is not implemented by any C++ object in our
code and it's unlikely that 3rd-party code used it, so remove it.

Change-Id: Ide956c8a759ff8181dfd58351b79d4a011af50df
2016-11-22 20:27:50 +01:00
Eike Rathke 5024430950 [API Change] revert incompatible change of enum css::sheet::GeneralFunction
Quick solution before 5-3 branch off without reverting everything related.
This will need a new constant value type for API instead of the enum and an
internal mapping from/to the enum.

Kept the GeneralFunction_MEDIAN at all places in uing code so it can be
easily grep'ed for.

Change-Id: I95256649f16ded08e467003d2924be0ff5efb87f
2016-11-22 19:56:33 +01:00
Stephan Bergmann 7668382920 Update the reference rdbs to libreoffice-5-2
(This deliberately leaves out the published
css.mozilla.XRemoteServiceManagerProvider originally manually removed from
offapi/type_reference/offapi.idl with 4c18af27bf
"tdf#96398 kill remaining NPAPI support for plugins _inside_ LO" and now fully
removed with b558997012 "[API CHANGE] Remove
tdf#96398 leftover XRemoteServiceManagerProvider".)

Change-Id: I75d4cd82ba306099e2563a44739bfb3867a265e9
2016-11-21 18:21:04 +01:00
Stephan Bergmann b558997012 [API CHANGE] Remove tdf#96398 leftover XRemoteServiceManagerProvider
4c18af27bf "tdf#96398 kill remaining NPAPI support
for plugins _inside_ LO" had removed various other (also published)
offapi/com/sun/star/mozilla/*.idl files, and had included removal of
css.mozilla.XRemoteServiceManagerProvider from offapi/type_reference/offapi.idl,
but had forgotten to actually remove this .idl file---apparently an oversight.

Change-Id: I1a8f0c594829a5dd6025ff6c2b6a6fa9a109ca36
2016-11-21 18:09:45 +01:00
Tamás Zolnai eabfd1b60f [API Change]: Move recently added median function to the end of enum
Change-Id: Ie6f2c6f53b354552b855264faea1ae9f5cb2b76d
Reviewed-on: https://gerrit.libreoffice.org/31041
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2016-11-21 13:42:56 +00:00
Tamás Zolnai eb27a63a38 [API Change] PivotMedian: Add median to pivot table function type
Change-Id: I675e81b5c13832ac0ff893a6e080241e6f1c8fd5
2016-11-20 00:13:14 +01:00
Noel Grandin b06854accc fix spelling XFastAttrbitueList->XFastAttributeList
Change-Id: I618cadba909acbe935217026af7da496894dbd5e
2016-11-11 12:12:22 +02:00
Stephan Bergmann fa69c29c89 Typo in documentation
Change-Id: I0970a86d65aa905cbd02d892be08de8962731e8b
2016-11-09 17:47:08 +01:00
Michael Stahl f9028f1945 vcl: improve accounting of SVG images in graphics cache
The problem is that the graphics cache only counts the size of the SVG
text, which is stored in SvgData::maSvgDataArray.  However the
SvgData::maSequence may use a lot more memory, as it may contain
de-compressed bitmaps that are stored as base64-encoded PNGs in the SVG
text.

For example icon-themes/galaxy/brand/flat_logo.svg is 812 Ko but contains
60 Mo of bitmaps.

This may cause excessive memory usage and failure to export documents
due to OOM; according to valgrind massif, the bitmap buffers use 90% of
the heap.

Add a new interface com::sun::star::util::XAccounting, and implement
it in drawinglayer BasePrimitive2D.  VCL SvgData can't access
drawinglayer via C++ directly so this looks like the best approach.

Change-Id: I5a7c3147733e23473c1decabed24c1f79d951c7d
Reviewed-on: https://gerrit.libreoffice.org/30669
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-11-07 18:52:22 +00:00
Tor Lillqvist 38dc4ea899 Bin unused XSecuritySAXEventKeeper::cloneElementCollector
Change-Id: Icc0ead769fa0a052f7d4dfbc825c96dbb513b33f
2016-11-03 11:10:59 +02:00
Stephan Bergmann 1b98f38cfa css.xml.sax.XAttributeList is broken by design
In the Java interface it was reportedly copied from, getValue can return null to
indicate a missing attribute, but in UNOIDL that's not possible.  The workaround
that implementations of the UNOIDL interface resorted to is apparently to return
an empty string (another option would have been to throw an exception).

But the code in xmlsecurity appears to be written under the ill assumption that
getValueByName would return null for a missing attribute.  What the code as
written actually did check was whether the return value is an empty string
(because it picks the operator ==(OUString const &, sal_Unicode const *)
overload, which happens to treat a null second argument like an empty string).

Ideally, the code in xmlsecurity would have some way to tell a missing attribute
from an empty one (via some extended XAttributeList2, or by iterating over all
getNameByIndex, or ...).  But for none of the affected attributes it seems
expected that the attribute's value could be an empty string, so checking for an
empty string seems to work reasonably well in practice.  So keep it simple and
just check for an empty string properly.

Thanks to Tor for spotting that odd xmlsecurity code.

Change-Id: Ib068ee98ef818683a43309ab4d7c3a4731e8deff
2016-10-31 13:22:06 +01:00
Stephan Bergmann 40f186a732 Clean up #include line
Change-Id: I8fe49533c3aa2830cf068d9cad091f3c2ab0fbfd
2016-10-31 11:26:42 +01:00
Tomaž Vajngerl b1426b5b50 tdf#95014 initial support for 32 px icons in toolbar
This adds support for 32 pixel icons - mainly to get them into
the toolbar.

Most changes made are to change the behavior of having only small
and large icons as a boolean choice, but not every code path was
converted to non-boolean choice yet.

Breeze icon theme has the 32px variants so it can be used already.

Change-Id: Iadf832a87826c16b3a83522104dd6c35d61a0f87
Reviewed-on: https://gerrit.libreoffice.org/30398
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2016-10-30 18:00:05 +00:00
Samuel Mehrbrodt 6d9f07d53e tdf#102288 TerminationVetoException should only prevent termination
When using a TerminationVetoException, all windows should be closed,
but the process should be kept running.

Change-Id: I71b0b57b6035a36f0325c8dea3cd38309408f176
Reviewed-on: https://gerrit.libreoffice.org/29031
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-10-10 10:36:02 +00:00
Miklos Vajna 8fab6ab365 filter: don't loose signing description during pdf export
The free-form string attached to a signature is called description
during ODF/OOXML signing. The certificate chooser dialog has an input
field to provide that.  The PDF export dialog's signature tab reuses
this dialog, but also provides an an own reason input field for the same
purpose.

So in case the generic dialog's description field is filled, don't
simply throw away that string, but set the pdf export's reason field to
the same value.

XDocumentDigitalSignatures.idl is not a published interface and it is
used only internally, so the API change is only nominal.

Change-Id: I6d4cf0b3f586417a76a052dc30c960478a95c984
2016-10-07 15:35:56 +02:00
Caolán McNamara 2e59595423 [API CHANGE] Remove css::awt::XStyleSettings InfoTextColor and InfoFont
Change-Id: I2bee3f52a751ac1ed2b61a1488d6d58c1b36dcba
2016-10-05 20:52:29 +01:00
Andrea Gelmini c0bcdde2a0 Fix typos
Change-Id: I6aeda978911b25caa45d4e459e581fc743e93d2c
Reviewed-on: https://gerrit.libreoffice.org/29442
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-01 20:10:06 +00:00
Andrea Gelmini 6445d8d7d6 Fix typos
Change-Id: Icfc61fcc5ace717bca4bea988243674afe31e6f8
Reviewed-on: https://gerrit.libreoffice.org/29435
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-01 19:08:07 +00:00
Stephan Bergmann 62b2d8ff35 tdf#102630: [API CHANGE] Remove /org.openoffice.Office/Substitution tree
...from configuration (see issue for details).  Also, remove mention of that
configuration tree from the documentation of the css.util.PathSubstitution UNO
service.

Change-Id: Ia0373bc7d19e650b7954b7dbb934a578c96fcab5
2016-09-28 08:22:58 +02:00