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

35735 commits

Author SHA1 Message Date
Nathan Ridge
1ea19101ff Bug 451091 - Make type of constexpr variable const-qualified
Change-Id: I2744ba8dbf2b629659f778d257b1d22483eb6c33
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/37929
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-12-10 10:20:49 -05:00
Marco Stornelli
54607bd07f Bug 241355 - Added format source code save action
Change-Id: I987dda03aae1fd6c8077e2d6cd930164acfaa783
Signed-off-by: Oliver Vinn <oliver@vinn.co.uk>
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
Reviewed-on: https://git.eclipse.org/r/21420
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
Tested-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-12-09 21:10:49 -05:00
Matthew Khouzam
67f46bce5b Bug 454502: make dwarf use valueof instead of number constructor
This may improve both memory and cpu performance. (SLIGHTLY)

Change-Id: I05c06b017b9d8e4505a17e99cde6c024bca21dd4
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37783
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-12-09 20:37:38 -05:00
Marc-Andre Laperle
2d9bb3c61e Bug 454651 - Remote Services doesn't have a source feature
Change-Id: Ida6ba948179907041e635fddd0d0f94f84ed29bf
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-12-09 17:31:08 -05:00
Marc-Andre Laperle
ae4ed4d438 swtbot: Delete projects after tests
This allows running the tests repeatedly

Change-Id: I289da60f0d3dc8d2539eeb5bc6f2b14e3bb35fb1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37752
Tested-by: Hudson CI
2014-12-09 12:47:26 -05:00
Alvaro Sanchez-Leon
3ab1678bc3 Bug 235747: [registers] Allow user to edit the register groups.
Bug 235747: Move register group actions to the command framework.

Change-Id: Ife5aefc1a1609309724db01d92a35750e25def24
Signed-off-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/13980
Tested-by: Hudson CI
2014-12-09 10:37:26 -05:00
Sergey Prigogin
a830f285fe Revert "Bug 451091 - Make type of constexpr variable const-qualified"
This reverts commit 39dce1d497.
2014-12-08 18:22:13 -08:00
Sergey Prigogin
a79825be23 Cosmetics. 2014-12-08 17:03:46 -08:00
Sergey Prigogin
24ab006419 Bug 450888. Fixed the problem decribed in comment #0 2014-12-08 16:17:59 -08:00
Sergey Prigogin
ef9d90c4f5 Cosmetics. 2014-12-08 11:55:33 -08:00
Nathan Ridge
39dce1d497 Bug 451091 - Make type of constexpr variable const-qualified
Change-Id: I432264fe733e27009dfc9cfbaa37631424af7d0c
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/37224
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-12-08 13:47:22 -05:00
Nathan Ridge
98ccf145c3 Bug 377409 - Index lookup for fields of anonymous structs and unions
Change-Id: I8591e063303cbe30d44eaa0eb431fc1dd6031695
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/37319
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-12-08 13:43:43 -05:00
Nathan Ridge
517b811599 Bug 452325 - Protect against IVariable.getInitialValue() calling itself
recursively along any code path

Change-Id: Idbf46ca82b431e72bf6b2598427430c37ef65cc4
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/37220
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-12-08 13:39:24 -05:00
Mikhail Khodjaiants
b38273c84d Bug 434558 - Disconnect actually terminates the session if launch
element is selected

Change-Id: I7a0064b9d9ed316079f0da80834fef278701f568
Reviewed-on: https://git.eclipse.org/r/26318
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
2014-12-04 21:49:41 -05:00
Alena Laskavaia
863def95be Bug 453275 - Codan tests cannot test for checkers throwing an exception
Added system flag that is used to propagate exception
instead of swallowing. Set by default in codan junit tests.

Change-Id: Iccda9a7b2e419192bb9f4eec4b89d525e152fc81
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/37482
2014-12-04 13:57:27 -05:00
Greg Watson
5a627b8184 Bug 452757 - Handle null attribute values
Change-Id: I99be71f80f14ae0befafd003010e3130404ed578
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-12-03 15:00:40 -05:00
Simon Marchi
c6865cfb7d Bug 378154 - Display thread name reported by GDB in Debug view
Change-Id: I3e04a56d218fdb2f189c06968c4f2d2671327838
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/36435
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-12-03 13:40:23 -05:00
Marc Khouzam
d317c16080 Bug 378154 - Update Thread node format to better show thread name when
available


