1. 05 Mar, 2015 2 commits
  2. 26 Feb, 2015 1 commit
  3. 16 Jan, 2015 1 commit
  4. 12 Jan, 2015 1 commit
  5. 18 Dec, 2014 1 commit
  6. 09 Oct, 2014 1 commit
  7. 22 Sep, 2014 2 commits
  8. 08 Sep, 2014 1 commit
  9. 18 Jun, 2014 1 commit
    • 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
  10. 16 Jun, 2014 1 commit
  11. 04 Jun, 2014 1 commit
  12. 02 Jun, 2014 1 commit
  13. 28 May, 2014 1 commit
  14. 31 Mar, 2014 1 commit
  15. 14 Jan, 2014 1 commit
  16. 08 Jan, 2014 1 commit
  17. 07 Oct, 2013 1 commit
    • 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
  18. 02 Oct, 2013 1 commit
  19. 13 Sep, 2013 2 commits
  20. 30 Aug, 2013 1 commit
  21. 26 Aug, 2013 1 commit
  22. 22 Aug, 2013 1 commit
    • 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
  23. 09 Jul, 2013 1 commit
  24. 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
  25. 03 Jun, 2013 1 commit
  26. 10 Apr, 2013 1 commit
  27. 03 Apr, 2013 1 commit
  28. 29 Jan, 2013 1 commit
  29. 18 Jan, 2013 1 commit
  30. 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
  31. 26 Nov, 2012 1 commit
  32. 22 Nov, 2012 1 commit
  33. 05 Oct, 2012 1 commit
  34. 19 Jul, 2012 1 commit
  35. 30 Apr, 2012 1 commit
  36. 20 Feb, 2012 1 commit
  37. 15 Feb, 2012 1 commit