1. 21 Jan, 2015 1 commit
  2. 16 Jan, 2015 1 commit
  3. 05 Nov, 2014 1 commit
  4. 09 Oct, 2014 1 commit
  5. 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
  6. 16 Jun, 2014 1 commit
  7. 04 Jun, 2014 1 commit
  8. 02 Jun, 2014 1 commit
  9. 28 May, 2014 1 commit
  10. 31 Mar, 2014 1 commit
  11. 08 Jan, 2014 1 commit
  12. 30 Aug, 2013 1 commit
    • Nikolai Kosjar's avatar
      CppTools: Introduce LocatorData · fc731a3a
      Nikolai Kosjar authored
      Until now the locator filters CppLocatorFilter, CppClassesFilter and
      CppFunctionsFilter used unnecessarily their own SearchSymbols instance.
      The results were also saved separately, which was unfavorable since e.g.
      the functions and classes data could be shared.
      
      Starting with this patch an instance of LocatorData will serve all
      mentioned filters.
      
      This saves about 20MB of memory after indexing the Qt Creator project.
      
      Change-Id: I8a34b67eb9fe0e5c68ba6e7c8f576389c78efc6f
      Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
      fc731a3a