1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-30 21:55:31 +02:00
Commit graph

4699 commits

Author SHA1 Message Date
Sergey Prigogin
fcc251f0b5 Cosmetics. 2015-08-10 17:06:34 -07:00
Martin Stumpf
1386247a0e Bug 436041 - doxygen tags are not generated when using single line format /// or //!
Change-Id: I1c392d1ea360efcc62328ce1541a42439948706b
Signed-off-by: Martin Stumpf <stumpfpublic@gmail.com>
2015-08-05 15:22:59 +02:00
Nathan Ridge
7237fa8ac6 Bug 473576 - If the enclosing element of a search result is a class
member, include the class name in the search view

Change-Id: Idbf86a22c9000328aecbab50f3f562f721bb64f6
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-08-03 19:44:54 -04:00
Nathan Ridge
3b4d359fa6 Bug 473577 - If there are multiple markers on a line, give each one,
from top to bottom, a chance to handle a click

Change-Id: I294b5511e65dfe593dfbb58beda6888da1870779
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-08-03 19:44:30 -04:00
Sergey Prigogin
566dc53c92 Use the formatter line length for margin.
There is a similar change in JDT:
https://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/commit/?id=6d5249a7460d4eadb7933705626efb5fbb168d42
2015-08-03 11:38:37 -07:00
Nathan Ridge
95aa27858c Bug 389191 - NPE in CDocHover.getHoverInfo()
Change-Id: Ied3f42206a5af49577bc487b3c40a1b87a02cd02
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-25 13:07:32 -04:00
Sergey Prigogin
4e6eb33e1f Cosmetics. 2015-07-22 22:12:24 -07:00
Nathan Ridge
5623c39492 Bug 421544 - When searching for the target file for Toggle Source/Header,
prefer files closer to the origin file in the directory structure

Change-Id: I82a3c1dc3f09cecb69e07511dd5b8bed62676b6a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-19 12:21:15 -04:00
Wei Li
654c2999e1 Bug 405678 - fix "show references" not showing all references of a
strucuture field in mixed C and C++ code

Change-Id: Ie5c5f96e18d9b949c69fcf8f330e31fe8a9002da
Signed-off-by: Wei Li <wei.r.li@ericsson.com>
2015-07-13 18:14:29 -04:00
Nathan Ridge
6886023638 Bug 421823 - Heuristically resolve unknown bindings during 'Open
Declaration'

Change-Id: Id48769cae0ded784228780bbf60a30e7e990b073
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-13 14:06:37 -07:00
Nathan Ridge
22fc52aff6 Bug 459181 - Do not persist the state of the 'Hide potential method
calls' and 'Hide read-only references' search filters across searches

Change-Id: I424515f896b4222c247315bc72738cc4070d9e65
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-08 14:10:57 -04:00
Nathan Ridge
7ece374afd Bug 408870 - Do not require a whitespace after 'operator' when searching
for an overloaded operator in the Search or Open Element dialogs

Change-Id: Idd0363cd2cb3d44a822fb2ebc34582feb2238022
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-07-07 15:08:12 -04:00
Johann Draschwandtner
b49fa67882 Bug 464008: CNavigatorContentProvider creates new CProject instance on every invocation
This sometimes leads to issues with Binaries node.

