Commit Graph

382810 Commits

Author SHA1 Message Date
Stephan Bergmann
b35e797ca0 Assume this shall be conditional on DBG_UTIL
...and not that MSVC-special _DEBUG

Change-Id: I927f1d49dcbb24fd8fb91032ded6215390c97d79
2015-11-02 23:13:49 +01:00
kripton
c5d16f557c tdf#74608 xmloff: Constructor feature for XMLMetaImportComponent.
Change-Id: I3f97625552bf993d67b537456e09c9acf3cba6b8
Reviewed-on: https://gerrit.libreoffice.org/19671
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-11-02 21:29:37 +00:00
Stanislav Horacek
e4f60820fd Updated core
Project: help  43d4ce551111e9acea598a4572bdc7959522accf

update description of Horizontal/Vertical Grid buttons

Change-Id: I5859c7f3d4a5dd7af8ee72f437d26dce68ee6e5d
Reviewed-on: https://gerrit.libreoffice.org/19729
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-11-02 21:02:50 +00:00
Stephan Bergmann
2e585c6f41 Let --enable-symbols only control emitting debuginfo, not optimization on Mac
...as on all the other platforms

Change-Id: I12def7c50b5aabf29e156e87321cd76d216191ad
2015-11-02 21:41:26 +01:00
Michael Stahl
c105a3f8a0 sc: MSVC doesn't do auto parameters
Change-Id: I4225281e280ea780805b3dc68ed63433f8466bc1
2015-11-02 21:39:05 +01:00
David Ostrovsky
1b218f3597 Pass emit-debuginfo flags to MSVC bridge_noopt_objects, if applicable
Since df62a2c81b gb_DEBUG_CFLAGS
was passed to bridge_noopt_objects target for MSVC to track
down EH breakage on 64 bit architecture. It was erroneously
done unconditionally. Fix it to only pass when one of:

--enable-dbgutil
--enable-debug
--enable-symbols

is present.

Change-Id: I2728c30156541be418c88a0ea284c0c6a16abba5
Reviewed-on: https://gerrit.libreoffice.org/19744
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-11-02 20:36:07 +00:00
Michael Stahl
f462cd39b9 sc: replace boost::ptr_vector with std::vector<std::unique_ptr>
Change-Id: I51d87693bdb3d57c36d8cafb851fdad10cd93589
2015-11-02 21:11:43 +01:00
Michael Stahl
9939a89c1e sc: remove unused boost::ptr_map ScRangeName::TabNameMap
Change-Id: I7967f0ee333eda4db320dc50bd91f2229792f0a8
2015-11-02 21:11:42 +01:00
Michael Stahl
64f3c1ecce sc: replace boost::ptr_vector with std::vector<std::unique_ptr>
Change-Id: I21719d513aa4af7a7f9621e19d529fd0c4425f58
2015-11-02 21:11:42 +01:00
Stephan Bergmann
1ab135c362 Handle case that pDock may have no items
...in code introduced with be1b03a4b0 "dock icon's
menu doesn't begin with separator anymore," causing CppunitTest_vcl_lifecycle to
fail

Change-Id: If6eb1f3a0f52d05284ac01f448888aaaa7523a98
2015-11-02 20:09:25 +01:00
Mario J. Rugiero
ae78051c22 Replaced boost::bind by std::bind in canvas/source/opengl/ogl_canvashelper.cxx
Chose not to use lambdas instead because the number of arguments in these calls
would have made it way too verbose, hurting readability.

Change-Id: I8662a937ec10ca0fac6cd7e0d78b6268e8023ada
Reviewed-on: https://gerrit.libreoffice.org/19707
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2015-11-02 18:21:45 +00:00
Eike Rathke
92a5be6b53 implement ScRefCellValue::operator=() without temporary and swap
... just ... why ... was ... that ... ? ...

Change-Id: I1bc1ea12600859872c6d238b1ef6fc55f6ff2e04
2015-11-02 18:48:30 +01:00
Eike Rathke
708bcf9055 trash usage of ScRefCellValue default ctor followed by assign()
... that only results in a performance penalty.

Change-Id: Ia161ab7fb03f2d32cf966ce9da9d0319d919fc4c
2015-11-02 18:07:40 +01:00
Eike Rathke
5bcc5a690f avoid construction of ScRefCellValue with default ctor, tdf#95419 related
... to just assign a new value, which takes a significant amount of time
(~13% of ScTable::ValidQuery()) in ScRefCellValue::operator=() due to
its implementation using a temporary and swap.

Change-Id: Ia205850e10c5fa9083eec5fb7563d98561b52462
2015-11-02 18:07:39 +01:00
Stephan Bergmann
4b3b605f33 Fix license header
corrupted with 7408498de3
"loplugin:stringconstant"

