Commit Graph

384547 Commits

Author SHA1 Message Date
Michael Meeks
5304bef5ff Cleanup last, partial include redux patch.
Change-Id: I1f6f9d4a1b7fae33529ae386e8733b5063de53b0
2015-11-26 14:11:56 +00:00
Michael Stahl
e1628be851 vcl: fix build
Change-Id: I51d992e9befc78f6e429480e29bfb78e9be87ac2
2015-11-26 14:58:20 +01:00
David Ostrovsky
db8074cb7b Mork: Reuse profile discovery from mozilla bootstrap
Mozilla bootstrap driver is used in xmlsecurity to discover default
profile and induce the path to the public keys file location from
certification authorities. The same profile discovery code is used
in mork driver. Remove duplicated code and re-use the service from
mozilla bootstrap driver in mork driver.

Change-Id: I6bc271ccf75e89eb81767186ddd9078c1f64b73d
Reviewed-on: https://gerrit.libreoffice.org/20111
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2015-11-26 13:41:22 +00:00
Michael Meeks
795c61e052 gengal: create an ini / rc file - to bootstrap services properly.
Change-Id: Ib2042d6419dafcd62aaec95efb844cb09833c266
2015-11-26 13:48:23 +00:00
Michael Meeks
ed6aceab08 vcl: reduce pointless timer / scheduler / idle includes.
Change-Id: I8bf7f8d6ba1a54f2969e055956fadc52ff6c8673
2015-11-26 13:48:21 +00:00
Stephan Bergmann
bc8dcb2b5d -Werror,-Wunused-private-field
Change-Id: I70e753b1532fe465d378b8b4b0bbd2b7582130fe
2015-11-26 14:17:38 +01:00
Stephan Bergmann
e65233abd4 -Werror,-Wunused-private-field
Change-Id: I4649381a330bc4e9d4f419137f0393f6f35bea17
2015-11-26 13:47:36 +01:00
Noel Grandin
93ca224721 com::sun::star->css in xmlscript/
Change-Id: I8ead2862ef429a0ac3fc16fe6ca5dfc9e5f549bc
Reviewed-on: https://gerrit.libreoffice.org/20193
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-26 12:21:24 +00:00
Xisco Fauli
fa17cfd7e0 tdf#96046 SVG: Parse 'em' and 'ex' units correctly
the problem is that real_p parses the 'e' in 'em' and 'ex' as the exponential 
operator instead of as a str.
Change it to parse sequencies like: (11) (1.1) (1,1) (.1) (,1) (1.) (1,)
but now the parser returns a std::string so we need to convert it to double,
and make sure the commas are converted to dots too.

Change-Id: I913be7975e7db1be4773f528fd0d586db67c9461
Reviewed-on: https://gerrit.libreoffice.org/20181
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-26 12:18:05 +00:00
Mark Hung
4424daa225 tdf#91288 Does not display traditional Chinese variant of
Noto fonts correctly.

LanguageTag()::getLanguage() would always return "zh" despite
traditional Chinese were choose. hb_language_from_string()
requires iso639-3 language tag except for Chinese, so
we use use Bcp47() language tag for Chinese to differ zh-CN and
the others.

Change-Id: I6700a79a9c49a97d840b430def77741912935f72
Reviewed-on: https://gerrit.libreoffice.org/20027
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-26 12:09:33 +00:00
Stephan Bergmann
e014761161 -Werror,-Wunused-private-field
Change-Id: I7e00f9b90fb910a8ac0fa934887d276ef2e0ba89
2015-11-26 13:07:35 +01:00
Michael Meeks
fbdeef6b7f vcl: fix event processing to idle - for JUnit tests.
Change-Id: Ibeb1f6627815fc34c6e166357c88e076b75f6abb
Reviewed-on: https://gerrit.libreoffice.org/20197
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-26 12:03:32 +00:00
Stephan Bergmann
efa5c54373 -Werror,-Wunused-private-field
Change-Id: I3f328023d99d3505ab2ce2a80eef82d84d81446e
2015-11-26 12:59:32 +01:00
Stephan Bergmann
e336d7f80f Remove unused MSO_ShadeType
<sberg> vmiklos, any idea how useful the definition of enum MSO_ShadeType in
include/svx/msdffdef.hxx is?  Neither the type nor any of its enumerators are
used anywhere, so it's rather glorious documentation of some (presumed) MS API

vmiklos> sberg: doesn't look too useful, i guess the context is color shading in
binary MSO files, but then that's handled in
filter/source/msfilter/msdffimp.cxx:1069, and the ShadeColor struct already
describes what is in the spec.

Change-Id: Iae4c12828179173368ff17128bcaa80edaa3db23
2015-11-26 12:40:26 +01:00
Stephan Bergmann
c4ecd6c493 That SB variable was a temporary debugging aid
...inadvertently checked in with 7bcf64c29a "Add
isReadOnly() support to simplified configuration access"

