aboutsummaryrefslogtreecommitdiffstats
path: root/embed
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix type to make it compile with MOZILLA_SNAPSHOT <= 11 again.Christian Persch2004-01-101-1/+2
| | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: Fix type to make it compile with MOZILLA_SNAPSHOT <= 11 again.
* Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places.Christian Persch2004-01-102-140/+121
| | | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places.
* Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places.Christian Persch2004-01-105-36/+64
| | | | | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/FilePicker.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/MozillaPrivate.cpp: Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places.
* Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places.Christian Persch2004-01-102-20/+30
| | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ExternalProtocolHandlers.cpp: Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places.
* Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places.Christian Persch2004-01-101-171/+146
| | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places.
* Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places.Christian Persch2004-01-102-47/+55
| | | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places.
* Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places instead ofChristian Persch2004-01-101-8/+6
| | | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphySingle.cpp: Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places instead of silent "if (...) return ...;".
* Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places instead ofChristian Persch2004-01-102-9/+14
| | | | | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyAboutRedirector.cpp: * embed/mozilla/EphyAboutRedirector.h: Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places instead of silent "if (...) return ...;". Really kill "about:options".
* Add an accellerator-only action (F7) to toggle caret browsing. Hook upChristian Persch2004-01-092-0/+2
| | | | | | | | | | | | | | | | | 2004-01-09 Christian Persch <chpe@cvs.gnome.org> * data/epiphany.schemas.in: * data/ui/epiphany-ui.xml: * embed/ephy-embed-prefs.h: * embed/mozilla/mozilla-notifiers.cpp: * src/ephy-window.c: (ephy_window_finalize), (browse_with_caret_notifier), (ephy_window_init): * src/pdm-dialog.c: (show_cookies_properties): * src/window-commands.c: (window_cmd_browse_with_caret): * src/window-commands.h: Add an accellerator-only action (F7) to toggle caret browsing. Hook up listener to set the mozilla pref, added the gconf key to the schema.
* Don't save the file if disable_save_to_disk is on.82004-01-081-1/+2
| | | | | | | | | | | | 2004-01-08 <clahey@ximian.com> * embed/mozilla/ContentHandler.cpp (MIMEAskAction): Don't save the file if disable_save_to_disk is on. * lib/ephy-prefs.h (CONF_DISABLE_SAVE_TO_DISK): Added this key here. * src/ephy-window.c (update_actions): Obey disable_save_to_disk. Also, disable toggling view settings if their keys are locked.
* Add a comment for translators.Christian Persch2004-01-061-0/+3
| | | | | | | | 2004-01-06 Christian Persch <chpe@cvs.gnome.orgf> * src/ephy-encodings.c: (ephy_encodings_get_node): Add a comment for translators.
* Behave better when the encoding used on the page is unknown to us.Christian Persch2004-01-062-58/+104
| | | | | | | | | | | | | | | | | | | | | 2004-01-06 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-encodings.c: (add_encoding), (ephy_encodings_get_node), (ephy_encodings_add_recent), (ephy_encodings_get_recent), (ephy_encodings_init): * embed/ephy-encodings.h: * src/ephy-encoding-dialog.c: (sync_embed_cb): * src/ephy-encoding-menu.c: (update_encoding_menu_cb), (add_action), (ephy_encoding_menu_set_window): * src/prefs-dialog.c: (create_node_combo): Behave better when the encoding used on the page is unknown to us. Previously we skipped important steps in menu building, resulting in incorrect encoding indicator. Now, we dynamically add an entry with name "Unknown" to our menu. Also add back some rarely used encodings (us-ascii, UTF-16*, UTF-32*) to our known encodings repertoire.
* Remove debug output leftover.Christian Persch2004-01-061-1/+0
| | | | | | | | 2004-01-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozillaPrivate.cpp: Remove debug output leftover.
* Ensure that if the nsIDOMWindow provided is a frame inside an embed, weChristian Persch2004-01-062-10/+19
| | | | | | | | | | | 2004-01-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/PrintingPromptService.cpp: Ensure that if the nsIDOMWindow provided is a frame inside an embed, we get the top-level window and then get the embed from that. Fixes bug #129028.
* Fix parent for help window.Christian Persch2004-01-051-1/+1
| | | | | | | | 2004-01-04 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (ephy_print_dialog_response_cb): Fix parent for help window.
* Add help buttons to Certificate Viewer, PDM, print and print setupPiers Cornwell2004-01-052-7/+38
| | | | | | | | | | | | | | | | 2004-01-04 Piers Cornwell <piers@myrealbox.com> * data/glade/certificate-dialogs.glade: * data/glade/epiphany.glade: * data/glade/print.glade: * embed/mozilla/GtkNSSDialogs.cpp: * embed/print-dialog.c: (ephy_print_dialog_response_cb), (ephy_print_setup_dialog_help_button_cb): * src/pdm-dialog.c: (pdm_dialog_show_help): * src/prefs-dialog.c: (prefs_dialog_show_help): Add help buttons to Certificate Viewer, PDM, print and print setup dialogues.
* Add API to check if an EphyEmbed has forms with user input in them.Christian Persch2004-01-045-1/+153
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-04 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_has_modified_forms): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Add API to check if an EphyEmbed has forms with user input in them. Currently it required one modified textarea, or two modified text fields. * src/ephy-notebook.c: (ephy_notebook_class_init), (close_button_clicked_cb): * src/ephy-notebook.h: * src/ephy-window.c: (confirm_close_with_modified_forms), (ephy_window_delete_event_cb), (tab_delete_cb), (setup_notebook), (ephy_window_init), (ephy_window_remove_tab): When closing a window or tab, check if there is unsubmitted user input in form fields, and if so, warn the user before closing. Fixes bug #119857.
* Unify interface struct and type macro naming to be EphyFooIFace,Christian Persch2004-01-0216-193/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-01 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-command-manager.c: (ephy_command_manager_get_type), (ephy_command_manager_base_init), (ephy_command_manager_do_command), (ephy_command_manager_can_do_command): * embed/ephy-command-manager.h: * embed/ephy-cookie-manager.c: (ephy_cookie_manager_list_cookies), (ephy_cookie_manager_remove_cookie), (ephy_cookie_manager_clear): * embed/ephy-cookie-manager.h: * embed/ephy-embed-dialog.h: * embed/ephy-embed-shell.c: * embed/ephy-embed-single.c: (ephy_embed_single_get_type), (ephy_embed_single_iface_init), (ephy_embed_single_clear_cache), (ephy_embed_single_clear_auth_cache), (ephy_embed_single_set_offline_mode), (ephy_embed_single_load_proxy_autoconf), (ephy_embed_single_get_font_list): * embed/ephy-embed-single.h: * embed/ephy-embed.c: (ephy_embed_get_type), (ephy_embed_base_init), (ephy_embed_load_url), (ephy_embed_stop_load), (ephy_embed_can_go_back), (ephy_embed_can_go_forward), (ephy_embed_can_go_up), (ephy_embed_get_go_up_list), (ephy_embed_go_back), (ephy_embed_go_forward), (ephy_embed_go_up), (ephy_embed_get_title), (ephy_embed_get_location), (ephy_embed_get_link_message), (ephy_embed_get_js_status), (ephy_embed_reload), (ephy_embed_zoom_set), (ephy_embed_zoom_get), (ephy_embed_shistory_n_items), (ephy_embed_shistory_get_nth), (ephy_embed_shistory_get_pos), (ephy_embed_shistory_go_nth), (ephy_embed_get_security_level), (ephy_embed_find_set_properties), (ephy_embed_find_next), (ephy_embed_activate), (ephy_embed_set_encoding), (ephy_embed_get_encoding_info), (ephy_embed_print), (ephy_embed_print_preview_close), (ephy_embed_print_preview_n_pages), (ephy_embed_print_preview_navigate): * embed/ephy-embed.h: * embed/ephy-password-manager.h: * embed/ephy-permission-manager.h: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * embed/mozilla/mozilla-embed.cpp: Unify interface struct and type macro naming to be EphyFooIFace, EPHY_FOO_IFACE, EPHY_IS_FOO_IFACE, EPHY_FOO_GET_IFACE.
* Remove default font notifier, it's been obsoleted by the fonts rewrite.Christian Persch2004-01-022-13/+11
| | | | | | | | | 2004-01-01 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-prefs.h: * embed/mozilla/mozilla-notifiers.cpp: Remove default font notifier, it's been obsoleted by the fonts rewrite.
* Set socks prefs from gconf too.Christian Persch2004-01-021-0/+2
| | | | | | | | 2004-01-01 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-notifiers.cpp: Set socks prefs from gconf too.
* Fix mem leaks.Christian Persch2004-01-012-4/+6
| | | | | | | | | 2003-12-31 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: * embed/print-dialog.c: (ephy_print_get_print_info): Fix mem leaks.
* Adjust includes to make it compile with mozila 1.4.Christian Persch2003-12-312-1/+2
| | | | | | | | | 2003-12-30 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Adjust includes to make it compile with mozila 1.4.
* Add API to EphyEmbedSingle to clear the HTTP authentication cache.Christian Persch2003-12-313-1/+30
| | | | | | | | | | 2003-12-30 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_clear_auth_cache): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-single.cpp: Add API to EphyEmbedSingle to clear the HTTP authentication cache.
* Unified return type of ephy_embed_shell_get_X to be GObject *. Fixed allChristian Persch2003-12-306-57/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-29 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_get_favicon_cache), (ephy_embed_shell_get_global_history), (ephy_embed_shell_get_downloader_view), (ephy_embed_shell_get_embed_single), (ephy_embed_shell_get_encodings), (ephy_embed_shell_check_mime), (ephy_embed_shell_class_init): * embed/ephy-embed-shell.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/mozilla-notifiers.cpp: * src/bookmarks/ephy-bookmarks.c: (compute_lower_fav), (ephy_setup_history_notifiers): * src/ephy-completion-model.c: (ephy_completion_model_init): * src/ephy-shell.c: (ephy_shell_get_history_window): * src/ephy-tab.c: (ephy_tab_set_icon_address), (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb): * src/ephy-toolbars-model.c: (impl_get_item_id): * src/prefs-dialog.c: (setup_font_combo), (prefs_clear_cache_button_clicked_cb): Unified return type of ephy_embed_shell_get_X to be GObject *. Fixed all callers.
* Bring ephy_window_get_toolbar signature in line withChristian Persch2003-12-251-2/+2
| | | | | | | | | | | | | | | | | | | | 2003-12-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_get_toolbar), (ephy_window_set_zoom): * src/ephy-window.h: * src/window-commands.c: (window_cmd_edit_toolbar), (window_cmd_load_location): Bring ephy_window_get_toolbar signature in line with ephy_window_get_[statusbar|notebook]. 2003-12-24 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: GDK_Meta_L is a keycode, not a modifier code. Map meta to GDK_MOD2_MASK.
* Fix mem leak. (Found by Crispin.)Christian Persch2003-12-221-0/+1
| | | | | | | | 2003-12-22 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-encodings.c: (ephy_encodings_add_recent): Fix mem leak. (Found by Crispin.)
* Correctly cancel the download instead of just cancelling the request.Marco Pesenti Gritti2003-12-222-18/+14
| | | | | | | | | | 2003-12-22 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Correctly cancel the download instead of just cancelling the request.
* Sync with galeon.Christian Persch2003-12-211-6/+6
| | | | | | | | 2003-12-21 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: Sync with galeon.
* Re-implement Pause/Resume in downloader.Xan Lopez2003-12-214-6/+24
| | | | | | | | | | | | | * embed/downloader-view.c: (download_dialog_pause_cb): * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-download.cpp: Re-implement Pause/Resume in downloader. * src/window-commands.c: (window_cmd_help_about): Change mail address.
* Get rid of about:options.Christian Persch2003-12-211-1/+0
| | | | | | | | 2003-12-20 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyAboutRedirector.cpp: Get rid of about:options.
* EphyFileChooser now destroys with parent, don't set the flag again here.Christian Persch2003-12-201-2/+0
| | | | | | | | 2003-12-19 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (ephy_print_dialog_browse_button_cb): EphyFileChooser now destroys with parent, don't set the flag again here.
* In-line the language editor in the prefs dialogue.Christian Persch2003-12-191-19/+43
| | | | | | | | | | | | | | | | | | | | | | | 2003-12-18 Christian Persch <chpe@cvs.gnome.org> * data/glade/prefs-dialog.glade: * embed/mozilla/mozilla-notifiers.cpp: * src/Makefile.am: * src/language-editor.c: * src/language-editor.h: * src/prefs-dialog.c: (prefs_dialog_finalize), (prefs_dialog_class_init), (language_editor_add), (language_editor_update_pref), (language_editor_update_buttons), (add_lang_dialog_response_cb), (setup_add_language_dialog), (language_editor_add_button_clicked_cb), (language_editor_remove_button_clicked_cb), (language_editor_up_button_clicked_cb), (language_editor_down_button_clicked_cb), (language_editor_treeview_drag_end_cb), (language_editor_selection_changed_cb), (create_language_section), (prefs_dialog_init): In-line the language editor in the prefs dialogue.
* Factor out the common encoding is_automatic check.Christian Persch2003-12-182-0/+11
| | | | | | | | | | | 2003-12-18 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-encodings.c: (ephy_encoding_info_is_automatic): * embed/ephy-encodings.h: * src/ephy-encoding-dialog.c: (sync_embed_cb): * src/ephy-encoding-menu.c: (update_encoding_menu_cb): Factor out the common encoding is_automatic check.
* *** empty log message ***Marco Pesenti Gritti2003-12-173-52/+0
|
* Use stock icon for print setup.Christian Persch2003-12-141-1/+2
| | | | | | | | | | | 2003-12-13 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (ephy_print_setup_dialog_new): * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: * src/ephy-window.c: Use stock icon for print setup.
* Fix permission return types.Christian Persch2003-12-134-29/+47
| | | | | | | | | | | | 2003-12-12 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-permission-manager.c: (ephy_permission_info_new), (ephy_permission_info_copy), (ephy_permission_manager_add): * embed/ephy-permission-manager.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/mozilla-embed-single.cpp: Fix permission return types.
* Move events code inside EphyBrowser.cpp and add an event for blockedAdam Hooper2003-12-108-182/+187
| | | | | | | | | | | | | | | | | | | | | | | 2003-12-09 Adam Hooper <adamh@densi.com> * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/Makefile.am: Move events code inside EphyBrowser.cpp and add an event for blocked popup. * embed/ephy-permission-manager.c: Some more docs * src/Makefile.am: * src/ephy-window.c: (ephy_window_get_statusbar): * src/ephy-window.h: Add a way to access the statusbar for plugins
* Lockdown: set some buttons insensitive when their pref key is notChristian Persch2003-12-091-1/+6
| | | | | | | | | | | | | | | | 2003-12-09 Christian Persch <chpe@cvs.gnome.org> * data/glade/prefs-dialog.glade: * embed/print-dialog.c: (ephy_print_dialog_new): * src/prefs-dialog.c: (create_language_menu), (create_download_path_label), (prefs_dialog_init): Lockdown: set some buttons insensitive when their pref key is not writable. * src/prefs-dialog.c: (download_path_response_cb): Convert filename to utf8 first.
* Don't use g_return_if_fail for run-time error conditions.Christian Persch2003-12-081-2/+10
| | | | | | | | 2003-12-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (load_mime_from_xml): Don't use g_return_if_fail for run-time error conditions.
* Split print dialogue in print setup and actual print, and move printChristian Persch2003-12-074-424/+262
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-07 Christian Persch <chpe@cvs.gnome.org> * data/glade/print.glade: * data/ui/epiphany-ui.xml: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/print-dialog.c: (ephy_print_info_free), (ephy_print_get_print_info), (ephy_print_dialog_response_cb), (print_filechooser_response_cb), (ephy_print_dialog_browse_button_cb), (ephy_print_setup_dialog_close_button_cb), (ephy_print_dialog_new), (ephy_print_setup_dialog_new): * embed/print-dialog.h: * src/ephy-nautilus-view.c: (ephy_nautilus_view_new_component), (gnv_cmd_file_print): * src/ephy-nautilus-view.h: * src/ephy-shell.c: (ephy_shell_get_type), (ephy_shell_class_init), (ephy_automation_factory_cb), (ephy_automation_factory_new), (ephy_shell_init), (server_timeout), (ephy_shell_startup), (ephy_shell_finalize), (ephy_shell_new_tab), (ephy_shell_get_session), (ephy_shell_get_bookmarks), (ephy_shell_get_toolbars_model), (ephy_shell_get_bookmarks_editor), (ephy_shell_get_history_window), (ephy_shell_get_print_setup_dialog), (ephy_shell_delete_on_exit): * src/ephy-shell.h: * src/ephy-window.c: (ephy_window_set_print_preview), (ephy_window_print): * src/ephy-window.h: * src/window-commands.c: (window_cmd_file_print_setup), (window_cmd_file_print_preview): * src/window-commands.h: Split print dialogue in print setup and actual print, and move print preview into the menus too. Made print setup a global dialogue, print a per-window dialogue. * lib/ephy-dialog.c: (set_value_from_pref), (set_pref_from_value), (set_value_from_combobox), (set_combo_box_from_value), (set_radiobuttongroup_from_value), (set_pref_from_info_and_emit), (togglebutton_clicked_cb), (radiobutton_clicked_cb), (spinbutton_timeout_cb), (changed_cb), (init_props), (load_info), (save_info), (impl_show), (ephy_dialog_set_size_group), (ephy_dialog_construct), (run_response_cb), (ephy_dialog_run), (ephy_dialog_set_parent), (ephy_dialog_class_init), (ephy_dialog_new_with_parent): * lib/ephy-dialog.h: * src/language-editor.c: (language_editor_class_init): * src/language-editor.h: * src/pdm-dialog.c: (pdm_dialog_init): * src/prefs-dialog.c: (fonts_language_changed_cb), (create_fonts_language_menu), (prefs_dialog_init), (prefs_language_more_button_clicked_cb): Slight api change; port callers.
* Fix a mem leak (ported from galeon).Christian Persch2003-12-061-1/+1
| | | | | | | | 2003-12-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Fix a mem leak (ported from galeon).
* Misc cleanups. Remove a duplicated signal from EphyEmbed.Christian Persch2003-12-064-218/+180
| | | | | | | | | | | | | | | | 2003-12-06 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_get_type), (ephy_embed_shell_finalize), (ephy_embed_shell_get_favicon_cache), (ephy_embed_shell_get_global_history), (ephy_embed_shell_get_downloader_view), (load_mime_from_xml), (ephy_embed_shell_init), (ephy_embed_shell_class_init): * embed/ephy-embed-shell.h: * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * src/ephy-tab.c: (ephy_tab_init): Misc cleanups. Remove a duplicated signal from EphyEmbed.
* Remove unused variable.Christian Persch2003-12-061-1/+0
| | | | | | | | 2003-12-05 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialog.cpp: Remove unused variable.
* Remove unneccessary _() call.Christian Persch2003-12-061-1/+1
| | | | | | | | 2003-12-05 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: Remove unneccessary _() call.
* Add some missing NULL checks.Christian Persch2003-12-051-3/+3
| | | | | | | | 2003-12-04 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Add some missing NULL checks.
* Epiphany is now 100% fat-free.... err... free of deprecated widgets. AddChristian Persch2003-12-041-1/+1
| | | | | | | | | | 2003-12-03 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/Makefile.am: Epiphany is now 100% fat-free.... err... free of deprecated widgets. Add -DGTK_DISABLE_DEPRECATED flag back again when in maintainer mode.
* Port from optionmenu to new GtkComboBox.Christian Persch2003-12-041-2/+89
| | | | | | | | 2003-12-03 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: Port from optionmenu to new GtkComboBox.
* Fix strftime(3) usage.Christian Persch2003-12-041-2/+5
| | | | | | | | | 2003-12-03 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSDialogs.cpp: * src/pdm-dialog.c: (show_cookies_properties): Fix strftime(3) usage.
* Add /system/http_proxy to list of directories to monitor.Christian Persch2003-12-021-0/+5
| | | | | | | | 2003-12-02 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-notifiers.cpp: Add /system/http_proxy to list of directories to monitor.
* Handle case of get_location on an unrealized widgetMarco Pesenti Gritti2003-12-021-0/+2
| | | | | | | | 2003-12-01 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/mozilla-embed.cpp: Handle case of get_location on an unrealized widget
* Readd gtk deprecates (only in maintainer mode).Marco Pesenti Gritti2003-11-301-1/+1
| | | | | | | | | | | | | | | | | | | | | 2003-11-30 Marco Pesenti Gritti <marco@gnome.org> * embed/Makefile.am: * lib/Makefile.am: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Readd gtk deprecates (only in maintainer mode). * src/ephy-location-action.c: (sync_editable): Use not deprecated api. * lib/ephy-dialog.c: (set_value_from_info), (set_info_from_value), (connect_signals), (init_props): Remove optionmenu deprecated control.
* Forgot another oneChristian Persch2003-11-301-1/+1
|
* Forgot even moreChristian Persch2003-11-302-18/+4
|
* Improved API and implementation of EphyDialog. Add support for new comboChristian Persch2003-11-303-96/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-30 Christian Persch <chpe@cvs.gnome.org> * configure.in: * data/glade/epiphany.glade: * data/glade/prefs-dialog.glade: * embed/downloader-view.c: (downloader_view_build_ui): * embed/ephy-embed-dialog.c: (ephy_embed_dialog_new_with_parent): * embed/ephy-encodings.c: (ephy_encodings_get_detectors): * embed/ephy-encodings.h: * embed/find-dialog.c: (update_navigation_controls), (set_properties), (impl_show), (find_dialog_class_init), (find_dialog_init), (find_dialog_new_with_parent): * embed/print-dialog.c: (impl_show), (print_dialog_init), (print_dialog_new_with_parent), (print_get_info): * lib/ephy-dialog.c: (ephy_dialog_get_type), (lookup_info), (set_sensitivity), (set_value_from_pref), (set_pref_from_value), (set_value_from_editable), (set_value_from_optionmenu), (set_value_from_combobox), (get_radio_button_active_index), (set_value_from_radiobuttongroup), (set_value_from_spin_button), (set_value_from_togglebutton), (set_value_from_info), (set_editable_from_value), (get_index_from_value), (set_optionmenu_from_value), (compare_values), (set_combo_box_from_value), (set_radiobuttongroup_from_value), (set_spin_button_from_value), (set_togglebutton_from_value), (set_info_from_value), (set_pref_from_info), (togglebutton_clicked_cb), (radiobutton_clicked_cb), (spinbutton_timeout_cb), (spinbutton_changed_cb), (changed_cb), (set_info_from_pref), (connect_signals), (disconnect_signals), (init_props), (load_info), (save_info), (setup_default_size), (dialog_destroy_cb), (impl_construct), (impl_show), (ephy_dialog_set_modal), (ephy_dialog_add_enum), (ephy_dialog_set_data_column), (ephy_dialog_set_pref), (ephy_dialog_set_size_group), (ephy_dialog_construct), (ephy_dialog_show), (ephy_dialog_run), (ephy_dialog_get_control), (ephy_dialog_get_value), (ephy_dialog_set_value), (free_prop_info), (ephy_dialog_init), (ephy_dialog_dispose), (ephy_dialog_finalize), (ephy_dialog_set_parent), (ephy_dialog_set_property), (ephy_dialog_get_property), (ephy_dialog_class_init), (ephy_dialog_new), (ephy_dialog_new_with_parent): * lib/ephy-dialog.h: * lib/ephy-file-chooser.c: (ephy_file_chooser_new): * src/ephy-encoding-dialog.c: (sync_embed_cb), (sync_parent_window_cb), (activate_choice), (view_node_selected_cb), (view_node_activated_cb), (ephy_encoding_dialog_init), (ephy_encoding_dialog_new): * src/ephy-shell.c: (ephy_shell_finalize), (ephy_shell_get_pdm_dialog), (ephy_shell_get_prefs_dialog): * src/ephy-shell.h: * src/language-editor.c: (language_editor_get_type), (language_editor_class_init), (language_editor_update_pref), (language_editor_add_button_clicked_cb), (language_editor_set_view), (language_editor_init), (language_editor_new), (language_editor_set_model), (language_editor_add): * src/language-editor.h: * src/pdm-dialog.c: (pdm_dialog_show_help), (action_treeview_selection_changed_cb), (setup_action), (cookies_treeview_selection_changed_cb), (pdm_dialog_cookies_construct), (pdm_dialog_passwords_construct), (pdm_dialog_init), (show_cookies_properties): * src/prefs-dialog.c: (prefs_dialog_get_type), (prefs_dialog_class_init), (prefs_dialog_show_help), (setup_font_combo), (fonts_language_combo_changed_cb), (create_fonts_language_menu), (create_node_combo), (language_combo_changed_cb), (create_language_menu), (get_download_button_label), (create_download_path_label), (prefs_dialog_init), (prefs_dialog_response_cb), (set_homepage_entry), (prefs_homepage_current_button_clicked_cb), (prefs_homepage_blank_button_clicked_cb), (language_dialog_changed_cb), (prefs_language_more_button_clicked_cb), (download_path_response_cb), (prefs_download_path_button_clicked_cb): * src/prefs-dialog.h: * src/window-commands.c: (window_cmd_edit_prefs): Improved API and implementation of EphyDialog. Add support for new combo box, and removed optionmenu. Port all dialogues to new API and use combobox instead of optionmenus.
* Show total downloads and time in the tray icon tooltipMarco Pesenti Gritti2003-11-291-1/+40
| | | | | | | | | | 2003-11-28 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: (status_icon_activated), (seconds_remaining_total), (update_status_icon), (download_changed_cb), (downloader_view_add_download): Show total downloads and time in the tray icon tooltip
* Do not blindly overwrite when downloading a file with the same name than aXan Lopez2003-11-284-79/+76
| | | | | | | | | | | * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Do not blindly overwrite when downloading a file with the same name than a local one, append a number after the name. Fixes (more or less) #12775
* Implement disabling unsafe protocols for lock-down mode.Christian Persch2003-11-274-1/+186
| | | | | | | | | | | 2003-11-26 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyContentPolicy.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: Implement disabling unsafe protocols for lock-down mode.
* Mark parameters "const" where appropriate.Christian Persch2003-11-267-10/+10
| | | | | | | | | | | | | | | | | | | | | | | 2003-11-26 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-cookie-manager.c: (ephy_cookie_copy), (ephy_cookie_manager_remove_cookie): * embed/ephy-cookie-manager.h: * embed/ephy-password-manager.c: (ephy_password_info_copy): * embed/ephy-password-manager.h: * embed/ephy-permission-manager.c: (ephy_permission_info_copy): * embed/ephy-permission-manager.h: * embed/mozilla/mozilla-embed-single.cpp: Mark parameters "const" where appropriate. * src/pdm-dialog.c: (pdm_cmd_delete_selection), (compare_cookies), (cookie_to_iter), (cookie_added_cb), (cookie_changed_cb), (cookie_deleted_cb), (cookies_cleared_cb), (pdm_dialog_fill_cookies_list), (pdm_dialog_fill_passwords_list), (pdm_dialog_init): Make the cookies list auto-updating.
* Try out a different layout for downloads rows. Make the file columnMarco Pesenti Gritti2003-11-261-42/+39
| | | | | | | | | | | | 2003-11-26 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: (update_download_row), (download_changed_cb), (downloader_view_add_download), (downloader_view_build_ui): * lib/widgets/ephy-cell-renderer-progress.c: Try out a different layout for downloads rows. Make the file column expand.
* Change signal names to be unique for interfaces on the same object.Christian Persch2003-11-264-46/+47
| | | | | | | | | | | | 2003-11-25 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-cookie-manager.c: (ephy_cookie_manager_base_init): * embed/ephy-cookie-manager.h: * embed/ephy-permission-manager.c: (ephy_permission_manager_base_init): * embed/mozilla/EphySingle.cpp: Change signal names to be unique for interfaces on the same object.
* Fix marshaller type.Christian Persch2003-11-251-1/+1
| | | | | | | | 2003-11-25 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-cookie-manager.c: (ephy_cookie_manager_base_init): Fix marshaller type.
* Make it compile with mozilla < 1.5.Christian Persch2003-11-251-1/+3
| | | | | | | | 2003-11-25 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphySingle.cpp: Make it compile with mozilla < 1.5.
* Use gnome_vfs_format_file_size_for_display to display size, put UnknownXan Lopez2003-11-251-9/+13
| | | | | | | | * embed/downloader-view.c: (download_changed_cb): Use gnome_vfs_format_file_size_for_display to display size, put Unknown when size/remaining time are unknown instead of weird numbers.
* Implemented cookie and permissions observer used to actually sendChristian Persch2003-11-256-77/+402
| | | | | | | | | | | | | | | | | 2003-11-24 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-permission-manager.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphySingle.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-single.cpp: * src/ephy-encoding-dialog.c: (sync_embed_encoding), (automatic_toggled_cb), (ephy_encoding_dialog_init): Implemented cookie and permissions observer used to actually send notifications on EphyCookieManager and EphyPermissionManager signals.
* Re-sync with mozilla.Christian Persch2003-11-252-2/+6
| | | | | | | | | 2003-11-24 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/nsUnicharUtils.cpp: * embed/mozilla/nsUnicharUtils.h: Re-sync with mozilla.
* Get rid of NS_INIT_ISUPPORTS() macros in constructors; it's not beenChristian Persch2003-11-259-32/+7
| | | | | | | | | | | | | | | | | 2003-11-24 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyEventListener.cpp: * embed/mozilla/ExternalProtocolHandlers.cpp: * embed/mozilla/ExternalProtocolHandlers.h: * embed/mozilla/ExternalProtocolService.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-notifiers.cpp: Get rid of NS_INIT_ISUPPORTS() macros in constructors; it's not been needed since mozilla 1.3.
* No need to handle mailto registration separately.Marco Pesenti Gritti2003-11-242-58/+8
| | | | | | | | | 2003-11-24 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/mozilla-embed-single.cpp: No need to handle mailto registration separately.
* Remove.Marco Pesenti Gritti2003-11-248-306/+210
| | | | | | | | | | | | | | | | | | | | | | | | 2003-11-24 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/BaseProtocolContentHandler.cpp: * embed/mozilla/BaseProtocolContentHandler.h: * embed/mozilla/BaseProtocolHandler.cpp: * embed/mozilla/BaseProtocolHandler.h: Remove. * embed/mozilla/ExternalProtocolHandlers.cpp: * embed/mozilla/ExternalProtocolHandlers.h: Merge base implementations here. No need of using 200 files for a work around of mozilla problems ;) * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: Use ftp CID directly from mozilla headers instead of doing a copy of it in ours.
* Do not build our externla protocol service with mozilla 1.6. It has hisMarco Pesenti Gritti2003-11-242-0/+9
| | | | | | | | | | 2003-11-23 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/ExternalProtocolService.cpp: * embed/mozilla/MozRegisterComponents.cpp: Do not build our externla protocol service with mozilla 1.6. It has his own and api is changed.
* Make it compile with mozilla 1.4 and 1.4.1 again.Christian Persch2003-11-231-21/+29
| | | | | | | | 2003-11-23 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Make it compile with mozilla 1.4 and 1.4.1 again.
* Very basic tray icon for downloader.Marco Pesenti Gritti2003-11-232-1/+34
| | | | | | | | | | | | | 2003-11-23 Marco Pesenti Gritti <marco@gnome.org> * embed/Makefile.am: * embed/downloader-view.c: (status_icon_activated), (show_status_icon), (downloader_view_init), (downloader_view_finalize), (download_dialog_delete_cb): * lib/egg/Makefile.am: * lib/egg/update-from-egg.sh: Very basic tray icon for downloader.
* Add a tip on how to clean docs.Marco Pesenti Gritti2003-11-221-0/+14
| | | | | | | | | | | | | | | | | | | | | | | 2003-11-22 Marco Pesenti Gritti <marco@gnome.org> * doc/reference-howto.txt: Add a tip on how to clean docs. * doc/reference/Makefile.am: * doc/reference/epiphany-docs.sgml: * doc/reference/epiphany.types: * doc/reference/tmpl/ephy-cookie-manager.sgml: * doc/reference/tmpl/ephy-embed-factory.sgml: * doc/reference/tmpl/ephy-embed-single.sgml: * doc/reference/tmpl/ephy-password-manager.sgml: * doc/reference/tmpl/ephy-permission-manager.sgml: Add some files chpe documented to the build. * embed/ephy-embed-factory.c: Document
* Add a factory to create embed objects and use it. Deal with dependency ofMarco Pesenti Gritti2003-11-2214-38/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-22 Marco Pesenti Gritti <marco@gnome.org> * doc/reference/Makefile.am: * embed/Makefile.am: * embed/ephy-embed-persist.c: (ephy_embed_persist_save): * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.c: (save_url), (embed_popup_set_image_as_background_cmd): * embed/ephy-embed-shell.c: (ephy_embed_shell_get_embed_single): * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * embed/mozilla/mozilla-embed.cpp: * src/Makefile.am: * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init): * src/ephy-tab.c: (ephy_tab_init): * src/popup-commands.c: (save_property_url), (popup_cmd_set_image_as_background): * src/window-commands.c: (window_cmd_file_save_as), (save_temp_source): Add a factory to create embed objects and use it. Deal with dependency of mozilla-embed and mozilla-embed-persist on mozilla-embed-single internally.
* Fix cookie deletion; use do_GetService instead of do_CreateInstance.Christian Persch2003-11-221-11/+11
| | | | | | | | | 2003-11-22 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Fix cookie deletion; use do_GetService instead of do_CreateInstance.
* Added API documentation.Christian Persch2003-11-221-3/+44
| | | | | | | | | 2003-11-22 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_class_init), (ephy_embed_single_load_proxy_autoconf): Added API documentation.
* New interfaces: EphyCookieManager, EphyPermissionManager,Christian Persch2003-11-2212-382/+1527
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-21 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * embed/ephy-cookie-manager.c: (ephy_cookie_get_type), (ephy_cookie_new), (ephy_cookie_copy), (ephy_cookie_free), (ephy_cookie_manager_get_type), (ephy_cookie_manager_base_init), (ephy_cookie_manager_list_cookies), (ephy_cookie_manager_remove_cookie), (ephy_cookie_manager_clear): * embed/ephy-cookie-manager.h: * embed/ephy-embed-single.c: (ephy_embed_single_get_type), (ephy_embed_single_class_init), (ephy_embed_single_clear_cache), (ephy_embed_single_set_offline_mode), (ephy_embed_single_load_proxy_autoconf), (ephy_embed_single_get_font_list): * embed/ephy-embed-single.h: * embed/ephy-password-manager.c: (ephy_password_info_get_type), (ephy_password_info_new), (ephy_password_info_copy), (ephy_password_info_free), (ephy_password_manager_get_type), (ephy_password_manager_add), (ephy_password_manager_remove), (ephy_password_manager_list): * embed/ephy-password-manager.h: * embed/ephy-permission-manager.c: (ephy_permission_info_get_type), (ephy_permission_info_new), (ephy_permission_info_copy), (ephy_permission_info_free), (ephy_permission_manager_get_type), (ephy_permission_manager_base_init), (ephy_permission_manager_add), (ephy_permission_manager_remove), (ephy_permission_manager_clear), (ephy_permission_manager_test), (ephy_permission_manager_list): * embed/ephy-permission-manager.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * embed/mozilla/mozilla-notifiers.cpp: * src/Makefile.am: * src/pdm-dialog.c: (pdm_dialog_get_type), (pdm_dialog_cookie_add), (pdm_dialog_password_add), (pdm_dialog_cookie_remove), (pdm_dialog_password_remove), (pdm_dialog_cookies_free), (pdm_dialog_passwords_free), (pdm_dialog_init), (pdm_dialog_new), (show_cookies_properties), (pdm_dialog_cookies_properties_button_clicked_cb): * src/pdm-dialog.h: New interfaces: EphyCookieManager, EphyPermissionManager, EphyPasswordManager. Port all callers to new interfaces. Change linking order to make it link. Only set autoconf proxy url if it's non-empty.
* Implement an handle_content signal to allow to write plugins to supportMarco Pesenti Gritti2003-11-215-6/+55
| | | | | | | | | | | | | | 2003-11-20 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_class_init): * embed/ephy-embed-single.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: * lib/ephy-marshal.list: Implement an handle_content signal to allow to write plugins to support external download managers.
* Not necessary to store signal id in an array for interfaces.Marco Pesenti Gritti2003-11-213-61/+11
| | | | | | | | | | 2003-11-20 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-command-manager.c: (ephy_command_manager_base_init): * embed/ephy-embed-persist.c: (ephy_embed_persist_class_init): * embed/ephy-embed.c: (ephy_embed_base_init): Not necessary to store signal id in an array for interfaces.
* If it's not possible to go up fails do not assert, just fail silently.Marco Pesenti Gritti2003-11-211-4/+5
| | | | | | | | | 2003-11-20 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/mozilla-embed.cpp: If it's not possible to go up fails do not assert, just fail silently.
* Reverting accidentally commited local workaroundChristian Persch2003-11-201-1/+1
|
* Complete docs base implementation. Should work more or less.Marco Pesenti Gritti2003-11-2018-49/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-19 Marco Pesenti Gritti <marco@gnome.org> * doc/reference/.cvsignore: * doc/reference/Makefile.am: * doc/reference/epiphany-docs.sgml: * doc/reference/epiphany.types: * doc/reference/tmpl/config.sgml: * doc/reference/tmpl/ephy-session.sgml: * doc/reference/tmpl/ephy-shell.sgml: Complete docs base implementation. Should work more or less. * embed/Makefile.am: * lib/Makefile.am: * src/Makefile.am: Cleanup a bit libs build and use a static lib also for the src/ code so that we can use it for documents. * src/ephy-nautilus-view.c: Bad chpe forgot to modify func signature. 2003-11-19 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.h: * embed/ephy-download.h: * embed/ephy-embed-dialog.h: * embed/ephy-embed-event.h: * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.h: * embed/ephy-embed-shell.h: * embed/ephy-embed-single.h: * embed/ephy-encodings.h: * embed/ephy-favicon-cache.h: * embed/ephy-history.h: * embed/find-dialog.h: * embed/mozilla/EphyBrowser.h: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/mozilla-download.h: * embed/mozilla/mozilla-embed-persist.h: * embed/mozilla/mozilla-embed-single.h: * embed/print-dialog.h: * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbar-editor.h: * lib/egg/egg-toolbars-model.h: * lib/ephy-debug.h: * lib/ephy-dialog.h: * lib/ephy-dnd.h: * lib/ephy-file-chooser.h: * lib/ephy-node-db.h: * lib/ephy-node-filter.h: * lib/ephy-node.h: * lib/ephy-prefs.h: * lib/ephy-state.h: * lib/ephy-string.h: * lib/ephy-zoom.h: * lib/widgets/ephy-arrow-toolbutton.h: * lib/widgets/ephy-cell-renderer-progress.h: * lib/widgets/ephy-ellipsizing-label.h: * lib/widgets/ephy-location-entry.h: * lib/widgets/ephy-node-view.h: * lib/widgets/ephy-search-entry.h: * lib/widgets/ephy-spinner.h: * lib/widgets/ephy-tree-model-node.h: * lib/widgets/ephy-tree-model-sort.h: * lib/widgets/ephy-zoom-action.h: * lib/widgets/ephy-zoom-control.h: * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmark-properties.h: * src/bookmarks/ephy-bookmarks-editor.h: * src/bookmarks/ephy-bookmarks-menu.h: * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-new-bookmark.h: * src/bookmarks/ephy-topic-action.h: * src/bookmarks/ephy-topics-selector.h: * src/ephy-automation.h: * src/ephy-completion-model.h: * src/ephy-encoding-dialog.h:
* Complete docs base implementation. Should work more or less.Marco Pesenti Gritti2003-11-201-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-19 Marco Pesenti Gritti <marco@gnome.org> * doc/reference/.cvsignore: * doc/reference/Makefile.am: * doc/reference/epiphany-docs.sgml: * doc/reference/epiphany.types: * doc/reference/tmpl/config.sgml: * doc/reference/tmpl/ephy-session.sgml: * doc/reference/tmpl/ephy-shell.sgml: Complete docs base implementation. Should work more or less. * embed/Makefile.am: * lib/Makefile.am: * src/Makefile.am: Cleanup a bit libs build and use a static lib also for the src/ code so that we can use it for documents. * src/ephy-nautilus-view.c: Bad chpe forgot to modify func signature.
* Forgot to remove signal IDs from enum when I removed the signals.Christian Persch2003-11-191-2/+0
| | | | | | | | 2003-11-19 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: Forgot to remove signal IDs from enum when I removed the signals.
* Re-use some more signals from GtkMozEmbed; fix getter_Copies usage inChristian Persch2003-11-193-54/+33
| | | | | | | | | | | | | | | | | | 2003-11-19 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init), (ephy_embed_get_location), (ephy_embed_get_link_message), (ephy_embed_get_js_status): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init), (gnv_embed_link_message_cb): * src/ephy-nautilus-view.h: * src/ephy-tab.c: (ephy_tab_set_link_message), (ephy_tab_link_message_cb), (ephy_tab_init): Re-use some more signals from GtkMozEmbed; fix getter_Copies usage in mozilla-embed.cpp. Fixes bug #127335.
* Ported the Crispin's GtkNSSClientAuthDialogs from galeon. Changes: - useChristian Persch2003-11-184-0/+293
| | | | | | | | | | | | | | | | | | 2003-11-17 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * lib/ephy-state.c: (ephy_state_add_paned), (expander_activate_cb), (ephy_state_add_expander): * lib/ephy-state.h: Ported the Crispin's GtkNSSClientAuthDialogs from galeon. Changes: - use GtkExpander instead of the CDDB disclosure thingy - persist state in ephy-state - assing a mnemonic to expander label.
* Pass WebPageDescriptor, not CurrentDescriptor. This way we dont refetchMarco Pesenti Gritti2003-11-171-4/+6
| | | | | | | | | 2003-11-17 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphyBrowser.cpp: Pass WebPageDescriptor, not CurrentDescriptor. This way we dont refetch page on post.
* Resync with galeon.Marco Pesenti Gritti2003-11-173-24/+56
| | | | | | | | | | | | | | 2003-11-17 Marco Pesenti Gritti <marco@gnome.org> * configure.in: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: Resync with galeon. * embed/mozilla/mozilla-embed-single.cpp: Header name change
* *** empty log message ***Marco Pesenti Gritti2003-11-152-12/+11
|
* Put back borked mozilla alert.Marco Pesenti Gritti2003-11-143-33/+34
| | | | | | | | | | | 2003-11-13 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_get_embed_single): * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * src/ephy-shell.h: Put back borked mozilla alert.
* Rework shell services initialization so that it happen either on everyMarco Pesenti Gritti2003-11-141-0/+6
| | | | | | | | | | | | | | | | | | 2003-11-13 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/mozilla-notifiers.cpp: * src/ephy-main.c: (main): * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_startup), (ephy_shell_finalize), (ephy_shell_get_session), (ephy_shell_get_extensions_manager): * src/ephy-window.c: (ensure_default_icon), (ephy_window_init): Rework shell services initialization so that it happen either on every instance, before the automation stuff is used, either when they are requested. This appear to fix the crash with two instances runned simultaneously. (Christian I'm not quite sure this is ok for plugins manager, if there are problems let me know.)
* Silly typos, thanks crispin.Marco Pesenti Gritti2003-11-132-2/+2
| | | | | | | | | 2003-11-12 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: Silly typos, thanks crispin.
* Build xul dialogs using GtkWindow+GtkMozEmbed. Make src code simpler andMarco Pesenti Gritti2003-11-116-69/+54
| | | | | | | | | | | | | | | | | | | 2003-11-11 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_class_init): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-embed.h: * src/ephy-nautilus-view.c: (gnv_embed_new_window_cb): * src/ephy-session.c: (write_ephy_window): * src/ephy-shell.c: (ephy_shell_init): * src/ephy-tab.c: (ephy_tab_size_to_cb): * src/ephy-window.c: (translate_default_chrome): Build xul dialogs using GtkWindow+GtkMozEmbed. Make src code simpler and fix a pair of bugs.
* Deja-vu.Xan Lopez2003-11-111-1/+0
| | | | | | * embed/mozilla/mozilla-embed-persist.cpp: Deja-vu.
* Remove a decl I forgot.Marco Pesenti Gritti2003-11-101-2/+0
| | | | | | | | | | | | | | 2003-11-10 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/mozilla-embed.cpp: Remove a decl I forgot. * lib/egg/egg-editable-toolbar.c: (create_item_from_action), (create_item), (drag_data_received_cb), (item_added_cb), (egg_editable_toolbar_construct): Copy hack from gtk to make tooltips work.
* Do not disable conversion. Some pages was saved as gz compressed.Marco Pesenti Gritti2003-11-101-2/+1
| | | | | | | | | 2003-11-10 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/MozDownload.cpp: Do not disable conversion. Some pages was saved as gz compressed.
* Do not connect and reemit same signal for nothing. Remove unused/expensiveMarco Pesenti Gritti2003-11-103-107/+8
| | | | | | | | | | | | | | | | 2003-11-09 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-tab.c: (ephy_tab_init): Do not connect and reemit same signal for nothing. Remove unused/expensive progress signal. * src/session.c: (session_save): Unlink session file when all windows are removed.
* Cleanup session. Persist also history and bookmarks.Marco Pesenti Gritti2003-11-101-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-09 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.h: * idl/EphyAutomation.idl: * src/ephy-automation.c: (impl_ephy_automation_loadurl), (impl_ephy_automation_open_bookmarks_editor), (ephy_automation_init), (ephy_automation_object_finalize), (ephy_automation_class_init): * src/ephy-completion-model.c: (root_child_removed_cb): * src/ephy-main.c: (ephy_main_start): * src/ephy-shell.c: (ephy_shell_get_active_window), (toolwindow_show_cb), (toolwindow_hide_cb), (ephy_shell_get_bookmarks_editor), (ephy_shell_get_history_window): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_net_state_cb), (ephy_tab_size_to_cb): * src/ephy-window.c: (remove_from_session), (ephy_window_init): * src/session.c: (session_autoresume), (session_close), (session_dispose), (save_window_geometry), (save_tool_window), (save_ephy_window), (session_save), (session_load), (session_get_windows), (net_stop_cb), (tab_added_cb), (tab_removed_cb), (tabs_reordered_cb), (session_add_window), (session_remove_window), (save_yourself_cb), (session_die_cb), (gnome_session_init), (session_init): * src/session.h: * src/window-commands.c: (window_cmd_go_bookmarks), (window_cmd_go_history): Cleanup session. Persist also history and bookmarks.
* Do not save All nodeMarco Pesenti Gritti2003-11-091-1/+2
| | | | | | | | 2003-11-09 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-history.c: (ephy_history_save): Do not save All node
* Remove decls from the topMarco Pesenti Gritti2003-11-093-266/+163
| | | | | | | | | | 2003-11-08 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: Remove decls from the top
* Port node db saving and RDF export to xml writer api.Christian Persch2003-11-082-75/+22
| | | | | | | | | | | | | | | | | | | | | | 2003-11-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get_type), (ephy_favicon_cache_finalize): * embed/ephy-history.c: (ephy_history_save): * lib/ephy-file-helpers.c: (ephy_file_switch_temp_file): * lib/ephy-file-helpers.h: * lib/ephy-node-db.c: (ephy_node_db_load_from_file), (ephy_node_db_write_to_xml_valist), (ephy_node_db_write_to_xml_safe): * lib/ephy-node-db.h: * lib/ephy-node.c: (write_parent), (ephy_node_write_to_xml): * lib/ephy-node.h: * lib/ephy-state.c: (ephy_states_save), (ensure_states): * src/bookmarks/ephy-bookmarks-export.c: (write_topics_list), (ephy_bookmarks_export_rdf): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_save): Port node db saving and RDF export to xml writer api.
* Use kB, MB and GB for the total size of the files being downloaded. FixesXan Lopez2003-11-072-6/+14
| | | | | | | | | | | * embed/downloader-view.c: (download_changed_cb): Use kB, MB and GB for the total size of the files being downloaded. Fixes #126387 * embed/mozilla/ContentHandler.cpp: Small cleanup.
* Small cleanupsMarco Pesenti Gritti2003-11-072-9/+0
| | | | | | | | | 2003-11-06 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Small cleanups
* Change some more i18n inclusion and remove several unused includes.Marco Pesenti Gritti2003-11-068-13/+7
| | | | | | | | | | | | | | | | | | 2003-11-06 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: * embed/ephy-embed-popup-control.c: * embed/mozilla/ExternalProtocolService.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * lib/ephy-file-helpers.c: * lib/widgets/ephy-search-entry.c: Change some more i18n inclusion and remove several unused includes.
* Correct download dir default.Marco Pesenti Gritti2003-11-063-9/+108
| | | | | | | | | | | | | | | | | | | 2003-11-06 Marco Pesenti Gritti <marco@gnome.org> * data/epiphany.schemas.in: Correct download dir default. * embed/ephy-embed-shell.h: * embed/ephy-embed-shell.c: (ephy_embed_shell_init), (ephy_embed_shell_finalize), (ephy_embed_shell_get_encodings), (load_mime_from_xml), (ephy_embed_shell_check_mime): Add check_mime api for permissions. * embed/mozilla/ContentHandler.cpp: First incomplete try at using it.
* Use new glib gi18n.h instead of bonobo's bonobo-i18n.h.Christian Persch2003-11-067-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-05 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: * embed/ephy-embed-popup-control.c: * embed/ephy-encodings.c: * embed/ephy-history.c: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/FilePicker.cpp: * lib/eel-gconf-extensions.c: * lib/egg/egg-editable-toolbar.c: * lib/ephy-file-helpers.c: * lib/ephy-gui.c: * lib/ephy-langs.c: * lib/ephy-node.c: * lib/ephy-zoom.h: * lib/widgets/ephy-cell-renderer-progress.c: * lib/widgets/ephy-zoom-action.c: * lib/widgets/ephy-zoom-control.c: * src/bookmarks/ephy-bookmark-action.c: * src/bookmarks/ephy-bookmark-properties.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-bookmarks-import.c: * src/bookmarks/ephy-bookmarks-menu.c: * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-topic-action.c: * src/ephy-encoding-dialog.c: * src/ephy-encoding-menu.c: * src/ephy-go-action.c: * src/ephy-history-window.c: * src/ephy-notebook.c: * src/ephy-shell.c: * src/ephy-tab.c: * src/ephy-toolbars-model.c: * src/ephy-window.c: * src/pdm-dialog.c: * src/popup-commands.c: * src/ppview-toolbar.c: * src/prefs-dialog.c: * src/session.c: * src/toolbar.c: * src/window-commands.c: Use new glib gi18n.h instead of bonobo's bonobo-i18n.h.
* Only allow choosing "Selection" if there really is one.Christian Persch2003-11-051-37/+71
| | | | | | | | | | | | | | | | 2003-11-05 Christian Persch <chpe@cvs.gnome.org> * data/glade/print.glade: * embed/print-dialog.c: (impl_show), (print_dialog_class_init), (print_dialog_new), (print_dialog_new_with_parent), (print_dialog_print), (print_dialog_preview), (print_cancel_button_cb), (print_preview_button_cb): Only allow choosing "Selection" if there really is one. * lib/ephy-dialog.c: (impl_run): Use ephy_dialog_show() when running an EphyDialog.
* Renamed to get_command_state to can_do_command.Christian Persch2003-11-053-10/+12
| | | | | | | | | | | | 2003-11-05 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-command-manager.c: (ephy_command_manager_can_do_command): * embed/ephy-command-manager.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-window.c: (edit_menu_show_cb): Renamed to get_command_state to can_do_command.
* Migrate font family tooMarco Pesenti Gritti2003-11-052-1/+30
| | | | | | | | | 2003-11-05 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed-prefs.h: * embed/mozilla/mozilla-notifiers.cpp: Migrate font family too
* Get rid of gresult type. Use return values instead of out-parametersChristian Persch2003-11-0519-1244/+851
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-05 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * embed/ephy-command-manager.c: (ephy_command_manager_do_command), (ephy_command_manager_get_command_state): * embed/ephy-command-manager.h: * embed/ephy-embed-event.c: (ephy_embed_event_get_type), (ephy_embed_event_class_init), (ephy_embed_event_init), (ephy_embed_event_finalize), (ephy_embed_event_new), (ephy_embed_event_get_event_type), (ephy_embed_event_get_coords), (ephy_embed_event_get_context), (ephy_embed_event_set_property): * embed/ephy-embed-event.h: * embed/ephy-embed-persist.c: (ephy_embed_persist_cancel): * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.c: (ephy_embed_popup_control_set_event), (embed_popup_copy_location_cmd), (embed_popup_save_page_as_cmd), (embed_popup_open_frame_cmd): * embed/ephy-embed-single.c: (ephy_embed_single_get_type), (ephy_embed_single_class_init), (ephy_embed_single_clear_cache), (ephy_embed_single_set_offline_mode), (ephy_embed_single_load_proxy_autoconf), (ephy_embed_single_get_font_list), (ephy_embed_single_list_cookies), (ephy_embed_single_remove_cookies), (ephy_embed_single_list_passwords), (ephy_embed_single_remove_passwords), (ephy_embed_single_free_cookies), (ephy_embed_single_free_passwords): * embed/ephy-embed-single.h: * embed/ephy-embed-types.h: * embed/ephy-embed.c: (ephy_embed_get_type), (ephy_embed_base_init), (ephy_embed_new), (ephy_embed_load_url), (ephy_embed_stop_load), (ephy_embed_can_go_back), (ephy_embed_can_go_forward), (ephy_embed_can_go_up), (ephy_embed_get_go_up_list), (ephy_embed_go_back), (ephy_embed_go_forward), (ephy_embed_go_up), (ephy_embed_get_title), (ephy_embed_get_location), (ephy_embed_reload), (ephy_embed_zoom_set), (ephy_embed_zoom_get), (ephy_embed_shistory_n_items), (ephy_embed_shistory_get_nth), (ephy_embed_shistory_get_pos), (ephy_embed_shistory_go_nth), (ephy_embed_get_security_level), (ephy_embed_find_set_properties), (ephy_embed_find_next), (ephy_embed_activate), (ephy_embed_set_encoding), (ephy_embed_get_encoding_info), (ephy_embed_print), (ephy_embed_print_preview_close), (ephy_embed_print_preview_n_pages), (ephy_embed_print_preview_navigate): * embed/ephy-embed.h: * embed/ephy-history.c: * embed/find-dialog.c: (find_dialog_go_next), (find_dialog_go_prev): * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-embed.h: * lib/Makefile.am: * lib/ephy-state.c: * lib/ephy-types.h: * src/ephy-encoding-dialog.c: (sync_embed_cb), (activate_choice): * src/ephy-encoding-menu.c: (update_encoding_menu_cb), (encoding_activate_cb): * src/ephy-favicon-action.c: (each_url_get_data_binder): * src/ephy-nautilus-view.c: (gnv_embed_dom_mouse_click_cb), (gnv_embed_context_menu_cb), (gnv_embed_title_cb), (gnv_popup_cmd_frame_in_new_window), (gnv_zoomable_zoom_in_cb), (gnv_zoomable_zoom_out_cb): * src/ephy-navigation-action.c: (activate_up_menu_item_cb), (setup_back_or_forward_menu), (setup_up_menu): * src/ephy-tab.c: (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb), (ephy_tab_title_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_update_navigation_flags), (ephy_tab_set_title): * src/ephy-window.c: (edit_menu_show_cb), (sync_tab_security), (show_embed_popup), (ephy_window_set_zoom): * src/pdm-dialog.c: (pdm_dialog_init): * src/popup-commands.c: (popup_cmd_frame_in_new_tab), (popup_cmd_frame_in_new_window), (popup_cmd_open_frame): * src/ppview-toolbar.c: (toolbar_update_sensitivity), (toolbar_cmd_ppv_goto_last), (clamp_page_limits): * src/prefs-dialog.c: (setup_font_menu), (prefs_homepage_current_button_clicked_cb): * src/session.c: (save_tab): * src/window-commands.c: (window_cmd_file_send_to), (window_cmd_file_bookmark_page), (window_cmd_view_page_source): Get rid of gresult type. Use return values instead of out-parameters whereever possible, and port all callers.
* Better names for new font size keysMarco Pesenti Gritti2003-11-051-3/+3
| | | | | | | | 2003-11-04 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed-prefs.h: Better names for new font size keys
* Resync with eel.Marco Pesenti Gritti2003-11-052-9/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-04 Marco Pesenti Gritti <marco@gnome.org> * lib/eel-gconf-extensions.c: (global_client_free), (eel_gconf_client_get_global), (eel_gconf_handle_error), (eel_gconf_set_string), (eel_gconf_is_default), (eel_gconf_key_is_writable), (eel_gconf_monitor_add), (eel_gconf_monitor_remove), (eel_gconf_preload_cache), (eel_gconf_get_default_value), (eel_strcmp), (eel_str_is_equal), (simple_value_is_equal), (eel_gconf_value_is_equal), (eel_gconf_value_get_string_list), (eel_gconf_value_set_string_list), (eel_gconf_set_float), (eel_gconf_get_float): * lib/eel-gconf-extensions.h: Resync with eel. * lib/ephy-prefs.h: * lib/widgets/ephy-spinner.c: * embed/ephy-embed-prefs.h: * embed/mozilla/mozilla-notifiers.cpp: Migrate old font size settings. This will screw things for 1.1 users, not much we can do about it now.
* Remove unused ephy-prefs includesMarco Pesenti Gritti2003-11-053-3/+0
| | | | | | | | | | | | | | 2003-11-04 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: * embed/mozilla/ExternalProtocolService.cpp: * embed/mozilla/mozilla-embed-single.cpp: * lib/widgets/ephy-spinner.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/language-editor.c: * src/session.c: Remove unused ephy-prefs includes
* Rework ContentHandler to use the auto_open_downloads key.Xan Lopez2003-11-052-350/+37
| | | | | | | | | * data/epiphany.schemas.in: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * lib/ephy-prefs.h: Rework ContentHandler to use the auto_open_downloads key.
* Show only paste in the context menu, it's the only one that works inMarco Pesenti Gritti2003-11-045-33/+34
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-04 Marco Pesenti Gritti <marco@gnome.org> * data/ui/epiphany-ui.xml: Show only paste in the context menu, it's the only one that works in mozilla. * embed/ephy-command-manager.c: (ephy_command_manager_get_command_state): * embed/ephy-command-manager.h: Rename the state api. * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Implement state api. * src/ephy-window.c: (window_cmd_edit), (show_embed_popup): Update clipboard menus on activate.
* Remove unused types.Christian Persch2003-11-041-13/+13
| | | | | | | | | | | | | | | | | | | 2003-11-03 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-marshal.list: Remove unused types. * embed/ephy-embed.c: (ephy_embed_base_init): * lib/widgets/ephy-arrow-toolbutton.c: (ephy_arrow_toolbutton_class_init): * src/ephy-notebook.c: (ephy_notebook_class_init): Use g_cclosure_marshal_* instead of our own ephy_marshal_* where there is a one. For signals returning a boolean, use the g_signal_accumulator_true_handled accumulator.
* Remove the "show_details in downloader" schema.Xan Lopez2003-11-033-56/+36
| | | | | | | | | | | | | | | * data/epiphany.schemas.in: Remove the "show_details in downloader" schema. * embed/ephy-embed-popup-control.c: (save_url): * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * lib/ephy-prefs.h: * src/popup-commands.c: (save_property_url): Implement the new downloading mechanism in CH, also rename CONF_STATE_DOWNLOADING_DIR to CONF_STATE_DOWNLOAD_DIR.
* Adjust return value so that mozilla doesn't erreonously put up a failureChristian Persch2003-11-031-1/+1
| | | | | | | | | 2003-11-02 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/PrintingPromptService.cpp: (ShowPrintDialog): Adjust return value so that mozilla doesn't erreonously put up a failure dialogue.
* Don't unref the print dialogue twice when shown from mozilla.Christian Persch2003-11-032-9/+41
| | | | | | | | | | | | 2003-11-02 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/PrintingPromptService.cpp: * embed/print-dialog.c: (print_dialog_new), (print_dialog_new_with_parent), (print_dialog_print), (print_cancel_button_cb), (print_preview_button_cb): Don't unref the print dialogue twice when shown from mozilla.
* Unset silent mode after printing, should fix bug #125984.Christian Persch2003-11-021-0/+3
| | | | | | | | 2003-11-02 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: (impl_print): Unset silent mode after printing, should fix bug #125984.
* Only save history db if there have been changes. Fixes bug #125973.Christian Persch2003-11-011-1/+48
| | | | | | | | | | 2003-11-01 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_save), (hosts_added_cb), (hosts_removed_cb), (hosts_changed_cb), (pages_added_cb), (pages_removed_cb), (pages_changed_cb), (ephy_history_init): Only save history db if there have been changes. Fixes bug #125973.
* Don't set the persist key on object construction time. Fixes bug #125589.Christian Persch2003-11-011-3/+9
| | | | | | | | | | | | | | | 2003-11-01 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/FilePicker.cpp: * lib/ephy-file-chooser.c: (current_folder_changed_cb), (ephy_file_chooser_init), (ephy_file_chooser_set_persist_key), (ephy_file_chooser_get_persist_key), (ephy_file_chooser_get_property), (ephy_file_chooser_class_init), (ephy_file_chooser_new): * lib/ephy-file-chooser.h: Don't set the persist key on object construction time. Fixes bug #125589.
* Correctly set the embed for the print dialogue.Christian Persch2003-10-313-4/+20
| | | | | | | | | | 2003-10-31 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/MozillaPrivate.h: * embed/mozilla/PrintingPromptService.cpp: Correctly set the embed for the print dialogue.
* Use gnomevfs helper to open applications, drop our own.Marco Pesenti Gritti2003-10-311-5/+6
| | | | | | | | | | 2003-10-31 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/ContentHandler.cpp: * lib/ephy-file-helpers.c: * lib/ephy-file-helpers.h: Use gnomevfs helper to open applications, drop our own.
* Yet another mozilla API change.Christian Persch2003-10-311-1/+6
| | | | | | | | | 2003-10-30 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: (getUILang): * configure.in: Yet another mozilla API change.
* Do not require a parent windowMarco Pesenti Gritti2003-10-311-4/+5
| | | | | | | | 2003-10-30 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/FilePicker.cpp: Do not require a parent window
* Add public function to get a host node from a page url.Christian Persch2003-10-302-5/+18
| | | | | | | | | | | | | | | | 2003-10-29 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_add_host), (ephy_history_get_host): * embed/ephy-history.h: Add public function to get a host node from a page url. * src/ephy-tab.c: (address_has_web_scheme), (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb), (open_link_in_new_tab), (ephy_tab_init): Persist zoom settings per host.
* We cant cache mDOMDocument, it changes for every document loaded. RemoveMarco Pesenti Gritti2003-10-293-16/+5
| | | | | | | | | | | | 2003-10-29 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EventContext.cpp: We cant cache mDOMDocument, it changes for every document loaded. Remove some unused methods from definition.
* Make some vars private, remove an unused one.Marco Pesenti Gritti2003-10-293-8/+9
| | | | | | | | | | | | | | 2003-10-29 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: Make some vars private, remove an unused one. * embed/mozilla/EventContext.cpp: Use the content dom document to determine is_framed_page.
* Implement smart selection in the downloader view.Xan Lopez2003-10-293-12/+80
| | | | | | | | | | | | | | | | | * embed/downloader-view.c: (downloader_view_remove_download): Implement smart selection in the downloader view. * data/epiphany.schemas.in: * embed/ephy-embed-popup-control.c: (embed_popup_download_link_cmd): * embed/mozilla/EphyHeaderSniffer.cpp: * lib/ephy-prefs.h: * src/popup-commands.c: (popup_cmd_download_link): Make persist downloads store the files in the download dir automatically without asking the user (key only accessible via gconf atm). CH downloads still need fixing.
* Add sanity check.Christian Persch2003-10-281-2/+5
| | | | | | | | | 2003-10-28 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: (MimeAskActionDialog::MimeAskActionDialog): Add sanity check.
* Open source in the default editor and remove the unused copy api. Add aMarco Pesenti Gritti2003-10-2812-89/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-28 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed-persist.h: * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-shell.c: (delete_files), (ephy_shell_finalize), (ephy_shell_new_tab), (ephy_shell_delete_on_exit): * src/ephy-shell.h: * src/window-commands.c: (get_editor_application), (editor_open_uri), (save_source_completed_cb), (editor_can_open_uri), (save_temp_source), (window_cmd_view_page_source): Open source in the default editor and remove the unused copy api. Add a missing include while at it.
* Fix page cloning, I was query descriptors interface on webBrowser insteadMarco Pesenti Gritti2003-10-281-8/+8
| | | | | | | | | 2003-10-27 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphyBrowser.cpp: Fix page cloning, I was query descriptors interface on webBrowser instead of docshell.
* We need to force the encoding to be able to unset it.Marco Pesenti Gritti2003-10-281-9/+12
| | | | | | | | | 2003-10-27 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphyBrowser.cpp: We need to force the encoding to be able to unset it.
* Implement filechooser for ASK_DESTINATION.Christian Persch2003-10-282-16/+79
| | | | | | | | | 2003-10-27 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: Implement filechooser for ASK_DESTINATION.
* Solving the wrapper mess THE ENDMarco Pesenti Gritti2003-10-283-53/+15
| | | | | | | | | | | | | | 2003-10-27 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Solving the wrapper mess THE END An about:blank document is created syncronously on _init, which means there are no more race conditions ! Mozilla api is CRACK.
* Solving the wrapper mess Episode 3. Rename to EphyBrowser and add sanityMarco Pesenti Gritti2003-10-288-114/+144
| | | | | | | | | | | | | | | | | | | | | | | | 2003-10-27 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-embed.h: Solving the wrapper mess Episode 3. Rename to EphyBrowser and add sanity checks. GtkMozEmbed initialize the browser on realize, that means until that we shouldnt use most of the EphyBrowser methods. I'm quite sure there are not such cases in current implementation, otherwise we would have had problems also before. Though better avoid problems in the future.
* *** empty log message ***Marco Pesenti Gritti2003-10-283-133/+97
|
* Solving the wrapper mess Episode 1.Marco Pesenti Gritti2003-10-277-278/+58
| | | | | | | | | | | | | | | | | | 2003-10-27 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: Solving the wrapper mess Episode 1. Cleanup EphyWrapper to use higher level apis. Do not set docshell history explicitly, it seem to pickup the registered one nicely.
* Port to new gtk+ file chooser.Christian Persch2003-10-2619-1249/+738
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-26 Christian Persch <chpe@cvs.gnome.org> Port to new gtk+ file chooser. * data/epiphany.schemas.in: * lib/ephy-prefs.h: Add key for remembering upload path. * embed /Makefile.am: * embed/downloader-view.c: * embed/ephy-embed-persist.c: (ephy_embed_persist_get_type), (ephy_embed_persist_set_dest), (ephy_embed_persist_set_embed), (ephy_embed_persist_set_fc_title), (ephy_embed_persist_set_fc_parent), (ephy_embed_persist_set_flags), (ephy_embed_persist_set_max_size), (ephy_embed_persist_set_persist_key), (ephy_embed_persist_set_source), (ephy_embed_persist_get_dest), (ephy_embed_persist_get_embed), (ephy_embed_persist_get_fc_title), (ephy_embed_persist_get_fc_parent), (ephy_embed_persist_get_flags), (ephy_embed_persist_get_max_size), (ephy_embed_persist_get_persist_key), (ephy_embed_persist_get_source), (ephy_embed_persist_set_property), (ephy_embed_persist_get_property), (ephy_embed_persist_init), (ephy_embed_persist_finalize), (ephy_embed_persist_class_init), (ephy_embed_persist_cancel), (ephy_embed_persist_save), (ephy_embed_persist_new): * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.c: (save_url), (save_property_url), (background_download_completed), (embed_popup_set_image_as_background_cmd), (embed_popup_copy_image_location_cmd): * src/popup-commands.c: (save_property_url), (background_download_completed), (popup_cmd_set_image_as_background): * src/window-commands.c: (open_response_cb), (window_cmd_file_open), (window_cmd_file_save_as): * src/window-commands.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get_type), (ephy_favicon_cache_new), (icon_is_obsolete), (icons_added_cb), (remove_obsolete_icons), (ephy_favicon_cache_init), (favicon_download_completed_cb), (ephy_favicon_cache_download), (ephy_favicon_cache_get): * embed/mozilla/MozDownload.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * src/popup-commands.c: (save_property_url), (background_download_completed), (popup_cmd_set_image_as_background): * src/window-commands.c: (open_response_cb), (window_cmd_file_open), (window_cmd_file_save_as): * src/window-commands.h: Simplify EphyEmbedPersist implementation. Augment it with properties for showing a file chooser to select persist destination. Port all callers to new interfaces. * embed/ephy-embed-single.c: (ephy_embed_single_remove_passwords): * embed/ephy-embed-single.h: * embed/ephy-embed-utils.c: * embed/ephy-embed-utils.h: Obsolete and removed. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Misc cleanups. * embed/mozilla/FilePicker.cpp: * embed/mozilla/FilePicker.h: Port to new file chooser class. * embed/mozilla/Makefile.am: * lib/Makefile.am: * lib/ephy-file-chooser.c: (ephy_file_chooser_get_type), (current_folder_changed_cb), (ephy_file_chooser_init), (ephy_file_chooser_finalize), (ephy_file_chooser_set_persist_key), (ephy_file_chooser_set_property), (ephy_file_chooser_get_property), (ephy_file_chooser_class_init), (ephy_file_chooser_new): * lib/ephy-file-chooser.h: * src/bookmarks/ephy-bookmarks-editor.c: (import_from_file_response_cb), (import_dialog_response_cb): New file chooser wrapper class; ported file chooser callers to it.
* Interface for commands. Useful for undo. (cmd_undo works).Marco Pesenti Gritti2003-10-259-253/+242
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-25 Marco Pesenti Gritti <marco@gnome.org> * embed/Makefile.am: * embed/ephy-command-manager.c: (ephy_command_manager_get_type), (ephy_command_manager_base_init), (ephy_command_manager_do_command), (ephy_command_manager_can_do_command), (ephy_command_manager_observe_command): * embed/ephy-command-manager.h: Interface for commands. Useful for undo. (cmd_undo works). * embed/ephy-embed.c: * embed/ephy-embed.h: Remove all clipboard calls. * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed.cpp: Implement part of the commands interface. No regressions. * src/window-commands.c: (window_cmd_edit_cut), (window_cmd_edit_copy), (window_cmd_edit_paste), (window_cmd_edit_select_all): Implement clipboard using commands.
* Remove a debug print, don't do anything on wm delete event.Xan Lopez2003-10-251-3/+1
| | | | | | | | * embed/downloader-view.c: (downloader_view_build_ui), (download_dialog_delete_cb): Remove a debug print, don't do anything on wm delete event.
* Resync with galeon.Marco Pesenti Gritti2003-10-256-76/+1774
| | | | | | | | | | | | 2003-10-25 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSDialogs.h: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.h: * embed/mozilla/Makefile.am: Resync with galeon.
* Remove open button, autclose when there are no downloads left.Xan Lopez2003-10-251-40/+15
| | | | | | | | | | | * data/glade/epiphany.glade: * embed/downloader-view.c: (downloader_view_init), (downloader_view_finalize), (get_row_from_download), (download_changed_cb), (downloader_view_add_download), (downloader_view_build_ui), (downloader_view_remove_download), (download_dialog_delete_cb): Remove open button, autclose when there are no downloads left.
* Use translatable title for untitled pages.Christian Persch2003-10-241-2/+8
| | | | | | | | 2003-10-25 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyHeaderSniffer.cpp: Use translatable title for untitled pages.
* Add an helper to initialize downloads.Marco Pesenti Gritti2003-10-246-119/+207
| | | | | | | | | | | | | | | | | | | | | | | | 2003-10-24 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Add an helper to initialize downloads. * embed/ephy-embed-persist.h: Add a flag to ask destination. * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: Use the helper. Add code to determine a good filename. * embed/mozilla/mozilla-embed-persist.cpp: Use a MozDownload directly if there is a dest set, it doesnt make sense to use sniffer for favicons.
* Every time you change API God kills a kitten. Think of the kitten!! (ThatXan Lopez2003-10-234-18/+60
| | | | | | | | | | * embed/mozilla/EphyEventListener.cpp: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/EventContext.cpp: Every time you change API God kills a kitten. Think of the kitten!! (That means you, Mozilla :)
* Encoding menu improvements, Episode V: MPT strikes back.Christian Persch2003-10-212-69/+1
| | | | | | | | | | | | | | | | | | | 2003-10-20 Christian Persch <chpe@cvs.gnome.org> Encoding menu improvements, Episode V: MPT strikes back. * data/glade/epiphany.glade: * embed/ephy-encodings.c: (ephy_encodings_finalize), (ephy_encodings_init): * embed/ephy-encodings.h: * src/ephy-encoding-dialog.c: (encoding_is_automatic), (sync_embed_cb), (activate_choice), (ephy_encoding_dialog_response_cb), (view_node_selected_cb), (view_node_activated_cb), (ephy_encoding_dialog_init): Replace the 2-pane view with a single list, and restore the automatic and manual radio buttons.
* unref the model once it's set in the viewMarco Pesenti Gritti2003-10-201-0/+1
| | | | | | | | | 2003-10-19 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: (downloader_view_build_ui): * src/language-editor.c: (language_editor_set_view): unref the model once it's set in the view
* We cant remove while iterating childrens, build a list and remove later.Marco Pesenti Gritti2003-10-191-8/+14
| | | | | | | | | | 2003-10-19 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-history.c: (update_host_on_child_remove), (update_hosts): We cant remove while iterating childrens, build a list and remove later.
* Update remaning time every two secondsMarco Pesenti Gritti2003-10-195-155/+200
| | | | | | | | | | | | | | | | | | | | | 2003-10-19 Marco Pesenti Gritti <marco@gnome.org> * TODO: * embed/ephy-download.c: (ephy_download_class_init), (ephy_download_init), (update_remaining_time), (ephy_download_get_remaining_time): * embed/ephy-download.h: Update remaning time every two seconds * embed/mozilla/mozilla-download.cpp: Source/target was swapped * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: Fix style
* do not try to remove All nodeMarco Pesenti Gritti2003-10-191-1/+4
| | | | | | | | 2003-10-19 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-history.c: (update_hosts): do not try to remove All node
* cleanup. Fix warning when fetching favicons.Marco Pesenti Gritti2003-10-191-27/+32
| | | | | | | | 2003-10-19 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/mozilla-embed-persist.cpp: cleanup. Fix warning when fetching favicons.
* Looks like I copied a bug from mozilla js code. Do not show bogusMarco Pesenti Gritti2003-10-181-12/+3
| | | | | | | | | 2003-10-18 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphyHeaderSniffer.cpp: Looks like I copied a bug from mozilla js code. Do not show bogus checkbox.
* initialize cur/total sizeMarco Pesenti Gritti2003-10-181-0/+2
| | | | | | | | 2003-10-18 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/MozDownload.cpp: initialize cur/total size
* fixup styleMarco Pesenti Gritti2003-10-182-194/+188
| | | | | | | | | | 2003-10-18 Marco Pesenti Gritti <marco@gnome.org> * TODO: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: fixup style
* Add nsIAuthPrompt implementation, necessary to make downloads onMarco Pesenti Gritti2003-10-182-2/+48
| | | | | | | | | | 2003-10-18 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: Add nsIAuthPrompt implementation, necessary to make downloads on authenticated pages work.
* Fix string for old mozilla versions.Marco Pesenti Gritti2003-10-181-8/+10
| | | | | | | | 2003-10-18 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphyWrapper.cpp: Fix string for old mozilla versions.
* Encoding menu improvements, Part 4: The Rewrite.Christian Persch2003-10-1814-119/+841
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-18 Christian Persch <chpe@cvs.gnome.org> Encoding menu improvements, Part 4: The Rewrite. * data/glade/epiphany.glade: * data/ui/epiphany-ui.xml: * data/ui/nautilus-epiphany-view.xml.in: * embed/Makefile.am: * embed/ephy-embed-shell.c: (ephy_embed_shell_init), (ephy_embed_shell_finalize), (ephy_embed_shell_new), (ephy_embed_shell_get_encodings): * embed/ephy-embed-shell.h: * embed/ephy-embed-utils.c: (ephy_embed_utils_save): * embed/ephy-embed-utils.h: * embed/ephy-embed.c: (ephy_embed_get_encoding_info): * embed/ephy-embed.h: * embed/ephy-encodings.c: (ephy_encodings_get_type), (ephy_encodings_finalize), (ephy_encodings_class_init), (ephy_encodings_get_node), (ephy_encodings_get_encodings), (ephy_encodings_get_detectors), (ephy_encodings_get_all), (ephy_encodings_get_categories), (ephy_encodings_add_recent), (ephy_encodings_get_recent), (ephy_encodings_init), (ephy_encoding_info_free), (ephy_encodings_new): * embed/ephy-encodings.h: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: * lib/Makefile.am: * lib/ephy-encodings.c: * lib/ephy-encodings.h: * lib/ephy-langs.c: (ephy_font_languages), (ephy_font_n_languages): * lib/ephy-langs.h: * src/Makefile.am: * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_get_type), (setup_filter), (sync_embed_cb), (sync_active_tab), (ephy_encoding_dialog_set_window), (activate_choice), (activate_automatic), (ephy_encoding_dialog_response_cb), (category_node_selected_cb), (view_node_selected_cb), (view_node_activated_cb), (ephy_encoding_dialog_init), (ephy_encoding_dialog_finalize), (ephy_encoding_dialog_set_property), (ephy_encoding_dialog_get_property), (ephy_encoding_dialog_class_init), (ephy_encoding_dialog_new): * src/ephy-encoding-dialog.h: * src/ephy-encoding-menu.c: (ephy_encoding_menu_init), (sort_encodings), (add_menu_item), (update_encoding_menu_cb), (encoding_activate_cb), (add_action), (ephy_encoding_menu_view_dialog_cb), (ephy_encoding_menu_automatic_cb), (ephy_encoding_menu_set_window), (ephy_encoding_menu_finalize), (ephy_encoding_menu_class_init), (ephy_encoding_menu_new): * src/ephy-nautilus-view.c: (gnv_bonobo_control_activate_cb), (gnv_cmd_select_encoding), (gnv_cmd_edit_find): * src/ephy-window.c: (ephy_window_set_active_tab), (setup_notebook), (ephy_window_set_property), (ephy_window_get_property), (ephy_window_class_init): * src/language-editor.h: * src/pdm-dialog.c: (setup_passwords_treeview), (setup_cookies_treeview): * src/prefs-dialog.c: (prefs_dialog_finalize), (get_current_language_code), (fonts_language_info_cmp), (create_fonts_language_menu), (find_encoding_in_list_cmp), (sort_encodings), (create_optionmenu), (prefs_dialog_init): Made encodings menu dynamic, containing recently used items + items related to the currently active encoding. Split encodings out as a embed shell service, port all users over to that. Harvest all encoding info we can get from mozilla.
* Fix Save As, we need ever to pass the url now. Now hope chpe stop to bugMarco Pesenti Gritti2003-10-171-13/+19
| | | | | | | | | | 2003-10-17 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/mozilla-embed-persist.cpp: Fix Save As, we need ever to pass the url now. Now hope chpe stop to bug me about things xan broke ...
* I suck ... files forgotMarco Pesenti Gritti2003-10-172-3/+5
|
* Merge new-downloader branch. We reworked the backend, the userMarco Pesenti Gritti2003-10-1725-2493/+1249
| | | | interface is still incomplete.
* Include config.h.Christian Persch2003-10-161-1/+7
| | | | | | | | 2003-10-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Include config.h.
* Encodings menu improvements, part 3: Refactored the encodings list; it noChristian Persch2003-10-145-299/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-13 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_free_passwords): * embed/ephy-embed-single.h: * embed/ephy-embed-utils.c: (ephy_embed_utils_build_encodings_submenu): * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * lib/Makefile.am: * lib/ephy-encodings.c: (ephy_encoding_info_free), (encodings_info_cmp), (ephy_encodings_get_list): * lib/ephy-encodings.h: * lib/ephy-langs.c: (ephy_lang_group_info_free), (lang_group_info_cmp), (ephy_lang_get_group_list), (fonts_language_info_cmp), (ephy_font_langs_get_codes_list), (ephy_font_langs_get_list): * lib/ephy-langs.h: * po/POTFILES.in: * src/ephy-encoding-menu.c: (ephy_encoding_menu_set_window), (ephy_encoding_menu_rebuild): * src/prefs-dialog.c: (prefs_dialog_finalize), (get_current_language_code), (create_fonts_language_menu), (default_encoding_menu_changed_cb), (find_encoding_in_list_cmp), (create_default_encoding_menu): Encodings menu improvements, part 3: Refactored the encodings list; it no longer is neccessary to have it in the embed single. Ported all callers to new infrastructure.
* Return "en" when in C locale.Christian Persch2003-10-131-1/+1
| | | | | | | | | 2003-10-13 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-notifiers.cpp: (get_system_language): Return "en" when in C locale.
* Include config.h.Christian Persch2003-10-121-0/+4
| | | | | | | | 2003-10-11 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyWrapper.cpp: Include config.h.
* Adapt EphyWrapper::GetEncoding to varying mozilla APIs.Christian Persch2003-10-123-10/+20
| | | | | | | | | | 2003-10-11 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/mozilla-embed.cpp: Adapt EphyWrapper::GetEncoding to varying mozilla APIs.
* Merge completion branchMarco Pesenti Gritti2003-10-121-77/+0
|
* Encoding menu improvements, part 2: Implement ephy_embed_get_encoding, andChristian Persch2003-10-125-4/+62
| | | | | | | | | | | | | | | 2003-10-11 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_get_encoding): * embed/ephy-embed.h: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-encoding-menu.c: (ephy_encoding_menu_verb_cb), (update_encoding_menu_cb), (ephy_encoding_menu_set_window): Encoding menu improvements, part 2: Implement ephy_embed_get_encoding, and use it in the menu to indicate the encoding of the loaded page.
* Reenable deprecated api where necessary, fixup some header inclusions.Marco Pesenti Gritti2003-10-113-59/+3
| | | | | | | | | | | | | | | | | | | | | | 2003-10-10 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/FilePicker.cpp: * embed/mozilla/FilePicker.h: * embed/mozilla/mozilla-embed-single.cpp: * lib/Makefile.am: * lib/ephy-dialog.c: (get_pref_type_from_widget), (prefs_connect_signals), (load_props), (save_props): * lib/ephy-gui.h: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-topic-action.c: * src/ephy-history-window.c: Reenable deprecated api where necessary, fixup some header inclusions. Remove unused color picker control in ephy-dialog. Remove unused file types optionmenu in Filepicker.
* Add new files.Xan Lopez2003-10-074-0/+1212
| | | | Add new files.
* More granular filtering updateMarco Pesenti Gritti2003-10-061-4/+70
| | | | | | | | | | | | | | | | | | 2003-10-06 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-history-window.c: (setup_filters), (site_node_selected_cb), (search_entry_search_cb), (time_optionmenu_changed_cb): More granular filtering update 2003-10-06 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-history.c: (update_host_on_child_remove), (update_hosts), (page_removed_from_host_cb), (ephy_history_init), (ephy_history_finalize): Update host last visit when removing sites from it.
* Don't pass NULL to gnome_vfs_expand_initial_tilde.Christian Persch2003-09-301-1/+10
| | | | | | | | 2003-09-30 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (print_get_info): Don't pass NULL to gnome_vfs_expand_initial_tilde.
* More accurate description for Ever filter. Keep the backend as is, so weMarco Pesenti Gritti2003-09-301-0/+1
| | | | | | | | | | | 2003-09-30 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-history.c: * src/ephy-history-window.c: (build_search_box): More accurate description for Ever filter. Keep the backend as is, so we dont have to change it if we change history expire.
* The file picker dir can be NULL, check before trying to expand tilde.Marco Pesenti Gritti2003-09-281-2/+5
| | | | | | | | | | | | | | 2003-09-28 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/mozilla-embed-single.cpp: The file picker dir can be NULL, check before trying to expand tilde. * src/bookmarks/ephy-bookmarks-editor.c: (import_dialog_response_cb), (cmd_bookmarks_import): Implement import from a file
* API sync, from galeon.Xan Lopez2003-09-271-8/+8
| | | | API sync, from galeon.
* Use gtkicontheme, and use it also for mime icons.Marco Pesenti Gritti2003-09-271-2/+4
| | | | | | | | | | | | | | | 2003-09-27 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/ContentHandler.cpp: * lib/ephy-gui.c: (make_mime_name), (ephy_gui_get_pixbuf_from_mime_type): * lib/ephy-gui.h: * lib/widgets/ephy-spinner.c: (ephy_spinner_init), (ephy_spinner_theme_changed), (ephy_spinner_load_images), (ephy_spinner_finalize): * src/ephy-shell.c: (ephy_shell_init): Use gtkicontheme, and use it also for mime icons.
* Fix #123176. Use response instead of connecting 210 callbacks.Marco Pesenti Gritti2003-09-251-20/+25
| | | | | | | | | | 2003-09-25 Marco Pesenti Gritti <marco@gnome.org> * data/glade/epiphany.glade: * embed/mozilla/ContentHandler.cpp: Fix #123176. Use response instead of connecting 210 callbacks.
* Use gconf_client_notify. Fixed bug #112882.Christian Persch2003-09-201-10/+1
| | | | | | | | 2003-09-20 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-notifiers.cpp: Use gconf_client_notify. Fixed bug #112882.
* Fix directory selection persistence [bug #122780].Christian Persch2003-09-202-16/+18
| | | | | | | | | | 2003-09-20 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-utils.c: (ephy_embed_utils_save): * embed/mozilla/mozilla-embed-single.cpp: * src/window-commands.c: (window_cmd_file_open): Fix directory selection persistence [bug #122780].
* Do not fail if prefs.js is corrupted.Marco Pesenti Gritti2003-09-201-1/+0
| | | | | | | | | | | | 2003-09-20 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Do not fail if prefs.js is corrupted. * src/ephy-window.c: (ephy_window_state_event_cb): Do not allow to edit toolbar in fs
* embed/mozilla/MozRegisterComponents.cpp A embed/mozilla/GtkNSSDialogs.cppChristian Persch2003-09-194-0/+494
| | | | | | | | | | | | | 2003-09-19 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozRegisterComponents.cpp A embed/mozilla/GtkNSSDialogs.cpp A embed/mozilla/GtkNSSDialogs.h * embed/mozilla/Makefile.am * configure.in: Implement Gtk versions of the mozilla certificate prompts. Ported from galeon -- many thanks to Crispin for this excellent work!
* Refactor node db loading functions into a common one in ephy-node-db.Christian Persch2003-09-182-50/+8
| | | | | | | | | | | | | | 2003-09-18 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_init): * embed/ephy-history.c: (ephy_history_init): * lib/ephy-node-db.c: (ephy_node_db_load_from_file): * lib/ephy-node-db.h: * lib/ephy-state.c: (ensure_states): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): Refactor node db loading functions into a common one in ephy-node-db. Switch to using xmlReader api.
* Re-revert, use new gnome vfs show_url api.Christian Persch2003-09-181-3/+3
| | | | | | | | | | | | 2003-09-17 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ExternalProtocolService.cpp: Re-revert, use new gnome vfs show_url api. * configure.in: Depend on appropriate gnome-vfs version.
* Added in support to allow Mozilla 1.4.1 to be used for Epiphany compile.Patanjali Somayaji2003-09-144-6/+6
|
* First important step in solving the fonts mess. Allow to select theMarco Pesenti Gritti2003-09-104-23/+7
| | | | | | | | | | | | | | | | | | 2003-09-09 Marco Pesenti Gritti <marco@gnome.org> * data/default-prefs.js: * data/glade/prefs-dialog.glade: * embed/ephy-embed-single.c: (ephy_embed_single_get_font_list): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * src/prefs-dialog.c: (setup_font_menu), (attach_fonts_signals), (setup_size_controls), (setup_fonts), (prefs_dialog_init): First important step in solving the fonts mess. Allow to select the variable width instead of families. Also use points instead of pixels. Set a minimum font size by default.
* *** empty log message ***Marco Pesenti Gritti2003-09-081-53/+26
|
* Set wrap around prop in mozilla interfaceMarco Pesenti Gritti2003-09-071-0/+1
| | | | | | | | 2003-09-07 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphyWrapper.cpp: Set wrap around prop in mozilla interface
* Mega-patch, changelog too long to paste here.Christian Persch2003-09-0232-409/+298
|
* Add extra bogosity check, ported from galeon.Christian Persch2003-08-241-0/+1
| | | | | | | | 2003-08-23 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyWrapper.cpp: (SetZoomOnDocshell): Add extra bogosity check, ported from galeon.
* Use WARN_CXXFLAGS for mozilla code. You need to update gnome-common.Marco Pesenti Gritti2003-08-241-1/+1
| | | | | | | | | | 2003-08-23 Marco Pesenti Gritti <marco@gnome.org> * configure.in: * embed/mozilla/Makefile.am: Use WARN_CXXFLAGS for mozilla code. You need to update gnome-common.
* Overwrite existing files. (We already warn the user about it).Marco Pesenti Gritti2003-08-211-7/+8
| | | | | | | | | 2003-08-20 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/mozilla-embed-persist.cpp: Overwrite existing files. (We already warn the user about it).
* Do not try to remove completed downloads, fixes a crash.Marco Pesenti Gritti2003-08-201-2/+5
| | | | | | | | 2003-08-20 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: (delete_pending_foreach): Do not try to remove completed downloads, fixes a crash.
* Add activate api.Marco Pesenti Gritti2003-08-193-0/+21
| | | | | | | | | | | | | | | | | 2003-08-19 Marco Pesenti Gritti <marco@.gnome.org> * embed/ephy-embed.c: (ephy_embed_activate): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: Add activate api. * src/window-commands.c: (window_cmd_go_back), (window_cmd_go_up), (window_cmd_go_forward), (window_cmd_view_stop), (window_cmd_view_reload): Activate on navigation commands. It seem like a better beahvior and it avoid some mozilla focus craziness.
* *** empty log message ***Marco Pesenti Gritti2003-08-172-19/+0
|
* Fix bug #119818.Christian Persch2003-08-151-1/+14
| | | | | | | | 2003-08-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozillaPrivate.cpp: (MozillaCollatePrintSettings): Fix bug #119818.
* Expand initial ~ in file name to print to.Christian Persch2003-08-151-1/+2
| | | | | | | | 2003-08-15 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (print_get_info): Expand initial ~ in file name to print to.
* Make print preview exit code safer.Marco Pesenti Gritti2003-08-151-1/+1
| | | | | | | | | 2003-08-14 Marco Pesenti Gritti <marco@.gnome.org> * embed/mozilla/EphyWrapper.cpp: * src/ppview-toolbar.c: (toolbar_cmd_ppv_close): Make print preview exit code safer.
* Remove an unused progress listener. Looks like galeon 1 code ?!Marco Pesenti Gritti2003-08-144-159/+1
| | | | | | | | | | | | 2003-08-13 Marco Pesenti Gritti <marco@.gnome.org> * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/Makefile.am: * embed/mozilla/PrintProgressListener.cpp: * embed/mozilla/PrintProgressListener.h: Remove an unused progress listener. Looks like galeon 1 code ?!
* Respect system pref about no proxy for.Marco Pesenti Gritti2003-08-122-1/+46
| | | | | | | | | 2003-08-11 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-embed-prefs.h: * embed/mozilla/mozilla-notifiers.cpp: Respect system pref about no proxy for.
* Sync with Moz HEAD.Xan Lopez2003-08-111-2/+5
| | | | Sync with Moz HEAD.
* Fix mem leak.Christian Persch2003-08-091-3/+4
| | | | | | | | 2003-08-08 Christian Persch <chp@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_add_download): Fix mem leak.
* Fix mem leaks.Christian Persch2003-08-091-21/+42
| | | | | | | | 2003-08-08 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (print_free_info), (print_get_inf): Fix mem leaks.
* Fix mem leak.Christian Persch2003-08-091-0/+4
| | | | | | | | 2003-08-08 Christian Persch <chpe@cvs.gnome.org> * embed/find-dialog.c: (set_properties): Fix mem leak.
* s/KB/kB/Xan Lopez2003-08-081-4/+4
| | | | s/KB/kB/
* When the embed is not initialized return about:blank as address.Marco Pesenti Gritti2003-08-081-1/+1
| | | | | | | | | 2003-08-08 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/mozilla-embed.cpp: When the embed is not initialized return about:blank as address.
* *** empty log message ***Marco Pesenti Gritti2003-08-081-0/+4
|
* *** empty log message ***Marco Pesenti Gritti2003-08-071-61/+55
|
* Use link text as bookmark title when no title is specified.Marco Pesenti Gritti2003-08-052-1/+85
| | | | | | | | | | | 2003-08-05 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * src/popup-commands.c: (popup_cmd_bookmark_link): Use link text as bookmark title when no title is specified.
* Compare the scheme to "file", not the entire url.Christian Persch2003-08-041-3/+5
| | | | | | | | 2003-08-04 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_add_host): Compare the scheme to "file", not the entire url.
* 0.8.2. Drop mozilla 1.3 compatibility.Release082Marco Pesenti Gritti2003-08-031-16/+0
| | | | | | | | | | 2003-08-03 Marco Pesenti Gritti <marco@it.gnome.org> * NEWS: * configure.in: * embed/mozilla/GlobalHistory.cpp: 0.8.2. Drop mozilla 1.3 compatibility.
* revert last commitMarco Pesenti Gritti2003-08-031-0/+3
|
* Do not disable window raising anymore, mozilla seem to behave correctlyMarco Pesenti Gritti2003-08-021-3/+0
| | | | | | | | | 2003-08-02 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Do not disable window raising anymore, mozilla seem to behave correctly now.
* Restore the "ge_dom_mouse_down" signal.Christian Persch2003-08-023-10/+29
| | | | | | | | | | 2003-08-01 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: (mozilla_embed_dom_mouse_down_cb): * embed/ephy-embed.h: * embed/ephy-embed.c: (ephy_embed_base_init): Restore the "ge_dom_mouse_down" signal.
* Added one translator's comment, and clarified another.Christian Persch2003-07-241-3/+9
| | | | | | | | | 2003-07-24 Christian Persch <chpe@cvs.gnome.org> * src/prefs-dialog.c: * embed/mozilla/mozilla-notifiers.cpp: Added one translator's comment, and clarified another.
* coughXan Lopez2003-07-241-1/+1
| | | | cough
* Add history include dir, needed for Mozilla 1.5bXan Lopez2003-07-231-0/+2
| | | | Add history include dir, needed for Mozilla 1.5b
* Do not emit warning when language pack is not installed.Marco Pesenti Gritti2003-07-201-7/+1
| | | | | | | | 2003-07-20 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Do not emit warning when language pack is not installed.
* Rework find implementation to integrate better with type ahead and toMarco Pesenti Gritti2003-07-208-344/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-20 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-embed.c: (ephy_embed_find_set_properties), (ephy_embed_find_next): * embed/ephy-embed.h: * embed/find-dialog.c: (update_navigation_controls), (impl_show), (find_dialog_class_init), (set_properties), (sync_page_change), (sync_embed), (find_dialog_init), (find_dialog_finalize), (find_dialog_go_next), (find_dialog_go_prev), (find_close_button_clicked_cb), (find_next_button_clicked_cb), (find_prev_button_clicked_cb), (find_entry_changed_cb), (find_check_toggled_cb): * embed/find-dialog.h: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed.cpp: * lib/ephy-dialog.h: * src/ephy-window.c: (ephy_window_find): * src/ephy-window.h: * src/window-commands.c: (window_cmd_edit_find), (window_cmd_edit_find_next), (window_cmd_edit_find_prev): Rework find implementation to integrate better with type ahead and to simplify the code. Do not try to set menus sensitivity because mozilla doesnt provide an api for it and it breaks with type ahead. * lib/ephy-dialog.c: (ephy_dialog_class_init), (ephy_dialog_finalize), (dialog_destroy_cb), (impl_construct), (ephy_dialog_construct): Remove no more used destruct crap.
* I forgot to commit the Makefile.am changes needed for the previous patch.Christian Persch2003-07-201-0/+2
| | | | | | | | | 2003-07-19 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/Makefile.am: I forgot to commit the Makefile.am changes needed for the previous patch. Thanks to Manny for pointing this out to me :)
* Set the chrome locale on startup. That means that if the correct lang packChristian Persch2003-07-191-0/+66
| | | | | | | | | | | | | 2003-07-19 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.c: (getUILang), (mozilla_init_chrome), (mozilla_embed_single_init_services): Set the chrome locale on startup. That means that if the correct lang pack is installed, dialogues coming from mozilla will be translated. Set skin to 'classic' on startup, so we get native scrollbars. Ported from galeon.
* Do not enable smooth scroll and image autoresize.Marco Pesenti Gritti2003-07-181-8/+0
| | | | | | | | 2003-07-18 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Do not enable smooth scroll and image autoresize.
* Allow DND of URLs (from links or favicons or other apps...) to theXan Lopez2003-07-172-0/+22
| | | | | | Allow DND of URLs (from links or favicons or other apps...) to the bookmarks toolbar, fixes #116613 (HOORAY), thanks to marco and chpe for the help.
* Fix compiler warning.Christian Persch2003-07-151-1/+1
| | | | | | | | 2003-07-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: (impl_get_font_list): Fix compiler warning.
* 0.8.0. Make it distcheck.Marco Pesenti Gritti2003-07-151-1/+1
| | | | | | | | | | | 2003-07-15 Marco Pesenti Gritti <marco@it.gnome.org> * NEWS: * configure.in: * embed/Makefile.am: * src/Makefile.am: 0.8.0. Make it distcheck.
* List all mozilla fonts and not only the language specific, otherwise weMarco Pesenti Gritti2003-07-151-37/+17
| | | | | | | | | | | | 2003-07-14 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: List all mozilla fonts and not only the language specific, otherwise we get empty list. Use fontconfig aliases as defaults. This is temporary until we design simpler fonts configuration.
* Fix mem leaks; thanks to Xan for pointing this out.Christian Persch2003-07-141-0/+5
| | | | | | | | | | | | 2003-07-14 Christian Persch <chpe@cvs.gnome.org> * src/pdm-dialog.c: (pdm_dialog_cookies_properties_button_clicked_cb): * src/language-editor.c: (language_editor_update_pref): * embed/downloader-view.c: (controls_info_foreach), (download_dialog_pause_cb), (download_dialog_abort_cb), (downloader_treeview_selection_changed_cb), (open_selection_foreach): Fix mem leaks; thanks to Xan for pointing this out.
* UpdateMarco Pesenti Gritti2003-07-143-14/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-14 Marco Pesenti Gritti <marco@it.gnome.org> * lib/egg/eggtreemultidnd.c: (egg_tree_multi_drag_button_press_event): Update * embed/ephy-embed-popup-control.c: (save_property_url), (embed_popup_download_link_cmd), (embed_popup_save_image_as_cmd), (save_url), (embed_popup_save_page_as_cmd), (embed_popup_save_background_as_cmd): * src/popup-commands.c: (save_property_url), (popup_cmd_download_link), (popup_cmd_save_image_as), (popup_cmd_save_background_as): * src/window-commands.c: (window_cmd_file_open), (window_cmd_file_save_as): Higgy titles for file pickers. * embed/ephy-embed-utils.c: (ephy_embed_utils_save): * embed/ephy-embed-utils.h: Allow to pass a title to _save. Show an error message when saving doesnt succeed.
* Fix mem leaks.Christian Persch2003-07-141-9/+27
| | | | | | | | | | | | | | 2003-07-13 Christian Persch <chpe@cvs.gnome.org> * src/language-editor.c: (language_editor_remove_button_clicked_cb): * embed/downloader-view.c: (downloader_view_set_download_info), (downloader_view_remove_download), (downloader_view_set_download_progress), (downloader_view_set_download_status), (download_dialog_abort_cb): * lib/widgets/ephy-tree-model-sort.c: (ephy_tree_model_sort_multi_row_draggable): Fix mem leaks.
* 2003-07-13 Marco Pesenti Gritti <marco@it.gnome.org>Marco Pesenti Gritti2003-07-137-30/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: * configure.in: * embed/Makefile.am: * embed/ephy-embed-shell.c: (ephy_embed_shell_get_favicon_cache), (impl_get_downloader_view): * embed/ephy-embed-shell.h: * embed/ephy-embed-single.c: * embed/ephy-embed-single.h: * embed/mozilla/ProgressListener.cpp: * embed/mozilla/mozilla-embed.cpp: * lib/Makefile.am: * lib/ephy-langs.h: * lib/ephy-node.c: (unref_signal_objects), (ephy_node_signal_connect_object): * plugins/Makefile.am: * plugins/sample/Makefile.am: * plugins/sample/sample.c: (bmk_added), (bmk_removed), (bmk_changed), (switch_page_cb), (window_focus_in_cb), (location_changed_cb), (tab_added_cb), (new_window_cb), (plugin_init): * src/Makefile.am: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_sync_icon): * src/bookmarks/ephy-bookmark-properties.c: (set_window_icon), (ephy_bookmark_properties_init): * src/bookmarks/ephy-bookmarks-editor.c: (provide_favicon), (ephy_bookmarks_editor_init): * src/bookmarks/ephy-bookmarks.c: (update_favorites_menus): * src/bookmarks/ephy-topic-action.c: (build_bookmarks_menu): * src/ephy-automation.c: (impl_ephy_automation_loadurl), (impl_ephy_automation_quit), (impl_ephy_automation_load_session): * src/ephy-favicon-action.c: (ephy_favicon_action_init): * src/ephy-history-window.c: (confirmation_dialog_response_cb), (provide_favicon): * src/ephy-location-action.c: (connect_proxy): * src/ephy-notebook.c: (sync_icon): * src/ephy-shell.c: (ephy_shell_get_active_window), (ephy_shell_get_session), (ephy_shell_get_autocompletion), (ephy_shell_get_toolbars_model): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_net_state_cb), (ephy_tab_init), (ephy_tab_get_action): * src/ephy-tab.h: * src/ephy-tabs-menu.c: (ephy_tabs_menu_update): * src/ephy-window.c: (ephy_window_fullscreen), (ephy_window_unfullscreen), (sync_tab_icon), (ephy_window_init), (remove_from_session), (ephy_window_get_active_tab):
* Show the doc context menu on ctrl+f10Marco Pesenti Gritti2003-07-111-3/+10
| | | | | | | | | | 2003-07-10 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/mozilla-embed.cpp: Show the doc context menu on ctrl+f10 2
* Merge external protocols in one file (implementation is just one macro).Marco Pesenti Gritti2003-07-079-217/+147
| | | | | | | | | | | | | | | | | | | 2003-07-06 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/ExternalProtocolHandlers.cpp: * embed/mozilla/ExternalProtocolHandlers.h: * embed/mozilla/FtpProtocolHandler.cpp: * embed/mozilla/FtpProtocolHandler.h: * embed/mozilla/IRCProtocolHandler.cpp: * embed/mozilla/IRCProtocolHandler.h: * embed/mozilla/MailtoProtocolHandler.cpp: * embed/mozilla/MailtoProtocolHandler.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: Merge external protocols in one file (implementation is just one macro). Add a news:// handler.
* *** empty log message ***Marco Pesenti Gritti2003-07-061-7/+2
|
* Fix mem leak.Christian Persch2003-07-061-0/+1
| | | | | | | | 2003-07-06 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_finalize): Fix mem leak.
* Api resync and cleanup from galeon.Marco Pesenti Gritti2003-07-062-6/+10
| | | | | | | | | | 2003-07-05 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * src/prefs-dialog.c: (setup_font_menu): Api resync and cleanup from galeon.
* Remove the persist object from the hash table before emitting the changedChristian Persch2003-07-041-3/+5
| | | | | | | | | 2003-07-04 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (favicon_download_completed_cb): Remove the persist object from the hash table before emitting the changed signal. Fixes bug 116673.
* Remove use of acconfig.h.Marco Pesenti Gritti2003-07-0410-99/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-04 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: Remove use of acconfig.h. * embed/ephy-embed-shell.c: (ephy_embed_shell_get_embed_single): * embed/ephy-embed-single.c: * embed/ephy-embed-single.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/MozRegisterComponents.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * src/bookmarks/ephy-bookmarks-import.c: (bookmark_add), (xbel_parse_folder), (ephy_bookmarks_import_mozilla): * src/ephy-shell.c: (ephy_shell_init): Show an alert when mozilla cant start instead of crashing. Do not import bookmarks dups. Cleanup some mozilla code headers inclusion.
* Sync with Moz Head, small cleanup.Xan Lopez2003-07-042-5/+4
| | | | Sync with Moz Head, small cleanup.
* s/Caches/CacheMarco Pesenti Gritti2003-07-021-1/+0
| | | | | | | | | | | | 2003-07-02 Marco Pesenti Gritti <marco@it.gnome.org> * data/glade/prefs-dialog.glade: s/Caches/Cache * embed/ephy-embed-prefs.h: Remove the compare cache define too
* Use the browser icon from gnome icon theme. Get rid of cache comparingMarco Pesenti Gritti2003-07-021-38/+0
| | | | | | | | | | | | | | | | | | | | | 2003-07-02 Marco Pesenti Gritti <marco@it.gnome.org> * data/art/Makefile.am: * data/art/epiphany.png: * data/epiphany.desktop.in: * data/epiphany.schemas.in: * data/glade/prefs-dialog.glade: * embed/mozilla/mozilla-notifiers.cpp: * lib/ephy-dialog.c: (ephy_dialog_set_size_group): * lib/ephy-dialog.h: * src/ephy-main.c: (main): * src/prefs-dialog.c: (prefs_dialog_init), (prefs_homepage_blank_button_clicked_cb), (fill_language_editor): * src/window-commands.c: (window_cmd_help_about): Use the browser icon from gnome icon theme. Get rid of cache comparing prefs and rehash prefs pages to make them more specific.
* Use normal google search for keywordsMarco Pesenti Gritti2003-07-021-1/+1
| | | | | | | | 2003-07-02 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Use normal google search for keywords
* Remove some unused codeMarco Pesenti Gritti2003-07-014-55/+2
| | | | | | | | | | | | | | | 2003-06-30 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-embed-dialog.c: (ephy_embed_dialog_get_embed): * embed/ephy-embed-shell.c: (ephy_embed_shell_init), (ephy_embed_shell_get_favicon_cache): * embed/ephy-embed-shell.h: * embed/print-dialog.c: (print_dialog_print), (print_dialog_preview): * src/Makefile.am: * src/ephy-tab.c: (ephy_tab_destroy_brsr_cb), (ephy_tab_init): Remove some unused code
* Remember the directory when saving files. Fixes #115603.James Willcox2003-06-301-22/+30
| | | | | | | | 2003-06-29 James Willcox <jwillcox@gnome.org> * embed/mozilla/ContentHandler.cpp: Remember the directory when saving files. Fixes #115603.
* Fix callbacks for new signature of ge_location embed signal.Christian Persch2003-06-301-1/+1
| | | | | | | | | | | | | | 2003-06-29 Christian Persch <chpe@cvs.gnome.org> * src/ephy-nautilus-view.c: (gnv_embed_location_cb): * src/ephy-tab.c: (ephy_tab_address_cb): * embed/find-dialog.c: (sync_page_change): Fix callbacks for new signature of ge_location embed signal. * src/ephy-tab.c: (ephy_tab_icon_cache_changed_cb): Fix logic to update the site icon.
* Emit the changed signal before unrefing the persist object. The changedMarco Pesenti Gritti2003-06-291-5/+8
| | | | | | | | | | | | 2003-06-29 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-favicon-cache.c: (favicon_download_completed_cb), (ephy_favicon_cache_download), (ephy_favicon_cache_get): Emit the changed signal before unrefing the persist object. The changed url is set_data_full on it and it will be freed otherwise. Make sure we never emit signals with NULL url.
* Don't show -1 KB before download starts.Piers Cornwell2003-06-291-1/+1
| | | | | | | | 2003-06-28 Piers Cornwell <piersc@cogs.susx.ac.uk> * embed/downloader-view.c: (downloader_view_add_download): Don't show -1 KB before download starts.
* removed unused header, fixes compilation with mozilla headChristophe Fergeau2003-06-291-1/+0
| | | | | | | 2003-06-28 Christophe Fergeau <teuf@users.sourceforge.net> * embed/mozilla/EphyWrapper.cpp: removed unused header, fixes compilation with mozilla head
* Set done size to total size on download completedMarco Pesenti Gritti2003-06-281-6/+10
| | | | | | | | | 2003-06-28 Marco Pesenti Gritti <marco@it.gnome.org> * embed/downloader-view.c: (downloader_view_update_controls), (downloader_view_set_download_info): Set done size to total size on download completed
* Fix mem leaks.Christian Persch2003-06-281-2/+10
| | | | | | | | | 2003-06-28 Christian Persch <chpe@cvs.gnome.org> * src/ephy-favorites-menu.c: (ephy_favorites_menu_rebuild): * embed/find-dialog.c: (find_get_info): Fix mem leaks.
* 2003-06-27 Marco Pesenti Gritti <marco@it.gnome.org>Marco Pesenti Gritti2003-06-283-6/+13
| | | | | | | | | | | * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/bookmarks/ephy-bookmarks-export.c: (add_topics_list), (ephy_bookmarks_export_rdf): * src/ephy-tab.c: (ephy_tab_address_cb): * src/ephy-window.c: (ephy_window_load_url): * src/window-commands.c: (window_cmd_file_open):
* Add two new encodings, and change access keys to be unique.Christian Persch2003-06-261-3/+7
| | | | | | | | 2003-06-26 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Add two new encodings, and change access keys to be unique.