aboutsummaryrefslogtreecommitdiffstats
path: root/embed
Commit message (Collapse)AuthorAgeFilesLines
* Return TRUE if the event was consumed.Christian Persch2005-08-161-1/+1
| | | | | | | | | | | | 2005-08-16 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyFind.cpp: Return TRUE if the event was consumed. * embed/mozilla/mozilla-embed-single.cpp: More redundant code.
* Activate the found link with a faked keypress event.Christian Persch2005-08-165-5/+118
| | | | | | | | | | | | | | | | | | | | | | | 2005-08-16 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-find.c: (ephy_embed_find_activate_link): * embed/ephy-embed-find.h: * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: * embed/mozilla/mozilla-embed-find.cpp: Activate the found link with a faked keypress event. * src/ephy-find-toolbar.c: (tab_search_key_press_cb), (entry_key_press_event_cb), (entry_activate_cb), (ephy_find_toolbar_set_embed), (ephy_find_toolbar_open), (ephy_find_toolbar_close): On enter, activate the found link instead of finding the next occurrence. Always really give focus to the find bar, instead of faking keypresses in the find bar entry while focusing the embed. Fixes bug #307216, bug #311985, bug #312419.
* Check that we're not trying to open in Epiphany itself! Fixes bug #310023.PRE_GNOME_2_14_BRANCHPOINTChristian Persch2005-08-141-0/+13
| | | | | | | | | 2005-08-13 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: Check that we're not trying to open in Epiphany itself! Fixes bug #310023.
* Reject favicons that are < 12x12.Christian Persch2005-08-131-2/+13
| | | | | | | | 2005-08-13 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get): Reject favicons that are < 12x12.
* Only allow http: favicons.Christian Persch2005-08-132-7/+12
| | | | | | | | | | | | 2005-08-13 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Only allow http: favicons. * embed/mozilla/mozilla-embed.cpp: Remove unnecessary casts.
* Don't display (guint64)-1 as filesize if it's not known yet. Part of bugChristian Persch2005-08-131-2/+6
| | | | | | | | | 2005-08-13 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (update_download_row): Don't display (guint64)-1 as filesize if it's not known yet. Part of bug #313215.
* Work around mozilla bugChristian Persch2005-08-131-2/+26
| | | | | | | | | | 2005-08-13 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: Work around mozilla bug https://bugzilla.mozilla.org/show_bug.cgi?id=304353 . Fixes bug #313215.
* More gcc4 fixes.Christian Persch2005-08-131-1/+1
| | | | | | | | | 2005-08-13 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get): * lib/ephy-dnd.c: (ephy_dnd_drag_data_get): More gcc4 fixes.
* Gecko send several STATE_STOP, but only the final one (completed) is ofJean-François Rameau2005-08-112-3/+4
| | | | | | | | | | | | | | 2005-08-10 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/MozDownload.cpp (OnStateChange): Gecko send several STATE_STOP, but only the final one (completed) is of interest (STATE_STOP&STATE_IS_NETWORK). Fix crash with gecko 1.8 when downloading. * embed/mozilla/mozilla-embed.cpp: Fix compilation warning.
* Fix a small grammar error in one of the download dialog string, withRaphael Slinckx2005-08-101-1/+1
| | | | | | | | | 2005-08-09 Raphael Slinckx <rslinckx@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: Fix a small grammar error in one of the download dialog string, with approval of i18n
* Disable favicons from non-http URLs.Christian Persch2005-08-091-0/+4
| | | | | | | | 2005-08-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get): Disable favicons from non-http URLs.
* Fix build with gecko trunk.Christian Persch2005-08-081-4/+4
| | | | | | | | 2005-08-08 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: Fix build with gecko trunk.
* Change the download/open dialog strings to include the mime-type and fileRaphael Slinckx2005-08-081-19/+65
| | | | | | | | | 2005-08-08 Raphael Slinckx <rslinckx@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: Change the download/open dialog strings to include the mime-type and file name, bits of rewording too.
* remove debug printfsChristian Persch2005-08-081-2/+0
|
* Add way to clear the favicon cache. Also removes any extraneous files fromChristian Persch2005-08-082-10/+68
| | | | | | | | | | | | | | | | | | 2005-08-07 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (icons_removed_cb), (remove_obsolete_icons), (delete_file), (ephy_favicon_cache_finalize), (ephy_favicon_cache_get), (ephy_favicon_cache_clear): * embed/ephy-favicon-cache.h: Add way to clear the favicon cache. Also removes any extraneous files from favicon cache directory. Fix a crash which I wonder why we never experienced it! * src/prefs-dialog.c: (prefs_clear_cache_button_clicked_cb): Also clear favicon cache when clearing the cache.
* Change the text on the 'unknown issuer' dialog. Fixes bug #151519Crispin Flowerday2005-08-081-1/+1
| | | | | | | | | 2005-08-07 Crispin Flowerday <gnome@flowerday.cx> * embed/mozilla/GtkNSSDialogs.cpp (ConfirmUnknownIssuer): Change the text on the 'unknown issuer' dialog. Fixes bug #151519
* Also block GtkMozEmbed's child focus-[in|out]-event handlers.Christian Persch2005-08-071-7/+21
| | | | | | | | 2005-08-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: (mozilla_embed_realize): Also block GtkMozEmbed's child focus-[in|out]-event handlers.
* Don't attach the scroll event listener twice.Crispin Flowerday2005-08-071-2/+0
| | | | | | | | 2005-08-06 Crispin Flowerday <gnome@flowerday.cx> * embed/mozilla/EphyBrowser.cpp (AttachListeners): Don't attach the scroll event listener twice.
* Keep pixbufs in cache instead of loading them over and over again.Christian Persch2005-08-041-22/+140
| | | | | | | | | | | 2005-08-03 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (pixbuf_cache_entry_free), (icons_added_cb), (cleanup_entry), (periodic_cleanup_cb), (ephy_favicon_cache_init), (ephy_favicon_cache_finalize), (ephy_favicon_cache_get): Keep pixbufs in cache instead of loading them over and over again.
* Remove obsolete functionChristian Persch2005-08-011-2/+0
|
* Fix gcc 4.0 warnings.Jean-François Rameau2005-08-011-3/+3
| | | | | | | | | 2005-07-31 Jean-François Rameau <jframeau@cvs.gnome.org> * src/epiphany.override: (_wrap_ephy_embed_event_get_coords): * embed/ephy-history.c: Fix gcc 4.0 warnings.
* Add ephy_embed_shell_get_default() analogous to ephy_shell_get_default().Christian Persch2005-08-012-0/+15
| | | | | | | | | | 2005-07-31 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_get_default): * embed/ephy-embed-shell.h: Add ephy_embed_shell_get_default() analogous to ephy_shell_get_default().
* Make those more robust.Christian Persch2005-07-311-12/+12
| | | | | | | | | 2005-07-30 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (ephy_print_load_config_from_file), (ephy_print_save_config_to_file): Make those more robust.
* Fix printf formatChristian Persch2005-07-311-1/+1
|
* Count the blocked handlers and warn if it's not the expected numberr, soChristian Persch2005-07-301-2/+8
| | | | | | | | | 2005-07-30 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: (mozilla_embed_realize): Count the blocked handlers and warn if it's not the expected numberr, so we know if our focos fix assumptions become invalid.
* Implement ::grab-focus and remove ephy_embed_activate ().Christian Persch2005-07-303-19/+14
| | | | | | | | | | 2005-07-29 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: Implement ::grab-focus and remove ephy_embed_activate ().
* Work around gtkmozembed focus bug. Fixes bug #105153.Christian Persch2005-07-293-8/+103
| | | | | | | | | | | | | 2005-07-28 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-shell.c: (url_is_empty), (load_homepage), (ephy_shell_new_tab_full): Work around gtkmozembed focus bug. Fixes bug #105153.
* Fix proxy server settings string.Christian Persch2005-07-281-1/+1
| | | | | | | | 2005-07-27 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyAboutModule.cpp: Fix proxy server settings string.
* Fix google search URL to include www prefix.Christian Persch2005-07-281-1/+1
| | | | | | | | 2005-07-27 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyAboutModule.cpp: Fix google search URL to include www prefix.
* Don't put the archive links on the unknownSocketType error message.Christian Persch2005-07-281-1/+0
| | | | | | | | 2005-07-27 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyAboutModule.cpp: Don't put the archive links on the unknownSocketType error message.
* Primary text shouldn't have a period.Christian Persch2005-07-271-1/+1
| | | | | | | | 2005-07-26 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (ephy_print_verify_postscript): Primary text shouldn't have a period.
* (using_pdf_printer): new function.Martin Kretzschmar2005-07-261-10/+39
| | | | | (ephy_print_verify_postscript): print a less techy message if someone tries to print to PDF.
* Remove code to get the printer list, and fix a compile warning.Christian Persch2005-07-256-60/+3
| | | | | | | | | | | | | | 2005-07-24 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_open_window): * embed/ephy-embed-single.h: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/MozillaPrivate.h: * embed/mozilla/mozilla-embed-single.cpp: Remove code to get the printer list, and fix a compile warning.
* *** empty log message ***Christian Persch2005-07-242-2/+2
|
* Use libgnomeprintui for the printing dialog and the paper part of theJürg Billeter2005-07-246-310/+510
| | | | | | | | | | | | | | | | | | | | | | 2005-07-22 Jürg Billeter <j@bitron.ch> * configure.ac: * data/glade/print.glade: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/PrintingPromptService.h: * embed/print-dialog.c: (ephy_print_info_free), (ephy_print_load_config_from_file), (ephy_print_save_config_to_file), (ephy_print_get_print_info), (ephy_print_dialog_response_cb), (ephy_print_do_print_idle_cb), (ephy_print_do_print_and_free), (ephy_print_paper_selector_new), (ephy_print_dialog_construct_range_page), (ephy_print_dialog_new), (ephy_print_setup_dialog_new): * embed/print-dialog.h: Use libgnomeprintui for the printing dialog and the paper part of the printing setup dialog. Fixes bug #141241, bug #163255 and bug #301730.
* A embed/mozilla/EphyAboutModule.cpp: A embed/mozilla/EphyAboutModule.h: RChristian Persch2005-07-184-142/+59
| | | | | | | | | | | | | | | | | | | 2005-07-17 Christian Persch <chpe@cvs.gnome.org> A embed/mozilla/EphyAboutModule.cpp: A embed/mozilla/EphyAboutModule.h: R embed/mozilla/EphyProtocolHandler.cpp: R embed/mozilla/EphyProtocolHandler.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * po/POTFILES.in: Yet another mozilla API change. * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_smart_bookmark_width): Remove stray g_print, and clamp entry width to sane values.
* Fix a couple of strings. Fixes bug #310196.Christian Persch2005-07-131-3/+3
| | | | | | | | 2005-07-13 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyProtocolHandler.cpp: Fix a couple of strings. Fixes bug #310196.
* Remove the reload workaround, since the mozilla bug is fixed on allChristian Persch2005-07-134-68/+11
| | | | | | | | | | | 2005-07-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Remove the reload workaround, since the mozilla bug is fixed on all supported mozilla version.
* Remove checkbox from trust-CA dialogue. Fixes bug #168295.Christian Persch2005-07-121-23/+15
| | | | | | | | 2005-07-11 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSDialogs.cpp: Remove checkbox from trust-CA dialogue. Fixes bug #168295.
* Fix build with -Werror.Christian Persch2005-07-111-2/+0
| | | | | | | | | | | | | | | | 2005-07-10 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_prepare_close): Fix build with -Werror. * src/ephy-tab.c: (ephy_tab_dispose), (ephy_tab_file_monitor_cancel), (ephy_file_monitor_reload_cb), (ephy_tab_file_monitor_cb), (ephy_tab_update_file_monitor), (ephy_tab_address_cb): Monitor local files for changes and reload them if they do change. Fixes bug #300040; patch by Raphaël Slinckx.
* Use contract IDs.Christian Persch2005-07-111-5/+2
| | | | | | | | 2005-07-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyProtocolHandler.cpp: Use contract IDs.
* Add context to two strings.Christian Persch2005-07-111-2/+6
| | | | | | | | 2005-07-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyProtocolHandler.cpp: Add context to two strings.
* Improved design and wording of the error pages, and add links to googleChristian Persch2005-07-112-71/+136
| | | | | | | | | | | 2005-07-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyProtocolHandler.cpp: * embed/mozilla/EphyProtocolHandler.h: Improved design and wording of the error pages, and add links to google cache and internet archive where appropriate. Many thanks to mpt for his help!
* Make error page nicer; code by Adam Hooper.Christian Persch2005-07-091-31/+13
| | | | | | | | 2005-07-09 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyProtocolHandler.cpp: Make error page nicer; code by Adam Hooper.
* Error pages implementation.Christian Persch2005-07-092-9/+375
| | | | | | | | | | 2005-07-09 Christian Persch <chpe@cvs.gnome.org> * data/default-prefs-gecko-1-8.js: * embed/mozilla/EphyProtocolHandler.cpp: * embed/mozilla/EphyProtocolHandler.h: Error pages implementation.
* Periodically save the favicon cache.Christian Persch2005-07-092-10/+57
| | | | | | | | | | | | | | | 2005-07-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_save), (periodic_save_cb), (ephy_favicon_cache_init), (ephy_favicon_cache_finalize), (favicon_download_completed_cb), (favicon_download_cancelled_cb), (ephy_favicon_cache_get): Periodically save the favicon cache. * embed/ephy-history.c: Source ID is guint not int.
* Rename favicons so they don't have extensions. Work around broken mimeChristian Persch2005-07-091-39/+126
| | | | | | | | | | | 2005-07-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download), (ephy_favicon_cache_get): Rename favicons so they don't have extensions. Work around broken mime detection which cannot detect that a .ico file with HTML content is really no icon file.
* Fix for mozilla API change.Christian Persch2005-07-072-7/+10
| | | | | | | | | 2005-07-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Fix for mozilla API change.
* There's no printer cmd line entry anymore, no need to lock it down.Christian Persch2005-07-051-4/+2
| | | | | | | | | 2005-07-05 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/PrintingPromptService.cpp: There's no printer cmd line entry anymore, no need to lock it down.
* Better fix for bug #151037 to make session shutdown work again. Also fixChristian Persch2005-07-049-15/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | 2005-07-04 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (remove_download), (prepare_close_cb), (downloader_view_init), (downloader_view_finalize), (downloader_view_remove_download), (download_dialog_delete_cb): * embed/ephy-embed-shell.c: (ephy_embed_shell_prepare_close), (ephy_embed_shell_class_init): * embed/ephy-embed-shell.h: * embed/ephy-favicon-cache.c: (prepare_close_cb), (ephy_favicon_cache_init), (kill_download): * embed/mozilla/mozilla-embed-find.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/mozilla/mozilla-notifiers.h: * src/ephy-session.c: (ephy_session_init), (ephy_session_dispose), (ephy_session_autoresume), (close_dialog), (ephy_session_close): * src/ephy-shell.c: (ephy_shell_startup), (toolwindow_hide_cb): * src/ephy-window.c: (ephy_window_finalize): Better fix for bug #151037 to make session shutdown work again. Also fix session shutdown while resuming, and preserve the session in this case.
* EphyCookie's expires field is now of time_t type (fixes gcc 4.0 warning).Jean-François Rameau2005-07-042-4/+5
| | | | | | | | | | | | | | | | | | | | | | | 2005-07-03 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/ephy-cookie-manager.h: EphyCookie's expires field is now of time_t type (fixes gcc 4.0 warning). * embed/ephy-favicon-cache.c: * lib/ephy-file-helpers.c: * lib/ephy-langs.c: * lib/ephy-node-db.c: * lib/ephy-node.c: * lib/ephy-state.c: * lib/egg/eggtraymanager.c: * src/ephy-extensions-manager.c: * src/ephy-main.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-window.c: Fixes more signed/unsigned problems with gcc 4.0.
* Don't show the image after gtk_button_set_image(). Fixes bug #307818.Christian Persch2005-06-161-1/+1
| | | | | | | | | | 2005-06-16 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_constructor): * src/ephy-history-window.c: (confirmation_dialog_construct): Don't show the image after gtk_button_set_image(). Fixes bug #307818.
* Point to the 'search_key_press' function int eh EphyEmbedIface rather thanCrispin Flowerday2005-06-151-1/+1
| | | | | | | | | 2005-06-14 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed.c (ephy_embed_load_url): Point to the 'search_key_press' function int eh EphyEmbedIface rather than the context menu one
* Fix refcount leak.Christian Persch2005-06-131-12/+15
| | | | | | | | 2005-06-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-ember-persist.cpp: (impl_to_string): Fix refcount leak.
* Don't hold a ref to the shell from persist objects.Christian Persch2005-06-121-5/+0
| | | | | | | | 2005-06-11 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-persist.cpp: Don't hold a ref to the shell from persist objects.
* Common helper function to unref a GObject from idle.Christian Persch2005-06-114-3/+23
| | | | | | | | | | | | | | | | | | | | | | | | 2005-06-10 Christian Persch <chpe@cvs.gnome.org> * lib/Makefile.am: * lib/ephy-object-helpers.c: * lib/ephy-object-helpers.h: Common helper function to unref a GObject from idle. * embed/downloader-view.c: (downloader_view_finalize): * embed/mozilla/mozilla-embed-find.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-extensions-manager.c: (unload_extension): * src/ephy-main.c: (main): * src/ephy-shell.c: (toolwindow_hide_cb): * src/ephy-window.c: (ephy_window_finalize): Always unref the shell from idle, never directly. That's because in case we hold the last reference, we would end up terminating embedding/XPCOM from a mozilla callback. Fixes bug #151037, and moz#236688.
* More constification.Jean-François Rameau2005-06-081-2/+2
| | | | | | | | | 2005-06-07 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: (file_is_compressed), (parse_extension): More constification.
* Unused var.Jean-François Rameau2005-06-081-1/+0
| | | | | | | | 2005-06-07 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: (mozilla_embed_dom_key_press_cb): Unused var.
* Version 1.7.1.Release171Christian Persch2005-06-052-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-05 Christian Persch <chpe@cvs.gnome.org> Version 1.7.1. * Makefile.am: Add --enable-python to distcheck configure flags. * NEWS: * configure.ac: Updated for version 1.7.1. * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EventContext.cpp: Fix warnings. * src/ephy-extensions-manager.c: (get_loader_for_type), (load_extension): Fix --disable-python case. * src/Makefile.am: Fix make distcheck.
* Typo.Jean-François Rameau2005-06-041-1/+1
| | | | | | | | 2005-06-03 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Typo.
* Don't open search toolbar on / or ' over formfields:Christian Persch2005-06-035-0/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-06-03 Christian Persch <chpe@cvs.gnome.org> Don't open search toolbar on / or ' over formfields: * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: New signal for searchable key presses. * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: Add static function to check if a keypress should be forwarded to the search toolbar. * embed/mozilla/mozilla-embed.cpp: Emit the signal here. * lib/ephy-marshal.list: * src/ephy-find-toolbar.c: (tab_search_key_press_cb), (ephy_find_toolbar_set_embed): Use the new signal instead of dom-key-press.
* Add code to handle area tags. Fix bug #152482Jean-François Rameau2005-06-031-0/+63
| | | | | | | | | 2005-06-02 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/EventContext.cpp: (EventContext::GetEventContext): Add code to handle area tags. Fix bug #152482
* nsEmbedString doesn't support Equals method. So add some bits to test twoJean-François Rameau2005-06-032-0/+15
| | | | | | | | | | | 2005-06-02 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/EphyUtils.h: * embed/mozilla/EphyUtils.cpp: nsEmbedString doesn't support Equals method. So add some bits to test two nsEmbedString. See https://bugzilla.mozilla.org/show_bug.cgi?id=296286
* Fix compile warning.Christian Persch2005-05-311-1/+1
| | | | | | | | 2005-05-31 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Fix compile warning.
* Add scroll event listener, and change zoom on scroll+wheel events.Christian Persch2005-05-312-0/+65
| | | | | | | | | | | | | | | 2005-05-31 Christian Persch <chpe@cvs.gnome.org> * data/default-prefs-common.js: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: Add scroll event listener, and change zoom on scroll+wheel events. * lib/ephy-zoom.c: (ephy_zoom_get_changed_zoom_level): * lib/ephy-zoom.h: Fix signed/unsigned integer problems (underflow).
* Remove "Software Developers" checkbox from New CA dialogue. From bugChristian Persch2005-05-311-10/+1
| | | | | | | | | 2005-05-30 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSDialogs.cpp: Remove "Software Developers" checkbox from New CA dialogue. From bug #168295.
* Check for toolkit nsITypeAheadFind.Christian Persch2005-05-2914-119/+658
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-05-28 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Check for toolkit nsITypeAheadFind. * embed/Makefile.am: * embed/ephy-embed-factory.c: (ephy_embed_factory_new_object): * embed/ephy-embed-find.c: (ephy_embed_find_set_embed), (ephy_embed_find_set_properties), (ephy_embed_find_find), (ephy_embed_find_find_again), (ephy_embed_find_get_type): * embed/ephy-embed-find.h: * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-find.cpp: * embed/mozilla/mozilla-embed-find.h: * embed/mozilla/mozilla-embed.cpp: * src/bookmarks/ephy-bookmarks-import.c: (gul_general_read_line_from_file): * src/ephy-find-toolbar.c: (get_find), (set_controls), (tab_content_changed_cb), (entry_changed_cb), (ephy_find_toolbar_init), (ephy_find_toolbar_finalize), (ephy_find_toolbar_class_init), (ephy_find_toolbar_new), (ephy_find_toolbar_get_text), (ephy_find_toolbar_set_embed), (ephy_find_toolbar_find_next), (ephy_find_toolbar_find_previous): * src/ephy-find-toolbar.h: * src/ephy-window.c: (ephy_window_set_active_tab), (ephy_window_init), (ephy_window_get_find_toolbar), (ephy_window_notebook_switch_page_cb): * src/ephy-window.h: * src/window-commands.c: (window_cmd_edit_find_next), (window_cmd_edit_find_prev): Implement typeaheadfind for the find toolbar.
* Get a temporary filename to save to only when needed.Jean-François Rameau2005-05-291-14/+14
| | | | | | | | 2005-05-28 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/mozilla-embed-persist.cpp: (impl_save): Get a temporary filename to save to only when needed.
* Don't use (void).Christian Persch2005-05-262-2/+2
| | | | | | | | | 2005-05-26 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyProtocolHandler.cpp: * embed/mozilla/EphyProtocolHandler.h: Don't use (void).
* Add protocol handler, which I'll use for our custom error pages. SinceChristian Persch2005-05-2611-5/+283
| | | | | | | | | | | | | | | | | | | 2005-05-26 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyProtocolHandler.cpp: * embed/mozilla/EphyProtocolHandler.h: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/Makefile.am: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozRegisterComponents.cpp: Add protocol handler, which I'll use for our custom error pages. Since it's almost gratis, add about:epiphany back.
* A src/ephy-find-toolbar.c: A src/ephy-find-toolbar.h:Christian Persch2005-05-263-454/+0
| | | | | | | | | | | | | | | | | | | 2005-05-25 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * embed/find-dialog.c: * embed/find-dialog.h: A src/ephy-find-toolbar.c: A src/ephy-find-toolbar.h: * src/ephy-window.c: (sync_tab_document_type), (tab_content_changed_cb), (ephy_window_set_active_tab), (ephy_window_dispose), (sync_find_toolbar_text_cb), (find_toolbar_find_next_cb), (find_toolbar_find_previous_cb), (find_toolbar_close_cb), (ephy_window_init), (ephy_window_notebook_switch_page_cb), (ephy_window_find): Replace the find dialogue with a find toolbar. Work in progress; no typeaheadfind yet.
* No need to have Init on the event listener classes, move thatChristian Persch2005-05-152-68/+19
| | | | | | | | | 2005-05-14 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: No need to have Init on the event listener classes, move that
* Drop support for mozilla < 1.7.5.Christian Persch2005-05-151-8/+0
| | | | | | | | | 2005-05-14 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/EphyBrowser.cpp: Drop support for mozilla < 1.7.5.
* Just replace the check for broken reload by HAVE_GECKO_1_8.Christian Persch2005-05-153-5/+5
| | | | | | | | | | | 2005-05-14 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Just replace the check for broken reload by HAVE_GECKO_1_8.
* Add handling of DOMContentLoaded event from Gecko. It is an event thatJean-François Rameau2005-05-134-0/+58
| | | | | | | | | | | | | 2005-05-12 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/ephy-embed.h: * embed/ephy-embed.c: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EventContext.cpp: Add handling of DOMContentLoaded event from Gecko. It is an event that Gecko throws when the dom’s content is loaded, that is, before all the images and what not have loaded.
* More trusted checks.Christian Persch2005-05-092-0/+36
| | | | | | | | | 2005-05-08 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EventContext.cpp: More trusted checks.
* Remove unused varChristian Persch2005-05-081-2/+0
|
* Slight performance improvements.Christian Persch2005-05-072-25/+78
| | | | | | | | | 2005-05-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: Slight performance improvements.
* Use the document's URL as tab address, not the info from the locationChristian Persch2005-05-071-1/+10
| | | | | | | | | | 2005-05-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * src/ephy-tab.c: (ephy_tab_address_cb): Use the document's URL as tab address, not the info from the location changed signal.
* Set MozDownload as progress listener on the web browser persist.Christian Persch2005-05-071-0/+3
| | | | | | | | 2005-05-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: Set MozDownload as progress listener on the web browser persist.
* Use nsICancelable.Christian Persch2005-05-071-0/+9
| | | | | | | | 2005-05-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-persist.cpp: Use nsICancelable.
* Use new way to add user agent info. Fixes bug #173000.Christian Persch2005-05-061-2/+9
| | | | | | | | 2005-05-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Use new way to add user agent info. Fixes bug #173000.
* Thanks to the fastback patch, we can now get the secure browser UI objectChristian Persch2005-05-052-6/+14
| | | | | | | | | | 2005-05-05 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/MozRegisterComponents.cpp: Thanks to the fastback patch, we can now get the secure browser UI object from the docshell.
* Fix the build from the last commit.Christian Persch2005-05-041-7/+5
| | | | | | | | 2005-05-04 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-persist.cpp: Fix the build from the last commit.
* Use the web navigation to get the URI, not the document. Fixes bugChristian Persch2005-05-043-40/+36
| | | | | | | | | | | 2005-05-03 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Use the web navigation to get the URI, not the document. Fixes bug #301044.
* Simplify the class info implementation for EphySidebar.Christian Persch2005-05-013-94/+13
| | | | | | | | | | 2005-05-01 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphySidebar.cpp: * embed/mozilla/EphySidebar.h: * embed/mozilla/MozRegisterComponents.cpp: Simplify the class info implementation for EphySidebar.
* Ged rid of all API checks which check for 1.8-only API, and introduce aChristian Persch2005-04-268-87/+139
| | | | | | | | | | | | | | | | | | | | | 2005-04-26 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Ged rid of all API checks which check for 1.8-only API, and introduce a Gecko version check instead. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-download.cpp: Fix for mozilla API change, and use the new HAVE_GECKO_1_8 define where appropriate.
* Fix crash on 64bit architectures when downloading. Fixes bug #301093,Christian Persch2005-04-191-1/+1
| | | | | | | | | 2005-04-18 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-persist.cpp: Fix crash on 64bit architectures when downloading. Fixes bug #301093, patch by Sjoerd Simons.
* Add null check.Christian Persch2005-04-171-0/+2
| | | | | | | | 2005-04-17 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-persist.cpp: Add null check.
* Mozilla API change.Christian Persch2005-04-171-0/+9
| | | | | | | | | 2005-04-17 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/ContentHandler.cpp: Mozilla API change.
* More changes for 64bit downloads.Christian Persch2005-04-094-21/+21
| | | | | | | | | | | | | 2005-04-08 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (format_interval), (update_download_row): * embed/ephy-download.c: (update_remaining_time), (ephy_download_get_remaining_time): * embed/ephy-download.h: * embed/mozilla/mozilla-download.cpp: More changes for 64bit downloads.
* Don't use G_BEGIN/END_DECLS here, and don't include MozDownload.h.Christian Persch2005-04-092-12/+10
| | | | | | | | 2005-04-08 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-download.h: Don't use G_BEGIN/END_DECLS here, and don't include MozDownload.h.
* InitForEmbed isn't a NS_IMETHOD, so don't use NS_IMETHODIMP here.Christian Persch2005-04-091-1/+1
| | | | | | | | 2005-04-08 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: InitForEmbed isn't a NS_IMETHOD, so don't use NS_IMETHODIMP here.
* Add G_SIGNAL_TYPE_STATIC_SCOPE to many signals.Christian Persch2005-04-095-19/+19
| | | | | | | | | | | | | 2005-04-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-cookie-manager.c: (ephy_cookie_manager_base_init): * embed/ephy-embed-single.c: (ephy_embed_single_iface_init): * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-history.c: (ephy_history_class_init): * embed/ephy-permission-manager.c: (ephy_permission_manager_base_init): Add G_SIGNAL_TYPE_STATIC_SCOPE to many signals.
* Implement a more flexible approach at saving a EphyNodeDb, by allowing toChristian Persch2005-04-082-3/+11
| | | | | | | | | | | | | | | | 2005-04-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_finalize): * embed/ephy-history.c: (save_filter), (ephy_history_save): * lib/ephy-node-db.c: (ephy_node_db_write_to_xml_valist): * lib/ephy-node.h: * lib/ephy-state.c: (ephy_states_save): * src/bookmarks/ephy-bookmarks.c: (save_filter), (ephy_bookmarks_save): Implement a more flexible approach at saving a EphyNodeDb, by allowing to specify a filter func to exclude certain nodes, instead of a fixed list.
* Emit signal when encountering alternate links. Fixes bug #171657.Christian Persch2005-04-084-70/+128
| | | | | | | | | | | | 2005-04-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * lib/ephy-marshal.list: Emit signal when encountering alternate links. Fixes bug #171657.
* Use get/set_int64.Christian Persch2005-04-061-2/+2
| | | | | | | | | 2005-04-06 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-persist.c: (ephy_embed_persist_set_property), (ephy_embed_persist_get_property): Use get/set_int64.
* Fix for MOZILLA_INTERNAL_API change, and for 64bit downloader change.Christian Persch2005-04-0624-75/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-06 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/downloader-view.c: (update_download_row): * embed/ephy-download.c: * embed/ephy-download.h: * embed/ephy-embed-persist.c: (ephy_embed_persist_set_max_size), (ephy_embed_persist_set_property), (ephy_embed_persist_get_property), (ephy_embed_persist_class_init): * embed/ephy-embed-persist.h: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyHeaderSniffer.h: * embed/mozilla/EphyHistoryListener.cpp: * embed/mozilla/EphySidebar.cpp: * 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/MozDownload.h: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: Fix for MOZILLA_INTERNAL_API change, and for 64bit downloader change.
* Treat unknown mime types as 'unsafe'. Patch by Jean-François Rameau, partChristian Persch2005-03-241-1/+1
| | | | | | | | | 2005-03-24 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: Treat unknown mime types as 'unsafe'. Patch by Jean-François Rameau, part of bug #170493.
* Fix stupid typos. Fixes bug #171197; thanks to Jean-François Rameau forChristian Persch2005-03-231-2/+2
| | | | | | | | | 2005-03-23 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: Fix stupid typos. Fixes bug #171197; thanks to Jean-François Rameau for finding the cause.
* Oh the joys of mozilla API changes :PChristian Persch2005-03-221-3/+14
| | | | | | | | | 2005-03-21 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/ContentHandler.cpp: Oh the joys of mozilla API changes :P
* Also search nsIPassword.h in unusual places.Christian Persch2005-03-131-0/+1
| | | | | | | | | 2005-03-13 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/Makefile.am: Also search nsIPassword.h in unusual places.
* Remove the wallet hack; it appears not to work correctly using mozilla 1.7Christian Persch2005-03-103-67/+0
| | | | | | | | | | | | 2005-03-10 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/MozillaPrivate.h: * embed/mozilla/mozilla-embed-single.cpp: Remove the wallet hack; it appears not to work correctly using mozilla 1.7 (work on trunk; but that's dead).
* Version 1.7.0.Christian Persch2005-03-081-1/+1
| | | | | | | | | | | | | | | | 2005-03-07 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * data/Makefile.am: * data/epiphany-1.6.pc.in: * data/epiphany-1.8.pc.in: * doc/reference/tmpl/ephy-embed.sgml: * embed/Makefile.am: * lib/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Version 1.7.0.
* NULL check. Fixes bug #165999.Christian Persch2005-03-011-0/+2
| | | | | | | | | | | | | 2005-02-28 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: NULL check. Fixes bug #165999. * src/ephy-main.c: (slowly_and_stupidly_obtain_timestamp), (main): Try to get an approximation to the launch time if DESKTOP_STARTUP_ID is not set. Fixes bug #168820, patch by Elijah Newren.
* Fix compress_tilde to only look at the prefix, and not substitute in theChristian Persch2005-02-281-1/+1
| | | | | | | | | 2005-02-27 Christian Persch <chpe@cvs.gnome.org> * lib/eel-gconf-extensions.c: (tilde_compress): Fix compress_tilde to only look at the prefix, and not substitute in the middle.
* Try to fix the build with 1.7 branch.Christian Persch2005-02-281-2/+3
| | | | | | | | 2005-02-27 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: Try to fix the build with 1.7 branch.
* Check for password inputs too.Christian Persch2005-02-272-8/+14
| | | | | | | | | 2005-02-27 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-event.h: * embed/mozilla/EventContext.cpp: Check for password inputs too.
* Check the favicon file type and only allow ico, gif & png. Fixes bugChristian Persch2005-02-271-1/+47
| | | | | | | | | 2005-02-27 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get): Check the favicon file type and only allow ico, gif & png. Fixes bug #163886.
* Don't assert if we don't have a new embed in new_window callback. Part ofChristian Persch2005-02-271-4/+6
| | | | | | | | | 2005-02-26 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Don't assert if we don't have a new embed in new_window callback. Part of bug #165445.
* Depend on gnome-desktop for gnome-desktop-item, and up the gnome-vfsChristian Persch2005-02-276-30/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-26 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Depend on gnome-desktop for gnome-desktop-item, and up the gnome-vfs dependency version. * embed/ephy-embed-persist.c: (ephy_embed_persist_set_user_time), (ephy_embed_persist_get_user_time), (ephy_embed_persist_set_property), (ephy_embed_persist_get_property), (ephy_embed_persist_init), (ephy_embed_persist_class_init): * embed/ephy-embed-persist.h: Add user time property. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Forward user time to MozDownload via a string. Not perfect, but better than nothing. * embed/mozilla/EphyHeaderSniffer.cpp: Set user time on filechooser. * embed/mozilla/MozDownload.cpp: Get user time from content handler, and use it when launching the external handler app. * lib/ephy-file-helpers.c: (ephy_file_check_mime), (launch_desktop_item), (ephy_file_launch_desktop_file), (ephy_file_launch_application), (ephy_file_launch_handler): * lib/ephy-file-helpers.h: Convenience functions to launch an app, or a desktop item, with user time. * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file), (ephy_gui_window_update_user_time), (ephy_gui_window_present): * lib/ephy-gui.h: Make our own gtk_window_present, to correctly update user time. Check if the path is writable in ephy_gui_confirm_overwrite_file(). * src/ephy-session.c: (ephy_session_autoresume): After showing the recovery dialogue, don't use the old user time to launch the windows; use the current event time instead. * src/popup-commands.c: (background_download_completed), (image_open_uri), (save_source_completed_cb), (popup_cmd_open_image): * src/window-commands.c: (window_cmd_file_save_as), (save_source_completed_cb), (save_temp_source), (window_cmd_view_page_source): Launch handlers with user time.
* Emit a signal in EphySidebar::AddSearchEngine.Christian Persch2005-02-153-14/+52
| | | | | | | | | | | 2005-02-14 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_iface_init): * embed/ephy-embed-single.h: * embed/mozilla/EphySidebar.cpp: * lib/ephy-marshal.list: Emit a signal in EphySidebar::AddSearchEngine.
* Move wallet code to MozillaPrivate since nsIWalletService.h includesChristian Persch2005-02-113-54/+72
| | | | | | | | | | | 2005-02-11 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/MozillaPrivate.h: * embed/mozilla/mozilla-embed-single.cpp: Move wallet code to MozillaPrivate since nsIWalletService.h includes nsString.h in older mozilla versions.
* Add check for nsIWalletService.h.Christian Persch2005-02-111-0/+55
| | | | | | | | | | | | 2005-02-11 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Add check for nsIWalletService.h. * embed/mozilla/mozilla-embed-single.cpp: Make sure the wallet store is secured.
* Implement nsIWebProgressListener. Fixes bug #165328.Christian Persch2005-02-101-2/+2
| | | | | | | | 2005-02-09 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: Implement nsIWebProgressListener. Fixes bug #165328.
* Fix for mozilla API change.Christian Persch2005-02-081-0/+4
| | | | | | | | 2005-02-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozRegisterComponents.cpp: Fix for mozilla API change.
* Don't copy params with the email address. Fixes bug #144469.Christian Persch2005-02-031-2/+5
| | | | | | | | 2005-02-02 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Don't copy params with the email address. Fixes bug #144469.
* Weak ref the parent window.Christian Persch2005-02-031-5/+22
| | | | | | | | | 2005-02-02 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-persist.c: (ephy_embed_persist_set_fc_parent), (ephy_embed_persist_finalize): Weak ref the parent window.
* Add title signal handler for XUL dialogues.Christian Persch2005-01-311-0/+14
| | | | | | | | 2005-01-31 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: Add title signal handler for XUL dialogues.
* Some sparse fixes.Christian Persch2005-01-311-1/+1
| | | | | | | | | | | | | | 2005-01-30 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_new): * lib/ephy-dialog.c: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_new): * src/ephy-link.c: (ephy_link_open): * src/ephy-statusbar.c: (create_statusbar_security_icon): * src/ephy-window.c: * src/prefs-dialog.c: (get_download_button_label): Some sparse fixes.
* Move new-window signal to the embed single, and new window creation fromChristian Persch2005-01-307-42/+103
| | | | | | | | | | | | | | | | | | | | | 2005-01-30 Christian Persch <chpe@cvs.gnome.org> * doc/reference/tmpl/ephy-embed.sgml: * embed/ephy-embed-single.c: (ephy_embed_single_iface_init): * embed/ephy-embed-single.h: * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-embed.h: * lib/ephy-marshal.list: * lib/ephy-prefs.h: * src/ephy-shell.c: (ephy_shell_new_window_cb), (impl_get_embed_single): * src/ephy-tab.c: (ephy_tab_new_window_cb): Move new-window signal to the embed single, and new window creation from EphyTab to EphyShell.
* Refactored to elimiate code duplication.Christian Persch2005-01-291-59/+28
| | | | | | | | 2005-01-28 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: Refactored to elimiate code duplication.
* Add ; to all LOG statements, and adapt ephy-debug.h for non-GNUC-varargsChristian Persch2005-01-2918-78/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-28 Christian Persch <chpe@cvs.gnome.org> * doc/reference/tmpl/ephy-embed.sgml: * embed/ephy-embed-persist.c: (ephy_embed_persist_init), (ephy_embed_persist_finalize): * embed/ephy-embed-shell.c: (ephy_embed_shell_finalize): * embed/ephy-encodings.c: (ephy_encodings_finalize), (ephy_encodings_init): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_finalize), (favicon_download_completed_cb), (favicon_download_cancelled_cb), (ephy_favicon_cache_download), (ephy_favicon_cache_get): * embed/ephy-history.c: (ephy_history_set_enabled), (ephy_history_save), (ephy_history_finalize), (ephy_history_host_visited), (ephy_history_set_page_title), (ephy_history_set_icon), (ephy_history_clear): * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHistoryListener.cpp: * embed/mozilla/EphySidebar.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * lib/ephy-dbus.c: (session_filter_func), (system_filter_func), (ephy_dbus_connect_to_system_bus), (ephy_dbus_connect_to_session_bus), (path_message_func), (ephy_dbus_startup), (ephy_dbus_shutdown), (ephy_dbus_init), (ephy_dbus_finalize): * lib/ephy-debug.h: * lib/ephy-file-chooser.c: (ephy_file_chooser_finalize): * lib/ephy-file-helpers.c: (ephy_file_helpers_shutdown): * lib/ephy-langs.c: (load_iso_entries): * lib/ephy-module.c: (ephy_module_load), (ephy_module_unload), (ephy_module_new_object), (ephy_module_init), (ephy_module_finalize): * lib/ephy-node-db.c: (ephy_node_db_load_from_file), (ephy_node_db_write_to_xml_valist): * lib/ephy-shlib-loader.c: (ephy_shlib_loader_init), (ephy_shlib_loader_finalize): * lib/widgets/ephy-location-entry.c: (entry_style_set_cb), (entry_realize_cb), (ephy_location_entry_construct_contents), (ephy_location_entry_init): * lib/widgets/ephy-spinner.c: (ephy_spinner_cache_load), (ephy_spinner_cache_get_images), (ephy_spinner_cache_init), (ephy_spinner_cache_finalize): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_update_node): * lib/widgets/ephy-tree-model-sort.c: (each_property_get_data_binder): * src/bookmarks/ephy-bookmark-action.c: (create_tool_item), (connect_proxy), (ephy_bookmark_action_finalize): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_set_bookmark), (set_window_icon): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_update_menu), (provide_favicon): * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf), (ephy_bookmarks_export_mozilla): * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_rebuild), (do_update_cb), (bookmarks_tree_changed_cb), (topics_added_cb), (topics_removed_cb), (topic_child_changed_cb), (bookmark_added_cb), (bookmark_removed_cb), (activate_cb), (ephy_bookmarks_menu_finalize): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_toolbars_model), (ephy_bookmarks_save), (ephy_bookmarks_finalize), (ephy_bookmarks_find_keyword), (ephy_bookmarks_set_keyword), (ephy_bookmarks_unset_keyword): * src/bookmarks/ephy-bookmarksbar-model.c: (save_changes_idle), (load_toolbars), (ephy_bookmarksbar_model_init), (ephy_bookmarksbar_model_dispose), (ephy_bookmarksbar_model_finalize): * src/bookmarks/ephy-bookmarksbar.c: (ephy_bookmarksbar_action_request), (ephy_bookmarksbar_finalize): * src/bookmarks/ephy-favorites-menu.c: (ephy_favorites_menu_rebuild): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_set_title): * src/bookmarks/ephy-topic-action.c: (connect_proxy): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_set_bookmark): * src/ephy-encoding-menu.c: (add_action): * src/ephy-extensions-manager.c: (ephy_extensions_manager_load), (ephy_extensions_manager_unload), (ephy_extensions_manager_load_string), (get_loader_for_type), (load_extension), (unload_extension), (sync_loaded_extensions), (ephy_extensions_manager_load_dir), (ephy_extensions_manager_init), (ephy_extensions_manager_startup), (ephy_extensions_manager_finalize), (impl_attach_window), (impl_detach_window), (impl_attach_tab), (impl_detach_tab): * src/ephy-history-window.c: (setup_filters), (provide_favicon): * src/ephy-link.c: (ephy_link_open): * src/ephy-location-action.c: (user_changed_cb), (sync_address), (ephy_location_action_set_address): * src/ephy-navigation-action.c: (menu_activated_cb), (connect_proxy): * src/ephy-notebook.c: (ephy_notebook_finalize): * src/ephy-session.c: (window_focus_in_event_cb), (impl_attach_window), (impl_detach_window), (ephy_session_init), (ephy_session_dispose), (ephy_session_finalize), (ephy_session_autoresume), (ephy_session_close), (ephy_session_save), (ephy_session_load), (ephy_session_add_window), (ephy_session_remove_window): * src/ephy-shell.c: (save_yourself_cb), (die_cb), (ephy_shell_finalize), (ephy_shell_new_tab), (ephy_shell_get_toolbars_model), (toolwindow_show_cb), (toolwindow_hide_cb): * src/ephy-tab.c: (popups_manager_add), (popups_manager_add_window), (ephy_tab_get_popups_allowed), (popups_manager_show_all), (popups_manager_hide_all), (ephy_tab_finalize), (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb), (ephy_tab_new_window_cb), (ephy_tab_visibility_cb), (ephy_tab_destroy_brsr_cb), (ephy_tab_size_to_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_update): * src/ephy-toolbar.c: (sync_user_input_cb): * src/ephy-toolbars-model.c: (save_changes_idle), (ephy_toolbars_model_load): * src/ephy-window.c: (ephy_window_destroy), (show_embed_popup), (ephy_window_init), (ephy_window_finalize): * src/pdm-dialog.c: (pdm_dialog_cookies_construct), (cookie_added_cb), (cookie_changed_cb), (cookie_deleted_cb), (cookies_cleared_cb), (pdm_dialog_passwords_construct), (passwords_changed_cb): * src/prefs-dialog.c: (fonts_language_changed_cb): Add ; to all LOG statements, and adapt ephy-debug.h for non-GNUC-varargs case.
* Add a alert when the user clicks on a sidebar link, telling that theCrispin Flowerday2005-01-252-2/+15
| | | | | | | | | | | | | 2005-01-24 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed-shell.c: (impl_get_embed_single), (ephy_embed_shell_get_embed_single), (ephy_embed_shell_class_init): * embed/ephy-embed-shell.h: * src/ephy-shell.c: (ephy_shell_class_init), (ephy_shell_add_sidebar_cb), (impl_get_embed_single): Add a alert when the user clicks on a sidebar link, telling that the sidebar extension is required. Fixes bug #162685
* Fix "Go Up" not to omit the directory if the uri references a file. PatchChristian Persch2005-01-251-47/+54
| | | | | | | | | 2005-01-24 Christian Persch,,, <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: Fix "Go Up" not to omit the directory if the uri references a file. Patch taken from galeon. Fixes equiv. of bug #165094.
* Fix the g_signal_emit to pass an argument for the result, otherwise thingsCrispin Flowerday2005-01-251-1/+2
| | | | | | | | | 2005-01-24 Crispin Flowerday <gnome@flowerday.cx> * embed/mozilla/EphySidebar.cpp (AddPanel): Fix the g_signal_emit to pass an argument for the result, otherwise things break.
* Work around a mozilla bug by diverting the contract ID ofChristian Persch2005-01-242-5/+87
| | | | | | | | | 2005-01-24 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/MozRegisterComponents.cpp: Work around a mozilla bug by diverting the contract ID of
* Check for broken context event button.Christian Persch2005-01-239-156/+225
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-23 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Check for broken context event button. * embed/ephy-embed-event.c: (ephy_embed_event_get_context), (ephy_embed_event_get_button): * embed/ephy-embed-event.h: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-event.h: Change get_type to get_button, and don't store a nsCOMPtr in .priv. * src/ephy-tab.c: (ephy_tab_dom_mouse_click_cb): * src/ephy-window.c: (show_embed_popup), (tab_context_menu_cb), (ephy_window_set_active_tab): Adapted for above change. * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: Attach listener to oncontextmenu event. * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: Get event target coordinates also for 'mouse' context events. * embed/mozilla/mozilla-embed.cpp: Remove key-down handler, and context code from mouse-down handler.
* Really make confirm-overwrite dialogue have a parent window. Fixes bugChristian Persch2005-01-191-3/+4
| | | | | | | | | 2005-01-18 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyHeaderSniffer.cpp: Really make confirm-overwrite dialogue have a parent window. Fixes bug #164189.
* Remove stamp files also on make clean.Christian Persch2005-01-171-2/+2
| | | | | | | | | | | 2005-01-16 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * src/Makefile.am: Remove stamp files also on make clean.
* Rename the password manager's methods to give better names in theJean-François rameau2005-01-162-11/+11
| | | | | | | | | | | | | | | 2005-01-15 Jean-François rameau <jframeau@cvs.gnome.org> * embed/ephy-password-manager.h: * embed/ephy-password-manager.c: * src/pdm-dialog.c: (pdm_dialog_password_remove), (pdm_dialog_fill_passwords_list) Rename the password manager's methods to give better names in the bindings. ephy_password_manager_add -> ephy_password_manager_add_password ephy_password_manager_remove -> ephy_password_manager_remove_password ephy_password_manager_list -> ephy_password_manager_list_passwords
* Don't use <tt> in the strings. Fixes bug #163378.Christian Persch2005-01-162-54/+33
| | | | | | | | | | | | | | | | | | | 2005-01-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: Don't use <tt> in the strings. Fixes bug #163378. * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): * src/bookmarks/ephy-bookmarks.c: (redirect_cb): Fix button text and capitalisation in the confirm-redirect-update dialogue. Fixes bug #164131. * src/ephy-window.c: (confirm_close_with_modified_forms): Fix primary text of confirm-close command not to have a period.
* Remove p3p info from EphyCookie.Christian Persch2005-01-153-32/+1
| | | | | | | | | | 2005-01-15 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-cookie-manager.c: (ephy_cookie_copy): * embed/ephy-cookie-manager.h: * embed/mozilla/EphySingle.cpp: Remove p3p info from EphyCookie.
* Puny docs change.Adam Hooper2005-01-141-2/+2
|
* Remove the type builtins .h files from INST_H_FILES again.Christian Persch2005-01-141-1/+0
| | | | | | | | | | 2005-01-14 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * lib/Makefile.am: * src/Makefile.am: Remove the type builtins .h files from INST_H_FILES again.
* Install ephy-*-type-builtins.h.Christian Persch2005-01-141-0/+1
| | | | | | | | | | 2005-01-12 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * lib/Makefile.am: * src/Makefile.am: Install ephy-*-type-builtins.h.
* Remove an extra line of gtk-doc which doesn't belong.Adam Hooper2005-01-121-1/+0
|
* Add "check-content" signal.Christian Persch2005-01-124-36/+139
| | | | | | | | | | | | | | | | | | 2005-01-11 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_iface_init): * embed/ephy-embed-single.h: Add "check-content" signal. * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyContentPolicy.h: Emit from here. * lib/ephy-marshal.list: New marshal.
* Use the enums instead of ints.Christian Persch2005-01-122-6/+6
| | | | | | | | | 2005-01-11 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-cookie-manager.h: * embed/mozilla/EphySingle.cpp: Use the enums instead of ints.
* Fix [DIST]CLEANFILES so that make distcheck passes.Christian Persch2005-01-121-2/+2
| | | | | | | | | | | 2005-01-11 Christian Persch <chpe@cvs.gnome.org> * src/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * embed/Makefile.am: Fix [DIST]CLEANFILES so that make distcheck passes.
* Use UnEscapeURIForUI instead of UnEscapeNonAsciiURI.Christian Persch2005-01-111-1/+1
| | | | | | | | 2005-01-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Use UnEscapeURIForUI instead of UnEscapeNonAsciiURI.
* Alerts should not have terminating periods in the primary text.Christian Persch2005-01-111-3/+3
| | | | | | | | 2005-01-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: Alerts should not have terminating periods in the primary text.
* Fix a mem leak.Jean-François Rameau2005-01-111-0/+1
| | | | | | | | 2005-01-10 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/print-dialog.c: (ephy_print_get_print_info): Fix a mem leak.
* Don't check for nsIBrowserHistory.Christian Persch2005-01-091-1/+1
| | | | | | | | | 2005-01-09 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/GlobalHistory.cpp: Don't check for nsIBrowserHistory.
* Add mnemonic to Send button.Christian Persch2005-01-091-2/+2
| | | | | | | | 2005-01-09 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: Add mnemonic to Send button.
* Set show-once to PR_FALSE if the GetBoolPref call fails.Christian Persch2005-01-091-6/+3
| | | | | | | | 2005-01-09 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: Set show-once to PR_FALSE if the GetBoolPref call fails.
* Shut upChristian Persch2005-01-091-0/+1
|
* Set default response to ACCEPT in send-to-insecure dialogue, only writeChristian Persch2005-01-092-9/+16
| | | | | | | | | | | | 2005-01-09 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: * embed/mozilla/GtkNSSSecurityWarningDialogs.h: Set default response to ACCEPT in send-to-insecure dialogue, only write back show_once pref when not shown by default, and add the dialogue to its parent's window group (note that there isn't a parent without a mozilla patch, currently).
* Improve dialogue wording. Thanks to spark for his help.Christian Persch2005-01-091-11/+11
| | | | | | | | 2005-01-09 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: Improve dialogue wording. Thanks to spark for his help.
* Override the default security warning dialogues implementation with ourChristian Persch2005-01-094-1/+368
| | | | | | | | | | | | | | | 2005-01-09 Christian Persch <chpe@cvs.gnome.org> * data/default-prefs-common.js: * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: * embed/mozilla/GtkNSSSecurityWarningDialogs.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: Override the default security warning dialogues implementation with our own class which follows HIG and our interface design. Fixes bug #163371. Also show the entering-secure dialogue once, to inform about the lock icon in the statusbar.
* Also generate types for ephy-cookie-manager.h's enums.Christian Persch2005-01-091-8/+2
| | | | | | | | 2005-01-08 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: Also generate types for ephy-cookie-manager.h's enums.
* More stamp magic.Christian Persch2005-01-091-3/+7
| | | | | | | | | | | 2005-01-08 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * src/Makefile.am: More stamp magic.
* Make all structs prefixed by _.Christian Persch2005-01-0915-43/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-cookie-manager.h: * embed/ephy-download.c: * embed/ephy-download.h: * embed/ephy-embed-dialog.c: * embed/ephy-embed-dialog.h: * embed/ephy-embed-persist.c: * embed/ephy-embed-persist.h: * embed/ephy-encodings.c: * embed/ephy-encodings.h: * embed/ephy-favicon-cache.c: * embed/ephy-favicon-cache.h: * embed/ephy-history.c: * embed/ephy-history.h: * embed/ephy-password-manager.h: * embed/ephy-permission-manager.h: * lib/ephy-file-chooser.c: * lib/ephy-file-chooser.h: * lib/ephy-node-db.c: * lib/ephy-node-db.h: * lib/ephy-node-filter.c: * lib/ephy-node-filter.h: * lib/ephy-node.c: * lib/ephy-node.h: * lib/widgets/ephy-node-view.c: * lib/widgets/ephy-node-view.h: * lib/widgets/ephy-search-entry.c: * lib/widgets/ephy-search-entry.h: * lib/widgets/ephy-spinner.c: * lib/widgets/ephy-spinner.h: * lib/widgets/ephy-tree-model-node.c: * lib/widgets/ephy-tree-model-node.h: * lib/widgets/ephy-tree-model-sort.c: * lib/widgets/ephy-tree-model-sort.h: * lib/widgets/ephy-zoom-action.c: * lib/widgets/ephy-zoom-action.h: * src/bookmarks/ephy-bookmark-properties.c: * src/bookmarks/ephy-bookmark-properties.h: * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-bookmarks-editor.h: * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-bookmarksbar-model.c: * src/bookmarks/ephy-bookmarksbar-model.h: * src/bookmarks/ephy-bookmarksbar.c: * src/bookmarks/ephy-bookmarksbar.h: * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-new-bookmark.h: * src/bookmarks/ephy-topics-selector.c: * src/bookmarks/ephy-topics-selector.h: * src/ephy-completion-model.c: * src/ephy-completion-model.h: * src/ephy-encoding-dialog.c: * src/ephy-encoding-dialog.h: * src/ephy-history-window.c: * src/ephy-history-window.h: Make all structs prefixed by _.
* Shut upChristian Persch2005-01-081-0/+1
|
* Avoid unnecessary rebuilts of the generated enum .h files by using stampChristian Persch2005-01-071-3/+10
| | | | | | | | | | | | 2005-01-07 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * src/Makefile.am: Avoid unnecessary rebuilts of the generated enum .h files by using stamp files.
* Simplfiy the rule a bit.Christian Persch2005-01-071-2/+2
| | | | | | | | | | 2005-01-06 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * lib/egg/Makefile.am: * src/Makefile.am: Simplfiy the rule a bit.
* Use glib-mkenums to generate the enum and flags get_type functions.Christian Persch2005-01-079-236/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-06 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/Makefile.am: * embed/ephy-embed-event.c: * embed/ephy-embed-event.h: * embed/ephy-embed-persist.c: * embed/ephy-embed-persist.h: * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/ephy-permission-manager.c: * embed/ephy-permission-manager.h: * lib/egg/Makefile.am: * lib/egg/egg-toolbars-model.c: * lib/egg/egg-toolbars-model.h: * src/Makefile.am: * src/ephy-link.c: * src/ephy-link.h: * src/ephy-navigation-action.c: * src/ephy-shell.c: (ephy_shell_error_quark): * src/ephy-shell.h: * src/ephy-tab.c: * src/ephy-tab.h: * src/ephy-window.c: Use glib-mkenums to generate the enum and flags get_type functions.
* Remove trailing whitespace.Christian Persch2005-01-061-1/+2
| | | | | | | | | | | | 2005-01-05 Christian Persch <chpe@cvs.gnome.org> * data/Makefile.am: Remove trailing whitespace. * embed/mozilla/MozDownload.cpp: Fix build with moz 1.7.
* Only implement nsITransfer if possible.Christian Persch2005-01-062-25/+54
| | | | | | | | | | 2005-01-05 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Only implement nsITransfer if possible.
* Consistently start enum names with EPHY_*.Crispin Flowerday2005-01-0613-133/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-05 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed-event.c: (ephy_embed_event_context_get_type): * embed/ephy-embed-event.h: * embed/ephy-embed-persist.c: (ephy_embed_persist_flags_get_type): * embed/ephy-embed-persist.h: * embed/ephy-embed.c: (ephy_embed_net_state_get_type), (ephy_embed_ppv_navigation_get_type), (ephy_embed_security_level_get_type), (ephy_embed_document_type_get_type): * embed/ephy-embed.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-shell.c: (ephy_shell_new_tab): * src/ephy-tab.c: (ephy_tab_address_expire_get_type), (ephy_tab_navigation_flags_get_type), (ephy_tab_set_property), (ephy_tab_class_init), (ephy_tab_get_document_type), (ephy_tab_address_cb), (update_net_state_message), (build_progress_from_requests), (ensure_page_info), (ephy_tab_net_state_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_init), (ephy_tab_update_navigation_flags), (ephy_tab_set_location), (ephy_tab_get_security_level): * src/ephy-tab.h: * src/ephy-window.c: (sync_tab_document_type), (sync_tab_navigation), (sync_tab_security), (sync_tab_zoom), (update_popups_tooltips), (show_embed_popup): * src/popup-commands.c: (popup_cmd_copy_link_address), (save_property_url), (popup_cmd_set_image_as_background), (save_temp_source): * src/ppview-toolbar.c: (toolbar_cmd_ppv_goto_first), (toolbar_cmd_ppv_goto_last), (toolbar_cmd_ppv_go_back), (toolbar_cmd_ppv_go_forward): * src/toolbar.c: (sync_user_input_cb): * src/window-commands.c: (window_cmd_file_save_as), (save_temp_source): Consistently start enum names with EPHY_*.
* Use G_TYPE_STRING instead of G_TYPE_POINTER for address and featuresAdam Hooper2005-01-041-2/+2
| | | | of ge-popup-blocked signal.
* Add type for flags.Christian Persch2005-01-042-1/+28
| | | | | | | | | 2005-01-03 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-persist.c: (ephy_embed_persist_flags_get_type): * embed/ephy-embed-persist.h: Add type for flags.
* Ensure that flags and enums start with 'Ephy'Crispin Flowerday2005-01-0413-52/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-01-03 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed-event.c: * embed/ephy-embed-event.h: * embed/ephy-embed-persist.c: (ephy_embed_persist_set_flags): * embed/ephy-embed-persist.h: * embed/ephy-embed.c: (ephy_embed_base_init), (ephy_embed_get_security_level), (ephy_embed_print_preview_navigate): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-tab.c: (ephy_tab_address_expire_get_type), (ephy_tab_navigation_flags_get_type), (ephy_tab_document_type_cb), (update_net_state_message), (build_progress_from_requests), (ephy_tab_net_state_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_security_change_cb), (ephy_tab_update_navigation_flags), (ephy_tab_set_location), (ephy_tab_set_security_level): * src/ephy-tab.h: * src/ephy-window.c: (sync_tab_document_type), (sync_tab_navigation), (sync_tab_security), (sync_tab_zoom), (update_popups_tooltips), (show_embed_popup), (ephy_window_class_init): * src/popup-commands.c: (popup_cmd_copy_link_address): Ensure that flags and enums start with 'Ephy'
* Make ephy-encodings.h not public anymore.Christian Persch2005-01-041-1/+1
| | | | | | | | 2005-01-03 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: Make ephy-encodings.h not public anymore.
* Another enum type.Christian Persch2005-01-042-0/+24
| | | | | | | | | | | | | | | | | 2005-01-03 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-permission-manager.c: (ephy_permission_get_type): * embed/ephy-permission-manager.h: Another enum type. * lib/ephy-marshal.list: Remove unused marshal. * src/ephy-tab.c: (ephy_tab_class_init): Use enum for security level type.
* Add types for some enums and flags.Christian Persch2005-01-045-14/+153
| | | | | | | | | | | | | | | | | | 2005-01-03 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-event.c: (ephy_embed_event_context_get_type), (ephy_embed_event_type_get_type): * embed/ephy-embed-event.h: * embed/ephy-embed.c: (ephy_embed_net_state_get_type), (ephy_embed_ppv_navigation_get_type), (ephy_embed_security_level_get_type), (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * lib/ephy-marshal.list: * src/ephy-tab.c: (update_net_state_message), (build_progress_from_requests), (ephy_tab_net_state_cb): Add types for some enums and flags.
* Remove ephy_window_print().Christian Persch2005-01-031-23/+0
| | | | | | | | | | | | 2005-01-03 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.h: Remove ephy_window_print(). * embed/ephy-encodings.h: Remove unused enum.
* Add an "add-sidebar" signal on the EphyEmbedSingle interface, it getsCrispin Flowerday2005-01-026-0/+285
| | | | | | | | | | | | | | | 2005-01-01 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed-single.c: (ephy_embed_single_iface_init): * embed/ephy-embed-single.h: * embed/mozilla/EphySidebar.cpp: * embed/mozilla/EphySidebar.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: Add an "add-sidebar" signal on the EphyEmbedSingle interface, it gets emitted when a user clicks on a link that wants to add a url to the sidebar.
* We don't need to implement nsIBrowserHistory.Christian Persch2005-01-022-78/+2
| | | | | | | | | | 2005-01-01 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GlobalHistory.h: We don't need to implement nsIBrowserHistory.
* Fix compilation in the !HAVE_MOZILLA_PSM case.Christian Persch2005-01-011-2/+4
| | | | | | | | 2004-12-31 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.h: Fix compilation in the !HAVE_MOZILLA_PSM case.
* Move mime permission checks to ephy-file-helpers.Christian Persch2005-01-014-112/+11
| | | | | | | | | | | | | | | | | | | | | 2004-12-31 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_finalize), (ephy_embed_shell_get_encodings): * embed/ephy-embed-shell.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * lib/ephy-file-helpers.c: (ephy_file_helpers_shutdown), (ephy_file_delete_on_exit), (load_mime_from_xml), (ephy_file_check_mime): * lib/ephy-file-helpers.h: Move mime permission checks to ephy-file-helpers. * src/popup-commands.c: (image_open_uri), (save_source_completed_cb), (popup_cmd_open_image): Only open the image if its mime type is 'safe'.
* Add translator's comments to contextualised strings.Christian Persch2004-12-312-0/+26
| | | | | | | | | | | 2004-12-31 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (progress_cell_data_func): * embed/ephy-encodings.c: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): * src/prefs-dialog.c: (get_name_for_lang_code): Add translator's comments to contextualised strings.
* R data/conspiracy.xhtml: R data/epiphany.html: RChristian Persch2004-12-314-212/+0
| | | | | | | | | | | | | | 2004-12-31 Christian Persch <chpe@cvs.gnome.org> * data/Makefile.am: R data/conspiracy.xhtml: R data/epiphany.html: R embed/mozilla/EphyAboutRedirector.cpp: R embed/mozilla/EphyAboutRedirector.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: Remove about: redirections.
* Don't destroy the dialogue with the parent, since that makes gtk+ goChristian Persch2004-12-271-0/+1
| | | | | | | | | 2004-12-26 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/FilePicker.cpp: Don't destroy the dialogue with the parent, since that makes gtk+ go crazy. Fixes bug #156816.
* Add context to ambiguous strings. Fixes bug #113932.Christian Persch2004-12-261-11/+13
| | | | | | | | | | | | | 2004-12-25 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-encodings.c: (ephy_encodings_init): * lib/ephy-langs.c: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_init): * src/ephy-window.c: (show_embed_popup), (tab_context_menu_cb), (ephy_window_set_active_tab): * src/prefs-dialog.c: (create_fonts_language_menu): Add context to ambiguous strings. Fixes bug #113932.
* EphyEmbedChrome is flags, not enum.Christian Persch2004-12-241-1/+1
| | | | | | | | | 2004-12-24 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): * lib/ephy-marshal.list: EphyEmbedChrome is flags, not enum.
* A lib/ephy-signal-accumulator.c: (ephy_signal_accumulator_object): AChristian Persch2004-12-233-15/+16
| | | | | | | | | | | | | | | 2004-12-23 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * lib/Makefile.am: * lib/ephy-marshal.list: A lib/ephy-signal-accumulator.c: (ephy_signal_accumulator_object): A lib/ephy-signal-accumulator.h: * src/ephy-tab.c: (ephy_tab_new_window_cb): Fix new_window signal.
* Add comment for translatorsChristian Persch2004-12-221-0/+1
|
* Don't crash if trying to get the document type before the widget isChristian Persch2004-12-211-0/+2
| | | | | | | | | 2004-12-20 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Don't crash if trying to get the document type before the widget is realised.
* Fix untranslated string. Fixes bug #161739.Christian Persch2004-12-201-1/+2
| | | | | | | | 2004-12-20 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (update_download_row): Fix untranslated string. Fixes bug #161739.
* Fix crash, thanks to Crispin for noticing this.Christian Persch2004-12-191-2/+3
| | | | | | | | 2004-12-19 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozRegisterComponents.cpp: Fix crash, thanks to Crispin for noticing this.
* 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.