summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-12-03Use comphelper::containerToSequence()Noel Grandin
Change-Id: I18d6ef04ff00f971a4c54ba259733c07501c6c1a
2015-12-03Resolves: tdf#95700 index dialog cut offCaolán McNamara
queue_resize needs to invalidate the size cache even if there is a pending layout idle awaiting Change-Id: I6dba3d37fbb33125cc3f5d17aff6d2f7a3388654
2015-12-03Resolves: tdf#94701 allow fully deleting illustration category in comboboxCaolán McNamara
Change-Id: Iaaefbe2311e61be3b9689c693481d149aa1355f5
2015-12-03Resolves: tdf#95960 displaced field value in user-defined propertiesCaolán McNamara
Change-Id: Idc9e8fd0c35de48a2366dca3850bcc4e69ef997f
2015-12-03coverity#1341505 silence Uninitialized scalar variableCaolán McNamara
Change-Id: I7048d69816d09392ce3b974dc2820a0935591c4c
2015-12-03coverity#1341504 Uninitialized scalar variableCaolán McNamara
Change-Id: I0c517492d578f0291c823d56332006f6a433ba2e
2015-12-03coverity#1341507 Uninitialized pointer fieldCaolán McNamara
Change-Id: I77d59c91f09d2546468942263dbd71ac4665efb0
2015-12-03Use comphelper::containerToSequence()Miklos Vajna
Change-Id: I774864241bc15fcfd08cd2becbf34aae0349a9d8
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-03Revert "tdf#96012: Type formatting in Base shouldn't be multiselect"Lionel Elie Mamane
This reverts commit 103cd686de34b668a838c459f3d827c02e704656. Better fix for tdf#96012 in b2d479854a9182234a378166900240aee7e1c79b ("simple mode" for the multiselection) Change-Id: Ia6d7e5132e3f1997906a03f67ea4d7d0cf54ce7a
2015-12-03tdf#96012 enable simple mode for the multilistboxLionel Elie Mamane
Change-Id: Ia4d4c56318bc7d32d317abbda27eda9d3413ba75
2015-12-02tdf#96012: Type formatting in Base shouldn't be multiselectJulien Nabet
Disable multiselect and don't manually select the entry Change-Id: Id04e757e4d2031718f95af1d0f512b4ca2df205c Reviewed-on: https://gerrit.libreoffice.org/20360 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
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-02DOCX export: handle <w:smartTag>Miklos Vajna
A Writer document can have multiple arbitrary RDF graphs, handle the following subset: - instead of handling all graphs, have a whitelist, look at the TSCP graph the DOCX importer creates - look for (paragraph, key, value) statements and export those Change-Id: I142c24fb4c8140bde5fc1efad2932886de167b90
2015-12-02sw: initial SwRDFHelperMiklos Vajna
The purpose of this class is to provide access to the subset of the RDF metadata that's interesting for core code and for internal filters. Change-Id: Ibecba302dd839b537a36b9f7a15f012c6ea26869
2015-12-02Revert "external/liborcus: Silence clang-cl errors about redeclared Windows ↵Stephan Bergmann
functions" This reverts commit be0bf120299cff1ec14af1b578d4ea89976cea08, which is no longer needed after 12fc5b85ddc3b90b385ad0fc2ab0144a32bf9a4b "unnecessary include brings in boost headers that are broken under rhel-7"
2015-12-02unnecessary include brings in boost headers that are broken under rhel-7Caolán McNamara
Change-Id: I1ad477b9db9ba960ae2c417799e5d91b63538d57
2015-12-02Add/change some logs in WebDAV ucb.ucp layer.Giuseppe Castagno
At the same time replace old OSL_TRACE, OSL_FAIL, OSL_ENSURE with SAL_* as appropriate: OSL_TRACE =--> SAL_LOG or =--> SAL_WARN if requires some kind of attention by the developer. OSL_FAIL =--> SAL_WARN or =--> SAL_INFO if the warning is brought up later in the program flow. OSL_ENSURE =--> assert oe SAL_WARN_IF when appropriate. Change-Id: I1cf8f76acdec6f37746488b22cbf579802a9d79d Reviewed-on: https://gerrit.libreoffice.org/20034 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-12-02Calculate substring indexes properly, avoiding an unnecessary ↵Damjan Jovanovic
IndexOutOfBoundsException. Patch by: me (cherry picked from commit d46d79f2261eb6be2fb74254f09520f5ef2baa88)
2015-12-02gtk3: gtk_gesture_get_point may return falseCaolán McNamara
Change-Id: Ibd175c65babdde48132692fd1979a00929356bb4
2015-12-02valgrind: scary warning that the cairo font options were deleted before useCaolán McNamara
Change-Id: I58427aafb30eca64a67bcf7dd9a7738d8da3e085
2015-12-02an empty string here seems no hardshipCaolán McNamara
Change-Id: I8c8589f6ff7a190556cc4aa016ae343a19378b18
2015-12-02keep disable image at same depth as originalCaolán McNamara
that way the "preferred" image format for a platform for icons etc remains sticky Change-Id: Ia76af0b7c4f27650038cab214b6406b8ef1a5fc4
2015-12-028 bit palettes are on the slow path for quartz/svp/gtk3Caolán McNamara
Change-Id: Id2ed21b397a3f56413c344dcf9211ab64a939286
2015-12-02loplugin:stringconcat: Also look through O[U]String ctorsStephan Bergmann
Change-Id: I4f07c7c61d324a85f9f5dee0f25a7358facebd41
2015-12-02loplugin:stringconcat: Handle base case of recursion into left argStephan Bergmann
Change-Id: I9ed8586e8b77b009d55e411fdaa863eefc38b1c2
2015-12-02Revert "small optimisation in paint"Noel Grandin
This reverts commit 7e9bdfe60784d49ab7d6ffe8df256834d39e1234. Seems to be causing problems for people using 'ssh -X'. I suspect that it has something to do with PaintHelper's destructor.
2015-12-02DOCX import: handle <w:smartTag>Miklos Vajna
These can be sort of arbitrary key-value pairs around one or multiple runs, handle the following subset: - when they appear at a paragraph context -> we assume they are annotations on the paragraph - when the smart tag's URI/element is RDF -> we map these to RDF metadata statements on paragraphs - when the attribute name's namespace is known, because in ODF we need to specify both a path and a type (namespace) for the RDF graph, and OOXML only provides a namespace As a start, recognize the TSCP BAF namespace from <https://www.tscp.org/wp-content/uploads/2013/08/TSCP_BAFv1.pdf>. Change-Id: Ib188b1395e7ec7e0441b4f12f86cfef99fb9f096
2015-12-02GraphicFilter::ExportGraphic: adapt to removed expGraphicExportMiklos Vajna
Implementation was removed in 630ec7110ec822d1d380d5181bcbb2570a129a21 (tdf#92925 Remove XPM export, 2015-12-01), this would only fail at runtime on the desktop when doing a dlopen(), but gets detected on Android at link-time. Change-Id: I0345c23ef52fb87c9d56bc54490ba0302fc08ac1
2015-12-02Breeze transition icons for impressandreas kainz
transition would be finished for breeze Change-Id: Id159b09f7d62ca087a946e19b5568424bfe9ca0c Reviewed-on: https://gerrit.libreoffice.org/20345 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-12-02vcl: remaining Android build fixesMiklos Vajna
Commit c91feb2f7e9928ac365f5f51429d9c20bef378a0 (fix Android build, 2015-12-02) was the right direction, but probably was a blind fix, so do the same at the remaining places as well. Change-Id: I49637fbb9ab848de7c465724387a8676d2d98de0
2015-12-02tdf#94043 RTF filter: implement column separator handlingMiklos Vajna
Change-Id: I9d74642156d7bb79577671bae24346c75178c5c7
2015-12-02Get rid of a superfluous directory levelTor Lillqvist
Change-Id: I79e065f0c68b149d2ef69f428d31e36e97a6098b
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-02Avoid clang-cl -Werror,-Wbitfield-constant-conversionStephan Bergmann
...when (non-negative) QueryOp enumerators LESS/GREATER_EQUAL are crammed into a 2-bit meOp bitfield, where enums are implictly signed for MSVC, so the values actually storable in the bitfield range from -2 to +1. The clang-cl warning would go away when fixing the underlying type of QueryOp as unsigned, but then GCC would start to emit "error: ‘ScLookupCache::QueryCriteria::meOp’ is too small to hold all values of ‘enum ScLookupCache::QueryOp’ [-Werror]." So don't bother with bitfields at all: For QueryCritera, for one there's a union member with a double and a pointer, so sizeof (QueryCriteria) will be twice the size of double anyway; and for another, MSVC doesn't combine bitfields of different type, so the bool members were separated from meOp anyway. For QueryKey the reason for a bitfield is even less clear cut, and it might only have been there so that comparing (negative!) values read out of QueryCritera::meOp compare equal to values read out of QueryKey::meOp under MSVC. Change-Id: I69fb068bea914c00a29001155218cb9f1b8f8a9a
2015-12-02external/icu: Work around a weird Windows bug in either make or clang-clStephan Bergmann
...for now; workdir/UnpackedTarball/icu/source/tools/toolutil/Makefile invokes the compiler with a -DU_HOST=\"...\" argument, and apparently directly executes the compiler from CreateProcess, not going via a shell invocation for the recipe line. This confuses clang-cl for whatever reason, and for whatever other reason, forcing make to go via a shell invocation (by adding "true &&" into the recipe line) fixes it. Change-Id: I3757a8856f93228c19475b37f3037fa9519a426f
2015-12-02boost/external: More fixes for clang-clStephan Bergmann
* Avoid errors about (somewhat different, but apparently in a way that MSVC doesn't care) redeclarations of system header stuff (and working around that with BOOST_USE_WINDOWS_H would lead to other problems). * Need the workaround for broken MSVC 2010 STL iterator taxonomy for clang-cl, too. Change-Id: I4f9c9b5cc8a19856cc409450aac1fb1baa5554c9
2015-12-02external/boost: Work around -Werror,-Winvalid-constexprStephan Bergmann
Change-Id: I819be5efb25632d26fe49a71dbc07fe16e4914b1
2015-12-02external/clucene: Use warning-supression pragmas for clang-cl, tooStephan Bergmann
Change-Id: I23da54974f39da5fccb619d6fa68eff38e70f5a5
2015-12-02external/glm: Fix check for availability of C++11 static_assertStephan Bergmann
Change-Id: I0d24bcdfeb0d004607569da089c9f787a868da72
2015-12-02external/glm: work around missing clang-cl #pragma supportStephan Bergmann
Change-Id: I596dc0e2306e7170e65c77a1635f88407272e6b1
2015-12-02external/icu: Don't hardcode cl (so we can build with clang-cl instead)Stephan Bergmann
Change-Id: I8e75b0ab2439592316fc0d871280a438e3ae2f1c
2015-12-02external/liborcus: Silence clang-cl errors about redeclared Windows functionsStephan Bergmann
...like CreateMutexA redeclared in workdir/UnpackedTarball/boost\boost/thread/win32/thread_primitives.hpp. As such problematic Boost include files are apparently not included from LO-proper source files, only from external, it looks easiest to just silence that with BOOST_USE_WINDOWS_H here. Change-Id: Ia5ec2325934e6d7fdcf91e6faa2e671aee2091ae
2015-12-02external/nss: work around missing clang-cl #pragma supportStephan Bergmann
Change-Id: I068ff0ef2252409689c0c376ec41bdd97b4567cc
2015-12-02clang-cl needs an explicit -I to find systools/win32/snprintf.hStephan Bergmann
...included via external/poppler/poppler-snprintf.patch.1 Change-Id: Ibe20452e7da4995ca33c97dd99dc441060e73894
2015-12-02For some odd reason, clang-cl.exe doesn't like being called by CreateProcessStephan Bergmann
...with the executable specified in the first arg, instead of as part of the second arg (i.e., the command line) Change-Id: Ie6e232f6880b5bfbb91a52ee5398b91a0ccddc4d
2015-12-02Filter out -fPIC tooStephan Bergmann
...which happens to be passed in when building external/poppler with clang-cl Change-Id: I2c17bec316081a0cdc789a84bb1447acf5e893c0
2015-12-02clang-cl needs -Wno-missing-bracesStephan Bergmann
...as in com_GCC_defs.mk Change-Id: Ic086a6f08945698cd35a312f98491cba403b9582
2015-12-02Adapt new/delete exception specs for MSVCStephan Bergmann
...where plain operator new/delete are reportedly predefined (cf. <www.geoffchappell.com/studies/msvc/language/predefined/index.html>) without any exception specs, then redeclared in C:/PROGRA~2/MICROS~1.0/VC/include/new with exception specs that are ignored by MSVC (so it presumably doesn't even complain about the mismatching redeclarations, just effectively ignores them); and array operator new/delete are declared in C:/PROGRA~2/MICROS~1.0/VC/include/crtdbg.h without any exception specs. clang-cl would warn about those inconsistencies. Change-Id: I4dd15e4cfcedc3de5e8617b43769b5371cafa71f