Commit Graph

272 Commits

Author SHA1 Message Date
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
Luís Pereira 948b11d0b0 Use const iterators when possible.
Might avoid a detach.
2017-02-20 19:50:27 +00:00
Luís Pereira df95bee91c Enable strict iterators for debug builds
Reference: https://wiki.qt.io/Iterators

By default, it sometimes becomes possible to assign non-const iterators to
const-iterators. Thinking of an iterator as a typedef of some pointer type,
C++ allows assignment of a non-const pointer to a const pointer. To
illustrate:

QMap<QString, QString> map;

/* code compiles and works fine but find() returns the non-const
   QMap::iterator that detaches!
*/
QMap<QString, QString>::const_iterator it = map.find("girish");
2017-02-20 19:19:04 +00:00
Palo Kisa 42a2d78f2d TerminalDisplay: Make resizing "Size" translatable 2017-02-10 10:13:52 +01:00
Yen Chi Hsuan 947742cc88 Merge pull request #107 from aheck/master
Exposes the receivedData signal
2017-01-05 18:32:36 +08: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 2d57179311 Release 0.7.1: Update changelog 2016-12-21 18:51:55 +01:00
Alf Gaida fce9fedd31 Bump patch version (#105) 2016-12-17 10:57:05 +01: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