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

23283 commits

Author SHA1 Message Date
Sergey Prigogin
af7c0a635b Cosmetics.
Change-Id: I3f589111ad5e765ebfaa56829ff24ec437f084f8
2014-08-01 18:33:31 -07:00
Sergey Prigogin
bfb4854e5d Cleanup of temporary files created by tests.
Change-Id: Iaca298c1fd237787ea06cba5307cc473034ad314
2014-08-01 13:59:17 -07:00
Sergey Prigogin
2ca45300fe Corrected a plugin version in pom.xml
Change-Id: I25ae15419dd08ef11cdd25ba53d8ae55e20aa0fa
2014-08-01 12:24:28 -07:00
Sergey Prigogin
794e81355f Renamed messages.properties to Messages.properties.
Change-Id: I764a4d9b4d1cd17543b92dd6fd53578508337b3d
2014-08-01 12:22:27 -07:00
Sergey Prigogin
1f25d0cb80 Corrected a version in pom.xml
Change-Id: I1f529ed791be34b316a2b151d7f05a57f605d660
2014-08-01 12:12:21 -07:00
Sergey Prigogin
093b2efacf Proper enablement of Build Configurations Build/Clean commands.
Change-Id: I7446a357cc2bafdb5015c3a988a1ad0b6f23a8c6
2014-08-01 11:55:31 -07:00
Alena Laskavaia
0b62fee46c LaunchBar - added interface to notify launch bar on object changes
* added launchObjectUpdated API
* added tests for it
* changed abstract provider to use it instead of hack that it used
before
* fixed login in launchObjectAdded to correctly update object map 

Change-Id: I697594c34097e5439ca1550d0d68758baf7208e2
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30830
Tested-by: Hudson CI
2014-08-01 09:27:12 -04:00
Marc-Andre Laperle
86a08c918e Upgrade to Tycho 0.21.0
Change-Id: I1ef13eda4f297c10ee360cac64f43d58a91790e1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/29954
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-31 11:19:17 -04:00
Sergey Prigogin
f17501b981 Proper enablement of Convert To... command.
Change-Id: I992048f902992cd548e523c9881b4d36789f3544
2014-07-30 19:27:46 -07:00
Sergey Prigogin
7880c684eb Slightly reduced clutter in the project's context menu.
Change-Id: I78b5a8b37ce297a9ceaf8ecf9cb94b8df014e61d
2014-07-30 19:07:38 -07:00
Sergey Prigogin
31f37f5b63 Proper enablement/disablement of Clean/Build Selected Files commands.
Change-Id: I6f56eeb111759ccf7a0bc8fbbfd57ffd8689bf01
2014-07-30 16:47:55 -07:00
Sergey Prigogin
6a94e17ca7 Cosmetics. 2014-07-30 16:45:26 -07:00
Jeff Johnston
49d1763a80 Bug 434275 - Autotools configuration in subfolder not found
- add getProjectLocation() method
- fix getSourcePath() method to find the srcDir resource and then
  get its location
- fix all references in code to use getProjectLocation() and
  getSourcePath() where appropriate

Change-Id: I7d6d401a42213dbe9c4c2dee03aca306a4941683
Reviewed-on: https://git.eclipse.org/r/30466
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-07-30 17:51:23 -04:00
Alena Laskavaia
86864c02fe LaunchBar - junits - more tweaks and refactoring
Change-Id: Ia786fd63c07b3240c1535036b443675dd4931eca
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30732
Tested-by: Hudson CI
2014-07-30 14:21:10 -04:00
Marc Khouzam
05795e449e Typo
Change-Id: Id46d0a04469fc8e128765247466d253acbb27b1a
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-30 08:33:35 -04:00
Marc Khouzam
2698a9ca99 Redirect all output from DSF-GDB's JUnit tests to gdb traces.
Change-Id: I6f7c85879fbc51d15fe77dc265c9b3d1b50ec19d
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-30 08:30:27 -04:00
Marc Khouzam
59d01f3ecd Bug 438934 - Enable gdb traces for GDBConsoleBreakpointsTest to see what
is happening in an intermittend failure.

Change-Id: I2fcbe0950437e2928b5eab6e243b717002260f03
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-30 08:00:53 -04:00
Marc Khouzam
f25a9ffe98 Typo
Change-Id: I99683db5c79bf2551e58c66ba041edccb1b28bcc
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-30 07:48:55 -04:00
Marc Khouzam
6eccf283e4 Typo
Change-Id: I68925a2b5e830a612f683ef7ab1e32e1fb441879
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-30 07:46:20 -04:00
Anton Leherbauer
71458f4456 Increment bundle version to reflect recent changes 2014-07-30 09:56:32 +02:00
Thomas Corbat
312f6dc9ac Bug 440642 - [Content Assist] No Completion in Template Aliases
Fix for bug including test. This change will need to be adapted if Bug
440422 is submitted as currently proposed, because it replaces the
existing constants for selecting the comparison strategy with an enum.

