2006-06-11 Martyn Russell * Release 0.11.2. 2006-06-11 Richard Hult * src/gossip-avatar-image.c (avatar_image_button_release_event_cb) (avatar_image_button_press_event_cb): Return TRUE if we handle the event, so that dragging the image doesn't initiate notebook dnd. 2006-06-11 Martyn Russell * protocols/jabber/gossip-jabber-ft.c (jabber_ft_handle_error): Where we get "Could not find GossipFT* from id:'msg_11'", make this a debug warning instead of a g_warning. This occurs for any IQ error so it isn't really a warning. 2006-06-11 Martyn Russell * src/gossip-app.c: * ui/main.glade: Added a "Join New..." option to the group chat submenu in the main window. 2006-06-11 Martyn Russell * libgossip/gossip-protocol.h: * src/gossip-log.c: (gossip_log_message_for_chatroom): * src/gossip-new-chatroom-dialog.c: (new_chatroom_dialog_set_defaults): Fixed 2 memory leaks after putting gossip through valgrind. The filename to use when logging EVERY group chat message was leaking and so was the _get_default_server() pointer when setting up new chat rooms. 2006-06-11 Richard Hult * src/gossip-chat-view.c (chat_view_open_address): Make scheme-less links work again. 2006-06-10 Richard Hult * libgossip/gossip-event-manager.c (gossip_event_manager_activate) (gossip_event_manager_activate_by_id): Ref the event and issuer around the callback into "user" code, so that the data doesn't go away from under us. Fixes a crash when clicking a blinking contact in the contact list. * libgossip/gossip-chatroom-manager.c: (gossip_chatroom_manager_join_favourites), (chatroom_manager_file_save): * libgossip/gossip-chatroom.c: (gossip_chatroom_get_is_favourite): * libgossip/gossip-chatroom.h: * src/gossip-app.c: (app_chatroom_favourite_update): * src/gossip-chatrooms-window.c: (chatrooms_window_model_add), (chatrooms_window_chatroom_changed_foreach): * src/gossip-edit-chatroom-dialog.c: (gossip_edit_chatroom_dialog_show): (gossip_chatroom_get_is_favourite): - Rename from _get_favourite to follow g* style and make it more clear (probably needs doing for some other functions as well). - Only join favorites, not all chatrooms. 2006-06-10 Richard Hult * src/*.c: * protocols/jabber/*.c: * libgossip/*.c: (*_class_init, *_finalize): Make sure we chain up, and use the class pointer supplied by G_DEFINE_TYPE instead of defining our own. 2006-06-10 Richard Hult * src/gossip-contact-list.c (contact_list_setup_view): Set the ypad to 0, makes it somewhat less likely that the row height will be different when there is an avatar. * src/gossip-chat.c: (chat_finalize): * src/gossip-private-chat.c: (private_chat_finalize): Don't free private data added with g_type_class_add_private(). 2006-06-10 Martyn Russell * src/gossip-chat-window.c: Use the gconf path definition in the preferences header instead of a static string for the separate new window lookup. * src/gossip-presence-chooser.c: Change the left and right padding to 2 instead of 4, it looks better against the accounts toolbar now. * src/gossip-private-chat.[ch]: * ui/chat.glade: Added support for showing avatars in the chat window. I am not sure this is the best way yet, but it is a start and it can be turned off in the preferences. Also make sure we use g_type_class_add_private() instead of creating our own private memory, etc. 2006-06-10 Richard Hult * src/gossip-chat-view.c: (chat_view_finalize): Remove unused use_system_fonts stuff. * src/gossip-preferences.c: (preferences_themes_setup): Add commented out test theme. * src/gossip-theme-manager.c: (gossip_theme_manager_init), (theme_manager_finalize), (theme_manager_notify_func), (theme_manager_fixup_tag_table), (theme_manager_apply_theme_classic), (theme_manager_apply_theme_blue), (theme_manager_apply_theme), (gossip_theme_manager_apply): Refactor a bit in preparation for dynamic themes instead of just hard-coded ones. 2006-06-10 Richard Hult * ui/main.glade: Set mnemonic target for the theme combo, bug #344438. 2006-06-10 Richard Hult * src/gossip-chat-window.c: (gossip_chat_window_finalize), (chat_window_update_title), (chat_window_new_message_cb), (chat_window_urgency_timeout_func), (chat_window_set_urgency_hint): Remove the urgency hint after a timeout, to stop driving me crazy. Also try removing the "*" before the window title, since we have the icon and urgency hint now. 2006-06-10 Richard Hult * ui/file-transfer.glade: * ui/group-chat.glade: * ui/main.glade: Remove more periods from tooltip strings, tweak some strings. 2006-06-10 Richard Hult * ui/main.glade: Remove periods in tooltip strings, tweak some strings. 2006-06-09 Martyn Russell * gossip.schemas.in: * src/gossip-app.c: * src/gossip-contact-list.[ch]: * src/gossip-preferences.[ch]: * ui/main.glade: Make avatars a preference. 2006-06-09 Richard Hult * src/gossip-notify.c (notify_new_message): Strip leading/trailing whitespace from message before cutting of at the max len, and don't cut in the middle of multibyte characters. 2006-06-08 Martyn Russell * src/gossip-presence-chooser.c: (presence_chooser_clear_activate_cb): Use the stock GTK_STOCK_CANCEL instead of _("Cancel"). Naughty Richard! :) 2006-06-06 Mikael Hallendal * src/gossip-account-button.c: (account_button_update_tooltip): - Use the name of the account instead of the ID in the accounts toolbar tooltip. 2006-06-05 Martyn Russell * ui/main.glade: Updated some of the terminology used in the labels and rearranged the options a bit. 2006-06-04 Martyn Russell * gossip.schemas.in: Updated some of the gconf key locations, now sounds are not in a "sounds" parent of their own, they are in a "notifications" parent since we now have popup preferences too. * ui/main.glade: * src/gossip-notify.c: * src/gossip-preferences.[ch]: Reworked the preferences a bit so we have the gconf keys defined in ONE place instead of everywhere and added a preference to be able to disable the "Joe Bloggs has become available" notification. * src/gossip-app.c: * src/gossip-chat.c: * src/gossip-sound.c: * src/gossip-status-presets-dialog.h: * src/gossip-theme-manager.c: * src/gossip-vcard-dialog.c: Use the new defined gconf keys in gossip-preferences.h. 2006-06-04 Richard Hult * src/gossip-presence-chooser.c: (presence_chooser_clear_activate_cb): Ask for confirmation before clearing the list, fixes bug #331773. 2006-06-04 Richard Hult * src/gossip-presence-chooser.c: (gossip_presence_chooser_init): Don't unset CAN_FOCUS, make the button not take focus on click instead, makes keynav work again. (presence_chooser_menu_selection_done_cb), (presence_chooser_menu_destroy_cb), (presence_chooser_menu_popup), (presence_chooser_menu_popdown), (presence_chooser_toggled_cb): Rework how the popping up/down works by using the toggled signal instead of button press to we don't have to sync the toggling manually. (presence_chooser_state_and_status_new), (presence_chooser_get_presets), (presence_chooser_scroll_event_cb): Fix bug #343511, support scroll events in the presence chooser. 2006-06-04 Richard Hult * src/gossip-presence-chooser.c (gossip_presence_chooser_init): Don't unset CAN_FOCUS, but set focus_on_click to FALSE to get keynav working here. * libgossip/gossip-account-manager.c (account_manager_file_save): Plug leak. (gossip_account_manager_get_default): Plug leak. * src/gossip-chat-view.c (gossip_chat_view_find) (gossip_chat_view_highlight): Use the case insensitive search here, fixes bug #339679. * src/gossip-ui-utils.c: Add case insensitive text iter search from gtksourceview. * src/gossip-log.c (gossip_log_search_new): Ref the account, since it's unreffed when freed, fixes crash when searching more than once. 2006-06-03 Martyn Russell * libgossip/gossip-contact.c (gossip_contact_name_case_n_compare): Respect the size parameter. 2006-06-03 Martyn Russell * libgossip/gossip-event-manager.[ch]: Support activating an event by id not just the GObject. * libgossip/gossip-event.[ch]: Cleaned up and made event id a type instead of just a gint. * protocols/jabber/gossip-jabber.c: For the time being, _ALWAYS_ add contacts to the roster when sending subscribed (instead of just when they are a temporary contact) there were some cases where new contacts wouldn't show on the roster. * src/gossip-contact-list.c: * src/gossip-marshal.list: * src/gossip-subscription-dialog.c: Show a flashing question mark for subscription requests in the roster so we don't depend on the notification area for them, fixes #342928 (Martyn) 2006-06-03 Martyn Russell * configure.ac: Bumped version to 0.11.2. * protocols/jabber/gossip-jabber.c: * src/gossip-subscription-dialog.c: Removed debuging. 2006-06-03 Martyn Russell * protocols/jabber/gossip-jabber.c: (jabber_contact_add), (jabber_contact_remove): Revised (according to the XMPP spec for RFC 3921) the adding and removing of contacts, fixes #343375 (Jonatan Magnusson). * src/gossip-subscription-dialog.c: Silently accept subscription requests from contacts that are both on our roster and we have just asked for subscription from anyway, this halves the number of clicks to set up a new contact. * protocols/jabber/gossip-jabber-vcard.c (jabber_vcard_get_cb): Don't return _REMOVE_MESSAGE in loudmouth message handler callback for presence messages, since other things might need that information. 2006-06-03 Richard Hult * autogen.sh: * configure.ac: Apply patch from Przemyslaw Grzegorczyk to move to the LINGAUS method, bug #339285. 2006-06-03 Richard Hult * src/gossip-new-message-dialog.c (new_message_dialog_response): Rearrange to get down the indentation level a bit. 2006-06-02 Martyn Russell * libgossip/gossip-chatroom-manager.[ch]: Add a function to be able to join ALL favourite chatroooms. * libgossip/gossip-chatroom.[ch]: * libgossip/gossip-chatroom.dtd: * libgossip/libgossip-marshal.list: Added "favourite" property * src/gossip-app.c: Make it possible to join all favourites instead of going into the chat room window and selecting the rooms you want to join. * src/gossip-chatrooms-window.c: * src/gossip-edit-chatroom-dialog.c: * ui/group-chat.glade: * ui/main.glade: Updated to handle the new "favourite" property.