Commit Graph

5095 Commits

Author SHA1 Message Date
Kurt Hindenburg
51a2cc0fc7 fontembedder - don't use qFatal - just warning and exit 2013-09-17 12:48:02 -04:00
Kurt Hindenburg
5a94ee3c1f correct fontembedder usage 2013-09-17 12:42:54 -04:00
Kurt Hindenburg
f3dc509400 Revert "Hide EditProfileDialog when ColorSchemeEditor is visible"
This reverts commit a6d76a08c1.

This worked while testing but now the ColorScheme dialog isn't
shown.

CCBUG: 324874
2013-09-14 11:51:49 -04:00
Kurt Hindenburg
16be1f4ec1 For PartTest, exit cleanly if konsolepart not found 2013-09-14 00:18:51 -04:00
Kurt Hindenburg
c6345e125e Remove Q_ASSERT - the HistoryTest crashes on the assert otherwise 2013-09-14 00:04:52 -04:00
Kurt Hindenburg
08fb406533 Use cmake to check if we're on DragonFly BSD instead of __DragonFly__
builds on dragonfly 3.4-RELEASE DragonFly
2013-09-13 23:45:34 -04:00
Kurt Hindenburg
93186a2d53 On MacOSX setPid - strange I never notice this was missing before 2013-09-07 13:08:52 -04:00
Kurt Hindenburg
94987a787f Add test to check HTML output validity
Very basic so far - need to manually generate the konsole.html
2013-09-05 10:33:46 -04:00
Kurt Hindenburg
0a179d625f For HTML output, use #160 instead of nbsp - allows xmllint to work 2013-09-05 10:29:01 -04:00
Kurt Hindenburg
0ec29537dd For HTML output, create a full .html file
This adds the necessary code to get the .html file to pass
http://validator.w3.org/check

This adds DOCTYPE/head/body/etc.

Note that the validator fails if there are & in the output.

CCMAIL: von.kde.org@martin-ueding.de
2013-09-04 21:29:20 -04:00
Kurt Hindenburg
9f73fbb57f Correct <span></span> in HTML output
Fix issue where HTML export has too many closing span tags in it.

Thanks to Martin Ueding von.kde.org@martin-ueding.de for patch.

REVIEW: 112507
BUG: 324476
FIXED-IN: 4.12
2013-09-04 21:17:52 -04:00
Kurt Hindenburg
cb1536aaba Use a return value instead of just Q_ASSERT - don't crash in production 2013-09-02 21:48:15 -04:00
Kurt Hindenburg
becb5bb28c Add tests for HistoryScroll 2013-09-02 16:29:03 -04:00
Kurt Hindenburg
ed4c55c054 more EXPORTing of classes so they can be unit tested 2013-09-02 16:27:05 -04:00
Kurt Hindenburg
ec03567f14 Add some docs to ::scroll() 2013-09-02 14:28:09 -04:00
Kurt Hindenburg
6d5c95ce7c Add HistoryTest for testing of the History Classes 2013-09-02 11:28:34 -04:00
Kurt Hindenburg
0b9477279a export HistoryType classes to allow testing 2013-09-02 11:24:43 -04:00
Kurt Hindenburg
43e547da11 reorder tests 2013-09-01 19:47:31 -04:00
Kurt Hindenburg
0019cf1d82 Ignore SessionManagerTest - nothing there 2013-09-01 18:51:15 -04:00
Kurt Hindenburg
41311ed568 Bypass 2 tests on Darwin/MacOSX 2013-09-01 17:02:23 -04:00
Kurt Hindenburg
012b7a0c21 Rearrange tests to be alphabetically - easier on the eyes 2013-09-01 16:24:44 -04:00
Kurt Hindenburg
f0875233f3 Add SessionTest with some basic tests 2013-09-01 16:18:46 -04:00
Kurt Hindenburg
cbce250f09 add tests for terminal size 2013-08-31 20:59:16 -04:00
Kurt Hindenburg
79cb3598d4 simplify the color testing 2013-08-31 20:40:41 -04:00
Kurt Hindenburg
f50d01180c Add testing of ColorTable/Entries 2013-08-31 20:33:51 -04:00
Kurt Hindenburg
2c75ed5b71 Add operators == and !=, for testing purposes 2013-08-31 20:32:00 -04:00
Kurt Hindenburg
0898f61d49 Add testTerminal - just scrollBarPosition for now 2013-08-31 19:15:57 -04:00
Kurt Hindenburg
64aaa934de Add a 'getter' for ScrollBarPosition 2013-08-31 19:14:15 -04:00
Kurt Hindenburg
5ad1e902ba Separate PartTest into an automated test and a manual test
Currently the shortcut override test requires human interaction and
hence the test is not automated.  Move this test to PartManualTest so
that other parts of PartTest will run automatedly.
2013-08-31 08:47:52 -04:00
Kurt Hindenburg
f9e20a6042 very minor style issues w/ spaces 2013-08-25 12:02:10 -04:00
Kurt Hindenburg
9a1d7dd502 update the findLineStart/End method docs 2013-08-24 16:23:27 -04:00
Kurt Hindenburg
fb60833d09 fix a crash in my re-coding of findLineStart() 2013-08-23 10:38:07 -04:00
Kurt Hindenburg
aeb3e9f178 Use the new findLineStart/End for triple mouse click
follow up to the 2 previous commits - for bko 319260
2013-08-24 13:12:36 -04:00
Kurt Hindenburg
18ed8d2fe3 Implement new findLineStart/End methods
These 2 new methods are rewrites by me of the rb patch - if there are
issues, compare these two commits
2013-08-24 12:41:03 -04:00
Kurt Hindenburg
8976d35cfd Start to fix selection issue when part of line/word is off-screen
This is from rb 111441- however that patch is so big it is difficult
to follow.  I'm breaking it up into smaller parts.  This commit is
just for findLineStart/End and only for extending the selection.

