403477 Commits

Author SHA1 Message Date
Michael Stahl
178f530697 sfx2: if the exception thrown by filter isn't known...
... then don't silently ignore it but just abort.  Evidently this cannot
happen, because if it were a real possibility the author of this
exception handler would have at least called SetError here.

Change-Id: Iaa5f1f1d4cac388ae08214f6031a8bc279e6fceb
2017-02-07 23:02:18 +01:00
Caolán McNamara
54380811ac ofz: get the font info early inside leak disabled code
cause we don't have a tear-down to release it

Change-Id: I86a72288a1ed03bf5fc5b6a00d9067f3f1063580
2017-02-07 20:42:29 +00:00
Stephan Bergmann
8c2f9bb5b8 Remove duplicate documentation comment
Change-Id: I5215f4a27a5fde9e34ba1dce0a6f68f8dfbf0f97
2017-02-07 21:10:12 +01:00
Maxim Monastirsky
4d4d25ee6f Always use split button for .uno:CharBackColor
Change-Id: I4dd01ec8692fff77a94d6fa698e438581f6dbf37
2017-02-07 21:34:58 +02:00
Maxim Monastirsky
5350dfca60 tdf#105631 Notebookbar doesn't use wide buttons
So we want non-split behavior only in SidebarToolBox,
not in the derived NotebookbarToolBox.

Change-Id: I064bbe59b97da301a13889ad78a31227cfd693ee
2017-02-07 21:34:58 +02:00
Stephan Bergmann
afe76d1a4e SDK, just stop tampering with my term's title
Change-Id: If053466ed5f2e74ea4b73719f6e07789c055998d
2017-02-07 20:34:13 +01:00
Stephan Bergmann
ccc827a593 Blind fix for build
Change-Id: I0e992eb2e10c71de1e04b9283a012c8e8f229612
2017-02-07 20:25:38 +01:00
Stephan Bergmann
da147a4e64 Clean up C-style interface nonsense
Change-Id: Ie9a1e106f5270fd307d211fa334449c698acf25d
Reviewed-on: https://gerrit.libreoffice.org/34010
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-02-07 19:23:01 +00:00
Jochen Nitschke
bddc774795 remove CREATE_OSTRING macro
Change-Id: I7d5e1570918adc3b0cf2063d9735414233011a81
Reviewed-on: https://gerrit.libreoffice.org/34009
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-07 19:06:16 +00:00
Michael Meeks
58d4a3122c tdf#104870 - keep reference on the TitleBar while setting title.
Unlikely to fix the issue, but may help.

Change-Id: I3c319f550e86f2ab731b072d86d258dca12d34fa
Reviewed-on: https://gerrit.libreoffice.org/33998
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2017-02-07 18:56:16 +00:00
Caolán McNamara
555e1ff4cc bubble the original gtk surface type through rendering
this may make scrolling a tad faster

Change-Id: I0c2cc9df85932e25dbfed88727d3b83d299671c7
2017-02-07 16:41:51 +00:00
Xisco Fauli
f9d0f55b2e tdf#79236: Add uitest
Change-Id: I916438d688ec24c67b581bf2e025215dda228e97
Reviewed-on: https://gerrit.libreoffice.org/34000
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
2017-02-07 16:40:54 +00:00
Stephan Bergmann
cc33a1ccda Remove MINGW_CLIB_DIR left-over
...after b28f25aa9eeed71bd3f399a9c8fc4f1497b92e82 "MINGW_CLIB_DIR is unused"

Change-Id: I8395d492120455378ec001e37428a645aa879440
2017-02-07 17:19:18 +01:00
Stephan Bergmann
95c7b3693a Remove HAVE_NON_CONST_NPP_GETMIMEDESCRIPTION left-over
...after 4c18af27bf95b332ee2006cfc0bbf469fb1a84d4 "tdf#96398 kill remaining
NPAPI support for plugins _inside_ LO"

Change-Id: Ide62fa142108562c191ca95ab307638178476fea
2017-02-07 17:16:34 +01:00
Stephan Bergmann
2ff37ae383 Remove GNOMEVFS left-overs
...afer b40b6010077f875565ce90cd995222451e37321c "ditch gnome-vfs2 support"

Change-Id: I0a57da5f2d810e78837035c86ee1f03ae33aacd8
2017-02-07 17:13:28 +01:00
Caolán McNamara
321d970e2f flatten ShellResource resource
Change-Id: Ib071a21778289f4dc68273cb305d38bf260a31a7
2017-02-07 16:10:46 +00:00
Stephan Bergmann
2ec697a77f Remove DBUSMENUGTK left-overs
...after 4e7f9650e2a32b648cbd50ab113955920f960354 "remove ancient lo-menubar
implementation now that we have the shiny new one"

