summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2015-12-07fix powerpc buildNoel Grandin
fallout from the wide char changes <sberg> noelgrandin, _rene_, ah, yeah, that's something that broke with 0b07406f7147b9abbb2095d9e038b13293cb8b10 <IZBot> core - Use C++11 char16_t for sal_Unicode - http://cgit.freedesktop.org/libreoffice/core/commit/?id=0b07406f7147b9abbb2095d9e038b13293cb8b10 Change-Id: If4303bd1d8577612250b1857b809b022d13759e4 Reviewed-on: https://gerrit.libreoffice.org/20433 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-12-07Let LIBO_INTERNAL_ONLY imply LOK_USE_UNSTABLE_APIMiklos Vajna
Change-Id: Ifbed5e534ba79d32b7188bb7fb7108338b6e124d
2015-12-07Sort undefsStephan Bergmann
Change-Id: I20940822c482d4edab8a5d4b5aaf75ba58817898
2015-12-06tdf#96246: Make pRenderingArguments nullablePranav Kant
Type gchar* is not nullable by convention. See: https://wiki.gnome.org/Projects/GObjectIntrospection/Annotations#Nullable_parameters Change-Id: Ibfee816a3ef2d29c7376071fb61eda7bf0538efb Reviewed-on: https://gerrit.libreoffice.org/20425 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-12-06unused vcl::IsWindowSystemAvailable Juergen Funk
Change-Id: Ie903a6fe3237319661662c0533c23528766ffd08 Reviewed-on: https://gerrit.libreoffice.org/20404 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2015-12-05Remove typedef only being used onceJulien Nabet
Change-Id: I8f29df2c67e6c4cd9535629edbba4ff1f1a2e632
2015-12-04Wingdi RGB macro handling improvedAshod Nakashian
Improved the isolation of windows headers. Specifically, RGB macro is better handled now. Change-Id: I0eeea16d0de9da3455810c80b0715f7b54ae8c3f Reviewed-on: https://gerrit.libreoffice.org/20039 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-12-03vcl: cleanup indents, add doxygen commentsJuergen Funk
Change-Id: I0e2f269af47caa219bbf2a6a011febbea20791c2 Reviewed-on: https://gerrit.libreoffice.org/20339 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-12-03uno::Sequence->std::vector in vcl::ThrobberNoel Grandin
Change-Id: I9240cd2240940e03e895a7544c9f51a29b048355
2015-12-03uno:Sequence->std::vector in SmartTagMgrNoel Grandin
Change-Id: I163f7d6c0f30ac2929df1cae202e695d21bb49fc
2015-12-03uno::Sequence->std::vector in SfxIntegerListItemNoel Grandin
Change-Id: Icdbb361feea2ebee74f9d0a906bdd3c2882443e8
2015-12-03add move assignment and constructor to uno::ReferenceNoel Grandin
"perf stat" says: Before 14,009,233,975,201 cycles After 13,660,876,595,941 cycles i.e. shaved roughly 2% of the cycles Change-Id: If604a125a8a5040281abd699678d0c791d5bbb51 Reviewed-on: https://gerrit.libreoffice.org/20350 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-12-02sal: add SAL_DEBUG_TRACE debugging API for Windows, with UNX stub.Michael Meeks
Change-Id: I2fdbc2ac10f483eee154bdf69479ba217a91ef7f Reviewed-on: https://gerrit.libreoffice.org/19605 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-12-02valgrind: scary warning that the cairo font options were deleted before useCaolán McNamara
Change-Id: I58427aafb30eca64a67bcf7dd9a7738d8da3e085
2015-12-02Remove unused FMT_R8G8B8Stephan Bergmann
...since 5b4d4af3e8bc3b5fb07bceecefc2a47d8e4b8b18 "bin agg" Change-Id: If86d294f812a670917b181f3bd140883ad2df71d Reviewed-on: https://gerrit.libreoffice.org/20348 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-12-02use compiler intrinsic for osl_atomic_increment on WindowsNoel Grandin
Change-Id: I66b2ba5d8e419f6af5eb3f85f8c12effcdaf4d5e Reviewed-on: https://gerrit.libreoffice.org/20319 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-12-01Apparently no reason to force underlying type hereStephan Bergmann
...presumably just cargo-cult from how enums get ABI-fixed in the URE interface. FMT_UNKNOWN turns out to be unused ever since the code was introduced with 5c5e584c8f22c09cb999d7543a9415349910fa06 "INTEGRATION: CWS canvas02." Caused -Werror,-Wmicrosoft-enum-value with clang-cl. Change-Id: I353e4a2e71ff720a5368548d61ea1bded9c77a6c
2015-11-30Keep items sortedStephan Bergmann
Change-Id: Ifa66e63e67d6ae0a6453d86634e2aa998c442adc
2015-11-30LOK: renderFont methodMihai Varga
Renders the given font in a virtual output device. For now it iterates over a list of fonts until it finds the one that matches the requested font. Change-Id: Ie4ecc3a1441519840d8f4f4a890e92670759b4fc
2015-11-30loplugin:unusedfieldsNoel Grandin
Change-Id: Icac4ac1a2614e72bc9ff070819533e09eeb1a864
2015-11-28Adapt to true wchar_t in clang-clStephan Bergmann
Change-Id: I14c2dc0be12151b5d4ea2ba3b65030f6f4494905
2015-11-28-Werror,-Wunused-functionStephan Bergmann
Change-Id: Icb5476f117ec44f5a4dc3026595305293b99fdd8
2015-11-28-Wmicrosoft-castStephan Bergmann
Change-Id: I205861dd46d635b4b7be87ec8eb84cb70d8bf4d7
2015-11-28Remove unused ESCHER_ShadeTypeStephan Bergmann
...apparently a copy of MSO_ShadeType removed with e336d7f80fd9f7ada4b12c37f9434df411d28466 "Remove unused MSO_ShadeType" and equally unused Change-Id: If1660faa45c1445c302ac0c9a1a160674691c15d
2015-11-28Non-implicit virtual SvxPageItem dtorStephan Bergmann
...otherwise, as the class is SVX_DLLPUBLIC and---for better or worse--- SVX_DLLPUBLIC is shared between Library_svxcore and Library_svx, all .cxx in Library_svxcore that happen to include svx/pageitem.hxx would emit it (as well as those in Library_svx, of course). But at least clang-cl at /O0 would want to put SvxPageItem's (base-class) vtable in place in the dtor, so would also emit the vtable, so would depend on SvxPageItem::operator==, but that is defined in pageitem.cxx in Library_svx, against which Library_svxcore doesn't link. Change-Id: Ibfc393c1de3e0bd6621c057d88b1b0f272820154
2015-11-27introduce SvNumberFormatter::GetFormatStringForExcel()Eike Rathke
Taking implementation from sc/source/filter/excel/xestyle.cxx GetNumberFormatCode(), slightly modified to ensure valid conversion and force en-US locale data. Also don't unnecessarily convert if format is for system locale and system locale is en-US. Change-Id: I9223eaa655132b4106a35c94cb0005559d7575b1
2015-11-27introduce SvNumberFormatter::FillKeywordTableForExcel()Eike Rathke
... to conflate the places that do this on their own. Change-Id: Idde2173780e0515ad982b4be46fc4df23a7577ad
2015-11-27mutex used in post-main dtorCaolán McNamara
Change-Id: Ia4f4def1fd58d82a7c994114e45a36227269671c
2015-11-27typoMichael Stahl
Change-Id: Iebd5637328e905502d02a97b5294c67892688ecb
2015-11-26formula: fix build, undef IdleMichael Stahl
Change-Id: If256bba5d8207a955c06713db7141831b53324c7
2015-11-26vcl: reduce pointless timer / scheduler / idle includes.Michael Meeks
Change-Id: I8bf7f8d6ba1a54f2969e055956fadc52ff6c8673
2015-11-26vcl: fix event processing to idle - for JUnit tests.Michael Meeks
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-Werror,-Wunused-private-fieldStephan Bergmann
Change-Id: I3f328023d99d3505ab2ce2a80eef82d84d81446e
2015-11-26Remove unused MSO_ShadeTypeStephan Bergmann
<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-26Avoid implicitly declared members of EDITENG_DLLPUBLIC classStephan Bergmann
...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-26tdf#93837 Add UNO-based SmartTag menu controllerMaxim Monastirsky
... 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-26Revert "no-one passes explicit values for these defaulted params"Noel Grandin
This reverts commit 97978f7f015e042e72ec2bf0f3ba1652ecbcc5c5. breaks unit test CppunitTest_sw_ooxmlimport
2015-11-26no-one passes explicit values for these defaulted paramsNoel Grandin
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-25vcl: cleanup scheduler debug name usage.Michael Meeks
Change-Id: I94975d220452ca91cbbd9db5e7895fa0b3a88e4a
2015-11-25vcl: don't treat non-ready timers as idle handlers.Michael Meeks
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-25vcl: improve scheduler debugging information.Michael Meeks
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-25vcl: move private impl. detail of Scheduler out of global header.Michael Meeks
Change-Id: Iee56131a15f9554c263406356456f65694515719
2015-11-25-Werror=type-limitsNoel Grandin
comparison is always true due to limited range of data type Change-Id: If4bcf1f3123cbbd9261e48d2c786a610fc7c0cbc
2015-11-25loplugin:unusedfields in include/xmloffNoel Grandin
Change-Id: I979743671e9a2e868d815f917427588b7b0320ba
2015-11-25loplugin:unusedfields in include/vclNoel Grandin
and fixed bug in sepia filter, where it was using the wrong member of the union to get the percentage Change-Id: I56b76496a3ac711adec12dd8c08b28d69644d66f
2015-11-25store custom icon set info into ODFMarkus Mohrhard
Change-Id: I1581b28237d2b9f9c22d3f3b0436dc281508aafa Reviewed-on: https://gerrit.libreoffice.org/20118 Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-11-25loplugin:unusedfields in include/toolkit,include/toolsNoel Grandin
Change-Id: I22966b66b1b8e4dff2e565de456f21a668f33f28
2015-11-25loplugin:unusedfields in include/svxNoel Grandin
Change-Id: I946c64d103f3666e5bbff16d95a5c8e65a3750dc
2015-11-25loplugin:unusedfields in include/sot,include/svl,include/svtoolsNoel Grandin
Change-Id: Ia2dd13c2c48b127ab85311a668fa1f37608d360a
2015-11-25loplugin:unusedfields in include/sfx2/Noel Grandin
Change-Id: I3eb27ed10e82ee56b33866ac576c1b1f8c9756b9