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

23351 commits

Author SHA1 Message Date
Sergey Prigogin
7e213ecb19 Incremented plugin version for CDT 8.6. 2014-10-17 16:58:14 -07:00
Sergey Prigogin
7434fcbf4c Cosmetics. 2014-10-17 16:58:12 -07:00
Dan Ayson
8251ed4964 Bug 447722 - NewLaunchTargetWizard needs a window title
* Added setWindowTitle("Launch Target Type") to NewLaunchTargetWizard

Change-Id: I3703017f1c282352eb27c87a9e58eae7abea0f2d
Signed-off-by: Dan Ayson <danielayson@gmail.com>
Reviewed-on: https://git.eclipse.org/r/35062
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-10-17 13:37:29 -04:00
Marc Khouzam
0770532f51 Turn off GDB traces now that intermitted failure have been fixed.
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-10-17 12:49:29 -04:00
Teodor Madan
afa28a8945 Bug 445375 : Watchpoints cannot be disabled for targets that do not
support it

- add canPerformAction abstract method in base object action delegate
class
- add CToggleWatchpointActionDelegate that would also trigger
interactive triggering of watchpoints vs non-interactive.
- Check in each method & watchpoint delegates if
IToggleBreakpointsTarget does support the action
- Do not create duplicate watchpoints/breakpoints when toggling them
interactively

Change-Id: Idb1baaf171173b2d824a7cc50c8fe65e613f81aa
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/34061
Tested-by: Hudson CI
2014-10-14 10:46:20 -04:00
Marc Khouzam
7fda3c26d0 Bug 445360 - Restore calling of old methods in case they are overridden
Change-Id: I4cdf35a09a7f15dba2213d7c881c6d3975ff2840
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/34578
Tested-by: Hudson CI
Reviewed-by: Teodor Madan <teodor.madan@freescale.com>
Tested-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-10-09 16:08:51 -04:00
Sergey Prigogin
3ac977929a Cosmetics. 2014-10-09 10:32:13 -07:00
Wei Li
856b684824 Bug 426675: fix "index update with modified files" for a sub-directory
Change-Id: I3dad716cd11a464c97ee35fdabb8b9762238ccf3
Signed-off-by: Wei Li <wei.r.li@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/34434
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-10-09 13:28:07 -04:00
Nathan Ridge
d9cefc1e0c Bug 439477 - Ranking list-initialization sequences
Change-Id: I4c0dd621f91830ab1852abd1340b23e39a7dc4eb
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/34543
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-10-09 10:13:03 -04:00
Sergey Prigogin
06d5c452ce Bug 446380 - Problem with int(expression) in enumerator value 2014-10-08 15:04:02 -07:00
Sergey Prigogin
044d2cfaae Cosmetics. 2014-10-08 15:04:00 -07:00
Sergey Prigogin
5c894b881c Removed use of deprecated methods. 2014-10-08 15:03:58 -07:00
Sergey Prigogin
e83e8a688b Cosmetics. 2014-10-08 15:03:56 -07:00
Jeff Johnston
ead5d54e4b Bug 444688 - Autotools shared lib example not building
- make changes to default shared library template to handle
  changes made to external autotools
- add the rpath specification to the exampleProgram build so it
  will just run without having to set LD_LIBRARY_PATH

Change-Id: I299c274bc07e91bbe6cf955c5391faf4f87b3edc
Reviewed-on: https://git.eclipse.org/r/34531
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
(cherry picked from commit e39e96bd9c)
Reviewed-on: https://git.eclipse.org/r/34602
2014-10-08 16:50:24 -04:00
Doug Schaefer
671fea7f49 Bug 446104 - Fix target removal. Also fix Config Edit page.
The launch bar manager was missing the line to actually remove the
launch target in launchTargetRemoved. Added a test to detect that.

Also fixed the Config Edit page. Name verification was failing since
it was comparing against the false configs created when the tabs
are initialized. We clean up now right after that init.

