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