Change-Id: I9b8b477f682605fcdcf65f8e1255524d010495be
2015-11-26 12:39:03 +01:00
Michael Stahl
e6e409b684 vcl: OutputDevice::GetTextArray() should always init pDXAry
CppunitTest_writerperfect_writer file libmwaw/pass/Acta_1.0.hqx uses the
font "Courier", and for unknown reasons we can't properly load that
font, because the PhysicalFontFamily::mpFirst for "courier" is null.

This causes OutputDevice::GetTextArray() to fail to create a SalLayout
and return early before initializing the passed pDXAry, which then
generates lots of DrMemory warnings.

Let's hope the callers are happy about an all-0 pDXAry.

Change-Id: I07b29a59660cf5cd060fd77da5d96021f9d8f9f5
2015-11-26 12:31:24 +01:00
Michael Stahl
b6e354b26b vcl: warn if we can't set a new font in OutputDevice
Change-Id: I7708590d0c8564271f76e8b80adc566022e6916e
2015-11-26 12:31:24 +01:00
Noel Grandin
a508f639a0 mark UNO structs as SAL_WARN_UNUSED, where possible
Change-Id: Ie3de518f60c9f1313c68df54dbdc1fb2804f1f0d
2015-11-26 13:26:25 +02:00
Noel Grandin
abc6071b7a loplugin:unusedfields various
Change-Id: I18f94269a1172cf195ee402384f7144610e1e82d
2015-11-26 13:26:25 +02:00
Pedro Giffuni
7c2edb3a67 i126615 - Allow build on FreeBSD Mac PowerPCG5
These appear to have been missed from earlier effort

Brave attempt by: Curtis Hamilton

(cherry picked from commit abb9cd92ab4614d606df8ced0d57916dcb04289c)

Change-Id: Ia778e090c46220d83388ea1a9485b9009787f191
2015-11-26 11:19:33 +00:00
Stephan Bergmann
bb1b341c94 Avoid implicitly declared members of EDITENG_DLLPUBLIC class
...implicit definitions of which, under the MSVC ABI, would need to be emitted
into every editeng .cxx that happens to include this file, but which would fail
for the

  VclPtr<vcl::Window> pWin;

member wherever vcl::Window happens to be incomplete.

Change-Id: I0a1cc61af086f3a3235a995c34834bc131531b84
2015-11-26 12:15:25 +01:00
Noel Grandin
80735fcbb0 com::sun::star->css in xmloff/
Change-Id: Iee6e21e093fb1383f19a0716dbc1c341f446b8c2
Reviewed-on: https://gerrit.libreoffice.org/20192
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-26 10:47:02 +00:00
Eike Rathke
4112ecadd5 TableRef: write <tableParts> before <extLst>, resolves tdf#96049
Excel expects this order, so let XclExpTables be managed as
XclExpRecordBase in the sheet's XclExpRecordList.

Change-Id: If2cefc255c74688661e861a26218564117b1e3ce
2015-11-26 11:40:06 +01:00
Caolán McNamara
7caa7ed283 restrict this for > cairo 1.10.0 for now
Change-Id: I845a1b045a4e83c35cf1a837c7e520e3b0890c29
2015-11-26 09:42:21 +00:00
Caolán McNamara
5d7bd6b929 default to trying the linux bridge for all linuxy like things
Change-Id: I1fcf3afadefcd5af472523fd8fca123fb3ab4095
2015-11-26 09:33:37 +00:00
Caolán McNamara
4584e3a6df test for IsMouseCaptured before releasing mouse
like the other call sites do

Change-Id: I77250f172f9d9ce97e5982bafbc8f042e9343acc
2015-11-26 09:19:52 +00:00
Caolán McNamara
5e1546ccbc downgrade warning to info
Change-Id: Ia607226f73020396e3f47a13d304272b0143668c
2015-11-26 09:19:52 +00:00
Miklos Vajna
16677bbdb8 compilerplugins: adapt comment
...after 49c2b9808d
"bin/rename-sw-abbreviations.sh"

Change-Id: Ibd74246403bead8100d181b335f9145013f31e5e
2015-11-26 10:18:52 +01:00
Stephan Bergmann
d972dd9ad8 SfxStyleSheetBasePool::Count returns sal_uInt16
Change-Id: I2485fd38d03bd63ae83e3643771767e533c7da83
2015-11-26 10:11:14 +01:00
Stephan Bergmann
8830956414 Adapt whitelisted names
...after 49c2b9808d
"bin/rename-sw-abbreviations.sh"

Change-Id: I90cec551bdc52ea4d76dd9e32b45692e8a3be70f
2015-11-26 09:58:15 +01:00
Miklos Vajna
21713893a4 cid#1340232 uncaught exception
Change-Id: Idb80a055aca67a3fb90aef597ace932f47af8e05
2015-11-26 09:45:45 +01:00
Miklos Vajna
ca8a039644 cid#1340231 uncaught exception
Change-Id: I69f2078093c2c23ae0a02a6a292e51fdbdde9ed4
2015-11-26 09:45:45 +01:00
Maxim Monastirsky
ff35d252ff tdf#93837 Add UNO-based SmartTag menu controller
... and use it for the standalone context menu. The sfx2
controller (SvxSmartTagsControl) is still used for the
submenu variation, and is due to be removed after the new
context menu implementation is in place.

