summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-23loplugin:constantparam in sfx2Noel Grandin
Change-Id: I12aa9b28a9a1e66425717820cfcedff55434dd2f
2016-03-23loplugin:constantparam in slideshowNoel Grandin
Change-Id: I36215c1e5c698b1dd2a984163639b024739b3113
2016-03-23loplugin:constantparam in starmathNoel Grandin
Change-Id: I7a1b83ec51565f56b07ae77177e064c04f703d5f
2016-03-23loplugin:constantparm in svtoolsNoel Grandin
Change-Id: I637efc68d02da527cf543d7e7bfbf51e5e70a1ad
2016-03-23tdf#93868: PPTX import: Incorrect inheritance of shape fill propertiesMatus Uzak
DrawingML: The useBgFill attribute specifies that the shape fill should be set to that of the slide background. Change-Id: I8b568e730f00326d51e7b604579f4ff990b26f8a Reviewed-on: https://gerrit.libreoffice.org/23039 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-03-23odk: remove PREDICTABLE_URLS from doxygen configChris Sherlock
Change-Id: Id3125481c6871176c2fd58dee3696482df88e7d3
2016-03-22disable the SW interpreter by default, tdf#98657Markus Mohrhard
The formula group code stores empty cells as NAN which is handled correctly in the OpenCL code but causes huge problems in the normal calculation code as we can't assume that NAN is an empty cell anymore. IMHO the concept does not work outside of the OpenCL code and I think it is safer to not enable this broken code by default. Change-Id: Id7057f61de565e82e050e5d45fa9a1efb2c7a48f Reviewed-on: https://gerrit.libreoffice.org/23445 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-03-23missing nullptr check, tdf#98427Markus Mohrhard
Change-Id: I657dc0c84eab6ff5b31976fac3317adc0a99dd51
2016-03-22android: add constructor functions that fell victim to tdf#74608Christian Lohmaier
various changes to add constructor functions for UNO component implementations (see tdf#74608) caused those to be "invisible" to the android viewer, as solenv/bin/native-code.py determines what's available in the android lib. This change adds back the nimimal required ones to allow opening (basic) documents again. Change-Id: I8e6ef6d42dd566f94c5133bab1d6e5d6f465e118
2016-03-22Closing is implicitly done in the osl::Pipe dtor, anywayStephan Bergmann
Change-Id: I6002e42c75d68de9f999b481f41f18f5f765266b
2016-03-22~OfficeIPCThread can only be reached with pGlobalOfficeIPCThread clearedStephan Bergmann
...as only one instance of OfficeIPCThread is ever created (in OfficeIPCThread::EnableOfficeIPCThread), which is then either assigned to pGlobalOfficeIPCThread (if this is the first soffice instance), or pGlobalOfficeIPCThread is left unassigned and the OfficeIPCThread instance goes out of scope at the end of EnableOfficeIPCThread (if another soffice instance is already running). So mpDispatchWatcher also does not need to be cleared here, as it is only ever accessed through pGlobalOfficeIPCThread. And thus, there is no longer a need to lock GetMutex() here, either. Change-Id: I56cffc43361d01d747084153f318b8488519cf9b
2016-03-22tdf#90834 Cleanup in-line version control history comments: widorp.cxxMuhammet Kara
Turn in-line version control history comments into meaningful good comments. Change-Id: I3b8ec19fc59f7c816696167cb64238ef35464341 Reviewed-on: https://gerrit.libreoffice.org/23380 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-03-22Resolves: tdf#98642 comparing RPN insufficient in shared formula detectionEike Rathke
Change-Id: I78812c2d6fdb3464ccc2ebeee901a76f675effa4
2016-03-22Only access pGlobalOfficeIPCThread & mpDispatchWatcher with GetMutex lockedStephan Bergmann
Change-Id: Ia8093525935b02a019bbecd81a087af54471c592
2016-03-22genlang, completed gRun.shjan iversen
gRun.sh is not completed to run commands on the files interesting for translation. gRun.sh will be modified to produce the same .pot files as the current tools. Change-Id: I936d5ea7b03adbb043ebbfd7eda9d047f0939c2f
2016-03-22genlang added --base to shorten command linejan iversen
Especially helpcontent2 has many files, which explodes the command line. --base sets the relative base directory for files, it is added to <files> when reading --files. Change-Id: I8c77ddfa4037d56e87541fac65f13bd307110731
2016-03-22genlang, PO files contain both comment and resource extrajan iversen
the .ulf ==> .pot keep the x-comment, therefore the memory db is expanded with sResource and sComment. The memory db API is changed to add the 2 new fields, which causes a change in all callers. Change-Id: I38527c8d2db9d56ecf9ae42550ed5420371b658e
2016-03-22genlang .xhp ==> .pot identicaljan iversen
Checked .xhp conversion. The current tools have a problem with windows get an error "cannot convert path to URL", seems it was not tested on windows. Also "make translations" does not cover submodules. Change-Id: I36a0a3643eb40ff9c02735acdf79498d16691069
2016-03-22genlang .tree ==> .pot identical.jan iversen
the conversion .tree to .pot works Added script gRun.sh with local call of genlang until integrated gList.sh find all files to be translated. For now, files that should be translated but are not, are ignored this is due to 100% compatibility with current executables. Research shows that .tree and .xhp are handled by the same old executable to the .pot files are not complete. Change-Id: I1634207b72075e74438ebfbc22a7753cdddd20ed
2016-03-22genlang, .xrm ==> .pot works identicaljan iversen
The conversion from .xrm to .pot is now identical Missings are adding the POT_CREATE_DATE timestamp and generate the KID. Change-Id: I421f0451b896c447767a32945ab82a8adc84fc7a
2016-03-22genlang, removed std::jan iversen
Added "using namespace std;" to the cxx/l files thereby being able to remove std:: from all files Change-Id: I92b411870deb7a97b6fd1f7e33674a1e072c0cc1
2016-03-22genlang, generating .pot files for .xrm filesjan iversen
Solved new pot directory structure only tested .xrm files, but should be able to extract all .pot files. The LO tools generated the KID as part of the msg, this is not implemented. msgctxt is used as comments, this requires a slight change of the lex programs. Change-Id: Id9aadbd419fb44b73b633410f7dddd90d310ee8d
2016-03-22genlang, moved save function to convPO from convGen.jan iversen
.pot files can only be generated in convPO, therefore it is logical to have the functions at this level. Added a fix due to LO standard for saving .pot files (this fix might need to be updated, when moving on from .xrm) Ready to save .xrm input as .pot, and compare results. Change-Id: I1849e896258942f7895e5f6bd3b834391e7a7e95
2016-03-22update genlang, activated lex calls.jan iversen
All lex files no longer have a special namespace, instead yylex --> <foo>lex and therefore unique for the linker. Also corrected command line argument handler. Change-Id: Idfdec97bd43f3be8d2b217b9aac1bd74b202dc93
2016-03-22No need for a static Security instance hereStephan Bergmann
Change-Id: I03f0042bd9de07b8d254118d1b4a0a016e217476
2016-03-22tdf#88462 convert manual XInterface implementationskerem
Change-Id: Ia77c4d95b6f9c6ac3488406c5fe7585ec6e876a1 Reviewed-on: https://gerrit.libreoffice.org/23424 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-22tdf#95977: fix fly positioning regression from 0c5cbcd7Bjoern Michaelsen
Change-Id: I7e11c7072ba0ec82237985da79f8572fdda05778 Reviewed-on: https://gerrit.libreoffice.org/23428 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-03-22sw/qa: some light on “horrible heuristics”Douglas Mencken
Change-Id: Ice6336a0013b049c1796ca5f71171ed7f1bfd113 Reviewed-on: https://gerrit.libreoffice.org/23243 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2016-03-22These functions are defined only when ENABLE_CAIRO_CANVASKorrawit Pruegsanusak
Class X11SalGraphics are derived from class SalGraphics, which is defined in vcl/inc/salgdi.hxx. So these override functions should be defined in the same condition as the base class. Change-Id: I5af0ee9c89c74e66b8f2dbd44890606fc5e41b14 Reviewed-on: https://gerrit.libreoffice.org/23373 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-03-22Explicitly check for libGL before buildingKorrawit Pruegsanusak
Change-Id: I5a84bc396925828a11d3c680d1a52e99321547a1 Reviewed-on: https://gerrit.libreoffice.org/23335 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-03-22android version can also be compiled for x86Christian Lohmaier
and x86 has smaller alignment than arm or a x86_64 host, so needs the MAX_ALIGNMENT_4 to not trigger the static_asserts Change-Id: I5643a33e4975e7bad20693f99fb8bbd5248c7c1c
2016-03-22sfx2: Fix memleakTakeshi Abe
i.e. free pMedium when CheckPasswd_Impl() returns ERRCODE_ABORT. Change-Id: I452074e5189afe64016226c1a193a68f40e9c43d Reviewed-on: https://gerrit.libreoffice.org/23387 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-03-22sw: "Current Index" doesn't make sense in context menuMichael Stahl
This string is used in 2 places now, in the menu as a sub-item of "Tools->Update" where it fits in, and in the context menu when right-clicking on an index, where it clearly doesn't. (regression from 447c313586e9b36acff393feae15f5e1b63861ae) Change-Id: I280f6c806d543f2fc1fff00976e5007b44b6452b
2016-03-22enquote sheet name of other-sheet-local named expressions, tdf#96915 follow-upEike Rathke
Change-Id: I8fde73dc86c29054ec05bbc60e212ae660c78376
2016-03-22starmath: Use initialization list for some ctorsTakeshi Abe
Change-Id: I51b5df153574a2dfba96106a6268ccdf9715934d Reviewed-on: https://gerrit.libreoffice.org/23423 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-03-22use an empty block as empty cell flag, related tdf#88849Markus Mohrhard
This should reduce the memory consumption for matrix objects quite a bit. Change-Id: I7a768f0c45777678000f4f8c25868107b22d62a7 Reviewed-on: https://gerrit.libreoffice.org/23383 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-03-22add HAVE_FEATURE_ATL to disable failing tests due to ATLMayank Gupta
Change-Id: Ifcdf8bf9eb4c22df6493f85592c9c72fac28876e Reviewed-on: https://gerrit.libreoffice.org/23144 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2016-03-22Updated coreStanislav Horacek
Project: help de40cf2cd0acf0bcd2512bca652cacd683128fba tdf#98789 rename "Optimize" toolbar to "Optimize Size" Change-Id: Iac2b656a9143ac490484620e7453c4a1ef07331d Reviewed-on: https://gerrit.libreoffice.org/23412 Tested-by: jan iversen <jani@documentfoundation.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-03-22Updated coreStanislav Horacek
Project: help 5577cbe18de762f50e7efdda83f1e90ec08fd3b0 rename legacy toolbars in Impress Change-Id: I89ee31ccd26d7c678add4994c5354ba67bce11d5 Reviewed-on: https://gerrit.libreoffice.org/23413 Tested-by: jan iversen <jani@documentfoundation.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-03-22loplugin:constantparam in swNoel Grandin
Change-Id: I56925a8fd776b3ee787cc26adbaa08c58dd022c0
2016-03-22tdf#98646 Fixed freeze by flattening loopsArmin Le Grand
DrawViewShell::MakeVisible was using loops for finding the area to change the visible part of the EditView to. That could (and did) potentially loop for a long time for very large objects, deep zoom or numerical problems. That loops were flattened, the results checked to be the same. Also added a test for numerical overflow for getting values from the Rectangle describing the object size. Despite these values being the result of erraneous import, I opt for checking and avoiding using these values. Change-Id: I783dc1f2ad9b6a60a47e660b0d576ea3f22a4e42 Reviewed-on: https://gerrit.libreoffice.org/23278 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2016-03-22tdf#93553 limit parallelism at zip save time to useful amountArmin Le Grand
At ODT export time writing and zipping comtained data packages is nicely parallelized, but not limited to an upper bounds of threads to use. Together with memory consumption this makes ressource usage and runtime behaviour bad to crashing (mostly on 32bit). I have now limited the processing dependent on the number of available cores to get a good processing/ressource ratio. The result uses much less memory, is faster and runs on 32bit systems. Change-Id: I8bd516a9a0cefd644f5d7001214bc717f29770ab Reviewed-on: https://gerrit.libreoffice.org/23305 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-22delete hidden pages before deleting unused mastersDavid Tardon
Change-Id: I40b624c0e6e6cff2c88815f7d16e862f09d79d5c
2016-03-22tdf#65642 RTF filter: import \pgnrestart and \pgnucltrMiklos Vajna
This implicitly adds support for DOCX import of <w:pgNumType w:fmt="upperLetter"> as well. Change-Id: Ib19ecb8f7ca0c867ae3be2b41e49ac4cacfd5bb6
2016-03-22tdf#84938 replace #define with scoped typed_flagsJochen Nitschke
'RangeType' becomes 'Type', goes into ScRangeData and is strongly typed now. This revealed a misuse of RangeType in vbanames.cxx where the uno equivalent was expected, but it had no impact because both values were 0. Change-Id: I0b4764d1411c709a1faa243ec70afeb160410990 Reviewed-on: https://gerrit.libreoffice.org/23415 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-22tdf#84323: Make osl::Condition::wait more readableGurkaran
It is to improve the readability of calls to osl::Condition::wait. Change-Id: I5945343c5a7e4729ab599380414d18280bd176fe Signed-off-by: Gurkaran <gurkran@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/23417 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-22tdf#84323: Make osl::Thread::wait more readableGurkaran
It is to improve the readability of calls to osl::Thread::wait. Change-Id: I025d89abf8e84ca73ba08f001be3f45b86c89957 Signed-off-by: Gurkaran <gurkran@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/23416 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-22Fix wrong pattern definitions in khmer dictionary breakerMartin Hosken
Change-Id: I0132196744046391759a6e5110d054feee3deea3 Reviewed-on: https://gerrit.libreoffice.org/23420 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Martin Hosken <martin_hosken@sil.org>
2016-03-22Updated coreAdolfo Jayme Barrientos
Project: help fa2b64a955335a5dd0ad50bc5348a17a388b101e Typo Change-Id: If20a4bf9d3370e407571cbe901584b7ff62ae7e2
2016-03-21sw: load_save_test is not a unit testMichael Stahl
This was originally added as a complex test as a convenient way to bulk load/store documents, before nice features like soffice --convert-to. Running it as such doesn't do anything, since the "FIXME" directories it reads files from don't exist (actually it even failsa to run on WNT). Change-Id: If74fc30997a0f5f67009b765f5e9e79d72d00ece