1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00
Commit graph

22604 commits

Author SHA1 Message Date
Teodor Madan
4aa3f06bb4 Bug 428990 - Breakpoint problem marker has a too generic error message
Propagated GDB error message up to the top level

Change-Id: I98b33a4d35af7b0bc3582dfa1572cd6a5bc07b58
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/22511
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-02-27 11:02:49 -05:00
Marc Khouzam
d786838a0a Update GdbMemoryBlockRetrieval and DsfMemoryBlockRetrieval to fix
warnings.

Change-Id: I57a352b92b46f1e381185a72e41d534bc4f3ca45
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/22582
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-02-27 09:55:46 -05:00
Marc Khouzam
37166d6194 Bug 426730: Update tests to reflect that $1 is now being used when
launching

Change-Id: I4fc617ca73f505fd81da17594510ff6f5a00c4e9
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-02-26 13:41:46 -05:00
Alvaro Sanchez-Leon
e49589af70 Bug 426730: [Memory] Support 16 bit addressable size
Change-Id: I1fa5498eebe66cc6febbfaf72c4e433bdfab48ed
Signed-off-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Reviewed-on: https://git.eclipse.org/r/22118
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-02-26 10:59:03 -05:00
Marc Khouzam
0b2adb5223 Bug 429157: Udpate tests to better test memory console change
Change-Id: I418919c208ab456ce7edbc45edd61d11b54eecd2
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-02-26 10:46:16 -05:00
Alvaro Sanchez-Leon
d15325f7bd Bug 429157: memory-changed event may not trigger an update for the
proper number of octets

Change-Id: If75056bc5d7a752dfa6110affb4bd03e17b2aafa
Signed-off-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Reviewed-on: https://git.eclipse.org/r/22573
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-02-26 10:42:44 -05:00
Lukas Felber
c558463abe Bug 427002. [ast rewrite] Comments originating from other translation
units are now automatically taken into consideration when rewriting.

Change-Id: If535ab6cdd1ec293a0d95a6f726d848f6348f0ed
Signed-off-by: Lukas Felber <l.felber@gmx.ch>
Reviewed-on: https://git.eclipse.org/r/21761
Reviewed-by: Thomas Corbat <tcorbat@hsr.ch>
IP-Clean: Thomas Corbat <tcorbat@hsr.ch>
Tested-by: Thomas Corbat <tcorbat@hsr.ch>
2014-02-26 10:16:13 -05:00
Marc Khouzam
8000c7fe61 Create GDB tests for potential upcomding version 7.8. This will allow
for us to test early.


Change-Id: Ida162d6244ce5abd12d59ee3bbd526881197c847
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-02-25 09:53:23 -05:00
Marc Khouzam
bc33b70feb Create GDB tests for version 7.7
Change-Id: I19f60848e5cc12be151f5028127bbc3daf650833
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-02-25 09:53:12 -05:00
Marc Khouzam
6787eb71f9 Change some test names to be consitent.
This will allow a script to parse them.

Change-Id: I30f9b53bffa1b2c24ec68f4bad206f098bf7fa48
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-02-25 09:53:01 -05:00
Markus Schorn
d6b443f67a Bug 428922: Class cast exception parsing expression ambiguity within delete expression.
Signed-off-by: Markus Schorn <markus.schorn@windriver.com>
2014-02-24 16:46:31 +01:00
Teodor Madan
710efe52ec Bug 427898: Allow changing breakpoint type
Change-Id: Ia71395c15bb995edb25e7a910eb98b81a9a8c4f6
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/21809
Tested-by: Hudson CI
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
2014-02-24 07:26:49 -05:00
Markus Schorn
4f2fe55e90 Bug 413396: Language cannot be determined for files without extension.
Change-Id: I31579f0eb33f0797dd09dab0c2de9de88967fd4d
Signed-off-by: Markus Schorn <markus.schorn@windriver.com>
Reviewed-on: https://git.eclipse.org/r/22362
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2014-02-24 06:52:00 -05:00
Teodor Madan
ce1620f8cc Bug 428725 - Severity selection from Coda Analyses preferences should
not allow not supported values.

Create  ComboBoxCellEditor with SWT.READ_ONLY style

Change-Id: I5d1bbc94ffb6df17be092108c1e45133849cea3e
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/22363
Tested-by: Hudson CI
2014-02-23 15:45:37 -05:00
Thomas Corbat
7b74217a34 Bug 427730 - Fix for missing suggestion in content assist for typedef
Change-Id: I1395ab30b73ab972bd7edf90205c206e363b7fd8
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
Reviewed-on: https://git.eclipse.org/r/22233
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-02-21 02:29:48 -05:00
Sergey Prigogin
6677a74ae0 Removed redundant methods. 2014-02-18 18:05:42 -08:00
Sergey Prigogin
0c0523d642 Cosmetics. 2014-02-18 17:15:21 -08:00
Dan Ungureanu
c6630246d9 Bug 428367 - Fixed missing title for Properties dialog
Change-Id: I5abc99be6aa8bf02b84a549c3c11fd929e9acbc7
Signed-off-by: Dan Ungureanu <dan.ungureanu@freescale.com>
Reviewed-on: https://git.eclipse.org/r/22149
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-02-18 09:37:26 -05:00
Marc Khouzam
1ea82aff04 Bug 427958 - Update version of o.e.cdt.ui and @since tags for CDT 8.4
Change-Id: I84bccf9bdc6e169624908fee106080f840843e28
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-02-15 07:34:47 -05:00
Sergey Prigogin
62ba90a145 Bug 427958 - Extension mechanisms for Find References and Call Hierarchy
This change introduces two new extension points - callHierarchyProviders
and externalSearchProviders.

