summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-08-17bump releaseHEADmasterDavid Tardon1-1/+1
Change-Id: If763ea0cef7f4da7b55c7442ea109db2232b272b
2019-08-17cid#1452381 avoid use of invalid iteratorlibabw-0.1.3David Tardon1-2/+5
Change-Id: I91e3f2e5a191b4b476b8b0626b4ab7401dd5ab92
2019-08-17prepare for a releaseDavid Tardon1-0/+8
Change-Id: I22d587ce4ac93169e1faa5dff35defb6e4fb4873
2019-08-12do not parse entitiesDavid Tardon1-1/+1
Change-Id: I367e3e45cb38b8e863da753900ce5f79a840e171
2019-08-07WaE: implicitly declared ABWData::operator= is deprecatedDavid Tardon1-0/+1
Change-Id: If2167cb3914c3f5a8ee865bfbb241eed9e95bce4
2018-05-05disable werror by defaultDavid Tardon1-2/+2
Change-Id: Ib4cf1b4bc9b266d6662e5c78112a7f42a8a9d60c
2018-02-02iwyu: reduce includesDavid Tardon3-3/+0
Change-Id: Icb9643c23f2c628a81d6570ca304473cd04137f7
2018-01-22ofz#4681 propagate read error upDavid Tardon2-18/+28
Change-Id: I8e271410d717bc1d53323d624a3a46cf3812fca9
2018-01-18move dict from oss-fuzzDavid Tardon1-0/+195
Change-Id: I95ad30e3b82d4ea4dbce5632e20b5b85bac7630d
2018-01-04m4: MSVC defines __cplusplus as 199711L stillMiklos Vajna1-1/+1
See e.g. <https://stackoverflow.com/questions/37503029/cplusplus-is-equal-to-199711-in-msvc-does-it-support-c11>, on MSVC we can't depend on the value of __cplusplus, since that one is a too low value, even if everything else works fine.
2017-12-31bump versionDavid Tardon1-1/+1
Change-Id: If2763f473abb3662500c56645bfe82165b2817d1
2017-12-31add another fixed bug to release noteslibabw-0.1.2David Tardon1-1/+1
Change-Id: I883e28a5ec5a51de635bc94711b85e59fb068e82
2017-12-31prepare for a releaseDavid Tardon2-1/+17
Change-Id: I2c10b72c73e72f13b7a05c2c93cb7cf94bd1d18b
2017-12-31tdf#74462 use min width/height for inline imagesDavid Tardon1-0/+4
Change-Id: I0a3f14ff4ab7d01eaa76bbfc2fe2d890ff336272
2017-11-27ofz#4420 avoid signed integer overflowDavid Tardon1-1/+5
Change-Id: Id8c52d600350a4469e506395d75619d111160db0
2017-11-20ofz#2370 avoid signed integer overflowDavid Tardon1-1/+7
Change-Id: I77bbaf6ad9be5f80c530dd000c110b51c2527b28
2017-11-04Use auto when declaring iterators and when initializing with a castMiklos Vajna5-10/+10
Change-Id: I9c72f04ed4d3e1bbe75918f851f9a6d300ed875f
2017-10-31doxygen -uFridrich Štrba1-864/+1607
Change-Id: I8b94ad24173fe0fb4629e3c5d558d548da4401b2
2017-10-28save some vertical spaceDavid Tardon1-12/+4
Change-Id: If064b3b7b41b307594474d200d5e0b939fbf69ed
2017-10-28rely on pkg-config to find zlibDavid Tardon1-6/+1
Change-Id: I06bcdf1a538173b09282b1835d8007476fffe36f
2017-10-28drop outdated MSVC project filesDavid Tardon16-2237/+1
Change-Id: I70c0c12f2bf2b3a9029c67c82288a3863097bbd2
2017-09-28avoid output from fuzzerDavid Tardon1-2/+2
Change-Id: I4b755953b17d6e9f9d12431d828432ab94c2ca2c
2017-09-04ABWContentCollector: map dc.creator to meta:initial-creatorMiklos Vajna1-2/+2
librevenge's dc:creator stands for "last modified by" at multiple places (LibreOffice, libvisio), meta:initial-creator is the author key. Change-Id: If2641d973b1f436557e1fef355ae05863e25a3a5
2017-08-25metadata: emit generatorMiklos Vajna1-0/+11
Change-Id: Ide402008395e827e8d00b3181e6f27f3799e6166
2017-08-15Convert explicit for loops to range-based ones where possibleMiklos Vajna3-16/+14
Makes the code a few lines shorter. Change-Id: I39eb3b0c26dac6daf50750ba72823b2dbfd38c2d
2017-08-11Convert 0 to nullptr where it's used as a pointer valueMiklos Vajna12-17/+17
To make the code easier to read, because this means the remaining zeros all mean numbers. Change-Id: I4c904506b56946d9f14ac64381995d2bdbdf1e50
2017-08-11metadata: fix handling of titleMiklos Vajna1-6/+2
No need to create a custom doc property, there is a stock one. Change-Id: Ibe539923d3349eb09bac56e1c6099af6c6ab9320
2017-08-09Mark overriding member functions as 'override'Miklos Vajna5-176/+176
This does not affect the generated code (API or ABI), but: 1) Makes sure that in case the signature of one of these functions would change by accident, the build breaks as the function no longer overrides a base function. 2) Makes the code readable by explicitly marking all overriding functions as 'override', where previously the reader had to read the interface of the base class(es) as well to find out if the function is virtual or not. 3) Since 'override' implies 'virtual', remove the 'virtual' keyword where 'override' is present. Change-Id: I8b3f2de677ce126e1a6a0844e8081eeef15d7909
2017-07-31ABWParser: fix thinkoMiklos Vajna1-1/+1
processXmlDocument() had a while() loop till ret is not 1, but then only returns true if ret is 1, sounds like it always returns false. The intention was probably that ret is not -1, so check for 0 instead. Change-Id: Ied2e378e7d63c190094ea4b3d4bf5ee7123e80e4
2017-07-31ABWParser: printf -> ABW_DEBUG_MSGMiklos Vajna1-1/+1
Which goes to the stderr, so `./abw2odt in.abw > out.fodt` produces a valid flat ODF in out.fodt. Change-Id: I3d7256935c0c7eb3336b7d068b9f4a64da404c5d
2017-06-13fix -Werror=implicit-fallthroughFridrich Štrba1-5/+5
Change-Id: If8e81cfa6d0764d7eb6346bda11c89a118659e32
2017-05-17ofz#1254 the # of columns cannot be negativeDavid Tardon1-2/+2
This could cause a big allocation and extremely slow appending of millions of RVNGPropertyLists to a RVNGPropertyListVector in ABWContentCollector::_openTable, because the # of columns is cast to unsigned. Change-Id: I0d62659d15c95a2f0828eb9347f6efe1f377ef25
2017-05-17improve check for stuck XML parserDavid Tardon3-20/+47
This fixes regression in parsing some broken documents caused by commit 442b4812cf058481e00c186ef738c990e1a50284 . Change-Id: Id4afc8b120c72cb77f27c71c3f1452e100f86faf
2017-05-16replace Spirit.Classic by QiDavid Tardon4-100/+53
Change-Id: I9314e123dbd8346fa7e484f9dede3a0379574bd6
2017-05-16drop unneeded includesDavid Tardon2-2/+3
Change-Id: I0a6d40ff003a71d8538e57a6468b09c58b2a9680
2017-05-16drop :: prefixDavid Tardon3-4/+4
Change-Id: I5e7411a87bf9e3443b675984d2f9027638d886d9
2017-04-23drop unused macro DELETEPDavid Tardon1-2/+0
Change-Id: I583b1517af38653950fc137c0cf84b02257738a1
2017-04-23replace dumb pointers by smart onesDavid Tardon5-38/+22
Change-Id: Ia5497a98c7de264edfb61a78123c288448e476dd
2017-04-23replace dumb pointers by smart onesDavid Tardon2-7/+5
Change-Id: Ie10877ba7a83741f57166c079e3b95fc4145ccbd
2017-04-20ofz#1198 initialize iteratorDavid Tardon1-1/+1
A singular iterator is not equal to any other iterator. Change-Id: I24ee1569ee87752c63aa75810e0d8fc4c0f5130f
2017-04-20avoid possible null ptr deref.David Tardon1-1/+2
Change-Id: I0854b339425296d7d5444ca54e497d3ee06ee9f8
2017-04-20move cleanup of xmlTextReaderPtr to a single placeDavid Tardon4-12/+9
Change-Id: Idf32d2f27b7c97276e57e05a60270778ed92f611
2017-04-20ofz#1025 stop parsing if XML error is encounteredDavid Tardon3-8/+42
xmlTextReader either does not continue processing the document if it encounters an error or it can get into an infinite loop in some cases. XML_PARSE_RECOVER does not help. So we just give up in case of error. Change-Id: Ib5287a4032b2f9600bd389dcfb2e2cc6babf6ac8
2017-04-20move this from a separate source to ABXMLHelperDavid Tardon6-77/+40
Change-Id: I6429111a974c51a35f778c02f11d653f5bc48fbb
2017-04-20ofz#1023 avoid stack overflow with too big list levelDavid Tardon1-0/+3
Change-Id: I3810cfc334f5c9053e7f2302fe3034d87d57bc70
2017-04-19include config.h for HAVE_FUNC_ATTRIBUTE_FORMATosnola1-0/+4
Change-Id: I6162b62d4661345c2bd16c04cf69cd1bacb31240
2017-04-19retrieve textbox framesosnola8-99/+289
Change-Id: I3b6f4b8186feedfb9932098305f99a40a72a5726
2017-04-19simplify the codeosnola3-61/+50
Change-Id: Id4b7c753ace8e1ca612128b3d936bc3b347a48e1
2017-04-19try to retrieve some image framesosnola6-0/+139
Change-Id: I2d4ea674485da9afb68447af6e07a7a8eae94411
2017-04-19ofz#1020 look for some invalid table structuresDavid Tardon2-5/+40
Change-Id: Ia81b62f648d17e1592189cae64ed1eaec7eb0a2f