Kurt Hindenburg
f9b0d40fb1
Use QStringLiteral()
11 years ago
Kurt Hindenburg
dc5ba8c695
add QList::reserve()
11 years ago
Kurt Hindenburg
65a151e035
simplify determining empty string
11 years ago
Kurt Hindenburg
c5d6b82e08
minor reduce variable scope
11 years ago
Kurt Hindenburg
daa7d02363
Disable copy/assignment constructors
11 years ago
Kurt Hindenburg
c5909f5819
Disable copy/assignment constructors
11 years ago
Kurt Hindenburg
4c54de5f87
Add tests for ColorEntry() class
11 years ago
Kurt Hindenburg
3b7402324b
Instead of using invalid color, set ColorEntry() color to black.
11 years ago
Kurt Hindenburg
0fdc52b222
Use QFlags:: for Field enum
11 years ago
Kurt Hindenburg
6ea46d0b04
remove unused variable
11 years ago
Kurt Hindenburg
6d39aa019b
add session.count() to qWarning
11 years ago
Kurt Hindenburg
3dc1b5a72d
Seperate tests into one w/o a shell running
...
currentWorkingDirectory() is in kde_terminal_interface now
11 years ago
Kurt Hindenburg
c5bb937988
Make currentWorkingDirectory() override kde_terminal_interface
...
Also remove virtual keywords from Q_DECL_OVERRIDE
11 years ago
Christoph Cullmann
7c00486f99
like all frameworks => only output warnings per default
11 years ago
Kurt Hindenburg
ceebde3b4a
Add TerminalInterfaceTest to autotests
11 years ago
Kurt Hindenburg
04a5749717
Switch to use foreach() w/ QActions
11 years ago
Kurt Hindenburg
8e13deabb4
Remove the last residues of Shell.profile
11 years ago
Kurt Hindenburg
48ae849c8c
Use QStringLiteral and QList::reserve()
11 years ago
Kurt Hindenburg
1893ee5ad0
Remove old KDE3 code
...
This includes reading the old color .schema files
11 years ago
Kurt Hindenburg
0bca1e15b5
Add sequence for FocusGained and FocusLost
...
<esc>\[O Focus gained send
<esc>\[I Focus lost send
<esc>\[?1004h Enable focus reporting recv
<esc>\[?1004l Disable focus reporting recv
Patch by Gerhard Gappmeier gerhard gappmeier ascolab com
REVIEW: 124898
11 years ago
Kurt Hindenburg
fd4db003af
Mark tests as ecm_mark_nongui_executable to allow running on MacOSX
11 years ago
Kurt Hindenburg
9076c3af47
Implement xterm's background color request/reply
...
vim uses control sequence 'echo -e "\033]11;?\a"' to request real
background color -- to detect whether terminal has dark or light
background.
Thanks to Pavel Raiskup praiskup redhat com
REVIEW: 125333
BUG: 352945
FIXED-IN: 15.12
11 years ago
Albert Astals Cid
16b3919ff8
Fix heap-use-after-free in Part destructor
...
Tear down the ViewManager on the Part destructor instead of letting Qt destroy the child objects itself.
This way we control the sequence more and make sure we don't end up using memory that was already deleted. Fixes the ASAN detected problem in https://build.kde.org/job/konsole%20Applications-15.08%20stable-kf5-qt5/PLATFORM=Linux,compiler=gcc/12/testReport/%28root%29/TestSuite/PartTest/
Neither ASAN nor valgrind complain anymore when running PartTest.
REVIEW: 125366
(cherry picked from commit ace53ef482c621b375eea2d9b38eda6b11b69873)
11 years ago
Kurt Hindenburg
05d2328d67
Remove some KDE4 usage in comments
11 years ago
Kurt Hindenburg
7ae2140235
s/KShortcut/QKeySequence - commented out code ATM
11 years ago
Kurt Hindenburg
4885ca763e
s/KAction/QAction - commented out code ATM
11 years ago
Kurt Hindenburg
90dfa7240a
Add const &
11 years ago
Kurt Hindenburg
b6ccb539bf
Convert to new Qt5 Signal/Slot syntax
11 years ago
Kurt Hindenburg
6d9ecac20b
Apparently when I moved the tests to autotests I didn't use 'git mv'
...
Remove unused files in tests/
11 years ago
Kurt Hindenburg
ff66b231bf
Remove unneeded includes
11 years ago
Kurt Hindenburg
917d932f46
Add const and &
11 years ago
Kurt Hindenburg
104f3dd1ef
Remove unused function qHash
11 years ago
Kurt Hindenburg
2c0013cc84
Use QList::reserve()
11 years ago
Kurt Hindenburg
c0c147e03d
Allow profiles to be deleted if user has permissions
...
The logic behind this was flawed and never worked as expected.
11 years ago
Kurt Hindenburg
f316dc77f6
s/reset/beginResetModel endResetModel/
...
Qt5 port away from QAbstractItemModel::reset() to
QAbstractItemModel::(begin|end)ResetModel()
11 years ago
Kurt Hindenburg
b8b1600947
Simplify saving of new/changed profiles.
...
All new and changed profiles are saved under user's local location.
Since Konsole now no longers ships w/ any profiles there should be less
confusion and issues.
11 years ago
Kurt Hindenburg
2012aa593e
Set fallback terminal rows to a more reasonable 24
11 years ago
Kurt Hindenburg
f9bb14fa76
s/setResizeMode/setSectionResizeMode/
...
port away from KDE4Libsupport - update to new Qt method
11 years ago
Kurt Hindenburg
f5bb2f1c5d
For MacOSX, get it so that it builds
...
Remove kde_file and comment out parts that used it. Konsole currently
builds on OSX but dies upon startup
kdelibs4support/src/kdecore/kcmdlineargs.cpp +1492
11 years ago
Kurt Hindenburg
e14c2992c5
Use const reference inside Q_FOREACH
11 years ago
Kurt Hindenburg
f8fa47463f
Use .at(0) instead of .first() for QLists
11 years ago
Kurt Hindenburg
a402947c28
Use QVariant::toString instead of ::value
11 years ago
Kurt Hindenburg
5168fa3c24
Move ManageProfiles dialog to Configure Konsole window
...
Change the stand alone ManageProfiles dialog into a tab inside the
Configure Konsole window.
Side effect is that Konsole KParts can't open manage profiles.
11 years ago
Kurt Hindenburg
79bee7f7dd
Add qCDebug() - change font qWarning to qCDebug
11 years ago
Kurt Hindenburg
2a63d8e010
Switch from removed /Konsole to /Windows/1 dbus
11 years ago
Kurt Hindenburg
0882caa18c
Remove outdated dbus /Konsole - use /Windows/#
11 years ago
Kurt Hindenburg
7b07dd78cd
s/QLatin1String/QStringLiteral/
11 years ago
Kurt Hindenburg
d59ad5cd8a
Output more info about why chosen font can't be matched exactly.
...
It appears that QFontInfo::fixedPitch() doesn't match
QFont::fixedPitch(). Perhaps related to
https://bugreports.qt.io/browse/QTBUG-34082
This may be too much info and perhaps should be changed to qDebug() for
this case.
11 years ago
Kurt Hindenburg
ee640027c3
Use a clearer config name when using ::CacheLocation for scrollback
...
s/scrollbackUseUsersHomeLocation/scrollbackUseCacheLocation/
11 years ago
Kurt Hindenburg
9484507f90
Add option to insert DnD URLs as plain text
...
This patch allows the dnd menu to be disabled, making it possible to
drag and drop URLs as text by default.
Thanks to Peter Wu peter lekensteyn nl for patch
REVIEW: 124908
BUG: 304290
11 years ago