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
Luís Pereira
ba85185c40
Drop Qt foreach.
...
Replaced with the ranged-for loop.
Using QT_NO_FOREACH to enforce it.
Qt 5.7.1 required.
2018-01-12 20:16:19 +01:00
BlahGeek
02e1ea9702
Expose terminal size hint API
2017-12-10 16:26:56 +01:00
Safa Alfulaij
87c3d9cfa6
Remove class name
2017-12-10 16:15:35 +01:00
Safa AlFulaij
26a3c17960
Return something
2017-12-10 16:15:35 +01:00
Safa AlFulaij
55393cd695
Expose bidi option
2017-12-10 16:15:35 +01:00
Yen Chi Hsuan
8a3a9a40cb
Fix behavior of scroll up (SU)
...
This is a backport of https://github.com/KDE/konsole/commit/7ff23512fd6c6af1dba87083446f85baf75e9c71
2017-12-09 18:46:06 +01:00
hoxnox
1da2661dc5
FIX : #46 fix vertical font truncation
2017-10-21 17:43:27 +02:00
Yen Chi Hsuan
7173ef7ae2
Really fallback to /bin/sh when $SHELL is missing or invalid
...
Also add a warning
Closes https://github.com/lxde/qterminal/issues/354
2017-10-15 13:19:03 +02:00
Yen Chi Hsuan
60221dae4c
Support REP escape sequence defined in ECMA-48, section 8.3.103
...
Since ncurses 20170729, supporting REP is necessary for terminals with
xterm compatibility (TERM=xterm or similar). This patch fixes layout
issues with htop. [1]
[1] http://lists.gnu.org/archive/html/bug-ncurses/2017-08/msg00051.html
2017-09-10 21:18:58 +08:00
Mikal Villa
35e5f4141d
Fix build issue related to utmpx in Mac OSX Sierra
2017-08-06 21:36:08 +08:00
Yen Chi Hsuan
880b3bcd6c
Remove the deprecation notice
...
Keep everything in QTermWidget class. Confusing users with Konsole
namespace sounds a bad idea.
2017-07-21 19:51:55 +02:00
Yen Chi Hsuan
3e7f8d7875
Handle DECSCUSR signals
2017-07-21 19:51:55 +02:00
Donnie West
ab8a62fce6
This commit allows the consumer of qtermwidget to capture the ( #111 )
...
profileChanged signal and receive all of the settings change escape
codes
Fixes #110
2017-04-24 21:41:48 +02:00
Yen Chi Hsuan
443040dd24
Allow the terminal display to be smaller than the size hint ( #123 )
...
Fixes https://github.com/lxde/qterminal/issues/288
2017-04-24 21:27:20 +02:00
Donnie West
d84849b04b
Backport Vt102 emulation fixes ( #113 )
...
Also pull in KeyboardTranslator and Character updates
2017-04-24 21:26:56 +02:00
Donnie West
934107ae7d
Backport the default.keytab from Konsole
...
Fixes #103 and corrects other key bindings
2017-04-24 13:38:36 -05:00
Luís Pereira
3ce71a3650
Fixes ( #122 )
...
* Prevent a possible C++11 range for detach
The solution with Qt>=5.7 is to use the qAsConst() macro.
But the qAsConst macro is just a const_cast to const T&.
* Don't call QByteArray::operator[]() on temporary
Just use the QByteArray::at().
* Adds missing reference in foreach
That's an non non trivial type (QString), using a reference as no drawbacks
and it performs better.
* Use QStringList::constFirst()
Drop QStringList::first(). It's faster and we might avoid detaching a
temporary.
* Don't call QList::operator[]() on temporary objects
It's not what we want. The at operator and QList::value() do the job in the
right way.
* Stops allocating an unneeded temporary container
We were allocating an temporary container (_entries.values(keyCode)) which
implies an extra iteration also.
Now we don't use any temporary container and only perform one iteration.
2017-04-22 11:55:16 +02:00
Yen Chi Hsuan
08628fda19
Fix memory leak in hotspot (URLs & emails) detection
2017-03-19 22:28:59 +08:00
Luís Pereira
b1f37a882c
Adds export header
...
We need it because LXQtCompilerSettings makes all symbols hidden by
default.
2017-03-06 02:02:06 +08:00
Yen Chi Hsuan
248f29e9ff
Add translation mechanism
2017-02-26 23:19:26 +08:00
Luís Pereira
948b11d0b0
Use const iterators when possible.
...
Might avoid a detach.
2017-02-20 19:50:27 +00:00
Palo Kisa
42a2d78f2d
TerminalDisplay: Make resizing "Size" translatable
2017-02-10 10:13:52 +01:00
Andreas Heck
553eaf16ee
Exposes receivedData signal to users of QTermWidget
2017-01-03 00:08:43 +01:00
Andreas Heck
c7103b0cc6
Exposes sessions autoClose property to QTermWidget
2016-12-25 01:39:32 +08:00
Alf Gaida
9e5b946d09
Added a modified Breeze color scheme ( #104 )
...
* Changed some of the accent colors for better readability
* Default opacity 0.95
2016-12-16 22:54:57 +01:00
Yen Chi Hsuan
586715accc
Accept hex color strings as well ( #101 )
...
Fixes https://github.com/lxde/qterminal/issues/286
2016-12-02 22:26:54 +01:00
Yen Chi Hsuan
807619af53
Remove the stale lib/README ( #102 )
...
Fixes #54
2016-12-02 01:43:30 +01:00
Yen Chi Hsuan
58f96bacb3
Implement background images ( #95 )
2016-11-20 22:18:29 +01:00
Yen Chi Hsuan
9be45d6a61
Implement other BOX DRAWING characters ( #98 )
...
Porting of
https://github.com/KDE/konsole/commit/1a61aaa5915b5c4a5b205e87d35c38562f932fe0
Fixes https://github.com/lxde/qterminal/issues/277
2016-11-20 15:52:17 +01:00
Yen Chi Hsuan
000fc2e8cf
Preparations for context menu actions on URLs ( #97 )
...
1. Define click-action so that QTermWidget clients can tell clicking
from context menu actions
2. Expose filterActions
2016-11-20 15:26:14 +01:00
Yen Chi Hsuan
5d8544455f
Drop the ancient wcwidth impl. and use utf8proc if possible ( #99 )
2016-11-19 12:31:50 +01:00
Pavel Khlebovich
e27b89f4ef
Remove widget size checks in setVTFont() ( #86 )
2016-10-04 11:37:43 +02:00
Igor
e5dbf9a359
Delete unused tooltip code ( #81 )
2016-10-03 21:38:18 +02:00
Igor
1727d921b2
Fix size of the array passed to memset() ( #79 )
2016-10-03 21:38:01 +02:00
Greg White
9842fa5c8e
Add Solarized Color Schemes
2016-09-17 07:55:55 -04:00
Palo Kisa
d44e3ede69
qtermwidget: Unify title & icon propagation
2016-07-26 15:00:31 +02:00
Palo Kisa
e6253c046e
lib: Fix FTBFS (struct vs. class mismatch)
2016-07-19 10:41:27 +02:00
Yen Chi Hsuan
470295d015
Add 'const' decorators
2016-07-18 00:33:07 +08:00
Yen Chi Hsuan
098bc377ff
Expose titleChanged() signal
2016-07-17 19:10:10 +08:00
Igor
534a86a00a
Make addCustomColorSchemeDir() static and check for duplicates
2016-05-26 14:50:14 +03:00
Igor
405ad67bdc
Address review comments
2016-05-25 17:17:46 +03:00
Igor
ad59d1dc5e
Allow app to add custom color sheme locations
2016-05-25 11:15:14 +03:00
Petr Vanek
5ebc2c0780
Merge pull request #71 from f2404/70_assert
...
Avoid including source files names into the library binary
2016-05-25 09:13:53 +02:00
Petr Vanek
920ccbe589
Merge pull request #59 from f2404/58_fix_memory_leak
...
Fix memory leaks
2016-05-25 09:12:01 +02:00
Petr Vanek
c576cf0dc9
Merge pull request #60 from f2404/48_bracketed_input
...
Bracketed paste mode implementation
2016-05-25 09:10:46 +02:00
Petr Vanek
4345a36563
Merge pull request #67 from f2404/indent
...
Fix indenations (misleading-indentation warning)
2016-05-25 09:10:05 +02:00
Petr Vanek
d7fa613e91
Merge pull request #74 from f2404/self_assign
...
Remove assignment to self
2016-05-25 09:09:27 +02:00