Commit Graph

28 Commits

Author SHA1 Message Date
Kurt Hindenburg
31aea137a8 Fix some build warning and a krazy issue.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1033923
2009-10-11 15:42:12 +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
1f562d0238 Use KDE_ instead of system calls; EBN Krazy fixes.
CCMAIL: konsole-devel@kde.org

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=847535
2008-08-15 15:39:54 +00:00
Laurent Montel
d31c37c404 guard #warning
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=843396
2008-08-07 06:57:13 +00:00
Robert Knight
73f5324561 Do not show flow control warning widget if terminal application (eg. Emacs) disables
flow control.  Check current terminal flow control settings when Ctrl+S is pressed and only 
show the warning if the warning is enabled in profile settings and Xon/Xoff is 
enabled in the terminal.

BUG: 162173
CCMAIL: jriddell@ubuntu.com


svn path=/trunk/KDE/kdebase/apps/konsole/; revision=808588
2008-05-16 23:59:16 +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
039d1c4f6f Support use of existing pty in embedded terminal via openTeletype(int fd) slot.
No new methods have been added to the TerminalInterface class in kdelibs to avoid breaking
binary compatibility so the slot must be invoked via QMetaObject::invokeMethod() for now.

See tests/PartTest.cpp

CCMAIL:jr@jriddell.org

Squashed commit of the following:

commit 0759e22dc26b7c1c28e0d8a9b0d245d909629237
Author: Robert Knight <robertknight@gmail.com>
Date:   Fri Apr 18 20:43:20 2008 +0100

    Adapt test to kdelibs changes.  Add a label to explain what the user should expect to see.

commit b67be2fd20178625f01f8f135751849082eddf04
Author: Robert Knight <robertknight@gmail.com>
Date:   Fri Apr 18 00:47:32 2008 +0100

    Export Pty, Session, KeyboardTranslator classes for use in tests.

commit 6dd28bf628fe1036c59f3383aba27ba98e23152c
Author: Robert Knight <robertknight@gmail.com>
Date:   Fri Apr 18 00:46:27 2008 +0100

    Build test

commit 0a9e1c9dc158f73e6bf9f7ef2fe7d4ea936a8066
Author: Robert Knight <robertknight@gmail.com>
Date:   Fri Apr 18 00:46:10 2008 +0100

    Remove temp file

commit 8e69bd56fef267ac0c31c989a4959453a8e3359e
Author: Robert Knight <robertknight@gmail.com>
Date:   Fri Apr 18 00:45:28 2008 +0100

    Add a test for using existing file descriptors with the Konsole part.

commit f1f5b8a7684e88db64769324496a5fa67dd4920b
Author: Robert Knight <robertknight@gmail.com>
Date:   Tue Apr 15 18:36:14 2008 +0100

    Add support in the KPart to use an existing terminal rather than opening a new one.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=798661
2008-04-18 19:47:32 +00:00
Albert Astals Cid
cf93c4c562 less typos
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=796410
2008-04-13 14:39:33 +00:00
Robert Knight
5685b2c673 Fix Ctrl+C not killing applications on some users' systems. Reset all signal handlers to the default (SIG_DFL) in the child process after forking.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=771570
2008-02-06 12:28:49 +00:00
Adriaan de Groot
30b21cac1f Use the right kWarning() calls
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=764626
2008-01-22 07:20:56 +00:00
Robert Knight
781d0dea53 Remove redundant signal/slot in Konsole::Pty and connect to QProcess::finished() directly in Konsole::Session.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=760892
2008-01-13 16:43:34 +00:00
Robert Knight
ac9eec4193 Remove Konsole's internal buffering since KPtyDevice provides its own. Check result of waitForStarted() after starting process and return failure in Konsole::Pty::start() if it returns false. Send correct signal to process when killing it in Session::sendSignal(). Use KPtyProcess's setUseUtmp() to add process to utmpter if enabled in Konsole. CCMAIL:ossi@kde.org
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=760890
2008-01-13 16:38:53 +00:00
Robert Knight
905304b4f1 Port from K3Process to KProcess. Removed dependancy on KDE 3 Support library. This breaks flow control, as changes to kdelibs appear to be needed first. Removed some of the status messages that KNotify may report when a process exits. Bump version number in trunk to 2.1
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=760614
2008-01-13 04:16:22 +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
2d532398b6 Add methods to Pty to get the erase character for the terminal. Avoid trying to set the erase character in Pty::start() if setErase() has not been called previously.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=750289
2007-12-19 02:44:51 +00:00
Robert Knight
6750948843 Temporary solution to bug #149300. Set LANGUAGE to a null string in the child process's environment unless set explicitly in the Profile options.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=710022
2007-09-08 22:35:38 +00:00
Robert Knight
d346a2ccad Trick to try and get shell program to redraw the prompt after 'Clear Scrollback and Reset' is selected from the menu. Resize the tty window slightly larger and then back to the original size again. If anyone knows of a more correct solution, please speak up.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=708825
2007-09-05 19:17:20 +00:00
Robert Knight
503fdd023e Fix several memory leaks and uninitialized variables found with valgrind.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=696508
2007-08-05 05:53:05 +00:00
Robert Knight
72241ef4a6 * Comment out many debugging messages
* Experimental optimization, disable kerning since this is not required
  with the mono-spaced fonts which are used in the terminal.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=682702
2007-07-03 09:14:21 +00:00
Robert Knight
2a1109196f Save and load environment variables as part of the profile. Defaults to just 'TERM=xterm'. Allow editing of the environment in the profile editor (not just the TERM variable). Separate out the tab-related options into their own tab in the profile editor and rename 'Keyboard Setup' to 'Input' as that seems a more obvious name.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=679103
2007-06-23 02:09:21 +00:00
Robert Knight
ffda8d3ccc Implement saving of key binding changes. Adapt Pty changes to use Konsole's more verbose variable naming style.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=676902
2007-06-17 22:05:45 +00:00
Oswald Buddenhagen
87f3afcdd0 copy some methods from KPty - they are used only here, so they will be
deleted from kdelibs.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=676799
2007-06-17 18:53:59 +00:00
Robert Knight
a0976835b6 Tidy up Pty class header file and API. Better method names, remove un-used methods, add API documentation etc. Fix some other API documentation mistakes.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=667129
2007-05-21 22:30:07 +00:00
Robert Knight
04069377d9 Tidy up and reorganise the header files and API for the Emulation classes, add more API documentation for the base Emulation class. Rename methods for consistancy and clarity.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=665816
2007-05-18 02:47:03 +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
0ab65a6fe4 Use a more correct method to determine the foreground process in the terminal. Works properly with nested shells.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=661946
2007-05-07 04:14:32 +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