Commit Graph

77 Commits

Author SHA1 Message Date
Andrew Janke fa4a1bad42 Fix default font on macOS
Qt does not support fontconfig on macOS, so we need to work around it and
provide a "real" font family name for the default font. Otherwise, "Monospace"
will be unrecognized and it will fall back to a variable-width font.
2019-03-10 14:26:09 +08:00
Chih-Hsuan Yen b09e1d4882 Revert "Rework on memory management of filter-related objects"
This reverts commit 0154e036c7.
2019-01-14 13:17:00 +08:00
Shlyak Pavel c1e94c94df Remove unnecessary checks 2018-12-10 01:18:54 +01:00
Ecmel B. CANLIER 8eba2e2d3b Implement methods to change padding 2018-09-02 17:31:12 +08: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
Yen Chi Hsuan 0154e036c7 Rework on memory management of filter-related objects 2018-06-28 12:20:07 +02: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 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 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
Yen Chi Hsuan 248f29e9ff Add translation mechanism 2017-02-26 23:19:26 +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
Yen Chi Hsuan 58f96bacb3 Implement background images (#95) 2016-11-20 22:18:29 +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
Palo Kisa d44e3ede69 qtermwidget: Unify title & icon propagation 2016-07-26 15:00:31 +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 ad59d1dc5e Allow app to add custom color sheme locations 2016-05-25 11:15:14 +03: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
Paulo Lieuthier 0ae52e5bf3 Enable terminal resizing from the emulator
The pieces were all already there, but not connected.
2015-11-05 17:39:54 -03:00
Jerome Leclanche 72ffc262eb Clean up trailing whitespaces 2015-07-09 20:22:48 +02:00
F1ash 7c315942d3 implemented start TTY for external recipient; 2015-02-22 17:47:47 +03:00
F1ash 109ee5796f add method for get pty slave fd; 2015-01-18 14:49:07 +03:00
Arnout Engelen 8b8f8532c3 Fix 'getSelectionEnd' 2014-11-29 21:29:45 +01:00
Petr Vanek 2bcb137a5b Url activation & filters #21 2014-07-14 13:22:13 +02:00
0xd34df00d c395f0d1b4 Proxy activity/silence methods to Session in QTermWidget. 2014-06-14 17:20:36 +04:00
0xd34df00d f5934250de Support bells. 2014-06-14 16:34:44 +04:00
0xd34df00d 627bfb3c61 Support bells. 2014-06-14 16:12:04 +04:00
Petr Vanek 9fc65306d8 Merge pull request #20 from 0xd34df00d/autolinks
Links highlighting and handling
2014-05-24 10:03:58 +02:00
0xd34df00d c86daa799e Added QTermWidget::urlActivated(QUrl) signal.
Relays the corresponding UrlFilter's signal.
2014-05-24 03:34:27 +04:00
0xd34df00d 5ee25a7a24 Add UrlFilter. 2014-05-24 02:57:20 +04:00
0xd34df00d 9f5c331c20 Const-correctness for QTermWidget API. 2014-05-23 20:51:14 +04:00
0xd34df00d 97f14706ef Load arbitrary schemes by path via setColorScheme(). 2014-05-21 00:08:36 +04:00
Petr Vanek 3f8b5cf1f0 new API selectedText() 2014-04-18 10:23:17 +02:00
Petr Vanek b631c0e398 new API methods (thanks to William Brumley) 2014-04-18 10:18:47 +02:00
Petr Vanek 5d3ef34cc2 fixed #11 compile against Qt 5 (Qt4 and Qt5 supported and waguely tested) 2014-04-11 21:28:52 +02:00
Petr Vanek 5469a4db0a fixed broken API for sendText() - const missing 2014-04-09 22:06:45 +02:00
Petr Vanek 8b3062f024 Current Working Directory for linux. Part of #8. More implementations welcomed... 2013-11-18 14:58:10 +01:00
Francisco Ballina 925c888ad1 Add a method for get working directory in class QTermWidget 2013-10-26 22:48:06 -05:00
Chris Mueller dd471e5391 Fix missing cleanup for temporary history files
QTermWidget only add the TerminalDisplay to qt's owner hierarchy for
automatic cleanup. With each new tab a new Session object will be
created and but never deleted (which would cleanup internally the
history files).

This bugfix simple adds to each Session's parent relationship the
corresponding QTermWidget.
2013-10-11 00:18:10 +02:00
Christian Surlykke 57f145503f Added pasteSelection-slot and corrected two nonsense comments 2013-02-06 22:02:24 +01:00
Petr Vanek 9afd1444aa Without this, the terminal display area will permanently lose focus when consoleq's Find dialog is called up. 2013-02-05 11:39:12 +01:00
Christian Surlykke cda217281d Search code cleanup 2013-01-23 08:39:22 +01:00
Christian Surlykke c3d72a638a Change searchbar background color to red(ish) when no match found 2013-01-17 17:02:51 +01:00