1. 26 Feb, 2015 40 commits
  2. 04 Feb, 2015 40 commits
    • Orgad Shaneh's avatar
      C++: Remove unneeded qualifications · 65e7db42
      Orgad Shaneh authored
      Mostly done using the following ruby script:
      Dir.glob('**/*.cpp').each { |file|
        next if file =~ %r{src/shared/qbs|/qmljs/}
        s = File.read(file)
        s.scan(/^using namespace (.*);$/) {
          ns = $1
          t = s.gsub(/^(.*)\b#{ns}::((?!Const)[A-Z])/) { |m|
            before = $1
            char = $2
            if before =~ /"|\/\/|\\|using|SIGNAL|SLOT|Q_/
              m
            else
              before + char
            end
          }
          if t != s
            puts file
            File.open(file, 'w').write(t)
          end
        }
      }
      
      Change-Id: I6fbe13ddc1485efe95c3156097bf41d90c0febac
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
      65e7db42
  3. 16 Jan, 2015 40 commits
  4. 09 Oct, 2014 40 commits
  5. 18 Jun, 2014 40 commits
    • Erik Verbruggen's avatar
      C++: Remove class/function/enum extraction from CppLocatorData. · 2b0954ca
      Erik Verbruggen authored
      With every single change in a document the corresponding IndexItem
      elements were extracted and put into an vector. The locator filters
      then used these lists to iterate over and filter them.
      
      This change removes that extraction, and the filtering now directly
      iterates over the IndexItem elements with a callback.
      
      The exception is the current document filter, because it also queries
      for all declarations. Adding this to the model would result in a higher
      memory usage, while that information is only used by this filter.
      
      Change-Id: Ibe445cc11e9f68b5d807348fd46c7cac4aff4c85
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
      2b0954ca
  6. 16 Jun, 2014 40 commits
  7. 02 Jun, 2014 40 commits
  8. 14 Jan, 2014 40 commits
  9. 08 Jan, 2014 40 commits
  10. 07 Oct, 2013 40 commits
    • Nikolai Kosjar's avatar
      CppTools: Adapt C++ locator names to reality · 872bfb70
      Nikolai Kosjar authored
      The new names are:
      
      * C++ Methods in Current Document -> C++ Symbols in Current Document
      * C++ Classes and Methods -> C++ Classes, Enums and Functions
      * C++ Methods and Functions -> C++ Functions
      
      Further notes:
      
      * "C++ Classes" stays the same.
      * The term "Methods" was removed since "Functions" says it all (member
        functions, non-member functions). Because of this, the "m" shortcut
        for this filter does not fit so well to the name anymore.
      * "C++ Symbols in..." - "Symbols" means the same as in the C++ Search
        dialog: classes, enums, functions and declarations
      
      Change-Id: I8e5f410f2dcb1fafe83d0a1c8607f4c17eabbb8c
      Reviewed-by: default avatarLeena Miettinen <riitta-leena.miettinen@digia.com>
      872bfb70
  11. 13 Sep, 2013 40 commits
  12. 12 Sep, 2013 40 commits
  13. 30 Aug, 2013 40 commits
  14. 26 Aug, 2013 40 commits
  15. 22 Aug, 2013 40 commits
    • Nikolai Kosjar's avatar
      Locator: Case sensitivity of input affects prioritizing · ef018ddd
      Nikolai Kosjar authored
      So far candidates were prefix matched case sensitive which led to
      an unfavorable results order.
      
      With this patch, if the input is lower case, the prioritizing happens by
      a case insensitive prefix match. Otherwise the match happens case
      sensitive (just like before).
      
      Example:
      
          Search for e.g. "m cppmodelmanager"
          Top result before: AbstractEditorSupport (match at parameter type)
          Top result now: CppModelManager
      
      Change-Id: Ic27042cfe717be812a2237a3437399597c98dd74
      Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
      Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
      ef018ddd
  16. 25 Jul, 2013 40 commits
  17. 05 Jun, 2013 40 commits
    • 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
  18. 03 Jun, 2013 40 commits
  19. 10 Apr, 2013 40 commits
  20. 03 Apr, 2013 40 commits
  21. 07 Mar, 2013 40 commits
  22. 29 Jan, 2013 40 commits
  23. 18 Jan, 2013 40 commits
  24. 22 Nov, 2012 40 commits
  25. 05 Oct, 2012 40 commits
  26. 11 Sep, 2012 40 commits
  27. 19 Jul, 2012 40 commits
  28. 30 Apr, 2012 40 commits
  29. 15 Feb, 2012 40 commits
  30. 26 Jan, 2012 40 commits
  31. 02 Dec, 2011 40 commits
  32. 10 Nov, 2011 40 commits
    • hjk's avatar
      more Id type fixes · 82f55736
      hjk authored
      Change-Id: I3720946ba5485696822976567d83b4d6cb1fb283
      
      x
      
      Change-Id: Iab58bc34bc56371405d132315573b484a533b77c
      Reviewed-by: default avatarhjk <qthjk@ovi.com>
      82f55736
  33. 03 Nov, 2011 40 commits
  34. 06 May, 2011 40 commits
  35. 13 Apr, 2011 40 commits
  36. 22 Feb, 2011 40 commits
    • hjk's avatar
      texteditor: merge ITextEditable into ITextEditor · f576ad9f
      hjk authored
      rename BastTextEditor->BaseTextEditorWidget, BaseTextEditorEditable->BaseTextEditor
      rename BaseTextEditor{,Widget} subclasses
      rename editableInterface->editorInterface
      rename createEditableInterface->createEditor
      minor cleanups after renamings
      f576ad9f
  37. 12 Jan, 2011 40 commits