Commit Graph

236 Commits

Author SHA1 Message Date
Miguel A. Bouzada 1cffced5a2 Translated using Weblate (Galician)
Currently translated at 100.0% (21 of 21 strings)

Translation: LXQt/QTermWidget
Translate-URL: https://weblate.lxqt.org/projects/lxqt/qtermwidget/gl/
2018-11-18 20:32:27 +01:00
Miguel A. Bouzada 29a5181bc4 Added translation using Weblate (Galician) 2018-11-18 20:32:27 +01:00
Alf Gaida 1bb95711bb Set cmake_minimum_required(VERSION 3.1.0 FATAL_ERROR)
Removed CMAKE_BUILD_TYPE
2018-11-18 20:11:21 +01:00
Tsu Jan 13fe22aac4 Correct deleting of HotSpot list items
Fixes https://github.com/lxqt/qterminal/issues/504
2018-11-06 23:07:12 +01:00
Einar Mostad 6fb3b06575 Added translation using Weblate (Norwegian Bokmål) 2018-10-25 00:51:20 +02:00
Denis Rouzaud 54bcaddab7 fix local variable will be copied despite being returned by name (#221)
* fix local variable will be copied despite being returned by name

error when building with clang 7

* Fix error return-std-move

std::move should not be used here because
it prevents RVO (copy elision) and it's
considered an anti-pattern.

To fix the original warning the returned
type must match the declared return
type or copy elision will not be possible
(and the warning will be triggered).

* Update ColorScheme.cpp
2018-10-15 11:30:40 +08:00
Tsu Jan 871d069b8b Fix visual glitches in search-bar
Closes https://github.com/lxqt/qterminal/issues/249
2018-10-09 22:50:26 +02:00
Chih-Hsuan Yen 8374bf9d31 Redraw cursor after cursor type changed (closes #161) 2018-10-09 22:49:27 +02:00
Chih-Hsuan Yen b5da2e2dac Make Backspace behaves the same as xterm
Fixes https://github.com/lxqt/qtermwidget/issues/1

Notes about other terminals:

Konsole:
^? for backspace and ^H for ctrl+backspace

Gnome Terminal (VTE3):
- ^? for backspace and ^H for ctrl+backspace by default, and
- ^H for backspace and ^? for ctrl+backspace if the option
  "Backspace key generates:" is set to "Control-H"
2018-09-30 17:39:05 +02:00
Chih-Hsuan Yen b8df480d60 Drop the ability to bundle kb-layouts and colorschemes 2018-09-30 01:25:44 +02:00
Chih-Hsuan Yen ec25b71ea1 Fix handling of ST (String Terminator) for OSC (Operating System Commands)
This is an improvement over a combination of

https://github.com/KDE/konsole/commit/7a41b73b46d1f774e82eb64a8b66920e411ccd3c
https://github.com/KDE/konsole/commit/d547d1d177bd0582df95a5d50dc3b37e0636748e

Fixes https://github.com/lxqt/qtermwidget/issues/163
Fixes https://github.com/lxqt/qtermwidget/issues/212
2018-09-30 01:22:31 +02:00
Tsu Jan 1e7e494229 Fixed link mouseover after recent changes
Closes https://github.com/lxqt/qtermwidget/issues/213, closes https://github.com/lxqt/qtermwidget/issues/209, supercedes https://github.com/lxqt/qtermwidget/pull/211

Also, @agaida's fix for an old issue in link mouseover is included.
2018-09-23 00:52:53 +02:00
Alf Gaida 6d1be93f68 Updated translations with lxqt-transupdate 2018-09-02 23:20:23 +02:00
Ecmel B. CANLIER 2b25bec3ad Fix getMargin 2018-09-02 17:31:12 +08:00
Ecmel B. CANLIER 8eba2e2d3b Implement methods to change padding 2018-09-02 17:31:12 +08:00
Ecmel B. CANLIER e331bd4c67 Make padding configurable 2018-09-02 17:31:12 +08:00
Ecmel B. CANLIER ac6581e24f Make margin variables non-const to allow modification 2018-09-02 17:31:12 +08:00
titiracoon 540c00ffc3 Translated using Weblate (French)
Currently translated at 100.0% (21 of 21 strings)

Translation: LXQt/QTermWidget
Translate-URL: https://weblate.lxqt.org/projects/lxqt/qtermwidget/fr/
2018-08-23 18:14:58 +02:00
Rikard Falkeborn 1dbbe6ee27 Mark some functions const 2018-08-12 10:39:35 +08:00
Chih-Hsuan Yen 79407f6bba use openpty() on mac
This commit includes a 10-year-old fix from upstream kpty
https://github.com/KDE/kdelibs/commit/fff22a70fc636eaea3a1443d66641067df01fd28
2018-08-09 21:58:51 +02:00
Luís Pereira c6880070e9 Don't use automatic string conversions
* Disables automatic conversions from 8-bit strings (char *) to unicode
  QStrings.
* Disables automatic conversion from QString to 8-bit strings (char *).
* Disables automatic conversions from QByteArray to const char * or const
  void *.
* Disables automatic conversions from QString (or char *) to QUrl.
* Use QStringBuilder for more efficient string creation.

It make us aware of string and encoding conversions.
2018-08-05 22:09:57 +08:00
Simon Quigley e3adf1abe2 Added translation using Weblate (Welsh) 2018-08-02 16:27:26 +02:00
Elias M. Mariani b18f71aa93 OpenBSD special case.
#define HAVE_LOGIN
#define HAVE_UTIL_H
2018-07-25 17:02:58 -03:00
p-bo ce7c76344d Translated using Weblate (Czech)
Currently translated at 100.0% (21 of 21 strings)

Translation: LXQt/QTermWidget
Translate-URL: https://weblate.lxqt.org/projects/lxqt/qtermwidget/cs/
2018-07-23 12:37:22 +08:00
p-bo f30594db41 Added translation using Weblate (Čeština) 2018-07-23 00:12:21 +08:00
Tsu Jan 3838728c22 Suppress compilation warnings 2018-07-16 17:24:13 +02:00
Alfredo Ramos 8957d5b70a Translated using Weblate (Spanish)
Currently translated at 100.0% (21 of 21 strings)

Translation: LXQt/QTermWidget
Translate-URL: https://weblate.lxqt.org/projects/lxqt/qtermwidget/es/
2018-07-09 16:08:09 +00:00
micrococo 579ffe0c20 Translated using Weblate (Spanish)
Currently translated at 95.2% (20 of 21 strings)

Translation: LXQt/QTermWidget
Translate-URL: https://weblate.lxqt.org/projects/lxqt/qtermwidget/es/
2018-06-30 01:45:12 +02:00
Yen Chi Hsuan 0154e036c7 Rework on memory management of filter-related objects 2018-06-28 12:20:07 +02:00
Oliver Burkardt c101e296b7 Translated using Weblate (German)
Currently translated at 100.0% (21 of 21 strings)

Translation: LXQt/QTermWidget
Translate-URL: https://weblate.lxqt.org/projects/lxqt/qtermwidget/de/
2018-06-26 22:31:56 +02:00
Dimitrios Glentadakis 006568764d Translated using Weblate (Greek)
Currently translated at 100.0% (21 of 21 strings)

Translation: LXQt/QTermWidget
Translate-URL: https://weblate.lxqt.org/projects/lxqt/qtermwidget/el/
2018-06-26 11:29:04 +08:00
Alf Gaida ed2efa856c Translated using Weblate (Portuguese)
Currently translated at 100.0% (21 of 21 strings)

Translation: LXQt/QTermWidget
Translate-URL: https://weblate.lxqt.org/projects/lxqt/qtermwidget/pt/
2018-06-24 14:47:05 +02:00
Yaron Shahrabani e32c307120 Translated using Weblate (Hebrew)
Currently translated at 100.0% (21 of 21 strings)

Translation: LXQt/QTermWidget
Translate-URL: https://weblate.lxqt.org/projects/lxqt/qtermwidget/he/
2018-06-24 14:47:05 +02:00
Dimitrios Glentadakis 380fe40556 Translated using Weblate (Greek)
Currently translated at 100.0% (21 of 21 strings)

Translation: LXQt/QTermWidget
Translate-URL: https://weblate.lxqt.org/projects/lxqt/qtermwidget/el/
2018-06-24 14:47:05 +02:00
Yaron Shahrabani ff2695752d Added translation using Weblate (Hebrew) 2018-06-24 14:47:05 +02:00
r901042004 a41b3630a9 Translated using Weblate (漢語(正體字))
Currently translated at 100.0% (21 of 21 strings)

Translation: LXQt/QTermWidget
Translate-URL: https://weblate.lxqt.org/projects/lxqt/qtermwidget/zh_Hant/
2018-06-24 14:47:05 +02:00
Palo Kisa 728a5c5044 kptyprocess: Give shell some time for finishing 2018-06-13 23:51:34 +02:00
Alf Gaida ee9e1e3566 Added translation using Weblate (German) 2018-06-12 22:59:26 +02:00
Alf Gaida 79ce3f642e Translation update of qtermwidget 2018-06-03 18:07:39 +02:00
Alf Gaida 0622bfaedd Merge in the translations of qtermwidget from lxqt-l10n into qtermwidget-translation-move 2018-06-03 18:07:38 +02:00
Tsu Jan 2b7c2b38ed Take transient scrollbars into account
Fixes https://github.com/lxqt/qterminal/issues/415

Because they are transient by definition (since Qt 5.5), the code should not spare an extra space for them (Konsole does not have this feature).

Apart from that, the code does not need to fill the area behind the scrollbar explicitly; it is enough to auto-fill it.

Naturally, no change will be seen with styles other than Kvantum.
2018-05-06 20:01:48 +02:00
Palo Kisa 4cc05f9899 kptyprocess: Try to terminate the shell process
..in destructor if the process is still running.

This is a workaround and a proper solution should be made on higher
levels (QTerminal?) -> properly try to close the session and optionally
present information from shell about the state.
2018-04-18 17:44:40 +02:00
j0hnnybash 6ac3731329 New color scheme: Ubuntu inspired 2018-04-18 17:44:00 +02:00
Chih-Hsuan Yen 63024751cc Add a comment for potential future breakage 2018-02-28 10:49:41 +01:00
Chih-Hsuan Yen 51dad30fc0 Use wstring in TerminalCharacterDecoder for UCS-4 compatibility
PlainTextDecoder is used in at least clipboard data handling
HTMLDecoder is not used for now
2018-02-28 10:49:41 +01:00
Yen Chi Hsuan c648297792 Support UTF-32 characters correctly
By replacing QString/QChar or quint16 with std::wstring and wchar_t
2018-02-28 10:49:41 +01:00
Chih-Hsuan Yen a7511335f1 Fix "bold and intensive" colors
For example, \e[0;1m\e[90m should give bold gray texts. It gave black.

Quick notes:
0 => reset all attributes
1 => use bold. In popular implementations (VTE3 & konsole), it also
changes a normal color to an intense color
90 => color0, intense; usually gray

This is already fixed in konsole:
https://github.com/KDE/konsole/commit/771b4b22289d928f77d0a3bda9762b8137f2407c

I happen to use the same function name :)
2018-02-16 18:30:36 +01:00
Selivanov Pavel 884ac45975 New color scheme: Tango (#167)
* Create Tango.colorscheme

* Update Tango.colorscheme

* Update Tango.colorscheme

* Update Tango.colorscheme
2018-02-12 20:32:38 +08:00
Chih-Hsuan Yen 733f4b6e8f Finish SGR mouse protocol (1006)
Some codes in https://github.com/KDE/konsole/commit/c83e7b638dcc42b617a067e6dc23686eccf23b00
are missing. Backport all of them.

Fixes #164
2018-02-06 18:07:19 +01:00
Zang MingJie 1d4ddc8afd Expose bracket text function 2018-01-13 03:10:31 +01:00