<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/qt-creator.git/src/plugins/cpptools/cppmodelmanager.cpp, branch wip/clang</title>
<subtitle>code.qt.io: qt-creator/qt-creator.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt-creator.git/'/>
<entry>
<title>C++: split defines into project-defined and toolchain-defined.</title>
<updated>2013-12-10T10:42:41+00:00</updated>
<author>
<name>Erik Verbruggen</name>
<email>erik.verbruggen@digia.com</email>
</author>
<published>2013-11-27T14:17:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt-creator.git/commit/?id=ea1a92484ac99057b06130a012164bf9788650e9'/>
<id>ea1a92484ac99057b06130a012164bf9788650e9</id>
<content type='text'>
So we can ignore possibly problematic toolchain-defines, while can still
unconditionally apply project-defines.

Change-Id: I7cb96f35a963d080011fe888ef71bfc098dd33ef
Reviewed-by: Nikolai Kosjar &lt;nikolai.kosjar@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So we can ignore possibly problematic toolchain-defines, while can still
unconditionally apply project-defines.

Change-Id: I7cb96f35a963d080011fe888ef71bfc098dd33ef
Reviewed-by: Nikolai Kosjar &lt;nikolai.kosjar@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>CppTools: Add revisions to AbstractEditorSupport</title>
<updated>2013-11-25T16:40:30+00:00</updated>
<author>
<name>Nikolai Kosjar</name>
<email>nikolai.kosjar@digia.com</email>
</author>
<published>2013-11-25T14:22:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt-creator.git/commit/?id=51d91a6075164f4168c06db3e53fc04e1dd3eb8e'/>
<id>51d91a6075164f4168c06db3e53fc04e1dd3eb8e</id>
<content type='text'>
So far revisions for AbstractEditorSupport were not needed because until
recently we only had a single snapshot ("global snapshot"). Now, since
editor snapshots are introduced, we need to make sure to update the
corresponding documents in these snapshots, too. To do this efficiently,
a revision is introduced for AbstractEditorSupport.

Task-number: QTCREATORBUG-10894

Change-Id: Ibad1dbbafb7c721d1328959c1e903345fe465326
Reviewed-by: Christian Stenger &lt;christian.stenger@digia.com&gt;
Reviewed-by: Erik Verbruggen &lt;erik.verbruggen@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So far revisions for AbstractEditorSupport were not needed because until
recently we only had a single snapshot ("global snapshot"). Now, since
editor snapshots are introduced, we need to make sure to update the
corresponding documents in these snapshots, too. To do this efficiently,
a revision is introduced for AbstractEditorSupport.

Task-number: QTCREATORBUG-10894

Change-Id: Ibad1dbbafb7c721d1328959c1e903345fe465326
Reviewed-by: Christian Stenger &lt;christian.stenger@digia.com&gt;
Reviewed-by: Erik Verbruggen &lt;erik.verbruggen@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Designer/CppTools: Fix flaky test_gotoslot_withoutProject</title>
<updated>2013-11-14T07:34:45+00:00</updated>
<author>
<name>Nikolai Kosjar</name>
<email>nikolai.kosjar@digia.com</email>
</author>
<published>2013-11-13T13:31:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt-creator.git/commit/?id=36ce1dbb84ff3fb557c781029cf5aa7e5051ea4a'/>
<id>36ce1dbb84ff3fb557c781029cf5aa7e5051ea4a</id>
<content type='text'>
The document was not always updated in time.

Change-Id: Iac89985d39a8784e3cbf63dfd42b1c5150775068
Reviewed-by: Christian Stenger &lt;christian.stenger@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The document was not always updated in time.

