1. 27 Oct, 2020 1 commit
  2. 26 Oct, 2020 2 commits
  3. 23 Oct, 2020 1 commit
  4. 20 Oct, 2020 1 commit
  5. 17 Oct, 2020 3 commits
    • Milian Wolff's avatar
      Fix memory leak in KateMessageLayout · c52de598
      Milian Wolff authored
      Use a vector-of-values instead of a vector-of-pointers for no
      good reason. This is faster, uses less memory, and prevents leaks
      like this one:
      
      ```
      =================================================================
      ==175053==ERROR: LeakSanitizer: detected memory leaks
      
      Direct leak of 16 byte(s) in 1 object(s) allocated from:
          #0 0x7f9f407caf41 in operator new(unsigned long) /build/gcc/src/gcc/libsanitizer/asan/asan_new_delete.cpp:99
          #1 0x7f9f405d2dc4 in KateMessageLayout::add(QLayoutItem*, KTextEditor::Message::MessagePosition) /home/milian/projects/kf5/src/frameworks/ktexteditor/src/view/kateviewhelpers.cpp:145
          #2 0x7f9f405d2815 in KateMessageLayout::addWidget(QWidget*, KTextEditor::Message::MessagePosition) /home/milian/projects/kf5/src/frameworks/ktexteditor/src/view/kateviewhelpers.cpp:87
          #3 0x7f9f405b3f20 in KTextEditor::ViewPrivate::postMessage(KTextEditor::Message*, QList<QSharedPointer<QAction> >) /home/milian/projects/kf5/src/frameworks/ktexteditor/src/view/kateview.cpp:3673
          #4 0x7f9f404dface in KTextEditor::DocumentPrivate::postMessage(KTextEditor::Message*) /home/milian/projects/kf5/src/frameworks/ktexteditor/src/document/katedocument.cpp:5911
          #5 0x55df19c6d620 in MessageTest::testAutoHide() /home/milian/projects/kf5/src/frameworks/ktexteditor/autotests/src/messagetest.cpp:77
          #6 0x7ffd039e7bbf  ([stack]+0x1fbbf)
          #7 0x55df19c68e82 in MessageTest::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) autotests/messagetest_autogen/UVLADIE3JM/moc_messagetest.cpp:85
      
      Direct leak of 16 byte(s) in 1 object(s) allocated from:
          #0 0x7f9f407caf41 in operator new(unsigned long) /build/gcc/src/gcc/libsanitizer/asan/asan_new_delete.cpp:99
          #1 0x7f9f405d2dc4 in KateMessageLayout::add(QLayoutItem*, KTextEditor::Message::MessagePosition) /home/milian/projects/kf5/src/frameworks/ktexteditor/src/view/kateviewhelpers.cpp:145
          #2 0x7f9f405d2815 in KateMessageLayout::addWidget(QWidget*, KTextEditor::Message::MessagePosition) /home/milian/projects/kf5/src/frameworks/ktexteditor/src/view/kateviewhelpers.cpp:87
          #3 0x7f9f405b3f20 in KTextEditor::ViewPrivate::postMessage(KTextEditor::Message*, QList<QSharedPointer<QAction> >) /home/milian/projects/kf5/src/frameworks/ktexteditor/src/view/kateview.cpp:3673
          #4 0x7f9f404dface in KTextEditor::DocumentPrivate::postMessage(KTextEditor::Message*) /home/milian/projects/kf5/src/frameworks/ktexteditor/src/document/katedocument.cpp:5911
          #5 0x55df19c6a8a2 in MessageTest::testPostMessage() /home/milian/projects/kf5/src/frameworks/ktexteditor/autotests/src/messagetest.cpp:44
          #6 0x7ffd039e7bbf  ([stack]+0x1fbbf)
      ```
      c52de598
    • Milian Wolff's avatar
      Fix compiler warning about potentially uninitialized memory · 8179983f
      Milian Wolff authored
      Fixes:
      ```
      /home/milian/projects/kf5/src/frameworks/ktexteditor/src/vimode/modes/normalvimode.cpp: In member function ‘KateVi::Range KateVi::NormalViMode::motionToPreviousSentence()’:
      /home/milian/projects/kf5/src/frameworks/ktexteditor/src/vimode/modes/normalvimode.cpp:2854:24: warning: ‘column’ may be used uninitialized in this function [-Wmaybe-uninitialized]
       2854 |         if (column < 0 && !line.isEmpty()) {
            |             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
      ```
      8179983f
    • Christoph Cullmann's avatar
      4b77bf04
  6. 15 Oct, 2020 1 commit
  7. 11 Oct, 2020 1 commit
  8. 10 Oct, 2020 3 commits
  9. 09 Oct, 2020 1 commit
  10. 04 Oct, 2020 1 commit
  11. 30 Sep, 2020 1 commit
  12. 28 Sep, 2020 1 commit
  13. 27 Sep, 2020 1 commit
  14. 26 Sep, 2020 1 commit
  15. 22 Sep, 2020 1 commit
  16. 20 Sep, 2020 6 commits
  17. 16 Sep, 2020 2 commits
  18. 15 Sep, 2020 2 commits
  19. 14 Sep, 2020 1 commit
  20. 13 Sep, 2020 9 commits