summaryrefslogtreecommitdiff
path: root/sot
AgeCommit message (Collapse)AuthorFilesLines
2015-11-17Add SvStream::ReadUtf16 (don't assume sal_Unicode is unsigned short)Stephan Bergmann2-2/+2
Change-Id: I74f34e3389582617fa83f8f4a3d6867cf87189e1
2015-11-16use initialiser list for Sequence<OUString>Noel Grandin1-2/+1
Change-Id: Ia5e47261d1fc6fac2d046656c05a1c5eedb07e02 Reviewed-on: https://gerrit.libreoffice.org/19978 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15Fast PCH generator and optimized PCH filesAshod Nakashian1-66/+52
Ported update_pch.sh to Python with improved performance and features. The new script is invoked from the same update_pch.sh which calls it for each library in parallel, although it can be invoked directly. The ported script (update_pch) updates all PCH files in ~15 seconds where the old script took ~4500 seconds. In addition, the new script supports 3-tiered headers (system, module, and local) and is very flexible to support other improvement. It has a per-library optimal configuration settings that can be updated using another new scripts (update_pch_autotune.sh) which finds optimal per-PCH settings. PCH files have been generated using the new scripts which builds significantly faster (2-3x, depending on module and configuration) and the intermediate binaries are noticably smaller (by several GBs). The new script stamps each generated PCH file with the command that generated it to make it trivial for users to update them, and also adds the command to invoke another script (update_pch_bisect) that helps find missing headers or conflicting headers that may break the build after updating the PCH. Finally update_pch has built-in unit-tests for makefile parsing and other core functionality. Change-Id: Ib933b50e50374d7e2e7e3e95ba8799b0cc8a27fa Reviewed-on: https://gerrit.libreoffice.org/19965 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-15use initialiser syntax for Sequence<OUString>Noel Grandin1-2/+1
replaced using the script: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence< OUString > (\w+)\(1\); .*\[0\] = (\S+);/Sequence< OUString > \1 { \2 };/g" Change-Id: I23688a91562051a8eed11fc2a85599545c285c34 Reviewed-on: https://gerrit.libreoffice.org/19967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-115th step to remove tools/rtti.hxxOliver Specht4-9/+0
tools/rtti.hxx removed completed the interface of some Sdr.* Items and removed pseudo items Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a Reviewed-on: https://gerrit.libreoffice.org/19837 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-11-10Missing includesAshod Nakashian4-4/+44
Restored some missing includes and refactored sot/formats.hxx. Change-Id: I11b7102b06889f426f5e0f3efa3a835c6e774d88 Reviewed-on: https://gerrit.libreoffice.org/19891 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann14-136/+136
Change-Id: I147f1ca886d5194d0e7180c427923225ef4ef927
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann2-8/+8
Change-Id: I7b5b2a21182d0b841a6104f2dddb16c13abb32f4
2015-11-05use uno::Reference::set method instead of assignmentNoel Grandin1-2/+2
Change-Id: Ib93d762cf523e0029bbed16e08beebd9f418ae24
2015-11-04yyyyyNoel Grandin1-3/+2
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
2015-10-30UNO: no need to use OUString constructor when calling createInstanceNoel Grandin1-1/+1
Change-Id: I37da28539b94706574116d0fff5f008aabfb5526 Reviewed-on: https://gerrit.libreoffice.org/19682 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-29com::sun::star->css in smoketest,sotNoel Grandin6-96/+96
Change-Id: I59a083cd53baa76ea271cfc0470487899b92dca4 Reviewed-on: https://gerrit.libreoffice.org/19666 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-27sal_uLong to sal_uInt64/sal_SizeMatteo Casalin2-13/+11
Change-Id: I4032b08225f1b530a43f1a8c09c5fc3515f45ced
2015-10-27Fix StgTmpStrm::GetSizeStephan Bergmann1-3/+3
Change-Id: I49891d6c2149154c4fd524f79f3cbda17568fa7e
2015-10-27Typo, I pressume?Stephan Bergmann1-1/+1
Change-Id: I5ee823c58061e31913c37291d5a854837fb48240
2015-10-27sal_uIntPtr to sal_uInt64, sal_uLong to sal_Size for streamsMatteo Casalin1-3/+3
Change-Id: I062f1f6c5b20ca47734a9a3cd1a229d51763a206
2015-10-27sal_uLong/long to ErrCodeMatteo Casalin6-21/+21
Change-Id: I2ba2d867785765e4850c60070e86419f66e25f57
2015-10-27Use mutable instead of const_cast'ing thisMatteo Casalin1-3/+3
Change-Id: I790cd140166bf0041abebbe0c4d9c15e931628f1
2015-10-20loplugin:defaultparamsStephan Bergmann1-1/+1
Change-Id: Iab3346afa24004c49be1f1c40588707507b20d60
2015-10-19loplugin:defaultparamsStephan Bergmann1-1/+1
Change-Id: I84dd06c86c811914acc8688877dfaf3b6c0ba60b
2015-10-13sot: prefix remaining StgStrm membersMiklos Vajna3-173/+173
Change-Id: I2a70543bf3137f8d5a76e610a2aff6a3a3fcab4e
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann6-54/+54
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-10tdf#94879 add 'm' suffixes to member variablesmelikeyurtoglu3-77/+77
Reviewed on: https://gerrit.libreoffice.org/19290 Change-Id: I48b0488edc9462ec1c15188d0b5c893db529c0e7
2015-10-09sot: prefix members of StgOleStreamMiklos Vajna2-3/+3
Change-Id: I8a1fb10696a73134bf15fb7721cc5f78cc91eb98
2015-10-09sot: prefix members of StgInternalStreamMiklos Vajna2-14/+14
Change-Id: Ie4fe557fc006414d119b64bb8d591f312a1f1f3d
2015-10-09sot: prefix members of StgDataStrmMiklos Vajna2-4/+4
Change-Id: I643f0b9c6a0d2e5688f9b644666b405df2832d07
2015-10-09sot: prefix members of StgSmallStrmMiklos Vajna2-10/+10
Change-Id: I809350c076f871398024a0d1c6de098b09782f9b
2015-10-09sot: prefix members of StgDirStrmMiklos Vajna2-23/+23
Change-Id: I2ae1ed9906c93f48813ccadcaa6f4b8e42bedbc9
2015-10-09sot: prefix members of StgTmpStrmMiklos Vajna2-30/+30
Change-Id: I08698db954f33d934f601bf25e510e6f4bea8d78
2015-10-09sot: prefix members of StgCompObjStreamMiklos Vajna2-17/+17
Change-Id: I24b7b8fba581fbc5fbe7a63a6f43ff7033e149e7
2015-10-09sot: prefix members of StgIoMiklos Vajna5-91/+91
Change-Id: Ibbe274514a145ab0b271100514bc3fea9f7076d5
2015-10-09sot: prefix members of StgAvlNodeMiklos Vajna3-115/+115
Change-Id: Ie6de63b524b99246be3d6d5d6e997c7abda675ad
2015-10-09sot: prefix members of StgAvlIteratorMiklos Vajna2-10/+10
Change-Id: I39254b14b5f167cfb180f989c56d7db88b73b8f0
2015-10-09sot: prefix members of StgCacheMiklos Vajna3-91/+91
Change-Id: If406303ec1685c9d7eebefaf172db0bbf0cd723b
2015-10-09sot: prefix members of StgFATMiklos Vajna2-44/+44
Change-Id: I0a22ca51d5fd8fb8dedd418932fd84fa3039c258
2015-10-09sot: prefix members of StgDirEntryMiklos Vajna5-296/+296
Change-Id: Ic861d57e62cdeec7b2864eb4d1d19a1780382313
2015-10-09sot: prefix members of StgEntryMiklos Vajna2-97/+97
Change-Id: I02896b167f000972f36c81847f39fc8b1e5396d3
2015-10-09sot: prefix members of StgHeaderMiklos Vajna2-112/+112
Change-Id: I4885ae825484afd53d7026a8d55a0ec8eddf4d86
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-3/+4
...introduced with dc5383e2fa487a7599f2e317bba409dc3cde8339 "fdo#84229 - don't set error when seeking beyond end of valid data." Change-Id: Ic26872ce47ff27a0e1170ebc66cdf10587334192
2015-10-06 tdf#94559: 4th step to remove rtti.hxxOliver Specht3-9/+9
replaced use of PTR_CAST, IS_TYPE, ISA in idl, editeng, sc, sd, sw, sfx2, sot, starmath Change-Id: I4a5bba4fdc4829099618c09b690c83f876a3d653 Reviewed-on: https://gerrit.libreoffice.org/19132 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-09-30Fix typosAndrea Gelmini2-2/+2
Change-Id: I89ff6d31662824d83961d6457b82db8d8031168c Reviewed-on: https://gerrit.libreoffice.org/18977 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-09-29loplugin:removeunusedmethods, remove unused stuffNoel Grandin1-11/+0
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
2015-09-17boost->stdCaolán McNamara3-11/+8
Change-Id: Ifde84627578283bd057d7393eb7e5578ef5c029a
2015-09-15Resolves: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe2-4/+4
with the variadic variants. Change-Id: I7154f9472f02fdf47d27ba715db55bb1ec669a8a Reviewed-on: https://gerrit.libreoffice.org/18580 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-15remove old unused sot workben codeMarkus Mohrhard2-90/+0
Change-Id: I1c8ea4c7940ae0740109cc558083d93638913fbd
2015-09-13cppcheck: noExplicitConstructorCaolán McNamara3-13/+13
Change-Id: I39194062ba68c4cb1ccc9b93c629f005ccd02497
2015-09-11convert Link<> to typedNoel Grandin3-7/+7
Change-Id: Ia8dd531759ab4d609d1c3eeb31283612c0d70219
2015-08-31sot: don't leak uninitialized memory into temp fileMichael Stahl1-3/+12
Both valgrind and drmemory complain about this in SdExportTest::testSwappedOutImageExport() via SfxOleThumbnailProperty::ImplSave(). Syscall param pwrite64(buf) points to uninitialised byte(s) UNINITIALIZED READ: reading 0x0455b1b4-0x0455b1c8 20 byte(s) within... It appears that the stream writes out everything up to the seek position anyway (otherwise the size check wouldn't work, with sparse files) so make sure it's all zeroed. Also fix SvMemoryStream::ReAllocateMemory() to zero it. Change-Id: Id86dfa65ef6f7d1bba4810f121e01473c5fcf4c7
2015-08-29Formatting and bail-out early (to not re-format too much)Matteo Casalin1-20/+22
Change-Id: If4c55fe669f7bb861baca0ae224675ca74004de5
2015-08-19Clean up remaining utl::LocalFileHelper::Convert...Stephan Bergmann1-3/+2
together with 58d68a1bc9146334376206ae7ba8b1a6594a1040 "ConvertURLToSystemPath->getSystemPathFromFileURL" and 28f3464a571a23a2c16bd0980e9021b95d011511 "ConvertSystemPathToURL->getFileURLFromSystemPath," this replaces all those Convert... functionality with direct calls to the corresponding osl::FileBase functions. Change-Id: I2876171cd337a5eb939d25d8cf1e0c1253ff73a7