Change-Id: I5e2e5e6c17b596eddfebe97b6be32a7cc62954f6
Reviewed-on: https://git.eclipse.org/r/21862
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-02-14 16:58:45 -05:00
Andrew Gvozdev
60068393a1 bug 428230: What's New and Noteworthy in CDT 8.3? 2014-02-14 16:43:56 -05:00
Marc Khouzam
92ef95ddeb Bug 341731 - Use String.format instead of Message.format
Change-Id: I11aab806dcb279ba7916d98dfc1202e9143ba77d
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-02-13 14:43:12 -05:00
Marc Khouzam
2a935a9926 Bug 341731 - Show values returned from function calls when doing a
step-return operation

Change-Id: I4ac5c64a940ffcbe75b21618a74f2c4eba93d27e
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15377
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
2014-02-13 14:38:56 -05:00
Sergey Prigogin
2186138b87 Bug 428041 - NPE in ReturnChecker 2014-02-12 13:03:02 -08:00
Serge Beauchamp
493f6ad273 Bug 418817 - Control dependency is not observed after clicking "Restore
Defaults" button

Change-Id: I7f0aaac8f227c7f2ca0e05e144a7f1862d7bea95
Signed-off-by: Serge Beauchamp <sergebeauchamp@mac.com>
Reviewed-on: https://git.eclipse.org/r/17110
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-02-11 18:36:03 -05:00
Sergey Prigogin
15fb26ea6a Cosmetics. 2014-02-11 14:10:07 -08:00
Sergey Prigogin
f584975ffd Bug 427854 - Encountered an ambiguous node error message produced by
parser. Adjusted ordering of ambiguity resolution for nested classes.
2014-02-11 11:25:57 -08:00
Sergey Prigogin
ef9771f9fa Bug 427854 - Encountered an ambiguous node error message produced by
parser
2014-02-10 20:16:35 -08:00
Sergey Prigogin
ffa470ee1a Improved consistency of test method names. 2014-02-10 20:12:55 -08:00
Sergey Prigogin
37da12d84f Use ArrayDeque instead of LinkedList. 2014-02-10 17:56:52 -08:00
Sergey Prigogin
db6c3b4486 Cosmetics. 2014-02-10 16:11:08 -08:00
Sergey Prigogin
233f182df3 Don't throw UnsupportedOPerationException from ASTAmbiguousNode methods. 2014-02-10 12:22:12 -08:00
Thomas Corbat
6752994402 Bug 416430 - Test for missing sequence token in GCC attributes.
Change-Id: I92bd877bd415b27f0275276c0d3ca9c1b74ddbff
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
2014-02-07 13:31:01 +01:00
Marco Trudel
55761d622a Bug 416430. Fixed loss of GCC attribute token
Change-Id: Idce28724b7b7b1bc8c43528036b2697386ec76b7
Signed-off-by: Marco Trudel <marco@mtsystems.ch>
Reviewed-on: https://git.eclipse.org/r/21659
Reviewed-by: Thomas Corbat <tcorbat@hsr.ch>
IP-Clean: Thomas Corbat <tcorbat@hsr.ch>
Tested-by: Thomas Corbat <tcorbat@hsr.ch>
2014-02-07 07:12:08 -05:00
Sergey Prigogin
aa3df633a7 Allow CSearchElement to adapt to IFileStore and to IIndexFileLocation. 2014-02-05 11:38:24 -08:00
Dmitry Kozlov
9ddde64119 Bug 390827 - Trace View enhancement
Enhance Trace Control View UI.

