summaryrefslogtreecommitdiff
path: root/src/lib
AgeCommit message (Collapse)AuthorFilesLines
2015-07-21use shared_ptr here tooDavid Tardon1-6/+3
Change-Id: I82dbb50a4e75326720f30a2dab8f732e8802b7e4
2015-07-21add constDavid Tardon1-1/+1
Change-Id: Ieeef8936cce71f41bc2fbf114bc17739829152e9
2015-07-21plug a leakDavid Tardon1-6/+3
Change-Id: Iece1e905a696df09b75a3a90483f76c52d6396d5
2015-07-21Make the conditions the same for VDXParser tooFridrich Štrba1-11/+11
Change-Id: I325e1653250cf8e583a52aea9f2bf6275df9bff1
2015-07-21Fix dereferencing of uninitialized memoryFridrich Štrba2-27/+27
Change-Id: Ic4d3c56257dec467325edd934c70074b656b31f4
2015-07-21avoid overflows when reading chunk recordsDavid Tardon1-4/+12
Change-Id: Iea13e63e977348a449b68eca329146ae6f097197
2015-07-21sort file listDavid Tardon1-28/+27
Change-Id: Ie7e75271d0e02b5dd5cac01269365268c57269d4
2015-07-21tdf#92271 fix VSDX char background handlingAndras Timar2-2/+3
When char background is not set, we should not export white. When char background is set, we should export that color, not black. Unfortunately transparency is not supported in ODF. Change-Id: I805f06c8907243576a137152ac663dba40e720fb
2015-07-21VSDMetaData: need space for the terminating null-characterMiklos Vajna1-1/+2
Change-Id: Ie9cab1687dd3187819ec8e3e89b3e9355da9b255
2015-07-20handle even more infinite loops in XML parserDavid Tardon3-22/+23
Change-Id: Ic16f373c6a143b10d4a53c7c84f3433ebb3c323d
2015-07-20handle more infinite loops in XML parserDavid Tardon2-41/+57
Change-Id: Ia39b230bd9ec76ba9bfa49820ea64f72ca1f35a6
2015-07-20use constDavid Tardon1-1/+1
Change-Id: Idb34c470628f98aabfdcb75313705ce225a65bd7
2015-07-20avoid another infinite loop in XML parserDavid Tardon1-2/+6
Change-Id: I73b3d064c8931f706e0df1e3bd837f0801491a51
2015-07-20stop parsing if XML error is encounteredDavid Tardon3-8/+46
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: I29615b656fc9b1dcd39aefbecc67da10c75fe0b6
2015-07-20move libxml2-related functions to a separate fileDavid Tardon11-192/+246
Change-Id: I41a37b02f72e5c8d42e636b54627716add60e70f
2015-07-17do not leave dangling ptr aroundDavid Tardon1-0/+1
Change-Id: I135e6e765bf365c3db41b38e169403b6b13a6ea1
2015-07-17do not leave dangling ptr aroundDavid Tardon1-0/+1
Change-Id: I4f8de0afaa5e8f7c8f2ff7d5c3bb7369b9b93924
2015-07-17avoid null ptr deref.David Tardon1-1/+1
Change-Id: I55fe94df71bda97ba5e4e8fe14160c27befe1a0b
2015-07-16avoid endless loop when reading broken fileDavid Tardon1-2/+9
Change-Id: I95ba48b926e51873786255e8933e94def4b04ace
2015-07-16avoid endless loop when reading broken fileDavid Tardon1-1/+8
Change-Id: I4956a3438d273a06a11d96031e2759062dce1e95
2015-07-16avoid copypastaDavid Tardon1-105/+41
Change-Id: I5f7dc4912aebd763da27984fcd5644a9419901bf
2015-07-16avoid endless loop when reading broken fileDavid Tardon1-1/+4
Change-Id: I512d48b5ea25d3784f5b63725d4ff3b8ad648ccc
2015-07-15don't leak in case of exceptionDavid Tardon5-35/+35
Change-Id: Ib9eb9e02b678bc892b4cefd9fb793a06b2302879
2015-07-15avoid memory leakDavid Tardon1-8/+7
Change-Id: Ifb59e5f916b23fb681452c45149e56730ff36a89
2015-07-15afl: avoid null pointer dereferenceDavid Tardon1-1/+1
Change-Id: I641e7ca93d903db3b2e211ec90e420dc249e162e
2015-07-15afl: avoid null pointer dereferenceDavid Tardon1-1/+1
Change-Id: Ice2a9440ca6bfa4c032186a4a65d6ed2e537648a
2015-07-15afl: avoid null dereferenceDavid Tardon1-3/+3
Change-Id: I37a3295a82bdc29fa38cf24b8d5005d992699214
2015-07-15afl: avoid null dereferenceDavid Tardon1-1/+1
Change-Id: I34cd4745be84a77ba2a380f0821712b8f439ccbc
2015-07-15afl: don't leave dangling pointer aroundDavid Tardon1-0/+3
Change-Id: I9ad2c1711954d8fe9164c8d51d288e1aa04c8372
2015-07-14ignore errors when parsing metadataDavid Tardon2-10/+8
Change-Id: Ia2f5e1882764899cc1dade967acbf474c7b80a3f
2015-07-14ignore errors when parsing metadataDavid Tardon2-9/+8
Change-Id: I5780e7c95655766eb821045de70ed426eaa35be0
2015-07-14avoid memory leakDavid Tardon1-4/+4
Change-Id: Ibd1e042f11f0191bda0a4ae3064df603137fe5ba
2015-07-14fix more string leaksDavid Tardon1-4/+7
Change-Id: Ifc79cf5d91a262fb4d51d13d9d183164ccc24f07
2015-07-14avoid a slew of string leaksDavid Tardon3-131/+94
Change-Id: I72b02e1752df97501a0c1a5aef123f7f43dcdd2f
2015-07-14avoid memory leakDavid Tardon1-3/+3
Change-Id: I66851b20c42e5a740a0401a61e8536d9b3e0b503
2015-07-14avoid memory leak in case of exceptionDavid Tardon1-5/+3
Change-Id: I1129c4a3e779270c6c5e43229d3d31a6376eb3b3
2015-07-14avoid leak of xmlTextReaderDavid Tardon1-13/+12
Change-Id: If82d2b1a81a742a65d9826513e3d83b779602b7b
2015-07-14use shared_ptr for streamsDavid Tardon1-47/+27
Change-Id: I3733f901ea75bfaf55941832890408de637a0417
2015-07-14use shared_ptr for streamsDavid Tardon2-35/+32
Change-Id: If33a4b0f1f47683412d6696f6d06de9844c5971c
2015-07-14avoid double deletion in case of exceptionDavid Tardon1-0/+1
Change-Id: Ic2767a987ab0890f0dc8fd4e087d0c830ff08bfa
2015-06-29tdf#92270 VSDX theme color import fixAndras Timar1-0/+7
Change-Id: I4843762646c204d5c898d0f0dea503196a1e414a
2015-05-04add missing breaksDavid Tardon1-0/+4
Change-Id: I200b80dca1db001d49fb97326345539c02c66b90
2015-02-27More metadata extracted from VSD/VSDX filesMihai Varga7-52/+196
Template, language, company and category metadata are extracted from VSD/VSDX files. Company and category are set as custom properties. I've also added unit tests for those 4 new document properties. Change-Id: Ic14bfa11a2a8253c79dd4c4466afc7f6b2ce4ea9 Signed-off-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-02-16use std::pow in order to avoid compile time errors like:Richard PALO1-1/+1
error: call of overloaded 'pow(int, uint16_t&)' is ambiguous as seen on SunOS 5.11 Change-Id: I2ac60caa2b0c3731064cdea6150523a00647036e Reviewed-on: https://gerrit.libreoffice.org/14481 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-01-28VSDX: import <cp:category> as librevenge:categoryMiklos Vajna2-0/+4
Change-Id: Idb2367009d24c49d111227b8dca1b6e40045f8c9
2015-01-06why is this constant static?David Tardon1-1/+1
Change-Id: I4e1129695c2f4fd14c491acfe916853ea33fb64f
2015-01-06workaround build error on old 32-bit linux systemsDavid Tardon1-1/+1
"error: integer constant is too large for 'long' type" Change-Id: Ib2a8987da0bdc03e2b479d8743f8366fde83c203
2015-01-05workaround error C2589: ´(´ : illegal token on right side of ´::´Caolán McNamara1-2/+2
Change-Id: I653ef7386ac4bd77bce40601bae5d2fd84764c83
2015-01-01Revert "VSDX: import <cp:category>"David Tardon2-4/+0
We do not want "multi-level" property names. This reverts commit 5753f7e98d02bde80d9e712d298372933c4a28e6.
2014-12-31VSDX: import <cp:category>Miklos Vajna2-0/+4
Change-Id: If1f520da6d9180862409af63296a1f90bad971e1