2006-05-29  Martyn Russell  <martyn@imendio.com>

	* Release 0.11.1.

2006-05-29  Martyn Russell  <martyn@imendio.com>

	* src/gossip-app.c:
	* src/gossip-presence-chooser.c: Sort out some small alignment
	issues and set the chooser to expand otherwise when the string is
	too wide we can't make use of the ellipsize feature, this really
	sucks that we can't do this - Richard and I spent a few days
	playing with different methods to do this to no avail :/

2006-05-29  Richard Hult  <richard@imendio.com>

	* src/gossip-chat-window.c: (chat_window_update_title),
	(chat_window_tabs_left_activate_cb),
	(chat_window_tabs_right_activate_cb), (chat_window_new_message_cb):
	Get the name to show from the chat, not the message to get nicks
	and group chat names to work nicer. Improves my previous changes
	here.

2006-05-27  Martyn Russell  <martyn@imendio.com>

	* src/gossip-presence-chooser.c: Use "button-press-event" instead
	of "clicked" so the mouse can be pressed and dragged onto the menu
	drop down. Also unset CAN_FOCUS so we don't get focus after
	clicking on the widget.

2006-05-27  Martyn Russell  <martyn@imendio.com>

	* src/gossip-account-button.[ch]: Use "selection-done" signal
	instead of "hide" and destroy the menu when done with it (not sure
	what was happening to it before? Leaking? Also removed the 1
	pixel gap between the button and the menu.
	
	* src/gossip-presence-chooser.[ch]: Don't use an entry, instead
	use a GtkToggleButton so we have a button effect instead of a flat
	widget with weird highlighting.

2006-05-26  Martyn Russell  <martyn@imendio.com>

	* src/gossip-app.c: (app_presence_chooser_changed_cb): Only update
	our presence once instead of twice.
	
2006-05-26  Richard Hult  <richard@imendio.com>

	* src/gossip-private-chat.c (gossip_private_chat_append_message):
	Check the resource for NULL before using it.

	* src/gossip-chat-view.c (chat_view_system_font_update): Check the
	value we get from gconf before using it.

2006-05-26  Martyn Russell  <martyn@imendio.com>

	* libgossip/gossip-presence.[ch]:
	* src/gossip-app.c:
	* src/gossip-presence-chooser.[ch]: 
	* src/gossip-ui-utils.c:
	* ui/main.glade: Updated the presence chooser to be better looking
	and more flexible, might need a little work in some places.

2006-05-26  Martyn Russell  <martyn@imendio.com>

	* gossip.schemas.in:
	* src/Makefile.am:
	* src/gossip-app.c:
	* src/gossip-chat.c:
	* src/gossip-geometry.[ch]: Added a geometry module to deal with
	chat window and main window geometry collectively in one method.
	
2006-05-26  Martyn Russell  <martyn@imendio.com>

	* gossip.schemas.in:
	* src/gossip-chat-view.c:
	* src/gossip-preferences.c: Fixed widget sensitivity
	issue. Removed the preference to use the system font, just do it
	:) 

2006-05-26  Martyn Russell  <martyn@imendio.com>

	* libgossip/gossip-session.c: (gossip_session_get_groups):
	* src/gossip-add-contact-window.c: (add_contact_window_2_prepare):
	* src/gossip-edit-groups-dialog.c: (edit_groups_add_groups):
	* src/gossip-subscription-dialog.c:
	(subscription_dialog_setup_groups): Do not show duplicate groups
	in add contact assistant, usually from multiple accounts, fixes
	#339835 (Keywan Najafi Tonekaboni).
	
2006-05-26  Martyn Russell  <martyn@imendio.com>

	* protocols/jabber/gossip-jabber.c: Turned debugging off.
	
	* src/gossip-chat-view.c: Make sure we update in real time the
	font used from changes to the system font and the preference to
	use the system font.

	* gossip.schemas.in:
	* src/gossip-preferences.c:
	* ui/main.glade: Rearranged the preferences and added a "Use
	System Font" option, fixes #335471 (initial patch by Wouter
	Bolsterlee).

2006-05-26  Martyn Russell  <martyn@imendio.com>

	* protocols/jabber/gossip-jabber.c (jabber_contact_add): Escape
	the group, name and message used in subscriptions to make sure we
	are not disconnected when using special characters, fixes #342927,
	unfortunately there is no way to unescape the markup with glib
	which means the groups/contacts with special characters have
	"amp;" and "apos;" in their names. This is something Loudmouth
	should really handle.

	* src/gossip-app.c:
	* src/gossip-vcard-dialog.c: Don't use gtk_dialog_run() since
	async programming is always better practise.

	* src/gossip-subscription-dialog.c:
	* src/gossip-ft-window.c: Make sure we free GArray's created when
	using the gossip_regex_match().

