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
Igor
d1c22ac5da
Avoid enums duplication
2016-05-23 17:27:17 +03:00
Igor
bc85769b73
Add support for setting keyboard cursor shape
2016-05-23 17:03:04 +03:00
Igor
9be288eddc
Remove assignment to self
2016-05-21 20:55:12 +03:00
Igor
ef451424d7
Backport konsole changes to fix memory leaks
...
Fixes #58
2016-05-18 14:01:45 +03:00
Igor
507adb9061
Remove __FILE__ macros
2016-05-16 12:59:18 +03:00
Igor
fa2476bbc5
Replace assert() with Q_ASSERT()
2016-05-16 12:59:18 +03:00
Nitori-
a3ab230753
Fix ASan error about delete size mismatch
2016-05-15 15:22:17 -05:00
Bas Couwenberg
dfebb5a419
Add support for GNU/Hurd to kpty.cpp.
...
The GNU/Hurd porting guidelines document the following:
"
Missing termio.h
Change it to use termios.h (check for it properly with autoconf
HAVE_TERMIOS_H or the __GLIBC__ macro)
Also, change calls to ioctl(fd, TCGETS, ...) and ioctl(fd, TCSETS, ...)
with tcgetattr(fd, ...) and tcsetattr(fd, ...).
"
https://www.gnu.org/software/hurd/hurd/porting/guidelines.html#Missing_termio_h_tt_
2016-05-14 17:41:10 +02:00
Alf Gaida
798e46747b
fixes kfreebsd builds on debian and derivatives
2016-05-14 03:34:40 +02:00
Igor
c8d1e02c58
Fix indenations (misleading-indentation warning)
2016-05-07 19:08:40 +03:00
Igor
7132931a2d
Remove Q_DECL_OVERRIDE macros
2016-05-07 17:33:24 +03:00
Alf Gaida
3bfdfe86be
typo Higlight
2016-04-03 00:05:45 +02:00
Jerome Leclanche
ec775e3450
Remove noisy qDebugs
2016-04-02 20:08:38 +03:00