2026-11-15  Caolán McNamara  <caolan.mcnamara@collabora.com>  [efa2cf9a496646e61e6d555bc00b36dcb5ab2e30]

	update NEWS file for new release

	Change-Id: Ia4d8ab823713d454e9d7747992ec8698275e1a42

2026-11-15  Caolán McNamara  <caolan.mcnamara@collabora.com>  [de51f1d1c0af388b98a5f129bd8d7c86ba7138d6]

	reset m_currentGeometryList when readGeometry returns

	as readTabs does for m_currentTabSet

	Change-Id: I911780392888621e0d904d6ea9ba880743880c4c

2026-11-15  Caolán McNamara  <caolan.mcnamara@collabora.com>  [e45caef2949814b311541d15df8d6f394aa12589]

	flush a shape that is still open when the page is flushed

	and reset m_shapeOutputDrawing and m_shapeOutputText when the page
	output maps are cleared

	probably since:

	commit 4e52b6596b0b02040ba112fa5aa7a7c9fde0b6c0
	Date:   Wed Jun 29 18:40:32 2011 +0200

	    prototype shapes reordering (not yet there though)

	Change-Id: I2d77fcc9105da3e18d816066897b09244e557f6d

2026-11-15  Caolán McNamara  <caolan.mcnamara@collabora.com>  [62fc33962f061d3d8a7accb3bcd9decacfb37034]

	stop following nested .vsd streams past a fixed level

	the documents in the test set reach level 5 at most

	since:

	commit 746d29f19db8111e0f3bb27027157d1c289cc901
	Date:   Wed Jul 25 10:34:42 2012 +0200

	    Recursive parsing of streams implemented

	Change-Id: I4fbfe206a5d470874541556d78cc445114822379

2026-11-15  Caolán McNamara  <caolan.mcnamara@collabora.com>  [6ae5b74e93ae4ce0c56bcf9aacfeea3bcea47343]

	add seekPast to move to the end of a block of a given length

	so the target position is computed from the unsigned lengths and does
	not wrap where long is 32 bits

	Also stop reading NURBSTo data at a block length of zero.

	Change-Id: I3181467690469c8a1593bde85b3acf8dc5f9bd4b

2026-11-15  Caolán McNamara  <caolan.mcnamara@collabora.com>  [4dbc0476854d2ac926dc6c9af684502d3b2280cc]

	an empty Shapes element has no end tag, so don't push the shape for it

	in both the VDX and VSDX parsers

	since:

	commit afb6c799c2a9431485051aa382594e4c8d7e7a46
	Date:   Tue Oct 16 20:24:10 2012 +0200

	    Basic support of raster images in VDX and VSDX parser

	Change-Id: Iba9552c97e8faea2bed85194be8c2ccfeb2c2025

2026-11-15  Caolán McNamara  <caolan.mcnamara@collabora.com>  [3bc9118ee6c0b8f978768e319df6ea68f44e9658]

	parse each page or master part once per pass

	rather than once for every relationship that refers to it

	since:

	commit 949de08979adb2d02a922324c2ab0a52e708fd71
	Date:   Fri Sep 21 13:09:56 2012 +0200

	    Flatten the xml that reader functions have to read by following the <Rel .../> tags

	Change-Id: I69601bc640783a971b333c0f631c3fc2ea033589

2026-11-15  Caolán McNamara  <caolan.mcnamara@collabora.com>  [629517ad03faefe2326303aa0535ca383be7aeef]

	draw each page of a background page chain only once

	which covers a page that names itself as its own background, so the
	separate check for that in endPage is dropped

	since:

	commit df6df2c23acdf8c54e50da16e00c2e92580ccb67
	Date:   Sat Aug 27 17:09:32 2011 +0200

	    Some more background page related stuff

	Change-Id: Ie86fed47d50f8ce7ac0f43b0c470f9485b186f7b

2026-11-15  Caolán McNamara  <caolan.mcnamara@collabora.com>  [beb6639fb6a3bc8ede0da0ba72121624f36249a2]

	take copy of polyline points before _handleLevelChange

	as collectNURBSTo already does

	since:

	commit 954a75435a040d74710011844980c7f4423ef1a9
	Date:   Thu Oct 25 19:04:06 2012 +0200

	    Some more boost::optional foo

	Change-Id: Ib79bafcad9f3bc73178d93fba972dbb43244b9cf

2026-11-15  Caolán McNamara  <caolan.mcnamara@collabora.com>  [3bace635ef86bc16a94584f13f9c4e7bf5e9a194]

	restore the enclosing part's m_rels after a nested part is processed

	like m_watcher already is, so the rest of the enclosing part continues
	to resolve its own relationships

	since:

	commit afb6c799c2a9431485051aa382594e4c8d7e7a46
	Date:   Tue Oct 16 20:24:10 2012 +0200

	    Basic support of raster images in VDX and VSDX parser

	Change-Id: Id0b402b299333a7e82b99e444332cc19e024b75a

