summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2015-12-02-Werror,-Wint-to-pointer-castStephan Bergmann
Appart from the by-design type-punned use in CreateWindowEx, m_uID is (only) used in a call to MAKEWPARAM (to create a WPARAM to pass into a SendMessage call), so the most realistic type to use seems to be WORD. And CHatchWindow::Init is only called with a value of 2000 (from docholder.cxx), anyway. Change-Id: I4b6554d1ca9bb3926378c9e25a5473609f5951c5
2015-12-02Where to find ATL files doesn't depend on --enable-activexStephan Bergmann
...but, according to the 'Doesn't exist for VSE' comment, apparently rather on the compiler version installed Change-Id: I49a87fa55facee8ee66e2b44d7090d06fb104b89
2015-12-02Allow --disable-pch for clang-clStephan Bergmann
...which doesn't support the cl PCH cmd line args yet Change-Id: I0a5a4d6c82138992c6e40b5958a41a7fa0be88ac
2015-12-02Work around missing __CxxDetectRethrow in clang-clStephan Bergmann
Change-Id: Ia42d39f04b22986d3fd873655b48dc31d834caee
2015-12-02Be explicit about missing env varsStephan Bergmann
Change-Id: I1023779749c3ce114d637a39a72bc9038324f01d
2015-12-02Fix quotingStephan Bergmann
Change-Id: I4a4a7c4a1596837c2f221d856228d7d26482ede3
2015-12-02Silence clang-cl -Winvalid-offsetof in ATL-macro expansionStephan Bergmann
Change-Id: I2bfa87abd111faf414d2603025d3613f7e0ae104
2015-12-02Silence clang-cl warnings in ATL headersStephan Bergmann
Change-Id: I85df6250d4cae3dd6bd516f2086af7efcf2cd562
2015-12-02Silence clang-cl -Wextra-tokens in midl-generated codeStephan Bergmann
Change-Id: I30d09560bf948c2659f479ef55b58a2007fcbc1b
2015-12-02Silence clang-cl warnings in ATL headersStephan Bergmann
Change-Id: Id94279d0086bc29569783f4e0b5d975be162e823
2015-12-02Check clang-cl for HAVE_GCC_ATTRIBUTE_WARN_UNUSED, tooStephan Bergmann
Change-Id: I820ea4b3efc51a0464470a8a53d022602d635c81
2015-12-02-Werror,-Wunused-private-fieldStephan Bergmann
Change-Id: Icf15313f5bcacbe9c7efa0b4161929dbb3e39c1e
2015-12-02fix Android buildNoel Grandin
after commit 630ec7110ec822d1d380d5181bcbb2570a129a21 "tdf#92925 Remove XPM export" and commit 9027629b0e09b3b024a5821bb791308039bb5d8b "tdf#92925 Remove RAS export" Change-Id: I2b4e078530462fbab58aa3ce0e841d25437280f2
2015-12-02small optimisation in paintNoel Grandin
no need to instantiate PaintHelper unless we are going to use it Change-Id: I911f5f49ab566b33114a092823b89f91f4ab297a
2015-12-02inline one-liner static methodNoel Grandin
Change-Id: I9e0bd7a34ed691b245738dd66ff5ba7cc879ebe5
2015-12-02tdf#92925 Remove XPM exportBryan Quigley
XPM was used to create icons but isn't used much anymore. Import supoort was tested and still works. Change-Id: I50b15bc0938c114a432e93781a92e9db38810f49 Reviewed-on: https://gerrit.libreoffice.org/20341 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-12-02Remove some chained appendsWillian Briotto
Change-Id: I552432d7352e4ae4d6b0ef8fb72a6533407b46e4 Reviewed-on: https://gerrit.libreoffice.org/20124 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-12-02tdf#92925 Remove RAS exportBryan Quigley
RAS was last used on Sun's now defunct SunOS. Import was tested and still works. Change-Id: I9fb9b7965279391922f19ec1f9e4a53134d41f5c Reviewed-on: https://gerrit.libreoffice.org/20342 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-12-02tdf#96162: sfx2: avoid re-creating existing sidebar PanelsMichael Stahl
Writer's naviagtor crashes when you click on a frame to select it, because the SwContent* that is passed to SwContentTree::GotoContent() is deleted because SidebarController::CreatePanels() re-creates every single panel and then ResetPanels() disposes the existing ones, which deletes the naviagtor's SwContent instances. (regression from 536c259cb9644971d0eb0cdfb7d823c5383a5481) Change-Id: I8f875df816a2d5948026a1d3f30b86bb2418acda
2015-12-01Updated coreDennis Roczek
Project: help 343ae098d59e0ac1d5e6acbe3aeb33799d7b7ca7 fix xhp to wiki conversation script to allow multiline code Change-Id: I4772b1b9ab25c3c9ecf6f418817ee89ba0e8f671 Reviewed-on: https://gerrit.libreoffice.org/20337 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-12-01Updated coreOlivier Hallot
Project: help b5520a0314051d211a1e9e027b3cbd078947b969 Remove unnecessary paragaraph from help file The usabe content of this file is inside the section. The extra paragraph is not used anywhere in the Help. Change-Id: I7b76b6339e4b0021b663c7f4ec37e59774a45291 Reviewed-on: https://gerrit.libreoffice.org/20335 Reviewed-by: Olivier Hallot <ohallot@collabora.co.uk> Tested-by: Olivier Hallot <ohallot@collabora.co.uk>
2015-12-01Resolves: tdf#95629 quote CSV also if cell contains embedded '\r' CREike Rathke
Change-Id: I37fb62a53338a7edcac1c72153eefcee6096e6f9
2015-12-01tdf#92925 Remove PCT export Bryan Quigley
Mac PICT was replaced (by PDF) after Apple moved from Mac Classic. I tested import and it still works Change-Id: I931036d3946240280d406bd4abbcef6e0f86d894 Reviewed-on: https://gerrit.libreoffice.org/20029 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2015-12-01tdf#94138 Use correct fonts for multiline edit when printingTomaž Vajngerl
When drawing a multiline edit we need to use a different device (current window) to get the correct font and adjust for the Draw method's input device. Change-Id: I7993790c02d10e4283c7a4e2caefff0c7747e978