summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-12-02Get rid of a superfluous directory levelTor Lillqvist95-90/+90
Change-Id: I79e065f0c68b149d2ef69f428d31e36e97a6098b
2015-12-02Remove unused FMT_R8G8B8Stephan Bergmann2-43/+0
...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 Grandin1-0/+8
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 Bergmann1-4/+4
...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 Bergmann1-0/+13
...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 Bergmann1-1/+140
* 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 Bergmann1-0/+42
Change-Id: I819be5efb25632d26fe49a71dbc07fe16e4914b1
2015-12-02external/clucene: Use warning-supression pragmas for clang-cl, tooStephan Bergmann1-10/+10
Change-Id: I23da54974f39da5fccb619d6fa68eff38e70f5a5
2015-12-02external/glm: Fix check for availability of C++11 static_assertStephan Bergmann1-0/+18
Change-Id: I0d24bcdfeb0d004607569da089c9f787a868da72
2015-12-02external/glm: work around missing clang-cl #pragma supportStephan Bergmann2-0/+15
Change-Id: I596dc0e2306e7170e65c77a1635f88407272e6b1
2015-12-02external/icu: Don't hardcode cl (so we can build with clang-cl instead)Stephan Bergmann2-0/+14
Change-Id: I8e75b0ab2439592316fc0d871280a438e3ae2f1c
2015-12-02external/liborcus: Silence clang-cl errors about redeclared Windows functionsStephan Bergmann1-0/+7
...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 Bergmann2-0/+57
Change-Id: I068ff0ef2252409689c0c376ec41bdd97b4567cc
2015-12-02clang-cl needs an explicit -I to find systools/win32/snprintf.hStephan Bergmann1-1/+1
...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 Bergmann1-7/+4
...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 Bergmann1-1/+1
...which happens to be passed in when building external/poppler with clang-cl Change-Id: I2c17bec316081a0cdc789a84bb1447acf5e893c0
2015-12-02clang-cl needs -Wno-missing-bracesStephan Bergmann1-0/+6
...as in com_GCC_defs.mk Change-Id: Ic086a6f08945698cd35a312f98491cba403b9582
2015-12-02Adapt new/delete exception specs for MSVCStephan Bergmann1-2/+8
...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 Bergmann2-6/+6
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 Bergmann1-4/+4
...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 Bergmann1-5/+5
...which doesn't support the cl PCH cmd line args yet Change-Id: I0a5a4d6c82138992c6e40b5958a41a7fa0be88ac
2015-12-02Work around missing __CxxDetectRethrow in clang-clStephan Bergmann1-0/+6
Change-Id: Ia42d39f04b22986d3fd873655b48dc31d834caee
2015-12-02Be explicit about missing env varsStephan Bergmann1-0/+8
Change-Id: I1023779749c3ce114d637a39a72bc9038324f01d
2015-12-02Fix quotingStephan Bergmann1-2/+2
Change-Id: I4a4a7c4a1596837c2f221d856228d7d26482ede3
2015-12-02Silence clang-cl -Winvalid-offsetof in ATL-macro expansionStephan Bergmann1-0/+9
Change-Id: I2bfa87abd111faf414d2603025d3613f7e0ae104
2015-12-02Silence clang-cl warnings in ATL headersStephan Bergmann1-0/+16
Change-Id: I85df6250d4cae3dd6bd516f2086af7efcf2cd562
2015-12-02Silence clang-cl -Wextra-tokens in midl-generated codeStephan Bergmann1-0/+9
Change-Id: I30d09560bf948c2659f479ef55b58a2007fcbc1b
2015-12-02Silence clang-cl warnings in ATL headersStephan Bergmann2-0/+24
Change-Id: Id94279d0086bc29569783f4e0b5d975be162e823
2015-12-02Check clang-cl for HAVE_GCC_ATTRIBUTE_WARN_UNUSED, tooStephan Bergmann1-13/+13
Change-Id: I820ea4b3efc51a0464470a8a53d022602d635c81
2015-12-02-Werror,-Wunused-private-fieldStephan Bergmann2-13/+0
Change-Id: Icf15313f5bcacbe9c7efa0b4161929dbb3e39c1e
2015-12-02fix Android buildNoel Grandin1-6/+0
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 Grandin1-2/+3
no need to instantiate PaintHelper unless we are going to use it Change-Id: I911f5f49ab566b33114a092823b89f91f4ab297a
2015-12-02inline one-liner static methodNoel Grandin1-9/+1
Change-Id: I9e0bd7a34ed691b245738dd66ff5ba7cc879ebe5
2015-12-02tdf#92925 Remove XPM exportBryan Quigley7-355/+0
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 Briotto1-8/+8
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 Quigley7-376/+0
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 Stahl1-26/+33
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 Roczek1-0/+0
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 Hallot1-0/+0
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 Rathke1-2/+3
Change-Id: I37fb62a53338a7edcac1c72153eefcee6096e6f9
2015-12-01tdf#92925 Remove PCT export Bryan Quigley7-2363/+0
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ž Vajngerl1-2/+8
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
2015-12-01sc interpreter: Improve the unit test for S/W Interpreter.Jan Holesovsky2-15/+36
Some of the operations are blacklisted for vectorization there, so test both the normal and s/w interpreter case. Change-Id: I6d48831f6bdbbb1e150bea06fc97ea5d6e66365b
2015-12-01sc unit tests: Prefix the format names.Jan Holesovsky8-498/+497
Otherwise we conflict with the officecfg includes; and it is a bad idea to have too broad names for #define's anyway. Change-Id: Ie48e6f109f654a9ee4aedb3eb37df5e67f88a905
2015-12-01sc interpreter: Don't throw when we hit something not yet implemented.Jan Holesovsky1-133/+220
Instead create a ScFullMatrix, and perform the operation using that. This has a performance penalty, as we need to copy the data from ScVectorRefMatrix to the ScFullMatrix; but this is one-off, and the same performance penalty that was there before introducing ScVectorRefMatrix. Additionally now we can optimize the methods that appear to be the bottlenecks one after another (and whitelist them). Change-Id: If94a5017b96fb914817cfd7ed1b7ae823db8b5f5
2015-12-01sc interpreter: Move the code that can create a ScFullMatrix.Jan Holesovsky3-208/+206
For the operations that we haven't implemented directly in ScVectorRefMatrix yet, create the ScFullMatrix the same way as we used to do before, and call the appropriate method of ScFullMatrix. This commit only moves the code, does not turn the 'throw std::runtime_exception' into actually using the new ensureFullMatrix(). Change-Id: I336a4ddf07b0b60a5a41036e19c70a44ba575834
2015-12-01sc interpreter: Don't hide S/W Interpreter behind an environment variable.Jan Holesovsky9-17/+77
Instead provide a user setting that can be enabled so that the S/W Interpreter is used on a subset of the operations. The operations for which it is used are controlled by a whitelist in ScCalcConfig::setOpenCLConfigToDefault(). Change-Id: I7d3f3a864fcb1231e5484ec23961f14fca1466c5
2015-12-01tdf#88443:percent value fixedOliver Specht1-1/+1
Change-Id: I221f07b930fa1f152b9bf379aa966c02b936abb2
2015-12-01DOCX import: initialize RDF metadata before importing document propertiesMiklos Vajna1-0/+18
With this, it is possible to import part of the document as RDF statements later when parsing document.xml. Previously SfxBaseModel member functions like getMetadataGraphsWithType() and addMetadataFile() failed, as they tried to find the already imported document in UCB, which failed, as the import was still in progress. To prevent that, do the same as the ODT import in XMLReader::Read(), part "RDF metadata". Change-Id: Ia15af9bb0681cbc25fe745742c24af82cd213e5d
2015-12-01gtk3+wayland: wrong dialog sizesCaolán McNamara1-4/+6
use inner container, not outer toxic toplevel Change-Id: I44f2fe1e8e346e51e65158f7864293ef37732345