Change-Id: I657c6f24217c5d1810a088080ee0ecadb3b83e9b
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
Reviewed-on: https://git.eclipse.org/r/30661
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-07-30 02:16:56 -04:00
Eric Woestman
b149d46eb4 Bug 440466. Fixing a concurrency issue when parsing ASTs.
Change-Id: Iffbeaf1820bc334bf49c45cb760db98a53f4fbe1

Change-Id: Iffbeaf1820bc334bf49c45cb760db98a53f4fbe1
Signed-off-by: Eric Woestman <eric.woestman@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30695
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-07-29 17:09:54 -04:00
Jonathan Williams
cb5eeb1a5d Bug 440393 - Add update mechanisms to force UI updates for activeTarget
and activeLaunchDescriptor.

Change-Id: Idef23b3e8adc4cc2a580bb052ac364824c088023
Signed-off-by: Jonathan Williams <jonwilliams@qnx.com>
Reviewed-on: https://git.eclipse.org/r/30465
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-29 14:37:16 -04:00
Marc Khouzam
d82e3738e1 Bug 439830 - Standalone debugger launch script can fail when 'source'
plugins present

Change-Id: I011313c9afe6e4a1d4d5db6a386928149f4b4add
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30076
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-07-29 12:43:19 -04:00
Marc Khouzam
58330519ae Update README for standalone debugger to match recent changes.
Change-Id: I45c1c184c2b79b9bb463b6217fdbf6104e0c5abd
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30659
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-07-29 12:13:07 -04:00
Anton Leherbauer
e016c2d922 Disassembly: Improve reliability of client-side address navigation 2014-07-29 16:51:44 +02:00
Marc Khouzam
f6534f6922 Improve Standalone Debugger scripts
- Fix indentation
- Call install.sh from cdtdebug.sh if installation needed.
  This should help the user realize they can run the script
  outside if the eclipse installation directory after the first time.
- Use a subshell to run pwd to avoid having to actually change
directory.
- Tag the line that needs to be modified with a marker to make it
future-proof.
- Use find instead of ls which is easier to parse.
- Allow to run install.sh without doing a cd to its location
- Allow to run original cdtdebug.sh without doing a cd to its location

Change-Id: I3f63dcf8a307784b0c38a286e645ea962ce62dc4
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/29834
Tested-by: Hudson CI
2014-07-29 08:16:32 -04:00
Marc Khouzam
3a98d32217 Bug 440587 - Extra output in gdb console when using '-interpreter-exec
console'

Change-Id: I52c15661fc481d8cde9e04707c3cd0b58dd4fd31
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30625
Tested-by: Hudson CI
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
2014-07-29 08:16:09 -04:00
Alexander Kurtakov
6534051b1b Don't use deprecated junit.framework.Assert.
The replacment is org.junit.Assert.

Change-Id: I44bd6da6e19f9d69f91eb1ad251bd6e259ff67a9
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/30629
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-29 08:15:40 -04:00
Alena Laskavaia
e26e8a60c0 LaunchBar - added test plugin and refactoring
Initial tests and refactoring to support tests


Change-Id: Ia14961b4a13ad7e8f2e1d75be264243f7432fe2d
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30462
2014-07-28 16:43:44 -04:00
Marc Khouzam
668242634a Create constant for number of concurrent commands sent to GDB
Change-Id: I8911ec6014d81a9516b39d3dc6c2b1a5f7b80bdd
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-28 15:32:52 -04:00
Marc-Andre Laperle
c9785892f5 Make it easier to use different target platforms in build
-Dtarget-platform can be used to specify which target to use.
For example, the default is target-platform=cdt-e4.4 but
-Dtarget-platform==cdt-e4.3 can also be used. The cdt.e4.3 target
file has been updated. Except the launchbar plugin doesn't compile
against 4.3 for now.

Change-Id: I6ce634f5567620d4f27a58ba0d711a3b87e617d1
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30539
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Tested-by: Hudson CI
2014-07-28 12:47:25 -04:00
Marc Khouzam
74b4766793 Bug 439926 - Race condition between's test 2 second timeout and launch's
2 second timeout.

