1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-20 14:45:57 +02:00
Commit graph

34548 commits

Author SHA1 Message Date
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
Anna Dushistova
a3c928622a [releng] Switched to shared license feature.
Signed-off-by: Anna Dushistova <anna.dushistova@gmail.com>
2014-05-19 05:19:02 +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
Martin Oberhuber
584a99aecd Terminal: Bug 434939 - Keybinding conflicts when installing into JEE
The "Alt+V" key binding reported an error when installed into the
Eclipse JEE package. This is resolved by making our TerminalContext
a child of the Eclipse Window context.

At the same time, provide better human-readable labels for the Terminal
Edit Context (menu on Terminal Widget) and Terminal Typing Context.
And, register more Alt+Char key bindings after carefully reviewing
existing Eclipse Main Menus, shortcuts and expected readline support.

Change-Id: I91c932cce428f7a7a3fa829d7776baa135474330
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2014-05-17 00:02:44 +02:00
Martin Oberhuber
cc68394674 Terminal: Bug 434939 - Keybinding conflicts when installing into JEE
The "Alt+V" key binding reported an error when installed into the
Eclipse JEE package. This is resolved by making our TerminalContext
a child of the Eclipse Window context.

At the same time, provide better human-readable labels for the Terminal
Edit Context (menu on Terminal Widget) and Terminal Typing Context.
And, register more Alt+Char key bindings after carefully reviewing
existing Eclipse Main Menus, shortcuts and expected readline support.

Change-Id: I91c932cce428f7a7a3fa829d7776baa135474330
Signed-off-by: Martin Oberhuber <martin.oberhuber@windriver.com>
2014-05-17 00:02:44 +02: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
Uwe Stieber
1b545a04e8 Terminal: Fix Bug 434937 - Releng: The Terminal Features have an
incorrect license
2014-05-15 13:14:13 +02:00
Uwe Stieber
5353f9f71d Terminal: Fix Bug 434937 - Releng: The Terminal Features have an
incorrect license
2014-05-15 13:14:13 +02: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
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
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