summaryrefslogtreecommitdiff
path: root/sot
AgeCommit message (Collapse)AuthorFilesLines
2012-11-23Resolves: fdo#53909 STG_FREE sector locations rejectedCaolán McNamara1-3/+11
(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 Meeks2-120/+30
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 Yoshida1-1/+1
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 Voytenko13-168/+396
Signed-off-by: Petr Mladek <pmladek@suse.cz>
2012-06-05This SyncSvStream/SyncSysStream stuff isn't usedCaolán McNamara2-21/+0
and doesn't seem to make a lot of sense Change-Id: Ie59e39c88070b6620cb7683e69052314d732c54a
2012-05-31targeted string re-workNorbert Thiebaud4-42/+42
Change-Id: Ifd6b90778725d94a9338a53a4cdc514cdb595052
2012-05-25Revert "Make SotStorage and SotStorageStream dtors public"Fridrich Štrba1-2/+2
This reverts commit 90f3840e4c767154266c6be1c532f5e748e8c3f7.
2012-05-25Make SotStorage and SotStorageStream dtors publicFridrich Štrba1-2/+2
Change-Id: I3ca0d308199bc4acf66a4c473d8b48561560d631
2012-05-14sot: minor unit test logic cleanupMichael Meeks1-1/+1
2012-05-14sot: add OLE2 unit test reading streams forward and backwardsMichael Meeks1-1/+72
2012-05-14sot: re-work OLE2 offset-to-page computationMichael Meeks2-70/+59
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 Meeks2-72/+38
Change-Id: Icb6fe9341244dfd53300f58ac85560604f53558a
2012-05-10Related: fdo#47644 get out of bounds conditions rightCaolán McNamara1-9/+6
Change-Id: Icac9a8337296f92af5007a051f00388a64955178
2012-05-03should have been SAL_WARNCaolán McNamara1-1/+1
Change-Id: I3f5fd059ecd5b6c4278ffe0f3a2d69b6526d2d01
2012-05-03std::is_sorted is C++11 or C++0X sgi extensionCaolán McNamara1-1/+22
Change-Id: I3039bb172beb21ebafc60a431692b58793cb1538
2012-05-03Related: fdo#47644 for huge files build a page chain cache for seeksCaolán McNamara2-16/+100
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 McNamara2-10/+10
Change-Id: I844cefad718e5b37dac5657674294a0873b8a8e5
2012-05-03Fix sot stream bustageCaolán McNamara4-13/+13
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 McNamara5-0/+23
Change-Id: Ie4aa6939f9f37e04fda5425a6e28c5d846a9cb62
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen1-1/+0
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. Linde2-7/+0
2012-04-08rename gb_CppunitTest_uses_ureDavid Tardon1-1/+1
2012-04-08compile- and run-time use of UNO must be splitDavid Tardon1-0/+2
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 Tardon1-4/+0
2012-04-08always use --protector for UNO testsDavid Tardon1-4/+0
2012-04-08drop uses_ureDavid Tardon1-2/+0
2012-04-08let use_api handle the use of type rdbs at runtimeDavid Tardon1-4/+0
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 Stahl1-1/+1
2012-04-08gbuild: "use" vs. "add":Michael Stahl3-6/+6
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 Dezsi1-1/+1
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi1-3/+3
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ňák1-1/+0
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 McNamara1-4/+0
2012-03-06valgrind: fix minor leakCaolán McNamara1-1/+9
2012-03-05callcatcher: update listCaolán McNamara3-7/+0
2012-03-05unused inlineCaolán McNamara1-1/+0
2012-03-05Remove unused codeElton Chung4-16/+0
2012-03-01Remove unused codeElton Chung2-74/+0
2012-03-01callcatcher: update listCaolán McNamara2-18/+0
2012-02-29refactor upper chain test a tiny bitCaolán McNamara1-8/+8
2012-02-29fix storage chain loopWei Ming Khoo2-0/+11
2012-02-24unusedcode.easy: OwnerLock includes this featureThomas Arnhold2-13/+0
2012-02-24unusedcode.easy: Remove SotFactory::TestInvariant()Thomas Arnhold6-160/+0
Also CALL_TEST_INVARIANT is never used again.
2012-02-20gb_JunitTest_JunitTest takes only one argumentStephan Bergmann1-1/+1
2012-02-15Various string function clean upStephan Bergmann1-3/+1
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úš Kukan1-1/+0
2012-02-08Added (and improved) READMEs for modules which used to be in libs-guiJosh Heidenreich1-0/+1
2012-02-07sot: Delete FileList::GetFormat as it is no longer usedGreg Kroah-Hartman2-15/+0
2012-02-05switch to include-based build rather than sourced-based buildNorbert Thiebaud1-35/+2
2012-01-31SWAPLONG -> OSL_SWAPDWORDStephan Bergmann1-1/+1