#! /bin/bash # # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # Usage: update_pch.sh [/inc/pch/precompiled_xxx.hxx] # Usage: update_pch.sh [] # Invoke: make cmd cmd="./bin/update_pch.sh [..]" root=`dirname $0` root=`cd $root/.. && pwd` cd $root if test -z "$1"; then headers=`ls ./*/inc/pch/precompiled_*.hxx` else headers="$@" fi # Split the headers into an array. IFS=' ' read -a aheaders <<< $headers hlen=${#aheaders[@]}; if [ $hlen -gt 1 ]; then if [ -z "$PARALLELISM" ]; then PARALLELISM=0 # Let xargs decide fi echo $headers | xargs -n 1 -P $PARALLELISM $0 exit $? fi for x in $headers; do if [ -d "$x" ]; then # We got a directory, find pch files to update. headers=`find $root/$x/ -type f -iname "precompiled_*.hxx"` $0 "$headers" else header=$x echo updating `echo $header | sed -e s%$root/%%` module=`readlink -f $header | sed -e s%$root/%% -e s%/.*%%` libname=`echo $header | sed -e s/.*precompiled_// -e s/\.hxx//` ./bin/update_pch "$module" "$libname" fi done #echo Done. exit 0 value='distro/cib/libreoffice-5-2'>distro/cib/libreoffice-5-2 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2021-10-15Remove non-const Sequence::begin()/end() in internal codeMike Kaganski
2021-10-14Avoid COW overhead using css::uno::SequenceMike Kaganski
2021-10-12loplugin:moveparam check for collection paramsNoel Grandin
2021-10-04[tdf#42982]Improve runtimeException's MessageVerne-Lai
2021-09-28gives names to all the Idles and TasksNoel Grandin
2021-09-28vcl: rename OutDevState to StackChris Sherlock
2021-09-15Use <comphelper/servicehelper.hxx> implementing XUnoTunnel part 5Mike Kaganski
2021-08-23update some pchesCaolán McNamara
2021-08-20tdf#141097 Revert "Veto process exit while an OLE client is connected"Michael Warner
2021-08-02convert #defines to OUStringLiteralNoel Grandin
2021-06-28loplugin:indentation improve checks for brace alignmentNoel Grandin
2021-06-15vcl: outdevmap.hxx -> rendercontext/ImplMapRes.hxxChris Sherlock
2021-06-11Simplify Sequences initializations (vbahelper)Julien Nabet
2021-05-21fix shutdown leak VbaGlobalsBaseNoel Grandin
2021-05-11change usage of boost::hash_combine to o3tl::hash_combineTomaž Vajngerl
2021-04-21loplugin:stringadd replace OUStringLiteral temporaries with OUString::ConcatNoel Grandin
2021-04-15loplugin:stringliteralvar look for assignmentsNoel Grandin
2021-04-12update PCHsCaolán McNamara
2021-04-08update PCHsLuboš Luňák
2021-04-08move set/get Pointer to VCLUnoHelperCaolán McNamara
2021-04-07Updated README.md files to represent current code / use Markdown formatHossein
2021-03-24Using .md extension/Markdown syntax for modules READMEHossein
2021-03-21update pchesCaolán McNamara
2021-03-14check for quit when calling Yield in loopNoel Grandin
2021-03-09Make sal/config.h the first in pchMike Kaganski
2021-02-23update pchesCaolán McNamara
2021-02-19loplugin:refcounting in vbahelperNoel
2021-02-08update pchesCaolán McNamara
2021-02-06Use more conversion functions from <tools/UnitConversion.hxx>Mike Kaganski
2021-02-02loplugin:redundantcast catch more dynamic_castNoel
2021-01-28simplify code, use more subView()Noel
2021-01-16make the Color constructors explicitly specify transparencyNoel
2021-01-09fix coverity parse errorsCaolán McNamara
2020-12-29loplugin:stringviewparam: operator +Stephan Bergmann
2020-12-26New loplugin:stringliteralvarStephan Bergmann
2020-12-04update pchesCaolán McNamara
2020-11-30loplugin:stringviewparam include comparisons with string literalsNoel