File: /src/konversationmainwindow.cpp
95 commits found

TimeRevisionRepliesAuthorMessageSunday, 27. August 2006
00:135775410heinUse a shortcut for the global away toggle that isn't already in use by default. BUG:131559


TimeRevisionRepliesAuthorMessageSaturday, 26. August 2006
14:195773880heinMove toolbar configuration handling into KonversationMainWindow because KMainWindow::saveNewToolbarConfig() calls createGUI() without the _conserveMemory=false parameter we need to pass to get dynamic menu extensions via ActionLists to work.
01:255772710heinMake the Channel List a toggle action ...


TimeRevisionRepliesAuthorMessageFriday, 25. August 2006
22:415772370heinAdd some icons.
21:265772220heinDon't show incorrect description for global away toggle. BUG:132995


TimeRevisionRepliesAuthorMessageTuesday, 22. August 2006
22:475760420heinFix initialization of action names.
22:375760390heinRemove crash-prone debug code.


TimeRevisionRepliesAuthorMessageSunday, 20. August 2006
20:445751340hein* Make the server tab context menu actions affect the correct server. * Disable the "Join Channel" action off properly when the server is disconnected.
04:595747670heinAdd some useful actions to the context menu of server tabs.
04:295747600heinAdd missing i18n() and sneak in an action last-minute.
00:325747340heinBlock signals from all views just prior to quit. Fixes crash due to socket error in ircview trying to update the notifica- tion on a dieing tab widget, and is in general an attractive safety net.


TimeRevisionRepliesAuthorMessageThursday, 17. August 2006
03:155737190heinBehold, the Commit of Doom! Although I prefer to think of it as the Commit of Bliss. In any case, it's massive (diffstat < 10k lines). Here goes: - Implement a tree list as a vertical alternative to the tab bar, supporting all cosmetic and interactive features of the tab bar, including, but not limited to, text notifications, LEDs, (hover) close buttons with delayed activation, context menus, drag'n'drop, and mouse wheel events. Plus a few tricks of its own. - Refactor KonversationMainWindow: The view management duties are now performed by the new ViewContainer class, which internally abstracts the differences be- tween the two tab switching widgets. All of that code has seen major cleanups. Also, the status bar management is now happening - mostly rewritten, too - in the new KonversationStatusBar class. - Cleanup all around. - Delete obsolete class DccTransferHandler. - Delete obsolete class Popup. - Delete obsolete class KonviSqueezedTextLabel. - Fix status bar not being reset correctly when the last view is closed. - Fix the status bar temp text not being cleared when the window loses focus or the cursor leaves the window after a link is launched. - Don't set allow empty temp texts to be set in the status bar. - Fix the "No answer from server for ..." lag text interfering with the status bar temp text mechanic by using the proper API to set it. - Improve consistency of status bar lag label updating to avoid the UI jumping around too much. - Hide the info and lag status bar labels until text is set for the first time. - Fix the "DCC Status" and "Channel List" panels leaving the status bar info label empty. - Reset the status bar properly when the last view is closed. - Tweak the grouping behavior for "Channel List" and "Raw Log" tabs. - Fix change of the general UI font not being propagated down to the various types of tabs. - Fix changes of the iconset not being applied to tab bar close icons. - Fix the name of the "Watched Nicks Online" tab changing under certain circum- stances. - Fix Reconnect action not being updated on /disconnect. - Fix Reconnect action not always working. - Fix "Hide Nicklist" action not being disabled when the current view doesn't actually have a nick list. - Fix the menu bar shown/hidden state not being saved across sessions. - Show the "Show Menubar" action as the first item in the IRCView context menu when the menu bar is hidden, as is established good practice among KDE applications. - Distribute actions in the menus a little better. - Make the ban list and other channel settings easier to find by adding an action to open the Channel Settings dialog to the "Window" menu as well as the IRCView context menu of channel tabs. BUG:132099 - Fix switching off notifications for a tab not unsetting active notification. - Fix server tabs not preserving their on/off notification state across sessions. BUG:132091 - Change the names of various actions temporarily when the (modal) shortcuts dialog is opened. Toggle actions are prefixed with "Toggle", since the list lacks the context in which they're understood as toggle actions. The insert actions are prefixed with "Insert". And the context-adaptive actions ("Open Logfile for ...") are stripped of their context. BUG:132092 - Disable the "Close All Open Queries" action when there are no open queries. - Fix the "Close All Open Queries" action not actually closing all open queries. BUG:131858 - Don't focus Url Catcher when the "Open URL Catcher" action is triggered the second time. A toggle action isn't tri-state. BUG:132097 - Don't add bookmarks to the action collection (i.e. to the list of short- cuts) when the bookmark menu is opened. BUG:132284 - Update rough changelog. - Bump build number. (PS.: You will need to do a 'make -f Makefile.cvs' in order to build this successfully out of an existing checkout.)


