Commit Graph

243 Commits

Author SHA1 Message Date
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
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
Alf Gaida 2cca598036 Remove cpack (#93)
* remove "building with cpack" from CMakeLists.txt - not used anymore

* Added very basic .gitattributes
2016-09-30 17:18:04 +02:00
Alf Gaida 97d96dfb88 Release 0.7.0: Add changelog 2016-09-24 00:50:57 +02:00
Alf Gaida 4b127046df Bump version to 0.7.0 (#92) 2016-09-23 22:59:20 +02:00
Petr Vanek 9613feb66a Merge pull request #90 from DebauchedSloth/master
Add Solarized Color Schemes
2016-09-18 09:10:36 +02:00
Greg White 9842fa5c8e Add Solarized Color Schemes 2016-09-17 07:55:55 -04:00
Peter Mattern a0afe84e23 Update README.md 2016-09-07 14:01:54 +02: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
Alf Gaida 4b0662db11 Merge pull request #78 from f2404/patch-1
Fix building instructions
2016-06-05 22:43:37 +02:00
Igor fb562737b0 Fix building instructions 2016-06-05 09:08:22 +03:00
Alf Gaida 2a6b33d8f9 Merge pull request #73 from f2404/141_custom_color_scheme_dir
Allow app to add custom color sheme locations
2016-06-02 23:43:49 +02:00
Alf Gaida ccb5997759 Merge pull request #77 from lxde/cmake
cmake support changes
2016-06-01 21:52:15 +02:00
Alf Gaida 657f5ae16a cmake support changes
Bumped cmake_minimum_required 3.0.2
Added CMAKE_BUILD_TYPE, if not set
Added check for compiler support
Added set CXX flags
2016-06-01 19:35:02 +02: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