# Programmable bash_completion file for the main office applications # It is based on /etc/profile.d/complete.bash from SUSE Linux 10.1 _def=; _dir=; _file=; _nosp= if complete -o default _nullcommand &> /dev/null ; then _def="-o default" _dir="-o dirnames" _file="-o filenames" fi _minusdd="-d ${_dir}" _minusdf="-d ${_file}" if complete -o nospace _nullcommand &> /dev/null ; then _nosp="-o nospace" _minusdd="${_nosp} ${_dir}" _minusdf="${_nosp} ${_dir}" fi complete -r _nullcommand &> /dev/null # General expanding shell function @OFFICE_SHELL_FUNCTION@ () { # bash `complete' is broken because you can not combine # -d, -f, and -X pattern without missing directories. local c=${COMP_WORDS[COMP_CWORD]} local a="${COMP_LINE}" local e s g=0 cd dc t="" local IFS shopt -q extglob && g=1 test $g -eq 0 && shopt -s extglob # Don't be fooled by the bash parser if extglob is off by default cd='*-?(c)d*' dc='*-d?(c)*' case "${1##*/}" in @BASH_COMPLETION_SUFFIXES_CHECKS@ *) e='!*' esac case "$(complete -p ${1##*/} 2> /dev/null)" in *-d*) ;; *) s="-S/" esac IFS=' ' case "$c" in \$\(*\)) eval COMPREPLY=\(${c}\) ;; \$\(*) COMPREPLY=($(compgen -c -P '$(' -S ')' -- ${c#??})) ;; \`*\`) eval COMPREPLY=\(${c}\) ;; \`*) COMPREPLY=($(compgen -c -P '\`' -S '\`' -- ${c#?})) ;; \$\{*\}) eval COMPREPLY=\(${c}\) ;; \$\{*) COMPREPLY=($(compgen -v -P '${' -S '}' -- ${c#??})) ;; \$*) COMPREPLY=($(compgen -v -P '$' -- ${c#?})) ;; \~*/*) COMPREPLY=($(compgen -f -X "$e" -- ${c})) ;; \~*) COMPREPLY=($(compgen -u ${s} -- ${c})) ;; *@*) COMPREPLY=($(compgen -A hostname -P '@' -S ':' -- ${c#*@})) ;; *[*?[]*) COMPREPLY=($(compgen -G "${c}")) ;; *[?*+\!@]\(*\)*) if test $g -eq 0 ; then COMPREPLY=($(compgen -f -X "$e" -- $c)) test $g -eq 0 && shopt -u extglob return fi COMPREPLY=($(compgen -G "${c}")) ;; *) if test "$c" = ".." ; then COMPREPLY=($(compgen -d -X "$e" -S / ${_nosp} -- $c)) else for s in $(compgen -f -X "$e" -- $c) ; do if test -d $s ; then COMPREPLY=(${COMPREPLY[@]} $(compgen -f -X "$e" -S / -- $s)) elif test -z "$t" ; then COMPREPLY=(${COMPREPLY[@]} $s) else case "$(file -b $s 2> /dev/null)" in $t) COMPREPLY=(${COMPREPLY[@]} $s) ;; esac fi done fi ;; esac test $g -eq 0 && shopt -u extglob } complete -d -X '.[^./]*' -F @OFFICE_SHELL_FUNCTION@ ${_file} \ @BASH_COMPLETION_OOO_APPS@ unset _def _dir _file _nosp _minusdd _minusdf 4.3 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/svl/source/passwordcontainer
AgeCommit message (Expand)Author
2018-08-29Related rhbz#1618703: Properly handle failure decoding master passwordStephan Bergmann
2017-11-01passwordcontainer.hxx is only included from svl/source/passwordcontainerStephan Bergmann
2017-10-23loplugin:includeform: svlStephan Bergmann
2017-10-18Replace lists by vectors in svlJulien Nabet
2017-10-13tdf#100726 improved readability of OUString/Ostring concatenationTjipke van der Heide
2017-09-12clang-tidy modernize-use-emplace in svgio..svtoolsNoel Grandin
2017-07-18loplugin:constparams in i18npool,opencl,svlNoel Grandin
2017-07-14 use more OUString::operator== in sfx2..svtoolsNoel Grandin
2017-06-27loplugin:oncevar in starmath..svlNoel Grandin
2017-05-28remove unnecessary use of OString::getStrNoel Grandin
2017-04-21remove unnecessary explicit linefeeds from end of SAL and OSL log callsNoel Grandin
2017-01-31teach lolugin:stringconstant about calling constructorsNoel Grandin
2017-01-26Remove dynamic exception specificationsStephan Bergmann
2016-11-10make comphelper::sequenceToContainer a little smarterNoel Grandin
2016-11-09make comphelper::containerToSequence a little smarterNoel Grandin
2016-09-01coverity#1372396 Uncaught exceptionCaolán McNamara
2016-09-01coverity#1372381 Uncaught exceptionCaolán McNamara
2016-08-30loplugin:stringconstant: adapt to improved OUStringLiteral1 (svl)Stephan Bergmann
2016-07-27improve passstuffbyref return analysisNoel Grandin
2016-03-30Use const_iterator when possible (svl except svdde)Julien Nabet
2016-03-16loplugin:constantfunction in ucbhelperNoel Grandin
2016-02-09Remove excess newlinesChris Sherlock
2015-11-19use comphelper::containerToSequenceNoel Grandin
2015-11-15use initialiser for Sequence<OUString>Noel Grandin
2015-11-15use initialiser for Sequence<OUString>Noel Grandin
2015-11-15use initialiser syntax for Sequence<OUString>Noel Grandin
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann
2015-11-05use uno::Reference::set method instead of assignmentNoel Grandin
2015-10-29com::sun::star->css in starmath,stoc,svgio,svlNoel Grandin
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann
2015-07-04Fix typosAndrea Gelmini
2015-07-02coverity#1309053 Uncaught exceptionCaolán McNamara
2015-07-02coverity#1309052 Uncaught exceptionCaolán McNamara
2015-07-02coverity#1309051 Uncaught exceptionCaolán McNamara
2015-06-27coverity#1308438 Uncaught exceptionCaolán McNamara
2015-06-27coverity#1308437 Uncaught exceptionCaolán McNamara
2015-06-24Get rid of comphelper::string::is*Ascii functionsStephan Bergmann
2015-06-11convert 'it.begin() == it.end()' to 'it.empty()'Noel Grandin
2015-06-08cppcheck: noExplicitConstructorCaolán McNamara
2015-06-02loplugin:loopvartoosmallNoel Grandin
2015-05-06convert CONFIG_MODE constants to scoped enumNoel Grandin