2004-04-27 Christian Persch * src/ephy-window.c: (ephy_window_delete_event_cb): Exit print preview mode before closing a window. Fixes a crasher; Epiphany equivalent of galeon bug #121298. 2004-04-26 Christian Persch * NEWS: * configure.in: Version 1.2.4. 2004-04-26 Christian Persch * embed/mozilla/MozDownload.cpp: Fix encoding of saved and downloaded content; fixes bug 141050. 2004-04-25 Christian Persch * src/ephy-notebook.c: (build_tab_label): Set the close button as data on the tab label. 2004-04-22 Christian Persch * HACKING: Document UTF-8 requirement. * lib/widgets/ephy-cell-renderer-progress.c: * lib/widgets/ephy-cell-renderer-progress.h: * src/bookmarks/ephy-bookmarks-menu.h: * ChangeLog: Converted to UTF-8. 2004-04-18 Christian Persch * lib/ephy-dialog.c: (set_value_from_editable), (set_value_from_combobox), (set_value_from_radiobuttongroup), (set_value_from_spin_button), (set_value_from_togglebutton), (set_value_from_info), (set_combo_box_from_value), (set_pref_from_info_and_emit), (save_info), (ephy_dialog_get_value): * lib/ephy-dialog.h: * src/prefs-dialog.c: (setup_font_combo): Fix font selection combo box issues; fixes bug #138560. 2004-04-18 Christian Persch * configure.in: Post-release version bump. 2004-04-18 Christian Persch * NEWS: Updated for 1.2.3. 2004-04-18 Christian Persch * Makefile.am: * configure.in: Add 1.7 to the list of supported mozilla versions. 2004-04-08 Piers Cornwell * embed/mozilla/ContentHandler.cpp: Make warning message selectable (backported from HEAD). 2004-04-18 Christian Persch * configure.in: * po/eu.po: Add "eu" to ALL_LINGUAS. 2004-04-18 Christian Persch * configure.in: Version 1.2.3. Default to not to build the nautilus view. 2004-04-18 Marco Pesenti Gritti * embed/ephy-embed.c: (ephy_embed_chrome_get_type): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-window.c: (ephy_window_set_chrome), (ephy_window_set_property), (ephy_window_class_init): Fix chrome for new windows opened from _blank target. Fixes bug #139512. 2004-04-18 Christian Persch * embed/mozilla/EphyContentPolicy.h: * embed/mozilla/MozRegisterComponents.cpp: Don't override nsWebBrowserContentPolicy contract ID, just register our own content policy with the category manager. 2004-04-18 Christian Persch * embed/mozilla/MozDownload.cpp: Don't gunzip downloads (backported from HEAD), fixes bug #131778. 2004-04-16 Christian Persch * embed/mozilla/MozDownload.cpp: Fix saving of linked content. Don't create the directory; mozilla will do it for us if necessary. 2004-04-13 Christian Persch * embed/mozilla/Makefile.am: Add $(MOZILLA_INCLUDE_ROOT) to the list. 2004-04-13 Christian Persch * src/bookmarks/ephy-bookmarks-menu.c: (add_bookmarks_menu), (ephy_bookmarks_menu_rebuild): * src/ephy-encoding-menu.c: (add_action): * src/ephy-favorites-menu.c: (ephy_favorites_menu_rebuild): * src/ephy-tabs-menu.c: (tab_added_cb): Set the actions' accel paths; fixes bug #139641 for ephy. 2004-04-09 Christian Persch * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/FilePicker.cpp: Don't quit the filechooser when selecting "No" from the confirm- overwrite dialoge. Fixes bug #139400. * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): Convert the filename to UTF-8 before showing it in the confirm dialogue. 2004-04-09 Christian Persch * src/ephy-location-action.c: (compare_actions), (init_actions_list): Sort the actions in the location entry autocompletion dropdown. Fixes bug #139575. 2004-04-07 Christian Persch * lib/eel-gconf-extensions.c: (eel_gconf_handle_error): Don't abort on error, just show the message on console. Fixes bug #139247. Don't actally remove the nonsensical message since that would break string freeze. 2004-04-05 Christian Persch * data/glade/epiphany.glade: * data/glade/print.glade: Make pdm and print setup dialogues destroy with parent, too. 2004-04-05 Christian Persch * data/glade/prefs-dialog.glade: * lib/ephy-dialog.c: (ephy_dialog_get_parent): * lib/ephy-dialog.h: * src/prefs-dialog.c: (prefs_homepage_current_button_clicked_cb): * src/window-commands.c: (window_cmd_file_print_setup), (window_cmd_edit_personal_data), (window_cmd_edit_prefs): Make prefs, pdm and print setup dialogues transient to their parent. Fixes bug #139124. 2004-04-03 Crispin Flowerday * lib/egg/egg-editable-toolbar.c: (set_fixed_style), (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed), (update_fixed), (toolbars_clean), (egg_editable_toolbar_construct), (egg_editable_toolbar_set_model): * lib/egg/egg-toolbar-editor.c: (egg_toolbar_editor_load_actions): * lib/egg/egg-toolbars-model.h: Synchronise changes from galeon, this fixes simple usage, stops crashes when dragging items to and from other applications, and adds the ability to override the toolbar style. 2004-04-03 Christian Persch * src/ephy-notebook.c: (notebook_drag_data_received_cb): Remove stray semicolon. Fixes bug #138902. 2004-04-01 Christian Persch * embed/ephy-embed.c: (ephy_embed_chrome_get_type): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-window.c: (get_chromes_visibility), (sync_chromes_visibility), (update_chromes_actions), (get_default_chrome), (ephy_window_init), (sync_prefs_with_chrome), (ephy_window_view_bookmarksbar_cb): Fix bookmarks toolbar visibility in fullscreen and print preview mode, as well as for javascript popups. Fixes bug #138520. 2004-03-30 Piers Cornwell * src/ephy-history-window.c: (confirmation_dialog_construct): Make buttons the same size in Industrial theme and make text selectable. 2004-03-30 Piers Cornwell * data/glade/prefs-dialog.glade: * embed/mozilla/mozilla-notifiers.cpp: (mozilla_font_size_notifier): Don't allow a font size less than 1. 2004-03-31 Christian Persch * configure.in: Fix the --with-mozilla-snapshot help string to list all supported mozilla versions, and only them. 2004-03-29 Christian Persch * src/ephy-completion-model.h: Change EphyCompletionColumn to a typedef enum, fixes bug #136878. 2004-03-29 Federico Mena Quintero Fixes #138263. * lib/ephy-file-chooser.h: Remove EPHY_RESPONSE_OPEN and EPHY_RESPONSE_SAVE; we'll use GTK_RESPONSE_ACCEPT instead. * lib/ephy-file-chooser.c (ephy_file_chooser_new): Use GTK_RESPONSE_ACCEPT rather than EPHY_RESPONSE_*. * embed/print-dialog.c (print_filechooser_response_cb): Likewise. * src/bookmarks/ephy-bookmarks-editor.c (import_from_file_response_cb): Likewise. * src/prefs-dialog.c (download_path_response_cb): Likewise. * src/window-commands.c (open_response_cb): Likewise. * embed/mozilla/ContentHandler.cpp (PromptForSaveToFile): Likewise. * embed/mozilla/EphyHeaderSniffer.cpp (filechooser_response_cb): Likewise. * embed/mozilla/FilePicker.cpp (Init): Likewise. (Show): Likewise. 2004-03-29 Christian Persch * src/epiphany.in: Change test to use -d, fixes bug #138088. 2004-03-29 Christian Persch * data/ui/epiphany-ui.xml: Merge fix for bug #138207 from HEAD. 2004-03-29 Christian Persch * configure.in: Post-release version bump. 2004-03-29 Christian Persch * embed/mozilla/EventContext.cpp: Don't assume every anchor has a href attribute. Fixes bug #138200. 2004-03-29 Christian Persch * src/bookmarks/ephy-bookmarks-editor.c: (cmd_open_bookmarks_in_tabs): Fix opening in new tabs when there is no existing window. Fixes bug #138343. 2004-03-23 Christian Persch * src/ephy-go-action.c: (connect_proxy), (disconnect_proxy), (ephy_go_action_class_init): Make the "Go" button actually work. Thanks to aes for alerting us to this problem. 2004-03-23 Guntupalli Karunakar * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS. 2004-03-21 Christian Persch * data/glade/prefs-dialog.glade: Fix "Add" button width in the prefs dialogue for some themes. Fixes bug #137811. 2004-03-21 Christian Persch * src/window-commands.c: (window_cmd_help_about): Set window icon. Fixes bug #137806. 2004-03-20 Guntupalli Karunakar * configure.in: Added "pa" (Punjabi) to ALL_LINGUAS. 2004-03-16 Marco Pesenti Gritti * embed/ephy-embed.c: (ephy_embed_chrome_get_type): * embed/ephy-embed.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed.cpp: Cleanups chromes code and register a type for the enum. * src/ephy-nautilus-view.c: (gnv_embed_new_window_cb): Adapt to the api changes * src/ephy-tab.c: (ephy_tab_new_window_cb): Move js chrome lockdown pref check here. * src/ephy-window.c: (get_chromes_visibility), (sync_chromes_visibility), (ephy_window_fullscreen), (ephy_window_unfullscreen), (update_chromes_actions), (update_actions_sensitivity), (show_embed_popup), (get_default_chrome), (ephy_window_set_property), (ephy_window_class_init), (actions_notifier), (navigation_notifier), (ephy_window_init), (ephy_window_finalize), (ephy_window_new_with_chrome), (ephy_window_set_print_preview), (ephy_window_show), (sync_prefs_with_chrome), (sync_chrome_with_view_toggle), (ephy_window_view_statusbar_cb), (ephy_window_view_toolbar_cb), (ephy_window_view_bookmarksbar_cb): Rework chrome handling so that it's not applied to all windows. Changes are now saved on the fly like for window size. * src/ephy-window.h: Use a construct property instead of a _set for chrome. * src/window-commands.c: * src/window-commands.h: Move chromes actions to EphyWindow so we dont need to expose chrome handling. 2004-03-22 Marco Pesenti Gritti * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): The xbel type is now application/x-xbel 2004-03-22 Marco Pesenti Gritti * NEWS: * configure.in: Update for 1.2.1 2004-03-19 Christian Persch * src/bookmarks/ephy-bookmark-properties.c: (set_window_icon): Don't try to unref NULL icons. Fixes bug #137715. 2004-03-17 Piers Cornwell * help/C/epiphany.xml: Fix notes and tips to validate. 2004-03-15 Marco Pesenti Gritti * NEWS * configure.in: Update for 1.2.0. * embed/mozilla/mozilla-download.cpp: Register the private structure. 2004-03-14 Marco Pesenti Gritti * lib/egg/egg-editable-toolbar.c: (drag_data_received_cb), (toolbar_drag_motion_cb), (egg_editable_toolbar_init): Deal with the case where data_received signal is emitted asyncrounously. 2004-03-13 Alexander Shopov * configure.in: Added bg to ALL_LINGUAS. 2004-03-09 Åsmund Skjæveland * configure.in (HAVE_MOZILLA_PSM): Added nn to ALL_LINGUAS. * po/nn.po: Started Norwegian Nynorsk translation. 2004-03-09 Christian Persch * lib/egg/egg-toolbar-editor.c: (editor_drag_data_received_cb): Check if the dragged item is a separator. Fixes crash when it _is_ a separator. * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_remove_toolbar): Fix logic check for removable toolbar, & instead of &&. * src/ephy-location-action.c: (create_menu_proxy_cb), (connect_proxy), (ephy_location_action_activate): Don't make a proxy menu item for the location entry. Fixes crash when trying to activate its proxy menu item. 2004-03-07 Marco Pesenti Gritti * NEWS: * configure.in: * help/Makefile.am: Remove nl docs (incomplete). Ready for 1.1.11 2004-03-07 Christian Persch * NEWS: Updated for 1.1.11. 2004-03-06 Christian Persch * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_bookmark), (xbel_parse_folder), (xbel_parse_xbel), (ephy_bookmarks_import_xbel): Really always check the return value of xmlTextReaderRead(), don't advance if it's != 1. Fixes bug #136151. 2004-03-06 Christian Persch * src/ephy-notebook.c: (notebook_drag_data_received_cb): Fix crash when dragging a link to a tab label; I forgot to change this making the recent EphyTab/EphyEmbed changes. 2004-03-06 Christian Persch * embed/mozilla/mozilla-embed.cpp: Also pop up the context menu with the menu key. 2004-03-06 Christian Persch * src/ephy-main.c: (main): Persist changed accels with gnome_accelerator_sync(). 2004-03-05 Christian Persch * configure.in: Increase MOZILLA_SNAPSHOT for 1.7b, and depend on gtk+ >= 2.3.5. * embed/mozilla/GlobalHistory.cpp: Adapt to changed mozilla API. 2004-03-05 Christian Persch * embed/mozilla/EphyBrowser.cpp: Don't return an error when a DOM document isn't a HTML document, it's ok not to be one (happens for XUL docs, like about:config). 2004-03-05 Christian Persch * lib/ephy-file-helpers.c: (ephy_file_downloads_dir): Don't assume Desktop directory location, check the gconf key if it's $HOME/Desktop or $HOME. Fixes bug #134951. 2004-03-05 Christian Persch * embed/mozilla/EphyHeaderSniffer.cpp: Replace filename validity check, it was making the filename invalid UTF-16. Simply convert to UTF-8 beforehand and check for "/" chars. 2004-03-05 Christian Persch * src/ephy-tab.c: (ephy_tab_address_cb), (ephy_tab_title_cb), (ensure_page_info), (ephy_tab_net_state_cb), (clipboard_text_received_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_update_navigation_flags), (ephy_tab_set_title): Don't use ephy_tab_get_embed(), instead use the pointer provided when we connected the callbacks. Hopefully fixes bug #136122. 2004-03-04 Christian Persch * src/window-commands.c: (window_cmd_help_about): Don't set the 5-star icon as window icon for the about dialogue. Fixes bug #135010. 2004-03-03 Christian Persch * embed/mozilla/MozDownload.cpp: Change wait interval between updates to 0.2 s. 2004-03-03 Christian Persch * lib/widgets/ephy-node-view.c: (uri_list_parse), (drag_data_received_cb): Copy and modify gnome_vfs_uri_list_parse() so that we get a list of string uris instead of GnomeVFSURIs. Change signature of ::node-dropped accordingly. Fixes bug #120231. * src/bookmarks/ephy-bookmarks-editor.c: (node_dropped_cb): Adapt to the changed ::node-dropped signal signature. 2004-03-03 Christian Persch * embed/downloader-view.c: (download_dialog_pause_cb), (download_dialog_abort_cb): Unset the GValue after we're done using what it contained. * embed/mozilla/MozDownload.cpp: Weak ref mEphyDownload, and assert that is has been finalised by the time we get to ~MozDownload. * embed/mozilla/mozilla-download.cpp: Debug output in _init and _finalize. 2004-03-03 Christian Persch * src/bookmarks/ephy-bookmark-action.c: (favicon_cache_changed_cb), (ephy_bookmark_action_sync_icon), (ephy_bookmark_action_init): If the favicon isn't ready when we need it, connect to the favicon cache's ::changed signal to show it when we have it. Fixes bug #135855. 2004-03-02 Marco Pesenti Gritti * src/ephy-tab.c: (ephy_tab_destroy_brsr_cb): Do not show the unsubmitted dialog for js close 2004-03-02 Christian Persch * lib/ephy-file-chooser.c: (ephy_file_chooser_init): Don't remember the size of the filechoose dialogue, because it doesn't play nicely with the new save mode when toggling the expander. Fixes bug #135947. 2004-03-02 Marco Pesenti Gritti * src/ephy-session.c: (ephy_session_init), (offer_to_resume), (ephy_session_autoresume): Never show two resume dialogs, just re-present the old one. 2004-03-01 Christian Persch * src/bookmarks/ephy-bookmarks.c: (backup_file), (ephy_bookmarks_init): Don't try to backup non-existing files :) Also, when neither ephy-bookmarks.xml nor bookmarks.rdf exist, assume we have a new profile and don't warn about missing bookmarks. 2004-03-01 Christian Persch * src/bookmarks/ephy-bookmark-action.c: (smart_child_added_cb), (smart_child_removed_cb), (ephy_bookmark_action_init): Correctly sync the smarturl property of EphyBookmarksAction when it changes. Fixes incorrect show/hide of the entry on the bookmarks toolbar. 2004-03-01 Christian Persch * src/bookmarks/ephy-bookmarks.c: (update_has_smart_address): When changing a bookmark address and it was a smart bookmark but now is not anymore, remove the bookmark from the smart_bmks node instead of adding it :) 2004-03-01 Christian Persch * src/ephy-toolbars-model.c: (get_toolbar_pos), (ephy_toolbars_model_set_bookmarks): Ensure we always have a BookmarksBar toolbar in the model. Fixes bug #135701. 2004-03-01 Marco Pesenti Gritti * lib/egg/eggstatusicon.c: (egg_status_icon_init), (egg_status_icon_button_press): The icon should be activated by double click 2004-03-01 Christian Persch * src/ephy-statusbar.c: Add API docs. 2004-03-01 Christian Persch * src/bookmarks/ephy-bookmarks.c: (backup_file), (ephy_bookmarks_init): If reading the bookmarks file, or re-importing the bookmarks from the rdf file fails, back up those files so that the user can afterwards try to manually recover his bookmarks. Fixes bug #128308. 2004-03-01 Christian Persch * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_folder), (xbel_parse_xbel), (ephy_bookmarks_import_xbel): Fix XBEL importer not to tag all bookmarks with a "Bookmarks" category. 2004-03-01 Christian Persch * src/ephy-statusbar.c: (create_statusbar_security_icon), (ephy_statusbar_add_widget): * src/ephy-statusbar.h: Export ephy_statusbar_add_widget() for use by extensions. 2003-03-01 Christian Persch * lib/ephy-node-db.c: (ephy_node_db_load_from_file): Guard against xml reading error, check for NULL subtree before trying to parse it. 2004-03-01 Marco Pesenti Gritti * embed/downloader-view.c: (downloader_view_add_download), (downloader_view_remove_download): Keep a ref for downloads in the view. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Ensure the download directory exist. * embed/mozilla/MozDownload.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-download.h: Use a property to store MozDownload in the wrapper. The wrapper now keep a reference on the c++ implementation, that way references will be correctly propagated (unreffing the GObject will unref the c++ object). (Bug 135755) 2004-02-29 Marco Pesenti Gritti * embed/mozilla/ContentHandler.cpp: Correct the label of the action button (Open) 2004-02-29 Christian Persch * embed/ephy-history.c: (remove_obsolete_pages): Iterate backwards over the children when removing a host. 2004-02-29 Christian Persch * embed/ephy-favicon-cache.c: (ephy_favicon_cache_class_init), (kill_download), (ephy_favicon_cache_finalize), (favicon_name_build), (favicon_download_completed_cb), (favicon_download_cancelled_cb), (ephy_favicon_cache_download), (ephy_favicon_cache_get): * embed/ephy-favicon-cache.h: Remove cancelled downloads from the downloads hash; and remove partially downloaded favicons. 2004-02-29 Christian Persch * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/PrintingPromptService.cpp: Add debug output in ctors and dtors. 2004-02-29 Christian Persch * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_clean), (ephy_bookmarks_menu_rebuild): Separately profile bookmarks menu clean and rebuild. 2004-02-29 Christian Persch * embed/ephy-embed-persist.c: (ephy_embed_persist_class_init): * embed/ephy-embed-persist.h: Add "cancelled" signal to EphyEmbedPersist. * embed/mozilla/mozilla-embed-persist.cpp: Emit "cancelled" signal when the download is cancelled. 2004-02-29 Christian Persch * embed/mozilla/mozilla-embed-event.cpp: (mozilla_embed_event_init), (mozilla_embed_event_finalize), (mozilla_embed_event_set_property): Add debug output. 2004-02-29 Christian Persch * embed/mozilla/EphyHeaderSniffer.cpp: (PerformSave): Decode RFC 2231 and RFC 2047 encoded filenames in content-disposition headers. Ported from mozilla Camino, see http://bugzilla.mozilla.org/show_bug.cgi?id=233798 . 2004-02-29 Christian Persch * embed/mozilla/MozDownload.cpp: (MozDownload), (~MozDownload): Add debug output. 2004-02-29 Marco Pesenti Gritti * embed/mozilla/MozDownload.cpp: Fix max size logic, thanks to chpe. 2004-02-29 Marco Pesenti Gritti * src/ephy-session.c: (impl_attach_window), (ephy_session_add_window): Fix order of the windows, they was reversed before. 2004-02-28 Marco Pesenti Gritti * src/bookmarks/ephy-bookmarks.c: (topics_removed_cb): fix typo that was causing categorized bookmarks to go in the uncategorized topic (Bug #135702) 2004-02-28 Christian Persch * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_folder), (ephy_bookmarks_import_xbel): If a folder has no name, don't tag its bookmarks with "Untitled" keyword, just skip it. 2004-02-28 Marco Pesenti Gritti * embed/mozilla/ContentHandler.cpp: Use getInterface to get the dom window from the docshell, not queryInterface. (Bug #121160) * embed/mozilla/MozillaPrivate.cpp: Do not fallback to the active window if the parent cannot be found. It just hides problems and cause more annoying behaviors (like dialogs parented on the wrong window). 2004-02-28 Marco Pesenti Gritti * HACKING: Add a note about changelog entry. * TODO: Remove old stuff 2004-02-28 Marco Pesenti Gritti * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_get_edit_mode): * lib/egg/egg-editable-toolbar.h: * lib/widgets/ephy-location-entry.c: (toolbar_is_editable), (entry_drag_motion_cb), (entry_drag_drop_cb), (ephy_location_entry_construct_contents): Sucky but not intrusive hack to make dnd on the address entry work when editing toolbar. A better solution will be found when the toolbar editor will get in gtk. Based on a patch from Søren Sandmann, bug 132467. 2004-02-28 Xan Lopez * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): Add missing check for Firebird bookmarks, patch by André Dahlqvist. 2004-02-27 Marco Pesenti Gritti * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Remove an useless check. * lib/ephy-state.c: (ephy_state_window_set_size): Make sure window is never bigger than screen. 2004-02-27 Christian Persch * configure.in: Depend on gk+ >= 2.3.4, but since the filechooser API changed, you'll really need the latest from cvs. 2004-02-27 Christian Persch * embed/mozilla/FilePicker.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_init), (ephy_file_chooser_new): * src/prefs-dialog.c: (prefs_download_path_button_clicked_cb): Fix for gtk+ filechooser API change. 2004-02-27 Christian Persch * src/bookmarks/ephy-bookmarks-import.c: (ns_parse_bookmark_item): Fix potential crash. (ephy_bookmarks_import_mozilla): Fix mem leak. 2004-02-27 Christian Persch * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import_mozilla): Replace entities also in folder names, fixes bug #135440. 2004-02-26 Marco Pesenti Gritti * src/ephy-tab.c: (ephy_tab_address_cb), (ensure_page_info): Do not show about:blank to the user, an empty address bar will do better. When the address bar is empty (no page or blank page is loaded) set the address before loading succeeded. 2004-02-25 Christian Persch * src/window-commands.c: (open_response_cb): Check for NULL before converting filename to UTF-8. 2004-02-25 Marco Pesenti Gritti * embed/ephy-embed-persist.c: (ephy_embed_persist_set_max_size), (ephy_embed_persist_set_property), (ephy_embed_persist_get_property), (ephy_embed_persist_init), (ephy_embed_persist_class_init): * embed/ephy-embed-persist.h: Make max size property use long / bytes. * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): Correct to use bytes. * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-embed-persist.cpp: Actually respect the max_size property. 2004-02-24 Christian Persch * src/ephy-tab.c: (let_me_resize_hack), (ephy_tab_size_to_cb): Change this back to simply do g_idle_add(), accidentally forgot to revert my change. 2004-02-24 Xan Lopez * embed/mozilla/EphyHeaderSniffer.cpp: Unescape filenames whenever possible. * src/popup-commands.c: (save_property_url): Nitpick. 2004-02-24 Christian Persch * src/ephy-nautilus-view.c: (gnv_embed_new_window_cb): * src/ephy-notebook.c: (ephy_notebook_class_init), (tab_label_size_request_cb), (ephy_notebook_move_tab), (move_tab), (motion_notify_cb), (move_tab_to_another_notebook), (button_release_cb), (ephy_notebook_switch_page_cb), (ephy_notebook_init), (close_button_clicked_cb), (build_tab_label), (ephy_notebook_insert_tab), (smart_tab_switching_on_closure), (ephy_notebook_remove_tab): * src/ephy-notebook.h: * src/ephy-session.c: (tab_added_cb), (tab_removed_cb): * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-tab.c: (ephy_tab_get_type), (ephy_tab_size_allocate), (ephy_tab_parent_set), (ephy_tab_class_init), (ephy_tab_finalize), (ephy_tab_new), (ephy_tab_get_embed), (ephy_tab_for_embed), (ephy_tab_new_window_cb), (let_me_resize_hack), (ephy_tab_visibility_cb), (ephy_tab_size_to_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_init), (ephy_tab_update_navigation_flags), (ephy_tab_set_title): * src/ephy-tab.h: * src/ephy-tabs-menu.c: (tab_added_cb), (tab_removed_cb), (tabs_reordered_cb), (ephy_tabs_menu_set_window), (ephy_tabs_menu_update): * src/ephy-window.c: (tab_added_cb), (tab_removed_cb), (tab_detached_cb), (tabs_reordered_cb), (tab_delete_cb), (setup_notebook), (ephy_window_add_tab), (ephy_window_jump_to_tab), (real_get_active_tab), (ephy_window_remove_tab), (ephy_window_get_active_tab), (ephy_window_get_active_embed), (ephy_window_get_tabs): * src/ephy-window.h: * src/window-commands.c: (window_cmd_tabs_move_left), (window_cmd_tabs_move_right), (window_cmd_tabs_detach): Make EphyTab inherit from GtkBin, and contain the EphyEmbed as its child. 2004-02-24 Marco Pesenti Gritti * src/ephy-tab.c: (address_has_web_scheme): Do not use gnome vfs to check the scheme because it can handle only supported methods. 2004-02-21 Christian Persch * doc/reference/Makefile.am: Remove nsUnicharUtils.h from docs makefile. 2004-02-21 Christian Persch * lib/ephy-file-helpers.h: * lib/ephy-glade.c: Removed an unused #include. 2004-02-21 Christian Persch * lib/ephy-dialog.c: (connect_signals): Always connect signals, not just for PT_AUTOAPPLY props. 2004-02-21 Christian Persch * doc/reference/tmpl/EphyContentPolicy.sgml: * doc/reference/tmpl/EphySingle.sgml: * doc/reference/tmpl/ephy-cookie-manager.sgml: * doc/reference/tmpl/ephy-embed-factory.sgml: * doc/reference/tmpl/ephy-embed-single.sgml: * doc/reference/tmpl/ephy-password-manager.sgml: * doc/reference/tmpl/ephy-permission-manager.sgml: * doc/reference/tmpl/ephy-session.sgml: * doc/reference/tmpl/ephy-shell.sgml: * doc/reference/tmpl/mozilla-embed-event.sgml: Commit changed, auto-generated templates. 2004-02-20 Christian Persch * configure.in: Epiphany 1.1.10. 2004-02-21 Christian Rose * configure.in: Added "en_CA" to ALL_LINGUAS. 2004-02-21 Marco Pesenti Gritti * embed/mozilla/Makefile.am: Actually remove nsUnicharUtils.* * embed/mozilla/mozilla-embed-persist.cpp: Use our helper to construct tmp file name: fix security issue. * src/window-commands.c: (save_temp_source): Cosmetic change 2004-02-20 Christian Persch * embed/mozilla/EventContext.cpp: * embed/mozilla/EphyBrowser.cpp: R embed/mozilla/nsUnicharUtils.h: R embed/mozilla/nsUnicharUtils.cpp: Adapt to changed mozilla string APIs by getting rid of nsUnicharUtils, and using EqualsIgnoreCase instead of Equal with nsCaseInsensitiveStringComparator(). 2004-02-20 Marco Pesenti Gritti * src/ephy-completion-model.c: (is_base_address), (init_relevance_col): Ensure that there are no more chars after the last /. Cut down number of visists properly. 2004-02-20 Christian Persch * lib/egg/egg-editable-toolbar.c: (popup_toolbar_context_menu_cb): Fix logic error, spotted by Crispin. * lib/egg/egg-toolbars-model.h: Make it clear that EggTbModelFlags is a bitfield enum. 2004-02-20 Christian Persch * lib/eel-gconf-extensions.c: #ifdef HAVE_CONFIG_H the inclusion of config.h. 2004-02-20 Christian Persch * lib/Makefile.am: Remove duplicate entry for ephy-gui.h. 2004-02-20 Christian Persch * embed/ephy-command-manager.c: (ephy_command_manager_get_type), (ephy_command_manager_base_init), (ephy_command_manager_do_command), (ephy_command_manager_can_do_command): * embed/ephy-command-manager.h: * embed/ephy-cookie-manager.c: (ephy_cookie_manager_get_type), (ephy_cookie_manager_base_init), (ephy_cookie_manager_list_cookies), (ephy_cookie_manager_remove_cookie), (ephy_cookie_manager_clear): * embed/ephy-cookie-manager.h: * embed/ephy-embed-event.c: (ephy_embed_event_get_type), (ephy_embed_event_get_event_type), (ephy_embed_event_get_context), (ephy_embed_event_get_modifier), (ephy_embed_event_get_coords), (ephy_embed_event_get_property), (ephy_embed_event_has_property), (ephy_embed_event_get_dom_event): * embed/ephy-embed-event.h: * embed/ephy-embed-single.c: (ephy_embed_single_get_type), (ephy_embed_single_iface_init), (ephy_embed_single_clear_cache), (ephy_embed_single_clear_auth_cache), (ephy_embed_single_set_offline_mode), (ephy_embed_single_load_proxy_autoconf), (ephy_embed_single_get_font_list): * embed/ephy-embed-single.h: * embed/ephy-embed.c: (ephy_embed_get_type), (ephy_embed_base_init), (ephy_embed_load_url), (ephy_embed_stop_load), (ephy_embed_can_go_back), (ephy_embed_can_go_forward), (ephy_embed_can_go_up), (ephy_embed_get_go_up_list), (ephy_embed_go_back), (ephy_embed_go_forward), (ephy_embed_go_up), (ephy_embed_get_title), (ephy_embed_get_location), (ephy_embed_get_link_message), (ephy_embed_get_js_status), (ephy_embed_reload), (ephy_embed_zoom_set), (ephy_embed_zoom_get), (ephy_embed_shistory_n_items), (ephy_embed_shistory_get_nth), (ephy_embed_shistory_get_pos), (ephy_embed_shistory_go_nth), (ephy_embed_get_security_level), (ephy_embed_find_set_properties), (ephy_embed_find_next), (ephy_embed_activate), (ephy_embed_set_encoding), (ephy_embed_get_encoding_info), (ephy_embed_print), (ephy_embed_print_preview_close), (ephy_embed_print_preview_n_pages), (ephy_embed_print_preview_navigate), (ephy_embed_has_modified_forms): * embed/ephy-embed.h: * embed/ephy-password-manager.c: (ephy_password_manager_get_type), (ephy_password_manager_add), (ephy_password_manager_remove), (ephy_password_manager_list): * embed/ephy-password-manager.h: * embed/ephy-permission-manager.c: (ephy_permission_manager_get_type), (ephy_permission_manager_base_init), (ephy_permission_manager_add), (ephy_permission_manager_remove), (ephy_permission_manager_clear), (ephy_permission_manager_test), (ephy_permission_manager_list): * embed/ephy-permission-manager.h: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: s/IFace/Iface/g to match the gtk+ naming convention. 2004-02-20 Julio M. Merino Vidal * configure.in: Remove duplicate --with-html-dir argument * data/epiphany.schemas.in: fix a syntax error 2004-02-19 Christian Persch * lib/egg/egg-toolbar-editor.c: (update_editor_sheet): Fix off-by-one error when computing the height of the table. 2004-02-19 Christian Persch * lib/egg/egg-toolbar-editor.c: (toolbar_removed_cb), (egg_toolbar_editor_set_model), (egg_toolbar_editor_class_init), (update_actions_list), (egg_toolbar_editor_load_actions): * lib/egg/egg-toolbar-editor.h: When removing a toolbar, make its items available again in the toolbar editor. Fixes bug #131182. 2004-02-18 Alexander Winston * help/C/epiphany.xml: Fixed typos in the bookmarks explanation. 2004-02-17 Christian Persch * lib/egg/egg-editable-toolbar.c: (item_added_cb), (item_removed_cb), (egg_editable_toolbar_construct): Remove the toolbar height contraint when the first item is added to it. Fixes bug #131181. 2004-02-17 Christian Persch * src/ephy-extension.c: (ephy_extension_get_type), (ephy_extension_attach_window), (ephy_extension_detach_window): * src/ephy-extension.h: * src/ephy-extensions-manager.c: (ephy_extensions_manager_iface_init): * src/ephy-session.c: (ephy_session_iface_init): s/EphyExtensionClass/EphyExtensionIface/g 2004-02-17 Christian Persch * NEWS: * configure.in: Epiphany 1.1.9. 2004-02-16 Christian Persch * embed/mozilla/GlobalHistory.cpp: Don't use #if inside a macro. Fixe compilation with gcc 3.2.2. 2004-02-15 Christian Persch * embed/mozilla/FilePicker.cpp: (::AppendFilter): Make it work (TM). 2004-02-15 Christian Persch * embed/mozilla/FilePicker.cpp: (::Show), (::GFilePicker), (::~GFilePicker): Weak ref the real dialogue, and hide the dialogue after running it. Fixes interaction with nsIFilePicker lifecycle when shown from javascript. 2004-02-15 Marco Pesenti Gritti * NEWS: * configure.in: Prepare for 1.1.8 * embed/downloader-view.c: (downloader_view_build_ui): Revert the timeout for now, I dont think it's mature for the release. 2004-02-14 Xan Lopez * data/.cvsignore: Quiet cvs. 2004-02-13 Marco Pesenti Gritti * data/mime-types-permissions.xml: Several types are actually safe. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Change the safe/unsafe logic to not consider unkown files unsafe, they will not be opened anyway. Cleanups. 2004-02-13 Christian Persch * doc/reference/Makefile.am: * src/Makefile.am: Install the statusbar .h file. R src/statusbar.[ch]: A src/ephy-statusbar.[ch]: s/statusbar/ephy-statusbar/ and friends. * src/ephy-window.c: (sync_tab_load_progress), (sync_tab_security), (ephy_window_init): Change references from statusbar to ephy-statusbar. Remove selection-received stuff, since it now lives in EphyTab. 2004-02-12 Christian Persch * configure.in: * data/Makefile.am: R data/epiphany-1.0.pc.in: A data/epiphany-1.2.pc.in: Changed .pc file version to 1.2, since we're not API-compatible with 1.0. 2004-02-12 Christian Persch * embed/downloader-view.c: (download_dialog_abort_cb): Safety check. 2004-02-12 Christian Persch * embed/mozilla/mozilla-embed.cpp: (mozilla_embed_security_change_cb): Use static_cast<>, don't cast directly. 2004-02-12 Christian Persch * lib/ephy-dialog.c: (set_sensitivity): Don't set entries insensitive, only set the non-editable when the gconf key isn't writable. 2004-02-12 Christian Persch * embed/mozilla/MozDownload.cpp: * src/prefs-dialog.c: (get_download_button_label): Unify fallback downloads dir to get the home directory. 2004-02-12 Christian Persch * embed/mozilla/GtkNSSDialogs.cpp: Don't insist on a parent for the dialogue; because there isn't one when we try to load a favicon over https: at startup. 2004-02-12 Christian Persch * embed/ephy-embed-popup-control.c: (save_url), (embed_popup_set_image_as_background_cmd): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get_type), (ephy_favicon_cache_class_init), (favicon_name_build), (favicon_download_completed_cb), (ephy_favicon_cache_get): * embed/mozilla/FilePicker.cpp: * embed/mozilla/MozDownload.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_set_persist_key): * lib/ephy-file-helpers.c: (ephy_file_downloads_dir): * src/popup-commands.c: (popup_cmd_set_image_as_background): * src/prefs-dialog.c: (get_download_button_label), (download_path_response_cb): Fix numerous places where we weren't properly converting between UTF-8 and filename encoding. * embed/ephy-favicon-cache.c: Bump favicon cache xml version. * embed/mozilla/EphyHeaderSniffer.cpp: Fix mem leak, and use CONF_STATE_SAVE_DIR instead of the download dir key for directory persistence. 2004-02-12 Marco Pesenti Gritti * data/glade/prefs-dialog.glade: Add a missing accellerator 2004-02-12 Christian Persch * lib/ephy-node-db.c: (ephy_node_db_write_to_xml_valist): * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf): * src/ephy-session.c: (ephy_session_save): Re-enalble indentation. 2004-02-12 Christian Persch * configure.in: Depend on libxml2 >= 2.6.6 because of bug #133298 and bug # 131548. * src/ephy-main.c: (main): Use LIBXML_TEST_VERSION to check for API compatibility. 2004-02-12 Christian Persch * embed/mozilla/GlobalHistory.cpp: Fix compilation with mozilla 1.4. 2004-02-12 Christian Persch * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GlobalHistory.h: * embed/mozilla/MozRegisterComponents.cpp: Adapt to the ever-changing mozilla APIs. 2004-02-12 Marco Pesenti Gritti * lib/widgets/ephy-location-entry.c: (keyword_match): Simplify and hopefully fix mem corruption 2004-02-12 Marco Pesenti Gritti * embed/mozilla/ContentHandler.cpp: When open is explicitly requested from the dialog use a tmp file. 2004-02-11 Chris Lahey * embed/downloader-view.c: Added timeout so that dialog won't disappear before 5 seconds is over. Made Pause/Resume button update label properly. 2004-02-11 Christian Persch * src/bookmarks/ephy-bookmarks.c: Increase bookmarks format version. 2004-02-11 Marco Pesenti Gritti * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_add): Update bookmarks keywords 2004-02-11 Xan Lopez * embed/mozilla/MozDownload.cpp: Put the serial numbers in duplicated filenames just before the last dot so we won't confuse apps like file-roller. 2004-02-11 Marco Pesenti Gritti * embed/downloader-view.c: (downloader_view_build_ui): Make columns resizable 2004-02-11 Marco Pesenti Gritti * src/ephy-tab.c: (open_link_in_new_tab), (ephy_tab_dom_mouse_click_cb): Do not load js urls when middle clicked. 2004-02-11 Marco Pesenti Gritti * lib/widgets/ephy-location-entry.c: (completion_func): Cleanup * src/bookmarks/ephy-bookmarks.c: Increase format version 2004-02-11 Marco Pesenti Gritti * lib/widgets/ephy-location-entry.c: (keyword_match), (completion_func): Better keyword matching function. Should match only words (not middle parts of them) and maybe be a bit faster. 2004-02-11 Marco Pesenti Gritti * lib/ephy-node.c: (callback), (child_changed), (ephy_node_set_property): Pass the property id to the changed signal. * lib/ephy-node.h: Cleanup. * embed/ephy-history.c: (hosts_changed_cb), (pages_changed_cb): * lib/widgets/ephy-location-entry.c: (completion_func): * lib/widgets/ephy-tree-model-node.c: (root_child_changed_cb): * src/bookmarks/ephy-bookmark-action.c: (bookmarks_child_changed_cb): * src/bookmarks/ephy-bookmarks-menu.c: (topic_child_changed_cb): * src/bookmarks/ephy-topic-action.c: (topic_child_changed_cb): * src/ephy-completion-model.c: (root_child_changed_cb): * src/ephy-location-action.c: (actions_child_changed_cb): Fixup changed signals signature. * src/bookmarks/ephy-bookmarks.c: (update_bookmark_keywords), (bookmarks_changed_cb), (bookmark_is_categorized), (topics_removed_cb), (ephy_bookmarks_set_keyword), (ephy_bookmarks_unset_keyword): Cleanup keywords building, normalize and case fold it, add the title words as keywords too. 2004-02-11 Christian Persch * embed/mozilla/mozilla-embed-persist.cpp: (impl_save): Fix mem leaks. 2004-02-11 Marco Pesenti Gritti * src/ephy-completion-model.c: (is_base_address), (init_relevance_col): Better autocompletion sorting logic. * src/window-commands.c: (window_cmd_help_about): s/translator_credits/translator-credits 2004-02-10 Marco Pesenti Gritti * src/ephy-completion-model.c: (init_text_col): Show the title of the bookmark, not the address 2004-02-09 Christian Persch * src/ephy-tab.c: (clipboard_text_received_cb), (ephy_tab_dom_mouse_click_cb): Fix the fix for the epiphany equivalent of bug #133633. Don't convert the clipboard contents directly as the souurce may not offer UTF-8 text. Instead request the contents, and gtk+ will convert it for us. 2004-02-09 Christian Persch * lib/egg/egg-editable-toolbar.c: * embed/ephy-embed-popup-control.c: Include config.h. 2004-02-09 Christian Rose * configure.in: Added "mi" to ALL_LINGUAS. 2004-02-08 Christian Persch * embed/ephy-favicon-cache.c: (ephy_favicon_cache_init): Remove trailing / in invocation of mkdir, since it's unneeded and not portable. Patch by Julio M. Merino Vidal, fixes bug 133738. 2004-02-06 Christian Persch * src/ephy-tab.c: (ephy_tab_dom_mouse_click_cb): Make middle-click paste work with urls with IDN domain names. Fixes the epiphany equivalent of galeon bug 133633. 2004-02-06 Christian Persch * embed/mozilla/EventContext.cpp: Excise old galeon 1, non ported, defined-out code. 2004-02-06 Christian Persch * data/Makefile.am: Honour the --with-gconf-schema-file-dir and --disable-schemas-install configure options. Patch by Julio M. Merino Vidal, fixes bug #133533. 2004-02-06 Christian Persch * data/glade/prefs-dialog.glade: Now that GtkComboBox supports mnemonic activation, set the focus target of the combos' labels. 2004-02-05 Piers Cornwell * src/ephy-session.c: (offer_to_resume): Make warning message selectable per hig. 2004-02-05 Christian Persch * src/bookmarks/ephy-bookmark-action.c: (connect_proxy): * src/bookmarks/ephy-topic-action.c: (connect_proxy): No need to connect to the toolitem's create-menu-proxy signal, gtk+ does it for us. 2004-02-04 Christian Persch * src/ephy-go-action.c: (ephy_go_action_get_type), (create_tool_item), (ephy_go_action_class_init): gtk+ now connects the tool item's create_menu_proxy to the action's create_menu_item, so we don't need to do it ourselves. Also unnecessary to do connect_proxy. The go action is now almost empty, we should really see if we can use a stock gtktoolbutton for it. 2004-02-04 Christian Persch * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_get_type), (zoom_to_level_cb), (connect_proxy), (proxy_menu_activate_cb), (create_menu_item), (ephy_zoom_action_class_init): * lib/widgets/ephy-zoom-action.h: * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_class_init): Fix toolbar overflow menu creation. Don't connect zoom control signals to a menu item. 2004-02-04 Christian Persch * lib/widgets/ephy-arrow-toolbutton.c: (ephy_arrow_toolbutton_finalize): Fix mem leak. 2004-02-04 Christian Persch * data/glade/epiphany.glade: * data/glade/certificate-dialogs.glade: * data/glade/print.glade: * data/glade/prefs-dialog.glade: Dialogs shouldn't show up in the window list, period. 2004-02-04 Christian Persch * data/glade/pref-dialog.glade: * data/glade/epiphany.glade: Don't show Find, Add Language, and Encodings dialogue in window list. 2004-02-04 David Bordoley * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_new): Set a default height/width for the dialog. 2004-02-04 Biggest Flake Ever David Bordoley * embed/downloader-view.c: (downloader_view_new): * src/prefs-dialog.c: (setup_add_language_dialog): Use a default width/height for dialogs with tree views that don't have a fixed requisition. 2004-02-04 Piers Cornwell * src/ephy-history-window.c: (confirmation_dialog_construct): Use title capitalisation for title. 2004-02-02 Maxim Dziumanenko * configure.in: Added "uk" in ALL_LINGUAS 2004-02-02 Marco Pesenti Gritti * autogen.sh: * omf.make: * xmldocs.make: Use gnome-common to generate help makefiles 2004-02-01 Christian Persch * configure.in: Version 1.1.7. 2004-02-01 Christian Persch * src/ephy-extensions-manager.c: (ephy_extensions_manager_init): * src/ephy-extensions-manager.h: * src/ephy-shell.c: (ephy_shell_get_extensions_manager): Decouple extensions manager initialisation and extensions loading. Fixes a crash when an extensions tried to get the session, causing us to load extensions more than once. 2004-02-01 Marco Pesenti Gritti * lib/ephy-stock-icons.h: typo in icon name 2004-02-01 Christian Persch * embed/mozilla/ContentHandler: Add a space after period, fixes bug #133151. 2004-02-01 Xan Lopez * embed/downloader-view.c: (status_icon_activated), (downloader_view_build_ui): Activating the status icon should only show it (HIG says so). Also set the downloader view to BROSWE mode. 2004-01-31 Adam Hooper * NEWS: * configure.in: Prepare for 1.1.6 2004-01-30 Adam Hooper * src/ephy-tab.c: (ephy_tab_class_init): Fix typo: s/PROP_LOAD_STATUS/PROP_LOAD_PROGRESS. 2004-01-30 Christian Persch * embed/mozilla/ContentHandler.cpp: Don't try to g_free a nsCOMPtr<>, and use nsMemory::Free for the mMimeType string. 2004-01-29 Christian Persch * embed/mozilla/EphyHeaderSniffer.cpp: Fix mem leak. 2004-01-29 Christian Persch * src/ephy-favicon-action.c: (ephy_favicon_action_set_property), (ephy_favicon_action_get_property): Fix property getter of "icon" property. 2004-01-29 Christian Persch * embed/mozilla/MozDownload.cpp: Fix mem leak. 2004-01-29 Christian Persch * embed/downloader-view.c: (update_download_row): Fix mem leak. 2004-01-29 Christian Persch * embed/mozilla/EphyHeaderSniffer.cpp: Fix encodign conversion of "Untitled" filename suggestion. Fixes bug #132822. 2004-01-28 Christian Persch * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import_rdf): Don't crash when reading the RDF file fails. 2004-01-28 Christian Persch * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf): Use rdf:resource instead of rdf:about, fixes bug #131543. 2004-01-28 Christian Persch * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_get_type), (sync_topic_properties), (topic_child_changed_cb), (ephy_bookmarks_menu_init): Sync topic names in the menu. Fixes bug #128097. 2004-01-28 Christian Persch * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_solve_smart_url), (options_find_first_option), (smart_url_options_get): Fix options parsing. 2004-01-28 David Bordoley * src/ephy-window.c: Use EPHY_STOCK_DOWNLOAD for the download link icon. 2004-01-28 Christian Persch * src/Makefile.am: Fix linking with nautilus view enabled. 2004-01-28 Christian Persch * configure.in: * src/Makefile.am: Check for required libnautilus version, and conditionally enable nautilus view. 2004-01-27 Piers Cornwell * help/C/epiphany.xml: Update documentation. 2004-01-27 Christian Persch * lib/ephy-file-helpers.c: (ephy_file_helpers_shutdown): Only try to rmdir() the tmp directory if we have one. 2004-01-27 Marco Pesenti Gritti * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: Make sure to not initialize EphyBrowser multiple times. 2004-01-26 Christian Persch * embed/ephy-download.c: (ephy_download_get_name): Fix mem leak. 2004-01-26 Christian Persch * embed/downloader-view.c: (update_download_row): Fix mem leak. 2004-01-26 Christian Persch * embed/downloader-view.c: (update_download_row): Fix mem leak. 2004-01-26 Marco Pesenti Gritti * embed/mozilla/ContentHandler.cpp: closing dialog == cancel 2004-01-25 Marco Pesenti Gritti * NEWS: Correct a translator name. * embed/mozilla/ContentHandler.cpp: Really cancel the download when the user told so. * lib/ephy-dialog.c: (setup_default_size), (ephy_dialog_run), (ephy_dialog_init), (ephy_dialog_set_property), (ephy_dialog_get_property), (ephy_dialog_class_init): Add default width/height properties. 2004-01-25 Christian Persch * embed/mozilla/MozDownload.h: Include nsIMIMEInfo.h to fix compilation with mozilla 1.4. 2004-01-25 Christian Persch * src/window-commands.c: (window_cmd_file_print_preview): Fix mem leak. 2004-01-25 Christian Persch * src/ephy-history-window.c: (get_details_value): Fix mem leak. 2004-01-25 Christian Persch * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf): Fix mem leak. 2004-01-25 Christian Persch * src/bookmarks/ephy-bookmarks-editor.c: (search_entry_search_cb), (get_details_value): Fix mem leaks. 2004-01-25 Christian Persch * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_finalize): Fix mem leak. 2004-01-25 Christian Persch * lib/widgets/ephy-node-view.c: (ephy_node_view_finalize): Fix mem leak. 2004-01-25 Christian Persch * lib/ephy-node-filter.c: (ephy_node_filter_finalize), (ephy_node_filter_new), (ephy_node_filter_add_expression): Fix mem leak. 2004-01-25 Christian Persch * embed/ephy-history.c: (ephy_history_finalize): Fix mem leak. 2004-01-25 David Bordoley * help/C/figures/ephy-screenshot.png: Update the screenshot to match the default toolbar layout. 2004-01-25 Christian Persch * lib/ephy-node-db.c: (ephy_node_db_finalize): Fix mem leak. 2004-01-25 Christian Persch * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf): Fix mem leak. 2004-01-25 Adam Hooper * lib/ephy-file-helpers.c: (ephy_file_tmp_dir): mkdtemp() modifies *template in-place. So it shouldn't be freed. 2004-01-25 Christian Persch * src/ephy-tabs-menu.c: (tab_set_action_accelerator): Fix mem leak. 2004-01-25 Christian Persch * src/ephy-session.c: (ephy_session_save): Fix mem leaks. 2004-01-25 Christian Persch * lib/ephy-stock-icons.c: (ephy_stock_icons_init): Fix mem leaks. 2004-01-25 Christian Persch * lib/ephy-file-helpers.c: (ephy_file_tmp_dir), (ephy_file_tmp_filename): Fix mem leaks. 2004-01-25 Christian Persch * lib/ephy-dialog.c: (set_value_from_pref), (set_combo_box_from_value): Fix mem leaks. 2004-01-25 Christian Persch * embed/mozilla/mozilla-notifiers.cpp: Fix mem leak. 2004-01-25 Christian Persch * embed/ephy-favicon-cache.c: (remove_obsolete_icons): Fix mem leak. 2004-01-25 Marco Pesenti Gritti * lib/ephy-file-helpers.c: (ephy_file_tmp_dir), (ephy_file_downloads_dir): * lib/ephy-file-helpers.h: Add a way to get the downloads dir with a comment for translators. Use dir instead of directory consistently with the other functions. * embed/mozilla/MozDownload.cpp: * src/prefs-dialog.c: (get_download_button_label): * src/window-commands.c: (save_temp_source): Use the helper. 2004-01-24 Christian Persch * src/window-commands.c: (window_cmd_help_about): Updated copyright date. 2004-01-24 Christian Persch * src/ephy-tab.c: (ephy_tab_set_title): Double underscores, since otherwise the menu entry will display them as accellerators. 2004-01-24 Christian Persch * embed/mozilla/EphyBrowser.cpp: When checking forms for modifications, handle correctly text entries with default value longer than maxlength. Mozilla bug #232057. 2004-01-24 David Bordoley * data/ui/epiphany-ui.xml: * src/ephy-window.c: Add a hidden tools menu that extensions can use. 2004-01-24 Adam Hooper * lib/ephy-string.c: Remove totally wrong comment before ephy_string_blank_chr () 2004-01-24 Adam Hooper * lib/ephy-file-helpers.c: * lib/ephy-file-helpers.h: * src/window-commands.c: (save_temp_source): ephy_file_tmp_directory () now returns a const char * instead of char * 2004-01-24 Marco Pesenti Gritti * configure.in: Prepare for 1.1.5 * lib/ephy-dialog.c: (setup_default_size): Fix a bug with dialog size persistance 2004-01-24 Marco Pesenti Gritti * NEWS: * configure.in: Prepare for 1.1.4 * embed/mozilla/ContentHandler.cpp: Fix Save As from download dialog 2004-01-24 Christian Persch * src/prefs-dialog.c: (get_download_button_label): Fall back to Home directory when the pref is NULL. 2004-01-24 Christian Persch * lib/ephy-file-chooser.c: (ephy_file_chooser_get_type), (current_folder_changed_cb): Use our eel_gconf_set_path() function to persist the directory. 2004-01-24 Marco Pesenti Gritti * lib/ephy-dialog.c: (setup_default_size), (ephy_dialog_init), (ephy_dialog_set_property), (ephy_dialog_get_property), (ephy_dialog_class_init): Add a persist-position property. * embed/downloader-view.c: (downloader_view_new): Persist downloader position. * src/prefs-dialog.c: (get_download_button_label): * embed/mozilla/MozDownload.cpp: * data/epiphany.schemas.in: Default to ~/Desktop/Downloads. 2004-01-23 Marco Pesenti Gritti * data/epiphany.schemas.in: * lib/ephy-prefs.h: * src/ephy-tab.c: (ephy_tab_dom_mouse_click_cb): * src/popup-commands.c: (save_property_url): Sometimes reading gnomedesktop flames is useful: Do not use the same pref of 1.0 for the download dir. Use a different key for Save Link As. 2004-01-23 Christian Persch * embed/downloader-view.c: (downloader_view_build_ui): * embed/find-dialog.c: (find_dialog_init): * embed/mozilla/GtkNSSDialogs.cpp: * embed/print-dialog.c: (ephy_print_dialog_new), (ephy_print_setup_dialog_new): * lib/ephy-dialog.c: (impl_construct), (ephy_dialog_construct): * lib/ephy-dialog.h: * lib/ephy-glade.c: (ephy_glade_widget_new): * lib/ephy-glade.h: * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/pdm-dialog.c: (pdm_dialog_init): * src/prefs-dialog.c: (setup_add_language_dialog), (prefs_dialog_init): Allow passing the translation domain to ephy_dialog_construct, to make extension's dialogues translatable. Fix all callers. 2004-01-23 Christian Persch * configure.in: We really depend on gtk+ >= 2.3.2. 2004-01-23 Xan Lopez * embed/mozilla/MozDownload.cpp: Make Cancel safe against non active downloads. 2004-01-23 Christian Persch * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/window-commands.c: (window_cmd_view_reload): Use both BYPASS_CACHE and BYPASS_PROXY on force-reload. Unified the handling in mozilla-embed by introducing EMBED_RELOAD_FORCE, and killed EMBED_RELOAD_BYPASS_[CACHE|PROXY] since we now always use both together. 2004-01-22 Christian Persch * embed/ephy-encodings.c: Delete UTF-7 from our list of known encodings, since no web page should ever be in UTF-7. 2004-01-22 Christian Persch * embed/mozilla/EventContext.cpp: * src/ephy-tab.c: (address_has_web_scheme): data: urls can be opened in new tabs too. 2004-01-22 Christian Persch * embed/mozilla/EphyBrowser.cpp: Work around a bug in mozilla where 0xa0 (NBSP) are converted to spaces, so we think that the element is modified when in fact it's not. (Thanks to Crispin). 2004-01-22 Christopher James Lahey * lib/ephy-file-helpers.c, lib/ephy-file-helpers.h (ephy_file_tmp_directory, ephy_file_delete_on_exit): New function to get temp directory and moved ephy_shell_delete_on_exit to here. * lib/widgets/ephy-location-entry.c: Changed how this goes about showing itself when hidden and activated. * src/ephy-shell.c, src/ephy-shell.h (ephy_shell_delete_on_exit): Moved to ephy_file_delete_on_exit. * src/window-commands.c: Changed ephy_shell_delete_on_exit to ephy_file_delete_on_exit. Used ephy_file_tmp_directory to save source files for viewing in a directory that isn't world readable. 2004-01-22 Marco Pesenti Gritti * data/epiphany-lockdown.schemas.in: Slightly better string for history disable. 2004-01-22 Marco Pesenti Gritti * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Set the parent of the dialogs. * src/ephy-window.c: Use Save Link As and correct icons. 2004-01-21 Adam Hooper * embed/downloader-view.c: (downloader_view_build_ui): * embed/find-dialog.c: (find_dialog_init): * embed/mozilla/GtkNSSDialogs.cpp: * embed/print-dialog.c: (ephy_print_dialog_new), (ephy_print_setup_dialog_new): * lib/ephy-glade.c: (ephy_glade_widget_new): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/pdm-dialog.c: (pdm_dialog_init): * src/prefs-dialog.c: (setup_add_language_dialog), (prefs_dialog_init): Explicitly call ephy_file () whenever specifying a Glade file. This gives the ability to load a Glade file outside of SHARE_DIR (i.e., in extensions). Fixes Bug #132018. 2004-01-21 Marco Pesenti Gritti * embed/mozilla/ContentHandler.cpp: Destroy filepicker once it's done. I dunno about much more bugs so please report now ;) 2004-01-21 Christian Persch * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_get_type), (ephy_bookmark_action_set_property), (ephy_bookmark_action_get_property), (ephy_bookmark_action_class_init): Set "tooltip" property on bookmark actions to the url. That way we display it in the status bar with no extra steps taken. 2004-01-21 Piers Cornwell * embed/downloader-view.c: (update_status_icon), (downloader_view_remove_download): Use ngettext for number of downloads and remaining minutes display in the tooltip of the tray icon. 2004-01-21 Christian Persch * embed/mozilla/EventContext.cpp: * src/ephy-tab.c: (address_has_web_scheme): about: can be opened in new tab too. 2004-01-21 Christian Persch * embed/mozilla/mozilla-embed-single.cpp: Re-enable fonts language font filtering, fixes bug #128814 2004-01-19 Marco Pesenti Gritti * embed/mozilla/ContentHandler.cpp: * embed/mozilla/MozDownload.cpp: Make uri canonical before passing it as launch argument to make vfs happy. * lib/eel-gconf-extensions.c: (eel_gconf_set_path): Do not mix utf8/locale. Thanks to chpe to notice it. 2004-01-19 Christian Persch * NEWS: Merge from gnome-2-4 branch. 2004-01-19 Marco Pesenti Gritti * lib/eel-gconf-extensions.c: (tilde_compress), (eel_gconf_set_path): * lib/eel-gconf-extensions.h: Add a way to store paths. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Actually save the file in downloads dir and then open it. It doesnt seem to open it but it's prolly a gnome-vfs bug. * src/prefs-dialog.c: (get_download_button_label), (download_path_response_cb): Simplify the label logic using ~. 2004-01-19 Marco Pesenti Gritti * data/epiphany.schemas.in: * data/glade/prefs-dialog.glade: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/MozDownload.cpp: * lib/ephy-prefs.h: * src/prefs-dialog.c: (get_download_button_label): Change default dir to /home/Downloads. Show the pref about warning on files downloading. Cleanup warning dialogs a bit. 2004-01-18 Christian Persch * lib/ephy-dialog.c: (ephy_dialog_hide): * lib/ephy-dialog.h: Introduce ephy_dialog_hide(). 2004-01-18 Christian Persch * embed/mozilla/mozilla-embed.cpp: We need to use do_QueryInterface to get from the nsIDOM[Key|Mouse]Event to the nsIDOMEvent, not just cast it. 2004-01-17 Christian Persch * embed/mozilla/mozilla-embed.cpp: * src/ephy-tab.c: (ephy_tab_init): Use g_signal_connect_object to connect the embed signals, that way they're disconnected before the tab object is finalised. Should fix crasher bug #131635. 2004-01-16 * data/epiphany-lockdown.schemas.in: Typo fixes. 2004-01-16 Christian Persch * src/prefs-dialog.c: (download_path_response_cb): Use gtk_file_chooser_get_filename() instead of gtk_file_chooser_get_current_folder(). Fixes bug #131646. 2004-01-16 Christian Persch * src/ephy-window.c: (menu_item_select_cb), (menu_item_deselect_cb), (disconnect_proxy_cb), (connect_proxy_cb), (setup_ui_manager), (ephy_window_init): Show help for menu items in the statusbar. 2004-01-15 Christian Persch * embed/ephy-embed-event.c: (ephy_embed_event_get_type), (ephy_embed_event_base_init), (ephy_embed_event_get_event_type), (ephy_embed_event_get_context), (ephy_embed_event_get_modifier), (ephy_embed_event_get_coords), (ephy_embed_event_get_property), (ephy_embed_event_has_property), (ephy_embed_event_get_dom_event): * embed/ephy-embed-event.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-event.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-window.c: (popup_menu_at_coords): * src/popup-commands.c: (popup_cmd_copy_link_address): Make EphyEmbedEvent abstract, implemented by MozillaEmbedEvent. Port callers to the new api. Fix some callers in src/ which were using private fields of EphyEmbedEvent struct. 2004-01-14 Xan Lopez * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Let the user decide about what to do with automatic dialogs. 2004-01-14 Christian Persch * embed/ephy-embed-persist.c: (ephy_embed_persist_to_string): * embed/ephy-embed-persist.h: * embed/mozilla/mozilla-embed-persist.cpp: Get the page content into a string. 2004-01-13 Xan Lopez * embed/downloader-view.c: (status_icon_activated): Allow to show/hide downloader clicking on tray icon. Fixes #131012. 2004-01-13 Christian Persch * configure.in: Version 1.1.3. 2004-01-13 Christian Persch * FEATURE FREEZE ! From now on, no commits are allowed which add new features. 2004-01-12 Christian Persch * embed/downloader-view.c: (download_dialog_pause_cb): Add accelerator to Pause/Resume button. 2004-01-12 Christian Persch * embed/ephy-history.c: (ephy_history_set_enabled), (ephy_history_init): Default history to "enabled". 2004-01-12 Christian Persch * embed/mozilla/EventContext.h: * src/ephy-tab.c: (address_has_web_scheme): Forgot to commit those. 2004-01-12 Christian Persch * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * src/ephy-tab.c: (address_has_web_scheme): * src/ephy-window.c: (show_embed_popup): Only allow "Open in New Tab/Window" for certain protocols. 2004-01-10 Christian Persch * data/epiphany.xhtml: Verified the quote and put the original here. 2004-01-10 Christian Persch * src/ephy-window.c: (update_exit_fullscreen_popup_position), (ephy_window_fullscreen): Fix signal parameter, and add a NULL check. Fixes bug #131117, patch by Martin Kretzschmar. 2004-01-10 Christopher James Lahey * embed/mozilla/PrintingPromptService.cpp: * lib/ephy-prefs.h: * src/ephy-main.c: (main): * src/ephy-window.c: (update_actions), (ephy_window_init), (ephy_window_finalize), (ephy_window_print): Implement print and print setup disabling for lockdown mode. 2004-01-10 Christian Persch * configure.in: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EventContext.cpp: Adapt to the ever-changing mozilla API. 2004-01-10 Christian Persch * embed/ephy-history.c: (ephy_history_get_type), (ephy_history_set_enabled), (ephy_history_set_property), (ephy_history_get_property), (ephy_history_class_init), (page_removed_from_host_cb), (disable_history_notifier), (ephy_history_init), (ephy_history_finalize), (ephy_history_new), (ephy_history_get_host), (ephy_history_visited), (ephy_history_add_page), (ephy_history_set_page_title), (ephy_history_clear), (ephy_history_is_enabled): * embed/ephy-history.h: * lib/ephy-node-db.c: (ephy_node_db_get_property), (ephy_node_db_set_property), (ephy_node_db_set_immutable): * lib/ephy-node-db.h: * lib/ephy-prefs.h: * src/bookmarks/ephy-bookmarks.c: (clear_favorites), (history_cleared_cb), (ephy_setup_history_notifiers): Implement history disabling. 2004-01-09 Christopher James Lahey * data/epiphany-lockdown.schemas.in, lib/ephy-prefs.h: Added disable_arbitrary_url, disable_toolbar_editing, and disable_history keys. * src/ephy-automation.c (impl_ephy_automation_loadurl): Make this ignore a url given on the command line if disable_arbitrary_url is on. * src/ephy-notebook.c (notebook_drag_data_received_cb): Made this ignore drags if disable_arbitrary_url is on. * src/ephy-session.c (ephy_session_load): Don't show history window if disable_history is on. * src/ephy-tab.c (ephy_tab_dom_mouse_click_cb): Disable middle click to paste url if disable_arbitrary_url is on. * src/ephy-window.c: Disable menu actions based on disable_arbitrary_url, disable_toolbar_editing, and disable_history keys. 2004-01-10 Christian Persch * embed/mozilla/ContentHandler.cpp: Fix type to make it compile with MOZILLA_SNAPSHOT <= 11 again. 2004-01-10 Christian Persch * src/ephy-notebook.c: (ephy_notebook_finalize): Call parent class' finalize. 2004-01-10 Christian Persch * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places. 2004-01-10 Christian Persch * embed/mozilla/FilePicker.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/MozillaPrivate.cpp: Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places. 2004-01-10 Christian Persch * embed/mozilla/ExternalProtocolHandlers.cpp: Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places. 2004-01-10 Christian Persch * embed/mozilla/EphyBrowser.cpp: Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places. 2004-01-10 Christian Persch * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places. 2004-01-10 Christian Persch * embed/mozilla/EphySingle.cpp: Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places instead of silent "if (...) return ...;". 2004-01-10 Christian Persch * embed/mozilla/EphyAboutRedirector.cpp: * embed/mozilla/EphyAboutRedirector.h: Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places instead of silent "if (...) return ...;". Really kill "about:options". 2004-01-10 Xan Lopez * data/ui/epiphany-ui.xml: * src/ephy-window.c: * src/popup-commands.c: (popup_cmd_download_link_as): * src/popup-commands.h: Add "Download Link As" to the link context menu. 2004-01-09 Christopher James Lahey * src/toolbar.c (update_location_editable): Check if embed is valid here. 2004-01-09 Christopher James Lahey * data/epiphany-lockdown.schemas.in, lib/ephy-prefs.h: Added disable_bookmark_editing key. * lib/ephy-node-db.c, ephy-node-db.h, ephy-node.c: Added immutable property. * lib/egg/egg-editable-toolbar.c (drag_data_received_cb, toolbar_drag_motion_cb), src/ephy-toolbars-model.c (impl_get_item_id): Made these handle immutable models/node_dbs. * src/ephy-automation.c, src/ephy-session.c: Don't show the bookmark editor if disabled. * src/ephy-window.c: Disable a bunch of menus if bookmark editing is disabled. * src/bookmarks/ephy-bookmarks-import.c, src/bookmarks/ephy-bookmarks.c: Disable bookmark editing and importing is key is set. Uses immutable property. 2004-01-09 Christian Persch * data/epiphany.schemas.in: * data/ui/epiphany-ui.xml: * embed/ephy-embed-prefs.h: * embed/mozilla/mozilla-notifiers.cpp: * src/ephy-window.c: (ephy_window_finalize), (browse_with_caret_notifier), (ephy_window_init): * src/pdm-dialog.c: (show_cookies_properties): * src/window-commands.c: (window_cmd_browse_with_caret): * src/window-commands.h: Add an accellerator-only action (F7) to toggle caret browsing. Hook up listener to set the mozilla pref, added the gconf key to the schema. 2004-01-09 Roozbeh Pournader * lib/ephy-state.c: Fixed a logic error in using & instead of && (bug #130919, Dave Jones). 2004-01-08 Christopher James Lahey * embed/mozilla/ContentHandler.cpp (MIMEAskAction): Don't save the file if disable_save_to_disk is on. * lib/ephy-prefs.h (CONF_DISABLE_SAVE_TO_DISK): Added this key here. * src/ephy-window.c (update_actions): Obey disable_save_to_disk. Also, disable toggling view settings if their keys are locked. 2004-01-06 Piers Cornwell * help/C/epiphany-C.omf Update help. 2004-01-06 Christian Persch * src/ephy-encodings.c: (ephy_encodings_get_node): Add a comment for translators. 2004-01-06 Christian Persch * src/ephy-encoding-menu.c: (update_encoding_menu_cb): Move "automatic" check back to where it was, since we now always have a node for the encoding. 2004-01-06 Christian Persch * Makefile.am: * configure.in: Sigh, yet another intltool change. Remove OrigTree.pm from EXTRA_DIST, and depend on intltool >= 0.29. 2004-01-06 Christian Persch * embed/ephy-encodings.c: (add_encoding), (ephy_encodings_get_node), (ephy_encodings_add_recent), (ephy_encodings_get_recent), (ephy_encodings_init): * embed/ephy-encodings.h: * src/ephy-encoding-dialog.c: (sync_embed_cb): * src/ephy-encoding-menu.c: (update_encoding_menu_cb), (add_action), (ephy_encoding_menu_set_window): * src/prefs-dialog.c: (create_node_combo): Behave better when the encoding used on the page is unknown to us. Previously we skipped important steps in menu building, resulting in incorrect encoding indicator. Now, we dynamically add an entry with name "Unknown" to our menu. Also add back some rarely used encodings (us-ascii, UTF-16*, UTF-32*) to our known encodings repertoire. 2004-01-06 Christian Persch * src/ephy-encoding-menu.c: (update_encoding_menu_cb): Always set the "automatic" toggle button correctly, even if the encoding wasn't found in our database 2004-01-06 Mohammad DAMT * configure.in: Added "id" in ALL_LINGUAS * po/id.po: Added Indonesian translation by Tunggul Arif Siswoyo 2004-01-06 Christian Persch * embed/mozilla/MozillaPrivate.cpp: Remove debug output leftover. 2004-01-06 Christian Persch * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/PrintingPromptService.cpp: Ensure that if the nsIDOMWindow provided is a frame inside an embed, we get the top-level window and then get the embed from that. Fixes bug #129028. 2004-01-04 Christian Persch * src/window-commands.c: (window_cmd_help_about): Added spark to documenters tab. 2004-01-04 Christian Persch * embed/print-dialog.c: (ephy_print_dialog_response_cb): Fix parent for help window. 2004-01-04 Piers Cornwell * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_get_type), (ephy_encoding_dialog_response_cb): Add help button to encodings dialogue. 2004-01-04 Piers Cornwell * data/glade/certificate-dialogs.glade: * data/glade/epiphany.glade: * data/glade/print.glade: * embed/mozilla/GtkNSSDialogs.cpp: * embed/print-dialog.c: (ephy_print_dialog_response_cb), (ephy_print_setup_dialog_help_button_cb): * src/pdm-dialog.c: (pdm_dialog_show_help): * src/prefs-dialog.c: (prefs_dialog_show_help): Add help buttons to Certificate Viewer, PDM, print and print setup dialogues. 2004-01-04 Christian Persch * src/ephy-window.c: (confirm_close_with_modified_forms): Daveb will hate me for this, but making the confirm dialogue only window-modal will make menus not work after cancelling the close. Removing this for the time being since it's a nasty regression, until I find the bug. 2004-01-04 Christian Persch * embed/ephy-embed.c: (ephy_embed_has_modified_forms): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Add API to check if an EphyEmbed has forms with user input in them. Currently it required one modified textarea, or two modified text fields. * src/ephy-notebook.c: (ephy_notebook_class_init), (close_button_clicked_cb): * src/ephy-notebook.h: * src/ephy-window.c: (confirm_close_with_modified_forms), (ephy_window_delete_event_cb), (tab_delete_cb), (setup_notebook), (ephy_window_init), (ephy_window_remove_tab): When closing a window or tab, check if there is unsubmitted user input in form fields, and if so, warn the user before closing. Fixes bug #119857. 2004-01-03 Michael Terry * data/ui/epiphany-ui.xml: Show copy text menu item also for links * src/ephy-window.c: (update_edit_actions_sensitivity), (enable_edit_actions_sensitivity), (edit_menu_show_cb), (edit_menu_hide_cb), (hide_embed_popup_cb), (show_embed_popup): Show copy text menu item only when there is actually selected text. 2004-01-03 Robert Sedak * configure.in: Added "hr" in ALL_LINGUAS. 2004-01-02 Taneem Ahmed * configure.in: Added "bn" to ALL_LINGUAS. 2004-01-01 Christian Persch * src/ephy-notebook.c: (notebook_drag_data_received_cb), (ephy_notebook_insert_page), (ephy_notebook_remove_page): * src/ephy-tab.c: (ephy_tab_for_embed), (ephy_tab_init): * src/ephy-tab.h: * src/ephy-tabs-menu.c: (tab_added_cb), (tab_removed_cb): * src/ephy-window.c: (tab_context_menu_cb), (tab_added_cb), (tab_removed_cb), (real_get_active_tab), (ephy_window_get_tabs): New API to get the EphyTab from an EphyEmbed. Port all users. 2004-01-01 Christian Persch * embed/ephy-command-manager.c: (ephy_command_manager_get_type), (ephy_command_manager_base_init), (ephy_command_manager_do_command), (ephy_command_manager_can_do_command): * embed/ephy-command-manager.h: * embed/ephy-cookie-manager.c: (ephy_cookie_manager_list_cookies), (ephy_cookie_manager_remove_cookie), (ephy_cookie_manager_clear): * embed/ephy-cookie-manager.h: * embed/ephy-embed-dialog.h: * embed/ephy-embed-shell.c: * embed/ephy-embed-single.c: (ephy_embed_single_get_type), (ephy_embed_single_iface_init), (ephy_embed_single_clear_cache), (ephy_embed_single_clear_auth_cache), (ephy_embed_single_set_offline_mode), (ephy_embed_single_load_proxy_autoconf), (ephy_embed_single_get_font_list): * embed/ephy-embed-single.h: * embed/ephy-embed.c: (ephy_embed_get_type), (ephy_embed_base_init), (ephy_embed_load_url), (ephy_embed_stop_load), (ephy_embed_can_go_back), (ephy_embed_can_go_forward), (ephy_embed_can_go_up), (ephy_embed_get_go_up_list), (ephy_embed_go_back), (ephy_embed_go_forward), (ephy_embed_go_up), (ephy_embed_get_title), (ephy_embed_get_location), (ephy_embed_get_link_message), (ephy_embed_get_js_status), (ephy_embed_reload), (ephy_embed_zoom_set), (ephy_embed_zoom_get), (ephy_embed_shistory_n_items), (ephy_embed_shistory_get_nth), (ephy_embed_shistory_get_pos), (ephy_embed_shistory_go_nth), (ephy_embed_get_security_level), (ephy_embed_find_set_properties), (ephy_embed_find_next), (ephy_embed_activate), (ephy_embed_set_encoding), (ephy_embed_get_encoding_info), (ephy_embed_print), (ephy_embed_print_preview_close), (ephy_embed_print_preview_n_pages), (ephy_embed_print_preview_navigate): * embed/ephy-embed.h: * embed/ephy-password-manager.h: * embed/ephy-permission-manager.h: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * embed/mozilla/mozilla-embed.cpp: Unify interface struct and type macro naming to be EphyFooIFace, EPHY_FOO_IFACE, EPHY_IS_FOO_IFACE, EPHY_FOO_GET_IFACE. 2004-01-01 Christian Persch * embed/ephy-embed-prefs.h: * embed/mozilla/mozilla-notifiers.cpp: Remove default font notifier, it's been obsoleted by the fonts rewrite. 2004-01-01 Christian Persch * embed/mozilla/mozilla-notifiers.cpp: Set socks prefs from gconf too. 2004-01-01 Roozbeh Pournader * configure.in: Added "fa" (Persian) to ALL_LINGUAS. 2003-12-31 Christian Persch * embed/mozilla/MozDownload.cpp: * embed/print-dialog.c: (ephy_print_get_print_info): Fix mem leaks. 2003-12-30 Christian Persch * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Adjust includes to make it compile with mozila 1.4. 2003-12-30 Christian Persch * embed/ephy-embed-single.c: (ephy_embed_single_clear_auth_cache): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-single.cpp: Add API to EphyEmbedSingle to clear the HTTP authentication cache. 2003-12-29 Christian Persch * embed/ephy-embed-shell.c: (ephy_embed_shell_get_favicon_cache), (ephy_embed_shell_get_global_history), (ephy_embed_shell_get_downloader_view), (ephy_embed_shell_get_embed_single), (ephy_embed_shell_get_encodings), (ephy_embed_shell_check_mime), (ephy_embed_shell_class_init): * embed/ephy-embed-shell.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/mozilla-notifiers.cpp: * src/bookmarks/ephy-bookmarks.c: (compute_lower_fav), (ephy_setup_history_notifiers): * src/ephy-completion-model.c: (ephy_completion_model_init): * src/ephy-shell.c: (ephy_shell_get_history_window): * src/ephy-tab.c: (ephy_tab_set_icon_address), (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb): * src/ephy-toolbars-model.c: (impl_get_item_id): * src/prefs-dialog.c: (setup_font_combo), (prefs_clear_cache_button_clicked_cb): Unified return type of ephy_embed_shell_get_X to be GObject *. Fixed all callers. 2003-12-28 Christian Persch * Makefile.am: Added OrigTree.pm to EXTRA_DIST. 2003-12-28 Marco Pesenti Gritti * NEWS: * configure.in: Update for 1.1.2 2003-12-27 Christian Persch * lib/egg/egg-editable-toolbar.c: (find_action), (drag_data_delete_cb), (drag_data_get_cb), (egg_editable_toolbar_set_model), (egg_editable_toolbar_set_merge), (egg_editable_toolbar_class_init), (egg_editable_toolbar_init), (egg_editable_toolbar_finalize), (egg_editable_toolbar_new): * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbar-editor.c: (find_action), (egg_toolbar_editor_set_merge), (egg_toolbar_editor_set_model), (egg_toolbar_editor_class_init), (egg_toolbar_editor_finalize), (egg_toolbar_editor_new), (editor_drag_data_received_cb), (editor_drag_data_delete_cb), (update_editor_sheet), (setup_editor), (egg_toolbar_editor_init): * lib/egg/egg-toolbar-editor.h: * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_to_xml), (egg_toolbars_model_save), (egg_toolbars_model_add_separator), (impl_add_item), (egg_toolbars_model_add_toolbar), (egg_toolbars_model_load), (egg_toolbars_model_class_init), (egg_toolbars_model_init), (egg_toolbars_model_finalize), (egg_toolbars_model_new), (egg_toolbars_model_remove_toolbar), (egg_toolbars_model_remove_item): * lib/egg/egg-toolbars-model.h: Brought type macros in line with the rest of libegg; and use gobject instance private data. * src/ephy-toolbars-model.c: (ephy_toolbars_model_get_type), (update_toolbar_removeable_flag), (ephy_toolbars_model_set_bookmarks), (toolbar_added), (toolbar_removed), (ephy_toolbars_model_new), (ephy_toolbars_model_has_bookmark): * src/ephy-toolbars-model.h: * src/toolbar.c: (toolbar_get_type), (init_normal_mode): Fix crasher bug #129991. 2003-12-26 Christian Persch * src/prefs-dialog.c: (prefs_dialog_finalize), (prefs_download_path_button_clicked_cb): One download directory chooser is enough. 2003-12-25 Christian Persch * src/ephy-window.h: * src/toolbar.h: Move Toolbar struct decl to toolbar.h. 2003-12-25 Christian Persch * src/ephy-window.c: (ephy_window_get_toolbar), (ephy_window_set_zoom): * src/ephy-window.h: * src/window-commands.c: (window_cmd_edit_toolbar), (window_cmd_load_location): Bring ephy_window_get_toolbar signature in line with ephy_window_get_[statusbar|notebook]. 2003-12-24 Christian Persch * embed/mozilla/EventContext.cpp: GDK_Meta_L is a keycode, not a modifier code. Map meta to GDK_MOD2_MASK. 2003-12-23 David Bordoley * help/C/epiphany.xml: Updated printing docs from spark. GET A CVS ACCOUNT! *hint*hint* patch from Piers Cornwell 2003-12-22 Christian Persch * embed/ephy-encodings.c: (ephy_encodings_add_recent): Fix mem leak. (Found by Crispin.) 2003-12-22 Marco Pesenti Gritti * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Correctly cancel the download instead of just cancelling the request. 2003-12-21 Xan Lopez * embed/downloader-view.c: (download_dialog_pause_cb): * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-download.cpp: Re-implement Pause/Resume in downloader. * src/window-commands.c: (window_cmd_help_about): Change mail address. 2003-12-21 Christian Persch * embed/mozilla/GtkNSSClientAuthDialogs.cpp: Sync with galeon. 2003-12-21 Christian Persch * data/glade/epiphany.glade: (encoding_dialog): Change mnemonic. 2003-12-20 Marco Pesenti Gritti * src/epiphany.in: Do not try to pickup already set MOZILLA_FIVE_HOME, hopefully fix crashes oepning links from thunderbird 2003-12-20 Christian Persch * embed/mozilla/EphyAboutRedirector.cpp: Get rid of about:options. 2003-12-20 Christian Neumair * src/prefs-dialog.c: (get_download_button_label): Set the download folder selection label to "Home" if download folder is home folder (#129737). 2003-12-20 Christian Persch * lib/ephy-gui.c: (ephy_gui_menu_position_under_widget): Fix popup coordinates in RTL mode. 2003-12-20 Christian Persch * data/glade/prefs-dialog.glade: (add_language_dialog): Set the label's mnemonic widget. 2003-12-19 Christian Persch * src/ephy-navigation-action.c: (ephy_navigation_action_get_type), (new_history_menu_item), (setup_back_or_forward_menu), (setup_up_menu): Use favicons in the back/forward menus. 2003-12-19 Christian Persch * configure.in: Prepare for mozilla 1.6final and 1.7a. 2003-12-19 Christian Persch * src/ephy-encoding-dialog.c: (sync_embed_cb): * src/ephy-encoding-menu.c: (update_encoding_menu_cb): Use return, not g_return_if_fail. 2003-12-19 Christian Persch * embed/print-dialog.c: (ephy_print_dialog_browse_button_cb): EphyFileChooser now destroys with parent, don't set the flag again here. 2003-12-19 Christian Persch * lib/ephy-file-chooser.c: (ephy_file_chooser_new): Destroy file chooser with its parent window; fixes crashes. 2003-12-19 Christian Persch * src/ephy-tab.c: (ephy_tab_dom_mouse_click_cb): Improve comment. * src/ephy-window.c: (setup_ui_manager), (setup_notebook), (ephy_window_init): Only show the toolbar after the extensions have been attached to the window. 2003-12-19 Christian Persch * src/prefs-dialog.c: (add_lang_dialog_response_cb): Remove debug output leftovers. 2003-12-18 Christian Persch * data/glade/prefs-dialog.glade: * embed/mozilla/mozilla-notifiers.cpp: * src/Makefile.am: * src/language-editor.c: * src/language-editor.h: * src/prefs-dialog.c: (prefs_dialog_finalize), (prefs_dialog_class_init), (language_editor_add), (language_editor_update_pref), (language_editor_update_buttons), (add_lang_dialog_response_cb), (setup_add_language_dialog), (language_editor_add_button_clicked_cb), (language_editor_remove_button_clicked_cb), (language_editor_up_button_clicked_cb), (language_editor_down_button_clicked_cb), (language_editor_treeview_drag_end_cb), (language_editor_selection_changed_cb), (create_language_section), (prefs_dialog_init): In-line the language editor in the prefs dialogue. 2003-12-18 Christian Persch * embed/ephy-encodings.c: (ephy_encoding_info_is_automatic): * embed/ephy-encodings.h: * src/ephy-encoding-dialog.c: (sync_embed_cb): * src/ephy-encoding-menu.c: (update_encoding_menu_cb): Factor out the common encoding is_automatic check. 2003-12-17 Christian Persch * src/ephy-tab.c: (ephy_tab_dom_mouse_click_cb): Don't try to save the submit button image instead of submitting the form. [Found by xan.] 2003-12-16 Christian Persch * lib/widgets/ephy-location-entry.c: (completion_func): Fix more mem leaks. 2003-12-16 Christian Persch * lib/widgets/ephy-location-entry.c: (completion_func): Fix mem leak. (Found by synap.) 2003-12-16 Marco Pesenti Gritti * embed/ephy-encodings.c: (ephy_encodings_get_encodings): * embed/ephy-favicon-cache.c: (icons_added_cb), (icons_removed_cb), (remove_obsolete_icons), (ephy_favicon_cache_init), (kill_download), (ephy_favicon_cache_finalize), (ephy_favicon_cache_get): * embed/ephy-history.c: (remove_obsolete_pages), (hosts_added_cb), (hosts_removed_cb), (pages_added_cb), (pages_removed_cb), (update_host_on_child_remove), (update_hosts), (ephy_history_init), (ephy_history_finalize), (ephy_history_get_host), (ephy_history_get_page): * lib/Makefile.am: * lib/ephy-node-db.c: (ephy_node_db_init), (ephy_node_db_finalize), (ephy_node_db_get_node_from_id), (_ephy_node_db_new_id), (_ephy_node_db_add_id), (_ephy_node_db_remove_id), (ephy_node_db_write_to_xml_valist): * lib/ephy-node-filter.c: (ephy_node_filter_expression_evaluate): * lib/ephy-node.c: (ephy_node_finalize), (real_remove_child), (remove_child), (ephy_node_dispose), (ephy_node_new_with_id), (ephy_node_get_id), (ephy_node_ref), (ephy_node_unref), (child_changed), (ephy_node_set_property), (ephy_node_get_property), (ephy_node_get_property_string), (ephy_node_get_property_boolean), (ephy_node_get_property_long), (ephy_node_get_property_int), (ephy_node_get_property_double), (ephy_node_get_property_float), (ephy_node_get_property_node), (write_parent), (ephy_node_write_to_xml), (ephy_node_add_child), (ephy_node_remove_child), (ephy_node_has_child), (ephy_node_sort_children), (ephy_node_reorder_children), (ephy_node_get_children), (ephy_node_get_n_children), (ephy_node_get_nth_child), (ephy_node_get_child_index), (ephy_node_get_next_child), (ephy_node_get_previous_child): * lib/ephy-node.h: * lib/ephy-state.c: (find_by_name): * lib/ephy-thread-helpers.c: * lib/ephy-thread-helpers.h: * lib/widgets/ephy-search-entry.c: (ephy_search_entry_timeout_cb): * lib/widgets/ephy-tree-model-node.c: (filter_changed_cb): * src/bookmarks/ephy-bookmarks-editor.c: (search_entry_search_cb): * src/bookmarks/ephy-bookmarks-export.c: (write_topics_list), (ephy_bookmarks_export_rdf): * src/bookmarks/ephy-bookmarks-menu.c: (add_bookmarks_menu), (ephy_bookmarks_menu_rebuild): * src/bookmarks/ephy-bookmarks.c: (compute_lower_fav), (get_topics_list), (topics_removed_cb), (ephy_bookmarks_find_bookmark), (ephy_bookmarks_find_keyword): * src/bookmarks/ephy-topic-action.c: (append_bookmarks_menu), (build_topics_menu): * src/bookmarks/ephy-topics-selector.c: (fill_model): * src/ephy-favorites-menu.c: (ephy_favorites_menu_rebuild): * src/ephy-history-window.c: (setup_filters): * src/ephy-location-action.c: (init_actions_list): * src/ephy-main.c: (main): No need to make our life hard being thread safe when we never use that code in a thread. 2003-12-15 Christian Persch * src/Makefile.am: Don't install statusbar.h. 2003-12-15 Christian Persch * src/ephy-extension.c: (ephy_extension_get_type): Fix silly type flags. 2003-12-15 Christian Persch * lib/widgets/ephy-zoom-action.c: (connect_proxy): Don't use deprecated macro. 2003-12-14 Christian Persch * src/ephy-nautilus-view.c: (ephy_nautilus_view_finalize), (gnv_cmd_select_encoding), (gnv_cmd_file_print), (gnv_cmd_edit_find): Fix mem leaks. Fix a crash when finalizing a nautilus view after having used the find dialogue. 2003-12-13 Christian Persch * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import_mozilla): Better way of mapping hierarchy to topics when importing bookmarks from mozilla. Fixes bug #124145. 2003-12-13 Christian Persch * lib/ephy-string.c: (ephy_string_shorten), (ephy_string_to_int), (ephy_string_blank_chr), (ephy_string_elide_underscores), (ephy_string_double_underscores): * lib/ephy-string.h: * src/ephy-tab.c: (ephy_tab_set_link_message): Convert control chars to blanks. 2003-12-13 Christian Persch * embed/print-dialog.c: (ephy_print_setup_dialog_new): * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: * src/ephy-window.c: Use stock icon for print setup. 2003-12-13 Christian Persch * lib/widgets/ephy-spinner.c: (ephy_spinner_init): Use g_signal_connect_object so the signal isn't emitted for a dead spinner. 2003-12-13 Marco Pesenti Gritti * src/ephy-tab.c: (update_net_state_message), (ephy_tab_net_state_cb): Rework progress message building a bit to deal with the new NULL == clear behavior 2003-12-13 Marco Pesenti Gritti Adam Hooper * src/ephy-tab.c: (ephy_tab_set_link_message), (build_net_state_message), (ephy_tab_net_state_cb), (ephy_tab_init), (ephy_tab_get_status_message): * src/ephy-window.c: (sync_tab_message), (ephy_window_init): * src/statusbar.c: (statusbar_set_progress): * src/statusbar.h: 2003-12-12 Christian Persch * embed/ephy-permission-manager.c: (ephy_permission_info_new), (ephy_permission_info_copy), (ephy_permission_manager_add): * embed/ephy-permission-manager.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/mozilla-embed-single.cpp: Fix permission return types. 2003-12-10 Christian Persch * data/glade/print.glade: Make print dialogue spacing HIG-compliant. * src/ephy-tabs-menu.c: (tab_set_action_accelerator), (ephy_tabs_menu_update): Restore tabs menu shortcut keys ALT-1 .. ALT-0 for the first ten tabs; they somehow got lost in the Egg->Gtk port. 2003-12-09 Marco Pesenti Gritti * data/epiphany.schemas.in: Default history to show only title 2003-12-09 Adam Hooper * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/Makefile.am: Move events code inside EphyBrowser.cpp and add an event for blocked popup. * embed/ephy-permission-manager.c: Some more docs * src/Makefile.am: * src/ephy-window.c: (ephy_window_get_statusbar): * src/ephy-window.h: Add a way to access the statusbar for plugins 2003-12-09 Jorn Baayen * lib/egg/egg-editable-toolbar.c: (set_item_drag_source): * lib/egg/egg-toolbar-editor.c: (compare_func), (sort_list), (editor_drag_data_received_cb), (editor_drag_data_delete_cb), (editor_create_item), (update_editor_sheet), (egg_toolbar_editor_add_action), (egg_toolbar_editor_load_actions): * src/toolbar.c: (toolbar_setup_actions): Make toolbar editing drag icons use the same icon size as the actual toolbar icons; sort actions in the toolbar editor; give the zoom action a zoom icon. 2003-12-09 Marco Pesenti Gritti * autogen.sh: depend on automake 1.7, it seem it's needed by the deprecates code. 2003-12-09 Christian Persch * lib/widgets/ephy-spinner.c: (ephy_spinner_get_type), (ephy_spinner_new), (get_spinner_dimensions), (ephy_spinner_init), (select_spinner_image), (ephy_spinner_expose), (bump_spinner_frame), (ephy_spinner_start), (ephy_spinner_remove_update_callback), (ephy_spinner_stop), (ephy_spinner_unload_images), (scale_to_real_size), (extract_frame), (ephy_spinner_load_images), (ephy_spinner_set_small_mode): Reformatted to conform to epiphany coding style. Fix some error condition checks, and initialise variables. 2003-12-09 Christian Persch * data/glade/prefs-dialog.glade: * embed/print-dialog.c: (ephy_print_dialog_new): * src/prefs-dialog.c: (create_language_menu), (create_download_path_label), (prefs_dialog_init): Lockdown: set some buttons insensitive when their pref key is not writable. * src/prefs-dialog.c: (download_path_response_cb): Convert filename to utf8 first. 2003-12-09 Christian Persch * configure.in: Bump gtk+ and glib dependencies to 2.3.1. 2003-12-08 Christian Persch * src/prefs-dialog.c: (setup_font_combo), (create_fonts_language_menu), (create_node_combo), (create_language_menu): Sort the list of fonts alphabetically. Fix a bunch of mem leaks. 2003-12-08 Christian Persch * embed/ephy-embed-shell.c: (load_mime_from_xml): Don't use g_return_if_fail for run-time error conditions. 2003-12-08 Christian Persch * src/ephy-tab.c: (save_property_url), (ephy_tab_dom_mouse_click_cb): Make ctrl-click equivalent of middle click on links. Make shift-click save the link. Fixes bug #110786. * src/ephy-window.c: (tab_context_menu_cb): Fix context_menu function return value type. 2003-12-07 Marco Pesenti Gritti * Makefile.am: * NEWS: * configure.in: Update for 1.1.1 2003-12-07 Christian Persch * data/glade/print.glade: * data/ui/epiphany-ui.xml: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/print-dialog.c: (ephy_print_info_free), (ephy_print_get_print_info), (ephy_print_dialog_response_cb), (print_filechooser_response_cb), (ephy_print_dialog_browse_button_cb), (ephy_print_setup_dialog_close_button_cb), (ephy_print_dialog_new), (ephy_print_setup_dialog_new): * embed/print-dialog.h: * src/ephy-nautilus-view.c: (ephy_nautilus_view_new_component), (gnv_cmd_file_print): * src/ephy-nautilus-view.h: * src/ephy-shell.c: (ephy_shell_get_type), (ephy_shell_class_init), (ephy_automation_factory_cb), (ephy_automation_factory_new), (ephy_shell_init), (server_timeout), (ephy_shell_startup), (ephy_shell_finalize), (ephy_shell_new_tab), (ephy_shell_get_session), (ephy_shell_get_bookmarks), (ephy_shell_get_toolbars_model), (ephy_shell_get_bookmarks_editor), (ephy_shell_get_history_window), (ephy_shell_get_print_setup_dialog), (ephy_shell_delete_on_exit): * src/ephy-shell.h: * src/ephy-window.c: (ephy_window_set_print_preview), (ephy_window_print): * src/ephy-window.h: * src/window-commands.c: (window_cmd_file_print_setup), (window_cmd_file_print_preview): * src/window-commands.h: Split print dialogue in print setup and actual print, and move print preview into the menus too. Made print setup a global dialogue, print a per-window dialogue. * lib/ephy-dialog.c: (set_value_from_pref), (set_pref_from_value), (set_value_from_combobox), (set_combo_box_from_value), (set_radiobuttongroup_from_value), (set_pref_from_info_and_emit), (togglebutton_clicked_cb), (radiobutton_clicked_cb), (spinbutton_timeout_cb), (changed_cb), (init_props), (load_info), (save_info), (impl_show), (ephy_dialog_set_size_group), (ephy_dialog_construct), (run_response_cb), (ephy_dialog_run), (ephy_dialog_set_parent), (ephy_dialog_class_init), (ephy_dialog_new_with_parent): * lib/ephy-dialog.h: * src/language-editor.c: (language_editor_class_init): * src/language-editor.h: * src/pdm-dialog.c: (pdm_dialog_init): * src/prefs-dialog.c: (fonts_language_changed_cb), (create_fonts_language_menu), (prefs_dialog_init), (prefs_language_more_button_clicked_cb): Slight api change; port callers. 2003-12-02 David Bordoley * help/C/epiphany.xml: New Securing and snake oil certificates section :P New keybindings section. Update the prefs section and download section to match actual ui patch from Piers Cornwell 2003-12-06 Christian Persch * embed/mozilla/mozilla-embed-single.cpp: Fix a mem leak (ported from galeon). 2003-12-06 Christian Persch * embed/ephy-embed-shell.c: (ephy_embed_shell_get_type), (ephy_embed_shell_finalize), (ephy_embed_shell_get_favicon_cache), (ephy_embed_shell_get_global_history), (ephy_embed_shell_get_downloader_view), (load_mime_from_xml), (ephy_embed_shell_init), (ephy_embed_shell_class_init): * embed/ephy-embed-shell.h: * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * src/ephy-tab.c: (ephy_tab_init): Misc cleanups. Remove a duplicated signal from EphyEmbed. 2003-12-05 Christian Persch * lib/ephy-state.c: (sync_expander_cb), (ephy_state_add_expander): Use notify::expanded to persist expander state. Bug found by Crispin. 2003-12-05 Christian Persch * embed/mozilla/GtkNSSClientAuthDialog.cpp: Remove unused variable. 2003-12-05 Christian Persch * embed/mozilla/GtkNSSClientAuthDialogs.cpp: Remove unneccessary _() call. 2003-12-04 Christian Persch * embed/mozilla/EphyBrowser.cpp: Add some missing NULL checks. 2003-12-03 Christian Persch * lib/widgets/ephy-spinner.c: Remove unused includes. 2003-12-03 Christian Persch * embed/mozilla/Makefile.am: Epiphany is now 100% fat-free.... err... free of deprecated widgets. Add -DGTK_DISABLE_DEPRECATED flag back again when in maintainer mode. 2003-12-03 Christian Persch * embed/mozilla/GtkNSSClientAuthDialogs.cpp: Port from optionmenu to new GtkComboBox. 2003-12-03 Christian Persch * embed/mozilla/GtkNSSDialogs.cpp: * src/pdm-dialog.c: (show_cookies_properties): Fix strftime(3) usage. 2003-12-03 Christian Persch * src/pdm-dialog.c: (pdm_cmd_delete_selection), (compare_cookies): Fix two crashers. 2003-12-03 Piers Cornwell * src/pdm-dialog.c: (show_cookies_properties): Improve cookie properties dialogue for bug #125498. 2003-12-02 Christian Persch * lib/ephy-dialog.c: (set_info_from_pref): Set sensitivity from gconf key writability, and do it right. 2003-12-02 David Bordoley * help/C/epiphany.xml: More cleanups. Added prefs section and downloader section. Still needs work to be brought 100% up2date. patch from Piers Cornwell 2003-12-02 Christian Persch * embed/mozilla/mozilla-notifiers.cpp: Add /system/http_proxy to list of directories to monitor. 2003-12-02 Xan Lopez * data/mime-types-permissions.xml: Move quite a lot of things from unsafe to safe, still some to go. 2003-12-01 Marco Pesenti Gritti * src/ephy-shell.c: (ephy_shell_get_history_window): pass the shell to the callbacks as expected. Fix warnings. 2003-12-01 Marco Pesenti Gritti * embed/mozilla/mozilla-embed.cpp: Handle case of get_location on an unrealized widget 2003-11-30 Christian Persch * src/window-commands.c: Update my email address. 2003-11-30 Christian Persch * src/language-editor.c: (language_editor_add): Fix mem leak introduced by last commit. 2003-11-30 Christian Persch * lib/ephy-dialog.c: Remove gtkoptionmenu.h include. * src/language-editor.c: (language_editor_add): * src/prefs-dialog.c: (create_language_menu): Make languages list unique; don't allow to add an entry already in the list. 2003-11-30 Marco Pesenti Gritti * embed/Makefile.am: * lib/Makefile.am: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Readd gtk deprecates (only in maintainer mode). * src/ephy-location-action.c: (sync_editable): Use not deprecated api. * lib/ephy-dialog.c: (set_value_from_info), (set_info_from_value), (connect_signals), (init_props): Remove optionmenu deprecated control. 2003-11-30 Christian Persch * data/epiphany-lockdown.schemas.in: Added disable_unsafe_protocols and additional_safe_protocols keys. 2003-11-30 Christian Persch * configure.in: * data/glade/epiphany.glade: * data/glade/prefs-dialog.glade: * embed/downloader-view.c: (downloader_view_build_ui): * embed/ephy-embed-dialog.c: (ephy_embed_dialog_new_with_parent): * embed/ephy-encodings.c: (ephy_encodings_get_detectors): * embed/ephy-encodings.h: * embed/find-dialog.c: (update_navigation_controls), (set_properties), (impl_show), (find_dialog_class_init), (find_dialog_init), (find_dialog_new_with_parent): * embed/print-dialog.c: (impl_show), (print_dialog_init), (print_dialog_new_with_parent), (print_get_info): * lib/ephy-dialog.c: (ephy_dialog_get_type), (lookup_info), (set_sensitivity), (set_value_from_pref), (set_pref_from_value), (set_value_from_editable), (set_value_from_optionmenu), (set_value_from_combobox), (get_radio_button_active_index), (set_value_from_radiobuttongroup), (set_value_from_spin_button), (set_value_from_togglebutton), (set_value_from_info), (set_editable_from_value), (get_index_from_value), (set_optionmenu_from_value), (compare_values), (set_combo_box_from_value), (set_radiobuttongroup_from_value), (set_spin_button_from_value), (set_togglebutton_from_value), (set_info_from_value), (set_pref_from_info), (togglebutton_clicked_cb), (radiobutton_clicked_cb), (spinbutton_timeout_cb), (spinbutton_changed_cb), (changed_cb), (set_info_from_pref), (connect_signals), (disconnect_signals), (init_props), (load_info), (save_info), (setup_default_size), (dialog_destroy_cb), (impl_construct), (impl_show), (ephy_dialog_set_modal), (ephy_dialog_add_enum), (ephy_dialog_set_data_column), (ephy_dialog_set_pref), (ephy_dialog_set_size_group), (ephy_dialog_construct), (ephy_dialog_show), (ephy_dialog_run), (ephy_dialog_get_control), (ephy_dialog_get_value), (ephy_dialog_set_value), (free_prop_info), (ephy_dialog_init), (ephy_dialog_dispose), (ephy_dialog_finalize), (ephy_dialog_set_parent), (ephy_dialog_set_property), (ephy_dialog_get_property), (ephy_dialog_class_init), (ephy_dialog_new), (ephy_dialog_new_with_parent): * lib/ephy-dialog.h: * lib/ephy-file-chooser.c: (ephy_file_chooser_new): * src/ephy-encoding-dialog.c: (sync_embed_cb), (sync_parent_window_cb), (activate_choice), (view_node_selected_cb), (view_node_activated_cb), (ephy_encoding_dialog_init), (ephy_encoding_dialog_new): * src/ephy-shell.c: (ephy_shell_finalize), (ephy_shell_get_pdm_dialog), (ephy_shell_get_prefs_dialog): * src/ephy-shell.h: * src/language-editor.c: (language_editor_get_type), (language_editor_class_init), (language_editor_update_pref), (language_editor_add_button_clicked_cb), (language_editor_set_view), (language_editor_init), (language_editor_new), (language_editor_set_model), (language_editor_add): * src/language-editor.h: * src/pdm-dialog.c: (pdm_dialog_show_help), (action_treeview_selection_changed_cb), (setup_action), (cookies_treeview_selection_changed_cb), (pdm_dialog_cookies_construct), (pdm_dialog_passwords_construct), (pdm_dialog_init), (show_cookies_properties): * src/prefs-dialog.c: (prefs_dialog_get_type), (prefs_dialog_class_init), (prefs_dialog_show_help), (setup_font_combo), (fonts_language_combo_changed_cb), (create_fonts_language_menu), (create_node_combo), (language_combo_changed_cb), (create_language_menu), (get_download_button_label), (create_download_path_label), (prefs_dialog_init), (prefs_dialog_response_cb), (set_homepage_entry), (prefs_homepage_current_button_clicked_cb), (prefs_homepage_blank_button_clicked_cb), (language_dialog_changed_cb), (prefs_language_more_button_clicked_cb), (download_path_response_cb), (prefs_download_path_button_clicked_cb): * src/prefs-dialog.h: * src/window-commands.c: (window_cmd_edit_prefs): Improved API and implementation of EphyDialog. Add support for new combo box, and removed optionmenu. Port all dialogues to new API and use combobox instead of optionmenus. 2003-11-30 Chris Lahey Marco Pesenti Gritti * data/Makefile.am: * data/epiphany-lockdown.schemas.in: * src/ephy-main.c: (main): * src/ephy-tab.c: (ephy_tab_new_window_cb), (ephy_tab_size_to_cb): * src/ephy-window.c: (update_chromes_visibility), (update_chrome), (ephy_window_fullscreen), (ephy_window_unfullscreen), (show_embed_popup), (update_layout_toggles), (chrome_notifier), (ephy_window_init), (ephy_window_finalize), (ephy_window_request_chrome), (ephy_window_set_print_preview), (ephy_window_show), (print_dialog_preview_cb): * src/ephy-window.h: * src/ppview-toolbar.c: (ppview_toolbar_set_window), (toolbar_cmd_ppv_close): * src/window-commands.c: (window_cmd_view_bookmarks_bar), (window_cmd_view_toolbar), (window_cmd_view_statusbar): Implement lockdown pref to not allow javascript to modify chromes. Do necessary changes to chromes code to make it possible. 2003-11-28 Marco Pesenti Gritti * embed/downloader-view.c: (status_icon_activated), (seconds_remaining_total), (update_status_icon), (download_changed_cb), (downloader_view_add_download): Show total downloads and time in the tray icon tooltip 2003-11-28 Christian Persch * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_get_type), (proxy_menu_activate_cb), (combo_changed_cb), (sync_zoom_cb), (ephy_zoom_control_init), (ephy_zoom_control_set_tooltip), (ephy_zoom_control_class_init), (ephy_zoom_control_finalize): * lib/widgets/ephy-zoom-control.h: Port from option menu to GtkComboBox. 2003-11-28 Xan Lopez * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Do not blindly overwrite when downloading a file with the same name than a local one, append a number after the name. Fixes (more or less) #12775 2003-11-27 Piers Cornwell * data/glade/prefs-dialog.glade: Fix some mnemonics, and make some mnemonics work by assigning a mnemonic_widget. 2003-11-26 Christian Persch * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyContentPolicy.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: Implement disabling unsafe protocols for lock-down mode. 2003-11-26 Christian Persch * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_finalize), (ephy_shell_get_history_window), (ephy_shell_get_pdm_dialog): * src/ephy-shell.h: * src/pdm-dialog.c: (pdm_dialog_response_cb): * src/pdm-dialog.h: * src/window-commands.c: (window_cmd_edit_personal_data): Make PDM dialogue a singleton. 2003-11-26 Christian Persch * embed/ephy-cookie-manager.c: (ephy_cookie_copy), (ephy_cookie_manager_remove_cookie): * embed/ephy-cookie-manager.h: * embed/ephy-password-manager.c: (ephy_password_info_copy): * embed/ephy-password-manager.h: * embed/ephy-permission-manager.c: (ephy_permission_info_copy): * embed/ephy-permission-manager.h: * embed/mozilla/mozilla-embed-single.cpp: Mark parameters "const" where appropriate. * src/pdm-dialog.c: (pdm_cmd_delete_selection), (compare_cookies), (cookie_to_iter), (cookie_added_cb), (cookie_changed_cb), (cookie_deleted_cb), (cookies_cleared_cb), (pdm_dialog_fill_cookies_list), (pdm_dialog_fill_passwords_list), (pdm_dialog_init): Make the cookies list auto-updating. 2003-11-26 Marco Pesenti Gritti * data/ui/epiphany-ui.xml: * src/ephy-window.c: (update_edit_actions_sensitivity), (edit_menu_show_cb), (show_embed_popup): Restore clipboard actions in input context menu. Show it only if mozilla is recent enough though. 2003-11-26 Marco Pesenti Gritti * embed/downloader-view.c: (update_download_row), (download_changed_cb), (downloader_view_add_download), (downloader_view_build_ui): * lib/widgets/ephy-cell-renderer-progress.c: Try out a different layout for downloads rows. Make the file column expand. 2003-11-25 Christian Persch * embed/ephy-cookie-manager.c: (ephy_cookie_manager_base_init): * embed/ephy-cookie-manager.h: * embed/ephy-permission-manager.c: (ephy_permission_manager_base_init): * embed/mozilla/EphySingle.cpp: Change signal names to be unique for interfaces on the same object. 2003-11-25 Christian Persch * embed/ephy-cookie-manager.c: (ephy_cookie_manager_base_init): Fix marshaller type. 2003-11-25 Christian Persch * embed/mozilla/EphySingle.cpp: Make it compile with mozilla < 1.5. 2003-11-24 Xan Lopez * embed/downloader-view.c: (download_changed_cb): Use gnome_vfs_format_file_size_for_display to display size, put Unknown when size/remaining time are unknown instead of weird numbers. 2003-11-24 Christian Persch * embed/ephy-permission-manager.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphySingle.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-single.cpp: * src/ephy-encoding-dialog.c: (sync_embed_encoding), (automatic_toggled_cb), (ephy_encoding_dialog_init): Implemented cookie and permissions observer used to actually send notifications on EphyCookieManager and EphyPermissionManager signals. 2003-11-24 Christian Persch * embed/mozilla/nsUnicharUtils.cpp: * embed/mozilla/nsUnicharUtils.h: Re-sync with mozilla. 2003-11-24 Christian Persch * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyEventListener.cpp: * embed/mozilla/ExternalProtocolHandlers.cpp: * embed/mozilla/ExternalProtocolHandlers.h: * embed/mozilla/ExternalProtocolService.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-notifiers.cpp: Get rid of NS_INIT_ISUPPORTS() macros in constructors; it's not been needed since mozilla 1.3. 2003-11-24 Marco Pesenti Gritti * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/mozilla-embed-single.cpp: No need to handle mailto registration separately. 2003-11-24 Christian Persch * data/glade/epiphany.glade: Delete the obsolete mime-ask-action dialogue from glade file. 2003-11-24 Christian Persch * src/pdm-dialog.c: (pdm_dialog_get_type), (pdm_dialog_class_init), (action_treeview_selection_changed_cb), (pdm_cmd_delete_selection), (pdm_key_pressed_cb), (pdm_dialog_remove_button_clicked_cb), (setup_action), (cookies_treeview_selection_changed_cb), (pdm_dialog_cookies_construct), (cookie_added_cb), (cookie_changed_cb), (cookie_deleted_cb), (cookies_cleared_cb), (pdm_dialog_fill_cookies_list), (pdm_dialog_cookies_destruct), (pdm_dialog_cookie_add), (pdm_dialog_cookie_remove), (pdm_dialog_passwords_construct), (password_added_cb), (password_changed_cb), (password_deleted_cb), (passwords_cleared_cb), (pdm_dialog_fill_passwords_list), (pdm_dialog_passwords_destruct), (pdm_dialog_password_add), (pdm_dialog_password_remove), (sync_notebook_tab), (pdm_dialog_init), (pdm_dialog_finalize), (show_cookies_properties), (pdm_dialog_cookies_properties_button_clicked_cb), (pdm_dialog_response_cb), (pdm_dialog_new): Refactored pdm dialogue code. Use new boxed cookie/password info types. Hook up to the single signals to get notified on password/ cookie updates [actual updating code to be written :)]. 2003-11-24 Christian Persch * data/Makefile.am: Added $(mimepermission_DATA) to EXTRA_DIST. 2003-11-24 Christian Persch * doc/reference/Makefile.am: Added egg tray icon headers to IGNORE_HFILES. 2003-11-24 Christian Persch * data/Makefile.am: Fix typo in EXTRADIST: s/check_mime/check-mime/ 2003-11-24 Christian Persch * lib/Makefile.am: Remove ephy-types.h from Makefile.am, it's long gone. 2003-11-24 Christian Persch * doc/reference/epiphany-docs.sgml: s/[Insert name here]/Epiphany/ 2003-11-24 David Bordoley * help/C/epiphany.xml: s/window/tab in the open link in new tab section. 2003-11-24 David Bordoley * help/C/epiphany.xml: A big chuck of doc neatening and organization plus some new stuff... patch from Piers Cornwell aka spark, with a few quick fixes from me. 2003-11-24 Marco Pesenti Gritti * embed/mozilla/BaseProtocolContentHandler.cpp: * embed/mozilla/BaseProtocolContentHandler.h: * embed/mozilla/BaseProtocolHandler.cpp: * embed/mozilla/BaseProtocolHandler.h: Remove. * embed/mozilla/ExternalProtocolHandlers.cpp: * embed/mozilla/ExternalProtocolHandlers.h: Merge base implementations here. No need of using 200 files for a work around of mozilla problems ;) * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: Use ftp CID directly from mozilla headers instead of doing a copy of it in ours. 2003-11-23 Christian Persch * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf): When exporting to RDF, write all bookmarks, not just every second bookmark. 2003-11-23 Marco Pesenti Gritti * embed/mozilla/ExternalProtocolService.cpp: * embed/mozilla/MozRegisterComponents.cpp: Do not build our externla protocol service with mozilla 1.6. It has his own and api is changed. 2003-11-23 Xan Lopez * src/prefs-dialog.c: (get_download_button_label), (download_path_response_cb), (prefs_download_path_button_clicked_cb): Use EphyFileChooser API, convert download path to UTF8. 2003-11-23 Christian Persch * embed/mozilla/mozilla-embed-single.cpp: Make it compile with mozilla 1.4 and 1.4.1 again. 2003-11-23 Marco Pesenti Gritti * embed/Makefile.am: * embed/downloader-view.c: (status_icon_activated), (show_status_icon), (downloader_view_init), (downloader_view_finalize), (download_dialog_delete_cb): * lib/egg/Makefile.am: * lib/egg/update-from-egg.sh: Very basic tray icon for downloader. 2003-11-22 Marco Pesenti Gritti * data/art/Makefile.am: * data/art/epiphany-bookmark-page.png: * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_construct): * src/ephy-history-window.c: * src/ephy-window.c: Use icon theme icon for add bookmark 2003-11-22 Marco Pesenti Gritti * doc/reference-howto.txt: Add a tip on how to clean docs. * doc/reference/Makefile.am: * doc/reference/epiphany-docs.sgml: * doc/reference/epiphany.types: * doc/reference/tmpl/ephy-cookie-manager.sgml: * doc/reference/tmpl/ephy-embed-factory.sgml: * doc/reference/tmpl/ephy-embed-single.sgml: * doc/reference/tmpl/ephy-password-manager.sgml: * doc/reference/tmpl/ephy-permission-manager.sgml: Add some files chpe documented to the build. * embed/ephy-embed-factory.c: Document 2003-11-22 Marco Pesenti Gritti * src/ephy-location-action.c: (sync_editable), (connect_proxy), (ephy_location_action_set_property), (ephy_location_action_get_property), (ephy_location_action_class_init), (ephy_location_action_init): * src/toolbar.c: (update_location_editable), (arbitrary_url_notifier), (toolbar_setup_actions), (toolbar_set_window), (toolbar_finalize): Implement arbitrary url lockdown pref 2003-11-22 Marco Pesenti Gritti * doc/reference/Makefile.am: * embed/Makefile.am: * embed/ephy-embed-persist.c: (ephy_embed_persist_save): * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.c: (save_url), (embed_popup_set_image_as_background_cmd): * embed/ephy-embed-shell.c: (ephy_embed_shell_get_embed_single): * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * embed/mozilla/mozilla-embed.cpp: * src/Makefile.am: * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init): * src/ephy-tab.c: (ephy_tab_init): * src/popup-commands.c: (save_property_url), (popup_cmd_set_image_as_background): * src/window-commands.c: (window_cmd_file_save_as), (save_temp_source): Add a factory to create embed objects and use it. Deal with dependency of mozilla-embed and mozilla-embed-persist on mozilla-embed-single internally. 2003-11-22 Christian Persch * embed/mozilla/mozilla-embed-single.cpp: Fix cookie deletion; use do_GetService instead of do_CreateInstance. 2003-11-22 Christian Persch * embed/ephy-embed-single.c: (ephy_embed_single_class_init), (ephy_embed_single_load_proxy_autoconf): Added API documentation. 2003-11-21 Christian Persch * embed/Makefile.am: * embed/ephy-cookie-manager.c: (ephy_cookie_get_type), (ephy_cookie_new), (ephy_cookie_copy), (ephy_cookie_free), (ephy_cookie_manager_get_type), (ephy_cookie_manager_base_init), (ephy_cookie_manager_list_cookies), (ephy_cookie_manager_remove_cookie), (ephy_cookie_manager_clear): * embed/ephy-cookie-manager.h: * embed/ephy-embed-single.c: (ephy_embed_single_get_type), (ephy_embed_single_class_init), (ephy_embed_single_clear_cache), (ephy_embed_single_set_offline_mode), (ephy_embed_single_load_proxy_autoconf), (ephy_embed_single_get_font_list): * embed/ephy-embed-single.h: * embed/ephy-password-manager.c: (ephy_password_info_get_type), (ephy_password_info_new), (ephy_password_info_copy), (ephy_password_info_free), (ephy_password_manager_get_type), (ephy_password_manager_add), (ephy_password_manager_remove), (ephy_password_manager_list): * embed/ephy-password-manager.h: * embed/ephy-permission-manager.c: (ephy_permission_info_get_type), (ephy_permission_info_new), (ephy_permission_info_copy), (ephy_permission_info_free), (ephy_permission_manager_get_type), (ephy_permission_manager_base_init), (ephy_permission_manager_add), (ephy_permission_manager_remove), (ephy_permission_manager_clear), (ephy_permission_manager_test), (ephy_permission_manager_list): * embed/ephy-permission-manager.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * embed/mozilla/mozilla-notifiers.cpp: * src/Makefile.am: * src/pdm-dialog.c: (pdm_dialog_get_type), (pdm_dialog_cookie_add), (pdm_dialog_password_add), (pdm_dialog_cookie_remove), (pdm_dialog_password_remove), (pdm_dialog_cookies_free), (pdm_dialog_passwords_free), (pdm_dialog_init), (pdm_dialog_new), (show_cookies_properties), (pdm_dialog_cookies_properties_button_clicked_cb): * src/pdm-dialog.h: New interfaces: EphyCookieManager, EphyPermissionManager, EphyPasswordManager. Port all callers to new interfaces. Change linking order to make it link. Only set autoconf proxy url if it's non-empty. 2003-11-21 Marco Pesenti Gritti * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: Pass a source based on filename instead of pixbuf for our own icon set, so that they are created only when necessary. Add code to insert icon theme icons in our icon set and use icon theme icons when possible. * src/ephy-window.c: Update icons id. 2003-11-20 Marco Pesenti Gritti * data/glade/prefs-dialog.glade: Hide Open downloads pref. Since both behaviors are available maybe it's not necessary at all. Also I feel it confusing to have only one of the cases respecting it. I guess better to wait feedback on releases before making a call on this. * src/ephy-window.c: No more need of ... on dowload context menu 2003-11-20 Marco Pesenti Gritti * embed/ephy-embed-single.c: (ephy_embed_single_class_init): * embed/ephy-embed-single.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: * lib/ephy-marshal.list: Implement an handle_content signal to allow to write plugins to support external download managers. 2003-11-20 Marco Pesenti Gritti * embed/ephy-command-manager.c: (ephy_command_manager_base_init): * embed/ephy-embed-persist.c: (ephy_embed_persist_class_init): * embed/ephy-embed.c: (ephy_embed_base_init): Not necessary to store signal id in an array for interfaces. 2003-11-20 Marco Pesenti Gritti * src/ephy-session.c: (ephy_session_save): hrm misplaced free in last commit 2003-11-20 Marco Pesenti Gritti * src/ephy-session.c: (ephy_session_save): Make xml saving low disk safe. 2003-11-20 Marco Pesenti Gritti * src/ephy-window.c: (show_embed_popup): Fix unrefing of context menu event 2003-11-20 Marco Pesenti Gritti * embed/mozilla/mozilla-embed.cpp: If it's not possible to go up fails do not assert, just fail silently. 2003-11-19 Marco Pesenti Gritti * Makefile.am: * doc/reference/Makefile.am: * doc/reference/epiphany-docs.sgml: * doc/reference/tmpl/config.sgml: Do not document config.h ;) Reenable docs build. 2003-11-19 Marco Pesenti Gritti * doc/reference/.cvsignore: * doc/reference/Makefile.am: * doc/reference/epiphany-docs.sgml: * doc/reference/epiphany.types: * doc/reference/tmpl/config.sgml: * doc/reference/tmpl/ephy-session.sgml: * doc/reference/tmpl/ephy-shell.sgml: Complete docs base implementation. Should work more or less. * embed/Makefile.am: * lib/Makefile.am: * src/Makefile.am: Cleanup a bit libs build and use a static lib also for the src/ code so that we can use it for documents. * src/ephy-nautilus-view.c: Bad chpe forgot to modify func signature. 2003-11-19 Christian Persch * embed/downloader-view.h: * embed/ephy-download.h: * embed/ephy-embed-dialog.h: * embed/ephy-embed-event.h: * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.h: * embed/ephy-embed-shell.h: * embed/ephy-embed-single.h: * embed/ephy-encodings.h: * embed/ephy-favicon-cache.h: * embed/ephy-history.h: * embed/find-dialog.h: * embed/mozilla/EphyBrowser.h: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/mozilla-download.h: * embed/mozilla/mozilla-embed-persist.h: * embed/mozilla/mozilla-embed-single.h: * embed/print-dialog.h: * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbar-editor.h: * lib/egg/egg-toolbars-model.h: * lib/ephy-debug.h: * lib/ephy-dialog.h: * lib/ephy-dnd.h: * lib/ephy-file-chooser.h: * lib/ephy-node-db.h: * lib/ephy-node-filter.h: * lib/ephy-node.h: * lib/ephy-prefs.h: * lib/ephy-state.h: * lib/ephy-string.h: * lib/ephy-zoom.h: * lib/widgets/ephy-arrow-toolbutton.h: * lib/widgets/ephy-cell-renderer-progress.h: * lib/widgets/ephy-ellipsizing-label.h: * lib/widgets/ephy-location-entry.h: * lib/widgets/ephy-node-view.h: * lib/widgets/ephy-search-entry.h: * lib/widgets/ephy-spinner.h: * lib/widgets/ephy-tree-model-node.h: * lib/widgets/ephy-tree-model-sort.h: * lib/widgets/ephy-zoom-action.h: * lib/widgets/ephy-zoom-control.h: * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmark-properties.h: * src/bookmarks/ephy-bookmarks-editor.h: * src/bookmarks/ephy-bookmarks-menu.h: * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-new-bookmark.h: * src/bookmarks/ephy-topic-action.h: * src/bookmarks/ephy-topics-selector.h: * src/ephy-automation.h: * src/ephy-completion-model.h: * src/ephy-encoding-dialog.h: * src/ephy-encoding-menu.h: * src/ephy-extensions-manager.h: * src/ephy-favicon-action.h: * src/ephy-favorites-menu.h: * src/ephy-go-action.h: * src/ephy-history-window.h: * src/ephy-location-action.h: * src/ephy-nautilus-view.h: * src/ephy-navigation-action.h: * src/ephy-notebook.h: * src/ephy-session.h: * src/ephy-shell.h: * src/ephy-tab.h: * src/ephy-tabs-menu.h: * src/ephy-toolbars-model.h: * src/ephy-window.h: * src/language-editor.h: * src/pdm-dialog.h: * src/ppview-toolbar.h: * src/prefs-dialog.h: * src/statusbar.h: * src/toolbar.h: Mark all EphyFooPrivate structs as private for gtk-doc. 2003-11-19 Christian Persch * embed/ephy-embed.c: Forgot to remove signal IDs from enum when I removed the signals. 2003-11-19 Christian Persch * lib/ephy-dialog.c: (ephy_dialog_set_parent): * src/ephy-encoding-dialog.c: (sync_parent_window_cb), (ephy_encoding_dialog_init), (ephy_encoding_dialog_class_init), (ephy_encoding_dialog_new): Make encodings dialogue transient. 2003-11-19 Christian Persch * embed/ephy-embed.c: (ephy_embed_base_init), (ephy_embed_get_location), (ephy_embed_get_link_message), (ephy_embed_get_js_status): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init), (gnv_embed_link_message_cb): * src/ephy-nautilus-view.h: * src/ephy-tab.c: (ephy_tab_set_link_message), (ephy_tab_link_message_cb), (ephy_tab_init): Re-use some more signals from GtkMozEmbed; fix getter_Copies usage in mozilla-embed.cpp. Fixes bug #127335. 2003-11-18 Marco Pesenti Gritti * Makefile.am: * configure.in: * doc/Makefile.am: * doc/reference/Makefile.am: * doc/reference/epiphany-docs.sgml: * doc/reference/epiphany.types: Begin of gtk-doc support 2003-11-17 Marco Pesenti Gritti * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmarks_import): Api fix 2003-11-17 Christian Persch * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * lib/ephy-state.c: (ephy_state_add_paned), (expander_activate_cb), (ephy_state_add_expander): * lib/ephy-state.h: Ported the Crispin's GtkNSSClientAuthDialogs from galeon. Changes: - use GtkExpander instead of the CDDB disclosure thingy - persist state in ephy-state - assing a mnemonic to expander label. 2003-11-17 Marco Pesenti Gritti * embed/mozilla/EphyBrowser.cpp: Pass WebPageDescriptor, not CurrentDescriptor. This way we dont refetch page on post. 2003-11-17 Marco Pesenti Gritti * configure.in: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: Resync with galeon. * embed/mozilla/mozilla-embed-single.cpp: Header name change 2003-11-16 Marco Pesenti Gritti * src/ephy-shell.c: (toolwindow_show_cb), (toolwindow_hide_cb), (ephy_shell_get_bookmarks_editor): Do not access session from priv struct but use get_session, so it's properly initialized-> Fix epiphany -b crash 2003-11-16 Marco Pesenti Gritti * src/ephy-session.c: (get_session_filename), (ephy_session_init), (ephy_session_finalize): * src/ephy-shell.c: (save_yourself_cb), (die_cb), (gnome_session_init), (ephy_shell_startup): Move gnome session code in the shell. 2003-11-16 Xan Lopez * data/glade/prefs-dialog.glade: * src/prefs-dialog.c: (prefs_dialog_finalize), (get_download_button_label), (create_download_path_label), (prefs_dialog_init), (prefs_language_more_button_clicked_cb), (download_path_response_cb), (prefs_download_path_button_clicked_cb): Implement UI for default download path and auto open downlads prefs for the downloader. 2003-11-15 Marco Pesenti Gritti * configure.in: * embed/Makefile.am: * embed/mozilla/Makefile.am: * lib/Makefile.am: * lib/widgets/Makefile.am: * src/Makefile.am: Enable deprecates and werror only in maintainer mode (in the way suggested by Jamesh). 2003-11-14 Marco Pesenti Gritti * data/GNOME_Epiphany_Automation.server.in: * data/GNOME_Epiphany_NautilusView.server.in: Use an unique factory for both interfaces. * data/ui/Makefile.am: Do not try to merge translations in nautilus xml. * src/ephy-nautilus-view.c: (disconnected_idle), (control_disconnected_cb), (ephy_nautilus_view_instance_init), (ephy_nautilus_view_finalize): Unref the view on control disconnected, not on finalize. * src/ephy-main.c: (main): Add a server mode argument, used internally by bonobo interface. Free popt context only when no more necessary. * src/ephy-automation.c: * src/ephy-automation.h: * src/ephy-shell.c: (ephy_nautilus_view_new), (ephy_automation_factory_cb), (ephy_automation_factory_new), (ephy_shell_init), (path_from_command_line_arg), (open_urls), (server_timeout), (ephy_shell_startup), (ephy_shell_finalize), (ephy_shell_new_tab): * src/ephy-shell.h: When running in server mode unref (and so exit) on a timeout. Expand args passed to the command line. 2003-11-13 Marco Pesenti Gritti * embed/ephy-embed-shell.c: (ephy_embed_shell_get_embed_single): * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * src/ephy-shell.h: Put back borked mozilla alert. 2003-11-13 Marco Pesenti Gritti * src/ephy-shell.c: (ephy_shell_finalize): Looks like we need to unregister factory since we initialized it by ourself. 2003-11-13 Marco Pesenti Gritti * embed/mozilla/mozilla-notifiers.cpp: * src/ephy-main.c: (main): * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_startup), (ephy_shell_finalize), (ephy_shell_get_session), (ephy_shell_get_extensions_manager): * src/ephy-window.c: (ensure_default_icon), (ephy_window_init): Rework shell services initialization so that it happen either on every instance, before the automation stuff is used, either when they are requested. This appear to fix the crash with two instances runned simultaneously. (Christian I'm not quite sure this is ok for plugins manager, if there are problems let me know.) 2003-11-13 Marco Pesenti Gritti * idl/EphyAutomation.idl: * src/ephy-automation.c: (ephy_automation_factory_cb), (ephy_automation_factory_new), (impl_ephy_automation_loadurl): * src/ephy-automation.h: * src/ephy-main.c: (shell_weak_notify), (main): * src/ephy-shell.c: (ephy_shell_error_quark), (ephy_shell_init), (init_services), (open_urls), (ephy_shell_startup), (ephy_shell_finalize), (ephy_shell_new): * src/ephy-shell.h: First stab at reorganizing initialization. Fix crashes when launching an epiphany instance while another once is still not initialized completely. It still doesnt open the second session correctly though. 2003-11-12 Marco Pesenti Gritti * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: Silly typos, thanks crispin. 2003-11-12 Christian Persch * src/window-commands.c: (toolbar_editor_response_cb): Link up toolbar editor help button. 2003-11-11 Christian Persch * data/glade/epiphany.glade: Set initial visibility to false, fixes a warning when showing the encodings dialogue. 2003-11-11 Marco Pesenti Gritti * embed/ephy-embed-single.c: (ephy_embed_single_class_init): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-embed.h: * src/ephy-nautilus-view.c: (gnv_embed_new_window_cb): * src/ephy-session.c: (write_ephy_window): * src/ephy-shell.c: (ephy_shell_init): * src/ephy-tab.c: (ephy_tab_size_to_cb): * src/ephy-window.c: (translate_default_chrome): Build xul dialogs using GtkWindow+GtkMozEmbed. Make src code simpler and fix a pair of bugs. 2003-11-10 Christian Persch * data/glade/Makefile.am: And add it to Makefile.am too. 2003-11-10 Christian Persch * data/glade/certificate-dialogs.glade: We really need the glade file from galeon too. 2003-11-10 Christian Persch New extensions API. * Makefile.am: * configure.in: * lib/Makefile.am: * lib/ephy-module-loader.c: (ephy_module_loader_get_type), (ephy_module_loader_new), (ephy_module_loader_load), (ephy_module_loader_unload), (ephy_module_loader_class_init), (ephy_module_loader_init), (ephy_module_loader_finalize), (ephy_module_loader_factory): * lib/ephy-module-loader.h: * plugins/.cvsignore: * plugins/Makefile.am: * plugins/sample/.cvsignore: * plugins/sample/Makefile.am: * plugins/sample/sample.c: * src/Makefile.am: * src/bookmarks/ephy-bookmarks-editor.c: (get_target_window): * src/bookmarks/ephy-bookmarks.c: * src/ephy-automation.c: (ephy_automation_factory), (ephy_automation_factory_new), (impl_ephy_automation_loadurl), (impl_ephy_automation_load_session), (ephy_automation_class_init): * src/ephy-extension.c: (ephy_extension_get_type), (ephy_extension_attach_window), (ephy_extension_detach_window): * src/ephy-extension.h: * src/ephy-extensions-manager.c: (ephy_extensions_manager_get_type), (ephy_extensions_manager_instantiate_extension), (ephy_extensions_manager_load), (ephy_extensions_manager_load_dir), (ephy_extensions_manager_add), (ephy_extensions_manager_init), (ephy_extensions_manager_finalize), (impl_attach_window), (impl_detach_window), (ephy_extensions_manager_iface_init), (ephy_extensions_manager_class_init), (ephy_extensions_manager_new): * src/ephy-extensions-manager.h: * src/ephy-history-window.c: (get_target_window): * src/ephy-plugin.c: * src/ephy-plugin.h: * src/ephy-session.c: (ephy_session_get_type), (get_session_filename), (session_delete), (net_stop_cb), (tab_added_cb), (tab_removed_cb), (tabs_reordered_cb), (impl_attach_window), (impl_detach_window), (save_yourself_cb), (die_cb), (gnome_session_attach), (gnome_session_detach), (ensure_session_directory), (ephy_session_init), (ephy_session_dispose), (ephy_session_finalize), (ephy_session_iface_init), (ephy_session_class_init), (offer_to_resume), (ephy_session_autoresume), (ephy_session_close), (write_tab), (write_window_geometry), (write_tool_window), (write_ephy_window), (ephy_session_save), (parse_embed), (ephy_session_load), (ephy_session_get_windows), (ephy_session_add_window), (ephy_session_remove_window), (ephy_session_get_active_window): * src/ephy-session.h: * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_finalize), (ephy_shell_get_session), (ephy_shell_get_extensions_manager), (toolwindow_show_cb), (toolwindow_hide_cb): * src/ephy-shell.h: * src/ephy-window.c: (ephy_window_destroy), (ephy_window_init): * src/prefs-dialog.c: (prefs_homepage_current_button_clicked_cb): * src/session.c: * src/session.h: Create a new extensions API. Make session an internal extension :) Port callers to session API changes. 2003-11-10 Xan Lopez * embed/mozilla/mozilla-embed-persist.cpp: Deja-vu. 2003-11-10 Marco Pesenti Gritti * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_load): Fix compile warning. * src/ephy-completion-model.c: (init_text_col): Correct TEXT column get_value 2003-11-10 Marco Pesenti Gritti * embed/mozilla/mozilla-embed.cpp: Remove a decl I forgot. * lib/egg/egg-editable-toolbar.c: (create_item_from_action), (create_item), (drag_data_received_cb), (item_added_cb), (egg_editable_toolbar_construct): Copy hack from gtk to make tooltips work. 2003-11-10 Christian Persch * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_load): * lib/egg/egg-toolbars-model.h: * src/ephy-toolbars-model.c: (ephy_toolbars_model_set_bookmarks): Fix recovery from corrupted toolbar layout file. 2003-11-10 Marco Pesenti Gritti * embed/mozilla/MozDownload.cpp: Do not disable conversion. Some pages was saved as gz compressed. 2003-11-09 Marco Pesenti Gritti * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-tab.c: (ephy_tab_init): Do not connect and reemit same signal for nothing. Remove unused/expensive progress signal. * src/session.c: (session_save): Unlink session file when all windows are removed. 2003-11-09 Marco Pesenti Gritti * embed/ephy-embed.h: * idl/EphyAutomation.idl: * src/ephy-automation.c: (impl_ephy_automation_loadurl), (impl_ephy_automation_open_bookmarks_editor), (ephy_automation_init), (ephy_automation_object_finalize), (ephy_automation_class_init): * src/ephy-completion-model.c: (root_child_removed_cb): * src/ephy-main.c: (ephy_main_start): * src/ephy-shell.c: (ephy_shell_get_active_window), (toolwindow_show_cb), (toolwindow_hide_cb), (ephy_shell_get_bookmarks_editor), (ephy_shell_get_history_window): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_net_state_cb), (ephy_tab_size_to_cb): * src/ephy-window.c: (remove_from_session), (ephy_window_init): * src/session.c: (session_autoresume), (session_close), (session_dispose), (save_window_geometry), (save_tool_window), (save_ephy_window), (session_save), (session_load), (session_get_windows), (net_stop_cb), (tab_added_cb), (tab_removed_cb), (tabs_reordered_cb), (session_add_window), (session_remove_window), (save_yourself_cb), (session_die_cb), (gnome_session_init), (session_init): * src/session.h: * src/window-commands.c: (window_cmd_go_bookmarks), (window_cmd_go_history): Cleanup session. Persist also history and bookmarks. 2003-11-09 Christian Persch * src/window-commands.c: (window_cmd_help_about): Don't unref the icon theme, we don't own it. 2003-11-09 Marco Pesenti Gritti * embed/ephy-history.c: (ephy_history_save): Do not save All node 2003-11-08 Marco Pesenti Gritti * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: Remove decls from the top 2003-11-08 Marco Pesenti Gritti * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_get_flags): * src/ephy-completion-model.c: (ephy_completion_model_get_flags): Pass ITEMS_PERSIST and LIST_ONLY to the models, the implementation looks already ok with it to me. Hopefully not missing something ... 2003-11-08 Marco Pesenti Gritti * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu): * src/ephy-history-window.c: (ephy_history_window_show), (ephy_history_window_class_init), (ephy_history_window_update_menu): Focus history entry on _show. Do not try to update paste menu item using the wait api, it can cause a crash on a timeout and anyway it's incosistent what we do in main window. 2003-11-08 Christian Persch * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get_type), (ephy_favicon_cache_finalize): * embed/ephy-history.c: (ephy_history_save): * lib/ephy-file-helpers.c: (ephy_file_switch_temp_file): * lib/ephy-file-helpers.h: * lib/ephy-node-db.c: (ephy_node_db_load_from_file), (ephy_node_db_write_to_xml_valist), (ephy_node_db_write_to_xml_safe): * lib/ephy-node-db.h: * lib/ephy-node.c: (write_parent), (ephy_node_write_to_xml): * lib/ephy-node.h: * lib/ephy-state.c: (ephy_states_save), (ensure_states): * src/bookmarks/ephy-bookmarks-export.c: (write_topics_list), (ephy_bookmarks_export_rdf): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_save): Port node db saving and RDF export to xml writer api. 2003-11-07 Christian Persch * src/ephy-favicon-actio.c: (ephy_favicon_action_finalize): Fix mem leak. 2003-11-07 Christian Persch * src/ephy-location-action.c: (ephy_location_action_finalize): Chain up to parent's finalize method. 2003-11-07 Marco Pesenti Gritti * src/ephy-completion-model.c: (get_path_real), (node_iter_from_node), (get_index_root), (root_child_removed_cb), (root_child_added_cb), (root_child_changed_cb), (ephy_completion_model_get_value), (ephy_completion_model_get_iter), (ephy_completion_model_get_path), (ephy_completion_model_iter_next), (ephy_completion_model_iter_children), (ephy_completion_model_iter_n_children), (ephy_completion_model_iter_nth_child), (ephy_completion_model_iter_parent): Rewrite the iteration part to take advantage of user_data2. Should be faster and a bit cleaner. 2003-11-06 Xan Lopez * embed/downloader-view.c: (download_changed_cb): Use kB, MB and GB for the total size of the files being downloaded. Fixes #126387 * embed/mozilla/ContentHandler.cpp: Small cleanup. 2003-11-06 Marco Pesenti Gritti * src/ephy-completion-model.c: (ephy_completion_model_iter_next): Handle correctly last bookmark case 2003-11-06 Marco Pesenti Gritti * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Small cleanups 2003-11-06 Marco Pesenti Gritti * src/ephy-main.c: * src/ephy-shell.c: More headers fixup. * src/window-commands.c: (window_cmd_help_about): Use gtk icon theme here too. 2003-11-06 Marco Pesenti Gritti * embed/downloader-view.c: * embed/ephy-embed-popup-control.c: * embed/mozilla/ExternalProtocolService.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * lib/ephy-file-helpers.c: * lib/widgets/ephy-search-entry.c: Change some more i18n inclusion and remove several unused includes. 2003-11-06 Marco Pesenti Gritti * data/epiphany.schemas.in: Correct download dir default. * embed/ephy-embed-shell.h: * embed/ephy-embed-shell.c: (ephy_embed_shell_init), (ephy_embed_shell_finalize), (ephy_embed_shell_get_encodings), (load_mime_from_xml), (ephy_embed_shell_check_mime): Add check_mime api for permissions. * embed/mozilla/ContentHandler.cpp: First incomplete try at using it. 2003-11-06 Marco Pesenti Gritti * data/Makefile.am: * data/check-mime.py: * data/mime-types-permissions.xml: Add a list of permissions for mime and a script to update it (py hackers please forgive me). I put only very obvious items in the safe list for now. 2003-11-05 Christian Persch * embed/downloader-view.c: * embed/ephy-embed-popup-control.c: * embed/ephy-encodings.c: * embed/ephy-history.c: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/FilePicker.cpp: * lib/eel-gconf-extensions.c: * lib/egg/egg-editable-toolbar.c: * lib/ephy-file-helpers.c: * lib/ephy-gui.c: * lib/ephy-langs.c: * lib/ephy-node.c: * lib/ephy-zoom.h: * lib/widgets/ephy-cell-renderer-progress.c: * lib/widgets/ephy-zoom-action.c: * lib/widgets/ephy-zoom-control.c: * src/bookmarks/ephy-bookmark-action.c: * src/bookmarks/ephy-bookmark-properties.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-bookmarks-import.c: * src/bookmarks/ephy-bookmarks-menu.c: * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-topic-action.c: * src/ephy-encoding-dialog.c: * src/ephy-encoding-menu.c: * src/ephy-go-action.c: * src/ephy-history-window.c: * src/ephy-notebook.c: * src/ephy-shell.c: * src/ephy-tab.c: * src/ephy-toolbars-model.c: * src/ephy-window.c: * src/pdm-dialog.c: * src/popup-commands.c: * src/ppview-toolbar.c: * src/prefs-dialog.c: * src/session.c: * src/toolbar.c: * src/window-commands.c: Use new glib gi18n.h instead of bonobo's bonobo-i18n.h. 2003-11-05 Christian Persch * data/glade/print.glade: * embed/print-dialog.c: (impl_show), (print_dialog_class_init), (print_dialog_new), (print_dialog_new_with_parent), (print_dialog_print), (print_dialog_preview), (print_cancel_button_cb), (print_preview_button_cb): Only allow choosing "Selection" if there really is one. * lib/ephy-dialog.c: (impl_run): Use ephy_dialog_show() when running an EphyDialog. 2003-11-05 Marco Pesenti Gritti * lib/ephy-gui.c: (ephy_gui_help): * lib/ephy-gui.h: Remove unused func, bad xan 2003-11-05 Christian Persch * embed/ephy-command-manager.c: (ephy_command_manager_can_do_command): * embed/ephy-command-manager.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-window.c: (edit_menu_show_cb): Renamed to get_command_state to can_do_command. 2003-11-05 Marco Pesenti Gritti * embed/ephy-embed-prefs.h: * embed/mozilla/mozilla-notifiers.cpp: Migrate font family too 2003-11-05 Christian Persch * embed/Makefile.am: * embed/ephy-command-manager.c: (ephy_command_manager_do_command), (ephy_command_manager_get_command_state): * embed/ephy-command-manager.h: * embed/ephy-embed-event.c: (ephy_embed_event_get_type), (ephy_embed_event_class_init), (ephy_embed_event_init), (ephy_embed_event_finalize), (ephy_embed_event_new), (ephy_embed_event_get_event_type), (ephy_embed_event_get_coords), (ephy_embed_event_get_context), (ephy_embed_event_set_property): * embed/ephy-embed-event.h: * embed/ephy-embed-persist.c: (ephy_embed_persist_cancel): * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.c: (ephy_embed_popup_control_set_event), (embed_popup_copy_location_cmd), (embed_popup_save_page_as_cmd), (embed_popup_open_frame_cmd): * embed/ephy-embed-single.c: (ephy_embed_single_get_type), (ephy_embed_single_class_init), (ephy_embed_single_clear_cache), (ephy_embed_single_set_offline_mode), (ephy_embed_single_load_proxy_autoconf), (ephy_embed_single_get_font_list), (ephy_embed_single_list_cookies), (ephy_embed_single_remove_cookies), (ephy_embed_single_list_passwords), (ephy_embed_single_remove_passwords), (ephy_embed_single_free_cookies), (ephy_embed_single_free_passwords): * embed/ephy-embed-single.h: * embed/ephy-embed-types.h: * embed/ephy-embed.c: (ephy_embed_get_type), (ephy_embed_base_init), (ephy_embed_new), (ephy_embed_load_url), (ephy_embed_stop_load), (ephy_embed_can_go_back), (ephy_embed_can_go_forward), (ephy_embed_can_go_up), (ephy_embed_get_go_up_list), (ephy_embed_go_back), (ephy_embed_go_forward), (ephy_embed_go_up), (ephy_embed_get_title), (ephy_embed_get_location), (ephy_embed_reload), (ephy_embed_zoom_set), (ephy_embed_zoom_get), (ephy_embed_shistory_n_items), (ephy_embed_shistory_get_nth), (ephy_embed_shistory_get_pos), (ephy_embed_shistory_go_nth), (ephy_embed_get_security_level), (ephy_embed_find_set_properties), (ephy_embed_find_next), (ephy_embed_activate), (ephy_embed_set_encoding), (ephy_embed_get_encoding_info), (ephy_embed_print), (ephy_embed_print_preview_close), (ephy_embed_print_preview_n_pages), (ephy_embed_print_preview_navigate): * embed/ephy-embed.h: * embed/ephy-history.c: * embed/find-dialog.c: (find_dialog_go_next), (find_dialog_go_prev): * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-embed.h: * lib/Makefile.am: * lib/ephy-state.c: * lib/ephy-types.h: * src/ephy-encoding-dialog.c: (sync_embed_cb), (activate_choice): * src/ephy-encoding-menu.c: (update_encoding_menu_cb), (encoding_activate_cb): * src/ephy-favicon-action.c: (each_url_get_data_binder): * src/ephy-nautilus-view.c: (gnv_embed_dom_mouse_click_cb), (gnv_embed_context_menu_cb), (gnv_embed_title_cb), (gnv_popup_cmd_frame_in_new_window), (gnv_zoomable_zoom_in_cb), (gnv_zoomable_zoom_out_cb): * src/ephy-navigation-action.c: (activate_up_menu_item_cb), (setup_back_or_forward_menu), (setup_up_menu): * src/ephy-tab.c: (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb), (ephy_tab_title_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_update_navigation_flags), (ephy_tab_set_title): * src/ephy-window.c: (edit_menu_show_cb), (sync_tab_security), (show_embed_popup), (ephy_window_set_zoom): * src/pdm-dialog.c: (pdm_dialog_init): * src/popup-commands.c: (popup_cmd_frame_in_new_tab), (popup_cmd_frame_in_new_window), (popup_cmd_open_frame): * src/ppview-toolbar.c: (toolbar_update_sensitivity), (toolbar_cmd_ppv_goto_last), (clamp_page_limits): * src/prefs-dialog.c: (setup_font_menu), (prefs_homepage_current_button_clicked_cb): * src/session.c: (save_tab): * src/window-commands.c: (window_cmd_file_send_to), (window_cmd_file_bookmark_page), (window_cmd_view_page_source): Get rid of gresult type. Use return values instead of out-parameters whereever possible, and port all callers. 2003-11-04 Marco Pesenti Gritti * embed/ephy-embed-prefs.h: Better names for new font size keys 2003-11-04 Marco Pesenti Gritti * lib/eel-gconf-extensions.c: (global_client_free), (eel_gconf_client_get_global), (eel_gconf_handle_error), (eel_gconf_set_string), (eel_gconf_is_default), (eel_gconf_key_is_writable), (eel_gconf_monitor_add), (eel_gconf_monitor_remove), (eel_gconf_preload_cache), (eel_gconf_get_default_value), (eel_strcmp), (eel_str_is_equal), (simple_value_is_equal), (eel_gconf_value_is_equal), (eel_gconf_value_get_string_list), (eel_gconf_value_set_string_list), (eel_gconf_set_float), (eel_gconf_get_float): * lib/eel-gconf-extensions.h: Resync with eel. * lib/ephy-prefs.h: * lib/widgets/ephy-spinner.c: * embed/ephy-embed-prefs.h: * embed/mozilla/mozilla-notifiers.cpp: Migrate old font size settings. This will screw things for 1.1 users, not much we can do about it now. 2003-11-04 Marco Pesenti Gritti * embed/downloader-view.c: * embed/mozilla/ExternalProtocolService.cpp: * embed/mozilla/mozilla-embed-single.cpp: * lib/widgets/ephy-spinner.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/language-editor.c: * src/session.c: Remove unused ephy-prefs includes 2003-11-04 Xan Lopez * data/epiphany.schemas.in: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * lib/ephy-prefs.h: Rework ContentHandler to use the auto_open_downloads key. 2003-11-04 Marco Pesenti Gritti * src/ephy-window.c: (edit_menu_show_cb): Fix sensitivity of Paste. Still not set for native entries, I cant really see a way to do it without waiting and so making the change visible which sucks. 2003-11-04 Marco Pesenti Gritti * src/ephy-window.c: (edit_menu_show_cb), (edit_menu_hide_cb), (init_menu_updaters), (setup_window): Yet another sensitivity update strategy. Set sensitivity on menu show and reset it on menu hide, so that accellerators ever work. 2003-11-04 Marco Pesenti Gritti * src/ephy-window.c: (window_cmd_edit): update undo/redo sensitivity 2003-11-04 David Adam Bordoley * data/ui/epiphany-ui.xml: * src/window-commands.c: (window_cmd_edit_undo), (window_cmd_edit_redo): * src/window-commands.h: Menus for Undo/Redo 2003-11-04 Marco Pesenti Gritti * data/ui/epiphany-ui.xml: Show only paste in the context menu, it's the only one that works in mozilla. * embed/ephy-command-manager.c: (ephy_command_manager_get_command_state): * embed/ephy-command-manager.h: Rename the state api. * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Implement state api. * src/ephy-window.c: (window_cmd_edit), (show_embed_popup): Update clipboard menus on activate. 2003-11-03 Christian Persch * lib/ephy-marshal.list: Remove unused types. * embed/ephy-embed.c: (ephy_embed_base_init): * lib/widgets/ephy-arrow-toolbutton.c: (ephy_arrow_toolbutton_class_init): * src/ephy-notebook.c: (ephy_notebook_class_init): Use g_cclosure_marshal_* instead of our own ephy_marshal_* where there is a one. For signals returning a boolean, use the g_signal_accumulator_true_handled accumulator. 2003-11-02 Xan Lopez * data/epiphany.schemas.in: Remove the "show_details in downloader" schema. * embed/ephy-embed-popup-control.c: (save_url): * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * lib/ephy-prefs.h: * src/popup-commands.c: (save_property_url): Implement the new downloading mechanism in CH, also rename CONF_STATE_DOWNLOADING_DIR to CONF_STATE_DOWNLOAD_DIR. 2003-11-02 Christian Persch * lib/ephy-dialog.c: (impl_run): Initialise the dialogue on run too. 2003-11-02 Christian Persch * embed/mozilla/PrintingPromptService.cpp: (ShowPrintDialog): Adjust return value so that mozilla doesn't erreonously put up a failure dialogue. 2003-11-02 Christian Persch * embed/mozilla/PrintingPromptService.cpp: * embed/print-dialog.c: (print_dialog_new), (print_dialog_new_with_parent), (print_dialog_print), (print_cancel_button_cb), (print_preview_button_cb): Don't unref the print dialogue twice when shown from mozilla. 2003-11-02 Christian Persch * embed/mozilla/mozilla-embed.cpp: (impl_print): Unset silent mode after printing, should fix bug #125984. 2003-11-01 Christian Persch * embed/ephy-history.c: (ephy_history_save), (hosts_added_cb), (hosts_removed_cb), (hosts_changed_cb), (pages_added_cb), (pages_removed_cb), (pages_changed_cb), (ephy_history_init): Only save history db if there have been changes. Fixes bug #125973. 2003-11-01 Christian Persch * embed/mozilla/FilePicker.cpp: * lib/ephy-file-chooser.c: (current_folder_changed_cb), (ephy_file_chooser_init), (ephy_file_chooser_set_persist_key), (ephy_file_chooser_get_persist_key), (ephy_file_chooser_get_property), (ephy_file_chooser_class_init), (ephy_file_chooser_new): * lib/ephy-file-chooser.h: Don't set the persist key on object construction time. Fixes bug #125589. 2003-10-31 Christian Persch * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/MozillaPrivate.h: * embed/mozilla/PrintingPromptService.cpp: Correctly set the embed for the print dialogue. 2003-10-31 Marco Pesenti Gritti * embed/mozilla/ContentHandler.cpp: * lib/ephy-file-helpers.c: * lib/ephy-file-helpers.h: Use gnomevfs helper to open applications, drop our own. 2003-10-31 Marco Pesenti Gritti * lib/egg/egg-editable-toolbar.c: (set_drag_cursor): * lib/egg/egg-toolbar-editor.c: (set_drag_cursor): Set the cursor hotspot to something sensible. All bugs seem to be gone here, feel free to report more ;) 2003-10-31 Marco Pesenti Gritti * lib/egg/egg-editable-toolbar.c: (toolbar_drag_motion_cb): When changing toolbar unhighlight the old one, not the new 2003-10-30 Christian Persch * embed/mozilla/mozilla-embed-single.cpp: (getUILang): * configure.in: Yet another mozilla API change. 2003-10-30 Marco Pesenti Gritti * embed/mozilla/FilePicker.cpp: Do not require a parent window 2003-10-30 Marco Pesenti Gritti * lib/egg/egg-editable-toolbar.c: (drag_data_received_cb): Fix creation of special drag types items 2003-10-30 Marco Pesenti Gritti * lib/ephy-dnd.c: (add_one_netscape_url), (add_one_uri), (add_one_topic): * lib/ephy-dnd.h: * lib/widgets/ephy-tree-model-sort.c: (each_property_get_data_binder): * src/ephy-favicon-action.c: (each_url_get_data_binder): Add a title param to dnd iterator and remove unused screen location params. 2003-10-29 Christian Persch * embed/ephy-history.c: (ephy_history_add_host), (ephy_history_get_host): * embed/ephy-history.h: Add public function to get a host node from a page url. * src/ephy-tab.c: (address_has_web_scheme), (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb), (open_link_in_new_tab), (ephy_tab_init): Persist zoom settings per host. 2003-10-29 Soren Sandmann * lib/egg/egg-editable-toolbar.c: (drag_data_received_cb), (free_dragged_item), (toolbar_drag_drop_cb), (toolbar_drag_motion_cb), (toolbar_drag_leave_cb), (toolbar_added_cb), (item_removed_cb): Make it use new api and make the highlighting a good deal smoother. 2003-10-29 Marco Pesenti Gritti * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EventContext.cpp: We cant cache mDOMDocument, it changes for every document loaded. Remove some unused methods from definition. 2003-10-29 Marco Pesenti Gritti * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: Make some vars private, remove an unused one. * embed/mozilla/EventContext.cpp: Use the content dom document to determine is_framed_page. 2003-10-29 Xan Lopez * lib/ephy-prefs.h: Forgot this. 2003-10-29 Xan Lopez * embed/downloader-view.c: (downloader_view_remove_download): Implement smart selection in the downloader view. * data/epiphany.schemas.in: * embed/ephy-embed-popup-control.c: (embed_popup_download_link_cmd): * embed/mozilla/EphyHeaderSniffer.cpp: * lib/ephy-prefs.h: * src/popup-commands.c: (popup_cmd_download_link): Make persist downloads store the files in the download dir automatically without asking the user (key only accessible via gconf atm). CH downloads still need fixing. 2003-10-28 Christian Persch * src/prefs-dialog.c: (sort_detectors), (create_optionmenu), (prefs_dialog_init): Always list "Off" as first item in the list of autodetectors. Fixes bug #125723. 2003-10-28 Marco Pesenti Gritti * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmarks_import): Unref the store once added to the combo. 2003-10-28 Marco Pesenti Gritti * data/Makefile.am: Build nautilus server only when the view is enabled 2003-10-28 Christian Persch * embed/mozilla/ContentHandler.cpp: (MimeAskActionDialog::MimeAskActionDialog): Add sanity check. 2003-10-28 Marco Pesenti Gritti * embed/ephy-embed-persist.h: * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-shell.c: (delete_files), (ephy_shell_finalize), (ephy_shell_new_tab), (ephy_shell_delete_on_exit): * src/ephy-shell.h: * src/window-commands.c: (get_editor_application), (editor_open_uri), (save_source_completed_cb), (editor_can_open_uri), (save_temp_source), (window_cmd_view_page_source): Open source in the default editor and remove the unused copy api. Add a missing include while at it. 2003-10-27 Marco Pesenti Gritti * embed/mozilla/EphyBrowser.cpp: Fix page cloning, I was query descriptors interface on webBrowser instead of docshell. 2003-10-27 Marco Pesenti Gritti * embed/mozilla/EphyBrowser.cpp: We need to force the encoding to be able to unset it. 2003-10-27 Christian Persch * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: Implement filechooser for ASK_DESTINATION. 2003-10-27 Marco Pesenti Gritti * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Solving the wrapper mess THE END An about:blank document is created syncronously on _init, which means there are no more race conditions ! Mozilla api is CRACK. 2003-10-27 Marco Pesenti Gritti * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-embed.h: Solving the wrapper mess Episode 3. Rename to EphyBrowser and add sanity checks. GtkMozEmbed initialize the browser on realize, that means until that we shouldnt use most of the EphyBrowser methods. I'm quite sure there are not such cases in current implementation, otherwise we would have had problems also before. Though better avoid problems in the future. 2003-10-27 Marco Pesenti Gritti * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/mozilla-embed.cpp: Solving the wrapper mess Episode 2. Create EphyWrapper on _init. Initialize it on realize. Initialize the document part of it on state changed (mozilla is full of hacks like this, wouldnt have it be simpler to create an event ?;). 2003-10-27 Marco Pesenti Gritti * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: Solving the wrapper mess Episode 1. Cleanup EphyWrapper to use higher level apis. Do not set docshell history explicitly, it seem to pickup the registered one nicely. 2003-10-27 Marco Pesenti Gritti * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_set_fixed): Sink after ref 2003-10-27 Marco Pesenti Gritti * src/ephy-nautilus-view.c: (gnv_embed_dom_mouse_click_cb), (gnv_popup_cmd_new_window), (gnv_popup_cmd_image_in_new_window), (gnv_popup_cmd_frame_in_new_window): Sync with nautilus api 2003-10-27 Marco Pesenti Gritti * lib/egg/egg-editable-toolbar.c: (create_dock), (set_fixed_style), (unset_fixed_style), (toolbar_changed_cb), (unparent_fixed), (update_fixed), (toolbar_removed_cb), (toolbars_clean), (egg_editable_toolbar_construct), (egg_editable_toolbar_init), (egg_editable_toolbar_finalize), (egg_editable_toolbar_set_fixed): * lib/egg/egg-editable-toolbar.h: * src/toolbar.c: (toolbar_style_sync), (create_spinner), (toolbar_init): Fixup spinner when resetting the toolbar model. Update spinner on toolbar style change. Fix a typo in toolbars creation that wa causing fs toolbar to be hidden. 2003-10-26 Christian Persch * src/toolbar.c: (toolbar_init), (toolbar_finalize): Fix refounting of the spinner. 2003-10-26 Christian Persch * lib/ephy-file-chooser.c: (current_folder_changed_cb), (ephy_file_chooser_set_persist_key): Convert filenames from/to UTF-8 when persisting the directory. 2003-10-26 Christian Persch * src/window-commands.c: (open_response_cb): Really used the converted string [in UTF-8] instead of the directly using filename. 2003-10-26 Christian Persch * src/bookmarks/ephy-bookmarks-editor.c: (import_dialog_response_cb): One set of buttons is enough. 2003-10-26 Christian Persch Port to new gtk+ file chooser. * data/epiphany.schemas.in: * lib/ephy-prefs.h: Add key for remembering upload path. * embed /Makefile.am: * embed/downloader-view.c: * embed/ephy-embed-persist.c: (ephy_embed_persist_get_type), (ephy_embed_persist_set_dest), (ephy_embed_persist_set_embed), (ephy_embed_persist_set_fc_title), (ephy_embed_persist_set_fc_parent), (ephy_embed_persist_set_flags), (ephy_embed_persist_set_max_size), (ephy_embed_persist_set_persist_key), (ephy_embed_persist_set_source), (ephy_embed_persist_get_dest), (ephy_embed_persist_get_embed), (ephy_embed_persist_get_fc_title), (ephy_embed_persist_get_fc_parent), (ephy_embed_persist_get_flags), (ephy_embed_persist_get_max_size), (ephy_embed_persist_get_persist_key), (ephy_embed_persist_get_source), (ephy_embed_persist_set_property), (ephy_embed_persist_get_property), (ephy_embed_persist_init), (ephy_embed_persist_finalize), (ephy_embed_persist_class_init), (ephy_embed_persist_cancel), (ephy_embed_persist_save), (ephy_embed_persist_new): * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.c: (save_url), (save_property_url), (background_download_completed), (embed_popup_set_image_as_background_cmd), (embed_popup_copy_image_location_cmd): * src/popup-commands.c: (save_property_url), (background_download_completed), (popup_cmd_set_image_as_background): * src/window-commands.c: (open_response_cb), (window_cmd_file_open), (window_cmd_file_save_as): * src/window-commands.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get_type), (ephy_favicon_cache_new), (icon_is_obsolete), (icons_added_cb), (remove_obsolete_icons), (ephy_favicon_cache_init), (favicon_download_completed_cb), (ephy_favicon_cache_download), (ephy_favicon_cache_get): * embed/mozilla/MozDownload.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * src/popup-commands.c: (save_property_url), (background_download_completed), (popup_cmd_set_image_as_background): * src/window-commands.c: (open_response_cb), (window_cmd_file_open), (window_cmd_file_save_as): * src/window-commands.h: Simplify EphyEmbedPersist implementation. Augment it with properties for showing a file chooser to select persist destination. Port all callers to new interfaces. * embed/ephy-embed-single.c: (ephy_embed_single_remove_passwords): * embed/ephy-embed-single.h: * embed/ephy-embed-utils.c: * embed/ephy-embed-utils.h: Obsolete and removed. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Misc cleanups. * embed/mozilla/FilePicker.cpp: * embed/mozilla/FilePicker.h: Port to new file chooser class. * embed/mozilla/Makefile.am: * lib/Makefile.am: * lib/ephy-file-chooser.c: (ephy_file_chooser_get_type), (current_folder_changed_cb), (ephy_file_chooser_init), (ephy_file_chooser_finalize), (ephy_file_chooser_set_persist_key), (ephy_file_chooser_set_property), (ephy_file_chooser_get_property), (ephy_file_chooser_class_init), (ephy_file_chooser_new): * lib/ephy-file-chooser.h: * src/bookmarks/ephy-bookmarks-editor.c: (import_from_file_response_cb), (import_dialog_response_cb): New file chooser wrapper class; ported file chooser callers to it. 2003-10-26 Marco Pesenti Gritti * lib/egg/egg-editable-toolbar.c: (toolbar_drag_motion_cb): Resync api 2003-10-25 Christian Persch * data/default-prefs.js: Use "" instead of null, the new mozilla prefs parser doesn't recognise null and aborts. Thanks to Crispin for alerting me to this. 2003-10-25 Christian Persch * data/default-prefs.js: Add missing font.size prefs for zh-HK font group. 2003-10-25 Marco Pesenti Gritti * embed/Makefile.am: * embed/ephy-command-manager.c: (ephy_command_manager_get_type), (ephy_command_manager_base_init), (ephy_command_manager_do_command), (ephy_command_manager_can_do_command), (ephy_command_manager_observe_command): * embed/ephy-command-manager.h: Interface for commands. Useful for undo. (cmd_undo works). * embed/ephy-embed.c: * embed/ephy-embed.h: Remove all clipboard calls. * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed.cpp: Implement part of the commands interface. No regressions. * src/window-commands.c: (window_cmd_edit_cut), (window_cmd_edit_copy), (window_cmd_edit_paste), (window_cmd_edit_select_all): Implement clipboard using commands. 2003-10-25 Xan Lopez * embed/downloader-view.c: (downloader_view_build_ui), (download_dialog_delete_cb): Remove a debug print, don't do anything on wm delete event. 2003-10-25 Marco Pesenti Gritti * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSDialogs.h: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.h: * embed/mozilla/Makefile.am: Resync with galeon. 2003-10-25 Xan Lopez * data/glade/epiphany.glade: * embed/downloader-view.c: (downloader_view_init), (downloader_view_finalize), (get_row_from_download), (download_changed_cb), (downloader_view_add_download), (downloader_view_build_ui), (downloader_view_remove_download), (download_dialog_delete_cb): Remove open button, autclose when there are no downloads left. 2003-10-25 David Bordoley * src/ephy-tab.c: (build_net_state_message): don't pollute the statusbar with a "Done." message. 2003-10-24 Christian Persch * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_response_cb), (view_node_selected_cb), (automatic_toggled_cb), (ephy_encoding_dialog_init): * data/glade/epiphany.glade: Made encoding dialog auto-apply. 2003-10-24 Marco Pesenti Gritti * lib/egg/egg-toolbar-editor.c: (set_drag_cursor), (event_box_realize_cb), (editor_create_item): Use special drag cursors also for editor. Do not hide separator when dragging it. 2003-10-24 David Bordoley * data/art/hand-open.png: Took the open hand icon used in eog, did some gimp magic. Why am I up at 4:30 in the morning doing this? 2003-10-25 Christian Persch * embed/mozilla/EphyHeaderSniffer.cpp: Use translatable title for untitled pages. 2003-10-24 Marco Pesenti Gritti * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Add an helper to initialize downloads. * embed/ephy-embed-persist.h: Add a flag to ask destination. * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: Use the helper. Add code to determine a good filename. * embed/mozilla/mozilla-embed-persist.cpp: Use a MozDownload directly if there is a dest set, it doesnt make sense to use sniffer for favicons. 2003-10-23 Marco Pesenti Gritti * lib/egg/egg-editable-toolbar.c: (create_item_from_action), (egg_editable_toolbar_construct): Remove invalid items 2003-10-23 Marco Pesenti Gritti * src/toolbar.c: (toolbar_spinner_start), (toolbar_spinner_stop): Make the spinner spin again. 2003-10-23 Marco Pesenti Gritti * data/ui/epiphany-toolbar.xml: * lib/egg/egg-editable-toolbar.c: (get_toolbar_position), (get_dock_nth), (get_toolbar_nth), (create_dock), (update_fixed), (toolbar_added_cb), (toolbar_removed_cb), (egg_editable_toolbar_construct), (egg_editable_toolbar_init), (egg_editable_toolbar_finalize), (egg_editable_toolbar_show), (egg_editable_toolbar_hide), (egg_editable_toolbar_set_fixed): * lib/egg/egg-editable-toolbar.h: * src/Makefile.am: * src/toolbar.c: (toolbar_setup_actions), (toolbar_init), (toolbar_spinner_start), (toolbar_spinner_stop): Move the spinner in his own mini toolbar. 2003-10-23 Xan Lopez * embed/mozilla/EphyEventListener.cpp: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/EventContext.cpp: Every time you change API God kills a kitten. Think of the kitten!! (That means you, Mozilla :) 2003-10-22 Marco Pesenti Gritti * data/ui/Makefile.am: Add xml files to extra data 2003-10-22 Marco Pesenti Gritti * NEWS: Update for 1.1.0 2003-10-21 Marco Pesenti Gritti * lib/egg/egg-editable-toolbar.c: (drag_begin_cb), (drag_end_cb), (set_drag_cursor), (unset_drag_cursor), (create_item_from_action), (create_item), (data_is_separator), (set_status_pending), (get_status_pending), (drag_data_received_cb), (remove_toolbar_cb), (popup_toolbar_context_menu_cb), (free_dragged_item), (toolbar_drag_drop_cb), (toolbar_drag_motion_cb), (toolbar_drag_leave_cb), (create_toolbar), (item_removed_cb), (egg_editable_toolbar_set_drag_dest): * lib/egg/egg-toolbar-editor.c: (drag_begin_cb), (drag_end_cb), (editor_create_item): Use new api for highlighting and make it pick up and drop behavior 2003-10-20 Christian Persch Encoding menu improvements, Episode V: MPT strikes back. * data/glade/epiphany.glade: * embed/ephy-encodings.c: (ephy_encodings_finalize), (ephy_encodings_init): * embed/ephy-encodings.h: * src/ephy-encoding-dialog.c: (encoding_is_automatic), (sync_embed_cb), (activate_choice), (ephy_encoding_dialog_response_cb), (view_node_selected_cb), (view_node_activated_cb), (ephy_encoding_dialog_init): Replace the 2-pane view with a single list, and restore the automatic and manual radio buttons. 2003-10-20 Marco Pesenti Gritti * src/ephy-history-window.c: (setup_filters), (ephy_history_window_construct): Make sure that both sites and hosts are filtered on construct 2003-10-19 Marco Pesenti Gritti * embed/downloader-view.c: (downloader_view_build_ui): * src/language-editor.c: (language_editor_set_view): unref the model once it's set in the view 2003-10-19 Marco Pesenti Gritti * src/ephy-location-action.c: (remove_completion_actions): Index are not identifiers 2003-10-19 Marco Pesenti Gritti * embed/ephy-history.c: (update_host_on_child_remove), (update_hosts): We cant remove while iterating childrens, build a list and remove later. 2003-10-19 Christian Persch * src/ephy-location-action.c: (init_actions_list): Thaw smartbookmarks node after use. 2003-10-19 Marco Pesenti Gritti * TODO: * embed/ephy-download.c: (ephy_download_class_init), (ephy_download_init), (update_remaining_time), (ephy_download_get_remaining_time): * embed/ephy-download.h: Update remaning time every two seconds * embed/mozilla/mozilla-download.cpp: Source/target was swapped * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: Fix style 2003-10-19 Marco Pesenti Gritti * embed/ephy-history.c: (update_hosts): do not try to remove All node 2003-10-19 Marco Pesenti Gritti * embed/mozilla/mozilla-embed-persist.cpp: cleanup. Fix warning when fetching favicons. 2003-10-18 Marco Pesenti Gritti * embed/mozilla/EphyHeaderSniffer.cpp: Looks like I copied a bug from mozilla js code. Do not show bogus checkbox. 2003-10-18 Marco Pesenti Gritti * embed/mozilla/MozDownload.cpp: initialize cur/total size 2003-10-18 Marco Pesenti Gritti * TODO: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: fixup style 2003-10-18 Marco Pesenti Gritti * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: Add nsIAuthPrompt implementation, necessary to make downloads on authenticated pages work. 2003-10-18 Christian Persch * src/bookmarks/ephy-bookmarks.c: (add_to_favorites), (history_site_visited_cb): * src/ephy-favorites-menu.c: (ephy_favorites_menu_get_type), (ephy_favorites_menu_clean), (ephy_favorites_menu_rebuild), (ephy_favorites_menu_set_property), (ephy_favorites_menu_get_property), (ephy_favorites_menu_class_init), (do_updates), (fav_removed_cb), (fav_added_cb), (ephy_favorites_menu_init), (ephy_favorites_menu_finalize), (ephy_favorites_menu_new): * src/ephy-favorites-menu.h: * src/ephy-window.c: * src/ephy-window.h: Get rid of the last vestige of ephy_window_update_control(), and make the favourites menu self-updating. 2003-10-18 Marco Pesenti Gritti * src/ephy-window.c: (setup_window): Show encoding menu also when empty, fix oddness when opening View menu 2003-10-18 Marco Pesenti Gritti * embed/mozilla/EphyWrapper.cpp: Fix string for old mozilla versions. 2003-10-18 Christian Persch Encoding menu improvements, Part 4: The Rewrite. * data/glade/epiphany.glade: * data/ui/epiphany-ui.xml: * data/ui/nautilus-epiphany-view.xml.in: * embed/Makefile.am: * embed/ephy-embed-shell.c: (ephy_embed_shell_init), (ephy_embed_shell_finalize), (ephy_embed_shell_new), (ephy_embed_shell_get_encodings): * embed/ephy-embed-shell.h: * embed/ephy-embed-utils.c: (ephy_embed_utils_save): * embed/ephy-embed-utils.h: * embed/ephy-embed.c: (ephy_embed_get_encoding_info): * embed/ephy-embed.h: * embed/ephy-encodings.c: (ephy_encodings_get_type), (ephy_encodings_finalize), (ephy_encodings_class_init), (ephy_encodings_get_node), (ephy_encodings_get_encodings), (ephy_encodings_get_detectors), (ephy_encodings_get_all), (ephy_encodings_get_categories), (ephy_encodings_add_recent), (ephy_encodings_get_recent), (ephy_encodings_init), (ephy_encoding_info_free), (ephy_encodings_new): * embed/ephy-encodings.h: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: * lib/Makefile.am: * lib/ephy-encodings.c: * lib/ephy-encodings.h: * lib/ephy-langs.c: (ephy_font_languages), (ephy_font_n_languages): * lib/ephy-langs.h: * src/Makefile.am: * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_get_type), (setup_filter), (sync_embed_cb), (sync_active_tab), (ephy_encoding_dialog_set_window), (activate_choice), (activate_automatic), (ephy_encoding_dialog_response_cb), (category_node_selected_cb), (view_node_selected_cb), (view_node_activated_cb), (ephy_encoding_dialog_init), (ephy_encoding_dialog_finalize), (ephy_encoding_dialog_set_property), (ephy_encoding_dialog_get_property), (ephy_encoding_dialog_class_init), (ephy_encoding_dialog_new): * src/ephy-encoding-dialog.h: * src/ephy-encoding-menu.c: (ephy_encoding_menu_init), (sort_encodings), (add_menu_item), (update_encoding_menu_cb), (encoding_activate_cb), (add_action), (ephy_encoding_menu_view_dialog_cb), (ephy_encoding_menu_automatic_cb), (ephy_encoding_menu_set_window), (ephy_encoding_menu_finalize), (ephy_encoding_menu_class_init), (ephy_encoding_menu_new): * src/ephy-nautilus-view.c: (gnv_bonobo_control_activate_cb), (gnv_cmd_select_encoding), (gnv_cmd_edit_find): * src/ephy-window.c: (ephy_window_set_active_tab), (setup_notebook), (ephy_window_set_property), (ephy_window_get_property), (ephy_window_class_init): * src/language-editor.h: * src/pdm-dialog.c: (setup_passwords_treeview), (setup_cookies_treeview): * src/prefs-dialog.c: (prefs_dialog_finalize), (get_current_language_code), (fonts_language_info_cmp), (create_fonts_language_menu), (find_encoding_in_list_cmp), (sort_encodings), (create_optionmenu), (prefs_dialog_init): Made encodings menu dynamic, containing recently used items + items related to the currently active encoding. Split encodings out as a embed shell service, port all users over to that. Harvest all encoding info we can get from mozilla. 2003-10-17 Marco Pesenti Gritti * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_show), (ephy_bookmarks_editor_class_init), (ephy_bookmarks_editor_construct): Grab focus in the entry when showing because we dont rebuild the dialog. 2003-10-17 Marco Pesenti Gritti * embed/mozilla/mozilla-embed-persist.cpp: Fix Save As, we need ever to pass the url now. Now hope chpe stop to bug me about things xan broke ... 2003-10-16 Mark McLoughlin Change the behaviour of --nautilus-view such that the process doesn't exit until the last control has been destroyed. The previous behaviour caused intermittent activation failure when the process timed out and died before the view could be created - bug #124768. * src/ephy-main.c: (ephy_main_start): don't unref the shell when started with --nautilus-view. (ephy_main_dummy_url_argument), (ephy_main_translate_url_arguments): create a dummy argument when no arguments are supplied which will cause the default window to be opened. * src/ephy-shell.c: (ephy_nautilus_view_all_controls_dead): unref the shell here causing the process to exit. (ephy_nautilus_view_init_factory): setup the all_controls_dead callback. (ephy_nautilus_view_new): instrument the control. 2003-10-17 Ettore Perazzoli * src/bookmarks/ephy-bookmarks-editor.c (ephy_bookmarks_editor_construct): Make the search entry grab the focus, for added ease of use when using the keyboard. 2003-10-15 Christian Persch * embed/mozilla/EventContext.cpp: Include config.h. 2003-10-14 Kristian Rietveld * configure.in: also support mozilla 1.5. (Works fine, verified with mozilla 1.5rc2). 2003-10-14 Marco Pesenti Gritti * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init), (ephy_location_entry_construct_contents), (ephy_location_entry_init), (ephy_location_entry_activate): * lib/widgets/ephy-location-entry.h: * src/ephy-history-window.c: (confirmation_dialog_response_cb): * src/ephy-location-action.c: (remove_completion_actions), (add_completion_actions), (connect_proxy), (ephy_location_action_set_address): * src/ephy-location-action.h: * src/toolbar.c: * src/toolbar.h: Make location a normal entry. 2003-10-13 Marco Pesenti Gritti * lib/widgets/ephy-location-entry.c: (ephy_location_entry_set_completion): Unref completion 2003-10-13 Christian Persch * embed/ephy-embed-single.c: (ephy_embed_single_free_passwords): * embed/ephy-embed-single.h: * embed/ephy-embed-utils.c: (ephy_embed_utils_build_encodings_submenu): * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * lib/Makefile.am: * lib/ephy-encodings.c: (ephy_encoding_info_free), (encodings_info_cmp), (ephy_encodings_get_list): * lib/ephy-encodings.h: * lib/ephy-langs.c: (ephy_lang_group_info_free), (lang_group_info_cmp), (ephy_lang_get_group_list), (fonts_language_info_cmp), (ephy_font_langs_get_codes_list), (ephy_font_langs_get_list): * lib/ephy-langs.h: * po/POTFILES.in: * src/ephy-encoding-menu.c: (ephy_encoding_menu_set_window), (ephy_encoding_menu_rebuild): * src/prefs-dialog.c: (prefs_dialog_finalize), (get_current_language_code), (create_fonts_language_menu), (default_encoding_menu_changed_cb), (find_encoding_in_list_cmp), (create_default_encoding_menu): Encodings menu improvements, part 3: Refactored the encodings list; it no longer is neccessary to have it in the embed single. Ported all callers to new infrastructure. 2003-10-13 Marco Pesenti Gritti * data/art/Makefile.am: * lib/egg/Makefile.am: * lib/egg/egg-editable-toolbar.c: (set_drag_cursor): Use a costum icon for the cursor 2003-10-13 Marco Pesenti Gritti * lib/egg/egg-editable-toolbar.c: (set_drag_cursor), (unset_drag_cursor), (create_item), (egg_editable_toolbar_set_edit_mode): Better implementation of cursor. 2003-10-13 Marco Pesenti Gritti * lib/egg/egg-editable-toolbar.c: (enter_notify_cb), (leave_notify_cb), (create_item): Show a different cursor when hovering toolbar items in edit mode. 2003-10-13 Marco Pesenti Gritti * src/bookmarks/ephy-bookmarks-editor.c: (add_bookmarks_source), (import_dialog_response_cb), (cmd_bookmarks_import): Port to new combo. 2003-10-13 Marco Pesenti Gritti * src/ephy-history-window.c: (add_by_date_filter), (time_combo_changed_cb), (build_search_box), (save_date_filter): Port to new combo. Size is wrong, prolly a bug in combo size request, will look at it later. 2003-10-13 Christian Persch * embed/mozilla/mozilla-notifiers.cpp: (get_system_language): Return "en" when in C locale. 2003-10-11 Christian Persch * embed/mozilla/EphyWrapper.cpp: Include config.h. 2003-10-11 Christian Persch * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/mozilla-embed.cpp: Adapt EphyWrapper::GetEncoding to varying mozilla APIs. 2003-10-11 Christian Persch * embed/ephy-embed.c: (ephy_embed_get_encoding): * embed/ephy-embed.h: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-encoding-menu.c: (ephy_encoding_menu_verb_cb), (update_encoding_menu_cb), (ephy_encoding_menu_set_window): Encoding menu improvements, part 2: Implement ephy_embed_get_encoding, and use it in the menu to indicate the encoding of the loaded page. 2003-10-11 Christian Persch * src/ephy-encoding-menu.c: (ephy_encoding_menu_get_type), (ephy_encoding_menu_verb_cb), (ephy_encoding_menu_init), (ephy_encoding_menu_set_window), (ephy_encoding_menu_set_property), (ephy_encoding_menu_get_property), (ephy_encoding_menu_class_init), (ephy_encoding_menu_new), (ephy_encoding_menu_rebuild): * src/ephy-encoding-menu.h: Encodings menu improvements, part 1: Ported to new gtk ui manager api, and general code cleanups. 2003-10-10 Marco Pesenti Gritti * embed/mozilla/FilePicker.cpp: * embed/mozilla/FilePicker.h: * embed/mozilla/mozilla-embed-single.cpp: * lib/Makefile.am: * lib/ephy-dialog.c: (get_pref_type_from_widget), (prefs_connect_signals), (load_props), (save_props): * lib/ephy-gui.h: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-topic-action.c: * src/ephy-history-window.c: Reenable deprecated api where necessary, fixup some header inclusions. Remove unused color picker control in ephy-dialog. Remove unused file types optionmenu in Filepicker. 2003-10-07 Marco Pesenti Gritti * lib/widgets/ephy-tree-model-node.c: (root_child_removed_cb), (get_path_real), (root_child_added_cb), (ephy_tree_model_node_update_node), (root_child_changed_cb), (root_children_reordered_cb), (root_destroy_cb), (ephy_tree_model_node_class_init), (ephy_tree_model_node_init), (ephy_tree_model_node_finalize), (ephy_tree_model_node_add_prop_column), (ephy_tree_model_node_add_func_column), (ephy_tree_model_node_get_column_type), (ephy_tree_model_node_get_value), (ephy_tree_model_node_get_iter), (ephy_tree_model_node_get_path), (ephy_tree_model_node_iter_next), (ephy_tree_model_node_iter_children), (ephy_tree_model_node_iter_n_children), (ephy_tree_model_node_iter_nth_child), (ephy_tree_model_node_iter_from_node), (ephy_tree_model_node_tree_model_init): * lib/widgets/ephy-tree-model-node.h: Merge fixes from branch and clean up. 2003-10-16 Marco Pesenti Gritti * embed/mozilla/ContentHandler.cpp: pass handler with full path, not only exec name. I dont get how it worked before. 2003-10-16 Marco Pesenti Gritti * lib/widgets/ephy-cell-renderer-progress.c: (ephy_cell_renderer_progress_init), (ephy_cell_renderer_progress_set_value), (ephy_cell_renderer_progress_set_property), (compute_dimensions), (ephy_cell_renderer_progress_get_size), (ephy_cell_renderer_progress_render), (ephy_cell_renderer_progress_finalize), (ephy_cell_renderer_progress_class_init): * lib/widgets/ephy-cell-renderer-progress.h: fix for unknown/failed states 2003-10-16 Xan Lopez * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Unbreak for real. 2003-10-16 Xan Lopez * TODO: * embed/downloader-view.c: * embed/mozilla/MozDownload.cpp: Evil marco loves to break my changes, ahem. 2003-10-16 Marco Pesenti Gritti * TODO: * embed/downloader-view.c: (downloader_view_init), (get_row_from_download), (download_changed_cb), (downloader_view_add_download), (downloader_view_build_ui), (download_dialog_pause_cb), (downloader_view_remove_download), (download_dialog_abort_cb): * embed/ephy-download.c: (ephy_download_get_state): * embed/ephy-download.h: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-download.cpp: Implement state. 2003-10-16 Marco Pesenti Gritti * data/glade/epiphany.glade: Remove details * embed/downloader-view.c: Remove details button leftover 2003-10-16 Marco Pesenti Gritti * embed/mozilla/MozDownload.cpp: Fix some bugs 2003-10-16 Marco Pesenti Gritti * embed/ephy-embed-persist.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Implement no_view downloads and use for favicons. 2003-10-15 Marco Pesenti Gritti * embed/mozilla/MozDownload.cpp: Fix reference problem when using persist. 2003-10-15 Xan Lopez * data/glade/epiphany.glade: * embed/downloader-view.c: (downloader_view_init), (downloader_view_finalize), (download_changed_cb), (downloader_view_add_download), (downloader_view_build_ui), (download_dialog_pause_cb), (downloader_view_remove_download), (download_dialog_abort_cb), (download_dialog_delete_cb): Re-add abort UI, drop details Serious glade cleanup is left as an exercise for the reader 2003-10-15 Xan Lopez * data/glade/epiphany.glade: * embed/downloader-view.c: (downloader_view_add_download), (download_dialog_pause_cb), (download_dialog_abort_cb): * embed/downloader-view.h: Fix stop button (UI not updated yet) * embed/mozilla/MozDownload.cpp: Init mEmbedPersist to nsnull (Marco) 2003-10-14 Marco Pesenti Gritti * embed/downloader-view.c: (format_interval), (download_changed_cb), (downloader_view_build_ui): * embed/ephy-download.c: (ephy_download_get_remaining_time), (ephy_download_get_current_progress), (ephy_download_get_total_progress), (ephy_download_get_percent), (ephy_download_get_elapsed_time): * embed/ephy-download.h: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-download.cpp: * lib/widgets/Makefile.am: Get back the treeview info to work. Use procman progress renderer for percent. 2003-10-14 Marco Pesenti Gritti * embed/downloader-view.c: (download_changed_cb), (downloader_view_add_download): Fix percent/filenamee 2003-10-14 Marco Pesenti Gritti * embed/downloader-view.c: (download_changed_cb), (downloader_view_add_download), (downloader_view_build_ui), (downloader_treeview_selection_changed_cb): * embed/ephy-download.c: (ephy_download_class_init), (ephy_download_new), (ephy_download_get_name): * embed/ephy-download.h: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Implement a download changed signal and try to update percent in the treeview. 2003-10-14 Marco Pesenti Gritti * embed/ephy-download.c: (ephy_download_get_source), (ephy_download_get_target), (ephy_download_get_percent): * embed/ephy-download.h: * embed/mozilla/mozilla-download.cpp: Implement basic download info getters. 2003-10-14 Marco Pesenti Gritti * embed/Makefile.am: * embed/downloader-view.c: (destroy_details_cb), (downloader_view_update_controls), (downloader_view_update_details), (downloader_view_set_download_info), (downloader_view_add_download), (downloader_view_build_ui), (download_dialog_pause_cb), (download_dialog_abort_cb), (downloader_treeview_selection_changed_cb), (download_dialog_delete_cb), (open_selection_foreach), (download_dialog_open_cb): * embed/downloader-view.h: * embed/ephy-download.c: (ephy_download_get_type), (ephy_download_class_init), (ephy_download_init), (ephy_download_new), (ephy_download_cancel), (ephy_download_pause), (ephy_download_resume): * embed/ephy-download.h: * embed/ephy-embed-shell.c: (impl_get_downloader_view): * embed/mozilla/EphyDownload.cpp: * embed/mozilla/EphyDownload.h: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/Makefile.am: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-download.h: * embed/mozilla/mozilla-embed-persist.cpp: * lib/Makefile.am: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Big architectural changes. Now I think it make sense, but we need to rewrite a lot of ui code. 2003-10-14 Xan Lopez * embed/downloader-view.c: (downloader_view_class_init), (download_dialog_pause_cb), (delete_pending_foreach): * embed/mozilla/mozilla-downloader-view.cpp: * embed/mozilla/mozilla-downloader-view.h: Some cleanups. 2003-10-14 Xan Lopez * embed/downloader-view.c: (download_dialog_abort_cb), (downloader_cancel_download): * embed/mozilla/mozilla-downloader-view.cpp: Evil stuff. 2003-10-14 Xan Lopez * embed/ephy-embed-shell.c: (impl_get_downloader_view): * embed/mozilla/mozilla-downloader-view.cpp: * embed/mozilla/mozilla-downloader-view.h: And More. 2003-10-13 Xan Lopez * embed/mozilla/EphyDownload.h: Cleanup * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-downloader-view.cpp: * embed/mozilla/mozilla-downloader-view.h: Yet More Work. 2003-10-13 Xan Lopez * embed/downloader-view.c: (downloader_view_class_init), (download_dialog_pause_cb), (download_dialog_abort_cb), (delete_pending_foreach), (downloader_cancel_download), (downloader_pause_download), (downloader_resume_download): * embed/downloader-view.h: More work. 2003-10-07 Marco Pesenti Gritti * embed/mozilla/EphyHeaderSniffer.cpp: Fix crash when download start 2003-10-07 Marco Pesenti Gritti * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.c: (save_property_url), (embed_popup_download_link_cmd), (embed_popup_save_image_as_cmd), (save_url), (embed_popup_save_page_as_cmd), (embed_popup_save_background_as_cmd): * embed/ephy-embed-utils.c: (ephy_embed_utils_save): * embed/ephy-embed-utils.h: * embed/mozilla/EphyDownload.cpp: * embed/mozilla/EphyDownload.h: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: * embed/mozilla/mozilla-embed-persist.cpp: * src/popup-commands.c: (save_property_url), (popup_cmd_download_link), (popup_cmd_save_image_as), (popup_cmd_save_background_as): * src/window-commands.c: (window_cmd_file_save_as): Make embed-persist use nsIDownload and cleanup api a bit. 2003-10-06 Xan Lopez * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/GlobalHistory.h: * embed/mozilla/ProgressListener.cpp: * embed/mozilla/ProgressListener.h: * embed/mozilla/mozilla-embed-persist.cpp: Remove ProgressListener again, hopefully everything compiles without it now. 2003-10-06 Xan Lopez * embed/mozilla/EphyDownload.cpp: * embed/mozilla/EphyDownload.h: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/ProgressListener.cpp: * embed/mozilla/ProgressListener.h: * embed/mozilla/mozilla-embed-persist.cpp: Cleanups. 2003-10-06 Xan Lopez * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/mozilla-embed-persist.cpp: Make it work, behold the all new EphyDownload. 2003-10-06 Christian Persch * src/ephy-notebook.c: (find_notebook_at_pointer), (ephy_notebook_init), (ephy_notebook_finalize): Allow dragging of tabs to a window even when the tabs bar is not shown. Fixes bug #123908. 2003-10-06 Marco Pesenti Gritti * src/ephy-history-window.c: (setup_filters), (site_node_selected_cb), (search_entry_search_cb), (time_optionmenu_changed_cb): More granular filtering update 2003-10-06 Marco Pesenti Gritti * embed/ephy-history.c: (update_host_on_child_remove), (update_hosts), (page_removed_from_host_cb), (ephy_history_init), (ephy_history_finalize): Update host last visit when removing sites from it. 2003-10-06 Marco Pesenti Gritti * src/ephy-history-window.c: (search_entry_search_cb): update priv->select_node, signals are blocked so it would not be updated otherwise 2003-10-06 Marco Pesenti Gritti * lib/widgets/ephy-node-view.c: (did_not_drag): Do not unselect all on single selection mode, to not generate useless node selection changes. * src/ephy-history-window.c: (site_node_selected_cb): Do not refilter if the new selected node is the same as the old one. 2003-10-03 Christian Persch * lib/egg/egg-toolbars-model.c: (safe_save_xml), (egg_toolbars_model_load): Check for failed load of the toolbars model from the XML file, and fix the check for failed save of same to the XML file. 2003-10-02 Marco Pesenti Gritti * src/bookmarks/ephy-bookmarks-menu.c: (add_bookmarks_menu), (ephy_bookmarks_menu_rebuild): Use new gtk api for empty submenus 2003-10-07 Marco Pesenti Gritti * src/ephy-completion-model.c: (node_iter_from_node), (ephy_completion_model_init), (ephy_completion_model_get_value), (ephy_completion_model_get_iter), (ephy_completion_model_get_path), (ephy_completion_model_iter_next), (ephy_completion_model_iter_children), (ephy_completion_model_iter_n_children), (ephy_completion_model_iter_nth_child): Add stamp. 2003-10-06 Marco Pesenti Gritti * lib/widgets/ephy-location-entry.c: (completion_func), (match_selected_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_init), (sort_func), (ephy_location_entry_set_completion): * lib/widgets/ephy-location-entry.h: * src/Makefile.am: * src/ephy-completion-model.c: (ephy_completion_model_class_init), (root_child_removed_cb), (node_iter_from_node), (get_path_real), (root_child_added_cb), (root_child_changed_cb), (connect_signals), (ephy_completion_model_init), (ephy_completion_model_get_column_type), (init_text_col), (init_action_col), (init_keywords_col), (init_relevance_col), (ephy_completion_model_get_value), (ephy_completion_model_get_iter): * src/ephy-location-action.c: (connect_proxy): Implement our own completion model. The big part of the new location entry impl is done. When gtk completion will be fixed I'll be able to merge this on head. 2003-10-05 Marco Pesenti Gritti * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init), (entry_activate_cb): * lib/widgets/ephy-location-entry.h: Remove the activated signal. * src/ephy-location-action.c: (action_activated_cb), (location_url_activate_cb), (remove_completion_actions), (add_completion_actions), (connect_proxy), (ephy_location_action_init): Just use entry activate signal. Implement smart bookmarks activation. 2003-10-05 Marco Pesenti Gritti * lib/ephy-node-common.h: * lib/widgets/ephy-location-entry.c: (ephy_location_entry_get_entry): * lib/widgets/ephy-location-entry.h: * src/bookmarks/ephy-bookmark-action.c: (sync_bookmark_properties): * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init), (update_has_smart_address), (ephy_bookmarks_add), (ephy_bookmarks_set_address), (ephy_bookmarks_unset_keyword), (ephy_bookmarks_get_smart_bookmarks): * src/bookmarks/ephy-bookmarks.h: Modify smart bookmarks to use a separate root instead of a property. * src/ephy-location-action.c: (remove_completion_actions), (add_completion_actions), (connect_proxy), (init_actions_list), (update_actions_list), (actions_child_removed_cb), (actions_child_added_cb), (actions_child_changed_cb), (ephy_location_action_init), (ephy_location_action_finalize): Implement smart bookmarks as location actions. 2003-10-05 Marco Pesenti Gritti * lib/widgets/ephy-location-entry.c: (add_to_history), (entry_activate_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_init), (save_location_history), (ephy_location_entry_finalize), (ephy_location_entry_clear_history): Implement location history. * lib/widgets/ephy-tree-model-node.c: (root_children_reordered_cb): Fixup reorder notification. 2003-10-03 Marco Pesenti Gritti * lib/widgets/ephy-location-entry.c: (match_selected_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_add_completion): Do not create multiple gtk completions, open the url when a match is selected. 2003-10-02 Marco Pesenti Gritti * lib/egg/Makefile.am: * lib/egg/eggtreemodelunion.c: * lib/egg/eggtreemodelunion.h: Add from libegg. * lib/widgets/ephy-location-entry.c: (completion_func), (ephy_location_entry_construct_contents), (ephy_location_entry_add_completion): * lib/widgets/ephy-location-entry.h: * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_get_value): * src/ephy-location-action.c: (connect_proxy): Merge bookmarks in autocompletion and implement case unsensitive match. 2003-10-02 Marco Pesenti Gritti * lib/widgets/ephy-location-entry.c: (completion_func), (ephy_location_entry_init), (ephy_location_entry_add_completion): Costum match function to deal with prefixes. * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_get_column_type), (ephy_tree_model_node_get_value): Fix column indexes. 2003-10-01 Marco Pesenti Gritti * lib/widgets/ephy-location-entry.c: (entry_button_press_cb), (ephy_location_entry_construct_contents): Put back double click -> select all 2003-10-01 Marco Pesenti Gritti * lib/widgets/ephy-location-entry.c: (location_focus_out_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_init), (ephy_location_entry_finalize), (ephy_location_entry_add_completion), (ephy_location_entry_set_location), (ephy_location_entry_get_location), (ephy_location_entry_activate), (ephy_location_entry_clear_history): * lib/widgets/ephy-location-entry.h: cleanups 2003-10-01 Marco Pesenti Gritti * embed/ephy-history.c: (ephy_history_get_type), (ephy_history_init), (ephy_history_visited): * lib/Makefile.am: * lib/ephy-autocompletion-source.c: * lib/ephy-autocompletion-source.h: * lib/ephy-autocompletion.c: * lib/ephy-autocompletion.h: * lib/widgets/Makefile.am: * lib/widgets/ephy-autocompletion-window.c: * lib/widgets/ephy-autocompletion-window.h: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_type), (bookmarks_changed_cb), (bookmarks_removed_cb), (ephy_bookmarks_init), (ephy_bookmarks_add): Remove old implementation completely 2003-10-01 Marco Pesenti Gritti * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init), (editable_changed_cb), (entry_activate_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_init), (ephy_location_entry_finalize), (ephy_location_entry_new), (ephy_location_entry_add_completion), (ephy_location_entry_set_location), (ephy_location_entry_clear_history): * lib/widgets/ephy-location-entry.h: * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_add_prop_column), (ephy_tree_model_node_add_func_column): * src/ephy-location-action.c: (connect_proxy): * src/ephy-shell.c: (ephy_shell_finalize), (ephy_shell_get_session): * src/ephy-shell.h: Beginning of new location entry implementation 2003-09-30 Marco Pesenti Gritti * data/epiphany.schemas.in: * data/ui/epiphany-history-window-ui.xml: * src/ephy-history-window.c: (set_columns_visibility), (cmd_view_columns), (get_details_value), (ephy_history_window_construct): Implement view menu. 2003-09-30 Christian Persch * src/ephy-history-window.c: (build_search_box): Use ngettext. 2003-09-30 Christian Persch * embed/print-dialog.c: (print_get_info): Don't pass NULL to gnome_vfs_expand_initial_tilde. 2003-09-30 Marco Pesenti Gritti * embed/ephy-history.c: * src/ephy-history-window.c: (build_search_box): More accurate description for Ever filter. Keep the backend as is, so we dont have to change it if we change history expire. 2003-09-29 Marco Pesenti Gritti * data/default-prefs.js: Add defaults in points for fonts 2003-09-28 Marco Pesenti Gritti * embed/mozilla/mozilla-embed-single.cpp: The file picker dir can be NULL, check before trying to expand tilde. * src/bookmarks/ephy-bookmarks-editor.c: (import_dialog_response_cb), (cmd_bookmarks_import): Implement import from a file 2003-09-27 Xan Lopez * configure.in: Forgot this. 2003-09-27 Xan Lopez * configure.in: * embed/mozilla/ContentHandler.cpp: API sync, from galeon. 2003-09-27 Christian Persch * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmarks_import): * src/bookmarks/ephy-bookmarks-import.h: Offer to import from Firebird too. 2003-09-27 Marco Pesenti Gritti * lib/ephy-gui.c: (ephy_gui_get_pixbuf_from_mime_type): Simpler implementation. * lib/widgets/ephy-spinner.c: (ephy_spinner_load_images): * src/ephy-shell.c: (ephy_shell_init): Pass 0 as flags 2003-09-27 Marco Pesenti Gritti * embed/mozilla/ContentHandler.cpp: * lib/ephy-gui.c: (make_mime_name), (ephy_gui_get_pixbuf_from_mime_type): * lib/ephy-gui.h: * lib/widgets/ephy-spinner.c: (ephy_spinner_init), (ephy_spinner_theme_changed), (ephy_spinner_load_images), (ephy_spinner_finalize): * src/ephy-shell.c: (ephy_shell_init): Use gtkicontheme, and use it also for mime icons. 2003-09-26 Marco Pesenti Gritti * data/epiphany.schemas.in: * lib/ephy-node-filter.c: (ephy_node_filter_evaluate): * src/ephy-history-window.c: (ephy_history_window_finalize), (add_by_site_filter), (add_by_date_filter), (add_by_word_filter), (setup_filters), (site_node_selected_cb), (search_entry_search_cb), (time_optionmenu_changed_cb), (build_search_box), (ephy_history_window_construct), (save_date_filter), (ephy_history_window_dispose): Implement history time filter 2003-09-26 Marco Pesenti Gritti * src/ephy-window.c: Remove unused includes, they was causing warnings on solaris