Change-Id: I2f889428eb777149f43d74cf3d081e19ab0ebb4a
Reviewed-on: https://gerrit.libreoffice.org/20169
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2015-11-26 08:19:23 +00:00
Noel Grandin
8d6136206f Revert "no-one passes explicit values for these defaulted params"
This reverts commit 97978f7f01.

breaks unit test CppunitTest_sw_ooxmlimport
2015-11-26 10:02:21 +02:00
Miklos Vajna
c13f5bc2bc Use comphelper::containerToSequence()
Change-Id: I8c8277d47c2ab0e2bf5fad68bbfc45dea71d6c34
2015-11-26 08:54:55 +01:00
Noel Grandin
ce5024ad52 loplugin:redundantcast
Change-Id: I3fd7b6f8215bdd9e482cc81522a70cabc0080c4f
2015-11-26 09:26:13 +02:00
Noel Grandin
3d8a01b0c8 expression result unused [-Werror,-Wunused-value]
Change-Id: I57b44c1997ac286fcb4caf8e3027e3b5996fc377
2015-11-26 09:17:21 +02:00
Takeshi Abe
b2b4184edb starmath: Prefix members of SmCaretDrawingVisitor
Change-Id: I9d033a67f6073f3da368f8241ac48c7d391b89c9
Reviewed-on: https://gerrit.libreoffice.org/20080
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-26 06:46:38 +00:00
Noel Grandin
97978f7f01 no-one passes explicit values for these defaulted params
so just remove them

Change-Id: I9b883d9e10bf5bf156fa4b85f45ade54ccd50878
Reviewed-on: https://gerrit.libreoffice.org/20168
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-26 06:44:02 +00:00
Michael Meeks
766524b13b vcl: further fix debug name cleanup.
Change-Id: Ia95c4893773bec77fe2ddf1a85e8687ab6776e10
2015-11-25 23:38:49 +00:00
Andrzej Hunt
1abd8d9e00 Convert to range based for
(This was also used for testing loplugin:rangedforcopy)

Change-Id: I246994feb7bf66d337b76e3f02d7fea2cb13d42a
2015-11-25 15:26:43 -08:00
Andrzej Hunt
96ee91aea6 add const in ranged for
Change-Id: I0f55705e101e39e9e6e5286f21cad8ccb96e7fad
2015-11-25 15:26:43 -08:00
Michael Meeks
87d41e3b7d vcl: cleanup scheduler debug name usage.
Change-Id: I94975d220452ca91cbbd9db5e7895fa0b3a88e4a
2015-11-25 23:33:21 +00:00
Michael Meeks
10a451e979 vcl: don't treat non-ready timers as idle handlers.
Fixes the busy-loop - 100% CPU all the time.

Change-Id: I965f62d6a6f2ec1830c0897dd97179a739c70afc
Reviewed-on: https://gerrit.libreoffice.org/20186
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-25 23:22:06 +00:00
Michael Meeks
9c554c2c8c vcl: improve scheduler debugging information.
Change-Id: I6f7d7d3b5b027097417a15804a42aaaab4a03158
Reviewed-on: https://gerrit.libreoffice.org/20185
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-25 23:15:42 +00:00
Michael Meeks
458f01c577 vcl: timer - avoid expensive and pointless re-fetch of current time.
Change-Id: I1423de820ec40340d2ddb9030106b813e488f2f3
Reviewed-on: https://gerrit.libreoffice.org/20184
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-25 23:04:58 +00:00
Jan Holesovsky
55d0a5e43c rename-sw-abbreviations.sh: Avoid test documents in complex tests.
Change-Id: I596cac73218c30edc6e9c41555a120877cd5ee47
2015-11-25 22:49:32 +01:00
Pedro Giffuni
c6dbbdf851 i125711 - Illumos port: generalize MAX_ALIGNMENT for Solaris
GCC in Ilumos appears to behave exactly like the Solaris SUNPRO
compiler so generalize the case for Solaris.

(cherry picked from commit e1da117c49fc02af9543e32526bf1c04657534c4)

Change-Id: I3fa619f34c35608b187c3aa394552ac78c3f0c20
2015-11-25 20:59:45 +00:00
Damjan Jovanovic
d5443023ef #i117960# Basic: Line Input doesn't work in single-line If
i92642 added the ability to use certain keywords as variable names (eg. name = 1, line = "hi"),
but also caused a regression where "Line Input" is broken in single-line If statements.
This patch fixes that by allowing Then and Else to also be the start-of-line tokens expected to
immediately preceed the "Line" token in order for that "Line" token to be recognized a keyword instead
of a variable name. Also added FVT spreadsheet tests for "Line" as both a variable name and as "Line Input".

Patch by: me

(cherry picked from commit f8a51d0f5a645704bc2bdc939474ac931d55559c)
2015-11-25 20:46:26 +00:00
Caolán McNamara
db884459a0 gtk3: use cairo to do drawAlphaBitmap with scaling
now we're beautiful

Change-Id: If688a89c3a65b7f9bb01890f8ddc81fc6cc8c2b8
2015-11-25 20:43:01 +00:00