Commit Graph

281 Commits

Author SHA1 Message Date
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
RiddleSomebody f635891070 Add an example for remote terminal 2017-12-10 14:26:38 +01:00
Luís Pereira 895e90eb0a Makes the use of libutempter optional
It introduces a CMake option variable called QTERMWIDGET_USE_UTEMPTER.
Defaults to OFF.
This library is used mainly in FreeBSD systems.
2017-12-09 18:51:11 +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
Alf Gaida dc7a868f99 Install cmake files in LIBDIR as they are architecture dependend
fixes lxde/qtermwidget/issues/147
2017-11-03 15:18:25 +00:00
Olivier Duchateau d1c91f681a Check if utempter.h header exists (mainly for FreeBSD) 2017-10-28 21:51:36 +08:00
Michael Vetter 073d7df20b Need lxqt-build-tools 0.4.0 2017-10-26 01:47:34 +08:00
Alf Gaida 1e00757da6 Release 0.8.0: Update changelog 2017-10-21 21:01:23 +02:00
hoxnox 1da2661dc5 FIX: #46 fix vertical font truncation 2017-10-21 17:43:27 +02:00
Alf Gaida 407da14c28 bump versions 2017-10-19 16:30:15 +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
Michael Vetter a057bf5abf README: don't recommend building from source 2017-10-14 17:44:53 +02:00
Michael Vetter f9bb5a4ea7 Improve README 2017-10-14 17:16:48 +02:00
Alf Gaida 4cc880a87e Don't export github templates 2017-09-24 19:05:29 +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
Alf Gaida 7677d1bbaf Copied issue template
refs lxde/lxqt/issues/1322
2017-07-08 23:48:18 +02:00
Yen Chi Hsuan 2f473c4ed2 Update building instructions 2017-05-19 22:57:22 +08:00
Yen Chi Hsuan a021195e93 Require Qt 5.6+
5.6+ is necessary since #122
2017-05-19 22:57:22 +08: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
Yen Chi Hsuan 075e355faf Merge pull request #109 from DonnieWest/backportKeytab
Backport the default.keytab from Konsole
2017-04-25 02:54:02 +08: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 1f7f9f8b8d Merge pull request #114 from pawelkoston/master
Update PyQt5 bindings
2017-03-27 15:28:03 +08:00
Paweł Kostoń 6b0af2e5be Updated README, Added support for PyQT 5.7
PEP8
2017-03-21 17:22:19 +01:00
Yen Chi Hsuan 08628fda19 Fix memory leak in hotspot (URLs & emails) detection 2017-03-19 22:28:59 +08:00
Luís Pereira 1fbecace4d Adds superbuild support 2017-03-06 02:02:06 +08:00
Luís Pereira 31c516affe Use target_compile_definitions() instead of add_definitions()
The remaining ones.
2017-03-06 02:02:06 +08:00
Luís Pereira 63a71cf245 Update find_package() documentation 2017-03-06 02:02:06 +08:00
Luís Pereira f937393f09 Use the lxqt_create_pkgconfig_file
Drops the local one.
It also improves the .pc file in several ways.
2017-03-06 02:02:06 +08:00
Luís Pereira 46cffb0b6c Improve lxqt_translate_ts() use
Uses the INSTALL_DIR, COMPONENT and sources.
Add the UPDATE_TRANSLATIONS option.
2017-03-06 02:02:06 +08:00
Luís Pereira eb68ffe014 Adds COMPONENT to the install files 2017-03-06 02:02:06 +08:00
Luís Pereira 7829b18119 Renames test app to example. Make it work
test is a reserved name. Adapt it to match the changes done.
src directory renamed to example. src was a misleading name.
2017-03-06 02:02:06 +08:00
Luís Pereira 86389c8838 Drop include_directories() for in tree dirs
Use the target_include_directories() with BUILD_INTERFACE.
Also use CMAKE_INCLUDE_CURRENT_DIR.
2017-03-06 02:02:06 +08:00
Luís Pereira d7dbff6de1 Use the CMake Targets way
Drop the qtermwidget5_use file. Everything done with targets.
2017-03-06 02:02:06 +08:00
Luís Pereira a8d994803d Pack Utf8Proc stuff
Make the package required when USE_UTF8PROC IS ON.
Use target_compile_definitions(), target_include_directories() and
target_link_libraries().
2017-03-06 02:02:06 +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
Luís Pereira 2bc47dc9a8 Use LXQtCompilerSettings
Since we are already using lxqt-build-tools, there's no reason to not take
advantage of it.
2017-03-06 02:02:06 +08:00
Luís Pereira 06156e73d7 Packs compile definitions 2017-03-06 02:02:06 +08:00
Luís Pereira f258e57488 Adds package version file
It's used by find_package() to handle versioning.
2017-03-06 02:02:06 +08:00
Luís Pereira a13a3eef2e Removes Qt4 stuff
We don't support it anymore.
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 69d4bdd825 Merge branch 'iterators'
* iterators:
  Use const iterators when possible.
  Enable strict iterators for debug builds
2017-02-24 11:19:24 +00:00