Change-Id: Iac89985d39a8784e3cbf63dfd42b1c5150775068
Reviewed-by: Christian Stenger &lt;christian.stenger@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>C++: Release more documents.</title>
<updated>2013-11-12T08:24:13+00:00</updated>
<author>
<name>Erik Verbruggen</name>
<email>erik.verbruggen@me.com</email>
</author>
<published>2013-10-10T08:26:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt-creator.git/commit/?id=566be0995d184cd2c3f99d006ffb7249aeff2e57'/>
<id>566be0995d184cd2c3f99d006ffb7249aeff2e57</id>
<content type='text'>
- 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: Erik Verbruggen &lt;erik.verbruggen@digia.com&gt;
Reviewed-by: Nikolai Kosjar &lt;nikolai.kosjar@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- 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: Erik Verbruggen &lt;erik.verbruggen@digia.com&gt;
Reviewed-by: Nikolai Kosjar &lt;nikolai.kosjar@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename "[Mm]ethod(s)" to "[Ff]unction(s)"</title>
<updated>2013-10-10T13:56:12+00:00</updated>
<author>
<name>Nikolai Kosjar</name>
<email>nikolai.kosjar@digia.com</email>
</author>
<published>2013-10-07T11:34:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt-creator.git/commit/?id=b8dbac0b9c4c45ee0d17d16eeae9086a14e9656a'/>
<id>b8dbac0b9c4c45ee0d17d16eeae9086a14e9656a</id>
<content type='text'>
Only methods as programming functions are affected. Besides renaming
some actions like "Switch Between Function Declaration/Definition" this
mostly touches (api) code comments.

This is a follow-up patch to commit 872bfb7.

Change-Id: Icb65e8d73b59a022f8885b14df497169543a3b92
Reviewed-by: hjk &lt;hjk121@nokiamail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only methods as programming functions are affected. Besides renaming
some actions like "Switch Between Function Declaration/Definition" this
mostly touches (api) code comments.

This is a follow-up patch to commit 872bfb7.

Change-Id: Icb65e8d73b59a022f8885b14df497169543a3b92
Reviewed-by: hjk &lt;hjk121@nokiamail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>CppTools: Tests: Fix crash in test_modelmanager_gc_if_last_cppeditor_closed</title>
<updated>2013-10-09T13:02:45+00:00</updated>
<author>
<name>Nikolai Kosjar</name>
<email>nikolai.kosjar@digia.com</email>
</author>
<published>2013-10-04T10:25:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt-creator.git/commit/?id=90130f459629f3afa49a386e8a29cddffd21a6d1'/>
<id>90130f459629f3afa49a386e8a29cddffd21a6d1</id>
<content type='text'>
The project that was referenced at cppeditor.cpp:711 was already
deleted. CppModelManager::m_fileToProjectParts contained outdated
information. Now it is updated if a project is closed.

Exposed by commit d411c07.

Change-Id: I6fee93a02c72a045dd44a05723ab39a1eeec616e
Reviewed-by: Erik Verbruggen &lt;erik.verbruggen@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The project that was referenced at cppeditor.cpp:711 was already
deleted. CppModelManager::m_fileToProjectParts contained outdated
information. Now it is updated if a project is closed.

Exposed by commit d411c07.

Change-Id: I6fee93a02c72a045dd44a05723ab39a1eeec616e
Reviewed-by: Erik Verbruggen &lt;erik.verbruggen@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>C++: Only parse with appropriate defines for open editors.</title>
<updated>2013-10-01T08:33:51+00:00</updated>
<author>
<name>Erik Verbruggen</name>
<email>erik.verbruggen@digia.com</email>
</author>
<published>2013-08-19T14:05:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt-creator.git/commit/?id=ba2d7a4fa7c29ea2d62da3d6f6835a091f604656'/>
<id>ba2d7a4fa7c29ea2d62da3d6f6835a091f604656</id>
<content type='text'>
If two files from different (sub-)projects include the same header file,
and the defined macros differ for both files, the header file will be
parsed with only the appropriate macros for the including file.

Task-number: QTCREATORBUG-9802
Task-number: QTCREATORBUG-1249

Change-Id: I560490afa287b3bb1e863bce1bb4f57af36ad56e
Reviewed-by: Nikolai Kosjar &lt;nikolai.kosjar@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If two files from different (sub-)projects include the same header file,
and the defined macros differ for both files, the header file will be
parsed with only the appropriate macros for the including file.

Task-number: QTCREATORBUG-9802
Task-number: QTCREATORBUG-1249