Change-Id: I9cff816040f2e1866c9454cb00f69ec4468225d4
Reviewed-on: https://git.eclipse.org/r/34477
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-10-07 21:15:39 -04:00
Sergey Prigogin
20feb58da0 Bug 446225 - Captured variables not recognized as usages 2014-10-07 15:54:08 -07:00
Sergey Prigogin
936b844596 Improved assert[Non]ProblemOnFirstIdentifier methods. 2014-10-07 15:06:03 -07:00
Sergey Prigogin
c31f99c76e Made few methods final. 2014-10-07 14:36:40 -07:00
Sergey Prigogin
9c35d9bc4a Bug 446225 - Captured variables not recognized as usages 2014-10-07 14:36:38 -07:00
Sergey Prigogin
32b06b4c26 Cosmetics. 2014-10-07 14:36:36 -07:00
Sergey Prigogin
9fc84c15c8 Removed an unused method. 2014-10-07 14:36:33 -07:00
Sergey Prigogin
d537ab066a Cosmetics. 2014-10-07 14:36:31 -07:00
Mat Booth
fca237edbc Use the org.hamcrest.core BSN to ensure the latest version from orbit
Change-Id: I1dd2d340f15bc2e0e02acf0b16c63447c05bcb73
Signed-off-by: Mat Booth <mat.booth@redhat.com>
Reviewed-on: https://git.eclipse.org/r/34493
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-10-07 16:52:32 -04:00
Jeff Johnston
98ff5df1a1 Fix standalone feature names in their .project files.
Change-Id: I0602133925319f06de9b7139d698d88ca284cc3d
Reviewed-on: https://git.eclipse.org/r/34505
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-10-07 14:57:23 -04:00
Marc Khouzam
f4155523a8 Revert "Bug 444208 - [remote] Specifing binary in launch config does not work if the name of binary is not same with the name of process"
This reverts commit 03aa13f48d.

Change-Id: Ia1168c831377ea358d05d3f11d887bef36504b0f
Reviewed-on: https://git.eclipse.org/r/34501
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-10-07 09:49:05 -04:00
Sergey Prigogin
27e94dcec3 Fixed a typo. 2014-10-06 16:21:21 -07:00
Sergey Prigogin
80ec72130b Bug 446094 - Name resolution problem involving __is_base_of 2014-10-06 16:13:35 -07:00
uozdemirgp2
03aa13f48d Bug 444208 - [remote] Specifing binary in launch config does not work if
the name of binary is not same with the name of process

Change-Id: Ib0c011e26eb2e348afb34a746017b096261e25b0
Signed-off-by: uozdemirgp2 <ugur.ozdemir@tubitak.gov.tr>
Reviewed-on: https://git.eclipse.org/r/33859
Tested-by: Hudson CI
Reviewed-by: Elena Laskavaia <elaskavaia.cdt@gmail.com>
2014-10-06 14:54:40 -04:00
Marc Khouzam
efd1635472 Typo
Change-Id: Ic27570d61d188aa6e42362addeabd742ac1a3515
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-10-06 09:07:20 -04:00
Marc Khouzam
e7cb240780 Cosmetics
Change-Id: I986bf6cc52c09563a1443dadfabdf50db8ca3b40
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-10-06 09:06:26 -04:00
Sergey Prigogin
223df2e072 Bug 445911 - NPE in CPPTemplates.createParameterMap 2014-10-03 18:00:11 -07:00
Sergey Prigogin
ff5f407bff Bug 445670 - Name field has no focus when extracting local variables 2014-10-02 17:43:08 -07:00
Nathan Ridge
20f192470a Bug 439923 - Avoid infinite recursion while marshalling template
definition

Change-Id: Iefe78ea1dde72e745afa75b9da9d2f8ff89444ac
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/34019
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-10-02 17:32:09 -04:00
Andrew Gvozdev
044853140e bug 445718: CDT Wizard Page started crashing with NPE when custom wizard
is defined
2014-10-02 13:58:04 -04:00
Doug Schaefer
0a3f35c3ed Launch Bar - fix ordering problem initing launch config edit tabs. 2014-10-01 22:07:05 -04:00
Alena Laskavaia
909315e0c7 Bug 444781 - Fix error marker for invalid launch config name
fixed validation paths of the name/tabs markers

Change-Id: I0e6f1dbcde00ea00c351fdf377429026b8a83bd3
Signed-off-by: Alena Laskavaia <elaskavaia.cdt@gmail.com>
Reviewed-on: https://git.eclipse.org/r/33923
Reviewed-by: Jonathan Williams <jonwilliams@qnx.com>
2014-10-01 15:08:28 -04:00
Iulia Vasii
6be52837ae Bug 445360 - Can't debug when GDB path contains spaces.
Separate gdb command from its arguments.
In java 7, Runtime.exec(String,...) methods were improved and
applications that are using these methods with commands that contain
spaces in the program name will fail. Is is encouraged to use
Runtime.exec(String[],...) instead to separate command from its
arguments. See documentation:
http://www.oracle.com/technetwork/java/javase/7u21-relnotes-1932873.html#jruntime

