aboutsummaryrefslogtreecommitdiffstats
path: root/embed
Commit message (Collapse)AuthorAgeFilesLines
* Whenever we have one, pass the cache key to the persist object. That wayChristian Persch2004-05-041-3/+8
| | | | | | | | | 2004-05-03 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-persist.cpp: Whenever we have one, pass the cache key to the persist object. That way we don't re-fetch the page on save. Fixes bug #141652.
* Ensure we have a DOM window before trying to get his url. The check wasMarco Pesenti Gritti2004-04-292-2/+2
| | | | | | | | | | | 2004-04-28 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/mozilla-embed.cpp: Ensure we have a DOM window before trying to get his url. The check was not working anymore because of initialization changes.
* Fix encoding of saved and downloaded content; fixes bug 141050.Christian Persch2004-04-271-32/+21
| | | | | | | | 2004-04-26 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: Fix encoding of saved and downloaded content; fixes bug 141050.
* Make warning message selectable (backported from HEAD).Piers Cornwell2004-04-181-0/+1
| | | | | | | | 2004-04-08 Piers Cornwell <piers@gnome.org> * embed/mozilla/ContentHandler.cpp: Make warning message selectable (backported from HEAD).
* Fix chrome for new windows opened from _blank target. Fixes bug #139512.Marco Pesenti Gritti2004-04-183-7/+9
| | | | | | | | | | | | | 2004-04-18 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.c: (ephy_embed_chrome_get_type): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-window.c: (ephy_window_set_chrome), (ephy_window_set_property), (ephy_window_class_init): Fix chrome for new windows opened from _blank target. Fixes bug #139512.
* Don't override nsWebBrowserContentPolicy contract ID, just register ourChristian Persch2004-04-182-10/+38
| | | | | | | | | | 2004-04-18 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyContentPolicy.h: * embed/mozilla/MozRegisterComponents.cpp: Don't override nsWebBrowserContentPolicy contract ID, just register our own content policy with the category manager.
* Don't gunzip downloads (backported from HEAD).Christian Persch2004-04-181-0/+5
| | | | | | | | 2004-04-18 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: Don't gunzip downloads (backported from HEAD).
* Fix saving of linked content. Don't create the directory; mozilla will doChristian Persch2004-04-171-11/+6
| | | | | | | | | 2004-04-16 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: Fix saving of linked content. Don't create the directory; mozilla will do it for us if necessary.
* Add $(MOZILLA_INCLUDE_ROOT) to the list.Christian Persch2004-04-141-0/+1
| | | | | | | | 2004-04-13 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/Makefile.am: Add $(MOZILLA_INCLUDE_ROOT) to the list.
* Merging from HEADChristian Persch2004-04-141-3/+2
|
* Don't quit the filechooser when selecting "No" from the confirm- overwriteChristian Persch2004-04-102-26/+25
| | | | | | | | | | | | | | | 2004-04-09 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/FilePicker.cpp: Don't quit the filechooser when selecting "No" from the confirm- overwrite dialoge. Fixes bug #139400. * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): Convert the filename to UTF-8 before showing it in the confirm dialogue.
* Fix bookmarks toolbar visibility in fullscreen and print preview mode, asChristian Persch2004-04-013-7/+10
| | | | | | | | | | | | | | | 2004-04-01 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_chrome_get_type): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-window.c: (get_chromes_visibility), (sync_chromes_visibility), (update_chromes_actions), (get_default_chrome), (ephy_window_init), (sync_prefs_with_chrome), (ephy_window_view_bookmarksbar_cb): Fix bookmarks toolbar visibility in fullscreen and print preview mode, as well as for javascript popups. Fixes bug #138520.
* Don't allow a font size less than 1.Piers Cornwell2004-03-311-1/+1
| | | | | | | | | 2004-03-30 Piers Cornwell <piers@gnome.org> * data/glade/prefs-dialog.glade: * embed/mozilla/mozilla-notifiers.cpp: (mozilla_font_size_notifier): Don't allow a font size less than 1.
* Fixes #138263.Federico Mena Quintero2004-03-304-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-29 Federico Mena Quintero <federico@ximian.com> Fixes #138263. * lib/ephy-file-chooser.h: Remove EPHY_RESPONSE_OPEN and EPHY_RESPONSE_SAVE; we'll use GTK_RESPONSE_ACCEPT instead. * lib/ephy-file-chooser.c (ephy_file_chooser_new): Use GTK_RESPONSE_ACCEPT rather than EPHY_RESPONSE_*. * embed/print-dialog.c (print_filechooser_response_cb): Likewise. * src/bookmarks/ephy-bookmarks-editor.c (import_from_file_response_cb): Likewise. * src/prefs-dialog.c (download_path_response_cb): Likewise. * src/window-commands.c (open_response_cb): Likewise. * embed/mozilla/ContentHandler.cpp (PromptForSaveToFile): Likewise. * embed/mozilla/EphyHeaderSniffer.cpp (filechooser_response_cb): Likewise. * embed/mozilla/FilePicker.cpp (Init): Likewise. (Show): Likewise.
* Don't assume every anchor has a href attribute. Fixes bug #138200.Christian Persch2004-03-291-14/+5
| | | | | | | | 2004-03-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Don't assume every anchor has a href attribute. Fixes bug #138200.
* *** empty log message ***Marco Pesenti Gritti2004-03-221-0/+1
|
* Cleanups chromes code and register a type for the enum.Marco Pesenti Gritti2004-03-223-36/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-16 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.c: (ephy_embed_chrome_get_type): * embed/ephy-embed.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed.cpp: Cleanups chromes code and register a type for the enum. * src/ephy-nautilus-view.c: (gnv_embed_new_window_cb): Adapt to the api changes * src/ephy-tab.c: (ephy_tab_new_window_cb): Move js chrome lockdown pref check here. * src/ephy-window.c: (get_chromes_visibility), (sync_chromes_visibility), (ephy_window_fullscreen), (ephy_window_unfullscreen), (update_chromes_actions), (update_actions_sensitivity), (show_embed_popup), (get_default_chrome), (ephy_window_set_property), (ephy_window_class_init), (actions_notifier), (navigation_notifier), (ephy_window_init), (ephy_window_finalize), (ephy_window_new_with_chrome), (ephy_window_set_print_preview), (ephy_window_show), (sync_prefs_with_chrome), (sync_chrome_with_view_toggle), (ephy_window_view_statusbar_cb), (ephy_window_view_toolbar_cb), (ephy_window_view_bookmarksbar_cb): Rework chrome handling so that it's not applied to all windows. Changes are now saved on the fly like for window size. * src/ephy-window.h: Use a construct property instead of a _set for chrome.
* *** empty log message ***Release120Marco Pesenti Gritti2004-03-151-0/+2
|
* Also pop up the context menu with the menu key.Christian Persch2004-03-071-1/+10
| | | | | | | | 2004-03-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: Also pop up the context menu with the menu key.
* Increase MOZILLA_SNAPSHOT for 1.7b, and depend on gtk+ >= 2.3.5.Christian Persch2004-03-061-0/+8
| | | | | | | | | | | | 2004-03-05 Christian Persch <chpe@cvs.gnome.org> * configure.in: Increase MOZILLA_SNAPSHOT for 1.7b, and depend on gtk+ >= 2.3.5. * embed/mozilla/GlobalHistory.cpp: Adapt to changed mozilla API.
* Don't return an error when a DOM document isn't a HTML document, it's okChristian Persch2004-03-051-1/+2
| | | | | | | | | 2004-03-05 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Don't return an error when a DOM document isn't a HTML document, it's ok not to be one (happens for XUL docs, like about:config).
* Replace filename validity check, it was making the filename invalidChristian Persch2004-03-051-10/+7
| | | | | | | | | 2004-03-05 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyHeaderSniffer.cpp: Replace filename validity check, it was making the filename invalid UTF-16. Simply convert to UTF-8 beforehand and check for "/" chars.
* Change wait interval between updates to 0.2 s.Christian Persch2004-03-041-1/+1
| | | | | | | | 2004-03-03 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: Change wait interval between updates to 0.2 s.
* Unset the GValue after we're done using what it contained.Christian Persch2004-03-043-3/+16
| | | | | | | | | | | | | | | | | | 2004-03-03 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (download_dialog_pause_cb), (download_dialog_abort_cb): Unset the GValue after we're done using what it contained. * embed/mozilla/MozDownload.cpp: Weak ref mEphyDownload, and assert that is has been finalised by the time we get to ~MozDownload. * embed/mozilla/mozilla-download.cpp: Debug output in _init and _finalize.
* Keep a ref for downloads in the view.Marco Pesenti Gritti2004-03-016-23/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-01 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: (downloader_view_add_download), (downloader_view_remove_download): Keep a ref for downloads in the view. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Ensure the download directory exist. * embed/mozilla/MozDownload.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-download.h: Use a property to store MozDownload in the wrapper. The wrapper now keep a reference on the c++ implementation, that way references will be correctly propagated (unreffing the GObject will unref the c++ object). (Bug 135755)
* Correct the label of the action button (Open)Marco Pesenti Gritti2004-03-011-3/+6
| | | | | | | | 2004-02-29 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/ContentHandler.cpp: Correct the label of the action button (Open)
* Iterate backwards over the children when removing a host.Christian Persch2004-03-011-1/+1
| | | | | | | | 2004-02-29 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (remove_obsolete_pages): Iterate backwards over the children when removing a host.
* Remove cancelled downloads from the downloads hash; and remove partiallyChristian Persch2004-03-012-58/+86
| | | | | | | | | | | | | | 2004-02-29 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_class_init), (kill_download), (ephy_favicon_cache_finalize), (favicon_name_build), (favicon_download_completed_cb), (favicon_download_cancelled_cb), (ephy_favicon_cache_download), (ephy_favicon_cache_get): * embed/ephy-favicon-cache.h: Remove cancelled downloads from the downloads hash; and remove partially downloaded favicons.
* Add debug output in ctors and dtors.Christian Persch2004-02-296-8/+16
| | | | | | | | | | | | | 2004-02-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/PrintingPromptService.cpp: Add debug output in ctors and dtors.
* Add "cancelled" signal to EphyEmbedPersist.Christian Persch2004-02-293-6/+16
| | | | | | | | | | | | | 2004-02-29 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-persist.c: (ephy_embed_persist_class_init): * embed/ephy-embed-persist.h: Add "cancelled" signal to EphyEmbedPersist. * embed/mozilla/mozilla-embed-persist.cpp: Emit "cancelled" signal when the download is cancelled.
* Add debug output.Christian Persch2004-02-291-0/+10
| | | | | | | | | 2004-02-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-event.cpp: (mozilla_embed_event_init), (mozilla_embed_event_finalize), (mozilla_embed_event_set_property): Add debug output.
* Decode RFC 2231 and RFC 2047 encoded filenames in content-dispositionChristian Persch2004-02-291-0/+40
| | | | | | | | | | 2004-02-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyHeaderSniffer.cpp: (PerformSave): Decode RFC 2231 and RFC 2047 encoded filenames in content-disposition headers. Ported from mozilla Camino, see http://bugzilla.mozilla.org/show_bug.cgi?id=233798 .
* Add debug output.Christian Persch2004-02-291-1/+5
| | | | | | | | 2004-02-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: (MozDownload), (~MozDownload): Add debug output.
* Fix max size logic, thanks to chpe.Marco Pesenti Gritti2004-02-291-2/+2
| | | | | | | | 2004-02-29 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/MozDownload.cpp: Fix max size logic, thanks to chpe.
* Use getInterface to get the dom window from the docshell, notMarco Pesenti Gritti2004-02-282-21/+12
| | | | | | | | | | | | | | | | 2004-02-28 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/ContentHandler.cpp: Use getInterface to get the dom window from the docshell, not queryInterface. (Bug #121160) * embed/mozilla/MozillaPrivate.cpp: Do not fallback to the active window if the parent cannot be found. It just hides problems and cause more annoying behaviors (like dialogs parented on the wrong window).
* Remove an useless check.Marco Pesenti Gritti2004-02-282-12/+1
| | | | | | | | | | | | | 2004-02-27 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Remove an useless check. * lib/ephy-state.c: (ephy_state_window_set_size): Make sure window is never bigger than screen.
* Fix for gtk+ filechooser API change.Christian Persch2004-02-271-7/+14
| | | | | | | | | | | 2004-02-27 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/FilePicker.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_init), (ephy_file_chooser_new): * src/prefs-dialog.c: (prefs_download_path_button_clicked_cb): Fix for gtk+ filechooser API change.
* Make max size property use long / bytes.Marco Pesenti Gritti2004-02-257-18/+31
| | | | | | | | | | | | | | | | | | | | | | | 2004-02-25 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed-persist.c: (ephy_embed_persist_set_max_size), (ephy_embed_persist_set_property), (ephy_embed_persist_get_property), (ephy_embed_persist_init), (ephy_embed_persist_class_init): * embed/ephy-embed-persist.h: Make max size property use long / bytes. * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): Correct to use bytes. * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-embed-persist.cpp: Actually respect the max_size property.
* Unescape filenames whenever possible.Xan Lopez2004-02-251-2/+13
| | | | Unescape filenames whenever possible.
* Add $ markersChristian Persch2004-02-221-0/+1
|
* Actually remove nsUnicharUtils.*Marco Pesenti Gritti2004-02-212-18/+11
| | | | | | | | | | | | | | | | | 2004-02-21 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/Makefile.am: Actually remove nsUnicharUtils.* * embed/mozilla/mozilla-embed-persist.cpp: Use our helper to construct tmp file name: fix security issue. * src/window-commands.c: (save_temp_source): Cosmetic change
* R embed/mozilla/nsUnicharUtils.h: R embed/mozilla/nsUnicharUtils.cpp:Christian Persch2004-02-214-511/+46
| | | | | | | | | | | | | 2004-02-20 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: * embed/mozilla/EphyBrowser.cpp: R embed/mozilla/nsUnicharUtils.h: R embed/mozilla/nsUnicharUtils.cpp: Adapt to changed mozilla string APIs by getting rid of nsUnicharUtils, and using EqualsIgnoreCase instead of Equal with nsCaseInsensitiveStringComparator().
* s/IFace/Iface/g to match the gtk+ naming convention.Christian Persch2004-02-2017-125/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-20 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_get_type), (ephy_cookie_manager_base_init), (ephy_cookie_manager_list_cookies), (ephy_cookie_manager_remove_cookie), (ephy_cookie_manager_clear): * embed/ephy-cookie-manager.h: * embed/ephy-embed-event.c: (ephy_embed_event_get_type), (ephy_embed_event_get_event_type), (ephy_embed_event_get_context), (ephy_embed_event_get_modifier), (ephy_embed_event_get_coords), (ephy_embed_event_get_property), (ephy_embed_event_has_property), (ephy_embed_event_get_dom_event): * embed/ephy-embed-event.h: * embed/ephy-embed-single.c: (ephy_embed_single_get_type), (ephy_embed_single_iface_init), (ephy_embed_single_clear_cache), (ephy_embed_single_clear_auth_cache), (ephy_embed_single_set_offline_mode), (ephy_embed_single_load_proxy_autoconf), (ephy_embed_single_get_font_list): * embed/ephy-embed-single.h: * embed/ephy-embed.c: (ephy_embed_get_type), (ephy_embed_base_init), (ephy_embed_load_url), (ephy_embed_stop_load), (ephy_embed_can_go_back), (ephy_embed_can_go_forward), (ephy_embed_can_go_up), (ephy_embed_get_go_up_list), (ephy_embed_go_back), (ephy_embed_go_forward), (ephy_embed_go_up), (ephy_embed_get_title), (ephy_embed_get_location), (ephy_embed_get_link_message), (ephy_embed_get_js_status), (ephy_embed_reload), (ephy_embed_zoom_set), (ephy_embed_zoom_get), (ephy_embed_shistory_n_items), (ephy_embed_shistory_get_nth), (ephy_embed_shistory_get_pos), (ephy_embed_shistory_go_nth), (ephy_embed_get_security_level), (ephy_embed_find_set_properties), (ephy_embed_find_next), (ephy_embed_activate), (ephy_embed_set_encoding), (ephy_embed_get_encoding_info), (ephy_embed_print), (ephy_embed_print_preview_close), (ephy_embed_print_preview_n_pages), (ephy_embed_print_preview_navigate), (ephy_embed_has_modified_forms): * embed/ephy-embed.h: * embed/ephy-password-manager.c: (ephy_password_manager_get_type), (ephy_password_manager_add), (ephy_password_manager_remove), (ephy_password_manager_list): * embed/ephy-password-manager.h: * embed/ephy-permission-manager.c: (ephy_permission_manager_get_type), (ephy_permission_manager_base_init), (ephy_permission_manager_add), (ephy_permission_manager_remove), (ephy_permission_manager_clear), (ephy_permission_manager_test), (ephy_permission_manager_list): * embed/ephy-permission-manager.h: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: s/IFace/Iface/g to match the gtk+ naming convention.
* Don't use #if inside a macro. Fixe compilation with gcc 3.2.2.Christian Persch2004-02-161-4/+2
| | | | | | | | 2004-02-16 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GlobalHistory.cpp: Don't use #if inside a macro. Fixe compilation with gcc 3.2.2.
* Make it work (TM).Christian Persch2004-02-161-5/+13
| | | | | | | | 2004-02-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/FilePicker.cpp: (::AppendFilter): Make it work (TM).
* Weak ref the real dialogue, and hide the dialogue after running it. FixesChristian Persch2004-02-161-2/+47
| | | | | | | | | | | 2004-02-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/FilePicker.cpp: (::Show), (::GFilePicker), (::~GFilePicker): Weak ref the real dialogue, and hide the dialogue after running it. Fixes interaction with nsIFilePicker lifecycle when shown from javascript.
* Prepare for 1.1.8Marco Pesenti Gritti2004-02-151-10/+0
| | | | | | | | | | | | | | 2004-02-15 Marco Pesenti Gritti <marco@gnome.org> * NEWS: * configure.in: Prepare for 1.1.8 * embed/downloader-view.c: (downloader_view_build_ui): Revert the timeout for now, I dont think it's mature for the release.
* Several types are actually safe.Marco Pesenti Gritti2004-02-142-10/+27
| | | | | | | | | | | | | | | 2004-02-13 Marco Pesenti Gritti <marco@gnome.org> * data/mime-types-permissions.xml: Several types are actually safe. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Change the safe/unsafe logic to not consider unkown files unsafe, they will not be opened anyway. Cleanups.
* Safety check.Christian Persch2004-02-131-1/+2
| | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (download_dialog_abort_cb): Safety check.
* Use static_cast<>, don't cast directly.Christian Persch2004-02-131-1/+1
| | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: (mozilla_embed_security_change_cb): Use static_cast<>, don't cast directly.
* Unify fallback downloads dir to get the home directory.Christian Persch2004-02-131-4/+0
| | | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: * src/prefs-dialog.c: (get_download_button_label): Unify fallback downloads dir to get the home directory.
* Don't insist on a parent for the dialogue; because there isn't one when weChristian Persch2004-02-132-3/+2
| | | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSDialogs.cpp: Don't insist on a parent for the dialogue; because there isn't one when we try to load a favicon over https: at startup.
* Fix numerous places where we weren't properly converting between UTF-8 andChristian Persch2004-02-135-31/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-popup-control.c: (save_url), (embed_popup_set_image_as_background_cmd): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get_type), (ephy_favicon_cache_class_init), (favicon_name_build), (favicon_download_completed_cb), (ephy_favicon_cache_get): * embed/mozilla/FilePicker.cpp: * embed/mozilla/MozDownload.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_set_persist_key): * lib/ephy-file-helpers.c: (ephy_file_downloads_dir): * src/popup-commands.c: (popup_cmd_set_image_as_background): * src/prefs-dialog.c: (get_download_button_label), (download_path_response_cb): Fix numerous places where we weren't properly converting between UTF-8 and filename encoding. * embed/ephy-favicon-cache.c: Bump favicon cache xml version. * embed/mozilla/EphyHeaderSniffer.cpp: Fix mem leak, and use CONF_STATE_SAVE_DIR instead of the download dir key for directory persistence.
* 2004-02-12 Christian Persch <chpe@cvs.gnome.org>Christian Persch2004-02-131-2/+3
| | | | | | * lib/ephy-node-db.c: (ephy_node_db_write_to_xml_valist): * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf):
* Depend on libxml2 >= 2.6.6 because of bug #133298 and bug # 131548.Christian Persch2004-02-131-1/+1
| | | | | | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * configure.in: Depend on libxml2 >= 2.6.6 because of bug #133298 and bug # 131548. * src/ephy-main.c: (main): Use LIBXML_TEST_VERSION to check for API compatibility.
* Fix compilation with mozilla 1.4.Christian Persch2004-02-131-1/+1
| | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GlobalHistory.cpp: Fix compilation with mozilla 1.4.
* Adapt to the ever-changing mozilla APIs.Christian Persch2004-02-124-29/+117
| | | | | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GlobalHistory.h: * embed/mozilla/MozRegisterComponents.cpp: Adapt to the ever-changing mozilla APIs.
* When open is explicitly requested from the dialog use a tmp file.Marco Pesenti Gritti2004-02-121-4/+15
| | | | | | | | | 2004-02-12 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/ContentHandler.cpp: When open is explicitly requested from the dialog use a tmp file.
* Added timeout so that dialog won't disappear before 5 seconds is over.Chris Lahey2004-02-121-2/+67
| | | | | | | | 2004-02-11 Chris Lahey <clahey@rigger.boston.ximian.com> * embed/downloader-view.c: Added timeout so that dialog won't disappear before 5 seconds is over. Made Pause/Resume button update label properly.
* Put the serial numbers in duplicated filenames just before the last dot soXan Lopez2004-02-121-7/+27
| | | | | | | * embed/mozilla/MozDownload.cpp: Put the serial numbers in duplicated filenames just before the last dot so we won't confuse apps like file-roller.
* Make columns resizableMarco Pesenti Gritti2004-02-121-4/+3
| | | | | | | | 2004-02-11 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: (downloader_view_build_ui): Make columns resizable
* Pass the property id to the changed signal.Marco Pesenti Gritti2004-02-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-11 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-node.c: (callback), (child_changed), (ephy_node_set_property): Pass the property id to the changed signal. * lib/ephy-node.h: Cleanup. * embed/ephy-history.c: (hosts_changed_cb), (pages_changed_cb): * lib/widgets/ephy-location-entry.c: (completion_func): * lib/widgets/ephy-tree-model-node.c: (root_child_changed_cb): * src/bookmarks/ephy-bookmark-action.c: (bookmarks_child_changed_cb): * src/bookmarks/ephy-bookmarks-menu.c: (topic_child_changed_cb): * src/bookmarks/ephy-topic-action.c: (topic_child_changed_cb): * src/ephy-completion-model.c: (root_child_changed_cb): * src/ephy-location-action.c: (actions_child_changed_cb): Fixup changed signals signature. * src/bookmarks/ephy-bookmarks.c: (update_bookmark_keywords), (bookmarks_changed_cb), (bookmark_is_categorized), (topics_removed_cb), (ephy_bookmarks_set_keyword), (ephy_bookmarks_unset_keyword): Cleanup keywords building, normalize and case fold it, add the title words as keywords too.
* Fix mem leaks.Christian Persch2004-02-111-0/+3
| | | | | | | | 2004-02-11 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-persist.cpp: (impl_save): Fix mem leaks.
* Include config.h.Christian Persch2004-02-091-0/+4
| | | | | | | | | 2004-02-09 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: * embed/ephy-embed-popup-control.c: Include config.h.
* Remove trailing / in invocation of mkdir, since it's unneeded and notChristian Persch2004-02-081-1/+1
| | | | | | | | | 2004-02-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_init): Remove trailing / in invocation of mkdir, since it's unneeded and not portable. Patch by Julio M. Merino Vidal, fixes bug 133738.
* Excise old galeon 1, non ported, defined-out code.Christian Persch2004-02-071-4/+0
| | | | | | | | 2004-02-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Excise old galeon 1, non ported, defined-out code.
* David Bordoley <bordoley@msu.edu>Biggest Flake Ever2004-02-051-0/+2
| | | | | | | | | | | 2004-02-04 Biggest Flake Ever <flake@whataflake.com> David Bordoley <bordoley@msu.edu> * embed/downloader-view.c: (downloader_view_new): * src/prefs-dialog.c: (setup_add_language_dialog): Use a default width/height for dialogs with tree views that don't have a fixed requisition.
* Add a space after period, fixes bug #133151.Christian Persch2004-02-021-1/+1
| | | | | | | | 2004-02-01 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler: Add a space after period, fixes bug #133151.
* Activating the status icon should only show it (HIG says so). Also set theXan Lopez2004-02-011-9/+2
| | | | | | | | * embed/downloader-view.c: (status_icon_activated), (downloader_view_build_ui): Activating the status icon should only show it (HIG says so). Also set the downloader view to BROSWE mode.
* Don't try to g_free a nsCOMPtr<>, and use nsMemory::Free for the mMimeTypeChristian Persch2004-01-311-2/+1
| | | | | | | | | 2004-01-30 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: Don't try to g_free a nsCOMPtr<>, and use nsMemory::Free for the mMimeType string.
* Fix mem leak.Christian Persch2004-01-301-2/+3
| | | | | | | | 2004-01-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyHeaderSniffer.cpp: Fix mem leak.
* Fix mem leak.Christian Persch2004-01-291-0/+1
| | | | | | | | 2004-01-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: Fix mem leak.
* Fix mem leak.Christian Persch2004-01-291-7/+6
| | | | | | | | 2004-01-29 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (update_download_row): Fix mem leak.
* Fix encodign conversion of "Untitled" filename suggestion. Fixes bugChristian Persch2004-01-291-1/+1
| | | | | | | | | 2004-01-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyHeaderSniffer.cpp: Fix encodign conversion of "Untitled" filename suggestion. Fixes bug #132822.
* Make sure to not initialize EphyBrowser multiple times.Marco Pesenti Gritti2004-01-272-1/+7
| | | | | | | | | | 2004-01-27 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: Make sure to not initialize EphyBrowser multiple times.
* Fix mem leak.Christian Persch2004-01-271-0/+2
| | | | | | | | 2004-01-26 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-download.c: (ephy_download_get_name): Fix mem leak.
* Fix mem leak.Christian Persch2004-01-271-3/+4
| | | | | | | | 2004-01-26 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (update_download_row): Fix mem leak.
* Fix mem leak.Christian Persch2004-01-271-0/+1
| | | | | | | | 2004-01-26 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (update_download_row): Fix mem leak.
* *** empty log message ***Marco Pesenti Gritti2004-01-261-1/+10
|
* Correct a translator name.Marco Pesenti Gritti2004-01-261-1/+5
| | | | | | | | | | | | | | | | | | 2004-01-25 Marco Pesenti Gritti <marco@gnome.org> * NEWS: Correct a translator name. * embed/mozilla/ContentHandler.cpp: Really cancel the download when the user told so. * lib/ephy-dialog.c: (setup_default_size), (ephy_dialog_run), (ephy_dialog_init), (ephy_dialog_set_property), (ephy_dialog_get_property), (ephy_dialog_class_init): Add default width/height properties.
* Include nsIMIMEInfo.h to fix compilation with mozilla 1.4.Christian Persch2004-01-261-0/+1
| | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.h: Include nsIMIMEInfo.h to fix compilation with mozilla 1.4.
* Fix mem leak.Christian Persch2004-01-261-0/+2
| | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_finalize): Fix mem leak.
* Fix mem leak.Christian Persch2004-01-251-0/+1
| | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-notifiers.cpp: Fix mem leak.
* Fix mem leak.Christian Persch2004-01-251-1/+3
| | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (remove_obsolete_icons): Fix mem leak.
* Add a way to get the downloads dir with a comment for translators. Use dirMarco Pesenti Gritti2004-01-251-2/+2
| | | | | | | | | | | | | | | | | | | 2004-01-25 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-file-helpers.c: (ephy_file_tmp_dir), (ephy_file_downloads_dir): * lib/ephy-file-helpers.h: Add a way to get the downloads dir with a comment for translators. Use dir instead of directory consistently with the other functions. * embed/mozilla/MozDownload.cpp: * src/prefs-dialog.c: (get_download_button_label): * src/window-commands.c: (save_temp_source): Use the helper.
* When checking forms for modifications, handle correctly text entries withChristian Persch2004-01-251-2/+14
| | | | | | | | | | 2004-01-24 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: When checking forms for modifications, handle correctly text entries with default value longer than maxlength. Mozilla bug #232057.
* Prepare for 1.1.4Marco Pesenti Gritti2004-01-241-2/+6
| | | | | | | | | | | | | 2004-01-24 Marco Pesenti Gritti <marco@gnome.org> * NEWS: * configure.in: Prepare for 1.1.4 * embed/mozilla/ContentHandler.cpp: Fix Save As from download dialog
* Add a persist-position property.Marco Pesenti Gritti2004-01-242-3/+13
| | | | | | | | | | | | | | | | | | | | 2004-01-24 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-dialog.c: (setup_default_size), (ephy_dialog_init), (ephy_dialog_set_property), (ephy_dialog_get_property), (ephy_dialog_class_init): Add a persist-position property. * embed/downloader-view.c: (downloader_view_new): Persist downloader position. * src/prefs-dialog.c: (get_download_button_label): * embed/mozilla/MozDownload.cpp: * data/epiphany.schemas.in: Default to ~/Desktop/Downloads.
* Allow passing the translation domain to ephy_dialog_construct, to makeChristian Persch2004-01-244-9/+20
| | | | | | | | | | | | | | | | | | | | | 2004-01-23 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_build_ui): * embed/find-dialog.c: (find_dialog_init): * embed/mozilla/GtkNSSDialogs.cpp: * embed/print-dialog.c: (ephy_print_dialog_new), (ephy_print_setup_dialog_new): * lib/ephy-dialog.c: (impl_construct), (ephy_dialog_construct): * lib/ephy-dialog.h: * lib/ephy-glade.c: (ephy_glade_widget_new): * lib/ephy-glade.h: * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/pdm-dialog.c: (pdm_dialog_init): * src/prefs-dialog.c: (setup_add_language_dialog), (prefs_dialog_init): Allow passing the translation domain to ephy_dialog_construct, to make extension's dialogues translatable. Fix all callers.
* Make Cancel safe against non active downloads.Xan Lopez2004-01-231-0/+6
| | | | | | * embed/mozilla/MozDownload.cpp: Make Cancel safe against non active downloads.
* Use both BYPASS_CACHE and BYPASS_PROXY on force-reload. Unified theChristian Persch2004-01-232-14/+4
| | | | | | | | | | | | | 2004-01-23 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/window-commands.c: (window_cmd_view_reload): Use both BYPASS_CACHE and BYPASS_PROXY on force-reload. Unified the handling in mozilla-embed by introducing EMBED_RELOAD_FORCE, and killed EMBED_RELOAD_BYPASS_[CACHE|PROXY] since we now always use both together.
* Updated encodings listChristian Persch2004-01-231-2/+1
|
* data: urls can be opened in new tabs too.Christian Persch2004-01-231-0/+1
| | | | | | | | | 2004-01-22 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: * src/ephy-tab.c: (address_has_web_scheme): data: urls can be opened in new tabs too.
* Work around a bug in mozilla where 0xa0 (NBSP) are converted to spaces, soChristian Persch2004-01-231-2/+8
| | | | | | | | | | 2004-01-22 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Work around a bug in mozilla where 0xa0 (NBSP) are converted to spaces, so we think that the element is modified when in fact it's not. (Thanks to Crispin).
* *** empty log message ***Marco Pesenti Gritti2004-01-222-3/+11
|
* Call ephy_file() explicitly for each glade file, letting extensions load ↵Adam Hooper2004-01-224-5/+9
| | | | glade files from any path
* Destroy filepicker once it's done. I dunno about much more bugs so pleaseMarco Pesenti Gritti2004-01-221-0/+4
| | | | | | | | | 2004-01-21 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/ContentHandler.cpp: Destroy filepicker once it's done. I dunno about much more bugs so please report now ;)
* Use ngettext for number of downloads and remaining minutes display in thePiers Cornwell2004-01-211-7/+30
| | | | | | | | | | 2004-01-21 Piers Cornwell <piers@myrealbox.com> * embed/downloader-view.c: (update_status_icon), (downloader_view_remove_download): Use ngettext for number of downloads and remaining minutes display in the tooltip of the tray icon.
* about: can be opened in new tab too.Christian Persch2004-01-211-3/+4
| | | | | | | | | 2004-01-21 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: * src/ephy-tab.c: (address_has_web_scheme): about: can be opened in new tab too.
* Re-enable fonts language font filtering, fixes bug #128814Christian Persch2004-01-211-1/+1
| | | | | | | | 2004-01-21 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Re-enable fonts language font filtering, fixes bug #128814
* Make uri canonical before passing it as launch argument to make vfs happy.Marco Pesenti Gritti2004-01-202-4/+6
| | | | | | | | | | | | | | 2004-01-19 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/MozDownload.cpp: Make uri canonical before passing it as launch argument to make vfs happy. * lib/eel-gconf-extensions.c: (eel_gconf_set_path): Do not mix utf8/locale. Thanks to chpe to notice it.
* Add a way to store paths.Marco Pesenti Gritti2004-01-194-174/+104
| | | | | | | | | | | | | | | | | | | | | | | | 2004-01-19 Marco Pesenti Gritti <marco@gnome.org> * lib/eel-gconf-extensions.c: (tilde_compress), (eel_gconf_set_path): * lib/eel-gconf-extensions.h: Add a way to store paths. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Actually save the file in downloads dir and then open it. It doesnt seem to open it but it's prolly a gnome-vfs bug. * src/prefs-dialog.c: (get_download_button_label), (download_path_response_cb): Simplify the label logic using ~.
* *** empty log message ***Marco Pesenti Gritti2004-01-193-153/+152
|
* We need to use do_QueryInterface to get from the nsIDOM[Key|Mouse]Event toChristian Persch2004-01-191-15/+20
| | | | | | | | | | 2004-01-18 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: We need to use do_QueryInterface to get from the nsIDOM[Key|Mouse]Event to the nsIDOMEvent, not just cast it.
* Use g_signal_connect_object to connect the embed signals, that way they'reChristian Persch2004-01-171-86/+56
| | | | | | | | | | | 2004-01-17 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: * src/ephy-tab.c: (ephy_tab_init): Use g_signal_connect_object to connect the embed signals, that way they're disconnected before the tab object is finalised. Should fix crasher bug #131635.
* Make EphyEmbedEvent abstract, implemented by MozillaEmbedEvent. PortChristian Persch2004-01-168-146/+377
| | | | | | | | | | | | | | | | | | | | | | | | 2004-01-15 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-event.c: (ephy_embed_event_get_type), (ephy_embed_event_base_init), (ephy_embed_event_get_event_type), (ephy_embed_event_get_context), (ephy_embed_event_get_modifier), (ephy_embed_event_get_coords), (ephy_embed_event_get_property), (ephy_embed_event_has_property), (ephy_embed_event_get_dom_event): * embed/ephy-embed-event.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-event.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-window.c: (popup_menu_at_coords): * src/popup-commands.c: (popup_cmd_copy_link_address): Make EphyEmbedEvent abstract, implemented by MozillaEmbedEvent. Port callers to the new api. Fix some callers in src/ which were using private fields of EphyEmbedEvent struct.
* Let the user decide about what to do with automatic dialogs.Xan Lopez2004-01-152-3/+123
| | | | | | | * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Let the user decide about what to do with automatic dialogs.
* Get the page content into a string.Christian Persch2004-01-143-2/+60
| | | | | | | | | | 2004-01-14 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-persist.c: (ephy_embed_persist_to_string): * embed/ephy-embed-persist.h: * embed/mozilla/mozilla-embed-persist.cpp: Get the page content into a string.
* Allow to show/hide downloader clicking on tray icon. Fixes #131012.Xan Lopez2004-01-141-1/+8
| | | | | | | * embed/downloader-view.c: (status_icon_activated): Allow to show/hide downloader clicking on tray icon. Fixes #131012.
* Add accelerator to Pause/Resume button.Christian Persch2004-01-131-2/+2
| | | | | | | | 2004-01-12 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (download_dialog_pause_cb): Add accelerator to Pause/Resume button.
* Default history to "enabled".Christian Persch2004-01-131-0/+3
| | | | | | | | | 2004-01-12 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_set_enabled), (ephy_history_init): Default history to "enabled".
* Forgot thisChristian Persch2004-01-131-0/+1
|
* Only allow "Open in New Tab/Window" for certain protocols.Christian Persch2004-01-131-0/+27
| | | | | | | | | | | | 2004-01-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * src/ephy-tab.c: (address_has_web_scheme): * src/ephy-window.c: (show_embed_popup): Only allow "Open in New Tab/Window" for certain protocols.
* Implement print and print setup disabling for lockdown mode.Christopher James Lahey2004-01-111-19/+37
| | | | | | | | | | | | 2004-01-10 Christopher James Lahey <clahey@ximian.com> * embed/mozilla/PrintingPromptService.cpp: * lib/ephy-prefs.h: * src/ephy-main.c: (main): * src/ephy-window.c: (update_actions), (ephy_window_init), (ephy_window_finalize), (ephy_window_print): Implement print and print setup disabling for lockdown mode.
* Adapt to the ever-changing mozilla API.Christian Persch2004-01-112-7/+24
| | | | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * configure.in: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EventContext.cpp: Adapt to the ever-changing mozilla API.
* Include config.hChristian Persch2004-01-111-0/+4
|
* Implement history disabling.Christian Persch2004-01-112-29/+143
| | | | | | | | | | | | | | | | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_get_type), (ephy_history_set_enabled), (ephy_history_set_property), (ephy_history_get_property), (ephy_history_class_init), (page_removed_from_host_cb), (disable_history_notifier), (ephy_history_init), (ephy_history_finalize), (ephy_history_new), (ephy_history_get_host), (ephy_history_visited), (ephy_history_add_page), (ephy_history_set_page_title), (ephy_history_clear), (ephy_history_is_enabled): * embed/ephy-history.h: * lib/ephy-node-db.c: (ephy_node_db_get_property), (ephy_node_db_set_property), (ephy_node_db_set_immutable): * lib/ephy-node-db.h: * lib/ephy-prefs.h: * src/bookmarks/ephy-bookmarks.c: (clear_favorites), (history_cleared_cb), (ephy_setup_history_notifiers): Implement history disabling.
* 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.