Change-Id: I560490afa287b3bb1e863bce1bb4f57af36ad56e
Reviewed-by: Nikolai Kosjar &lt;nikolai.kosjar@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>C++: add code-model settings to choose one by mime-type.</title>
<updated>2013-09-13T12:37:48+00:00</updated>
<author>
<name>Erik Verbruggen</name>
<email>erik.verbruggen@digia.com</email>
</author>
<published>2013-09-06T11:14:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt-creator.git/commit/?id=c9f5a14bdde5a9ba7cbdcddf6b7799abac32a5e2'/>
<id>c9f5a14bdde5a9ba7cbdcddf6b7799abac32a5e2</id>
<content type='text'>
The model-manager now supports multiple code models for semantic
highlighting and code completion, and will choose one based on the
mime-type of the editor.

The settings page is currently disabled. It will get enabled when a
second plug-in lands that has a ModelManagerSupport class.

Change-Id: I10023f52322ed6860397da15dba1c231e80e6517
Reviewed-by: Nikolai Kosjar &lt;nikolai.kosjar@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The model-manager now supports multiple code models for semantic
highlighting and code completion, and will choose one based on the
mime-type of the editor.

The settings page is currently disabled. It will get enabled when a
second plug-in lands that has a ModelManagerSupport class.

Change-Id: I10023f52322ed6860397da15dba1c231e80e6517
Reviewed-by: Nikolai Kosjar &lt;nikolai.kosjar@digia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>C++: change working-copy to work on UTF-8 encoded QByteArrays.</title>
<updated>2013-09-11T07:43:14+00:00</updated>
<author>
<name>Erik Verbruggen</name>
<email>erik.verbruggen@digia.com</email>
</author>
<published>2013-08-19T13:47:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt-creator.git/commit/?id=f7c68f6baf104729e8d2fb3a0693b3c59928f8d3'/>
<id>f7c68f6baf104729e8d2fb3a0693b3c59928f8d3</id>
<content type='text'>
These not only take less space than UTF-16 encoded QStrings, but due to
the caching in the CppEditorSupport also take less time to build.

This patch also fixes a number of possible encoding issues, where files
and constant strings were (falsely) assumed to be UTF-8.

Change-Id: Ib6f91c9a94ebed5b5dfbd4eb2998825c62c72784
Reviewed-by: Nikolai Kosjar &lt;nikolai.kosjar@digia.com&gt;
Reviewed-by: hjk &lt;hjk121@nokiamail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These not only take less space than UTF-16 encoded QStrings, but due to
the caching in the CppEditorSupport also take less time to build.

This patch also fixes a number of possible encoding issues, where files
and constant strings were (falsely) assumed to be UTF-8.

Change-Id: Ib6f91c9a94ebed5b5dfbd4eb2998825c62c72784
Reviewed-by: Nikolai Kosjar &lt;nikolai.kosjar@digia.com&gt;
Reviewed-by: hjk &lt;hjk121@nokiamail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>C++: unify highlighting/code-completion support "factories".</title>
<updated>2013-09-10T09:45:38+00:00</updated>
<author>
<name>Erik Verbruggen</name>
<email>erik.verbruggen@digia.com</email>
</author>
<published>2013-09-04T16:15:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt-creator.git/commit/?id=3a5d3a2fe93f2d565713790cee6c981169a888c2'/>
<id>3a5d3a2fe93f2d565713790cee6c981169a888c2</id>
<content type='text'>
Both semantic highlighting and code-completion go hand-in-hand, so now
the ModelManagerSupport class acts as a "factory" for the model manager.
Depending on the mime-type of the document in the editor, the model
manager will return the appropriate highlighter or code-completion
engine. If none is registered, the built-in fall-back is used.

Change-Id: I3e5dbb0e3b58e077dd5eda9aecb2ce5d448ac0b8
Reviewed-by: Nikolai Kosjar &lt;nikolai.kosjar@digia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Both semantic highlighting and code-completion go hand-in-hand, so now
the ModelManagerSupport class acts as a "factory" for the model manager.
Depending on the mime-type of the document in the editor, the model
manager will return the appropriate highlighter or code-completion
engine. If none is registered, the built-in fall-back is used.

Change-Id: I3e5dbb0e3b58e077dd5eda9aecb2ce5d448ac0b8
Reviewed-by: Nikolai Kosjar &lt;nikolai.kosjar@digia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
