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

20630 commits

Author SHA1 Message Date
Sergey Prigogin
fdbfec3f2b Cosmetics. 2012-05-09 17:12:26 -07:00
Sergey Prigogin
6c33857abf Use ArrayDeque instead of LinkedList. 2012-05-09 17:11:40 -07:00
Sergey Prigogin
ad6104f082 Cosmetics. 2012-05-09 17:11:23 -07:00
Andrew Gvozdev
365587f654 bug 378926: [sd90] Temporary switched MinGW and Cygwin toolchains to
invoke old scanner discovery
2012-05-09 16:50:37 -04:00
David Salinas
b42707ddfc Bug 375859 - re-enable UI if selection is not a multi-config 2012-05-09 16:03:09 -04:00
Mikhail Khodjaiants
9fe63ea09d Bug 379043 - Safer to explicitly set 'target-async off' (CDI) 2012-05-09 15:17:19 -04:00
David Salinas
f1dcf178a3 Bug 375859 - remove extra try-catch block 2012-05-09 12:18:51 -04:00
David Salinas
2e27470c13 Bug 375859 - Refresh scope becomes empty after closing/opening project
if left to default
2012-05-09 11:38:54 -04:00
Andrew Gvozdev
a45da7ed8a bug 328007: [sd90] Decoration for non-existing providers 2012-05-08 23:59:38 -04:00
Andrew Gvozdev
8bf2dc8d1d bug 328007: [sd90] Correction for "Restore Defaults" 2012-05-08 23:42:54 -04:00
Sergey Prigogin
a96dc14a12 Fixed a broken string reference. 2012-05-08 18:50:28 -07:00
Marc Khouzam
753f19fa71 Bug 377447: Use the DSF Executor instead of a separate job.
Change-Id: I24ae70fe6f349bb1857fbcfe00d8171813e24911
Reviewed-on: https://git.eclipse.org/r/5883
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-05-08 16:15:16 -04:00
Marc Khouzam
7d4ea8bd44 Bug 372032: Make Reverse Resume visible in run menu
Change-Id: I10713bbfa2ff0dd4a66e555e496c0163d718a64d
Reviewed-on: https://git.eclipse.org/r/5885
Reviewed-by: Pawel Piech <pawel.piech@windriver.com>
Tested-by: Pawel Piech <pawel.piech@windriver.com>
IP-Clean: Pawel Piech <pawel.piech@windriver.com>
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-05-08 14:38:52 -04:00
Andrew Gvozdev
d4d87ca412 bug 378766: [Scanner discovery] GCC Build Output parser doesn't handle framework paths (-F) 2012-05-08 00:03:48 -04:00
Marc Khouzam
cfff2b91fb Bug 376901: JUnit tests for RTTI feature
Change-Id: Id72d0d170b8f78201a36d1f95da5ca7a3d07cfa5
Reviewed-on: https://git.eclipse.org/r/5868
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-05-07 16:11:51 -04:00
Marc Khouzam
caf06d61a3 Bug 378547: [junit] Add JUnit tests for GDB 7.5
Change-Id: I280965bbb7742272bad7c9fbe670f1a60fc0455c
Reviewed-on: https://git.eclipse.org/r/5867
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-05-07 15:49:41 -04:00
Markus Schorn
b1a9377019 Bug 378614: Function ptr as K&R parameter. 2012-05-07 08:10:15 +02:00
Andrew Gvozdev
77442617cc bug 378589: [sd90] Scanner Discovery doesn't run on certain toolchains 2012-05-07 01:07:21 -04:00
Sergey Prigogin
fac58cefa1 Cosmetics. 2012-05-04 19:35:09 -07:00
Andrew Gvozdev
d2c19fcd47 bug 376592: [sd90] Extend BuildDefinitions to allow defining language settings providers 2012-05-04 18:35:17 -04:00
xgsa
a5fd3894d1 Bug 376901 - DSF-GDB should properly handle variable type change (based
on RTTI)

