1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

10684 commits

Author SHA1 Message Date
Markus Schorn
b562fc5469 Bug 327298: [C++11] Support for nullptr 2012-05-04 09:37:40 +02:00
Sergey Prigogin
981cdfcee6 Cosmetics. 2012-05-02 21:16:32 -07:00
Sergey Prigogin
88415fb2a1 Cosmetics. 2012-05-02 20:55:43 -07:00
Sergey Prigogin
3c572e9afb Obtain timestamp and file size _before_ reading the file contents to
protect the index from getting stale.
2012-05-02 20:35:52 -07:00
Andrew Gvozdev
d9caf9f42b NPE when trying to save non-C file in editor:
java.lang.NullPointerException
	at org.eclipse.cdt.internal.ui.editor.CEditor.editorSaved(CEditor.java:3776)
	at org.eclipse.ui.texteditor.AbstractTextEditor.performSave(AbstractTextEditor.java:5058)
2012-05-02 14:56:36 -04:00
Sergey Prigogin
fcaa09aaf8 Cosmetics. 2012-05-02 11:43:18 -07:00
Sergey Prigogin
64bd893b0b More flexible PDOMUpdateTask.setTranslationUnitSelection method. 2012-05-02 11:38:35 -07:00
Sergey Prigogin
025ae5751d Bug 377838. Moved the logic from CPPScope to CPPNamespaceScope in
accordance with Markus' suggestion.
2012-05-02 11:26:06 -07:00
Sergey Prigogin
90e1dc0b1b Cosmetics. 2012-05-02 11:12:34 -07:00
Andrew Gvozdev
5edeb05a5b bug 328007: [sd90] Disablement of property pages depending on preference 2012-05-01 23:05:41 -04:00
Andrew Gvozdev
2b5e3e6a20 bug 328007: [sd90] Design user interface for new scanner discovery 2012-05-01 23:05:37 -04:00
xgsa
aae4b1de8e Bug 377992 - Enable the "Index unused headers" preference by default
Change-Id: Ie482a5f63b82f572cabc55d3a08c808e5c3d3825
Reviewed-on: https://git.eclipse.org/r/5756
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-05-01 17:56:04 -04:00
Alex Ruiz
a5e61b3f44 Bug 372551. Made "run on save" checker launch mode independent of
CodanBuilder. Introduced IPostSaveListener. Show external tool name in
console (instead of "CDT Build").

Change-Id: Id2f84acdbdc433084fab1360f80ca3a30a4182ab
Reviewed-on: https://git.eclipse.org/r/5760
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-05-01 13:15:46 -04:00
Sergey Prigogin
344f3979de Changed return type of CEditor.getInputCElement to be IWorkingCopy. The
method already returned a working copy before this change but it was
implicit.
2012-04-30 16:28:21 -07:00
Sergey Prigogin
5bf7b89b5f Cosmetics. 2012-04-30 16:28:07 -07:00
Marc-Andre Laperle
9ba6060632 Bug 309112 - "Open Declaration" window doesn't remember own size
Change-Id: I4fb1ed4ab0035c79a98bb5c8b7d33c6b2c22de92
Reviewed-on: https://git.eclipse.org/r/5682
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Reviewed-by: Marc-Andre Laperle <malaperle@omnialabs.net>
IP-Clean: Marc-Andre Laperle <malaperle@omnialabs.net>
Tested-by: Marc-Andre Laperle <malaperle@omnialabs.net>
2012-04-30 12:17:35 -04:00
Sergey Prigogin
b136bb95d0 Prevented class loading avalanche on UI thread when CDT is installed but
is not actively used.
2012-04-28 23:19:40 -07:00
Sergey Prigogin
82fb03e1a0 Messages class is not API. 2012-04-28 16:57:39 -07:00
Sergey Prigogin
c51e0ece36 toString method. 2012-04-27 19:20:28 -07:00
Sergey Prigogin
e1b227f338 Added IIndexFile.toDebugString method. 2012-04-27 19:20:09 -07:00
Sergey Prigogin
cf5d550888 Cosmetics. 2012-04-27 19:19:38 -07:00
David Salinas
38ecfea632 Bug 375859 - Refresh scope becomes empty after closing/opening project
if left to default
2012-04-27 15:19:40 -04:00
Alex Ruiz
247c492036 Removed Pair class. Replaced getErrorParserAvailableIds()
with getErrorParserAvailableIdsInContext(String) where appropriate.
IErrorParser3 extends IErrorParser directly.