2026-10-24  Caolán McNamara  <caolan.mcnamara@collabora.com>  [a42aaff13e4a67afcd077c3abb3ef13bb6463025]

	ofz#577024925 sample a NURBS polyline per knot span, not per knot

	Timeout in vsdfuzzer:

	     #0 in libvisio::VSDContentCollector::_generatePolylineFromNURBS (this=this@entry=0x7fffffffd7b0, degree=degree@entry=8, controlPoints=..., knotVector=..., weights=...) at VSDContentCollector.cpp:2145
	     #1 in libvisio::VSDContentCollector::collectNURBSTo (this=0x7fffffffd7b0, level=<optimized out>, x2=0, y2=6.867512477193327e-322, xType=<optimized out>, yType=<optimized out>, degree=8, ctrlPnts=...
	     #2 in libvisio::VSDNURBSTo1::handle (this=0x442440, collector=0x7fffffffd7b0) at VSDGeometryList.cpp:395
	     #3 in libvisio::VSDGeometryList::handle (this=this@entry=0x43cbc8, collector=0x7fffffffd7b0) at VSDGeometryList.cpp:935

	A curve of 3107 knots with only 3 distinct values became 310700 points,
	and it is drawn 15 times. A repeated knot adds no curve, so take the 100
	points for each knot span of nonzero length, which also gives fewer
	points to the repeated end knots of an ordinary clamped curve.

	Change-Id: I110314a09c0990025f77450ecb5b22925f1bfabd
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/213034
	Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
	Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>

2026-10-18  Caolán McNamara  <caolan.mcnamara@collabora.com>  [81bf0a433c276d8ee9befd522f0242cf95beeb7d]

	ofz#567711901 skip NURBS control points whose basis is zero

	 Crash Type: Timeout (exceeds 60 secs)

	a degree 0 curve of 3666 control points became 366700 path points, and
	each point evaluated the basis of every control point, 1.3 billion
	times for the one curve

	with the knots in order only the degree+1 control points before the
	span that holds the point can add anything, and the sum of those gives
	the same result to the bit. 19 s under AddressSanitizer before, 8 s now

	Change-Id: I12de37af20c9cee4479f8abfac14175e5fa47e55
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/212566
	Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
	Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>

2026-10-18  Caolán McNamara  <caolan.mcnamara@collabora.com>  [da0592432f4cc86ad17287c1e7bf2ea22a7b118e]

	ofz#42515846 and ofz#42503298 share paragraph property lists

	Out-of-memory in vsdfuzzer, stack sampled with gdb as the memory grew:

	     #13 in librevenge::RVNGPropertyListImpl::insert RVNGPropertyList.cpp:192
	     #14 in libvisio::VSDContentCollector::_fillParagraphProperties src/lib/VSDContentCollector.cpp:1225
	     #15 in libvisio::VSDContentCollector::_flushText src/lib/VSDContentCollector.cpp:968
	     #16 in libvisio::VSDContentCollector::_flushShape src/lib/VSDContentCollector.cpp:372

	the text of one shape was 519048 bytes with 206905 line feeds, and each
	of the 423410 paragraphs built its own copy of the same 8 paragraph and
	5 span properties, 3.2GB under AddressSanitizer, now 0.9GB

	Change-Id: Id5e1f562d59351a71bf04b037dbd37eebc6da4ec
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/212565
	Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
	Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>

2026-10-16  Caolán McNamara  <caolan.mcnamara@collabora.com>  [1c414701a20dc0f0f334c56c6eef94de0ac24466]

	ofz#573442524 list each row of a geometry list once

	 Crash Type: Timeout (exceeds 60 secs)

	592 of the 885 ids in the geometry order named the same NURBSTo row, a
	degree 0 curve with 361 knots, so each repeat added another 36100 points
	to both the line and the fill path of the shape. The 1130 byte file used
	3.9GB in 13 seconds before the allocation failed.

	Each row of a geometry section is its own child record, so a repeated id
	adds nothing a real document would show.

	Change-Id: Icbd65f19617577d2d9c7923bdb6926a550f54a54
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/212492
	Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
	Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>

2026-10-13  Caolán McNamara  <caolan.mcnamara@collabora.com>  [d6c9d6492131dbb8bb568e1d38b38890ae2a865a]

	Related: ofz#565479376 move each shape's output onto the page

	The output of every shape was cloned onto its page, and the whole page
	was then copied again into the list of pages.

	For the fuzz file, whose one text shape has 37224 paragraphs, this takes
	it from 2.58 to 1.74 seconds and peak memory from 1.1GB to 570MB. The
	187 KiB vsdx file of ofz#567395791 goes from over 120 seconds to 29.

	Change-Id: Ic7dbc16287015c6acb67488fb07f028bfdd6801a
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/212240
	Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
	Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>

2026-10-09  Caolán McNamara  <caolan.mcnamara@collabora.com>  [c7c970775b750a4bf7fd1b4364d69bac9815bfcb]

	skip fuzz inputs larger than 64 KiB

	The open vsdxfuzzer timeout is an input of 187 KiB where the parse is
	slow because of the size. 65536 matches the max_len of most of the
	LibreOffice fuzzers.

	Change-Id: I6221a6baa43c8b843cc4e76931fdec7b74bddadb
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/212054
	Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
	Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>

2026-09-25  Caolán McNamara  <caolan.mcnamara@collabora.com>  [49fb9d3a9d21d4374cad782925e48c577a41f5be]

	ofz#565479376 list each shape of a page order once

	A group shape listed itself twice as its own child, so the page order
	became 0, 0, 0 and the 37224 paragraphs of that shape's text were cloned
	onto the page three times.

	Peak memory went from 3.36GB to 1.13GB and instructions from 41.2G to 28.3G.

	Change-Id: I7581d822ab4ac707155179de3fc9f06b26bf64b3
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/211439
	Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
	Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>