TimeRevisionRepliesAuthorMessageWednesday, 26. July 2006
18:285666900heinLet's do some housekeeping: * Fix most of the 300+ quality control issues reported at EBN. The remaining items are mostly false positives (Qt4 checks, broken spell checking). * Clean out some obsolete includes. * Remove obsolete search dialog code. * Bump build number. * Update rough changelog.


TimeRevisionRepliesAuthorMessageSunday, 09. July 2006
17:065602530heinSome fixes to enable/disable the "Insert" menu actions correctly depending on circumstance to avoid crashes.


TimeRevisionRepliesAuthorMessageMonday, 03. July 2006
22:395577600heinRemove unreliable tray icon snapshot code in the Quit-to-Tray warning dialog.
17:475576420heinRewrite and improve identity warning handling: * Make sure the Quick Connect codepath hits the warning, otherwise connect fails on USER due to insufficiently set up identity. * Have the identity dialog open at the offending identity. * Continue connect if the identity was edited successfully. * Improve warning dialog appearance and wording.
08:335574230psnFix Bug 124896: Customizing the toolbar makes it disappear - toolbar changes are not saved


TimeRevisionRepliesAuthorMessageSaturday, 01. July 2006
16:315568500heinDon't crash on Alt+n when there are no tabs.
00:165566430psnFix display of channel names containing & BUG: 130086


TimeRevisionRepliesAuthorMessageMonday, 26. June 2006
13:445551460psnShow name with & correctly in the menu


TimeRevisionRepliesAuthorMessageFriday, 23. June 2006
20:145543500psn* put the last completion first in the list... although just pressing tab should be faster :) * also move some of the functions in the file so that the classes doesn't get mixed BUG:129708


