summaryrefslogtreecommitdiff
path: root/registry/source/registry.cxx
AgeCommit message (Collapse)Author
2021-01-29loplugin:stringviewparam extend to new..Noel
O[U]StringBuffer methods Change-Id: I0ffbc33d54ae7c98b5652434f3370ee4f819f6f4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110090 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-11-05loplugin:reducevarscope in registryNoel
Change-Id: I86a93530ea8d39157eb898715f6597d3f472785b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105334 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-02-15tdf#42949 Fix IWYU warnings in registry/Gabor Kelemen
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I819bb44e36bdb6ec671cf11bd779085767d82fd0 Reviewed-on: https://gerrit.libreoffice.org/67697 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2018-11-07loplugin:collapseif in framework..salNoel Grandin
Change-Id: I3068b18f5cff024a48a8f8c68d69cadad30fe4d5 Reviewed-on: https://gerrit.libreoffice.org/62953 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-31loplugin:constantparam in oox,registry,reportdesignNoel Grandin
Change-Id: I914fa6c6ef2f660eb6b8570c9c5f86cef477be80 Reviewed-on: https://gerrit.libreoffice.org/44093 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-07-10teach unnecessaryparen loplugin about identifiersNoel Grandin
Change-Id: I5710b51e53779c222cec0bf08cd34bda330fec4b Reviewed-on: https://gerrit.libreoffice.org/39737 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-04-20loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann
Change-Id: I015b172ea88eef9af37303fafa4bdf9749f114b0
2016-02-16use consistent #define checks for the Windows platformNoel Grandin
stage 1 of replacing usage of various checks for the windows platform with the compiler-defined '_WIN32' macro Change-Id: Iece73abdee530937e0737190b1aa97a46cd3075f Reviewed-on: https://gerrit.libreoffice.org/22390 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-02-09Remove excess newlinesChris Sherlock
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2015-11-25loplugin:unusedfields in include/package,include/registryNoel Grandin
Change-Id: Iadba30885ba3bab7aaee58e298a9dc6b22c8b977
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: Ie5a37a49f1b1c08a20f89e167ca415fc645ed40d
2015-10-01loplugin:unusedmethodsNoel Grandin
- improvements to the plugin to find more method calls - improvements to python script to remove more false+ - fix the FORCE_COMPILE_ALL build flag to include code in the $WORKDIR Change-Id: I4d6015dcb9b9d60c26f0bcee8abad807177a7836 Reviewed-on: https://gerrit.libreoffice.org/19064 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-29loplugin:removeunusedmethods, remove unused stuffNoel Grandin
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
2015-07-03No need for a C API hereStephan Bergmann
Change-Id: Ie453a7c97a762932884c5c41b13607a170368107
2015-07-03Move module-private includes from include/registry/ to registry/Stephan Bergmann
Change-Id: I72bdd6627a191a65d5c3b479c100e30442a8bb9e
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-09convert RegError to scoped enumNoel Grandin
Change-Id: I55977c38578cb59deb195d91f8948da2e0905b6a
2015-04-09remove reg keytype constants and related codeNoel Grandin
since we no longer support the RG_LINKTYPE stuff Change-Id: If388ecfa0c475471b99b26155ad554ec702ca734
2015-04-09convert REG_ constants to scoped enumNoel Grandin
Change-Id: I11d92218c5e0678d497f8964723033e2bd8b3300
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I192bc9653d8492a850a5e259e15782bd3bb24922
2015-03-19loplugin:constantfunction: registryNoel Grandin
Change-Id: I0556481aee672451221aa72a8a90d465f3670313
2015-01-28Some more loplugin:cstylecast clean-upStephan Bergmann
Change-Id: I132d22e2af3cf673c17d8964f690d48990834884
2015-01-05Some loplugin:revisibility clean-upStephan Bergmann
Stumbled across such redundant visibility re-specifications when looking at the odd case of cppu_unsatisfied_iquery_msg declared CPPU_DLLPUBLIC in cppu/source/cppu/cppu_opt.cxx and used in inline code in include/com/sun/star/uno/Reference.hxx with only a declaration lacking CPPU_DLLPUBLIC visible, and wondering how that actually works on Windows. However, this plugin is probably not worth it being run all the time, so committing it to compilerplugins/clang/store/. Change-Id: Ibc3c4e7499213de1b419ce7eb85455cb832e1510
2014-12-19fdo#39440 reduce scope of local variablesMichael Weghorn
This addresses some cppcheck warnings. Change-Id: Idcedd908c653d5a5700884f233ad134dde8be018 Reviewed-on: https://gerrit.libreoffice.org/13540 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-07-18cid#705673 Resource leakNoel Grandin
Change-Id: Ib4cf76e941541b7f09b6a0dfbdab2a2604a0311d
2014-07-18cid#705674 and cid#705675 Resource leakNoel Grandin
Change-Id: Id97e5de8433cc5dc9cb72c0d447ce6af50eb4918
2014-02-26Remove visual noise from registryAlexander Wilms
Change-Id: Ica0c7fe04dae3c52583cc2324bae1cfa5af1e197 Reviewed-on: https://gerrit.libreoffice.org/8292 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-12-13Make registry's mergeKey fail if it cannot process regFileNameStephan Bergmann
...so that regmerge fails for bad regfile arguments. Add -v to the regmerge calls in update-rdb.sh so that an error message is printed in case of failure. Change-Id: I6613b9756b4e5628772541580938f6c80fd9bc9e
2012-07-03re-base on ALv2 code.Michael Meeks
2012-05-06gbuild conversion: registry moduleDavid Ostrovsky
Change-Id: I I9dbd2a05602e7d415ca76850458129f68583c83f
2011-11-27remove include of pch header from registryNorbert Thiebaud
2011-04-18Remove OS/2 support.Francois Tigeot
2011-02-16Remove SCO supportThomas Arnhold
2010-10-14Add vim/emacs modelines to all source filesSebastian Spaeth
Fixes #fdo30794 Based on bin/add-modelines script (originally posted in mail 1286706307.1871.1399280959@webmail.messagingengine.com) Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-03-04mhu22: resync to master repository (DEV300_m73).Matthias Huetsch [mhu]
2010-03-04mhu22: #i105430# #i108349# Fixed registry:ORegKey reference counting to ↵Matthias Huetsch [mhu]
avoid redundant closeKey()/flush() calls.
2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
2009-11-17performance bug in build system caused by too many flushedMathias Bauer
2008-10-10CWS-TOOLING: integrate CWS cmcfixes49Oliver Bolte
2008-10-01CWS-TOOLING: integrate CWS jsc311Vladimir Glazounov
2008-04-11INTEGRATION: CWS changefileheader (1.19.14); FILE MERGEDRüdiger Timm
2008/04/01 15:23:07 thb 1.19.14.3: #i85898# Stripping all external header guards 2008/04/01 12:32:40 thb 1.19.14.2: #i85898# Stripping all external header guards 2008/03/31 07:25:17 rt 1.19.14.1: #i87441# Change license header to LPGL v3.
2007-10-15INTEGRATION: CWS sb71 (1.17.20); FILE MERGEDVladimir Glazounov
2007/10/02 09:08:37 sb 1.17.20.2: RESYNC: (1.17-1.18); FILE MERGED 2007/06/22 09:34:22 sb 1.17.20.1: #i75466# Support for dynamic loading of the reg shared library has been dropped.
2007-09-20INTEGRATION: CWS os2port01 (1.16.8); FILE MERGEDVladimir Glazounov
2007/07/18 07:17:31 obr 1.16.8.2: RESYNC: (1.16-1.17); FILE MERGED 2006/12/28 15:03:32 ydario 1.16.8.1: OS/2 initial import.
2006-09-17INTEGRATION: CWS pchfix02 (1.16.6); FILE MERGEDOliver Bolte
2006/09/01 17:33:09 kaib 1.16.6.1: #i68856# Added header markers and pch files
2006-07-19INTEGRATION: CWS warningfixes02 (1.15.2); FILE MERGEDKurt Zenker
2006/06/30 12:32:58 sb 1.15.2.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box.
2006-06-19INTEGRATION: CWS warnings01 (1.13.46); FILE MERGEDJens-Heiner Rechtien
2005/11/21 13:37:37 sb 1.13.46.4: #i53898# Made code warning-free. 2005/09/22 22:04:37 sb 1.13.46.3: RESYNC: (1.13-1.14); FILE MERGED 2005/09/05 10:06:51 sb 1.13.46.2: #i53898# Made code warning-free. 2005/08/29 16:37:49 sb 1.13.46.1: #i53898# Made code warning-free.
2005-09-09INTEGRATION: CWS ooo19126 (1.13.48); FILE MERGEDRüdiger Timm
2005/09/05 14:08:32 rt 1.13.48.1: #i54170# Change license header: remove SISSL
2004-02-02INTEGRATION: CWS geordi2q14 (1.12.32); FILE MERGEDJens-Heiner Rechtien
2004/01/29 18:26:45 hr 1.12.32.1: #111934#: merge CWS ooo111fix2
2003-07-16INTEGRATION: CWS ooo11rc2 (1.11.4); FILE MERGEDJens-Heiner Rechtien
2003/07/14 14:26:09 fa 1.11.4.1: Conditionalize OS X + gcc 2.95 hacks for only gcc 2.95. http://www.openoffice.org/project/www/issues/show_bug.cgi?id=16630 Dan fa@ooo
2003-06-12INTEGRATION: CWS mh11rc (1.10.8); FILE MERGEDVladimir Glazounov
2003/06/06 09:20:56 mh 1.10.8.1: join: from beta2