Laurent Montel
125b81654f
Fix compile warning about QString::count()
2023-07-16 08:34:33 +00:00
Willyanto Willyanto
c3176abb17
Perform some initializations in initialization list
...
Fixes some variable is assigned in constructor body. Consider performing
initialization in initialization list. (CWE-398)
2022-12-23 16:49:27 +00:00
Ahmad Samir
97569b764c
Run clang-format on the whole repo
...
Also install the relevant git hook.
GIT_SILENT
2021-09-06 12:51:39 +02:00
Kurt Hindenburg
78a0092522
Convert src to use SPDX license/copyright
...
https://community.kde.org/Policies/Licensing_Policy#SPDX_Statements
https://community.kde.org/Guidelines_and_HOWTOs/Licensing
2020-11-12 22:17:06 -05:00
Kurt Hindenburg
90c81d0ecf
Simpify return after else statements
2020-05-10 16:44:26 -04:00
Ahmad Samir
5f60bc5a6f
Replace foreach (deprecated) with range-for
...
The code compiles and konsole seems to work as bofore.
2019-12-03 11:29:31 +02:00
Kurt Hindenburg
9ba7594e58
uncrustify using kf5 config
2017-06-19 10:26:56 -04:00
Kurt Hindenburg
48a8a40566
More changes to QLatin1String, QLatin1Char and QStringLiteral
2017-05-08 09:38:57 -04:00
Kurt Hindenburg
b4b4a502bf
More changes to QLatin1String, QLatin1Char and QStringLiteral
2017-05-07 14:25:59 -04:00
Kurt Hindenburg
dc5ba8c695
add QList::reserve()
2015-10-12 09:46:10 -04:00
Kurt Hindenburg
9cc89c90b3
remove 2 methods which have never been implemented
...
(cherry picked from commit 624cc824d2 )
2013-10-12 21:44:31 -04:00
Alex Richardson
a83db71590
Port to KF5/Qt5
...
TerminalDisplayAccessible is disabled for Qt5 currently since I don't
have any experience with accessible stuff and it is more complicated
than just changing a few includes
REVIEW: 111937
2013-08-20 23:34:35 +02:00
Alex Richardson
ab5e15b1b7
Revert "Port to KF5/Qt5"
...
This reverts commit 4adfbe84bd .
This work will go into a new branch instead
2013-08-13 23:26:19 +02:00
Alex Richardson
4adfbe84bd
Port to KF5/Qt5
...
To build for KF5 pass the option -DQT5_BUILD=ON to CMake
TerminalDisplayAccessible is disabled for Qt5 currently since I don't
have any experience with accessible stuff and it is more complicated
than just changing a few includes
REVIEW: 111937
2013-08-13 21:26:59 +02:00
Kurt Hindenburg
69dcbd3406
astyle fixes - spaces/{
2012-09-02 17:28:43 -04:00
Kurt Hindenburg
27e7edae48
remove blank lines
2012-06-17 16:09:05 -04:00
Jekyll Wu
2b8d544bce
Refacotor the code for parsing and expanding environment variables.
...
The old cold is copied from kio/kurlcompletion.cpp, which is not
very suitable for detecting and expanding environment variables. For
example, it only sees ' ' and '/' as the end point of an environment
variable. That assumption fails easily with the common example of
"PATH=$PATH:~/bin"
2012-06-05 06:40:00 +08:00
Kurt Hindenburg
bee9aa8f78
minor style fixes - remove empty lines start/end code blocks
2012-05-13 10:08:05 -04:00
Kurt Hindenburg
5b083640ce
whitespace and style fixes
...
Use 'git diff -w --ignore-all-space' to see non-whitespace changes
2012-04-05 11:08:53 -04:00
Kurt Hindenburg
e0862c603a
Style fixes - separte commands - remove 2 ; - align { elses
2012-03-18 15:57:48 -04:00
Rohan Garg
38d346e60c
Use a assignment operator instead of a comparision operator
2012-03-16 20:50:53 +05:30
Jekyll Wu
90469a094a
Add more constness
2012-03-06 02:00:15 +08:00
Kurt Hindenburg
23a9c069a6
-Wshadow fixes to parameter names
2012-03-04 20:33:10 -05:00
Jekyll Wu
3d8da1f878
Make 'foreach(...)' more readable
2012-01-14 22:54:56 +08:00
Kurt Hindenburg
cca04c279c
Don't pollute the namespace - only "using" what is required.
2011-12-26 20:52:24 -05:00
Kurt Hindenburg
24f6a52328
Apply astyle-kdelibs
...
Over the years, the coding style is all over the place.
Use 'git diff -w --ignore-all-space' to see non-whitespace changes.
2011-12-24 11:23:19 -05:00
Kurt Hindenburg
bc087ae51b
Remove unused KDebug includes
2011-12-18 00:01:32 -05:00
Jekyll Wu
125e2c7bd2
Declare pointer and reference in a consistent way
...
Most code use the "const QString& text" form, instead of the "const
QString &text" form. So change the minority to be consistent with
the majority.
2011-11-06 06:13:28 +08:00
Jekyll Wu
8f1bbd4353
Remove trailing white spaces
2011-11-05 19:49:23 +08:00
Jekyll Wu
cf92cece2b
Remove leading white spaces in blank lines to make them really empty
2011-11-05 07:29:21 +08:00
Jekyll Wu
e828def700
Reorgnazie some #include.
2011-09-06 06:53:38 +08:00
Kurt Hindenburg
041c4de4a2
Correct (and simplify) command parsing in profiles with respect to spaces.
...
BUG: 188230
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=992625
2009-07-07 12:50:31 +00:00
Robert Knight
956277c014
Convert tabs to 4 spaces to match kdelibs conventions. Previously
...
there was a mix of tabs and spaces for indentation.
CCMAIL:Stefan.Becker@nokia.com
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=863326
2008-09-21 20:06:58 +00:00
Kurt Hindenburg
877abc9ec6
Change getenv to qgetenv for portable (ebn krazy)
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=846759
2008-08-14 03:55:59 +00:00
Robert Knight
f601444514
Quote arguments containing spaces when expanding the list of arguments
...
in a ShellCommand.
BUG: 156826
BACKPORT: 4.1
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=837723
2008-07-25 15:04:34 +00:00
Albert Astals Cid
1222b0e15b
avoid unnecessary copies by using const & in foreach
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=800783
2008-04-24 20:41:04 +00:00
Robert Knight
5d9997446e
Update copyright year to 2008. Remove '(C)' from copyright lines.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=800631
2008-04-24 14:53:43 +00:00
Robert Knight
46cfc108d3
* Replace all usage of qDebug() with kDebug(), since kDebug() provides information about
...
which part of the code the message came from and allows filtering of output
using kdebugdialog
* Remove explicit creation of singleton classes SessionManager,ColorSchemeManager and
KeyboardTranslatorManager and automate it with K_GLOBAL_STATIC.
This ensures that the singleton destructors are called appropriately by KPart clients
when they unload the libkonsolepart library.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=754334
2007-12-29 16:07:31 +00:00
Robert Knight
42dce0374c
Changes:
...
* Add a passive warning widget which is displayed when a color scheme is selected which
uses transparency but the system does not support transparency
* Always show the vertical scroll bar in the color scheme list
* Remove quotes around links and email addresses in mouse-over tooltip
Bug Fixes:
* Fix a few odd behaviours with the live color scheme preview
* Fix the 'Show in Menu' status of newly added profiles not being
saved when Konsole exits.
( Update Profile's path property when saving the profile to
a new location )
Internal:
* Removed many debugging statements and dead / commented out code
* Fix several unused parameter warnings
* API documentation corrections in Emulation class
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=706986
2007-08-31 17:56:35 +00:00
Robert Knight
d3681ca746
Support environment variables in profile command or initial working directory.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=697623
2007-08-08 08:08:34 +00:00
Dirk Mueller
9ea3227384
include cleanup
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=663054
2007-05-09 22:23:52 +00:00
Robert Knight
33c913383d
EBN fixes. Mostly copyright and implementations including their own headers first.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=662726
2007-05-09 00:01:01 +00:00
Robert Knight
19a29d182a
Rename directories for clarity. konsole -> src , other -> data.
...
svn path=/branches/work/konsole-split-view/; revision=661562
2007-05-05 23:33:05 +00:00