TimeRevisionRepliesAuthorMessageTuesday, 30. May 2006
19:335466990hein* Adopt standard KDE system tray mechanic (remove option to skip taskbar entirely as it's incompatible with Minimize, Alt+Tab and Toggle Show Desktop). * Move "Automatically insert remember line after minimizing main window" into the corrent preferences page (Behavior->Chat Window rather than Behavior->General). * Update rough changelog. * Bump build number.


TimeRevisionRepliesAuthorMessageWednesday, 19. April 2006
22:305317180hein* Make the Konsole tab feature KIOSK-aware. * Add tentative fix for slighly peculiar message-less PART on ircu and potentially others. Argument handling in InputFilter may require re- factoring as per the information submitted to the mailing list. Thanks to Nimrod Gutman and the ircu team for aiding the debugging effort. * Update rough changelog. * Bump build number.


TimeRevisionRepliesAuthorMessageWednesday, 12. April 2006
21:065292390coppensMake the fontsize of the tabbar configurable. OK by psn


TimeRevisionRepliesAuthorMessageThursday, 30. March 2006
20:215246570psnApply patch from Piotr Budny... * Automatically insert a remember line when the window is hidden


TimeRevisionRepliesAuthorMessageFriday, 03. February 2006
10:195051700psnAdd option to disable auto resizing of tabs


TimeRevisionRepliesAuthorMessageFriday, 27. January 2006
09:245027680eobermayradded missing i18n()


TimeRevisionRepliesAuthorMessageWednesday, 25. January 2006
22:105024290hein* Complete German translation of KNotify events. * Add missing i18n to action tooltip.
17:565023500heinAdd "DCC Status" menu toggle action.
17:285023420heinFix notification hierarchy handling and a typo in setTabNotification().
17:095023350heinAdd tab notifications to the DCC Status tab, triggered on DCC status changes. Previously, if you had auto-get activated and the tab was already open, there was no way to notice someone sending you a file unless you happened to notice the text message in the IRCView. Hook up "Enable Notifications" context menu toggle action accordingly.
16:205023180heinMake "Focus new queries" actually work, and thus fix the default behaviour.
16:005023130heinNow that we have activity notifications for Konsole tabs (bribed for by the Geeks Marching for Improved MUD Playing Experience in Konversation Konsole Tabs, "GMFIMPEIKKT" in short), the "Enable Notifications" context menu toggle action should be enabled.


TimeRevisionRepliesAuthorMessageMonday, 23. January 2006
19:025017430heinUpdate a query tab's label when we catch a name change for the user we're chatting with. Update the window title, too, if the tab happens to be the front view.
18:105017240heinAdd a new LED type to non-chat/status tabs rather than no LED at all. Brings back basic coverage on the color- coding front as requested by the Geeks Marching For The Use of LEDs for Color Coding Allliance.


TimeRevisionRepliesAuthorMessageSaturday, 21. January 2006
19:485010220heinDon't crash by trying to get ahold of a deleted network's updated label.


TimeRevisionRepliesAuthorMessageFriday, 20. January 2006
13:325005420heinAvoid closing the Server List dialog on the user despite the connection attempt being unsuccessful due to the identity not being set up correctly. A large number of users will have run into this ugly behaviour due to not having a real name set in their system account.


TimeRevisionRepliesAuthorMessageThursday, 19. January 2006
21:365003020heinClear status bar temp text on tab switch.


TimeRevisionRepliesAuthorMessageTuesday, 17. January 2006
20:504994730heinCleanup.
19:574994440heinMake all tray icon prefs apply at runtime again.
19:384994390heinCorrectly insert away remember line in all channel and query tabs of the affected server(s), rather than putting them all in the front view.
18:474994260heinMinor corrections.
18:304994180heinStop openNicksOnline() from being to clever and bringing the Watchlist tab to front on second activation if it's not already the frontView. It's a ToggleAction and should be on and off, not three states. enum bool { yes,no,maybe } ...
18:254994130hein* Revise and extend the menu item description strings. * Have the IRCView only clear the statusbar on scroll when we actually hovered something in there and not in the menu, the topic or in another IRCView.
17:324993990heinMake sure channel tabs are inserted before the next server's accompanying raw log tab.
03:054991370johnfluxIf you enable or disable spell checking then its set for all channels and across all sessions
00:084991180johnfluxImplement signal compression for settingsChanged. This means that KonversationApplication::instance(), SIGNAL(appearanceChanged()) will only be emitted once per event loop. This in turn means that the app will only react exactly once to when you press apply/ok in the preferences dialog.


TimeRevisionRepliesAuthorMessageMonday, 16. January 2006
20:414990600heinClean up propagation of preference change events.
19:044990020hein* Don't leave m_channelInfoLabel (which is a misnomer, I might add) empty on Konsole tabs. * Don't show the lag meter where it doesn't make sense.
18:314989840heinMinimize effects of KAcceleratorManager deficiencies.
16:194989310heinRevert manual call to KAcceleratorManager. It isn't smart enough to detect that the accelerators are indeed fine and thus recomuptes again after the modal dialog is closed and the main loop reentered.
16:154989290heinUpdate status bar and window title on network rename, too, if it happens to be the frontmost tab.
15:344989170hein* Make tab labels update and accelerators recompute upon renaming a network. * Fix logic error in ServerGroupDialog writing network changes to the disk before the ServerGroupList has in fact been updated. * Remove some stale code.


TimeRevisionRepliesAuthorMessageSunday, 15. January 2006
22:084987010heinGet rid of some excess signalling triggering the update* bonanza multiple times and wasting CPU cycles. There's still a related design problem with KonviSettingsDialog/ KonviConfigDialog and settingsChanged() however.
18:444985950hein* Significantly clean up Channel's splitter handling. I think I'll like the diffstat on this one. * Make splitter show/hide action global.
16:554985360heinAdd tab notifications for console tabs.
16:014985150johnfluxIf you join a channel, then leave, fix the bug where the channel would still be listed in the 'Switch To' context menu.
15:504985080johnfluxAdd some tooltips
13:404984580heinAdd thin wrapper around KSqueezedTextLabel with the capability to show a temporary text and later revert to the last text set via the regular setText(), i.e. temp texts are not overwritten when a new setText() comes in, but the latter is stored and applied upon clearing the temp text. Use case: Menu item and link hover updating the statusbar accross the app.
12:134983220heinHook up the menu item hover to the label rather than statusBar().
11:314983110heinGet rid of excess iteration and casting in updateTabNotifications for significant speed improvement.
11:014983040heinSmall corner case fix for dynamic colour scheme pickup in the tab bar.
10:504982980heinUse the foreground color rather than "Standard Text". This is inconsistent with Konqueror and Kopete, but matches the window text color (menu bar, other controls) as well as the Konsole and KControlCenter module tab bars.
10:444982960hein* Use color scheme "Standard Text" colour as tab text default colour, consistent with Konqueror and Kopete. * Pick up global colour palette changes accordingly. BUG:120159
08:024982770heinA number of small tab notification fixes: * Correctly disable text notifications. * Make LED-only notifications work (typo). * Don't reset the notification state on unset so we don't lose that info in case the user changes his mind in the preferences dialog.
07:324982710heinCombined fix/revert of JohnFlux' statusbar changes, now uses the actual label to display the link and reacts to UI font size changes again ...
04:274982530johnfluxWhen you hover over a nick, link, channel, wikipedia link, etc, it says what clicking on it will do in the status bar
03:384982490johnfluxFix statusbar. Now displays menu hint


TimeRevisionRepliesAuthorMessageSaturday, 14. January 2006
14:374980280abatianniQuick buttons, topic, channel modes and nickname box now update at runtime on preferences apply, removed lots of old code from server.cpp
11:554979690heinCorrect unsetTabNotification handling.
11:004979550hein* Land new tab notification preferences allowing for both colored text and colored LED notifications, the color being configurable per event class. Additionally, the user may specify to give precedence to chat window highlight colors. * Revise tab bar preferences page. * Fix margin/layout bugs in various UI files. * Miscellaneous code cleanups. * Update changelog, bump build/revision number.


TimeRevisionRepliesAuthorMessageWednesday, 11. January 2006
06:194967330heinLet me recount the tale of the glorious quest for a greater status bar: * Turn LagOMeter into a QLabel because labels inserted with KStatusBar's insertItem() don't care about font size changes. * Override size policy and height of our KSqueezedTextLabel (code from aKregator, based around fontMetrics()) because that class not only doesn't care about font size changes, it also calculates a different initial height than QLabel. * Pour some code into updateAppearance() to handle font changes in the KSqueezedLabel.
05:194967260hein* Show network name in title bar (and not just in the tab). * Clean out some stale code in KonversationMainwindow.
03:214967140hein* Cleaned out legacy server config parsing code. * Prevent addition of nameless networks. * Land Server List dialog redesign: - Remove 'Group' property. - Populate tree with servers as children of networks and hook up buttons respectively. Networks retain expanded/collapsed state. - Fix server list sorting to match actual order of addition and thus auto-connect sequence. - Add new networks behind the last item in the list, resulting in the user interface actually matching the application behavior. - Improve behavior of button actions. - Improved error messages on deletion. * Update changelog, bump revision number. More to come ...


TimeRevisionRepliesAuthorMessageMonday, 09. January 2006
20:464961530abatianniFix bug 119805: State of nick list show/hide is now saved


TimeRevisionRepliesAuthorMessageSaturday, 07. January 2006
10:354951640heinSelect respective entry in Server List dialog after adding or editing a network, enabling a smooth Add/Edit->Connect interface flow. BUG:114277
03:314951020heinPort KonversationMainwindow::OpenURL to KonviIpHelper. Finally adds robust host parsing including IPv6 support.


TimeRevisionRepliesAuthorMessageFriday, 06. January 2006
01:044947100abatiannia nicer way to open the right page on Edit Watchlist click
00:124947040abatianniquick patch to open the right page on Edit Watchlist click


TimeRevisionRepliesAuthorMessageThursday, 05. January 2006
20:034946260heinReplace function call- and iterator-based propagation of appearance changes with signals & slots. Removes updateFonts() from Server and significantly shrinks appearanceChanged() in Mainwindow. Rename appearanceChanged() to updateAppearance(), consistent with new updateAppearance() slots in Channel, Query, Statuspanel and Rawlog.


TimeRevisionRepliesAuthorMessageThursday, 08. December 2005
11:034866790johnfluxCreated a new KonviSettingsDialog class. This inherits from konviconfigdialog and implements the konversation specific code. (adding all the appropriate classes and so on). One nice side effect is a load of less code in konversationmainwindow.


TimeRevisionRepliesAuthorMessageMonday, 05. December 2005
20:114858330heinUpdate tab actions after moving a tab, so the left-most and right-most tabs can be moved forth and back properly. BUG:117611


TimeRevisionRepliesAuthorMessageFriday, 02. December 2005
16:454850470johnfluxAdd code for saving the dialog warning preferences. This isn't called because I don't have the signals I need exposed. Need to fix.


TimeRevisionRepliesAuthorMessageThursday, 01. December 2005
21:504847910cartmanThis part will come with my LogReader optimizations (maybe)
21:474847900cartmanGet back aliases, but saving doesn't work though Preferences::setAliasList() is getting called, weird...


TimeRevisionRepliesAuthorMessageFriday, 25. November 2005
13:504832120psnFix enabling/disabling of tab move actions in the context menu


TimeRevisionRepliesAuthorMessageWednesday, 23. November 2005
18:274826770cartmanDcc fully works now, old page removed
18:134826750cartmanAdd back DCC page & fix it. Only "Use interface to get ip" thing is not work ATM


TimeRevisionRepliesAuthorMessageTuesday, 22. November 2005
16:374823430heinMake page headers nice again.
16:154823350hein* Welcome back, hierarchical prefs treelist * Goodbye again, wonky DCC prefs page (for now)
23:084821500heinResurrect correct DCC icon (baby steps, baby steps ...).
23:034821480heinAdd back DCC preferences page.


TimeRevisionRepliesAuthorMessageSaturday, 12. November 2005
11:324799420psn* Check if the servergroup is already connected * make it possible to join channels on already connected servers


TimeRevisionRepliesAuthorMessageSunday, 06. November 2005
14:284783460cartmanmove openPrefsDialog & appearanceChanged to KonversationMainWindow


TimeRevisionRepliesAuthorMessageSaturday, 05. November 2005
22:484781260cartmanfix indent