summaryrefslogtreecommitdiff
path: root/registry/source/reflread.cxx
AgeCommit message (Collapse)Author
2016-03-17loplugin:constantparam in registryNoel Grandin
Change-Id: Ic3c60325a722422912d06fe21d072c5f5c4bccb1 Reviewed-on: https://gerrit.libreoffice.org/23322 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-01-10Fix typosAndrea Gelmini
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: Ie5a37a49f1b1c08a20f89e167ca415fc645ed40d
2015-08-20new loplugin automemNoel Grandin
find places where we should be using std::unique_ptr Change-Id: I5b9defe778fdc4738ecea381215396874db59e66
2015-07-03Make RegistryTypeReader non-copyableStephan Bergmann
(and note the operator == vs. = typo) Change-Id: I4567927f3f702f8e74b168becce4002e84d5c7a0
2015-07-03Remove RegistryTypeReader_Api indirectionStephan Bergmann
Change-Id: I43710d057043a258ec9ab94bca0703434098e6c9
2015-07-03Remove unused functionsStephan Bergmann
Change-Id: Ib615ff7eb12232b0b83664af134744d96754ffd8
2015-07-03Move module-private includes from include/registry/ to registry/Stephan Bergmann
Change-Id: I72bdd6627a191a65d5c3b479c100e30442a8bb9e
2015-06-11cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: Id6291335945a8f10cef3afd1a2b3bae65fdf4562
2015-04-22Various #include <sal/log.hxx> fixupsStephan Bergmann
rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx> (and don't make use of it themselves), but many other files happen to depend on it. Cleaned up some, but something like grep -FwL sal/log.hxx $(git grep -Elw \ 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF') -- \*.cxx) shows lots more files that potentially need fixing before the include can be removed from rtl/string.hxx and rtl/ustring.hxx. Change-Id: Ibf033363e83d37851776f392dc0b077381cd8b90
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-09loplugin:salboolNoel Grandin
Change-Id: Id4194f4d5bb6fcf064985fddc6f7344a4d34ca04
2015-04-09fix windows and android buildsNoel Grandin
more 'extern C' fallout from my conversion of enum to scoped enum Change-Id: I4c9aabbfbd255775a8f3edc2b7c8c62647f539eb
2015-04-09convert RTReferenceType to scoped enumNoel Grandin
Change-Id: I8320f6f42d5579fbd09450ddca61c4c066de98e4
2015-04-09convert RTMethodMode to scoped enumNoel Grandin
Change-Id: I81599570698eb92abf14fa6386d8545c2031e863
2015-04-09convert RT_ACCESS fields to scoped enumNoel Grandin
Change-Id: Ifef0aaae6208f18c1352fef7c471deb60a97820d
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I192bc9653d8492a850a5e259e15782bd3bb24922
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann
Change-Id: I32d7a1d4fed6ef5c56f485cd92464f2d0960e5fd
2015-01-25loplugin:unreffunStephan Bergmann
Change-Id: Id7e0ddf60e32a27cb3922ae6c64feeec40f8e079
2015-01-25coverity#1266504 Useless callCaolán McNamara
Change-Id: I11a2760799937393bfa1a91c1d454ccb3c4027e4
2015-01-20Some more loplugin:cstylecast: registryStephan Bergmann
Change-Id: I5cfb42729b5d3d97076058edb108965f248f86af
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-11-18Fix memchr checksStephan Bergmann
(thanks caolan for spotting) Change-Id: I17093b4173b9a2fca2760240375bcb14313224ef
2014-11-17cid#1213388 etc.: Make reflread.cxx more robustStephan Bergmann
incl. revert of and proper fix for 8f69c7a11bf31f7134caf4e03fbcd4c6ef86382d "coverity#1213373 Use of untrusted scalar value," the data is tainted after all Change-Id: I19e4d544ccf6d02afe8d6e441cae6bbdadb8a6be
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-11-01coverity#1213373 Use of untrusted scalar valueCaolán McNamara
Change-Id: Ia5cafdde1171f81ea7387e073026a2e860d36544
2014-09-30registry: std::auto_ptr -> std::unique_ptrStephan Bergmann
Change-Id: I9489f90a63d477e8802634e7850d3a3fa8e4d133
2014-07-01coverity#706020 Unintended sign extensionCaolán McNamara
Change-Id: I30c097ac6731b742779af5528200ff99451d04b0
2014-06-18coverity#706034 Unintended sign extensionCaolán McNamara
also coverity#706033 coverity#706032 coverity#706031 coverity#706030 coverity#706029 coverity#706028 coverity#706027 coverity#706026 coverity#706025 coverity#706024 coverity#706023 coverity#706022 coverity#706021 coverity#706020 coverity#706019 coverity#706018 coverity#706017 coverity#706016 coverity#706015 coverity#706014 coverity#706013 coverity#706012 coverity#706011 coverity#706010 coverity#706009 Change-Id: I7b85e85c21cf57c9a95d3373af97593d4c3bee8f
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-02-17registry: sal_Bool -> boolStephan Bergmann
Change-Id: Iaf118eca7a7b24945afbc1959ad78c712e4a299b
2014-01-28bool improvementsStephan Bergmann
Change-Id: I60fc93beb58c548c7278eaf69f1d0a448b5c27f1
2013-08-15Mark as constTakeshi Abe
Change-Id: Ic7ee570935b5d827dc01a483877ea5021da5abea
2013-05-14initialized with plain 0, instead of sal_False/falseTakeshi Abe
Change-Id: I2df1bd52293c4423de5ac4c41f9392be1e8d2ccf
2012-12-14Create a TYPEREG_VERSION_1 RegistryTypeReaderStephan Bergmann
RegistryTypeReader is deprecated anyway, so was never lifted from TYPEREG_VERSION_0 to _1 back in the day of implementing "shiny new UNO." However, that now caused problems when trying to use offapi/type_reference/update-rdb.sh to unpublish an old-style service. Quoting my summary on IRC: "the problem with regmerge was that regmerge is still using an old API that only knows old rdb blob format, the format got extended 10 years ago to accomodate things like 'published' or multiple-inheritance inrterfaces; removing the 'published' from an old-style service no longer requires it to be written in the new format, so the two rdbs to be merged had that blob with different formats, and regmerge's 'checkBlop' only knowing about the old format barked that those blobs were completely incompatible; oh my :)" I hope this "fix" does not break anything unrelated (but usage of deprecated RegistryTypeReader should indeed be rather limited.) Change-Id: If04a67f8ba00fbbea3352182e5ce0d868de7c0b5
2012-10-04sal_Bool->bool in registryNoel Grandin
Change-Id: I6afabf33e1d1ab890c979193c25381e0d38c1f50
2012-07-03re-base on ALv2 code.Michael Meeks
2012-05-06fix linkage inconsistency on windowsDavid Tardon
Change-Id: I677a5fe8dc5c91b96fe299b06a5f2dc767120a1d
2012-03-29UNO BYTE is signedStephan Bergmann
This is hopefully a better fix for c589fa17b8f3e6ded0d1e04120781eb5d6735bc7 "Dalvik enforces byte constants being in range (-128..127)."
2011-11-27remove include of pch header from registryNorbert Thiebaud
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-02-12changefileheader2: #i109125#: change source file copyright notice from Sun ↵Jens-Heiner Rechtien
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
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/08/23 17:02:07 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-07-31INTEGRATION: CWS jsc18 (1.17.22); FILE MERGEDJens-Heiner Rechtien
2007/06/29 11:32:14 jsc 1.17.22.1: #i78460# integrate patch
2006-09-17INTEGRATION: CWS pchfix02 (1.16.10); FILE MERGEDOliver Bolte
2006/09/01 17:33:08 kaib 1.16.10.1: #i68856# Added header markers and pch files
2006-06-19INTEGRATION: CWS warnings01 (1.14.12); FILE MERGEDJens-Heiner Rechtien
2005/11/21 13:37:35 sb 1.14.12.4: #i53898# Made code warning-free. 2005/09/22 22:04:01 sb 1.14.12.3: RESYNC: (1.14-1.15); FILE MERGED 2005/09/05 10:06:50 sb 1.14.12.2: #i53898# Made code warning-free. 2005/08/29 14:09:43 sb 1.14.12.1: #i53898# Made code warning-free.
2005-09-09INTEGRATION: CWS ooo19126 (1.14.14); FILE MERGEDRüdiger Timm
2005/09/05 14:08:31 rt 1.14.14.1: #i54170# Change license header: remove SISSL
2005-01-31INTEGRATION: CWS sdksample (1.13.14); FILE MERGEDRüdiger Timm
2004/11/26 16:14:21 jsc 1.13.14.2: #i29966# remove to optimistic API change 2004/10/27 15:58:25 jsc 1.13.14.1: #i29966# remove filename related APIs