Change-Id: I8f5159c14a2e8056e229582c57878f3d35342d3e
Signed-off-by: Johann Draschwandtner <johann.draschwandtner@windriver.com>
2015-07-02 09:03:11 -04:00
Thomas Corbat
ed3e9cf973 Bug 399931 - Fix for toggling functions with return type from context.
Change-Id: I188d851500c4464d12977c82805679eee31663f2
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2015-06-12 10:35:39 -04:00
Marc Khouzam
bb61124897 Incremented CDT feature version to 8.8.0
Change-Id: Ib1189a08a5f0225fd676b682dc8a10477ad3acc5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-06-10 09:33:49 -04:00
Sergey Prigogin
e27ca67746 Improved robustness of global scope handling.
Change-Id: Id0222766e8c5e258f866f9a4c8b3307a06bdf4c7
2015-06-09 11:58:47 -07:00
Sergey Prigogin
a7d3f1d3b5 Bug 461676 - refactoring not work for methods in class
Change-Id: I770b579eb327e3f21565e95cab2894702f3d7964
2015-06-02 00:23:05 -04:00
Sergey Prigogin
ad32a0cc12 Bug 467359 - NPE in ProblemHighlighting.consumes
Change-Id: Ifc59349cb7995846a061ff39e7fe4e2d33384d61
2015-05-14 23:09:02 -04:00
Sergey Prigogin
7f376ffdd7 Replaced XXX tags with TODO. 2015-05-08 14:41:01 -07:00
Sergey Prigogin
ef33d0d299 Fixed an NPE.
Change-Id: If2455671e50e99a662d469febc8e5babf7fc24e3
2015-05-08 14:40:30 -07:00
Marc Khouzam
e820f872ad Incremented CDT feature version to 8.7.0
Change-Id: Ife0feaaa9263d2b7797e31d628250bd26caff1b5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-05-04 21:07:13 -04:00
Sergey Prigogin
958d5a8a3d Revert "Bug 438549 Add mechanism for parameter guessing."
This reverts commit a2cff345b1.

Reverted due to a serious performance regression.

Change-Id: I90a5b4ded9b7180cf10f1fba64bca897a2040013
2015-04-26 01:17:08 -04:00
Anton Leherbauer
ce8be9513d Bug 349564 - The 'Binaries' node does not always disappear when project is cleaned
Change-Id: I511582a66f4b63b15732512093f30da08fa13ed4
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2015-04-21 08:29:20 +02:00
Sergey Prigogin
2015ebc3d0 Protect against NPE. 2015-04-16 19:47:43 -07:00
Sergey Prigogin
3c61ffa5ef Protect against NPE. 2015-04-16 14:00:55 -07:00
Sergey Prigogin
100054d69a Cosmetics. 2015-04-15 14:34:52 -07:00
Doug Schaefer
860e0af8c8 Bug 463981 Move preference loading to UI thread.
A couple of lines in the CUIPlugin.start() method load preferences.
This can only be done from the UI thread since it eventually loads up
colors which can only be done on the UI thread. This change moves
those two lines to a UIJob.

Change-Id: I692a81d5a38f63c506dc73da93df6c2e9e4b6192
2015-04-13 13:26:58 -04:00
mazab
a2cff345b1 Bug 438549 Add mechanism for parameter guessing.
Change-Id: Ia7a8a20a00b6d33c694cac79cfa69c366a372708
Signed-off-by: mazab <mohamed_azab@mentor.com>
2015-04-12 11:29:35 -07:00
Sergey Prigogin
be1db1a1e2 Consider included .inc files as being exported by default. 2015-04-10 18:22:36 -07:00
Thomas Corbat
3bd061e4ee Bug 389299 - Toggle Function: Internal error on syntax errors
Added check to initial condition, for syntax errors in definition AST.

Change-Id: I6ffce441174252298e726a572862ebf65a8694ea
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2015-04-10 01:48:17 -04:00
Thomas Corbat
442bcd62e1 Bug 464102 - Toggle Function for nested namespaces
Implemented proper handling of nested namespaces for toggle function
refactoring.

Change-Id: I850d3a7c9957dc2e26db4d1ac1aabf9a33bc2223
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2015-04-09 03:38:48 -04:00
Nathan Ridge
bb7af88082 Bug 440940 - For Open Declaration, filter out results in headers that
aren't included

Change-Id: I4d4ca59dbde1606105c7f3702559046fa160d686
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-04-03 17:25:09 -04:00
Nathan Ridge
55475a9fea Bug 463234 - When disambiguating between targets for Open Declaration,
only prefer a method to a class if the method belongs to that class

Change-Id: I8cf9aed692ce989d83cc8ffd08672a3ee73a1c8b
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-04-03 16:49:27 -04:00
Nathan Ridge
c89901c49a Bug 463234 - Infrastructure for testing ambiguous targets for Open
Declaration