Change-Id: Ia7af4b7276fb30485f39e24c9afcdc82f7cef447
2015-11-02 17:54:19 +01:00
Stephan Bergmann
5e04886917 Remove spurious vertical whitespace
Change-Id: I077a17eada47b9c1509c21c18a6e4cd06172de3b
2015-11-02 17:53:29 +01:00
Caolán McNamara
a4ebfb2b74 afl-eventtesting: crash close impress with spelling dialog active
Change-Id: I1085b655a9a589f2e92edfdacfea6621d2f67d9c
2015-11-02 16:30:14 +00:00
Caolán McNamara
9bf204f9aa afl-eventtesting: can simplify this now we use QueryExit
Change-Id: Iddb96f51ed2fd2d7861e9448a7aa221d998ad2a5
2015-11-02 16:30:13 +00:00
Caolán McNamara
5d0ef0015d cppcheck: noExplicitConstructor
Change-Id: Ia5aba89f02ee4d99dd573599a3888731efb131b9
2015-11-02 16:30:13 +00:00
Stephan Bergmann
3f7c8ce1dc Don't rely on __builtin_alloca when creating a call stack
...at least recent Clang trunk ASan+UBSan build apparently adds instrumentation
code that made that (arguably optimistic) setup fail

Change-Id: I186a7abdfe5cc69e624583b1281d3989cefd7d53
2015-11-02 17:21:55 +01:00
Miklos Vajna
7c4733661b gtktiledviewer: adjust spreadsheet row/column headers on scrolling
Change-Id: I7ed9e19df071b6baf1e941faee24c332c7b5e804
2015-11-02 17:04:07 +01:00
Stephan Bergmann
3dbea3aa84 Pass emit-debuginfo flags into special bridge compilations, if applicable
(i.e., if any of --enable-dbgutil, --enable-debug, or --enable-symbols);
introduce gb_DEBUGINFO_FLAGS for the platform-specific flags

Change-Id: I4306fa30ced57d40d5b1206a0b26a886411118ef
2015-11-02 17:01:06 +01:00
Stephan Bergmann
3e7afe0037 Clean up osl_getSystemPathFromFileURL handling of relative //... URLs
(i.e., starting with an authority component); treating input starting with a
single slash (i.e., starting with an absolute path component) as a relative URL
instead of as an absolute pathname would cause e.g. CppunitTest_sal_osl_file to
fail

Change-Id: Ie340881974c5e9451ab7e0a9bfb21176b8f5666d
2015-11-02 16:41:29 +01:00
Michael Stahl
bf18f1b353 compilerplugins: add "badstatics" to detect abuse of VCL Bitmaps
VCL Image/Bitmap/BitmapEx instances must not have static life-time
because then they will be destructed after DeInitVCL() and that
likely segfaults.

Change-Id: I3ff8d32de729c971b190028094cb4efe206395e2
2015-11-02 16:39:19 +01:00
Mihai Varga
bcd8da6849 LOK: make use of MOUSEMOVE in calc
Change-Id: Ideb7bdabd86e95cf10c7f19f0900110b816970c2
2015-11-02 16:54:16 +02:00
Xisco Fauli
5654e8f2cf SVG: add import test for tdf#87309
Change-Id: I0f899fbab73ae43e09ca2afc18d956f42ec8b0a7
Reviewed-on: https://gerrit.libreoffice.org/19537
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-11-02 14:30:19 +00:00
Miklos Vajna
861b28b889 sc lok: fix rounding errors with non-100% zoom
There were two problems here:

1) ScTabView::getRowColumnHeaders() did not expose twip values directly,
but used ScRow/ColBar::GetEntrySize(), which does a twip -> pixel
conversion, and then converted it back to twip. Avoid this unnecessary
roundtrip.

2) ScViewData::ToPixel() trunaces the resulting float to an integer, so
if the result is e.g. 67.7 pixels, then Calc handled that as 67, but
gtktiledviewer rounded that up to 68, resulting in non-matching headers
for the rendered tiles.

Change-Id: Ie6ed1ea923a423d1526eeb235b7b87106fd2f20b
2015-11-02 15:18:34 +01:00
Miklos Vajna
901fa421e1 gtktiledviewer: show zoom in the status bar
Change-Id: I4ab00a269b0a8435a278f93e1d92d102a80c8506
2015-11-02 15:18:34 +01:00
Noel Grandin
97a392a036 fix build
after my commit 7408498de3
 "loplugin:stringconstant"

Change-Id: I1354207e1ecb6ebc76fcda3ed8eb8f369180eae8
2015-11-02 15:11:49 +02:00
Maxim Monastirsky
9fbdb3d37f Fix popup menu IDs after .ui conversion
Change-Id: I8955bee3ac2bb7a757c1f70dd46141833a068517
2015-11-02 15:10:38 +02:00
Noel Grandin
c7e36de238 loplugin:stringconstant
Change-Id: I736e0d63ed891aee1582844aff25b9bdacab8db9
2015-11-02 15:04:05 +02:00
Noel Grandin
7408498de3 loplugin:stringconstant
Change-Id: I865efc1884b82d430fe7df2e432d43f5425a83d4
2015-11-02 14:50:33 +02:00
Thorsten Behrens
368b657f4b Partial revert 'for_each -> range-based'
There was a subtle change in semantics, the earlier loop was only
iterating until aEnd, covering only unique elements of the vector.

This partially reverts commit c04fd82433

