403714 Commits

Author SHA1 Message Date
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
Noel Grandin
75b7b685ce convert ScaCategory to scoped enum
and drop unused AddIn constant

Change-Id: I4422f34db756649cb08aa9aa7f975cef73ccfa91
2017-02-07 10:48:19 +02:00
Noel Grandin
de9c7e4d94 convert FDCategory to scoped enum
and drop unused AddIn constant

Change-Id: I9cb07d58d7c986973d9713572538ce2142654397
2017-02-07 10:48:19 +02:00
Takeshi Abe
f31d07b546 connectivity: Remove leftover OEvaluateSet
Change-Id: Ia8ecabb426c969a02174b399a479dfb337b36a79
Reviewed-on: https://gerrit.libreoffice.org/33983
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-02-07 08:47:11 +00:00
Juergen Funk
f57424cc4c tdf#104101 Improve the session management handling
- Set the current time to the SessionID
 - Split the SetProperties-Data, and send
   DeleteProperties for DiscardCommand
   (above both topic is the same as kate and
    plasma-desktop to do)

 - in statusChange the saveDone was not called, and
   call only once the saveDone
 - in shutdownCanceled must be send the saveDone too

Change-Id: I42855c75b88b5d651ef8091947e359dc2c3f9209
Reviewed-on: https://gerrit.libreoffice.org/33215
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-02-07 08:44:10 +00:00
Juergen Funk
d8ccf8cf7a Stop question in context of session manager when cancel a frame
When shutdown or logout, LO make the question for all open
windows, but when you cancel a window the question for the other
windows are not necessary, this patch breaks the other questions.

 in dependency of tdf#104101

Change-Id: I7119317d392ccd808c67fb57f82b1e990062abf2
Reviewed-on: https://gerrit.libreoffice.org/33311
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-02-07 08:41:52 +00:00
Stephan Bergmann
d8546e9781 ...but on macOS we do need the SDK-augmented DYLD_LIBRARY_PATH
...because the executables in SDK's bin/ dir find LO's URE libs that way

Change-Id: I7fe88638760afc24d639c6162656ee40c05e6814
2017-02-07 08:59:23 +01:00
Stephan Bergmann
e809b3723b loplugin:useuniqueptr (clang-cl)
Change-Id: Ic5daf83e77ebe4dcac1c6eba8e7dab1cc0368046
2017-02-07 08:57:03 +01:00
Noel Grandin
b2453d1f41 convert DEBUG_TIME to scoped enum
Change-Id: I91b286d8415ebc8c6675aca6ee143850c956c74b
Reviewed-on: https://gerrit.libreoffice.org/33986
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-07 07:43:32 +00:00
Noel Grandin
3aeaa73a2e remove unused constant from SdrHintKind
Change-Id: If48ac2b312e4363c7d6d426e315766105176114b
Reviewed-on: https://gerrit.libreoffice.org/33985
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-07 07:43:20 +00:00
Stanislav Horacek
fb8a324402 mark numbers in compress dialog as untranslatable
Change-Id: Id7761bdc7569c84a5f4edc5d2c7d764ea1ccd506
Reviewed-on: https://gerrit.libreoffice.org/32814
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2017-02-07 06:41:45 +00:00
Noel Grandin
77a7a92f85 convert CursorType to scoped enum
and drop unused CURSOR_INVALID constant

Change-Id: I190908a03317f93d247c0a9c806c70bb286b8ecb
Reviewed-on: https://gerrit.libreoffice.org/33964
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-07 06:41:00 +00:00
Noel Grandin
93bde31562 Revert "[API CHANGE] return sal_uInt64 from GetSystemTicks in basic"
This reverts commit fce604c8ae11b462113305aba080d77f8193cfea,
and fixes
  tdf#105735 - xray ThisComponent no longer works
in the process.

It turns out Basic doesn't support sal_uInt64 very well, so lets rather
have a small possibility of bad timestamps instead of broken scripts.

Change-Id: Ic00485bd517a4fc61e05632001c9a5f92e05ddd6
Reviewed-on: https://gerrit.libreoffice.org/33972
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-07 06:02:23 +00:00
Noel Grandin
d16e1336f0 convert IcnViewFieldType to scoped enum
and drop unused IcnViewFieldTypeDontknow constant

Change-Id: I583c05d8b312b0e4fb291fa4ce8d0989318f79df
Reviewed-on: https://gerrit.libreoffice.org/33966
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-07 06:02:13 +00:00