1. 11 Jan, 2013 1 commit
    • Petar Perisin's avatar
      Editor: Allow to open links in a new split. · 39e9c5ef
      Petar Perisin authored
      
      
      This changes current behavior while opening links. Link is now opened in
      next split by default. If you use CTRL+Click to open links, it will also
      open in next split. However, by using CTRL+ALT+click it will open in
      current split.
      
      There are two new checkboxes in Tools/Options/Text Editor/Display:
      - "Open Links in New Split" - if it is checked, links will not be opened
      in current split. However, if document with link is already opened, it
      will be used to open the split
      - "Force open links in next split" - Links will always open in next
      split, even if their document is already opened somewhere else.
      
      Task-number: QTCREATORBUG-8117
      Change-Id: Ib99075b55d9e9683ed2c2386767227457de0a3fc
      Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
      39e9c5ef
  2. 10 Jan, 2013 1 commit
  3. 09 Jan, 2013 1 commit
  4. 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
  5. 28 Nov, 2012 1 commit
  6. 26 Nov, 2012 2 commits
  7. 22 Nov, 2012 1 commit
  8. 16 Nov, 2012 1 commit
  9. 12 Nov, 2012 2 commits
  10. 09 Nov, 2012 1 commit
  11. 06 Nov, 2012 1 commit
  12. 22 Oct, 2012 1 commit
  13. 18 Oct, 2012 1 commit
  14. 11 Oct, 2012 1 commit
  15. 10 Oct, 2012 1 commit
  16. 09 Oct, 2012 2 commits
  17. 05 Oct, 2012 1 commit
  18. 01 Oct, 2012 1 commit
  19. 27 Sep, 2012 3 commits
  20. 18 Sep, 2012 1 commit
  21. 17 Sep, 2012 1 commit
  22. 13 Sep, 2012 1 commit
  23. 11 Sep, 2012 1 commit
  24. 05 Sep, 2012 1 commit
  25. 03 Sep, 2012 1 commit
  26. 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
  27. 30 Jul, 2012 1 commit
  28. 19 Jul, 2012 1 commit
  29. 05 Jun, 2012 1 commit
  30. 25 May, 2012 1 commit
  31. 11 May, 2012 1 commit
  32. 03 May, 2012 1 commit
  33. 28 Mar, 2012 1 commit
  34. 16 Mar, 2012 1 commit
  35. 15 Mar, 2012 1 commit