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
48b9c2e5ad Cosmetics. 2014-05-30 17:21:31 -07:00
Marc Khouzam
580b3a892a Point Debug tests to the instance of GDB on CDT's HIPP
Change-Id: Ib4e84a3c7c0717b458fd7cffe3ff70b1a1d3bcc5
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-05-30 16:03:06 -04:00
Martin Oberhuber
1333d6b53a Bug 303083 - Fix MANIFEST.MF split package and BREE for native plugin
After studying in more detail how the org.eclipse.core.runtime /
org.eclipse.equinox.common bundles deal with the split package
situation, I believe that our split package declaration must be
fixed in MANIFEST.MF or there is risk that an "import-package" client
would be wired by OSGi against the wrong bundle.

Also reduced the minimum execution environment of the native bundle
to J2SE-1.5 such that it is more widely usable across a broader range
of possible aadopters.

Change-Id: I6dfc0c67987203810a3fd75d49a5f26bb7ee30c1
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
Reviewed-on: https://git.eclipse.org/r/27581
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-05-30 11:48:34 -04:00
Doug Schaefer
523a74a56c CDT master builds got to master directory on downloads page. 2014-05-29 15:56:07 -04:00
Martin Oberhuber
ca8cc6e1e3 Bug 435887 - Update cdt.doc.isv
The org.eclipse.cdt.doc.isv bundle had not been updated since Juno.
This commit adapts to the changes from bug 303083, and does some more
updates to comply with CDT 8.4 Luna:

1. Update the doc.isv bundle version number - I deliberately jumped
   from 5.2.0 to 5.4.0 in order to leave room for a Kepler version
   (not sure if it is a good idea to leave out a version)
2. Update CDT Release name to "8.4 (Luna)" and Coppyright Date (2014)
3. Update link to Oracle Java Docs since BREE is now Java 7
4. Add org.eclipse.cdt.core.native to the sourcepath for Javadocs
5. Add o.e.cdt.util.spawner and o.e.cdt.util.pty packages to API docs
6. Remove org.eclipse.cdt.core/search from the source path list
   That source folder had been removed 8 years ago when PDOM came :)
7. Fix an XHTML validation error in about.html that made it not
   possible to view Legal Notices from the docs link

There might be more CDT API packages that our community currently
uses and that are not yet generated into the API docs. Adding them
should be easy if that's desired, but I noticed that in many cases
the Javadocs themselves are somewhat weak so I didn't want to expose
them without the code owner's approval.

Change-Id: I6c16aed4408d83994075a9b0505bc7d3e68b11d1
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
Reviewed-on: https://git.eclipse.org/r/27401
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-05-29 11:10:56 -04:00
Marc Khouzam
6996d3f93c Bug 435142 - Duplicate *running events cause UI slowness
Change-Id: I4b30e6cd62b7cc822442ddd14c3c1440f6bab376
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/26780
Tested-by: Hudson CI
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-05-29 10:56:26 -04:00
John Eblen
44d66b4750 Bug 416658. Remote indexing in C does not work completely for Windows
Change-Id: I75c296a13d11cd20f13bfa790c3c767c8b71f9f0
Signed-off-by: John Eblen <jeblen@acm.org>
Reviewed-on: https://git.eclipse.org/r/23220
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-05-28 14:11:13 -04:00
Doug Schaefer
321d380e76 Fix copyright on the dark theme. 2014-05-28 12:31:36 -04:00
Teodor Madan
0cb5a29ef3 Update contributors list to match Bug 435606
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
2014-05-28 14:07:19 +03:00
Martin Oberhuber
2b9bbdec61 Bug 303083 - Make cdt.core.native plugin consistent after rename
The org.eclipse.cdt.core.native plugin has been renamed from 
org.eclipse.cdt.core.spawner but that has left a couple inconsistencies
which are fixed with this commit:

