summaryrefslogtreecommitdiff
path: root/writerperfect
AgeCommit message (Collapse)AuthorFilesLines
2014-11-13add EDB-35217 testsCaolán McNamara2-0/+0
Change-Id: Id37702123bd81a7102d101d3348dcf923c20a5d8
2014-11-06Revert "use the new OUString::fromUtf8 method"Stephan Bergmann1-4/+4
This reverts commit 05050cdb23de586870bf479a9df5ced06828d498, not all places that use e.g. OStringToOUString to convert potential UTF-8 are guaranteed to fulfil the prerequisites necessary to use fromUtf8 (and some places like e.g. in codemaker are happy with the best-effort effect of OStringToOUString's OSTRING_TO_OUSTRING_CVTFLAGS).
2014-11-06use the new OUString::fromUtf8 methodNoel Grandin1-4/+4
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
2014-10-24fdo#84168 change writerperfect filters to use a new base class templateTakeshi Abe20-339/+87
in writerperfect/source/draw. Change-Id: I8ec2861da2af1e203157faa1319b837fe236b507 Reviewed-on: https://gerrit.libreoffice.org/12072 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-10-22fdo#84168 change writerperfect filters to use a new base class templateTakeshi Abe12-318/+64
in writerperfect/source/writer. Change-Id: I8840f13b44aa1060dab9383583bdb1db4db70aaa Reviewed-on: https://gerrit.libreoffice.org/12038 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-10-20add test file for MWAW presentation importDavid Tardon4-0/+1
Change-Id: I676de4ca59524e858bf24133d7c54f424922ef26
2014-10-20Add a filter for AppleWork's presentation file...osnola9-180/+626
Change-Id: I9f03ecc6d67ad77ccb0d5240fe0b5968c8063bd3
2014-10-16add test files for new formats in libmwawDavid Tardon5-0/+382
Change-Id: Ic72ccb701ad42107ff35a28df1328fe7139bcb1b
2014-10-16Update to last libmwaw versionosnola2-3/+9
+ add filters for MacDraw, MacDraw II and RagTime (v2-3 for Mac) Change-Id: If84abff1baa75f9bfa951039781575b6a8648a84
2014-10-10coverity#1240260 Operands don't affect resultCaolán McNamara1-2/+2
see can we silence these false positives coverity#1240259 Operands don't affect result coverity#1240254 Operands don't affect result coverity#1240264 Operands don't affect result coverity#1240267 Operands don't affect result Change-Id: Ieca40474c231e33a516b70f7693346ac73babd61
2014-09-17Missing boost_headers dependenciesStephan Bergmann2-0/+2
Change-Id: I3e192bd3711ac690f3212fc36809b2c25526e9aa
2014-09-17use MediaDescriptor to get input streamDavid Tardon1-8/+2
Change-Id: Iecc7f373d0d352281b53324ef8824c5d7073fe8a
2014-09-17convert wpftcalc to use ImportFilter base classDavid Tardon9-309/+55
Change-Id: I6692aee51753cddf57aaca1b7b7a94afafe60a9d
2014-09-17generalize ImportFilterBase a bit moreDavid Tardon2-0/+240
Currently there is a nearly exact copy of that class for every ODF document type. That suggests that it might be a good idea to use a template :-) Change-Id: I2a24eb5bd63cc584569a948df63266c7eb703bd3
2014-09-17pass media descriptor to import functionsDavid Tardon24-24/+30
Change-Id: I0c3e9c7ba83ef886958789706929b2eede30c343
2014-09-17pass the whole descriptor instead of filter nameDavid Tardon10-16/+24
Change-Id: I874e53a00d48ba84588126c1ecdb90c801a9b1d6
2014-08-29Missing unit test dependencyStephan Bergmann1-0/+3
Change-Id: I6ea03aadce23e324ee80f2f73e2175a5307c706a
2014-08-19can actually manage to ask createStream for missing streamsCaolán McNamara1-3/+2
writerperfect::(anonymous namespace)::OLEStorageImpl::createStream(rtl::OUString const&) (WPXSvInputStream.cxx:260) writerperfect::WPXSvInputStreamImpl::getSubStreamByName(char const*) (WPXSvInputStream.cxx:201) MWAWInputStream::unzipStream() MWAWInputStream::MWAWInputStream valgrind + bff Change-Id: Iaecb8b7f05ed4369ddd37b34166dc3c3388ffb4d
2014-08-15use consistent style for writerperfectDavid Tardon50-801/+920
Change-Id: I47089586094b58c39a128e44e2671d69c2d50177
2014-08-13fdo#81787 attrs are already XML-encoded by libodfgenosnola1-1/+102
Change-Id: Icee62e1ec9cee71930bcd52dbab850396fc96efa
2014-08-09add test-case for EDB-22679Caolán McNamara1-0/+0
Change-Id: Ie4e8548e3202cb1561276ef7480281053867b6fe
2014-08-07add test-case for EDB-29664Caolán McNamara1-0/+0
Change-Id: Ib57c7846523f7b8b3b08d19355e10a47c778a524
2014-08-07add test-case for EDB-22310Caolán McNamara1-0/+0
Change-Id: I6a7b659b562218e4bdd1b1badf655f65266e8d85
2014-08-07add test-case for EDB-22655Caolán McNamara1-0/+0
Change-Id: I96c8ea50425ed82cbbd1f235bd778621956b59ba
2014-08-07add test-case for CVE-2007-1735Caolán McNamara1-0/+0
Change-Id: If505b45bd197fb24a2bacaf44cb46f84de8b61ff
2014-08-07add EDB-14344 testcaseCaolán McNamara1-0/+0
Change-Id: Ia4c6486d2d54103951765ce3e273dece6f022372
2014-07-16make keynote detection a bit more robustDavid Tardon1-1/+8
Change-Id: I947bc5867a6b61a923d47cad48d04ab5fc2769c9
2014-07-16fdo#81113 always run the actual detectionDavid Tardon1-18/+18
The old code only run detection if an UCBContent property was passed. That means that any time the function got only InputStream, it claimed that it was a Keynote presentation. Change-Id: I377828229e7e95384257bde247612d7768307581
2014-06-27integrate libpagemakerDavid Tardon8-0/+143
Change-Id: I077d7c9a41793abdf5f001386f44ac407f94a6d3
2014-06-07oops, libwpd -> librevengeDavid Tardon1-2/+2
Change-Id: I17562f0231d54ba46d009f3270af1d5e729f40a9
2014-06-06fix typo in test file nameDavid Tardon1-0/+0
Change-Id: I12bfa086577fcb56cabffcca2eda675d02791fde
2014-06-05Fix memory leakStephan Bergmann1-0/+3
Change-Id: I74001eb033abd7ceb10da60ea707f876d9f22c08
2014-06-05add more test documents for libmwawDavid Tardon6-0/+135
Change-Id: Id31953720634cbfd838869ac2470b088da09caae
2014-06-04and of course, GreatWorks test files fail to load on WindowsDavid Tardon4-0/+0
Change-Id: Ic102312af8b3c3218c79b7de9f57126ab4606176
2014-06-04pass UCBContent to the filters tooDavid Tardon1-7/+9
Change-Id: I75e4b3226d47ba9cc19e8c6b0e38938e4d7ceb17
2014-06-04loading of these fails on windowsDavid Tardon2-0/+0
Change-Id: Ibb9590419d965b789330ce149b88ba8be4e440d0
2014-06-04add random unversioned test file for libvisioDavid Tardon2-0/+0
Change-Id: I36fb1f845dacad3a409b0f089b207fa284c5733a
2014-06-04add random unversioned test file for libmspubDavid Tardon2-0/+0
Change-Id: I1d5841870543c4d8dc1afc1e714b2591431f0f62
2014-06-04add random unversioned test files for libcdrDavid Tardon4-0/+0
Change-Id: I9db735d7363e912edc1528c8964e665f1a4c8056
2014-06-04add more test drawings/paintings for libmwawDavid Tardon9-0/+1045
Change-Id: I7a85c7b7eae2abf29ff1a5742e1218346b1f9e00
2014-06-04add unit test for writerperfect::DirectoryStreamDavid Tardon10-1/+159
Change-Id: I53aaf2355d9f3071544ebcaaee01bd44a30f88fc
2014-06-04ensure writerperfect::DirectoryStream only works for dirsDavid Tardon1-4/+8
Change-Id: I588d295d72a600710324ee936d0c2291872c1d73
2014-06-04add convenience functions to handle dirsDavid Tardon1-0/+41
Change-Id: I81c94565e09e0d839d95bf4f09b029838bb37ad5
2014-06-04move CppUnit plugin def. to separate source fileDavid Tardon3-3/+17
Change-Id: Id946419274728f96e1de41cffe84280e37e87ab3
2014-06-04add some test documents for libwpsDavid Tardon6-0/+0
Change-Id: I20aa49212b6ecbb819c9671b5c144f294653ab47
2014-06-04add some test drawings/paintings for libmwawDavid Tardon9-0/+628
Change-Id: Id0f5aa7fbb92d15bbe877e85dd60b51107f49168
2014-06-04add more test spreadsheets for libmwawDavid Tardon4-0/+689
Change-Id: I8810b84d2675ba3695578b5ed87c32dd1a686ae9
2014-06-04Missing gb_CppunitTest_use_vclStephan Bergmann1-0/+1
Change-Id: I803fb17e29f5548897751a212565e8e60f8f8bf5
2014-06-04DeInitVCL at end of testsStephan Bergmann4-0/+4
This required some changes to the framework: * Init-/DeInitVCL is no longer done per individual test in BootstrapFixture, but once per CppunitTest invocation in a new vclbootstrapprotector (similarly to the exisiting unobootstrapprotector). CppunitTests that need VCL now need to declare gb_CppunitTest_use_vcl. * For things to work properly, the UNO component context needs to be disposed from within DeInitVCL (cf. Desktop's Application::DeInit called from DeInitVCL). The easiest solution was to introduce an Application::setDeInitHook (where the hook is called from DeInitVCL) specifically for vclbootstrapprotector to call. * PythonTests don't (yet) call DeInitVCL; they still hook into BootstrapFixture's original test_init functionality (to call InitVCL), and do not make use of the vclbootstrapprotector. Change-Id: I4f3a3c75db30b58c1cd49d81c51db14902ed68b2
2014-06-03and another one...David Tardon1-0/+0
Change-Id: I24c146c7372bedf9a70b9739e44968f09b0ba77a