2009-02-27 Jordi Mallach * NEWS: Updated for 0.11.2. * Makefile.am, configure.ac: Stop generating a .lsm file for ibiblio. * gnome-mud.lsm.in: Removed. * configure.ac: Release gnome-mud 0.11.2. 2009-02-27 Les Harris * src/mud-telnet-mccp.c (mud_mccp_decompress): Replaced character iteration with g_string_append_len. * ui/prefs.glade: Set the left treeview to no expand so the ui on the right expands properly. 2009-02-27 Les Harris * gnome-mud.schemas.in: Pruned unused keys from schema. * plugins/Makefile.am: * plugins/automapper/Makefile: * plugins/automapper/directions.h: * plugins/automapper/map-link.c: * plugins/automapper/map.c: * plugins/automapper/map.h: Removed old automapper. * src/gconf-helper.c (gm_gconf_load_preferences): * src/mud-profile.c (mud_profile_finalize), (mud_profile_copy_preferences), (mud_profile_gconf_changed): Removed code that accessed unused keys. * src/mud-window.c (mud_window_init): Removed Quick Connect. * ui/Makefile.am: Removed connect.glade. * ui/connect.glade: Removed file. * ui/main.glade: Removed quick connect from menu. * ui/muds.glade: Added space between port spinbutton and connect button. 2009-02-27 Les Harris * ui/muds.glade: Put the custom connect ui into a GtkExpander. 2009-02-27 Les Harris * src/mud-preferences-window.c (mud_preferences_window_fill_profiles): Preference window now auto selects the default functionality pane on opening. 2009-02-27 Les Harris * src/gconf-helper.c (gm_gconf_load_preferences): Formatting, closed leak. * src/gnome-mud.c (main): Create .gnome-mud dir. * src/modules.c: Closed leak. * src/mud-connection-view.c (mud_connection_view_new), (mud_connection_view_http_cb): Allocate the mud name into the view. * src/mud-parse-trigger.c (mud_parse_trigger_init): Formatting fixes. * src/mud-profile.c: Closed memory leaks, formatting changes. * src/mud-telnet-msp.c (mud_telnet_msp_parse), (mud_telnet_msp_get_files): Completely disabled T parameter, formatting. * src/mud-telnet.c (mud_telnet_process): Closed memory leak. * src/mud-window.[ch] (mud_window_textview_keypress), (mud_window_about_cb), (mud_window_finalize), (mud_window_new): Added missing comma, removed use of a gconf client stored in private. * ui/muds.glade: Marked untranslatable string as such. 2009-02-27 Jordi Mallach * src/mud-window.c mud_window_about_cb): Add Les Harris to the about dialog Copyright credits, and Mart Raudsepp to author credits. 2009-02-24 Les Harris * src/mud-connections.c (mud_connections_init), (mud_connections_finalize), (mud_connections_qconnect_cb), (mud_connections_delete_cb), (mud_connections_properties_cb): Closed some memory leaks. Now deletes characters properly without deleting the entire mud. Added quick connect. * src/mud-telnet-msp.c (mud_telnet_msp_parse), (mud_telnet_msp_get_files): Disabled Zone in filepath for now since all MSP muds seems to ignore the standard. * src/mud-telnet.h: Increased subreq buffer to 2k * ui/muds.glade: Added quickconnect ui. 2009-02-24 Les Harris * src/mud_connection_view.c (mud_connection_view_reconnect), (mud_connection_view_send), (mud_connection_view_new), (mud_connection_view_queue_download): GConfClient Leak Fix * src/mud-preferences-window.c (mud_preferences_window_trigger_select_cb), (mud_preferences_window_alias_select_cb), (mud_preferences_window_trigger_enabled_toggle_cb), (mud_preferences_window_trigger_gag_toggle_cb), (mud_preferences_window_alias_enabled_toggle_cb), (mud_preferences_window_trigger_del_cb), (mud_preferences_window_alias_del_cb), (mud_preferences_window_trigger_ok_cb), (mud_preferences_window_alias_ok_cb), (mud_preferences_window_populate_trigger_treeview), (mud_preferences_window_populate_alias_treeview), (mud_preferences_window_update_proxy_combo): Formatting, Gconf Client Leak Fix * src/mud-profile.c (mud_profile_finalize), (mud_profile_delete), (mud_profile_new), (mud_profile_gconf_changed): Formatting, GconfClient Leak Fix * src/mud-telnet-handlers.c (MudHandler_ZMP_HandleSubNeg): GString fix. * src/mud-window.c (mud_window_finalize): GConfClient Leak Fix 2009-02-22 Les Harris * src/mud-connection-view.c (mud_connection_view_finalize), (mud_connection_view_disconnect), (mud_connection_view_reconnect), (mud_connection_view_network_event_cb): Closed memory leaks. * src/mud-log.c (mud_log_finalize), (mud_log_write), (mud_log_new): Log no longer erroneously reports write failures. GString fixes. Closed memory leaks. * src/mud-parse-alias.c (mud_parse_alias_finalize), (mud_parse_alias_do), (mud_parse_alias_new): Closed memory leaks. * src/mud-parse-base.c (mud_parse_base_finalize), (mud_parse_base_parse): Closed memory leaks. * src/mud-parse-trigger.c (mud_parse_trigger_do), (mud_parse_trigger_new): Closed memory leaks. * src/mud-regex.c (mud_regex_finalize): Free substring array if it exists. * src/mud-telnet-handlers.c (MudHandler_CHARSET_HandleSubNeg), (MudHandler_ZMP_HandleSubNeg): GString fixes * src/mud-telnet-msp.[ch]: Added function to allow sound to be stopped externally of a MSP command. * src/mud-telnet.[ch] (mud_telnet_init), (mud_telnet_finalize), (mud_telnet_new): Close memory leaks, stop playing sound on finalization of the class. * src/utils.c (remove_whitespace), (strip_ansi): GString fixes. 2009-02-21 Les Harris * src/mud-telnet.c (mud_telnet_process): Set subreq_position on TEL_SB state change again. * src/mud-window.c (mud_window_reconnect_cb): Now sets the Start Log menuitem sensitive. 2009-02-21 Les Harris * src/mud-connection-view.[ch] (mud_connection_view_add_text), (mud_connection_view_islogging), (mud_connection_view_network_event_cb), (mud_connection_view_is_connected): Fixed a possible double free, added more runtime checks to islogging. Now notifies the mud-window when the server has broken connection for ui update. Added new function which allows other classes to query for connection status. * src/mud-connections.c (mud_connections_populate_iconview), (mud_connections_property_cancel_cb), (mud_connections_show_icon_dialog), (mud_connections_icon_fileset_cb): Formatting cleanups. The icon picker dialog will no longer attempt to add a NULL icon to it's view. * src/mud-telnet-mccp.c (mud_mccp_decompress): * src/mud-telnet-msp.c (mud_telnet_msp_parse), (mud_telnet_msp_parser_args), (mud_telnet_msp_get_files): Now assigns the return value of all GString functions to the string being changed as per the documentation. * src/mud-telnet.c (mud_telnet_new), (mud_telnet_process), (mud_telnet_get_telnet_string), (mud_telnet_get_telopt_string): GString fixes. Fixed a bug that broke ZMP parsing while MCCP is enabled. * src/mud-tray.c (mud_tray_popup_menu_cb): Changed deprecated gtk_signal_connect to g_signal_connect. * src/mud-window.[ch] (mud_window_add_connection_view), (mud_window_disconnect_cb), (mud_window_reconnect_cb), (mud_window_disconnected), (mud_window_notebook_page_change), (mud_window_size_request), (mud_window_init): The ui will now update to better reflect the available options when a mud is either connected or disconnected. Added function to enable the view to notify the window upon non-user disconnection. * ui/main.glade: Close Window now has a stock icon. * ui/muds.glade: Proposed Quick Connect merge added. * ui/prefs.glade: 'Ok' changed to 'Save' in Alias/Trigger panes. 2009-02-20 Les Harris * src/mud-connection-view.c (mud_connection_view_add_text): Color will now be properly reset if there is a conversion error in add_text. 2009-02-20 Les Harris * src/mud-profile.c (mud_profile_copy_preferences): Fixed copying the foreground color to the background. 2009-02-20 Les Harris * src/mud-connection-view.c (mud_connection_view_add_text), (mud_connection_view_send): Workaround for a g_convert() problem where it doesn't return NULL when there is a conversion error. 2009-02-20 Les Harris * src/mud-connection-view.c (mud_connection_view_send): Check for null before freeing conv_text. 2009-02-20 Les Harris * src/mud-connection-view.c (mud_connection_view_send): Send UTF-8 input if conversion to terminal codeset fails. 2009-02-20 Les Harris * src/mud-connection-view.c (mud_connection_view_send): Pass the correct string length to gnet_conn_write after conversion. 2009-02-20 Les Harris * src/mud-connection-view.c (mud_connection_view_send): Now convert user input to terminal encoding. 2009-02-17 Les Harris * src/mud-connection-view.c (mud_connection_view_add_text): Removed a useless buffer, removed logging. 2009-02-17 Les Harris * src/mud-connection-view.c (mud_connection_view_add_text): * src/mud-window.c (mud_window_textview_keypress): Consolidated encoding conversion into a single place. 2009-02-17 Les Harris * src/mud-connection-view.c (mud_connection_view_add_text): All gnome-mud messages sent to the terminal are now encoded to the encoding of the terminal. 2009-02-17 Les Harris * src/mud-telnet-msp.c (mud_telnet_msp_process_command): Fixed formatting. * src/mud-window.c (mud_window_textview_keypress): We now convert user input from the current locale into the encoding specified in the preferences. 2009-02-17 Les Harris * src/mud-connection-view.c (mud_connection_view_network_event_cb): The server disconnecting the user now behaves in the same way as the user disconnecting itself. 2009-02-16 Les Harris * configure.ac, plugins/Makefile.am: Removed obsolete plugin from autofoo. 2009-02-16 Les Harris * plugins/python/*: Removed obsolete plugin. 2009-02-16 Les Harris * src/mud-window.c (mud_window_remove_connection_view): GnomeMud picture will now be the correct size when the last view is closed. 2009-02-16 Les Harris * src/mud-connection-view.c (mud_connection_view_send_naws): Will no longer try to send NAWS when unconnected. * src/mud-window.c (mud_window_size_request): Now properly notifies each view of size change. 2009-02-16 Les Harris * src/mud-connection-view.c (mud_connection_view_disconnect), (mud_connection_view_reconnect), (mud_connection_view_send), (mud_connection_view_new): Disconnect and Reconnect now completely tear down the connection. Reconnect will then instantiate a new connection. Fixed a leak on instantiation where we weren't freeing gconf returned strings. * src/mud-telnet.[ch] (mud_telnet_init), (mud_telnet_finalize): Make sure we properly free all allocated buffers on finalization. Moved prev_buffer references into ENABLE_GST blocks as it is only used when MSP is enabled. 2009-02-16 Les Harris * src/mud-connection-view.c (mud_connection_view_disconnect), (mud_connection_view_reconnect): Fixed an issue where the connection could get into an inconsistant state. * src/mud-telnet.c (mud_telnet_process): Check if buffer exists before creating a new buffer. 2009-02-16 Les Harris * src/mud-connection-view.c (mud_connection_view_reconnect): Added newline to reconnect. * src/mud-window.c (mud_window_init): Toolbar connect button now opens main connection window. 2009-02-16 Les Harris * ui/muds.glade: Changed the default port entry value to 23. 2009-02-16 Les Harris * src/mud-connections.c (mud_connections_connect_cb): Connections window will now close upon mud connection. 2009-02-16 Les Harris * src/mud-connection-view.c (mud_connection_view_reconnect): No longer free processed buffer in reconnect. * src/mud-telnet-handlers.c: * src/mud-telnet-msp.c (mud_telnet_msp_parse): Removed logging. 2009-02-16 Les Harris * src/mud-connection-view.c (mud_connection_view_disconnect): Removed the free of the processed buffer in disconnect since it is already freed by that point with the previous changes. 2009-02-16 Les Harris * src/Makefile.am: Removed GMUD_DEBUG variable. The configure script should add the debug flags. * src/mud-connection-view.c (mud_connection_view_network_event_cb): No longer relies on called functions to free the processed buffer. * src/mud-connections.c (mud_connections_populate_iconview): Closed a memory leak where two GSLists were not freed. * src/mud-telnet-handlers.c: Added some debug info. * src/mud-telnet-msp.c (mud_telnet_msp_parse): Now properly frees it's buffer. * src/mud-telnet.[ch] (mud_telnet_process): Simplified how the function returns it's processed buffer. Fixed a corner case where MCCP data would try to decompress twice.