#!/usr/bin/env 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() { echo "Helper script to unpack the LO source tarbals" echo echo "Usage: ${0##*/} [--help] start-dir tarball..." echo echo "Options:" echo echo " --help this help" echo " start-dir path where the sources are unpacked (bootstrap directory)" echo " tarball list of LO source tarball that need to be unpacked" } start_dir= tarballs= while test -n "$1" ; do case "$1" in --help) usage exit 0; ;; --download) download="yes" ;; -*) echo "Error: unknown option: $1" exit 1; ;; *) if test -z "$start_dir" ; then start_dir="$1" else tarballs="$tarballs $1" fi ;; esac shift done if test -z "$start_dir" ; then echo "Error: Please, define where to unpack sources, try --help" fi if ! test -f $start_dir/Repository.mk ; then echo "Error: $start_dir is not a valid LibreOffice core source directory" exit 1; fi if test ! -f $start_dir/sources.ver -o -d $start_dir/.git ; then echo "Warning: sources are from git and not from tarball" echo " Do nothing." exit 0; fi lo_src_dir="$start_dir/src" mkdir -p "$lo_src_dir" for tarball in $tarballs ; do tarname=`basename $tarball | sed -e "s/\.tar\..*//"` if test -d $lo_src_dir/$tarname ; then echo "Warning: $lo_src_dir/$tarname already exists => skipping" continue; fi echo "Unpacking $tarname..." echo mkdir -p "$lo_src_dir/$tarname" if ! mkdir -p "$lo_src_dir/$tarname" ; then echo "Error: could not create directory $lo_src_dir/$tarname" fi echo tar -xf "$tarball" -C "$lo_src_dir/$tarname" --strip-components=1 if ! tar -xf "$tarball" -C "$lo_src_dir/$tarname" --strip-components=1; then echo "Error: could not unpack $tarname" exit 1 fi # create symlinks for module directories; ignore git-hooks directory for dir in `find "$lo_src_dir/$tarname" -mindepth 1 -maxdepth 1 -type d -path $lo_src_dir/$tarname/git-hooks -o -printf "$tarname/%f\n"` ; do ln -sf "src/$dir" "$start_dir" done done istro/collabora/co-2021 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/include/basic
AgeCommit message (Expand)Author
2023-04-14loplugin:stringviewparam improvementsNoel Grandin
2023-03-28tdf#142391 - Store method using 0x13 format only when actually neededAndreas Heinisch
2023-02-21Related: tdf#153752 Use virtual method to avoid dynamic castsMike Kaganski
2023-02-21tdf#153752: SbxObject::Execute: extra characters in Option Compatible modeMike Kaganski
2023-02-19Fix error compiler error with VS2019 C2487Andras Timar
2023-02-16set visibility of classes in mergelib+asan caseAndras Timar
2023-02-13tdf#143148 Use pragma once instead of include guardbuldi
2022-11-25Fold OldBasicPassword into basic::SfxScriptLibraryContainerStephan Bergmann
2022-09-14move ErrCode to comphelper and improve debug output stringNoel Grandin
2022-08-22tdf#150139 - Add a concrete name to the error messageAndreas Heinisch
2022-08-22cid#1500544 Uninitialized scalar variableCaolán McNamara
2022-06-20tdf#149622: also clear return value before calling method from SbxObject::CallMike Kaganski
2022-05-31clang-tidy modernize-pass-by-value in basicNoel Grandin
2022-05-11in SetGlobalUNOConstant, only retrieve old value if we need itNoel Grandin
2022-04-29use more string_view in INetURLObjectNoel Grandin
2022-04-05Fix typosAndrea Gelmini
2022-04-05Move creation of case-insensitive variable name to a central placeMike Kaganski
2022-04-04Related: tdf#144245 Optimize case-insensitive handlingMike Kaganski
2022-03-18Improve a mis-translated commentStephan Bergmann
2022-02-03Use default argumentMike Kaganski
2021-12-01improve the script for reducing symbol exportsNoel Grandin
2021-11-30fix clang-cl build with -Zc:dllexportInlines-Luboš Luňák
2021-10-11In O[U]StringBuffer, make string_view params replacements for OUString onesStephan Bergmann
2021-10-11fix MSVC mergelibs buildLuboš Luňák
2021-08-29basic : remove BasicManagerImplArnaud Versini
2021-08-05Pass context and resource string down to boost::locale separatelyNoel Grandin
2021-06-19loplugin:finalclassesNoel Grandin
2021-06-17use string_view in the Translate APINoel Grandin
2021-05-10fix some leaks in basicNoel Grandin
2021-05-05loplugin:constmethodNoel Grandin
2021-04-09Recheck include/ with IWYUGabor Kelemen
2021-03-09Drop "32" from names of SbxArray methods taking 32-bit indicesMike Kaganski
2021-01-29loplugin:stringviewparam extend to new..Noel