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

23048 commits

Author SHA1 Message Date
Alena Laskavaia
2a3246fa84 LaunchBar - more tests and refactoring
Change-Id: I7ae632dd6c3c67881066589a721031fdea6ea5c0
Reviewed-on: https://git.eclipse.org/r/31217
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-08-07 16:32:14 -04:00
Marc Khouzam
4c8e2f3d91 Bug 441379 - Element Number Format option "Restore to Preference" was
not translatable

Change-Id: I7c032ccf5c380c1d2445eb42575e9a6887904590
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/31233
2014-08-07 15:25:21 -04:00
Marc Khouzam
b24a49090a Export all packages from launchbar plugins
Change-Id: I6bd238c69131933ca170d955352b7f899b245dfa
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/31115
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-08-07 12:52:12 -04:00
Marc Khouzam
9cafff55d6 Add license to launchbar feature
Change-Id: I36eb28887f47dca62554cb2438b8ed62b044fb52
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/31114
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-08-07 12:51:57 -04:00
Marc Khouzam
8ec1e82077 Cosmetics
Change-Id: I22f2114d10cd2749a77c932014edd0e1ca00b304
2014-08-07 11:42:47 -04:00
Marc Khouzam
3deafff15b Clarification of javadoc
Change-Id: Id543b62c92c354de3fec62e0044ed33ea1f30190
2014-08-07 11:39:22 -04:00
Marc Khouzam
041a00ea28 Cosmetics
Change-Id: Iedb9b74df9eab3c39f38ebe924549ee297262752
2014-08-07 11:26:23 -04:00
Alena Laskavaia
c819ee49f4 LaunchBar - config selector keep first 3 elements sorted by usage
* added interface for CSelector to show one separator bar at given index
* change ConfigSelector provider to do special sorting 
and set separtor index to 3, so first 3 elements are sorted by usage,
then all descriptors alphabetically (including first 3)
* persist descriptor order

Change-Id: Ib61d43abcb0da52f10d4b1e1ac7c0dc4f0d7958f
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30905
Tested-by: Hudson CI
2014-08-06 09:27:38 -04:00
Alena Laskavaia
b877d85865 LaunchBar - fixing default label provider for configs
* fixing default label provider for config selector, if no
contribution will default to launch config based image/name

Change-Id: I978f4071a2e5f7b25d0a1d345c676fdb7e43b263
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/31056
2014-08-05 16:31:00 -04:00
Alena Laskavaia
9d6f5db024 LaunchBar - bugs in handling config and project based descriptors
* added tracing
* added method to get LCType without need for lc
* delete LC is nasty in platform, notificaton is sent after 
it is deleted, have to store parametes somewhere else to be able 
to handle it properly
* added toString to abstract classes
* allow config based type to have null config
* fixed loader for default provider extension (and added test for it)


Change-Id: I223684414eb51e18fe7f54113b1ae2055ddab1ae
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/31043
Tested-by: Hudson CI
2014-08-05 15:46:31 -04:00
Alena Laskavaia
5340082453 LaunchBar - junits tests are not running - trying to fix...
Change-Id: I4e2f641ece60920b307c3117739a273a0c4c30b0
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/30881
Tested-by: Hudson CI
2014-08-05 10:46:51 -04:00
mazab
597c1dbc69 Bug 436147. Changed the way of handling "Restore Defaults" to reset the
values to default values instead of removing the options.

Change-Id: I748206ab90aa07d161a437af0b6fc4e3d3a7161b
Signed-off-by: mazab <mohamed_azab@mentor.com>
Reviewed-on: https://git.eclipse.org/r/27519
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-08-05 10:19:57 -04:00
Sergey Prigogin
6ff7af7dc6 Cleanup of Messages.properties and Messages.java files continued.
Change-Id: Ia8dd64344b368c00d72006a9abdea7cc2019d637
2014-08-04 12:40:50 -07:00
Sergey Prigogin
5cc7505a12 Cleanup of Messages.properties and Messages.java files.
Change-Id: Iea47d46a3ea201722fbe666a03c89dde7e5e4961
2014-08-04 11:15:40 -07:00
Sergey Prigogin
914dc65ffb More descriptive names of temporary files.
Change-Id: Ib3627818fdff1d2d8c63cabe7ed2c3790448f09d
2014-08-04 09:44:21 -07:00
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