summaryrefslogtreecommitdiff
path: root/sot/source
AgeCommit message (Collapse)Author
2012-10-23fdo#46808, Adapt packages::manifest::ManifestWriter UNO service to new styleNoel Grandin
The service already existed, it just did not have an IDL file Change-Id: I04c617a97262e9cc96af17fcae9cc084245c0149
2012-10-23fdo#46808, Adapt packages::manifest::ManifestReader UNO service to new styleNoel Grandin
The service already existed, it just did not have an IDL file. Change-Id: Idad85ab23f6650c89ba3095d10568a302503613b
2012-10-13Prefer prefix ++/-- operators for non-primitive typesJulien Nabet
+ replace "<" by "!=" for end iterator comparison with current it Change-Id: I6e90caa8752c7057cca8c74fca12c0a050544dbb
2012-10-12mark lcl_ functions static or rename them if they are not local at allLuboš Luňák
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I1a0e436051d48e7f6224d6f0fc602347df2d4df1
2012-09-20sot: memory savings to avoid duplicating the whole stream in RAMMichael Meeks
re-work LRU cache to really be an 8 entry LRU cache. only force dirty pages to stay in memory, hopefully huge reads should now stream through memory. Change-Id: I0bedc762086f5f02202795568743750aefaaa50b
2012-09-19sot: stgcache re-factor to use sane lifecycle semanticsMichael Meeks
Store a dirty page hash to allow us to fix the LRU cache next. Change-Id: I67130af37ac1bc2d0a4abbb11f4d9871bb2bc306
2012-09-19sot: substantially accelerate sorted cache write-outMichael Meeks
Sort only the pages we want to write out, at the end, using a std::sort instead of a hand-crafted linked-list mess maintained during use. Cleanup StgPage as well, de-friend it from StgCache, clean member names. Remove unused pCache member as well. Change-Id: I0f53d1f85be373fce0d504b226d34ccaf575b2b3
2012-09-19sot: remove un-used LRU cacheMichael Meeks
Change-Id: I3d011a1aae47b6961b1cea2bf544af2c88bd611e
2012-09-19sot: remove horrible hiding of LRU cache mapMichael Meeks
Change-Id: Ic8df1012752e78d3326999a07dc15a99e982b896
2012-09-19sot: remove unused Owner construct on StgPageMichael Meeks
Change-Id: Idd6616ac11e16b4c4631c607a3dc92417a796521
2012-09-19ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann
...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann
* As UCB is only ever initialized with "Local"/"Office", remove this configuration vector completely. The "create" ctor creates an instance internally initialized with those "Local"/"Office" keys. Special (test) code can still instantiate an uninitialized one via plain createInstance. And for backwards compatilibity process startup still ensures to create an initialized instance early, in case there is still code out there (in extensions) that later calls plain createInstance and expects to get the already-initialized (single) instance. * XInitialization is an "implementation detail" of the UniversalContentBroker service, do not expose in XUniversalContentBroker. * ucbhelper/configurationkeys.hxx is no longer needed and is removed. * ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that requires ucbhelper::Content constructors to take explicit XComponentContext arguments now. * The only remaining code in ucbhelper/source/client/contentbroker.cxx is Android-only InitUCBHelper. Is that relevant still? Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-08-27fdo#46808, Adapt TempFile UNO service to new styleNoel Grandin
Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
2012-08-20callcatcher: remove some of the slightly trickier unused methodsCaolán McNamara
Change-Id: Ief164c980f3a92316e1f47cb50bdf243155b6dd9
2012-08-15Do 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
2012-08-13unusedcode.easy: remove unused codeThomas Arnhold
Change-Id: I87e7264ffd3086796aaa8e136c2f9b77fde7b74f
2012-07-27tabs to spacesEike Rathke
Change-Id: Iafc55604f49f0db08ad2b6b3940c1ade12835355
2012-07-27sot: prevent some null pointer crashesMikhail Voytenko
2012-07-03ditch String::CreateFromAsciiCaolán McNamara
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-02removed unnecessary forward declarations of classTakeshi Abe
this also moved necessary ones to right headers Change-Id: Idda93aeaa1fdfeda602b14e3b233ffd1cf27c0cf
2012-06-29Remove some unused defines and controlsThomas Arnhold
Change-Id: I96f76ed6b33f5c786d1e3ab3981a535037a9c1b5
2012-06-22re-base on ALv2 code.Michael Meeks
2012-06-22cleanup of duplicated includesPhilipp Riemer
After commit ec5fa0164b9bae5c5bc6654f581e493206584301 "replace all but one .hdl include with equivalent .hpp includes" some of these includes were doubled in the corresponding files. This patch deletes those duplicates.
2012-06-21replace all but one .hdl include with equivalent .hpp includes.Michael Meeks
Change-Id: I15e94f112144549692d0c2babeb48c77adcb93a9
2012-06-21reduce scope and replace some String::CreateFromAsciiCaolán McNamara
Change-Id: I8c375e3bfbcd3d7046a8bdb1968934b7d7ca96f8
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-19death to some UniStringsCaolán McNamara
Change-Id: I0fa0c60e12c418d25f8bd96cc04c6abd74b1a608
2012-06-10nuke dead codeTakeshi Abe
Change-Id: I666791b2a2bb817d59625868d5e2df1a9341b2ff
2012-06-09Remove superfluous empty lines on topThomas Arnhold
More than two lines are removed for readability. Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
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-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-16Removed StgHeader::SetClassId(ClsId const &)Laureano G. Linde
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-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