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

20612 commits

Author SHA1 Message Date
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
Scott Tepavich
99b0e4643d Bug 376236 - [breakpoints] Create event breakpoints using breakpoint properties dialog 2012-04-30 11:38:33 -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
821918824e Bug 378023 - Error markers are not removed when a checker is disabled 2012-04-29 22:43:37 -07:00
Sergey Prigogin
fd677bb18f More logical order of parameters. 2012-04-29 19:52:11 -07:00
Sergey Prigogin
4c3a5dd669 Moved execution of checkers from CodanBuilder to CodanRunner. 2012-04-29 19:12:28 -07:00
Sergey Prigogin
d40474476a Minor label adjustments. 2012-04-29 19:08:45 -07:00
Sergey Prigogin
84c0d6f47c Cosmetics. 2012-04-29 19:06:50 -07:00
Sergey Prigogin
f3588cf4b0 Fixed a typo. 2012-04-29 19:01:22 -07:00
Sergey Prigogin
cb0906c2ab Generics. 2012-04-29 17:49:07 -07:00
Sergey Prigogin
cc3dcd0e96 Alphabetical sorting of problem types. 2012-04-29 17:36:54 -07:00
Sergey Prigogin
d74d5f3757 Code streamlining. 2012-04-29 13:42:45 -07:00
Marc-Andre Laperle
065d6ad9a0 Fix bin.includes, cross toolchain doesn't have templates anymore 2012-04-29 11:46:44 -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
c8e3a663f0 Eliminated redundant checker runs. 2012-04-28 23:15:29 -07:00
Sergey Prigogin
07924ceeeb Cosmetics. 2012-04-28 23:13:16 -07:00
Sergey Prigogin
00a6c5069f Streamlined check enablement logic. 2012-04-28 20:20:47 -07:00
Sergey Prigogin
c554c4e707 Don't run checkers on UI thread. 2012-04-28 17:59:34 -07:00
Sergey Prigogin
5a643e5e57 Made test more robust so that it doesn't fail when unrelated checkers
are present.
2012-04-28 17:57:36 -07:00