Skip to content
Snippets Groups Projects
  1. Apr 14, 2014
  2. Mar 17, 2014
    • Nikolai Kosjar's avatar
      CppEditor: Allow force highlighting if using clang · cbf98ba8
      Nikolai Kosjar authored
      
      ...so we can rehighlight if it's requested by the editor. This is e.g.
      necessary if the font size changes.
      
      Task-number: QTCREATORBUG-11502
      Change-Id: I608921899fc37fcf1394db9ff041e6b378196bdd
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
      cbf98ba8
    • Nikolai Kosjar's avatar
      CppTools: Tag incomplete semantic info · 18e6be55
      Nikolai Kosjar authored
      
      ...in order to be able to full-rehighlight on the next turn.
      
      The following sequence was problematic:
      
      1. recalculateSemanticInfoDetached(true)
         * e.g. triggered by opening the document
      2. recalculateSemanticInfoDetached(false)
         * e.g. triggered by moving the cursor
         * cancels 1. and leads to incompletely parsed/checked document - OK
      3. startHighlighting()
         * triggered by 1.; starts highlighting on incomplete document - OK
      4. startHighlighting()
         * gets a completely parsed/checked document - OK
         * not forced, so just compare revisions; they are the same, so
           skip/return - a partly highlighted document is left behind.
      
      Task-number: QTCREATORBUG-11367
      Change-Id: Ic56e00e862ec4a1ffa197b2fc8b48be56a3562de
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
      18e6be55
  3. Mar 13, 2014
  4. Feb 06, 2014
  5. Feb 05, 2014
    • Erik Verbruggen's avatar
      C++: release more futures. · 58af02f0
      Erik Verbruggen authored
      
      The CPPEditorWidget retained two futures, as did the attached future
      watchers retained them too. Together, each future and the watcher held
      on to a complete snapshot that would only get released when another
      future was set. This could result into retaining old snapshots in
      editors that were invisible/unused for long.
      
      Change-Id: I1133e857c620437b4a69b9dad468f6bd458304b8
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
      58af02f0
  6. Jan 14, 2014
  7. Jan 08, 2014
  8. Nov 14, 2013
  9. Nov 12, 2013
    • Erik Verbruggen's avatar
      C++: Release more documents. · 566be099
      Erik Verbruggen authored
      
      - fix memory leak in find-usages
      - do not retain snapshot in search history
      - when an editor is invisible for more than 2 minutes, release the
        backing snapshot
      
      Retaining snapshots will retain their documents, and if done for too
      long, the memory consumption might grow. This is especially the case
      when switching to a different kit (Qt version): in that case, the new
      versions of headers will be indexed, while the old ones stay around.
      
      Task-number: QTCREATORBUG-5583
      Task-number: QTCREATORBUG-7645
      Task-number: QTCREATORBUG-9842
      
      Change-Id: I045eda1565e0a3fa702baeffaab9c12662f90289
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
      566be099
  10. Oct 01, 2013
  11. Sep 11, 2013
  12. Sep 09, 2013
  13. Aug 19, 2013
  14. Jun 24, 2013
  15. May 15, 2013
  16. May 07, 2013
  17. May 02, 2013
  18. Apr 30, 2013
  19. Apr 29, 2013
    • Orgad Shaneh's avatar
      Fix link error with MSVC · a8ff5e83
      Orgad Shaneh authored
      
      CppTools.lib(CppTools.dll) : error LNK2005: "public: virtual __thiscall
        QFutureInterface<class TextEditor::HighlightingResult>::~QFutureInterface<class TextEditor::HighlightingResult>(void)"
        (??1?$QFutureInterface@VHighlightingResult@TextEditor@@@@UAE@XZ) already defined in moc_cppeditor.obj
         Creating library ..\..\..\lib\qtcreator\plugins\QtProject\CppEditor.lib and object
         ..\..\..\lib\qtcreator\plugins\QtProject\CppEditor.exp..\..\..\lib\qtcreator\plugins\QtProject\CppEditor.dll :
         fatal error LNK1169: one or more multiply defined symbols found
      
      Change-Id: Id53a0f8a99dbd18a9cbdf2af57b4f3970f5c41a3
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
      a8ff5e83
  20. Apr 26, 2013
  21. Apr 10, 2013
  22. Apr 08, 2013
  23. Apr 03, 2013
  24. Feb 21, 2013
  25. Jan 29, 2013
  26. Oct 05, 2012
  27. Jul 19, 2012
  28. Feb 20, 2012
  29. Feb 15, 2012
  30. Feb 08, 2012
  31. Jan 26, 2012
  32. Nov 03, 2011
  33. May 06, 2011
  34. Apr 13, 2011
  35. Feb 04, 2011
  36. Jan 12, 2011
  37. Dec 17, 2010
Loading