Issue 126765 - update mdds to version 1.0.0
Summary: update mdds to version 1.0.0
Status: CONFIRMED
Alias: None
Product: Calc
Classification: Application
Component: code (show other issues)
Version: 4.2.0-dev
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL: https://gitlab.com/mdds/mdds
Keywords:
Depends on: 126469
Blocks:
  Show dependency tree
 
Reported: 2016-01-01 19:56 UTC by j.nitschke
Modified: 2016-01-26 22:08 UTC (History)
1 user (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
update mdds package (11.92 KB, patch)
2016-01-01 19:56 UTC, j.nitschke
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description j.nitschke 2016-01-01 19:56:39 UTC
Created attachment 85235 [details]
update mdds package

patch to update the Multi-Dimensional Data Structure package 0.3.1 (Oct 2010) to 1.0.0 (Oct 2015)
mdds is a source library like boost and only used in sc (Calc)
we use flat segment tree class for numeric cell properties

there were 2 build breaking changes:
* a return type changed from bool to pair<const_iterator,bool>, which lead to some simple changes in segmenttree.cxx
* uses of c++11 nullptr and unique_ptr, added a patch file for mdds to replace nullptr with NULL and comment out stuff with unique_ptr because it's not used by flat segmented tree

builds fine on Ubuntu 15.10
without the patch from issue 126469 you'll get a MD5 mismatch on bootstrap, but this shouldn't stop build process

https://gitlab.com/mdds/mdds/blob/master/CHANGELOG

I did this patch to learn more about the build process and external packages. This package has unlike others like boost or libxml2 only few changes and a very limited impact on AOO. Hope it works for you and gets committed.