2026-09-23  Caolán McNamara  <caolan.mcnamara@collabora.com>  [e2f0c8f79f802f2e2b79ab817f5c25da89befc21]

	ofz#42520865 list each field of a VSD field list once

	 AddressSanitizer: hard rss limit exhausted (2560Mb vs 2657Mb)

	 ->76.58% (381,706,752B) libvisio::VSDContentCollector::collectTextField(unsigned int, unsigned int, int, int) (VSDContentCollector.cpp:3531)
	   ->76.58% (381,706,752B) libvisio::VSDTextField::handle(libvisio::VSDCollector*) const (VSDFieldList.cpp:19)
	     ->76.58% (381,706,752B) libvisio::VSDFieldList::handle(libvisio::VSDCollector*) const (VSDFieldList.cpp:575)
	       ->76.58% (381,706,752B) libvisio::VSDParser::_flushShape() (VSDParser.cpp:676)

	2791 of the 12309 ids in the order named the same field, so a 745520 byte
	name was copied into the field text 2791 times.

	Each field in a shape's text is its own child record, so a repeated id adds
	nothing a real document would show.

	Change-Id: If64127000bad3d12bbf852dd4d54a144de02a12d
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/211381
	Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
	Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>

2026-09-20  Caolán McNamara  <caolan.mcnamara@collabora.com>  [01a6cb40c7e841003dcfc8f2deaa346ac744aedb]

	don't copy each shape's text elements when ordering a page

	The lists stay in m_pageOutputText until the end of the function, so the
	stack can hold a pointer to each one rather than a copy of it.

	Two fuzzer files that lay out very large text went from 11.85s to 4.07s
	and from 12.27s to 4.06s.

	Change-Id: I781fe11abb37c4fc08586b65bb2d7eff5eb7b18b
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/211258
	Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
	Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>

2026-09-20  Caolán McNamara  <caolan.mcnamara@collabora.com>  [251cb6761cd6af55f8961be9995ea579fdb69d0c]

	WaE: brace the empty else body in readGradFillLst

	since:

	commit 4e1e04ef85e460dd529c7ee1aba8fd37fa0046de
	Date:   Mon Sep 22 14:27:29 2025 +0200

	    Related tdf#168475 libvisio: parse gradient fill styles

	Change-Id: I7e48d6c3694b5c14227b59ed840a3028a368b4d0
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/211257
	Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
	Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>

2026-09-20  Caolán McNamara  <caolan.mcnamara@collabora.com>  [ef63708d312bfa9951d97029854ef0e0e9ecd31d]

	WaE: initialize m_visitedParts in the member initialization list

	 VSDXParser.cpp:51:1: error: 'libvisio::VSDXParser::m_visitedParts' should be initialized in the member initialization list [-Werror=effc++]

	since:

	commit ec5dc2dcbb97006cd1d2dbbee608934b08c33b04
	Date:   Fri May 22 09:49:02 2026 +0000

	    avoid infinite depth page/master relationships parse

	Change-Id: I2f11d7aa13b11c67ed3362521bbad08f2b1c2e99
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/211256
	Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
	Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>

2026-09-20  Caolán McNamara  <caolan.mcnamara@collabora.com>  [fdb951f2c12dc09010178846d9a89717c0d303ce]

	ofz#42492901 skip a NURBS whose knots are not finite

	kv[214] was a not-a-number, so the knot vector held no order and one curve
	of degree 8 over 1854 control points timed out

	    34.24%  run      run                      [.] std::vector<double, std::allocator<double> >::operator[](unsigned long) const
	    30.26%  run      run                      [.] libvisio::VSDContentCollector::_NURBSBasis(unsigned int, unsigned int, double, std::vector<double, std::allocator<double> > const&)
	    22.75%  run      run                      [.] std::vector<double, std::allocator<double> >::size() const
	     1.83%  run      run                      [.] libvisio::VSDContentCollector::_generatePolylineFromNURBS(unsigned int, std::vector<std::pair<double, double>, std::allocator<std::pair<double, double> > > const&, std::vector<double, std::allocator<double> > const&, std::vector<double, std::allocator<double> > const&)

	Change-Id: I1d8925869fec6fdfadb53bf44128e308b3e667f2
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/211255
	Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
	Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>

2026-09-20  Caolán McNamara  <caolan.mcnamara@collabora.com>  [f283e1151bdd23891a148bdc3a1e0a5cb9bc5882]

	ofz#421997578 ofz#42492860 visit each VSD stream offset once

	a stream was entered again through every path that reached it, 26.31s and
	46.71s against 0.03s and 0.05s now:

	     8.35%  run      run                             [.] VSDInternalStream::read(unsigned long, unsigned long&)
	     6.51%  run      run                             [.] libvisio::readU16(librevenge::RVNGInputStream*)
	     6.01%  run      run                             [.] libvisio::VSDParser::readNameIDX123(librevenge::RVNGInputStream*)
	     4.63%  run      run                             [.] VSDInternalStream::isEnd()
	     4.37%  run      run                             [.] VSDInternalStream::VSDInternalStream(librevenge::RVNGInputStream*, unsigned long, bool)

	Change-Id: I2fc17b41a47f215f9ad8fcf84b1d673bc26055d9
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/211254
	Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
	Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>

2026-05-26  Xisco Fauli  <xiscofauli@libreoffice.org>  [f793b99ae50f9dc8cc14683eac0fdca619b13eaa]

	bump release

	Change-Id: I582eef6535afe53d27a214d02e38070fdd226b06

2026-05-26  Xisco Fauli  <xiscofauli@libreoffice.org>  [79ec59def738659ca54a9f9ae6be2c58911254bc]

	update NEWS file for new release

	Change-Id: I4c8a19436f5a49bff5361cd615db350f32af2299

