summaryrefslogtreecommitdiff
path: root/.git-hooks
AgeCommit message (Expand)Author
2018-10-03Add Python files to pre-commit hook checksThorsten Behrens
2018-05-22Restore .git-hooks/commit-msg accidentally removed earlierTor Lillqvist
2018-05-22tdf#117342 - Add Karasa Jaga to LibreOffice coreRizal Muttaqin
2018-02-09clang-format: improve error message when CI failsMiklos Vajna
2018-01-15git pre-commit hook: catch copy&pasted author identityMiklos Vajna
2017-12-15clang-format: restore lost warning on touching formatted file without checkMiklos Vajna
2017-12-13clang-format: ignore not staged hunksMiklos Vajna
2017-11-21git-hooks: fix pre-commit in submodulesMiklos Vajna
2017-11-20clang-format: enforce coding style via JenkinsMiklos Vajna
2017-11-16git-hooks: mention download link for clang-format when warning about itMiklos Vajna
2017-11-16Warn when commit touches new files, but no suitable clang-format is foundStephan Bergmann
2017-11-13First look for clang-format in CLANG_FORMT env varStephan Bergmann
2017-11-13clang-format: standardize on 5.0.0Miklos Vajna
2017-11-03Enforce coding style with clang-format for new codeMiklos Vajna
2017-10-30git-hooks: don't complain about large .ui filesMichael Stahl
2017-09-20pre-commit-hook: Also check xsl files for whitespace and tabsSamuel Mehrbrodt
2017-09-11insist in a domain in .ui filesCaolán McNamara
2017-09-11disallow .ui translatable entries without context at checkinCaolán McNamara
2017-03-24git pre-commit hook: Also check swift filesSamuel Mehrbrodt
2016-12-08tdf#102784 - Enhance git pre-commit hookMarina Latini
2015-09-08git-hooks: Info how to install them manually.Jan Holesovsky
2015-06-13Catch funny line-ends in pre-commit hook.Thorsten Behrens
2015-02-13git-hooks: post-merge script does not need /bin/bashThomas Klausner
2015-02-13git-hooks: recognize multiple bug idsMiklos Vajna
2015-02-12git hooks: reject suspicious fdo referencesMiklos Vajna
2014-05-16git pre-commit hook: block large filesMiklos Vajna
2013-03-01grep actually doesn't normally know \t, but [:blank:] is [ \t]Luboš Luňák
2013-03-01warn about commit messages with accidental commentsLuboš Luňák
2012-10-26add hook to block use of markup in .ui filesCaolán McNamara
2012-10-25if git hooks are moved, move the README as wellMiklos Vajna
2012-10-16submodules migrationNorbert Thiebaud
64-bit type on 64-bit windowsNoel (*) create a rewriting plugin to do most of the work, heavily based on the fakebool plugin (*) but there are still a number of "long"s in the codebase that will need to be done by hand (*) the plugin needs lots of handholding, due to needing to add #include and update macros Change-Id: I8184d7000ca482c0469514bb73178c3a1123b1e9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104203 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2020-08-14loplugin:simplifybool moreNoel Grandin look for expressions like !(a && !b) which can be expanded out Change-Id: I72515a9638762b050f9a258c08da39ebfa2ef8e7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100579 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2020-08-06loplugin:flatten in svxNoel Grandin Change-Id: If6154c1d464558c616a3593ed74fa6606458c9ba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100230 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2020-05-26Fix loplugin:simplifypointertobool for libstdc++ std::shared_ptrStephan Bergmann ...where the get member function is defined on a std::__shared_ptr base class, so loplugin:simplifypointertobool used to miss those until now. (While e.g. using libc++ on macOS found those cases.) 366d08f2f6d4de922f6099c62bb81b49d89e0a68 "new loplugin:simplifypointertobool" was mistaken in breaking isSmartPointerType(const clang::Type* t) out of isSmartPointerType(const Expr* e); c874294ad9fb178df47c66875bfbdec466e39763 "Fix detection of std::unique_ptr/shared_ptr in loplugin:redundantpointerops" had introduced that indivisible two-step algorithm on purpose. The amount of additional hits (on Linux) apparently asked for turning loplugin:simplifypointertobool into a rewriting plugin. Which in turn showed that the naive adivce to just "drop the get()" is not sufficient in places that are not contextually converted to bool, as those places need to be wrapped in a bool(...) functional cast now. If the expression was already wrapped in parentheses, those could be reused as part of the functional cast, but implementing that showed that such cases are not yet found at all by the existing loplugin:simplifypointertobool. Lets leave that TODO for another commit. Besides the changes to compilerplugins/ itself, this change has been generated fully automatically with the rewriting plugin on Linux. Change-Id: I83107d6f634fc9ac232986f49044d7017df83e2a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94888 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins 2020-01-17tdf#42949 Fix IWYU warnings in svx/source/[a-e]*/*cxx and svx/qa/Gabor Kelemen Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I68110cdc5cff99a3bc15184c04ae309412511f9c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86633 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com> 2019-10-17Rename OUStringLiteral1 to OUStringCharStephan Bergmann It started out as a wrapper around character literals, but has by now become a wrapper around arbitrary single characters. Besides updating the documentation, this change is a mechanical for i in $(git grep -Fl OUStringLiteral1); do sed -i -e s/OUStringLiteral1/OUStringChar/g "$i"; done Change-Id: I1b9eaa4b3fbc9025ce4a4bffea3db1c16188b76f Reviewed-on: https://gerrit.libreoffice.org/80892 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> 2019-07-04remove some unneede vcl/bitmap.hxx includesNoel Grandin Change-Id: Ibdc79538276992193e61f6dc16ddd3fd1ab80b82 Reviewed-on: https://gerrit.libreoffice.org/75069 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2019-05-22tdf#42949 Fix IWYU warnings in include/svx/[h-r]*Gabor Kelemen Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: Ib7e1d0f7483aa8b5cab320278714f2d5f36fdbd9 Reviewed-on: https://gerrit.libreoffice.org/72534 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com> 2019-05-08improve tools::Rectangle->basegfx::B2?Rectangle conversionNoel Grandin Improve the conversion method to do something reasonable with empty Rectangle. Use the conversion method in more places. Change-Id: I48c13f3d6dae71f39f03f7939101e545c8125503 Reviewed-on: https://gerrit.libreoffice.org/71853 Tested-by: Jenkins Reviewed-by: Regina Henschel <rb.henschel@t-online.de> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> 2019-04-19drop some unneeded includesCaolán McNamara Change-Id: Idde1f747f500d94b3191a97e7d502794cc2b8450 Reviewed-on: https://gerrit.libreoffice.org/70972 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2019-03-20tdf#42949 Fix IWYU warnings in include/drawinglayer/Gabor Kelemen Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I8daf57df5b8f9c609d4f3ca44bae7366addceb6c Reviewed-on: https://gerrit.libreoffice.org/69151 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com> 2019-03-06loplugin:unnecessaryparen improve member expressionNoel Grandin Change-Id: I304621018cb1e2a47e478e86df4229bcf2176741 Reviewed-on: https://gerrit.libreoffice.org/68757 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2018-09-07weld writer page style dialog and SvxBorderBackgroundDlgCaolán McNamara writer, format page is complete Change-Id: I09f6e4354461c4374cdb0d0e0754dfee35415b45 Reviewed-on: https://gerrit.libreoffice.org/60058 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2018-09-06rename back now originals are fully replacedCaolán McNamara Change-Id: I1911055f9bf6bd636561209cadfb1dbf5650affa Reviewed-on: https://gerrit.libreoffice.org/60057 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2018-09-06weld SwColumnPage and SwColumnDialogCaolán McNamara Change-Id: Ia649785047db2551044b4d765881309f83b5c838 Reviewed-on: https://gerrit.libreoffice.org/60044 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>