1. 24 Jan, 2013 1 commit
  2. 09 Jan, 2013 1 commit
  3. 08 Jan, 2013 1 commit
    • Orgad Shaneh's avatar
      Remove braces for single lines of conditions · 29a93998
      Orgad Shaneh authored
      #!/usr/bin/env ruby
      
      Dir.glob('**/*.cpp') { |file|
        # skip ast (excluding paste, astpath, and canv'ast'imer)
        next if file =~ /ast[^eip]|keywords\.|qualifiers|preprocessor|names.cpp/i
        s = File.read(file)
        next if s.include?('qlalr')
        orig = s.dup
        s.gsub!(/\n *if [^\n]*{\n[^\n]*\n\s+}(\s+else if [^\n]* {\n[^\n]*\n\s+})*(\s+else {\n[^\n]*\n\s+})?\n/m) { |m|
          res = $&
          if res =~ /^\s*(\/\/|[A-Z_]{3,})/ # C++ comment or macro (Q_UNUSED, SDEBUG), do not touch braces
            res
          else
            res.gsub!('} else', 'else')
            res.gsub!(/\n +} *\n/m, "\n")
            res.gsub(/ *{$/, '')
          end
        }
        s.gsub!(/ *$/, '')
        File.open(file, 'wb').write(s) if s != orig
      }
      
      Change-Id: I3b30ee60df0986f66c02132c65fc38a3fbb6bbdc
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      29a93998
  4. 30 Dec, 2012 1 commit
  5. 29 Dec, 2012 1 commit
  6. 11 Dec, 2012 2 commits
  7. 28 Nov, 2012 1 commit
  8. 27 Nov, 2012 1 commit
  9. 20 Nov, 2012 1 commit
  10. 09 Nov, 2012 1 commit
  11. 07 Nov, 2012 1 commit
  12. 06 Nov, 2012 1 commit
  13. 02 Nov, 2012 1 commit
  14. 29 Oct, 2012 1 commit
  15. 23 Oct, 2012 2 commits
  16. 16 Oct, 2012 1 commit
  17. 09 Oct, 2012 1 commit
  18. 05 Oct, 2012 2 commits
  19. 04 Oct, 2012 1 commit
  20. 27 Sep, 2012 1 commit
  21. 21 Sep, 2012 1 commit
  22. 11 Sep, 2012 1 commit
  23. 07 Sep, 2012 1 commit
  24. 05 Sep, 2012 3 commits
    • Friedemann Kleint's avatar
      KitChooser: Introduce virtual methods for Debugger. · c3f50e31
      Friedemann Kleint authored
      Introduce virtual methods such that it is possible to
      write derived classes for specific KitInformation classes,
      allowing for filtering and setting text and tooltip.
      
      Remove debugging-specific code of KitChooser from
      the ProjectExplorer.
      
      Move populate() away from the constructor as not to call
      virtuals from it.
      
      Implement DebuggerKitChooser. It should no longer be
      possible to to choose an invalid kit for debugging
      from the debugger starter dialogs.
      
      Add a protected constructor to DeviceProcessesDialog
      allowing to pass a KitChooser.
      
      Change-Id: I8c683a2da7d69bfbccdc08213cb47d69a0df8b3e
      Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
      c3f50e31
    • Friedemann Kleint's avatar
      Add debugger engine type to configuration. · af6bbc44
      Friedemann Kleint authored
      Introduce a struct DebuggerItem as a debugger configuration
      item, containing debugger engine type and binary. Store
      information as a variant map. Add a combo box.
      
      Remove engine guessing logic. Parts of it are still required
      when checking the suggested debugger from the SDK.
      
      Split error checking to be able to do a quick error check
      and find only valid profiles in the matchers.
      
      Pass on errors up to RunControl::create().
      
      Change-Id: I08653e2a76ca2c371701082f8173b0b8f8ed462e
      Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
      af6bbc44
    • Daniel Teske's avatar
      Add error string to IRunControlFactory::createRunControl · 7657dd3a
      Daniel Teske authored
      And add a few helpful error messages
      
      Task-number: QTCREATORBUG-7826
      
      Change-Id: Ia9f9fa476cecf2cff198bc460408bc062e119338
      Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@nokia.com>
      7657dd3a
  25. 04 Sep, 2012 1 commit
    • Tobias Hunger's avatar
      s/profile/kit/ · 8ba422d0
      Tobias Hunger authored
      * Rename profiles to kits.
      * Update some strings:
         * projects mode has a Kits tab, not a Targets tab.
         * " Settings" was dropped from the sub-tabs of the Kits tab
         * menu entry "Build/Open Build/Run Target Selector" was renamed
           to "Build/Open Build and Run Kits Selector".
         * Use "Kit" instead of "Target" in miniprojecttargetselector.
           (The class was not renamed as it does indeed select targets,
            not kits)
      
      Change-Id: I0727e086e2dfa0e8aaaf89fdc6f2e3596c7a4314
      Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
      8ba422d0
  26. 03 Sep, 2012 2 commits
    • Friedemann Kleint's avatar
      Fix debugger detection when attaching from output pane. · 71ea54c0
      Friedemann Kleint authored
      Obtain RunConfiguration from RunControl add logic to
      use the ABI if that fails.
      
      Task-number: QTCREATORBUG-7677
      
      Change-Id: Iebf053e6b7a25644a4d4c02b80bf952ef9e6a078
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      71ea54c0
    • Friedemann Kleint's avatar
      Handle watching/tooltips of C++ editor tokens consistently. · 6886e485
      Friedemann Kleint authored
      For editor tooltips and the editor context menu
      'Watch expression', always try to find a local variable first
      and use its expression.
      
      Change the tooltip manager/widgets not to rely on the debugger
      model enum and obscure expression, filter by complete iname
      instead. Remove obsolete enumeration.
      
      Change gdb's handling of tooltips such that local variables
      are displayed immediately without creating additional tooltip
      items.
      
      Change-Id: I9b55823428029ba50d84d3a8cab55eb58942e72b
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      6886e485
  27. 31 Aug, 2012 1 commit
  28. 30 Aug, 2012 1 commit
  29. 27 Aug, 2012 1 commit
    • Christian Kandeler's avatar
      Utils: Introduce HostOsInfo class. · e669f054
      Christian Kandeler authored
      The class' member functions are intended to be used
      instead of the Q_OS_* macros in all contexts where
      the latter are not syntactically required.
      This lowers the likelihood of changes made on one
      platform breaking the build on another, e.g. due to
      the code model missing symbols in #ifdef'ed out code
      when refactoring.
      
      Change-Id: I4a54788591b4c8f8d589b8368a6c683d4155c9fa
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      e669f054
  30. 24 Aug, 2012 2 commits
  31. 23 Aug, 2012 2 commits
    • Friedemann Kleint's avatar
      Debugger: Improve engine detection. · 78aa94c8
      Friedemann Kleint authored
      Remove the RunConfiguration parameter from guessCppEngineType()
      and use the DebuggerStartParameter::toolChainAbi only.
      
      Use fillParameter() to set the debugger command and toolchain
      in order to prevent mismatches.
      
      Add logic trying to figure out the profile to fillParameters()
      in case the profile passed in is 0 for the command line cases.
      
      Use CDB matcher for post mortem and Remote CDB, fix it to
      prefer 64bit CDB on 64bit OS.
      
      Change-Id: Icedc3883fe15660303060498ab609957e6d01cd1
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      78aa94c8
    • Friedemann Kleint's avatar
      DeviceProcessDialog: Introduce methods for modal/non-modal use. · aee8f883
      Friedemann Kleint authored
      Add methods to be able to use the dialog as a non-modal
      dialog showing a list of processes or a modal-dialog
      for selecting a process.
      
      Connect double-click to 'Accept' for the modal
      case (regression from 2.5).
      
      Change-Id: If05a1c40ee6a41135d943e9919a1250db03eeffb
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      aee8f883
  32. 22 Aug, 2012 1 commit
    • Alessandro Portale's avatar
      Removal of Symbian support · ae23d505
      Alessandro Portale authored
      Qt Creator's support for Symbian was at its peak in version
      2.4.x. Nobody really verified it in Qt Creator 2.5 or 2.6.
      It is most likely rotten. Let's remove it!
      
      Also, the Symbian support code was spread throughout the whole
      Qt Creator code base. The plugin interfaces evolved in the
      meantime and target platforms like Android or QNX have 99% of
      their code in separate plugins.
      
      In case anyone wants to revive Symbian support in Qt Creator,
      please create a plugin for it.
      
      Change-Id: I56a758a3e2fd5b8c64d9aeb8f63d8e916c4883be
      Reviewed-by: default avatarAlessandro Portale <alessandro.portale@nokia.com>
      ae23d505