1. 18 Mar, 2008 1 commit
  2. 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
  3. 09 Mar, 2008 1 commit
    • Robert Knight's avatar
      Re-enable scrolling optimisation with tweaks to get Qt to issue a repaint request for the correct · 05fdc151
      Robert Knight authored
      area of the terminal display widget after the content is scrolled with QWidget::scroll() :
      
      - Set the left edge of the scrolled rect to 0 (instead of the left margin used when
      drawing the text)
      - Set the right edge of the scrolled rect to width() - width of scroll bar - 1.  If the
      right edge of the scrolled rect touches the scroll bar then a full repaint of the widget
      is triggered.
      
      These changes are based on experimentation.  I haven't had time to look into Qt to
      find out exactly what changed between Qt 4.3 and 4.4.
      
      Update comments to reflect changes and add a mention of Qt's QT_FLUSH_PAINT repaint
      monitoring facility.
      
      CCBUG: 158523
      
      svn path=/trunk/KDE/kdebase/apps/konsole/; revision=783788
      05fdc151
  4. 01 Mar, 2008 2 commits
  5. 29 Feb, 2008 1 commit
  6. 17 Feb, 2008 1 commit
    • Bill Egert's avatar
      No longer use Obsolete Members for QPainter. · 8bf323e0
      Bill Egert authored
      drawRoundRect() => drawRoundedRect()  (This function was introduced in Qt 4.4)
      matrix() => worldTransform() 
      setMatrix() => setWorldTransform()
      
      svn path=/trunk/KDE/kdebase/apps/konsole/; revision=776270
      8bf323e0
  7. 25 Jan, 2008 2 commits
  8. 22 Jan, 2008 1 commit
  9. 16 Jan, 2008 1 commit
    • Robert Knight's avatar
      Scroll the terminal display continually when the mouse is held down and then... · 30cf067d
      Robert Knight authored
      Scroll the terminal display continually when the mouse is held down and then moved outside of the display, rather than requiring continual mouse movement to scroll.  Make the scrolling rate proportional to the distance between the edge of the display and the mouse position.  Currently suffers from quite noticable flicker when scrolling quickly through a large scrollback buffer because the display is scrolled and repainted before the selection is extended.  Stop the cursor from blinking and text from blinking when the display loses focus and restart blinking when the cursor regains focus.  Ensure that the cursor is visible in a hollowed-out style when the display does not have focus.
      
      svn path=/trunk/KDE/kdebase/apps/konsole/; revision=762055
      30cf067d
  10. 14 Jan, 2008 1 commit
  11. 13 Jan, 2008 2 commits
  12. 12 Jan, 2008 1 commit
  13. 11 Jan, 2008 1 commit
  14. 09 Jan, 2008 1 commit
  15. 02 Jan, 2008 4 commits
  16. 18 Dec, 2007 2 commits
    • Robert Knight's avatar
      Fix the long standing limitation where multiple views on the same terminal... · c708aff2
      Robert Knight authored
      Fix the long standing limitation where multiple views on the same terminal session had to be the same size - the size of the smallest view.  This means that it is now possible, for example, to have a large view on a session for browsing and examining output and a smaller view on the same session for input.  The underlying terminal does not support the concept of multiple windows, so the size reported to terminal applications is still that of the smallest view.  Full-screen applications such as vim and emacs will therefore be the size of the smallest view on all views.
      
      * Add a method in ScreenWindow to set the size of the window (in lines, the number of columns is still ifxed).  
      * Call this method in TerminalDisplay to set the window size when the widget is resized or when the screen window of a display is initially set.
      * Fix ScreenWindow::getImage() and ScreenWindow::getLineProperties() so that they do not attempt to retrieve information about lines beyond the end of the screen.
      * Fix ScreenWindow::getLineProperties() to always return result vector of size windowColumns(), though the number of elements copied from the screen may be less.
      
      
      svn path=/trunk/KDE/kdebase/apps/konsole/; revision=749874
      c708aff2
    • Robert Knight's avatar
      · ada0d91b
      Robert Knight authored
      * Avoid allocating a new buffer to hold character data on every screen update.
        Instead a single buffer is created and maintained by ScreenWindow.
      * Re-write Screen::getCookedImage() and rename to getImage() to make it possible
        to retrieve an image of a section of the screen which is not the same size as
        the terminal screen.
      * Make various non-mutating Screen methods const
      
      
      svn path=/trunk/KDE/kdebase/apps/konsole/; revision=749864
      ada0d91b
  17. 16 Dec, 2007 2 commits
    • Robert Knight's avatar
      Change default shortcut for decreasing text size to Ctrl+-. This is in line... · 684b40c6
      Robert Knight authored
      Change default shortcut for decreasing text size to Ctrl+-.  This is in line with other applications and fixed the problem of a clash with the Undo action in emacs.  Discussed with dfaure back in October but not implemented until now.  Remove the code which prevents Ctrl+[Printable character] shortcuts from working.
      
      svn path=/trunk/KDE/kdebase/apps/konsole/; revision=748984
      684b40c6
    • Robert Knight's avatar
      Change default triple click behaviour to select the whole line, rather than... · 4b293197
      Robert Knight authored
      Change default triple click behaviour to select the whole line, rather than just that forwards of the cursor.  This is in line with KDE 3.  Replaced the API which controls this behaviour in the TerminalDisplay class with a clearer one.
      
      svn path=/trunk/KDE/kdebase/apps/konsole/; revision=748979
      4b293197
  18. 15 Dec, 2007 1 commit
    • Robert Knight's avatar
      · e37fe694
      Robert Knight authored
      * Fix problem where selection background and other text with non-standard background
        colors was not readable with terminal display transparency enabled.
      
      * Transparency works again, but requires --enable-transparency argument passed to command-line
        due to artifacts that appear otherwise.
        Re-enable the code which searches for a suitable display, visual and colormap when
        starting the application in an environment which supports compositing.  Still
        need to resolve with other developers exactly how this will be done in KDE 4.0
      
      * Fix problem where flow control warning banner was always displayed when 
        Ctrl+S, Ctrl+Q were pressed, regardless of whether flow control was 
        actually enabled.
      
      * Fix artifacts when scrolling whilst the flow control warning banner was 
        visible.  Scrolling optimisations in the terminal display are disabled whilst
        the warning banner is being shown.
      
      * Fix links which wrapped over more than one line being cut-off at the end of the line
        (eg. when parsing "http://www.kd <END OF LINE> e.org" the link address would be reported
         as "http://www.kd" instead of "http://www.kde.org").  The link underlining is not yet 
         corrected, only the part of the link on the first line is highlighted.  
      
      * Implement code to load and use a built-in keyboard translator for fallback purposes
        in case no .keytab files exist.  The actual translator text (in DefaultTranslatorText.h)
        is currently incomplete. 
      
      * Replace hard-coded colors for flow control warning label with colors from
        KColorScheme
      
      * Replace hard-coded colors in incremental search line edit when a match is not found
        with colors from KColorScheme
      
      * Remove un-used variables in TerminalDisplay class, rename enums to match
        CamelCase naming style used elsewhere.
      
      svn path=/trunk/KDE/kdebase/apps/konsole/; revision=748936
      e37fe694
  19. 07 Dec, 2007 1 commit
  20. 03 Dec, 2007 1 commit
  21. 01 Dec, 2007 1 commit
  22. 30 Nov, 2007 1 commit
  23. 28 Nov, 2007 1 commit
  24. 26 Nov, 2007 2 commits
  25. 23 Nov, 2007 1 commit
    • Robert Knight's avatar
      * Fix bug where last column in a line could not be selected if it · 3bdcbb44
      Robert Knight authored
        was the last line in the selection.
      * Do not attempt to reposition the mouse cursor when it moves outside
        of the terminal display area.  This happens in Konsole/KDE 3 as well,
        I had never noticed it before though.
      * Remove debugging code
      
      
      svn path=/trunk/KDE/kdebase/apps/konsole/; revision=740704
      3bdcbb44
  26. 22 Nov, 2007 2 commits
    • Robert Knight's avatar
      Fix bug where new lines were being inserted into the selection and copied... · 6b56d354
      Robert Knight authored
      Fix bug where new lines were being inserted into the selection and copied text.  I misunderstood the meaning of the preserveLineBreaks argument passed from the terminal display to the terminal screen when rewriting the terminal characters -> text conversion code.  Also removed dead code.
      
      svn path=/trunk/KDE/kdebase/apps/konsole/; revision=740173
      6b56d354
    • Robert Knight's avatar
      Fill the background of the terminal display area behind the scroll-bar using... · e98a26e1
      Robert Knight authored
      Fill the background of the terminal display area behind the scroll-bar using the background color from the scroll-bar's palette.  This gives the illusion of the scroll bar being outside the contents area as per other KDE applications and is required for a better looking scrollbar with the Oxygen widget style.  CCMAIL:cbr@boemann.dk
      
      svn path=/trunk/KDE/kdebase/apps/konsole/; revision=740161
      e98a26e1
  27. 05 Oct, 2007 1 commit
  28. 21 Sep, 2007 1 commit
  29. 09 Sep, 2007 1 commit
  30. 07 Sep, 2007 1 commit