aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EventContext.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert the change from r7406; see bug #476540.Christian Persch2007-09-131-1/+1
| | | | svn path=/trunk/; revision=7426
* Revert the change from r7407; see bug #476540.Christian Persch2007-09-131-1/+1
| | | | svn path=/trunk/; revision=7425
* Include nsStringGlue.h instead of nsStringAPI.hChristian Persch2007-09-131-1/+1
| | | | svn path=/trunk/; revision=7407
* Include xpcom-config.h, not mozilla-config.hChristian Persch2007-09-131-1/+1
| | | | svn path=/trunk/; revision=7406
* Correct FSF address. Bug #409075, patch by John Millikin.RELEASE_2_18_0GNOME_2_18_BRANCHPOINTChristian Persch2007-03-121-1/+1
| | | | | | | | | | 2007-03-11 Christian Persch <chpe@gnome.org> * *: Correct FSF address. Bug #409075, patch by John Millikin. svn path=/trunk/; revision=6952
* Add smb: to recognised web schemes. Bug #352733.Christian Persch2006-09-301-0/+3
| | | | | | | | 2006-09-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Add smb: to recognised web schemes. Bug #352733.
* Use UTF-8 copyright symbolChristian Persch2006-09-131-3/+3
|
* Don't start search on <embed> and <object> elements.Christian Persch2006-08-081-1/+6
| | | | | | | | 2006-08-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Don't start search on <embed> and <object> elements.
* Use nsAString::Equals.Christian Persch2006-05-151-1/+1
| | | | | | | | | | 2006-05-14 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: * embed/mozilla/EventContext.cpp: Use nsAString::Equals.
* Drop support for gecko 1.7.Christian Persch2006-05-111-94/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-05-10 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * data/glade/prefs-dialog.glade: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get): * embed/mozilla/AutoJSContextStack.cpp: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyAboutModule.cpp: * embed/mozilla/EphyAboutModule.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyContentPolicy.h: * embed/mozilla/EphyDirectoryProvider.cpp: * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: * embed/mozilla/EphyHistoryListener.cpp: * embed/mozilla/EphyHistoryListener.h: * embed/mozilla/EphyPromptService.cpp: * embed/mozilla/EphySidebar.cpp: * embed/mozilla/EphySidebar.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphySingle.h: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/FilePicker.cpp: * embed/mozilla/FilePicker.h: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GlobalHistory.h: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: * embed/mozilla/GtkNSSSecurityWarningDialogs.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/MozRegisterComponents.h: * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/MozillaPrivate.h: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/PrintingPromptService.h: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-download.h: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-event.h: * embed/mozilla/mozilla-embed-find.cpp: * embed/mozilla/mozilla-embed-find.h: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-persist.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-embed.h: * embed/mozilla/mozilla-notifiers.cpp: * embed/mozilla/mozilla-notifiers.h: * embed/mozilla/mozilla-x509-cert.cpp: * embed/mozilla/mozilla-x509-cert.h: * lib/ephy-gui.c: * lib/ephy-gui.h: * lib/ephy-langs.c: * m4/gecko.m4: * src/ephy-window.c: (sync_tab_security): * src/prefs-dialog.c: (prefs_dialog_init): Drop support for gecko 1.7.
* Don't activate typeaheadfind on XUL documents.Christian Persch2006-03-021-0/+3
| | | | | | | | 2006-03-02 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Don't activate typeaheadfind on XUL documents.
* Don't require a HTML document to activate typeaheadfind. Bug #326813.Christian Persch2006-01-131-18/+22
| | | | | | | | | 2006-01-13 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Don't require a HTML document to activate typeaheadfind. Bug #326813.
* Unify background image and image code (contex menu, conext event). Fix bugJean-François Rameau2005-09-271-16/+15
| | | | | | | | | | | | | | 2005-09-26 Jean-François Rameau <jframeau@cvs.gnome.org> * src/ephy-lockdown.c: (update_window): * src/ephy-window.c: (update_popups_tooltips), (show_embed_popup): * src/popup-commands.c: * src/popup-commands.h: * embed/mozilla/EventContext.cpp: (GetEventContext): * data/ui/epiphany-ui.xml: Unify background image and image code (contex menu, conext event). Fix bug 154887.
* QI the element to check whether it's of some type, don't check the tag.Christian Persch2005-08-181-13/+28
| | | | | | | | | 2005-08-17 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: QI the element to check whether it's of some type, don't check the tag.
* Version 1.7.1.Release171Christian Persch2005-06-051-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-031-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* More trusted checks.Christian Persch2005-05-091-0/+18
| | | | | | | | | 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-071-25/+65
| | | | | | | | | 2005-05-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: Slight performance improvements.
* Ged rid of all API checks which check for 1.8-only API, and introduce aChristian Persch2005-04-261-2/+4
| | | | | | | | | | | | | | | | | | | | | 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 for MOZILLA_INTERNAL_API change, and for 64bit downloader change.Christian Persch2005-04-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Check for password inputs too.Christian Persch2005-02-271-0/+5
| | | | | | | | | 2005-02-27 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-event.h: * embed/mozilla/EventContext.cpp: Check for password inputs too.
* 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.
* Check for broken context event button.Christian Persch2005-01-231-35/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 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.
* Consistently start enum names with EPHY_*.Crispin Flowerday2005-01-061-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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_*.
* 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.
* nsEmbedString.h now requires MOZILLA_STRICT_API define.Christian Persch2004-11-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* We always have config.h, no need to guard its inclusion.Christian Persch2004-11-031-2/+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.
* Fix compiler warnings.Christian Persch2004-09-271-2/+0
| | | | | | | | | | | | | | | | 2004-09-26 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/mozilla-notifiers.cpp: * lib/egg/eggtrayicon.h: Fix compiler warnings. * src/ephy-window.c: (hide_embed_popup_cb), (show_embed_popup): Fix a signal leak.
* Merging pre-gnome-2-10 branch to HEAD.Christian Persch2004-09-131-2/+3
| | | | | | | | 2004-09-13 Christian Persch <chpe@cvs.gnome.org> Merging pre-gnome-2-10 branch to HEAD. Splitting ChangeLog.
* Use GetLocalName instead of GetTagName to get the attribute name. Patch byChristian Persch2004-08-161-2/+2
| | | | | | | | | 2004-08-16 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Use GetLocalName instead of GetTagName to get the attribute name. Patch by Mikael Brockman, fixes bug #150208.
* Consistent naming for nsresult vars. Since 'rv' had the majority, 'rv' itChristian Persch2004-08-081-16/+15
| | | | | | | | | | | | | | 2004-08-08 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: Consistent naming for nsresult vars. Since 'rv' had the majority, 'rv' it is.
* Don't use -include which compilers other than gcc don't understand.Christian Persch2004-07-311-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-07-30 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyAboutRedirector.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/Makefile.am: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: Don't use -include which compilers other than gcc don't understand. Instead include mozilla-config.h as first thing in each file. Part of bug #143094. * embed/mozilla/EphyUtils.cpp: Also include config.h.
* -1 is valid button number, it's used for synthesised "mouse" events onChristian Persch2004-07-071-0/+7
| | | | | | | | | 2004-07-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: -1 is valid button number, it's used for synthesised "mouse" events on form submit via Return key. Fixes bug #145420.
* Unescape the mailto: address, fixes bug #144462.Christian Persch2004-07-051-2/+34
| | | | | | | | | 2004-07-05 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: Unescape the mailto: address, fixes bug #144462.
* Normal context menus for check/radio/submit buttons. Fixes bug #143942.Christian Persch2004-07-041-37/+50
| | | | | | | | | | 2004-07-04 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: Normal context menus for check/radio/submit buttons. Fixes bug #143942.
* Add a way to open new windows passing features and uri. Something like jsMarco Pesenti Gritti2004-06-131-2/+0
| | | | | | | | | | | | | | | | 2004-06-12 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_open_window): * embed/ephy-embed-single.h: * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/mozilla-embed-single.cpp: Add a way to open new windows passing features and uri. Something like js window.open. It's necessary for popup blocker.
* Fix CSS background detection, based on a galeon patch by CrispinChristian Persch2004-06-091-53/+66
| | | | | | | | | 2004-06-08 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Fix CSS background detection, based on a galeon patch by Crispin Flowerday. Fixed bug #143602.
* merge mozilla-embed-strings branchMarco Pesenti Gritti2004-06-041-181/+144
|
* Complete headers definesMarco Pesenti Gritti2004-04-301-21/+29
| | | | | | | | | | | | 2004-04-29 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/MozillaPrivate.h: * embed/mozilla/mozilla-embed.cpp: Complete headers defines
* More defines work, still lack EventContext and EmbedPrivate. Use mozillaMarco Pesenti Gritti2004-04-291-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-29 Marco Pesenti Gritti <marco@gnome.org> * configure.in: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyAboutRedirector.cpp: * embed/mozilla/EphyAboutRedirector.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyContentPolicy.h: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GlobalHistory.h: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.h: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSDialogs.h: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: More defines work, still lack EventContext and EmbedPrivate. Use mozilla like warning flags instead of those gnome macros. Remove several unused variables.
* Don't assume every anchor has a href attribute. Fixes bug #138200.Christian Persch2004-03-291-14/+5
| | | | | | | | 2004-03-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Don't assume every anchor has a href attribute. Fixes bug #138200.
* merging pre-gnome-2-8 branchMarco Pesenti Gritti2004-03-171-17/+5
|
* Add $ markersChristian Persch2004-02-221-0/+1
|
* R embed/mozilla/nsUnicharUtils.h: R embed/mozilla/nsUnicharUtils.cpp:Christian Persch2004-02-211-62/+44
| | | | | | | | | | | | | 2004-02-20 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: * embed/mozilla/EphyBrowser.cpp: R embed/mozilla/nsUnicharUtils.h: R embed/mozilla/nsUnicharUtils.cpp: Adapt to changed mozilla string APIs by getting rid of nsUnicharUtils, and using EqualsIgnoreCase instead of Equal with nsCaseInsensitiveStringComparator().
* Excise old galeon 1, non ported, defined-out code.Christian Persch2004-02-071-4/+0
| | | | | | | | 2004-02-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Excise old galeon 1, non ported, defined-out code.
* data: urls can be opened in new tabs too.Christian Persch2004-01-231-0/+1
| | | | | | | | | 2004-01-22 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: * src/ephy-tab.c: (address_has_web_scheme): data: urls can be opened in new tabs too.
* about: can be opened in new tab too.Christian Persch2004-01-211-3/+4
| | | | | | | | | 2004-01-21 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: * src/ephy-tab.c: (address_has_web_scheme): about: can be opened in new tab too.
* Make EphyEmbedEvent abstract, implemented by MozillaEmbedEvent. PortChristian Persch2004-01-161-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | 2004-01-15 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-event.c: (ephy_embed_event_get_type), (ephy_embed_event_base_init), (ephy_embed_event_get_event_type), (ephy_embed_event_get_context), (ephy_embed_event_get_modifier), (ephy_embed_event_get_coords), (ephy_embed_event_get_property), (ephy_embed_event_has_property), (ephy_embed_event_get_dom_event): * embed/ephy-embed-event.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-event.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-window.c: (popup_menu_at_coords): * src/popup-commands.c: (popup_cmd_copy_link_address): Make EphyEmbedEvent abstract, implemented by MozillaEmbedEvent. Port callers to the new api. Fix some callers in src/ which were using private fields of EphyEmbedEvent struct.
* Only allow "Open in New Tab/Window" for certain protocols.Christian Persch2004-01-131-0/+27
| | | | | | | | | | | | 2004-01-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * src/ephy-tab.c: (address_has_web_scheme): * src/ephy-window.c: (show_embed_popup): Only allow "Open in New Tab/Window" for certain protocols.
* Adapt to the ever-changing mozilla API.Christian Persch2004-01-111-4/+12
| | | | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * configure.in: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EventContext.cpp: Adapt to the ever-changing mozilla API.
* Bring ephy_window_get_toolbar signature in line withChristian Persch2003-12-251-2/+2
| | | | | | | | | | | | | | | | | | | | 2003-12-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_get_toolbar), (ephy_window_set_zoom): * src/ephy-window.h: * src/window-commands.c: (window_cmd_edit_toolbar), (window_cmd_load_location): Bring ephy_window_get_toolbar signature in line with ephy_window_get_[statusbar|notebook]. 2003-12-24 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: GDK_Meta_L is a keycode, not a modifier code. Map meta to GDK_MOD2_MASK.
* We cant cache mDOMDocument, it changes for every document loaded. RemoveMarco Pesenti Gritti2003-10-291-5/+1
| | | | | | | | | | | | 2003-10-29 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EventContext.cpp: We cant cache mDOMDocument, it changes for every document loaded. Remove some unused methods from definition.
* Make some vars private, remove an unused one.Marco Pesenti Gritti2003-10-291-1/+5
| | | | | | | | | | | | | | 2003-10-29 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: Make some vars private, remove an unused one. * embed/mozilla/EventContext.cpp: Use the content dom document to determine is_framed_page.
* Solving the wrapper mess Episode 3. Rename to EphyBrowser and add sanityMarco Pesenti Gritti2003-10-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | 2003-10-27 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-embed.h: Solving the wrapper mess Episode 3. Rename to EphyBrowser and add sanity checks. GtkMozEmbed initialize the browser on realize, that means until that we shouldnt use most of the EphyBrowser methods. I'm quite sure there are not such cases in current implementation, otherwise we would have had problems also before. Though better avoid problems in the future.
* Solving the wrapper mess Episode 1.Marco Pesenti Gritti2003-10-271-1/+1
| | | | | | | | | | | | | | | | | | 2003-10-27 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: Solving the wrapper mess Episode 1. Cleanup EphyWrapper to use higher level apis. Do not set docshell history explicitly, it seem to pickup the registered one nicely.
* Every time you change API God kills a kitten. Think of the kitten!! (ThatXan Lopez2003-10-231-2/+14
| | | | | | | | | | * embed/mozilla/EphyEventListener.cpp: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/EphyWrapper.h: * embed/mozilla/EventContext.cpp: Every time you change API God kills a kitten. Think of the kitten!! (That means you, Mozilla :)
* Include config.h.Christian Persch2003-10-161-1/+7
| | | | | | | | 2003-10-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Include config.h.
* Added in support to allow Mozilla 1.4.1 to be used for Epiphany compile.Patanjali Somayaji2003-09-141-1/+1
|
* Use link text as bookmark title when no title is specified.Marco Pesenti Gritti2003-08-051-1/+84
| | | | | | | | | | | 2003-08-05 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * src/popup-commands.c: (popup_cmd_bookmark_link): Use link text as bookmark title when no title is specified.
* Fix add bookmark from linkMarco Pesenti Gritti2003-06-231-0/+4
| | | | | | | | 2003-06-22 Marco Pesenti Gritti <marco@it.gnome.org> * src/popup-commands.c: (popup_cmd_bookmark_link): Fix add bookmark from link
* Remove some obsolete entries.Marco Pesenti Gritti2003-06-161-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-16 Marco Pesenti Gritti <marco@it.gnome.org> * data/ui/nautilus-epiphany-view.xml.in: Remove some obsolete entries. * embed/Makefile.am: * embed/ephy-embed-event.c: (ephy_embed_event_init), (ephy_embed_event_get_event_type): * embed/ephy-embed-event.h: Make more generic and allow to make distinction between mouse and key events. * embed/ephy-embed-popup-bw.c: * embed/ephy-embed-popup-bw.h: Remove, unused. * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: Emit context signals only when necessary, get rid of unused mouse_down signal. * embed/ephy-embed-popup-control.c: (ephy_embed_popup_control_show_impl): * embed/mozilla/EventContext.cpp: * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init), (gnv_embed_dom_mouse_click_cb), (gnv_embed_context_menu_cb): * src/ephy-tab.c: (ephy_tab_dom_mouse_click_cb), (ephy_tab_context_menu_cb): Use new event api.
* Shift+F10 show context menus on the embed. (Less invasive way untilMarco Pesenti Gritti2003-06-161-0/+58
| | | | | | | | | | | | | | | | | | | | | | 2003-06-15 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-embed-event.c: (ephy_embed_event_init): * embed/ephy-embed-event.h: * embed/ephy-embed-popup-bw.c: (popup_menu_at_coords), (ephy_embed_popup_bw_show_impl): * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-tab.c: (popup_menu_at_coords), (ephy_tab_show_embed_popup), (ephy_tab_context_menu_cb), (ephy_tab_init): Shift+F10 show context menus on the embed. (Less invasive way until gtkmozembed has a context_menu signal) From galeon.
* TypoMarco Pesenti Gritti2003-06-151-1/+1
|
* Use new INIT macros (from galeon).Marco Pesenti Gritti2003-06-151-70/+51
| | | | | | | | | | | | | | | | 2003-06-15 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: Use new INIT macros (from galeon). * embed/ephy-embed-event.c: (ephy_embed_event_get_coords): * embed/ephy-embed-event.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/mozilla-embed.cpp: mozilla api changes (from galeon). Untested.
* ), (EventContext::SetStringProperty (const char*, const nsACString&)):Christian Persch2003-06-151-3/+3
| | | | | | | | | | | 2003-06-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single: (control_encodings_list): * embed/mozilla/EventContext.cpp: (EventContext::SetIntProperty), (EventContext::SetStringProperty (const char*, const char*)), (EventContext::SetStringProperty (const char*, const nsACString&)): Fix mem leaks.
* fix casting on big-endian, from galeon.Marco Pesenti Gritti2003-02-161-1/+6
| | | | | | | | 2003-02-15 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/EventContext.cpp: fix casting on big-endian, from galeon.
* *** empty log message ***Marco Pesenti Gritti2003-02-061-4/+0
|
* Initial revisionMarco Pesenti Gritti2002-12-311-0/+669