1. Rename o.e.cdt.internal.core.spawner package -> natives package
   Note that renaming the package to "native" was not possible since
   "native" is a Java keyword, thus I chose "natives"
2. Rename CSpawnerPlugin -> CNativePlugin, update win32 fragment
3. Fix PLUGIN_ID for proper logging with IStatus
4. Fix MANIFEST.MF export-package;split declaration
5. Add "version" spec on "export-package" for pty and spawner packages
6. Rename "utils" source folder to "src" as this is standard practice
7. Remove "spawner" from the list of Javadoc plugins in cdt.core

Change-Id: Ie5d1112d3f2da120dd5b1446cb6a137382226f0f
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
Reviewed-on: https://git.eclipse.org/r/27346
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-05-27 12:04:41 -04:00
Doug Schaefer
451cdd5787 Bug 303083 - Rename spawner bundle to 'native'
Native more accurately reflects what we've put there. They're native
utilities that can be reused by other Eclipse bundles to access
native services.

Also fixed up the cdt 4.4 target which had fixed version numbers for
some of the dependencies and used RSE out of the Luna repo instead
of their latest milestones.

Change-Id: I259aa9e92212409378679a8c61bf2fffd05c67a2
Reviewed-on: https://git.eclipse.org/r/27304
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-05-26 14:38:12 -04:00
Marc Khouzam
46b8b34661 Bug 435309 - Update new spawner features to use shared license plugin
Change-Id: I536ec0d92bb200eed95877ea8549190508536ec9
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27288
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-05-26 12:03:12 -04:00
Marc Khouzam
2c22479c9e Bug 435309 - Use the shared license file scheme for CDT
This means that:
- feature.xml files now make a reference to the shared license plugin
      using version 0.0.0
- feature.properties files no longer have the text for the license
- license.html and epl-v10.html files are removed as they are part
      of the shared license plugin
- build.properties files no longer reference removed files
- the main pom.xml file references the license repository

Change-Id: Ibd880480de3a07597084d44cce7b822903509079
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27250
2014-05-26 10:03:45 -04:00
Andrew Eidsness
e0682a2412 Shouldn't use new SWT.Shell()
I noticed that one case in the template engine is creating a dialog that
uses it's own instance of SWT Shell (i.e., the code contains "new
Shell()".

This patch modifies that case to use the display's active shell instead.

Change-Id: I253d6540899ce4dfef033924e27e2ddcd62ded19
Signed-off-by: Andrew Eidsness <eclipse@jfront.com>
Reviewed-on: https://git.eclipse.org/r/27278
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-05-26 09:47:24 -04:00
Martin Oberhuber
251d54056e Bug 303083 - Split out the CDT Spawner into a separate feature
This commit creates a new feature "org.eclipse.cdt.spawner"
which is included by the cdt.platform feature and only holds the
CDT native code fragments along with a new bundle named
"org.eclipse.cdt.core.spawner" as their new fragment host.

This new feature and bundle provide access to the CDT PTY, Spawner,
Windows Registry Accesss and Tasklist capabilities without having to
depend on the full cdt.core bundle.

Nothing changes for existing consumers of the cdt.platform feature, or
cdt.sdk feature (the new feature and bundle are installed and pulled
in automatically). Consumers who only installed the org.eclipse.cdt
bundle in the past will now also need the new spawner bundle.

Change-Id: I3943b35948d1bba4771f715c5e700570aa2ae125
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
Reviewed-on: https://git.eclipse.org/r/27225
Tested-by: Hudson CI
Reviewed-by: Anton Leherbauer <anton.leherbauer@windriver.com>
Tested-by: Anton Leherbauer <anton.leherbauer@windriver.com>
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-05-26 09:38:09 -04:00
Martin Schreiber
0f6719cc71 Bug 435606: Using BigInteger instead of Integer makes it possible to
write unsigned variables (UINT32 and UINT64) in the binary format.

