Commit Graph

126 Commits

Author SHA1 Message Date
Kurt Hindenburg
b542df3420 Revert "No longer check for X11"
For now revert this, on non X11 systems it causes:

FAILURE (KCmdLineArgs):
Application requests for isSet("display") but the "display" option
has never been specified via addCmdLineOptions( ... )

This reverts commit d42ef186c8.
2014-09-17 08:57:55 -04:00
Kurt Hindenburg
d42ef186c8 No longer check for X11
X11 check was only for checking parameters on the command line.  X11
wasn't actually needed.
2014-09-14 12:08:21 -04:00
Kurt Hindenburg
26e2da0d6b Version-ize konsoleprivate libraries
This allows (on packaging level at least) co-existence of kdelibs4 &
KF5 konsole-part.

Patch by Hrvoje Senjan hrvoje senjan gmail com

REVIEW: 119909
2014-09-14 08:33:48 -04:00
Lukáš Tinkl
9900747e0f l10n fixes 2014-07-20 22:42:12 +02:00
Montel Laurent
efd1d0ec08 Use xi18n when markup 2014-07-16 13:23:03 +02:00
Alex Richardson
7162996e1d Port away from Q_WS_X11 2014-04-10 15:27:51 +02:00
Kurt Hindenburg
11c1de4bb7 Add --separate command line
Use a new process if --separate is used on command line.  Similiar to
--detach (from kuniqueapplication).

Patch by Jekyll Wu <adaptee@gmail.com>

BUG: 309249
REVIEW: 107127
FIXED-IN: 2.13
(cherry picked from commit 2b31d26151)
2014-02-17 09:17:30 -05:00
Kurt Hindenburg
cdfe235784 Restore --background-mode
For now restore this option that was removed for 2.11.  This option
is somewhat a hack and abnormal feature.  However, it seems a number
of people use it and I can see how it would be useful.  So instead of
spending a lot of time right now trying to correct the issues, just
restore the previous code.
Ideally for KDE 5, this portion of the code can be better handled.

35bb9cf9e7

BUG: 320783
FIXED-IN: 2.13#
(cherry picked from commit cfbfb0fd8c)

Conflicts:
	src/Application.cpp
2014-02-07 09:00:51 -05:00
Kurt Hindenburg
5639987451 Let's give this frameworks (Qt5/KF5) branch a different version 2013-08-21 10:02:51 -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
5756ba1e9d Update version # for new master 2013-07-11 09:50:47 -04:00
Kurt Hindenburg
cf1676aec1 Bump version to 2.11 for KDE SC 4.11 2013-06-09 19:10:55 -04:00
Kurt Hindenburg
cb4ca01e8b Add a --fallback-profile which uses the internal basic profile
If an user had only one profile and accidently puts a non-interactive
program (eg pwd) in the Command section it will start, run command and
then close.
The FALLBACK/ profile is the internal basic profile.

REVIEW: 109558
FIXED-IN: 4.11
2013-04-06 13:41:35 -04:00
Kurt Hindenburg
35bb9cf9e7 Remove the the immature --background-mode option
See http://lists.kde.org/?l=konsole-devel&m=135316608321148&w=2 for
details.

FIXED-IN: 4.11
BUG: 310433
2013-02-24 12:27:54 -05:00
Kurt Hindenburg
8241682b8b Add --fullscreen command line option
Add option to go into full screen mode via command line.

FEATURE: 312378
REVIEW: 109042
FIXED-IN: 4.11
2013-02-21 08:31:36 -05:00
Kurt Hindenburg
7a2a5beb00 Correct spelling errors/word usage
All these are in the comments - no code changes
2013-01-09 22:07:11 -05:00
Kurt Hindenburg
b8c7320e14 Add more i18nc context markers (@info:shell) 2012-12-23 21:53:35 -05:00
Kurt Hindenburg
3b16baa9c1 update version to 2.10.999 for master 2012-12-19 09:35:07 -05:00
Jekyll Wu
187e5c89e7 Bump version to 2.10 for KDE SC 4.10 2012-12-15 08:59:42 +08:00
Jekyll Wu
1a26982427 "#ifdef(XYZ)" -> "#if defined(XYZ)"
Use one form consistently in all code
2012-11-20 11:42:12 +08:00
Jekyll Wu
ae7eae3e33 Do not forget closing /dev/tty after opening it. 2012-11-17 15:31:12 +08:00
Jekyll Wu
7049b47c59 Revert "Remove the misleading help message for "[args]""
I was stupid. That "+[args]" is needed for the -e option. Without it,
konsole -e man ls will complains about "unexpected argument".

But that "+[args]" is actually a hack to make "konoele -e command args"
work. Konsole really doesn't support "konsole command args"

Need furthur investigation.

