# HG changeset patch # User Luke Schierer # Date 1037072419 0 # Node ID 32942c49dceda2f16a59d99df56499f845277fde # Parent c25cf04955331b0f770c50c82bd6b1eba7ca4713 [gaim-migrate @ 4132] finally someone (faceprint) decided to fix the entry focus problem :-) yay faceprint! faceprint: (22:37:45) faceprint: frogs have feets for hands (22:38:05) faceprint: that's about as meaningful as anything else i can come up with committer: Tailor Script diff -r c25cf0495533 -r 32942c49dced .todo --- a/.todo Mon Nov 11 21:57:19 2002 +0000 +++ b/.todo Tue Nov 12 03:40:19 2002 +0000 @@ -1,93 +1,69 @@ - + - - DISCUSSION: entries here are things i'm not sure are desirable or doable. - - protocol action to log into webmail for those that support such (aim, yahoo, msn) maybe a r-click option to send to user(yahoo, msn) - - - "console beep" sound option should use different frequency beeps for different events, or at least give some way to allow this behavior. + + UI stuff + + kicking someone in #name-extention causes a kick to display in #name as well and vice-versa - - do we really need some of the preferences? (Ignore TIK messages. Does anyone use that method of retrieving Away messages anymore?) - - - show alias in list of people in chat + + SEARCH FUNCTION FOR LOG FILES - - tab complete to alias, translate to nick on send for chat - - - timestamp on debug messages? + + choose a browser you don't have installed, click a link 2x, crash. - - sorting of conversation tabs, if the ordering of left-to-right order by opening isn't good enough for you - - - ximian serial numbers in rpms cause... problems. - - - msn auth expires (better, but still not perfect) - - - gaim should detect if message is sent and only log on success for protocols capable of offline messaging, this would always log, but aim messages would only be logged if sent to an online person. this would essentially entail making logging dependent on the return status of the serv send msg command. - - - option to disable close for x seconds after recieve im. this would short circuit missing messages as you close the window. make it an option that's off by default. - - - the privacy dialog has five different options now. this looks rather ugly. When we redesign the dialog, perhaps we should change the privacy setting to a combobox? - - - options on key bindings. (differnet window managers map different things. - - make the control key switchable with the alt key or similar) + + gtkimhtml + + default possition + + conversations open scrolled up + + + profiles open scrolled down + + + + smilies - - maybe make control/alt+arrow optionally replace control+bracket + + status icons for profile + + displayable + + + reflect correct account type + + icq should not show aim legend + + + + + horizontal lines + + + im image - - make the option to have escape close a window be global (error messages, account editor, ect) + + segfault on pressing back with messages in queue if coming back for the second time in a given instance of gaim - - - autotools/gettext - - automake 1.4 support bug, non-root users can't get gaim to compile by putting the gtk2 and glib2 m4 files in the m4 dir - - - automake 1.[56] support not perfect. + + fix crash when someone writes just as you close the chat window. - - - WinGaim specific stuff - - wingaim font issues - - - wingaim: Gtk windows that appear when you hover over a button, and just stay there and never close until you click on them once + + BUG: hidden smilies don't always work right in protocols with specific smilies. even aim. this is somewhat transitory, and very annoying. - - wingaim: sounds while away? + + show only text on buttons in im window - - with 3 or more tabs, only the right most tab is closable. this appears to be a gtk for win32 problem - - - - UI stuff text like <font color=blah>with only some text</font> being colored causes the whole line to be colored. lots of font troubles. esp in picking good fonts to use when the theme doesn't have an installed one. - - when auto-away (by idle time) is activated, away message window does not pop up. - - ignore font faces doesn't ignore the font faces in a person's info + ignore font faces doesn't ignore the font faces in a person's info (fixed?) resizing text entry area below default doesn't work well. @@ -95,42 +71,9 @@ some people report being unable to shrink it at all - - escape to close window pref or function doesn't work right: default focus in some windows is wrong - - - there is a blank line in the blist for a couple seconds after someone signs off. [gtk2 bug with the deprecated gtklist?] - - - segfault on pressing back with messages in queue if coming back for the second time in a given instance of gaim - - - self alias does not display in irc chat. (and maybe other chats) - - - block buddy option from right click menu in blist - status report w/out being on own list - - SEARCH FUNCTION FOR LOG FILES - - - fix crash when someone writes just as you close the chat window. - - - choose a browser you don't have installed, click a link 2x, crash. - - - option to have input box scroll instead of line wrap. input box only. - - - BUG: hidden smilies don't always work right in protocols with specific smilies. even aim. this is somewhat transitory, and very annoying. - - - copy grabs html as well as text. - bug: if you remove a group in one prpl, it disappears from the online tab even if there are still buddies in that group online @@ -167,24 +110,15 @@ fix buddy ticker resize bug. can't shrink it below default - - Transparency for GtkIMHtml - blist does not resize correctly on some platforms. this does not seem to be an issue on linux. - - kicking someone in #name-extention causes a kick to display in #name as well and vice-versa - better gtk2-ified icons: maybe a send icon? review the ones we're using now. do they make sense? Do we still want 'import'? If so, it should be under 'tools', not 'file' - - blist short cuts apparently not working - do not automatically resize windows that have been manually resized. @@ -197,114 +131,78 @@ when a new tab is created - - show only text on buttons in im window + + buddy ticker stays around when you sign off - showing the buddies who were online + + + when auto-away (by idle time) is activated, away message window does not pop up. + + + there is a blank line in the blist for a couple seconds after someone signs off. [gtk2 bug with the deprecated gtklist?] + + + self alias does not display in irc chat. (and maybe other chats) + + + block buddy option from right click menu in blist + + + blist short cuts apparently not working save blist colapsation state - - gtkimhtml - - horizontal lines - - - smilies - - - default possition - - conversations open scrolled up - - - profiles open scrolled down - - - - status icons for profile - - displayable - - - reflect correct account type - - icq should not show aim legend - - - - - im image - + + option to have input box scroll instead of line wrap. input box only. - - buddy ticker stays around when you sign off - showing the buddies who were online + + copy grabs html as well as text. + + + Transparency for GtkIMHtml Prefs stuff - - pressing save on new away message dialog does not immediately add away message to list of away messages. + + timestamps + + cannot disable timestamps + + + f2 does not toggle timestamps, preference for this missing + the preference for the width of a chat is not being used when chats and conversations are in the same window. + + add a way for a plugin to store/retrieve config values + check to make sure gaimrc properly unescapes things like a " in a password as the .gaimrc file is read in. (reports indicate this may be a problem, esp for \ and / ) + + sound player preference not saved + + + preference to set logfile path. (i think there is a patch to add this) + + + pressing save on new away message dialog does not immediately add away message to list of away messages. + add ircproxy option to proxy preferences. per-sn controls on how to compute idle time - - preference to set logfile path. (i think there is a patch to add this) - - - sound player preference not saved - - - timestamps - - f2 does not toggle timestamps, preference for this missing - - - cannot disable timestamps - - - - add a way for a plugin to store/retrieve config values - - - - gaim-remote stuff - - GAIM-REMOTE: need a doc written up for gaim-remote on usage - - - GAIM-REMOTE: need to implement everything listed in gaim-remote --help - - - - i18n/portability stuff - - i18n: icq i18n - - - i18n: info dialog - - - sounds/Makefile needs to use host CC, not target (thats the only part that seems broken for cross-compiling --Disconnect) - Core stuff stack trace should exit instead of just sitting there - - documentation needed. (both online and not) - PERMIT ONLY PEOPLE ON MY LIST TO IM ME IS NEEDED ASAP!!!!!!!! @@ -326,8 +224,8 @@ netbsd gethostbyname() problem - - Cancelable proxy_connect + + documentation needed. (both online and not) remember previous state better. both away, and allow start to invisible. @@ -338,80 +236,26 @@ networking code rethink (libgnet?) + + Cancelable proxy_connect + GPG Encryption of messages (gaim-e plugin included with gaim would satify this) - - In General (i don't know where this should be) - - adding and removing buddies needs cleaned up. basically, add_buddy should be calling ui_add_buddy and serv_add_buddy as needed (require an extra arg to add_buddy to tell it what needs done) and the various ways a buddy can come to be needing added should be calling some type of request_add_buddy (this would be part of both the core<->ui interface and the core<->prpl interface) - - - importing blist files - - licq - - - - fix memory leaks - - - throw-away away message (unsaved) for single account (vrs set all away) - - - gzip storage of logs - - - person support - - - - Plugins/Scripts - - sean's plugin ideas - - screenshot plugin - - - xmms remote plugin - - - statusimage plugin - - - Core/UI split Separate core functions from UI stuff. - - about.c - - - away.c - - - browser.c - buddy.c - - conversation.c - - - convo.h - dialogs.c gtk* - - plugins.[hc] - prefs.c @@ -421,23 +265,29 @@ core.[ch] - - html.c - list.c - - module.c - multi.c - - proxy.[ch] + + away.c + + + conversation.c + + + convo.h - - perl.c + + plugins.[hc] + + + html.c + + + module.c prpl.h @@ -475,6 +325,18 @@ gaimrc.c - Need to figure out how to save UI preferences + + about.c + + + browser.c + + + proxy.[ch] + + + perl.c + Need to write the core side of the core-ui protocol @@ -489,8 +351,80 @@ Away needs to be modified to include "show" and "status", i.e. you can have an away state, and an away message. This is exactly what ICQ does - you're "N/A" (show in Jabber) and your away message is "I'm gone." (status in Jabber). Since it only applies to ICQ and Jabber (and actually, currently only Jabber, since icqlib doesn't handle away messages yet), there should be some way of indicating that it can do both without breaking the others. My suggestion is to put "/" at the end of the "state", and when that's there, have it be a menu with all of the custom messages, e.g. in Jabber it'd return "Away/" as one of the states, and you'd see "Away" with a menu of all the away messages you have. + + gtk1-stable + + with option to not report idle times set, gaim does not come back from auto-away. this is i most likely an issue for cvs also. + + + + WinGaim specific stuff + + wingaim: Gtk windows that appear when you hover over a button, and just stay there and never close until you click on them once + + + with 3 or more tabs, only the right most tab is closable. this appears to be a gtk for win32 problem + + + wingaim font issues + + + wingaim: sounds while away? + + + + gaim-remote stuff + + GAIM-REMOTE: need a doc written up for gaim-remote on usage + + + GAIM-REMOTE: need to implement everything listed in gaim-remote --help + + + + In General (i don't know where this should be) + + fix memory leaks + + + gzip storage of logs + + + throw-away away message (unsaved) for single account (vrs set all away) + + + person support + + + adding and removing buddies needs cleaned up. basically, add_buddy should be calling ui_add_buddy and serv_add_buddy as needed (require an extra arg to add_buddy to tell it what needs done) and the various ways a buddy can come to be needing added should be calling some type of request_add_buddy (this would be part of both the core<->ui interface and the core<->prpl interface) + + + importing blist files + + licq + + + + + Plugins/Scripts + + sean's plugin ideas + + screenshot plugin + + + xmms remote plugin + + + statusimage plugin + + + OSCAR + + watch for aol's upcoming increased aim/icq merge + AIM @@ -501,12 +435,12 @@ direct im + + some way to close direct connect w/out closing convo. + canceled direct im should still allow new attempt - - some way to close direct connect w/out closing convo. - failed direct im attempt should allow new attempt some way to cancel an attempt that isn't happening @@ -520,8 +454,32 @@ ICQ - - get info on offline user incorrectly says user is online. + + more privacy options + + + increased authorization support + + + color support + + + set status message and of course when gaim can set them, it needs to be able to get the ones it sets. (yes this is redundent. its a reflection of my current mood) + + + Chat (this is different from aim chat) + + + New User Registration + + + more info support + + + search for users + + + option to set alias to nick (for others, not self-alias) typing notification @@ -529,39 +487,12 @@ set the Nickname to be the self-alias - - Chat (this is different from aim chat) + + get info on offline user incorrectly says user is online. File Transfer (do we really want this?) - - New User Registration - - - color support - - - more privacy options - - - more info support - - - increased authorization support - - - set status message and of course when gaim can set them, it needs to be able to get the ones it sets. (yes this is redundent. its a reflection of my current mood) - - - search for users - - - option to set alias to nick (for others, not self-alias) - - - - watch for aol's upcoming increased aim/icq merge groups are read off server in a different order from winaim. this is a problem for people who use both and want thier list to be in a certain order. along the same lines, because we don't read in the same order i'd bet, we don't write to the server in a way that would cause winaim to produce the ordering gaim has. @@ -569,21 +500,21 @@ Y!M + + bug: won't allow me to delete myself from my list past sign on + + + privacy options (block, unblock) + + + offline messages get lost, esp. if more than 1 sent + new mail message with no info in it ie () - - web cam support - - - bug: won't allow me to delete myself from my list past sign on - Chat - - File Transfer (do we really want this?) - color @@ -602,21 +533,27 @@ auto reply on away - - privacy options (block, unblock) + + web cam support + + + File Transfer (do we really want this?) voice chat - - offline messages get lost, esp. if more than 1 sent - IRC gaim generates ~5 popups when it fails to sign on an irc server because the nick is already in use. + + fix segfault on attempted send after having been /remove'ed + + + no list of people on /join + Error 421, unknown command when going away. sometimes. (has to do with html in away messages?) @@ -629,36 +566,33 @@ CTCP version generates an autoreply when person is away or idle. the error box used vy it also binds the focus (like all other error popups). i'm not sure there is a way around this second issue. (fixed?) - - fix segfault on attempted send after having been /remove'ed - multi word remove messages - - auto reply to /msg on away - - - no list of people on /join - display target of +b and +q (done)? + + auto reply to /msg on away + MSN + + bug: some people recieve blank messages. clicking to ignore font faces font when the requested font isn't found. + + + bug: doesn't save blist to file on read from server as this could be introducing new people, esp if there is no existing file, it should + + + group support + spaces in friendly names not always unescaped for display, and so displaying as %20 (this may be fixed) - - bug: some people recieve blank messages. clicking to ignore font faces font when the requested font isn't found. - Majortool says to tell sean about "already in opposite list" errors are still happening, now whenever you start gaim. follow from prior conversation. javabsp|away: the (C) and (R) works (23:02:54) MajorTool: LSchiere: yeah what javabsp|away is talking about but its certain ones - - bug: doesn't save blist to file on read from server as this could be introducing new people, esp if there is no existing file, it should - store group name that buddy is in on server @@ -686,21 +620,18 @@ Need some way of indicating "invite" in IM window - - File Transfer (do we really want this?) - auto reply on away people search function. + + File Transfer (do we really want this?) + voice chat - - group support - Jabber @@ -713,12 +644,6 @@ make password change take effect w/out restart - - *sigh* file transfer (do we really need/want this?) - - - Jabber Transports (having them show up on the buddy list should be fairly easy; having an appropriate right-click menu for them should also be somewhat easy. Providing a UI for adding transports should be rather difficult.) - Browsing @@ -752,9 +677,6 @@ List of users on Jabber server? - - SSL support (priority 4 because its not really doable right now) - show idle time on blist @@ -770,6 +692,15 @@ join room 2x issues, maybe + + SSL support (priority 4 because its not really doable right now) + + + *sigh* file transfer (do we really need/want this?) + + + Jabber Transports (having them show up on the buddy list should be fairly easy; having an appropriate right-click menu for them should also be somewhat easy. Providing a UI for adding transports should be rather difficult.) + Gadu-Gadu @@ -782,26 +713,92 @@ Napster - - New User Registration - remove this protocol? + + New User Registration + File Transfer (do we really want this?) - - gtk1-stable - - with option to not report idle times set, gaim does not come back from auto-away. this is i most likely an issue for cvs also. - - Zephyr God help us. + + i18n/portability stuff + + sounds/Makefile needs to use host CC, not target (thats the only part that seems broken for cross-compiling --Disconnect) + + + i18n: icq i18n + + + i18n: info dialog + + + + DISCUSSION: entries here are things i'm not sure are desirable or doable. + + "console beep" sound option should use different frequency beeps for different events, or at least give some way to allow this behavior. + + + do we really need some of the preferences? (Ignore TIK messages. Does anyone use that method of retrieving Away messages anymore?) + + + ximian serial numbers in rpms cause... problems. + + + msn auth expires (better, but still not perfect) + + + gaim should detect if message is sent and only log on success for protocols capable of offline messaging, this would always log, but aim messages would only be logged if sent to an online person. this would essentially entail making logging dependent on the return status of the serv send msg command. + + + the privacy dialog has five different options now. this looks rather ugly. When we redesign the dialog, perhaps we should change the privacy setting to a combobox? + + + protocol action to log into webmail for those that support such (aim, yahoo, msn) maybe a r-click option to send to user(yahoo, msn) + + + show alias in list of people in chat + + + tab complete to alias, translate to nick on send for chat + + + timestamp on debug messages? + + + sorting of conversation tabs, if the ordering of left-to-right order by opening isn't good enough for you + + + option to disable close for x seconds after recieve im. this would short circuit missing messages as you close the window. make it an option that's off by default. + + + options on key bindings. (differnet window managers map different things. + + make the control key switchable with the alt key or similar) + + + maybe make control/alt+arrow optionally replace control+bracket + + + + make the option to have escape close a window be global (error messages, account editor, ect) + + + + autotools/gettext + + automake 1.4 support bug, non-root users can't get gaim to compile by putting the gtk2 and glib2 m4 files in the m4 dir + + + automake 1.[56] support not perfect. + + diff -r c25cf0495533 -r 32942c49dced src/conversation.c --- a/src/conversation.c Mon Nov 11 21:57:19 2002 +0000 +++ b/src/conversation.c Tue Nov 12 03:40:19 2002 +0000 @@ -2581,9 +2581,10 @@ c = g_list_nth_data(conversations, page_num); else c = g_list_nth_data(chats, page_num); + if (c && c->window && c->entry) - gtk_window_set_focus(GTK_WINDOW(c->window), c->entry); - + gtk_widget_grab_focus(c->entry); + label = c->tab_label; if (!label) @@ -2888,8 +2889,6 @@ g_object_set_data(G_OBJECT(c->entry_buffer), "user_data", c); entry = gtk_text_view_new_with_buffer(c->entry_buffer); c->entry = entry; - if (!(im_options & OPT_IM_ONE_WINDOW)) - gtk_window_set_focus(GTK_WINDOW(c->window), c->entry); gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(c->entry), GTK_WRAP_WORD); @@ -2995,13 +2994,15 @@ gtk_box_reorder_child(GTK_BOX(bbox), c->block, 2); gtk_box_reorder_child(GTK_BOX(bbox), c->add, 3); gtk_box_reorder_child(GTK_BOX(bbox), c->info, 4); - + update_buttons_by_protocol(c); - if (!(im_options & OPT_IM_ONE_WINDOW)) + gtk_widget_show(win); + + if (!(im_options & OPT_IM_ONE_WINDOW) + || gtk_notebook_get_current_page(GTK_NOTEBOOK(convo_notebook)) == 0) gtk_widget_grab_focus(c->entry); - gtk_widget_show(win); } @@ -3166,7 +3167,7 @@ m = m->next; } c = chats->data; - gtk_window_set_focus(GTK_WINDOW(c->window), c->entry); + gtk_widget_grab_focus(c->entry); } else { if (all_convos) gtk_widget_destroy(all_convos);