aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-embed-single.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove cruftChristian Persch2008-02-271-158/+0
| | | | svn path=/trunk/; revision=7990
* Remove unused struct member.Xan Lopez2008-02-251-2/+0
| | | | svn path=/trunk/; revision=7979
* Update to new glib 2.15.2 API, bump glib dep and remove a Cosimo Cecchi2008-01-151-1/+2
| | | | | | remaining gnome-vfs bit from configure.ac. svn path=/trunk/; revision=7864
* Drop gnome-vfs dependency. Now Epiphany depends on glib >= 2.15.1.Cosimo Cecchi2008-01-141-20/+23
| | | | | | | Also, optional Zeroconf support depends on Avahi >= 0.6.22. Bug #507152. svn path=/trunk/; revision=7858
* Add remove_all_passwords method to EphyPasswordManager and implement itCosimo Cecchi2007-11-051-0/+40
| | | | | | | in Mozilla and XulRunner backends. Bug #476411. svn path=/trunk/; revision=7623
* 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
* Do not use #ifdef inside macros, ancient compilers don't like itXan Lopez2007-07-311-2/+15
| | | | | | | | | | | | 2007-07-31 Xan Lopez <xan@gnome.org> * embed/mozilla/mozilla-embed-single.cpp: * embed/webkit/webkit-embed-single.cpp: Do not use #ifdef inside macros, ancient compilers don't like it svn path=/trunk/; revision=7225
* Add support for the WebKit engine, compile with --with-engine=webkit toXan Lopez2007-07-281-90/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-07-27 Xan Lopez <xan@gnome.org> * Makefile.am: * configure.ac: * doc/reference/Makefile.am: * embed/Makefile.am: * embed/ephy-embed-factory.c: (ephy_embed_factory_new_object): * embed/ephy-embed-persist.c: * embed/ephy-embed-shell.c: * embed/ephy-embed.c: * embed/webkit/Makefile.am: * embed/webkit/webkit-embed-find.cpp: * embed/webkit/webkit-embed-find.h: * embed/webkit/webkit-embed-persist.cpp: * embed/webkit/webkit-embed-persist.h: * embed/webkit/webkit-embed-single.cpp: * embed/webkit/webkit-embed-single.h: * embed/webkit/webkit-embed.cpp: * embed/webkit/webkit-embed.h: * src/Makefile.am: Add support for the WebKit engine, compile with --with-engine=webkit to activate. * embed/mozilla/mozilla-embed-single.cpp: Move to the G_DEFINE_TYPE_WITH_CODE macro. svn path=/trunk/; revision=7208
* Make sure postscript printing is enabled, and the printer list empty (soChristian Persch2007-07-151-0/+3
| | | | | | | | | | | 2007-07-15 Christian Persch <chpe@gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Make sure postscript printing is enabled, and the printer list empty (so we only get the PostScript/default printer). svn path=/trunk/; revision=7165
* nsIPasswordManager doesn't exist on trunk anymore.Christian Persch2007-05-271-3/+12
| | | | | | | | | | 2007-05-27 Christian Persch <chpe@gnome.org> * embed/mozilla/mozilla-embed-single.cpp: nsIPasswordManager doesn't exist on trunk anymore. svn path=/trunk/; revision=7053
* Fix Epiphany not finding some Gecko plugins when running in a multilibBastien Nocera2007-03-161-12/+67
| | | | | | | | | | | | 2007-03-16 Bastien Nocera <hadess@hadess.net> * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-single.cpp: Fix Epiphany not finding some Gecko plugins when running in a multilib environment (Closes: #407419) svn path=/trunk/; revision=6971
* 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
* Try to work with trunkChristian Persch2006-12-091-2/+1
|
* Implement EphyPasswordManagerIface.add to add stored passwords. Fixes bugWouter Bolsterlee2006-10-151-1/+29
| | | | | | | | 2006-10-15 Wouter Bolsterlee <wbolster@gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Implement EphyPasswordManagerIface.add to add stored passwords. Fixes bug #361606, patch by John Millikin.
* Use UTF-8 copyright symbolChristian Persch2006-09-131-4/+4
|
* Remove some unnecessary static data.Christian Persch2006-09-071-6/+6
| | | | | | | | 2006-09-06 Christian Persch <chpe@cvs.gnome.org> * *.c *.cpp: Remove some unnecessary static data.
* nsIPassword.h is always available. Fixes bug #350997.Christian Persch2006-08-121-7/+1
| | | | | | | | 2006-08-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: nsIPassword.h is always available. Fixes bug #350997.
* Use AutoJSContextStack on window open. Disable XPrint.Christian Persch2006-08-081-1/+12
| | | | | | | | | 2006-08-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Use AutoJSContextStack on window open. Disable XPrint.
* R embed/mozilla/MozillaPrivate.cpp: R embed/mozilla/MozillaPrivate.h:Christian Persch2006-08-081-1/+0
| | | | | | | | | | 2006-08-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: R embed/mozilla/MozillaPrivate.cpp: R embed/mozilla/MozillaPrivate.h: Remove unused files.
* === Release 2.15.2 ===RELEASE_2_15_2Christian Persch2006-05-161-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | 2006-05-15 Christian Persch <chpe@cvs.gnome.org> === Release 2.15.2 === * NEWS: 2006-05-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/mozilla/mozilla-x509-cert.cpp: Some castings.
* Drop non-toolkit gecko support too.Christian Persch2006-05-111-6/+1
| | | | | | | | | | 2006-05-10 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-single.cpp: Drop non-toolkit gecko support too.
* Drop support for gecko 1.7.Christian Persch2006-05-111-221/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* === Release 2.15.1 ===RELEASE_2_15_1Christian Persch2006-04-241-2/+2
| | | | | | | | | | | | | | | | | | | 2006-04-24 Christian Persch <chpe@cvs.gnome.org> === Release 2.15.1 === * configure.ac: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-single.cpp: * src/window-commands.c: (window_cmd_help_about): Update for 2.15.1. * help/eu/eu.po: * help/fi/fi.po: * help/ja/ja.po: Fix the build by adding bogus translator-credits strings.
* Don't use g_return_if_fail here.Christian Persch2006-03-061-1/+0
| | | | | | | | | | | | 2006-03-05 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-find.cpp: Don't use g_return_if_fail here. * embed/mozilla/mozilla-embed-single.cpp: Remove fixed FIXME.
* Use NS_LogInit()/NS_LogTerm().Christian Persch2006-02-111-0/+8
| | | | | | | | 2006-02-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Use NS_LogInit()/NS_LogTerm().
* Remove workaround for broken profile now thatChristian Persch2006-02-081-6/+3
| | | | | | | | | | 2006-02-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Remove workaround for broken profile now that https://bugzilla.mozilla.org/show_bug.cgi?id=326013 is fixed.
* Changes to support xulrunner trunk (gecko 1.9).Christian Persch2006-02-061-20/+10
| | | | | | | | | | | | | | | | 2006-02-05 Christian Persch <chpe@cvs.gnome.org> * m4/gecko.m4: * configure.ac: * embed/mozilla/Makefile.am: Changes to support xulrunner trunk (gecko 1.9). * embed/mozilla/mozilla-embed-single.cpp: Go back to continuing after failed GetPassword; fixes getting the password list in case one item is corrupted.
* Only use the major version in the user agent string.Christian Persch2006-02-061-3/+3
| | | | | | | | | 2006-02-05 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-single.cpp: Only use the major version in the user agent string.
* If GetPassword failed, break instead of continue. That way we don'tChristian Persch2006-01-301-1/+9
| | | | | | | | | 2006-01-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: If GetPassword failed, break instead of continue. That way we don't endlessly re-ask for the master password.
* Add a function (ephy_embed_single_get_backend_name) to get the backendCrispin Flowerday2006-01-301-0/+17
| | | | | | | | | | | | 2006-01-29 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed-single.c: (ephy_embed_single_get_backend_name): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-single.cpp: * src/epiphany.defs: Add a function (ephy_embed_single_get_backend_name) to get the backend that epiphany is using.
* libnm-glib be-gone! Use NetworkManager directly via DBUS, by importing theChristian Persch2006-01-261-84/+0
| | | | | | | | | | | | | | | | | | | | | | 2006-01-25 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * data/epiphany.schemas.in: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-single.cpp: * lib/ephy-prefs.h: * src/Makefile.am: * src/ephy-net-monitor.c: * src/ephy-net-monitor.h: * src/ephy-shell.c: (ephy_shell_sync_network_status), (impl_get_embed_single), (ephy_shell_dispose), (ephy_shell_get_net_monitor), (_ephy_shell_create_instance), (_ephy_shell_startup): * src/ephy-shell.h: libnm-glib be-gone! Use NetworkManager directly via DBUS, by importing the excellent net-monitor extension directly into Epiphany. Code by Jean-François Rameau.
* Set the "browser.display.use_system_colors" pref on gecko 1.8, instead ofChristian Persch2006-01-251-2/+11
| | | | | | | | | | 2006-01-25 Christian Persch <chpe@cvs.gnome.org> * data/default-prefs-gecko-1-8.js: * embed/mozilla/mozilla-embed-single.cpp: Set the "browser.display.use_system_colors" pref on gecko 1.8, instead of monitoring the theme ourself.
* Decouple embed single instantiation and initialisation. PreventsChristian Persch2006-01-181-17/+5
| | | | | | | | | | | | | | | | | 2006-01-18 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (impl_get_embed_single): * embed/ephy-embed-single.c: (ephy_embed_single_init): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-single.cpp: Decouple embed single instantiation and initialisation. Prevents double-initialisation on startup. * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyContentPolicy.h: Remove embed single variable, it was unused.
* Add event type to the callback.Christian Persch2006-01-171-22/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-17 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: (ephy_file_monitor_timeout_cb), (ephy_file_monitor_cb): * lib/ephy-file-helpers.h: Add event type to the callback. * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: New function, like NS_NewFileURI (which we can't use since nsNetUtil.h conflicts with embed strings). * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: Check that the user CSS file exists before registering it. Also handle file-deleted events. * src/bookmarks/ephy-bookmarks-menu.c: (ephy_bookmarks_menu_build): * src/bookmarks/ephy-topics-palette.c: (ephy_topics_palette_constructor), (ephy_topics_palette_class_init): Build fixes.
* Fix number of /'s in URI.Christian Persch2006-01-171-5/+173
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-17 Christian Persch <chpe@cvs.gnome.org> * data/chrome/epiphany.manifest.in: Fix number of /'s in URI. * data/epiphany.schemas.in: Add new entries. * embed/mozilla/EphyAboutModule.cpp: Fix title. * data/glade/prefs-dialog.glade: * embed/ephy-embed-prefs.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/mozilla/mozilla-notifiers.h: * lib/eel-gconf-extensions.c: (eel_gconf_unset_key), (eel_gconf_notify): * lib/eel-gconf-extensions.h: * lib/egg/egg-editable-toolbar.c: (popup_context_menu_cb), (button_press_event_cb), (egg_editable_toolbar_set_ui_manager), (egg_editable_toolbar_set_selected): * lib/ephy-dialog.c: (set_value_from_pref), (set_pref_from_value), (set_value_from_togglebutton), (strcmp_with_null), (get_index_from_value), (compare_values), (set_togglebutton_from_value), (set_pref_from_info_and_emit), (spinbutton_changed_cb), (save_info): * lib/ephy-dialog.h: * lib/ephy-file-helpers.c: (ephy_file_monitor_timeout_cb), (ephy_file_monitor_cb), (ephy_file_monitor_add), (ephy_file_monitor_cancel): * lib/ephy-file-helpers.h: * src/ephy-extensions-manager.c: (ephy_extensions_manager_load_file): * src/ephy-window.c: * src/popup-commands.c: (popup_cmd_bookmark_link): * src/prefs-dialog.c: (prefs_dialog_finalize), (setup_font_combo), (fonts_language_changed_cb), (font_prefs_dialog_response_cb), (row_is_separator), (setup_fonts_dialog), (font_prefs_button_clicked_cb), (css_checkbox_toggled), (css_edit_button_clicked_cb), (prefs_dialog_init): Rework font prefs, and add user stylesheet setting. * src/bookmarks/ephy-bookmark-action-group.c: (node_added_cb): * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_get_local): * src/window-commands.c: (window_cmd_file_bookmark_page): Some build fixes.
* Add NetworkManager magic for connection status autodetection. Defaults toChristian Persch2006-01-161-7/+97
| | | | | | | | | | | | | 2006-01-15 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-single.cpp: * src/Makefile.am: Add NetworkManager magic for connection status autodetection. Defaults to disabled because I'm not very happy with the libnm-glib implementation. Oh, and it may crash on startup, too.
* Only use the directory service provider on gecko 1.8; gecko 1.7 uses aChrhristian Persch2006-01-151-3/+3
| | | | | | | | | | 2006-01-14 Chrhristian Persch <chpe@cvs.gnome.org> * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-single.cpp: Only use the directory service provider on gecko 1.8; gecko 1.7 uses a different method to register chrome.
* Simplify creation and reference counting of the EphyDirectoryProviderCrispin Flowerday2006-01-151-7/+1
| | | | | | | | | 2006-01-14 Crispin Flowerday <gnome@flowerday.cx> * embed/mozilla/mozilla-embed-single.cpp (init_services): Simplify creation and reference counting of the EphyDirectoryProvider class.
* Add defines and automake conditional for toolkit flavour.Christian Persch2006-01-151-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-14 Christian Persch <chpe@cvs.gnome.org> * m4/gecko.m4: Add defines and automake conditional for toolkit flavour. * configure.ac: * data/Makefile.am: A data/chrome/.cvsignore: A data/chrome/Makefile.am: A data/chrome/brand.dtd.in: A data/chrome/brand.properties.in: A data/chrome/epiphany.manifest.in: Provide branding so mozilla dialogues don't show "Deer Park" or "Firefox" but "Epiphany" instead. * embed/mozilla/Makefile.am: A embed/mozilla/EphyDirectoryProvider.cpp: A embed/mozilla/EphyDirectoryProvider.h: * embed/mozilla/mozilla-embed-single.cpp: Add a directory service provider.
* Fix a compile warning.Jean-François Rameau2005-12-151-1/+1
| | | | | | | | 2005-12-15 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/mozilla-embed-single: (impl_import): Fix a compile warning.
* A embed/ephy-certificate-manager.c: A embed/ephy-certificate-manager.h: AChristian Persch2005-12-111-0/+157
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-12-11 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * data/glade/Makefile.am: * data/glade/certs-manager.glade: * data/ui/epiphany-ui.xml: * embed/Makefile.am: A embed/ephy-certificate-manager.c: A embed/ephy-certificate-manager.h: A embed/ephy-x509-cert.c: A embed/ephy-x509-cert.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-single.cpp: A embed/mozilla/mozilla-x509-cert.cpp: A embed/mozilla/mozilla-x509-cert.h: * src/Makefile.am: A src/ephy-certificate-manager.c: A src/ephy-certificate-manager.h: * src/ephy-window.c: * src/window-commands.c: * src/window-commands.h: Add certificate manager. Patch by Robert Marcano and Crispin Flowerday. Fixes bug #119090.
* Make "network-status" property readwrite.Christian Persch2005-11-081-3/+19
| | | | | | | | | 2005-11-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_iface_init): * embed/mozilla/mozilla-embed-single.cpp: Make "network-status" property readwrite.
* Add a way to view stored password. Fix bug 316821.Jean-François Rameau2005-10-231-1/+8
| | | | | | | | | | 2005-10-22 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: (impl_list_passwords): * src/pdm-dialog.c: * data/glade/epiphany.glade: Add a way to view stored password. Fix bug 316821.
* Remove the "network-status" signal from the embed single, and make it aChristian Persch2005-10-131-7/+44
| | | | | | | | | | | | | | | | | | | | 2005-10-12 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_iface_init), (ephy_embed_single_set_network_status), (ephy_embed_single_get_network_status): * embed/ephy-embed-single.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphySingle.h: * embed/mozilla/mozilla-embed-single.cpp: * src/ephy-window.c: (sync_tab_icon), (sync_network_status), (ephy_window_dispose), (ephy_window_init): * src/epiphany.defs: * src/window-commands.c: (window_cmd_file_work_offline): Remove the "network-status" signal from the embed single, and make it a property instead. Keep track of the network status in EphySingle, and emit property notification when it changes.
* Add out private plugin directory to MOZ_PLUGIN_PATH too.Christian Persch2005-10-061-2/+5
| | | | | | | | | | 2005-10-06 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-single.cpp: Add out private plugin directory to MOZ_PLUGIN_PATH too.
* Remove unused function.Jean-François Rameau2005-09-221-25/+0
| | | | | | | | 2005-09-21 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: (have_gnome_url_handler): Remove unused function.
* Don't use ext handler for ftp://.Christian Persch2005-08-211-2/+1
| | | | | | | | | 2005-08-21 Christian Persch <chpe@cvs.gnome.org> * data/default-prefs-common.js: * embed/mozilla/mozilla-embed-single.cpp: Don't use ext handler for ftp://.
* Remove code to get the printer list, and fix a compile warning.Christian Persch2005-07-251-7/+0
| | | | | | | | | | | | | | 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.
* Better fix for bug #151037 to make session shutdown work again. Also fixChristian Persch2005-07-041-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 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.
* 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.
* Remove the wallet hack; it appears not to work correctly using mozilla 1.7Christian Persch2005-03-101-2/+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).
* 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.
* Move wallet code to MozillaPrivate since nsIWalletService.h includesChristian Persch2005-02-111-54/+1
| | | | | | | | | | | 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.
* Move new-window signal to the embed single, and new window creation fromChristian Persch2005-01-301-5/+22
| | | | | | | | | | | | | | | | | | | | | 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.
* 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.
* Simplify the gconf -> mozilla prefs bridge.Christian Persch2004-11-161-2/+2
| | | | | | | | | | 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.
* 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.
* Private data is 0-initialised, no need to set members to NULL, 0, orChristian Persch2004-10-281-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* 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-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* reviewed by: Christian Persch <chpe@cvs.gnome.org>Marco Pesenti Gritti2004-10-111-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-10-10 Marco Pesenti Gritti <marco@gnome.org> reviewed by: Christian Persch <chpe@cvs.gnome.org> * data/glade/print.glade: * embed/ephy-embed-single.c: (ephy_embed_single_get_printer_list): * embed/ephy-embed-single.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/MozillaPrivate.h: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/print-dialog.c: (ephy_print_dialog_new): * lib/ephy-dialog.c: (set_combo_box_from_value): Move current MozillaPrivate helpers to EphyUtils. Use MozillaPrivate for stuff that needs mozilla internal strings. Support multiple printers in the print dialog. This is actually a bug fix because on several distributions using hardcoded Poscript/default will simply not work at all.
* reviewed by: Christian Persch <chpe@cvs.gnome.org>Marco Pesenti Gritti2004-10-071-0/+18
| | | | | | | | | | | | 2004-10-07 Marco Pesenti Gritti <marco@gnome.org> reviewed by: Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-single.cpp: Initialize plugins path env var for backward compatibility
* Fix a warning.Christian Persch2004-10-041-0/+2
| | | | | | | | 2004-10-04 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Fix a warning.
* Mozilla API changes.Christian Persch2004-09-251-2/+11
| | | | | | | | | | 2004-09-25 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/mozilla-embed-single.cpp: Mozilla API changes.
* Remove reference to MOZILLA_FIVE_HOME.Christian Persch2004-09-231-4/+1
| | | | | | | | 2004-09-23 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Remove reference to MOZILLA_FIVE_HOME.
* Fix mozilla API checks to correctly detect firefox libraries.Christian Persch2004-09-211-1/+5
| | | | | | | | | | | | | | | | | | | | | | 2004-09-21 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/Makefile.am: * embed/mozilla/MozDownload.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: Fix mozilla API checks to correctly detect firefox libraries.
* Set mozilla binaries path before firing up.Marco Pesenti Gritti2004-08-201-0/+5
| | | | | | | | | 2004-08-19 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-single.cpp: Set mozilla binaries path before firing up.
* Fix compiler warning about anon enum mismatch.Christian Persch2004-08-091-5/+5
| | | | | | | | | 2004-08-08 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: Fix compiler warning about anon enum mismatch.
* Consistent naming for nsresult vars. Since 'rv' had the majority, 'rv' itChristian Persch2004-08-081-15/+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.
* Make ephy_embed_single_open_window() return the newly opened embed widget.Christian Persch2004-08-081-5/+9
| | | | | | | | | | | | 2004-08-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_open_window): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-single.cpp: (impl_open_window): * src/ephy-tab.c: (popups_manager_show): Make ephy_embed_single_open_window() return the newly opened embed widget.
* Make keyword search URL localisable. Fixes bug #144909.Christian Persch2004-08-071-4/+16
| | | | | | | | | 2004-08-06 Christian Persch <chpe@cvs.gnome.org> * data/default-prefs.js: * embed/mozilla/mozilla-embed-single.cpp: Make keyword search URL localisable. Fixes bug #144909.
* 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.
* Make sure we don't release the single observer more thanChristian Persch2004-07-251-0/+1
| | | | | | | | 2004-07-25 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Make sure we don't release the single observer more than
* No need to make proxy PAC configuration public, we only use it in a prefChristian Persch2004-07-231-19/+0
| | | | | | | | | | | | 2004-07-22 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: No need to make proxy PAC configuration public, we only use it in a pref notifier.
* No need to use a weak ref for the observer, makes the single code easier.Marco Pesenti Gritti2004-07-211-6/+1
| | | | | | | | | | | 2004-07-21 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphySingle.h: * embed/mozilla/mozilla-embed-single.cpp: No need to use a weak ref for the observer, makes the single code easier.
* Decode ACE for UI, and encode UTF-8 hostnames before using cookie andChristian Persch2004-07-051-3/+30
| | | | | | | | | | | 2004-07-05 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphySingle.cpp: * embed/mozilla/mozilla-embed-single.cpp: Decode ACE for UI, and encode UTF-8 hostnames before using cookie and passwords functions with them. Fixes bug #130930.
* Mozilla API change.Christian Persch2004-07-031-0/+5
| | | | | | | | 2004-07-03 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Mozilla API change.
* EphySingle needs to implement nsISupportsWeakReference.Christian Persch2004-06-271-8/+12
| | | | | | | | | | | | 2004-06-27 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphySingle.h: * embed/mozilla/mozilla-embed-single.cpp: EphySingle needs to implement nsISupportsWeakReference. 2004-06-26 Christian Persch <chpe@cvs.gnome.org>
* Implement File->Work Off-Line command and backend. No DBUS/HAL/whateverChristian Persch2004-06-271-3/+38
| | | | | | | | | | | | | | | | | | | | 2004-06-26 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: * embed/ephy-embed-single.c: (ephy_embed_single_iface_init), (ephy_embed_single_set_offline_mode), (ephy_embed_single_get_offline_mode): * embed/ephy-embed-single.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/mozilla-embed-single.cpp: * src/ephy-window.c: (network_status_changed), (ephy_window_init), (ephy_window_finalize): * src/window-commands.c: (window_cmd_file_save_as), (window_cmd_file_work_offline): * src/window-commands.h: Implement File->Work Off-Line command and backend. No DBUS/HAL/whatever integration yet.
* Removed unused array, and added a few missing statics.Christian Persch2004-06-241-10/+3
| | | | | | | | 2004-06-24 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Removed unused array, and added a few missing statics.
* Make the permission type a string instead of an enum, that way we canChristian Persch2004-06-241-13/+17
| | | | | | | | | | | | | | | | 2004-06-23 Christian Persch <chpe@cvs.gnome.org> * doc/reference/tmpl/ephy-permission-manager.sgml: * embed/ephy-permission-manager.c: (ephy_permission_info_new), (ephy_permission_info_copy), (ephy_permission_manager_add), (ephy_permission_manager_remove), (ephy_permission_manager_test), (ephy_permission_manager_list): * embed/ephy-permission-manager.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/mozilla-embed-single.cpp: Make the permission type a string instead of an enum, that way we can support more than just the hardcoded 3 types.
* Implement popup-blocking signals. Part of bug #111930.Adam Hooper2004-06-211-6/+10
|
* Add a way to open new windows passing features and uri. Something like jsMarco Pesenti Gritti2004-06-131-0/+23
| | | | | | | | | | | | | | | | 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.
* Move external protocols prefs defaults in the javascript file and addMarco Pesenti Gritti2004-06-081-12/+3
| | | | | | | | | | 2004-06-08 Marco Pesenti Gritti <marco@gnome.org> * data/default-prefs.js: * embed/mozilla/mozilla-embed-single.cpp: Move external protocols prefs defaults in the javascript file and add webcal (Bug #143899)
* merge mozilla-embed-strings branchMarco Pesenti Gritti2004-06-041-24/+34
|
* Check for nsIPassword.hChristian Persch2004-05-061-5/+10
| | | | | | | | | | | | 2004-05-06 Christian Persch <chpe@cvs.gnome.org> * configure.in: Check for nsIPassword.h * embed/mozilla/mozilla-embed-single.cpp: Allow compilation without nsIPassword (mozilla wallet extension).
* More defines work, still lack EventContext and EmbedPrivate. Use mozillaMarco Pesenti Gritti2004-04-291-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Eliminate ExternalProtocolHandlers in favor of setting prefs to makeChristian Biesinger2004-04-071-17/+15
| | | | | | | | | | | | | * embed/mozilla/ExternalProtocolHandlers.cpp: * embed/mozilla/ExternalProtocolHandlers.h: * embed/mozilla/FilePicker.cpp: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/MozRegisterComponents.h: * embed/mozilla/mozilla-embed-single.cpp: Eliminate ExternalProtocolHandlers in favor of setting prefs to make Mozilla not handle the protocols internally.
* merging pre-gnome-2-8 branchMarco Pesenti Gritti2004-03-171-38/+4
|
* s/IFace/Iface/g to match the gtk+ naming convention.Christian Persch2004-02-201-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-20 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-command-manager.c: (ephy_command_manager_get_type), (ephy_command_manager_base_init), (ephy_command_manager_do_command), (ephy_command_manager_can_do_command): * embed/ephy-command-manager.h: * embed/ephy-cookie-manager.c: (ephy_cookie_manager_get_type), (ephy_cookie_manager_base_init), (ephy_cookie_manager_list_cookies), (ephy_cookie_manager_remove_cookie), (ephy_cookie_manager_clear): * embed/ephy-cookie-manager.h: * embed/ephy-embed-event.c: (ephy_embed_event_get_type), (ephy_embed_event_get_event_type), (ephy_embed_event_get_context), (ephy_embed_event_get_modifier), (ephy_embed_event_get_coords), (ephy_embed_event_get_property), (ephy_embed_event_has_property), (ephy_embed_event_get_dom_event): * embed/ephy-embed-event.h: * embed/ephy-embed-single.c: (ephy_embed_single_get_type), (ephy_embed_single_iface_init), (ephy_embed_single_clear_cache), (ephy_embed_single_clear_auth_cache), (ephy_embed_single_set_offline_mode), (ephy_embed_single_load_proxy_autoconf), (ephy_embed_single_get_font_list): * embed/ephy-embed-single.h: * embed/ephy-embed.c: (ephy_embed_get_type), (ephy_embed_base_init), (ephy_embed_load_url), (ephy_embed_stop_load), (ephy_embed_can_go_back), (ephy_embed_can_go_forward), (ephy_embed_can_go_up), (ephy_embed_get_go_up_list), (ephy_embed_go_back), (ephy_embed_go_forward), (ephy_embed_go_up), (ephy_embed_get_title), (ephy_embed_get_location), (ephy_embed_get_link_message), (ephy_embed_get_js_status), (ephy_embed_reload), (ephy_embed_zoom_set), (ephy_embed_zoom_get), (ephy_embed_shistory_n_items), (ephy_embed_shistory_get_nth), (ephy_embed_shistory_get_pos), (ephy_embed_shistory_go_nth), (ephy_embed_get_security_level), (ephy_embed_find_set_properties), (ephy_embed_find_next), (ephy_embed_activate), (ephy_embed_set_encoding), (ephy_embed_get_encoding_info), (ephy_embed_print), (ephy_embed_print_preview_close), (ephy_embed_print_preview_n_pages), (ephy_embed_print_preview_navigate), (ephy_embed_has_modified_forms): * embed/ephy-embed.h: * embed/ephy-password-manager.c: (ephy_password_manager_get_type), (ephy_password_manager_add), (ephy_password_manager_remove), (ephy_password_manager_list): * embed/ephy-password-manager.h: * embed/ephy-permission-manager.c: (ephy_permission_manager_get_type), (ephy_permission_manager_base_init), (ephy_permission_manager_add), (ephy_permission_manager_remove), (ephy_permission_manager_clear), (ephy_permission_manager_test), (ephy_permission_manager_list): * embed/ephy-permission-manager.h: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: s/IFace/Iface/g to match the gtk+ naming convention.
* Re-enable fonts language font filtering, fixes bug #128814Christian Persch2004-01-211-1/+1
| | | | | | | | 2004-01-21 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Re-enable fonts language font filtering, fixes bug #128814
* Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places.Christian Persch2004-01-101-125/+101
| | | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places.
* Unify interface struct and type macro naming to be EphyFooIFace,Christian Persch2004-01-021-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-01 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-command-manager.c: (ephy_command_manager_get_type), (ephy_command_manager_base_init), (ephy_command_manager_do_command), (ephy_command_manager_can_do_command): * embed/ephy-command-manager.h: * embed/ephy-cookie-manager.c: (ephy_cookie_manager_list_cookies), (ephy_cookie_manager_remove_cookie), (ephy_cookie_manager_clear): * embed/ephy-cookie-manager.h: * embed/ephy-embed-dialog.h: * embed/ephy-embed-shell.c: * embed/ephy-embed-single.c: (ephy_embed_single_get_type), (ephy_embed_single_iface_init), (ephy_embed_single_clear_cache), (ephy_embed_single_clear_auth_cache), (ephy_embed_single_set_offline_mode), (ephy_embed_single_load_proxy_autoconf), (ephy_embed_single_get_font_list): * embed/ephy-embed-single.h: * embed/ephy-embed.c: (ephy_embed_get_type), (ephy_embed_base_init), (ephy_embed_load_url), (ephy_embed_stop_load), (ephy_embed_can_go_back), (ephy_embed_can_go_forward), (ephy_embed_can_go_up), (ephy_embed_get_go_up_list), (ephy_embed_go_back), (ephy_embed_go_forward), (ephy_embed_go_up), (ephy_embed_get_title), (ephy_embed_get_location), (ephy_embed_get_link_message), (ephy_embed_get_js_status), (ephy_embed_reload), (ephy_embed_zoom_set), (ephy_embed_zoom_get), (ephy_embed_shistory_n_items), (ephy_embed_shistory_get_nth), (ephy_embed_shistory_get_pos), (ephy_embed_shistory_go_nth), (ephy_embed_get_security_level), (ephy_embed_find_set_properties), (ephy_embed_find_next), (ephy_embed_activate), (ephy_embed_set_encoding), (ephy_embed_get_encoding_info), (ephy_embed_print), (ephy_embed_print_preview_close), (ephy_embed_print_preview_n_pages), (ephy_embed_print_preview_navigate): * embed/ephy-embed.h: * embed/ephy-password-manager.h: * embed/ephy-permission-manager.h: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * embed/mozilla/mozilla-embed.cpp: Unify interface struct and type macro naming to be EphyFooIFace, EPHY_FOO_IFACE, EPHY_IS_FOO_IFACE, EPHY_FOO_GET_IFACE.
* Add API to EphyEmbedSingle to clear the HTTP authentication cache.Christian Persch2003-12-311-1/+14
| | | | | | | | | | 2003-12-30 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_clear_auth_cache): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-single.cpp: Add API to EphyEmbedSingle to clear the HTTP authentication cache.
* Fix permission return types.Christian Persch2003-12-131-9/+17
| | | | | | | | | | | | 2003-12-12 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-permission-manager.c: (ephy_permission_info_new), (ephy_permission_info_copy), (ephy_permission_manager_add): * embed/ephy-permission-manager.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/mozilla-embed-single.cpp: Fix permission return types.
* Fix a mem leak (ported from galeon).Christian Persch2003-12-061-1/+1
| | | | | | | | 2003-12-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Fix a mem leak (ported from galeon).
* Mark parameters "const" where appropriate.Christian Persch2003-11-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2003-11-26 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-cookie-manager.c: (ephy_cookie_copy), (ephy_cookie_manager_remove_cookie): * embed/ephy-cookie-manager.h: * embed/ephy-password-manager.c: (ephy_password_info_copy): * embed/ephy-password-manager.h: * embed/ephy-permission-manager.c: (ephy_permission_info_copy): * embed/ephy-permission-manager.h: * embed/mozilla/mozilla-embed-single.cpp: Mark parameters "const" where appropriate. * src/pdm-dialog.c: (pdm_cmd_delete_selection), (compare_cookies), (cookie_to_iter), (cookie_added_cb), (cookie_changed_cb), (cookie_deleted_cb), (cookies_cleared_cb), (pdm_dialog_fill_cookies_list), (pdm_dialog_fill_passwords_list), (pdm_dialog_init): Make the cookies list auto-updating.
* Implemented cookie and permissions observer used to actually sendChristian Persch2003-11-251-75/+22
| | | | | | | | | | | | | | | | | 2003-11-24 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-permission-manager.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphySingle.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-single.cpp: * src/ephy-encoding-dialog.c: (sync_embed_encoding), (automatic_toggled_cb), (ephy_encoding_dialog_init): Implemented cookie and permissions observer used to actually send notifications on EphyCookieManager and EphyPermissionManager signals.
* No need to handle mailto registration separately.Marco Pesenti Gritti2003-11-241-2/+0
| | | | | | | | | 2003-11-24 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/mozilla-embed-single.cpp: No need to handle mailto registration separately.
* Make it compile with mozilla 1.4 and 1.4.1 again.Christian Persch2003-11-231-21/+29
| | | | | | | | 2003-11-23 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Make it compile with mozilla 1.4 and 1.4.1 again.
* Add a factory to create embed objects and use it. Deal with dependency ofMarco Pesenti Gritti2003-11-221-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-22 Marco Pesenti Gritti <marco@gnome.org> * doc/reference/Makefile.am: * embed/Makefile.am: * embed/ephy-embed-persist.c: (ephy_embed_persist_save): * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.c: (save_url), (embed_popup_set_image_as_background_cmd): * embed/ephy-embed-shell.c: (ephy_embed_shell_get_embed_single): * embed/ephy-embed.c: * embed/ephy-embed.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * embed/mozilla/mozilla-embed.cpp: * src/Makefile.am: * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init): * src/ephy-tab.c: (ephy_tab_init): * src/popup-commands.c: (save_property_url), (popup_cmd_set_image_as_background): * src/window-commands.c: (window_cmd_file_save_as), (save_temp_source): Add a factory to create embed objects and use it. Deal with dependency of mozilla-embed and mozilla-embed-persist on mozilla-embed-single internally.
* Fix cookie deletion; use do_GetService instead of do_CreateInstance.Christian Persch2003-11-221-11/+11
| | | | | | | | | 2003-11-22 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Fix cookie deletion; use do_GetService instead of do_CreateInstance.
* New interfaces: EphyCookieManager, EphyPermissionManager,Christian Persch2003-11-221-151/+410
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-21 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * embed/ephy-cookie-manager.c: (ephy_cookie_get_type), (ephy_cookie_new), (ephy_cookie_copy), (ephy_cookie_free), (ephy_cookie_manager_get_type), (ephy_cookie_manager_base_init), (ephy_cookie_manager_list_cookies), (ephy_cookie_manager_remove_cookie), (ephy_cookie_manager_clear): * embed/ephy-cookie-manager.h: * embed/ephy-embed-single.c: (ephy_embed_single_get_type), (ephy_embed_single_class_init), (ephy_embed_single_clear_cache), (ephy_embed_single_set_offline_mode), (ephy_embed_single_load_proxy_autoconf), (ephy_embed_single_get_font_list): * embed/ephy-embed-single.h: * embed/ephy-password-manager.c: (ephy_password_info_get_type), (ephy_password_info_new), (ephy_password_info_copy), (ephy_password_info_free), (ephy_password_manager_get_type), (ephy_password_manager_add), (ephy_password_manager_remove), (ephy_password_manager_list): * embed/ephy-password-manager.h: * embed/ephy-permission-manager.c: (ephy_permission_info_get_type), (ephy_permission_info_new), (ephy_permission_info_copy), (ephy_permission_info_free), (ephy_permission_manager_get_type), (ephy_permission_manager_base_init), (ephy_permission_manager_add), (ephy_permission_manager_remove), (ephy_permission_manager_clear), (ephy_permission_manager_test), (ephy_permission_manager_list): * embed/ephy-permission-manager.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * embed/mozilla/mozilla-notifiers.cpp: * src/Makefile.am: * src/pdm-dialog.c: (pdm_dialog_get_type), (pdm_dialog_cookie_add), (pdm_dialog_password_add), (pdm_dialog_cookie_remove), (pdm_dialog_password_remove), (pdm_dialog_cookies_free), (pdm_dialog_passwords_free), (pdm_dialog_init), (pdm_dialog_new), (show_cookies_properties), (pdm_dialog_cookies_properties_button_clicked_cb): * src/pdm-dialog.h: New interfaces: EphyCookieManager, EphyPermissionManager, EphyPasswordManager. Port all callers to new interfaces. Change linking order to make it link. Only set autoconf proxy url if it's non-empty.
* Resync with galeon.Marco Pesenti Gritti2003-11-171-0/+4
| | | | | | | | | | | | | | 2003-11-17 Marco Pesenti Gritti <marco@gnome.org> * configure.in: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: Resync with galeon. * embed/mozilla/mozilla-embed-single.cpp: Header name change
* Put back borked mozilla alert.Marco Pesenti Gritti2003-11-141-16/+33
| | | | | | | | | | | 2003-11-13 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_get_embed_single): * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * src/ephy-shell.h: Put back borked mozilla alert.
* Silly typos, thanks crispin.Marco Pesenti Gritti2003-11-131-1/+1
| | | | | | | | | 2003-11-12 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: Silly typos, thanks crispin.
* Build xul dialogs using GtkWindow+GtkMozEmbed. Make src code simpler andMarco Pesenti Gritti2003-11-111-36/+3
| | | | | | | | | | | | | | | | | | | 2003-11-11 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_class_init): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-embed.h: * src/ephy-nautilus-view.c: (gnv_embed_new_window_cb): * src/ephy-session.c: (write_ephy_window): * src/ephy-shell.c: (ephy_shell_init): * src/ephy-tab.c: (ephy_tab_size_to_cb): * src/ephy-window.c: (translate_default_chrome): Build xul dialogs using GtkWindow+GtkMozEmbed. Make src code simpler and fix a pair of bugs.
* Remove decls from the topMarco Pesenti Gritti2003-11-091-97/+68
| | | | | | | | | | 2003-11-08 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: Remove decls from the top
* Change some more i18n inclusion and remove several unused includes.Marco Pesenti Gritti2003-11-061-1/+1
| | | | | | | | | | | | | | | | | | 2003-11-06 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: * embed/ephy-embed-popup-control.c: * embed/mozilla/ExternalProtocolService.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * lib/ephy-file-helpers.c: * lib/widgets/ephy-search-entry.c: Change some more i18n inclusion and remove several unused includes.
* Get rid of gresult type. Use return values instead of out-parametersChristian Persch2003-11-051-76/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-05 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * embed/ephy-command-manager.c: (ephy_command_manager_do_command), (ephy_command_manager_get_command_state): * embed/ephy-command-manager.h: * embed/ephy-embed-event.c: (ephy_embed_event_get_type), (ephy_embed_event_class_init), (ephy_embed_event_init), (ephy_embed_event_finalize), (ephy_embed_event_new), (ephy_embed_event_get_event_type), (ephy_embed_event_get_coords), (ephy_embed_event_get_context), (ephy_embed_event_set_property): * embed/ephy-embed-event.h: * embed/ephy-embed-persist.c: (ephy_embed_persist_cancel): * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.c: (ephy_embed_popup_control_set_event), (embed_popup_copy_location_cmd), (embed_popup_save_page_as_cmd), (embed_popup_open_frame_cmd): * embed/ephy-embed-single.c: (ephy_embed_single_get_type), (ephy_embed_single_class_init), (ephy_embed_single_clear_cache), (ephy_embed_single_set_offline_mode), (ephy_embed_single_load_proxy_autoconf), (ephy_embed_single_get_font_list), (ephy_embed_single_list_cookies), (ephy_embed_single_remove_cookies), (ephy_embed_single_list_passwords), (ephy_embed_single_remove_passwords), (ephy_embed_single_free_cookies), (ephy_embed_single_free_passwords): * embed/ephy-embed-single.h: * embed/ephy-embed-types.h: * embed/ephy-embed.c: (ephy_embed_get_type), (ephy_embed_base_init), (ephy_embed_new), (ephy_embed_load_url), (ephy_embed_stop_load), (ephy_embed_can_go_back), (ephy_embed_can_go_forward), (ephy_embed_can_go_up), (ephy_embed_get_go_up_list), (ephy_embed_go_back), (ephy_embed_go_forward), (ephy_embed_go_up), (ephy_embed_get_title), (ephy_embed_get_location), (ephy_embed_reload), (ephy_embed_zoom_set), (ephy_embed_zoom_get), (ephy_embed_shistory_n_items), (ephy_embed_shistory_get_nth), (ephy_embed_shistory_get_pos), (ephy_embed_shistory_go_nth), (ephy_embed_get_security_level), (ephy_embed_find_set_properties), (ephy_embed_find_next), (ephy_embed_activate), (ephy_embed_set_encoding), (ephy_embed_get_encoding_info), (ephy_embed_print), (ephy_embed_print_preview_close), (ephy_embed_print_preview_n_pages), (ephy_embed_print_preview_navigate): * embed/ephy-embed.h: * embed/ephy-history.c: * embed/find-dialog.c: (find_dialog_go_next), (find_dialog_go_prev): * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-embed.h: * lib/Makefile.am: * lib/ephy-state.c: * lib/ephy-types.h: * src/ephy-encoding-dialog.c: (sync_embed_cb), (activate_choice): * src/ephy-encoding-menu.c: (update_encoding_menu_cb), (encoding_activate_cb): * src/ephy-favicon-action.c: (each_url_get_data_binder): * src/ephy-nautilus-view.c: (gnv_embed_dom_mouse_click_cb), (gnv_embed_context_menu_cb), (gnv_embed_title_cb), (gnv_popup_cmd_frame_in_new_window), (gnv_zoomable_zoom_in_cb), (gnv_zoomable_zoom_out_cb): * src/ephy-navigation-action.c: (activate_up_menu_item_cb), (setup_back_or_forward_menu), (setup_up_menu): * src/ephy-tab.c: (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb), (ephy_tab_title_cb), (ephy_tab_dom_mouse_click_cb), (ephy_tab_update_navigation_flags), (ephy_tab_set_title): * src/ephy-window.c: (edit_menu_show_cb), (sync_tab_security), (show_embed_popup), (ephy_window_set_zoom): * src/pdm-dialog.c: (pdm_dialog_init): * src/popup-commands.c: (popup_cmd_frame_in_new_tab), (popup_cmd_frame_in_new_window), (popup_cmd_open_frame): * src/ppview-toolbar.c: (toolbar_update_sensitivity), (toolbar_cmd_ppv_goto_last), (clamp_page_limits): * src/prefs-dialog.c: (setup_font_menu), (prefs_homepage_current_button_clicked_cb): * src/session.c: (save_tab): * src/window-commands.c: (window_cmd_file_send_to), (window_cmd_file_bookmark_page), (window_cmd_view_page_source): Get rid of gresult type. Use return values instead of out-parameters whereever possible, and port all callers.
* Remove unused ephy-prefs includesMarco Pesenti Gritti2003-11-051-1/+0
| | | | | | | | | | | | | | 2003-11-04 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: * embed/mozilla/ExternalProtocolService.cpp: * embed/mozilla/mozilla-embed-single.cpp: * lib/widgets/ephy-spinner.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/language-editor.c: * src/session.c: Remove unused ephy-prefs includes
* Yet another mozilla API change.Christian Persch2003-10-311-1/+6
| | | | | | | | | 2003-10-30 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: (getUILang): * configure.in: Yet another mozilla API change.
* Port to new gtk+ file chooser.Christian Persch2003-10-261-70/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-26 Christian Persch <chpe@cvs.gnome.org> Port to new gtk+ file chooser. * data/epiphany.schemas.in: * lib/ephy-prefs.h: Add key for remembering upload path. * embed /Makefile.am: * embed/downloader-view.c: * embed/ephy-embed-persist.c: (ephy_embed_persist_get_type), (ephy_embed_persist_set_dest), (ephy_embed_persist_set_embed), (ephy_embed_persist_set_fc_title), (ephy_embed_persist_set_fc_parent), (ephy_embed_persist_set_flags), (ephy_embed_persist_set_max_size), (ephy_embed_persist_set_persist_key), (ephy_embed_persist_set_source), (ephy_embed_persist_get_dest), (ephy_embed_persist_get_embed), (ephy_embed_persist_get_fc_title), (ephy_embed_persist_get_fc_parent), (ephy_embed_persist_get_flags), (ephy_embed_persist_get_max_size), (ephy_embed_persist_get_persist_key), (ephy_embed_persist_get_source), (ephy_embed_persist_set_property), (ephy_embed_persist_get_property), (ephy_embed_persist_init), (ephy_embed_persist_finalize), (ephy_embed_persist_class_init), (ephy_embed_persist_cancel), (ephy_embed_persist_save), (ephy_embed_persist_new): * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.c: (save_url), (save_property_url), (background_download_completed), (embed_popup_set_image_as_background_cmd), (embed_popup_copy_image_location_cmd): * src/popup-commands.c: (save_property_url), (background_download_completed), (popup_cmd_set_image_as_background): * src/window-commands.c: (open_response_cb), (window_cmd_file_open), (window_cmd_file_save_as): * src/window-commands.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get_type), (ephy_favicon_cache_new), (icon_is_obsolete), (icons_added_cb), (remove_obsolete_icons), (ephy_favicon_cache_init), (favicon_download_completed_cb), (ephy_favicon_cache_download), (ephy_favicon_cache_get): * embed/mozilla/MozDownload.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * src/popup-commands.c: (save_property_url), (background_download_completed), (popup_cmd_set_image_as_background): * src/window-commands.c: (open_response_cb), (window_cmd_file_open), (window_cmd_file_save_as): * src/window-commands.h: Simplify EphyEmbedPersist implementation. Augment it with properties for showing a file chooser to select persist destination. Port all callers to new interfaces. * embed/ephy-embed-single.c: (ephy_embed_single_remove_passwords): * embed/ephy-embed-single.h: * embed/ephy-embed-utils.c: * embed/ephy-embed-utils.h: Obsolete and removed. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Misc cleanups. * embed/mozilla/FilePicker.cpp: * embed/mozilla/FilePicker.h: Port to new file chooser class. * embed/mozilla/Makefile.am: * lib/Makefile.am: * lib/ephy-file-chooser.c: (ephy_file_chooser_get_type), (current_folder_changed_cb), (ephy_file_chooser_init), (ephy_file_chooser_finalize), (ephy_file_chooser_set_persist_key), (ephy_file_chooser_set_property), (ephy_file_chooser_get_property), (ephy_file_chooser_class_init), (ephy_file_chooser_new): * lib/ephy-file-chooser.h: * src/bookmarks/ephy-bookmarks-editor.c: (import_from_file_response_cb), (import_dialog_response_cb): New file chooser wrapper class; ported file chooser callers to it.
* Encodings menu improvements, part 3: Refactored the encodings list; it noChristian Persch2003-10-141-222/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-13 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_free_passwords): * embed/ephy-embed-single.h: * embed/ephy-embed-utils.c: (ephy_embed_utils_build_encodings_submenu): * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * lib/Makefile.am: * lib/ephy-encodings.c: (ephy_encoding_info_free), (encodings_info_cmp), (ephy_encodings_get_list): * lib/ephy-encodings.h: * lib/ephy-langs.c: (ephy_lang_group_info_free), (lang_group_info_cmp), (ephy_lang_get_group_list), (fonts_language_info_cmp), (ephy_font_langs_get_codes_list), (ephy_font_langs_get_list): * lib/ephy-langs.h: * po/POTFILES.in: * src/ephy-encoding-menu.c: (ephy_encoding_menu_set_window), (ephy_encoding_menu_rebuild): * src/prefs-dialog.c: (prefs_dialog_finalize), (get_current_language_code), (create_fonts_language_menu), (default_encoding_menu_changed_cb), (find_encoding_in_list_cmp), (create_default_encoding_menu): Encodings menu improvements, part 3: Refactored the encodings list; it no longer is neccessary to have it in the embed single. Ported all callers to new infrastructure.
* Reenable deprecated api where necessary, fixup some header inclusions.Marco Pesenti Gritti2003-10-111-6/+1
| | | | | | | | | | | | | | | | | | | | | | 2003-10-10 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/FilePicker.cpp: * embed/mozilla/FilePicker.h: * embed/mozilla/mozilla-embed-single.cpp: * lib/Makefile.am: * lib/ephy-dialog.c: (get_pref_type_from_widget), (prefs_connect_signals), (load_props), (save_props): * lib/ephy-gui.h: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-topic-action.c: * src/ephy-history-window.c: Reenable deprecated api where necessary, fixup some header inclusions. Remove unused color picker control in ephy-dialog. Remove unused file types optionmenu in Filepicker.
* The file picker dir can be NULL, check before trying to expand tilde.Marco Pesenti Gritti2003-09-281-2/+5
| | | | | | | | | | | | | | 2003-09-28 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/mozilla-embed-single.cpp: The file picker dir can be NULL, check before trying to expand tilde. * src/bookmarks/ephy-bookmarks-editor.c: (import_dialog_response_cb), (cmd_bookmarks_import): Implement import from a file
* Fix directory selection persistence [bug #122780].Christian Persch2003-09-201-3/+3
| | | | | | | | | | 2003-09-20 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-utils.c: (ephy_embed_utils_save): * embed/mozilla/mozilla-embed-single.cpp: * src/window-commands.c: (window_cmd_file_open): Fix directory selection persistence [bug #122780].
* Do not fail if prefs.js is corrupted.Marco Pesenti Gritti2003-09-201-1/+0
| | | | | | | | | | | | 2003-09-20 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Do not fail if prefs.js is corrupted. * src/ephy-window.c: (ephy_window_state_event_cb): Do not allow to edit toolbar in fs
* Added in support to allow Mozilla 1.4.1 to be used for Epiphany compile.Patanjali Somayaji2003-09-141-1/+1
|
* First important step in solving the fonts mess. Allow to select theMarco Pesenti Gritti2003-09-101-11/+2
| | | | | | | | | | | | | | | | | | 2003-09-09 Marco Pesenti Gritti <marco@gnome.org> * data/default-prefs.js: * data/glade/prefs-dialog.glade: * embed/ephy-embed-single.c: (ephy_embed_single_get_font_list): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * src/prefs-dialog.c: (setup_font_menu), (attach_fonts_signals), (setup_size_controls), (setup_fonts), (prefs_dialog_init): First important step in solving the fonts mess. Allow to select the variable width instead of families. Also use points instead of pixels. Set a minimum font size by default.
* *** empty log message ***Marco Pesenti Gritti2003-09-081-53/+26
|
* Mega-patch, changelog too long to paste here.Christian Persch2003-09-021-16/+12
|
* revert last commitMarco Pesenti Gritti2003-08-031-0/+3
|
* Do not disable window raising anymore, mozilla seem to behave correctlyMarco Pesenti Gritti2003-08-021-3/+0
| | | | | | | | | 2003-08-02 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Do not disable window raising anymore, mozilla seem to behave correctly now.
* Do not emit warning when language pack is not installed.Marco Pesenti Gritti2003-07-201-7/+1
| | | | | | | | 2003-07-20 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Do not emit warning when language pack is not installed.
* Set the chrome locale on startup. That means that if the correct lang packChristian Persch2003-07-191-0/+66
| | | | | | | | | | | | | 2003-07-19 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.c: (getUILang), (mozilla_init_chrome), (mozilla_embed_single_init_services): Set the chrome locale on startup. That means that if the correct lang pack is installed, dialogues coming from mozilla will be translated. Set skin to 'classic' on startup, so we get native scrollbars. Ported from galeon.
* Do not enable smooth scroll and image autoresize.Marco Pesenti Gritti2003-07-181-8/+0
| | | | | | | | 2003-07-18 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Do not enable smooth scroll and image autoresize.
* Fix compiler warning.Christian Persch2003-07-151-1/+1
| | | | | | | | 2003-07-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: (impl_get_font_list): Fix compiler warning.
* List all mozilla fonts and not only the language specific, otherwise weMarco Pesenti Gritti2003-07-151-37/+17
| | | | | | | | | | | | 2003-07-14 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: List all mozilla fonts and not only the language specific, otherwise we get empty list. Use fontconfig aliases as defaults. This is temporary until we design simpler fonts configuration.
* Remove use of acconfig.h.Marco Pesenti Gritti2003-07-041-14/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-04 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: Remove use of acconfig.h. * embed/ephy-embed-shell.c: (ephy_embed_shell_get_embed_single): * embed/ephy-embed-single.c: * embed/ephy-embed-single.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/MozRegisterComponents.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * src/bookmarks/ephy-bookmarks-import.c: (bookmark_add), (xbel_parse_folder), (ephy_bookmarks_import_mozilla): * src/ephy-shell.c: (ephy_shell_init): Show an alert when mozilla cant start instead of crashing. Do not import bookmarks dups. Cleanup some mozilla code headers inclusion.
* Use normal google search for keywordsMarco Pesenti Gritti2003-07-021-1/+1
| | | | | | | | 2003-07-02 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Use normal google search for keywords
* Add two new encodings, and change access keys to be unique.Christian Persch2003-06-261-3/+7
| | | | | | | | 2003-06-26 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Add two new encodings, and change access keys to be unique.
* Use nsDependentCString instead of NS_LITERAL_CSTRING. Fixes bug 115739.Christian Persch2003-06-231-3/+3
| | | | | | | | 2003-06-22 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: (impl_remove_cookies): Use nsDependentCString instead of NS_LITERAL_CSTRING. Fixes bug 115739.
* Drop encodings from our list which are not meant to be used in a browser.Christian Persch2003-06-221-13/+0
| | | | | | | | | | 2003-06-22 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Drop encodings from our list which are not meant to be used in a browser. List from lxr.mozilla.org/seamonkey/source/intl/uconv/src/charsetData.properties
* Add two missing font language groups, and reorder encodings list.Christian Persch2003-06-221-20/+18
| | | | | | | | | 2003-06-22 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-langs.c: * embed/mozilla/mozilla-embed-single.cpp: Add two missing font language groups, and reorder encodings list.
* Merge with popup control, we dont need it for bonobo window anymore.Marco Pesenti Gritti2003-06-161-36/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-16 Marco Pesenti Gritti <marco@it.gnome.org> * embed/Makefile.am: * embed/ephy-embed-popup-control.c: (ephy_embed_popup_control_get_type), (ephy_embed_popup_control_set_property), (ephy_embed_popup_control_get_property), (ephy_embed_popup_control_class_init), (ephy_embed_popup_control_init), (ephy_embed_popup_control_finalize), (get_popup_path), (ephy_embed_popup_control_show), (setup_element_menu), (setup_document_menu), (ephy_embed_popup_control_set_event), (ephy_embed_popup_control_connect_verbs), (ephy_embed_popup_control_get_event), (embed_popup_copy_location_cmd), (embed_popup_copy_email_cmd), (embed_popup_copy_link_location_cmd), (save_property_url), (embed_popup_open_link_cmd), (embed_popup_download_link_cmd), (embed_popup_save_image_as_cmd), (background_download_completed), (embed_popup_set_image_as_background_cmd), (embed_popup_copy_image_location_cmd), (save_url), (embed_popup_save_page_as_cmd), (embed_popup_save_background_as_cmd), (embed_popup_open_frame_cmd), (embed_popup_reload_frame_cmd), (embed_popup_open_image_cmd), (embed_popup_copy_to_clipboard): * embed/ephy-embed-popup-control.h: Merge with popup control, we dont need it for bonobo window anymore. * embed/mozilla/mozilla-embed-single.cpp: Do not override the UA but set vendor prefs so that mozilla can build it correctly. * lib/ephy-dialog.c: (get_radio_button_active_index), (set_config_from_radiobuttongroup), (set_radiobuttongroup_from_config), (prefs_set_group_sensitivity), (impl_get_value): * lib/ephy-dnd.c: (ephy_dnd_node_list_extract_nodes): * lib/ephy-gui.c: * lib/ephy-gui.h: * lib/ephy-string.c: (ephy_string_shorten), (ephy_string_to_int), (ephy_string_strip_chr), (ephy_string_elide_underscores): * lib/ephy-string.h: * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init), (gnv_embed_context_menu_cb), (gnv_embed_location_cb), (gnv_view_from_popup), (gnv_popup_cmd_new_window), (gnv_popup_cmd_image_in_new_window), (gnv_popup_cmd_frame_in_new_window), (gnv_cmd_file_print), (gnv_embed_zoom_change_cb):
* Remove unneeded includes which mozilla cvs no longer provides.Christian Persch2003-06-151-2/+0
| | | | | | | | 2003-06-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Remove unneeded includes which mozilla cvs no longer provides.
* Removed it because it's unnecessary.Christian Persch2003-06-151-91/+0
| | | | | | | | 2003-06-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single: (control_encodings_list): Removed it because it's unnecessary.
* ), (EventContext::SetStringProperty (const char*, const nsACString&)):Christian Persch2003-06-151-0/+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.
* Add support for string enums.Marco Pesenti Gritti2003-06-131-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-06-13 Marco Pesenti Gritti <marco@it.gnome.org> * lib/ephy-dialog.c: (set_config_from_editable), (set_config_from_optionmenu), (set_config_from_radiobuttongroup), (set_config_from_spin_button), (set_config_from_togglebutton), (set_config_from_color), (set_editable_from_config), (set_optionmenu_from_config), (set_radiobuttongroup_from_config), (set_spin_button_from_config), (set_togglebutton_from_config), (set_color_from_config), (prefs_togglebutton_clicked_cb), (prefs_radiobutton_clicked_cb), (prefs_spinbutton_timeout_cb), (prefs_color_changed_cb), (prefs_entry_changed_cb), (prefs_optionmenu_selected_cb), (ephy_dialog_init), (load_props), (save_props), (free_props), (ephy_dialog_finalize), (ephy_dialog_add_enum), (init_props), (impl_construct), (impl_show): Add support for string enums. * lib/ephy-dialog.h: * lib/ephy-prefs.h: * src/prefs-dialog.c: (prefs_dialog_init): * data/epiphany.schemas.in: * embed/downloader-view.c: * embed/ephy-embed-prefs.h: * embed/find-dialog.c: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/print-dialog.c: * lib/Makefile.am: Cleanup gconf prefs. This breaks compatibility but better now that later.
* Remove memory cache prefs/ui, now mozilla can deal with it automagically.Marco Pesenti Gritti2003-06-071-5/+3
| | | | | | | | | | | | | | | | | | | | 2003-06-07 Marco Pesenti Gritti <marco@it.gnome.org> * data/epiphany.schemas.in: * data/glade/prefs-dialog.glade: * embed/ephy-embed-prefs.h: * embed/ephy-embed-single.c: (ephy_embed_single_clear_cache): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * src/bookmarks/ephy-bookmarks-import.c: (mozilla_parse_bookmarks), (xbel_parse_folder): * src/prefs-dialog.c: (prefs_clear_cache_button_clicked_cb): Remove memory cache prefs/ui, now mozilla can deal with it automagically. Rename Appeareance tab to be less generic. Do not convert spaces to _ on bookmarks importing.
* We used to have two mnemonics for Shift_JS. Fix it and tell translatorsChristian Neumair2003-06-071-1/+3
| | | | | | | | | 2003-06-07 Christian Neumair <chris@gnome-de.org> * embed/mozilla/mozilla-embed-single.cpp: We used to have two mnemonics for Shift_JS. Fix it and tell translators that they have to be careful.
* Fixup a mistake in my previous patch for encoding accesskeys.Piers Cornwell2003-06-071-1/+1
| | | | | | | | 2003-06-06 Piers Cornwell <piersc@cogs.susx.ac.uk> * embed/mozilla/mozilla-embed-single.cpp: Fixup a mistake in my previous patch for encoding accesskeys.
* Add accels on the encoding menus.Piers Cornwell2003-06-061-102/+102
| | | | | | | | 2003-06-05 Piers Cornwell <piersc@cogs.susx.ac.uk> * embed/mozilla/mozilla-embed-single.cpp: Add accels on the encoding menus.
* Actually add the ask for dest pref, it was using the wrong key.Marco Pesenti Gritti2003-06-051-15/+12
| | | | | | | | | | | | | | | | | | | | 2003-06-05 Marco Pesenti Gritti <marco@it.gnome.org> * data/epiphany.schemas.in: * embed/ephy-embed-popup.c: (embed_popup_download_link_cmd): * embed/ephy-embed-utils.c: (ephy_embed_utils_save): Actually add the ask for dest pref, it was using the wrong key. * embed/mozilla/FilePicker.cpp: * embed/mozilla/mozilla-embed-single.cpp: Return directory also on cancel. * lib/ephy-prefs.h: * src/popup-commands.c: (popup_cmd_download_link): Persist directory also on cancel.
* Move the bookmarks menu after go. There is a slight inconsistency in theDavid Bordoley2003-06-051-3/+83
| | | | | | | | | | | | | | | | | | | | 2003-06-04 David Bordoley <bordoley@msu.edu> * data/ui/epiphany-ui.xml.in: Move the bookmarks menu after go. There is a slight inconsistency in the HIG, but this is the intended order. * embed/mozilla/mozilla-embed-single.cpp: (MozillaEmbedSinglePrivate), (mozilla_set_default_prefs), (color_to_string), (mozilla_update_colors), (mozilla_setup_colors), (mozilla_embed_single_init), (mozilla_embed_single_finalize): Disable caret browsing for now since enough people complain. We really need a visible pref for this though. Oh you need to reset this in about:config to actually turn it off. Monitor theme changes and set the background and text colors based on the theme text entry colors.
* continuing checkin of previous patch (cvs aborted "broken pipe")Christian Persch2003-05-281-119/+135
| | | | | | 2003-05-28 Christian Persch <chpe@cvs.gnome.org> continuing checkin of previous patch (cvs aborted "broken pipe")
* Fix the compiler warning from my previous checkin.Christian Persch2003-05-281-1/+1
| | | | | | | | 2003-05-27 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp (impl_get_charset_groups): Fix the compiler warning from my previous checkin.
* g_list_prepend is faster than g_list_append.Christian Persch2003-05-281-7/+7
| | | | | | | | | 2003-05-27 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: (impl_get_charset_titles), (impl_get_charset_groups), (impl_get_font_list): g_list_prepend is faster than g_list_append.
* Refactored the charset and language groups strings.Christian Persch2003-05-271-12/+166
| | | | | | | | | | | | | | 2003-05-26 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-i18n.h: * embed/mozilla/mozilla-i18n.c: * embed/mozilla/mozilla-embed-single.c: (fill_charsets_list), (impl_get_charset_titles): * embed/mozilla/mozilla-notifiers.c: (mozilla_notifiers_init): * lib/ephy-langs.h: * src/prefs-dialog.c: (setup_font_menu): Refactored the charset and language groups strings.
* Disable Blink and Marquee, cuz they are annoying and non-standard. Don'tDavid Bordoley2003-05-231-0/+21
| | | | | | | | | | | | 2003-05-22 David Bordoley <bordoley@msu.edu> * embed/mozilla/mozilla-embed-single.cpp: (mozilla_set_default_prefs): Disable Blink and Marquee, cuz they are annoying and non-standard. Don't fetch sidebar whats related stuff. Line Wrap View->Source. CTRL-Mousewheel scrolls by one page. Enable Image Auto-Resizing. Enable Browsing with the Caret.
* Fix some warnings. Go back hardcoding defaults in the code, mozilla prefMarco Pesenti Gritti2003-05-201-7/+53
| | | | | | | | | | | | | | | | | | | | | 2003-05-20 Marco Pesenti Gritti <marco@it.gnome.org> * embed/downloader-view.c: (downloader_view_build_ui): * embed/mozilla/Makefile.am: * embed/mozilla/default-prefs.js: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/mozilla/mozilla-prefs.cpp: * embed/mozilla/mozilla-prefs.h: * lib/ephy-dnd.c: (ephy_dnd_node_list_extract_nodes): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_construct): * src/ephy-history-window.c: (ephy_history_window_construct): Fix some warnings. Go back hardcoding defaults in the code, mozilla pref api sucks :/ Cleanup mozilla prefs code, we can use mozilla api directly now, no need for a wrapper like in galeon1.
* Use new gnome vfs show_url api.Marco Pesenti Gritti2003-05-131-1/+1
| | | | | | | | | | | | | | | | | 2003-05-12 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/ExternalProtocolService.cpp: Use new gnome vfs show_url api. * embed/mozilla/MozRegisterComponents.cpp: Register external protocols ! * embed/mozilla/mozilla-embed-single.cpp: Check that the ftp handler is not epiphany, to avoid infinite loop.
* Remove proxy prefs initialization. Now we call the gconf notifier onMarco Pesenti Gritti2003-05-061-68/+0
| | | | | | | | | | | | | | | 2003-05-06 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Remove proxy prefs initialization. Now we call the gconf notifier on startup for all mozilla prefs, so it should be no more necessary. * embed/mozilla/mozilla-notifiers.cpp: Fix a nice infinite loop with EmbedSingle being shell_get from his _init. General cleanup of that code. Galeon1 code is so messy :/
* Initialize mozilla prefs on startup every time. That is necessary ifMarco Pesenti Gritti2003-05-051-45/+6
| | | | | | | | | | | | | 2003-05-04 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/mozilla/mozilla-notifiers.h: Initialize mozilla prefs on startup every time. That is necessary if people change them with gconf-editor. This is a 10 ms regression on startup but ... it's necessary. What worries me more is the 130 ms the notifiers registration takes, that's odd.
* Always save a page's content if there i content to be saved. Remove theDavid Bordoley2003-04-241-18/+2
| | | | | | | | | | | | | | | | | | | | 2003-04-23 David Bordoley <bordoley@msu.edu> * embed/ephy-embed-single.c: (ephy_embed_single_show_file_picker): * embed/ephy-embed-single.h: * embed/ephy-embed-utils.c: (ephy_embed_utils_save): * embed/ephy-embed-utils.h: * embed/mozilla/FilePicker.cpp: (GFilePicker::GFilePicker), (GFilePicker::Show), (GFilePicker::HandleFilePickerR): * embed/mozilla/FilePicker.h: * embed/mozilla/mozilla-embed-persist.cpp: (impl_save): * embed/mozilla/mozilla-embed-single.cpp: (impl_show_file_picker): * src/window-commands.c: (window_cmd_file_open): Always save a page's content if there i content to be saved. Remove the checkbox from the save as dialog. Patch from Christian Persch <chpe+gnomebugz@stud.uni-saarland.de>
* Cleanup filepicker api behavior. Put pdm buttons in a size group, to makeMarco Pesenti Gritti2003-03-171-2/+0
| | | | | | | | | | | | | 2003-03-16 Marco Pesenti Gritti <marco@it.gnome.org> * embed/ephy-embed-utils.c: (ephy_embed_utils_save): * embed/mozilla/mozilla-embed-single.cpp: * src/pdm-dialog.c: (group_button_allocations), (pdm_dialog_init): * src/window-commands.c: (window_cmd_file_open): Cleanup filepicker api behavior. Put pdm buttons in a size group, to make switching page smoother. (from galeon)
* *** empty log message ***Marco Pesenti Gritti2003-02-061-0/+958