2026-05-22  Caolán McNamara  <caolan.mcnamara@collabora.com>  [724c22ee8a999293bf13838e72923b001ae5b352]

	keep inside buffer readTabRow on short N attribute

	Guard the pointer arithmetic on xmlStrlen first.

	Change-Id: I8d400bc287a77235f3ac497e4afac88169034a6b
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/205556
	Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
	Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>

2026-05-22  Caolán McNamara  <caolan.mcnamara@collabora.com>  [ec5dc2dcbb97006cd1d2dbbee608934b08c33b04]

	avoid infinite depth page/master relationships parse

	Track per-target visited parts on the parsePage / parseMaster
	recursion edge and refuse to re-enter a part already on the stack.

	Same shape as the visited-set of:

	commit d095eb768180f86df4f939d86f3debf3a7078872
	Date:   Mon May 15 16:39:58 2017 +0200

	    ofz#1000 avoid stack overflow

	Change-Id: I26a864bba701fd03b4e36d6fcea087933428a411
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/205554
	Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
	Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>

2026-05-22  Caolán McNamara  <caolan.mcnamara@collabora.com>  [8a326b11a267bd6daa0d1d5b9cbe027cbc08a1bd]

	guard against a malformed Target with excess .. segments

	Change-Id: I04cbe356e4263b74d882932751d72a9c607c1ec6
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/205519
	Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
	Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>

2025-09-23  Xisco Fauli  <xiscofauli@libreoffice.org>  [7954bc5b74edb41146a31ba00e67f63894faa9e9]

	bump release

	Change-Id: Ica6322b998d381f2d60066aa379a68f7fc057941

2025-09-23  Xisco Fauli  <xiscofauli@libreoffice.org>  [875188ce8903e7a04394ef8bed60ec989fa7fbda]

	update NEWS file for new release

	Change-Id: Iba832c0a9d033fd31339693c67e4c2557538dfe8

2025-09-23  Balazs Varga  <balazs.varga@collabora.com>  [4e1e04ef85e460dd529c7ee1aba8fd37fa0046de]

	Related tdf#168475 libvisio: parse gradient fill styles

	as well from theme and use the first SchemeClr for the shape
	(if it is referenced/used by the shape) until we support gradient
	fill completely in libvisio.

	Change-Id: I1d5f731a48b3c66aa3bb0536e59b4e31b4c4e4fc
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/191347
	Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
	Tested-by: Miklos Vajna <vmiklos@collabora.com>

2025-09-22  Xisco Fauli  <xiscofauli@libreoffice.org>  [83bf6d425858c38e0e6fabd368e2bc12a9e49f6c]

	bump release

	Change-Id: Ie56d7305a7caac1e85c0fc17961e79ae74c18a95

2025-09-22  Xisco Fauli  <xiscofauli@libreoffice.org>  [deb54817c8a43a25ae8fecba1e349bb2e5226385]

	distribute new test files

	Change-Id: I647d68bcde24fb937271b636cabab4e4b5f7bb15

2025-09-22  Xisco Fauli  <xiscofauli@libreoffice.org>  [a1245a6a18b2bddbb3c503dea6fc5fcbe7cbbb44]

	update NEWS file for new release

	Change-Id: Iccdb6b7d372042ef848d8dc4396c748eaafa3dea

2025-09-19  Balazs Varga  <balazs.varga@collabora.com>  [bc054fcd9de142eaa513ebaf5689e0bc84958f46]

	Related tdf#168475 libvisio: Unit tests for vsdx theme colors

	Add unit tests after commits:
	Follow-up of: 6f6165796d4de297fa7b65a5bc18002ff03bfcad
	Follow-up of: a33deeb4b905ab9bad4caa1c9393ab7af1027f69

	Change-Id: I5cd1d074d0b7c0570b4700f2e8ab7858f5cec261
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/191203
	Tested-by: Miklos Vajna <vmiklos@collabora.com>
	Reviewed-by: Miklos Vajna <vmiklos@collabora.com>

2025-09-19  Balazs Varga  <balazs.varga@collabora.com>  [6f6165796d4de297fa7b65a5bc18002ff03bfcad]

	Related tdf#168475 libvisio: vsdx Import variationStyleSchemeLst

	elements such as variationStyleScheme and varStyle attributes and apply
	their referenced styles with VariationStyleIndex, if necessary.

	Follow-up of: 0f28b4dbdb951bd95381bbe0a5caa0d4a2d47d29

	Change-Id: I2dae12e89a7b2caa7c32edee516c857ca2547907
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/191170
	Tested-by: Miklos Vajna <vmiklos@collabora.com>
	Reviewed-by: Miklos Vajna <vmiklos@collabora.com>

2025-09-19  Balazs Varga  <balazs.varga@collabora.com>  [a33deeb4b905ab9bad4caa1c9393ab7af1027f69]

	tdf#168475 libvisio: a bit better handling of vsdx files theme import

	with using the correct VariationColorIndex and VariationStyleIndex
	from the xml for selecting the correct color from theme.xml.

	Using the default color (do not apply the theme color) is necessary
	for the first shape of the grouped "End Event" object which is a
	standard black color and cannot be changed in MS Visio. TODO: unit test

	Change-Id: I6da23215eb89b4177d045155cfaa8969cc85af12
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/191099
	Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
	Tested-by: Miklos Vajna <vmiklos@collabora.com>

2025-09-11  Fridrich Štrba  <fridrich.strba@bluewin.ch>  [b4aa628436e061260ca9afd876b65d3a1354d294]

	Fix some strict mode warnings/errors

	Change-Id: I218cad0255cb2f1c19dc0a786de14e3a1f17ee02

