aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EventContext.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused variables, and adjust some MOZILLA_SNAPSHOT checks.Christian Persch2004-05-071-2/+0
| | | | | | | | | | | | | | 2004-05-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/mozilla-embed.cpp: Remove unused variables, and adjust some MOZILLA_SNAPSHOT checks.
* 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.
* 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