Change-Id: I5eb79a125dfd8b289537ff15b82ab98c5ace2818
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37276
Tested-by: Hudson CI
Reviewed-by: Simon Marchi <simon.marchi@polymtl.ca>
2014-12-03 13:40:07 -05:00
Greg Watson
5296cd710f Merge "Revert "Terminal: Remove the old SDK feature, which includes the deprecated "Terminal" view from the repository."" 2014-12-03 10:38:01 -05:00
Alena Laskavaia
0f49ec2015 Avoid ClassCastException in Codan Run job
Occasionally Run Code Analysis actions get text selection
instead of structured selection so it is failing and logging
CCE. Avoid this by non accepting other selections.

Change-Id: Ia3583755547e5251a057290e506184656ebf2d5a
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/37306
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-12-02 19:38:08 -05:00
Greg Watson
fe7fb03d1d Revert "Terminal: Remove the old SDK feature, which includes the
deprecated "Terminal" view from the repository."

This reverts commit d204433a1d.

Change-Id: I429b675b24e99e4cbf32c71421fe076bcad282c9
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-12-02 16:32:50 -05:00
Alvaro Sanchez-Leon
8667f5a5ae Bug 453618 - Trace unsuccessful DSF Request Monitor at done()
Change-Id: Ia0191fedc9e2dcbcfa244636fbff7b0a640044d1
Reviewed-on: https://git.eclipse.org/r/37320
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-12-02 12:21:16 -05:00
Marc Khouzam
f327ccd103 Bug 453568 - RM.done() can be called twice under heavy load at termination
Change-Id: I2a02ff21a1b4a928df29b5c95c6293e7667bc48f
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37312
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-12-02 10:23:31 -05:00
Alena Laskavaia
b53246227a Optimzed Qt codan checker not to lock the ask if not running
Change-Id: Iff6749ea46f9c6970b4e96e47d8554846feb0dfe
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/37304
2014-12-01 17:00:12 -05:00
Alena Laskavaia
1e517e23e4 another attempt to fix race condition in Qt tests
after tests were fixed found funny bug that was there forever test was
creating incorrect header file because our comment extractor takes
comment from first occurence of function name, it is not actual java
parser. Because indexer was not running test was passing.

Change-Id: Ib0cea722e6c9766949d07b629ef7a9197529ef45
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/37410
Tested-by: Hudson CI
2014-12-01 16:58:28 -05:00
Marc-Andre Laperle
351f1b86a4 Upgrade to Tycho 0.22
Change-Id: I4d4a1f43a27ca286dc04312badc96c9dd775e8af
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/36953
2014-12-01 14:12:59 -05:00
Sergey Prigogin
04042aeeb9 Bug 450888. Fixed inconsistent handling of significant macros. 2014-11-29 16:54:24 -08:00
Sergey Prigogin
0460895b24 Cosmetics. 2014-11-29 16:26:05 -08:00
Greg Watson
c6c146049c Merge "Bug 453332 - Rename "Connections" to "Remote Connections" in preferences." 2014-11-28 19:19:59 -05:00
Marc Khouzam
73c1e5e224 Bug 450080 - Add option for remote launch to stand-alone debugger
Change-Id: Ifcbfd598d90305ac24bddf96893d4170201858c9
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/36700
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-11-28 18:08:38 -05:00
Alena Laskavaia
8bc2e3a81b FileListControl adjustments
* Changed button bar layout to be et the end, rather some-what in the
middle
* Make SelectPathInputDialog remeber previously entered path
* Make workspace selection dialog set proper initial selection, even if
this widget runs without cdt context

Change-Id: I04caec8c05b644977ec0dda622beefa2b8c9eba2
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/37032
Tested-by: Hudson CI
2014-11-27 16:26:15 -05:00
Uwe Stieber
c91ae288b8 Bugzilla 440782: Mark the "RSE Terminal" plug-in's and feature's as
deprecated. The new o.e.tcf.te.rse.terminals.feature should be used
instead.
2014-11-27 12:55:15 +01:00
Greg Watson
8e17e4fdc5 Bug 453332 - Rename "Connections" to "Remote Connections" in
preferences.

