summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-26-Werror,-Wmissing-field-initializers (clang-cl)Stephan Bergmann
Change-Id: I93e04007fcf4f9ff9a5da01b4c7d64904fdf2b87
2016-01-26-Werror,-Wunused-private-field (clang-cl)Stephan Bergmann
Change-Id: Id60b0ecbfd2599ad9bc7e9aa60c3dbda78edc825
2016-01-26wchar_t confusion (clang-cl)Stephan Bergmann
Change-Id: I5b245cfcca21e68391ee20f7b6af4de9e1c203e3
2016-01-26-Werror,-Wreorder (clang-cl)Stephan Bergmann
Change-Id: I8efee414d4c4ec9984e3336ab09bb031c590d4fd
2016-01-26PhysicalFontFace needs to be complete hereStephan Bergmann
...so rFontData can be cast up in the FontAttributes copy ctor call in the WNT-only FontSelectPatternAttributes ctor Change-Id: I6d0de266d7838530208e0c82aed085fcf333c8f4
2016-01-26Fix order of SAL_WARN_UNUSED and DLLPUBLIC for clang-clStephan Bergmann
...as previously done in 5fa9ce570dc59a3fc9eb47f28b3fed739f20ab23 Change-Id: I2bed1e1423b78b25b9a1337c60b79912c28c931f
2016-01-26-Werror,-Wsign-compare (clang-cl)Stephan Bergmann
According to MSDN: "If [StretchDIBits] fails, or no scan lines are copied, the return value is 0." Change-Id: I882b97b55f92618f0163f8829bf779a35b5a1452
2016-01-26-Werror,-Wignored-qualifiers (clang-cl)Stephan Bergmann
Change-Id: I82d109db92d820df7a7d5875270c20449e77d0a5
2016-01-26Silence -Werror,-Wmissing-field-initializers in END_OBJECT_MAP (clang-cl)Stephan Bergmann
Change-Id: Ia9ba7fc6cd94e2d726cd9b1dc72c140af16dd700
2016-01-26-Werror,-Wsign-compare (clang-cl)Stephan Bergmann
Change-Id: I12f59526f6b6f4367fdc6f31ffc677cb45795049
2016-01-26Silence more warnings, clang-cl's /W4 now also includes -WextraStephan Bergmann
Change-Id: I20fa3b02570bdbc3ccd297401a7669b0fda5c624
2016-01-26-Werror,-Wunused-parameter (clang-cl)Stephan Bergmann
Change-Id: I1ac58714e04b995ef5229888f0c427104c001318
2016-01-26wrong CreateDropTargetCaolán McNamara
Change-Id: I7df8c17863f1e16f1658c061a324d6f1f0699833
2016-01-26Resolves: tdf#97276 don't clip out line if the underlying page size is unknownCaolán McNamara
Change-Id: I77d88d8020e9ac26bd6b7277e6d8afefed5e3ee7
2016-01-26Resolves: tdf#93151 handle ExpandRefs and mnColDelta the same as mnRowDeltaEike Rathke
Change-Id: I8cd00494fc63124443fc01582296ef17f4cd5e27
2016-01-26support unnamed namespaces with CPPUNIT_TEST_NAMEMarkus Mohrhard
Change-Id: I1ce50ce0ce8a4a461d1b2a34de132cbf57dd7d25 Reviewed-on: https://gerrit.libreoffice.org/21802 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-01-26Resolves: tdf#97331 use VclPtr instead of pointers to avoid crashCaolán McNamara
Change-Id: Ia653a67046cb2cfb7c96367a7483ddc0cb29819e
2016-01-26OpenGLWrapper is the right place for getBufferSwapCounter()Tor Lillqvist
Change-Id: I3f7db276ab00d5fa493f993736f1010e76fcbcc8
2016-01-26loplugin:nullptrStephan Bergmann
Change-Id: Ic8e7a7c0f6f40521dfb20ebf4ef11f2776c0cde8
2016-01-26-Werror,-Winconsistent-missing-overrideStephan Bergmann
Change-Id: I254c7a4b6f822c71b3ad5150cf674d25defbf1ed
2016-01-26Replace salhelper::SingletonRef with rtl::StaticStephan Bergmann
When destroying the static vcl::CommandInfoProvider aProvider from vcl::CommandInfoProvider::Instance (vcl/source/helper/commandinfoprovider.cxx) during exit, it releases its mxCachedGlobalAcceleratorConfiguration reference on GlobalAcceleratorConfiguration (framework/source/accelerators/globalacceleratorconfiguration.cxx), which may get destroyed, whose base class framework::XCUBasedAcceleratorConfiguration (framework/source/inc/accelerators/acceleratorconfiguration.hxx) has a salhelper::SingletonRef<framework::KeyMapping> member, whose destructor (include/salhelper/singletonref.hxx) uses salhelper::SingletonRef<framework::KeyMapping>::SingletonLockInit::operator ()'s static osl::Mutex aInstance. If, during construction, the instantiation of salhelper::SingletonRef<framework::KeyMapping>::SingletonLockInit::operator ()'s static osl::Mutex aInstance finishes before the instantiation of vcl::CommandInfoProvider::Instance's static vcl::CommandInfoProvider aProvider, the corresponding atexit cleanup actions will be recorded in the right order, causing the above chain of calls to find the static Mutex still alive when used from within the static CommandInfoProvider's destruction. However, vcl::CommandInfoProvider's mxCachedGlobalAcceleratorConfiguration is only set to css::ui::GlobalAcceleratorConfiguration::create in vcl::CommandInfoProvider::GetGlobalAcceleratorConfiguration, so the instantiation of the static Mutex instance can finish after the instantiation of the static CommandInfoProvider instance, recording the atexit cleanup actions in the wrong order, causing the static Mutex to be used after destruction. This occasionally caused PythonTest_sfx2_python to hang during exit for me on Linux, where trying to lock a destroyed pthread mutex can apparently deadlock. rtl::Static does away with the need to do anything in the destructor, at the expense of always keeping the instance alive until exit (and not being able to recreate an already destroyed instance during exit, but code that would require that behavior would probably already be broken to begin with), so the order of creation of the CommandInfoProvider and GlobalAcceleratorConfiguration instances becomes less of a concern. Change-Id: Id6e3860ad9e5b7045980a0b9bf9eaef2e24129bb
2016-01-26Related: tdf#93054 gtk3: implement enough dnd to be dragged into...Caolán McNamara
from another application, e.g. text from gedit or a standalone image (view image) from firefox Change-Id: I68b82217eb2513cedc096f5ff653fb7c75b48052
2016-01-26tdf#76142 libxmlsec: extend SHA-256 support in the NSS backendMiklos Vajna
With this, the xmlSecTransformIdListFindByHref() call in xmlSecTransformNodeRead() recognizes the http://www.w3.org/2001/04/xmldsig-more#rsa-sha256 string as a valid signature method as well. Previously SHA-256 was recognized as a digest method only. Change-Id: Ib20ab97dd5bc86dff761f0c58a87afdde112e1e8
2016-01-26tdf#95376 DOCX import: fix incorrectly indented tab stopsMiklos Vajna
Regression from commit f4badd9a485f32f787d78431ed673e2932973887 (tdf#92454 DOCX import: allow overriding para prop from num style in para style, 2015-09-22), the problem was yet another priority mishandling in the maze of various styles and indentation handling. In the tdf#92454 bugdoc, both a numbering-from-paragraph-style and a paragraph-style defined indentation, and Word preferred the numbering, while Writer preferred the paragraph style, that's why the import-time conversion was added. However, it turns out there is a 3rd source that's still not direct indentation formatting: a direct numbering. So the correct priority is: direct-ind > ind-from-num > ind-from-parastyle > ind-from-num-from-parastyle Which means in this case the indentation should not be set directly: the two conflicting value (ind-from-num and ind-from-parastyle) will be resolved correctly by Writer core. Given that we always first get the para style info, and only then the numbering, we just need to undo the conversion added for the other bug if we see a direct numbering, then both the old bugdoc and this new one will be handled properly. Change-Id: I09cc84605d5df6159da985ad069d46b580a53358
2016-01-26Updated coreChristian Lohmaier
Project: help 184121fb7abffe19012e3a64187281f0332a4b20 lists cannot be nested directly - use hackaround using switch instead Change-Id: I9a39112dbaca103ddb6b2783b5a142b280fbba8b
2016-01-26Put getBufferSwapCounter() in OpenGLWindow insteadTor Lillqvist
<vcl/openglwin.hxx> is a more light-weight include file and including that causes less trouble on the various platforms. Change-Id: I5c9baa171278d291468ef45a47d9fdbc64326957
2016-01-26Add API to get the number of OpenGL buffer swaps, including through UNOTor Lillqvist
Change-Id: Iff29ac615ad4b6516790b1cbbde0215a3cd0efe6
2016-01-26SVGIO: Fix issue when font size is in percentage and ...Xisco Fauli
... there's no parent style set Sample: <?xml version="1.0" encoding="UTF-8"?> <svg height="600" width="400" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" font-size="100%"> <text x="5" y="15">Sample 1</text> </svg> Change-Id: Iec88c148475bf8a610286414083e9801faaf8d78 Reviewed-on: https://gerrit.libreoffice.org/21553 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2016-01-26loplugin:defaultparamsStephan Bergmann
Change-Id: I592b8f678288c1229e66abb98f6bb5f865f177a0
2016-01-26loplugin:defaultparamsStephan Bergmann
Change-Id: I4c80f7055ccb9979bfb89cf9139561287d9659a4
2016-01-26Bin some unneeded 'using' and includesTor Lillqvist
Change-Id: Ia91b3837ce39ae48e8c660274a08415ee4f9e5c7
2016-01-26Bin leftover cruftTor Lillqvist
Change-Id: I15a4237a1ab6d7c180b52c3f8d2834c0e034b7db
2016-01-26fix windows buildNoel Grandin
after commit c43fdd74097cb12f69f86fd1217dd2f41ccae101 "vcl: GF_VERT is *only* for Windows implementations" Change-Id: I8f500c0e9accc781a57ab4057eea9d077f418696
2016-01-26Add initial cppunit test to webdav, 'local' only, neon versionGiuseppe Castagno
This is a 'local' test, meaning it can be done without a WebDAV server. It's the first one, so very trivial... Change-Id: Idf660c7482c86251be02536106f079ac6bdef4b4 Reviewed-on: https://gerrit.libreoffice.org/21658 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-01-26vcl: GF_VERT is *only* for Windows implementationsChris Sherlock
Change-Id: I4f0a6264a6c6c2533a32de358216601495c959f2
2016-01-26vcl: remove unnecessary included headersChris Sherlock
Change-Id: I547a0028a24c6a32e2b13acb9a6b077da8b56964
2016-01-26vcl: regband.hxx doesn't need sal/types.h any moreChris Sherlock
Change-Id: I1b329a8242800b9b33b891b1fb9b5810be6397e5
2016-01-26vcl: remove unnecessary headers in printdlg.hxxChris Sherlock
Change-Id: I5c5d1652330e9a76d46e596fc49ac732327c6484
2016-01-25Updated coreChristian Lohmaier
Project: help 6eb5558b50b74b2ad51f05b8273c7e1bd72ba8f3 missing id attribute on table Change-Id: I0be7339ef7b905499bd58877e1278d052b6b5131
2016-01-25sd lok: Fix normal 'search' performed after a 'search all'.Jan Holesovsky
The DBG_ASSERT followed by the same test actually returning immediately prevents the actual 'search' after a 'search all' being performed. I hope this does not have any negative consequences; but if it does, we should fix the root cause, instead of having this kind of defensive programming here. Change-Id: I909533f301dda9c20cab1968de45e5fa7975e852
2016-01-25Updated coreChristian Lohmaier
Project: help bb4361c2e733c7b5a6a3a4b9d37ec0586c99ccd7 link is no valid child of emph Change-Id: I24009c8eb766d2e99ff96b8ba803e0d92ee73387
2016-01-25libxmlsec: canonize in the OOXML RelationshipTransformMiklos Vajna
This is still a skeleton, but now we canonize the incoming data, not just eat it and output nothing -> at the end we don't hit an assertion that the output of the transform chain is nothing. Change-Id: I28509b8a493c6bf6cdcbb23b95ae7de8947790c1
2016-01-25xmlsecurity: implement OOXML stream referencesMiklos Vajna
With this, if see an URI like: /_rels/.rels?ContentType=application/vnd.openxmlformats-package.relationships+xml Then it is properly detected that it's the .rels stream of the _rels storage, and UriBindingHelper will serve that stream (when looked up by name later) to libxmlsec. Change-Id: Iac62cb170c0aa8bb92c40311fb7b248e96c25dde
2016-01-25Revert "fdo#62947 make IDs unique, fixes, better names"Maxim Monastirsky
This reverts commit 5398664eed621fbcc644ff949d4841590973bfa3. Conflicts: include/sfx2/sfxcommands.h sw/source/ui/app/mn.src Change-Id: Ic55cfb51a726ab9ee19bac6719d5e2670d1fb494
2016-01-26vcl: remove unnecessary header includes from text.cxxChris Sherlock
Change-Id: Iefa9cad66248297e4639567cd3f5836abb2e167c
2016-01-26vcl: remove unnecessary header includes in map.cxxChris Sherlock
Change-Id: I60fafe283740f6246fa2978a1d2e4ee283ecea87
2016-01-26vcl: cleanup namespace and header includes in font.cxxChris Sherlock
Change-Id: I17a2bf413d5152765821585fabf2123a08b729ca
2016-01-26vcl: remove unnecessary headers from outdev.cxxChris Sherlock
Change-Id: I8714718830f8b86567ef2750373ce2dab828c07f
2016-01-26vcl: remove unnecessary headers from outdevstate.cxxChris Sherlock
Change-Id: I19d8ea633d5fd5462af29a43b916518a31a94787
2016-01-26vcl: cleanup vcl/source/gdi/print.cxxChris Sherlock
Change-Id: Id30e109a8292f92e5b384c1262dea0c09d255058