2006-05-26  Martyn Russell  <martyn@imendio.com>

	* libgossip/gossip-chatroom-manager.[ch]:
	* src/gossip-log.c: 
	* src/gossip-new-chatroom-dialog.c: Make sure we can add chatrooms
	which might also exist on other Jabber accounts, fixes #337184
	(Keywan Najafi Tonekaboni). 

2006-05-26  Martyn Russell  <martyn@imendio.com>

	* protocols/jabber/gossip-jabber-vcard.c: 
	* protocols/jabber/gossip-jabber.c: Make sure we advertise
	our presence after we retrieve our vcard on log in. Set the image
	type to "image/png" instead of "image/jpeg".

	* src/gossip-image-chooser.[ch]: 
	* src/gossip-vcard-dialog.c: Move the stock image "stock_person"
	into the image chooser and use gtk_image_set_from_icon_name()
	instead of obtaining it from the theme manually.
	
2006-05-26  Richard Hult  <richard@imendio.com>

	Update my status from party hacker to real hacker:

	* protocols/jabber/gossip-jabber.c: (jabber_get_active_resource),
	(jabber_message_handler): Correctly set the resource on incoming
	messages and implement getting the active resource. Fixes bugs
	#339652 and #127385.

2006-05-26  Richard Hult  <richard@imendio.com>

	* src/gossip-chat-window.c: (chat_window_update_title): Add
	message argument and use it to set the title to the sender. Update all callers.
	* src/gossip-private-chat.c: (private_chat_update_locked_resource),
	(private_chat_send): Only set non-away mode if we actually send a
	message.

2006-05-26  Richard Hult  <richard@imendio.com>

	* gossip.schemas.in:
	* src/gossip-vcard-dialog.c: (vcard_dialog_avatar_clicked_cb):
	Save the last used directory and use it the next time.

