1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-17 05:05:43 +02:00
Commit graph

36454 commits

Author SHA1 Message Date
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
Anton Leherbauer
bd06c9ab9b Terminal: Bug 434749 UnhandledEventLoopException when copying to clipboard while the selection is empty
The text copied to the clipboard must not be empty.

Change-Id: I4202b3d95419a4395af608a9d5ad30f957c3eff4
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2014-05-13 16:25:53 +02:00
Anton Leherbauer
bae5a00d0f Terminal: Bug 434749 UnhandledEventLoopException when copying to clipboard while the selection is empty
The text copied to the clipboard must not be empty.

Change-Id: I4202b3d95419a4395af608a9d5ad30f957c3eff4
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2014-05-13 16:25:53 +02:00
Anton Leherbauer
289dc00391 Terminal: Bug 434478 Stop capturing key events in disconnected state
In disconnected state no input is accepted by the terminal, therefore
key bindings are allowed to be processed by Eclipse.

Change-Id: I119a25ce9cf366eefe92d2d9490472280e6dfd79
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2014-05-13 12:00:25 +02:00
Anton Leherbauer
0e02e7fcf3 Terminal: Bug 434478 Stop capturing key events in disconnected state
In disconnected state no input is accepted by the terminal, therefore
key bindings are allowed to be processed by Eclipse.

Change-Id: I119a25ce9cf366eefe92d2d9490472280e6dfd79
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2014-05-13 12:00:25 +02: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
Greg Watson
c863256c2f Add license repo to pom.xml
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-05-12 19:26:54 +01:00
Greg Watson
fc894f8ec2 Bug 431255 - Update features to use shared license
Change-Id: I380b4de05f621823dbf4ae87b159dd97c7b6b689
Signed-off-by: Greg Watson <g.watson@computer.org>
2014-05-12 19:21:57 +01:00
Anton Leherbauer
5afca1ae70 Terminal: Bug 434294 Fix handling of multiple key bindings for copy/paste
- now considering all key bindings in EditActionsAccelerator
- fix incorrect creation of escape codes for a combination of modifiers

Change-Id: I2547bba7ef3ca13370b1abf3f8ad8f5956d76c58
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2014-05-12 02:57:55 -04:00
Anton Leherbauer
e116111b80 Terminal: Bug 434294 Fix handling of multiple key bindings for copy/paste
- now considering all key bindings in EditActionsAccelerator
- fix incorrect creation of escape codes for a combination of modifiers

