Skip to content
Snippets Groups Projects
  1. Mar 21, 2013
  2. Mar 19, 2013
  3. Mar 15, 2013
  4. Mar 13, 2013
  5. Mar 12, 2013
  6. Mar 05, 2013
  7. Feb 26, 2013
  8. Feb 12, 2013
  9. Jan 29, 2013
  10. Jan 28, 2013
  11. Jan 25, 2013
  12. Jan 24, 2013
  13. Jan 09, 2013
  14. Jan 08, 2013
    • 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
  15. Dec 30, 2012
  16. Dec 29, 2012
  17. Dec 11, 2012
  18. Nov 28, 2012
  19. Nov 27, 2012
  20. Nov 20, 2012
  21. Nov 09, 2012
  22. Nov 07, 2012
  23. Nov 06, 2012
  24. Nov 02, 2012
  25. Oct 29, 2012
  26. Oct 23, 2012
  27. Oct 16, 2012
  28. Oct 09, 2012
  29. Oct 05, 2012
  30. Oct 04, 2012
  31. Sep 27, 2012
  32. Sep 21, 2012
  33. Sep 11, 2012
  34. Sep 07, 2012
  35. Sep 05, 2012
    • 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
Loading