Thanks to Yichao Yu yyc1992@gmail.com
2013-08-24 12:36:03 -04:00
Harald Hvaal
21f65230cf Pgup/pgdown/up/down from searchbar scrolls terminal 2013-08-23 19:15:13 +02:00
Harald Hvaal
aa42a27ef3 Various search improvements
- Do not automatically reset the search start line on search hits
    This was causing the annoying behavior that if you were to pause while typing
    in a search term, and it would actually find a hit, then you would be searching
    for the term a second time once you finish typing.

    This commit introduces two new behaviors:
    1. When you show the search bar, all searching will be done from the first
        visible line in the terminal.
    2. This start position is only reset when you
        advance to the next result, by pressing "next", "previous", or the shortcuts
        RETURN or SHIFT-RETURN

- When the view scrolls to a result, it will appear centered.
- When showing the search bar, do not invoke a search, only apply the highlight filters
- Add "search from beginning/end" button
    This will scroll to the top/bottom before searching
    Ctrl+return is also bound to this action
- Text highlighted by mouse will be set as the current search text when the incremental
    search bar is opened
- Add "Search backwards" to search bar options
    Button text is swapped according to reverse search switch
2013-08-23 19:15:13 +02:00
Harald Hvaal
6f8316eb8e Test commit
Please forgive me if this git-push for some unexpected reason should just work.
2013-08-23 19:11:04 +02:00
Kurt Hindenburg
43f7d5b34b s/splitted/split 2013-08-21 09:54:28 -04:00
Kurt Hindenburg
205a51839c Disable detaching when on Darwin (MacOSX)
Too many issues/crashes for too long when detaching on MacOSX.  You
can still some strange things but I can't get it to crash now.
2013-08-15 22:26:59 -04:00
Francesco Cecconi
194a852d33 Prevent the dragging of the last tab in a split view.
BUG: 210871
REVIEW: 107640
FIXED-IN: 4.12
2013-08-15 23:14:17 +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
a9ece1f56c Revert "Include FeatureSummary only when we're sure the minimum CMake version is found (in ECM or FindKDE4Internal.cmake)"
This reverts commit db19364a73.
2013-08-13 23:26:04 +02:00
Christophe Giboudeaux
db19364a73 Include FeatureSummary only when we're sure the minimum CMake version is found (in ECM or FindKDE4Internal.cmake)
Otherwise, cmake will stop without giving useful hints.
2013-08-13 21:58:07 +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
4884fcdcd3 Remove color scheme dialog animation
This animation has been in here for ages (2007).  I don't actually
see any reason for it.

Thanks to Harald Hvaal metellius@gmail.com

REVIEW: 111764
2013-08-11 17:47:54 -04:00
Kurt Hindenburg
dc7b2641df Actually install new colorscheme 2013-08-11 17:39:21 -04:00
Kurt Hindenburg
e162743179 Correct Solarized Dark colors and add a Light version
I don't recall why the original Solarized had a few colors way off.
These versions appear to match other solarized apps.

https://github.com/phiggins/konsole-colors-solarized

BUG: 319061
FIXED-IN: 2.12
2013-08-11 17:23:34 -04:00
Burkhard Lück
08ee99e358 improve + extend description of file format for tabs-from-file option
REVIEW:111785
2013-08-03 23:02:51 +02:00
Kurt Hindenburg
c18c1fd986 Update info and links 2013-08-03 07:59:45 -04:00