Change-Id: I2547bba7ef3ca13370b1abf3f8ad8f5956d76c58
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2014-05-12 02:57:55 -04: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
ca4098caac Cosmetics. 2014-05-09 09:53:25 -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
Lukas Felber
2e4760ee38 added missing gnu file types (as defined in
http://gcc.gnu.org/onlinedocs/gcc-4.8.2/gcc/Overall-Options.html#index-file-name-suffix-71)

Change-Id: If0903113d74439a9bf96022e1e3c636a0ffaebbf
Signed-off-by: Lukas Felber <l.felber@gmx.ch>
Reviewed-on: https://git.eclipse.org/r/24846
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-05-09 12:28:11 -04:00
Martin Oberhuber
049cba8a41 Terminal: Bug 434487 - Key bindings for "maximize view" and "quick
access"

This initial commit contributes "Alt+Up" for "Maximize View",
it also works for "Restore View"; as well as "Alt+Right" for
"Quick Access" in lieu of Ctrl+3 which may need to go to the Terminal.

Still TBD: Add those commands to the context menu such that they are
discoverable; and, decide whether "Alt+Down" should also be contributed
as a more intuitive variant for "restore view".

Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
Change-Id: Iebf912cb404636c43014e15af9e63dea407e083f
2014-05-09 14:32:50 +02:00
Martin Oberhuber
aae4669f4d Terminal: Bug 434487 - Key bindings for "maximize view" and "quick
access"

This initial commit contributes "Alt+Up" for "Maximize View",
it also works for "Restore View"; as well as "Alt+Right" for
"Quick Access" in lieu of Ctrl+3 which may need to go to the Terminal.

Still TBD: Add those commands to the context menu such that they are
discoverable; and, decide whether "Alt+Down" should also be contributed
as a more intuitive variant for "restore view".

Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
Change-Id: Iebf912cb404636c43014e15af9e63dea407e083f
2014-05-09 14:32:50 +02:00
Martin Oberhuber
c5af9fa891 Bug 434294 - [terminal] Make Mac COMMAND key to always act locally
On Mac, the COMMAND key is expected to always perform keyboard 
shortcuts on the local host, or emulate keys like HOME and END.
This change now supports the COMMAND key as expected.

Also,
- configured the VT100TerminalControl.java to forced use of UTF-8
  encoding since one comment has non-US-ASCII characters
- added the CTRL+INSERT binding for "Copy",
- converted CTRL+SHIFT in the bindings into M1+M2 which is the
  preferred syntax according to the org.eclipse.ui.bindings
  extension point description ("sequence" section).

Change-Id: I49321e3855b9ccf53fcb49a5346cfedff4c0c8c0
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2014-05-09 13:14:09 +02:00
Martin Oberhuber
f1e9724565 Bug 434294 - [terminal] Make Mac COMMAND key to always act locally
On Mac, the COMMAND key is expected to always perform keyboard 
shortcuts on the local host, or emulate keys like HOME and END.
This change now supports the COMMAND key as expected.

Also,
- configured the VT100TerminalControl.java to forced use of UTF-8
  encoding since one comment has non-US-ASCII characters
- added the CTRL+INSERT binding for "Copy",
- converted CTRL+SHIFT in the bindings into M1+M2 which is the
  preferred syntax according to the org.eclipse.ui.bindings
  extension point description ("sequence" section).

Change-Id: I49321e3855b9ccf53fcb49a5346cfedff4c0c8c0
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2014-05-09 13:14:09 +02: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
Andrew Ferrazzutti
fdfa6fe4b8 Bug 433014 - Autotools UI plugin is using deprecated extensions
Replace usage of popupMenus with command/handler/menu framework.

Change-Id: I89b4bc611572fafbf63e27b68573f105da4d2698
Signed-off-by: Andrew Ferrazzutti <aferrazz@redhat.com>
Reviewed-on: https://git.eclipse.org/r/26134
Tested-by: Hudson CI
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-05-08 18:18:57 -04:00
Sergey Prigogin
80ea8de8d4 Bug 414692. Moved setReplacementHeader method to IIndexFragmentFile. 2014-05-08 10:22:38 -07:00
Anton Leherbauer
bfbf83fa80 Bug 434294 Implement processing of Eclipse key bindings
Any special key stroke which does not map to an escape code
is now processed as an Eclipse key binding.
This enables key bindings like Ctrl+Insert, Ctrl+F7, etc.

Change-Id: I05ea201b0b23e068d4e1d48011761cca64f7c012
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2014-05-08 11:43:13 +02:00
Anton Leherbauer
81e25e6d70 Bug 434294 Implement processing of Eclipse key bindings
Any special key stroke which does not map to an escape code
is now processed as an Eclipse key binding.
This enables key bindings like Ctrl+Insert, Ctrl+F7, etc.

Change-Id: I05ea201b0b23e068d4e1d48011761cca64f7c012
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2014-05-08 11:43:13 +02:00
Marc-Andre Laperle
99f21e57e8 Fix org.eclipse.remote version in target definition
Change-Id: If9ee49389beff753c9235424626d91c207222a92
Reviewed-on: https://git.eclipse.org/r/26197
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2014-05-08 01:18:21 -04: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
Anton Leherbauer
3fd851b50e Bug 434294 - [terminal] Incorrect handling of function keys with modifiers
Change-Id: I2727f70e2a54939b8b606ab779f3c26edc36f257
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2014-05-07 15:43:18 +02:00
Anton Leherbauer
ad700cb1cf Bug 434294 - [terminal] Incorrect handling of function keys with modifiers
Change-Id: I2727f70e2a54939b8b606ab779f3c26edc36f257
Signed-off-by: Anton Leherbauer <anton.leherbauer@windriver.com>
2014-05-07 15:43:18 +02:00
Alvaro Sanchez-Leon
4c34ced31b Bug 432963 - [Memory] Cache associated to memory spaces context are not
being reset

Change-Id: I3b8de9008ce0d60cbdc2b04ad2c2bb9b844ee47b
Signed-off-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>
Reviewed-on: https://git.eclipse.org/r/25206
2014-05-07 08:32:03 -04: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
Jeff Johnston
6acb6dbc70 Add CDT Standalone Debugger
- add org.eclipse.cdt.debug.application plugin which supports running
  CDT debugger as Eclipse application
- add org.eclipse.cdt.debug.application.docs plugin which is the
modified
  CDT docs
- add org.eclipse.cdt.debug.standalone-feature which bundles the
  two aforementioned plugins
- add org.eclipse.cdt.debug.standlone.source-feature

Change-Id: I1a1ae855ab3912e678b7d9e3465e2fbbfe949e13
Reviewed-on: https://git.eclipse.org/r/25845
Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
Tested-by: Jeff Johnston <jjohnstn@redhat.com>
2014-05-05 15:39:30 -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