aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/ContentHandler.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Do not blindly overwrite when downloading a file with the same name than aXan Lopez2003-11-281-41/+3
| | | | | | | | | | | * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: Do not blindly overwrite when downloading a file with the same name than a local one, append a number after the name. Fixes (more or less) #12775
* Get rid of NS_INIT_ISUPPORTS() macros in constructors; it's not beenChristian Persch2003-11-251-3/+0
| | | | | | | | | | | | | | | | | 2003-11-24 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyEventListener.cpp: * embed/mozilla/ExternalProtocolHandlers.cpp: * embed/mozilla/ExternalProtocolHandlers.h: * embed/mozilla/ExternalProtocolService.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-notifiers.cpp: Get rid of NS_INIT_ISUPPORTS() macros in constructors; it's not been needed since mozilla 1.3.
* Implement an handle_content signal to allow to write plugins to supportMarco Pesenti Gritti2003-11-211-6/+15
| | | | | | | | | | | | | | 2003-11-20 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed-single.c: (ephy_embed_single_class_init): * embed/ephy-embed-single.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphyHeaderSniffer.h: * lib/ephy-marshal.list: Implement an handle_content signal to allow to write plugins to support external download managers.
* Use kB, MB and GB for the total size of the files being downloaded. FixesXan Lopez2003-11-071-2/+0
| | | | | | | | | | | * embed/downloader-view.c: (download_changed_cb): Use kB, MB and GB for the total size of the files being downloaded. Fixes #126387 * embed/mozilla/ContentHandler.cpp: Small cleanup.
* Small cleanupsMarco Pesenti Gritti2003-11-071-6/+0
| | | | | | | | | 2003-11-06 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Small cleanups
* Correct download dir default.Marco Pesenti Gritti2003-11-061-1/+7
| | | | | | | | | | | | | | | | | | | 2003-11-06 Marco Pesenti Gritti <marco@gnome.org> * data/epiphany.schemas.in: Correct download dir default. * embed/ephy-embed-shell.h: * embed/ephy-embed-shell.c: (ephy_embed_shell_init), (ephy_embed_shell_finalize), (ephy_embed_shell_get_encodings), (load_mime_from_xml), (ephy_embed_shell_check_mime): Add check_mime api for permissions. * embed/mozilla/ContentHandler.cpp: First incomplete try at using it.
* Use new glib gi18n.h instead of bonobo's bonobo-i18n.h.Christian Persch2003-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-05 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: * embed/ephy-embed-popup-control.c: * embed/ephy-encodings.c: * embed/ephy-history.c: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/FilePicker.cpp: * lib/eel-gconf-extensions.c: * lib/egg/egg-editable-toolbar.c: * lib/ephy-file-helpers.c: * lib/ephy-gui.c: * lib/ephy-langs.c: * lib/ephy-node.c: * lib/ephy-zoom.h: * lib/widgets/ephy-cell-renderer-progress.c: * lib/widgets/ephy-zoom-action.c: * lib/widgets/ephy-zoom-control.c: * src/bookmarks/ephy-bookmark-action.c: * src/bookmarks/ephy-bookmark-properties.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-bookmarks-import.c: * src/bookmarks/ephy-bookmarks-menu.c: * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-topic-action.c: * src/ephy-encoding-dialog.c: * src/ephy-encoding-menu.c: * src/ephy-go-action.c: * src/ephy-history-window.c: * src/ephy-notebook.c: * src/ephy-shell.c: * src/ephy-tab.c: * src/ephy-toolbars-model.c: * src/ephy-window.c: * src/pdm-dialog.c: * src/popup-commands.c: * src/ppview-toolbar.c: * src/prefs-dialog.c: * src/session.c: * src/toolbar.c: * src/window-commands.c: Use new glib gi18n.h instead of bonobo's bonobo-i18n.h.
* Rework ContentHandler to use the auto_open_downloads key.Xan Lopez2003-11-051-337/+36
| | | | | | | | | * data/epiphany.schemas.in: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * lib/ephy-prefs.h: Rework ContentHandler to use the auto_open_downloads key.
* Remove the "show_details in downloader" schema.Xan Lopez2003-11-031-53/+33
| | | | | | | | | | | | | | | * data/epiphany.schemas.in: Remove the "show_details in downloader" schema. * embed/ephy-embed-popup-control.c: (save_url): * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * lib/ephy-prefs.h: * src/popup-commands.c: (save_property_url): Implement the new downloading mechanism in CH, also rename CONF_STATE_DOWNLOADING_DIR to CONF_STATE_DOWNLOAD_DIR.
* Use gnomevfs helper to open applications, drop our own.Marco Pesenti Gritti2003-10-311-5/+6
| | | | | | | | | | 2003-10-31 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/ContentHandler.cpp: * lib/ephy-file-helpers.c: * lib/ephy-file-helpers.h: Use gnomevfs helper to open applications, drop our own.
* Add sanity check.Christian Persch2003-10-281-2/+5
| | | | | | | | | 2003-10-28 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/ContentHandler.cpp: (MimeAskActionDialog::MimeAskActionDialog): Add sanity check.
* Port to new gtk+ file chooser.Christian Persch2003-10-261-30/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-26 Christian Persch <chpe@cvs.gnome.org> Port to new gtk+ file chooser. * data/epiphany.schemas.in: * lib/ephy-prefs.h: Add key for remembering upload path. * embed /Makefile.am: * embed/downloader-view.c: * embed/ephy-embed-persist.c: (ephy_embed_persist_get_type), (ephy_embed_persist_set_dest), (ephy_embed_persist_set_embed), (ephy_embed_persist_set_fc_title), (ephy_embed_persist_set_fc_parent), (ephy_embed_persist_set_flags), (ephy_embed_persist_set_max_size), (ephy_embed_persist_set_persist_key), (ephy_embed_persist_set_source), (ephy_embed_persist_get_dest), (ephy_embed_persist_get_embed), (ephy_embed_persist_get_fc_title), (ephy_embed_persist_get_fc_parent), (ephy_embed_persist_get_flags), (ephy_embed_persist_get_max_size), (ephy_embed_persist_get_persist_key), (ephy_embed_persist_get_source), (ephy_embed_persist_set_property), (ephy_embed_persist_get_property), (ephy_embed_persist_init), (ephy_embed_persist_finalize), (ephy_embed_persist_class_init), (ephy_embed_persist_cancel), (ephy_embed_persist_save), (ephy_embed_persist_new): * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.c: (save_url), (save_property_url), (background_download_completed), (embed_popup_set_image_as_background_cmd), (embed_popup_copy_image_location_cmd): * src/popup-commands.c: (save_property_url), (background_download_completed), (popup_cmd_set_image_as_background): * src/window-commands.c: (open_response_cb), (window_cmd_file_open), (window_cmd_file_save_as): * src/window-commands.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_get_type), (ephy_favicon_cache_new), (icon_is_obsolete), (icons_added_cb), (remove_obsolete_icons), (ephy_favicon_cache_init), (favicon_download_completed_cb), (ephy_favicon_cache_download), (ephy_favicon_cache_get): * embed/mozilla/MozDownload.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * src/popup-commands.c: (save_property_url), (background_download_completed), (popup_cmd_set_image_as_background): * src/window-commands.c: (open_response_cb), (window_cmd_file_open), (window_cmd_file_save_as): * src/window-commands.h: Simplify EphyEmbedPersist implementation. Augment it with properties for showing a file chooser to select persist destination. Port all callers to new interfaces. * embed/ephy-embed-single.c: (ephy_embed_single_remove_passwords): * embed/ephy-embed-single.h: * embed/ephy-embed-utils.c: * embed/ephy-embed-utils.h: Obsolete and removed. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: Misc cleanups. * embed/mozilla/FilePicker.cpp: * embed/mozilla/FilePicker.h: Port to new file chooser class. * embed/mozilla/Makefile.am: * lib/Makefile.am: * lib/ephy-file-chooser.c: (ephy_file_chooser_get_type), (current_folder_changed_cb), (ephy_file_chooser_init), (ephy_file_chooser_finalize), (ephy_file_chooser_set_persist_key), (ephy_file_chooser_set_property), (ephy_file_chooser_get_property), (ephy_file_chooser_class_init), (ephy_file_chooser_new): * lib/ephy-file-chooser.h: * src/bookmarks/ephy-bookmarks-editor.c: (import_from_file_response_cb), (import_dialog_response_cb): New file chooser wrapper class; ported file chooser callers to it.
* Merge new-downloader branch. We reworked the backend, the userMarco Pesenti Gritti2003-10-171-3/+8
| | | | interface is still incomplete.
* API sync, from galeon.Xan Lopez2003-09-271-8/+8
| | | | API sync, from galeon.
* Use gtkicontheme, and use it also for mime icons.Marco Pesenti Gritti2003-09-271-2/+4
| | | | | | | | | | | | | | | 2003-09-27 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/ContentHandler.cpp: * lib/ephy-gui.c: (make_mime_name), (ephy_gui_get_pixbuf_from_mime_type): * lib/ephy-gui.h: * lib/widgets/ephy-spinner.c: (ephy_spinner_init), (ephy_spinner_theme_changed), (ephy_spinner_load_images), (ephy_spinner_finalize): * src/ephy-shell.c: (ephy_shell_init): Use gtkicontheme, and use it also for mime icons.
* Fix #123176. Use response instead of connecting 210 callbacks.Marco Pesenti Gritti2003-09-251-20/+25
| | | | | | | | | | 2003-09-25 Marco Pesenti Gritti <marco@gnome.org> * data/glade/epiphany.glade: * embed/mozilla/ContentHandler.cpp: Fix #123176. Use response instead of connecting 210 callbacks.
* Added in support to allow Mozilla 1.4.1 to be used for Epiphany compile.Patanjali Somayaji2003-09-141-3/+3
|
* Sync with Moz HEAD.Xan Lopez2003-08-111-2/+5
| | | | Sync with Moz HEAD.
* Api resync and cleanup from galeon.Marco Pesenti Gritti2003-07-061-5/+10
| | | | | | | | | | 2003-07-05 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * src/prefs-dialog.c: (setup_font_menu): Api resync and cleanup from galeon.
* Remove use of acconfig.h.Marco Pesenti Gritti2003-07-041-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-07-04 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: Remove use of acconfig.h. * embed/ephy-embed-shell.c: (ephy_embed_shell_get_embed_single): * embed/ephy-embed-single.c: * embed/ephy-embed-single.h: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/EphyWrapper.cpp: * embed/mozilla/Makefile.am: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/MozRegisterComponents.h: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed-single.h: * src/bookmarks/ephy-bookmarks-import.c: (bookmark_add), (xbel_parse_folder), (ephy_bookmarks_import_mozilla): * src/ephy-shell.c: (ephy_shell_init): Show an alert when mozilla cant start instead of crashing. Do not import bookmarks dups. Cleanup some mozilla code headers inclusion.
* Sync with Moz Head, small cleanup.Xan Lopez2003-07-041-4/+4
| | | | Sync with Moz Head, small cleanup.
* Remember the directory when saving files. Fixes #115603.James Willcox2003-06-301-22/+30
| | | | | | | | 2003-06-29 James Willcox <jwillcox@gnome.org> * embed/mozilla/ContentHandler.cpp: Remember the directory when saving files. Fixes #115603.
* Fix Open, typo.Marco Pesenti Gritti2003-05-111-1/+1
| | | | | | | | 2003-05-10 Marco Pesenti Gritti <marco@it.gnome.org> * embed/mozilla/ContentHandler.cpp: Fix Open, typo.
* *** empty log message ***Marco Pesenti Gritti2003-04-121-26/+0
|
* 0.4.2 Release. Switch configure.in to 0.5.0.Marco Pesenti Gritti2003-01-121-1/+0
| | | | | | | | | | | | | | 2003-01-12 Marco Pesenti Gritti <marco@it.gnome.org> * configure.in: 0.4.2 Release. Switch configure.in to 0.5.0. * embed/mozilla/ContentHandler.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-embed.cpp: Remove some stupid printf.
* Initial revisionMarco Pesenti Gritti2002-12-311-0/+671