summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-28Date: avoid temporary conversions to sal_uIntPtrMatteo Casalin
Change-Id: Ib52c5d1a55d17c572fd5be9a3ce36c6de7965220
2015-10-28Date: group common codeMatteo Casalin
Change-Id: I4d1bf6591d54621c33dc2ff0be0ecb59f1839581
2015-10-28Rename (private) Date::init and reuse itMatteo Casalin
Change-Id: I3123876860cf6cce1e16c8f516f3d08fa7e15d83
2015-10-28Date: use support function for mapping years to daysMatteo Casalin
and reduce scope for other local support functions. Change-Id: Id0d6b9a04ff67620f6dca39d62443a3f191d75ee
2015-10-28Avoid intermediate cast to sal_uIntPtrMatteo Casalin
Change-Id: Ia7b5f519e381318f1d1cd6d0f982d22e8bbdffa7
2015-10-28vcl: This is constantTakeshi Abe
Change-Id: I27a83996031b9494ad736ad82a7fff5740fbaf30
2015-10-28Get rid of some redundant base class typedefsStephan Bergmann
Change-Id: Ia11ec85cc172d1b81b494107306c0aee98ce2ab5
2015-10-28vcl: getWindow() -> setClipboard() in ITiledRenderableMiklos Vajna
It's cleaner to let the apps do this themselves than exposing their underlying vcl::Window. Change-Id: Iff2442dd325fa65a0cf3ad4aa7f918542dab1e4c
2015-10-28sw: prefix members of SwSubFontMiklos Vajna
Change-Id: Ifc4ec214ad7034ecf694c690c3a04e995c64fbe9
2015-10-28sw: prefix members of SwTOXMarkMiklos Vajna
Change-Id: Id8cc41ab9af5d6fe9934f97927c7e3d1e7f6ebf3
2015-10-28sw: prefix members of SwTOXTypeMiklos Vajna
Change-Id: I8500dda538a82a920dd6164251bf193489b12a15
2015-10-28sw: prefix members of SwTableBoxMiklos Vajna
Change-Id: If4c4a043f3d9c2e1e89eb4199d33cd39f502c56e
2015-10-28Fix includesStephan Bergmann
Change-Id: I9e2b4cd366fa4f7561945d9c86e35e984df36fd9
2015-10-28Fix previous 604c6cf42f1d136e5c076b4ae17bec86e7e1a206Stephan Bergmann
"bin confusion with name AccessibleGridControlTableImplHelper," there is no cppu::ImplHelper Change-Id: I289c3a20e848a1ce6f548b5720cf1436eed5352c
2015-10-28com::sun::star->css in scNoel Grandin
Change-Id: I7774890f46f9343e944e34db27af8bce3b1d0915
2015-10-28sw: remove SwDBTreeList_Impl::m_aConnectionsMichael Stahl
... which actually does nothing since commit fca027b0bd76a76b50f4d6d667d2d479417a74a6 but was dutifully converted to a boost::ptr_vector. Change-Id: I69186d6ba7d90fb2f94b417fede3a907811c32c0 Reviewed-on: https://gerrit.libreoffice.org/19518 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-28bin confusion with name AccessibleGridControlTableImplHelperDouglas Mencken
AccessibleGridControlTableBase.hxx : typedef ::cppu::ImplHelper< css::accessibility::XAccessibleTable > AccessibleGridControlTableImplHelper; AccessibleGridControlTable.hxx : typedef ::cppu::ImplHelper< css::accessibility::XAccessibleSelection > AccessibleGridControlTableImplHelper1; Change-Id: Icde57d148cf725a3bd4c0927edf7461598398e04 Reviewed-on: https://gerrit.libreoffice.org/19348 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-28com::sun::star->css in sal,saxNoel Grandin
Change-Id: I24e202b1f8071fe918e4e164b5fa1c08a561cb24 Reviewed-on: https://gerrit.libreoffice.org/19626 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-28com::sun::star->css in scaddins,sccomp,scriptingNoel Grandin
Change-Id: Id9167341940bac65f055e1e33ff0670f6fa0f6c4 Reviewed-on: https://gerrit.libreoffice.org/19629 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-28handle scrollwheel events in TabBar of SidebarBjoern Michaelsen
- using the scrollwheel in the TabBar used to scroll the document: - even though the deck next to it handles scroll event on its own - thus there are two areas that arent even touching (separated by the deck) scrolling the same area - instead, now we capture mousewheel scrolls and switch through the decks of the sidebar. This should also severely simplify navigating them. Change-Id: Ie2136f4ec67dedf72ff6b56d16356f6a12de74ea
2015-10-27Updated coreLászló Németh
Project: dictionaries b4f9255af01dcc24f263fdb0cd4544db35153d9d tdf#95024 update Hungarian spelling dictionary Change-Id: I5fd5bd203aead86126be8ab585a4be616470f01e Reviewed-on: https://gerrit.libreoffice.org/19620 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-10-27Support universal C runtime, SDK 10 and .NET 4.6David Ostrovsky
Starting with MSVC 14.0 (aka VS 2015) C Runtime (CRT) was divided in two logical parts: The VCRuntime, which contained the compiler support functionality required for things like process startup and exception handling, and a "stable" part that contained all of the purely library parts of the CRT. Previously, all of the CRT headers, sources, and libraries were distributed as part of the Visual C++ SDK, installed in the VC subdirectory of Visual Studio installation (generally C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC). The files for the VCRuntime are still part of the Visual C++ SDK. The headers, sources, and libraries are now distributed as part of a separate Universal CRT SDK. This SDK is included with Visual Studio; it is installed to C:\Program Files (x86)\Windows Kits\10. The debug ucrtbased.dll is also included as part of this SDK and is installed to the system directory. In I0ef8cda7b initial support was added to suport VS 2015. In this change support for universal CRT, .NET 4.6 and SDK 10 is added. UCRT dirs are added to CFLAG, CXXFLAG and ILIB. SDK 10 include path is added to SOLARINC. .NET Framework 4.6 was splitted from SDK 10 and needs to be discovered separately. Change-Id: I2c484b6b1debab0d71523385021abb8fc8e6027f Reviewed-on: https://gerrit.libreoffice.org/16642 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-10-27update creditsChristian Lohmaier
Change-Id: If58fdc2eaf1b7b2148e3db2ebba6f8c0f2e9c92b
2015-10-27sal_uLong to sal_uInt64/sal_SizeMatteo Casalin
Change-Id: I4032b08225f1b530a43f1a8c09c5fc3515f45ced
2015-10-27 Remove unncessary, wrong downcastStephan Bergmann
...which caused > sw/source/uibase/docvw/edtwin.cxx:4280:47: runtime error: downcast of address 0x6060015556a0 which does not point to an object of type 'SwDrawContact' > 0x6060015556a0: note: object is of type 'SwFlyDrawContact' > 11 07 80 2c 50 26 83 79 65 7f 00 00 d0 26 83 79 65 7f 00 00 80 63 a6 01 20 61 00 00 00 00 00 00 > ^~~~~~~~~~~~~~~~~~~~~~~ > vptr for 'SwFlyDrawContact' > SwEditWin::MouseButtonUp(MouseEvent const&) sw/source/uibase/docvw/edtwin.cxx:4280:47 > ImplHandleMouseEvent(vcl::Window*, MouseNotifyEvent, bool, long, long, unsigned long, unsigned short, MouseEventModifiers) vcl/source/window/winproc.cxx:736:17 > ImplHandleSalMouseButtonUp(vcl::Window*, SalMouseEvent*) vcl/source/window/winproc.cxx:2082:12 > ImplWindowFrameProc(vcl::Window*, SalFrame*, unsigned short, void const*) vcl/source/window/winproc.cxx:2425:20 > SalFrame::CallCallback(unsigned short, void const*) const vcl/inc/salframe.hxx:255:33 > GtkSalFrame::signalButton(_GtkWidget*, _GdkEventButton*, void*) vcl/unx/gtk3/window/../../gtk/window/gtksalframe.cxx:3176:5 > [...] Change-Id: Ib9013eb3ff7546ee6534d5148d2505608a9d70f9
2015-10-27Filter out non-VclWindowEventsStephan Bergmann
...to avoid bad casts like > sd/source/ui/slidesorter/controller/SlideSorterController.cxx:545:24: runtime error: downcast of address 0x7f2d4d9b0c40 which does not point to an object of type 'VclWindowEvent' > 0x7f2d4d9b0c40: note: object is of type 'VclMenuEvent' > 00 00 00 00 f0 f9 03 80 2d 7f 00 00 b2 04 00 00 00 00 00 00 40 51 72 00 10 61 00 00 01 00 00 00 > ^~~~~~~~~~~~~~~~~~~~~~~ > vptr for 'VclMenuEvent' > sd::slidesorter::controller::SlideSorterController::ApplicationEventHandler(VclSimpleEvent&) sd/source/ui/slidesorter/controller/SlideSorterController.cxx:545:24 > sd::slidesorter::controller::SlideSorterController::LinkStubApplicationEventHandler(void*, VclSimpleEvent&) sd/source/ui/slidesorter/controller/SlideSorterController.cxx:543:1 > Link<VclSimpleEvent&, void>::Call(VclSimpleEvent&) const include/tools/link.hxx:84:45 > VclEventListeners::Call(VclSimpleEvent&) const vcl/source/app/vclevent.cxx:74:17 > Application::ImplCallEventListeners(VclSimpleEvent&) vcl/source/app/svapp.cxx:820:9 > Menu::ImplCallEventListeners(unsigned long, unsigned short) vcl/source/window/menu.cxx:339:9 > [...] (Even the VCLEVENT_APPLICATION_DATACHANGED handled in WindowEventHandler /is/ a VclWindowEvent, see how these events are created via ImplCallEventListeners in Application::SetSettings, vcl/source/app/svapp.cxx.) Change-Id: I107cbbff83e4a41090aadee6a66e715ef35901d4
2015-10-27Use portable ordering for mktempRichard PALO
Add omitted APPDATA_SOURCE_DIR for *.appdata.xml files Avoid gnu rmdir by using portable invocation Change-Id: I15a507f3d181f27c86b5332d58a9d76b31eb2fd1 Reviewed-on: https://gerrit.libreoffice.org/18588 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-10-27Remove unncessary, wrong downcastStephan Bergmann
...which caused > sd/source/core/sdpage2.cxx:151:28: runtime error: downcast of address 0x611000ccf8c0 which does not point to an object of type 'SdrTextObj' > 0x611000ccf8c0: note: object is of type 'SdrPageObj' > 08 07 80 35 10 3e 04 ba 4f 7f 00 00 c0 1b 2c 00 b0 60 00 00 00 00 00 00 00 00 00 00 70 1c 2c 00 > ^~~~~~~~~~~~~~~~~~~~~~~ > vptr for 'SdrPageObj' > SdPage::SetPresentationLayout(rtl::OUString const&, bool, bool, bool) sd/source/core/sdpage2.cxx:151:28 > SdDrawDocument::SetMasterPage(unsigned short, rtl::OUString const&, SdDrawDocument*, bool, bool) sd/source/core/drawdoc3.cxx:1746:13 > AssistentDlgImpl::UpdatePreview(bool) sd/source/ui/dlg/dlgass.cxx:1513:13 > [...] Change-Id: I07afc4cd7ef0a0a32768db59b72ca94edd4026df
2015-10-27tdf#88548 fontwork gallery always have transparent/checkered background.Aybuke Ozdemir
Change-Id: I8995ef12edb64c14788ba3a2c3c1c2ceb3775b11
2015-10-27tdf#60906 make color configuration consistentFeyza Yavuz
Change-Id: I8b9b05ca90f055be77f1b5d8602be9d880f1d14f Reviewed-on: https://gerrit.libreoffice.org/19571 Reviewed-by: Justin Luth <justin_luth@sil.org> Tested-by: Justin Luth <justin_luth@sil.org> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-10-27don't allocate rtl::Reference or SvRef on the heapNoel Grandin
There is no point, since it's the size of a pointer anyway Found by temporarily making their 'operator new' methods deleted. Change-Id: I265e40ce93ad4bad08b4f0bd49db08929e44b7d6 Reviewed-on: https://gerrit.libreoffice.org/19628 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-10-27Automating configure choices based on what is installed considered harmfulTor Lillqvist
Don't automatically --disable-odk (if not mentioned explicitly either way) based on whether doxygen is found or not. Caolán says: It's an absolute pain as a maintainer when packages do that. You build it in some minimal build env and all is well, then some depend changes and something else ends up in the build env and now your package fails to build anymore, or behaves quite differently. Change-Id: I8bc6ab6f90e6e070a37e37b5108081425e116173 Reviewed-on: https://gerrit.libreoffice.org/19324 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-10-27Move member definition back into .cxxStephan Bergmann
Change-Id: Ie0698792c8785e0caee0e78222051451e5ebc65c
2015-10-27Fix Cherokee Supplement range (U+ABCO--ABFF is occupied by Meetei Mayek)Stephan Bergmann
Change-Id: I4b7b86be1d0b36c02c6ad6954635d2620266472e
2015-10-27Optimised UnoCrsrTbl cleanup for faster doc savingAshod Nakashian
SwDoc has weak_ptr list to notify UnoCrsr instances when the doc is about to die. These were updated when each UnoCrsr instance was destroyed. The first performance issue is the use of a list. This no doubt is done to avoid the overhead of removing items at arbitrary position from a vector. Performance tests show vector is faster with a large document and ~10k UnoCrsr instances. More important, there is no need to clean up the references as frequently as when each UnoCrsr is destroyed as they are rarely referenced at all. Having outdated references is no issue either. The new logic uses a vector and cleans up only after saving a document and before saving UnoCrsr instances. Saving ODT files is now significantly faster for large documents (100s of pages). Change-Id: I3895d9d80d174cda9c94b94837e2149e9fadcb42 Reviewed-on: https://gerrit.libreoffice.org/19604 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-10-27Remove initial :: from sal_* typesTor Lillqvist
Change-Id: Idcdc9aeb7d3fdca0a9db43c1cb518ab1d1b2f0f4
2015-10-27oox: replace boost::ptr_vector with std::vector<std::unique_ptr>Michael Stahl
With one additional m_Effects.clear() in EffectProperties::assignUsed() to make it idempotent like it was before and avoid duplicating elements. Change-Id: I105535a2a250e682a5d6976e0c7f74374b1f31ac
2015-10-27xmlhelp: apparently "picture.jar" hasn't existed for a long timeMichael Stahl
Change-Id: I9ac46ffcf21e8af2cb3b92d4068981cafb271ebc
2015-10-27Fix StgTmpStrm::GetSizeStephan Bergmann
Change-Id: I49891d6c2149154c4fd524f79f3cbda17568fa7e
2015-10-27Typo, I pressume?Stephan Bergmann
Change-Id: I5ee823c58061e31913c37291d5a854837fb48240
2015-10-27Reduce scope of #include <tools/stream.hxx>Matteo Casalin
Change-Id: I0752cbb0cb2e0f89607d81d9eda7ce7091449fd6
2015-10-27sal_uIntPtr to sal_uInt64, sal_uLong to sal_Size for streamsMatteo Casalin
Change-Id: I062f1f6c5b20ca47734a9a3cd1a229d51763a206
2015-10-27sal_uLong to ErrCodeMatteo Casalin
Change-Id: I2b4b2673aa27de664f6c6780e67c70559ec61971
2015-10-27sal_uLong/long to ErrCodeMatteo Casalin
Change-Id: I2ba2d867785765e4850c60070e86419f66e25f57
2015-10-27Use mutable instead of const_cast'ing thisMatteo Casalin
Change-Id: I790cd140166bf0041abebbe0c4d9c15e931628f1
2015-10-27Reduce #include scopeMatteo Casalin
Change-Id: I0dc8e00d65078ba910516a9b4473988fdbfe2cc1
2015-10-27SAL_WARN_IF ScCsvSplits::Insert exceeds its maximum supported sizeMatteo Casalin
and cast size() to sal_uInt32 in ScCsvSplits::Count() Change-Id: I35de736702a58e82df6fe90396fe748161f1ff8d
2015-10-27Simplify by early bail-outMatteo Casalin
Change-Id: I9210db5196e5c40f450e8bedac2ddd9bd2299f9c
2015-10-27Remove inline specifier for functions defined in classMatteo Casalin
Change-Id: Ia0fcd51c5c1cfaff86aeaab2919addcce6621322
2015-10-27Use positioned getToken in ScAsciiOptions::ReadFromString (2)Matteo Casalin
Change-Id: I1e91aa9da6fa3ead16ee8f7628dd8c44a7540238