This reverts commit d556d110db.
2012-11-01 13:26:49 +08:00
Jekyll Wu
d556d110db Remove the misleading help message for "[args]"
Konsole really does not expect and support standalone arguments.
It only expects options and arguments belonging to options.
2012-11-01 12:52:31 +08:00
Kurt Hindenburg
69dcbd3406 astyle fixes - spaces/{ 2012-09-02 17:28:43 -04:00
Kurt Hindenburg
a70f507b67 Restore --notransparency option for NVIDIA users
Some NVIDIA users still require this option for Konsole to work as
expected

This reverts 66b4a96e93

Thanks to Matthias Kretz kretz@kde.org for patch/info.
BUG: 305307
FIXED-IN: 4.10
2012-08-26 09:13:16 -04:00
Kurt Hindenburg
e02fea6e17 astyle fixes
use git diff -w --ignore-all-space to see non-space changes
2012-08-05 13:35:03 -04:00
Jekyll Wu
1d8a4ae1ea Update the contributors list for the due credit
CCMAIL: francesco.cecconi@gmail.com
2012-07-30 19:52:28 +08:00
Jekyll Wu
3b5db6cf45 Move the info about icon and homepage to a more outstanding place 2012-07-29 22:47:47 +08:00
Jekyll Wu
2e7cad19c4 More KUIT semantic markups 2012-07-29 22:47:47 +08:00
Jekyll Wu
1527e33982 Bump version to 2.9.999 for the master branch 2012-06-26 21:07:20 +08:00
Jekyll Wu
62c4f457fa Update version for KDE SC 4.9 2012-05-24 10:02:54 +08:00
Kurt Hindenburg
9f5877bdfc minor whitespace style changes 2012-05-13 08:51:27 -04:00
Jekyll Wu
3ddc6496b6 Add cmdline options for the visibility of menubar and tabbar
Since the menubar and tarbar settings are now global instead of per
profile , those cmdline options are useful to allow users to override
the defautl behavior.

The --hide-menubar and --hide-tabbar options can be used together
to simulate the miminal interface of xterm. I'm not sure whether
--show-menubar and --show-tabbar will be widely used , but add them at
the moment for the sake of completeness.
2012-05-13 03:06:14 +08:00
Jekyll Wu
66b4a96e93 Remove the --notransparency option
See http://lists.kde.org/?t=133668415200007&r=1&w=2 for the discussion
2012-05-12 21:53:36 +08:00
Jekyll Wu
6c62114529 Remove the long broken --force-transparency option
That option is broken for a long time (at least since KDE 4.6.2), yet
there is not a single bug report against it. That is a strong evince
that option is seldom used.

The ideal situation is whenever compositing is available, Konsole
supports translucent background out of box without user guidance.
2012-05-12 21:53:29 +08:00
Jekyll Wu
6c8b7574a1 Some Qt/KDE options are X11 only 2012-04-20 21:46:16 +08:00
Jekyll Wu
7b322f0acc typo 2012-04-20 20:30:14 +08:00
Jekyll Wu
6b811ec2b6 Konsole should use new process when some Qt/KDE options are given
One typical option is "--display", because two konsole windows
belonging to the same process are destined to be shown in the same
display, which defeats the purpose of the "--display" option

CCBUG: 297224

BUG: 179010
BUG: 297801
FIXED-IN: 4.9.0
REVIEW: 104653
2012-04-20 15:33:37 +08:00
Jekyll Wu
898ff24843 --nofork should take precedence of --new-tab when deciding whether use new process 2012-04-18 15:54:07 +08:00
Jekyll Wu
c1316ced09 Add the support for parsing Qt and KDE command line options
This commit just makes it possible, no actual change is introduced.
2012-04-18 15:00:41 +08:00
Jekyll Wu
f288da989e Move the code for adding Konsole specific options to the end.
It is more natural to add options from generic to specific.
2012-04-18 14:10:05 +08: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
519e2614d6 Style fixes - remove spaces before ; and add spaces in for loops 2012-03-18 15:11:06 -04:00
Kurt Hindenburg
cabce6ae89 Correct spelling issue 2012-01-16 11:19:12 -05:00
Jekyll Wu
e8718d5293 Remove unnecesary #include and add small constness 2012-01-14 18:57:31 +08:00
Jekyll Wu
4d39dc90cf Krazy fix: use portable wrpper KDE_open() insteand of open().
Maybe trying to open /dev/tty itself is also problematic with portability.
2012-01-14 14:33:56 +08:00
Jekyll Wu
b91e2fd6a1 Fix typo 2012-01-14 02:01:55 +08:00
Jekyll Wu
aab5a40a49 add warning that the "-e" option should be used as the last option 2012-01-14 00:24:37 +08:00