Change-Id: I7c19d57c0ec879c300b7eac6a2b340acae7860c7
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-11-26 12:49:29 -05:00
Roland Schulz
95db103e5b Support proxy connection for gateway without sftp or with MaxSession=1
Command proxy does not work if both the host and the gateway have MaxSession=1
(caused by 356657).

Add support in JschConnection for a connection which has a session but isn't
fully setup. Such a connection isn't considered open. And if it is opened after
it already has a session without setupFully=false (default), then all setup
setups are done.

Also change that getProxyConnection returns null not a LocalConnection for
a local command. This reduces the dependency on LocalConnection from within
jsch.core.*.

Change-Id: I64d05e69749d96248d2f40bd2db021d809cb04a9
2014-11-25 11:38:58 -05:00
Alena Laskavaia
8c6bad3c80 Propertly implemented stubs for NewLaunchConfigEditPage
This code is required if any LaunchTab interacts with other tabs in LC


Change-Id: I5d5e3b6d4e51b1f3ee0ac6297ebb4d88ad220224
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/36955
Tested-by: Hudson CI
2014-11-25 10:33:45 -05:00
Simon Marchi
cf0b905a5a MIThread: Use "enhanced" for loop
Change-Id: Iba8397b94b25682e9ebe5afececdb7932355a692
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/36436
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-11-25 09:03:27 -05:00
Sergey Prigogin
f4a12cb474 Bug 450888. A failing test case for the example in comment #0. 2014-11-24 18:50:10 -08:00
Sergey Prigogin
264a95da6c Bug 450888. Trigger index rebuild since storing of source files changed. 2014-11-24 18:17:18 -08:00
Sergey Prigogin
9a6e5cde11 Removed dead code. 2014-11-24 18:15:21 -08:00
Sergey Prigogin
0ab02df0d8 Fixed a deprecation warning. 2014-11-24 18:13:49 -08:00
Sergey Prigogin
30c61470fb Cosmetics. 2014-11-24 18:12:08 -08:00
Simon Marchi
6c9b53ea60 Use TestsPlugin.massageTimeout in resumeUntilStopped
The targets that define dsf.gdb.tests.timeout.multiplier need extra time to execute in resumeUntilStopped.

Change-Id: I2de513ea2de63d4276a49fb6daa4aa6892a5e843
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/35907
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-11-24 16:18:27 -05:00
Simon Marchi
ab31b3bcbb debug tests: Trigger rebuild when any header file changes
We could go more complicated and only rebuild those source files that are
affected by the changes in the header files, but I think this is a good
compromise.

Change-Id: I508e8ca0176408c68a16e09c51f005446aace099
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/36797
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-11-24 16:15:15 -05:00
Simon Marchi
15980decb9 debug tests: Make runToLine take an integer for the line number
I don't see any reason to take a String for a line number. This avoids
doing Integer.toString in a few places.

Change-Id: I4618b8c783100a406ff25d229b3b703b1d24f772
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Reviewed-on: https://git.eclipse.org/r/36876
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-11-24 16:09:16 -05:00
Nathan Ridge
c78d2fe823 Bug 451772 - Syntax-color names of structures in C files
Change-Id: I193648ffd15f581af75f71d62261068543a5769d
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/36887
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-11-23 21:43:42 -05:00
Nathan Ridge
17ec42f5cd Bug 451772 - Allow testing syntax coloring in C files
Change-Id: Id97c56b5f076764fea29e3fef002f7b96edb8c73
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/36886
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-11-23 21:42:16 -05:00
Nathan Ridge
34f513ccfa Bug 442754 - Avoid using a static constant to give production code
different behavior during a test

Change-Id: I115677ee2a5b6b7ccceb75949678d31a08f01732
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/36885
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-11-23 11:26:07 -05:00
Sergey Prigogin
df1abc266e Removed an obsolete test disablement.
Change-Id: I796fdc2cc73c9c9800b0f437a0cdfa206afc2953
Reviewed-on: https://git.eclipse.org/r/36874
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-11-22 00:28:45 -05:00
Sergey Prigogin
14bd577ad2 Automatically add appropriate #include statements in index tests. 2014-11-21 14:42:39 -08:00
Sergey Prigogin
6a1c54cc57 Cosmetics. 2014-11-21 14:42:37 -08:00