Commit Graph

105 Commits

Author SHA1 Message Date
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
Jekyll Wu
16f1585a1e show the '-e' option as the last option 2012-01-14 00:17:26 +08:00
Jekyll Wu
20663609a4 Reorganize the relative order of konsole options 2012-01-13 05:18:32 +08:00
Jekyll Wu
595ccda304 When --nofork option is specified, Konsole should alwasy use new process
The intention of using --nofork with Konsole is to start Konsole in
foreground and wait for it to finish, so the only logical behavior is
using new process instead of reusing existing process.

CCBUG: 288200
2012-01-13 03:18:47 +08:00
Jekyll Wu
d90be331e8 Make minor adjustment as preparation for further changes. 2012-01-13 01:55:44 +08:00
Jekyll Wu
819475ff1d Improve the method of checking whether konsole is started from terminal
The old way of calling isatty() is problmatic, because the checked
file descriptor might be redirected by users. For example, 'konsole <
/dev/null > /dev/null 2> /dev/null' will make that method fail.

The better way is trying to open /dev/tty to see whether we have
controlling terminal.

Thanks to Askar Safin <safinaskar@mail.ru> for pointing this out.
2012-01-13 01:39:35 +08:00
Jekyll Wu
3ae465cedf Change the default global shortcut for --background-mode from F12 to Ctrl+Shift+F12
F12 is too common. Change it to reduce the chance of conflict
2012-01-12 16:19:50 +08:00
Kurt Hindenburg
5fca7bc4d5 Don't pollute the namespace - only "using" what is required. 2011-12-24 18:10:14 -05:00
Kurt Hindenburg
8faed2ea92 Keep lines < 80 columns for readability. Remove old TODO 2011-12-24 18:02:15 -05:00
Kurt Hindenburg
3d145d3fa6 Keep lines < 80 columns for readability. 2011-12-24 17:56:10 -05:00
Kurt Hindenburg
3e661e36b2 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-23 11:50:10 -05:00
Kurt Hindenburg
c953cbd04b Merge branch 'kdebug' 2011-12-22 11:27:15 -05:00
Kurt Hindenburg
6acb48a23d Update version for new master/4.9 2011-12-22 09:54:43 -05:00
Kurt Hindenburg
bc087ae51b Remove unused KDebug includes 2011-12-18 00:01:32 -05:00
Kurt Hindenburg
cb56375fff Update version for KDE 4.8 2011-11-12 11:30:18 -10:00
Jekyll Wu
330de6c6f4 Fix some spelling problems 2011-11-06 03:41:20 +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
Jekyll Wu
2822ca86eb Make sure the d&d popup menu provided by libkonq get translated.
This is a follow-up of 2dcd584255.

BUG: 280931
2011-08-29 09:55:47 +08:00
Jekyll Wu
ed5ae75839 Check stdin instead of stdout to detect whether invoked from terminal.
It is possible that users invoke konsole from terminal in the form of
'konsole &> /dev/null' to get rid of warning messages. Checking stdout
won't give expected result.

On the other hand, 'konsole < ....' is almost never used. So checking
stdin should be more reliable.
2011-08-27 19:42:34 +08:00
Jekyll Wu
ad535d4432 Make minor adjustment to the comments. 2011-08-27 17:58:00 +08:00