summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-02-15WaE: loplugin:cstylecastTor Lillqvist
Change-Id: I96bda48eb553f467fcf5d7120561d2160647e3bb
2016-02-15smoketest: loplugin:nullptrMichael Stahl
Change-Id: I849e2e945a31ab37c9a24969d6e1decd69170380
2016-02-15CppunitTest_xmlsecurity_signing: add OOXML description roundtrip testMiklos Vajna
Fails when the relevant part of XSecController::exportOOXMLSignature() is commented out, i.e. the member function just writes a <Signature> XML element, no child elements. Change-Id: I526c1170c8ada71f111a1ad56d74af1a4102dbce Reviewed-on: https://gerrit.libreoffice.org/22375 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-02-15offapi: avoid mysterious "deprecated:" warningsMichael Stahl
Change-Id: I9cc99c3108bae582d0da9645ba75947cced904fc
2016-02-15offapi: fix the remaining doxygen undocumented param warningsMichael Stahl
Change-Id: I933266695bfa88eb6665c7d2968176d74b640172
2016-02-15offapi: fix the ASCII art in chart2.CurveStyleMichael Stahl
Change-Id: I3a4097abe5887f0859ea11ac2025cf52689dc4e4
2016-02-15Unit test for opengl blocklist parsing and evaluatingTomaž Vajngerl
Parsing unit test checks that the xml values are parsed correctly and that the DriverInfo structure is populated with the expected values. Evaluate unit test checks that blacklisting / whitelisting logic blocks OS/vendor/driver/device as expected. Change-Id: Ib1b0926606f0835207c324193bbe19ba83f86bdc Reviewed-on: https://gerrit.libreoffice.org/22371 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-02-15implement wayland handle passing for gstreamerCaolán McNamara
Change-Id: I3b0effe35ad7b37ff7ab3de2a3b78b6312779139
2016-02-15rename X11WindowProvider to a NativeWindowHandle providerCaolán McNamara
sort of thing and genericize it Change-Id: I27e1e47f2b371e5269db079cfc1262d056105f80
2016-02-15CppunitTest_xmlsecurity_signing: use DocumentSignatureManagerMiklos Vajna
Change-Id: I97acb4a2e9aedb15671d65f6995faeab4ff5716f
2016-02-15xmlsecurity: factor out DocumentSignatureManager from DigitalSignaturesDialogMiklos Vajna
It's hard to unit test signing when the logic is implemented in the Add and OK button handlers. Change-Id: I5e07df69cd808cf170e21dfd55f2f44bc79c58a8
2016-02-15tdf#97739 - ensure we have a valid rectangle for spin-button controls.Michael Meeks
Otherwise OpenGL can't render, cache and diff these; so we loose them. Change-Id: Iac4f3ee0fc68154f708a881d5e0255fc9f8df62d
2016-02-15drop unused lineDavid Tardon
Change-Id: Ifc3501e5f4c1f2b20e32ff41759ff836c3236b86
2016-02-15make charset sel. dlg translatableDavid Tardon
Change-Id: I8d44b302bc78d9c89717f7169a04e9c736047b94
2016-02-15Introduce lok_preinit() to preload all registered UNO implementationsHenry Castro
Intended to be used from an application like the LibreOffice On-Line server so that it can be called in a process that then will call fork() several times, and much space consuming data will end up being shared. Change-Id: I65341c57d00308d246ec90deab8050b2c4bb3e61
2016-02-15Avoid deadlock between sd::ToolBarManager::Implementation::maMutex...Stephan Bergmann
...and SolarMutex, when e.g. during JunitTest_framework_complex the main thread has the SolarMutex locked and tries to lock > osl_acquireMutex(oslMutexImpl*) > osl::Mutex::acquire() > osl::Guard<osl::Mutex>::Guard(osl::Mutex&) > sd::ToolBarManager::Implementation::LockUpdate() > sd::ToolBarManager::LockUpdate() > sd::ToolBarManager::UpdateLock::UpdateLock(std::shared_ptr<sd::ToolBarManager> const&) > sd::framework::ToolBarModule::HandleUpdateStart() > sd::framework::ToolBarModule::notifyConfigurationChange(com::sun::star::drawing::framework::ConfigurationChangeEvent const&) > sd::framework::ConfigurationControllerBroadcaster::NotifyListeners(std::__debug::vector<sd::framework::ConfigurationControllerBroadcaster::ListenerDescriptor, std::allocator<sd::framework::ConfigurationControllerBroadcaster::ListenerDescriptor> > const&, com::sun::star::drawing::framework::ConfigurationChangeEvent const&) > sd::framework::ConfigurationControllerBroadcaster::NotifyListeners(com::sun::star::drawing::framework::ConfigurationChangeEvent const&) > sd::framework::ConfigurationUpdater::UpdateConfiguration() > sd::framework::ConfigurationUpdater::RequestUpdate(com::sun::star::uno::Reference<com::sun::star::drawing::framework::XConfiguration> const&) > sd::framework::ChangeRequestQueueProcessor::ProcessOneEvent() > sd::framework::ChangeRequestQueueProcessor::ProcessEvent(void*) > sd::framework::ChangeRequestQueueProcessor::LinkStubProcessEvent(void*, void*) > Link<void*, void>::Call(void*) > ImplHandleUserEvent(ImplSVEvent*) > ImplWindowFrameProc(vcl::Window*, unsigned short, void const*) > SalFrame::CallCallback(unsigned short, void const*) > SvpSalInstance::DoYield(bool, bool, unsigned long) > ImplYield(bool, bool, unsigned long) > Application::Yield() > Application::Execute() > desktop::Desktop::DoExecute() > desktop::Desktop::Main() > ImplSVMain() > SVMain() > soffice_main() > main() while some URP worker thread has sd::ToolBarManager::Implementation::maMutex locked and tries to lock > osl_acquireMutex(oslMutexImpl*) > osl::Mutex::acquire() > SalYieldMutex::acquire() > SolarMutexGuard::SolarMutexGuard() > framework::ToolbarLayoutManager::implts_calcWindowPosSizeOnSingleRowColumn(int, int, framework::ToolbarLayoutManager::SingleRowColumnWindowData&, Size const&) > framework::ToolbarLayoutManager::doLayout(Size const&) > framework::LayoutManager::implts_doLayout(bool, bool) > framework::LayoutManager::implts_doLayout_notify(bool) > framework::LayoutManager::unlock() (this=0x2b0d9ff633e8) > (anonymous namespace)::LayouterLock::~LayouterLock() > std::default_delete<(anonymous namespace)::LayouterLock>::operator()((anonymous namespace)::LayouterLock*) const > std::unique_ptr<(anonymous namespace)::LayouterLock, std::default_delete<(anonymous namespace)::LayouterLock> >::reset((anonymous namespace)::LayouterLock*) > sd::ToolBarManager::Implementation::Update(std::unique_ptr<(anonymous namespace)::LayouterLock, std::default_delete<(anonymous namespace)::LayouterLock> >) > sd::ToolBarManager::Implementation::UnlockUpdate() > sd::ToolBarManager::Implementation::UpdateLockImplementation::~UpdateLockImplementation() > sd::ToolBarManager::Implementation::SetValid(bool) > sd::ToolBarManager::Implementation::EventMultiplexerCallback(sd::tools::EventMultiplexerEvent&) > sd::ToolBarManager::Implementation::LinkStubEventMultiplexerCallback(void*, sd::tools::EventMultiplexerEvent&) > Link<sd::tools::EventMultiplexerEvent&, void>::Call(sd::tools::EventMultiplexerEvent&) const > sd::tools::EventMultiplexer::Implementation::CallListeners(sd::tools::EventMultiplexerEvent&) > sd::tools::EventMultiplexer::Implementation::CallListeners(unsigned int, void*) > sd::tools::EventMultiplexer::Implementation::frameAction(com::sun::star::frame::FrameActionEvent const&) > (anonymous namespace)::Frame::implts_sendFrameActionEvent(com::sun::star::frame::FrameAction const&) > (anonymous namespace)::Frame::setComponent(com::sun::star::uno::Reference<com::sun::star::awt::XWindow> const&, com::sun::star::uno::Reference<com::sun::star::frame::XController> const&) > (anonymous namespace)::Frame::close(unsigned char) > gcc3::callVirtualMethod(void*, unsigned int, void*, _typelib_TypeDescriptionReference*, bool, unsigned long*, unsigned int, unsigned long*, double*) > cpp_call(bridges::cpp_uno::shared::UnoInterfaceProxy*, bridges::cpp_uno::shared::VtableSlot, _typelib_TypeDescriptionReference*, int, _typelib_MethodParameter*, void*, void**, _uno_Any**) > bridges::cpp_uno::shared::unoInterfaceProxyDispatch(_uno_Interface*, _typelib_TypeDescription const*, void*, void**, _uno_Any**) > binaryurp::IncomingRequest::execute_throw(binaryurp::BinaryAny*, std::__debug::vector<binaryurp::BinaryAny, std::allocator<binaryurp::BinaryAny> >*) const > binaryurp::IncomingRequest::execute() const > request(void*) > cppu_threadpool::JobQueue::enter(long, bool) > cppu_threadpool::ORequestThread::run() > threadFunc(void*) (param=0x2b0db00019e0) > osl_thread_start_Impl(void*) > start_thread Change-Id: Ie846bd95944680160eebc93b904875142723ac70
2016-02-15Remove newly unused .java fileStephan Bergmann
...after 8c125eca7f8a0dd2d59678cff2574bbccc70e536 "tdf#45904 move java based api tests to c++" Change-Id: Ia8469a6bcbb27658f4f26d41ff83389e37888bde
2016-02-15cid#1352218 and cid#1352216 in .SDI parserNoel Grandin
Change-Id: I273d80b4e9fb45955c5496cf5559df5dd4b057b0
2016-02-15move interface/shell parsing to SvIdlParserNoel Grandin
Change-Id: I95cce21c6c9beb5637dd4f4a769f455eaacbec2b
2016-02-15move item and struct parsing into SvIdlParserNoel Grandin
Change-Id: I1ba88bca82b5b251ed34330ab5e0cb8bd88a5815
2016-02-15move include parsing into own methodNoel Grandin
Change-Id: Id3ce7ce651f541106cf60116f717e6ffd805db24
2016-02-15tdf#56321 - .doc import image flipped statusJustin Luth
Although LO was exporting whether an image was flipped horizontally or vertically, it wasn't reading it in during an import. Change-Id: Ia85e3459d00f40d852bbcd3fcfe15e7b53d518ba Reviewed-on: https://gerrit.libreoffice.org/22344 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-02-15starmath: Replace OSL_ENSURE with assertTakeshi Abe
These pointers must be non-null, or deferencing null can happen. Change-Id: I3ced1204abb70cf7c525ea9d50c6a3a295728ab5 Reviewed-on: https://gerrit.libreoffice.org/22365 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-02-15filter: mark XLSX/PPTX filter as SUPPORTSSIGNINGMiklos Vajna
Given that all DOCX signing code is in xmlsecurity and it wasn't DOCX-specific, this works out of the box. Change-Id: I18429f63c125a43346e9e52021e1b7e33b300af4
2016-02-15Add Microsoft Word for DOS conversionSean Young
Change-Id: I9e20a35dd8e18ba1a9251f4dc3ce903183c250cf Reviewed-on: https://gerrit.libreoffice.org/22368 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2016-02-15tdf#97665 Let's hope that over activation isn't really neededMaxim Monastirsky
- MenuBarManager::Activate has a check for duplicate activation, which makes the second activation attempt fail. Removing this check or deactivating after each activation will likely affect performance even more, but on the other hand should solve lp#1296715, which was the main reason of the over activation in the first place. So let's activate only one menu at a time, and do full activation only on the initial update. - Unfortunately the HUD activation callback doesn't work, so we still have to keep active status listener for all menu items. (Which is BTW against the recommendation in XPopupMenuController::updatePopupMenu IDL doc. Fortunately the performance problem hardly noticeable on modern hw.) Change-Id: I96affa72412f3f38160fdca4b6efd20ca68d059f Reviewed-on: https://gerrit.libreoffice.org/22369 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2016-02-15cppcheck: unreadVariableCaolán McNamara
Change-Id: I15f0320b646d20f0093c77286c1ff2715aacb8ce
2016-02-15fix indentCaolán McNamara
Change-Id: I48552afc35c1f7cfff3562c36eca3f1cf6174077
2016-02-15Rename rtl::isValidCodePoint -> rtl::isUnicodeCodePointStephan Bergmann
...and fix its documentation, and use it throughout the code base. Change-Id: I349bc2009b1b0aa7115ea90bc6ecd0a812f63698
2016-02-15drop outdated fileDavid Tardon
Change-Id: I268f0de42e0567d74dd9b9b84b19d6afbf4d44df
2016-02-15upload libwps 0.4.3David Tardon
Change-Id: I4f147c3d55de86eb4bd56bb4c728df19c925b376 Reviewed-on: https://gerrit.libreoffice.org/22366 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2016-02-15xmlsecurity OOXML export: fix missing rels content-typeMiklos Vajna
This wasn't a problem when we signed MSO-produced documents that have these all the time, but it was a problem for LO-produced documents. We don't add an explicit content type for _xmlsignatures/origin.sigs, so need a default for the .sigs extension. Change-Id: Ic5d0647991c42f9f1ef3519986a4bd1b56de396d
2016-02-15Related: #i126658# Add description about NoLabel property...Kay Schenk
on css.awt.UnoControlFixedTextModel Patch by: hanya (cherry picked from commit 92ff48eb981610cb1565cd5472a6714feb7f68a6) Change-Id: I44bbf7d49add8e49d3cb8e1a19839626a2f69b63
2016-02-15cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: I92f41cde892d47abcd31e2b85ace7d228cbfd9fe
2016-02-15uno::Sequence->std::vector in stoc/introspectionNoel Grandin
Change-Id: I6427bc26d77e4ace2a827b9ae81716d62b5050ba
2016-02-15external/redland: Defend against Yocto's broken xml2-configStephan Bergmann
...which is hard-coded to fail with echo '--should-not-have-used-/usr/bin/xml2-config' exit 1 Change-Id: Ic358e7d494f01f67c1469c4add080d775525ebb6
2016-02-15libxmlsec: fix failing CryptCreateHash() with CALG_SHA_256Miklos Vajna
Previously it got a PROV_RSA_FULL provider, but SHA-256 needs PROV_RSA_AES. Change-Id: I6c689a4c5943920ce656c09d9d7d5e194ff47eb6 Reviewed-on: https://gerrit.libreoffice.org/22364 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-02-15SwView::WriteUserDataSequence: use comphelper::makePropertyValue()Miklos Vajna
Change-Id: Ibdb99942ee6c022abad74df93ebfb99c4ce6567f
2016-02-15sd: Output display names of styles, not internal onesPranav Kant
For some reason, maDisplayName is not initialized always. Use GetDisplayName() that handles such a case gracefully. Change-Id: Ib62d4f03dcd3b5571749b540e5af7f90299e2067 Reviewed-on: https://gerrit.libreoffice.org/22348 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2016-02-15lok: Expose DisplayName of styles, not internal onesPranav Kant
Change-Id: I2119713600703e3aa18f673979c7cd84c38177d7 Reviewed-on: https://gerrit.libreoffice.org/22349 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2016-02-15tdf#57950: Replace chained O(U)StringBuffer::append() with operator+Arnold Dumas
Change-Id: Ic76cf0130ebec4cf723b83d82f59ae45bfcb3ea1 Reviewed-on: https://gerrit.libreoffice.org/22350 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-15Package_opengl_blacklist is Windows-specificTor Lillqvist
Change-Id: Ida79aa0d5a519a2c124d20a1cd908411d01799de
2016-02-15Tidy up graphite layout code after fixing line ending diacriticsMartin Hosken
Change-Id: I1efafbd64539ac6d71de0be41ecaa71533143590 Reviewed-on: https://gerrit.libreoffice.org/22362 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Martin Hosken <martin_hosken@sil.org>
2016-02-15tdf#94858, avoid O(n^2) algorithm during outline importMarkus Mohrhard
The old code set called the outline visibility code for each row. Now we are just calling it once at the end of the import. Change-Id: Ie19f8bd538495cb50a7618156aed8de832885c2a Reviewed-on: https://gerrit.libreoffice.org/22239 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-02-15tdf#45904 move java based api tests to c++kadertarlan
Change-Id: Ia4eedef6a6cb060d756ee83b3fb82afa68ac2c5a Reviewed-on: https://gerrit.libreoffice.org/22276 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-02-14WaE: unreachable codeCaolán McNamara
Change-Id: I700168b0484e86caa8df4a579ef51bcd40b6f66f
2016-02-14coverity#1352321 Dereference null return valueCaolán McNamara
and coverity#1352322 Dereference null return value Change-Id: I0482ed95e8fbce5d7f9a827588a66ebd0f9d69c7
2016-02-14coverity#1352306 Unchecked dynamic_castCaolán McNamara
and coverity#1352307 Unchecked dynamic_cast Change-Id: I0b072e432fe5d510a2a55ad33628ec93b706c860
2016-02-14coverity#1352451 Uncaught exceptionCaolán McNamara
and coverity#1352452 Uncaught exception coverity#1352453 Uncaught exception Change-Id: I100aa7ebf729bfe2e379e28891f5cd217d4187cc
2016-02-14tdf#85761 vcl: JPEG export does not save PPI values correctlyChris Sherlock
JPEG values are currently hardcoded to 96PPI when we export JPEGs. The Graphic class doesn't have an easy way to get the PPI, but this can actually be calculated from the pref size and pref map mode (no idea why it is called "Pref"). Interestingly, you need to get a multiplier to work this out, relative to units of 100th mm. The EPS filter code had a function that does exactly this, but it's entirely based on MapMode units so it was really implemented in the wrong class IMO. I have thus moved it out of PSWriter and into MapMode. This also fixes tdf#65695, which was partially fixed, but had the JPEG PPI hardcoded to 96dpi. Also fixes tdf#97481. Change-Id: Iedb674141dd4e22fcbfb7be357dc777f732aa3aa Reviewed-on: https://gerrit.libreoffice.org/22339 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>