2025-09-11  Fridrich Štrba  <fridrich.strba@bluewin.ch>  [e5bf69e0ba9f4416f481460dfaadab9caf7264f6]

	Updated m4 file

	Change-Id: I1ae92a12a244b96aab945d4daefdc2ba2e61be29

2025-09-11  Fridrich Štrba  <fridrich.strba@bluewin.ch>  [f28a7be076571469741e70a7890087388844dfff]

	Install all files generated by doxygen

	Install the whole directory and do not pick only some file-types

	Change-Id: Ieb1ca4b50ffd4caeda332a12d2f50370e491da69

2025-09-11  Fridrich Štrba  <fridrich.strba@bluewin.ch>  [0fbb9eb854b43101c0264cdab35fa41154030c3c]

	boost/cstdint.hpp is not needed

	Change-Id: Ie48b911869e35320db7e3efa15669042f5cf0818

2025-09-11  Fridrich Štrba  <fridrich.strba@bluewin.ch>  [5c0008754c101daedf557e3c99c5ac2fdc9d0ad3]

	Fix distcheck errors

	Change-Id: Ifc61e65a7f421bae34be239469c6565e67cab42e

2025-09-11  Fridrich Štrba  <fridrich.strba@bluewin.ch>  [66f906ad55992e6dc91f7383497acf7838695237]

	boost::optional -> std::optional

	Change-Id: Ia8889e7fcd441f38ee25b0c7d96b9cf234281082

2025-09-11  Fridrich Štrba  <fridrich.strba@bluewin.ch>  [54c28dd35161c6da7bb556392d4a16b9f95d133b]

	up-to-date astyle.options for newer astyle versions

	Change-Id: I8a191e0887c0e9ab82f0154f552453006a1c12a4

2025-09-11  Fridrich Štrba  <fridrich.strba@bluewin.ch>  [927b7402b801cad43ae2e48ad6fd290fd3cbf105]

	Use -std=c++17

	Change-Id: I1204842f872cfeadcbd50f1bcbdabb20d98a2a76

2025-09-10  Fridrich Štrba  <fridrich.strba@bluewin.ch>  [644edd5a9e7e1189729215e584e29cd453a6d092]

	Run autoupdate

	Change-Id: I65ca5564c3d09c072e163bacc3db38cd722aa6d7

2024-11-08  Bartosz Kosiorek  <gang65@poczta.onet.pl>  [8f7348ff2fb02f79b0bc8403b1056f0db149b446]

	tdf126292 Correclty displaying Text Background for VSD 6 and 11 format

	Change-Id: Ia4b79af50786b274d89bc8148fc8cd13544c4330
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/176292
	Tested-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
	Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>

2024-11-05  Bartosz Kosiorek  <gang65@poczta.onet.pl>  [a657866c77df407d2f424d4dbd6a182fbd4a6614]

	tdf126292 Implement displaying Angle TextField (radians/Degrees)

	Change-Id: Ifb71bac4ec96032e1ded67ba7a46d7b137c5ed22
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/176034
	Tested-by: Miklos Vajna <vmiklos@collabora.com>
	Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>

2024-10-25  Bartosz Kosiorek  <gang65@poczta.onet.pl>  [2e33499cbd7df633b857741017a3aa81808ade73]

	Upgrade m4 macros from autoconf-archive.git v2023.02.20

	Dowloaded from:
	https://git.savannah.nongnu.org/cgit/autoconf-archive.git/tree/m4?h=v2023.02.20
	commit 4cd9fa38f0f6cd6998a8d25d25824a0d59ee4fea (tag: v2023.02.20)

	This upgrade should fix Clang warnings like:
	https://git.libreoffice.org/core/+/05aedcba6672979d317b540bbfa74f5c9b409402

	Change-Id: I39230addbe8d21143e4ac52c1e96c6040727165f
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/175534
	Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
	Tested-by: Miklos Vajna <vmiklos@collabora.com>
	Reviewed-by: Miklos Vajna <vmiklos@collabora.com>

2024-10-22  Xisco Fauli  <xiscofauli@libreoffice.org>  [2d240ece062ed3dee77725b6f32767df2b43a0e3]

	bump release

	Change-Id: Ida00d3a56dc5c14a7b282462971125274b834f44

2024-10-22  Xisco Fauli  <xiscofauli@libreoffice.org>  [91c1e1c83f5b29f0f84b8797aadbcfa0d8d9e378]

	distribute new test files

	Change-Id: I5e59dcc46b0cdf2e227076c5f542892c34a0fc1c

2024-10-22  Xisco Fauli  <xiscofauli@libreoffice.org>  [1a46ae002ba9717e9483ed5142acc5d93b96d355]

	update NEWS file for new release

	Change-Id: I5ddd8d149f7f4f0f2f6bc8c0f9932c343d98f230

2024-10-17  Bartosz Kosiorek  <gang65@poczta.onet.pl>  [d60a59e48a483edc19a3f92c9a9cdd124887fdb8]

	Visio5 support: privide cellType to collector in readTextField

	Change-Id: I80454e5b8e3fb1d1c8377391cb60d58ada0af5cc
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/175101
	Tested-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
	Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>

2024-10-16  Bartosz Kosiorek  <gang65@poczta.onet.pl>  [b86ed4fb2d9c2bfe136972e046a26644938de4d8]

	tdf#154379 Add support to DrawingUnits types

	There is number type DrawingUnits type,
	where type unit are taken form the DrawingScale cell of the page or
	master containing the cell.

	Thit commit implement such behaviour and cover it with tests

	More information:
	https://learn.microsoft.com/en-us/office/vba/visio/concepts/about-units-of-measure-visio#default-units-of-measure

	Change-Id: Ib581e214c80e4f61195860dac83ae763c6398653
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/174909
	Tested-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
	Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>