Change-Id: I49e7a5489279aaf3469d14c4e9d75245203c5937
2017-02-07 17:06:37 +01:00
Caolán McNamara
6684945304 convert resources containing strings to stringarray resources
Change-Id: I61e815a9545f55a3b886322e7d2c0d50040584bd
2017-02-07 15:38:57 +00:00
Caolán McNamara
6efdd843c8 Related: tdf#105371 we can do this with a sizegroup
Change-Id: Ie37a3d960ec244033f2b05e7a902c7a23ba9b94d
2017-02-07 15:38:57 +00:00
Stephan Bergmann
c504923421 Replace macro with function
Change-Id: Icb4488ea38b99a329a071063292db4001799ecc8
2017-02-07 15:50:44 +01:00
Michael Meeks
e5b0627589 configmgr: add SAL_CONFIG_WINREG_RETAIN_TMP variable.
Windows registry dumping behaves very strangely, and in hard to debug
ways - this should help in-the-field debugging of this in future.

Change-Id: Ia35d58a8be36d1b683db39ae7d2128a3ccfd10a5
Reviewed-on: https://gerrit.libreoffice.org/33992
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2017-02-07 13:38:47 +00:00
Stephan Bergmann
3b9073d2ba Bring back initui.hrc
...presumably missing from 19ea3db6d33e8e1de57104e42796454757facd45 "revert
unready stuff"

Change-Id: I74ab88dc1bd1bdd92d8bebc3120d036f032f5049
2017-02-07 14:32:27 +01:00
gkorepanov
9f44d19815 Made lcl_DrawDashedRect() more readable and faster a bit
Change-Id: I58e06f090248e034541e276f11cecef8b26e874a
Reviewed-on: https://gerrit.libreoffice.org/33394
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2017-02-07 13:21:49 +00:00
Caolán McNamara
19ea3db6d3 revert unready stuff
Change-Id: I2b112a17a2bc70bfe4d5a6af7964a3c1d7eacf9b
2017-02-07 13:09:31 +00:00
Caolán McNamara
eee0206831 interim convert to ResArray
Change-Id: I74c8ad1242611321401f6282dfbce3205977394a
2017-02-07 13:07:58 +00:00
Caolán McNamara
e51f247484 flatten ShellResource resource
Change-Id: I6094f86eb7da89ba5e21be909417b23f9f375351
2017-02-07 13:07:58 +00:00
Caolán McNamara
1c48275a28 convert resources containing strings to stringarray resources
Change-Id: I8a306b417dcf533a148e34a6314e37589dcdda12
2017-02-07 13:07:57 +00:00
Caolán McNamara
7863798f2a bubble the original gtk surface type through rendering
this may make scrolling a tad faster

Change-Id: I5f11f9b3196c3d42c82ac03bc332ef84189f3737
2017-02-07 13:07:57 +00:00
Caolán McNamara
5ddf5d8dc6 there is no cnt (chaos) resource file anymore
Change-Id: I97f0606c6003ca12c651841ec26145728fc5c808
2017-02-07 13:06:28 +00:00
Caolán McNamara
a44e94a453 replace calculation to get RID_SVXERRCODE with RID_SVXERRCODE
presumably a hackaround from old deliver-headers era

Change-Id: Idbaeec7bb8523776045ce5355235a4397b2195e4
2017-02-07 13:05:59 +00:00
Edmund Wong
70b70d07ad Fix check_flies.py to be more pythonic
Change-Id: Id5f44aaa97539b7ec97b81b39da30bd8d170c011
Reviewed-on: https://gerrit.libreoffice.org/33139
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2017-02-07 12:54:46 +00:00
Mark Hung
aa9251103a tdf#105286 use alternative font when glyph is not vertical.
In vertical layout, a vertical font is selected. For windows,
that means prepending a '@' to the font name. Switch back to
the one without '@' in order to display characters that needs
to be rotated 90 degrees in vertical layout correctly.

Change-Id: I4e0361929f898eddc671b739b36a12dd26d68018
Reviewed-on: https://gerrit.libreoffice.org/33064
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2017-02-07 12:40:05 +00:00
Caolán McNamara
d18089ec0a animation duration/scale etc don't fill horizontal space
Change-Id: Ie211827c2f8231384b98fb08e0371a839e3dc41c
2017-02-07 12:35:22 +00:00
Caolán McNamara
5601c77e99 fix oss-fuzz build
Change-Id: I0e292bcca27035b316bcf0c93dbd6c87e3f93e3b
2017-02-07 12:35:21 +00:00
aleksandar-stefanovic
23f39d7283 android: move sort options to separate menu
This is one in a series of commits of trying to unclutter the context
menu, which was pretty unorganized.