Change-Id: I03d44284c07be4eb26b393c35e620a79a803ab96
Signed-off-by: Iulia Vasii <IuliaMadalina.Vasii@freescale.com>
Reviewed-on: https://git.eclipse.org/r/34052
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-10-01 14:18:12 -04:00
Alvaro Sanchez-Leon
f9db4581fc Bug 445372 - [LaunchBar] Compile with Juno
Change-Id: Ieb915e56b7e1f2b06a84a1db1d6f476977add1b2
Reviewed-on: https://git.eclipse.org/r/34058
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Tested-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-09-30 14:52:39 -04:00
Alvaro Sanchez-Leon
d852dccbdc Target definitions update, a new one for Juno
Change-Id: I4cd52277304a1d2a5a3d701eff404cadc23708cf
Reviewed-on: https://git.eclipse.org/r/34056
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-09-30 14:51:17 -04:00
Doug Schaefer
c84b8cc5d6 Launch Bar - New Target Wizard somewhat like the new resource wizards.
Has a page to select the target type. The INewWizard for the target
type is registered in the launchBarUIContributions extension point.
When selected and nextPage is hit, the wizard starts up.

Also some minor cleanup to the new config wizard.

Change-Id: Ic2bb5164d531a21b7a2a9dd7ecd109e18f2411cd
Reviewed-on: https://git.eclipse.org/r/34017
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
Tested-by: Doug Schaefer <dschaefer@qnx.com>
2014-09-30 13:42:32 -04:00
Teodor Madan
ce15475828 Bug 445357 Fix breakpoint set on external files
- In case IDeclaration has no underlining resource, get resource from
editor utility support, in the same way as toggle by line

Change-Id: Ic0de58e9f8c1e671911b56f131b01937d8b982fd
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/34050
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-09-30 02:42:02 -04:00
Doug Schaefer
a104dc4f6d Launch Bar - fix up how the new config wizard runs.
Only change the type when we're flipping to the next page. Also fixes
the order of initialization of the tabs to eliminate the NPEs that
were happening.

Change-Id: I9bb0a5d3ff646e4ca340f9c461e3a3c88f89e557
Reviewed-on: https://git.eclipse.org/r/34010
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-09-28 11:13:32 -04:00
Doug Schaefer
c5ce43974e Make sure launch bar ui plugin properties gets into build.
Change-Id: I3e63c02b3c9f3da8b20ac4d71d0c1b6144b2f686
Reviewed-on: https://git.eclipse.org/r/33650
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-09-27 22:45:06 -04:00
Anton Leherbauer
f3860cc65b Bug 444736 - Importing a subset of exported breakpoints often logs exceptions
This fixes also 
Bug 413787 - Occasional "Breakpoint does not have an associated marker" in the log
2014-09-26 08:28:46 +02:00
Marc-Andre Laperle
db67b263b9 Bug 444636- Make CBreakpointGdbThreadsFilterExtension thread-safe
Change-Id: Ied036bba57e3f2c2eca00e791735212b3dc107e5
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33727
Tested-by: Hudson CI
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-09-25 14:31:57 -04:00
Marc Khouzam
0c0b6ef6ff Bug 444395 - Must synchronize creation of bp extension
It is possible that more than one thread try to fetch the extension of
the same breakpoint.  If that extension is not created yet, both threads
could end up creating two different ones by mistake.

We must synchronize the possible creation of the breakpoint extension to
avoid such a situation.

Change-Id: I51118bdfb9c4215fca14d7b5e18a5963e02cde34
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33620
Tested-by: Hudson CI
2014-09-25 14:28:17 -04:00
Marc Khouzam
a3ee0c86f9 Bug 443965 - Move update site from
build/org.eclipse.cdt.autotools-feature/p2.inf to
releng/org.eclipse.cdt-feature 

Change-Id: I2827c4d96ff7cd70f752d5619caa82e8450c3048
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33707
Tested-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-09-24 12:37:07 -04:00
Marc-Andre Laperle
db33c12332 Bug 355165 - Cannot insert breakpoint when org.eclipse.cdt.debug.ui is not running
Change-Id: I6b4be0afb35ae94e6bd6d957e94f65e5f3cc2559
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33626
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-09-22 15:50:51 -04:00
Roberto Oliveira
dc52a0c446 Remove a NSL unused message ConvertTargetAction_No_Converter from org.eclipse.cdt.managedbuilder.internal.ui
Change-Id: Idb4590ecabfabf74076517b7c09cf2839481c405
Signed-off-by: Roberto Oliveira <rdutra@linux.vnet.ibm.com>
Reviewed-on: https://git.eclipse.org/r/33622
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-09-22 10:21:27 -04:00
Marc Khouzam
8d56765e6b Bug 444395 - Breakpoints don't get set for second session.
Change-Id: Ifa857cc2e9de00bb2f2a86b9d5e73536294dd01d
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33517
Reviewed-on: https://git.eclipse.org/r/33573
2014-09-22 10:11:35 -04:00