2024-10-11  Bartosz Kosiorek  <gang65@poczta.onet.pl>  [90ac79238339ba6a4df064d956150aa379e6d740]

	tdf#154379 Fix reading TextBkgnd from Shape

	The TextBkgnd cell can have any value from 0 through 24, or 255.
	The values 0 and 255 (visTxtBlklOpaque) both indicate a transparent text background.

	In previous implementation if:
	   <Cell N='TextBkgnd' V='0'/>
	were specified, the value was taken from colors.

	With this implementation, if V='0' then background is not displayed, according
	to documentation.

	Change-Id: I32831ef58a5ea11e6fcc6f1fccda8618817f3af4
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/174712
	Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
	Tested-by: Bartosz Kosiorek <gang65@poczta.onet.pl>

2024-10-10  Bartosz Kosiorek  <gang65@poczta.onet.pl>  [a63cf4a0aa11be22a6a6bb5de3d445d5147bc16f]

	tdf#154379 Fix reading FillStyleLst

	With previous implementation readFillStyleLst method
	is saving all colours into first element: m_fillStyleLst[0]
	It was causing that only last colour was present.

	This commit is fixing that issue, by increasing iterator.

	Change-Id: Ib77463c582874967e255ef91c0380fd880b8418e
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/174698
	Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
	Tested-by: Bartosz Kosiorek <gang65@poczta.onet.pl>

2024-10-08  Bartosz Kosiorek  <gang65@poczta.onet.pl>  [9aa2bad07685d5641649d2065d46fd2ace19c280]

	tdf#126402 Fix testVsd11FormatLine test

	Change-Id: I251c99564253cf4b8125c302797e5a13c0cfb9c0
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/174697
	Tested-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
	Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>

2024-10-08  Bartosz Kosiorek  <gang65@poczta.onet.pl>  [95786a1f8fd9907d4fa483ead66887440434a36f]

	tdf#126402 Improve arrowheads appearance and implement more.

	Change-Id: Iab96dda4000d0430846f241eb71d7b7bdc2e62d9
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/174649
	Tested-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
	Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>

2024-10-01  Bartosz Kosiorek  <gang65@poczta.onet.pl>  [2849204df192331ea94c37414c9452acc9dda287]

	tdf136564 VSDX Add support for TextBackground from SheetStyle

	Previously the TextBackgroundColor was not supported when
	it was defined inside StyleSheet.
	This commit fixes that and allow for proper import of VSDX into
	LibreOffice.

	More information about TextBkgnd Cell:
	https://learn.microsoft.com/en-us/office/client-developer/visio/textbkgnd-cell-text-block-format-section

	Change-Id: Id8d1676d802916dc0776138041ea9f7928914f06
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/174173
	Tested-by: Miklos Vajna <vmiklos@collabora.com>
	Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>

2024-09-20  Bartosz Kosiorek  <gang65@poczta.onet.pl>  [0c69b34e5f1ca995d0b6acf14594319a4c1cf5f3]

	Avoid undefined behaviour when the std::vector is empty

	By getting address of first element (e.g. &tmpBuffer[0]),
	in case vector is empty, the undefined behaviour could occur.

	data() returns a pointer to the underlying array serving as element storage.
	The pointer is such that range [data(), data() + size()) is always a valid range,
	even if the container is empty (data() is not dereferenceable in that case).

	Change-Id: I62665a11ece0cc7e2226608004c0eb48788f95d1
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/173740
	Tested-by: Miklos Vajna <vmiklos@collabora.com>
	Reviewed-by: Miklos Vajna <vmiklos@collabora.com>

2024-03-19  Jaume Pujantell  <jaume.pujantell@collabora.com>  [aac02f9141fcaf0acc1bce2ff6a5c2e9618f9235]

	read and use simple solid fill styles

	Implemented the reading of simple solid fills from the fill styles list
	in a theme. And it's use with the quick style fill matrix value.

	Change-Id: I658340f73ced475bbc8999b4d09c4666fd50dea5
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/163580
	Tested-by: Miklos Vajna <vmiklos@collabora.com>
	Reviewed-by: Miklos Vajna <vmiklos@collabora.com>

2024-03-19  Miklos Vajna  <vmiklos@collabora.com>  [c58eda83afcee4965254397868eba856df89447c]

	Fix -Werror=switch

		importtest.cpp: In function ‘librevenge::RVNGString {anonymous}::getXPathContent(xmlDocPtr, const librevenge::RVNGString&)’:
		importtest.cpp:150:3: error: case value ‘5’ not in enumerated type ‘xmlXPathObjectType’ [-Werror=switch]
		   case XPATH_POINT:
		   ^~~~
		importtest.cpp:151:3: error: case value ‘6’ not in enumerated type ‘xmlXPathObjectType’ [-Werror=switch]
		   case XPATH_RANGE:
		   ^~~~
		importtest.cpp:152:3: error: case value ‘7’ not in enumerated type ‘xmlXPathObjectType’ [-Werror=switch]
		   case XPATH_LOCATIONSET:
		   ^~~~
		cc1plus: all warnings being treated as errors

	Change-Id: I04cf0caf6d0e51b4c02cbab0bd5b4219c7ac5a3b

2023-12-30  Andras Timar  <andras.timar@collabora.com>  [2af22206aca7c14e70e40ee248e9a8a361fbc88f]

	tdf#77915 fix import of default shape fill color

	Change-Id: I5f2f5fd4678774b024301aede4be50ad04a22f87
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/161397
	Tested-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
	Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>

