summaryrefslogtreecommitdiffstats
path: root/external/mdds
Commit message (Collapse)AuthorAgeFilesLines
* external/mdds: Mark patch as upstreamedStephan Bergmann2021-06-101-0/+3
| | | | | | | Change-Id: Id61fbaafb575a8c745e5b3cc5b2ff8ae4526d94c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116960 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* external/mdds: -Werror,-Wunused-but-set-variable (Clang 13 trunk)Stephan Bergmann2021-06-092-1/+48
| | | | | | | | | | | | | | | | | > In file included from svl/source/misc/gridprinter.cxx:16: > In file included from workdir/UnpackedTarball/mdds/include/mdds/multi_type_matrix.hpp:37: > In file included from workdir/UnpackedTarball/mdds/include/mdds/multi_type_vector.hpp:1358: > workdir/UnpackedTarball/mdds/include/mdds/multi_type_vector_def.inl:851:15: error: variable 'start_pos' set but not used [-Werror,-Wunused-but-set-variable] > size_type start_pos = m_cur_size; > ^ > workdir/UnpackedTarball/mdds/include/mdds/multi_type_vector_def.inl:3926:15: error: variable 'start_row_itr' set but not used [-Werror,-Wunused-but-set-variable] > size_type start_row_itr = start_row_in_block1; > ^ Change-Id: I1f5e7e1f6a2b8457eb6d65dbd65336d3684c2b89 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116808 Tested-by: Jenkins Reviewed-by: Kohei Yoshida <kohei@libreoffice.org>
* Upgrade mdds to 1.7.0.Kohei Yoshida2020-09-103-130/+0
| | | | | | | Change-Id: I2a66017fb5f93ecd39dbf980aa04798dbd33b3e8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102343 Tested-by: Jenkins Reviewed-by: Kohei Yoshida <kohei@libreoffice.org>
* Update mdds to 1.6.0.Kohei Yoshida2020-02-094-15/+131
| | | | | | | Change-Id: Iff350b47d5d237e0bb3ffcce0e80ce867c74191d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88191 Tested-by: Kohei Yoshida <kohei@libreoffice.org> Reviewed-by: Kohei Yoshida <kohei@libreoffice.org>
* Mark external/mdds/Wdeprecated-copy.patch as upstreamedStephan Bergmann2019-11-261-0/+2
| | | | | | | Change-Id: Idfcf192dd93df3809b5da195356747a7d3ae3d3d Reviewed-on: https://gerrit.libreoffice.org/83761 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* external/mdds: -Werror,-Wdeprecated-copyStephan Bergmann2019-11-262-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | > In file included from sc/source/core/data/cellvalues.cxx:12: > In file included from sc/inc/column.hxx:28: > In file included from sc/inc/mtvelements.hxx:30: > In file included from workdir/UnpackedTarball/mdds/include/mdds/multi_type_vector.hpp:33: > workdir/UnpackedTarball/mdds/include/mdds/multi_type_vector_itr.hpp:74:9: error: definition of implicit copy assignment operator for 'private_data' is deprecated because it has a user-declared copy constructor [-Werror,-Wdeprecated-copy] > private_data(const private_data& other) : > ^ > workdir/UnpackedTarball/mdds/include/mdds/multi_type_vector_itr.hpp:44:8: note: in implicit copy assignment operator for 'mdds::detail::mtv::iterator_value_node<unsigned long, mdds::mtv::base_element_block>::private_data' first required here > struct iterator_value_node > ^ > workdir/UnpackedTarball/mdds/include/mdds/multi_type_vector_itr.hpp:219:20: note: in implicit copy assignment operator for 'mdds::detail::mtv::iterator_value_node<unsigned long, mdds::mtv::base_element_block>' first required here > m_cur_node = other.m_cur_node; > ^ > workdir/UnpackedTarball/mdds/include/mdds/multi_type_vector_itr.hpp:238:7: note: in instantiation of member function 'mdds::detail::mtv::iterator_common_base<mdds::multi_type_vector<mdds::mtv::custom_block_func3<mdds::mtv::default_element_block<52, svl::SharedString>, mdds::mtv::noncopyable_managed_element_block<53, EditTextObject>, mdds::mtv::noncopyable_managed_element_block<54, ScFormulaCell> >, sc::CellStoreEvent>::iterator_trait>::operator=' requested here > class iterator_base : public iterator_common_base<_Trait> > ^ with recent Clang 10 trunk, similar to <https://gerrit.libreoffice.org/#/c/83698/> "Remove some redundantly user-declared copy ctors and assignment ops" Change-Id: I156674bad367ca68404c3c75d61ec72b401c6305 Reviewed-on: https://gerrit.libreoffice.org/83700 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Correctly pack mdds 1.5.0.Kohei Yoshida2019-08-152-51/+0
| | | | | | | | | | | Turns out the earlier mdds 1.5.0 package was not correctly packaged. I've fixed that now, and re-published the 1.5.0 package, which does contain the patch from Lubos. Change-Id: I1ff7d6568568860f7cccd3be3bc29aaaebe7fd73 Reviewed-on: https://gerrit.libreoffice.org/77483 Tested-by: Jenkins Reviewed-by: Kohei Yoshida <kohei@libreoffice.org>
* cache mdds positions during ScDocument::CopyBlockFromClip() (tdf#112000)Luboš Luňák2019-05-202-0/+51
| | | | | | | | | | | | | | | | | | Make RefUpdateContext and ScColumn::UpdateReferenceOnCopy() use the same sc::ColumnBlockPositionSet that CopyFromClipContext uses. Without it pathological cases like in tdf#112000 trigger quadratic cost because of repeated mdds searches from the start. Includes also an mdds patch that allows it to search backwards from a position hint. Without it, this would be very difficult to fix otherwise, as CopyFromClip() in ScDocument::CopyBlockFromClip() moves the position hint past the area that UpdateReferenceOnCopy() would use. It also just plain makes sense to try to go backwards in an std::vector. Change-Id: I985e3a40e4abf1a824e55c76d82579882fa75cc2 Reviewed-on: https://gerrit.libreoffice.org/72424 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
* Update mdds to 1.4.1.Kohei Yoshida2018-08-263-70/+0
| | | | | | | | | | | | | | | | | The largest change in 1.4.x relevant to the calc code is that the multi_type_matrix::walk() methods now take a copy of the function object rather than a reference, to allow for it to take an inline lambda function. Instead, it does return a instance of the input function object, similar to how std::for_each() behaves. In case the function object contains a large data member, try to make it a moveable so that it will get moved rather than copied when going through one of the walk() methods. Change-Id: Ifd08fc4a2ed75039e5292a35ff08726e0126c77f Reviewed-on: https://gerrit.libreoffice.org/59584 Tested-by: Jenkins Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
* Mark external/mdds/gcc9.patch as upstreamedStephan Bergmann2018-08-071-1/+3
| | | | | | | Change-Id: I146dd8926e5e93a57162558286168e963f402f59 Reviewed-on: https://gerrit.libreoffice.org/58689 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* external/mdds: avoid -Werror=deprecated-copy (GCC trunk towards GCC 9)Stephan Bergmann2018-07-262-0/+43
| | | | | | | | | | | ...by removing explicitly user-provided functions that do the same as their implicitly-defined counterparts, but whose presence may prevent implicitly declared copy functions from being defined as non-deleted in the future Change-Id: Ie9b943af57bd8081c06a531fb3c634e52f0a99b6 Reviewed-on: https://gerrit.libreoffice.org/58048 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Removed executable permission on data filesAndrea Gelmini2018-05-041-0/+0
| | | | | | | | | chmod -x for .patch, .pptm, and .vb Change-Id: I98e1221e48df22e8b58aaf305898cbe301f187ce Reviewed-on: https://gerrit.libreoffice.org/52568 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
* Mark external/mdds/c++17.patch upstreamedStephan Bergmann2017-12-181-0/+2
| | | | Change-Id: I5cce6fd2438323149c723408f0f599ca7c688eab
* Enable C++17 for clang-cl, tooStephan Bergmann2017-12-152-0/+23
| | | | | | | | | | | | | | | | | Similar to libc++ in C++17 mode, some types like std::auto_ptr are indeed removed in C++17 mode by default, and need _HAS_AUTO_PTR_ETC=1 to be enabled (see <https://blogs.msdn.microsoft.com/vcblog/2017/12/08/c17-feature-removals- and-deprecations/>). Unlike libc++, also std::binary_function and std::unary_function are removed (and need the same _HAS_AUTO_PTR_ETC=1 to enable). So either set that flag to make external code build, or use patches (for external/mdds) to make externals' files included in LO proper still work there. Change-Id: I886cc0de8196255334ee03ec48cb4bc54d460afd Reviewed-on: https://gerrit.libreoffice.org/46514 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
* Update mdds to 1.3.1.Kohei Yoshida2017-11-112-49/+0
| | | | | | | | | This newer version incorporates the change in ofz-4048.patch.1. Change-Id: Iaccbf2694bbd752f9949c491219aa5ab8caa45fe Reviewed-on: https://gerrit.libreoffice.org/44615 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
* ofz#4048 Null-dereferenceCaolán McNamara2017-11-042-0/+49
| | | | | | | | Change-Id: I52db987ac3f11e318e2adf1ee797054f49c31f98 Reviewed-on: https://gerrit.libreoffice.org/44293 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Upgrade mdds to 1.2.1.Kohei Yoshida2016-06-242-24/+0
| | | | | | | | Change-Id: Ifc5b9d94bad191c0e19d5e6dada492caeb9cba76 Reviewed-on: https://gerrit.libreoffice.org/26638 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Resolves: tdf#90579 swap_single_to_multi_blocks seems brokenCaolán McNamara2016-06-172-0/+24
| | | | | | | | | | | | when there is associated data in the src. Its copies those pointers into the block that will appear in the destination. Then can destroy the source block, which deletes the contents of those pointers, and then inserts the new block which has dangling pointers to the deleted data. https://gitlab.com/mdds/mdds/merge_requests/2 Change-Id: Id9614d95652c8032b03cb5748a284917043d8d21
* update mdds README for new homeCaolán McNamara2016-06-171-2/+2
| | | | Change-Id: I2641abe8e049361d5eb92e19b9ed57b8e7209386
* Update mdds to 1.2.0. Note that the API version is also up.Kohei Yoshida2016-05-132-39/+0
| | | | | | | | | liborcus-0.11.2 is out only to make it buildable with mdds-1.2. Change-Id: I9648d827b008da252c57be0ebfd2efccb008ac70 Reviewed-on: https://gerrit.libreoffice.org/24944 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
* drop unused patchDavid Tardon2016-02-121-84/+0
| | | | Change-Id: Id81a7c5ace2a5ae0edfb61a1ebc82b84f1cbc527
* Update mdds to 1.1.0.Kohei Yoshida2016-02-122-2/+40
| | | | | | | Change-Id: I89b9b2e562f5e934df25498f5587a339db23388f Reviewed-on: https://gerrit.libreoffice.org/22304 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
* update to mdds 1.0Markus Mohrhard2015-11-283-111/+0
| | | | | | | | Change-Id: I5b6e928ab5a5f2bf84d50f3f0221c0585670d972 Reviewed-on: https://gerrit.libreoffice.org/20251 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* Make the patch actually applyTor Lillqvist2015-06-291-1/+1
| | | | Change-Id: I23537399cbf325a7049f67654439714c3dc1421e
* fix build of libetonyek with older versions of gccDavid Tardon2015-06-292-0/+56
| | | | Change-Id: I19586eaae36fac7fa750614e6e31eff1a1e8440c
* Avoid copying of singular iteratorsStephan Bergmann2014-05-152-0/+85
| | | | Change-Id: If873d2c369ef6458fdf3289f09802e90dc7367f2
* Update mdds to 0.10.1, set it as the required baseline.Kohei Yoshida2014-01-083-83/+0
| | | | | | This update will obsolete two patches that were previously applied. Change-Id: I521e939905e473ca5d440dea3b03faeb9af4c0fb
* Patch mdds to make available a method to empty multiple elements in one call.Kohei Yoshida2014-01-072-0/+55
| | | | | | This is for multi_type_matrix. Change-Id: I7b1fcf6b16b5addbb76078506536542cddede25f
* fdo#70393: move mdds to a subdir of externalKhaled Hosny2013-10-196-0/+129
Change-Id: Idfb327f7217e459ab0328f8692e1f73aef248d32 Reviewed-on: https://gerrit.libreoffice.org/6343 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>