1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 06:02:11 +02:00
Commit graph

97 commits

Author SHA1 Message Date
Jonah Graham
6386faff0d Bug 563015: Log exception if process.pid() fails
Change-Id: Ie9888e1e56b19086890caf221f0cbd97eafa817c
2021-04-23 11:21:38 -04:00
Jonah Graham
e033c50e28 Bug 573064: Support full clear - extended "E3" capability
Change-Id: I9d4f7fffb11cc5386eb0a4e5c0445f1fc518b0a5
2021-04-21 15:37:14 -04:00
Fabrizio Iannetti
6dbad0b10e Bug 572938 Terminal: add support for reverse linefeed
Scroll up is not working with `less`, `man`, probably
other programs.

Change-Id: I99d2472ab09df6b79fffbcaa581f3024c44d3ead
Signed-off-by: Fabrizio Iannetti <fabrizio.iannetti@gmail.com>
2021-04-21 15:37:05 -04:00
Fabrizio Iannetti
e6d5c634b9 Bug 563015: terminal: open files/links with ctrl-click
- hover with ctrl+mouse underlines word under cursor
- ctrl-click tries to open the word:
  - if a relative path (not starting with /) a full path is
    obtained by prepending the shell cwd
  - if the fullpath maps to a workspace file, it is opened
  - otherwise open the OpenResource dialog with the word as
    filter text
  - if there is line/column information (separated by colons)
    then the opened editor jumps to that line
- http and https words are opened in a browser window

Change-Id: I3f46accbf1eac6743d7b0c3b34bf30ac5e7523bb
Signed-off-by: Fabrizio Iannetti <fabrizio.iannetti@gmail.com>
Also-by: Jonah Graham <jonah@kichwacoders.com>
Signed-off-by: Jonah Graham <jonah@kichwacoders.com>
2021-04-12 16:04:07 -04:00
Jonah Graham
7ef7f04d0c Remove launch files that have little value
These launch files are basically all defaults and fill every devs space
but no one is running them on a regular basis.

Change-Id: I194dadd2ca55a20489935e690e3cd94357026389
2021-04-06 13:38:01 -04:00
Alexander Fedorov
8dbf024ab8 Bug 572552 - CDT releng: update versions to 10.3.0
Added missed license headers
Updated baseline for the parent pom to CDT 10.2
Updated version for pom.xml to 10.3
Updated version for features and bundles to CDT 10.3
Updated copyright for about.properties to be 2021
Incremented version + 100 where needed

Change-Id: I79666fcc0402fee6607499d7dce1eaf87a5f446d
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2021-04-04 16:17:25 -04:00
Jonah Graham
6874b7e013 Bug 341721: Add context menu item to change terminal name
Change-Id: Idd41b58ad4f052c32d6a9c57303f1b9ef05aff7c
2021-03-01 18:51:58 -05:00
Jonah Graham
fe00320854 Bug 341721: Update terminal tab title with ANSI command
All the hard work had been done before, simply no one had actually
added the bit of code to update the title based on the listener.

Change-Id: Icdbc7b9b0a9b8fccf7d4eddf8d20674e50e0a170
2021-03-01 18:51:58 -05:00
Jonah Graham
d3f09041de Bug 570775: Correct ID of InvertColorsAction
Change-Id: Id74b075a3a0d932cb65041c8d206f9ca2663cdf1
2021-02-28 07:41:29 -05:00
Jonah Graham
67c048d5cc Cosmetics.
Change-Id: I130139bc6f3f711976f988b150400f822f23bea8
2021-02-28 07:41:29 -05:00
Fabrizio Iannetti
3b680c8d8e Bug 570775: Add pop-up action to invert terminal colors on the fly
New action to temporarily invert the terminal colors,
the preference setting is not altered by this action.
Only the active terminal is affected.

Change-Id: Idc01163838539c2ba5699556951c1742bbf07ad6
Signed-off-by: Fabrizio Iannetti <fabrizio.iannetti@gmail.com>
2021-01-30 12:08:50 -05:00
Fabrizio Iannetti
dabe283c27 Bug 570588: Some Private CSI sequences are not correctly interpreted
CSI commands should be recognised as private if the first
character is one of <=>? and not only ?