Change-Id: Ie0ccd4835a797a4911275cb28410f2b26236976c
Reviewed-on: https://git.eclipse.org/r/5683
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-04-27 13:49:30 -04:00
Sergey Prigogin
b6a384b943 Bug 377838 - Name resolution gets confused by a class and a namespace
with the same name
2012-04-26 20:37:56 -07:00
Sergey Prigogin
5ef2d0db02 toString method 2012-04-26 20:37:45 -07:00
Sergey Prigogin
52ac0596f6 Cosmetics. 2012-04-26 20:37:32 -07:00
Alex Ruiz
181907f2fd Bug 372551. Fixed running checkers on file open. Split "On file save"
launch mode into "On file save" and "On file open". Removed warnings in
project org.eclipse.cdt.codan.ui.cxx.

Change-Id: I7f0bc16731ba36e8048904f19836da9ae47514de
Reviewed-on: https://git.eclipse.org/r/5665
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-04-26 23:02:11 -04:00
Markus Schorn
ff6444f9b8 Bug 377457: Name resolution for exception specification. 2012-04-26 11:55:34 +02:00
Markus Schorn
755d3975a6 Bug 376246: Name resolution in catch handler of function definition. 2012-04-26 10:16:27 +02:00
Alex Ruiz
ba5775f033 Bug 372551. Fixed semantics of ErrorParserManager (e.g.
getErrorParserAvailableIds()) get by removing knowledge of
contexts from internal data structures (introduced in previous change
set).

Change-Id: Ia1ff68841f3b494a209e8cdf45325d640fd74ddf
Reviewed-on: https://git.eclipse.org/r/5656
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-04-25 16:44:50 -04:00
Sergey Prigogin
c7be116351 Bug 332895 - Rename does not change using-declarations 2012-04-24 18:24:05 -07:00
Sergey Prigogin
10f7e547a1 Cosmetics. 2012-04-24 17:31:36 -07:00
Marc-Andre Laperle
68b6f3dc90 Upgrade to Tycho 0.14.1 2012-04-23 00:25:47 -04:00
Marc Khouzam
6abf9e1a42 Bug 317173: Cleanup warnings for DSF-GDB. 2012-04-20 15:38:21 -04:00
Sergey Prigogin
325175292a Minor optimization. 2012-04-19 19:38:54 -07:00
Sergey Prigogin
c1066f1e4a Bug 377223 - Name resolution problem caused by a const qualifier in
template parameter
2012-04-19 19:01:13 -07:00
Sergey Prigogin
c4b91212b3 Cosmetics. 2012-04-19 18:59:43 -07:00
Sergey Prigogin
d193756141 Fixed broken error parser tests. 2012-04-19 18:56:27 -07:00
Sergey Prigogin
7bccb394be Bug 377223. Added a failing test case. 2012-04-19 15:47:48 -07:00
Sergey Prigogin
b3bc74fb45 Renamed IErrorParser3.endOfStream method to shutdown for consistency
with IConsoleParser.
2012-04-19 13:52:20 -07:00
Sergey Prigogin
a8bcd69646 Renamed IErrorParser3.streamFinished method to endOfStream and adjusted
Javadoc comments.
2012-04-19 13:44:58 -07:00
Sergey Prigogin
e58cbbc948 Cosmetics. 2012-04-19 11:06:27 -07:00
Sergey Prigogin
2edf81c8a3 Bumped up PDOM version to trigger index rebuild. The rebuild is needed
to fix definition of int64_t and other types that depend on attributes.
2012-04-18 13:53:12 -07:00
Andrew Gvozdev
357057ba14 bug 371797: Fixed bug when in legacy mode scanner discovery doesn't run after creation of a project 2012-04-18 15:55:33 -04:00
Alex Ruiz
1f83e4aa21 Bug 372551. Codan support for writing checkers that invoke external
tools.

Change-Id: Ia5cfd24d54ec6e67e08f24a367a6bc689ae407d0
Reviewed-on: https://git.eclipse.org/r/5586
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-04-18 15:52:48 -04:00
Doug Schaefer
4a8860255e Hide the new new project wizard. Likely to be deferred to Kepler. 2012-04-18 11:56:43 -04:00
Sergey Prigogin
83cf5dc830 Cosmetics. 2012-04-17 20:11:24 -07:00
Sergey Prigogin
e7ef578e94 Bug 377045 - Bogus transient errors in C/C++ editor soon after Eclipse
startup.
2012-04-17 19:56:31 -07:00
Sergey Prigogin
885f6f1b7e Cosmetics. 2012-04-17 19:56:18 -07:00
Sergey Prigogin
9475940089 Fixed a compiler warning. 2012-04-17 19:55:24 -07:00