1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-05 08:05:24 +02:00
Commit graph

11722 commits

Author SHA1 Message Date
Sergey Prigogin
ed18e296f9 Deprecated AbstractCLikeLanguage.getScannerExtensionConfiguration()
method.
2013-07-17 11:48:29 -07:00
Nathan Ridge
1715d11177 Bug 412463 - Code completion stops working in the presence of predefined
macro

Change-Id: Iabeb0742ce5564a150f859185c0f8eb64805955a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14399
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-07-17 11:46:38 -07:00
Nathan Ridge
7aabe920e7 Fixed an "unsafe method call" exception.
Change-Id: Iacc5a6a5c410766bd14ef2ec4ac626d1077e93b6
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14398
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-07-17 11:46:15 -07:00
Thomas Corbat
0d801f0615 Refactoring:
- Merged declaration an initialization of result variable in
initializerList, as conditional initialization is executed exactly once,
unless a parse exception occurs.
- Removed dead code: Conditional return.

Change-Id: Ia8c2bcb5f76a56d6b71ad80095a546ebd4f9ac03
2013-07-17 11:45:02 -07:00
Sergey Prigogin
f1d8f063a5 Cosmetics. 2013-07-17 11:44:11 -07:00
Nathan Ridge
bd09498344 Bug 412463 - Code completion stops working in the presence of
preprocessor-provided macros

Change-Id: Ifc5621133ac1ad55276e3d0c1ea8f99d9101938a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14354
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-07-17 11:42:49 -07:00
Sergey Prigogin
4f0f0bd8f1 Removed an obsolete parsing mode. 2013-07-17 11:42:37 -07:00
Thomas Corbat
046f50d715 Bug 412187 Formatting function-like macro call in equals initializer
Added IASTExpressions to the exclusion in enterNode of
CodeFormatterVisitor when encountering function like macro calls.

Change-Id: I8ea6c5e7ba955299b0d6ca48c93fac275afa65e3
Reviewed-on: https://git.eclipse.org/r/14213
Reviewed-by: Thomas Corbat <tcorbat@hsr.ch>
IP-Clean: Thomas Corbat <tcorbat@hsr.ch>
Tested-by: Thomas Corbat <tcorbat@hsr.ch>
2013-07-17 11:42:18 -07:00
Nathan Ridge
884f6e2044 Bug 408303 - [C++11] Incorrect member not initialized warnings for
template class's defaulted constructors

Change-Id: I61064421c2cee405c9a915abe500c94fa4423eef
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14177
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-07-17 11:40:49 -07:00
Sergey Prigogin
01b1f9a14a Do not insert a space between two closing angle brackets. 2013-07-17 11:40:02 -07:00
Sergey Prigogin
cd99f21d10 Adjusted JavaDoc. 2013-07-17 11:39:10 -07:00
Sergey Prigogin
4f83a22aa2 Fixed version mismatch between MANIFEST.MF and pom.xml. 2013-07-17 11:36:40 -07:00
Sergey Prigogin
355a61adba Cosmetics. 2013-07-17 11:34:22 -07:00
Sergey Prigogin
a0d72e24cc Bug 45203. User configurable header substitution rules. 2013-07-17 11:28:06 -07:00
Sergey Prigogin
df587a379d Cosmetics. 2013-07-17 11:11:29 -07:00
Sergey Prigogin
67779e5dd1 Code streamlining. 2013-07-17 11:11:11 -07:00
Sergey Prigogin
ab962529ba Bug 410136 - Exception when editing CDTMainWizardPage in Windows Builder 2013-07-17 11:10:10 -07:00
Sergey Prigogin
dbf294e305 Cosmetics. 2013-07-17 11:09:31 -07:00
Sergey Prigogin
e6e7540c2f Don't produce a blank line at the top of the file if file comment
template is blank. Trim blank lines at the end of the file.
2013-07-17 11:09:05 -07:00
Andrew Gvozdev
1a2ea1babc Bug 412919: Show project refreshing after build in progress monitor as a separate task 2013-07-15 21:35:48 -04:00
Andrew Gvozdev
c3f5695fec Bug 412989: GCC Builtin Compiler Settings won't clear its entries 2013-07-15 12:32:37 -04:00
Anton Leherbauer
7d4653b085 Bug 412081 - Exception enabling mark occurrences on an external file 2013-07-15 14:51:54 +02:00
Andrew Gvozdev
fc77bb25a2 Bug 412919: Progress monitor shows previous build command rather than the one which is running 2013-07-14 10:17:39 -04:00
Marc-Andre Laperle
cca1933f7a Bug 412032 - Extract local variable doesn't suggest a name in C source
files

