1. 11 Aug, 2014 1 commit
  2. 08 Jul, 2014 1 commit
  3. 01 Jul, 2014 1 commit
  4. 12 Jun, 2014 2 commits
  5. 08 Jan, 2014 1 commit
  6. 05 Sep, 2013 1 commit
  7. 03 Sep, 2013 1 commit
  8. 06 Aug, 2013 1 commit
  9. 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
  10. 26 Mar, 2013 1 commit
  11. 07 Feb, 2013 1 commit
  12. 31 Jan, 2013 1 commit
  13. 29 Jan, 2013 1 commit
  14. 21 Jan, 2013 1 commit
  15. 11 Jan, 2013 1 commit
  16. 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
  17. 28 Nov, 2012 1 commit
  18. 05 Oct, 2012 1 commit
  19. 19 Jul, 2012 1 commit
  20. 23 May, 2012 1 commit
  21. 11 May, 2012 1 commit
  22. 06 Mar, 2012 1 commit
  23. 15 Feb, 2012 1 commit
  24. 13 Feb, 2012 2 commits
  25. 26 Jan, 2012 1 commit
  26. 24 Jan, 2012 2 commits
  27. 09 Jan, 2012 1 commit
  28. 11 Nov, 2011 1 commit
    • Leandro Melo's avatar
      Proj. explorer: Adjust order of load/unload signals · 9e56781b
      Leandro Melo authored
      
      
      This tries to fix inconsistencies concerning the order of some signals
      and the corresponding state of the sessions. In particular, it now emittes
      aboutToLoadSession *after* aboutToUnloadSession. Also, retrieving the
      active session name gives the correct result when updating project files.
      In addition, there's a new parameter to aboutToLoadSession which describes
      the session being loaded.
      
      Change-Id: Iab5fb21080a7ee9bbf9f4d8958499cbc5549e81e
      Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
      9e56781b
  29. 10 Nov, 2011 1 commit
  30. 08 Nov, 2011 1 commit
  31. 03 Nov, 2011 1 commit
  32. 15 Jul, 2011 1 commit
  33. 04 Jul, 2011 1 commit
  34. 09 Jun, 2011 1 commit
  35. 06 May, 2011 1 commit
  36. 26 Apr, 2011 1 commit
  37. 14 Apr, 2011 1 commit