summaryrefslogtreecommitdiff
path: root/sot
AgeCommit message (Collapse)Author
2012-12-05Resolves: fdo#57532 restrict page sanity check to non-storage chunksCaolán McNamara
Change-Id: I47c24131e95b9a8a691dbff4710869ba91df8306 (cherry picked from commit 4a1044229afd6b52ca10e5c55f1957b153a8c6ea) Reviewed-on: https://gerrit.libreoffice.org/1245 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2012-11-23Resolves: fdo#53909 STG_FREE sector locations rejectedCaolán McNamara
(cherry picked from commit ef9f9b750eac2966634c385a2021716c4de0e4cd) Conflicts: sot/source/sdstor/stgelem.cxx Change-Id: I6f71c7e3cfeeba8a76096d5be68838b8d401c580 Reviewed-on: https://gerrit.libreoffice.org/1150 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2012-09-19sot: substantially accelerate sorted cache write-outMichael Meeks
A simplified version of commit: e48e48910247335124f0726a7fcadb94556883b6 Change-Id: I887f04c6b74288041289ed3ea0bd71d06b553cbe Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-08-16Do not check the stored DIFAT sector count.Kohei Yoshida
Refer to this thread for details. http://lists.freedesktop.org/archives/libreoffice/2012-August/036852.html Change-Id: Id2115732a1e1bcd78c13445f5aaefe1ec7cfa0c2 (cherry picked from commit 50d89530eee57afb890e2e65aac8a5b0f93a74a3) Signed-off-by: Ivan Timofeev <timofeev.i.s@gmail.com>
2012-08-02sot: prevent some null pointer crashesMikhail Voytenko
Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-06-05This SyncSvStream/SyncSysStream stuff isn't usedCaolán McNamara
and doesn't seem to make a lot of sense Change-Id: Ie59e39c88070b6620cb7683e69052314d732c54a
2012-05-31targeted string re-workNorbert Thiebaud
Change-Id: Ifd6b90778725d94a9338a53a4cdc514cdb595052
2012-05-25Revert "Make SotStorage and SotStorageStream dtors public"Fridrich Štrba
This reverts commit 90f3840e4c767154266c6be1c532f5e748e8c3f7.
2012-05-25Make SotStorage and SotStorageStream dtors publicFridrich Štrba
Change-Id: I3ca0d308199bc4acf66a4c473d8b48561560d631
2012-05-14sot: minor unit test logic cleanupMichael Meeks
2012-05-14sot: add OLE2 unit test reading streams forward and backwardsMichael Meeks
2012-05-14sot: re-work OLE2 offset-to-page computationMichael Meeks
The gotcha here is that if we get ahead of ourselves, and read to the end of the stream, we detect bad chains too early, so instead incrementally build the page chain cache, which is also quicker and behaves more similarly to the previous code.
2012-05-11sot: simplify the storage stream FAT item cacheMichael Meeks
Change-Id: Icb6fe9341244dfd53300f58ac85560604f53558a
2012-05-10Related: fdo#47644 get out of bounds conditions rightCaolán McNamara
Change-Id: Icac9a8337296f92af5007a051f00388a64955178
2012-05-03should have been SAL_WARNCaolán McNamara
Change-Id: I3f5fd059ecd5b6c4278ffe0f3a2d69b6526d2d01
2012-05-03std::is_sorted is C++11 or C++0X sgi extensionCaolán McNamara
Change-Id: I3039bb172beb21ebafc60a431692b58793cb1538
2012-05-03Related: fdo#47644 for huge files build a page chain cache for seeksCaolán McNamara
For huge ole2 structured storage files build a page chain cache on demand to speed up long distance seeks i.e. reduces .doc parse time for fdo#47644 from 1 minute 7 seconds to 18 seconds for me Change-Id: I I40eefb8cabd05db8345a38ea3407686732eb35c9
2012-05-03const up methods that don't change any stateCaolán McNamara
Change-Id: I844cefad718e5b37dac5657674294a0873b8a8e5
2012-05-03Fix sot stream bustageCaolán McNamara
We want the Tell position of the wrapper stream, not that of the underlying wrapped stream. Change-Id: I5d30192dbc3746104ca2127d9a747ef70b85a136
2012-05-03Related: fdo#47644 compound storage backend is poor at knowing stream sizeCaolán McNamara
Change-Id: Ie4aa6939f9f37e04fda5425a6e28c5d846a9cb62
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen
this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-16Removed StgHeader::SetClassId(ClsId const &)Laureano G. Linde
2012-04-08rename gb_CppunitTest_uses_ureDavid Tardon
2012-04-08compile- and run-time use of UNO must be splitDavid Tardon
There are unit tests that do not use URE, e.g., in cppuhelper. This reverts commit 33e9f3d3d6b29545ef9df3f5334c015e15caa5c8. Conflicts: sot/CppunitTest_sot_test_sot.mk svl/CppunitTest_svl_urihelper.mk
2012-04-08clean upDavid Tardon
2012-04-08always use --protector for UNO testsDavid Tardon
2012-04-08drop uses_ureDavid Tardon
2012-04-08let use_api handle the use of type rdbs at runtimeDavid Tardon
Or is there any use case where we would need to use UNO API headers, but not require the appropriate type database at runtime?
2012-04-08LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl
2012-04-08gbuild: "use" vs. "add":Michael Stahl
Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-02always pass --headless to cppunitsLuboš Luňák
They should not need any actual UI anyway, and most of them already pass the option manually. http://lists.freedesktop.org/archives/libreoffice/2012-March/029109.html
2012-03-23ditch archaic ifdefs for gcc 2.8.1, 2.9.0 and 2.9.1Caolán McNamara
2012-03-06valgrind: fix minor leakCaolán McNamara
2012-03-05callcatcher: update listCaolán McNamara
2012-03-05unused inlineCaolán McNamara
2012-03-05Remove unused codeElton Chung
2012-03-01Remove unused codeElton Chung
2012-03-01callcatcher: update listCaolán McNamara
2012-02-29refactor upper chain test a tiny bitCaolán McNamara
2012-02-29fix storage chain loopWei Ming Khoo
2012-02-24unusedcode.easy: OwnerLock includes this featureThomas Arnhold
2012-02-24unusedcode.easy: Remove SotFactory::TestInvariant()Thomas Arnhold
Also CALL_TEST_INVARIANT is never used again.
2012-02-20gb_JunitTest_JunitTest takes only one argumentStephan Bergmann
2012-02-15Various string function clean upStephan Bergmann
Added: * rtl::OString::matchL * rtl::OString::endsWith * rtl::OString::endsWithL * rtl::OString::indexOfL * rtl::OString::replaceFirst * rtl::OString::replaceAll * rtl::OString::getToken * rtl::OUString::endsWith * rtl::OUString::replaceFirst * rtl::OUString::replaceFirstAsciiL * rtl::OUString::replaceFirstAsciiLAsciiL * rtl::OUString::replaceAll * rtl::OUString::replaceAllAsciiL * rtl::OUString::replaceAllAsciiLAsciiL * rtl::OUString::getToken plus underlying C functions where necessary Deprecated: * comphelper::string::remove * comphelper::string::getToken Removed: * comphelper::string::searchAndReplaceAsciiL * comphelper::string::searchAndReplaceAllAsciiWithAscii * comphelper::string::searchAndReplaceAsciiI * comphelper::string::replace * comphelper::string::matchL * comphelper::string::matchIgnoreAsciiCaseL * comphelper::string::indexOfL Also fixed some apparent misuses of RTL_CONSTASCII_USTRINGPARAM -> RTL_CONSTASCII_STRINGPARAM.
2012-02-10fdo#39491 -I$(OUTDIR)/inc is set in SOLARINCMatúš Kukan
2012-02-08Added (and improved) READMEs for modules which used to be in libs-guiJosh Heidenreich
2012-02-07sot: Delete FileList::GetFormat as it is no longer usedGreg Kroah-Hartman
2012-02-05switch to include-based build rather than sourced-based buildNorbert Thiebaud