2006-05-25  Martyn Russell  <martyn@imendio.com>

	* src/gossip-app.c: Save and load accels so users can save their
	shortcuts, fixes #326206 patch by Caio Marcelo.

	* src/gossip-app.c: Added some startup debugging and made the
	GossipAppPriv a private member of the GossipApp GOBject instead of
	making it public in the header file.

	* libgossip/*.c:
	* protocols/jabber/*.c: 
	* src/*.c: Use g_mkdir_with_parents() everywhere.
	
2006-05-25  Richard Hult  <richard@imendio.com>

	* src/gossip-vcard-dialog.c: (vcard_dialog_avatar_clicked_cb),
	(vcard_dialog_scale_down_to_width),
	(vcard_dialog_avatar_update_preview_cb): Set the size again on the
	preview image and scale it down if necessary. Stops the preview
	from changing the size of the dialog.

2006-05-25  Richard Hult  <richard@imendio.com>

	* src/gossip-avatar-image.c: (gossip_avatar_image_init),
	(avatar_image_finalize) (avatar_image_scale_down_if_necessary),
	(avatar_image_button_press_event_cb),
	(gossip_avatar_image_set_pixbuf): Only show tooltip if the image
	is scaled down, keep aspect ratio when scaling. Add a frame to the
	popup.
	
2006-05-25  Martyn Russell  <martyn@imendio.com>

	* protocols/jabber/gossip-jabber-vcard.c: Turned off debugging.
	
	* src/gossip-vcard-dialog.c: Don't resize the preview
	image for the file chooser when setting avatars, images were only
	1/2 shown in some cases.

2006-05-24  Martyn Russell  <martyn@imendio.com>

	* libgossip/gossip-utils.[ch]: Added gossip_base64_encode().
	
	* protocols/jabber/gossip-jabber-vcard.[ch]:
	* protocols/jabber/gossip-jabber.[ch]: Make it possible to set
	avatars and fix some other bugs from the recently added code to
	retrieve avatars. 

	* src/Makefile.am:
	* src/gossip-image-chooser.[ch]: Added to display the users avatar
	and make it possible to select the file you want to use. This also
	has support for dragging and dropping files onto the widget (based
	on Novell's e-image-chooser.[ch] but rewritten).
	
	* ui/main.glade:
	* src/gossip-vcard-dialog.c: Added the GossipImageChooser so users
	can set their avatars, patch by Eitan Isaacson. 

2006-05-20  Richard Hult  <richard@imendio.com>

	* configure.ac: Fix non-working check for gcrypt.

2006-05-20  Martyn Russell  <martyn@imendio.com>

	* src/gossip-contact-info-dialog.c:
	* ui/main.glade: Fixed some issues with the "Personal" information
	group being visible with no child widgets shown. 

2006-05-20  Martyn Russell  <martyn@imendio.com>

	* src/gossip-chat-window.c: (gossip_chat_window_add_chat): If
	the x, y, w, h geomtry is < 1 use the window manager and glade
	defaults for positioning and size, fixes #342246 (Paul Van
	Tilburg). 

2006-05-20  Martyn Russell  <martyn@imendio.com>

	* src/gossip-ui-utils.c: (gossip_pixbuf_avatar_from_vcard),
	(gossip_pixbuf_avatar_from_contact), (pixbuf_from_avatar_scaled):
	Cleaned up some gsize warnings, based on a patch from Eitan
	Isaacson. 

2006-05-20  Martyn Russell  <martyn@imendio.com>

	* protocols/jabber/gossip-jabber.c: Force avatar/VCard update for
	contacts that come online because some clients don't support
	JEP-0153 with the xml tags to tell us if they have an avatar or if
	it has been updated. This means now that the roster will ALWAYS
	show the avatars on the roster window.
	
	* src/gossip-avatar-image.c (gossip_avatar_image_init): Added a
	tooltip to let people know they can click on the image to enlarge
	it.

2006-05-17  Richard Hult  <richard@imendio.com>

	* protocols/jabber/gossip-jabber-chatrooms.c:
	(jabber_chatrooms_message_handler): Don't use the room if it's not
	found, fixes critical warnings.
	* protocols/jabber/gossip-jabber.c:
	(jabber_contact_is_avatar_latest): Check the node's value before
	using it, fixes critical warnings.

	* src/Makefile.am:
	* src/gossip-avatar-image.[ch]: New widget for showing the avatar.
	
	* src/gossip-contact-info-dialog.c:
	(contact_info_dialog_get_vcard_cb): Don't scale the avatar, get
	the full scaled image and handle scaling in the avatar widget.
	(gossip_contact_info_dialog_show): Set up the avatar widget.

	* ui/main.glade: Remove the image and name the box so we can get
	at it and add the image from code instead.

2006-05-16  Richard Hult  <richard@imendio.com>

	* libgossip/gossip-vcard.c: Add PROP_0 so we don't start at 0,
	fixes critical warning.

2006-05-16  Martyn Russell  <martyn@imendio.com>

	* configure.ac:
	* libgossip/gossip-contact.[ch]:
	* libgossip/gossip-utils.[ch]:
	* libgossip/gossip-vcard.[ch]:
	* protocols/jabber/gossip-jabber-vcard.[ch]:
	* protocols/jabber/gossip-jabber.c: 
	* src/gossip-contact-info-dialog.c:
	* src/gossip-contact-list.c:
	* src/gossip-main.c:
	* src/gossip-ui-utils.[ch]:
	* ui/main.glade: Added avatar support. Patch by Eitan Isaacson,
	fixes #141854 (Mikael Hallendal). Some more work is needed to
	toggle the contact list avatar in the preferences. Also, I
	reworked the contact information dialog a little to make this look
	a bit better.

2006-05-14  Martyn Russell  <martyn@imendio.com>

	* src/gossip-app.c: Make Escape toggle the visibility instead of
	explicity set it and show the main window if there is no
	notification area disabling any further method to hide the main
	window, fixes #338054 (Kristian Rietveld, patch by Caio Marcelo)
	and #132632 (Frederic Crozat).

2006-05-14  Martyn Russell  <martyn@imendio.com>

	* src/gossip-chat-window.c: Use the old method of showing an 'x'
	on the right hand side of a tab, but ONLY when the pointer enters
	the window.

2006-05-14  Martyn Russell  <martyn@imendio.com>

	* src/gossip-chat-window.c: 
	* src/gossip-chat.[ch]: 
	* src/gossip-group-chat.c:
	* src/gossip-private-chat.c: Save the geometry of chat windows and
	remember it based on the contact ID, fixes #141855 (Mikael Hallendal).

2006-05-04  Richard Hult  <richard@imendio.com>

	* libgossip/gossip-presence.c: (presence_get_default_status),
	(gossip_presence_get_status): Don't try to translate macros, use
	the real strings. Fixes the non-translated status strings.

2006-05-03  Richard Hult  <richard@imendio.com>

	* src/eggtrayicon.c: Apply the transparency patch from bug
	#150726.