1. 20 Aug, 2013 1 commit
  2. 07 Aug, 2013 1 commit
  3. 17 Jul, 2013 1 commit
  4. 09 Jul, 2013 1 commit
  5. 05 Jun, 2013 1 commit
    • Eike Ziller's avatar
      Switch less often to edit mode · 7c8db798
      Eike Ziller authored
      This change
      * Removes IMode::type, ModeManager::activateModeType, and
        IEditor::preferredModeType, and adds IEditor::isDesignModePreferred
        instead
      * Adapts the mode switching code in EditorManager to handle multiple
        windows, for example switching to edit mode should only happen if
        the editor/view is in the main window. Otherwise the editor window
        should be raised and focused
      * Renames EditorManager::NoActivate --> DoNotChangeCurrentEditor
      * Reverts the EditorManager::ModeSwitch logic to switch mode or
        make the current editor visible by default, introducing
        DoNotMakeVisible flag instead
      * Fixes a few instances where EditorManager::ModeSwitch should have been
        used
      
      One non-trivial problem left: If you open a .ui file and switch to an
      external editor window, edit mode is activated, because the current
      editor no longer is a .ui file, which means that the design mode gets
      deactivated.
      
      Change-Id: I76c5c2391eb4090143b778fb103acff3a5a1ff41
      Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
      7c8db798
  6. 31 May, 2013 2 commits
  7. 29 May, 2013 1 commit
  8. 27 May, 2013 1 commit
  9. 24 May, 2013 3 commits
  10. 22 Apr, 2013 1 commit
  11. 19 Apr, 2013 1 commit
  12. 04 Apr, 2013 1 commit
  13. 21 Mar, 2013 1 commit
  14. 01 Mar, 2013 2 commits
  15. 30 Jan, 2013 2 commits
  16. 29 Jan, 2013 1 commit
  17. 21 Jan, 2013 1 commit
  18. 18 Jan, 2013 1 commit
  19. 11 Jan, 2013 1 commit
  20. 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
  21. 28 Nov, 2012 1 commit
  22. 20 Nov, 2012 1 commit
  23. 05 Oct, 2012 1 commit
  24. 26 Sep, 2012 1 commit
  25. 21 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. 21 Aug, 2012 1 commit
  28. 09 Aug, 2012 1 commit
  29. 19 Jul, 2012 2 commits
  30. 05 Jun, 2012 1 commit
  31. 04 Jun, 2012 1 commit
  32. 25 May, 2012 1 commit
  33. 23 May, 2012 1 commit
  34. 22 May, 2012 1 commit