Change-Id: Ic9de8470cef10469eae28b3c99ced1d9d3027685
Signed-off-by: Martin Schreiber <m.schreiber@bachmann.info>
Reviewed-on: https://git.eclipse.org/r/27252
Reviewed-by: Teodor Madan <teodor.madan@freescale.com>
Tested-by: Teodor Madan <teodor.madan@freescale.com>
2014-05-26 04:30:47 -04:00
Marc Khouzam
5c919ac834 about.html does not get included due to missing backslash
Change-Id: I27bb60faf0b50733c3fc0cc830a081dcb10816e7
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27116
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-05-22 11:57:01 -04:00
Marc Khouzam
60f83b7522 Unnecessary Bundle-RequiredExecutionEnvironment for documentation plugin
Change-Id: If3fa4a9a134284d53f502b89cde7b8e84502196a
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/27119
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-05-22 11:55:23 -04:00
Teodor Madan
d798bd1e53 Bug 386226 - Activate "HEX integer" rendering for DSF-GDB
Change-Id: I826902e05e186c9d96ea0a72bcda44e16339f40f
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/27024
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Hudson CI
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Tested-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
2014-05-22 03:19:10 -04:00
Marc-Andre Laperle
18ff3be8fa Bug 430966 - Prevent StackOverflowError in Makefile editor
Change-Id: I4c9d04290d047f52d56e3f1e5bf874efc55c51cb
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/25707
Tested-by: Hudson CI
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2014-05-21 16:40:30 -04:00
Sergey Prigogin
4e6315d501 Added project-specific Java compiler settings. 2014-05-21 11:04:30 -07:00
Teodor Madan
0cac486c62 Bug 435401 - Mixed-mode disassembly does not display the same source as
source editor for the same address

change IMixedInstruction.getFileName implementation to return full path
if reported by gdb. In the same way as MIFrame

Change-Id: I16ee540c02da95bbaa1881a813e8bf9326d1f63d
Signed-off-by: Teodor Madan <teodor.madan@freescale.com>
Reviewed-on: https://git.eclipse.org/r/27014
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Tested-by: Hudson CI
2014-05-21 10:56:14 -04:00
Teodor Madan
8f700b4d91 Bug 434645 - Terminate GDB launch using registered terminate handler
Change-Id: I4c59bacd8edaff4734dbafbf541552e8fa124c03
Reviewed-on: https://git.eclipse.org/r/26727
Tested-by: Hudson CI
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-05-21 09:20:14 -04:00
Sergey Prigogin
dc63d60efd Bug 435340 - Add Include inserts an extra blank line 2014-05-20 14:12:41 -07:00
Sergey Prigogin
7e64f6a132 Cosmetics. 2014-05-20 14:12:32 -07:00
Greg Watson
009a3a7d5f [autotools] Prevent MalformedURLException when setting remote working
directory.

Change-Id: Ib8a6a7d4df09a1f73a533db0a3821fcdb8cecdcb
Signed-off-by: Greg Watson <g.watson@computer.org>
Reviewed-on: https://git.eclipse.org/r/26428
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-05-20 12:01:40 -04:00
Marc Khouzam
5806deb5b8 Update to new license text
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
2014-05-20 11:36:39 -04:00
Sergey Prigogin
5b6571f5d9 Bug 435235 - Automatically close opening brace of list initializer 2014-05-19 18:52:07 -07:00
Sergey Prigogin
c91dfd42d0 Bug 435233 - Wrong parameter is highlighted in a function call with a
list initializer
2014-05-19 18:51:26 -07:00
Sergey Prigogin
9a96a017e5 Cosmetics. 2014-05-19 17:49:41 -07:00
Sergey Prigogin
6b3e138ff5 Cosmetics. 2014-05-19 11:22:38 -07:00
Martin Schreiber
38863b65d7 Bug 434852: If the original project of the editor input file is a non
accessiable project, it is a project rename scenario and the move can be
handeled.

