1. 17 Eyl, 2018 1 kayıt (commit)
    • Stephan Bergmann's avatar
      New loplugin:external · 206b5b26
      Stephan Bergmann yazdı
      ...warning about (for now only) functions and variables with external linkage
      that likely don't need it.
      
      The problems with moving entities into unnamed namespacs and breaking ADL
      (as alluded to in comments in compilerplugins/clang/external.cxx) are
      illustrated by the fact that while
      
        struct S1 { int f() { return 0; } };
        int f(S1 s) { return s.f(); }
        namespace N {
          struct S2: S1 { int f() { return 1; } };
          int f(S2 s) { return s.f(); }
        }
        int main() { return f(N::S2()); }
      
      returns 1, both moving just the struct S2 into an nunnamed namespace,
      
        struct S1 { int f() { return 0; } };
        int f(S1 s) { return s.f(); }
        namespace N {
          namespace { struct S2: S1 { int f() { return 1; } }; }
          int f(S2 s) { return s.f(); }
        }
        int main() { return f(N::S2()); }
      
      as well as moving just the function f overload into an unnamed namespace,
      
        struct S1 { int f() { return 0; } };
        int f(S1 s) { return s.f(); }
        namespace N {
          struct S2: S1 { int f() { return 1; } };
          namespace { int f(S2 s) { return s.f(); } }
        }
        int main() { return f(N::S2()); }
      
      would each change the program to return 0 instead.
      
      Change-Id: I4d09f7ac5e8f9bcd6e6bde4712608444b642265c
      Reviewed-on: https://gerrit.libreoffice.org/60539
      Tested-by: Jenkins
      Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
      206b5b26
  2. 11 Ara, 2017 1 kayıt (commit)
  3. 23 Eki, 2017 1 kayıt (commit)
  4. 18 Haz, 2017 1 kayıt (commit)
  5. 09 May, 2017 1 kayıt (commit)
  6. 21 Nis, 2017 1 kayıt (commit)
  7. 15 Şub, 2017 1 kayıt (commit)
  8. 26 Ock, 2017 1 kayıt (commit)
    • Stephan Bergmann's avatar
      Remove dynamic exception specifications · e57ca028
      Stephan Bergmann yazdı
      ...(for now, from LIBO_INTERNAL_CODE only).  See the mail thread starting at
      <https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html>
      "Dynamic Exception Specifications" for details.
      
      Most changes have been done automatically by the rewriting loplugin:dynexcspec
      (after enabling the rewriting mode, to be committed shortly).  The way it only
      removes exception specs from declarations if it also sees a definition, it
      identified some dead declarations-w/o-definitions (that have been removed
      manually) and some cases where a definition appeared in multiple include files
      (which have also been cleaned up manually).  There's also been cases of macro
      paramters (that were used to abstract over exception specs) that have become
      unused now (and been removed).
      
      Furthermore, some code needed to be cleaned up manually
      (avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no
      configurations available that would actually build that code.  Missing @throws
      documentation has not been applied in such manual clean-up.
      
      Change-Id: I3408691256c9b0c12bc5332de976743626e13960
      Reviewed-on: https://gerrit.libreoffice.org/33574Tested-by: 's avatarJenkins <ci@libreoffice.org>
      Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
      e57ca028
  9. 07 Ara, 2016 1 kayıt (commit)
  10. 05 Ara, 2016 1 kayıt (commit)
  11. 13 Eyl, 2016 1 kayıt (commit)
    • Stephan Bergmann's avatar
      loplugin:override: No more need for the "MSVC dtor override" workaround · 91dd2db1
      Stephan Bergmann yazdı
      The issue of 362d4f0c "Explicitly mark
      overriding destructors as 'virtual'" appears to no longer be a problem with
      MSVC 2013.
      
      (The little change in the rewriting code of compilerplugins/clang/override.cxx
      was necessary to prevent an endless loop when adding "override" to
      
        OOO_DLLPUBLIC_CHARTTOOLS    virtual ~CloseableLifeTimeManager();
      
      in chart2/source/inc/LifeTime.hxx, getting stuck in the leading
      OOO_DLLPUBLIC_CHARTTOOLS macro.  Can't remember what that
      isAtEndOfImmediateMacroExpansion thing was originally necessary for, anyway.)
      
      Change-Id: I534c634504d7216b9bb632c2775c04eaf27e927e
      91dd2db1
  12. 09 Şub, 2016 1 kayıt (commit)
  13. 24 Kas, 2015 1 kayıt (commit)
  14. 15 Kas, 2015 1 kayıt (commit)
  15. 10 Kas, 2015 1 kayıt (commit)
  16. 30 Eki, 2015 1 kayıt (commit)
  17. 26 Eki, 2015 1 kayıt (commit)
  18. 12 Eki, 2015 1 kayıt (commit)
  19. 15 Eyl, 2015 1 kayıt (commit)
  20. 11 Haz, 2015 1 kayıt (commit)
  21. 16 Ara, 2014 1 kayıt (commit)
  22. 29 Eki, 2014 1 kayıt (commit)
  23. 23 May, 2014 1 kayıt (commit)
  24. 26 Mar, 2014 1 kayıt (commit)
  25. 26 Şub, 2014 2 kayıt (commit)
  26. 04 Şub, 2014 1 kayıt (commit)
  27. 17 Ara, 2013 1 kayıt (commit)
  28. 11 Kas, 2013 1 kayıt (commit)
  29. 15 Agu, 2013 1 kayıt (commit)
    • Takeshi Abe's avatar
      Mark as const · 7ef72aef
      Takeshi Abe yazdı
      Change-Id: Ic7ee570935b5d827dc01a483877ea5021da5abea
      7ef72aef
  30. 29 Haz, 2013 1 kayıt (commit)
    • Thomas Arnhold's avatar
      remove OUString wrap for string literals · ba0a5770
      Thomas Arnhold yazdı
      For some functions and all kinds of Exceptions.
      
      CannotConvertException
      CloseVetoException
      DisposedException
      EmptyUndoStackException
      ErrorCodeIOException
      Exception
      GridInvalidDataException
      GridInvalidModelException
      IOException
      IllegalAccessException
      IllegalArgumentException
      IllegalTypeException
      IndexOutOfBoundsException
      NoMasterException
      NoSuchElementException
      NoSupportException
      PropertyVetoException
      RuntimeException
      SAXException
      ScannerException
      StorageWrappedTargetException
      UnsupportedFlavorException
      VetoException
      WrappedTargetException
      ZipIOException
      throwGenericSQLException
      throwIllegallArgumentException
      
      createInstance
      createInstanceWithContext
      forName
      getByName
      getPackageManager
      getPropertyValue
      getUnpackedValueOrDefault
      getValueByName
      hasPropertyByName
      openKey
      setName
      setPropertyValue
      supportsService
      
      bash command:
      
      for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx'
      	| cut -d ':' -f1 | sort -u
      	| xargs sed -i
      		-e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g"
      		-e "s/\($i.*\)\"+ /\1\" + /g";
      done
      
      Change-Id: Iaf8e641b0abf28c082906014f87a183517630535
      Reviewed-on: https://gerrit.libreoffice.org/4624Tested-by: 's avatarLibreOffice gerrit bot <gerrit@libreoffice.org>
      Reviewed-by: 's avatarThomas Arnhold <thomas@arnhold.org>
      Tested-by: 's avatarThomas Arnhold <thomas@arnhold.org>
      ba0a5770
  31. 06 May, 2013 1 kayıt (commit)
  32. 22 Nis, 2013 1 kayıt (commit)
  33. 19 Nis, 2013 2 kayıt (commit)
  34. 07 Nis, 2013 1 kayıt (commit)
    • Luboš Luňák's avatar
      mass removal of rtl:: prefixes for O(U)String* · 1946794a
      Luboš Luňák yazdı
      Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
      have kept them, in order not to break external API (the automatic using declaration
      is LO-internal).
      
      Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
      1946794a
  35. 27 Mar, 2013 1 kayıt (commit)
  36. 19 Mar, 2013 1 kayıt (commit)
  37. 14 Mar, 2013 1 kayıt (commit)
  38. 28 Şub, 2013 1 kayıt (commit)