Change-Id: Idca36ba4dc6bb1bcb3d10f921b2315876769ea5b
Signed-off-by: Fabrizio Iannetti <fabrizio.iannetti@gmail.com>
2021-01-23 15:19:54 -05:00
Jonah Graham
c248620053 [releng] Increment feature and related versions to 10.2.0
Change-Id: Icd135a588920fa25fd846dc285db5f83e5ac7037
2020-12-19 12:11:25 -05:00
Simeon Andreev
bddeeeac3b Bug 568923 - add activity for TM terminal main toolbar button
This change adds an extra activity for the TM terminal main toolbar
contribution. This allows applications to disable the contribution
without disabling the rest of TM terminal functionality.

With this change, disabling of the TM terminal main toolbar button can
be done with a product customization file containing the line:

org.eclipse.ui.workbench/UIActivities.org.eclipse.tm.terminal.view.ui.activity.maintoolbar=false

The product customization file is specified to Eclipse arguments:

-pluginCustomization /some/path/plugin_customization.ini

Change-Id: Id1c34616f4f2a0ac77edbfe201c1db095f9ce7b8
Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
2020-11-24 12:27:35 +01:00
Jonah Graham
7a106097e0 Bug 568856: Upgrade BREE to Java 11
Change-Id: I7422fabff409ec4bab5379350dc9bf67b84a07c0
2020-11-16 10:27:05 -05:00
Jonah Graham
a1201a811a Bug 567810: Squash over zealous warning from PDE
See also Bug 558477

Change-Id: I0765a2a49dc77e2f24af787b0f9a1e0e1e510a30
2020-10-12 10:14:26 -04:00
Marc-Andre Laperle
fa270ed30a [releng] Update plug-in versions
Version changes are all to refect non-API changes (micro version)

Change-Id: I372aa2671a4c7f5c765a42156d3f639b8eaff680
Signed-off-by: Marc-Andre Laperle <malaperle@gmail.com>
2020-10-06 16:20:18 -04:00
Jonah Graham
24639efcee [releng] Bump version to 10.1.0
Change-Id: I39f7c379c0b43c086a25b047b3af564f6f24d670
2020-10-06 16:20:18 -04:00
Alexander Kurtakov
de70eaa5c5 Bug 567455 - Stop using the
IWorkbenchPreferenceConstants.SHOW_TRADITIONAL_STYLE_TABS

Change-Id: I6ee225298d68d68c65cfe6c55e662107055a4238
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2020-09-29 19:15:14 +03:00
Jonah Graham
e2b94a324f Bug 566732: Connect selection preference page to terminal
Bug 549697 introduced the new UI for setting colors, but the
selection color (while added to the pref page) was never
connected to the code.

Change-Id: I9934efe595efe141a14f0bca3bdf355f436d907d
2020-09-07 09:50:43 -04:00
Jonah Graham
88b2322c38 Bug 551817: Fix legal docs - and automate their checks
Change-Id: I6f97927f0df64a28e71a2d7ab4c55b609794f751
2020-08-30 23:15:59 -04:00
Jonah Graham
0cb1f7482a Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects
Includes updates to code cleanliness script

Change-Id: Ic495124285e3e002993f34dc12be5ad7337fe13b
2020-08-30 20:02:41 -04:00
Torbjörn Svensson
5779b04e6b Fixed "Key X is not found in localization properties file" warning
Change-Id: I467386ce652c67507c9373a669a60dbb8a8f8e2d
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2020-08-28 21:32:18 +02:00
Torbjörn Svensson
8e42cc8b7b Cleanup of PTY class
Change-Id: If04a3ccbc178040d4929767ef1f4c0f1672dfae9
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2020-08-28 10:25:08 -04:00
Jonah Graham
fd9382d8a9 Bug 562494: Update BREE to Java 11
Change-Id: I0c91aafc0cb1b179936acbd4c9df2d961899e3fa
2020-08-24 17:50:56 -04:00
jantje
2a62d58621 Bug 564123 Treat environment and build variable case sensitively
Remove all equalIgnoreCase and equal with uppercasing for environment
variables

Change-Id: Ic15974b5fb62413c7b1826ced544ff6d4a8eba2f
Signed-off-by: jantje <eclipse@baeyens.it>
2020-08-18 18:11:48 -04:00
Martin Weber
9e303185f9 Bug 564002: Restore the default pattern of the surefire-plugin
Sets the pattern to the default of upcoming tycho 2.0 in advance.

