1. 25 Nis, 2019 1 kayıt (commit)
    • Stephan Bergmann's avatar
      Cut down on -pthread/-lpthread proliferation · b1141fa6
      Stephan Bergmann yazdı
      Building against libstdc++ effectively always requires -pthread anyway (as
      various standard C++ headers require it, see the comment added to
      solenv/gbuild/platform/unxgcc.mk), so many explicit uses of -pthread/-lpthread
      can be removed.
      
      Doing a (partial) test build on Linux with Clang -stdlib=libc++ suggests that
      libc++ indeed doesn't need -pthread as libstdc++ does.
      
      The remaining uses of -pthread/-lpthread are mostly in configure.ac for the
      various BSDs (which somebody else might want to clean up now), and related to
      external projects.  I tried to be careful to remove -pthread/-lpthread from
      makefiles only when C++ object files are involved (so -pthread will now be
      included on the link command line by default).
      
      Change-Id: I936e082839cb9a434bd273ce5a1f187a4245dfa1
      Reviewed-on: https://gerrit.libreoffice.org/71291
      Tested-by: Jenkins
      Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
      b1141fa6
  2. 25 Kas, 2018 1 kayıt (commit)
  3. 09 Eki, 2018 1 kayıt (commit)
  4. 24 Eyl, 2018 1 kayıt (commit)
  5. 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
  6. 14 Nis, 2018 1 kayıt (commit)
  7. 23 Eki, 2017 1 kayıt (commit)
  8. 31 Agu, 2017 1 kayıt (commit)
  9. 28 Tem, 2017 1 kayıt (commit)
  10. 06 Tem, 2017 1 kayıt (commit)
  11. 12 Haz, 2017 1 kayıt (commit)
  12. 07 May, 2017 1 kayıt (commit)
  13. 06 May, 2017 1 kayıt (commit)
  14. 21 Nis, 2017 1 kayıt (commit)
  15. 11 Mar, 2017 1 kayıt (commit)
  16. 02 Mar, 2017 1 kayıt (commit)
  17. 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
  18. 20 Ara, 2016 1 kayıt (commit)
  19. 09 Haz, 2016 1 kayıt (commit)
  20. 20 Nis, 2016 1 kayıt (commit)
  21. 18 Nis, 2016 1 kayıt (commit)
  22. 13 Nis, 2016 1 kayıt (commit)
  23. 22 Mar, 2016 1 kayıt (commit)
  24. 15 Şub, 2016 3 kayıt (commit)
  25. 09 Şub, 2016 1 kayıt (commit)
  26. 10 Ara, 2015 1 kayıt (commit)
  27. 30 Kas, 2015 1 kayıt (commit)
  28. 26 Kas, 2015 1 kayıt (commit)
  29. 10 Kas, 2015 1 kayıt (commit)
  30. 06 Kas, 2015 1 kayıt (commit)
  31. 04 Kas, 2015 1 kayıt (commit)
    • Noel Grandin's avatar
      yyyyy · 59b072e2
      Noel Grandin yazdı
      Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
      59b072e2
  32. 29 Eki, 2015 1 kayıt (commit)
  33. 15 Eki, 2015 1 kayıt (commit)
  34. 14 Eki, 2015 1 kayıt (commit)
  35. 12 Eki, 2015 1 kayıt (commit)
  36. 15 Eyl, 2015 1 kayıt (commit)
  37. 07 Agu, 2015 1 kayıt (commit)
  38. 11 Haz, 2015 1 kayıt (commit)