aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Always center dialog on screen. Bug #324896.Christian Neumair2005-12-241-0/+1
| | | | | | | | 2005-12-23 Christian Neumair <chris@gnome-de.org> * src/ephy-session.c: (offser_to_resume): Always center dialog on screen. Bug #324896.
* Show warning on mixed content in the tooltip. Bug #321508.Christian Persch2005-12-211-0/+5
| | | | | | | | 2005-12-20 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Show warning on mixed content in the tooltip. Bug #321508.
* Add some code so ad blocking should be more easy. Based on the fact thatJean-François Rameau2005-12-201-1/+1
| | | | | | | | | | | | | | | | | | | | | 2005-12-19 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/Makefile.am: * embed/ephy-adblock-manager.c: * embed/ephy-adblock-manager.h: * embed/ephy-embed-shell.c: (ephy_embed_shell_finalize): * embed/ephy-embed-shell.h: * embed/mozilla/EphyContentPolicy.cpp: (EphyContentPolicy::ShouldLoad): * lib/Makefile.am: * lib/ephy-adblock.h: * lib/ephy-adblock.c: * src/ephy-shell.c: (ephy_shell_get_extensions_manager): Add some code so ad blocking should be more easy. Based on the fact that Epiphany already has its own content policy component (EphyContentPolicy). The new design adds: - an interface, EphyAdBlock - a manager, EphyAdBlockManager, pointing to a blocker (possibly no one).
* A src/ephy-cert-manager-dialog.c: A src/ephy-cert-manager-dialog.h: RChristian Persch2005-12-114-6/+6
| | | | | | | | | | | | | 2005-12-11 Christian Persch <chpe@cvs.gnome.org> * src/Makefile.am: A src/ephy-cert-manager-dialog.c: A src/ephy-cert-manager-dialog.h: R src/ephy-certificate-manager.c: R src/ephy-certificate-manager.h: * src/window-commands.c: Fix stupid mistake.
* A embed/ephy-certificate-manager.c: A embed/ephy-certificate-manager.h: AChristian Persch2005-12-116-0/+619
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-12-11 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * data/glade/Makefile.am: * data/glade/certs-manager.glade: * data/ui/epiphany-ui.xml: * embed/Makefile.am: A embed/ephy-certificate-manager.c: A embed/ephy-certificate-manager.h: A embed/ephy-x509-cert.c: A embed/ephy-x509-cert.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-single.cpp: A embed/mozilla/mozilla-x509-cert.cpp: A embed/mozilla/mozilla-x509-cert.h: * src/Makefile.am: A src/ephy-certificate-manager.c: A src/ephy-certificate-manager.h: * src/ephy-window.c: * src/window-commands.c: * src/window-commands.h: Add certificate manager. Patch by Robert Marcano and Crispin Flowerday. Fixes bug #119090.
* Fix crash when adding a cookie while the dialogue is open.Christian Persch2005-12-091-18/+25
| | | | | | | | | 2005-12-08 Christian Persch <chpe@cvs.gnome.org> * src/pdm-dialog.c: (pdm_dialog_cookies_construct), (pdm_dialog_cookie_add): Fix crash when adding a cookie while the dialogue is open.
* Minor code cleanup.Christian Persch2005-12-082-5/+12
| | | | | | | | | | | | | | | | | 2005-12-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyFind.cpp: Minor code cleanup. * src/ephy-find-toolbar.c: (entry_key_press_event_cb), (ephy_find_toolbar_close): Also check for GDK_ISO_Enter. * src/ephy-window.c: (sync_tab_address): Close the find toolbar when loading a new page.
* Forward up/down/page up/page down from the findbar entry to the embed.Crispin Flowerday2005-12-071-3/+28
| | | | | | | | | | | | | | | 2005-12-06 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed.c: (ephy_embed_scroll), (ephy_embed_page_scroll): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-find-toolbar.c: (entry_key_press_event_cb): Forward up/down/page up/page down from the findbar entry to the embed.
* Don't try to connect signals to the destroyed node!Christian Persch2005-12-061-6/+0
| | | | | | | | 2005-12-05 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-related-action.c: (node_destroyed_cb): Don't try to connect signals to the destroyed node!
* Fix a compile warning, and don't bother requesting a close if the find barCrispin Flowerday2005-12-061-1/+6
| | | | | | | | | | 2005-12-05 Crispin Flowerday <gnome@flowerday.cx> * src/ephy-find-toolbar.c: (entry_changed_cb), (ephy_find_toolbar_request_close): Fix a compile warning, and don't bother requesting a close if the find bar is already closed
* Use sizeof() here.Christian Persch2005-12-061-1/+1
| | | | | | | | 2005-12-05 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tabs-menu.c: (tab_set_action_accelerator): Use sizeof() here.
* Fix spacings to be HIG compliant. Set window roles.Christian Persch2005-12-061-2/+1
| | | | | | | | | | | | 2005-12-05 Christian Persch <chpe@cvs.gnome.org> * data/glade/certificate-dialogs.glade: * data/glade/epiphany.glade: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * src/pdm-dialog.c: (show_cookies_properties), (pdm_dialog_init): Fix spacings to be HIG compliant. Set window roles.
* Add "tt".Christian Persch2005-12-061-0/+1
| | | | | | | | 2005-12-05 Christian Persch <chpe@cvs.gnome.org> * src/languages.h: Add "tt".
* While in find mode, set the selection colour to "attention".Christian Persch2005-12-053-161/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-12-04 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-find.c: (ephy_embed_find_set_selection): * embed/ephy-embed-find.h: * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: * embed/mozilla/mozilla-embed-find.cpp: While in find mode, set the selection colour to "attention". * src/ephy-find-toolbar.c: (set_status), (clear_status), (tab_search_key_press_cb), (entry_key_press_event_cb), (entry_activate_cb), (set_focus_cb), (ephy_find_toolbar_set_window), (ephy_find_toolbar_init), (ephy_find_toolbar_class_init), (ephy_find_toolbar_set_embed), (ephy_find_toolbar_open), (ephy_find_toolbar_close), (ephy_find_toolbar_request_close): * src/ephy-find-toolbar.h: * src/ephy-window.c: (sync_tab_document_type), (find_toolbar_close_cb), (ephy_window_set_print_preview), (ephy_window_get_find_toolbar), (ephy_window_get_context_event): Refactor find toolbar closing not to crash with auto-closing popups. Unset the selection colour on close. Remove dead #ifdef FIND_WHILE_TYPING_IN_EMBED code.
* Fix transposed arguments.Christian Persch2005-11-291-1/+1
| | | | | | | | 2005-11-29 Christian Persch <chpe@cvs.gnome.org> * src/pdm-dialog.c: (pdm_dialog_cookie_scroll_to): Fix transposed arguments.
* Add a method to generate collation keys for domain names.Christian Persch2005-11-293-28/+234
| | | | | | | | | | | | | | | | | | | | | | | 2005-11-29 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-string.c: (ephy_string_collate_key_for_domain): * lib/ephy-string.h: Add a method to generate collation keys for domain names. * src/pdm-dialog.c: (cookie_search_equal), (pdm_dialog_cookies_construct), (cookie_host_to_iter), (compare_cookie_host_keys), (pdm_dialog_fill_cookies_list), (pdm_dialog_cookies_destruct), (pdm_dialog_cookie_add), (pdm_dialog_cookie_scroll_to), (sync_notebook_tab), (pdm_dialog_init), (pdm_dialog_finalize), (pdm_dialog_open): * src/pdm-dialog.h: * src/window-commands.c: (window_cmd_edit_personal_data): Open the PDM dialogue on the cookies page scrolled to show the cookies of the currently loaded page, if there are any. Sort cookies by domain. Allow treeview typeaheadfind search to find by substring not prefix.
* Add chrome: and resource: to the safe list; otherwise forms and scrollbarsChristian Persch2005-11-191-16/+0
| | | | | | | | | | | | 2005-11-18 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyContentPolicy.cpp: * embed/ephy-embed-single.c: * embed/ephy-embed-single.h: * src/epiphany.defs: Add chrome: and resource: to the safe list; otherwise forms and scrollbars break. Fixes bug #316498.
* Don't warn when reading a .xml when we previously read the .ephy-extensionChristian Persch2005-11-191-15/+70
| | | | | | | | | | 2005-11-18 Christian Persch <chpe@cvs.gnome.org> * src/ephy-extensions-manager.c: Don't warn when reading a .xml when we previously read the .ephy-extension for this identifier. Allows .xml and .ephy-extension to co-exist in ~/.gnome2/epiphany/extensions.
* Delay reloads when we get many change notifications in a short time. FixesChristian Persch2005-11-191-23/+40
| | | | | | | | | 2005-11-18 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: Delay reloads when we get many change notifications in a short time. Fixes bug #319993.
* Add F5 as accel for reload.Christian Persch2005-11-181-5/+1
| | | | | | | | 2005-11-17 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Add F5 as accel for reload.
* Set the model's sort column only after filling it. Vastly improves delayChristian Persch2005-11-181-7/+19
| | | | | | | | | 2005-11-17 Christian Persch <chpe@cvs.gnome.org> * src/pdm-dialog.c: Set the model's sort column only after filling it. Vastly improves delay when opening the PDM dialogue when you have many cookies.
* Don't put the prefs/pdm dialogue over all windows. Make the add-languageChristian Persch2005-11-152-12/+17
| | | | | | | | | | | | | | 2005-11-15 Christian Persch <chpe@cvs.gnome.org> * data/glade/epiphany.glade: * data/glade/prefs-dialog.glade: * data/glade/print.glade: * src/pdm-dialog.c: (pdm_dialog_response_cb), (pdm_dialog_init): * src/prefs-dialog.c: (setup_add_language_dialog), (prefs_dialog_init): Don't put the prefs/pdm dialogue over all windows. Make the add-language dialogue modal to the prefs dialogue.
* Mark message for translation. Patch by Guilherme de S. Pastore, fixes bugChristian Persch2005-11-151-1/+1
| | | | | | | | | 2005-11-14 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_help_about): Mark message for translation. Patch by Guilherme de S. Pastore, fixes bug #319988.
* Remove accelerator actions for extra keybindings.Philip Langdale2005-11-136-132/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-12 Philip Langdale <philipl@mail.utexas.edu> * data/ui/epiphany-ui.xml: Remove accelerator actions for extra keybindings. * src/ephy-lockdown.c: (update_window): Don't manipulate removed "FileSave" action. * src/ephy-toolbar.c * src/ephy-toolbar.h: (ephy_toolbar_get_action_group): Add getter for the toolbar's action group. * src/ephy-window.c: (ephy_window_key_press_event): Transition over to the Galeon mechanism for handling extra keybindings. This maps the keybindings to actions so that no extra actions are required. The only subtlety is that some of the actions come from the toolbar, so access to its action group is required. * src/window-commands.c * src/window-commands.h: (window_cmd_go_back/forward/home): Remove the now unsued back/forward/home callbacks.
* === Release 1.9.2 ===Release192Christian Persch2005-11-131-4/+8
| | | | | | | | | | | | | | | | | | | | | | | 2005-11-12 Christian Persch <chpe@cvs.gnome.org> === Release 1.9.2 === * Makefile.am: Pass make distcheck. * NEWS: * configure.ac: Updated for 1.9.2. * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_to_xml), (egg_toolbars_model_save), (parse_data_list), (parse_item_list), (parse_toolbars): * src/bookmarks/ephy-bookmarks-ui.c: (ephy_bookmarks_ui_attach_toolbar_model): Fix compile warnings.
* lib/ephy-file-helpers.c lib/widgets/ephy-location-entry.cCrispin Flowerday2005-11-112-3/+1
| | | | | | | | | | | 2005-11-10 Crispin Flowerday <gnome@flowerday.cx> * lib/ephy-file-helpers.c * lib/widgets/ephy-location-entry.c * src/ephy-session.c * src/bookmarks/ephy-bookmarks-import.c: Remove some unused variables
* More static strings.Christian Persch2005-11-0811-25/+25
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_iface_init): * lib/egg/eggstatusicon.c: (egg_status_icon_class_init): * lib/egg/eggtrayicon.c: (egg_tray_icon_class_init): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_class_init): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_class_init): * src/ephy-find-toolbar.c: (ephy_find_toolbar_class_init): * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_class_init): * src/ephy-location-action.c: (ephy_location_action_class_init): * src/ephy-python-extension.c: (ephy_python_extension_class_init): * src/ephy-session.c: (ephy_session_class_init): * src/ephy-tab.c: (ephy_tab_class_init): * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_class_init): * src/ephy-toolbar.c: (ephy_toolbar_class_init): * src/ppview-toolbar.c: (ppview_toolbar_class_init): More static strings.
* Mark strings in param specs as static.Christian Persch2005-11-0814-31/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-dialog.c: (ephy_embed_dialog_class_init): * embed/ephy-embed-persist.c: (ephy_embed_persist_class_init): * embed/ephy-history.c: (ephy_history_class_init): * embed/mozilla/mozilla-download.cpp: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_class_init): * lib/egg/egg-toolbar-editor.c: (egg_toolbar_editor_class_init): * lib/egg/eggstatusicon.c: (egg_status_icon_class_init): * lib/egg/eggtraymanager.c: (egg_tray_manager_class_init): * lib/ephy-dialog.c: (ephy_dialog_class_init): * lib/ephy-file-chooser.c: (ephy_file_chooser_class_init): * lib/ephy-node-db.c: (ephy_node_db_class_init): * lib/widgets/ephy-node-view.c: (ephy_node_view_class_init): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_class_init): * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_class_init): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_class_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_class_init): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_class_init): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_class_init): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_class_init): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_class_init): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_class_init): * src/ephy-encoding-menu.c: (ephy_encoding_menu_class_init): * src/ephy-history-window.c: (ephy_history_window_class_init): * src/ephy-location-action.c: (ephy_location_action_class_init): * src/ephy-navigation-action.c: (ephy_navigation_action_class_init): * src/ephy-notebook.c: (ephy_notebook_class_init): * src/ephy-tab.c: (ephy_tab_class_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_class_init): * src/ephy-window.c: (ephy_window_class_init): Mark strings in param specs as static.
* More detailed result code from find backend.Christian Persch2005-11-031-13/+77
| | | | | | | | | | | | | | | | | | | | 2005-11-03 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-find.c: * embed/ephy-embed-find.h: * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: * embed/mozilla/mozilla-embed-find.cpp: More detailed result code from find backend. * src/ephy-find-toolbar.c: (set_status), (clear_status), (entry_changed_cb), (ephy_find_toolbar_init), (ephy_find_toolbar_find_next), (ephy_find_toolbar_find_previous), (ephy_find_toolbar_open): Add status text to the find toolbar. Reverse Next/Previous button order.
* Simplify context menu code by removing the extra EphyDocument*FramePopupChristian Persch2005-11-031-11/+17
| | | | | | | | | | | | | 2005-11-02 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: * src/ephy-window.c: (update_popup_actions_visibility), (show_embed_popup): Simplify context menu code by removing the extra EphyDocument*FramePopup variants, and just setting the OpenFrame action's visibility accordingly; and fix its accelerator. Fixes bug #320520.
* Use a single connection to the settings object, andChristian Persch2005-11-021-40/+69
| | | | | | | | | | 2005-11-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (settings_change_notify), (settings_changed_cb), (ephy_window_key_press_event), (ephy_window_constructor): Use a single connection to the settings object, and
* Revert change from H18 patch which shouldn't have been committed.Christian Persch2005-11-021-1/+1
| | | | | | | | 2005-11-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Revert change from H18 patch which shouldn't have been committed.
* I accidentally committed my half-complete port of the Galeon key-pressPhilip Langdale2005-11-021-117/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-01 Philip Langdale <philipl@mail.utexas.edu> * src/ephy-window.c: (ephy_window_key_press_event), (gtk_key_theme_changed_cb), (ephy_window_constructor), (ephy_window_class_init): I accidentally committed my half-complete port of the Galeon key-press event handler that allows emacs keybindings to work when I made my last commit. Whoops. This change addresses post-facto comments made by chpe :-) Nothing terribly profound; just attaching the GktSettings listener on a per-window, rather than global, basis and detecting the other keycodes for Enter/Return. As the original change wasn't described, I will do it here: Gtk+ has optional support for emacs style keybindings in GtkEditable based widgets. But, these keybindings often conflict with toplevel accelerators. To make things work sanely, we'd like the emacs keybindings to take priority when the Editable is focused, and the toplevel accelerators take priority for other widgets. As gtk2 uses outside-in event propagation, we have to attach a topevel event handler to get the event and then pass it on to the focused widget if appropriate - and that is what this change does.
* Get the window name from the popup-blocked event.Christian Persch2005-11-011-8/+15
| | | | | | | | | | | | | 2005-11-01 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * src/ephy-tab.c: (popups_manager_free_info), (popups_manager_add), (popups_manager_show), (popups_manager_hide), (ephy_tab_popup_blocked_cb): Get the window name from the popup-blocked event.
* More curly quotes.Christian Persch2005-11-016-12/+11
| | | | | | | | | | | | | | | | | | | | 2005-11-01 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/print-dialog.c: (ephy_print_verify_postscript): * lib/ephy-gui.c: (ephy_gui_check_location_writable): * src/bookmarks/ephy-bookmark-properties.c: (update_window_title): * src/bookmarks/ephy-bookmarks-editor.c: (delete_topic_dialog_construct), (add_bookmarks_source), (import_bookmarks): * src/bookmarks/ephy-bookmarks.c: (redirect_cb): * src/bookmarks/ephy-new-bookmark.c: (duplicate_dialog_construct): * src/ephy-extensions-manager.c: (dir_changed_cb): * src/ephy-tab.c: (update_net_state_message): More curly quotes.
* Use curly quotes.Christian Persch2005-11-011-9/+9
| | | | | | | | 2005-11-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (update_popups_tooltips): Use curly quotes.
* Constification.Christian Persch2005-11-012-20/+12
| | | | | | | | | | | 2005-10-31 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dbus.c: * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init_defaults): Constification.
* Use the history window as parent for the new-bookmark dialogue. Fixes bugChristian Persch2005-11-011-1/+1
| | | | | | | | | 2005-10-31 Christian Persch <chpe@cvs.gnome.org> * src/ephy-history-window.c: (cmd_bookmark_link): Use the history window as parent for the new-bookmark dialogue. Fixes bug #320329.
* Fix capitalisation, bug #320330.Christian Persch2005-11-011-1/+1
| | | | | | | | 2005-10-31 Christian Persch <chpe@cvs.gnome.org> * src/ephy-history-window.c: (build_search_box): Fix capitalisation, bug #320330.
* Store the redirect and toplevel attributes when adding pages to theChristian Persch2005-10-311-0/+2
| | | | | | | | | | | | | | | 2005-10-31 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_class_init), (ephy_history_add_page), (impl_add_page): * embed/ephy-history.h: * embed/mozilla/GlobalHistory.cpp: * lib/ephy-marshal.list: * src/epiphany.defs: Store the redirect and toplevel attributes when adding pages to the history (doesn't do anything with the info yet, though). Based on a galeon patch by tko.
* Remove glade callbacks, and connect from code instead.Christian Persch2005-10-313-303/+308
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-30 Christian Persch <chpe@cvs.gnome.org> * data/glade/epiphany.glade: * data/glade/prefs-dialog.glade: * data/glade/print.glade: * embed/downloader-view.c: (update_buttons), (downloader_view_build_ui), (download_dialog_pause), (download_dialog_stop), (download_dialog_response_cb), (download_dialog_delete_event_cb): * embed/print-dialog.c: (ephy_print_setup_dialog_response_cb), (ephy_print_setup_dialog_new): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/pdm-dialog.c: (show_cookies_properties), (cookies_properties_clicked_cb), (pdm_dialog_cookies_construct), (passwords_show_toggled_cb), (pdm_dialog_passwords_construct), (pdm_dialog_response_cb), (pdm_dialog_init), (pdm_dialog_finalize): * src/prefs-dialog.c: (create_language_section), (prefs_dialog_response_cb), (prefs_clear_cache_button_clicked_cb), (set_homepage_entry), (prefs_homepage_current_button_clicked_cb), (prefs_homepage_blank_button_clicked_cb), (prefs_dialog_init): Remove glade callbacks, and connect from code instead.
* Fix title capitalisation.Christian Persch2005-10-301-1/+1
| | | | | | | | 2005-10-30 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: (create_download_path_button): Fix title capitalisation.
* Add array bounds check; fixes bug #320169.Christian Persch2005-10-301-1/+1
| | | | | | | | 2005-10-30 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-nodes-cover.c: (ephy_nodes_get_covering): Add array bounds check; fixes bug #320169.
* Add ephy_file_get_downloads_dir() to get the actual downloads directory,Christian Persch2005-10-301-4/+21
| | | | | | | | | | | | | | | 2005-10-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_constructor): * lib/ephy-file-helpers.c: (ephy_file_get_downloads_dir): * lib/ephy-file-helpers.h: * src/prefs-dialog.c: (download_path_changed_cb), (create_download_path_button): Add ephy_file_get_downloads_dir() to get the actual downloads directory, and use it in the prefs dialogue, the filechooser, and the backend.
* Move most of ephy_window_init code to constructor so properties areJean-François Rameau2005-10-301-56/+55
| | | | fully initialized before running that code.
* src/ephy-link-action.cPhilip Langdale2005-10-263-57/+170
| | | | | | | | | | | | | | | | | 2005-10-25 Philip Langdale <philipl@mail.utexas.edu> * src/ephy-link-action.c * src/ephy-link-action.h: (proxy_button_press_event_cb), (proxy_button_release_event_cb), (proxy_drag_begin_cb), (ephy_link_action_connect_proxy), (ephy_link_action_disconnect_proxy), (ephy_link_action_class_init), (ephy_link_action_init): Well, that didn't last long. Turns out this was a solved problem in EphyBookmarkAction but no one pointed it out until just now. Using gtk_button_pressed/released fixes everything.
* src/ephy-link-action.cPhilip Langdale2005-10-252-3/+55
| | | | | | | | | | | | | | | | | 2005-10-25 Philip Langdale <philipl@mail.utexas.edu> * src/ephy-link-action.c * src/ephy-link-action.h: (proxy_button_release_event_cb), (proxy_drag_begin_cb), (ephy_link_action_connect_proxy), (ephy_link_action_disconnect_proxy), (ephy_link_action_class_init), (ephy_link_action_init): Fix bug #319529. Don't activate the action on a middle mouse button release event if the release is linked to a DnD. This requires adding state to the action to allow us to link the drag-begin event to the button-release event.
* Remove info text referring to the not-committed markers in H18.Christian Persch2005-10-241-22/+11
| | | | | | | | | | 2005-10-24 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_add), (build_editing_table), (ephy_new_bookmark_construct), (ephy_new_bookmark_set_property), (ephy_new_bookmark_get_property): Remove info text referring to the not-committed markers in H18.
* === Release 1.9.1 ===Release191Christian Persch2005-10-241-1/+1
| | | | | | | | | | | | | | 2005-10-23 Christian Persch <chpe@cvs.gnome.org> === Release 1.9.1 === * NEWS: * configure.ac: * doc/reference/tmpl/EphySingle.sgml: * doc/reference/tmpl/ephy-embed-single.sgml: * doc/reference/tmpl/ephy-embed.sgml: * doc/reference/tmpl/epiphany-unused.sgml: * src/Makefile.am:
* Add a way to view stored password. Fix bug 316821.Jean-François Rameau2005-10-231-11/+46
| | | | | | | | | | 2005-10-22 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: (impl_list_passwords): * src/pdm-dialog.c: * data/glade/epiphany.glade: Add a way to view stored password. Fix bug 316821.
* Add another mime type.Christian Persch2005-10-231-1/+1
| | | | | | | | | | | | 2005-10-22 Christian Persch <chpe@cvs.gnome.org> * data/mime-types-permissions.xml: Add another mime type. * src/ephy-notebook.c: Remove the accidental commit from the H18 patch.
* Load the key files and xml files directly from disc, instead of gettingChristian Persch2005-10-221-109/+204
| | | | | | | | | | | | | | | | | | | 2005-10-21 Christian Persch <chpe@cvs.gnome.org> * src/ephy-extensions-manager.c: (ephy_extensions_manager_parse_keyfile), (ephy_extensions_manager_load_ini_file), (ephy_extensions_manager_load_xml_file), (path_to_identifier), (ephy_extensions_manager_load_file), (reload_sync_cb), (reload_cb), (schedule_load_from_monitor), (dir_changed_cb), (cancel_timeout), (ephy_extensions_manager_init), (ephy_extensions_manager_dispose), (ephy_extensions_manager_class_init): Load the key files and xml files directly from disc, instead of getting their contents and parsing from memory. When a file changes, schedule a reload instead of processing it immediately, to cope with multiple changes (CREATED + CHANGED) in a row.
* Point main menu UI at toolbar actions. Don't try and change the state ofPhilip Langdale2005-10-225-48/+11
| | | | | | | | | | | | | | | | | | | | | 2005-10-21 Philip Langdale <philipl@mail.utexas.edu> * data/ui/epiphany-ui.xml: Point main menu UI at toolbar actions. * src/ephy-lockdown.c: (update_window): Don't try and change the state of the now non-existent menu specific actions. * src/ephy-toolbar.c (ephy_toolbar_set_window): Sync up toolbar actions so that they will appear in menus to be identical to the old menu specific actions. This just means adding accelerators and shortcuts and adjusting tooltip text. * src/ephy-window.c (sync_tab_navigation): Remove the menu specific actions and consequently, don't try to manipulate them. * src/window-commands.c * src/window-commands.h: (window_cmd_go_up): Remove unused callback.
* Expose the extension description keyfile directly to the loaders.Christian Persch2005-10-213-103/+49
| | | | | | | | | | | | | | | | | 2005-10-21 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-loader.c: (ephy_loader_get_object): * lib/ephy-loader.h: * lib/ephy-module.c: (ephy_module_load), (ephy_module_new): * lib/ephy-module.h: * lib/ephy-shlib-loader.c: (impl_get_object), (ephy_shlib_loader_class_init): * src/ephy-extensions-manager.c: (free_extension_info), (ephy_extensions_manager_load_ini_string), (get_loader_for_type), (load_extension): * src/ephy-python-loader.c: (impl_get_object): Expose the extension description keyfile directly to the loaders.
* Remove fullscreen and leave-fullscreen stock icons; they're available inChristian Persch2005-10-203-4/+3
| | | | | | | | | | | | | 2005-10-20 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_constructor): * src/ephy-toolbar.c: (ephy_toolbar_constructor): * src/ephy-window.c: Remove fullscreen and leave-fullscreen stock icons; they're available in gtk+ since 2.8.
* Adapt folder import to new menu code, patch by Peter Harvey.Christian Persch2005-10-191-56/+36
| | | | | | | | | 2005-10-18 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_folder), (ephy_bookmarks_import_mozilla): Adapt folder import to new menu code, patch by Peter Harvey.
* Remove lock visibility setter.Christian Persch2005-10-183-20/+2
| | | | | | | | | | | | | | 2005-10-17 Christian Persch <chpe@cvs.gnome.org> * src/ephy-toolbar.c: (ephy_toolbar_set_security_state), (ephy_toolbar_init): * src/ephy-toolbar.h: Remove lock visibility setter. * src/window-commands.c: (window_cmd_help_about): Add Peter Harvey to about credits.
* src/epiphany.override src/epiphany.defsCrispin Flowerday2005-10-183-211/+498
| | | | | | | | | | 2005-10-17 Crispin Flowerday <gnome@flowerday.cx> * src/epiphany.override * src/epiphany.defs * src/Makefile.am: Update python API to the new bookmark headers.
* Fix the check-python-binding makefile target to work properlyCrispin Flowerday2005-10-181-5/+5
| | | | | | | | 2005-10-17 Crispin Flowerday <gnome@flowerday.cx> * src/Makefile.am: Fix the check-python-binding makefile target to work properly
* A data/ephy-xml2ini.xsl:Christian Persch2005-10-181-357/+73
| | | | | | | | | | | 2005-10-16 Christian Persch <chpe@cvs.gnome.org> * data/Makefile.am: A data/ephy-xml2ini.xsl: * src/ephy-extensions-manager.c: Remove .xml parsing code and translate the .xml files to the new format with XSLT instead.
* H18 patch, by Peter Harvey <pah06@uow.edu.au>.Peter Harvey2005-10-1744-4109/+3417
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-16 Peter Harvey <pah06@uow.edu.au> H18 patch, by Peter Harvey <pah06@uow.edu.au>. * data/ui/epiphany-bookmark-editor-ui.xml: * data/ui/epiphany-ui.xml: * lib/egg/egg-editable-toolbar.c: (get_dock_position), (get_toolbar_position), (get_toolbar_nth), (find_action), (drag_data_delete_cb), (drag_begin_cb), (drag_end_cb), (drag_data_get_cb), (move_item_cb), (set_dock_visible), (remove_item_cb), (remove_toolbar_cb), (toggle_visibility_cb), (egg_editable_toolbar_add_visibility_items), (egg_editable_toolbar_add_popup_items), (popup_context_menu_cb), (button_press_event_cb), (configure_item_sensitivity), (configure_item_cursor), (connect_widget_signals), (action_sensitive_cb), (create_item_from_action), (create_item_from_position), (toolbar_drag_data_received_cb), (toolbar_drag_drop_cb), (toolbar_drag_motion_cb), (toolbar_drag_leave_cb), (configure_drag_dest), (create_dock), (toolbar_changed_cb), (unparent_fixed), (update_fixed), (toolbar_added_cb), (toolbar_removed_cb), (item_added_cb), (item_removed_cb), (egg_editable_toolbar_construct), (egg_editable_toolbar_set_ui_manager), (egg_editable_toolbar_set_property), (egg_editable_toolbar_get_property), (egg_editable_toolbar_init), (egg_editable_toolbar_finalize), (egg_editable_toolbar_get_edit_mode), (egg_editable_toolbar_set_edit_mode), (egg_editable_toolbar_set_fixed): * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbar-editor.c: (compare_items), (item_added_or_removed_cb), (toolbar_removed_cb), (egg_toolbar_editor_set_model), (egg_toolbar_editor_finalize), (drag_begin_cb), (drag_end_cb), (drag_data_get_cb), (editor_create_item), (editor_create_item_from_name), (append_table), (update_editor_sheet), (egg_toolbar_editor_init): * lib/egg/egg-toolbar-editor.h: * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_to_xml), (egg_toolbars_model_save), (toolbar_node_new), (item_node_new), (item_node_free), (toolbar_node_free), (egg_toolbars_model_get_flags), (egg_toolbars_model_set_flags), (egg_toolbars_model_get_data), (egg_toolbars_model_get_name), (impl_add_item), (egg_toolbars_model_add_item), (egg_toolbars_model_add_toolbar), (parse_data_list), (parse_item_list), (parse_toolbars), (egg_toolbars_model_load), (egg_toolbars_model_class_init), (egg_toolbars_model_init), (egg_toolbars_model_finalize), (egg_toolbars_model_remove_toolbar), (egg_toolbars_model_remove_item), (egg_toolbars_model_move_item), (egg_toolbars_model_n_items), (egg_toolbars_model_item_nth), (egg_toolbars_model_n_toolbars), (egg_toolbars_model_toolbar_nth), (egg_toolbars_model_get_types), (egg_toolbars_model_set_types), (fill_avail_array), (egg_toolbars_model_get_avail), (egg_toolbars_model_get_n_avail), (egg_toolbars_model_set_n_avail): * lib/egg/egg-toolbars-model.h: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmark-action-group.c: (smart_added_cb), (smart_removed_cb), (node_changed_cb), (node_added_cb), (node_removed_cb), (ephy_bookmark_group_new): * src/bookmarks/ephy-bookmark-action-group.h: * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (ephy_bookmark_action_sync_icon), (show_context_menu), (popup_menu_cb), (button_press_cb), (button_release_cb), (connect_proxy), (ephy_bookmark_action_updated), (ephy_bookmark_action_get_bookmark), (ephy_bookmark_action_set_bookmark), (ephy_bookmark_action_set_property), (ephy_bookmark_action_get_property), (ephy_bookmark_action_finalize), (ephy_bookmark_action_class_init), (ephy_bookmark_action_init), (ephy_bookmark_action_name), (ephy_bookmark_action_new): * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmark-factory-action.c: (ephy_bookmark_factory_action_get_type), (activate_item_cb), (build_menu_for_topic), (build_menu), (remove_placeholder_cb), (activate_placeholder_cb), (clicked_placeholder_cb), (realize_placeholder_cb), (create_tool_item), (connect_proxy), (ephy_bookmark_factory_action_class_init), (ephy_bookmark_factory_action_new): * src/bookmarks/ephy-bookmark-factory-action.h: * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_set_property), (ephy_bookmark_properties_get_property), (bookmark_properties_response_cb), (update_entry), (location_entry_changed_cb), (build_ui): * src/bookmarks/ephy-bookmarks-editor.c: (add_entry_monitor), (cmd_add_topic), (delete_topic_dialog_construct), (cmd_bookmarks_import), (ephy_bookmarks_editor_finalize), (ephy_bookmarks_editor_node_activated_cb), (ephy_bookmarks_editor_update_menu), (view_focus_cb), (add_focus_monitor), (remove_focus_monitor), (bookmarks_filter), (search_entry_search_cb), (ephy_bookmarks_editor_construct), (ephy_bookmarks_editor_set_parent), (ephy_bookmarks_editor_set_property), (ephy_bookmarks_editor_get_property), (ephy_bookmarks_editor_init): * src/bookmarks/ephy-bookmarks-menu.c: (append_bookmarks), (append_menu), (ephy_bookmarks_menu_build): * src/bookmarks/ephy-bookmarks-menu.h: * src/bookmarks/ephy-bookmarks-ui.c: (find_action), (activate_bookmarks_menu), (activate_favorites_menu), (erase_bookmarks_menu), (erase_favorites_menu), (tree_changed_cb), (node_added_cb), (node_changed_cb), (node_removed_cb), (ephy_bookmarks_ui_attach_window), (ephy_bookmarks_ui_detach_window), (toolbar_node_removed_cb), (topic_has_data), (topic_get_data), (topic_get_name), (bookmark_has_data), (bookmark_get_data), (bookmark_get_name), (bookmark_new_name), (ephy_bookmarks_ui_attach_toolbar_model), (ephy_bookmarks_ui_detach_toolbar_model): * src/bookmarks/ephy-bookmarks-ui.h: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_type), (ephy_bookmarks_init_defaults), (ephy_bookmarks_class_init), (ephy_bookmarks_save_delayed), (add_to_favorites), (update_bookmark_keywords), (ephy_bookmarks_init), (ephy_bookmarks_finalize), (ephy_bookmarks_add), (ephy_bookmarks_set_address), (ephy_bookmarks_set_icon), (ephy_bookmarks_add_keyword), (ephy_bookmarks_show_bookmark_properties), (ephy_bookmarks_get_from_id), (ephy_bookmarks_compare_topics), (ephy_bookmarks_compare_topic_pointers), (ephy_bookmarks_compare_bookmarks), (ephy_bookmarks_compare_bookmark_pointers): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-bookmarksbar-model.c: * src/bookmarks/ephy-bookmarksbar-model.h: * src/bookmarks/ephy-bookmarksbar.c: * src/bookmarks/ephy-bookmarksbar.h: * src/bookmarks/ephy-favorites-menu.c: * src/bookmarks/ephy-favorites-menu.h: * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_add), (build_editing_table), (ephy_new_bookmark_construct), (ephy_new_bookmark_set_property), (ephy_new_bookmark_get_property): * src/bookmarks/ephy-nodes-cover.c: (ephy_nodes_count_covered), (ephy_nodes_remove_covered), (ephy_nodes_remove_not_covered), (ephy_nodes_get_covered), (ephy_nodes_covered), (ephy_nodes_get_covering): * src/bookmarks/ephy-nodes-cover.h: * src/bookmarks/ephy-open-tabs-action.c: (activate_cb), (node_added_cb), (node_removed_cb), (ephy_open_tabs_group_new), (ephy_open_tabs_action_name): * src/bookmarks/ephy-open-tabs-action.h: * src/bookmarks/ephy-related-action.c: (node_changed), (node_destroyed), (open_link), (iface_init), (ephy_related_action_get_type), (ephy_related_action_new): * src/bookmarks/ephy-related-action.h: * src/bookmarks/ephy-topic-action-group.c: (node_changed_cb), (node_added_cb), (node_removed_cb), (ephy_topic_group_new): * src/bookmarks/ephy-topic-action-group.h: * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_get_type), (create_tool_item), (ephy_topic_action_sync_label), (get_popup), (erase_popup), (child_added_cb), (child_changed_cb), (child_removed_cb), (menu_destroy_cb), (menu_init_cb), (button_deactivate_cb), (button_toggled_cb), (button_release_cb), (button_press_cb), (connect_proxy), (ephy_topic_action_updated), (ephy_topic_action_get_topic), (ephy_topic_action_set_topic), (ephy_topic_action_set_property), (ephy_topic_action_get_property), (ephy_topic_action_class_init), (ephy_topic_action_init), (ephy_topic_action_name), (ephy_topic_action_new): * src/bookmarks/ephy-topic-action.h: * src/bookmarks/ephy-topic-factory-action.c: (ephy_topic_factory_action_get_type), (sort_topics), (activate_item_cb), (build_menu), (remove_placeholder_cb), (activate_placeholder_cb), (clicked_placeholder_cb), (realize_placeholder_cb), (create_tool_item), (connect_proxy), (ephy_topic_factory_action_class_init), (ephy_topic_factory_action_new): * src/bookmarks/ephy-topic-factory-action.h: * src/ephy-link-action.c: (ephy_link_action_group_get_type), (ephy_link_action_group_new): * src/ephy-link-action.h: * src/ephy-lockdown.c: (find_name), (find_action_group), (update_window): * src/ephy-notebook.c: (move_tab_to_another_notebook), (ephy_notebook_switch_page_cb), (ephy_notebook_init), (tab_label_style_set_cb), (build_tab_label), (ephy_notebook_add_tab): * src/ephy-shell.c: (ephy_shell_get_toolbars_model): * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_constructor), (ephy_toolbar_editor_finalize), (ephy_toolbar_editor_set_property), (ephy_toolbar_editor_class_init): * src/ephy-toolbar.c: (ephy_toolbar_realize), (ephy_toolbar_unrealize), (ephy_toolbar_finalize): * src/ephy-toolbars-model.c: (update_flags), (ephy_toolbars_model_load): * src/ephy-window.c: (ephy_window_get_type), (get_chromes_visibility), (sync_chromes_visibility), (ephy_window_key_press_event), (tool_item_enter_cb), (tool_item_leave_cb), (tool_item_drag_begin_cb), (connect_tool_item), (disconnect_tool_item), (disconnect_proxy_cb), (connect_proxy_cb), (update_chromes_actions), (show_embed_popup), (tab_added_cb), (tab_removed_cb), (ephy_window_set_chrome), (ephy_window_dispose), (ephy_window_class_init), (ephy_window_init), (ephy_window_finalize), (ephy_window_remove_tab), (ephy_window_set_zoom), (sync_prefs_with_chrome), (ephy_window_view_toolbar_cb): * src/ephy-window.h: Revision history: h18, released 2005/09/23, for Epiphany 1.8.0 * Just an update for 1.8.0. h17, released 2005/08/30, for Epiphany 1.7.6 or CVS HEAD * Mostly just an update for 1.7.6. * Topic menus on the toolbar now open without releasing the mouse button. * Topic menus on the toolbar are now also hierarchical (see if you like it. h16, released 2005/08/25, for Epiphany 1.7.5 or CVS HEAD * Just an update for 1.7.5. Sorry, I've been busy. :) h15, released 2005/07/19, for Epiphany 1.7.2 or CVS HEAD * Code cleanup h14, released 2005/07/9, for Epiphany 1.7.1 or CVS HEAD * Improved helpful tip when adding a bookmark * Improved toolbar context menu * Toolbar visibility state is now saved * Separated bookmark/topic action groups into separate files * Topics in the overflow menu now behave as submenus * Now importing old bookmarksbar, and saving to new filename * Incremented toolbar file format version number to 1.1 * Fixed the 'sticky' statusbar help * Fixed a crashing bug (dnd then open a topic on the toolbar) h13, released 2005/05/12, for CVS HEAD * Added middle-mouse drag-drop for the editable toolbar. * Fixed some warnings at compile and run time. * Added brief help for the user when adding a new bookmark. * Cleaned up the editable toolbar code a little. h12, released 2005/05/10, for CVS HEAD * Added new editing facilities for the editable toolbar. h11, released 2005/04/29, for CVS HEAD * Fixed bug in statusbar information for toolbar items. * Added an all-new 'Related' toolbar widget which changes to show the most related topic whenever a bookmark is activated. h10, released 2005/04/15, for Epiphany 1.6.2 or CVS HEAD * Added statusbar information for all toolbar items. * Empty toolbars are now only deleted when exiting edit mode. * Fixed regression of middle-click for bookmarks on toolbar. * Fixed regression of ellipsized bookmark names in menus. h9, released 2005/04/12, for Epiphany 1.6.1 * Updated patch for 1.6.1. Long time no see. * Now using EphyLink objects everywhere. h7, released 2004/10/21, for Epiphany 1.4.4 * Updated patch for 1.4.4. * Fixed bugs causing crashes when bookmarks were added (thanks Reinout). * Added "Open in Tabs" back into bookmark menus where suitable. h6, released 2004/09/20, for Epiphany 1.4.0 * Updated patch for 1.4.0. * Removed the bookmarks bar. * Generate shared XML string for bookmarks menu. * Slightly improve performance of node-cover code. * Delay adding bookmarks menu until it is first used. * Fixed bug(?) in ephy-node. h4, released 2004/08/08, for Epiphany 1.3.4 * Updated patch due to changes to topics selector. * Removed 'Most Visited' from the min-cover calculations. * Fixed Epiphany 1.3.4 bug where topics in selector aren't sorted. * Updated patch due to other changes in Epiphany 1.3.4 source. h3, released 2004/07/12, for Epiphany 1.3.2 * Simple update for Epiphany 1.3.2 h3, released 2004/05/24, for Epiphany 1.2.5 * Moved duplicated functions into a seperate file. * Improved topic selector. * Bookmarks toolbar topic menus now have subdivisions. * Topic names in menu now change if modified in the bookmarks editor. h2, released 2004/05/23, for Epiphany 1.2.5 * Significantly cleaned up the code. * 'Most Visited' no longer appears as a submenu. * Subtopics are selected much more intelligently, giving a better approximation to a true minimum cover. * Topic selector now shows suggestions with arrows, not bold font. h1, released 2004/05/19, for Epiphany 1.2.5 * Initial release.
* Exten the EphyLinkAction to attach a mouse-release-event handler whichPhilip Langdale2005-10-173-14/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-16 Philip Langdale <philipl@mail.utexas.edu> * src/ephy-link-action.c: (proxy_button_release_event_cb), (get_event_widget), (ephy_link_action_connect_proxy), (ephy_link_action_disconnect_proxy), (ephy_link_action_class_init), (ephy_link_action_get_type): Exten the EphyLinkAction to attach a mouse-release-event handler which turns around and calls gtk_action_activate in response to a middle-click even on the proxy. This allows us to fully encapsulate the extra work needed to catch middle clicks. The GoHome action will automatically start working correctly now that it is getting activated in this case. * src/ephy-navigation-action.c: (activate_by_history_index), (activate_back_or_forward_menu_item_cb), (ephy_navigation_action_activate), (ephy_navigation_action_class_init): Fully enscapsulate 'activate' handling inside the action. This is more consistent because the menus are already handled internally. Also add support for middle-click on back/forward/up. * src/ephy-toolbar.c: (ephy_toolbar_set_window): Don't attach 'activate' signal handlers to the navigate actions because activation is now handled internally to the action. I intend to make a followup change that removes the separate actions for GoUp/Back/Forward in the menu and replace them with the main actions already used in the toolbar. This means the menu items will get middle-click support for free. * lib/ephy-gui.c: (ephy_gui_is_middle_click): Only consider an unmodified middle-click to be a middle-click.
* Use a GtkFileChooserButton for the download path selector. Fixes bugChristian Persch2005-10-151-123/+45
| | | | | | | | | | | | 2005-10-15 Christian Persch <chpe@cvs.gnome.org> * data/glade/prefs-dialog.glade: * src/prefs-dialog.c: (prefs_dialog_finalize), (download_path_changed_cb), (create_download_path_button), (prefs_dialog_init), (prefs_homepage_blank_button_clicked_cb): Use a GtkFileChooserButton for the download path selector. Fixes bug #135738.
* Copy the back history when a link is opened in a new tab from aPhilip Langdale2005-10-131-2/+13
| | | | | | | | 2005-10-12 Philip Langdale <philipl@mail.utexas.edu> * src/ephy-tab.c: (open_link_in_new_tab): Copy the back history when a link is opened in a new tab from a middle-click or a ctrl-click.
* . Forgot to remove the unused url variable.Philip Langdale2005-10-131-3/+0
| | | | | | | | 2005-10-12 Philip Langdale <philipl@mail.utexas.edu> * src/ephy-navigation-action.c: (activate_back_or_forward_menu_item_cb). Forgot to remove the unused url variable.
* embed/ephy-embed.c . Add a method to copy the back/forward history fromPhilip Langdale2005-10-132-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-12 Philip Langdale <philipl@mail.utexas.edu> * embed/ephy-embed.c * embed/ephy-embed.h: (ephy_embed_shistory_copy). Add a method to copy the back/forward history from one embed to another. * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: (EphyBrowser::CopySHistory) Implementation of history copying. * embed/mozilla/mozilla-embed.cpp: Implement ephy_embed_shistory_copy by calling into EphyBrowser. * src/ephy-navigation-action.c: (activate_back_or_forward_menu_item_cb). If a history menu item is middle-clicked on, open a new tab, copy the history over and then go to the relevant page in the history. * src/ephy-toolbar.c: (ephy_toolbar_set_window) Attach handler for "open-link" to back/forward actions.
* Remove the "network-status" signal from the embed single, and make it aChristian Persch2005-10-133-18/+19
| | | | | | | | | | | | | | | | | | | | 2005-10-12 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_iface_init), (ephy_embed_single_set_network_status), (ephy_embed_single_get_network_status): * embed/ephy-embed-single.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphySingle.h: * embed/mozilla/mozilla-embed-single.cpp: * src/ephy-window.c: (sync_tab_icon), (sync_network_status), (ephy_window_dispose), (ephy_window_init): * src/epiphany.defs: * src/window-commands.c: (window_cmd_file_work_offline): Remove the "network-status" signal from the embed single, and make it a property instead. Keep track of the network status in EphySingle, and emit property notification when it changes.
* A embed/mozilla/EphyRedirectChannel.cpp: AChristian Persch2005-10-131-18/+82
| | | | | | | | | | | | | | | | | | | | | | | 2005-10-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyAboutModule.cpp: * embed/mozilla/EphyAboutModule.h: A embed/mozilla/EphyRedirectChannel.cpp: A embed/mozilla/EphyRedirectChannel.h: * embed/mozilla/Makefile.am: Implement about:recover. Build the about module on all geckos, and only #ifdef the about:neterror implementation for gecko 1.8. * src/ephy-session.c: (tab_added_cb), (impl_attach_window), (ephy_session_autoresume), (write_tab), (ephy_session_save), (parse_embed), (ephy_session_load): Record the page load status and page title in the session file, and use about:recover when the page was still loading when the browser crashed. 2005-10-10 Christian Persch <chpe@cvs.gnome.org>
* Bring back ephy_string_shorten.Christian Persch2005-10-101-4/+11
| | | | | | | | | | | | | | | 2005-10-10 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-string.c: (ephy_string_blank_chr), (ephy_string_shorten): * lib/ephy-string.h: Bring back ephy_string_shorten. * src/ephy-tab.c: (ephy_tab_file_monitor_cb), (ephy_tab_set_title): Shorten overlong tab titles, hard. Increase reload delay slightly. Strip whitespace from tab title before determining if it's empty.
* Eliminate the *Popup/*ImagePopup popup variants. Add image context to allJean-François Rameau2005-10-101-15/+21
| | | | | | | | | | | | 2005-10-09 Jean-François Rameau <jframeau@cvs.gnome.org> * data/ui/epiphany-ui.xml: * src/ephy-window.c: (show_embed_popup), (update_image_actions_visibility): Eliminate the *Popup/*ImagePopup popup variants. Add image context to all popups it can show up. Display image context dynamically.
* Remove DBUS define, it's always compiled now.Christian Persch2005-10-101-8/+1
| | | | | | | | 2005-10-09 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: Remove DBUS define, it's always compiled now.
* Remove unused variable.Christian Persch2005-10-071-1/+0
| | | | | | | | 2005-10-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-toolbar.c: (ephy_toolbar_update_spinner): Remove unused variable.
* Use flags to save memory for the priv struct.Christian Persch2005-10-071-12/+13
| | | | | | | | | | | 2005-10-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-toolbar.c: (ephy_toolbar_update_spinner), (ephy_toolbar_set_show_leave_fullscreen), (ephy_toolbar_set_security_state), (ephy_toolbar_set_lock_visibility), (ephy_toolbar_set_spinning): Use flags to save memory for the priv struct.
* Add style properties for 'secure-[bg|fg]-color', and apply them when theChristian Persch2005-10-074-5/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-06 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_style_set), (ephy_location_entry_class_init), (ephy_location_entry_set_favicon), (ephy_location_entry_set_secure): * lib/widgets/ephy-location-entry.h: Add style properties for 'secure-[bg|fg]-color', and apply them when the entry is in 'secure' mode. Reset the IM context before emitting the 'activate' signal. * src/ephy-location-action.c: (sync_secure), (connect_proxy), (ephy_location_action_set_property), (ephy_location_action_get_property), (ephy_location_action_class_init): * src/ephy-toolbar.c: (ephy_toolbar_set_security_state), (ephy_toolbar_init): * src/ephy-toolbar.h: * src/ephy-window.c: (sync_chromes_visibility), (sync_tab_security): Set the location entry's 'secure' property on secure sites, and also always show the lock for secure sites.
* Use "position" property notification instead of size-allocate to monitorChristian Persch2005-10-031-1/+1
| | | | | | | | | | | | | | | | 2005-10-03 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-state.c: (paned_sync_position_cb), (ephy_state_add_paned): Use "position" property notification instead of size-allocate to monitor the paned's position. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): Use resize=FALSE with gtk_paned_pack1. Fixes growing size of the left pane of the bookmarks editor by repeated opening.
* Fix memory leak.Christian Persch2005-10-031-3/+8
| | | | | | | | | 2005-10-03 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (setup_ui_manager), (ephy_window_dispose), (ephy_window_finalize): Fix memory leak.
* Make sure we don't unref NULL objects.Christian Persch2005-10-031-27/+41
| | | | | | | | | 2005-10-03 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_dispose): * src/ephy-shell.c: (ephy_shell_dispose): Make sure we don't unref NULL objects.
* Add configure switch to disable zeroconf bookmarks, since they're almostChristian Persch2005-10-032-6/+30
| | | | | | | | | | | | | | | | | 2005-10-02 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * src/bookmarks/ephy-bookmarks.c: (save_filter), (ephy_bookmarks_save), (update_bookmark_keywords), (bookmark_is_categorized), (ephy_bookmarks_init), (ephy_bookmarks_finalize), (ephy_bookmarks_get_topic_uri), (ephy_bookmarks_find_keyword): * src/epiphany.defs: Add configure switch to disable zeroconf bookmarks, since they're almost useless since just about nobody ships gnome-vfs with howl support enabled, and have also been reported to cause long delays on startup.
* Schedule a GC in finalize of EphyTab and EphyWindow, to work around bugChristian Persch2005-10-032-0/+16
| | | | | | | | | | 2005-10-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_finalize): * src/ephy-window.c: (ephy_window_finalize): Schedule a GC in finalize of EphyTab and EphyWindow, to work around bug #317242.
* Use nsIDOMWindowInternal::Close to close tabs. Delay tabs destruction toChristian Persch2005-10-037-127/+235
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-02 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/ephy-embed-shell.c: (ephy_embed_shell_dispose), (ephy_embed_shell_finalize), (ephy_embed_shell_class_init): * embed/ephy-embed.c: (ephy_embed_base_init), (ephy_embed_show_page_certificate), (ephy_embed_close): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-notebook.c: (ephy_notebook_class_init), (close_button_clicked_cb): * src/ephy-notebook.h: * src/ephy-python.c: (ephy_python_init), (ephy_python_shutdown), (ephy_python_schedule_gc): * src/ephy-shell.c: (ephy_shell_class_init), (gnome_session_init), (ephy_shell_dispose), (ephy_shell_finalize): * src/ephy-tab.c: (ephy_tab_init): * src/ephy-window.c: (construct_confirm_close_dialog), (confirm_close_with_modified_forms), (embed_modal_alert_cb), (idle_tab_remove_cb), (schedule_tab_close), (embed_close_request_cb), (embed_destroy_browser_cb), (tab_added_cb), (tab_removed_cb), (tab_close_request_cb), (setup_notebook), (remove_true), (ephy_window_dispose), (cancel_handler), (ephy_window_init), (ephy_window_finalize): * src/window-commands.c: (event_with_shift), (window_cmd_view_reload), (window_cmd_file_close_window): Use nsIDOMWindowInternal::Close to close tabs. Delay tabs destruction to an idle handler, to avoid crashes when tabs are closed from signal handlers (blur, mousedown, keydown etc). Fixes bug #172878, bug #172879, bug #172882, bug #303254, bug #313425.
* Reset the IM context before activating the entry.Christian Persch2005-10-011-1/+2
| | | | | | | | | | | | | 2005-10-01 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (entry_key_press_cb): Reset the IM context before activating the entry. * lib/widgets/ephy-node-view.c: (ephy_node_view_key_press_cb): * src/ephy-find-toolbar.c: (tab_search_key_press_cb): Add GDK_ISO_Enter to recognised keyvals.
* Don't free const strings.Christian Persch2005-09-291-2/+0
| | | | | | | | 2005-09-28 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_file_bookmark_page): Don't free const strings.
* Add a function to get the tab's real title, and use it where appropriate.Christian Persch2005-09-286-30/+46
| | | | | | | | | | | | | | | | 2005-09-28 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (sync_label): * src/ephy-tab.c: (ephy_tab_get_title_composite), (ephy_tab_get_title): * src/ephy-tab.h: * src/ephy-tabs-menu.c: (sync_tab_title): * src/ephy-window.c: (sync_tab_title): * src/window-commands.c: (window_cmd_file_send_to), (window_cmd_file_bookmark_page): Add a function to get the tab's real title, and use it where appropriate. Fixes bug #317418.
* Use the tab label's outer hbox for the size calculation instead of theChristian Persch2005-09-271-7/+7
| | | | | | | | | | | 2005-09-26 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (tab_label_style_set_cb), (build_tab_label): Use the tab label's outer hbox for the size calculation instead of the label itself. Fixes size oscillations with the Tab States extension.
* Unify background image and image code (contex menu, conext event). Fix bugJean-François Rameau2005-09-274-34/+1
| | | | | | | | | | | | | | 2005-09-26 Jean-François Rameau <jframeau@cvs.gnome.org> * src/ephy-lockdown.c: (update_window): * src/ephy-window.c: (update_popups_tooltips), (show_embed_popup): * src/popup-commands.c: * src/popup-commands.h: * embed/mozilla/EventContext.cpp: (GetEventContext): * data/ui/epiphany-ui.xml: Unify background image and image code (contex menu, conext event). Fix bug 154887.
* Don't crash if the Authors key is missing, or there are no keys in theCrispin Flowerday2005-09-241-20/+27
| | | | | | | | | | 2005-09-23 Crispin Flowerday <gnome@flowerday.cx> * src/ephy-extensions-manager.c: (ephy_extensions_manager_load_ini_string): Don't crash if the Authors key is missing, or there are no keys in the Loader section
* s/DOT_INIT/DOT_INI/g.Christian Persch2005-09-241-6/+6
| | | | | | | | 2005-09-23 Christian Persch <chpe@cvs.gnome.org> * src/ephy-extensions-manager.c: s/DOT_INIT/DOT_INI/g.
* Don't read unused variables, and use a #define for the keyfile extension.Christian Persch2005-09-241-37/+11
| | | | | | | | | | | | 2005-09-23 Christian Persch <chpe@cvs.gnome.org> * src/epphy-extensions-manager.c: (free_extension_info), (ephy_extensions_manager_load_xml_string), (path_to_identifier), (ephy_extensions_manager_load_file), (load_file_from_monitor), (dir_changed_cb), (ephy_extensions_manager_load_dir): Don't read unused variables, and use a #define for the keyfile extension.
* Accept "Module" argument.Christian Persch2005-09-241-1/+5
| | | | | | | | 2005-09-23 Christian Persch <chpe@cvs.gnome.org> * src/ephy-python-loader.c: (impl_get_object): Accept "Module" argument.
* R data/epiphany-extension.xsd:Christian Persch2005-09-241-99/+1
| | | | | | | | | | | | | | 2005-09-23 Christian Persch <chpe@cvs.gnome.org> * data/Makefile.am: R data/epiphany-extension.xsd: * src/ephy-extensions-manager.c: (ephy_extensions_manager_load_xml_string), (ephy_extensions_manager_startup), (ephy_extensions_manager_finalize): Since the .xml format is deprecated, remove the (already #if 0'd) schema validation code.
* Add support for extension description files in the keyfile format, usingCrispin Flowerday2005-09-241-42/+218
| | | | | | | | | | | | | | | | | 2005-09-23 Crispin Flowerday <gnome@flowerday.cx> * data/Makefile.am: * data/epiphany.m4: * src/ephy-extensions-manager.c: (free_extension_info), (ephy_extensions_manager_load_xml_string), (ephy_extensions_manager_load_ini_string), (path_to_identifier), (ephy_extensions_manager_load_file), (load_extension), (load_file_from_monitor), (dir_changed_cb), (ephy_extensions_manager_load_dir): Add support for extension description files in the keyfile format, using the extension .ephy-extension. Also included is a m4 macro to help do the translation of these files.
* New function to check the filename/directory for writability, derived fromChristian Persch2005-09-221-3/+6
| | | | | | | | | | | | | | | | | | 2005-09-21 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_check_location_writable): * lib/ephy-gui.h: New function to check the filename/directory for writability, derived from the now removed ephy_gui_confirm_overwrite_file. * src/bookmarks/ephy-bookmarks-editor.c: * embed/mozilla/FilePicker.cpp: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: Use the filechooser's stock confirm-overwrite checking, but we still need our own writability check.
* Make the methods to unset/release the context event semi-public.Christian Persch2005-09-192-15/+28
| | | | | | | | | | | 2005-09-19 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (_ephy_window_set_context_event), (_ephy_window_unset_context_event), (embed_popup_deactivate_cb), (show_embed_popup), (ephy_window_dispose): * src/ephy-window.h: Make the methods to unset/release the context event semi-public.
* Repair the previous b0rkage, see previous logRaphael Slinckx2005-09-172-70/+45
| | | | | | | | | | 2005-09-16 Raphael Slinckx <rslinckx@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (bookmark_activate_with_flags), (open_in_tab_activate_cb), (open_in_window_activate_cb), (activate_cb): * src/bookmarks/ephy-bookmarks.c: (impl_resolve_address): Repair the previous b0rkage, see previous log
* If the search term is empty for a smart bookmark use the normal URLRaphael Slinckx2005-09-151-0/+18
| | | | | | | | 2005-09-15 Raphael Slinckx <rslinckx@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (impl_resolve_address): If the search term is empty for a smart bookmark use the normal URL instead of the smart url with the %s replaced by ""
* Make Close the default button.Christian Persch2005-09-151-0/+1
| | | | | | | | 2005-09-15 Christian Persch <chpe@cvs.gnome.org> * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_construct): Make Close the default button.
* Set "website-label" property.Christian Persch2005-09-141-0/+1
| | | | | | | | 2005-09-14 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_help_about): Set "website-label" property.
* Depend on pygtk 2.8. Fixes bug #314557.Christian Persch2005-09-041-25/+0
| | | | | | | | | | | | 2005-09-03 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Depend on pygtk 2.8. Fixes bug #314557. * src/languages.h: Remove duplicate entries.
* Fix HIG spacings.Christian Persch2005-09-013-3/+4
| | | | | | | | | 2005-09-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_constructor): * src/pdm-dialog.c: (show_cookies_properties): Fix HIG spacings.
* Version 1.9.Christian Persch2005-08-292-20/+14
| | | | | | | | | | | | | | | | | | | | | | | | 2005-08-28 Christian Persch <chpe@cvs.gnome.org> * ChangeLog-20050828: * Makefile.am: * autogen.sh: * configure.ac: * data/Makefile.am: * data/epiphany-1.10.pc.in: * data/epiphany-1.8.pc.in: * doc/reference/Makefile.am: * embed/Makefile.am: * embed/mozilla/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * lib/ephy-dbus.c: (session_filter_func), (system_filter_func), (ephy_dbus_connect_to_session_bus), (ephy_dbus_disconnect_bus): * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Version 1.9.
* === Release 1.7.6 ===Release176Christian Persch2005-08-281-3/+3
| | | | | | | | | 2005-08-28 Christian Persch <chpe@cvs.gnome.org> === Release 1.7.6 === * NEWS: * src/Makefile.am:
* Update credits.Christian Persch2005-08-282-3/+3
| | | | | | | | 2005-08-28 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_help_about): Update credits.
* Fix pointer grab lockup when gecko pops up a dialogue.Christian Persch2005-08-281-87/+210
| | | | | | | | | | | | 2005-08-28 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (drag_stop), (grab_broken_event_cb), (grab_notify_cb), (toplevel_motion_notify_cb), (toplevel_button_release_cb), (drag_start), (motion_notify_cb), (move_tab_to_another_notebook), (button_release_cb), (button_press_cb): Fix pointer grab lockup when gecko pops up a dialogue.
* Fix compile warnings.Christian Persch2005-08-261-1/+1
| | | | | | | | 2005-08-26 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_delete_event): Fix compile warnings.
* Fix the check for unchanged address to check if we even have a monitor atChristian Persch2005-08-221-8/+4
| | | | | | | | | | | | 2005-08-21 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_update_file_monitor): Fix the check for unchanged address to check if we even have a monitor at all. Fixes auto-reload on a file:// URI loaded after a blank page. Also modify the 'is local' check to just check for file:// prefix on URI.
* Don't empty find entry on Ctrl-F.Christian Persch2005-08-211-1/+1
| | | | | | | | 2005-08-21 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (ephy_find_toolbar_open): Don't empty find entry on Ctrl-F.
* Use class closure for delete event instead of signal handler.Christian Persch2005-08-211-6/+11
| | | | | | | | | 2005-08-21 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_delete_event), (ephy_window_class_init), (ephy_window_init): Use class closure for delete event instead of signal handler.
* 2005-08-21 Christian Persch <chpe@cvs.gnome.org>Christian Persch2005-08-211-1/+1
| | | | | * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_sync_label):
* Fix mem leak.Christian Persch2005-08-211-0/+2
| | | | | | | | 2005-08-21 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_finalize): Fix mem leak.
* Add EPHY_EMBED_PERSIST_FROM_CACHE, and try harder to get a cacheChristian Persch2005-08-181-5/+6
| | | | | | | | | | | | | | | | 2005-08-17 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-persist.h: * embed/mozilla/mozilla-embed-persist.cpp: Add EPHY_EMBED_PERSIST_FROM_CACHE, and try harder to get a cache descriptor for the source URL. * src/popup-commands.c: (save_property_url), (popup_cmd_set_image_as_background), (save_temp_source): Use EPHY_EMBED_PERSIST_FROM_CACHE to try to get the content from cache when saving background, images or links. Part of bug #168554.
* Better fix: reorder again and use priv->title for the set_loading_titleChristian Persch2005-08-181-9/+5
| | | | | | | | | 2005-08-17 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_set_loading_title), Better fix: reorder again and use priv->title for the set_loading_title call after the set_title call.
* Use ephy_tab_set_title after ephy_tab_set_loading_title because set_titleChristian Persch2005-08-171-1/+3
| | | | | | | | | | 2005-08-17 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_title_cb): Use ephy_tab_set_title after ephy_tab_set_loading_title because set_title consumes the char* argument! Fixes invalid UTF-8 warnings.
* Only activate link in typeahead mode, not in Ctrl-F find mode.Christian Persch2005-08-161-2/+19
| | | | | | | | | 2005-08-16 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (entry_activate_cb), (ephy_find_toolbar_open): Only activate link in typeahead mode, not in Ctrl-F find mode.
* Return TRUE if the event was consumed.Christian Persch2005-08-161-0/+4
| | | | | | | | | | | | 2005-08-16 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyFind.cpp: Return TRUE if the event was consumed. * embed/mozilla/mozilla-embed-single.cpp: More redundant code.
* Activate the found link with a faked keypress event.Christian Persch2005-08-161-10/+28
| | | | | | | | | | | | | | | | | | | | | | | 2005-08-16 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-find.c: (ephy_embed_find_activate_link): * embed/ephy-embed-find.h: * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: * embed/mozilla/mozilla-embed-find.cpp: Activate the found link with a faked keypress event. * src/ephy-find-toolbar.c: (tab_search_key_press_cb), (entry_key_press_event_cb), (entry_activate_cb), (ephy_find_toolbar_set_embed), (ephy_find_toolbar_open), (ephy_find_toolbar_close): On enter, activate the found link instead of finding the next occurrence. Always really give focus to the find bar, instead of faking keypresses in the find bar entry while focusing the embed. Fixes bug #307216, bug #311985, bug #312419.
* Open new tabs with blank url bar if we're loading the homepage. Fixes bugChristian Persch2005-08-117-25/+53
| | | | | | | | | | | | | | | | | 2005-08-10 Christian Persch <chpe@cvs.gnome.org> * src/ephy-lockdown.c: (update_location_editable): * src/ephy-shell.c: (ephy_shell_new_tab_full): * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_set_address), (ephy_tab_open_uri_cb), (ephy_tab_address_cb), (ensure_page_info), (ephy_tab_net_state_cb), (ephy_tab_init), (ephy_tab_get_address), (ephy_tab_get_typed_address), (ephy_tab_set_typed_address): * src/ephy-tab.h: * src/ephy-toolbar.c: (sync_user_input_cb): * src/epiphany.defs: Open new tabs with blank url bar if we're loading the homepage. Fixes bug #313012.
* Make a few properties to be writable (where there is appropriate code inCrispin Flowerday2005-08-101-3/+3
| | | | | | | | | | 2005-08-10 Crispin Flowerday <gnome@flowerday.cx> * src/ephy-tab.c (ephy_tab_class_init): Make a few properties to be writable (where there is appropriate code in the ephy_tab_set_property() function), and fix the 'icon' property to have the correct enum value.
* Make tab icon address setter public.Christian Persch2005-08-103-4/+16
| | | | | | | | | | 2005-08-09 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_set_property): * src/ephy-tab.h: * src/epiphany.defs: Make tab icon address setter public.
* When opening the find bar with Ctrl+F, search for the item, and select theCrispin Flowerday2005-08-101-0/+10
| | | | | | | | | 2005-08-09 Crispin Flowerday <gnome@flowerday.cx> * src/ephy-find-toolbar.c (ephy_find_toolbar_open): When opening the find bar with Ctrl+F, search for the item, and select the text.
* Typo fixes.Release174Christian Persch2005-08-091-31/+0
| | | | | | | | | | | | 2005-08-09 Christian Persch <chpe@cvs.gnome.org> * NEWS: Typo fixes. * src/ephy-tab.c: (ephy_tab_net_state_cb): Removed favicon fallback code.
* Tiny string fix just before string freeze :)Christian Persch2005-08-092-1/+3
| | | | | | | | | 2005-08-08 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: * src/ephy-toolbar.c: (ephy_toolbar_set_window): Tiny string fix just before string freeze :)
* Add way to clear the favicon cache. Also removes any extraneous files fromChristian Persch2005-08-081-2/+9
| | | | | | | | | | | | | | | | | | 2005-08-07 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (icons_removed_cb), (remove_obsolete_icons), (delete_file), (ephy_favicon_cache_finalize), (ephy_favicon_cache_get), (ephy_favicon_cache_clear): * embed/ephy-favicon-cache.h: Add way to clear the favicon cache. Also removes any extraneous files from favicon cache directory. Fix a crash which I wonder why we never experienced it! * src/prefs-dialog.c: (prefs_clear_cache_button_clicked_cb): Also clear favicon cache when clearing the cache.
* Update cvsignoreCrispin Flowerday2005-08-081-0/+1
|
* Add switch to disable focus fix, and to disable PSM. Error out if PSMChristian Persch2005-08-082-10/+33
| | | | | | | | | | | | | | | | | | | 2005-08-07 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Add switch to disable focus fix, and to disable PSM. Error out if PSM isn't found but --disable-psm not given. Should prevent accidental compilation without PSM. * lib/widgets/ephy-icon-entry.c: (ephy_icon_entry_get_entry): * lib/widgets/ephy-icon-entry.h: Add ephy_icon_entry_get_entry. * src/epiphany.defs: Updated python bindings.
* Fix stringChristian Persch2005-08-041-1/+1
|
* Add public function ephy_window_get_context_event() to get theChristian Persch2005-08-044-64/+130
| | | | | | | | | | | | | | | | | | | | | | | | 2005-08-03 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (popup_menu_at_coords), (idle_unref_context_event), (set_context_event), (embed_popup_deactivate_cb), (get_name_from_address_value), (show_embed_popup), (ephy_window_dispose), (ephy_window_get_is_print_preview), (ephy_window_get_context_event): * src/ephy-window.h: * src/epiphany.defs: * src/popup-commands.c: (popup_cmd_link_in_new_window), (popup_cmd_link_in_new_tab), (popup_cmd_bookmark_link), (popup_cmd_copy_link_address), (save_property_url), (popup_cmd_open_link), (popup_cmd_set_image_as_background), (popup_cmd_copy_image_location), (popup_cmd_open_image): Add public function ephy_window_get_context_event() to get the EphyEmbedEvent for the current popup menu, instead of using an undocument g_object_get_data() call. Also fixes bug #310910. Don't printf NULL; fixes bug #309796.
* Pipe the output of the pygtk_codegen program straight to epiphany.c to fixCrispin Flowerday2005-08-021-3/+1
| | | | | | | | | | 2005-08-01 Crispin Flowerday <gnome@flowerday.cx> * src/Makefile.am (epiphany.c): Pipe the output of the pygtk_codegen program straight to epiphany.c to fix timestamp handling, which caused make to run rules on every invocation.
* Now that the tab's address is always correct (isn't the typed addressChristian Persch2005-08-026-43/+33
| | | | | | | | | | | | | | | | | | 2005-08-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-location-action.c: (get_location_cb): * src/ephy-session.c: (write_tab): * src/ephy-tab.c: * src/ephy-window.c: (modal_alert_cb): * src/prefs-dialog.c: (set_homepage_entry), (prefs_homepage_current_button_clicked_cb): * src/window-commands.c: (window_cmd_file_send_to), (window_cmd_file_bookmark_page), (window_cmd_view_page_source): Now that the tab's address is always correct (isn't the typed address anymore), always use ephy_tab_get_address instead of ephy_embed_get_location, since the former also gets the right address when the page loading but still blank. Should fix bug #147840.
* Add a ::icon property to EphyTab, and use that everywhere instead ofChristian Persch2005-08-017-118/+163
| | | | | | | | | | | | | | | | | | | | | | 2005-08-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-location-action.c: (sync_icon), (ephy_location_action_set_property), (ephy_location_action_get_property), (ephy_location_action_class_init), (ephy_location_action_init), (ephy_location_action_finalize): * src/ephy-notebook.c: (sync_icon): * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_get_property), (ephy_tab_class_init), (ephy_tab_finalize), (ephy_tab_load_icon), (ephy_tab_icon_cache_changed_cb), (ephy_tab_set_icon_address), (ephy_tab_get_icon), (ephy_tab_init): * src/ephy-tab.h: * src/ephy-toolbar.c: (ephy_toolbar_set_favicon): * src/ephy-toolbar.h: * src/ephy-window.c: (sync_tab_icon): Add a ::icon property to EphyTab, and use that everywhere instead of querying the icon cache, thus saving memory.
* Wrap EggToolbarsModel.Christian Persch2005-08-011-6/+169
| | | | | | | | 2005-07-31 Christian Persch <chpe@cvs.gnome.org> * src/epiphany.defs: Wrap EggToolbarsModel.
* Wrap MozillaEmbedEvent, to prevent crash from bug #310910.Christian Persch2005-08-013-1/+12
| | | | | | | | | | 2005-07-31 Christian Persch <chpe@cvs.gnome.org> * src/Makefile.am: * src/epiphany.defs: * src/epiphany.override: Wrap MozillaEmbedEvent, to prevent crash from bug #310910.
* More bindings.Christian Persch2005-08-011-1/+1
| | | | | | | | 2005-07-31 Christian Persch <chpe@cvs.gnome.org> * src/epiphany.defs: More bindings.
* More bindings.Christian Persch2005-08-011-1/+40
| | | | | | | | 2005-07-31 Christian Persch <chpe@cvs.gnome.org> * src/epiphany.defs: More bindings.
* More bindings.Christian Persch2005-08-011-2/+79
| | | | | | | | 2005-07-31 Christian Persch <chpe@cvs.gnome.org> * src/epiphany.defs: More bindings.
* Fix gcc 4.0 warnings.Jean-François Rameau2005-08-011-2/+2
| | | | | | | | | 2005-07-31 Jean-François Rameau <jframeau@cvs.gnome.org> * src/epiphany.override: (_wrap_ephy_embed_event_get_coords): * embed/ephy-history.c: Fix gcc 4.0 warnings.
* Update binding rules.Christian Persch2005-08-012-11/+25
| | | | | | | | | | | | 2005-07-31 Christian Persch <chpe@cvs.gnome.org> * src/Makefile.am: Update binding rules. * src/epiphany.defs: Fix crash on "window.get_bookmarksbar()".
* Fix crash on "window.get_toolbar()". Fixes bug #170105.Christian Persch2005-08-012-4/+34
| | | | | | | | | 2005-07-31 Christian Persch <chpe@cvs.gnome.org> * src/epiphany.defs: * src/epiphany.override: Fix crash on "window.get_toolbar()". Fixes bug #170105.
* Update python bindings.Christian Persch2005-08-011-104/+317
| | | | | | | | 2005-07-31 Christian Persch <chpe@cvs.gnome.org> * src/epiphany.defs: Update python bindings.
* Fix string, and add Crispin to contributors in About.Christian Persch2005-08-011-2/+4
| | | | | | | | 2005-07-31 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_help_about): Fix string, and add Crispin to contributors in About.
* Tiny string fix. Fixes bug #167448.Christian Persch2005-08-011-1/+1
| | | | | | | | 2005-07-31 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: Tiny string fix. Fixes bug #167448.
* Update about dialogue.Christian Persch2005-08-012-18/+36
| | | | | | | | | | 2005-07-31 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): * src/window-commands.c: (window_cmd_view_stop), (window_cmd_help_about): Update about dialogue.
* Fallback to favicon.ico. Fixes bug #116678.Christian Persch2005-08-011-12/+42
| | | | | | | | | | 2005-07-31 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_set_icon_address), (ephy_tab_set_fallback_icon_address), (ensure_page_info), (ephy_tab_net_state_cb): Fallback to favicon.ico. Fixes bug #116678.
* Make ephy_session_get_active_window work as intended.Christian Persch2005-07-302-7/+15
| | | | | | | | | | | | 2005-07-30 Christian Persch <chpe@cvs.gnome.org> * src/ephy-session.c: (ephy_session_get_active_window): Make ephy_session_get_active_window work as intended. * src/prefs-dialog.c: (prefs_homepage_current_button_clicked_cb): Fix setting homepage to current page. Fixes bug #311962.
* Replace ephy_embed_activate with gtk_widget_grab_focusCrispin Flowerday2005-07-305-12/+12
| | | | | | | | | | | | | | | | 2005-07-29 Crispin Flowerday <gnome@flowerday.cx> * src/ephy-find-toolbar.c: (ephy_find_toolbar_grab_focus), (ephy_find_toolbar_open), (ephy_find_toolbar_close): * src/ephy-shell.c: (ephy_shell_new_tab_full): * src/ephy-tab.c: (ephy_tab_grab_focus): * src/ephy-window.c: (ephy_window_key_press_event), (ephy_window_open_link): * src/window-commands.c: (window_cmd_go_back), (window_cmd_go_up), (window_cmd_go_forward), (window_cmd_view_stop), (window_cmd_view_reload): Replace ephy_embed_activate with gtk_widget_grab_focus
* Add accessor functions for those instead of relying on using the structChristian Persch2005-07-302-0/+33
| | | | | | | | | | | 2005-07-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-statusbar.c: (ephy_statusbar_get_tooltips), (ephy_statusbar_get_security_frame): * src/ephy-statusbar.h: Add accessor functions for those instead of relying on using the struct members directly.
* Update the python bindings too.Christian Persch2005-07-301-6/+0
| | | | | | | | 2005-07-29 Christian Persch <chpe@cvs.gnome.org> * src/epiphany.defs: Update the python bindings too.
* Realise the embed first before grabbing focus on it.Christian Persch2005-07-301-1/+2
| | | | | | | | 2005-07-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: (ephy_shell_new_tab_full): Realise the embed first before grabbing focus on it.
* Be careful not to leave a GC scheduled when terminating python.Christian Persch2005-07-304-3/+83
| | | | | | | | | | | | | 2005-07-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-python-extension.c: (impl_detach_tab), (impl_detach_window): * src/ephy-python-loader.c: (ephy_python_loader_finalize): * src/ephy-python.c: (ephy_python_init), (idle_shutdown), (ephy_python_shutdown), (idle_gc), (ephy_python_schedule_gc): * src/ephy-python.h: Be careful not to leave a GC scheduled when terminating python.
* For empty pages, put focus in address bar.Christian Persch2005-07-291-1/+9
| | | | | | | | 2005-07-28 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_open_link): For empty pages, put focus in address bar.
* Work around gtkmozembed focus bug. Fixes bug #105153.Christian Persch2005-07-291-2/+43
| | | | | | | | | | | | | 2005-07-28 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-shell.c: (url_is_empty), (load_homepage), (ephy_shell_new_tab_full): Work around gtkmozembed focus bug. Fixes bug #105153.
* Only show the leaf name on bookmarksbar for hierarchical topics.Christian Persch2005-07-281-2/+9
| | | | | | | | | 2005-07-27 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_sync_label): Only show the leaf name on bookmarksbar for hierarchical topics.
* Unify bookmarks/smart bookmarks address resolution, and add a signal toChristian Persch2005-07-276-68/+132
| | | | | | | | | | | | | | | | | | | 2005-07-26 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-marshal.list: * src/bookmarks/ephy-bookmark-action.c: (open_in_tab_activate_cb), (open_in_window_activate_cb), (activate_cb): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_class_init), (impl_resolve_address), (ephy_bookmarks_resolve_address): * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-topic-action.c: (menu_activate_cb), (open_in_tabs_activate_cb): * src/ephy-location-action.c: (action_activated_cb), (entry_activate_cb): * src/epiphany.defs: Unify bookmarks/smart bookmarks address resolution, and add a signal to EphyBookmarks for it.
* Use connect_object to connect to the menu's deactivate signal. May fix bugChristian Persch2005-07-261-2/+2
| | | | | | | | | 2005-07-26 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-topic-action.c: (button_toggled_cb): Use connect_object to connect to the menu's deactivate signal. May fix bug #309918.
* Fix ESC behaviour to always stop, and to reset the location entry whenChristian Persch2005-07-267-38/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-24 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: * lib/widgets/ephy-location-entry.c: (ephy_location_entry_finalize), (update_address_state), (update_favicon), (editable_changed_cb), (entry_button_press_cb), (match_selected_cb), (entry_key_press_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_set_location), (ephy_location_entry_reset), (ephy_location_entry_set_favicon): * lib/widgets/ephy-location-entry.h: * src/ephy-location-action.c: (entry_activate_cb), (user_changed_cb), (sync_address), (connect_proxy), (ephy_location_action_set_property), (ephy_location_action_finalize), (ephy_location_action_set_address): * src/ephy-location-action.h: * src/ephy-lockdown.c: (update_location_editable): * src/ephy-tab.c: (ephy_tab_get_typed_address): * src/ephy-toolbar.c: (ephy_toolbar_set_location): * src/ephy-toolbar.h: * src/ephy-window.c: (ephy_window_key_press_event), (sync_tab_address), (ephy_window_set_active_tab), (modal_alert_cb): * src/epiphany.defs: * src/window-commands.c: (window_cmd_view_stop): Fix ESC behaviour to always stop, and to reset the location entry when it's focused only. Reset the location entry favicon to the stock icon when the address shown is != the tab's address. When switching tab, preserve the selection if it was owned by the location entry. Fixes bug #155824.
* Update python bindingChristian Persch2005-07-251-6/+0
|
* Also ellipsise the menu entries in the toolbar overflow menu.Christian Persch2005-07-252-1/+18
| | | | | | | | | | 2005-07-24 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (connect_proxy): * src/bookmarks/ephy-topic-action.c: (append_bookmarks_menu), (connect_proxy): Also ellipsise the menu entries in the toolbar overflow menu.
* Add translator commentChristian Persch2005-07-241-0/+1
|
* Set title of loading page to the address, iff the page was blank before.Christian Persch2005-07-248-160/+318
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-24 Christian Persch <chpe@cvs.gnome.org> * src/ephy-lockdown.c: (update_location_editable): * src/ephy-shell.c: (ephy_shell_new_tab_full): * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_get_property), (ephy_tab_class_init), (get_title_from_address), (ephy_tab_set_loading_title), (ephy_tab_set_address), (ephy_tab_set_load_status), (ephy_tab_get_load_status), (ephy_tab_open_uri_cb), (ephy_tab_address_cb), (ephy_tab_content_change_cb), (ephy_tab_zoom_changed_cb), (ephy_tab_title_cb), (ensure_page_info), (ephy_tab_net_state_cb), (ephy_tab_init), (ephy_tab_set_title), (ephy_tab_get_title), (ephy_tab_get_address), (ephy_tab_get_typed_address), (ephy_tab_set_typed_address): * src/ephy-tab.h: * src/ephy-toolbar.c: (sync_user_input_cb): * src/ephy-window.c: (sync_tab_typed_address), (sync_tab_title), (ephy_window_set_active_tab): * src/epiphany.defs: Set title of loading page to the address, iff the page was blank before. Fixes bug #115337 and bug #171622. * src/ephy-session.c: (ephy_session_close): In ephy_session_close(), close open dialogues first.
* *** empty log message ***Christian Persch2005-07-241-1/+1
|
* Add rules to generate the raw python bindings .defs file, and to checkChristian Persch2005-07-212-936/+1044
| | | | | | | | | | | | | | 2005-07-21 Christian Persch <chpe@cvs.gnome.org> * src/Makefile.am: Add rules to generate the raw python bindings .defs file, and to check that all headers are either used or ignored. * src/epiphany.defs: Reordered to make diffing against the autogenerated file simpler.
* Make sure the option is in the right option group.Christian Persch2005-07-181-1/+1
| | | | | | | | 2005-07-17 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (get_option): Make sure the option is in the right option group.
* Only allow alphanumeric option arguments, and limit length to 32Christian Persch2005-07-181-2/+9
| | | | | | | | | | 2005-07-17 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (get_option), (ephy_bookmarks_get_smart_bookmark_width): Only allow alphanumeric option arguments, and limit length to 32 characters at most. Use g_ascii_strtoull.
* A embed/mozilla/EphyAboutModule.cpp: A embed/mozilla/EphyAboutModule.h: RChristian Persch2005-07-181-2/+1
| | | | | | | | | | | | | | | | | | | 2005-07-17 Christian Persch <chpe@cvs.gnome.org> A embed/mozilla/EphyAboutModule.cpp: A embed/mozilla/EphyAboutModule.h: R embed/mozilla/EphyProtocolHandler.cpp: R embed/mozilla/EphyProtocolHandler.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * po/POTFILES.in: Yet another mozilla API change. * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_smart_bookmark_width): Remove stray g_print, and clamp entry width to sane values.
* Fix smart bookmark options parsing. Now encoding= really works, and addedChristian Persch2005-07-173-177/+117
| | | | | | | | | | | | | | | 2005-07-17 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_sync_smart_url): * src/bookmarks/ephy-bookmarks.c: (resolve_cb), (browse_cb), (ephy_bookmarks_init), (update_has_smart_address), (get_option), (ephy_bookmarks_solve_smart_url), (ephy_bookmarks_get_smart_bookmark_width): * src/bookmarks/ephy-bookmarks.h: Fix smart bookmark options parsing. Now encoding= really works, and added width= for bug #116709. Also fixes bug #132761.
* Fix URL dragging to other tabs.Christian Persch2005-07-161-1/+1
| | | | | | | | 2005-07-16 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (notebook_drag_data_received_cb): Fix URL dragging to other tabs.
* Init the gettext domain.Christian Persch2005-07-121-0/+6
| | | | | | | | 2005-07-11 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: (prefs_dialog_init): Init the gettext domain.
* Check all selected nodes if they allow dragging.Christian Persch2005-07-122-5/+12
| | | | | | | | | | | | | | | | | | | 2005-07-11 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-node-view.c: (check_node_is_drag_source), (can_drag_selection), (button_release_cb), (motion_notify_cb): Check all selected nodes if they allow dragging. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu), (key_pressed_cb): Don't allow to delete or rename local sites, or to put them on the bookmarks bar. * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): Fix capitalisation.
* Implement a way to disallow dragging from resp. dropping on certain nodes.Christian Persch2005-07-113-6/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-10 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-node-common.h: * lib/ephy-node.c: (ephy_node_new_with_id), (ephy_node_signal_disconnect), (ephy_node_set_is_drag_source), (ephy_node_get_is_drag_source), (ephy_node_set_is_drag_dest), (ephy_node_get_is_drag_dest): * lib/ephy-node.h: * lib/widgets/ephy-node-view.c: (drag_motion_cb), (drag_data_received_cb): Implement a way to disallow dragging from resp. dropping on certain nodes. * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu): * src/bookmarks/ephy-bookmarks.c: (save_filter), (save_filter_local), (ephy_bookmarks_save), (update_bookmark_keywords), (bookmark_is_categorized), (resolve_cb), (browse_cb), (ephy_local_bookmarks_init), (ephy_local_bookmarks_stop), (ephy_bookmarks_init), (ephy_bookmarks_finalize), (ephy_bookmarks_get_topic_uri), (ephy_bookmarks_find_keyword), (ephy_bookmarks_get_favorites), (ephy_bookmarks_get_local): * src/bookmarks/ephy-bookmarks.h: Implement "Local Sites" topic, filled with zeroconf-discovered bookmarks. Patch by Bastien Nocera, fixes bug #144969.
* Fix build with -Werror.Christian Persch2005-07-111-1/+132
| | | | | | | | | | | | | | | | 2005-07-10 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_prepare_close): Fix build with -Werror. * src/ephy-tab.c: (ephy_tab_dispose), (ephy_tab_file_monitor_cancel), (ephy_file_monitor_reload_cb), (ephy_tab_file_monitor_cb), (ephy_tab_update_file_monitor), (ephy_tab_address_cb): Monitor local files for changes and reload them if they do change. Fixes bug #300040; patch by Raphaël Slinckx.
* If the string includes uppercase letters, search case-sensitively.Christian Persch2005-07-101-3/+11
| | | | | | | | 2005-07-09 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (entry_changed_cb): If the string includes uppercase letters, search case-sensitively.
* Don't focus the embed on close on !typeaheadfind, since it's a crash.Christian Persch2005-07-091-1/+6
| | | | | | | | | 2005-07-09 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (ephy_find_toolbar_close): Don't focus the embed on close on !typeaheadfind, since it's a crash. Fixes bug #307675.
* Fix compiler warning.Christian Persch2005-07-041-5/+5
| | | | | | | | 2005-07-04 Christian Persch <chpe@cvs.gnome.org> * src/ephy-extensions-manager.c: Fix compiler warning.
* Better fix for bug #151037 to make session shutdown work again. Also fixChristian Persch2005-07-043-35/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-04 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (remove_download), (prepare_close_cb), (downloader_view_init), (downloader_view_finalize), (downloader_view_remove_download), (download_dialog_delete_cb): * embed/ephy-embed-shell.c: (ephy_embed_shell_prepare_close), (ephy_embed_shell_class_init): * embed/ephy-embed-shell.h: * embed/ephy-favicon-cache.c: (prepare_close_cb), (ephy_favicon_cache_init), (kill_download): * embed/mozilla/mozilla-embed-find.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/mozilla/mozilla-notifiers.h: * src/ephy-session.c: (ephy_session_init), (ephy_session_dispose), (ephy_session_autoresume), (close_dialog), (ephy_session_close): * src/ephy-shell.c: (ephy_shell_startup), (toolwindow_hide_cb): * src/ephy-window.c: (ephy_window_finalize): Better fix for bug #151037 to make session shutdown work again. Also fix session shutdown while resuming, and preserve the session in this case.
* EphyCookie's expires field is now of time_t type (fixes gcc 4.0 warning).Jean-François Rameau2005-07-045-9/+13
| | | | | | | | | | | | | | | | | | | | | | | 2005-07-03 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/ephy-cookie-manager.h: EphyCookie's expires field is now of time_t type (fixes gcc 4.0 warning). * embed/ephy-favicon-cache.c: * lib/ephy-file-helpers.c: * lib/ephy-langs.c: * lib/ephy-node-db.c: * lib/ephy-node.c: * lib/ephy-state.c: * lib/egg/eggtraymanager.c: * src/ephy-extensions-manager.c: * src/ephy-main.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-window.c: Fixes more signed/unsigned problems with gcc 4.0.
* Show URI in status bar when selecting Back/Forward/Up menu items. FixesJean-François Rameau2005-07-011-2/+57
| | | | | | | | | | | 2005-07-01 Jean-François Rameau <jframeau@cvs.gnome.org> * src/ephy-navigation-action.c: (build_back_or_forward_menu), (build_up_menu), (select_menu_item_cb), (deselect_menu_item_cb), (ephy_navigation_action_set_property): Show URI in status bar when selecting Back/Forward/Up menu items. Fixes partly #161710.
* Shift-Ctrl+R now works (Force reload). Fixes #307831.Jean-François Rameau2005-06-201-0/+3
| | | | | | | | | 2005-06-19 Jean-François Rameau <jframeau@cvs.gnome.org> * data/ui/epiphany-ui.xml: * src/ephy-window.c: Shift-Ctrl+R now works (Force reload). Fixes #307831.
* Don't show the image after gtk_button_set_image(). Fixes bug #307818.Christian Persch2005-06-162-15/+6
| | | | | | | | | | 2005-06-16 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_constructor): * src/ephy-history-window.c: (confirmation_dialog_construct): Don't show the image after gtk_button_set_image(). Fixes bug #307818.
* Common helper function to unref a GObject from idle.Christian Persch2005-06-114-19/+9
| | | | | | | | | | | | | | | | | | | | | | | | 2005-06-10 Christian Persch <chpe@cvs.gnome.org> * lib/Makefile.am: * lib/ephy-object-helpers.c: * lib/ephy-object-helpers.h: Common helper function to unref a GObject from idle. * embed/downloader-view.c: (downloader_view_finalize): * embed/mozilla/mozilla-embed-find.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-extensions-manager.c: (unload_extension): * src/ephy-main.c: (main): * src/ephy-shell.c: (toolwindow_hide_cb): * src/ephy-window.c: (ephy_window_finalize): Always unref the shell from idle, never directly. That's because in case we hold the last reference, we would end up terminating embedding/XPCOM from a mozilla callback. Fixes bug #151037, and moz#236688.
* Handle Ctrl-F like / to open the find bar without focusing it. Fixes linkChristian Persch2005-06-094-30/+10
| | | | | | | | | | | | | 2005-06-08 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: * src/ephy-window.h: * src/epiphany.defs: * src/window-commands.c: (window_cmd_edit_select_all), (window_cmd_edit_find): Handle Ctrl-F like / to open the find bar without focusing it. Fixes link activation while finding.
* Version 1.7.1.Release171Christian Persch2005-06-052-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-05 Christian Persch <chpe@cvs.gnome.org> Version 1.7.1. * Makefile.am: Add --enable-python to distcheck configure flags. * NEWS: * configure.ac: Updated for version 1.7.1. * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EventContext.cpp: Fix warnings. * src/ephy-extensions-manager.c: (get_loader_for_type), (load_extension): Fix --disable-python case. * src/Makefile.am: Fix make distcheck.
* Close find bar on mouse click in the embed.Christian Persch2005-06-051-0/+18
| | | | | | | | | 2005-06-04 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (tab_dom_mouse_click_cb), (ephy_find_toolbar_set_embed): Close find bar on mouse click in the embed.
* Don't open search toolbar on / or ' over formfields:Christian Persch2005-06-031-27/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-03 Christian Persch <chpe@cvs.gnome.org> Don't open search toolbar on / or ' over formfields: * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: New signal for searchable key presses. * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: Add static function to check if a keypress should be forwarded to the search toolbar. * embed/mozilla/mozilla-embed.cpp: Emit the signal here. * lib/ephy-marshal.list: * src/ephy-find-toolbar.c: (tab_search_key_press_cb), (ephy_find_toolbar_set_embed): Use the new signal instead of dom-key-press.
* Work around mozilla bugChristian Persch2005-05-312-0/+15
| | | | | | | | | | | | 2005-05-31 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (ephy_notebook_move_tab), (move_tab_to_another_notebook), (button_release_cb): * src/ephy-window.c: (update_tabs_menu_sensitivity): Work around mozilla bug https://bugzilla.mozilla.org/show_bug.cgi?id=296002 by disallowing tabs moves to a different window. Bug #303922.
* Don't erase the search term when opening the find bar with Ctrl-F.Christian Persch2005-05-303-6/+11
| | | | | | | | | | | 2005-05-30 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (tab_dom_key_press_cb), (ephy_find_toolbar_open): * src/ephy-find-toolbar.h: * src/ephy-window.c: (ephy_window_find): Don't erase the search term when opening the find bar with Ctrl-F.
* Don't special-case ' and / if the find bar is already active.Christian Persch2005-05-301-10/+13
| | | | | | | | 2005-05-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (tab_dom_key_press_cb): Don't special-case ' and / if the find bar is already active.
* Deactivate typeaheadfind in print preview mode.Christian Persch2005-05-304-17/+102
| | | | | | | | | | | | | | | | | 2005-05-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (tab_dom_key_press_cb), (entry_activate_cb), (sync_print_preview_mode), (ephy_find_toolbar_set_window), (ephy_find_toolbar_get_property), (ephy_find_toolbar_set_property), (ephy_find_toolbar_class_init), (ephy_find_toolbar_new): * src/ephy-find-toolbar.h: * src/ephy-window.c: (ephy_window_init), (ephy_window_set_print_preview), (ephy_window_get_is_popup), (ephy_window_get_is_print_preview): * src/ephy-window.h: Deactivate typeaheadfind in print preview mode.
* Only enable typeahead if we actually can do typeaheadfind.Christian Persch2005-05-291-0/+8
| | | | | | | | | 2005-05-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-find-toolbar.c: (ephy_find_toolbar_set_embed), (ephy_find_toolbar_open): Only enable typeahead if we actually can do typeaheadfind.
* Allow ViewSource for XML documents too. Fixes bug #305788.Christian Persch2005-05-291-2/+3
| | | | | | | | 2005-05-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (sync_tab_document_type): Allow ViewSource for XML documents too. Fixes bug #305788.
* Update python bindings.Christian Persch2005-05-291-20/+6
| | | | | | | | 2005-05-29 Christian Persch <chpe@cvs.gnome.org> * src/epiphany.defs: Update python bindings.
* Disable mozilla's typeaheadfind.Christian Persch2005-05-293-44/+196
| | | | | | | | | | | | | | | | | | | | | | | | 2005-05-29 Christian Persch <chpe@cvs.gnome.org> * data/default-prefs-common.js: * data/default-prefs-toolkit.js: Disable mozilla's typeaheadfind. * src/ephy-find-toolbar.c: (get_find), (send_focus_change), (tab_dom_key_press_cb), (entry_changed_cb), (entry_preedit_changed_cb), (entry_key_press_event_cb), (entry_activate_cb), (set_focus_cb), (ephy_find_toolbar_grab_focus), (ephy_find_toolbar_init), (ephy_find_toolbar_class_init), (ephy_find_toolbar_set_embed), (ephy_find_toolbar_find_previous), (ephy_find_toolbar_open), (ephy_find_toolbar_close): * src/ephy-find-toolbar.h: * src/ephy-window.c: (sync_tab_document_type), (ephy_window_init), (ephy_window_set_print_preview), (ephy_window_find): Forward key events from the embed to the find toolbar. That way we can typeaheadfind without losing focus.
* Check for toolkit nsITypeAheadFind.Christian Persch2005-05-295-140/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-05-28 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Check for toolkit nsITypeAheadFind. * embed/Makefile.am: * embed/ephy-embed-factory.c: (ephy_embed_factory_new_object): * embed/ephy-embed-find.c: (ephy_embed_find_set_embed), (ephy_embed_find_set_properties), (ephy_embed_find_find), (ephy_embed_find_find_again), (ephy_embed_find_get_type): * embed/ephy-embed-find.h: * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-find.cpp: * embed/mozilla/mozilla-embed-find.h: * embed/mozilla/mozilla-embed.cpp: * src/bookmarks/ephy-bookmarks-import.c: (gul_general_read_line_from_file): * src/ephy-find-toolbar.c: (get_find), (set_controls), (tab_content_changed_cb), (entry_changed_cb), (ephy_find_toolbar_init), (ephy_find_toolbar_finalize), (ephy_find_toolbar_class_init), (ephy_find_toolbar_new), (ephy_find_toolbar_get_text), (ephy_find_toolbar_set_embed), (ephy_find_toolbar_find_next), (ephy_find_toolbar_find_previous): * src/ephy-find-toolbar.h: * src/ephy-window.c: (ephy_window_set_active_tab), (ephy_window_init), (ephy_window_get_find_toolbar), (ephy_window_notebook_switch_page_cb): * src/ephy-window.h: * src/window-commands.c: (window_cmd_edit_find_next), (window_cmd_edit_find_prev): Implement typeaheadfind for the find toolbar.
* Check return value of fgets.Christian Persch2005-05-291-4/+6
| | | | | | | | | 2005-05-28 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (gul_general_read_line_from_file): Check return value of fgets.
* A src/ephy-find-toolbar.c: A src/ephy-find-toolbar.h:Christian Persch2005-05-264-48/+567
| | | | | | | | | | | | | | | | | | | 2005-05-25 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * embed/find-dialog.c: * embed/find-dialog.h: A src/ephy-find-toolbar.c: A src/ephy-find-toolbar.h: * src/ephy-window.c: (sync_tab_document_type), (tab_content_changed_cb), (ephy_window_set_active_tab), (ephy_window_dispose), (sync_find_toolbar_text_cb), (find_toolbar_find_next_cb), (find_toolbar_find_previous_cb), (find_toolbar_close_cb), (ephy_window_init), (ephy_window_notebook_switch_page_cb), (ephy_window_find): Replace the find dialogue with a find toolbar. Work in progress; no typeaheadfind yet.
* Windows opened from links are not always popups. Windows with menu barJean-François Rameau2005-05-231-1/+7
| | | | | | | | | | 2005-05-23 Jean-François Rameau <jframeau@cvs.gnome.org> * src/ephy-shell.c: (ephy_shell_new_window_cb): Windows opened from links are not always popups. Windows with menu bar toggled on are not considered as popups. #304992
* A README.Python A m4/.cvsignore: A m4/python.m4:Christian Persch2005-05-2110-2/+4263
| | | | | | | | | | | | | | | | | | | | | | 2005-05-21 Christian Persch <chpe@cvs.gnome.org> * Makefile.am: * configure.ac: A README.Python A m4/.cvsignore: A m4/python.m4: * src/Makefile.am: * src/ephy-extensions-manager.c: (get_loader_for_type): A src/ephy-python-extension.c: A src/ephy-python-extension.h: A src/ephy-python-loader.c: A src/ephy-python-loader.h: A src/ephy-python.c: A src/ephy-python.h: A src/epiphany.defs: A src/epiphany.override: Merge Pyphany.
* Add languages.h to NOINST_H_FILES.Christian Persch2005-05-121-0/+1
| | | | | | | | 2005-05-12 Christian Persch <chpe@cvs.gnome.org> * src/Makefile.am: Add languages.h to NOINST_H_FILES.
* Change string passed to gnome_program_init() as human readable programChristian Persch2005-05-111-1/+1
| | | | | | | | | 2005-05-11 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Change string passed to gnome_program_init() as human readable program name.
* Constification.Christian Persch2005-05-071-1/+1
| | | | | | | | 2005-05-07 Christian Persch <chpe@cvs.gnome.org> * src/ephy-lockdown.c: Constification.
* Use the document's URL as tab address, not the info from the locationChristian Persch2005-05-071-2/+7
| | | | | | | | | | 2005-05-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * src/ephy-tab.c: (ephy_tab_address_cb): Use the document's URL as tab address, not the info from the location changed signal.
* A src/languages.h:Christian Persch2005-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | 2005-05-01 Christian Persch <chpe@cvs.gnome.org> * data/default-prefs-common.js: * data/epiphany.schemas.in: * lib/ephy-langs.c: A src/languages.h: * src/prefs-dialog.c: (prefs_dialog_show_help), (create_language_section), (get_download_button_label), (prefs_dialog_init): Add more font languages, and generate the language list from the unicode supplemental data. * lib/ephy-dialog.c: * lib/ephy-dialog.h: * src/prefs-dialog.c: * src/pdm-dialog.c: Constification.
* A src/languages.h:Christian Persch2005-05-022-193/+560
| | | | | | | | | | | | | | | | | | | | | 2005-05-01 Christian Persch <chpe@cvs.gnome.org> * data/default-prefs-common.js: * data/epiphany.schemas.in: * lib/ephy-langs.c: A src/languages.h: * src/prefs-dialog.c: (prefs_dialog_show_help), (create_language_section), (get_download_button_label), (prefs_dialog_init): Add more font languages, and generate the language list from the unicode supplemental data. * lib/ephy-dialog.c: * lib/ephy-dialog.h: * src/prefs-dialog.c: Constification.
* Replaces all %s in smartbookmarks. Fixes bug #167319, patch by RaphaelChristian Persch2005-04-241-5/+7
| | | | | | | | | 2005-04-24 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_solve_smart_url): Replaces all %s in smartbookmarks. Fixes bug #167319, patch by Raphael Slinckx.
* More constification.Christian Persch2005-04-196-34/+27
| | | | | | | | | | | | | | | | | | | | | | | 2005-04-19 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (create_dock): * lib/egg/egg-toolbar-editor.c: (editor_create_item), (update_editor_sheet): * lib/ephy-file-helpers.c: (ephy_file): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_construct_contents): * lib/widgets/ephy-node-view.c: (ephy_node_view_enable_drag_dest), (ephy_node_view_enable_drag_source): * lib/widgets/ephy-node-view.h: * src/ephy-encoding-menu.c: (ephy_encoding_menu_set_window): * src/ephy-history-window.c: (ephy_history_window_construct): * src/ephy-main.c: * src/ephy-notebook.c: (ephy_notebook_init), (ephy_notebook_add_tab): * src/ppview-toolbar.c: * src/window-commands.c: (window_cmd_help_about): More constification.
* Iso-codes is now mandatory.Christian Persch2005-04-191-118/+1
| | | | | | | | | | | | 2005-04-19 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * lib/ephy-langs.c: (ephy_langs_iso_3166_table): * src/prefs-dialog.c: (prefs_dialog_finalize), (get_name_for_lang_code), (setup_add_language_dialog), (create_language_section): Iso-codes is now mandatory.
* Use gtk_action_set_[sensitive|visible] instead of g_object_set.Christian Persch2005-04-196-53/+61
| | | | | | | | | | | | | | | | | 2005-04-19 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu): * src/ephy-encoding-menu.c: (update_encoding_menu_cb): * src/ephy-history-window.c: (ephy_history_window_update_menu): * src/ephy-toolbar.c: (ephy_toolbar_set_zoom): * src/ephy-window.c: (update_edit_actions_sensitivity), (enable_edit_actions_sensitivity), (sync_tab_load_status), (sync_tab_zoom), (show_embed_popup), (update_tabs_menu_sensitivity): * src/ppview-toolbar.c: (toolbar_update_sensitivity): Use gtk_action_set_[sensitive|visible] instead of g_object_set.
* A src/ephy-action-helper.c: A src/ephy-action-helper.h: AChristian Persch2005-04-1910-264/+619
| | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-19 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-prefs.h: * src/Makefile.am: A src/ephy-action-helper.c: A src/ephy-action-helper.h: A src/ephy-lockdown.c: A src/ephy-lockdown.h: * src/ephy-shell.c: (ephy_shell_finalize), (ephy_shell_get_lockdown), (ephy_shell_get_extensions_manager): * src/ephy-tab.c: (ephy_tab_set_location): * src/ephy-toolbar.c: (ephy_toolbar_set_window), (ephy_toolbar_set_navigation_actions), (ephy_toolbar_finalize): * src/ephy-window.c: (sync_tab_document_type), (sync_tab_navigation), (sync_tab_load_status), (show_embed_popup), (update_tabs_menu_sensitivity), (ephy_window_set_is_popup), (ephy_window_dispose), (ephy_window_state_event), (ephy_window_class_init), (ephy_window_init), (ephy_window_constructor): * src/popup-commands.c: Move lockdown from EphyWindow into an internal extension.
* Constify the action entries. Fixes bug #301065, patch by Paolo Borelli.Christian Persch2005-04-181-9/+6
| | | | | | | | | 2005-04-18 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (setup_ui_manager): Constify the action entries. Fixes bug #301065, patch by Paolo Borelli.
* Hide the statusbar's resize grip when the window is maximised. Fixes bugChristian Persch2005-04-181-39/+57
| | | | | | | | | | 2005-04-18 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_state_event), (ephy_window_class_init), (ephy_window_init): Hide the statusbar's resize grip when the window is maximised. Fixes bug #301048, patchy by Paolo Borelli.
* Also disallow opening a new tab from EphyLink iface in popup mode.Christian Persch2005-04-181-1/+3
| | | | | | | | 2005-04-18 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_open_link): Also disallow opening a new tab from EphyLink iface in popup mode.
* Rework popup windows. Introduce "is-popup" property on EphyWindow toChristian Persch2005-04-1810-151/+434
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-17 Christian Persch <chpe@cvs.gnome.org> * src/ephy-automation.c: (impl_ephy_automation_loadUrlWithStartupId): * src/ephy-notebook.c: (ephy_notebook_set_dnd_enabled), (ephy_notebook_get_property), (ephy_notebook_set_property), (ephy_notebook_class_init), (move_tab_to_another_notebook), (button_press_cb), (ephy_notebook_init): * src/ephy-notebook.h: * src/ephy-session.c: (ephy_session_get_active_window): * src/ephy-shell.c: (ephy_shell_new_window_cb), (ephy_shell_new_tab_full), (ephy_shell_new_tab): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_class_init), (popups_manager_new_window_info), (ephy_tab_dispose), (ephy_tab_finalize), (let_me_resize_hack), (ephy_tab_set_size), (ephy_tab_init): * src/ephy-tab.h: * src/ephy-window.c: (get_chromes_visibility), (sync_chromes_visibility), (update_chromes_actions), (update_actions_sensitivity), (sync_tab_visibility), (show_embed_popup), (let_me_resize_hack), (tab_size_to_cb), (ephy_window_set_active_tab), (ephy_window_set_chrome), (ephy_window_set_is_popup), (ephy_window_dispose), (ephy_window_set_property), (ephy_window_get_property), (ephy_window_class_init), (ephy_window_init), (ephy_window_constructor), (ephy_window_new_with_chrome), (ephy_window_set_print_preview), (ephy_window_add_tab), (ephy_window_show), (ephy_window_view_popup_windows_cb), (ephy_window_get_is_popup): * src/ephy-window.h: Rework popup windows. Introduce "is-popup" property on EphyWindow to indicate a window who will only have one tab, and can be resized by javascript calls. Fixes bug #136288 and #155395.
* Re-use the strings from control centre domain, to make it consistentChristian Persch2005-04-101-20/+26
| | | | | | | | | 2005-04-09 Christian Persch <chpe@cvs.gnome.org> * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_constructor): Re-use the strings from control centre domain, to make it consistent automatically.
* Implement a more flexible approach at saving a EphyNodeDb, by allowing toChristian Persch2005-04-081-4/+13
| | | | | | | | | | | | | | | | 2005-04-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_finalize): * embed/ephy-history.c: (save_filter), (ephy_history_save): * lib/ephy-node-db.c: (ephy_node_db_write_to_xml_valist): * lib/ephy-node.h: * lib/ephy-state.c: (ephy_states_save): * src/bookmarks/ephy-bookmarks.c: (save_filter), (ephy_bookmarks_save): Implement a more flexible approach at saving a EphyNodeDb, by allowing to specify a filter func to exclude certain nodes, instead of a fixed list.
* Set the tab label to single-line mode. Fixes bug #167657.Christian Persch2005-03-151-0/+1
| | | | | | | | 2005-03-14 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (build_tab_label): Set the tab label to single-line mode. Fixes bug #167657.
* Fix the build.Christian Persch2005-03-151-5/+5
| | | | | | | | 2005-03-14 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (setup_multimedia_key_actions): Fix the build.
* Support "Multimedia" keys. Fixes bug #162748.Christian Persch2005-03-153-1/+90
| | | | | | | | | | | | 2005-03-14 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: * src/ephy-window.c: (ephy_window_key_press_event), (setup_multimedia_key_actions), (setup_ui_manager): * src/window-commands.c: (window_cmd_go_home): * src/window-commands.h: Support "Multimedia" keys. Fixes bug #162748.
* Use connect_object, to guard against "title" signal emitted when theChristian Persch2005-03-151-2/+3
| | | | | | | | | 2005-03-14 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tabs-menu.c: (tab_added_cb): Use connect_object, to guard against "title" signal emitted when the window is dying. Fixes bug #169833.
* Fix signal handler disconnection; bug #170353.Christian Persch2005-03-151-1/+1
| | | | | | | | 2005-03-14 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tabs-menu.c: (tab_removed_cb): Fix signal handler disconnection; bug #170353.
* Don't force those dialogues to be in front.Christian Persch2005-03-131-3/+0
| | | | | | | | | 2005-03-13 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: (window_cmd_file_print_setup), (window_cmd_edit_personal_data), (window_cmd_edit_prefs): Don't force those dialogues to be in front.
* Revert patch from bug #169956, it's not correct.Christian Persch2005-03-122-6/+9
| | | | | | | | | | | | 2005-03-11 Christian Persch <chpe@cvs.gnome.org> * src/ephy-toolbar.c: (ephy_toolbar_activate_location): Revert patch from bug #169956, it's not correct. * src/ephy-window.c: (sync_chromes_visibility): Fix a crash on window close with active toolbar activation.
* Add FIXME comment about gtkmozembed focusChristian Persch2005-03-121-0/+2
|
* Don't activate the location entry if it's hidden. Fixes bug #169956.Christian Persch2005-03-121-7/+4
| | | | | | | | 2005-03-11 Christian Persch <chpe@cvs.gnome.org> * src/ephy-toolbar.c: (ephy_toolbar_activate_location): Don't activate the location entry if it's hidden. Fixes bug #169956.
* Version 1.7.0.Christian Persch2005-03-082-4/+4
| | | | | | | | | | | | | | | | 2005-03-07 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * data/Makefile.am: * data/epiphany-1.6.pc.in: * data/epiphany-1.8.pc.in: * doc/reference/tmpl/ephy-embed.sgml: * embed/Makefile.am: * lib/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Version 1.7.0.
* NULL check. Fixes bug #165999.Christian Persch2005-03-011-0/+57
| | | | | | | | | | | | | 2005-02-28 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: NULL check. Fixes bug #165999. * src/ephy-main.c: (slowly_and_stupidly_obtain_timestamp), (main): Try to get an approximation to the launch time if DESKTOP_STARTUP_ID is not set. Fixes bug #168820, patch by Elijah Newren.
* Remove unused includes.Christian Persch2005-02-281-2/+0
| | | | | | | | 2005-02-27 Christian Persch <chpe@cvs.gnome.org> * src/window-commands.c: Remove unused includes.
* Make sure folder is != NULL. Fixes bug #163341.Christian Persch2005-02-271-3/+3
| | | | | | | | 2005-02-26 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (xbel_parse_folder): Make sure folder is != NULL. Fixes bug #163341.
* Depend on gnome-desktop for gnome-desktop-item, and up the gnome-vfsChristian Persch2005-02-273-86/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-26 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Depend on gnome-desktop for gnome-desktop-item, and up the gnome-vfs dependency version. * embed/ephy-embed-persist.c: (ephy_embed_persist_set_user_time), (ephy_embed_persist_get_user_time), (ephy_embed_persist_set_property), (ephy_embed_persist_get_property), (ephy_embed_persist_init), (ephy_embed_persist_class_init): * embed/ephy-embed-persist.h: Add user time property. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Forward user time to MozDownload via a string. Not perfect, but better than nothing. * embed/mozilla/EphyHeaderSniffer.cpp: Set user time on filechooser. * embed/mozilla/MozDownload.cpp: Get user time from content handler, and use it when launching the external handler app. * lib/ephy-file-helpers.c: (ephy_file_check_mime), (launch_desktop_item), (ephy_file_launch_desktop_file), (ephy_file_launch_application), (ephy_file_launch_handler): * lib/ephy-file-helpers.h: Convenience functions to launch an app, or a desktop item, with user time. * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file), (ephy_gui_window_update_user_time), (ephy_gui_window_present): * lib/ephy-gui.h: Make our own gtk_window_present, to correctly update user time. Check if the path is writable in ephy_gui_confirm_overwrite_file(). * src/ephy-session.c: (ephy_session_autoresume): After showing the recovery dialogue, don't use the old user time to launch the windows; use the current event time instead. * src/popup-commands.c: (background_download_completed), (image_open_uri), (save_source_completed_cb), (popup_cmd_open_image): * src/window-commands.c: (window_cmd_file_save_as), (save_source_completed_cb), (save_temp_source), (window_cmd_view_page_source): Launch handlers with user time.
* Make the signal RUN_LAST.Christian Persch2005-02-243-8/+33
| | | | | | | | | | | | | | | | | | | | | | 2005-02-24 Christian Persch <chpe@cvs.gnome.org> * src/ephy-link.c: (ephy_link_base_init): Make the signal RUN_LAST. * src/ephy-tab.c: (ephy_tab_get_type), (open_link_in_new_tab), (clipboard_text_received_cb): Make EphyTab implement EphyLink interface. * src/ephy-window.c: (modal_alert_cb), (tab_added_cb), (tab_removed_cb), (ephy_window_open_link): Attach to link signal on EphyTab. Don't switch tabs to modal alerts in ppv mode; block the alerts instead. 2005-02-23 Carlos Garnacho Parro <carlos@gnome.org>
* don't activate startup notification with the "previous session hasCarlos Garnacho Parro2005-02-231-0/+2
| | | | | | | 2005-02-23 Carlos Garnacho Parro <carlos@gnome.org> * src/ephy-session.c: don't activate startup notification with the "previous session has crashed" dialog
* Use spacing instead of a separator.Christian Persch2005-02-231-11/+2
| | | | | | | | | | 2005-02-23 Christian Persch <chpe@cvs.gnome.org> * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_update_visibility), (ephy_fullscreen_popup_constructor): Use spacing instead of a separator.
* Load the page after showing the window. That way, if mozilla throws up anChristian Persch2005-02-211-10/+10
| | | | | | | | | 2005-02-21 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: (ephy_shell_new_tab_full): Load the page after showing the window. That way, if mozilla throws up an alert, the window is already there.
* Use event time when grabbing the pointer. Appears to fix bug #167473.Christian Persch2005-02-201-14/+15
| | | | | | | | | 2005-02-20 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (drag_start), (motion_notify_cb), (move_tab_to_another_notebook), (button_release_cb): Use event time when grabbing the pointer. Appears to fix bug #167473.
* Shut upChristian Persch2005-02-191-0/+2
|
* Fix #130990 "Mixing up workspaces of windows when restoring session".Xan Lopez2005-02-181-2/+34
| | | | | | | | | | * src/ephy-session.c: (impl_attach_window), (write_ephy_window), (restore_geometry), (ephy_session_load): Fix #130990 "Mixing up workspaces of windows when restoring session". Commited patch referenced in bug with slight modifications to make it work properly.
* Fix initial active tab.Christian Persch2005-02-131-7/+13
| | | | | | | | | 2005-02-12 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tabs-menu.c: (tab_added_cb), (tab_removed_cb), (sync_active_tab): Fix initial active tab.
* Remove ephy_tab_get_action(). Adapts the tabs menu accordingly.Christian Persch2005-02-114-200/+222
| | | | | | | | | | | | | | | | | | | | 2005-02-10 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_finalize), (ephy_tab_title_cb), (ensure_page_info), (ephy_tab_init), (ephy_tab_set_title), (ephy_tab_get_title), (ephy_tab_get_zoom): * src/ephy-tab.h: * src/ephy-tabs-menu.c: (ephy_tabs_menu_get_type), (tab_action_activate_cb), (sync_tab_title), (tab_added_cb), (tab_removed_cb), (tabs_reordered_cb), (sync_active_tab), (ephy_tabs_menu_set_window), (ephy_tabs_menu_set_property), (ephy_tabs_menu_get_property), (ephy_tabs_menu_class_init), (ephy_tabs_menu_clean), (tab_set_action_accelerator), (ephy_tabs_menu_update): * src/ephy-window.c: (ephy_window_set_active_tab), (ephy_window_get_active_embed): Remove ephy_tab_get_action(). Adapts the tabs menu accordingly.
* Move all the stuff from finalize to dispose, so that we finalise the UIChristian Persch2005-02-101-68/+79
| | | | | | | | | | | 2005-02-10 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_dispose), (ephy_window_class_init), (ephy_window_finalize): Move all the stuff from finalize to dispose, so that we finalise the UI manager when disposing and not only when finalising. Fixes bug #165992.
* Move style notifier to ephy-toolbars-model, and also apply the flags toChristian Persch2005-02-102-63/+70
| | | | | | | | | | | | | | 2005-02-09 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: (ephy_shell_finalize), (ephy_shell_get_toolbars_model): * src/ephy-toolbars-model.c: (update_flags), (update_flags_and_save_changes), (get_toolbar_style), (toolbar_style_notifier), (ephy_toolbars_model_init), (ephy_toolbars_model_finalize): Move style notifier to ephy-toolbars-model, and also apply the flags to newly added toolbars.
* Don't set the lock icon as drag source. Actually emit the lock-clickedChristian Persch2005-02-063-0/+38
| | | | | | | | | | | | | | | | | | | 2005-02-06 Christian Persch <chpe@cvs.gnome.org> * lib/widgets/ephy-location-entry.c: (ephy_location_entry_class_init), (lock_button_press_event_cb), (ephy_location_entry_construct_contents): Don't set the lock icon as drag source. Actually emit the lock-clicked signal when pressed. * lib/widgets/ephy-location-entry.h: * src/ephy-location-action.c: (lock_clicked_cb), (connect_proxy), (ephy_location_action_class_init): * src/ephy-location-action.h: * src/ephy-toolbar.c: (lock_clicked_cb), (ephy_toolbar_set_window): Actually forward the lock-clicked signal to the toolbar.
* Revert the fix for bug #165550, it wasn't correct.Christian Persch2005-02-031-30/+16
| | | | | | | | | 2005-02-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (sync_chromes_visibility), (setup_ui_manager), (ephy_window_set_print_preview): Revert the fix for bug #165550, it wasn't correct.
* Add chrome param to ephy_shell_new_tab_full, and use it inChristian Persch2005-02-033-16/+31
| | | | | | | | | | | | | 2005-02-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-automation.c: (impl_ephy_automation_loadUrlWithStartupId): * src/ephy-shell.c: (ephy_shell_new_window_cb), (ephy_shell_new_tab_full), (ephy_shell_new_tab): * src/ephy-shell.h: Add chrome param to ephy_shell_new_tab_full, and use it in ephy_shell_new_window_cb(). Fixes bug #165566.
* Define variants with startup ID.Christian Persch2005-02-027-51/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-02 Christian Persch <chpe@cvs.gnome.org> * idl/EphyAutomation.idl: Define variants with startup ID. * lib/ephy-gui.c: (ephy_gui_window_update_user_time): * lib/ephy-gui.h: * src/bookmarks/ephy-bookmarks.c: (redirect_cb): * src/ephy-automation.c: (impl_ephy_automation_loadUrlWithStartupId), (impl_ephy_automation_loadurl), (impl_ephy_automation_addBookmark), (impl_ephy_automation_importBookmarks), (impl_ephy_automation_loadSessionWithStartupId), (impl_ephy_automation_loadSession), (impl_ephy_automation_openBookmarksEditorWithStartupId), (impl_ephy_automation_openBookmarksEditor), (ephy_automation_class_init): * src/ephy-main.c: (get_startup_id), (main): * src/ephy-session.c: (offer_to_resume), (ephy_session_autoresume), (ephy_session_load): * src/ephy-session.h: * src/ephy-shell.c: (open_urls), (ephy_shell_startup), (ephy_shell_new_tab_full), (ephy_shell_new_tab): * src/ephy-shell.h: Implement startup ID forwarding to the already-running ephy instance. Part of bug #150085.
* Remove the accel group from the window when hiding the menubar in lockdownChristian Persch2005-02-021-16/+30
| | | | | | | | | | | 2005-02-01 Christian Persch <chpe@cvs.gnome.org> * data/epiphany-lockdown.schemas.in: * src/ephy-window.c: (sync_chromes_visibility), (setup_ui_manager), (ephy_window_set_print_preview): Remove the accel group from the window when hiding the menubar in lockdown mode. From bug #165550.
* Plug a mem leak.Christian Persch2005-02-021-0/+2
| | | | | | | | 2005-02-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: (toolbar_style_notifier): Plug a mem leak.
* Don't assign to ephy_shell global variable, that's already done in itsChristian Persch2005-02-021-1/+2
| | | | | | | | | 2005-02-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Don't assign to ephy_shell global variable, that's already done in its constructor.
* Don't disable print preview if print setup is locked down. Fixes bugChristian Persch2005-02-021-1/+1
| | | | | | | | | 2005-02-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (update_print_actions): Don't disable print preview if print setup is locked down. Fixes bug #165552.
* Don't show the menubar with F10 in lockdown mode. Make sure we alwaysChristian Persch2005-02-021-3/+3
| | | | | | | | | | 2005-02-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_key_press_event): Don't show the menubar with F10 in lockdown mode. Make sure we always chain up to GtkWindow's keypress handler. Fixes bug #165550.
* Don't weak ref the shell when it's finalised already. Fixes bug #165542.Christian Persch2005-02-022-1/+2
| | | | | | | | | | 2005-02-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): * src/ephy-shell.c: (ephy_shell_finalize): Don't weak ref the shell when it's finalised already. Fixes bug #165542.
* Ungrab the pointer when moving tab between notebooks. Fixes bug #165797.Christian Persch2005-02-011-4/+14
| | | | | | | | | | | 2005-02-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: (motion_notify_cb), (move_tab_to_another_notebook), (button_release_cb), (ephy_notebook_finalize): Ungrab the pointer when moving tab between notebooks. Fixes bug #165797.
* Make EphyWindow implement EphyLink interface. Make ephy-link.h public.Christian Persch2005-01-312-25/+39
| | | | | | | | | | | | 2005-01-31 Christian Persch <chpe@cvs.gnome.org> * src/Makefile.am: * src/ephy-window.c: (ephy_window_get_type), (ephy_window_link_iface_init), (ephy_window_open_link), (ephy_window_init), (ephy_window_load_url): Make EphyWindow implement EphyLink interface. Make ephy-link.h public.
* Some sparse fixes.Christian Persch2005-01-315-9/+9
| | | | | | | | | | | | | | 2005-01-30 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_new): * lib/ephy-dialog.c: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_new): * src/ephy-link.c: (ephy_link_open): * src/ephy-statusbar.c: (create_statusbar_security_icon): * src/ephy-window.c: * src/prefs-dialog.c: (get_download_button_label): Some sparse fixes.