Change-Id: I9869900530792ec102f39950c0dbf23d0c4ca160
Reviewed-on: https://git.eclipse.org/r/5602
Reviewed-by: Jens Elmenthaler <jens.elmenthaler@me.com>
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-05-04 15:45:33 -04:00
Marc Khouzam
5d74bf2eaf Bug 375585: Add an option to not show running threads
Change-Id: If4525512ae1464455a49b13f3f0b822f93f72eb6
Reviewed-on: https://git.eclipse.org/r/5782
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
2012-05-04 13:27:12 -04:00
Anna Dushistova
27d49dfd54 Patch for bug 366771
Change-Id: Ib95c2b9c475f25196d1c399d65b12c715f8e5e1e
Reviewed-on: https://git.eclipse.org/r/5778
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2012-05-04 10:03:05 -04:00
mhussein
a2cfb6e5cd Bug 365718: Support tree option style in managed build options
Managed build options in tools provide several styles
for option type, for example: string, boolean, libPaths, enumerated, ...
The enumerated type allows the user to select from a pre-defined list of
values.

A usability problem might happen if the list of possible values is Huge,
in this case the simple drop-box wouldn't be sufficient for the user to
properly and easily select the needed option. In most of those cases the
huge list of options can be organized in some hierarchy that allows the
user to easily pick the needed option.

The attached patch attempts to support this by doing the following:

1- Adding support of a new option valueType "tree"
    - Adding schema for treeOption
    - Adding support for tree type similar to enumerated option type
2- Provide UI to easily select items from this tree
    - Provide a field editor with a text box and browse button
    - Provide popup tree picker with filtered search
    - Each item in the tree can optionally provide an icon, and specify
its relative order among its peers.

Updates:
- Expose TreeSelectionDialog and TreeRoot to allow usage in other
contexts
- Remove extra whitespaces.
- Support Double-click to select
- Added unit test

Change-Id: I3e7e8c6e3e9878f7c6dadeb149326b375cd3631d
Reviewed-on: https://git.eclipse.org/r/5558
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2012-05-04 09:55:26 -04:00
Andrew Gvozdev
621ee0fe22 bug 371797: [sd90] Fixed problem with not running non-shared Specs Detectors after new project wizard 2012-05-04 09:24:09 -04:00
Markus Schorn
fefa6b2c29 Fix some compiler warnings, remove unused code. 2012-05-04 11:14:06 +02:00
Markus Schorn
b562fc5469 Bug 327298: [C++11] Support for nullptr 2012-05-04 09:37:40 +02:00
Mikhail Khodjaiants
9b66c60825 Bug 378417 - Values of "int32_t" variable and register types are shown
as 64bit.
2012-05-03 17:20:35 -04: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
Chris Recoskie
53306d93e9 Bug 378270 - xlc macro supplier doesn't overwrite old values for
compiler root location
2012-05-02 14:49:40 -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
Mikhail Khodjaiants
ce09756dad Bug 377447 - 'DsfTerminateCommand' doesn't wait for the session shutdown
to complete
Added a comment.
2012-05-02 12:25:42 -04:00
Vivian Kong
6cf930a564 Bug 378189 - LR parser mistaken for-loop initializer as a declaration 2012-05-02 11:53:17 -04:00
xgsa
a2174db422 Bug 377536 - Add a global preference to use RTTI for variable types
determination (the gdb "set print object" option)

Change-Id: I834bb746da33db3b73aef6023f4e4d2517eb9bd5
Reviewed-on: https://git.eclipse.org/r/5655
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-05-02 05:58:38 -04: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
Pawel Piech
a601dc93f9 [reverse] Reverse debug buttons should handle the new debug global toolbar
Fixed eager search/replace in plugin.xml.
2012-05-01 09:47:33 -07:00
Pawel Piech
f0a95edace Bug 372032 - [reverse] Reverse debug buttons should handle the new debug
global toolbar

Change-Id: I509928798950ee216d1be340d94aca4a34604af6
Reviewed-on: https://git.eclipse.org/r/5535
Reviewed-by: Pawel Piech <pawel.piech@windriver.com>
IP-Clean: Pawel Piech <pawel.piech@windriver.com>
Tested-by: Pawel Piech <pawel.piech@windriver.com>
2012-05-01 09:54:11 -04:00
Marc Khouzam
8305c1daa0 Bug 378152: GDB 7.x MI thread details field ignored for GDB >= 7.1
Change-Id: I2e45f72812851fbbd38db717f07ba030ec2b2935
Reviewed-on: https://git.eclipse.org/r/5772
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-05-01 09:23:42 -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
Mikhail Khodjaiants
aa5ca7e2cb Bug 377447 - 'DsfTerminateCommand' doesn't wait for the session shutdown
to complete
Change-Id: I0e3b8e59594971644bb7a3ce5b07ad9ab535aef4
Reviewed-on: https://git.eclipse.org/r/5751
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
IP-Clean: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2012-04-30 17:56:32 -04:00