Change-Id: I8a9473041730492a0b60c6b71fd7fd7996cedd89
Reviewed-on: https://gerrit.libreoffice.org/33768
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2017-02-07 12:07:26 +00:00
Noel Grandin
05e78bde26 create ErrorHandlerFlags scoped enum for error handling flags
Change-Id: I30c80979c87bad7bc98f36a158c31c88d80d1caf
Reviewed-on: https://gerrit.libreoffice.org/33991
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-07 12:04:35 +00:00
Stephan Bergmann
7edbe65298 Clean up some OUString creation
Change-Id: I62d312436432939d28aced7cfc4a018adbd94c8c
2017-02-07 13:03:13 +01:00
aleksandar-stefanovic
62cad676e9 Add recents files to the document browser
The recents mechanism works like this:
Every time the file is opened, it saves that file to the shared
preferences set, by putting it in the first place, and removing the
oldest file from the list, if there are more than 4 recent files.

It also adds dynamic App Shortcuts if the device is 7.0 and above.
Screenshot: http://imgur.com/a/7kWOl

Edited the layout to add a new RecyclerView for recent items, as
well as the headers for both the recycler view's. Recent files
appear only if in home directory, below app bar and above the
file browser. This could be subjected to change in the future.
Screenshot of the recents section: http://imgur.com/a/qrqZq

Change-Id: I5c99aa26351d9ad2313e18b5b696d04a782e6155
Reviewed-on: https://gerrit.libreoffice.org/33759
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2017-02-07 11:48:15 +00:00
Cor Nouws
ae1b9d55ee tdf#90436 - better wording for selection in case of PDF export from Calc
improved patch

Change-Id: I6baf39db88d3fe9322c573a288243689d1696d7f
Reviewed-on: https://gerrit.libreoffice.org/33977
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2017-02-07 11:37:24 +00:00
aleksandar-stefanovic
7d6269ecc9 Removed static context from DisplayPortCalculator
Refactored many fields of DisplayPortCalculator to not be
static, so that they could use the Context object from the
constructor. Once refactored, the static context object could be
removed from LibreOfficeMainActivity.

Change-Id: Ic23030b74a24c753a4a2d2086fc6301eeb9d8728
Reviewed-on: https://gerrit.libreoffice.org/33765
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2017-02-07 11:27:55 +00:00
Bjoern Michaelsen
94a870fd21 a2ndIter is unused now
Change-Id: I123bfda1c22350580f20b8f66cf7d855297c28d1
Reviewed-on: https://gerrit.libreoffice.org/33979
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2017-02-07 11:15:09 +00:00
Zdeněk Crhonek
105e5efeff add VAR.P, VAR.S, VARA, VARP, VARPA, WEIBULL, WEIBULL.DIST test case
Change-Id: I641af07bdf212e3d439bf018aa52a2a17fdd5a54
Reviewed-on: https://gerrit.libreoffice.org/33975
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Zdenek Crhonek <zcrhonek@gmail.com>
2017-02-07 10:16:52 +00: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
Tor Lillqvist
90aac3a3fd Our GetSystemTicks can now again return negative 32-bit values on Windows
See 93bde3156284df4419c49447cbf455de9d74f00a .

Change-Id: Ib41c2d525faab2bedab10f91c3a4f62f94870e10
2017-02-07 11:55:55 +02:00
Miklos Vajna
dd2837ac65 sw RTF filter: add \leveljc1 testcase
lcov pointed out this had no coverage previously (unlike the 0 and the 2
case).

Change-Id: Iaa480015d1ddfe7c489a3cbbf079a38d20e6d45c
Reviewed-on: https://gerrit.libreoffice.org/33987
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2017-02-07 09:20:11 +00:00
Noel Grandin
b5e3f8a5fa remove ugly operator* in DynamicErrorInfo
I can see why you'd want to hide this horrible tunnelling of
information with objects registering themselves in a global list.
Urrgh.

Change-Id: Ib151a0d2d5a4508dc456e52883e488ce56d9a095
Reviewed-on: https://gerrit.libreoffice.org/33984
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-07 09:12:58 +00:00
Stephan Bergmann
bcb8aaf652 Clean up tabs
Change-Id: I6b121e9e1e78afed2c14946dcc7d734c28b07495
2017-02-07 09:55:31 +01:00
Noel Grandin
c421cab5bd remove more STR_FROM_ANSI macro
Change-Id: I0957d1162c7b5bf8f52c7a79aaced667961d40a3
2017-02-07 10:48:19 +02:00
Noel Grandin
99330e7b35 convert ScaCategory to scoped enum
and drop unused AddIn constant

Change-Id: Ic775e3c956c7200bb04be0a776a688284ba9d19b
2017-02-07 10:48:19 +02:00
Noel Grandin
4dc6dee3aa remove unnecessary STR_FROM_ANSI macro
Change-Id: I262158991a83083f999b0ae48da4ed4d77fc57fe
2017-02-07 10:48:19 +02:00