Commit Graph

2760 Commits

Author SHA1 Message Date
Kurt Hindenburg
2c686b7afe Minor warning fixes when running under FreeBSD 2013-02-23 10:00:25 -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
6ab5e1aebc Simplify QMimeData - fix warning from -Wcast-align 2013-02-15 17:27:02 -05:00
Kurt Hindenburg
68a98ed770 Add support for ANSI SGR escape code 3 (italics)
Adds support for escape sequences \e[3m and \e[23m (to turn italics on
and off respectively).
http://en.wikipedia.org/wiki/ANSI_escape_code#CSI_codes

Patch by Jem Orgun jeorgun@gmail.com
FEATURE: 314410
REVIEW: 108844
FIXED-IN: 4.11
2013-02-14 14:53:49 -05:00
Kurt Hindenburg
1551eab57b Add more info about original wcwidth.c and include license
The 2007 version of wcwidth.c is now under Unicode as the 2001 was
Public Domain.
Note that this file still fails the krazy check as there isn't anything
there for Unicode license.
2013-02-14 14:02:07 -05:00
Kurt Hindenburg
8b3bbae85f Extend selection only if Shift+click is pressed
Follow up to 9a3d588d0e - previously
any modifier+shift+click would extend selections which is not want we
want.
2013-02-10 13:20:42 -05:00
Francesco Cecconi
1a000dc117 Update konsole_wcwidth.cpp/h files.
REVIEW: 107427
2013-02-09 20:05:33 +01:00
Kurt Hindenburg
88dc51d75c Make LibKonq an optional library
A few versions ago we added LibKonq to handle drag-n-drop menus.  There
are times when this library is not available or the user/distro might
want to disable (cmake option -DWITH_LibKonq=OFF). With this off, any
drag-n-drop will just paste the link.

FIXED-IN: 4.11
REVIEW: 108461
2013-02-09 11:45:06 -05:00
Kurt Hindenburg
7c81b2f790 very minor change to not set variable since it is ignored
via cppcheck
2013-01-31 10:55:17 -05:00
Kurt Hindenburg
a6793123dc Add comment about redundant condition
This has been there since KDE 4.0 - need to check if there is missing
logic or just a mistake.
via cppcheck
2013-01-31 10:50:59 -05:00
Kurt Hindenburg
bd7e231403 Using <mouse wheel> causes APIdoxs errors 2013-01-29 09:50:54 -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
Yuri Chornoivan
4f888b1088 Pluralize the message (some languages have different plural forms for translation of quanities > 1) 2013-01-08 19:28:01 +02:00
Kurt Hindenburg
5ca63075b0 There are multiple issues w/ using <> in a .ui string - remove
There doesn't seem to be a standard on whether to use scroll or mouse
wheel. Since this feature  can be used w/ mousepad and other non-mouse
I'll use scrollwheel for now.

CCMAIL: lueck@hube-lueck.de
2013-01-04 10:07:44 -05:00
Burkhard Lück
5ff04a800d fix invalid xml '&amp;lt;'/'&amp;gt;' in ui file to make the string extractable+translatable 2013-01-04 13:31:24 +01:00
Christophe Giboudeaux
0904deb6f4 Revert "Port to feature_summary"
The port to feature_summary is going to be painful if every module depends on obsolete kdelibs versions.
set_package_properties depends on cmake 2.8.6 and KDE4internal_FOUND is set only in kdelibs 4.9.4

This reverts commit 46db8de124.
2012-12-29 16:39:25 +01:00
Christophe Giboudeaux
46db8de124 Port to feature_summary 2012-12-29 01:27:54 +01:00
Kurt Hindenburg
9a3d588d0e Implement Shift+click to extend selection
Add ability to press Shift+Click to extend the mouse selection.  In
KDE3 there was the menu option to 'Set Selection End' which this mimics.

REVIEW: 107566
FIXED-IN: 4.11
BUG: 123755
2012-12-28 10:05:40 -05:00
Kurt Hindenburg
417af269e5 Add option to disable ctrl+<mouse-wheel> zooming
The built-in behavior of Ctrl+<Mouse Wheel> to zoom in/out the terminal
can not be disabled. This patch adds an option to disable this
behavior. (Default to the original behavior).

Original patch by Yichao Yu yyc1992@gmail.com
I made some changes - bugs are mine as usual
REVIEW: 107281
FIXED-IN: 4.11
GUI:
2012-12-28 09:51:34 -05:00
Jekyll Wu
ad5ad927e1 Make the cmake code a little easier to read
See http://techbase.kde.org/Policies/CMake_Coding_Style#End_commands
2012-12-27 03:05:12 +08:00
Kurt Hindenburg
9e25784d6d A few more c style casts -> static_casts 2012-12-24 09:55:58 -05:00
Kurt Hindenburg
b8c7320e14 Add more i18nc context markers (@info:shell) 2012-12-23 21:53:35 -05:00
Kurt Hindenburg
44a274d3dd Add more i18nc context markers 2012-12-23 21:37:05 -05:00
Kurt Hindenburg
eaeff78f51 Add i18n context markers for tooltips 2012-12-23 21:26:11 -05:00
Kurt Hindenburg
9b75373e2e add explicit keyword 2012-12-23 19:27:04 -05:00
Kurt Hindenburg
92019daad5 Add Dialog warning when huge amounts of text is about to be pasted
Currently there is no way to stop an accidently paste into the terminal.
This patch adds a dialog when 8000+ characters are pasted asking if
the user really wants to do this.  At most the user will see this once
as there is a "Don't show again" box.

Previously commit trigger a sysadmin issue.

FEATURE: 162625
REVIEW: 107570
FIXED-IN: 4.11
GUI:
2012-12-21 22:13:41 -05:00
Kurt Hindenburg
616597bd5f Revert "Simplify multi-line comments/code"
This reverts commit 498d810fa1.

https://git.reviewboard.kde.org/r/107427/ will update this file so this
comment fix is not needed.
2012-12-20 22:36:24 -05:00
Kurt Hindenburg
498d810fa1 Simplify multi-line comments/code 2012-12-20 21:15:44 -05:00
Kurt Hindenburg
121442902a Parameter fixes for when generating the API docs 2012-12-20 10:13:59 -05:00
Kurt Hindenburg
e8706789b0 minor style fix - blank line
FYI, I'm using google's cpplint.py to 'test' konsole's code
2012-12-20 09:40:32 -05:00
Jekyll Wu
8e5b0c3c51 Improve the accelerators in the confirmation dilaog
Note, KStandardGuiItem::closeWindow and KStandardGuiItem::close uses the
same accelerator, so here I use a variant of KStandardGuiItem::closeWindow
insteand of itself.
2012-12-20 14:42:45 +08:00
Kurt Hindenburg
983efbc5a8 Add braces around if/else for readability 2012-12-19 23:41:09 -05:00
Kurt Hindenburg
a228219195 These classes have never been used and aren't needed 2012-12-19 23:24:20 -05:00
Kurt Hindenburg
87251d3950 Remove some blank_line and removal of ; 2012-12-19 23:00:05 -05:00
Kurt Hindenburg
cdf2b2bc78 Switch from c-style casting to c++ casting via static_cast 2012-12-19 21:20:18 -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
966a20eb63 Krazy fix: explicit constructor 2012-12-02 11:29:45 +08:00
Dawit Alemayehu
7656ce515a Don't call updateWebSearchMenu from selectionChanged. The search menu items will
be added before the context menu is displayed.

BUG: 307973
FIXED-IN: 4.10
2012-11-30 23:59:26 -05:00
Jekyll Wu
0490b180e4 cmake-lint: remove extra space after command 2012-11-28 06:59:48 +08:00
Jekyll Wu
0ad61b0a10 cmake-lint: fix mismathcing spaces inside () after command 2012-11-28 06:56:11 +08:00
Jekyll Wu
275f65186f cmake-lint: remove trailing whitespaces 2012-11-28 06:45:59 +08:00
Jekyll Wu
3b88e87e87 Remove unneeded ctest stuff
That "ignore" trick does not take effect now, and  the test it tries
to ignore now runs and runs OK.

I don't think this removal will cause any real change. Hope I won't soon
be proven to to stupid, again :)

This effectively revert commit 6d0e065273
2012-11-28 00:52:41 +08:00
Jekyll Wu
75615cb9bf No need to be declared as slot any more 2012-11-21 14:57:15 +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
71cb7ed9ae Prefer KDE4_MODULE_LIBS to KDE4_MODULE_LIBRARY
See FindKDE4Internal.cmake within kdelibs
2012-11-20 09:04:52 +08:00
Jekyll Wu
d8f22c821a Move class AccessibleColorScheme into its own files
Note: this special colorscheme has never been exposed and put into use,
so the new files are not involved in the building process.

Maybe that special colorscheme should just be removed, if no one now
really understands its design purpose.
2012-11-20 01:57:20 +08:00
Jekyll Wu
bf314208b0 Simplify the instruction of installing konsoleprofile 2012-11-20 00:48:59 +08:00
Jekyll Wu
2628980fca Remove dead cmake code 2012-11-19 16:46:03 +08:00
Jekyll Wu
7c141c61c3 Remove unnecessary cmake checking for XRender
Konsole has stopped using XRender for a long time. See commit
1fcde703b
2012-11-19 16:44:41 +08:00