Change-Id: I73e7f80713132521d757482c6ffbf839b5d2679f
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/14168
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-07-01 16:21:04 -04:00
Sergey Prigogin
83c3e6d27f Bug 410519 - UnsupportedOperationException: addMember method should be
called instead.
2013-06-11 16:05:43 -07:00
Sergey Prigogin
596d2825e3 Bug 410074 - Refactoring throws NullPointerException 2013-06-06 20:49:03 -07:00
Andrew Gvozdev
7dc675dc92 bug 409392: Context help for new Scanner Discovery "Preprocessor Includes, Macros..." property/preference pages 2013-06-05 16:03:54 -04:00
Andrew Gvozdev
0062971af1 bug 409697: References to "required from" appear in red in the console and are flagged as errors in the problems view. 2013-06-04 22:21:49 -04:00
Sergey Prigogin
2358322ab5 Bug 409896 - NPE in StubUtility.getFileContent when the template is
empty
2013-06-04 14:42:47 -07:00
Sergey Prigogin
3336cd19e6 Corrected names of index-related commands. 2013-06-04 12:35:43 -07:00
Marc-Andre Laperle
9e1e3ce04f Bug 409663 - [Mac] Command-Shift-Up/Down is not handled in standard way
Change-Id: I667b9038e4a92201883c702c0673d7ba33cd386c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13471
2013-06-02 15:26:44 -04:00
Sergey Prigogin
b7969ba527 Bug 401621 - CDT formatter hangs with 100% cpu load 2013-05-30 21:44:37 -07:00
Sergey Prigogin
da9f840d2e Cosmetics. 2013-05-30 18:53:48 -07:00
Sergey Prigogin
51e8509b3e Bug 409444 - IllegalArgumentException while indexing 2013-05-30 15:15:23 -07:00
Sergey Prigogin
619e22ea88 Cosmetics. 2013-05-30 15:14:58 -07:00
Nathan Ridge
67425186a2 Bug 409107 - Incorrect instantiation of const member access
Change-Id: I5909d7998e86a28d3c44172c3e80cad06c6b1b1b
Reviewed-on: https://git.eclipse.org/r/13169
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-05-28 00:50:26 -04:00
Nathan Ridge
9b1c2b0313 Bug 409100 - __is_base_of doesn't work with typedef
Change-Id: I3d108ef673d8e9f8feb799c1bc451bec8855cea4
Reviewed-on: https://git.eclipse.org/r/13167
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-05-28 00:47:08 -04:00
Nathan Ridge
57260c389d Bug 409094 - Incorrect partial ordering of function templates
Change-Id: Ia4e56f8662c93810776e88932d0a44358f7d5577
Reviewed-on: https://git.eclipse.org/r/13164
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-05-28 00:45:30 -04:00
Nathan Ridge
2d97fb20b7 Bug 409078 - Type resolution failure involving templates and inheritance
Change-Id: I2764c7a6a1121bd35cd8c025388949948eed6e0e
Reviewed-on: https://git.eclipse.org/r/13162
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-05-26 18:40:25 -04:00
Nathan Ridge
255cd71f24 Bug 409056 - Invalid ambiguity with templated conversion operator
Change-Id: I9f56c875899ee2543aab2090387dbbdfd0e489b4
Reviewed-on: https://git.eclipse.org/r/13151
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-05-26 14:45:14 -04:00
Sergey Prigogin
dc086d6a53 Combined classes CPPNameCollector and CNameCollector into a single
NameCollector class, as was suggested by Nathan Ridge.
2013-05-26 11:27:05 -07:00
Sergey Prigogin
6ffc402b86 Generics. 2013-05-26 11:23:00 -07:00
Sergey Prigogin
7d038752af Bug 408314. Fixed a broken test. 2013-05-24 12:37:02 -07:00
Sergey Prigogin
6361c8c402 Cosmetics. 2013-05-24 11:22:08 -07:00
Sergey Prigogin
0a02f04daa Cosmetics. 2013-05-24 11:14:37 -07:00
Danny Ferreira
2740141e2e Bug 408314 - Failure of dependent base lookup
Change-Id: Ib689ed08b14fedc88893b406a552df6adeb546f9
Reviewed-on: https://git.eclipse.org/r/13042
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-05-24 14:10:54 -04:00
Caroline Rieder
ecb373f340 V.3 - Bug 405239 - Index actions are only available within context menu
The provided patch contributes the Index actions to the global Project
menu using the command/handler extension points.

Project related actions are enabled when:
- When an ICProject, an ICContainer or an ITranslationUnit is selected
  in the Project Explorer and the Project Explorer has the focus
- When a file of an ICProject is open in the Editor and the Editor has
  the focus

File related action is enabled when:
- When an ITranslationUnit is selected in the Project Explorer and the
  Project Explorer has the focus
- When an ITranslationUnit is open in the Editor and the Editor has the
  focus

Change-Id: I11f05e2b2f0c8f1652b0ee7e655aacacd03c7fde
Signed-off-by: Caroline Rieder <caroline.rieder@windriver.com>
Reviewed-on: https://git.eclipse.org/r/13123
Reviewed-by: Anton Leherbauer <anton.leherbauer@windriver.com>
IP-Clean: Anton Leherbauer <anton.leherbauer@windriver.com>
Tested-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2013-05-24 09:54:20 -04:00
Sergey Prigogin
2a84dfb7e3 Fixed invalid resource keys. 2013-05-23 18:16:26 -07:00
Sergey Prigogin
d625eaccc4 More descriptive test name. 2013-05-23 15:29:15 -07:00
Sergey Prigogin
17e311d5cb Cosmetics. 2013-05-23 15:22:58 -07:00