Change-Id: I3ae49dece2056c8e8fd9eb21118926b039a5cdf0
Signed-off-by: Dmitry Kozlov <ddk@codesourcery.com>
Reviewed-on: https://git.eclipse.org/r/7997
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
2014-02-04 23:09:16 -05:00
Marc Khouzam
412727c5cb Up o.e.cdt.core version and update @since tag based on 8.3 release
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-02-04 20:37:02 -05:00
Sergey Prigogin
3fb603c849 Cosmetics. 2014-02-04 14:07:59 -08:00
Anton Leherbauer
c516d8d4ab Fix potential synchronization issue in Spawner 2014-02-04 16:55:57 +01:00
Sergey Prigogin
8dc69e1ca0 Use StringBuilder instead of StringBuffer. 2014-01-31 11:38:27 -08:00
Lukas Felber
2e2e1763bd Bug 426888 -fixed comment assignment bug.
Change-Id: I3fb9b68c6c543c09ee9c7d546a2c61086f808a44
Signed-off-by: Lukas Felber <l.felber@gmx.ch>
Reviewed-on: https://git.eclipse.org/r/21307
Reviewed-by: Thomas Corbat <tcorbat@hsr.ch>
IP-Clean: Thomas Corbat <tcorbat@hsr.ch>
Tested-by: Thomas Corbat <tcorbat@hsr.ch>
2014-01-30 05:18:32 -05:00
Sergey Prigogin
99de8fdda1 Removed unused constants. 2014-01-29 17:23:26 -08:00
Sergey Prigogin
acef14f15d Removed an unused constant. 2014-01-29 17:04:46 -08:00
Andrew Eidsness
d046e0a25f Bug 423679: CEditor navigation actions disabled outside of CEditor
The Open Declaration (F3), etc. actions use code in the ASTProvider.  If
the provider is not able to get an AST then the actions are disabled.
The implementation of the ASTProvider has an "instanceof CEditor" check
the result being that ASTProvider can only be used when the editor is a
CEditor.

This breaks our use case where we have a CEditor embedded as a tab in a
multi-pane editor (see org.eclipse.papyrus.infra.core.sasheditor
.editor.AbstractMultiPageSashEditor).

This patch modifies the ASTProvider to use #getAdapter instead of only
the instanceof check.  I've kept the common case (where the editor is a
CEditor) unchanged and added the new code as extra handling.

I've also introduced a public interface, ITranslationUnitProvider, to
avoid forcing clients to adapt to the internal CEditor class.  The only
part of CEditor that ASTProvider cares about is the ITranslationUnit.
The existing implementation has an unchecked cast.  The new interface
provides the required type directly.

Change-Id: Ie7e68e8909928374fa11fe2b8a857f09d042fb5c
Signed-off-by: Andrew Eidsness <andrewe@jfront.com>
Reviewed-on: https://git.eclipse.org/r/20026
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-01-29 16:23:34 -05:00
Andrew Eidsness
71fa7cf819 Bug 426784: Qt Codan checker uses wrong type
view.connect( view.engine(), SIGNAL( quit() ), ...

The return type of view.engine() should be checked for the quit()
signal.  The implementation was actually checking the type of view.

I've fixed a copy/paste error in a utility function.

Change-Id: Id483015214f04951fb30e3271d43499f31614446
Signed-off-by: Andrew Eidsness <eclipse@jfront.com>
Reviewed-on: https://git.eclipse.org/r/21189
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-01-29 16:12:49 -05:00
Andrew Eidsness
d613b149a0 Bug 426781: Qt content assist is too aggressive
In Content Assist cases like:

    q->

(when the cursor is to the right of the arrow operator) the name that is
returned by the content assist context is the empty string.  This was
used to check if the QObject::connect function applied.  Since the empt
string matches all bindings the Qt assistant incorrectly continued.

I've added a check to stop processing when the current name is the empty
string.

Change-Id: I4e5bf52f4ca1ddc33d88a48917213adbbeb81836
Signed-off-by: Andrew Eidsness <eclipse@jfront.com>
Reviewed-on: https://git.eclipse.org/r/21188
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-01-28 11:06:40 -05:00
Marc Khouzam
8d09935caf Bug 426586 - [launch] Rename launch delegates to be more descriptive to
the user

Change-Id: Icd070b655a707474f60438bb9c2217fd87e210ce
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/21106
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-01-27 15:42:30 -05:00
Andrew Eidsness
57b53b0e85 Bug 426238: Update head of external references list when needed
When a PDOMName is deleted and that name is the head of an external
references list, the list's head must be changed.

The Qt plugin is the only user of the external reference list.  One case
is the link from a SIGNAL or SLOT expansion to the C++ method binding
for the corresponding function.  In this case, the problem will appear
when all of the following are true:

1) The file containing the SIGNAL/SLOT expansion is changed and the
   index updated
2) The corresponding function is declared in a different file
3) The the function is the first entry in the external references list

When #2 is false, the binding (and the entire list) is removed as part
of updating the file containing the name.

When #3 is false, the list is updated with existing code using the
PDOMName's {next|prev}InBinding pointers.

Change-Id: I1e27c7c2356ca1fb68f57d69c40728289288ed66
Signed-off-by: Andrew Eidsness <eclipse@jfront.com>
Reviewed-on: https://git.eclipse.org/r/20972
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-01-24 13:49:59 -05:00
Sergey Prigogin
5d7a19fa6c Enabled JDK 1.7.
Change-Id: Ic2a161ea3c318dc1e8ba01c271c936bf5ed8763d
Reviewed-on: https://git.eclipse.org/r/21020
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-24 13:38:55 -05:00
Sergey Prigogin
ad526b4fb0 Cosmetics. 2014-01-22 11:46:21 -08:00