summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-09-11LibreOffice4Android: Fix NullPointerExceptionJacobo Aragunde Pérez
The member fileNames was being correctly set in createUI() but it was being reset at openDirectory(). The only purpose of this member was sending the file name to open() method, but we can rewrite open() to accept File objects so fileNames became useless and was removed. Change-Id: I944be8ff13d221573a5a7accf0081c30872c62f0
2014-09-11LibreOffice4Android: Remove dependency from actionbarsherlockJacobo Aragunde Pérez
Replace with the native Android action bar since API 11. Change-Id: Ia332b51cfea084072e8d0362702a359b8f09adea
2014-09-11LibreOffice4Android: Disable thumbnails so the application can runJacobo Aragunde Pérez
Commented out the piece of code that invokes the creation of thumbnails, because it crashes after the call to native code. Once LibreOffice4Android is merged with the LOKit-based viewer, it will be the moment to fix the thumbnails properly. Change-Id: I6dd38c6f91008d41905d3c4a856899e9ec81bd6b
2014-09-11WaE: Unreferenced function definitionTor Lillqvist
Change-Id: I6f6560e2c2aaf4b71480fc2ffc7ef2f6e2474ab0
2014-09-11reject invalid dbase files with 0 len db_slng right at the startCaolán McNamara
Change-Id: If4aa5249391ea2d2e475fa3ebaccf4e9fc7442de
2014-09-11ODbaseDatabaseMetaData::getColumns dies if throwInvalidDbaseFormat occursCaolán McNamara
Change-Id: If649c1cb8f41e8a29afb5ad350664a573cd1102a
2014-09-11ucb: sal_Bool -> boolStephan Bergmann
Change-Id: I333ffa13159eac5cc53c9f3985dde5a33daf8067
2014-09-11Move DomainMapper_Impl::substream() to DomainMapper_Impl.cxxMiklos Vajna
Change-Id: Ic87ffe60def0346f28065d8c02e6022e237cee4d
2014-09-11jvmfwk: print a warning if running java faMichael Stahl
Change-Id: Ibfcd6678ed1503cfab0881f3ec67c4c158d798cb
2014-09-11smoketest: run the extension test firstMichael Stahl
With clang 3.4 ASAN there is the problem that the smoketest fails if run in "make check" while trying to start the JVM, in getJavaProps() it forks a "java" process and that fails due to lack of memory. Avoid that problem by running the extension test first, when there is only one application loaded, so the process is using much less memory. Change-Id: I7e8bdc6ceea65b212f376943c7814ad1cf28675d
2014-09-11shell: sal_Bool -> boolStephan Bergmann
Change-Id: Ie4fedd95752aa1212481bff0cda7c0045956b361
2014-09-12minor whitespace changeChris Sherlock
Change-Id: I556a68a2da770080e475a4e6619722fd721101ca
2014-09-11Resolves: fdo#82552 we only check pAlphaW on one branchCaolán McNamara
Change-Id: Ib2c5a0d751050af77f267edbb7a5a0fe57494622
2014-09-11(Rudimentary) C++11 support is a hard requirement nowStephan Bergmann
Change-Id: I43ed776d52336b822aa6152f0f2a29e39303bb75
2014-09-11fdo#75757: remove inheritance to std::vectorTakeshi Abe
from LayeredDevice::LayerContainer. Change-Id: Icc4b16db92daadbd742e83e90c95477c0c465f5b Reviewed-on: https://gerrit.libreoffice.org/11397 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-11server font dtor always calls ReleaseFaceFTCaolán McNamara
therefore we must always call GetFaceFT in the ctor and not return early *before* calling GetFaceFT which could happen in case of inane font size requests, i.e. if( (mnWidth < 0) || (mfStretch > +64.0) || (mfStretch < -64.0) ) valgrind+bff Change-Id: If22f8f7ff6aaed3ffa9eec68630da8601dfd5cae
2014-09-11For ASAN __cxa_throw interception to work, link python.bin to libstdc++Stephan Bergmann
...where the intercepted __cxa_throw is found, as otherwise PythonTest_sw_python fails with AddressSanitizer CHECK failed: projects/compiler-rt/lib/asan/asan_interceptors.cc:293 "((IndirectExternCall(__interception::real___cxa_throw))) != (0)" (0x0, 0x0) #0 in __asan::AsanCheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) projects/compiler-rt/lib/asan/asan_rtl.cc:70:3 #1 in __sanitizer::CheckFailed(char const*, int, char const*, unsigned long long, unsigned long long) projects/compiler-rt/lib/sanitizer_common/sanitizer_common.cc:76:5 #2 0x48c3ac in __cxa_throw projects/compiler-rt/lib/asan/asan_interceptors.cc:293:3 #3 0x7f67faec0ef5 in pyuno::createClass(rtl::OUString const&, pyuno::Runtime const&) pyuno/source/module/pyuno_except.cxx:92:9 ... Change-Id: I0cb364eacab49644b426fb62f49bf9d7c8b5090c
2014-09-11add windows 1258 to charset listCaolán McNamara
Change-Id: Ia12fff0bd25daf39a01f8faef9a152e23bbe7fcf
2014-09-11fdo#82114 RTF import: fix handling of first page in non-first sectionMiklos Vajna
Change-Id: If06c6bcdda97447e6014223d997c7ff8abd64b48
2014-09-11Avoid ODR-violating name clashStephan Bergmann
Change-Id: I69c3b11b01d520a485b07c8e5397a7f971210af2
2014-09-11Avoid ODR-violating name clashStephan Bergmann
Change-Id: I4911dcb5d902a5b92d4c175054acd220e449459d
2014-09-11android: remove unneeded code pathsTomaž Vajngerl
Change-Id: I5da4ca67caf2bc2e368c74cf719b080c63b6d47f
2014-09-11get rid of QUERYINT macro in sdTomaž Vajngerl
Change-Id: I058cf5bdd3d11fb28b3e497c1a13e4ffc7e4ed84
2014-09-11Prevent erroneous pick up of unrelated css::i18n::MapingStephan Bergmann
...from include/i18nutil/casefolding.hxx Change-Id: I892a83b8e40dadcffc1b59eaa18bee2b782131f1
2014-09-11Avoid name clash with generated C++ class corresponding to UNOIDL serviceStephan Bergmann
Change-Id: Id8201bc91c8e398b972b7294b8916d4ac76c787d
2014-09-11Avoid name clash with generated C++ class corresponding to UNOIDL serviceStephan Bergmann
Change-Id: Ie76cab45f5fd609457b11cb3b9732cba2da3b023
2014-09-11Avoid name clash with generated C++ class corresponding to UNOIDL serviceStephan Bergmann
Change-Id: I96582bf05787a30479d324ff8deb7cea758bb2c2
2014-09-11Default to MAC_OS_X_VERSION_MIN_REQUIRED=1080 for Mac OS X SDK >= 10.8Stephan Bergmann
...esp. after aba0106926ceb337035cf46611ff0d590a2af28b "Always build 64-bit code for OS X" combined with the fact that the TDF 64-bit builds state 10.8 as a minimum requirement. For a build with SDK >= 10.8 and no explicit --with-macosx-version-min-required, this also enforces libc++ instead of libstdc++, which is a prerequisite for future use of more C++11 features. Change-Id: Idc770c30ff844b6c3e84d088b5deead0a577e7bf
2014-09-11fix corner case crash in xhtml headless export as pdfCaolán McNamara
Change-Id: I255504e2c84783387d2fc308800812bef5e82734
2014-09-11create a master document template typeCaolán McNamara
of application/vnd.oasis.opendocument.text-master-template with suffic otm https://lists.oasis-open.org/archives/office-comment/201002/msg00042.html desktop/icons/oasis-master-document-template.icns is just a copy of desktop/icons/oasis-master-document.icns because I can't draw Change-Id: I0d18c79c4c893e97505052884ee8be97d0f117a1 Reviewed-on: https://gerrit.libreoffice.org/11350 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-11Fix check for ABI-broken GCC 4.7.{0,1} libstdc++Stephan Bergmann
...to avoid mis-clasification of e.g. GCC 4.6 libstdc++ on Ubuntu 12.04 as witnessed at <http://ci.libreoffice.org/job/buildbot/2461/consoleFull> Change-Id: Ia754a8d847e7af4e0e25b4bf82e17214f7212894
2014-09-11fdo#82994 Added some more audio formatsDaniel Sikeler
Change-Id: I0acd880dc1886f46e1fe146941f1027c9b6ab265 Reviewed-on: https://gerrit.libreoffice.org/11388 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-11Use comphelper::SequenceAsVectorMiklos Vajna
Change-Id: I25b123d8086feef028ffea707d4854392964df7b
2014-09-11sw: actually check that iterator is validMichael Stahl
Change-Id: Icefedf1d3fe09ed6670481dcdc4c5e745e816b1b
2014-09-11sw: factor out a function to encapsulate object lifetimesMichael Stahl
Change-Id: Ie49cb4729d70f2b1fee9a2b7bd4ac095732a3d58
2014-09-11untabifyLionel Elie Mamane
Change-Id: I6a1abc2839de2c7b8508f7edabeec8016e67ba5c
2014-09-11system-gltf should follow system-libsLionel Elie Mamane
Change-Id: I123b6dd56c21cdecd218152396f8cb8366ef53b2
2014-09-11loplugin:bodynotinblockStephan Bergmann
Change-Id: I7fa377b37e4985196ad25da0ff3d116aff36ab01
2014-09-11sal: create threads on Linux with a larger stack for ASANMichael Stahl
The default on Fedora 20 is 8MB, which causes stack overflows from CPython code in some of the JunitTests when built with clang 3.4 -fsanitize=address. Change-Id: I3de9975564aad668e746cea74ae10931ef36a608 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-09-11Deactivate the sallogareas pluginTor Lillqvist
It's boring and a waste of time to have to keep registering in include/sal/log-areas.dox new log areas that other people have introduced. We don't really have a uniform policy for logging anyway, so why bother trying to enforce a such for the log areas? Anybody uses whatever log areas and log output style and formatting they want in the code they happen to be working on. And that's fine with me. We were supposed to be the project that avoids unnecessary process, rules and bureaucracy, right? Change-Id: I6bddcb56b58edcd885e5dc743c8730878de0036d
2014-09-11scripting: avoid a possible NullPointerExceptionrbuj
Change-Id: I90589bc042f4b88b700e9f3c167c460c3cff043c Reviewed-on: https://gerrit.libreoffice.org/11311 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-11xmerge: Convert a primitive type into a stringrbuj
Avoid unnecessary temporaries when converting primitive data types into a String. Change-Id: Ied91859e756ff392b1a0ea8d6d889afae11b2f8d Reviewed-on: https://gerrit.libreoffice.org/11366 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-11scripting: Pass a proper array equal to collection size.rbuj
Change-Id: I2c4c85b2da7b7037fc9da16793d18667b3d25503 Reviewed-on: https://gerrit.libreoffice.org/11375 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-11mediawiki: use String.length()==0 instead of String.equals(empty string)rbuj
Change-Id: I849da46aee801686cf6a581d65276ab60575c078 Reviewed-on: https://gerrit.libreoffice.org/11372 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-11qadevOOo: use String.length()==0 instead of String.equals(empty string)rbuj
Change-Id: I5cdd1fb4fe77c7fc9614f2a6de8995d98d60b551 Reviewed-on: https://gerrit.libreoffice.org/11368 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-10Typo: (N|n)ormaly->(N|n)ormallyJulien Nabet
Change-Id: I96d081f394b0b62d99ec1034bf5e99da9aedd9d9
2014-09-10fdo#81272 Speed up break iteratorsMatthew J. Francis
Change-Id: I7a45a61465f71a1cc6f583b9ffc68157d19e51fa Reviewed-on: https://gerrit.libreoffice.org/11386 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-10Invalidate rect cache before moving objectJan-Marek Glogowski
Otherwise I get sw/source/core/layout/anchoredobject.cxx:582: <SwAnchoredObject::GetObjRectWithSpaces> - cache for object rectangle inclusive spaces marked as valid, but it couldn't be. Missing invalidation of cache. Please inform OD. Change-Id: I3f315b15fca6e2480c11183269be5583e6aea123 Reviewed-on: https://gerrit.libreoffice.org/10977 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2014-09-10fdo#80926 Don't move anchors of invalid pagesJan-Marek Glogowski
If the anchor is valid, check if its page is valid too, before moving anchors on view change. Change-Id: Idffdfdb786cb29a105c06d652e6ad7315abfb4c5 Reviewed-on: https://gerrit.libreoffice.org/10976 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2014-09-10Fix single node CopyRangeJan-Marek Glogowski
Previously there was a restriction for the range to contain at least two nodes. Change-Id: Iadf21d3928303c2ab8df0d93dabd969ed1ff7e09 Reviewed-on: https://gerrit.libreoffice.org/10972 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>