Signed-off-by: Martin Weber <fifteenknots505@gmail.com>
Change-Id: I31b3fc733d0cb888fbf6f566995ce2043f6cd621
2020-08-13 14:18:47 -04:00
Jonah Graham
149ccaffcc Bug 565836: Add linux aarch64 for natives
Note: the Windows dll is not actually modified, apart from the embedded
date stamp to match the date of the jni/ modification

Also-by: Liviu Ionescu <ilg@livius.net>
Change-Id: Ice3d5e7ae5999a0e4d1866e76e515a91e30e9f11
2020-08-11 17:17:34 -04:00
Jonah Graham
6d4f20edd6 Bug 540737: Add 8 and 24-bit color support to terminal
Change-Id: Iab3b648fb3bfa8f43f333371bd118e90a3a182f2
2020-08-03 17:28:59 -04:00
Jonah Graham
d6818fbb03 Bug 549697: Define standard terminal colors with Eclipse preferences
New types TerminalColor and TerminalStyle replace StyleColor and Style
to separate the meta information about styles and colors from the
user currently selected colors.

The StyleMap maps the TerminalColor/Style to the concrete fonts and
colors used in the display.

Colors are now configurable via the terminal preference page using
the new TerminalColorsFieldEditor.

All preferences are now passed in to the VT100 control so that
different terminal consumers can have different preferences and
styles.

Remove dark theme contribution. The colors of the terminal are
now inherited from the editor settings (using SystemDefaultColors)
which come from the theme. If we were to invert colors
too when in Dark theme then the colors actually end up light
background.

Change-Id: I2cf5427ac0be9a189a7f0d3565cfc97ceedb8749
2020-08-03 17:28:59 -04:00
Dirk Fauth
a1a3b357ec Bug 565461 - Contribute "Show in Local Terminal" to Bndtools Explorer
Change-Id: Ia9edd87e7594bf5def0e511c34694e4098c64529
Signed-off-by: Dirk Fauth <dirk.fauth@googlemail.com>
2020-07-30 04:33:07 -04:00
Torbjörn Svensson
803d6cd8ad Fixed NLS warnings and removed excess semicolon
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
Change-Id: Ife6550a77af5e410fd7b252a239dfa1ae6ae36f5
2020-07-15 22:31:35 -04:00
jantje
65473abf07 Bug 564123 refactor terminal Env to use same code as EnvironmentReader
Env had a very old way of reading environment variables from
before Java supported environemnt variables from System. This
commit makes the code the same as core CDT's EnvironmentReader.

Env holds a copy of the EnvironmentReader code to avoid dependency of
terminal to other CDT.

Change-Id: I8929bf427af99d3d62cca28ee8090aa423c9aded
Signed-off-by: jantje <eclipse@baeyens.it>
2020-06-13 22:07:23 -04:00
Jonah Graham
5349d8823d Bug 522289: Handle case of no terminal connectors available
The existing code had the assumption that >= 1 connector was installed
in the IDE. It is difficult to configure the IDE with no connectors as
the base terminal feature includes connectors, but it is technically
possible. So in that case display a simple error message and avoid
a hidden error (and stack trace to log).

Change-Id: Id17a1e5bff9aec251aa6f7fe6ff4e96cd2a01564
2020-06-04 17:44:20 -04:00
Jonah Graham
56d741a50c Bug 558536: Revert "Bug 549013 - Eclipse menu won't display on Ubuntu 16.04 LTS when SSH/Serial command shells are opened"
Using the mouse and not the focus listeners leads to lots
of weird, unintended consequences. For example:

- If mouse does not exit the control (because, e.g. it was not
in the control) then captureKeyEvents(false) is never issued
- If mouse does leave control, then control stops capturing
events. This means that although the cursor and focus is still
on the control, keyboard shortcuts no longer go to the control,
so Ctrl-C becomes copy again. This means, depending on where you
move the mouse changes the behaviour of the control.

This reverts commit 19351cbc2b.

Change-Id: I4f57c659e21d823df049b095159a34e5c110ef29
2020-05-16 16:40:29 -04:00
Jonah Graham
da0d1d7df6 Bug 543122: Add additional baud rates for serial
Includes new API to allow, on platforms that support it, setting
and getting arbitrary rates.

