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

12153 commits

Author SHA1 Message Date
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
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
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
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
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
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
Sergey Prigogin
efa3aab3f2 Cosmetics. 2014-05-09 16:32:28 -07:00
Sergey Prigogin
f099336ec8 Renamed DBTest to DatabaseTest to match the name of the tested class and
added ability to test very large databases.
2014-05-09 14:43:06 -07:00
Sergey Prigogin
2c5f599327 Cosmetics. 2014-05-09 14:40:28 -07:00
Sergey Prigogin
300d14f4db Revert "added supported gnu file types to cdt file-types-list (defined here: http://gcc.gnu.org/onlinedocs/gcc-4.8.2/gcc/Overall-Options.html#index-file-name-suffix-71)"
This reverts commit 8241b40ddb.
2014-05-09 09:36:06 -07:00
Sergey Prigogin
456630b5a0 Bug 424571 - C++ indexer cannot find a derived class if the base class
in its declaration is written with namespace
2014-05-08 20:11:09 -07:00
Sergey Prigogin
774de9a0ea Cosmetics. 2014-05-08 20:10:01 -07:00
Lukas Felber
8241b40ddb added supported gnu file types to cdt file-types-list (defined here:
http://gcc.gnu.org/onlinedocs/gcc-4.8.2/gcc/Overall-Options.html#index-file-name-suffix-71)

Change-Id: I3f90382c4560aecc148c1826d8ff9242dffacb78
Signed-off-by: Lukas Felber <l.felber@gmx.ch>
Reviewed-on: https://git.eclipse.org/r/24850
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-05-08 23:07:01 -04:00
Sergey Prigogin
80ea8de8d4 Bug 414692. Moved setReplacementHeader method to IIndexFragmentFile. 2014-05-08 10:22:38 -07:00
Sergey Prigogin
f8dc5e0c75 Bug 434383 - Organize Includes inserts unnecessary include for code
produced by macro expansion
2014-05-07 20:26:40 -07:00
Sergey Prigogin
b88109c7f4 Cosmetics. 2014-05-07 19:37:07 -07:00
Nathan Ridge
1ae15f57fa Move some tests that do not involve templates out of AST2TemplateTests
Change-Id: Icc6bc9be16d482094792d8903e3bf13511095796
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/25938
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-05-07 19:48:05 -04:00
Sergey Prigogin
17bf8f55f1 Fixed "UnsupportedOperationException: addMember method should be called
instead" error.
2014-05-07 16:28:40 -07:00
Sergey Prigogin
fab1e9757c Cosmetics. 2014-05-07 16:27:35 -07:00
Sergey Prigogin
a55526430c Cosmetics. 2014-05-06 18:08:03 -07:00
Sergey Prigogin
ae2d1154f9 Bug 434150 - Infinite recursion with decltype 2014-05-06 17:48:54 -07:00
Sergey Prigogin
2131d04278 Added a missing message. 2014-05-06 17:47:25 -07:00
Sergey Prigogin
c4e47cdaa2 Cosmetics. 2014-05-06 17:46:17 -07:00
Doug Schaefer
962e011886 Bug 433477 Fix colors for dark theme.
Change-Id: I66e6deec545cc2703d96ec03e59ab451a92b8867
Reviewed-on: https://git.eclipse.org/r/26066
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
2014-05-06 13:18:39 -04:00
Doug Schaefer
4353aad6d5 Remove the eclipse.inf file from core.tests. It conflicts with the
pom driven packing.
2014-05-05 14:31:15 -04:00
Anton Leherbauer
4d6b998597 Bug 434103 - winpty instance might get reused by another PTY 2014-05-05 16:41:07 +02:00