aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
Commit message (Collapse)AuthorAgeFilesLines
* Move size-to code to the gecko backend.Xan Lopez2007-11-181-0/+137
| | | | | | Last part of bug #490672 svn path=/trunk/; revision=7713
* Put visibility property into EphyBaseEmbed, we need it for popups.Xan Lopez2007-11-181-1/+15
| | | | svn path=/trunk/; revision=7712
* Re-enable popup management code in EphyBaseEmbed.Xan Lopez2007-11-171-5/+3
| | | | | | | Plus a small bugfix in MozillaEmbed about GtkMozembed vs. EphyEmbed confusion. svn path=/trunk/; revision=7711
* 2007-11-12 Reinout van Schouwen <reinouts@gnome.org>Reinout van Schouwen2007-11-121-1/+1
| | | | | | | | | | * 2007-11-12 Reinout van Schouwen <reinouts@gnome.org> - mozilla/EphyAboutModule.cpp: move comment one line down so it shows up in the .po files svn path=/trunk/; revision=7673
* 2007-11-12 Reinout van Schouwen <reinouts@gnome.org>Reinout van Schouwen2007-11-121-1/+2
| | | | | | | | | | | * 2007-11-12 Reinout van Schouwen <reinouts@gnome.org> - mozilla/EphyAboutModule.cpp: s/Epiphany/the web browser and add translator comment to indicate that %s means LSB_DISTRIBUTOR svn path=/trunk/; revision=7671
* Implement grab_focus in EphyBaseEmbed.Xan Lopez2007-11-121-18/+14
| | | | | | | | We still need a custom implementation in MozillaEmbed because the child of the embed won't exist until the widget is realized, so there is no point in grabbing focus until then. svn path=/trunk/; revision=7668
* Remove unused ge_content_changed.Xan Lopez2007-11-121-1/+0
| | | | svn path=/trunk/; revision=7666
* Remove unused ge_net_state and ge_security_change.Xan Lopez2007-11-121-2/+0
| | | | svn path=/trunk/; revision=7665
* Remove unused ge-location signal.Xan Lopez2007-11-121-1/+0
| | | | svn path=/trunk/; revision=7664
* ge-search-key-press is in EphyEmbed, not GtkMozEmbed.Xan Lopez2007-11-101-1/+2
| | | | svn path=/trunk/; revision=7654
* Add a space to the reload page alertCyril Brulebois2007-11-081-1/+1
| | | | svn path=/trunk/; revision=7650
* Fix invalid cast and make the find toolbar work again after EphyBaseEmbedCosimo Cecchi2007-11-081-1/+1
| | | | | | transition. svn path=/trunk/; revision=7647
* Enable a --with-distributor-name configure option, defaulting to Epiphany.Cyril Brulebois2007-11-071-3/+4
| | | | | | | Use it on an error page to designate the distributors/developers to contact. Fixes bug #433796. svn path=/trunk/; revision=7643
* Make ephy_base_embed_set_{title,address} dup their parameters internally.Xan Lopez2007-11-061-1/+3
| | | | svn path=/trunk/; revision=7636
* Put size_allocate hack in MozillaEmbed now.Xan Lopez2007-11-061-0/+23
| | | | svn path=/trunk/; revision=7629
* Move all common functionality from MozillaEmbed to EphyBaseEmbed.Xan Lopez2007-11-061-1509/+22
| | | | svn path=/trunk/; revision=7628
* Create EphyBaseEmbed, make MozillaEmbed a subclass of it.Xan Lopez2007-11-063-50/+68
| | | | | | | | EphyBaseEmbed is an abstract class that will implement the generic bits common to any Epiphany backend. In this first commit it does nothing but serve as the parent class for the mozilla embedding widget. svn path=/trunk/; revision=7626
* 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
* Fix the build with --enable-debug.Christian Persch2007-10-281-1/+1
| | | | svn path=/trunk/; revision=7576
* Move popups-allowed and hidden-popup-count from EphyTab to EphyEmbed.Xan Lopez2007-10-271-3/+348
| | | | | | Popup management is non-working now, see bug #490672 svn path=/trunk/; revision=7575
* Tabify modified files.Xan Lopez2007-10-261-129/+129
| | | | svn path=/trunk/; revision=7569
* Fix more issues left with the refactoring.Xan Lopez2007-10-261-51/+18
| | | | | | | | | | Fix double free in link_message property. Fix title by connecting to embed and not to tab in EphyWindow. Fix progress by passing the correct parameter to update_embed_from_net_state. Also use the link_message parsing function in utils. svn path=/trunk/; revision=7566
* Fix the remaining breakage.Xan Lopez2007-10-261-3/+24
| | | | | | | | Implement get_icon and get_icon_address. Fix status-message canonical name. Properly assign private pointer in MozillaEmbed (...) svn path=/trunk/; revision=7565
* Move file_monitor_cancel on dispose from EphyTab to EphyEmbed.Xan Lopez2007-10-261-0/+11
| | | | svn path=/trunk/; revision=7563
* Move title/address update on open-uri signal to EphyEmbed.Xan Lopez2007-10-261-0/+44
| | | | | | Also refactor some common code in ephy-embed-utils.c svn path=/trunk/; revision=7562
* Move icon and icon-address to EphyEmbed.Xan Lopez2007-10-261-12/+133
| | | | | | | | | | | | There's a snippet that needs to be moved elsewhere I think: eb = ephy_shell_get_bookmarks (ephy_shell); ephy_bookmarks_set_icon (eb, priv->address, priv->icon_address); It's done in mozilla_embed_set_icon_address. svn path=/trunk/; revision=7561
* Move status-message and logic of link-message to EphyEmbed.Xan Lopez2007-10-261-6/+316
| | | | | | Create a property for link-message in EphyEmbed too. svn path=/trunk/; revision=7560
* Change ephy_embed_get_title to return const char*.Xan Lopez2007-10-261-2/+2
| | | | | | Also replace all ephy_tab_get_title by ephy_embed_get_title. svn path=/trunk/; revision=7559
* Move title from EphyTab to EphyEmbed.Xan Lopez2007-10-261-17/+329
| | | | | | EphyTab still borken. svn path=/trunk/; revision=7558
* Move address and typed-address from EphyTab to EphyEmbedXan Lopez2007-10-261-8/+102
| | | | | | ephy-tab.c is totally broken now, will fix in next patches. svn path=/trunk/; revision=7557
* Move navigation property from EphyTab to EphyEmbed.Xan Lopez2007-10-221-0/+45
| | | | svn path=/trunk/; revision=7549
* Move load-status from EphyTab to EphyEmbed.Xan Lopez2007-10-221-0/+37
| | | | svn path=/trunk/; revision=7547
* Use correct property enum.Xan Lopez2007-10-221-1/+1
| | | | svn path=/trunk/; revision=7545
* Move load-progress from EphyTab to EphyEmbedXan Lopez2007-10-221-0/+31
| | | | svn path=/trunk/; revision=7544
* Move zoom from EphyTab to EphyEmbed.Xan Lopez2007-10-211-1/+111
| | | | svn path=/trunk/; revision=7542
* Move document-type property from EphyTab to EphyEmbed.Xan Lopez2007-10-211-5/+42
| | | | svn path=/trunk/; revision=7541
* Tabify mozilla-embed.cpp and make it use G_DEFINE_*.Xan Lopez2007-10-211-147/+102
| | | | | | Also, remove one extra ephy_tab_get_embed from EphyWindow. svn path=/trunk/; revision=7540
* Add security-level property to embed and fix EphyWindow.Xan Lopez2007-10-211-2/+67
| | | | svn path=/trunk/; revision=7539
* Take the page orientation from the page setup, not from the print settings.Christian Persch2007-10-111-1/+2
| | | | | | Bug #485670 (see also gtk+ bug #485685). svn path=/trunk/; revision=7527
* EphyContentPolicy::ShouldLoad: use the same content policy forJosselin Mouette2007-09-271-4/+4
| | | | | | | http and https, allowing adblock to work on https. Patch reviewed by Christian Persch, fixes bug#471583. svn path=/trunk/; revision=7498
* Fix the build of the custom GTK+ filepicker so we can add nice previewsDiego Escalante Urrelo2007-09-271-47/+8
| | | | | | | | | | | * embed/xulrunner/components/FilePicker.cpp: * embed/mozilla/FilePicker.cpp: Fix the build of the custom GTK+ filepicker so we can add nice previews and other stuff. svn path=/trunk/; revision=7496
* Fix the icon name to use EPHY_STOCK_EPHYChristian Persch2007-09-251-1/+2
| | | | svn path=/trunk/; revision=7490
* Revert the change from r7406; see bug #476540.Christian Persch2007-09-1338-38/+38
| | | | svn path=/trunk/; revision=7426
* Revert the change from r7407; see bug #476540.Christian Persch2007-09-1328-28/+28
| | | | svn path=/trunk/; revision=7425
* Include nsStringGlue.h instead of nsStringAPI.hChristian Persch2007-09-1328-28/+28
| | | | svn path=/trunk/; revision=7407
* Include xpcom-config.h, not mozilla-config.hChristian Persch2007-09-1338-38/+38
| | | | svn path=/trunk/; revision=7406
* Add saved files to the GtkRecent list, gnome-panel is broken so don'tDiego Escalante Urrelo2007-08-272-5/+32
| | | | | | | | | | | | | | | | | 2007-08-26 Diego Escalante Urrelo <diegoe@gnome.org> * lib/ephy-file-helpers.c: * lib/ephy-file-helpers.h: * embed/mozilla/MozDownload.h: * embed/mozilla/MozDownload.cpp: Add saved files to the GtkRecent list, gnome-panel is broken so don't expect to see the effects of this working there, you can use it on the GtkFileChooser dialog however. Fixes Bug #148401. Original patch by Christian Persch, updated by Cosimo Cecchi. svn path=/trunk/; revision=7300
* Enable printing to PDF file on gecko 1.9, now that moz#367907 is fixed.Christian Persch2007-08-231-2/+2
| | | | | | | | | | | 2007-08-22 Christian Persch <chpe@gnome.org> * embed/mozilla/GeckoPrintService.cpp: Enable printing to PDF file on gecko 1.9, now that moz#367907 is fixed. svn path=/trunk/; revision=7295
* Default to Cancel on Cert dialogues, patch by Cosimo Cecchi. Fixes bugDiego Escalante Urrelo2007-08-151-6/+5
| | | | | | | | | | | | 2007-08-15 Diego Escalante Urrelo <diegoe@gnome.org> * embed/mozilla/GtkNSSDialogs.cpp: Default to Cancel on Cert dialogues, patch by Cosimo Cecchi. Fixes bug #163379. svn path=/trunk/; revision=7275
* Fix strict-aliasing warnings, patch by Cosimo Cecchi. Happy 10 yearsDiego Escalante Urrelo2007-08-153-4/+9
| | | | | | | | | | | | | | 2007-08-15 Diego Escalante Urrelo <diegoe@gnome.org> * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/MozDownload.cpp: Fix strict-aliasing warnings, patch by Cosimo Cecchi. Happy 10 years GNOME!. Fixes bug #433173. svn path=/trunk/; revision=7274
* 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
* Don't mention 'Epiphany' in the message introduced in the patch for bugReinout van Schouwen2007-07-271-1/+1
| | | | | | | | | | | | 2007-07-26 Reinout van Schouwen <reinouts@gnome.org> * embed/mozilla/EphyAboutModule.cpp: Don't mention 'Epiphany' in the message introduced in the patch for bug #459552. svn path=/trunk/; revision=7202
* Improve the restricted ports message, patch by Cosimo Cecchi. Fixes bugDiego Escalante Urrelo2007-07-261-9/+7
| | | | | | | | | | | | 2007-07-26 Diego Escalante Urrelo <diegoe@gnome.org> * embed/mozilla/EphyAboutModule.cpp: Improve the restricted ports message, patch by Cosimo Cecchi. Fixes bug #459552. svn path=/trunk/; revision=7199
* s/MOZILLA/GECKO/g for consistency with gge.Christian Persch2007-07-171-3/+3
| | | | | | | | | | | | | | | 2007-07-16 Christian Persch <chpe@gnome.org> * configure.ac: * doc/reference/Makefile.am: * embed/Makefile.am: * embed/mozilla/Makefile.am: * plugins/desktop-file/Makefile.am: * src/Makefile.am: s/MOZILLA/GECKO/g for consistency with gge. svn path=/trunk/; revision=7173
* Use C++ casts. Script from bmo#348748.Christian Persch2007-07-159-10/+10
| | | | | | | | | | | | | | | | | | | 2007-07-15 Christian Persch <chpe@gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHistoryListener.cpp: * embed/mozilla/EphyPromptService.cpp: * embed/mozilla/GeckoFormSigningDialog.cpp: * embed/mozilla/GeckoPrintService.cpp: * embed/mozilla/GeckoPrintSession.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed.cpp: * plugins/desktop-file/plugin.cpp: Use C++ casts. Script from bmo#348748. svn path=/trunk/; revision=7166
* 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
* It's yet another API change!Christian Persch2007-07-153-1/+9
| | | | | | | | | | | | 2007-07-14 Christian Persch <chpe@gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/MozDownload.cpp: It's yet another API change! svn path=/trunk/; revision=7158
* Fixes bug #452707Nguyen Thai Ngoc Duy2007-07-111-7/+12
| | | | svn path=/trunk/; revision=7151
* Remove gtk version check since we now depend on 2.11.Christian Persch2007-07-101-9/+0
| | | | | | | | | | 2007-07-10 Christian Persch <chpe@gnome.org> * embed/mozilla/GeckoPrintService.cpp: Remove gtk version check since we now depend on 2.11. svn path=/trunk/; revision=7140
* Kill EPHY_STOCK_DOWNLOAD and add STOCK_DOWNLOAD, using "emblem-download"Luca Ferretti2007-07-101-1/+1
| | | | | | | | | | | | | | | | | | | | 2007-07-10 Luca Ferretti <elle.uca@libero.it> * embed/downloader-view.c: (show_status_icon), (downloader_view_build_ui): * embed/mozilla/ContentHandler.cpp: * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: * src/ephy-window.c: Kill EPHY_STOCK_DOWNLOAD and add STOCK_DOWNLOAD, using "emblem-download" named icon. Partially fix 450904. Note: you need latest svn version of gnome-icon-theme to have the download icon @ 16x16 pixels svn path=/trunk/; revision=7126
* Remove empty filesRELEASE_2_19_5Christian Persch2007-07-102-0/+0
| | | | svn path=/trunk/; revision=7123
* === Release 2.19.5 ===Christian Persch2007-07-102-0/+0
| | | | | | | | 2007-07-09 Christian Persch <chpe@gnome.org> === Release 2.19.5 === svn path=/trunk/; revision=7122
* Modified first-time dialog when visiting a secure page, to mention theDiego Escalante Urrelo2007-06-171-1/+4
| | | | | | | | | | | | | | 2007-06-07 Diego Escalante Urrelo <diegoe@gnome.org> * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: * help/C/epiphany.xml: Modified first-time dialog when visiting a secure page, to mention the color and padlock icon in the address entry. Patch by Jared Moore. Fixes bug #346243. svn path=/trunk/; revision=7085
* Set the print as cancelled in the print settings too, seeChristian Persch2007-06-143-4/+14
| | | | | | | | | | | | | 2007-06-14 Christian Persch <chpe@gnome.org> * embed/mozilla/GeckoPrintService.cpp: * embed/mozilla/GeckoPrintSession.cpp: * embed/mozilla/GeckoPrintSession.h: Set the print as cancelled in the print settings too, see https://bugzilla.mozilla.org/show_bug.cgi?id=253926. svn path=/trunk/; revision=7081
* Last commit reverted.Diego Escalante Urrelo2007-06-061-4/+4
| | | | | | | | | | | 2007-06-05 Diego Escalante Urrelo <diegoe@gnome.org> * embed/mozilla/EphyAboutModule.cpp: Last commit reverted. svn path=/trunk/; revision=7075
* Change the "The page was not fully loaded when the crash ocurred" messageDiego Escalante Urrelo2007-06-061-4/+4
| | | | | | | | | | | | 2007-06-05 Diego Escalante Urrelo <diegoe@gnome.org> * embed/mozilla/EphyAboutModule.cpp: Change the "The page was not fully loaded when the crash ocurred" message to something better. Patch by Thomas Presthus. Bug #433796. svn path=/trunk/; revision=7074
* 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
* Take the printer's capabilities into account.Christian Persch2007-05-271-9/+40
| | | | | | | | | | 2007-05-27 Christian Persch <chpe@gnome.org> * embed/mozilla/GeckoPrintService.cpp: Take the printer's capabilities into account. svn path=/trunk/; revision=7051
* Add pref for smooth scroll, bug #162489. Use GSlice to allocate the prefsChristian Persch2007-05-201-3/+121
| | | | | | | | | | | | | 2007-05-19 Christian Persch <chpe@gnome.org> * embed/ephy-embed-prefs.h: * embed/mozilla/mozilla-notifiers.cpp: Add pref for smooth scroll, bug #162489. Use GSlice to allocate the prefs notifier data. Check the pref type. svn path=/trunk/; revision=7037
* Just use ngettext here, no need for dngettext.Christian Persch2007-05-201-4/+3
| | | | | | | | | | 2007-05-19 Christian Persch <chpe@gnome.org> * embed/mozilla/GeckoCookiePromptService.cpp: Just use ngettext here, no need for dngettext. svn path=/trunk/; revision=7036
* Store http-only flag too.Christian Persch2007-05-201-0/+6
| | | | | | | | | | | 2007-05-19 Christian Persch <chpe@gnome.org> * embed/ephy-cookie-manager.h: * embed/mozilla/EphySingle.cpp: Store http-only flag too. svn path=/trunk/; revision=7035
* Fix printing of frames.Christian Persch2007-04-093-13/+39
| | | | | | | | | | | | | 2007-04-09 Christian Persch <chpe@gnome.org> * data/glade/print.glade: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/GeckoPrintService.cpp: * embed/mozilla/GeckoPrintService.h: Fix printing of frames. svn path=/trunk/; revision=6985
* Fix Epiphany not finding some Gecko plugins when running in a multilibBastien Nocera2007-03-162-12/+68
| | | | | | | | | | | | 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
* Add translator's comment for 'token'.Christian Persch2007-03-121-0/+4
| | | | | | | | | | 2007-03-12 Christian Persch <chpe@gnome.org> * embed/mozilla/GtkNSSDialogs.cpp: Add translator's comment for 'token'. svn path=/trunk/; revision=6962
* Implement nsICookiePromptService. Bug #337826.Christian Persch2007-03-124-1/+214
| | | | | | | | | | | | | 2007-03-12 Christian Persch <chpe@gnome.org> * embed/mozilla/GeckoCookiePromptService.cpp: * embed/mozilla/GeckoCookiePromptService.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: Implement nsICookiePromptService. Bug #337826. svn path=/trunk/; revision=6961
* Correct FSF address. Bug #409075, patch by John Millikin.RELEASE_2_18_0GNOME_2_18_BRANCHPOINTChristian Persch2007-03-1268-68/+68
| | | | | | | | | | 2007-03-11 Christian Persch <chpe@gnome.org> * *: Correct FSF address. Bug #409075, patch by John Millikin. svn path=/trunk/; revision=6952
* Move ephy-adblock.* to embed. Change the API to pass EphyEmbed toBenjamin Berg2007-03-031-9/+10
| | | | | | | | | | | | | | | | | | | 2007-03-03 Benjamin Berg <benjamin@sipsolutions.net> * embed/Makefile.am: * embed/ephy-adblock-manager.c: (ephy_adblock_manager_should_load): * embed/ephy-adblock-manager.h: * embed/ephy-adblock.c: (ephy_adblock_should_load): * embed/ephy-adblock.h: * embed/mozilla/EphyContentPolicy.cpp: * lib/Makefile.am: * lib/ephy-adblock.c: * lib/ephy-adblock.h: Move ephy-adblock.* to embed. Change the API to pass EphyEmbed to should_load. This is needed to fix bug #348331. svn path=/trunk/; revision=6931
* What's this? Another mozilla API change!Christian Persch2007-02-232-7/+1
| | | | | | | | | | | 2007-02-23 Christian Persch <chpe@svn.gnome.org> * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: What's this? Another mozilla API change! svn path=/trunk/; revision=6916
* === Release 2.17.91 ===RELEASE_2_17_91Christian Persch2007-02-132-1/+2
| | | | | | | | | | | 2007-02-12 Christian Persch <chpe@svn.gnome.org> === Release 2.17.91 === * configure.ac: * data/mime-types-permissions.xml: svn path=/trunk/; revision=6904
* Fix a g_free on static string. Also fix a leak.Jean-François Rameau2007-02-091-23/+24
| | | | | | | | | | | 2007-02-08 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/EphyAboutModule.cpp: (GetErrorMessage),(CreateErrorPage): Fix a g_free on static string. Also fix a leak. svn path=/trunk/; revision=6897
* Guess what? Another mozilla API change!Christian Persch2007-02-091-0/+14
| | | | | | | | | | 2007-02-08 Christian Persch <chpe@svn.gnome.org> * embed/mozilla/MozDownload.cpp: Guess what? Another mozilla API change! svn path=/trunk/; revision=6895
* Check for a potential veto. Fix #342951.Jean-François Rameau2007-01-291-0/+12
| | | | | | | | | | 2007-01-28 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: (GContentHandler::Show): Check for a potential veto. Fix #342951. svn path=/trunk/; revision=6858
* Fixes the menu path of Gnome control center when displaying the servicePriit Laes2007-01-271-1/+1
| | | | | | | | | | | | 2007-01-27 Priit Laes <plaes@svn.gnome.org> * embed/mozilla/EphyAboutModule.cpp: Fixes the menu path of Gnome control center when displaying the service unavailable error message. Bug #352923. svn path=/trunk/; revision=6850
* Changed the "redirected too many times" error page to be more friendly.Diego Escalante Urrelo2007-01-241-3/+4
| | | | | | | | | | | | 2007-01-24 Diego Escalante Urrelo <diegoe@svn.gnome.org> * embed/mozilla/EphyAboutModule.cpp: Changed the "redirected too many times" error page to be more friendly. Bug #395990. svn path=/trunk/; revision=6847
* Clear some print settings in the settings we hand to the print job, soChristian Persch2007-01-244-13/+62
| | | | | | | | | | | | | | | | 2007-01-23 Christian Persch <chpe@svn.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/GeckoPrintService.cpp: * embed/mozilla/GeckoPrintService.h: * embed/mozilla/GeckoPrintSession.cpp: Clear some print settings in the settings we hand to the print job, so they don't get applied twice. Bug #394818. Prepare for printing to PDF (#if 0'd until the gecko bug is fixed). svn path=/trunk/; revision=6844
* Fixes the escaping in the error message "The page %s was not fully loadedDiego Escalante Urrelo2007-01-091-2/+2
| | | | | | | | | | | | | | 2007-01-08 Diego Escalante Urrelo <diegoe@svn.gnome.org> * embed/mozilla/EphyAboutModule.cpp: Fixes the escaping in the error message "The page %s was not fully loaded yet when the browser crashed..." by changing the g_strdup_printf into a g_markup_printf_escaped. Bug #374627. Patch by Diego Escalante Urrelo. svn path=/trunk/; revision=6801
* Fixes the menu path of the service unavailable error message.Diego Escalante Urrelo2007-01-091-1/+1
| | | | | | | | | | | 2007-01-08 Diego Escalante Urrelo <diegoe@svn.gnome.org> * embed/mozilla/EphyAboutModule.cpp: Fixes the menu path of the service unavailable error message. svn path=/trunk/; revision=6800
* .cvsignore files are obsoleteChristian Persch2006-12-301-6/+0
| | | | svn path=/trunk/; revision=6768
* Add search_link entry to _EphyEmbedIfaceEric Butler2006-12-181-0/+33
| | | | | | | | | | | | | | 2006-12-17 Eric Butler <eric@extremeboredom.net> * src/ephy-embed.h: Add search_link entry to _EphyEmbedIface * src/ephy-embed.c: Add ge-search-link signal * embed/mozilla/EphyBrowser.cs: Fire ge-search-link signal for opensearch tags
* embed/ephy-encodings.c embed/ephy-favicon-cache.c embed/ephy-history.cBjörn Lindqvist2006-12-171-7/+4
| | | | | | | | | | | | | | | | | | 2006-12-17 Björn Lindqvist <bjourne@gmail.com> * embed/ephy-encodings.c * embed/ephy-favicon-cache.c * embed/ephy-history.c * embed/mozilla/GlobalHistory.cpp * lib/ephy-state.c * lib/widgets/ephy-node-view.c * src/ephy-tab.c * src/bookmarks/ephy-bookmarks.c Refactor lots of code by using the function ephy_node_set_property_XXX() instead of ephy_node_set_property(). Also, add emacs mode headers to touched files. Bug #381546.
* Use a define for the default window icon. Bug #385872.Christian Persch2006-12-156-14/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-12-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/GeckoPrintService.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_constructor): * lib/ephy-gui.c: (ephy_gui_check_location_writable): * lib/ephy-module.c: * lib/ephy-password-dialog.c: (ephy_password_dialog_constructor): * lib/ephy-spell-check.c: * lib/ephy-stock-icons.h: * lib/widgets/.cvsignore: * lib/widgets/ephy-spinner-tool-item.c: (ephy_spinner_tool_item_toolbar_reconfigured): * lib/widgets/testspinner.c: * plugins/desktop-file/plugin.cpp: * src/bookmarks/ephy-bookmarks.c: (redirect_cb): * src/ephy-history-window.c: (confirmation_dialog_construct): * src/ephy-main.c: (main): * src/ephy-session.c: (confirm_shutdown_cb), (session_command_autoresume): * src/ephy-shell.c: (ephy_shell_add_sidebar_cb): * src/ephy-toolbar-editor.c: (ephy_toolbar_editor_constructor): * src/ephy-window.c: (construct_confirm_close_dialog): * src/pdm-dialog.c: (pdm_dialog_init): * src/window-commands.c: (window_cmd_help_about): Use a define for the default window icon. Bug #385872. * lib/ephy-module.c: The symbol can be NULL even though the symbol lookup succeeded.
* Try to work with trunkChristian Persch2006-12-091-2/+1
|
* Version 2.17.3.Christian Persch2006-12-052-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-12-04 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Version 2.17.3. * embed/mozilla/GtkNSSDialogs.cpp: Use NULL for gtk_label_new instead of "". * lib/ephy-print-utils.c: (ephy_print_utils_page_setup_new_from_key_file): Fix possible invalid free. * lib/widgets/ephy-spinner.c: (ephy_spinner_images_unref), (ephy_spinner_images_load), (ephy_spinner_load_images), (ephy_spinner_expose), (bump_spinner_frame_cb), (ephy_spinner_start), (ephy_spinner_stop): Fix compliance with icon theme spec by skipping the first frame in the animation when in spinning mode. Bug #382207. Try the "process-working" icon first and fall back to "gnome-spinner" when it's not available. * m4/gecko.m4: Updated. 2006-12-04 Luca Ferretti <elle.uca@libero.it>
* Another mozilla API change.Christian Persch2006-12-023-5/+8
| | | | | | | | | | | | | | | | | | 2006-12-01 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-find.c: (ephy_embed_find_find_again): * embed/ephy-embed-find.h: * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: * embed/mozilla/mozilla-embed-find.cpp: * src/ephy-find-toolbar.c: (ephy_find_toolbar_find_next), (ephy_find_toolbar_find_previous): Another mozilla API change. * m4/gecko.m4: Add -lxpcomglue_s to EXTRA_LIBS on trunk.
* Fix printing of page ranges.Christian Persch2006-11-051-2/+3
| | | | | | | | 2006-11-04 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GeckoPrintService.cpp: Fix printing of page ranges.
* Fix previous commit for gecko 1.8.0.x.Jean-François Rameau2006-10-251-1/+2
| | | | | | | | 2006-10-24 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: (impl_load): Fix previous commit for gecko 1.8.0.x.
* Get keyword search back by passing ALLOW_THIRD_PARTY_FIXUP flag to gecko.Jean-François Rameau2006-10-233-0/+95
| | | | | | | | | | | | | | | | | | | 2006-10-22 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/ephy-embed.h: * embed/ephy-embed.c: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-link.h: * src/ephy-location-action.c: (action_activated_cb): * src/ephy-shell.c: (ephy_shell_new_tab_full): * src/ephy-shell.h: * src/ephy-window.c: (ephy_window_open_link): Get keyword search back by passing ALLOW_THIRD_PARTY_FIXUP flag to gecko. Add a new load method to EphyEmbed to custom load behaviour and pass (optional) referrer. Fix bug #350053.
* Automatically open a Nautilus window after downloading has finished. FixesWouter Bolsterlee2006-10-152-1/+35
| | | | | | | | | | | | | 2006-10-15 Wouter Bolsterlee <wbolster@gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/MozDownload.cpp: * lib/ephy-file-helpers.c: (ephy_file_browse_to): * lib/ephy-file-helpers.h: * src/popup-commands.c: (save_property_url_completed_cb), (save_property_url): Automatically open a Nautilus window after downloading has finished. Fixes bug #138876, patch by Ed Catmur.
* 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.
* Revert part of the last change, we don't need the top window here.Christian Persch2006-10-071-6/+1
| | | | | | | | 2006-10-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/AutoWindowModalState.cpp: Revert part of the last change, we don't need the top window here.
* Use the top DOM window here, and adapt to gecko 1.8.1.Christian Persch2006-10-061-5/+28
| | | | | | | | 2006-10-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/AutoWindowModalState.cpp: Use the top DOM window here, and adapt to gecko 1.8.1.
* Fix build with gecko 1.8.1.Christian Persch2006-10-051-0/+4
| | | | | | | | 2006-10-05 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GeckoSpellCheckEngine.cpp: Fix build with gecko 1.8.1.
* R embed/mozilla/AutoEventQueue.cpp: R embed/mozilla/AutoEventQueue.h:Christian Persch2006-09-302-181/+0
| | | | | | | | | 2006-09-29 Christian Persch <chpe@cvs.gnome.org> R embed/mozilla/AutoEventQueue.cpp: R embed/mozilla/AutoEventQueue.h: Remove unused code.
* Add smb: to recognised web schemes. Bug #352733.Christian Persch2006-09-301-0/+3
| | | | | | | | 2006-09-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Add smb: to recognised web schemes. Bug #352733.
* These header files were GPL v2-only while the implementation .cpp filesChristian Persch2006-09-242-8/+32
| | | | | | | | | | | 2006-09-23 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.h: * embed/mozilla/GtkNSSKeyPairDialogs.h: These header files were GPL v2-only while the implementation .cpp files already were v2+. Thanks to crispin for agreeing to licence the .h under v2+ too.
* Fix find direction.Christian Persch2006-09-181-1/+1
| | | | | | | | 2006-09-17 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyFind.cpp: Fix find direction.
* Remove ill-conceived attempt at uninstalling the XPInstall handler, andChristian Persch2006-09-175-79/+143
| | | | | | | | | | | | | | 2006-09-16 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyContentPolicy.h: * embed/mozilla/EphySidebar.cpp: * embed/mozilla/EphySidebar.h: * embed/mozilla/MozRegisterComponents.cpp: Remove ill-conceived attempt at uninstalling the XPInstall handler, and move category registration to the classes that are being registered.
* Use UTF-8 copyright symbolChristian Persch2006-09-1376-115/+115
|
* Remove some unnecessary static data.Christian Persch2006-09-078-28/+28
| | | | | | | | 2006-09-06 Christian Persch <chpe@cvs.gnome.org> * *.c *.cpp: Remove some unnecessary static data.
* Make this LGPL.Christian Persch2006-08-221-4/+4
| | | | | | | | 2006-08-22 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GeckoFormSigningDialog.cpp: Make this LGPL.
* === Release 2.15.92 ===RELEASE_2_15_92Christian Persch2006-08-221-1/+1
| | | | | | | | | | | | | | | | | | | 2006-08-21 Christian Persch <chpe@cvs.gnome.org> === Release 2.15.92 === * NEWS: * configure.ac: Updated for 2.15.92. * embed/mozilla/EphyAboutModule.cpp: Use escaped URL for about:recover. Fixes bug #351296. * src/ephy-window.c: Remove shortcut for SendPage.
* Don't show the empty window that the print options tab isChristian Persch2006-08-221-0/+1
| | | | | | | | | 2006-08-19 Christian Persch <chpe@cvs.gnome.org> * data/glade/print.glade: * embed/mozilla/GeckoPrintService.cpp: Don't show the empty window that the print options tab is
* YAMAC.Christian Persch2006-08-191-7/+3
| | | | | | | | 2006-08-19 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyFind.cpp: YAMAC.
* 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.
* Fix the build.Christian Persch2006-08-081-2/+0
| | | | | | | | 2006-08-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/Makefile.am: Fix the build.
* Simply CallGetService to get the pref branch.Christian Persch2006-08-081-12/+8
| | | | | | | | 2006-08-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-notifiers.cpp: Simply CallGetService to get the pref branch.
* 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-083-58/+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.
* Don't start search on <embed> and <object> elements.Christian Persch2006-08-081-1/+6
| | | | | | | | 2006-08-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Don't start search on <embed> and <object> elements.
* Decrease maximum progress update to 0.5sChristian Persch2006-08-081-1/+4
| | | | | | | | 2006-08-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: Decrease maximum progress update to 0.5s
* Fix default activation.Christian Persch2006-07-251-1/+2
| | | | | | | | | | | | | 2006-07-24 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-password-dialog.c: Fix default activation. * data/glade/form-signing-dialog.glade: * embed/mozilla/GeckoFormSigningDialog.cpp: Fix content packing options.
* Missing GeckoFormSigningDialog entries.Jean-François Rameau2006-07-241-0/+2
| | | | | | | | 2006-07-23 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/Makefile.am: Missing GeckoFormSigningDialog entries.
* Implement nsIDOMCryptoDialogs, nsITokenDialogs andChristian Persch2006-07-244-19/+211
| | | | | | | | | | | | | | | | | | | 2006-07-22 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSDialogs.h: * embed/mozilla/MozRegisterComponents.cpp: Implement nsIDOMCryptoDialogs, nsITokenDialogs and nsITokenPasswordDialogs. Bug #312869. * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: Add a helper function to get the DOM window off the native call context, to work around unavailable parent window in nsIDOMCryptoDialogs ( https://bugzilla.mozilla.org/show_bug.cgi?id=341914).
* Implement nsIFormSigningDialog. Bug #312869.Christian Persch2006-07-233-1/+208
| | | | | | | | | | | | 2006-07-22 Christian Persch <chpe@cvs.gnome.org> * data/glade/Makefile.am: * data/glade/form-signing-dialog.glade: * embed/mozilla/GeckoFormSigningDialog.cpp: * embed/mozilla/GeckoFormSigningDialog.h: * embed/mozilla/MozRegisterComponents.cpp: Implement nsIFormSigningDialog. Bug #312869.
* Add a way to turn off password remembering. Bug #332374.Christian Persch2006-07-221-0/+3
| | | | | | | | | | | | 2006-07-21 Christian Persch <chpe@cvs.gnome.org> * data/epiphany.schemas.in: * data/glade/prefs-dialog.glade: * embed/mozilla/mozilla-notifiers.cpp: * lib/ephy-prefs.h: * src/prefs-dialog.c: Add a way to turn off password remembering. Bug #332374.
* Add our options in a custom tab in the print dialogue.Christian Persch2006-07-222-66/+219
| | | | | | | | | | | | | | | 2006-07-21 Christian Persch <chpe@cvs.gnome.org> * data/epiphany.schemas.in: * data/glade/print.glade: * embed/mozilla/GeckoPrintService.cpp: * embed/mozilla/GeckoPrintService.h: * lib/ephy-gui.c: (ephy_gui_message_dialog_get_content_box), (ephy_gui_message_dialog_set_wrap_mode), (checkbutton_toggled_cb), (ephy_gui_connect_checkbutton_to_gconf): * lib/ephy-gui.h: Add our options in a custom tab in the print dialogue.
* Force label wrapping.Christian Persch2006-07-191-0/+2
| | | | | | | | 2006-07-18 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyPromptService.cpp: Force label wrapping.
* === Release 2.15.4 ===RELEASE_2_15_4Christian Persch2006-07-111-1/+1
| | | | | | | | 2006-07-10 Christian Persch <chpe@cvs.gnome.org> === Release 2.15.4 === * configure.ac:
* Don't hammer the cpu when downloading file with an unknown size. Fix bugJean-François Rameau2006-07-071-2/+1
| | | | | | | | | | | | | | 2006-07-06 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: (OnProgressChange64): Don't hammer the cpu when downloading file with an unknown size. Fix bug 346671. * embed/ephy-embed-shell.c: (ephy_embed_shell_set_page_setup), (ephy_embed_shell_set_print_settings): Fix compiler warnings.
* Guess what? Another mozilla API change!Christian Persch2006-07-072-10/+37
| | | | | | | | | 2006-07-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: Guess what? Another mozilla API change!
* Fix the build.Christian Persch2006-07-072-5/+2
| | | | | | | | | 2006-07-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/AutoWindowModalState.cpp: * embed/mozilla/AutoWindowModalState.h: Fix the build.
* A embed/mozilla/AutoWindowModalState.cpp: AChristian Persch2006-07-0611-25/+150
| | | | | | | | | | | | | | | | | | 2006-07-06 Christian Persch <chpe@cvs.gnome.org> A embed/mozilla/AutoWindowModalState.cpp: A embed/mozilla/AutoWindowModalState.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyPromptService.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/FilePicker.h: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: * embed/mozilla/Makefile.am: Prevent DOM window closure while we display a modal dialogue on it.
* Fix a warning from gecko "Bad contract id registed with the scriptJean-François Rameau2006-06-241-0/+2
| | | | | | | | | 2006-06-23 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/MozRegisterComponents.cpp: (mozilla_register_components): Fix a warning from gecko "Bad contract id registed with the script namespace manager". Only unregister xpinstall factory with gecko >= 1.9.
* A lib/ephy-password-dialog.c: A lib/ephy-password-dialog.h:Christian Persch2006-06-224-362/+392
| | | | | | | | | | | | | | | | 2006-06-22 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSDialogs.h: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozRegisterComponents.cpp: * lib/Makefile.am: A lib/ephy-password-dialog.c: A lib/ephy-password-dialog.h: Implement nsITokenPasswordDialogs. Misc cleanups and mozilla string simplification now that we depend on gecko 1.8.
* Fix build with latest gtk printing changes.Christian Persch2006-06-223-25/+30
| | | | | | | | | | 2006-06-21 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GeckoPrintService.cpp: * embed/mozilla/GeckoPrintSession.cpp: * embed/mozilla/GeckoPrintSession.h: Fix build with latest gtk printing changes.
* Look! Yet Another Mozilla API Change!Christian Persch2006-06-201-0/+11
| | | | | | | | 2006-06-19 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyAboutModule.cpp: Look! Yet Another Mozilla API Change!
* A embed/mozilla/GeckoPrintService.cpp: AChristian Persch2006-06-1912-563/+1420
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-06-18 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * data/default-prefs-common.js: * embed/Makefile.am: * embed/ephy-embed-shell.c: (ephy_embed_shell_dispose), (ephy_embed_shell_set_page_setup), (ephy_embed_shell_get_page_setup), (ephy_embed_shell_set_print_settings), (ephy_embed_shell_get_print_settings): * embed/ephy-embed-shell.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: * embed/mozilla/Makefile.am: A embed/mozilla/GeckoPrintService.cpp: A embed/mozilla/GeckoPrintService.h: A embed/mozilla/GeckoPrintSession.cpp: A embed/mozilla/GeckoPrintSession.h: * embed/mozilla/MozRegisterComponents.cpp: R embed/mozilla/PrintingPromptService.cpp: R embed/mozilla/PrintingPromptService.h: * embed/mozilla/mozilla-embed-single.cpp: R embed/print-dialog.c: R embed/print-dialog.h: * src/ephy-shell.c: (ephy_shell_dispose), (ephy_shell_get_prefs_dialog): * src/ephy-shell.h: * src/epiphany.defs: * src/window-commands.c: (page_setup_done_cb), (window_cmd_file_print_setup): Drop libgnomeprint[ui] and use gtk printing.
* Fix header guard nameChristian Persch2006-06-121-2/+2
|
* Check for enchant, and output an overview of the configured options onChristian Persch2006-06-094-0/+276
| | | | | | | | | | | | | | | | | | | | | 2006-06-09 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Check for enchant, and output an overview of the configured options on successful configure. * data/default-prefs-common.js: * embed/mozilla/GeckoSpellCheckEngine.cpp: * embed/mozilla/GeckoSpellCheckEngine.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * lib/Makefile.am: * lib/ephy-spell-check.c: * lib/ephy-spell-check.h: Spell check support using the gecko 'spellchecker' extension. No corrections context menu or language switching yet.
* The API change was reverted on 1.8 branch. Fixes bug #343592.Christian Persch2006-06-051-4/+0
| | | | | | | | 2006-06-04 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphySidebar.cpp: The API change was reverted on 1.8 branch. Fixes bug #343592.
* The API change was reverted on 1.8 branch. Fixes bug #343592.Christian Persch2006-06-051-2/+6
| | | | | | | | 2006-06-04 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphySidebar.cpp: The API change was reverted on 1.8 branch. Fixes bug #343592.
* Don't set cookies from favicon downloads. Bug #337835.Jean-François Rameau2006-06-023-4/+71
| | | | | | | | | | | | | 2006-06-01 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/ephy-embed-persist.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): * embed/mozilla/EphySingle.cpp: (Init, Detach, ExamineCookies, ExamineResponse, ExamineRequest, Observe): * embed/mozilla/EphySingle.h: * embed/mozilla/MozDownload.cpp: (InitiateMozillaDownload): Don't set cookies from favicon downloads. Bug #337835.
* === Release 2.15.2 ===RELEASE_2_15_2Christian Persch2006-05-1612-33/+33
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Use nsAString::Equals.Christian Persch2006-05-153-16/+1
| | | | | | | | | | 2006-05-14 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EphyUtils.h: * embed/mozilla/EventContext.cpp: Use nsAString::Equals.
* The API is also changed on 1.8 branch, adapt the #ifdef accordingly.Christian Persch2006-05-121-2/+2
| | | | | | | | 2006-05-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphySidebar.cpp: The API is also changed on 1.8 branch, adapt the #ifdef accordingly.
* Drop non-toolkit gecko support too.Christian Persch2006-05-112-12/+3
| | | | | | | | | | 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.
* Another API change! Thank you, mozilla!Christian Persch2006-05-111-0/+11
| | | | | | | | 2006-05-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphySidebar.cpp: Another API change! Thank you, mozilla!
* Drop support for gecko 1.7.Christian Persch2006-05-1158-2469/+1043
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-242-3/+3
| | | | | | | | | | | | | | | | | | | 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.
* Check for nsIMutableArray.h and include it if found. Fixes build withChristian Persch2006-04-171-1/+5
| | | | | | | | | | 2006-04-13 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/GtkNSSDialogs.cpp: Check for nsIMutableArray.h and include it if found. Fixes build with gecko trunk.
* Emit document-change event on fastback restore. Fixes bug #312785.Christian Persch2006-04-111-1/+14
| | | | | | | | 2006-04-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: Emit document-change event on fastback restore. Fixes bug #312785.
* 2006-04-03 Christian Persch <chpe@cvs.gnome.org>Christian Persch2006-04-031-2/+5
| | | | | | | * src/ephy-dbus.c: (ephy_dbus_get_bus): * src/ephy-net-monitor.c: (ephy_net_monitor_check_for_active_device), (ephy_net_monitor_attach_to_dbus), (ephy_net_monitor_startup):
* Oops, this is a string pref!Christian Persch2006-04-031-13/+4
| | | | | | | | 2006-04-02 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-notifiers.cpp: Oops, this is a string pref!
* Fix crash when cancelling the prompt before the timeout has run.Christian Persch2006-04-011-3/+2
| | | | | | | | 2006-04-01 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyPromptService.cpp: Fix crash when cancelling the prompt before the timeout has run.
* Use g_object_ref_sink().Christian Persch2006-03-291-23/+19
| | | | | | | | | | | | | | 2006-03-28 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyPromptService.cpp: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_set_fixed): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_init): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_init): * src/ephy-fullscreen-popup.c: (ephy_fullscreen_popup_constructor): * src/ephy-notebook.c: (ephy_notebook_init): * src/ephy-statusbar.c: (ephy_statusbar_init): Use g_object_ref_sink().
* .Jean-François Rameau2006-03-291-9/+48
| | | | | | | | | 2006-03-28 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/EphyContentPolicy.cpp: (ShouldLoad). Mozilla backend now supports adblock. Fix #335919.
* Sync Epiphany with Gecko trunk according toJean-François Rameau2006-03-202-0/+8
| | | | | | | | | | | 2006-03-19 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/EphySidebar.cpp: * embed/mozilla/MozRegisterComponents.cpp: Sync Epiphany with Gecko trunk according to https://bugzilla.mozilla.org/show_bug.cgi?id=330420. (Add nsIClassInfo.h).
* Don't throw when cancelling the dialogue with ESC. Fixes bug #333780,Christian Persch2006-03-081-1/+1
| | | | | | | | | 2006-03-08 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyPromptService.cpp: Don't throw when cancelling the dialogue with ESC. Fixes bug #333780, patch has RT approval.
* Build fix to build with 1.8 branch. No code changes, only #ifdef code thatChristian Persch2006-03-081-0/+5
| | | | | | | | | 2006-03-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GlobalHistory.cpp: Build fix to build with 1.8 branch. No code changes, only #ifdef code that must not be built on 1.8 branch.
* Back the xpinstall change out; it breaks on gecko 1.8.Christian Persch2006-03-061-55/+30
| | | | | | | | 2006-03-05 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozRegisterComponents.cpp: Back the xpinstall change out; it breaks on gecko 1.8.
* Don't use g_return_if_fail here.Christian Persch2006-03-066-8/+5
| | | | | | | | | | | | 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 the right category.Christian Persch2006-03-051-1/+1
| | | | | | | | 2006-03-05 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozRegisterComponents.cpp: Use the right category.
* Mark application/x-xpinstall as unsafe.Christian Persch2006-03-051-30/+55
| | | | | | | | | | | | | 2006-03-05 Christian Persch <chpe@cvs.gnome.org> * data/mime-types-permissions.xml: Mark application/x-xpinstall as unsafe. * embed/mozilla/MozRegisterComponents.cpp: Unregister xpinstall content handler and JS objects; fixes download of .xpi files.
* Fix buildChristian Persch2006-03-041-1/+1
|
* Sync Epiphany with new nsIGlobalHistory3 stuff.Jean-François Rameau2006-03-033-4/+34
| | | | | | | | | | | | | | 2006-03-03 Jean-François Rameau <jframeau@cvs.gnome.org> * configure.ac: * embed/mozilla/GlobalHistory.h: * embed/mozilla/GlobalHistory.cpp: Sync Epiphany with new nsIGlobalHistory3 stuff. * embed/mozilla/EphyContentPolicy.cpp: (GetEmbedFromContext): Fix a missing return.
* Don't block stylesheets (for now).Christian Persch2006-03-031-6/+17
| | | | | | | | 2006-03-02 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyContentPolicy.cpp: Don't block stylesheets (for now).
* Make these implement threadsafe isupports.Christian Persch2006-03-033-9/+7
| | | | | | | | | | 2006-03-02 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: Make these implement threadsafe isupports.
* Don't activate typeaheadfind on XUL documents.Christian Persch2006-03-021-0/+3
| | | | | | | | 2006-03-02 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Don't activate typeaheadfind on XUL documents.
* Do return on failure.Christian Persch2006-02-211-1/+1
| | | | | | | | 2006-02-20 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: Do return on failure.
* Guard against nsDocument::GetDefaultView returning NULL. Bug #327764.Christian Persch2006-02-161-6/+11
| | | | | | | | | 2006-02-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Guard against nsDocument::GetDefaultView returning NULL. Bug #327764.
* Also use exthandler for snews and nntp.Christian Persch2006-02-141-1/+1
| | | | | | | | 2006-02-14 Christian Persch <chpe@cvs.gnome.org> * data/default-prefs-common.js: Also use exthandler for snews and nntp.
* 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().
* Block popup with NULL url (javascript:window.open() for instance). butJean-François Rameau2006-02-091-6/+9
| | | | | | | | | | | 2006-02-08 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: (HandleEvent): * src/ephy-tab.c: (popups_manager_add),(popups_manager_show): Block popup with NULL url (javascript:window.open() for instance). but don't show them when unblocking. Bug #155009.
* 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-062-20/+11
| | | | | | | | | | | | | | | | 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-062-3/+4
| | | | | | | | | 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.
* Don't make the nonblocking alert modal!Christian Persch2006-02-031-16/+10
| | | | | | | | 2006-02-03 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyPromptService.cpp: Don't make the nonblocking alert modal!
* Fix compilation against trunk + some typos.Jean-François Rameau2006-02-033-3/+2
| | | | | | | | | | 2006-02-03 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/EphyPromptService.h: * embed/mozilla/EphyPromptService.cpp: (ShowNonBlockingAlert): * embed/mozilla/AutoJSContextStack.cpp: Fix compilation against trunk + some typos.
* Helper class that pushes a null JS context on the stack, and pops it inChristian Persch2006-02-0311-5/+167
| | | | | | | | | | | | | | | | | | | | | | | | 2006-02-02 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/Makefile.am: * embed/mozilla/AutoJSContextStack.cpp: * embed/mozilla/AutoJSContextStack.h: Helper class that pushes a null JS context on the stack, and pops it in the destructor. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyPromptService.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: * embed/mozilla/PrintingPromptService.cpp: Push a null JS context on the stack when we run a recursive mainloop. Fixes the epiphany equivalend of camino bug https://bugzilla.mozilla.org/show_bug.cgi?id=179307.
* Add GECKO_CHECK_HEADERS, wrapping AC_CHECK_HEADERS.Christian Persch2006-02-033-2/+76
| | | | | | | | | | | | | | | | | | | 2006-02-02 Christian Persch <chpe@cvs.gnome.org> * m4/gecko.m4: Add GECKO_CHECK_HEADERS, wrapping AC_CHECK_HEADERS. * configure.ac: Simplify some header checks with GECKO_CHECK_HEADERS. Check for nsINonBlockingAlertService.h. * embed/mozilla/EphyPromptService.cpp: * embed/mozilla/EphyPromptService.h: * embed/mozilla/MozRegisterComponents.cpp: Implement nsINonBlockingAlertService.
* Use GTK_STOCK_DIALOG_AUTHENTICATION. Bug #329438.Christian Persch2006-02-011-2/+2
| | | | | | | | 2006-02-01 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyPromptService.cpp: Use GTK_STOCK_DIALOG_AUTHENTICATION. Bug #329438.
* Remove unused var.Jean-François Rameau2006-01-311-1/+0
| | | | | | | | 2006-01-30 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/EphyAboutModule.cpp: (GetErrorMessage): Remove unused var.
* Special error text for localhost URIs. Bug #323261, patch byChristian Persch2006-01-311-5/+52
| | | | | | | | | 2006-01-30 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyAboutModule.cpp: Special error text for localhost URIs. Bug #323261, patch by Jean-François Rameau.
* Truncate URI and title strings. Bug #329160.Christian Persch2006-01-311-7/+34
| | | | | | | | 2006-01-30 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GlobalHistory.cpp: Truncate URI and title strings. Bug #329160.
* 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-262-89/+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.
* Add a GError** to ephy_file_helpers_init and ephy_ensure_dir_exists, so weChristian Persch2006-01-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-23 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: * lib/ephy-file-helpers.c: (ephy_file_helpers_init), (ephy_ensure_dir_exists): * lib/ephy-file-helpers.h: Add a GError** to ephy_file_helpers_init and ephy_ensure_dir_exists, so we can show the error to the user in main(). * src/ephy-dbus.c: (ephy_dbus_connect_to_session_bus_cb), (ephy_dbus_connect_to_system_bus_cb), (session_filter_func), (system_filter_func), (ephy_dbus_connect_to_system_bus), (ephy_dbus_connect_to_session_bus), (ephy_dbus_shutdown), (ephy_dbus_finalize), (ephy_dbus_get_type), (ephy_dbus_get_default), (ephy_dbus_get_bus), (ephy_dbus_get_proxy), (_ephy_dbus_startup), (_ephy_dbus_release), (_ephy_dbus_is_name_owner): * src/ephy-dbus.h: Refactored. Propagate errors to callers via GError**, and change lifecycle to the app lifetime. * src/ephy-lockdown.c: (ephy_lockdown_init), (ephy_lockdown_finalize): Move gconf notification add/remove for the lockdown key dirs here from main(). * src/ephy-shell.c: (ephy_shell_dispose), (_ephy_shell_create_instance): * src/ephy-shell.h: * src/epiphany.defs: Remove ephy_shell_startup and related stuff. * src/ephy-main.c: (handle_url), (handle_email), (shell_weak_notify), (dbus_g_proxy_finalized_cb), (save_yourself_cb), (die_cb), (gnome_session_init), (path_from_command_line_arg), (open_urls), (call_dbus_proxy), (show_error_message), (main): Move all startup code to main(), so we can show errors to the user instead of crashing when things go wrong. Part of bug #326807.
* Invert button order. Bug #327381.Christian Persch2006-01-241-4/+24
| | | | | | | | 2006-01-23 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyPromptService.cpp: Invert button order. Bug #327381.
* Decouple embed single instantiation and initialisation. PreventsChristian Persch2006-01-183-22/+6
| | | | | | | | | | | | | | | | | 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.
* Change the 'ephy_embed_event_get_property' function return a GValue*Crispin Flowerday2006-01-181-4/+3
| | | | | | | | | | | | | | | | | | | | | | 2006-01-17 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed-event.c: (ephy_embed_event_get_property): * embed/ephy-embed-event.h: * embed/mozilla/mozilla-embed-event.cpp: * src/ephy-tab.c: (save_property_url), (ephy_tab_dom_mouse_click_cb): * src/ephy-window.c: (update_popups_tooltips), (show_embed_popup): * src/epiphany.defs: * src/epiphany.override: * src/popup-commands.c: (popup_cmd_link_in_new_window), (popup_cmd_link_in_new_tab), (popup_cmd_bookmark_link), (popup_cmd_copy_link_address), (save_property_url), (popup_cmd_open_link), (popup_cmd_set_image_as_background), (popup_cmd_copy_image_location), (popup_cmd_open_image): Change the 'ephy_embed_event_get_property' function return a GValue* rather than taking a pointer to it as an argument.
* Fix leaks, minor cleanups.Christian Persch2006-01-171-31/+23
| | | | | | | | | 2006-01-17 Christian Persch <chpe@cvs.gnome.org> * data/glade/prefs-dialog.glade: * embed/mozilla/mozilla-notifiers.cpp: Fix leaks, minor cleanups.
* Add event type to the callback.Christian Persch2006-01-174-25/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-174-88/+664
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* When looking at modified text areas and forms, don't look at disabled orCrispin Flowerday2006-01-171-0/+95
| | | | | | | | | | 2006-01-16 Crispin Flowerday <gnome@flowerday.cx> * embed/mozilla/EphyBrowser.cpp: When looking at modified text areas and forms, don't look at disabled or invisible elements. Patch by chpe, part of bug #155603
* Add NetworkManager magic for connection status autodetection. Defaults toChristian Persch2006-01-162-7/+102
| | | | | | | | | | | | | 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-152-9/+10
| | | | | | | | | | 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-154-0/+163
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Don't require a HTML document to activate typeaheadfind. Bug #326813.Christian Persch2006-01-131-18/+22
| | | | | | | | | 2006-01-13 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Don't require a HTML document to activate typeaheadfind. Bug #326813.
* A embed/mozilla/EphyPromptService.cpp: AChristian Persch2006-01-134-0/+857
| | | | | | | | | | | | 2006-01-13 Christian Persch <chpe@cvs.gnome.org> A embed/mozilla/EphyPromptService.cpp: A embed/mozilla/EphyPromptService.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * po/POTFILES.in: Implement nsIPromptService ourself.
* EphyContentPolicy now emits a signal when a content is blocked.Jean-François Rameau2006-01-092-2/+62
| | | | | | | | | | | 2006-01-08 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/EphyContentPolicy.h: * embed/mozilla/EphyContentPolicy.cpp: (ShouldLoad): * embed/ephy-embed.h: * embed/ephy-embed.c: (ephy_embed_base_init): EphyContentPolicy now emits a signal when a content is blocked.
* Make ESC cancel the content handler dialogue. Bug #325811.Christian Persch2006-01-081-5/+8
| | | | | | | | 2006-01-08 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: Make ESC cancel the content handler dialogue. Bug #325811.
* Don't include generated files in the tarball. Bug #319440.Christian Persch2006-01-031-1/+3
| | | | | | | | | | | | | | | | | | | | | | 2006-01-03 Christian Persch <chpe@cvs.gnome.org> * embed/Makefile.am: * embed/mozilla/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Don't include generated files in the tarball. Bug #319440. R help/C/Makefile.am: R help/es/Makefile.am: R help/eu/Makefile.am: R help/fi/Makefile.am: R help/ja/Makefile.am: R help/uk/Makefile.am: Remove obsolete files.
* Add some code so ad blocking should be more easy. Based on the fact thatJean-François Rameau2005-12-201-6/+22
| | | | | | | | | | | | | | | | | | | | | 2005-12-19 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/Makefile.am: * embed/ephy-adblock-manager.c: * embed/ephy-adblock-manager.h: * embed/ephy-embed-shell.c: (ephy_embed_shell_finalize): * embed/ephy-embed-shell.h: * embed/mozilla/EphyContentPolicy.cpp: (EphyContentPolicy::ShouldLoad): * lib/Makefile.am: * lib/ephy-adblock.h: * lib/ephy-adblock.c: * src/ephy-shell.c: (ephy_shell_get_extensions_manager): Add some code so ad blocking should be more easy. Based on the fact that Epiphany already has its own content policy component (EphyContentPolicy). The new design adds: - an interface, EphyAdBlock - a manager, EphyAdBlockManager, pointing to a blocker (possibly no one).
* 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-114-0/+488
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Minor code cleanup.Christian Persch2005-12-081-5/+5
| | | | | | | | | | | | | | | | | 2005-12-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyFind.cpp: Minor code cleanup. * src/ephy-find-toolbar.c: (entry_key_press_event_cb), (ephy_find_toolbar_close): Also check for GDK_ISO_Enter. * src/ephy-window.c: (sync_tab_address): Close the find toolbar when loading a new page.
* Add ephy_embed_scroll_pixels.Christian Persch2005-12-083-14/+47
| | | | | | | | | | | | | 2005-12-07 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_scroll), (ephy_embed_page_scroll), (ephy_embed_scroll_pixels): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Add ephy_embed_scroll_pixels.
* Forward up/down/page up/page down from the findbar entry to the embed.Crispin Flowerday2005-12-073-0/+50
| | | | | | | | | | | | | | | 2005-12-06 Crispin Flowerday <gnome@flowerday.cx> * embed/ephy-embed.c: (ephy_embed_scroll), (ephy_embed_page_scroll): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-find-toolbar.c: (entry_key_press_event_cb): Forward up/down/page up/page down from the findbar entry to the embed.
* Fix spacings to be HIG compliant. Set window roles.Christian Persch2005-12-062-6/+4
| | | | | | | | | | | | 2005-12-05 Christian Persch <chpe@cvs.gnome.org> * data/glade/certificate-dialogs.glade: * data/glade/epiphany.glade: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * src/pdm-dialog.c: (show_cookies_properties), (pdm_dialog_init): Fix spacings to be HIG compliant. Set window roles.
* While in find mode, set the selection colour to "attention".Christian Persch2005-12-053-1/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-12-04 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-find.c: (ephy_embed_find_set_selection): * embed/ephy-embed-find.h: * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: * embed/mozilla/mozilla-embed-find.cpp: While in find mode, set the selection colour to "attention". * src/ephy-find-toolbar.c: (set_status), (clear_status), (tab_search_key_press_cb), (entry_key_press_event_cb), (entry_activate_cb), (set_focus_cb), (ephy_find_toolbar_set_window), (ephy_find_toolbar_init), (ephy_find_toolbar_class_init), (ephy_find_toolbar_set_embed), (ephy_find_toolbar_open), (ephy_find_toolbar_close), (ephy_find_toolbar_request_close): * src/ephy-find-toolbar.h: * src/ephy-window.c: (sync_tab_document_type), (find_toolbar_close_cb), (ephy_window_set_print_preview), (ephy_window_get_find_toolbar), (ephy_window_get_context_event): Refactor find toolbar closing not to crash with auto-closing popups. Unset the selection colour on close. Remove dead #ifdef FIND_WHILE_TYPING_IN_EMBED code.
* Add a comment for translators.Christian Persch2005-12-051-2/+3
| | | | | | | | 2005-12-04 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSDialog.cpp: Add a comment for translators.
* Fix build with moz 1.7Christian Persch2005-11-191-1/+1
|
* Add chrome: and resource: to the safe list; otherwise forms and scrollbarsChristian Persch2005-11-191-77/+36
| | | | | | | | | | | 2005-11-18 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyContentPolicy.cpp: * embed/ephy-embed-single.c: * embed/ephy-embed-single.h: Add chrome: and resource: to the safe list; otherwise forms and scrollbars break. Fixes bug #316498.
* Prettify CRL import dialogue. Fixes bug #321590.Christian Persch2005-11-161-19/+34
| | | | | | | | 2005-11-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSDialogs.cpp: Prettify CRL import dialogue. Fixes bug #321590.
* Fix for mozilla API change.Christian Persch2005-11-142-30/+36
| | | | | | | | | 2005-11-13 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyAboutModule.cpp: * embed/mozilla/EphyAboutModule.h: Fix for mozilla API change.
* 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.
* Mark strings in param specs as static.Christian Persch2005-11-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-11-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-dialog.c: (ephy_embed_dialog_class_init): * embed/ephy-embed-persist.c: (ephy_embed_persist_class_init): * embed/ephy-history.c: (ephy_history_class_init): * embed/mozilla/mozilla-download.cpp: * lib/egg/egg-editable-toolbar.c: (egg_editable_toolbar_class_init): * lib/egg/egg-toolbar-editor.c: (egg_toolbar_editor_class_init): * lib/egg/eggstatusicon.c: (egg_status_icon_class_init): * lib/egg/eggtraymanager.c: (egg_tray_manager_class_init): * lib/ephy-dialog.c: (ephy_dialog_class_init): * lib/ephy-file-chooser.c: (ephy_file_chooser_class_init): * lib/ephy-node-db.c: (ephy_node_db_class_init): * lib/widgets/ephy-node-view.c: (ephy_node_view_class_init): * lib/widgets/ephy-tree-model-node.c: (ephy_tree_model_node_class_init): * lib/widgets/ephy-zoom-action.c: (ephy_zoom_action_class_init): * lib/widgets/ephy-zoom-control.c: (ephy_zoom_control_class_init): * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_class_init): * src/bookmarks/ephy-bookmark-properties.c: (ephy_bookmark_properties_class_init): * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_class_init): * src/bookmarks/ephy-new-bookmark.c: (ephy_new_bookmark_class_init): * src/bookmarks/ephy-topic-action.c: (ephy_topic_action_class_init): * src/bookmarks/ephy-topics-selector.c: (ephy_topics_selector_class_init): * src/ephy-encoding-menu.c: (ephy_encoding_menu_class_init): * src/ephy-history-window.c: (ephy_history_window_class_init): * src/ephy-location-action.c: (ephy_location_action_class_init): * src/ephy-navigation-action.c: (ephy_navigation_action_class_init): * src/ephy-notebook.c: (ephy_notebook_class_init): * src/ephy-tab.c: (ephy_tab_class_init): * src/ephy-tabs-menu.c: (ephy_tabs_menu_class_init): * src/ephy-window.c: (ephy_window_class_init): Mark strings in param specs as static.
* Scroll the view so the selected cert is visible. Fixes bug #320758.Christian Persch2005-11-061-1/+2
| | | | | | | | 2005-11-05 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSDialog.cpp: Scroll the view so the selected cert is visible. Fixes bug #320758.
* More detailed result code from find backend.Christian Persch2005-11-033-14/+17
| | | | | | | | | | | | | | | | | | | | 2005-11-03 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-find.c: * embed/ephy-embed-find.h: * embed/mozilla/EphyFind.cpp: * embed/mozilla/EphyFind.h: * embed/mozilla/mozilla-embed-find.cpp: More detailed result code from find backend. * src/ephy-find-toolbar.c: (set_status), (clear_status), (entry_changed_cb), (ephy_find_toolbar_init), (ephy_find_toolbar_find_next), (ephy_find_toolbar_find_previous), (ephy_find_toolbar_open): Add status text to the find toolbar. Reverse Next/Previous button order.
* Add titles with title capitalisation, and chanage the icon on theChristian Persch2005-11-032-8/+56
| | | | | | | | | | 2005-11-02 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyAboutModule.cpp: * embed/mozilla/EphyAboutModule.h: Add titles with title capitalisation, and chanage the icon on the netOffline error page.
* Get the window name from the popup-blocked event.Christian Persch2005-11-011-1/+13
| | | | | | | | | | | | | 2005-11-01 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * src/ephy-tab.c: (popups_manager_free_info), (popups_manager_add), (popups_manager_show), (popups_manager_hide), (ephy_tab_popup_blocked_cb): Get the window name from the popup-blocked event.
* More curly quotes.Christian Persch2005-11-013-14/+16
| | | | | | | | | | | | | | | | | | | | 2005-11-01 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/print-dialog.c: (ephy_print_verify_postscript): * lib/ephy-gui.c: (ephy_gui_check_location_writable): * src/bookmarks/ephy-bookmark-properties.c: (update_window_title): * src/bookmarks/ephy-bookmarks-editor.c: (delete_topic_dialog_construct), (add_bookmarks_source), (import_bookmarks): * src/bookmarks/ephy-bookmarks.c: (redirect_cb): * src/bookmarks/ephy-new-bookmark.c: (duplicate_dialog_construct): * src/ephy-extensions-manager.c: (dir_changed_cb): * src/ephy-tab.c: (update_net_state_message): More curly quotes.
* Store the redirect and toplevel attributes when adding pages to theChristian Persch2005-10-311-18/+29
| | | | | | | | | | | | | | | 2005-10-31 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_class_init), (ephy_history_add_page), (impl_add_page): * embed/ephy-history.h: * embed/mozilla/GlobalHistory.cpp: * lib/ephy-marshal.list: * src/epiphany.defs: Store the redirect and toplevel attributes when adding pages to the history (doesn't do anything with the info yet, though). Based on a galeon patch by tko.
* R lib/ephy-glade.c: R lib/ephy-glade.h:Christian Persch2005-10-311-6/+10
| | | | | | | | | | | | | 2005-10-31 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSDialogs.cpp: * embed/print-dialog.c: * lib/Makefile.am: * lib/ephy-dialog.c: (impl_construct): R lib/ephy-glade.c: R lib/ephy-glade.h: Remove ephy-glade since we don't need autoconnect anymore.
* Add ephy_file_get_downloads_dir() to get the actual downloads directory,Christian Persch2005-10-301-37/+8
| | | | | | | | | | | | | | | 2005-10-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_constructor): * lib/ephy-file-helpers.c: (ephy_file_get_downloads_dir): * lib/ephy-file-helpers.h: * src/prefs-dialog.c: (download_path_changed_cb), (create_download_path_button): Add ephy_file_get_downloads_dir() to get the actual downloads directory, and use it in the prefs dialogue, the filechooser, and the backend.
* 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.
* Enable favicons for https: sites on gecko 1.8.Christian Persch2005-10-171-1/+1
| | | | | | | | | 2005-10-16 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get): * embed/mozilla/EphyBrowser.cpp: Enable favicons for https: sites on gecko 1.8.
* Allow favicons for https: sites on gecko 1.9.Christian Persch2005-10-151-0/+6
| | | | | | | | | | 2005-10-15 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download), (ephy_favicon_cache_get): * embed/mozilla/EphyBrowser.cpp: Allow favicons for https: sites on gecko 1.9.
* Remove debug output.Christian Persch2005-10-151-3/+2
| | | | | | | | 2005-10-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBadCertRejector.h: Remove debug output.
* Add EPHY_EMBED_PERSIST_NO_CERTDIALOGS flag.Christian Persch2005-10-157-4/+212
| | | | | | | | | | | | | | | | | | | | | | | 2005-10-15 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-persist.h: Add EPHY_EMBED_PERSIST_NO_CERTDIALOGS flag. * embed/mozilla/Makefile.am: A embed/mozilla/EphyBadCertRejector.cpp: A embed/mozilla/EphyBadCertRejector.h: A class implementing nsIBadCertListener which always rejects. * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: For gecko 1.8, implement nsIInterfaceRequestor for EphyHeaderSniffer and MozDownload, and make GetInterface hand out a EphyBadCertRejector if the EPHY_EMBED_PERSIST_NO_CERTDIALOGS flag is set.
* Work around mozilla bugChristian Persch2005-10-151-1/+2
| | | | | | | | | 2005-10-14 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: Work around mozilla bug https://bugzilla.mozilla.org/show_bug.cgi?id=312241 .
* embed/ephy-embed.c . Add a method to copy the back/forward history fromPhilip Langdale2005-10-133-0/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-12 Philip Langdale <philipl@mail.utexas.edu> * embed/ephy-embed.c * embed/ephy-embed.h: (ephy_embed_shistory_copy). Add a method to copy the back/forward history from one embed to another. * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: (EphyBrowser::CopySHistory) Implementation of history copying. * embed/mozilla/mozilla-embed.cpp: Implement ephy_embed_shistory_copy by calling into EphyBrowser. * src/ephy-navigation-action.c: (activate_back_or_forward_menu_item_cb). If a history menu item is middle-clicked on, open a new tab, copy the history over and then go to the relevant page in the history. * src/ephy-toolbar.c: (ephy_toolbar_set_window) Attach handler for "open-link" to back/forward actions.
* Remove the "network-status" signal from the embed single, and make it aChristian Persch2005-10-133-11/+50
| | | | | | | | | | | | | | | | | | | | 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.
* A embed/mozilla/EphyRedirectChannel.cpp: AChristian Persch2005-10-136-67/+252
| | | | | | | | | | | | | | | | | | | | | | | 2005-10-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyAboutModule.cpp: * embed/mozilla/EphyAboutModule.h: A embed/mozilla/EphyRedirectChannel.cpp: A embed/mozilla/EphyRedirectChannel.h: * embed/mozilla/Makefile.am: Implement about:recover. Build the about module on all geckos, and only #ifdef the about:neterror implementation for gecko 1.8. * src/ephy-session.c: (tab_added_cb), (impl_attach_window), (ephy_session_autoresume), (write_tab), (ephy_session_save), (parse_embed), (ephy_session_load): Record the page load status and page title in the session file, and use about:recover when the page was still loading when the browser crashed. 2005-10-10 Christian Persch <chpe@cvs.gnome.org>
* Sync with gnome-2-12.Christian Persch2005-10-071-23/+30
| | | | | | | | 2005-10-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyUtils.cpp: Sync with gnome-2-12.
* Add out private plugin directory to MOZ_PLUGIN_PATH too.Christian Persch2005-10-062-2/+6
| | | | | | | | | | 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.
* Use nsIDOMWindowInternal::Close to close tabs. Delay tabs destruction toChristian Persch2005-10-033-13/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-10-02 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/ephy-embed-shell.c: (ephy_embed_shell_dispose), (ephy_embed_shell_finalize), (ephy_embed_shell_class_init): * embed/ephy-embed.c: (ephy_embed_base_init), (ephy_embed_show_page_certificate), (ephy_embed_close): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-notebook.c: (ephy_notebook_class_init), (close_button_clicked_cb): * src/ephy-notebook.h: * src/ephy-python.c: (ephy_python_init), (ephy_python_shutdown), (ephy_python_schedule_gc): * src/ephy-shell.c: (ephy_shell_class_init), (gnome_session_init), (ephy_shell_dispose), (ephy_shell_finalize): * src/ephy-tab.c: (ephy_tab_init): * src/ephy-window.c: (construct_confirm_close_dialog), (confirm_close_with_modified_forms), (embed_modal_alert_cb), (idle_tab_remove_cb), (schedule_tab_close), (embed_close_request_cb), (embed_destroy_browser_cb), (tab_added_cb), (tab_removed_cb), (tab_close_request_cb), (setup_notebook), (remove_true), (ephy_window_dispose), (cancel_handler), (ephy_window_init), (ephy_window_finalize): * src/window-commands.c: (event_with_shift), (window_cmd_view_reload), (window_cmd_file_close_window): Use nsIDOMWindowInternal::Close to close tabs. Delay tabs destruction to an idle handler, to avoid crashes when tabs are closed from signal handlers (blur, mousedown, keydown etc). Fixes bug #172878, bug #172879, bug #172882, bug #303254, bug #313425.
* Return error on failure.Christian Persch2005-09-301-6/+7
| | | | | | | | 2005-09-26 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyAboutModule.cpp: Return error on failure.
* Hide the filters combo if there's only the "All" filter.Christian Persch2005-09-281-0/+15
| | | | | | | | | 2005-09-28 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * embed/mozilla/FilePicker.cpp: Hide the filters combo if there's only the "All" filter.
* Unify background image and image code (contex menu, conext event). Fix bugJean-François Rameau2005-09-271-16/+15
| | | | | | | | | | | | | | 2005-09-26 Jean-François Rameau <jframeau@cvs.gnome.org> * src/ephy-lockdown.c: (update_window): * src/ephy-window.c: (update_popups_tooltips), (show_embed_popup): * src/popup-commands.c: * src/popup-commands.h: * embed/mozilla/EventContext.cpp: (GetEventContext): * data/ui/epiphany-ui.xml: Unify background image and image code (contex menu, conext event). Fix bug 154887.
* Back out previous change, it doesn't work right when there are *two*Christian Persch2005-09-262-10/+1
| | | | | | | | | | | 2005-09-26 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/Makefile.am: * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: (DoDialog): Back out previous change, it doesn't work right when there are *two* dialogues shown: the 1st one can only be dismissed after the 2nd one has been dismissed.
* Push a new event queue while showing the dialogue with gtk_dialog_run.Christian Persch2005-09-264-0/+190
| | | | | | | | | | | | | | | 2005-09-26 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/Makefile.am: * embed/mozilla/AutoEventQueue.cpp: * embed/mozilla/AutoEventQueue.h: * embed/mozilla/GtkNSSSecurityWarningDialogs.cpp: (DoDialog): Push a new event queue while showing the dialogue with gtk_dialog_run. This fixes the problem (caused by the braindead API of showing this dialogue synchronously) that networking is blocked in all other windows while the dialogue is shown.
* Handle contentEncodingError error.Jean-François Rameau2005-09-251-0/+5
| | | | | | | | 2005-09-24 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/mozilla/EphyAboutModule.cpp: (GetErrorMessage): Handle contentEncodingError error.
* 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.
* New function to check the filename/directory for writability, derived fromChristian Persch2005-09-223-3/+9
| | | | | | | | | | | | | | | | | | 2005-09-21 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-gui.c: (ephy_gui_check_location_writable): * lib/ephy-gui.h: New function to check the filename/directory for writability, derived from the now removed ephy_gui_confirm_overwrite_file. * src/bookmarks/ephy-bookmarks-editor.c: * embed/mozilla/FilePicker.cpp: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: Use the filechooser's stock confirm-overwrite checking, but we still need our own writability check.
* Add EPHY_EMBED_STATE_RESTORING and conversion fromChristian Persch2005-09-201-0/+3
| | | | | | | | | | 2005-09-19 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: Add EPHY_EMBED_STATE_RESTORING and conversion from GTK_MOZ_EMBED_FLAG_RESTORING.