2023-12-23  Jan Tojnar  <jtojnar@gmail.com>  [e7d32634cfeceea700f24af3176090f4501d534e]

	tests: Fix build with libxml 2.12

	libxml 2.12.0 reorganized the headers, which removed `xmlParseMemory` function from the scope.

	Change-Id: Ibd747fe7f83eb7c3a8b8cf57ac4a06e365986d46
	Reviewed-on: https://gerrit.libreoffice.org/c/libvisio/+/160542
	Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
	Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>

2019-08-17  David Tardon  <dtardon@redhat.com>  [55d69d625abb0506160e1e5aedb902e550604ab0]

	bump release

	Change-Id: I1656c0a2bb5bbc44e434d89eeb7b40c89b5e3e0b

2019-08-17  David Tardon  <dtardon@redhat.com>  [0dd9d58e8f69061db4f073933f5f96ed32939a71]

	distribute new test files

	Change-Id: I87e0b4e921605a462b116c2820b2a7d55bbb5448

2019-08-17  David Tardon  <dtardon@redhat.com>  [fc10bd1c08ce8185865268cbedebdae0b0dc5d61]

	keep the file list sorted

	Change-Id: I072ae492e3ecc538d78ac071793042c77321b708

2019-08-17  David Tardon  <dtardon@redhat.com>  [e22c55d8ead89bf4ba2f37629c021f9f9ff74fa7]

	prepare for a release

	Change-Id: I660d3ccee41ef7fedf24819831cd56460cacba64

2019-08-12  David Tardon  <dtardon@redhat.com>  [8f0ce0bb48185458bcaa0efb8cc01da7386e208a]

	simplify creation of xmlReader

	Change-Id: I95815a3f19c612a2926ea1d80f07abbaba1f5595

2019-08-07  Caolán McNamara  <caolanm@redhat.com>  [b480f8f038e2bc6556023b08d7ad4c617a11ed94]

	drop XML_PARSE_NOENT and default to not expanding entities

	Change-Id: I3c3f143b97df19227e274a1591471faa3dd3ed5f
	Reviewed-on: https://gerrit.libreoffice.org/76779
	Reviewed-by: David Tardon <dtardon@redhat.com>
	Tested-by: David Tardon <dtardon@redhat.com>

2019-08-04  David Tardon  <dtardon@redhat.com>  [df4e769e53fa74929a6606f568abd1b1b76ea312]

	cid#1371582 check return value

	Change-Id: If6f80449f6ba0584979aade8887d639996bc5e14

2019-08-04  David Tardon  <dtardon@redhat.com>  [be7f666de460bd3c89ed51f43039858ca1614c7c]

	cid#1371581 check return value

	Change-Id: I794e08141e15795ee19edca755e5cbfa4b9ff71d

2019-08-04  David Tardon  <dtardon@redhat.com>  [1972bec9fe34a09399b785204569ca3189039c7e]

	cid#1452212 fix memory leak

	Change-Id: Idec224a8c688a624c67db07de28add2040f3bc59

2019-08-04  David Tardon  <dtardon@redhat.com>  [19401333010f5874b70373282c1c4ed29870f659]

	sort includes

	Change-Id: Idf362dcc4ede95dceb80de5a5c2e6ac7dff5ff21

2019-08-04  David Tardon  <dtardon@redhat.com>  [f6c48b831afdea999ed68a9b717c78d728a0e677]

	cid#1452210 fix memory leak

	Change-Id: Ifda9cbb926993364ddb68fcb96dc66e0c765d2ef

2019-08-04  David Tardon  <dtardon@redhat.com>  [0a62d06de2462b6be9f086b5997a99eb2feb7246]

	make trivial copy ctors default too

	Change-Id: I9d1359ea3867add91eb9c86eea6b25c6c98abc44

2019-08-04  David Tardon  <dtardon@redhat.com>  [829afb86ef093446cfb624cc492902eb36013bd1]

	make trivial assignment operators default

	Change-Id: Ibb939f38dbe4ff0a0a61aad29a4a4da58efcb743

2019-08-04  David Tardon  <dtardon@redhat.com>  [75360a312918780ed5e34a44e3b8b0da5716c5bc]

	un-constify return value of operator=

	Change-Id: Ib72d1f92e6b080e5c2dd17cc57b2c7f48c917a77

2019-08-03  David Tardon  <dtardon@redhat.com>  [8480dedbe1a5fd27df4c0bfc0ecbb868ad081a8b]

	WaE: implicitly-declared Pointer::operator= is deprecated

	Change-Id: I1a092b3e976bd31b1764698001b9f320757d2cc4

2019-08-03  David Tardon  <dtardon@redhat.com>  [3a1c047b8de4c354b4fb866a7c14012e124067ee]

	WaE: implicitly-declared VSDOptionalFillStyle::operator= is deprecated

	Change-Id: Iabc5a0e4fa4b223fd39405829257cce35d44d92e

2019-08-03  David Tardon  <dtardon@redhat.com>  [f860cf6342530b80248f9c054fa16d1b293509a0]

	WaE: implicitly-declared VSDTextBlockStyle::operator= is deprecated

	Change-Id: Ic482a4bdd3386504ec65fb04c5d302bc2218ecf9

2019-08-03  David Tardon  <dtardon@redhat.com>  [d8f9af1e0e06f2439c1737312744f0b6f83e60ab]

	WaE: implicitly-declared VSDOptionalTextBlockStyle::operator= is deprecated

	Change-Id: Idfc7955fb75afd14cec262f8815d3cb1cebe3900