Change-Id: Ib5b5166b19a85516f7e7b9d930d763a2e280768e
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-04-03 16:48:52 -04:00
Sergey Prigogin
94aa97e0b6 Cosmetics.
Change-Id: I473deba48684e751905fbfa487df6fe9146781c2
Signed-off-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2015-04-03 12:05:27 -07:00
Sergey Prigogin
bec85475fd Reverted erroneous commits.
Change-Id: I7e914e27413f102d4b84c62f53f300c4ec5d23e8
Signed-off-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2015-04-03 13:37:47 -04:00
Sergey Prigogin
4d1b8a8e26 Cosmetics 2015-04-02 20:41:39 -07:00
Marc Khouzam
a04d64606e Remove unnecessary @SuppressWarnings
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25 11:39:17 -04:00
Marc Khouzam
87a29d31aa Add many missing @Override to remove warnings
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25 11:18:06 -04:00
Marc Khouzam
37890019cb Remove warnings caused by change to getAdaptable()
getAdaptable() in 4.5 M6 has changed to use generics, making casting its
result no longer necessary.

Change-Id: Idd943216a925576bb72c784b2c5a2a4b8e8b00d2
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2015-03-25 11:01:46 -04:00
Nathan Ridge
dc57ba11a4 Bug 416247 - Use an index-based AST when generating doxygen comments
Change-Id: Ic379ba7f51ab8379d32969856f189dacb8cb32fc
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-03-24 02:00:09 -04:00
William Riley
ab6c210d1d Bug 462823: Normalise files paths in HeaderFileReferenceAdjuster
Change-Id: Iffd3b6012ad492492e430162adbd895b6d8997e4
Signed-off-by: William Riley <william.riley@renesas.com>
2015-03-24 01:40:27 -04:00
William Riley
47b1b5c634 Bug 461194 - Update selection in AbstractResourceActionHandler when
evaluationContext set

Change-Id: I81e7568e844e16a5d13673dc2ce8ec149e01c497
Signed-off-by: William Riley <william.riley@renesas.com>
2015-03-18 21:38:07 -04:00
Thomas Corbat
6f8579a796 Bug 456099 - Renaming a class should also rename related files
There is a new package: org.eclipse.cdt.internal.ui.refactoring.changes
which has not been exported. The *Change classes are essential for
developers of refactoring tools.

Change-Id: I611041cab0e0483de5a39f7e837369cff7531352
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2015-03-18 03:03:33 -04:00
Alena Laskavaia
dcc9de7b0e fixed schema validation error on Mars
- more errors...

Change-Id: Iab24ae4f7e95bd674765855b54eeb7de019b2162
2015-03-16 20:10:53 -04:00
Andrew Gvozdev
c87badb420 Bug 461770: Allow to copy and remove items from Include Browser view
Change-Id: I8bac95acfd2d72e258890974bf949e8c220f54a2
Signed-off-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2015-03-11 14:34:39 -04:00
Andrew Gvozdev
99e0af4db3 Bug 461342: Allow to remove items from Call Hierarchy view
Change-Id: I72dfa22b80a35839f21eb3e46e54774bae84aabe
Signed-off-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2015-03-09 09:48:58 -04:00
Nathan Ridge
1e8964285e Bug 461527 - Replacing dot with arrow during content assist for typedef
to pointer type

Change-Id: Ie81106bda1ad82ce487b6e9df5e74c308c3c9e88
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-03-09 01:34:30 -04:00
Sergey Prigogin
c9a8d9e849 Removed a confusing comment. 2015-03-04 13:49:34 -08:00
Nathan Ridge
bb4b74b367 Bug 345872 - Show correct override markers in the presence of multiple
iheritance

Change-Id: I6d9196d06d2077208ba246991ec712897c09a0df
Signed-off-by: Patrick Hofer <paedu.hofer@gmail.com>
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
2015-03-03 14:32:16 -05:00