Change-Id: I0b1134325f913bb09d1bf0cd902f89e968d80570
2020-05-15 14:32:47 -04:00
Jonah Graham
3201a07fc3 Bug 549697: Mark update font methods in Terminal as deprecated
There are two ways of specifying fonts in the terminal,
one via font definitions, and one via the font directly. The
method via the font directly was already deprecated in the public
API, this commit follows that deprecation chain through to
make it easier to identify which code paths are not likely
relevant anymore.

These methods could simply be removed as part of the major version
bump.

Change-Id: I05d746c429c4e6c3ced5ee7bb7a6172e0a255c2d
2020-05-10 15:18:24 -04:00
Jonah Graham
fc8ed250b1 Bug 540737: Remove false optimization
GC.getForeground / Background always create a new Color object,
so this if expression was always true.

Change-Id: Ief4ccaf1adb70967301411b012c0474608f425cb
2020-05-10 14:01:44 -04:00
Jonah Graham
b3e4e60155 Bug 540737: Rework cache storage of styles
This may need to change to an LRU cache if we end up with
too many potential styles

Change-Id: I66bb6a4b9f67c6fd8656875f138899dd3a67a360
2020-05-10 14:01:44 -04:00
Jonah Graham
963ce943ba Bug 549697: Extract standard colour names
The inconsistency of lower case and upper case in the internal
representation of the colour names made it harder than it should be
to find where colours are used in the code.

Note that the SytleMap creates lower and uppercase entries for each
colour.

Change-Id: I16b4ebe4a97adecd01f835319aa0f0d175ae3bb6
2020-05-10 14:01:44 -04:00
Jonah Graham
0a3e5721d4 Cosmetics.
Change-Id: Ibb31fa697065add6d3341faf5bdc84e24504e1e3
2020-05-10 14:01:44 -04:00
Jonah Graham
0aecc58552 Bug 527055: Save terminal settings even when there is only one terminal type
Change-Id: I411bb5c815590c7f9929694e0256596b601606fa
2020-05-10 10:58:03 -04:00
Jonah Graham
f294b6583b Bug 542957: Scroll terminal number of lines indicated in wheel scroll event
The original code used the direction provided by the scroll wheel, but
not the magnitude.

Change-Id: I7f5e2083599990f4f4999aba46ef38602b9fe565
2020-05-10 10:56:35 -04:00
Jonah Graham
cef0a80f91 Bug 561054: Save host and related settings for Telnet connections
Change-Id: I99af2f77135086f5a5eb0fc0647d87ad4f749482
2020-05-10 10:56:24 -04:00
Jonah Graham
39cc3af569 Bug 561319: Remove flickering in terminal when changing selection (fixup)
Dispose of the image used for buffering GC.

Change-Id: I80b6edea3211847265140aa8992546a16474cadf
2020-04-20 16:30:19 -04:00
Jonah Graham
d66d3e8e85 [releng] Bump version to 10.0.0
Change-Id: I32f6f61835bdbad3cffd713965045c5097c8619f
2020-04-11 17:46:58 -04:00
Jonah Graham
adb7247d5c Fix warnings in o.e.tm.terminal.control bundle
Change-Id: Ief69751ba4affc13240cfdb4b79e190b3356bbd9
2020-03-30 01:47:32 -04:00
Jonah Graham
28268ad589 Bug 561319: Remove flickering in terminal when changing selection
This is done by buffering the drawing of the line of the terminal.

Change-Id: I593a3b99080d779046ea37497d93a25584c472c1
2020-03-29 11:04:23 -04:00
Jonah Graham
073035b54b [releng] Bring all CDT features to 9.12.0
Terminal and Launchbar are part of CDT so bring their feature
versions to align with CDT. This provides consistent release records and
bugzilla versions.

NOTE: this does not change Bundle Versions which continue to be
versioned based on Semantic Versioning.

Change-Id: I9f1eb4283e062e92372692bf3b3b4d4c41559dc9
2020-03-29 11:04:11 -04:00
Marco Stornelli
c2f51a8d23 [releng] Bump CDT version to 9.12.0
org.eclipse.cdt.debug.gdbjtag is bumped because of Bug 561343

Change-Id: I6dac283b7e9093662f57ac5c804021c4201ad6f1
2020-03-22 14:05:17 -04:00