1. 17 May, 2017 8 commits
  2. 16 May, 2017 7 commits
  3. 15 May, 2017 7 commits
  4. 12 May, 2017 11 commits
    • Kevin Funk's avatar
      Fix crash when attaching GammaRay to running proc · 65234d36
      Kevin Funk authored
      Backtrace (excerpt):
      ```
      Thread 1 "qtcreator" received signal SIGSEGV, Segmentation fault.
      0  0x00007fffe2a809d0 in ProjectExplorer::Runnable::Runnable (this=0x7fffffffc5c0, other=...) at /home/kfunk/devel/src/qt-creator-4.3/src/plugins/projectexplorer/runconfiguration.h:175
      1  0x00007fffe2a81eab in QPair<ProjectExplorer::Runnable, Utils::ProcessHandle>::QPair (this=0x7fffffffc5c0, t1=..., t2=...) at ../../../../qt5.8/qtbase/include/QtCore/../../../../../src/qt5.8/qtbase/src/corelib/tools/qpair.h:61
      2  0x00007fffe2a81f04 in qMakePair<ProjectExplorer::Runnable, Utils::ProcessHandle> (x=..., y=...) at ../../../../qt5.8/qtbase/include/QtCore/../../../../../src/qt5.8/qtbase/src/corelib/tools/qpair.h:151
      3  0x00007fffe2a6e74a in ProjectExplorer::ProjectExplorerPlugin::runningRunControlProcesses () at /home/kfunk/devel/src/qt-creator-4.3/src/plugins/projectexplorer/projectexplorer.cpp:2568
      4  0x00007fffdfcfef4e in GammaRayIntegration::Internal::ProcessTrackerBackendQtCreator::checkProcess (this=0x555556240c10, pid=6881) at ../../../src/qtauto/kdab-plugin-gammaray-qtas1.2/gammarayprocesstrackerbackendqtc.cpp:112
      5  0x00007fffdf943b6a in GammaRay::ProcessTracker::D::requestUpdate (this=0x555556230800) at /home/kfunk/devel/src/qtauto/gammaray-qtas1.2/common/processtracker.cpp:72
      6  0x00007fffdf943548 in GammaRay::ProcessTracker::D::qt_static_metacall (_o=0x555556230800, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffffffc800) at common/processtracker.moc:77
      7  0x00007ffff66cf95a in QMetaObject::activate (sender=0x555556230900, signalOffset=3, local_signal_index=0, argv=0x0) at /home/kfunk/devel/src/qt5.8/qtbase/src/corelib/kernel/qobject.cpp:3743
      
      (gdb) frame 0
      0  0x00007fffe2a809d0 in ProjectExplorer::Runnable::Runnable (this=0x7fffffffc5c0, other=...) at /home/kfunk/devel/src/qt-creator-4.3/src/plugins/projectexplorer/runconfiguration.h:175
      (gdb) p other.d
      8 = std::unique_ptr<ProjectExplorer::Runnable::Concept> containing 0x0
      ```
      
      Fixed both locations where there's a potential nullptr derefence in this
      file.
      
      Change-Id: I23f7db6f18675470b19cdf39dce449c5b694160d
      Reviewed-by: Christian Stenger's avatarChristian Stenger <christian.stenger@qt.io>
      Reviewed-by: default avatarhjk <hjk@qt.io>
      65234d36
    • Tobias Hunger's avatar
      Wizards: Fix wizards in KDE environments · 3e8e82b2
      Tobias Hunger authored
      KDE checks for a "text" property in the wizard pages and will then replace the
      text it sees there with some text with added '&' characters. This breaks the
      wizards, so rename the properties to something that is not "text".
      
      Task-number: QTCREATORBUG-17503
      Change-Id: Ie513848cef9cd795f06a47659abb550abd268b11
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
      3e8e82b2
    • Nikolai Kosjar's avatar
      C++: Fix invalid read in isQtReservedWord() · 3c02b9b9
      Nikolai Kosjar authored
      The change
      
          CPlusPlus: Fix isQtReservedWord
          commit 7d76dd00
      
      enabled the problematic code path.
      
      Change-Id: Ic89e3976b07ad55976c474f9c4b6d6f6cf64d29e
      Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
      3c02b9b9
    • Tobias Hunger's avatar
      CMake: Improve detection of build directory in server-mode · 112254dc
      Tobias Hunger authored
      Detect both build directories next to the sources as well as below the source
      directory properly. Without this patch all files that normally go into "Build
      Directory" node were listed below "Source Directory" when the build directory
      was a child of the source directory.
      
      Task-number: QTCREATORBUG-18196
      Change-Id: Ib8674489cfe04958f76df24904107bb7aa093162
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
      112254dc
    • Oswald Buddenhagen's avatar
      remove executable permission from .ts file · d0f3f7f7
      Oswald Buddenhagen authored
      Change-Id: Ie5817708c942523721421a4c1c9d553ec1bf2be0
      Reviewed-by: default avatarRobert Loehning <robert.loehning@qt.io>
      d0f3f7f7
    • hjk's avatar
      Debugger: Fix crash on second options opening · 69521da3
      hjk authored
      Change-Id: I6ca5d860e9c2a82e7032873a0a2c939ab2f4c69f
      Task-number: QTCREATORBUG-18189
      Reviewed-by: Eike Ziller's avatarEike Ziller <eike.ziller@qt.io>
      69521da3
    • Robert Loehning's avatar
      Squish: Exclude HTML when reading version from dialog · 47198b44
      Robert Loehning authored
      Change-Id: I2e73a27aaa3b8c28cdce93576a8cdfc861e37b8d
      Reviewed-by: Christian Stenger's avatarChristian Stenger <christian.stenger@qt.io>
      47198b44
    • Tobias Hunger's avatar
      Qmake: Hide dummy.cpp files in unconfigured projects, too · 5f03b47f
      Tobias Hunger authored
      Change-Id: I6580377c1a43996eb6d7737a095de29112840c26
      Reviewed-by: Eike Ziller's avatarEike Ziller <eike.ziller@qt.io>
      5f03b47f
    • Tobias Hunger's avatar
      ProjectNodes: Sprinkle QTC_ASSERT over code looking at parentFolderNode · 18537a55
      Tobias Hunger authored
      Not checking the parentFolderNode triggered a crash elsewhere already, so
      double check other uses of parentFolderNode and use QTC_ASSERT to make sure
      no nullptr is going to be accessed.
      
      This is necessary now that we have a forest of project trees and no longer
      have a sessionnode anymore.
      
      Change-Id: Ibc380c2ec9b12b983e709d2eeb03a8b741fe1058
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
      18537a55
    • Orgad Shaneh's avatar
      Dumper: Put object address for pointer also when it is not dereferenced · f603a115
      Orgad Shaneh authored
      int main()
      {
          int foo = 42;
          void *bar = &foo; // bar has no object address
          return 0;
      }
      
      Change-Id: I917c2976bd618c096bfd704abff8b3538e38a0d3
      Reviewed-by: default avatarhjk <hjk@qt.io>
      Reviewed-by: Christian Stenger's avatarChristian Stenger <christian.stenger@qt.io>
      f603a115
    • Eike Ziller's avatar
      Work around issue with vanishing menu bar with Unity · ae2a9dbb
      Eike Ziller authored
      When Widget Designer is opened with a QMainWindow based form, the
      "native" Unity menu bar vanishes. This is a workaround by disabling the
      native menu bar integration on Linux.
      
      Task-number: QTCREATORBUG-17519
      Change-Id: I93eb3a590200fb8fff90017d8d6eddda8edaa42e
      Reviewed-by: default avatarAndré Hartmann <aha_1980@gmx.de>
      ae2a9dbb
  5. 11 May, 2017 5 commits
  6. 10 May, 2017 2 commits