Change-Id: I75c5f1b343c3fa8855f6d7f8f706b9259bc9f6df
2015-11-02 13:45:45 +01:00
Caolán McNamara
364590a5fc afl-eventtesting: fix persistent mode
Change-Id: I96f75b51000811044b4407f8411d4e8cdba797c6
2015-11-02 12:36:19 +00:00
Katarina Behrens
ecc7308efa tdf#88276: New text background tab in char formatting dialog
Change-Id: I81880456d398e8bffd363626bac17ff9d54e7796
Reviewed-on: https://gerrit.libreoffice.org/19697
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-11-02 12:36:03 +00:00
Douglas Mencken
be1b03a4b0 dock icon's menu doesn't begin with separator anymore
... even when there's no open windows

Change-Id: I8c1d8f254e621d1867a100ad984f8b77ed8cfc5a
Reviewed-on: https://gerrit.libreoffice.org/19677
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-11-02 11:37:56 +00:00
Michael Stahl
021a5e7123 toolkit: pMouseEvt must not be captured
Its lifetime is bounded by the currently processed event.

(regression from 76e75d2dd6)

Change-Id: I4896b161295eeab3bbf08e59c5a82afac4338f08
2015-11-02 12:33:11 +01:00
Feyza Yavuz
63f90a97b6 tdf#65108 use <> instead of "" in include line
Change-Id: Ic1bb54d1e6d2c3f8c4215d8ececeb6353ad8ca45
Reviewed-on: https://gerrit.libreoffice.org/19717
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-11-02 11:33:52 +00:00
Chr. Rossmanith
49ee56064b SVG: don't use dashes if parsing stroke-dasharray fails
Change-Id: Ib256e4a4921e11defe7018f82273739c9ecc3105
Reviewed-on: https://gerrit.libreoffice.org/19735
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-11-02 11:23:25 +00:00
Stephan Bergmann
724f903f0c Resolve OSLTEST_DECLARE, OSLTEST_DECLARE_UTF8 macros
...and use something more direct than rtl::Uri::decode for the UTF8 case

Change-Id: I2f37d371c425dff6b068e3120be485e71b8e9e12
2015-11-02 12:22:45 +01:00
Xisco Fauli
25fbffcd44 tdf#87309: Use black as default currentColor if no color was...
...expecified in File - Open too.

Change-Id: I616e66a296d7c44e5a8784b3a5f32f14ce7a668d
Note: Chrome and Firefox use back as well so IMHO it makes sense to do it this way.
Reviewed-on: https://gerrit.libreoffice.org/19567
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-11-02 11:18:20 +00:00
Stephan Bergmann
dbf80fac45 Remove long-unused sal/qa/osl/socket/ test code for good
Change-Id: I2614e6c9f6d0a31866cb9821910da7f3e31377c6
2015-11-02 12:08:35 +01:00
Michael Stahl
de1a1e4bec xmloff: replace boost::ptr_vector with std::vector
Change-Id: I6aacf764513b8f789d925db2943f4bf6f0039674
2015-11-02 11:43:13 +01:00
Michael Stahl
7c5d52999a xmloff: replace boost::ptr_vector with std::vector
Change-Id: Id7c1a28370f35fce7d885041a18e81a89defb69c
2015-11-02 11:43:12 +01:00
Michael Stahl
2ab470665f xmloff: replace boost::ptr_vector with std::vector<std::unique_ptr>
Change-Id: Icb51f02ca761d683d926135fcaedc1164cd1ae8d
2015-11-02 11:43:12 +01:00
Michael Stahl
02b7f3d1a2 xmloff: replace boost::ptr_vector with std::vector<std::unique_ptr>
Change-Id: I3270237a8691a5f5f4495be8cf2e290cac0b2fcd
2015-11-02 11:43:11 +01:00
Noel Grandin
2530812476 loplugin:stringconstant
Change-Id: Id051dd984c24fb34dcc89060ed11955fed61fd48
2015-11-02 12:41:26 +02:00
Noel Grandin
5797d29e9e use uno::Reference::set method instead of assignment
Change-Id: Ic979f8a7734d0ef7a915d47a875cdcd460c0cc58
2015-11-02 12:23:16 +02:00
Caolán McNamara
4ea0390faa cppcheck: noExplicitConstructor
Change-Id: I06186e8f0bbc8522f538e8639a68e816093becc2
2015-11-02 10:16:38 +00:00
Miklos Vajna
708d1c5ab2 sc lok: emit RowColumnHeader info in twips
As that's the unit we use everywhere else in the LOK API. Also, make the
ScGlobal::nScreenPPTX/Y calculation more precise, otherwise rounding
errors occur during the pixel -> twip conversion.

Example with the old precision: col height is 103 px, nScreenPPTY is
0.067, twips is 1537.3134328358208, convering it back is 102.487562189
px.

Example with the new precision: col height is 103 px, nScreenPPTY is
0.0667, twips is 1544.2278860569716, convering it back is 102.948525737
px.

Change-Id: I19f5285508ef0c751614d07969b3a7a037e7d1ec
2015-11-02 10:57:44 +01:00