aboutsummaryrefslogtreecommitdiffstats
path: root/embed
Commit message (Collapse)AuthorAgeFilesLines
* Be a bit smarter about double extensions.Xan Lopez2004-07-011-2/+55
| | | | | | * embed/mozilla/MozDownload.cpp: Be a bit smarter about double extensions.
* EphySingle needs to implement nsISupportsWeakReference.Christian Persch2004-06-273-12/+22
| | | | | | | | | | | | 2004-06-27 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphySingle.h: * embed/mozilla/mozilla-embed-single.cpp: EphySingle needs to implement nsISupportsWeakReference. 2004-06-26 Christian Persch <chpe@cvs.gnome.org>
* Implement File->Work Off-Line command and backend. No DBUS/HAL/whateverChristian Persch2004-06-274-33/+117
| | | | | | | | | | | | | | | | | | | | 2004-06-26 Christian Persch <chpe@cvs.gnome.org> * data/ui/epiphany-ui.xml: * embed/ephy-embed-single.c: (ephy_embed_single_iface_init), (ephy_embed_single_set_offline_mode), (ephy_embed_single_get_offline_mode): * embed/ephy-embed-single.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/mozilla-embed-single.cpp: * src/ephy-window.c: (network_status_changed), (ephy_window_init), (ephy_window_finalize): * src/window-commands.c: (window_cmd_file_save_as), (window_cmd_file_work_offline): * src/window-commands.h: Implement File->Work Off-Line command and backend. No DBUS/HAL/whatever integration yet.
* Move PrintInfo to print-dialog since it's no more use by embed api.Marco Pesenti Gritti2004-06-263-37/+37
| | | | | | | | | | | 2004-06-25 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.h: * embed/mozilla/MozillaPrivate.h: * embed/print-dialog.h: Move PrintInfo to print-dialog since it's no more use by embed api.
* Fix typo in the printer nameMarco Pesenti Gritti2004-06-251-1/+1
| | | | | | | | 2004-06-25 Marco Pesenti Gritti <marco@gnome.org> * embed/MozillaPrivate.cpp: Fix typo in the printer name
* Remove preview flagMarco Pesenti Gritti2004-06-256-7/+7
| | | | | | | | 2004-06-25 Marco Pesenti Gritti <marco@gnome.org> * embed/MozillaPrivate.cpp: Remove preview flag
* Simplify print code. Now there is only one case to deal with, the mozillaMarco Pesenti Gritti2004-06-258-107/+52
| | | | | | | | | | | | | | | | | | | | | | | | 2004-06-25 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.c: (ephy_embed_print), (ephy_embed_set_print_preview_mode): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/print-dialog.c: (ephy_print_dialog_response_cb), (ephy_print_dialog_new): * embed/print-dialog.h: * src/ephy-window.c: (ephy_window_delete_event_cb), (ephy_window_finalize), (update_embed_dialogs), (ephy_window_find): * src/ppview-toolbar.c: (toolbar_cmd_ppv_close): * src/window-commands.c: (window_cmd_file_print_preview), (window_cmd_file_print): Simplify print code. Now there is only one case to deal with, the mozilla prompt dialog. This should help with xprint.
* Removed unused array, and added a few missing statics.Christian Persch2004-06-241-10/+3
| | | | | | | | 2004-06-24 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Removed unused array, and added a few missing statics.
* Make the permission type a string instead of an enum, that way we canChristian Persch2004-06-244-58/+44
| | | | | | | | | | | | | | | | 2004-06-23 Christian Persch <chpe@cvs.gnome.org> * doc/reference/tmpl/ephy-permission-manager.sgml: * embed/ephy-permission-manager.c: (ephy_permission_info_new), (ephy_permission_info_copy), (ephy_permission_manager_add), (ephy_permission_manager_remove), (ephy_permission_manager_test), (ephy_permission_manager_list): * embed/ephy-permission-manager.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/mozilla-embed-single.cpp: Make the permission type a string instead of an enum, that way we can support more than just the hardcoded 3 types.
* Move check for javascript after the http[s] checks.Christian Persch2004-06-231-8/+5
| | | | | | | | 2004-06-23 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GlobalHistory.cpp: Move check for javascript after the http[s] checks.
* Factor out the helper to select a treeview row by column and use it alsoMarco Pesenti Gritti2004-06-221-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | 2004-06-21 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-gui.c: (ephy_gui_help), (ephy_gui_select_row_by_key): * lib/widgets/ephy-node-view.c: (ephy_node_view_key_press_cb): * src/bookmarks/ephy-topics-selector.c: (topic_key_pressed): Factor out the helper to select a treeview row by column and use it also in the topic selector. * lib/ephy-gui.h: * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-new-bookmark.c: * src/ephy-history-window.c: * src/pdm-dialog.c: * src/ppview-toolbar.c: * src/prefs-dialog.c: * src/window-commands.c: * embed/downloader-view.c: Remove braindead gtk.h inclusion and deal with fallout headers.
* Implement popup-blocking signals. Part of bug #111930.Adam Hooper2004-06-216-8/+108
|
* Remove implementation of ::HidePage again, it's really not used anyway inChristian Persch2004-06-201-14/+1
| | | | | | | | | | 2004-06-20 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GlobalHistory.cpp: Remove implementation of ::HidePage again, it's really not used anyway in mozilla (history load listener is the only place, and it's not build, not even updated for API changes).
* Implement GlobalHistory2::HidePage, fixes bug #142143.Christian Persch2004-06-201-3/+21
| | | | | | | | 2004-06-20 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GlobalHistory.cpp: Implement GlobalHistory2::HidePage, fixes bug #142143.
* Escape strings before using the with markup in labels. Patch by CrispinChristian Persch2004-06-182-10/+10
| | | | | | | | | | 2004-06-17 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: Escape strings before using the with markup in labels. Patch by Crispin Flowerday.
* Work around mozilla bug #246392 which goes back to the original urls whenChristian Persch2004-06-153-1/+66
| | | | | | | | | | | 2004-06-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Work around mozilla bug #246392 which goes back to the original urls when reloading a frameset. Fixes bug #115800.
* Get rid of EmbedReloadFlags, and use a gboolean force parameter inChristian Persch2004-06-143-15/+9
| | | | | | | | | | | | | | 2004-06-14 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_reload): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/prefs-dialog.c: * src/window-commands.c: (window_cmd_view_reload): Get rid of EmbedReloadFlags, and use a gboolean force parameter in ephy_embed_reload() instead, since we only had two states anyway - EMBED_RELOAD_NORMAL, and EMBED_RELOAD_FORCE.
* Add a way to open new windows passing features and uri. Something like jsMarco Pesenti Gritti2004-06-137-5/+54
| | | | | | | | | | | | | | | | 2004-06-12 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_open_window): * embed/ephy-embed-single.h: * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/mozilla-embed-single.cpp: Add a way to open new windows passing features and uri. Something like js window.open. It's necessary for popup blocker.
* Merging bookmarksbar-separation branch.Christian Persch2004-06-111-0/+1
| | | | | | 2004-06-10 Christian Persch <chpe@cvs.gnome.org> Merging bookmarksbar-separation branch.
* Fix CSS background detection, based on a galeon patch by CrispinChristian Persch2004-06-091-53/+66
| | | | | | | | | 2004-06-08 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Fix CSS background detection, based on a galeon patch by Crispin Flowerday. Fixed bug #143602.
* Adjust comment about mozilla bug #232057, which was WONTFIXed.Christian Persch2004-06-091-4/+3
| | | | | | | | | 2004-06-08 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Adjust comment about mozilla bug #232057, which was WONTFIXed.
* Move external protocols prefs defaults in the javascript file and addMarco Pesenti Gritti2004-06-081-12/+3
| | | | | | | | | | 2004-06-08 Marco Pesenti Gritti <marco@gnome.org> * data/default-prefs.js: * embed/mozilla/mozilla-embed-single.cpp: Move external protocols prefs defaults in the javascript file and add webcal (Bug #143899)
* Fix setting default filename in the !modeSave case.Christian Persch2004-06-072-31/+26
| | | | | | | | 2004-06-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/FilePicker.cpp: Fix setting default filename in the !modeSave case.
* Don't allow ::SetDefaultString unless we're in modeSave.Christian Persch2004-06-071-1/+4
| | | | | | | | 2004-06-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/FilePicker.cpp: Don't allow ::SetDefaultString unless we're in modeSave.
* Use ephy-file-chooser convenience constructor instead of duplicating codeChristian Persch2004-06-071-49/+45
| | | | | | | | | 2004-06-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/FilePicker: Use ephy-file-chooser convenience constructor instead of duplicating code here.
* Simplified mozilla version checks with new MOZILLA_IS_VERSION4 macro.Christian Persch2004-06-072-3/+7
| | | | | | | | | 2004-06-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/mozilla-version.h: Simplified mozilla version checks with new MOZILLA_IS_VERSION4 macro.
* merge mozilla-embed-strings branchMarco Pesenti Gritti2004-06-0431-931/+1023
|
* Don't return a value in void function, part of bug #141319.Christian Persch2004-05-291-1/+1
| | | | | | | | 2004-05-29 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_print_preview_navigate): Don't return a value in void function, part of bug #141319.
* Fix for mozilla API change (ported from galeon).Christian Persch2004-05-291-1/+15
| | | | | | | | 2004-05-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSKeyPairDialogs.cpp: Fix for mozilla API change (ported from galeon).
* Include "config.h".Christian Persch2004-05-291-0/+4
| | | | | | | | 2004-05-28 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.h: Include "config.h".
* Always include "config.h" !Christian Persch2004-05-291-0/+4
| | | | | | | | 2004-05-28 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.h: Always include "config.h" !
* Fix snapshot check for mozilla >= 1.7rc2 .Christian Persch2004-05-291-1/+1
| | | | | | | | 2004-05-28 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.h: Fix snapshot check for mozilla >= 1.7rc2 .
* Remove unused field in structXan Lopez2004-05-253-1/+4
| | | | | | | | | | | * embed/downloader-view.c: (update_status_icon): Remove unused field in struct * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: Fix build with 1.8a2
* Fix some headers fallouts with mozilla headMarco Pesenti Gritti2004-05-233-1/+9
| | | | | | | | | | 2004-05-23 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/MozillaPrivate.cpp: Fix some headers fallouts with mozilla head
* Fix stupid bug.Christian Persch2004-05-211-2/+2
| | | | | | | | | 2004-05-20 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_set_property), (ephy_history_get_property): Fix stupid bug.
* Fix typoChristian Persch2004-05-201-1/+0
|
* Fix a MOZILLA_SNAPSHOT check for 1.7 branch.Christian Persch2004-05-191-1/+1
| | | | | | | | 2004-05-19 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: Fix a MOZILLA_SNAPSHOT check for 1.7 branch.
* Fix capitalisation.Christian Persch2004-05-191-1/+1
| | | | | | | | | | 2004-05-19 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (ephy_print_dialog_browse_button_cb): * src/bookmarks/ephy-bookmarks-editor.c: (import_dialog_response_cb): Fix capitalisation.
* Fix observer topic check for cookie "cleared" notification.Christian Persch2004-05-171-1/+1
| | | | | | | | 2004-05-17 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphySingle.cpp: Fix observer topic check for cookie "cleared" notification.
* Fix refcount leak.Christian Persch2004-05-161-0/+3
| | | | | | | | 2004-05-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-persist.cpp: Fix refcount leak.
* Set mEventReceiver to nsnull in ::Destroy(), fixes a crasher.Christian Persch2004-05-161-6/+8
| | | | | | | | 2004-05-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Set mEventReceiver to nsnull in ::Destroy(), fixes a crasher.
* *** empty log message ***Christian Persch2004-05-151-7/+0
|
* Yet another mozilla API change.Christian Persch2004-05-151-13/+61
| | | | | | | | 2004-05-14 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyContentPolicy.cpp: Yet another mozilla API change.
* One more NS_ENSURE_TRUE.Christian Persch2004-05-111-1/+1
| | | | | | | | 2004-05-11 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: One more NS_ENSURE_TRUE.
* Changed back to NS_ENSURE_TRUE as per discussion in bug #142184.Christian Persch2004-05-111-23/+23
| | | | | | | | 2004-05-11 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Changed back to NS_ENSURE_TRUE as per discussion in bug #142184.
* Remove unused variable.Christian Persch2004-05-111-1/+0
| | | | | | | | 2004-05-11 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-notifiers.cpp: Remove unused variable.
* Destroy the EphyBrowser in destroy handler, but delete it only onChristian Persch2004-05-112-45/+78
| | | | | | | | | | | 2004-05-11 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/mozilla-embed.cpp: Destroy the EphyBrowser in destroy handler, but delete it only on finalize. Make public EphyBrowser methods safe for calling after Destroy. Part of bug #142184.
* Add convenience functions for creating a filter with a bunch of mime typesChristian Persch2004-05-094-71/+39
| | | | | | | | | | | | | | | | | | | | | | 2004-05-08 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-chooser.c: (ephy_file_chooser_add_pattern_filter), (ephy_file_chooser_add_mime_filter), (ephy_file_chooser_new): * lib/ephy-file-chooser.h: Add convenience functions for creating a filter with a bunch of mime types or patterns and add it to a file chooser. Those should really be in gtk+; see bug #142142. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/FilePicker.cpp: * embed/print-dialog.c: (ephy_print_dialog_browse_button_cb): * src/bookmarks/ephy-bookmarks-editor.c: (import_dialog_response_cb): * src/prefs-dialog.c: (prefs_download_path_button_clicked_cb): * src/window-commands.c: (window_cmd_file_open): Add some filters to the file chooser dialogues.
* Forward nsIAuthPrompt interface to the single sign-on promptChristian Persch2004-05-082-35/+11
| | | | | | | | | 2004-05-08 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: Forward nsIAuthPrompt interface to the single sign-on prompt
* Adjust MOZILLA_SNAPSHOT checks for changed snapshot levels.Christian Persch2004-05-073-27/+27
| | | | | | | | | | 2004-05-07 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/FilePicker.cpp: Adjust MOZILLA_SNAPSHOT checks for changed snapshot levels.
* Check for nsIPassword.hChristian Persch2004-05-061-5/+10
| | | | | | | | | | | | 2004-05-06 Christian Persch <chpe@cvs.gnome.org> * configure.in: Check for nsIPassword.h * embed/mozilla/mozilla-embed-single.cpp: Allow compilation without nsIPassword (mozilla wallet extension).
* Adapt to mozilla API change.Christian Persch2004-05-061-0/+5
| | | | | | | | 2004-05-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Adapt to mozilla API change.
* Whenever we have one, pass the cache key to the persist object. That wayChristian Persch2004-05-041-3/+8
| | | | | | | | | 2004-05-03 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-persist.cpp: Whenever we have one, pass the cache key to the persist object. That way we don't re-fetch the page on save. Fixes bug #141652.
* Fix a mem leak; thanks to Crispin for spotting it.Christian Persch2004-05-031-1/+1
| | | | | | | | 2004-05-03 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-persist.cpp: Fix a mem leak; thanks to Crispin for spotting it.
* Remove unused variableChristian Persch2004-05-031-3/+0
|
* Clean up encoding handling.Christian Persch2004-05-028-109/+88
| | | | | | | | | | | | | | | | | | | 2004-05-01 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_get_encoding), (ephy_embed_has_automatic_encoding): * embed/ephy-embed.h: * embed/ephy-encodings.c: * embed/ephy-encodings.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-encoding-dialog.c: (sync_embed_cb), (activate_choice): * src/ephy-encoding-menu.c: (update_encoding_menu_cb), (encoding_activate_cb): Clean up encoding handling.
* fix build bustageMarco Pesenti Gritti2004-04-303-0/+18
|
* fix build bustageMarco Pesenti Gritti2004-04-301-1/+5
|
* *** empty log message ***Marco Pesenti Gritti2004-04-301-4/+4
|
* Complete headers definesMarco Pesenti Gritti2004-04-305-38/+65
| | | | | | | | | | | | 2004-04-29 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/MozillaPrivate.h: * embed/mozilla/mozilla-embed.cpp: Complete headers defines
* More defines work, still lack EventContext and EmbedPrivate. Use mozillaMarco Pesenti Gritti2004-04-2926-172/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-29 Marco Pesenti Gritti <marco@gnome.org> * configure.in: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyAboutRedirector.cpp: * embed/mozilla/EphyAboutRedirector.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyContentPolicy.h: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GlobalHistory.h: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.h: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSDialogs.h: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.h: * embed/mozilla/Makefile.am: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: More defines work, still lack EventContext and EmbedPrivate. Use mozilla like warning flags instead of those gnome macros. Remove several unused variables.
* *** empty log message ***Marco Pesenti Gritti2004-04-291-0/+2
|
* Add defines for private mozilla api usage. It will make easier to trackMarco Pesenti Gritti2004-04-292-49/+41
| | | | | | | | | | | | | | 2004-04-29 Marco Pesenti Gritti <marco@gnome.org> * configure.in: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/Makefile.am: Add defines for private mozilla api usage. It will make easier to track what we need to port to embed string and what we need to be using only public api (on the long time).
* Ensure we have a DOM window before trying to get his url. The check wasMarco Pesenti Gritti2004-04-292-2/+2
| | | | | | | | | | | 2004-04-28 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/mozilla-embed.cpp: Ensure we have a DOM window before trying to get his url. The check was not working anymore because of initialization changes.
* Nice mess of defines to support 1.8a. Damn.Marco Pesenti Gritti2004-04-279-22/+222
| | | | | | | | | | | | | | | | | 2004-04-27 Marco Pesenti Gritti <marco@gnome.org> * configure.in: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/FilePicker.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-persist.cpp: Nice mess of defines to support 1.8a. Damn.
* Fix encoding of saved content; fixes bug #141050.Marco Pesenti Gritti2004-04-271-34/+23
| | | | | | | | 2004-04-26 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/MozDownload.cpp: Fix encoding of saved content; fixes bug #141050.
* Fix chrome for new windows opened from _blank target. Fixes bug #139512.Marco Pesenti Gritti2004-04-183-7/+9
| | | | | | | | | | | | | 2004-04-18 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.c: (ephy_embed_chrome_get_type): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-window.c: (ephy_window_set_chrome), (ephy_window_set_property), (ephy_window_class_init): Fix chrome for new windows opened from _blank target. Fixes bug #139512.
* s/PERSIST_NO_CONVERSION/PERSIST_FLAGS_NO_CONVERSION/Adam Hooper2004-04-181-1/+1
|
* Do not uncompress when the type is not html.Marco Pesenti Gritti2004-04-181-0/+5
| | | | | | | | 2004-04-17 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/MozDownload.cpp: Do not uncompress when the type is not html.
* Fix saving of linked content. Don't create the directory; mozilla will doChristian Persch2004-04-171-11/+8
| | | | | | | | | 2004-04-16 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: (InitiateMozillaDownload): Fix saving of linked content. Don't create the directory; mozilla will do it for us if necessary. Make the "Files" suffix translatable.
* Don't quit the filechooser when selecting "No" from the confirm- overwriteChristian Persch2004-04-102-26/+25
| | | | | | | | | | | | | | | 2004-04-09 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/FilePicker.cpp: Don't quit the filechooser when selecting "No" from the confirm- overwrite dialoge. Fixes bug #139400. * lib/ephy-gui.c: (ephy_gui_confirm_overwrite_file): Convert the filename to UTF-8 before showing it in the confirm dialogue.
* Change initial refcound of EphyNode to 1, not 0Adam Hooper2004-04-103-7/+0
|
* Make warning message selectable.Piers Cornwell2004-04-091-0/+1
| | | | | | | | 2004-04-08 Piers Cornwell <piers@gnome.org> * embed/mozilla/ContentHandler.cpp: Make warning message selectable.
* Eliminate ExternalProtocolHandlers in favor of setting prefs to makeChristian Biesinger2004-04-077-500/+17
| | | | | | | | | | | | | * embed/mozilla/ExternalProtocolHandlers.cpp: * embed/mozilla/ExternalProtocolHandlers.h: * embed/mozilla/FilePicker.cpp: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/MozRegisterComponents.h: * embed/mozilla/mozilla-embed-single.cpp: Eliminate ExternalProtocolHandlers in favor of setting prefs to make Mozilla not handle the protocols internally.
* Fix bookmarks toolbar visibility in fullscreen and print preview mode, asChristian Persch2004-04-013-7/+10
| | | | | | | | | | | | | | | 2004-04-01 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_chrome_get_type): * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-window.c: (get_chromes_visibility), (sync_chromes_visibility), (update_chromes_actions), (get_default_chrome), (ephy_window_init), (sync_prefs_with_chrome), (ephy_window_view_bookmarksbar_cb): Fix bookmarks toolbar visibility in fullscreen and print preview mode, as well as for javascript popups. Fixes bug #138520.
* Don't allow a font size less than 1.Piers Cornwell2004-03-311-1/+1
| | | | | | | | | 2004-03-30 Piers Cornwell <piers@gnome.org> * data/glade/prefs-dialog.glade: * embed/mozilla/mozilla-notifiers.cpp: (mozilla_font_size_notifier): Don't allow a font size less than 1.
* Documented EphyEmbedFactoryAdam Hooper2004-03-301-8/+2
|
* Get rid of #if GTK_CHECK_VERSION() stuff and remove optionmenu code.Christian Persch2004-03-301-67/+1
| | | | | | | | 2004-03-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: Get rid of #if GTK_CHECK_VERSION() stuff and remove optionmenu code.
* Removed the nautilus view.Christian Persch2004-03-303-779/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-29 Christian Persch <chpe@cvs.gnome.org> * configure.in: * data/.cvsignore: * data/GNOME_Epiphany_NautilusView.server.in: * data/Makefile.am: * data/ui/.cvsignore: * data/ui/Makefile.am: * data/ui/nautilus-epiphany-view.xml: * doc/reference/Makefile.am: * embed/Makefile.am: * embed/ephy-embed-popup-control.c: * embed/ephy-embed-popup-control.h: * lib/Makefile.am: * lib/ephy-bonobo-extensions.c: * lib/ephy-bonobo-extensions.h: * po/POTFILES.in: * src/Makefile.am: * src/ephy-nautilus-view.c: * src/ephy-nautilus-view.h: * src/ephy-shell.c: (ephy_automation_factory_cb): Removed the nautilus view. 2004-03-29 Christian Persch <chpe@cvs.gnome.org>
* Documented EphyCommandManagerAdam Hooper2004-03-302-3/+28
|
* Fixes #138263.Federico Mena Quintero2004-03-304-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-29 Federico Mena Quintero <federico@ximian.com> Fixes #138263. * lib/ephy-file-chooser.h: Remove EPHY_RESPONSE_OPEN and EPHY_RESPONSE_SAVE; we'll use GTK_RESPONSE_ACCEPT instead. * lib/ephy-file-chooser.c (ephy_file_chooser_new): Use GTK_RESPONSE_ACCEPT rather than EPHY_RESPONSE_*. * embed/print-dialog.c (print_filechooser_response_cb): Likewise. * src/bookmarks/ephy-bookmarks-editor.c (import_from_file_response_cb): Likewise. * src/prefs-dialog.c (download_path_response_cb): Likewise. * src/window-commands.c (open_response_cb): Likewise. * embed/mozilla/ContentHandler.cpp (PromptForSaveToFile): Likewise. * embed/mozilla/EphyHeaderSniffer.cpp (filechooser_response_cb): Likewise. * embed/mozilla/FilePicker.cpp (Init): Likewise. (Show): Likewise.
* Don't assume every anchor has a href attribute. Fixes bug #138200.Christian Persch2004-03-291-14/+5
| | | | | | | | 2004-03-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Don't assume every anchor has a href attribute. Fixes bug #138200.
* Tiny cleanup.Xan Lopez2004-03-281-4/+1
| | | | | | | | 2004-03-28 Xan Lopez <xan@gnome.org> * embed/mozilla/MozRegisterComponents.cpp: Tiny cleanup.
* EphyEmbedPersist documentationAdam Hooper2004-03-282-7/+196
|
* Register our stock icons.Christian Persch2004-03-271-1/+1
| | | | | | | | | | | | 2004-03-27 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-stock-icons.c: (ephy_stock_icons_init): Register our stock icons. * embed/mozilla/ContentHandler.cpp: Use stock icon for "Download".
* Documented EphyEmbedSingleAdam Hooper2004-03-273-34/+47
|
* Add base dir to mozilla includes since the embed SDK dir structure hasMarco Pesenti Gritti2004-03-261-0/+1
| | | | | | | | | 2004-03-26 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/Makefile.am: Add base dir to mozilla includes since the embed SDK dir structure has been flattened in cvs
* Use stock icon for open. Fixes bug #135765.Christian Persch2004-03-261-1/+2
| | | | | | | | 2004-03-25 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: (MIMEConfirmAction): Use stock icon for open. Fixes bug #135765.
* Fix arg type of dom_* signals to match the closure.Christian Persch2004-03-261-2/+2
| | | | | | | | 2004-03-25 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_base_init): Fix arg type of dom_* signals to match the closure.
* Fixed teeny typoAdam Hooper2004-03-261-1/+1
|
* Fixed gtk-doc commentsAdam Hooper2004-03-261-3/+6
|
* Documented EphyEmbedAdam Hooper2004-03-265-66/+375
|
* API documentationAdam Hooper2004-03-242-25/+30
|
* *** empty log message ***Christian Persch2004-03-211-1/+1
|
* Don't override nsWebBrowserContentPolicy contract ID, just register ourChristian Persch2004-03-212-5/+39
| | | | | | | | | | 2004-03-21 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyContentPolicy.h: * embed/mozilla/MozRegisterComponents.cpp: Don't override nsWebBrowserContentPolicy contract ID, just register our own content policy with the category manager.
* Cleanups chromes code and register a type for the enum.Marco Pesenti Gritti2004-03-194-36/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-16 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.c: (ephy_embed_chrome_get_type): * embed/ephy-embed.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed.cpp: Cleanups chromes code and register a type for the enum. * src/ephy-nautilus-view.c: (gnv_embed_new_window_cb): Adapt to the api changes * src/ephy-tab.c: (ephy_tab_new_window_cb): Move js chrome lockdown pref check here. * src/ephy-window.c: (get_chromes_visibility), (sync_chromes_visibility), (ephy_window_fullscreen), (ephy_window_unfullscreen), (update_chromes_actions), (update_actions_sensitivity), (show_embed_popup), (get_default_chrome), (ephy_window_set_property), (ephy_window_class_init), (actions_notifier), (navigation_notifier), (ephy_window_init), (ephy_window_finalize), (ephy_window_new_with_chrome), (ephy_window_set_print_preview), (ephy_window_show), (sync_prefs_with_chrome), (sync_chrome_with_view_toggle), (ephy_window_view_statusbar_cb), (ephy_window_view_toolbar_cb), (ephy_window_view_bookmarksbar_cb): Rework chrome handling so that it's not applied to all windows. Changes are now saved on the fly like for window size. * src/ephy-window.h: Use a construct property instead of a _set for chrome. * src/window-commands.c: * src/window-commands.h: Move chromes actions to EphyWindow so we dont need to expose chrome handling.
* Make secure description better (Bug #136443).Piers Cornwell2004-03-191-0/+1
| | | | | | | | | | | | | | | | 2004-03-18 Piers Cornwell <piers@gnome.org> * src/pdm-dialog.c: (show_cookies_properties): Make secure description better (Bug #136443). * src/window-commands.c: (window_cmd_help_about): Add my email address. * embed/mozilla/GtkNSSDialogs.cpp: Include nsReadableUtils.h.
* merging pre-gnome-2-8 branchMarco Pesenti Gritti2004-03-1744-491/+158
|
* *** empty log message ***Release120Marco Pesenti Gritti2004-03-151-0/+2
|
* Also pop up the context menu with the menu key.Christian Persch2004-03-071-1/+10
| | | | | | | | 2004-03-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: Also pop up the context menu with the menu key.
* Increase MOZILLA_SNAPSHOT for 1.7b, and depend on gtk+ >= 2.3.5.Christian Persch2004-03-061-0/+8
| | | | | | | | | | | | 2004-03-05 Christian Persch <chpe@cvs.gnome.org> * configure.in: Increase MOZILLA_SNAPSHOT for 1.7b, and depend on gtk+ >= 2.3.5. * embed/mozilla/GlobalHistory.cpp: Adapt to changed mozilla API.
* Don't return an error when a DOM document isn't a HTML document, it's okChristian Persch2004-03-051-1/+2
| | | | | | | | | 2004-03-05 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Don't return an error when a DOM document isn't a HTML document, it's ok not to be one (happens for XUL docs, like about:config).
* Replace filename validity check, it was making the filename invalidChristian Persch2004-03-051-10/+7
| | | | | | | | | 2004-03-05 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyHeaderSniffer.cpp: Replace filename validity check, it was making the filename invalid UTF-16. Simply convert to UTF-8 beforehand and check for "/" chars.
* Change wait interval between updates to 0.2 s.Christian Persch2004-03-041-1/+1
| | | | | | | | 2004-03-03 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: Change wait interval between updates to 0.2 s.
* Unset the GValue after we're done using what it contained.Christian Persch2004-03-043-3/+16
| | | | | | | | | | | | | | | | | | 2004-03-03 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (download_dialog_pause_cb), (download_dialog_abort_cb): Unset the GValue after we're done using what it contained. * embed/mozilla/MozDownload.cpp: Weak ref mEphyDownload, and assert that is has been finalised by the time we get to ~MozDownload. * embed/mozilla/mozilla-download.cpp: Debug output in _init and _finalize.
* Keep a ref for downloads in the view.Marco Pesenti Gritti2004-03-016-23/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | 2004-03-01 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: (downloader_view_add_download), (downloader_view_remove_download): Keep a ref for downloads in the view. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Ensure the download directory exist. * embed/mozilla/MozDownload.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-download.h: Use a property to store MozDownload in the wrapper. The wrapper now keep a reference on the c++ implementation, that way references will be correctly propagated (unreffing the GObject will unref the c++ object). (Bug 135755)
* Correct the label of the action button (Open)Marco Pesenti Gritti2004-03-011-3/+6
| | | | | | | | 2004-02-29 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/ContentHandler.cpp: Correct the label of the action button (Open)
* Iterate backwards over the children when removing a host.Christian Persch2004-03-011-1/+1
| | | | | | | | 2004-02-29 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (remove_obsolete_pages): Iterate backwards over the children when removing a host.
* Remove cancelled downloads from the downloads hash; and remove partiallyChristian Persch2004-03-012-58/+86
| | | | | | | | | | | | | | 2004-02-29 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_class_init), (kill_download), (ephy_favicon_cache_finalize), (favicon_name_build), (favicon_download_completed_cb), (favicon_download_cancelled_cb), (ephy_favicon_cache_download), (ephy_favicon_cache_get): * embed/ephy-favicon-cache.h: Remove cancelled downloads from the downloads hash; and remove partially downloaded favicons.
* Add debug output in ctors and dtors.Christian Persch2004-02-296-8/+16
| | | | | | | | | | | | | 2004-02-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/PrintingPromptService.cpp: Add debug output in ctors and dtors.
* Add "cancelled" signal to EphyEmbedPersist.Christian Persch2004-02-293-6/+16
| | | | | | | | | | | | | 2004-02-29 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-persist.c: (ephy_embed_persist_class_init): * embed/ephy-embed-persist.h: Add "cancelled" signal to EphyEmbedPersist. * embed/mozilla/mozilla-embed-persist.cpp: Emit "cancelled" signal when the download is cancelled.
* Add debug output.Christian Persch2004-02-291-0/+10
| | | | | | | | | 2004-02-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-event.cpp: (mozilla_embed_event_init), (mozilla_embed_event_finalize), (mozilla_embed_event_set_property): Add debug output.
* Decode RFC 2231 and RFC 2047 encoded filenames in content-dispositionChristian Persch2004-02-291-0/+40
| | | | | | | | | | 2004-02-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyHeaderSniffer.cpp: (PerformSave): Decode RFC 2231 and RFC 2047 encoded filenames in content-disposition headers. Ported from mozilla Camino, see http://bugzilla.mozilla.org/show_bug.cgi?id=233798 .
* Add debug output.Christian Persch2004-02-291-1/+5
| | | | | | | | 2004-02-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: (MozDownload), (~MozDownload): Add debug output.
* Fix max size logic, thanks to chpe.Marco Pesenti Gritti2004-02-291-2/+2
| | | | | | | | 2004-02-29 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/MozDownload.cpp: Fix max size logic, thanks to chpe.
* Use getInterface to get the dom window from the docshell, notMarco Pesenti Gritti2004-02-282-21/+12
| | | | | | | | | | | | | | | | 2004-02-28 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/ContentHandler.cpp: Use getInterface to get the dom window from the docshell, not queryInterface. (Bug #121160) * embed/mozilla/MozillaPrivate.cpp: Do not fallback to the active window if the parent cannot be found. It just hides problems and cause more annoying behaviors (like dialogs parented on the wrong window).
* Remove an useless check.Marco Pesenti Gritti2004-02-282-12/+1
| | | | | | | | | | | | | 2004-02-27 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Remove an useless check. * lib/ephy-state.c: (ephy_state_window_set_size): Make sure window is never bigger than screen.
* Fix for gtk+ filechooser API change.Christian Persch2004-02-271-7/+14
| | | | | | | | | | | 2004-02-27 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/FilePicker.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_init), (ephy_file_chooser_new): * src/prefs-dialog.c: (prefs_download_path_button_clicked_cb): Fix for gtk+ filechooser API change.
* Make max size property use long / bytes.Marco Pesenti Gritti2004-02-257-18/+31
| | | | | | | | | | | | | | | | | | | | | | | 2004-02-25 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed-persist.c: (ephy_embed_persist_set_max_size), (ephy_embed_persist_set_property), (ephy_embed_persist_get_property), (ephy_embed_persist_init), (ephy_embed_persist_class_init): * embed/ephy-embed-persist.h: Make max size property use long / bytes. * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): Correct to use bytes. * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-embed-persist.cpp: Actually respect the max_size property.
* Unescape filenames whenever possible.Xan Lopez2004-02-251-2/+13
| | | | Unescape filenames whenever possible.
* Add $ markersChristian Persch2004-02-221-0/+1
|
* Actually remove nsUnicharUtils.*Marco Pesenti Gritti2004-02-212-18/+11
| | | | | | | | | | | | | | | | | 2004-02-21 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/Makefile.am: Actually remove nsUnicharUtils.* * embed/mozilla/mozilla-embed-persist.cpp: Use our helper to construct tmp file name: fix security issue. * src/window-commands.c: (save_temp_source): Cosmetic change
* R embed/mozilla/nsUnicharUtils.h: R embed/mozilla/nsUnicharUtils.cpp:Christian Persch2004-02-214-511/+46
| | | | | | | | | | | | | 2004-02-20 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: * embed/mozilla/EphyBrowser.cpp: R embed/mozilla/nsUnicharUtils.h: R embed/mozilla/nsUnicharUtils.cpp: Adapt to changed mozilla string APIs by getting rid of nsUnicharUtils, and using EqualsIgnoreCase instead of Equal with nsCaseInsensitiveStringComparator().
* s/IFace/Iface/g to match the gtk+ naming convention.Christian Persch2004-02-2017-125/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-20 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-command-manager.c: (ephy_command_manager_get_type), (ephy_command_manager_base_init), (ephy_command_manager_do_command), (ephy_command_manager_can_do_command): * embed/ephy-command-manager.h: * embed/ephy-cookie-manager.c: (ephy_cookie_manager_get_type), (ephy_cookie_manager_base_init), (ephy_cookie_manager_list_cookies), (ephy_cookie_manager_remove_cookie), (ephy_cookie_manager_clear): * embed/ephy-cookie-manager.h: * embed/ephy-embed-event.c: (ephy_embed_event_get_type), (ephy_embed_event_get_event_type), (ephy_embed_event_get_context), (ephy_embed_event_get_modifier), (ephy_embed_event_get_coords), (ephy_embed_event_get_property), (ephy_embed_event_has_property), (ephy_embed_event_get_dom_event): * embed/ephy-embed-event.h: * embed/ephy-embed-single.c: (ephy_embed_single_get_type), (ephy_embed_single_iface_init), (ephy_embed_single_clear_cache), (ephy_embed_single_clear_auth_cache), (ephy_embed_single_set_offline_mode), (ephy_embed_single_load_proxy_autoconf), (ephy_embed_single_get_font_list): * embed/ephy-embed-single.h: * embed/ephy-embed.c: (ephy_embed_get_type), (ephy_embed_base_init), (ephy_embed_load_url), (ephy_embed_stop_load), (ephy_embed_can_go_back), (ephy_embed_can_go_forward), (ephy_embed_can_go_up), (ephy_embed_get_go_up_list), (ephy_embed_go_back), (ephy_embed_go_forward), (ephy_embed_go_up), (ephy_embed_get_title), (ephy_embed_get_location), (ephy_embed_get_link_message), (ephy_embed_get_js_status), (ephy_embed_reload), (ephy_embed_zoom_set), (ephy_embed_zoom_get), (ephy_embed_shistory_n_items), (ephy_embed_shistory_get_nth), (ephy_embed_shistory_get_pos), (ephy_embed_shistory_go_nth), (ephy_embed_get_security_level), (ephy_embed_find_set_properties), (ephy_embed_find_next), (ephy_embed_activate), (ephy_embed_set_encoding), (ephy_embed_get_encoding_info), (ephy_embed_print), (ephy_embed_print_preview_close), (ephy_embed_print_preview_n_pages), (ephy_embed_print_preview_navigate), (ephy_embed_has_modified_forms): * embed/ephy-embed.h: * embed/ephy-password-manager.c: (ephy_password_manager_get_type), (ephy_password_manager_add), (ephy_password_manager_remove), (ephy_password_manager_list): * embed/ephy-password-manager.h: * embed/ephy-permission-manager.c: (ephy_permission_manager_get_type), (ephy_permission_manager_base_init), (ephy_permission_manager_add), (ephy_permission_manager_remove), (ephy_permission_manager_clear), (ephy_permission_manager_test), (ephy_permission_manager_list): * embed/ephy-permission-manager.h: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: s/IFace/Iface/g to match the gtk+ naming convention.
* Don't use #if inside a macro. Fixe compilation with gcc 3.2.2.Christian Persch2004-02-161-4/+2
| | | | | | | | 2004-02-16 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GlobalHistory.cpp: Don't use #if inside a macro. Fixe compilation with gcc 3.2.2.
* Make it work (TM).Christian Persch2004-02-161-5/+13
| | | | | | | | 2004-02-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/FilePicker.cpp: (::AppendFilter): Make it work (TM).
* Weak ref the real dialogue, and hide the dialogue after running it. FixesChristian Persch2004-02-161-2/+47
| | | | | | | | | | | 2004-02-15 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/FilePicker.cpp: (::Show), (::GFilePicker), (::~GFilePicker): Weak ref the real dialogue, and hide the dialogue after running it. Fixes interaction with nsIFilePicker lifecycle when shown from javascript.
* Prepare for 1.1.8Marco Pesenti Gritti2004-02-151-10/+0
| | | | | | | | | | | | | | 2004-02-15 Marco Pesenti Gritti <marco@gnome.org> * NEWS: * configure.in: Prepare for 1.1.8 * embed/downloader-view.c: (downloader_view_build_ui): Revert the timeout for now, I dont think it's mature for the release.
* Several types are actually safe.Marco Pesenti Gritti2004-02-142-10/+27
| | | | | | | | | | | | | | | 2004-02-13 Marco Pesenti Gritti <marco@gnome.org> * data/mime-types-permissions.xml: Several types are actually safe. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Change the safe/unsafe logic to not consider unkown files unsafe, they will not be opened anyway. Cleanups.
* Safety check.Christian Persch2004-02-131-1/+2
| | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (download_dialog_abort_cb): Safety check.
* Use static_cast<>, don't cast directly.Christian Persch2004-02-131-1/+1
| | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: (mozilla_embed_security_change_cb): Use static_cast<>, don't cast directly.
* Unify fallback downloads dir to get the home directory.Christian Persch2004-02-131-4/+0
| | | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: * src/prefs-dialog.c: (get_download_button_label): Unify fallback downloads dir to get the home directory.
* Don't insist on a parent for the dialogue; because there isn't one when weChristian Persch2004-02-132-3/+2
| | | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSDialogs.cpp: Don't insist on a parent for the dialogue; because there isn't one when we try to load a favicon over https: at startup.
* Fix numerous places where we weren't properly converting between UTF-8 andChristian Persch2004-02-135-31/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-popup-control.c: (save_url), (embed_popup_set_image_as_background_cmd): * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get_type), (ephy_favicon_cache_class_init), (favicon_name_build), (favicon_download_completed_cb), (ephy_favicon_cache_get): * embed/mozilla/FilePicker.cpp: * embed/mozilla/MozDownload.cpp: * lib/ephy-file-chooser.c: (ephy_file_chooser_set_persist_key): * lib/ephy-file-helpers.c: (ephy_file_downloads_dir): * src/popup-commands.c: (popup_cmd_set_image_as_background): * src/prefs-dialog.c: (get_download_button_label), (download_path_response_cb): Fix numerous places where we weren't properly converting between UTF-8 and filename encoding. * embed/ephy-favicon-cache.c: Bump favicon cache xml version. * embed/mozilla/EphyHeaderSniffer.cpp: Fix mem leak, and use CONF_STATE_SAVE_DIR instead of the download dir key for directory persistence.
* 2004-02-12 Christian Persch <chpe@cvs.gnome.org>Christian Persch2004-02-131-2/+3
| | | | | | * lib/ephy-node-db.c: (ephy_node_db_write_to_xml_valist): * src/bookmarks/ephy-bookmarks-export.c: (ephy_bookmarks_export_rdf):
* Depend on libxml2 >= 2.6.6 because of bug #133298 and bug # 131548.Christian Persch2004-02-131-1/+1
| | | | | | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * configure.in: Depend on libxml2 >= 2.6.6 because of bug #133298 and bug # 131548. * src/ephy-main.c: (main): Use LIBXML_TEST_VERSION to check for API compatibility.
* Fix compilation with mozilla 1.4.Christian Persch2004-02-131-1/+1
| | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GlobalHistory.cpp: Fix compilation with mozilla 1.4.
* Adapt to the ever-changing mozilla APIs.Christian Persch2004-02-124-29/+117
| | | | | | | | | | | 2004-02-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GlobalHistory.h: * embed/mozilla/MozRegisterComponents.cpp: Adapt to the ever-changing mozilla APIs.
* When open is explicitly requested from the dialog use a tmp file.Marco Pesenti Gritti2004-02-121-4/+15
| | | | | | | | | 2004-02-12 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/ContentHandler.cpp: When open is explicitly requested from the dialog use a tmp file.
* Added timeout so that dialog won't disappear before 5 seconds is over.Chris Lahey2004-02-121-2/+67
| | | | | | | | 2004-02-11 Chris Lahey <clahey@rigger.boston.ximian.com> * embed/downloader-view.c: Added timeout so that dialog won't disappear before 5 seconds is over. Made Pause/Resume button update label properly.
* Put the serial numbers in duplicated filenames just before the last dot soXan Lopez2004-02-121-7/+27
| | | | | | | * embed/mozilla/MozDownload.cpp: Put the serial numbers in duplicated filenames just before the last dot so we won't confuse apps like file-roller.
* Make columns resizableMarco Pesenti Gritti2004-02-121-4/+3
| | | | | | | | 2004-02-11 Marco Pesenti Gritti <marco@gnome.org> * embed/downloader-view.c: (downloader_view_build_ui): Make columns resizable
* Pass the property id to the changed signal.Marco Pesenti Gritti2004-02-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-02-11 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-node.c: (callback), (child_changed), (ephy_node_set_property): Pass the property id to the changed signal. * lib/ephy-node.h: Cleanup. * embed/ephy-history.c: (hosts_changed_cb), (pages_changed_cb): * lib/widgets/ephy-location-entry.c: (completion_func): * lib/widgets/ephy-tree-model-node.c: (root_child_changed_cb): * src/bookmarks/ephy-bookmark-action.c: (bookmarks_child_changed_cb): * src/bookmarks/ephy-bookmarks-menu.c: (topic_child_changed_cb): * src/bookmarks/ephy-topic-action.c: (topic_child_changed_cb): * src/ephy-completion-model.c: (root_child_changed_cb): * src/ephy-location-action.c: (actions_child_changed_cb): Fixup changed signals signature. * src/bookmarks/ephy-bookmarks.c: (update_bookmark_keywords), (bookmarks_changed_cb), (bookmark_is_categorized), (topics_removed_cb), (ephy_bookmarks_set_keyword), (ephy_bookmarks_unset_keyword): Cleanup keywords building, normalize and case fold it, add the title words as keywords too.
* Fix mem leaks.Christian Persch2004-02-111-0/+3
| | | | | | | | 2004-02-11 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-persist.cpp: (impl_save): Fix mem leaks.
* Include config.h.Christian Persch2004-02-091-0/+4
| | | | | | | | | 2004-02-09 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: * embed/ephy-embed-popup-control.c: Include config.h.
* Remove trailing / in invocation of mkdir, since it's unneeded and notChristian Persch2004-02-081-1/+1
| | | | | | | | | 2004-02-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_init): Remove trailing / in invocation of mkdir, since it's unneeded and not portable. Patch by Julio M. Merino Vidal, fixes bug 133738.
* Excise old galeon 1, non ported, defined-out code.Christian Persch2004-02-071-4/+0
| | | | | | | | 2004-02-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Excise old galeon 1, non ported, defined-out code.
* David Bordoley <bordoley@msu.edu>Biggest Flake Ever2004-02-051-0/+2
| | | | | | | | | | | 2004-02-04 Biggest Flake Ever <flake@whataflake.com> David Bordoley <bordoley@msu.edu> * embed/downloader-view.c: (downloader_view_new): * src/prefs-dialog.c: (setup_add_language_dialog): Use a default width/height for dialogs with tree views that don't have a fixed requisition.
* Add a space after period, fixes bug #133151.Christian Persch2004-02-021-1/+1
| | | | | | | | 2004-02-01 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler: Add a space after period, fixes bug #133151.
* Activating the status icon should only show it (HIG says so). Also set theXan Lopez2004-02-011-9/+2
| | | | | | | | * embed/downloader-view.c: (status_icon_activated), (downloader_view_build_ui): Activating the status icon should only show it (HIG says so). Also set the downloader view to BROSWE mode.
* Don't try to g_free a nsCOMPtr<>, and use nsMemory::Free for the mMimeTypeChristian Persch2004-01-311-2/+1
| | | | | | | | | 2004-01-30 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: Don't try to g_free a nsCOMPtr<>, and use nsMemory::Free for the mMimeType string.
* Fix mem leak.Christian Persch2004-01-301-2/+3
| | | | | | | | 2004-01-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyHeaderSniffer.cpp: Fix mem leak.
* Fix mem leak.Christian Persch2004-01-291-0/+1
| | | | | | | | 2004-01-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: Fix mem leak.
* Fix mem leak.Christian Persch2004-01-291-7/+6
| | | | | | | | 2004-01-29 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (update_download_row): Fix mem leak.
* Fix encodign conversion of "Untitled" filename suggestion. Fixes bugChristian Persch2004-01-291-1/+1
| | | | | | | | | 2004-01-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyHeaderSniffer.cpp: Fix encodign conversion of "Untitled" filename suggestion. Fixes bug #132822.
* Make sure to not initialize EphyBrowser multiple times.Marco Pesenti Gritti2004-01-272-1/+7
| | | | | | | | | | 2004-01-27 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: Make sure to not initialize EphyBrowser multiple times.
* Fix mem leak.Christian Persch2004-01-271-0/+2
| | | | | | | | 2004-01-26 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-download.c: (ephy_download_get_name): Fix mem leak.
* Fix mem leak.Christian Persch2004-01-271-3/+4
| | | | | | | | 2004-01-26 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (update_download_row): Fix mem leak.
* Fix mem leak.Christian Persch2004-01-271-0/+1
| | | | | | | | 2004-01-26 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (update_download_row): Fix mem leak.
* *** empty log message ***Marco Pesenti Gritti2004-01-261-1/+10
|
* Correct a translator name.Marco Pesenti Gritti2004-01-261-1/+5
| | | | | | | | | | | | | | | | | | 2004-01-25 Marco Pesenti Gritti <marco@gnome.org> * NEWS: Correct a translator name. * embed/mozilla/ContentHandler.cpp: Really cancel the download when the user told so. * lib/ephy-dialog.c: (setup_default_size), (ephy_dialog_run), (ephy_dialog_init), (ephy_dialog_set_property), (ephy_dialog_get_property), (ephy_dialog_class_init): Add default width/height properties.
* Include nsIMIMEInfo.h to fix compilation with mozilla 1.4.Christian Persch2004-01-261-0/+1
| | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.h: Include nsIMIMEInfo.h to fix compilation with mozilla 1.4.
* Fix mem leak.Christian Persch2004-01-261-0/+2
| | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_finalize): Fix mem leak.
* Fix mem leak.Christian Persch2004-01-251-0/+1
| | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-notifiers.cpp: Fix mem leak.
* Fix mem leak.Christian Persch2004-01-251-1/+3
| | | | | | | | 2004-01-25 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-favicon-cache.c: (remove_obsolete_icons): Fix mem leak.
* Add a way to get the downloads dir with a comment for translators. Use dirMarco Pesenti Gritti2004-01-251-2/+2
| | | | | | | | | | | | | | | | | | | 2004-01-25 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-file-helpers.c: (ephy_file_tmp_dir), (ephy_file_downloads_dir): * lib/ephy-file-helpers.h: Add a way to get the downloads dir with a comment for translators. Use dir instead of directory consistently with the other functions. * embed/mozilla/MozDownload.cpp: * src/prefs-dialog.c: (get_download_button_label): * src/window-commands.c: (save_temp_source): Use the helper.
* When checking forms for modifications, handle correctly text entries withChristian Persch2004-01-251-2/+14
| | | | | | | | | | 2004-01-24 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: When checking forms for modifications, handle correctly text entries with default value longer than maxlength. Mozilla bug #232057.
* Prepare for 1.1.4Marco Pesenti Gritti2004-01-241-2/+6
| | | | | | | | | | | | | 2004-01-24 Marco Pesenti Gritti <marco@gnome.org> * NEWS: * configure.in: Prepare for 1.1.4 * embed/mozilla/ContentHandler.cpp: Fix Save As from download dialog
* Add a persist-position property.Marco Pesenti Gritti2004-01-242-3/+13
| | | | | | | | | | | | | | | | | | | | 2004-01-24 Marco Pesenti Gritti <marco@gnome.org> * lib/ephy-dialog.c: (setup_default_size), (ephy_dialog_init), (ephy_dialog_set_property), (ephy_dialog_get_property), (ephy_dialog_class_init): Add a persist-position property. * embed/downloader-view.c: (downloader_view_new): Persist downloader position. * src/prefs-dialog.c: (get_download_button_label): * embed/mozilla/MozDownload.cpp: * data/epiphany.schemas.in: Default to ~/Desktop/Downloads.
* Allow passing the translation domain to ephy_dialog_construct, to makeChristian Persch2004-01-244-9/+20
| | | | | | | | | | | | | | | | | | | | | 2004-01-23 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (downloader_view_build_ui): * embed/find-dialog.c: (find_dialog_init): * embed/mozilla/GtkNSSDialogs.cpp: * embed/print-dialog.c: (ephy_print_dialog_new), (ephy_print_setup_dialog_new): * lib/ephy-dialog.c: (impl_construct), (ephy_dialog_construct): * lib/ephy-dialog.h: * lib/ephy-glade.c: (ephy_glade_widget_new): * lib/ephy-glade.h: * src/ephy-encoding-dialog.c: (ephy_encoding_dialog_init): * src/pdm-dialog.c: (pdm_dialog_init): * src/prefs-dialog.c: (setup_add_language_dialog), (prefs_dialog_init): Allow passing the translation domain to ephy_dialog_construct, to make extension's dialogues translatable. Fix all callers.
* Make Cancel safe against non active downloads.Xan Lopez2004-01-231-0/+6
| | | | | | * embed/mozilla/MozDownload.cpp: Make Cancel safe against non active downloads.
* Use both BYPASS_CACHE and BYPASS_PROXY on force-reload. Unified theChristian Persch2004-01-232-14/+4
| | | | | | | | | | | | | 2004-01-23 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.h: * embed/mozilla/mozilla-embed.cpp: * src/window-commands.c: (window_cmd_view_reload): Use both BYPASS_CACHE and BYPASS_PROXY on force-reload. Unified the handling in mozilla-embed by introducing EMBED_RELOAD_FORCE, and killed EMBED_RELOAD_BYPASS_[CACHE|PROXY] since we now always use both together.
* Updated encodings listChristian Persch2004-01-231-2/+1
|
* data: urls can be opened in new tabs too.Christian Persch2004-01-231-0/+1
| | | | | | | | | 2004-01-22 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: * src/ephy-tab.c: (address_has_web_scheme): data: urls can be opened in new tabs too.
* Work around a bug in mozilla where 0xa0 (NBSP) are converted to spaces, soChristian Persch2004-01-231-2/+8
| | | | | | | | | | 2004-01-22 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Work around a bug in mozilla where 0xa0 (NBSP) are converted to spaces, so we think that the element is modified when in fact it's not. (Thanks to Crispin).
* *** empty log message ***Marco Pesenti Gritti2004-01-222-3/+11
|
* Call ephy_file() explicitly for each glade file, letting extensions load ↵Adam Hooper2004-01-224-5/+9
| | | | glade files from any path
* Destroy filepicker once it's done. I dunno about much more bugs so pleaseMarco Pesenti Gritti2004-01-221-0/+4
| | | | | | | | | 2004-01-21 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/ContentHandler.cpp: Destroy filepicker once it's done. I dunno about much more bugs so please report now ;)
* Use ngettext for number of downloads and remaining minutes display in thePiers Cornwell2004-01-211-7/+30
| | | | | | | | | | 2004-01-21 Piers Cornwell <piers@myrealbox.com> * embed/downloader-view.c: (update_status_icon), (downloader_view_remove_download): Use ngettext for number of downloads and remaining minutes display in the tooltip of the tray icon.
* about: can be opened in new tab too.Christian Persch2004-01-211-3/+4
| | | | | | | | | 2004-01-21 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: * src/ephy-tab.c: (address_has_web_scheme): about: can be opened in new tab too.
* Re-enable fonts language font filtering, fixes bug #128814Christian Persch2004-01-211-1/+1
| | | | | | | | 2004-01-21 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Re-enable fonts language font filtering, fixes bug #128814
* Make uri canonical before passing it as launch argument to make vfs happy.Marco Pesenti Gritti2004-01-202-4/+6
| | | | | | | | | | | | | | 2004-01-19 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/MozDownload.cpp: Make uri canonical before passing it as launch argument to make vfs happy. * lib/eel-gconf-extensions.c: (eel_gconf_set_path): Do not mix utf8/locale. Thanks to chpe to notice it.
* Add a way to store paths.Marco Pesenti Gritti2004-01-194-174/+104
| | | | | | | | | | | | | | | | | | | | | | | | 2004-01-19 Marco Pesenti Gritti <marco@gnome.org> * lib/eel-gconf-extensions.c: (tilde_compress), (eel_gconf_set_path): * lib/eel-gconf-extensions.h: Add a way to store paths. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Actually save the file in downloads dir and then open it. It doesnt seem to open it but it's prolly a gnome-vfs bug. * src/prefs-dialog.c: (get_download_button_label), (download_path_response_cb): Simplify the label logic using ~.
* *** empty log message ***Marco Pesenti Gritti2004-01-193-153/+152
|
* We need to use do_QueryInterface to get from the nsIDOM[Key|Mouse]Event toChristian Persch2004-01-191-15/+20
| | | | | | | | | | 2004-01-18 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: We need to use do_QueryInterface to get from the nsIDOM[Key|Mouse]Event to the nsIDOMEvent, not just cast it.
* Use g_signal_connect_object to connect the embed signals, that way they'reChristian Persch2004-01-171-86/+56
| | | | | | | | | | | 2004-01-17 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed.cpp: * src/ephy-tab.c: (ephy_tab_init): Use g_signal_connect_object to connect the embed signals, that way they're disconnected before the tab object is finalised. Should fix crasher bug #131635.
* Make EphyEmbedEvent abstract, implemented by MozillaEmbedEvent. PortChristian Persch2004-01-168-146/+377
| | | | | | | | | | | | | | | | | | | | | | | | 2004-01-15 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-event.c: (ephy_embed_event_get_type), (ephy_embed_event_base_init), (ephy_embed_event_get_event_type), (ephy_embed_event_get_context), (ephy_embed_event_get_modifier), (ephy_embed_event_get_coords), (ephy_embed_event_get_property), (ephy_embed_event_has_property), (ephy_embed_event_get_dom_event): * embed/ephy-embed-event.h: * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * embed/mozilla/Makefile.am: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-event.h: * embed/mozilla/mozilla-embed.cpp: * src/ephy-window.c: (popup_menu_at_coords): * src/popup-commands.c: (popup_cmd_copy_link_address): Make EphyEmbedEvent abstract, implemented by MozillaEmbedEvent. Port callers to the new api. Fix some callers in src/ which were using private fields of EphyEmbedEvent struct.
* Let the user decide about what to do with automatic dialogs.Xan Lopez2004-01-152-3/+123
| | | | | | | * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Let the user decide about what to do with automatic dialogs.
* Get the page content into a string.Christian Persch2004-01-143-2/+60
| | | | | | | | | | 2004-01-14 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-persist.c: (ephy_embed_persist_to_string): * embed/ephy-embed-persist.h: * embed/mozilla/mozilla-embed-persist.cpp: Get the page content into a string.
* Allow to show/hide downloader clicking on tray icon. Fixes #131012.Xan Lopez2004-01-141-1/+8
| | | | | | | * embed/downloader-view.c: (status_icon_activated): Allow to show/hide downloader clicking on tray icon. Fixes #131012.
* Add accelerator to Pause/Resume button.Christian Persch2004-01-131-2/+2
| | | | | | | | 2004-01-12 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: (download_dialog_pause_cb): Add accelerator to Pause/Resume button.
* Default history to "enabled".Christian Persch2004-01-131-0/+3
| | | | | | | | | 2004-01-12 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_set_enabled), (ephy_history_init): Default history to "enabled".
* Forgot thisChristian Persch2004-01-131-0/+1
|
* Only allow "Open in New Tab/Window" for certain protocols.Christian Persch2004-01-131-0/+27
| | | | | | | | | | | | 2004-01-12 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/EventContext.h: * src/ephy-tab.c: (address_has_web_scheme): * src/ephy-window.c: (show_embed_popup): Only allow "Open in New Tab/Window" for certain protocols.
* Implement print and print setup disabling for lockdown mode.Christopher James Lahey2004-01-111-19/+37
| | | | | | | | | | | | 2004-01-10 Christopher James Lahey <clahey@ximian.com> * embed/mozilla/PrintingPromptService.cpp: * lib/ephy-prefs.h: * src/ephy-main.c: (main): * src/ephy-window.c: (update_actions), (ephy_window_init), (ephy_window_finalize), (ephy_window_print): Implement print and print setup disabling for lockdown mode.
* Adapt to the ever-changing mozilla API.Christian Persch2004-01-112-7/+24
| | | | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * configure.in: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EventContext.cpp: Adapt to the ever-changing mozilla API.
* Include config.hChristian Persch2004-01-111-0/+4
|
* Implement history disabling.Christian Persch2004-01-112-29/+143
| | | | | | | | | | | | | | | | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-history.c: (ephy_history_get_type), (ephy_history_set_enabled), (ephy_history_set_property), (ephy_history_get_property), (ephy_history_class_init), (page_removed_from_host_cb), (disable_history_notifier), (ephy_history_init), (ephy_history_finalize), (ephy_history_new), (ephy_history_get_host), (ephy_history_visited), (ephy_history_add_page), (ephy_history_set_page_title), (ephy_history_clear), (ephy_history_is_enabled): * embed/ephy-history.h: * lib/ephy-node-db.c: (ephy_node_db_get_property), (ephy_node_db_set_property), (ephy_node_db_set_immutable): * lib/ephy-node-db.h: * lib/ephy-prefs.h: * src/bookmarks/ephy-bookmarks.c: (clear_favorites), (history_cleared_cb), (ephy_setup_history_notifiers): Implement history disabling.
* Fix type to make it compile with MOZILLA_SNAPSHOT <= 11 again.Christian Persch2004-01-101-1/+2
| | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: Fix type to make it compile with MOZILLA_SNAPSHOT <= 11 again.
* Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places.Christian Persch2004-01-102-140/+121
| | | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places.
* Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places.Christian Persch2004-01-105-36/+64
| | | | | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/FilePicker.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/MozillaPrivate.cpp: Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places.
* Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places.Christian Persch2004-01-102-20/+30
| | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ExternalProtocolHandlers.cpp: Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places.
* Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places.Christian Persch2004-01-101-171/+146
| | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places.
* Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places.Christian Persch2004-01-102-47/+55
| | | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places.
* Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places instead ofChristian Persch2004-01-101-8/+6
| | | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphySingle.cpp: Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places instead of silent "if (...) return ...;".
* Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places instead ofChristian Persch2004-01-102-9/+14
| | | | | | | | | | | 2004-01-10 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyAboutRedirector.cpp: * embed/mozilla/EphyAboutRedirector.h: Use NS_ENSURE_SUCCESS/NS_ENSURE_TRUE at appropriate places instead of silent "if (...) return ...;". Really kill "about:options".
* Add an accellerator-only action (F7) to toggle caret browsing. Hook upChristian Persch2004-01-092-0/+2
| | | | | | | | | | | | | | | | | 2004-01-09 Christian Persch <chpe@cvs.gnome.org> * data/epiphany.schemas.in: * data/ui/epiphany-ui.xml: * embed/ephy-embed-prefs.h: * embed/mozilla/mozilla-notifiers.cpp: * src/ephy-window.c: (ephy_window_finalize), (browse_with_caret_notifier), (ephy_window_init): * src/pdm-dialog.c: (show_cookies_properties): * src/window-commands.c: (window_cmd_browse_with_caret): * src/window-commands.h: Add an accellerator-only action (F7) to toggle caret browsing. Hook up listener to set the mozilla pref, added the gconf key to the schema.
* Don't save the file if disable_save_to_disk is on.82004-01-081-1/+2
| | | | | | | | | | | | 2004-01-08 <clahey@ximian.com> * embed/mozilla/ContentHandler.cpp (MIMEAskAction): Don't save the file if disable_save_to_disk is on. * lib/ephy-prefs.h (CONF_DISABLE_SAVE_TO_DISK): Added this key here. * src/ephy-window.c (update_actions): Obey disable_save_to_disk. Also, disable toggling view settings if their keys are locked.
* Add a comment for translators.Christian Persch2004-01-061-0/+3
| | | | | | | | 2004-01-06 Christian Persch <chpe@cvs.gnome.orgf> * src/ephy-encodings.c: (ephy_encodings_get_node): Add a comment for translators.
* Behave better when the encoding used on the page is unknown to us.Christian Persch2004-01-062-58/+104
| | | | | | | | | | | | | | | | | | | | | 2004-01-06 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-encodings.c: (add_encoding), (ephy_encodings_get_node), (ephy_encodings_add_recent), (ephy_encodings_get_recent), (ephy_encodings_init): * embed/ephy-encodings.h: * src/ephy-encoding-dialog.c: (sync_embed_cb): * src/ephy-encoding-menu.c: (update_encoding_menu_cb), (add_action), (ephy_encoding_menu_set_window): * src/prefs-dialog.c: (create_node_combo): Behave better when the encoding used on the page is unknown to us. Previously we skipped important steps in menu building, resulting in incorrect encoding indicator. Now, we dynamically add an entry with name "Unknown" to our menu. Also add back some rarely used encodings (us-ascii, UTF-16*, UTF-32*) to our known encodings repertoire.
* Remove debug output leftover.Christian Persch2004-01-061-1/+0
| | | | | | | | 2004-01-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozillaPrivate.cpp: Remove debug output leftover.
* Ensure that if the nsIDOMWindow provided is a frame inside an embed, weChristian Persch2004-01-062-10/+19
| | | | | | | | | | | 2004-01-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozillaPrivate.cpp: * embed/mozilla/PrintingPromptService.cpp: Ensure that if the nsIDOMWindow provided is a frame inside an embed, we get the top-level window and then get the embed from that. Fixes bug #129028.
* Fix parent for help window.Christian Persch2004-01-051-1/+1
| | | | | | | | 2004-01-04 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (ephy_print_dialog_response_cb): Fix parent for help window.
* Add help buttons to Certificate Viewer, PDM, print and print setupPiers Cornwell2004-01-052-7/+38
| | | | | | | | | | | | | | | | 2004-01-04 Piers Cornwell <piers@myrealbox.com> * data/glade/certificate-dialogs.glade: * data/glade/epiphany.glade: * data/glade/print.glade: * embed/mozilla/GtkNSSDialogs.cpp: * embed/print-dialog.c: (ephy_print_dialog_response_cb), (ephy_print_setup_dialog_help_button_cb): * src/pdm-dialog.c: (pdm_dialog_show_help): * src/prefs-dialog.c: (prefs_dialog_show_help): Add help buttons to Certificate Viewer, PDM, print and print setup dialogues.
* Add API to check if an EphyEmbed has forms with user input in them.Christian Persch2004-01-045-1/+153
| | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-04 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed.c: (ephy_embed_has_modified_forms): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/mozilla-embed.cpp: Add API to check if an EphyEmbed has forms with user input in them. Currently it required one modified textarea, or two modified text fields. * src/ephy-notebook.c: (ephy_notebook_class_init), (close_button_clicked_cb): * src/ephy-notebook.h: * src/ephy-window.c: (confirm_close_with_modified_forms), (ephy_window_delete_event_cb), (tab_delete_cb), (setup_notebook), (ephy_window_init), (ephy_window_remove_tab): When closing a window or tab, check if there is unsubmitted user input in form fields, and if so, warn the user before closing. Fixes bug #119857.
* Unify interface struct and type macro naming to be EphyFooIFace,Christian Persch2004-01-0216-193/+207
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-01-01 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-command-manager.c: (ephy_command_manager_get_type), (ephy_command_manager_base_init), (ephy_command_manager_do_command), (ephy_command_manager_can_do_command): * embed/ephy-command-manager.h: * embed/ephy-cookie-manager.c: (ephy_cookie_manager_list_cookies), (ephy_cookie_manager_remove_cookie), (ephy_cookie_manager_clear): * embed/ephy-cookie-manager.h: * embed/ephy-embed-dialog.h: * embed/ephy-embed-shell.c: * embed/ephy-embed-single.c: (ephy_embed_single_get_type), (ephy_embed_single_iface_init), (ephy_embed_single_clear_cache), (ephy_embed_single_clear_auth_cache), (ephy_embed_single_set_offline_mode), (ephy_embed_single_load_proxy_autoconf), (ephy_embed_single_get_font_list): * embed/ephy-embed-single.h: * embed/ephy-embed.c: (ephy_embed_get_type), (ephy_embed_base_init), (ephy_embed_load_url), (ephy_embed_stop_load), (ephy_embed_can_go_back), (ephy_embed_can_go_forward), (ephy_embed_can_go_up), (ephy_embed_get_go_up_list), (ephy_embed_go_back), (ephy_embed_go_forward), (ephy_embed_go_up), (ephy_embed_get_title), (ephy_embed_get_location), (ephy_embed_get_link_message), (ephy_embed_get_js_status), (ephy_embed_reload), (ephy_embed_zoom_set), (ephy_embed_zoom_get), (ephy_embed_shistory_n_items), (ephy_embed_shistory_get_nth), (ephy_embed_shistory_get_pos), (ephy_embed_shistory_go_nth), (ephy_embed_get_security_level), (ephy_embed_find_set_properties), (ephy_embed_find_next), (ephy_embed_activate), (ephy_embed_set_encoding), (ephy_embed_get_encoding_info), (ephy_embed_print), (ephy_embed_print_preview_close), (ephy_embed_print_preview_n_pages), (ephy_embed_print_preview_navigate): * embed/ephy-embed.h: * embed/ephy-password-manager.h: * embed/ephy-permission-manager.h: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * embed/mozilla/mozilla-embed.cpp: Unify interface struct and type macro naming to be EphyFooIFace, EPHY_FOO_IFACE, EPHY_IS_FOO_IFACE, EPHY_FOO_GET_IFACE.
* Remove default font notifier, it's been obsoleted by the fonts rewrite.Christian Persch2004-01-022-13/+11
| | | | | | | | | 2004-01-01 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-prefs.h: * embed/mozilla/mozilla-notifiers.cpp: Remove default font notifier, it's been obsoleted by the fonts rewrite.
* Set socks prefs from gconf too.Christian Persch2004-01-021-0/+2
| | | | | | | | 2004-01-01 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-notifiers.cpp: Set socks prefs from gconf too.
* Fix mem leaks.Christian Persch2004-01-012-4/+6
| | | | | | | | | 2003-12-31 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: * embed/print-dialog.c: (ephy_print_get_print_info): Fix mem leaks.
* Adjust includes to make it compile with mozila 1.4.Christian Persch2003-12-312-1/+2
| | | | | | | | | 2003-12-30 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Adjust includes to make it compile with mozila 1.4.
* Add API to EphyEmbedSingle to clear the HTTP authentication cache.Christian Persch2003-12-313-1/+30
| | | | | | | | | | 2003-12-30 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_clear_auth_cache): * embed/ephy-embed-single.h: * embed/mozilla/mozilla-embed-single.cpp: Add API to EphyEmbedSingle to clear the HTTP authentication cache.
* Unified return type of ephy_embed_shell_get_X to be GObject *. Fixed allChristian Persch2003-12-306-57/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-29 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_get_favicon_cache), (ephy_embed_shell_get_global_history), (ephy_embed_shell_get_downloader_view), (ephy_embed_shell_get_embed_single), (ephy_embed_shell_get_encodings), (ephy_embed_shell_check_mime), (ephy_embed_shell_class_init): * embed/ephy-embed-shell.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/mozilla-notifiers.cpp: * src/bookmarks/ephy-bookmarks.c: (compute_lower_fav), (ephy_setup_history_notifiers): * src/ephy-completion-model.c: (ephy_completion_model_init): * src/ephy-shell.c: (ephy_shell_get_history_window): * src/ephy-tab.c: (ephy_tab_set_icon_address), (ephy_tab_address_cb), (ephy_tab_zoom_changed_cb): * src/ephy-toolbars-model.c: (impl_get_item_id): * src/prefs-dialog.c: (setup_font_combo), (prefs_clear_cache_button_clicked_cb): Unified return type of ephy_embed_shell_get_X to be GObject *. Fixed all callers.
* Bring ephy_window_get_toolbar signature in line withChristian Persch2003-12-251-2/+2
| | | | | | | | | | | | | | | | | | | | 2003-12-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-window.c: (ephy_window_get_toolbar), (ephy_window_set_zoom): * src/ephy-window.h: * src/window-commands.c: (window_cmd_edit_toolbar), (window_cmd_load_location): Bring ephy_window_get_toolbar signature in line with ephy_window_get_[statusbar|notebook]. 2003-12-24 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: GDK_Meta_L is a keycode, not a modifier code. Map meta to GDK_MOD2_MASK.
* Fix mem leak. (Found by Crispin.)Christian Persch2003-12-221-0/+1
| | | | | | | | 2003-12-22 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-encodings.c: (ephy_encodings_add_recent): Fix mem leak. (Found by Crispin.)
* Correctly cancel the download instead of just cancelling the request.Marco Pesenti Gritti2003-12-222-18/+14
| | | | | | | | | | 2003-12-22 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Correctly cancel the download instead of just cancelling the request.
* Sync with galeon.Christian Persch2003-12-211-6/+6
| | | | | | | | 2003-12-21 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: Sync with galeon.
* Re-implement Pause/Resume in downloader.Xan Lopez2003-12-214-6/+24
| | | | | | | | | | | | | * embed/downloader-view.c: (download_dialog_pause_cb): * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/mozilla-download.cpp: Re-implement Pause/Resume in downloader. * src/window-commands.c: (window_cmd_help_about): Change mail address.
* Get rid of about:options.Christian Persch2003-12-211-1/+0
| | | | | | | | 2003-12-20 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyAboutRedirector.cpp: Get rid of about:options.
* EphyFileChooser now destroys with parent, don't set the flag again here.Christian Persch2003-12-201-2/+0
| | | | | | | | 2003-12-19 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (ephy_print_dialog_browse_button_cb): EphyFileChooser now destroys with parent, don't set the flag again here.
* In-line the language editor in the prefs dialogue.Christian Persch2003-12-191-19/+43
| | | | | | | | | | | | | | | | | | | | | | | 2003-12-18 Christian Persch <chpe@cvs.gnome.org> * data/glade/prefs-dialog.glade: * embed/mozilla/mozilla-notifiers.cpp: * src/Makefile.am: * src/language-editor.c: * src/language-editor.h: * src/prefs-dialog.c: (prefs_dialog_finalize), (prefs_dialog_class_init), (language_editor_add), (language_editor_update_pref), (language_editor_update_buttons), (add_lang_dialog_response_cb), (setup_add_language_dialog), (language_editor_add_button_clicked_cb), (language_editor_remove_button_clicked_cb), (language_editor_up_button_clicked_cb), (language_editor_down_button_clicked_cb), (language_editor_treeview_drag_end_cb), (language_editor_selection_changed_cb), (create_language_section), (prefs_dialog_init): In-line the language editor in the prefs dialogue.
* Factor out the common encoding is_automatic check.Christian Persch2003-12-182-0/+11
| | | | | | | | | | | 2003-12-18 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-encodings.c: (ephy_encoding_info_is_automatic): * embed/ephy-encodings.h: * src/ephy-encoding-dialog.c: (sync_embed_cb): * src/ephy-encoding-menu.c: (update_encoding_menu_cb): Factor out the common encoding is_automatic check.
* *** empty log message ***Marco Pesenti Gritti2003-12-173-52/+0
|
* Use stock icon for print setup.Christian Persch2003-12-141-1/+2
| | | | | | | | | | | 2003-12-13 Christian Persch <chpe@cvs.gnome.org> * embed/print-dialog.c: (ephy_print_setup_dialog_new): * lib/ephy-stock-icons.c: (ephy_stock_icons_init): * lib/ephy-stock-icons.h: * src/ephy-window.c: Use stock icon for print setup.
* Fix permission return types.Christian Persch2003-12-134-29/+47
| | | | | | | | | | | | 2003-12-12 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-permission-manager.c: (ephy_permission_info_new), (ephy_permission_info_copy), (ephy_permission_manager_add): * embed/ephy-permission-manager.h: * embed/mozilla/EphySingle.cpp: * embed/mozilla/mozilla-embed-single.cpp: Fix permission return types.
* Move events code inside EphyBrowser.cpp and add an event for blockedAdam Hooper2003-12-108-182/+187
| | | | | | | | | | | | | | | | | | | | | | | 2003-12-09 Adam Hooper <adamh@densi.com> * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/Makefile.am: Move events code inside EphyBrowser.cpp and add an event for blocked popup. * embed/ephy-permission-manager.c: Some more docs * src/Makefile.am: * src/ephy-window.c: (ephy_window_get_statusbar): * src/ephy-window.h: Add a way to access the statusbar for plugins
* Lockdown: set some buttons insensitive when their pref key is notChristian Persch2003-12-091-1/+6
| | | | | | | | | | | | | | | | 2003-12-09 Christian Persch <chpe@cvs.gnome.org> * data/glade/prefs-dialog.glade: * embed/print-dialog.c: (ephy_print_dialog_new): * src/prefs-dialog.c: (create_language_menu), (create_download_path_label), (prefs_dialog_init): Lockdown: set some buttons insensitive when their pref key is not writable. * src/prefs-dialog.c: (download_path_response_cb): Convert filename to utf8 first.
* Don't use g_return_if_fail for run-time error conditions.Christian Persch2003-12-081-2/+10
| | | | | | | | 2003-12-08 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (load_mime_from_xml): Don't use g_return_if_fail for run-time error conditions.
* Split print dialogue in print setup and actual print, and move printChristian Persch2003-12-074-424/+262
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-12-07 Christian Persch <chpe@cvs.gnome.org> * data/glade/print.glade: * data/ui/epiphany-ui.xml: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/print-dialog.c: (ephy_print_info_free), (ephy_print_get_print_info), (ephy_print_dialog_response_cb), (print_filechooser_response_cb), (ephy_print_dialog_browse_button_cb), (ephy_print_setup_dialog_close_button_cb), (ephy_print_dialog_new), (ephy_print_setup_dialog_new): * embed/print-dialog.h: * src/ephy-nautilus-view.c: (ephy_nautilus_view_new_component), (gnv_cmd_file_print): * src/ephy-nautilus-view.h: * src/ephy-shell.c: (ephy_shell_get_type), (ephy_shell_class_init), (ephy_automation_factory_cb), (ephy_automation_factory_new), (ephy_shell_init), (server_timeout), (ephy_shell_startup), (ephy_shell_finalize), (ephy_shell_new_tab), (ephy_shell_get_session), (ephy_shell_get_bookmarks), (ephy_shell_get_toolbars_model), (ephy_shell_get_bookmarks_editor), (ephy_shell_get_history_window), (ephy_shell_get_print_setup_dialog), (ephy_shell_delete_on_exit): * src/ephy-shell.h: * src/ephy-window.c: (ephy_window_set_print_preview), (ephy_window_print): * src/ephy-window.h: * src/window-commands.c: (window_cmd_file_print_setup), (window_cmd_file_print_preview): * src/window-commands.h: Split print dialogue in print setup and actual print, and move print preview into the menus too. Made print setup a global dialogue, print a per-window dialogue. * lib/ephy-dialog.c: (set_value_from_pref), (set_pref_from_value), (set_value_from_combobox), (set_combo_box_from_value), (set_radiobuttongroup_from_value), (set_pref_from_info_and_emit), (togglebutton_clicked_cb), (radiobutton_clicked_cb), (spinbutton_timeout_cb), (changed_cb), (init_props), (load_info), (save_info), (impl_show), (ephy_dialog_set_size_group), (ephy_dialog_construct), (run_response_cb), (ephy_dialog_run), (ephy_dialog_set_parent), (ephy_dialog_class_init), (ephy_dialog_new_with_parent): * lib/ephy-dialog.h: * src/language-editor.c: (language_editor_class_init): * src/language-editor.h: * src/pdm-dialog.c: (pdm_dialog_init): * src/prefs-dialog.c: (fonts_language_changed_cb), (create_fonts_language_menu), (prefs_dialog_init), (prefs_language_more_button_clicked_cb): Slight api change; port callers.
* Fix a mem leak (ported from galeon).Christian Persch2003-12-061-1/+1
| | | | | | | | 2003-12-06 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-embed-single.cpp: Fix a mem leak (ported from galeon).
* Misc cleanups. Remove a duplicated signal from EphyEmbed.Christian Persch2003-12-064-218/+180
| | | | | | | | | | | | | | | | 2003-12-06 Christian Persch <chpe@cvs.gnome.org> * embed/ephy-embed-shell.c: (ephy_embed_shell_get_type), (ephy_embed_shell_finalize), (ephy_embed_shell_get_favicon_cache), (ephy_embed_shell_get_global_history), (ephy_embed_shell_get_downloader_view), (load_mime_from_xml), (ephy_embed_shell_init), (ephy_embed_shell_class_init): * embed/ephy-embed-shell.h: * embed/ephy-embed.c: (ephy_embed_base_init): * embed/ephy-embed.h: * src/ephy-tab.c: (ephy_tab_init): Misc cleanups. Remove a duplicated signal from EphyEmbed.
* Remove unused variable.Christian Persch2003-12-061-1/+0
| | | | | | | | 2003-12-05 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialog.cpp: Remove unused variable.
* Remove unneccessary _() call.Christian Persch2003-12-061-1/+1
| | | | | | | | 2003-12-05 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: Remove unneccessary _() call.
* Add some missing NULL checks.Christian Persch2003-12-051-3/+3
| | | | | | | | 2003-12-04 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Add some missing NULL checks.
* Epiphany is now 100% fat-free.... err... free of deprecated widgets. AddChristian Persch2003-12-041-1/+1
| | | | | | | | | | 2003-12-03 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/Makefile.am: Epiphany is now 100% fat-free.... err... free of deprecated widgets. Add -DGTK_DISABLE_DEPRECATED flag back again when in maintainer mode.
* Port from optionmenu to new GtkComboBox.Christian Persch2003-12-041-2/+89
| | | | | | | | 2003-12-03 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSClientAuthDialogs.cpp: Port from optionmenu to new GtkComboBox.
* Fix strftime(3) usage.Christian Persch2003-12-041-2/+5
| | | | | | | | | 2003-12-03 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/GtkNSSDialogs.cpp: * src/pdm-dialog.c: (show_cookies_properties): Fix strftime(3) usage.
* Add /system/http_proxy to list of directories to monitor.Christian Persch2003-12-021-0/+5
| | | | | | | | 2003-12-02 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/mozilla-notifiers.cpp: Add /system/http_proxy to list of directories to monitor.
* Handle case of get_location on an unrealized widgetMarco Pesenti Gritti2003-12-021-0/+2
| | | | | | | | 2003-12-01 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/mozilla-embed.cpp: Handle case of get_location on an unrealized widget
* Readd gtk deprecates (only in maintainer mode).Marco Pesenti Gritti2003-11-301-1/+1
| | | | | | | | | | | | | | | | | | | | | 2003-11-30 Marco Pesenti Gritti <marco@gnome.org> * embed/Makefile.am: * lib/Makefile.am: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: Readd gtk deprecates (only in maintainer mode). * src/ephy-location-action.c: (sync_editable): Use not deprecated api. * lib/ephy-dialog.c: (set_value_from_info), (set_info_from_value), (connect_signals), (init_props): Remove optionmenu deprecated control.
* Forgot another oneChristian Persch2003-11-301-1/+1
|