Change-Id: Ibb718ea3310c3dfc40fa31d79c588371f78d6c91
Signed-off-by: Martin Schreiber <m.schreiber@bachmann.info>
Reviewed-on: https://git.eclipse.org/r/26815
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Hudson CI
2014-05-19 13:38:45 -04:00
Nathan Ridge
17900f3f59 Bug 409882 - Visibility of lambda with class owner
Change-Id: Ia16221cb441de535cad0b22786e2878e084fca3d
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/26783
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-05-18 15:14:17 -04:00
Nathan Ridge
10f84fd94b Bug 414826 - Avoid NPE caused by null IValue
Change-Id: Ifef0b408c7572ae965de366b7037b6737622bdda
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/26782
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-05-18 15:13:08 -04:00
Nathan Ridge
438a42b367 Bug 418996 - Guard against infinite recursion in
AbstractCPPClassSpecializationBases.getBases()

Change-Id: I84d56a12d4a2133d93bf54f5a70a1e801b981878
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/26781
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-05-18 15:12:21 -04:00
Nathan Ridge
92e5739ba6 Bug 434467 - Fix NPE caused by incorrect caching of enumerators
Change-Id: I7b0df5ea7d7b89ac89c42e8dc4091b3d5bf944f2
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/26696
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-05-16 16:23:35 -04:00
Sergey Prigogin
80c32be4b6 Adjusted selection of the most representative index file variant for
C/C++ editor.
2014-05-16 11:10:53 -07:00
Sergey Prigogin
62776c27d6 Cosmetics. 2014-05-16 10:45:37 -07:00
Nathan Ridge
a7b73d776c Bug 399149 - Syntax-coloring for class-virt-specifier
Change-Id: I13bd4b3fcc82e1ce0339f2a357f0854f9e56bba8
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/26555
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-05-16 01:16:02 -04:00
Sergey Prigogin
c8b14a3c3e Bug 434917 - Rename refactoring misses macro reference. 2014-05-14 20:48:23 -07:00
Sergey Prigogin
b75e994cb1 Cosmetics. 2014-05-14 20:45:09 -07:00
Nathan Ridge
2664b7c6f7 Bug 432701 - Expose the default value of a function parameter in the AST
and store it in the index

Change-Id: I4e180442bf2f2fe49d71e406a73253c6796e381b
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/26499
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-05-14 22:49:29 -04:00
Sergey Prigogin
e0fe67b904 Cosmetics. 2014-05-14 09:35:45 -07:00
Nathan Ridge
6cbdabfbec Bug 432701 - Move code that determines the value of an initializer to SemanticUtil
Change-Id: I0fcbad27155d875b420ce99cd9e9ba202448cc59
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/26418
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-05-14 12:27:57 -04:00
Teodor Madan
ab5c43e46a Bug 434645 - Deadlock in DsfExecutor on project close while in debug
session leading to UI freeze

Execute ITerminate@terminate() asynchronously

Change-Id: Ieba37912b7760f8db38b0f14e9562f07d7064af6
Reviewed-on: https://git.eclipse.org/r/26365
Tested-by: Hudson CI
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Reviewed-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-by: Teodor Madan <teodor.madan@freescale.com>
Tested-by: Teodor Madan <teodor.madan@freescale.com>
2014-05-14 09:11:48 -04:00
Sergey Prigogin
fb6c8ae2ab Bug 434801 - Organize Includes uses bits/fcntl-linux.h 2014-05-13 13:13:45 -07:00
Sergey Prigogin
cc65236de5 Cosmetics. 2014-05-13 12:14:28 -07:00
Sergey Prigogin
08f5b7e52a Bug 415486 - Make the indexer prioritize the files that are currently
open in an editor
2014-05-12 20:16:03 -07:00
Sergey Prigogin
01ac823ccb Cosmetics. 2014-05-12 11:41:06 -07:00
Sergey Prigogin
720771095c Fixed a broken test. 2014-05-09 16:34:59 -07:00