2019-08-03  David Tardon  <dtardon@redhat.com>  [7af74e2dcda9e31369b57e84b7e3f0341401e653]

	WaE: implicitly-declared VSDParaStyle::operator= is deprecated

	Change-Id: I4b6e91f40cfb24f4492eb75f5b8ffff53fbddf7f

2019-08-03  David Tardon  <dtardon@redhat.com>  [59be5ee54f84a3cf481a5d9dd02c78241327daaf]

	WaE: implicitly-declared VSDOptionalParaStyle::operator= is deprecated

	Change-Id: Ide41be4bbae843c0f96240efcb0d85f60b6f37ec

2019-08-03  David Tardon  <dtardon@redhat.com>  [8f3932b2cf4d550787546feea93bf9c45278d36b]

	WaE: implicitly-declared VSDCharStyle::operator= is deprecated

	Change-Id: Iaa5ac6e94bb53afebc9a09c42134cd64583cfc43

2019-08-03  David Tardon  <dtardon@redhat.com>  [129afac556b38de50abdba5a3267ef88561418ac]

	WaE: implicitly-declared VSDOptionalCharStyle::operator= is deprecated

	Change-Id: I1729b9229bc01062486f9e124c3d3f13f6aaacf8

2019-08-03  David Tardon  <dtardon@redhat.com>  [4136243660429bc2f9775847e3992b7446f2805b]

	WaE: implicitly-declared VSDFillStyle::operator= is deprecated

	Change-Id: Ie3ca69e7386ebbf04f7b5972f3ed96139e26015c

2019-08-03  David Tardon  <dtardon@redhat.com>  [ee13a1bffa6d78924d1d2312abc5d86078b2b251]

	WaE: implicitly-declared VSDLineStyle::operator= is deprecated

	Change-Id: I6760c2d8bd4bb85e0d760abdb86beea45e4fffeb

2019-08-03  David Tardon  <dtardon@redhat.com>  [b1abd7606f21dbad9119788087c373f3caae171a]

	WaE: implicitly-declared VSDOptionalLineStyle::operator= is deprecated

	Change-Id: I599cc0a57aad586def69f548955800082a5a4bdf

2019-08-03  David Tardon  <dtardon@redhat.com>  [3c9fca3cc5349bd91369ea6cc32da37d52290d8b]

	WaE: implicitly-declared VSDBullet::operator= is deprecated

	Change-Id: Ib3f64f30ffe1616c08bb383ed1c462da6d4a31bc

2019-08-03  David Tardon  <dtardon@redhat.com>  [4dfbf7940eb0821c76e2b66b5f27ae9eed31220b]

	WaE: implicitly-declared XForm::operator= is deprecated

	Change-Id: I60e9d0bc7f148f3289552d0169b6cebfba8edee4

2019-08-03  David Tardon  <dtardon@redhat.com>  [a7455c5213007603bd6b129288cf00569e4817b8]

	WaE: implicitly-declared VSDMisc::operator= is deprecated

	Change-Id: I02ff6e1dc02c58ea9fcf26aaacfef245f66fe61a

2019-08-03  David Tardon  <dtardon@redhat.com>  [dfed7b1e459f3bde8dcbb997e5664deeff9e338d]

	WaE: implicitly-declared VSDName::operator= is deprecated

	Change-Id: Ic99122062fc314a3ae6e3b904e4415f8b276f646

2019-08-03  David Tardon  <dtardon@redhat.com>  [95ccb8facab44862b12f69eac9b52ede02a1a55d]

	astyle

	Change-Id: I2d5fac3180897b3a35fa62edf8dddb545b3595be

2019-07-24  Bartosz Kosiorek  <gang65@poczta.onet.pl>  [d6205a23ff36b1ab1f876cebfd41ad1acf19aac5]

	tdf#126402 Fix line formating issue

	With this commit, I have implemented more Visio arrow styles
	and I have added support importing Center Line Ending.

	As a result many import issues of Visio diagrams was resolved.

	Change-Id: I5284e3e53b9d5174ab49e841c66be58e06060760
	Reviewed-on: https://gerrit.libreoffice.org/75635
	Tested-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
	Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>

2019-07-12  Bartosz Kosiorek  <gang65@poczta.onet.pl>  [2ae597695c8ad41dcbdba8405157053a44564abb]

	tdf#126292 Fix unit conversion

	With this commit I have added unit support.

	In .VSD format, all length values (points, kilometers, feets etc.) are stored in Inches,
	all Elapsed time are stored in Days,
	all angles are stored in radians.

	It means that value should be converted from Inch/ Days or radians,
	even if the unit is not displayed.

	For example:
	 - centimeter values should multipled by 2.54
	 - elapsed hour values should be multiplied by 24
	 - percent values should be multipled by 100

	Change-Id: I88711a1bf1bfd6078dc6948194449bcc91f34cce
	Reviewed-on: https://gerrit.libreoffice.org/75374
	Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
	Tested-by: Bartosz Kosiorek <gang65@poczta.onet.pl>

2019-07-09  Bartosz Kosiorek  <gang65@poczta.onet.pl>  [9bf6a30786fb75cb725fe038d77ef03e1ebc4bc0]

	tdf#126292 Fix unit conversion

	Change-Id: I88711a1bf1bfd6078dc6948194449bcc91f34cce

2019-07-09  Bartosz Kosiorek  <gang65@poczta.onet.pl>  [187e3c83fe021267b913068432d1387ea140944a]

	Replace magic numbers with defines