Change-Id: I31632107b1bd667239ab6892268c02d30d0bafa7
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-28 08:43:00 -04:00
Jeff Johnston
c94b40cf94 Minor edits to Stand-alone debugger docs.
Change-Id: I8cda245f8bc34b21e3088de561442982b86f05ef
Reviewed-on: https://git.eclipse.org/r/30540
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-07-25 18:43:11 -04:00
Marc Khouzam
b880b30b23 Cosmetics
Change-Id: I8d87072a6dfaa4927b55ee751e12cf04b05a05ca
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-25 15:18:27 -04:00
Marc Khouzam
8ac1490c7c Pass optional arguments, in case base class ever needs them.
Change-Id: I7f928063b7a9e476ccb98612b3ff17be24126745
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-25 15:12:47 -04:00
Marc Khouzam
22b4459a37 Bug 440387 - Allow to easily extend ServicesLaunchSequence
Change-Id: Ife35c51415fc9a5a07a5327a2eed3e564b3429c8
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30459
Tested-by: Hudson CI
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
2014-07-25 13:07:30 -04:00
Marc Khouzam
2986eab315 Cleanup ServicesLaunchSequence
Change-Id: I100b8f355aa968a0c6a679a1a04d2f12d76c02e3
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/30449
Tested-by: Hudson CI
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-07-25 08:48:41 -04:00
Thomas Corbat
0544d1d000 Bug 440231 - NullPointerException with Synthetic if-elseif-statement
Added null checks to the ASTWriter.doNodesHaveSameOffset and a test case
reproducing the problem.

Change-Id: I538806cf32683f5689dbf582b7a7dcb6615a899e
Signed-off-by: Thomas Corbat <tcorbat@hsr.ch>
Reviewed-on: https://git.eclipse.org/r/30334
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-07-25 02:26:39 -04:00
Marc Khouzam
b740ab50f8 Cosmetics
Change-Id: Ia9e2ff002ac7d38e9057b2f9497f4370363e3b86
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-24 14:35:58 -04:00
Marc Khouzam
1a48e6064b Update pom.xml of features for which version was changed to 8.5
Change-Id: I6c4e258ac7d86a3df7a064614fa80430219d5561
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-24 13:35:24 -04:00
Marc Khouzam
4a3ec6cd65 Update remaining feature versions to 8.5
Change-Id: I2f81d61650070353ec86159cfa215d58a0dd2c40
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-24 10:50:09 -04:00
Alena Laskavaia
dcf1440fe4 LaunchBar - new extension for simple providers
* If provider only wants to associate lc type with target the
only thing is needed is to specy this lc type somewhere and framework
should take care of the rest

Change-Id: I3f60c7a0a5b1334f989e972fe8f773c6e2d7f71a
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30381
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-23 22:30:58 -04:00
Alena Laskavaia
cd81c09a4f LaunchBar - use unique descriptor id, not the name
Change-Id: I90674ab2e8d72a351be2f717c839e9305bdf2cbe
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30366
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-23 22:28:37 -04:00
Jonathan Williams
30b00414b0 Bug 440272 - Autoselect Another Target If Active Target Is Removed
Set another target to the active target if there is one available. Set
activeTarget to null if the list is empty.

Also fixed an NPE if setActiveLaunchTarget() was called with null.

Change-Id: I79d0a9c8a6b6e93b403dfbdf0d8bf0c8ea441297
Signed-off-by: Jonathan Williams <jonwilliams@qnx.com>
Reviewed-on: https://git.eclipse.org/r/30386
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-23 22:23:48 -04:00
Jonathan Williams
bd792bc393 Bug 440133 - Fix extension point parsing for launchBarUIContributions
Change-Id: Ife27f47f483c9f80e5b9da94a180affee2baff61
Signed-off-by: Jonathan Williams <jonwilliams@qnx.com>
Reviewed-on: https://git.eclipse.org/r/30265
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-07-23 14:46:01 -04:00
Alexander Kurtakov
0bf6cec447 Put LLVM preference page in CPluginPreferencePage category.
Prevents LLVM page being top level and makes LLVM threated more like
XLC.

Change-Id: I189f9fb00f256c9721d95b7a163284db4e31d370
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/30296
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-23 09:53:58 -04:00
Alexander Kurtakov
a03c0e1ef2 Reduce unused parameter to warning.
This allows compiling in the IDE and not fail because of exception not
used in catch block.

Change-Id: I162645b25162d80b4447d87edabc4d436d6d9d2f
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/30295
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-23 09:53:07 -04:00
Alexander Kurtakov
f64c610d02 Set the min Maven version to 3.0.5.
It's enforced by cbi jarsigner plugin 1.0.5.

Change-Id: Ia7460f95532e28364dc42f386e90d278b9e1be9d
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
Reviewed-on: https://git.eclipse.org/r/30300
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-07-23 09:51:18 -04:00
Marc Khouzam
8219fbd21c Bug 440153 - Optionally provide an existing CDT repository when doing a maven build
Change-Id: Idc3d48bea5625ec84df43ffe50c6940fb4281831
Reviewed-on: https://git.eclipse.org/r/30285
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-07-22 16:34:35 -04:00