1. 30 Mar, 2008 6 commits
    • Robert Knight's avatar
      Define environment variable in new sessions which is set to the initial... · bd154850
      Robert Knight authored
      Define  environment variable in new sessions which is set to the initial working directory of the profile used for the session.
      
      svn path=/trunk/KDE/kdebase/apps/konsole/; revision=791952
      bd154850
    • Robert Knight's avatar
      Fix consecutive non-word characters being treated as a single word. · 61d1e13d
      Robert Knight authored
      TerminalDisplay::charClass() used to return one of three values to indicate whether
      the input was a space, "word character" (letter, number or character from the wordCharacters() array)
      or something else.  When double clicking a 'word' was taken to be a run of
      characters which had the same charClass().  Fix this by returning the input character
      in charClass() if it is not a space or word character.
      
      CCBUG:155416
      
      svn path=/trunk/KDE/kdebase/apps/konsole/; revision=791732
      61d1e13d
    • Robert Knight's avatar
      Updates to changelog. · 32cc9f25
      Robert Knight authored
      svn path=/trunk/KDE/kdebase/apps/konsole/; revision=791725
      32cc9f25
    • Robert Knight's avatar
      Add a CHANGELOG which summarises the changes in KDE 4.1 · 6afb55a7
      Robert Knight authored
      svn path=/trunk/KDE/kdebase/apps/konsole/; revision=791724
      6afb55a7
    • Robert Knight's avatar
      Center icons in 'Show in Menu' column in Manage Profiles dialog. · f20f1a45
      Robert Knight authored
      svn path=/trunk/KDE/kdebase/apps/konsole/; revision=791716
      f20f1a45
    • Robert Knight's avatar
      BUG: 159096 ('Find Next' does not always move to correct line) · ac26bd47
      Robert Knight authored
      Squashed commit of the following:
      
      commit 17bd4aee3b20b3d36e0891dfd516d986430133c2
      Author: Robert Knight <robertknight@gmail.com>
      Date:   Sun Mar 30 03:39:07 2008 +0100
      
          Use a list of integers rather than a bitmap to record the character positions of new lines.  This allows for empty lines in the buffer which means that multiple lines may start at the same character position.
      
      commit d8ee8002f6ee87257f70f94e1a77a44f668617d9
      Author: Robert Knight <robertknight@gmail.com>
      Date:   Sun Mar 30 03:22:24 2008 +0100
      
          Compute the line index of a match found during output search more accurately.  Add a method to record the positions of new lines within the output stream to TerminalCharacterDecoder and use that in SearchHistoryTask to count the number of lines offset from the start of the current block.  Unlike the previous method this works when there are wrapped lines in the output.
      
      svn path=/trunk/KDE/kdebase/apps/konsole/; revision=791703
      ac26bd47
  2. 29 Mar, 2008 1 commit
    • Diego Iastrubni's avatar
      New backport (??) from KDE3: now each profile can enable/disable BiDi... · 60f0a0a5
      Diego Iastrubni authored
      New backport (??) from KDE3: now each profile can enable/disable BiDi rendering in the display. We need this since many console based application (vim, emacs, fribidi etc)
      implement their own BiDi algorithm. There is also another reason: comatibility. All terminals are *not* aware of the BiDi issue and do not re-order the chars
      (gnome-terminal, xterm, konsole, etc). It is possible to enable the BiDi rendering on each profile, so this is not a huge lost. I am still missing the keyboard shortcut to
      quickly enable/disable it (alt+control+b in konsole3), but I am not sure what is the best way for doing it.
      
      A quick note about the implementation:
      In QPainter3, there was an option to draw a text and tell the painter "please do not implement BiDi". In QPainter4 (up to 4.4) there is no such option. I am forcing it by
      drawing  "painter.drawText(rect,0,QChar(0x202D)+text)" (that is &LRO;), and it does seem to work, but I find it kinda "hackish". I will open a task in Trolltech and
      request that new feature. Hopefully by Qt4.5/KDE4.2 I will be able to change the implementation.
      
      
      svn path=/trunk/KDE/kdebase/apps/konsole/; revision=791374
      60f0a0a5
  3. 28 Mar, 2008 1 commit
  4. 27 Mar, 2008 2 commits
  5. 26 Mar, 2008 2 commits
  6. 25 Mar, 2008 1 commit
  7. 24 Mar, 2008 3 commits
  8. 23 Mar, 2008 2 commits
  9. 22 Mar, 2008 3 commits
    • Robert Knight's avatar
      Close tabs when clicked with middle mouse button. · 18a5c86a
      Robert Knight authored
      BUG: 137938
      
      svn path=/trunk/KDE/kdebase/apps/konsole/; revision=788960
      18a5c86a
    • Robert Knight's avatar
      Squashed commit of the following: · 5036d8cb
      Robert Knight authored
      commit 99d61f9bdfe29347050162a5a675bb0c276bc1bf
      Author: Robert Knight <robertknight@gmail.com>
      Date:   Sat Mar 22 20:45:45 2008 +0000
      
          Allow a normal frame around the table view in ManageProfilesDialog.  Works better with Oxygen style.
      
      commit 7075de00d8cc88568e108e868e08d071d5aa7bcb
      Author: Robert Knight <robertknight@gmail.com>
      Date:   Sat Mar 22 20:37:38 2008 +0000
      
          Change base class of ProfileItemDelegate from QItemDelegate to QStyledItemDelegate for better rendering.  Fix updates of favorite / non-favorite status in ManageProfilesDialog.  QVariant equality comparisons are not properly supported for custom types so QAbstractItemModel::match() has to be replaced with manual iteration through the rows.
      
      commit 3baa3307473e037efd500ade7df37d2fd62c60d9
      Author: Robert Knight <robertknight@gmail.com>
      Date:   Sat Mar 22 20:09:27 2008 +0000
      
          Remove unecessary deleteProfile() call.  Explicitly add new profiles to the SessionManager.  Mark the temporary profile in the EditProfileDialog as hidden.
      
      commit 53d1e3515d3408c08ba4b019b5faceffae6b0f8a
      Author: Robert Knight <robertknight@gmail.com>
      Date:   Sat Mar 22 20:02:28 2008 +0000
      
          Do not track deletion of temporary un-named profiles.
      
      commit 55c69e15a4247319b0cff73691f072fef39684c9
      Author: Robert Knight <robertknight@gmail.com>
      Date:   Sat Mar 22 20:01:25 2008 +0000
      
          Make SessionManager::addProfile() public.  Call it automatically in SessionManager::setFavorite() if the profile is not already known to the manager.  When a profile is deleted via SessionManager::deleteProfile() mark it as hidden so that it is not recreated on disk if later changed.  Add debugging in ~Profile to track deletion of profiles.
      
      commit 7a028bac5846cd3689e3351ab139c6f372ca173e
      Author: Robert Knight <robertknight@gmail.com>
      Date:   Sat Mar 22 19:41:22 2008 +0000
      
          Fix several signal/slot connections in ManageProfilesDialog after the SessionManager changes.
      
      commit da7c7b4f939c17885cf0fbaa1fb93d2655021b83
      Author: Robert Knight <robertknight@gmail.com>
      Date:   Sat Mar 22 19:36:57 2008 +0000
      
          Use a helper class to pop elements from recursion guard stack when a call to loadProfile() returns rather than requiring a manual call to recursionGuard.pop()
      
      commit 14a993d15722ec5270de708154408896fd7418b8
      Author: Robert Knight <robertknight@gmail.com>
      Date:   Sat Mar 22 19:12:20 2008 +0000
      
          Fix profiles not being loaded properly if their parent was a profile which had already been loaded.  Profile paths were not being taken off the recursion guard stack at one exit from loadProfile().
      
      commit f946fc0cbde26cd816e3f1d172a5e5327ff3295b
      Author: Robert Knight <robertknight@gmail.com>
      Date:   Sat Mar 22 19:01:06 2008 +0000
      
          Adapt Part to the SessionManager/Profile changes.
      
      commit d3155ba0f6dc9ec0ca34a45b5787488c055dc4bf
      Author: Robert Knight <robertknight@gmail.com>
      Date:   Sat Mar 22 18:55:05 2008 +0000
      
          Update MainWindow API documentation to reflect string key -> ref counted pointer change for profiles.
      
      commit 5d546054c031ae6ee6915f2cc6bcf61dd4e03520
      Author: Robert Knight <robertknight@gmail.com>
      Date:   Sat Mar 22 18:53:16 2008 +0000
      
          Update SessionManager API documentation to reflect string key -> ref counted pointer change for profiles.
      
      commit 856fdf37a5bd81711ff0db1b307b8736ef4ae34e
      Author: Robert Knight <robertknight@gmail.com>
      Date:   Thu Mar 20 23:43:53 2008 +0000
      
          Fix assert.  Fall back to current locale's codec if a null pointer is passed to Emulation::setCodec()
      
      commit 127e894d076061b991934adf84256b651bf31724
      Author: Robert Knight <robertknight@gmail.com>
      Date:   Thu Mar 20 22:45:11 2008 +0000
      
          Replace string key for profiles with ref-counted profile pointer.
      
      commit 53246e5bd4ffcec56ca0ff94730f9ef3946e3f4c
      Author: Robert Knight <robertknight@gmail.com>
      Date:   Thu Mar 20 20:50:17 2008 +0000
      
          First step towards removing string keys as a means to reference profiles.  Change Profile base class from QObject to QSharedData and replace all usage of Profile* with KSharedPtr<Profile>
      
      svn path=/trunk/KDE/kdebase/apps/konsole/; revision=788936
      5036d8cb
    • Robert Knight's avatar
      Do not print a warning if the shell exits with a non-zero exit code. Only... · ede5253a
      Robert Knight authored
      Do not print a warning if the shell exits with a non-zero exit code.  Only print a warning if the program actually crashed.  Non-zero exits happen frequently for shells whoose exit code is the exit code from the last command executed in them.
      
      svn path=/trunk/KDE/kdebase/apps/konsole/; revision=788666
      ede5253a
  10. 20 Mar, 2008 1 commit
  11. 19 Mar, 2008 9 commits
  12. 18 Mar, 2008 8 commits
  13. 17 Mar, 2008 1 commit
    • Robert Knight's avatar
      If the terminal application is not interested in mouse events and the... · 480c556a
      Robert Knight authored
      If the terminal application is not interested in mouse events and the display's scroll bar is not movable then send Up/Down key press events to the terminal instead.
      
      This makes it possible to scroll up and down in 'less' and other applications using the mouse wheel.  One key press is sent for every 5 degrees of mouse wheel rotation.  Typical mouse wheels operate in steps of 15 degrees which equals 3 lines scrolled per notch.  This default is the same as Vim's default mouse wheel scroll step.
      
      As in gnome-terminal and others, this has side effects such as the mouse wheel scrolling through history results in the shell if the shell is run in a program such as screen.
      
      BUG: 159340
      
      svn path=/trunk/KDE/kdebase/apps/konsole/; revision=786780
      480c556a