1. 02 Sep, 2013 1 commit
    • Christian Kandeler's avatar
      Remove superfluous include paths from project files. · 72d17382
      Christian Kandeler authored
      
      
      A lot of our build system files specify unneeded include
      paths. These roughly fall into the following categories:
          a) Paths that are already set in more general files
             such as qtcreator.pri.
          b) Paths that serve no purpose at all, possibly
             left over from earlier versions of the project.
          c) Paths that act as workarounds for wrong include
             statements of the form '#include "xyz.h"', where
             xyz.h is not in the same directory as the including
            file.
      This patch removes such path specifications and fixes the offending
      include statements from case c).
      Tested on Linux, Windows and OSX with qmake and qbs.
      
      Change-Id: I039a8449f8a65df0d616b4c08081145c18ae4b15
      Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@digia.com>
      Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@digia.com>
      72d17382
  2. 30 Aug, 2013 1 commit
  3. 26 Aug, 2013 1 commit
  4. 20 Aug, 2013 3 commits
  5. 19 Aug, 2013 1 commit
  6. 17 Jul, 2013 3 commits
  7. 10 Jul, 2013 1 commit
  8. 09 Jul, 2013 1 commit
  9. 24 Jun, 2013 1 commit
  10. 12 Jun, 2013 1 commit
  11. 06 Jun, 2013 1 commit
  12. 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
  13. 03 Jun, 2013 1 commit
  14. 31 May, 2013 1 commit
  15. 27 May, 2013 2 commits
  16. 24 May, 2013 2 commits
  17. 06 May, 2013 1 commit
  18. 24 Apr, 2013 1 commit
  19. 23 Apr, 2013 1 commit
  20. 22 Apr, 2013 1 commit
  21. 19 Apr, 2013 1 commit
  22. 18 Apr, 2013 3 commits
  23. 15 Apr, 2013 1 commit
  24. 12 Apr, 2013 1 commit
  25. 09 Apr, 2013 1 commit
  26. 27 Mar, 2013 1 commit
  27. 20 Mar, 2013 2 commits
  28. 19 Mar, 2013 1 commit
  29. 18 Mar, 2013 1 commit
  30. 12 Mar, 2013 1 commit
  31. 08 Mar, 2013 1 commit
    • Mitch Curtis's avatar
      CPP, QmlJs editors: don't indent when moving commented lines up/down. · e53ae818
      Mitch Curtis authored
      Currently, pressing Ctrl + Shift + Up/Down with a commented block of
      text selected will indent that block if the line two lines above the
      block is indented. This is undesirable, because the indenting for that
      block is incorrect when it is uncommented. See the following example:
      
      Step 1:
      void f()
      {
          int x;
      
      //    int y;
      }
      
      Step 2 - After Ctrl + Shift + Up:
      void f()
      {
          int x;
          //    int y;
      
      }
      
      Step 3 - After uncommenting the block:
      void f()
      {
          int x;
              int y;
      
      }
      
      This patch tells the CPP and QmlJs editors not to indent commented
      blocks when moving them. Blocks that are not entirely within comments
      (excluding whitespace) are not affected.
      
      Tested with (C++ and JavaScript, respectively):
      http://paste.kde.org/688778/
      http://paste.kde.org/688784/
      
      
      
      Change-Id: I35414e6dfd5a1084fd997594e711ea9932231981
      Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
      e53ae818