Commit Graph

15 Commits

Author SHA1 Message Date
Filippo Scognamiglio c8e418a164 Merge remote-tracking branch 'upstream/master' into unstable 2018-10-16 00:18:25 +02: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
Chih-Hsuan Yen 63024751cc Add a comment for potential future breakage 2018-02-28 10:49:41 +01:00
Yen Chi Hsuan c648297792 Support UTF-32 characters correctly
By replacing QString/QChar or quint16 with std::wstring and wchar_t
2018-02-28 10:49:41 +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
Yen Chi Hsuan 3e7f8d7875 Handle DECSCUSR signals 2017-07-21 19:51:55 +02: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
Igor fa2476bbc5 Replace assert() with Q_ASSERT() 2016-05-16 12:59:18 +03:00
Igor c472676560 Bracketed paste mode implementation 2016-02-01 19:26:39 +03:00
Adrian Kummerlaender 06321bd308 Expose complete history to QML
The use case for this functionality is to be able to e.g. display the terminal application's output after it was terminated.
This requires exposing a `clearScreen` method to QML as the history only contains the lines not currently displayed in the widget. If we want to access the whole output we have to be able to flush the screen beforehand.

The single argument overload of `Emulation::writeToStream` simplifies reading the complete history at once without having to further expose it's length.
2015-08-29 22:24:25 +02:00
Jerome Leclanche 72ffc262eb Clean up trailing whitespaces 2015-07-09 20:22:48 +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 6ad5d7070a merge changes from the experimental "bundle" repository 2011-06-22 13:12:21 +02:00
Petr Vanek 57fd23bf39 K&R formatting 2010-10-01 16:08:14 +02:00
Petr Vanek 88b5a11bb4 merge with qscite 2010-10-01 15:54:31 +02:00