aboutsummaryrefslogtreecommitdiffstats
path: root/embed
Commit message (Collapse)AuthorAgeFilesLines
...
* Try to fix the build.Christian Persch2004-12-192-4/+3
| | | | | | | | | 2004-12-19 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/FilePicker.cpp: Try to fix the build.
* Fix the build.Christian Persch2004-12-191-1/+1
| | | | | | | | | 2004-12-19 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): * src/ephy-window.c: Fix the build.
* Fix a mem leakChristian Persch2004-12-191-4/+6
|
* Mozilla API change.Christian Persch2004-12-191-0/+16
| | | | | | | | | 2004-12-19 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/MozDownload.cpp: Mozilla API change.
* Make sure we don't have any app-modal dialogues. Fixes bug #110479.Christian Persch2004-12-195-24/+81
| | | | | | | | | | | | | | | | | | | | 2004-12-18 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_new): * lib/ephy-gui.c: (ephy_gui_ensure_window_group), (ephy_gui_confirm_overwrite_file): * lib/ephy-gui.h: * src/bookmarks/ephy-bookmarks-editor.c: (delete_topic_dialog_construct), (ephy_bookmarks_editor_construct): * src/ephy-window.c: (ephy_window_init): * src/pdm-dialog.c: (show_cookies_properties): Make sure we don't have any app-modal dialogues. Fixes bug #110479.
* Disable Zoom items for images, and disable zoom, encoding and view sourceChristian Persch2004-12-195-5/+99
| | | | | | | | | | | | | | | | | | | | | | 2004-12-18 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_chrome_get_type), (ephy_embed_document_type_get_type), (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-tab.c: (ephy_tab_set_property), (ephy_tab_get_property), (ephy_tab_class_init), (ephy_tab_get_document_type), (ephy_tab_document_type_cb), (ephy_tab_init): * src/ephy-tab.h: * src/ephy-window.c: (sync_tab_document_type), (sync_tab_zoom), (ephy_window_set_active_tab): * src/toolbar.c: (toolbar_update_zoom): * src/toolbar.h: Disable Zoom items for images, and disable zoom, encoding and view source for images and xml (xul) documents. Fixes bug #132240.
* Implement context menu on tray icon, as per HIG. Fixes bug #152903.Christian Persch2004-12-171-3/+33
| | | | | | | | | | | | | | | | | | 2004-12-16 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (show_downloader_cb), (status_icon_popup_menu_cb), (show_status_icon): * lib/egg/eggstatusicon.c: (egg_status_icon_class_init), (egg_status_icon_init), (egg_status_icon_finalize), (emit_activate_signal), (emit_popup_menu_signal), (egg_status_icon_size_allocate), (egg_status_icon_button_press), (egg_status_icon_set_tooltip): * lib/egg/eggstatusicon.h: * lib/ephy-gui.c: (ephy_gui_menu_position_under_widget), (ephy_gui_menu_position_on_panel): * lib/ephy-gui.h: Implement context menu on tray icon, as per HIG. Fixes bug #152903.
* Check the encodings before we set the mozilla pref. From bug #150266.Christian Persch2004-12-172-26/+76
| | | | | | | | | 2004-12-16 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-notifiers.cpp: * embed/mozilla/mozilla-notifiers.h: Check the encodings before we set the mozilla pref. From bug #150266.
* Quote app name.Christian Persch2004-12-161-2/+2
| | | | | | | | 2004-12-16 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: Quote app name.
* Disable search. Fixes bug #157157.Christian Persch2004-12-161-0/+2
| | | | | | | | 2004-12-16 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_build_ui): Disable search. Fixes bug #157157.
* Add app name to primary text, too. Fixes bug #141327.Christian Persch2004-12-161-2/+4
| | | | | | | | 2004-12-16 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: Add app name to primary text, too. Fixes bug #141327.
* RemovedChristian Persch2004-12-161-60/+0
|
* Add stock icon to "Save As..." button.Christian Persch2004-12-161-3/+10
| | | | | | | | 2004-12-16 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: Add stock icon to "Save As..." button.
* Tell the user with which application we're going to open the content.Christian Persch2004-12-161-26/+32
| | | | | | | | | 2004-12-16 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: Tell the user with which application we're going to open the content. Fixes bug #141327.
* Get rid of ephy_string_[elide|double]_underscores(). Remove unnecessaryChristian Persch2004-12-142-3/+30
| | | | | | | | | | | | | | | | | | | | | | 2004-12-13 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-encodings.c: (elide_underscores), (add_encoding): * embed/mozilla/FilePicker.cpp: * lib/ephy-dnd.c: * lib/ephy-node.c: * lib/ephy-string.c: (ephy_string_blank_chr): * lib/ephy-string.h: * lib/widgets/ephy-node-view.c: * src/ephy-encoding-menu.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-statusbar.c: * src/ephy-tab.c: (ephy_tab_set_title): * src/ephy-tabs-menu.c: (connect_proxy_cb): * src/ppview-toolbar.c: Get rid of ephy_string_[elide|double]_underscores(). Remove unnecessary ephy-string.h includes.
* Back out the fix for bug #158466, it's wrong.Christian Persch2004-12-131-2/+1
| | | | | | | | 2004-12-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: Back out the fix for bug #158466, it's wrong.
* Fix typo.Christian Persch2004-12-041-1/+1
| | | | | | | | 2004-12-04 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/Makefile.am: Fix typo.
* Don't use NS_LITERAL_CSTRING.Christian Persch2004-12-031-1/+1
| | | | | | | | 2004-12-02 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyHistoryListener.cpp: Don't use NS_LITERAL_CSTRING.
* Remove FIXME commentChristian Persch2004-12-021-1/+0
|
* Update bookmarks from HTTP 301. Fixes bug #126312.Christian Persch2004-12-029-8/+274
| | | | | | | | | | | | | | | | | | | | 2004-12-02 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_class_init): * embed/ephy-history.h: * embed/mozilla/EphyHistoryListener.cpp: * embed/mozilla/EphyHistoryListener.h: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GlobalHistory.h: * embed/mozilla/Makefile.am: * src/bookmarks/ephy-bookmarks.c: (redirect_cb), (ephy_setup_history_notifiers): * src/ephy-window.c: (confirm_close_with_modified_forms), (ensure_window_group), (ephy_window_init): Update bookmarks from HTTP 301. Fixes bug #126312.
* Remove cruft.Christian Persch2004-12-011-31/+0
| | | | | | | | 2004-12-01 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/Makefile.am: Remove cruft.
* Add deprecated defines to AM_CPPFLAGS in maintainer-mode.Christian Persch2004-12-012-62/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-01 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Add deprecated defines to AM_CPPFLAGS in maintainer-mode. * doc/reference/Makefile.am: * embed/Makefile.am: * embed/mozilla/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * lib/egg/eggintl.h: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: INCLUDES is deprecated, use AM_CPPFLAGS and AM_CFLAGS instead. * lib/eel-gconf-extensions.c: (eel_gconf_client_get_global): Removed usage of deprecated gconf API. * src/ephy-main.c: (main): Removed usage of deprecated glade API.
* reviewed by: Christian Persch <chpe@cvs.gnome.org>Marco Pesenti Gritti2004-11-261-0/+1
| | | | | | | | | | | | | | | | | | 2004-11-25 Marco Pesenti Gritti <marco@gnome.org> reviewed by: Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Fix build out of src directory. * src/window-commands.c: (editor_open_uri), (window_cmd_view_page_source): Rework the code to not use deprecated API.
* Adapt to changing mozilla API here.Christian Persch2004-11-251-5/+45
| | | | | | | | | 2004-11-24 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: Adapt to changing mozilla API here.
* Lowercase the lang codes.Christian Persch2004-11-251-1/+1
| | | | | | | | 2004-11-24 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-notifiers.cpp: Lowercase the lang codes.
* Fix string comparisions.Christian Persch2004-11-231-8/+8
| | | | | | | | 2004-11-22 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Fix string comparisions.
* Fix missing 'else if' and a superflous failure check.Christian Persch2004-11-231-3/+1
| | | | | | | | 2004-11-22 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Fix missing 'else if' and a superflous failure check.
* Add version markerChristian Persch2004-11-211-0/+1
|
* Don't include print-dialog.h in EphyUtils.h.Christian Persch2004-11-213-4/+7
| | | | | | | | | | 2004-11-21 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: * embed/print-dialog.h: Don't include print-dialog.h in EphyUtils.h.
* Only build those files when we have mozilla psm.Christian Persch2004-11-204-18/+10
| | | | | | | | | | | | 2004-11-19 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/Makefile.am: Only build those files when we have mozilla psm.
* Use the dom window from the event.Christian Persch2004-11-201-1/+1
| | | | | | | | 2004-11-19 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Use the dom window from the event.
* Add --disable-filepicker to use when the mozilla build itself has nativeChristian Persch2004-11-202-5/+17
| | | | | | | | | | | 2004-11-19 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: Add --disable-filepicker to use when the mozilla build itself has native gtk+ filepicker.
* Add version markersChristian Persch2004-11-202-1/+2
|
* Fix opening of content when not downloading automatically. Fixes bugChristian Persch2004-11-181-2/+3
| | | | | | | | | 2004-11-18 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: Fix opening of content when not downloading automatically. Fixes bug #158466.
* Disallow favicon links from subframes.Christian Persch2004-11-182-16/+44
| | | | | | | | | 2004-11-18 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: Disallow favicon links from subframes.
* Include stdlib.h.Christian Persch2004-11-181-0/+2
| | | | | | | | 2004-11-17 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Include stdlib.h.
* Retain original uri.Christian Persch2004-11-181-0/+2
| | | | | | | | 2004-11-17 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyAboutRedirector.cpp: Retain original uri.
* Fix wrong certificate shown; Epiphany equivalent of galeon bug #158453.Christian Persch2004-11-183-55/+42
| | | | | | | | | | 2004-11-17 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Fix wrong certificate shown; Epiphany equivalent of galeon bug #158453.
* More cruft exorcised.Christian Persch2004-11-172-35/+4
| | | | | | | | | 2004-11-16 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: More cruft exorcised.
* Add a way to show the cert info dialogue for the page's certificate.Christian Persch2004-11-165-0/+62
| | | | | | | | | | | | 2004-11-16 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_show_page_certificate): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Add a way to show the cert info dialogue for the page's certificate.
* No need to include nsEmbedString.h.Christian Persch2004-11-161-3/+0
| | | | | | | | 2004-11-16 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-notifiers.cpp: No need to include nsEmbedString.h.
* Make mozilla_notifier_add return the connection ID, andChristian Persch2004-11-162-39/+23
| | | | | | | | | | 2004-11-16 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-notifiers.cpp: * embed/mozilla/mozilla-notifiers.h: Make mozilla_notifier_add return the connection ID, and mozilla_notifier_remove take that.
* Simplify the gconf -> mozilla prefs bridge.Christian Persch2004-11-163-537/+496
| | | | | | | | | | 2004-11-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/mozilla/mozilla-notifiers.h: Simplify the gconf -> mozilla prefs bridge.
* Save one strdup.Christian Persch2004-11-151-3/+1
| | | | | | | | 2004-11-14 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Save one strdup.
* Check favicon urls with script sec manager and content policy.Christian Persch2004-11-153-28/+75
| | | | | | | | | | 2004-11-14 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/Makefile.am: Check favicon urls with script sec manager and content policy.
* Fix includes.Christian Persch2004-11-141-0/+2
| | | | | | | | 2004-11-14 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.h: Fix includes.
* No need to make the content handler dialogue modal.Christian Persch2004-11-142-66/+67
| | | | | | | | | 2004-11-13 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: No need to make the content handler dialogue modal.
* Better fix for bug #158202, thanks to Christian Biesinger.Christian Persch2004-11-141-2/+1
| | | | | | | | 2004-11-13 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozillaPrivate.cpp: Better fix for bug #158202, thanks to Christian Biesinger.
* Remove last instances of gnome-i18n.h inclusion.Christian Persch2004-11-142-11/+10
| | | | | | | | | 2004-11-13 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: Remove last instances of gnome-i18n.h inclusion.
* Fix FMR. Fixes bug #158202.Christian Persch2004-11-141-2/+3
| | | | | | | | 2004-11-13 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozillaPrivate.cpp: Fix FMR. Fixes bug #158202.
* nsEmbedString.h now requires MOZILLA_STRICT_API define.Christian Persch2004-11-1418-0/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-13 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyAboutRedirector.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyHeaderSniffer.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/FilePicker.h: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: nsEmbedString.h now requires MOZILLA_STRICT_API define.
* Fix signed/unsigned int confusion when iterating over a GPtrArray.Christian Persch2004-11-111-1/+1
| | | | | | | | | | 2004-11-11 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (remove_obsolete_pages): * src/bookmarks/ephy-bookmarks.c: (clear_favorites): Fix signed/unsigned int confusion when iterating over a GPtrArray.
* Implement history deletion on per-site basis. Fixes bug #116609.Christian Persch2004-11-111-0/+26
| | | | | | | | | | | | 2004-11-11 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (remove_pages_from_host_cb), (connect_page_removed_from_host), (ephy_history_get_host): * src/ephy-history-window.c: (cmd_delete), (ephy_history_window_construct): * src/ephy-window.c: (ephy_window_fullscreen): Implement history deletion on per-site basis. Fixes bug #116609.
* Fix opening content with external content handlers.Christian Persch2004-11-101-16/+2
| | | | | | | | 2004-11-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: Fix opening content with external content handlers.
* Better wording on the "unable to trust" string. Fixes bug #127234.Christian Persch2004-11-091-1/+1
| | | | | | | | 2004-11-08 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSDialogs.cpp: Better wording on the "unable to trust" string. Fixes bug #127234.
* Use GtkMessageDialog here.Christian Persch2004-11-081-59/+36
| | | | | | | | 2004-11-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: Use GtkMessageDialog here.
* Show language code in the string in languages editor. Fixes bug #115355.Christian Persch2004-11-071-94/+21
| | | | | | | | | | | | | | 2004-11-07 Christian Persch <chpe@cvs.gnome.org> * data/epiphany.schemas.in: * embed/mozilla/mozilla-notifiers.cpp: * lib/ephy-langs.c: (ephy_font_n_languages), (ephy_langs_sanitise), (ephy_langs_append_languages), (ephy_langs_get_languages): * lib/ephy-langs.h: * src/prefs-dialog.c: (add_system_language_entry), (setup_add_language_dialog), (create_language_section): Show language code in the string in languages editor. Fixes bug #115355.
* We always have config.h, no need to guard its inclusion.Christian Persch2004-11-0343-86/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-02 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: * embed/ephy-command-manager.c: * embed/ephy-cookie-manager.c: * embed/ephy-download.c: * embed/ephy-embed-dialog.c: * embed/ephy-embed-event.c: * embed/ephy-embed-factory.c: * embed/ephy-embed-persist.c: * embed/ephy-embed-shell.c: * embed/ephy-embed-single.c: * embed/ephy-embed.c: * embed/ephy-encodings.c: * embed/ephy-favicon-cache.c: * embed/ephy-history.c: * embed/ephy-password-manager.c: * embed/ephy-permission-manager.c: * embed/find-dialog.c: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyAboutRedirector.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/print-dialog.c: * lib/eel-gconf-extensions.c: * lib/egg/egg-editable-toolbar.c: * lib/egg/egg-toolbars-model.c: * lib/ephy-debug.c: * lib/ephy-debug.h: * lib/ephy-dialog.c: * lib/ephy-dnd.c: * lib/ephy-file-chooser.c: * lib/ephy-file-helpers.c: * lib/ephy-glade.c: * lib/ephy-gui.c: * lib/ephy-langs.c: * lib/ephy-loader.c: * lib/ephy-module.c: * lib/ephy-node-db.c: * lib/ephy-node-filter.c: * lib/ephy-node.c: * lib/ephy-shlib-loader.c: * lib/ephy-state.c: * lib/ephy-stock-icons.c: * lib/ephy-string.c: * lib/ephy-zoom.c: * lib/widgets/ephy-location-entry.c: * lib/widgets/ephy-node-view.c: * lib/widgets/ephy-search-entry.c: * lib/widgets/ephy-spinner.c: * lib/widgets/ephy-tree-model-node.c: * lib/widgets/ephy-tree-model-sort.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-export.c: * src/bookmarks/ephy-bookmarks-import.c: * src/bookmarks/ephy-bookmarks-menu.c: * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-bookmarksbar-model.c: * src/bookmarks/ephy-bookmarksbar.c: * src/bookmarks/ephy-favorites-menu.c: * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-topic-action.c: * src/bookmarks/ephy-topics-selector.c: * src/ephy-automation.c: * src/ephy-completion-model.c: * src/ephy-encoding-dialog.c: * src/ephy-encoding-menu.c: * src/ephy-extension.c: * src/ephy-extensions-manager.c: * src/ephy-favicon-action.c: * src/ephy-go-action.c: * src/ephy-history-window.c: * src/ephy-location-action.c: * src/ephy-main.c: * src/ephy-navigation-action.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-shell.c: * src/ephy-statusbar.c: * src/ephy-tab.c: * src/ephy-tabs-menu.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/toolbar.c: * src/window-commands.c: We always have config.h, no need to guard its inclusion.
* Remove seconds remaining display from tooltip of tray icon. Fixes bugChristian Persch2004-11-011-49/+3
| | | | | | | | | 2004-11-01 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (update_status_icon): Remove seconds remaining display from tooltip of tray icon. Fixes bug #145955.
* Check for nsIDOMNSEvent::GetIsTrusted.Christian Persch2004-10-311-0/+2
| | | | | | | | | | | | | | | | 2004-10-30 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Check for nsIDOMNSEvent::GetIsTrusted. * embed/mozilla/EphyBrowser.cpp: Conditionally compile this code. * lib/ephy-marshal.list: Forgot to commit this.
* Add NULL checkChristian Persch2004-10-311-0/+1
|
* When showing a modal alert put up by a web page, switch the window to thatChristian Persch2004-10-314-0/+106
| | | | | | | | | | | | | | | 2004-10-30 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * src/ephy-window.c: (modal_alert_cb), (tab_added_cb), (tab_removed_cb): When showing a modal alert put up by a web page, switch the window to that tab.
* Print dialogue isn't an EphyEmbedDialog anymore, remove theChristian Persch2004-10-281-9/+1
| | | | | | | | 2004-10-27 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (ephy_print_dialog_new): Print dialogue isn't an EphyEmbedDialog anymore, remove the
* Private data is 0-initialised, no need to set members to NULL, 0, orChristian Persch2004-10-286-21/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-27 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-dialog.c: (ephy_embed_dialog_init): * embed/ephy-embed-persist.c: (ephy_embed_persist_init), (ephy_embed_persist_to_string): * embed/ephy-embed-shell.c: (ephy_embed_shell_init): * embed/find-dialog.c: (find_dialog_init): * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * lib/ephy-dialog.c: (ephy_dialog_set_modal), (ephy_dialog_init): * lib/ephy-file-chooser.c: (ephy_file_chooser_init): * lib/ephy-node-db.c: (ephy_node_db_init): * lib/widgets/ephy-node-view.c: (ephy_node_view_init): * lib/widgets/ephy-search-entry.c: (ephy_search_entry_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_init): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_init): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_init): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_init): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_init): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/ephy-encoding-menu.c: (ephy_encoding_menu_init): * src/ephy-favicon-action.c: (ephy_favicon_action_init): * src/ephy-location-action.c: (ephy_location_action_init): * src/ephy-notebook.c: (ephy_notebook_init): * src/ephy-session.c: (ephy_session_init): * src/ephy-shell.c: (ephy_shell_init): * src/ephy-tab.c: (ephy_tab_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_init): * src/ephy-window.c: (ephy_window_init): * src/pdm-dialog.c: (pdm_dialog_init): * src/ppview-toolbar.c: (ppview_toolbar_init): Private data is 0-initialised, no need to set members to NULL, 0, or FALSE.
* Use gtk_widget_get_settings on the EphyDialog's window, not on the dialogChristian Persch2004-10-271-1/+1
| | | | | | | | | 2004-10-26 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_add_download): Use gtk_widget_get_settings on the EphyDialog's window, not on the dialog itself.
* Use gtk_icon_size_lookup_for_settings() here.Christian Persch2004-10-251-1/+2
| | | | | | | | | | | | 2004-10-25 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_add_download): * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_get_images), (ephy_spinner_size_request): * src/ephy-notebook.c: (tab_label_style_set_cb): * src/window-commands.c: (window_cmd_help_about): Use gtk_icon_size_lookup_for_settings() here.
* Chain up to parent's dispose handler.Christian Persch2004-10-241-0/+2
| | | | | | | | | | 2004-10-23 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: (mozilla_embed_single_dispose): * lib/ephy-dialog.c: (ephy_dialog_dispose): * src/ephy-session.c: (ephy_session_dispose): Chain up to parent's dispose handler.
* Annotate "if (type == 0)" in get_type functions with G_UNLIKELY, like theChristian Persch2004-10-2421-81/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-23 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_get_type): * embed/ephy-command-manager.c: (ephy_command_manager_get_type): * embed/ephy-cookie-manager.c: (ephy_cookie_get_type), (ephy_cookie_manager_get_type): * embed/ephy-download.c: (ephy_download_get_type): * embed/ephy-embed-dialog.c: (ephy_embed_dialog_get_type): * embed/ephy-embed-event.c: (ephy_embed_event_get_type): * embed/ephy-embed-persist.c: (ephy_embed_persist_get_type): * embed/ephy-embed-shell.c: (ephy_embed_shell_get_type): * embed/ephy-embed-single.c: (ephy_embed_single_get_type): * embed/ephy-embed.c: (ephy_embed_get_type): * embed/ephy-encodings.c: (ephy_encodings_get_type): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get_type): * embed/ephy-history.c: (ephy_history_get_type): * embed/ephy-password-manager.c: (ephy_password_info_get_type), (ephy_password_manager_get_type): * embed/ephy-permission-manager.c: (ephy_permission_info_get_type), (ephy_permission_manager_get_type): * embed/find-dialog.c: (find_dialog_get_type): * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_get_type): * lib/egg/egg-toolbar-editor.c: (egg_toolbar_editor_get_type): * lib/egg/egg-toolbars-model.c: (egg_toolbars_model_get_type): * lib/ephy-dialog.c: (ephy_dialog_get_type): * lib/ephy-file-chooser.c: (ephy_file_chooser_get_type): * lib/ephy-loader.c: (ephy_loader_get_type): * lib/ephy-module.c: (ephy_module_get_type): * lib/ephy-node-db.c: (ephy_node_db_get_type): * lib/ephy-node-filter.c: (ephy_node_filter_get_type): * lib/ephy-shlib-loader.c: (ephy_shlib_loader_get_type): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_get_type): * lib/widgets/ephy-node-view.c: (ephy_node_view_get_type): * lib/widgets/ephy-search-entry.c: (ephy_search_entry_get_type): * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_get_type), (ephy_spinner_get_type): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_get_type): * lib/widgets/ephy-tree-model-sort.c: (ephy_tree_model_sort_get_type): * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_get_type): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_get_type): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_get_type): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_get_type): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_get_type): * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_get_type): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_type): * src/bookmarks/ephy-bookmarksbar-model.c: (ephy_bookmarksbar_model_get_type): * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_get_type): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_get_type): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_get_type): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_get_type): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_get_type): * src/ephy-completion-model.c: (ephy_completion_model_get_type): * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_get_type): * src/ephy-encoding-menu.c: (ephy_encoding_menu_get_type): * src/ephy-extension.c: (ephy_extension_get_type): * src/ephy-extensions-manager.c: (ephy_extensions_manager_get_type): * src/ephy-favicon-action.c: (ephy_favicon_action_get_type): * src/ephy-go-action.c: (ephy_go_action_get_type): * src/ephy-history-window.c: (ephy_history_window_get_type): * src/ephy-location-action.c: (ephy_location_action_get_type): * src/ephy-navigation-action.c: (ephy_navigation_action_get_type): * src/ephy-notebook.c: (ephy_notebook_get_type): * src/ephy-session.c: (ephy_session_get_type): * src/ephy-shell.c: (ephy_shell_get_type): * src/ephy-statusbar.c: (ephy_statusbar_get_type): * src/ephy-tab.c: (ephy_tab_get_type): * src/ephy-tabs-menu.c: (ephy_tabs_menu_get_type): * src/ephy-toolbars-model.c: (ephy_toolbars_model_get_type): * src/ephy-window.c: (ephy_window_get_type): * src/pdm-dialog.c: (pdm_dialog_get_type): * src/ppview-toolbar.c: (ppview_toolbar_get_type): * src/prefs-dialog.c: (prefs_dialog_get_type): * src/toolbar.c: (toolbar_get_type): Annotate "if (type == 0)" in get_type functions with G_UNLIKELY, like the G_TYPE_DEFINE macros do.
* Add varargs version of ephy_dialog_get_control to get more than oneChristian Persch2004-10-221-4/+7
| | | | | | | | | | | | | | | | | | 2004-10-22 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-dialog.c: (ephy_dialog_get_controls): * lib/ephy-dialog.h: Add varargs version of ephy_dialog_get_control to get more than one control at a time. * embed/downloader-view.c: (downloader_view_build_ui): * src/pdm-dialog.c: (pdm_dialog_show_help), (pdm_dialog_init): * src/prefs-dialog.c: (prefs_dialog_show_help), (setup_add_language_dialog), (create_language_section), (prefs_dialog_init): Use that.
* reviewed by: Christian Persch <chpe@cvs.gnome.org>Marco Pesenti Gritti2004-10-1117-194/+296
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-10 Marco Pesenti Gritti <marco@gnome.org> reviewed by: Christian Persch <chpe@cvs.gnome.org> * data/glade/print.glade: * embed/ephy-embed-single.c: (ephy_embed_single_get_printer_list): * embed/ephy-embed-single.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/MozillaPrivate.h: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/print-dialog.c: (ephy_print_dialog_new): * lib/ephy-dialog.c: (set_combo_box_from_value): Move current MozillaPrivate helpers to EphyUtils. Use MozillaPrivate for stuff that needs mozilla internal strings. Support multiple printers in the print dialog. This is actually a bug fix because on several distributions using hardcoded Poscript/default will simply not work at all.
* reviewed by: Christian Persch <chpe@cvs.gnome.org>Marco Pesenti Gritti2004-10-072-0/+19
| | | | | | | | | | | | 2004-10-07 Marco Pesenti Gritti <marco@gnome.org> reviewed by: Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-single.cpp: Initialize plugins path env var for backward compatibility
* Remove unnecessary include.Christian Persch2004-10-061-1/+0
| | | | | | | | 2004-10-06 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.h: Remove unnecessary include.
* Set window icon.Christian Persch2004-10-053-0/+20
| | | | | | | | | | 2004-10-05 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: Set window icon.
* Same here.Christian Persch2004-10-051-7/+1
| | | | | | | | 2004-10-04 Christian Persch <chpe@cvs.gnome.org> * embed/find-dialog.c: (find_dialog_init): Same here.
* Set window icon with gtk_window_set_icon_name().Christian Persch2004-10-051-14/+2
| | | | | | | | | 2004-10-04 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (ephy_print_dialog_new), (ephy_print_setup_dialog_new): Set window icon with gtk_window_set_icon_name().
* Set the window icon.Christian Persch2004-10-051-6/+1
| | | | | | | | 2004-10-04 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_build_ui): Set the window icon.
* Arg 4 of gtk_icon_theme_lookup_icon is flags, not height.Christian Persch2004-10-051-7/+5
| | | | | | | | 2004-10-04 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_add_download): Arg 4 of gtk_icon_theme_lookup_icon is flags, not height.
* Fix a warning.Christian Persch2004-10-041-0/+2
| | | | | | | | 2004-10-04 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Fix a warning.
* Recognise "Desktop" special downloads directory. Fixes bug #152926.Christian Persch2004-10-021-0/+5
| | | | | | | | | | | | 2004-10-02 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: * lib/ephy-file-helpers.c: (ephy_file_downloads_dir), (ephy_file_desktop_dir): * lib/ephy-file-helpers.h: * src/prefs-dialog.c: (get_download_button_label): Recognise "Desktop" special downloads directory. Fixes bug #152926.
* Remove explicit PAC autoconf call, it works perfectly ok without it.Christian Persch2004-09-301-30/+0
| | | | | | | | | 2004-09-30 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/mozilla-notifiers.cpp: Remove explicit PAC autoconf call, it works perfectly ok without it.
* Fix compiler warnings.Christian Persch2004-09-274-10/+8
| | | | | | | | | | | | | | | | 2004-09-26 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/mozilla-notifiers.cpp: * lib/egg/eggtrayicon.h: Fix compiler warnings. * src/ephy-window.c: (hide_embed_popup_cb), (show_embed_popup): Fix a signal leak.
* Mozilla API changes.Christian Persch2004-09-252-2/+16
| | | | | | | | | | 2004-09-25 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/mozilla-embed-single.cpp: Mozilla API changes.
* Remove reference to MOZILLA_FIVE_HOME.Christian Persch2004-09-231-4/+1
| | | | | | | | 2004-09-23 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Remove reference to MOZILLA_FIVE_HOME.
* Fix the build.Christian Persch2004-09-221-1/+1
| | | | | | | | 2004-09-22 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-download.c: (update_remaining_time): Fix the build.
* Fix thisChristian Persch2004-09-211-1/+1
|
* Simplified nsIContentPolicy API check.Christian Persch2004-09-211-2/+2
| | | | | | | | | 2004-09-21 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/EphyContentPolicy.cpp: Simplified nsIContentPolicy API check.
* Fix mozilla API checks to correctly detect firefox libraries.Christian Persch2004-09-2114-71/+47
| | | | | | | | | | | | | | | | | | | | | | 2004-09-21 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/Makefile.am: * embed/mozilla/MozDownload.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: Fix mozilla API checks to correctly detect firefox libraries.
* Fix overflow in remaining time calculation. Fix bug #153136. Thanks toMarco Pesenti Gritti2004-09-211-1/+4
| | | | | | | | | 2004-09-21 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-download.c: (update_remaining_time): Fix overflow in remaining time calculation. Fix bug #153136. Thanks to Jhon Spray for tracking this.
* Fix download progress indicator in downloader view.Christian Persch2004-09-182-3/+20
| | | | | | | | | | 2004-09-18 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (progress_cell_data_func): * embed/mozilla/MozDownload.cpp: * lib/ephy-gui.c: (ephy_gui_menu_position_tree_selection): Fix download progress indicator in downloader view.
* reviewed by: Christian Persch <chpe@cvs.gnome.org>Marco Pesenti Gritti2004-09-183-3/+6
| | | | | | | | | | | | 2004-09-18 Marco Pesenti Gritti <marco@gnome.org> reviewed by: Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-persist.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): * embed/mozilla/MozDownload.cpp: Enable conversion for favicon downloads. Fix #152866.
* More fix for mozilla 1.7.3 API-non-change.Christian Persch2004-09-161-2/+2
| | | | | | | | 2004-09-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: More fix for mozilla 1.7.3 API-non-change.
* Fix for mozilla 1.7.3 API-non-change.Christian Persch2004-09-153-4/+4
| | | | | | | | | | 2004-09-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/GlobalHistory.cpp: Fix for mozilla 1.7.3 API-non-change.
* Merging pre-gnome-2-10 branch to HEAD.Christian Persch2004-09-1310-106/+77
| | | | | | | | 2004-09-13 Christian Persch <chpe@cvs.gnome.org> Merging pre-gnome-2-10 branch to HEAD. Splitting ChangeLog.
* Updatinggnome-2-8-branchpointChristian Persch2004-09-132-1/+2
|
* Fix invisible status icon. Fixes bug #151501; patch approved by RT.Christian Persch2004-09-021-2/+5
| | | | | | | | | 2004-09-02 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (show_status_icon): Fix invisible status icon. Fixes bug #151501; patch approved by RT.
* Make sure the filename to print to doesn't contain slashes. Fixes bugChristian Persch2004-08-301-10/+66
| | | | | | | | | | 2004-08-29 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (sanitize_filename), (ephy_print_get_print_info): Make sure the filename to print to doesn't contain slashes. Fixes bug #148849.
* Mozilla API change on stable branch.Christian Persch2004-08-281-2/+2
| | | | | | | | 2004-08-27 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GlobalHistory.cpp: Mozilla API change on stable branch.
* QI instead of cast.Christian Persch2004-08-281-2/+1
| | | | | | | | 2004-08-27 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: QI instead of cast.
* Keep the passwords list in the pdm dialogue up-to-date wrt. new passwordsChristian Persch2004-08-223-1/+43
| | | | | | | | | | | | | | | | | 2004-08-21 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-password-manager.c: (ephy_password_manager_get_type), (ephy_password_manager_base_init): * embed/ephy-password-manager.h: * embed/mozilla/EphySingle.cpp: * src/pdm-dialog.c: (cookies_cleared_cb), (pdm_dialog_fill_cookies_list), (passwords_changed_cb), (pdm_dialog_fill_passwords_list), (pdm_dialog_password_remove), (pdm_dialog_finalize): Keep the passwords list in the pdm dialogue up-to-date wrt. new passwords saved from web pages. Fixes bug #150296.
* Set mozilla binaries path before firing up.Marco Pesenti Gritti2004-08-202-0/+6
| | | | | | | | | 2004-08-19 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-single.cpp: Set mozilla binaries path before firing up.
* Remove superflous private struct.Christian Persch2004-08-161-7/+0
| | | | | | | | 2004-08-16 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-event.c: Remove superflous private struct.
* Use GetLocalName instead of GetTagName to get the attribute name. Patch byChristian Persch2004-08-161-2/+2
| | | | | | | | | 2004-08-16 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Use GetLocalName instead of GetTagName to get the attribute name. Patch by Mikael Brockman, fixes bug #150208.
* Include mozilla-version.h; thanks to Crispin for testing.Christian Persch2004-08-101-0/+2
| | | | | | | | 2004-08-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GlobalHistory.cpp: Include mozilla-version.h; thanks to Crispin for testing.
* Yet another mozilla API change.Christian Persch2004-08-102-4/+23
| | | | | | | | | 2004-08-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GlobalHistory.h: Yet another mozilla API change.
* Fix compiler warning about anon enum mismatch.Christian Persch2004-08-095-15/+18
| | | | | | | | | 2004-08-08 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: Fix compiler warning about anon enum mismatch.
* Allow XUL windows to open new windows.Christian Persch2004-08-091-2/+16
| | | | | | | | 2004-08-08 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: Allow XUL windows to open new windows.
* Consistent naming for nsresult vars. Since 'rv' had the majority, 'rv' itChristian Persch2004-08-086-115/+111
| | | | | | | | | | | | | | 2004-08-08 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: Consistent naming for nsresult vars. Since 'rv' had the majority, 'rv' it is.
* Make ephy_embed_single_open_window() return the newly opened embed widget.Christian Persch2004-08-083-31/+42
| | | | | | | | | | | | 2004-08-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_open_window): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-single.cpp: (impl_open_window): * src/ephy-tab.c: (popups_manager_show): Make ephy_embed_single_open_window() return the newly opened embed widget.
* Make keyword search URL localisable. Fixes bug #144909.Christian Persch2004-08-071-4/+16
| | | | | | | | | 2004-08-06 Christian Persch <chpe@cvs.gnome.org> * data/default-prefs.js: * embed/mozilla/mozilla-embed-single.cpp: Make keyword search URL localisable. Fixes bug #144909.
* Fix the reload workaround version checks to look for the correct versions.Christian Persch2004-08-064-4/+7
| | | | | | | | | | | | 2004-08-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-version.h: Fix the reload workaround version checks to look for the correct versions. Thanks to Crispin for noticing this.
* Now that mozilla bug #246392 is fixed, only enable our work-around for oldChristian Persch2004-08-063-10/+18
| | | | | | | | | | | 2004-08-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Now that mozilla bug #246392 is fixed, only enable our work-around for old mozilla versions.
* Code cleanup.Christian Persch2004-08-051-10/+8
| | | | | | | | 2004-08-04 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Code cleanup.
* Don't QI the event target to nsIDOMEventReceiver and back toChristian Persch2004-08-022-34/+20
| | | | | | | | | | | 2004-08-01 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: Don't QI the event target to nsIDOMEventReceiver and back to nsIDOMEventTarget when using it, just store it as-is. Thanks to Crispin for noticing this.
* Fix a mem leak.Christian Persch2004-07-311-0/+1
| | | | | | | | 2004-07-31 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: Fix a mem leak.
* Confirm before overwriting a file. Fixes bug #143501.Christian Persch2004-07-311-3/+11
| | | | | | | | 2004-07-31 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: Confirm before overwriting a file. Fixes bug #143501.
* Don't use -include which compilers other than gcc don't understand.Christian Persch2004-07-3124-7/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-30 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyAboutRedirector.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/Makefile.am: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: Don't use -include which compilers other than gcc don't understand. Instead include mozilla-config.h as first thing in each file. Part of bug #143094. * embed/mozilla/EphyUtils.cpp: Also include config.h.
* Mozilla API change.Christian Persch2004-07-291-0/+8
| | | | | | | | 2004-07-28 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyContentPolicy.cpp: Mozilla API change.
* Remove load_proxy_autoconf() vfunc.Christian Persch2004-07-272-3/+1
| | | | | | | | | | | | | | 2004-07-27 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.h: Remove load_proxy_autoconf() vfunc. * embed/mozilla/mozilla-notifiers.cpp: Only include gnome-i18n.h here. Thanks to Crispin for noticing those buglets.
* Make sure we don't release the single observer more thanChristian Persch2004-07-251-0/+1
| | | | | | | | 2004-07-25 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Make sure we don't release the single observer more than
* Disallow some more characters in the suggested filename.Christian Persch2004-07-251-1/+1
| | | | | | | | 2004-07-25 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyHeaderSniffer.cpp: Disallow some more characters in the suggested filename.
* #include <nsEmbedString.h>Adam Hooper2004-07-251-0/+1
|
* Remove some unneeded includes.Christian Persch2004-07-241-2/+0
| | | | | | | | 2004-07-24 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Remove some unneeded includes.
* Don't load the status icon from the file, use the registered stock iconChristian Persch2004-07-241-5/+2
| | | | | | | | | 2004-07-24 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (show_status_icon): Don't load the status icon from the file, use the registered stock icon instead.
* Refactores storing the security info, move it into EphyBrowser.Christian Persch2004-07-243-41/+64
| | | | | | | | | | | 2004-07-24 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Refactores storing the security info, move it into EphyBrowser.
* No need to make proxy PAC configuration public, we only use it in a prefChristian Persch2004-07-234-42/+16
| | | | | | | | | | | | 2004-07-22 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: No need to make proxy PAC configuration public, we only use it in a pref notifier.
* Handle the case where the downloads dir cannot be created gracefully. FixMarco Pesenti Gritti2004-07-221-22/+20
| | | | | | | | | | | | 2004-07-22 Marco Pesenti Gritti <marco@gnome.org> * doc/reference/tmpl/ephy-embed.sgml: * embed/mozilla/MozDownload.cpp: * lib/ephy-file-helpers.c: (ephy_ensure_dir_exists): * lib/ephy-file-helpers.h: Handle the case where the downloads dir cannot be created gracefully. Fix #146902
* Fix mem leaks (ported from Galeon).Christian Persch2004-07-222-0/+3
| | | | | | | | | 2004-07-22 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: Fix mem leaks (ported from Galeon).
* No need to use a weak ref for the observer, makes the single code easier.Marco Pesenti Gritti2004-07-213-13/+7
| | | | | | | | | | | 2004-07-21 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphySingle.h: * embed/mozilla/mozilla-embed-single.cpp: No need to use a weak ref for the observer, makes the single code easier.
* *** empty log message ***Marco Pesenti Gritti2004-07-211-1/+4
|
* Pass single to the sniffer and weak ref it. Fix #141928Marco Pesenti Gritti2004-07-212-10/+20
| | | | | | | | | | | 2004-07-20 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: * embed/mozilla/mozilla-embed-persist.cpp: Pass single to the sniffer and weak ref it. Fix #141928
* Since the print dialogue is modal the filechooser needs to be modal too.Christian Persch2004-07-171-0/+1
| | | | | | | | | 2004-07-17 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (ephy_print_dialog_browse_button_cb): Since the print dialogue is modal the filechooser needs to be modal too. Fixes bug #147628.
* Plug leak, thanks to Crispin.Xan Lopez2004-07-091-0/+1
| | | | | | * embed/downloader-view.c: (downloader_view_add_download): Plug leak, thanks to Crispin.
* Add xpcom/ to INCLUDESChristian Persch2004-07-071-0/+1
|
* Don't convert filename encoding here, since we use it as UTF-8 inChristian Persch2004-07-071-5/+1
| | | | | | | | | 2004-07-07 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (ephy_print_get_print_info): Don't convert filename encoding here, since we use it as UTF-8 in MozillaPrivate.
* <chpe> didn't I said to make that NS_IF_ADDREF () ? <xan> mmm, yesXan Lopez2004-07-071-1/+1
| | | | | | | | | * embed/mozilla/MozDownload.cpp: <chpe> didn't I said to make that NS_IF_ADDREF () ? <xan> mmm, yes Fix the downloader crasher.
* -1 is valid button number, it's used for synthesised "mouse" events onChristian Persch2004-07-071-0/+7
| | | | | | | | | 2004-07-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: -1 is valid button number, it's used for synthesised "mouse" events on form submit via Return key. Fixes bug #145420.
* If the MIME is unknown, use application/octet-stream.Xan Lopez2004-07-062-2/+1
| | | | | | | * embed/downloader-view.c: (downloader_view_add_download): * embed/mozilla/mozilla-download.cpp: If the MIME is unknown, use application/octet-stream.
* Scale the MIME icon.Xan Lopez2004-07-051-16/+19
| | | | | | * embed/downloader-view.c: (downloader_view_add_download): Scale the MIME icon.
* Some ordering/sizing tweakMarco Pesenti Gritti2004-07-051-11/+4
| | | | | | | | 2004-07-05 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: (downloader_view_build_ui): Some ordering/sizing tweak
* *** empty log message ***Marco Pesenti Gritti2004-07-051-0/+1
|
* Decode ACE for UI, and encode UTF-8 hostnames before using cookie andChristian Persch2004-07-052-6/+56
| | | | | | | | | | | 2004-07-05 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphySingle.cpp: * embed/mozilla/mozilla-embed-single.cpp: Decode ACE for UI, and encode UTF-8 hostnames before using cookie and passwords functions with them. Fixes bug #130930.
* Unescape the mailto: address, fixes bug #144462.Christian Persch2004-07-052-2/+35
| | | | | | | | | 2004-07-05 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: Unescape the mailto: address, fixes bug #144462.
* Normal context menus for check/radio/submit buttons. Fixes bug #143942.Christian Persch2004-07-042-37/+51
| | | | | | | | | | 2004-07-04 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: Normal context menus for check/radio/submit buttons. Fixes bug #143942.
* Use regular return for valid error conditions, not g_return_if_fail.Christian Persch2004-07-041-3/+5
| | | | | | | | | 2004-07-04 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_add_download): Use regular return for valid error conditions, not g_return_if_fail.
* Fix compilation with mozilla 1.7.Christian Persch2004-07-041-2/+15
| | | | | | | | 2004-07-04 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-download.cpp: (impl_get_mime_type): Fix compilation with mozilla 1.7.
* Add a MIME icon in the File column. Some indent fixes.Xan Lopez2004-07-046-76/+160
| | | | | | | | | | | | | | | | | | | | | | * embed/downloader-view.c: (downloader_view_get_type), (downloader_view_class_init), (downloader_view_init), (downloader_view_finalize), (format_interval), (downloader_view_add_download), (downloader_view_build_ui), (downloader_view_remove_download): Add a MIME icon in the File column. Some indent fixes. * embed/ephy-download.c: (ephy_download_get_mime): * embed/ephy-download.h: * embed/mozilla/MozDownload.cpp: * embed/mozilla/mozilla-download.cpp: Implement the method to get the MIME of a download and port to nsEmbedString. * embed/mozilla/PrintingPromptService.cpp: Remove bogus nsString.h header.
* Mozilla API change.Christian Persch2004-07-031-0/+5
| | | | | | | | 2004-07-03 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Mozilla API change.
* Depend on mozilla >= 1.7 final. Simplify some mozilla version checks.Christian Persch2004-07-031-3/+3
| | | | | | | | | | 2004-07-02 Christian Persch <chpe@cvs.gnome.org> * configure.in: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: Depend on mozilla >= 1.7 final. Simplify some mozilla version checks.
* Be a bit smarter about double extensions.Xan Lopez2004-07-011-2/+55
| | | | | | * embed/mozilla/MozDownload.cpp: Be a bit smarter about double extensions.
* EphySingle needs to implement nsISupportsWeakReference.Christian Persch2004-06-273-12/+22
| | | | | | | | | | | | 2004-06-27 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphySingle.h: * embed/mozilla/mozilla-embed-single.cpp: EphySingle needs to implement nsISupportsWeakReference. 2004-06-26 Christian Persch <chpe@cvs.gnome.org>
* Implement File->Work Off-Line command and backend. No DBUS/HAL/whateverChristian Persch2004-06-274-33/+117
| | | | | | | | | | | | | | | | | | | | 2004-06-26 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: * embed/ephy-embed-single.c: (ephy_embed_single_iface_init), (ephy_embed_single_set_offline_mode), (ephy_embed_single_get_offline_mode): * embed/ephy-embed-single.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/mozilla-embed-single.cpp: * src/ephy-window.c: (network_status_changed), (ephy_window_init), (ephy_window_finalize): * src/window-commands.c: (window_cmd_file_save_as), (window_cmd_file_work_offline): * src/window-commands.h: Implement File->Work Off-Line command and backend. No DBUS/HAL/whatever integration yet.
* Move PrintInfo to print-dialog since it's no more use by embed api.Marco Pesenti Gritti2004-06-263-37/+37
| | | | | | | | | | | 2004-06-25 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.h: * embed/mozilla/MozillaPrivate.h: * embed/print-dialog.h: Move PrintInfo to print-dialog since it's no more use by embed api.
* Fix typo in the printer nameMarco Pesenti Gritti2004-06-251-1/+1
| | | | | | | | 2004-06-25 Marco Pesenti Gritti <marco@gnome.org> * embed/MozillaPrivate.cpp: Fix typo in the printer name
* Remove preview flagMarco Pesenti Gritti2004-06-256-7/+7
| | | | | | | | 2004-06-25 Marco Pesenti Gritti <marco@gnome.org> * embed/MozillaPrivate.cpp: Remove preview flag
* Simplify print code. Now there is only one case to deal with, the mozillaMarco Pesenti Gritti2004-06-258-107/+52
| | | | | | | | | | | | | | | | | | | | | | | | 2004-06-25 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.c: (ephy_embed_print), (ephy_embed_set_print_preview_mode): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/print-dialog.c: (ephy_print_dialog_response_cb), (ephy_print_dialog_new): * embed/print-dialog.h: * src/ephy-window.c: (ephy_window_delete_event_cb), (ephy_window_finalize), (update_embed_dialogs), (ephy_window_find): * src/ppview-toolbar.c: (toolbar_cmd_ppv_close): * src/window-commands.c: (window_cmd_file_print_preview), (window_cmd_file_print): Simplify print code. Now there is only one case to deal with, the mozilla prompt dialog. This should help with xprint.
* Removed unused array, and added a few missing statics.Christian Persch2004-06-241-10/+3
| | | | | | | | 2004-06-24 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Removed unused array, and added a few missing statics.
* Make the permission type a string instead of an enum, that way we canChristian Persch2004-06-244-58/+44
| | | | | | | | | | | | | | | | 2004-06-23 Christian Persch <chpe@cvs.gnome.org> * doc/reference/tmpl/ephy-permission-manager.sgml: * embed/ephy-permission-manager.c: (ephy_permission_info_new), (ephy_permission_info_copy), (ephy_permission_manager_add), (ephy_permission_manager_remove), (ephy_permission_manager_test), (ephy_permission_manager_list): * embed/ephy-permission-manager.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/mozilla-embed-single.cpp: Make the permission type a string instead of an enum, that way we can support more than just the hardcoded 3 types.
* Move check for javascript after the http[s] checks.Christian Persch2004-06-231-8/+5
| | | | | | | | 2004-06-23 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GlobalHistory.cpp: Move check for javascript after the http[s] checks.
* Factor out the helper to select a treeview row by column and use it alsoMarco Pesenti Gritti2004-06-221-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | 2004-06-21 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-gui.c: (ephy_gui_help), (ephy_gui_select_row_by_key): * lib/widgets/ephy-node-view.c: (ephy_node_view_key_press_cb): * src/bookmarks/ephy-topics-selector.c: (topic_key_pressed): Factor out the helper to select a treeview row by column and use it also in the topic selector. * lib/ephy-gui.h: * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-new-bookmark.c: * src/ephy-history-window.c: * src/pdm-dialog.c: * src/ppview-toolbar.c: * src/prefs-dialog.c: * src/window-commands.c: * embed/downloader-view.c: Remove braindead gtk.h inclusion and deal with fallout headers.
* Implement popup-blocking signals. Part of bug #111930.Adam Hooper2004-06-216-8/+108
|
* Remove implementation of ::HidePage again, it's really not used anyway inChristian Persch2004-06-201-14/+1
| | | | | | | | | | 2004-06-20 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GlobalHistory.cpp: Remove implementation of ::HidePage again, it's really not used anyway in mozilla (history load listener is the only place, and it's not build, not even updated for API changes).
* Implement GlobalHistory2::HidePage, fixes bug #142143.Christian Persch2004-06-201-3/+21
| | | | | | | | 2004-06-20 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GlobalHistory.cpp: Implement GlobalHistory2::HidePage, fixes bug #142143.
* Escape strings before using the with markup in labels. Patch by CrispinChristian Persch2004-06-182-10/+10
| | | | | | | | | | 2004-06-17 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: Escape strings before using the with markup in labels. Patch by Crispin Flowerday.
* Work around mozilla bug #246392 which goes back to the original urls whenChristian Persch2004-06-153-1/+66
| | | | | | | | | | | 2004-06-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Work around mozilla bug #246392 which goes back to the original urls when reloading a frameset. Fixes bug #115800.
* Get rid of EmbedReloadFlags, and use a gboolean force parameter inChristian Persch2004-06-143-15/+9
| | | | | | | | | | | | | | 2004-06-14 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_reload): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/prefs-dialog.c: * src/window-commands.c: (window_cmd_view_reload): Get rid of EmbedReloadFlags, and use a gboolean force parameter in ephy_embed_reload() instead, since we only had two states anyway - EMBED_RELOAD_NORMAL, and EMBED_RELOAD_FORCE.
* Add a way to open new windows passing features and uri. Something like jsMarco Pesenti Gritti2004-06-137-5/+54
| | | | | | | | | | | | | | | | 2004-06-12 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_open_window): * embed/ephy-embed-single.h: * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/mozilla-embed-single.cpp: Add a way to open new windows passing features and uri. Something like js window.open. It's necessary for popup blocker.
* Merging bookmarksbar-separation branch.Christian Persch2004-06-111-0/+1
| | | | | | 2004-06-10 Christian Persch <chpe@cvs.gnome.org> Merging bookmarksbar-separation branch.
* Fix CSS background detection, based on a galeon patch by CrispinChristian Persch2004-06-091-53/+66
| | | | | | | | | 2004-06-08 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Fix CSS background detection, based on a galeon patch by Crispin Flowerday. Fixed bug #143602.
* Adjust comment about mozilla bug #232057, which was WONTFIXed.Christian Persch2004-06-091-4/+3
| | | | | | | | | 2004-06-08 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Adjust comment about mozilla bug #232057, which was WONTFIXed.
* Move external protocols prefs defaults in the javascript file and addMarco Pesenti Gritti2004-06-081-12/+3
| | | | | | | | | | 2004-06-08 Marco Pesenti Gritti <marco@gnome.org> * data/default-prefs.js: * embed/mozilla/mozilla-embed-single.cpp: Move external protocols prefs defaults in the javascript file and add webcal (Bug #143899)
* Fix setting default filename in the !modeSave case.Christian Persch2004-06-072-31/+26
| | | | | | | | 2004-06-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/FilePicker.cpp: Fix setting default filename in the !modeSave case.
* Don't allow ::SetDefaultString unless we're in modeSave.Christian Persch2004-06-071-1/+4
| | | | | | | | 2004-06-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/FilePicker.cpp: Don't allow ::SetDefaultString unless we're in modeSave.
* Use ephy-file-chooser convenience constructor instead of duplicating codeChristian Persch2004-06-071-49/+45
| | | | | | | | | 2004-06-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/FilePicker: Use ephy-file-chooser convenience constructor instead of duplicating code here.
* Simplified mozilla version checks with new MOZILLA_IS_VERSION4 macro.Christian Persch2004-06-072-3/+7
| | | | | | | | | 2004-06-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/mozilla-version.h: Simplified mozilla version checks with new MOZILLA_IS_VERSION4 macro.
* merge mozilla-embed-strings branchMarco Pesenti Gritti2004-06-0431-931/+1023
|
* Don't return a value in void function, part of bug #141319.Christian Persch2004-05-291-1/+1
| | | | | | | | 2004-05-29 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_print_preview_navigate): Don't return a value in void function, part of bug #141319.
* Fix for mozilla API change (ported from galeon).Christian Persch2004-05-291-1/+15
| | | | | | | | 2004-05-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSKeyPairDialogs.cpp: Fix for mozilla API change (ported from galeon).
* Include "config.h".Christian Persch2004-05-291-0/+4
| | | | | | | | 2004-05-28 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.h: Include "config.h".
* Always include "config.h" !Christian Persch2004-05-291-0/+4
| | | | | | | | 2004-05-28 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.h: Always include "config.h" !
* Fix snapshot check for mozilla >= 1.7rc2 .Christian Persch2004-05-291-1/+1
| | | | | | | | 2004-05-28 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.h: Fix snapshot check for mozilla >= 1.7rc2 .
* Remove unused field in structXan Lopez2004-05-253-1/+4
| | | | | | | | | | | * embed/downloader-view.c: (update_status_icon): Remove unused field in struct * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: Fix build with 1.8a2
* Fix some headers fallouts with mozilla headMarco Pesenti Gritti2004-05-233-1/+9
| | | | | | | | | | 2004-05-23 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/MozillaPrivate.cpp: Fix some headers fallouts with mozilla head
* Fix stupid bug.Christian Persch2004-05-211-2/+2
| | | | | | | | | 2004-05-20 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_set_property), (ephy_history_get_property): Fix stupid bug.
* Fix typoChristian Persch2004-05-201-1/+0
|
* Fix a MOZILLA_SNAPSHOT check for 1.7 branch.Christian Persch2004-05-191-1/+1
| | | | | | | | 2004-05-19 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: Fix a MOZILLA_SNAPSHOT check for 1.7 branch.
* Fix capitalisation.Christian Persch2004-05-191-1/+1
| | | | | | | | | | 2004-05-19 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (ephy_print_dialog_browse_button_cb): * src/bookmarks/ephy-bookmarks-editor.c: (import_dialog_response_cb): Fix capitalisation.
* Fix observer topic check for cookie "cleared" notification.Christian Persch2004-05-171-1/+1
| | | | | | | | 2004-05-17 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphySingle.cpp: Fix observer topic check for cookie "cleared" notification.
* Fix refcount leak.Christian Persch2004-05-161-0/+3
| | | | | | | | 2004-05-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-persist.cpp: Fix refcount leak.
* Set mEventReceiver to nsnull in ::Destroy(), fixes a crasher.Christian Persch2004-05-161-6/+8
| | | | | | | | 2004-05-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Set mEventReceiver to nsnull in ::Destroy(), fixes a crasher.
* *** empty log message ***Christian Persch2004-05-151-7/+0
|
* Yet another mozilla API change.Christian Persch2004-05-151-13/+61
| | | | | | | | 2004-05-14 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyContentPolicy.cpp: Yet another mozilla API change.
* One more NS_ENSURE_TRUE.Christian Persch2004-05-111-1/+1
| | | | | | | | 2004-05-11 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: One more NS_ENSURE_TRUE.
* Changed back to NS_ENSURE_TRUE as per discussion in bug #142184.Christian Persch2004-05-111-23/+23
| | | | | | | | 2004-05-11 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Changed back to NS_ENSURE_TRUE as per discussion in bug #142184.
* Remove unused variable.Christian Persch2004-05-111-1/+0
| | | | | | | | 2004-05-11 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-notifiers.cpp: Remove unused variable.
* Destroy the EphyBrowser in destroy handler, but delete it only onChristian Persch2004-05-112-45/+78
| | | | | | | | | | | 2004-05-11 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/mozilla-embed.cpp: Destroy the EphyBrowser in destroy handler, but delete it only on finalize. Make public EphyBrowser methods safe for calling after Destroy. Part of bug #142184.
* Add convenience functions for creating a filter with a bunch of mime typesChristian Persch2004-05-094-71/+39
| | | | | | | | | | | | | | | | | | | | | | 2004-05-08 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-chooser.c: (ephy_file_chooser_add_pattern_filter), (ephy_file_chooser_add_mime_filter), (ephy_file_chooser_new): * lib/ephy-file-chooser.h: Add convenience functions for creating a filter with a bunch of mime types or patterns and add it to a file chooser. Those should really be in gtk+; see bug #142142. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/FilePicker.cpp: * embed/print-dialog.c: (ephy_print_dialog_browse_button_cb): * src/bookmarks/ephy-bookmarks-editor.c: (import_dialog_response_cb): * src/prefs-dialog.c: (prefs_download_path_button_clicked_cb): * src/window-commands.c: (window_cmd_file_open): Add some filters to the file chooser dialogues.
* Forward nsIAuthPrompt interface to the single sign-on promptChristian Persch2004-05-082-35/+11
| | | | | | | | | 2004-05-08 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: Forward nsIAuthPrompt interface to the single sign-on prompt
* Adjust MOZILLA_SNAPSHOT checks for changed snapshot levels.Christian Persch2004-05-073-27/+27
| | | | | | | | | | 2004-05-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/FilePicker.cpp: Adjust MOZILLA_SNAPSHOT checks for changed snapshot levels.
* Check for nsIPassword.hChristian Persch2004-05-061-5/+10
| | | | | | | | | | | | 2004-05-06 Christian Persch <chpe@cvs.gnome.org> * configure.in: Check for nsIPassword.h * embed/mozilla/mozilla-embed-single.cpp: Allow compilation without nsIPassword (mozilla wallet extension).
* Adapt to mozilla API change.Christian Persch2004-05-061-0/+5
| | | | | | | | 2004-05-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Adapt to mozilla API change.
* 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.
* Fix a mem leak; thanks to Crispin for spotting it.Christian Persch2004-05-031-1/+1
| | | | | | | | 2004-05-03 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-persist.cpp: Fix a mem leak; thanks to Crispin for spotting it.
* Remove unused variableChristian Persch2004-05-031-3/+0
|
* Clean up encoding handling.Christian Persch2004-05-028-109/+88
| | | | | | | | | | | | | | | | | | | 2004-05-01 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_get_encoding), (ephy_embed_has_automatic_encoding): * embed/ephy-embed.h: * embed/ephy-encodings.c: * embed/ephy-encodings.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-encoding-dialog.c: (sync_embed_cb), (activate_choice): * src/ephy-encoding-menu.c: (update_encoding_menu_cb), (encoding_activate_cb): Clean up encoding handling.
* fix build bustageMarco Pesenti Gritti2004-04-303-0/+18
|
* fix build bustageMarco Pesenti Gritti2004-04-301-1/+5
|
* *** empty log message ***Marco Pesenti Gritti2004-04-301-4/+4
|
* Complete headers definesMarco Pesenti Gritti2004-04-305-38/+65
| | | | | | | | | | | | 2004-04-29 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/MozillaPrivate.h: * embed/mozilla/mozilla-embed.cpp: Complete headers defines
* More defines work, still lack EventContext and EmbedPrivate. Use mozillaMarco Pesenti Gritti2004-04-2926-172/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-29 Marco Pesenti Gritti <marco@gnome.org> * configure.in: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyAboutRedirector.cpp: * embed/mozilla/EphyAboutRedirector.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyContentPolicy.h: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GlobalHistory.h: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.h: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSDialogs.h: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: More defines work, still lack EventContext and EmbedPrivate. Use mozilla like warning flags instead of those gnome macros. Remove several unused variables.
* *** empty log message ***Marco Pesenti Gritti2004-04-291-0/+2
|
* Add defines for private mozilla api usage. It will make easier to trackMarco Pesenti Gritti2004-04-292-49/+41
| | | | | | | | | | | | | | 2004-04-29 Marco Pesenti Gritti <marco@gnome.org> * configure.in: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/Makefile.am: Add defines for private mozilla api usage. It will make easier to track what we need to port to embed string and what we need to be using only public api (on the long time).
* 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.
* Nice mess of defines to support 1.8a. Damn.Marco Pesenti Gritti2004-04-279-22/+222
| | | | | | | | | | | | | | | | | 2004-04-27 Marco Pesenti Gritti <marco@gnome.org> * configure.in: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/FilePicker.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-persist.cpp: Nice mess of defines to support 1.8a. Damn.
* Fix encoding of saved content; fixes bug #141050.Marco Pesenti Gritti2004-04-271-34/+23
| | | | | | | | 2004-04-26 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/MozDownload.cpp: Fix encoding of saved content; fixes bug #141050.
* 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.
* s/PERSIST_NO_CONVERSION/PERSIST_FLAGS_NO_CONVERSION/Adam Hooper2004-04-181-1/+1
|
* Do not uncompress when the type is not html.Marco Pesenti Gritti2004-04-181-0/+5
| | | | | | | | 2004-04-17 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/MozDownload.cpp: Do not uncompress when the type is not html.
* Fix saving of linked content. Don't create the directory; mozilla will doChristian Persch2004-04-171-11/+8
| | | | | | | | | 2004-04-16 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: (InitiateMozillaDownload): Fix saving of linked content. Don't create the directory; mozilla will do it for us if necessary. Make the "Files" suffix translatable.
* 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.
* Change initial refcound of EphyNode to 1, not 0Adam Hooper2004-04-103-7/+0
|
* Make warning message selectable.Piers Cornwell2004-04-091-0/+1
| | | | | | | | 2004-04-08 Piers Cornwell <piers@gnome.org> * embed/mozilla/ContentHandler.cpp: Make warning message selectable.
* Eliminate ExternalProtocolHandlers in favor of setting prefs to makeChristian Biesinger2004-04-077-500/+17
| | | | | | | | | | | | | * embed/mozilla/ExternalProtocolHandlers.cpp: * embed/mozilla/ExternalProtocolHandlers.h: * embed/mozilla/FilePicker.cpp: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/MozRegisterComponents.h: * embed/mozilla/mozilla-embed-single.cpp: Eliminate ExternalProtocolHandlers in favor of setting prefs to make Mozilla not handle the protocols internally.
* 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.
* Documented EphyEmbedFactoryAdam Hooper2004-03-301-8/+2
|
* Get rid of #if GTK_CHECK_VERSION() stuff and remove optionmenu code.Christian Persch2004-03-301-67/+1
| | | | | | | | 2004-03-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: Get rid of #if GTK_CHECK_VERSION() stuff and remove optionmenu code.
* Removed the nautilus view.Christian Persch2004-03-303-779/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-29 Christian Persch <chpe@cvs.gnome.org> * configure.in: * data/.cvsignore: * data/GNOME_Epiphany_NautilusView.server.in: * data/Makefile.am: * data/ui/.cvsignore: * data/ui/Makefile.am: * data/ui/nautilus-epiphany-view.xml: * doc/reference/Makefile.am: * embed/Makefile.am: * embed/ephy-embed-popup-control.c: * embed/ephy-embed-popup-control.h: * lib/Makefile.am: * lib/ephy-bonobo-extensions.c: * lib/ephy-bonobo-extensions.h: * po/POTFILES.in: * src/Makefile.am: * src/ephy-nautilus-view.c: * src/ephy-nautilus-view.h: * src/ephy-shell.c: (ephy_automation_factory_cb): Removed the nautilus view. 2004-03-29 Christian Persch <chpe@cvs.gnome.org>
* Documented EphyCommandManagerAdam Hooper2004-03-302-3/+28
|
* 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.
* Tiny cleanup.Xan Lopez2004-03-281-4/+1
| | | | | | | | 2004-03-28 Xan Lopez <xan@gnome.org> * embed/mozilla/MozRegisterComponents.cpp: Tiny cleanup.
* EphyEmbedPersist documentationAdam Hooper2004-03-282-7/+196
|
* Register our stock icons.Christian Persch2004-03-271-1/+1
| | | | | | | | | | | | 2004-03-27 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-stock-icons.c: (ephy_stock_icons_init): Register our stock icons. * embed/mozilla/ContentHandler.cpp: Use stock icon for "Download".
* Documented EphyEmbedSingleAdam Hooper2004-03-273-34/+47
|
* Add base dir to mozilla includes since the embed SDK dir structure hasMarco Pesenti Gritti2004-03-261-0/+1
| | | | | | | | | 2004-03-26 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/Makefile.am: Add base dir to mozilla includes since the embed SDK dir structure has been flattened in cvs
* Use stock icon for open. Fixes bug #135765.Christian Persch2004-03-261-1/+2
| | | | | | | | 2004-03-25 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: (MIMEConfirmAction): Use stock icon for open. Fixes bug #135765.
* Fix arg type of dom_* signals to match the closure.Christian Persch2004-03-261-2/+2
| | | | | | | | 2004-03-25 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): Fix arg type of dom_* signals to match the closure.
* Fixed teeny typoAdam Hooper2004-03-261-1/+1
|
* Fixed gtk-doc commentsAdam Hooper2004-03-261-3/+6
|
* Documented EphyEmbedAdam Hooper2004-03-265-66/+375
|
* API documentationAdam Hooper2004-03-242-25/+30
|
* *** empty log message ***Christian Persch2004-03-211-1/+1
|
* Don't override nsWebBrowserContentPolicy contract ID, just register ourChristian Persch2004-03-212-5/+39
| | | | | | | | | | 2004-03-21 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.
* Cleanups chromes code and register a type for the enum.Marco Pesenti Gritti2004-03-194-36/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. * src/window-commands.c: * src/window-commands.h: Move chromes actions to EphyWindow so we dont need to expose chrome handling.
* Make secure description better (Bug #136443).Piers Cornwell2004-03-191-0/+1
| | | | | | | | | | | | | | | | 2004-03-18 Piers Cornwell <piers@gnome.org> * src/pdm-dialog.c: (show_cookies_properties): Make secure description better (Bug #136443). * src/window-commands.c: (window_cmd_help_about): Add my email address. * embed/mozilla/GtkNSSDialogs.cpp: Include nsReadableUtils.h.
* merging pre-gnome-2-8 branchMarco Pesenti Gritti2004-03-1744-491/+158
|
* *** 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).