1. 30 Sep, 2011 1 commit
    • Eli MacKenzie's avatar
      Changed method of remember/marker line tracking. · cbe876c9
      Eli MacKenzie authored
      Qt 4.7.4 introduces a change to the handling of
      QTextBlock::userState that makes it unusable for the purposes of
      tracking which block represents a marker or remember line. Previous
      versions of Qt also changed or otherwise corrupted the userState
      value causing the loss of synchronization with the data held in the
      IRCView itself. Blocks are now tracked via the userData field, which
      was unmolested in the change made to QTextDocument.
      
      Warning: this commit introduces a large volume of debugging output.
      
      For more information about the Qt change, see QTBUG-20916.
      
      BUG: 210106
      CCBUG: 260598
      cbe876c9
  2. 02 Aug, 2011 1 commit
  3. 29 Jul, 2011 1 commit
  4. 28 Jul, 2011 1 commit
  5. 01 Jul, 2011 1 commit
  6. 27 Jun, 2011 1 commit
  7. 15 May, 2011 2 commits
    • Eike Hein's avatar
      Remove obsolete comment. · 84e3fe75
      Eike Hein authored
      84e3fe75
    • Eike Hein's avatar
      Remove hack. · fe2ebe64
      Eike Hein authored
      Fixes the /notify outputs again. Does mean the nicks in WNO
      online/offline announcements won't be clickable anymore, though.
      fe2ebe64
  8. 16 Apr, 2011 1 commit
  9. 13 Apr, 2011 1 commit
    • Bernd Buschinski's avatar
      Replace pairs of spaces with "<space>&nbsp;" to preserve some semblance of text wrapping · 2cd9e132
      Bernd Buschinski authored
      code:   filteredLine.replace("  ", " \xA0");
      This used to work like above. But just for normal text like "test    test"
      It got replaced as "test \xA0 \xA0test" and QTextEdit showed 4 spaces.
      In case of color/italic/bold codes we don't necessary get a real pair of spaces
      just "test<html> <html> <html> <html> test" and QTextEdit shows it as 1 space.
      Now if we remember the last char, to ignore html tags, and check if current and last ones are spaces
      we replace the current one with \xA0 (a forced space) and get
      "test<html> <html>\xA0<html> <html>\xA0test", which QTextEdit correctly shows as 4 spaces.
      BUG: 270376
      2cd9e132
  10. 09 Mar, 2011 1 commit
  11. 27 Jan, 2011 1 commit
  12. 03 Jan, 2011 1 commit
  13. 19 Dec, 2010 1 commit
  14. 17 Dec, 2010 1 commit
  15. 17 Sep, 2010 1 commit
  16. 16 Sep, 2010 3 commits
    • Eike Hein's avatar
      Fix opening irc:// and ircs:// URLs from the URL catcher. · a2fca02b
      Eike Hein authored
      Also reduces code duplication between ircview and topiclabel a bit.
      a2fca02b
    • Eike Hein's avatar
      Add a missing initialization. · 35dd73ea
      Eike Hein authored
      Fixes a crash in DCC Chat when the connection can't be established.
      35dd73ea
    • Eike Hein's avatar
      Land a rewrite of the context menu code ... · 7404e4be
      Eike Hein authored
      ... for ircview, topiclabel and nicklistview, resulting in a monstrous
      commit message listing the many improvements. And you thought I couldn't
      do it with git! Enjoy:
      
      * Numerous consistency problems in the area of which actions are avail-
        able in which context menus have been addressed. For example, the chat
        text nick context menu used to lack many of the actions available in
        the nickname list context menu.
      * Numerous actions that require an established connection (e.g. everything
        in the "Modes" submenu of nick context menus or the DCC actions) used to
        not get disabled when loss of connection occured. Others did get dis-
        abled, but not consistently in all menus in which they are available.
        Still others, such as the "Add to Watched Nicks" action, used to get
        disabled unnecessarily. All of this has been addressed.
      * Toggle actions used to appear and behave inconsistently: The nickname
        list context menu showed either "Ignore" or "Unignore" actions as applic-
        able, while the chat text view nick context menu used a checkable item.
        Meanwhile, the "Add to Watched Nicknames" action had no corresponding
        action to remove a nick from the Watched Nicks Online list at all. All
        of this has been fixed, going with the "Ignore"/"Unignore" style of the
        nickname list context menu (i.e. there's now a "Remove from Watched
        Nicks").
      BUG:243430
      * If built against Qt 4.7, the topic area now uses the same context menus
        as the chat text view (with the exception of the inappropriate "Find
        Text.." action in the basic context menu), enabling a lot of functiona-
        lity missing otherwise.
      * Some actions used to be shown in menus inappropriately, e.g. the "Chan-
        nel Settings" action in the chat text view context menu of a connection
        status tab or the "Open Logfile" action in the same context menu of a
        raw log tab. This has been addressed.
      * The behavior of many of the actions is now more consistent with their
        input line equivalents. For example, clicking "Join Channel" in a link
        to an already-joined channel will now focus the existing channel tab,
        the same as the /join command would do. Previously, nothing would hap-
        pen.
      * Fixed a bug causing the nick and channel link context menus in the chat
        text view of a channel tab to get disabled after having been kicked from
        the channel.
      * Fixed a bug causing the "Send Email..." action to always be disabled,
        even when any of the associated address book entries did have an email
        address on file.
      * The display of helpful titles repeating the nick/channel at the top of
        the chat text view nick and channel link context menus has been fixed -
        it previously got broken in the KDE 4 port.
      * The nick and channel link context menus now mark the action that occurs
        when clicking either as the default action of the context menu, impro-
        ving the appearance with UI styles that visually distinguish the default
        action.
      * General improvements to the layout of menus, often with an aim for
        improved consistency with other KDE applications.
      * Numerous actions that were missing icons now have them.
      * The consistency of keyboard accelerators between the various menus has
        been improved.
      * Various actions in the nickname list context menu now appropriately use
        a singular or plural form for their text label depending on the number
        of selected nicks the menu operates on.
      * Improved memory efficiency by using single global instances of the
        various menus, rather than for example having two separate instances of
        the nick context menu - one for the chat text view, one for the nickname
        list view - for every channel tab.
      * The code implementing the various actions was in many cases redundantly
        implemented in three different places, for some even in four. This stag-
        gering code duplication has been done away with.
      7404e4be
  17. 12 Sep, 2010 4 commits
  18. 11 Sep, 2010 7 commits
  19. 10 Sep, 2010 6 commits
  20. 04 Sep, 2010 3 commits
    • Bernd Buschinski's avatar
      Cleanup... · 5cc73ebc
      Bernd Buschinski authored
      5cc73ebc
    • Bernd Buschinski's avatar
      Handle invalid colors codes like mirc and reset the value to default color. · f8b95c26
      Bernd Buschinski authored
      For cases like "text[k]17text" we used to get "text[k1]7text", now the
      second text is just black, as value 17 is reseted to the default color(black)
      and the visible text is just "texttext"
      f8b95c26
    • Bernd Buschinski's avatar
      - handle \x16 reverse in removeDuplicateCodes · 0fc09d23
      Bernd Buschinski authored
      - merge IRCView::basicDirection into IRCView::filter/ircTextToHtml
      - Switch ircchar finding from QRegExp to for (...) in ircTextToHtml and also handle the baseicDirection
      + QRegExp seems to be very slow on long lines with very many matches, a simple for (...) is up to
        2 times faster in this case
      + baseicDirection check now skips urls, as they are not part of the spoken language
      - remove temporary url marker hack
      0fc09d23
  21. 03 Sep, 2010 1 commit
    • Bernd Buschinski's avatar
      - rewrite html generation from irc richtexts, · e0821e4f
      Bernd Buschinski authored
      (for the example I will use [b] as irc bold char and [i] as italic char)
      In case we got text like:
      "aaa[b]bbb[i]ccc[b]ddd[i]"
      we used to generate
      "aaa<b>bbb<i>ccc</b>ddd</i>"
      which is invalid HTML, as the italic has to be closed before the bold,
      as expected the result also looked wrong(on the screen).
      What I do now is to remember which tag is open and reopen it,
      so I will generate text like:
      "aaa<b>bbb<i>ccc</i></b><i>ddd</i>".
      -move html stuff out of common.cpp/h
      - support the \x16 reverse char, inverts default fore- and back-ground colors
      e0821e4f