aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-main.c
Commit message (Collapse)AuthorAgeFilesLines
* No need to double-init gnome-vfs.Christian Persch2006-07-241-1/+0
| | | | | | | | 2006-07-23 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): No need to double-init gnome-vfs.
* Add -p as short option format for --private-instance.Christian Persch2006-04-141-1/+1
| | | | | | | | 2006-04-13 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: Add -p as short option format for --private-instance.
* A data/epiphany-pango.schemas:Christian Persch2006-04-101-6/+17
| | | | | | | | | | | | 2006-04-09 Christian Persch <chpe@cvs.gnome.org> * data/Makefile.am: A data/epiphany-pango.schemas: * lib/ephy-prefs.h: * src/ephy-main.c: (main): Enable pango for some indic languages, which depend on it for correct rendering. Bug #335799.
* Drop compat code for libgnome < 2.14. Fix refcount leak.Christian Persch2006-03-241-86/+12
| | | | | | | | | | 2006-03-23 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * src/ephy-main.c: (main): Drop compat code for libgnome < 2.14. Fix refcount leak.
* If we can't detect the mime type, fall back to checking the fileChristian Persch2006-03-031-3/+67
| | | | | | | | | | | | | 2006-03-02 Christian Persch <chpe@cvs.gnome.org> * src/bookmarks/ephy-bookmarks-import.c: (ephy_bookmarks_import): If we can't detect the mime type, fall back to checking the file extension. Bug #331468. * src/ephy-main.c: (main): Don't pass NULL to realpath if PATH_MAX is defined. Bug #333051.
* Move --private-instance out of debug #ifdef.Christian Persch2006-02-141-8/+23
| | | | | | | | | | | | 2006-02-14 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: (ephy_file_helpers_init), (ephy_file_helpers_shutdown), (ephy_file_delete_on_exit), (ephy_file_monitor_cancel), (ephy_file_delete_directory): * lib/ephy-file-helpers.h: * src/ephy-main.c: (main): Move --private-instance out of debug #ifdef.
* Fix handling of non-ascii extra arguments.Christian Persch2006-02-071-8/+33
| | | | | | | | 2006-02-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Fix handling of non-ascii extra arguments.
* Fix opening of local files. Bug #330104.Christian Persch2006-02-061-29/+35
| | | | | | | | 2006-02-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (open_urls), (queue_commands), (main): Fix opening of local files. Bug #330104.
* Free the option context on error too, and don't duplicate theChristian Persch2006-02-041-3/+3
| | | | | | | | | 2006-02-03 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Free the option context on error too, and don't duplicate the private-instance option.
* Fix non-debug builds.Christian Persch2006-02-031-4/+5
| | | | | | | | 2006-02-03 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: Fix non-debug builds.
* Only claim the DBUS name when not running as private instance.Christian Persch2006-02-031-3/+7
| | | | | | | | | | | | 2006-02-03 Christian Persch <chpe@cvs.gnome.org> * src/ephy-dbus.c: (ephy_dbus_connect_to_session_bus), (ephy_dbus_get_property), (ephy_dbus_set_property), (ephy_dbus_class_init), (_ephy_dbus_startup): * src/ephy-dbus.h: * src/ephy-main.c: (main): Only claim the DBUS name when not running as private instance.
* Queue commands received from the main and remote instances, and processChristian Persch2006-02-021-150/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-02-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-session.c: (save_yourself_cb), (die_cb), (session_command_free), (session_command_find), (resume_dialog_response_cb), (resume_dialog_weak_ref_cb), (session_command_autoresume), (session_command_open_bookmarks_editor), (session_command_open_uris), (session_command_dispatch), (session_command_queue_next), (session_command_queue_clear), (ephy_session_init), (ephy_session_dispose), (ephy_session_finalize), (ephy_session_close), (ephy_session_load), (ephy_session_get_active_window), (ephy_session_queue_command): * src/ephy-session.h: * src/ephy-main.c: (unref_proxy_reply_cb), (open_urls), (call_dbus_proxy), (queue_commands), (main): Queue commands received from the main and remote instances, and process them after autoresume has completed. Bug #328286. * data/epiphany-service.xml: * lib/ephy-file-helpers.c: (ephy_file_helpers_init): * lib/ephy-file-helpers.h: * src/ephy-activation.c: (session_queue_command), (ephy_activation_load_uri_list), (ephy_activation_load_session), (ephy_activation_open_bookmarks_editor): * src/ephy-activation.h: * src/ephy-dbus.c: * src/ephy-dbus.h: * src/epiphany.defs:
* Change the DBUS interface to sending all the uris at one as string array.Christian Persch2006-02-011-35/+20
| | | | | | | | | | | | 2006-01-31 Christian Persch <chpe@cvs.gnome.org> * data/epiphany-service.xml: * src/ephy-activation.c: (ephy_activation_load_uris): * src/ephy-activation.h: * src/ephy-main.c: (unref_proxy_reply_cb), (open_urls): Change the DBUS interface to sending all the uris at one as string array.
* Idle unref the dbus proxy in case we didn't call any remote methods; andChristian Persch2006-01-311-5/+10
| | | | | | | | | | 2006-01-30 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (open_urls), (call_dbus_proxy): Idle unref the dbus proxy in case we didn't call any remote methods; and ref the dbus proxy for each call + one idle unref for each URL remoted.
* Fix strings again. Bug #328747.Christian Persch2006-01-291-38/+38
| | | | | | | | | 2006-01-29 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: * src/ephy-main.c: Fix strings again. Bug #328747.
* Jan 29 2006 Reinout van Schouwen <reinout@cs.vu.nl>Reinout van Schouwen2006-01-291-39/+39
| | | | | | * Jan 29 2006 Reinout van Schouwen <reinout@cs.vu.nl> * src/ephy-main.c: change 'Epiphany' to 'browser' in 2 strings
* Disable pango rendering by default, unless MOZ_ENABLE_PANGO env var isChristian Persch2006-01-281-36/+35
| | | | | | | | | 2006-01-27 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Disable pango rendering by default, unless MOZ_ENABLE_PANGO env var is set. Bug #328844.
* Don't leak the option context.Christian Persch2006-01-261-0/+21
| | | | | | | | 2006-01-25 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Don't leak the option context.
* Run the main loop until the reply is received when activating a runningChristian Persch2006-01-251-6/+15
| | | | | | | | | | | | | | 2006-01-24 Christian Persch <chpe@cvs.gnome.org> * lib/ephy-file-helpers.c: (ephy_dot_dir), (ephy_file_helpers_init): * lib/ephy-file-helpers.h: * src/ephy-dbus.c: * src/ephy-main.c: (unref_proxy_reply_cb), (open_urls), (main): Run the main loop until the reply is received when activating a running instance. Fixes URL opening with two concurrently starting instance.
* Fix compilation with libgnome 2.13. Bug #328351.Christian Persch2006-01-241-4/+0
| | | | | | | | 2006-01-23 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: Fix compilation with libgnome 2.13. Bug #328351.
* Removed add-bookmark and import-bookmarks functions, and changed load-urlChristian Persch2006-01-241-22/+30
| | | | | | | | | | | | | | | | | | | 2006-01-23 Christian Persch <chpe@cvs.gnome.org> * data/epiphany-service.xml: * src/ephy-activation.c: (ephy_activation_load_url), (ephy_activation_open_bookmarks_editor): * src/ephy-activation.h: Removed add-bookmark and import-bookmarks functions, and changed load-url to use an options string instead of loads of booleans. * src/ephy-main.c: (unref_proxy_reply_cb), (open_urls), (call_dbus_proxy): Adapt to changed dbus call signatures. Fixes open-in-new-tab/window from cmd line.
* Add a GError** to ephy_file_helpers_init and ephy_ensure_dir_exists, so weChristian Persch2006-01-241-131/+497
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-23 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: * lib/ephy-file-helpers.c: (ephy_file_helpers_init), (ephy_ensure_dir_exists): * lib/ephy-file-helpers.h: Add a GError** to ephy_file_helpers_init and ephy_ensure_dir_exists, so we can show the error to the user in main(). * src/ephy-dbus.c: (ephy_dbus_connect_to_session_bus_cb), (ephy_dbus_connect_to_system_bus_cb), (session_filter_func), (system_filter_func), (ephy_dbus_connect_to_system_bus), (ephy_dbus_connect_to_session_bus), (ephy_dbus_shutdown), (ephy_dbus_finalize), (ephy_dbus_get_type), (ephy_dbus_get_default), (ephy_dbus_get_bus), (ephy_dbus_get_proxy), (_ephy_dbus_startup), (_ephy_dbus_release), (_ephy_dbus_is_name_owner): * src/ephy-dbus.h: Refactored. Propagate errors to callers via GError**, and change lifecycle to the app lifetime. * src/ephy-lockdown.c: (ephy_lockdown_init), (ephy_lockdown_finalize): Move gconf notification add/remove for the lockdown key dirs here from main(). * src/ephy-shell.c: (ephy_shell_dispose), (_ephy_shell_create_instance): * src/ephy-shell.h: * src/epiphany.defs: Remove ephy_shell_startup and related stuff. * src/ephy-main.c: (handle_url), (handle_email), (shell_weak_notify), (dbus_g_proxy_finalized_cb), (save_yourself_cb), (die_cb), (gnome_session_init), (path_from_command_line_arg), (open_urls), (call_dbus_proxy), (show_error_message), (main): Move all startup code to main(), so we can show errors to the user instead of crashing when things go wrong. Part of bug #326807.
* Fix compile with libgnome HEAD.Christian Persch2006-01-171-0/+2
| | | | | | | | 2006-01-17 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: Fix compile with libgnome HEAD.
* R src/ephy-automation.h:Crispin Flowerday2006-01-041-1/+0
| | | | | | | | | | | 2006-01-03 Crispin Flowerday <gnome@flowerday.cx> * configure.ac: * src/ephy-main.c: R src/ephy-automation.h: Remove various references to bonobo, ephy is now officially monkey free!
* R data/GNOME_Epiphany_Automation.server.in: A data/epiphany-service.xml: AChristian Persch2006-01-031-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-02 Christian Persch <chpe@cvs.gnome.org> * Makefile.am: * autogen.sh: * configure.ac: R data/GNOME_Epiphany_Automation.server.in: * data/Makefile.am: A data/epiphany-service.xml: A data/org.gnome.Epiphany.service.in: * doc/reference/Makefile.am: R idl/.cvsignore: R idl/EphyAutomation.idl: R idl/Makefile.am: * lib/Makefile.am: R lib/ephy-dbus.c: R lib/ephy-dbus.h: * lib/ephy-file-helpers.c: (ephy_file_launch_application): * src/Makefile.am: A src/ephy-activation.c: A src/ephy-activation.h: A src/ephy-dbus.c: A src/ephy-dbus.h: * src/ephy-main.c: (main): * src/ephy-shell.c: (ephy_shell_init), (open_urls), (dbus_g_proxy_finalized_cb), (ephy_shell_startup), (ephy_shell_dispose): Bonobo is dead; long live the Bonobos! Patch by Gustavo Gama, bug #322463.
* Update about dialogue.Christian Persch2005-08-011-4/+9
| | | | | | | | | | 2005-07-31 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): * src/window-commands.c: (window_cmd_view_stop), (window_cmd_help_about): Update about dialogue.
* EphyCookie's expires field is now of time_t type (fixes gcc 4.0 warning).Jean-François Rameau2005-07-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | 2005-07-03 Jean-François Rameau <jframeau@cvs.gnome.org> * embed/ephy-cookie-manager.h: EphyCookie's expires field is now of time_t type (fixes gcc 4.0 warning). * embed/ephy-favicon-cache.c: * lib/ephy-file-helpers.c: * lib/ephy-langs.c: * lib/ephy-node-db.c: * lib/ephy-node.c: * lib/ephy-state.c: * lib/egg/eggtraymanager.c: * src/ephy-extensions-manager.c: * src/ephy-main.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-window.c: Fixes more signed/unsigned problems with gcc 4.0.
* Common helper function to unref a GObject from idle.Christian Persch2005-06-111-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | 2005-06-10 Christian Persch <chpe@cvs.gnome.org> * lib/Makefile.am: * lib/ephy-object-helpers.c: * lib/ephy-object-helpers.h: Common helper function to unref a GObject from idle. * embed/downloader-view.c: (downloader_view_finalize): * embed/mozilla/mozilla-embed-find.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/ephy-extensions-manager.c: (unload_extension): * src/ephy-main.c: (main): * src/ephy-shell.c: (toolwindow_hide_cb): * src/ephy-window.c: (ephy_window_finalize): Always unref the shell from idle, never directly. That's because in case we hold the last reference, we would end up terminating embedding/XPCOM from a mozilla callback. Fixes bug #151037, and moz#236688.
* Change string passed to gnome_program_init() as human readable programChristian Persch2005-05-111-1/+1
| | | | | | | | | 2005-05-11 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Change string passed to gnome_program_init() as human readable program name.
* More constification.Christian Persch2005-04-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | 2005-04-19 Christian Persch <chpe@cvs.gnome.org> * lib/egg/egg-editable-toolbar.c: (create_dock): * lib/egg/egg-toolbar-editor.c: (editor_create_item), (update_editor_sheet): * lib/ephy-file-helpers.c: (ephy_file): * lib/widgets/ephy-location-entry.c: (ephy_location_entry_construct_contents): * lib/widgets/ephy-node-view.c: (ephy_node_view_enable_drag_dest), (ephy_node_view_enable_drag_source): * lib/widgets/ephy-node-view.h: * src/ephy-encoding-menu.c: (ephy_encoding_menu_set_window): * src/ephy-history-window.c: (ephy_history_window_construct): * src/ephy-main.c: * src/ephy-notebook.c: (ephy_notebook_init), (ephy_notebook_add_tab): * src/ppview-toolbar.c: * src/window-commands.c: (window_cmd_help_about): More constification.
* NULL check. Fixes bug #165999.Christian Persch2005-03-011-0/+57
| | | | | | | | | | | | | 2005-02-28 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/MozDownload.cpp: NULL check. Fixes bug #165999. * src/ephy-main.c: (slowly_and_stupidly_obtain_timestamp), (main): Try to get an approximation to the launch time if DESKTOP_STARTUP_ID is not set. Fixes bug #168820, patch by Elijah Newren.
* Define variants with startup ID.Christian Persch2005-02-021-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-02-02 Christian Persch <chpe@cvs.gnome.org> * idl/EphyAutomation.idl: Define variants with startup ID. * lib/ephy-gui.c: (ephy_gui_window_update_user_time): * lib/ephy-gui.h: * src/bookmarks/ephy-bookmarks.c: (redirect_cb): * src/ephy-automation.c: (impl_ephy_automation_loadUrlWithStartupId), (impl_ephy_automation_loadurl), (impl_ephy_automation_addBookmark), (impl_ephy_automation_importBookmarks), (impl_ephy_automation_loadSessionWithStartupId), (impl_ephy_automation_loadSession), (impl_ephy_automation_openBookmarksEditorWithStartupId), (impl_ephy_automation_openBookmarksEditor), (ephy_automation_class_init): * src/ephy-main.c: (get_startup_id), (main): * src/ephy-session.c: (offer_to_resume), (ephy_session_autoresume), (ephy_session_load): * src/ephy-session.h: * src/ephy-shell.c: (open_urls), (ephy_shell_startup), (ephy_shell_new_tab_full), (ephy_shell_new_tab): * src/ephy-shell.h: Implement startup ID forwarding to the already-running ephy instance. Part of bug #150085.
* Don't assign to ephy_shell global variable, that's already done in itsChristian Persch2005-02-021-1/+2
| | | | | | | | | 2005-02-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Don't assign to ephy_shell global variable, that's already done in its constructor.
* Don't weak ref the shell when it's finalised already. Fixes bug #165542.Christian Persch2005-02-021-1/+1
| | | | | | | | | | 2005-02-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): * src/ephy-shell.c: (ephy_shell_finalize): Don't weak ref the shell when it's finalised already. Fixes bug #165542.
* Fix email links by prepending mailto: before calling gnome_vfs_url_show().Christian Persch2004-12-181-1/+5
| | | | | | | | | 2004-12-17 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (handle_email): Fix email links by prepending mailto: before calling gnome_vfs_url_show().
* Use gtk_show_about_dialog(), and handle urls and mailto.Adam Hooper2004-12-181-0/+23
|
* A data/epiphany-bookmarks-html.xsl:Christian Persch2004-12-071-0/+1
| | | | | | | | | | | | | | | | | 2004-12-06 Christian Persch <chpe@cvs.gnome.org> * configure.ac: * data/Makefile.am: A data/epiphany-bookmarks-html.xsl: * data/ui/epiphany-bookmark-editor-ui.xml: * src/bookmarks/ephy-bookmarks-editor.c: (cmd_bookmarks_export), (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-bookmarks-export.c: (write_rdf), (ephy_bookmarks_export_rdf), (ephy_bookmarks_export_mozilla): * src/bookmarks/ephy-bookmarks-export.h: * src/ephy-main.c: (main): Add bookmarks export to bookmarks editor. Fixes bug #157745.
* Add deprecated defines to AM_CPPFLAGS in maintainer-mode.Christian Persch2004-12-011-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-01 Christian Persch <chpe@cvs.gnome.org> * configure.ac: Add deprecated defines to AM_CPPFLAGS in maintainer-mode. * doc/reference/Makefile.am: * embed/Makefile.am: * embed/mozilla/Makefile.am: * lib/Makefile.am: * lib/egg/Makefile.am: * lib/egg/eggintl.h: * lib/widgets/Makefile.am: * src/Makefile.am: * src/bookmarks/Makefile.am: INCLUDES is deprecated, use AM_CPPFLAGS and AM_CFLAGS instead. * lib/eel-gconf-extensions.c: (eel_gconf_client_get_global): Removed usage of deprecated gconf API. * src/ephy-main.c: (main): Removed usage of deprecated glade API.
* Don't unref, then weak ref, then enter main loop; this won't work whenChristian Persch2004-11-111-2/+8
| | | | | | | | | | 2004-11-11 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (idle_unref), (main): Don't unref, then weak ref, then enter main loop; this won't work when refcount was 1. Instead weakref and unref on idle. Fixes bug #136170.
* We always have config.h, no need to guard its inclusion.Christian Persch2004-11-031-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-11-02 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.c: * embed/ephy-command-manager.c: * embed/ephy-cookie-manager.c: * embed/ephy-download.c: * embed/ephy-embed-dialog.c: * embed/ephy-embed-event.c: * embed/ephy-embed-factory.c: * embed/ephy-embed-persist.c: * embed/ephy-embed-shell.c: * embed/ephy-embed-single.c: * embed/ephy-embed.c: * embed/ephy-encodings.c: * embed/ephy-favicon-cache.c: * embed/ephy-history.c: * embed/ephy-password-manager.c: * embed/ephy-permission-manager.c: * embed/find-dialog.c: * embed/mozilla/ContentHandler.cpp: * embed/mozilla/ContentHandler.h: * embed/mozilla/EphyAboutRedirector.cpp: * embed/mozilla/EphyBrowser.cpp: * embed/mozilla/EphyBrowser.h: * embed/mozilla/EphyContentPolicy.cpp: * embed/mozilla/EphyHeaderSniffer.cpp: * embed/mozilla/EphySingle.cpp: * embed/mozilla/EphyUtils.cpp: * embed/mozilla/EventContext.cpp: * embed/mozilla/FilePicker.cpp: * embed/mozilla/GlobalHistory.cpp: * embed/mozilla/GtkNSSClientAuthDialogs.cpp: * embed/mozilla/GtkNSSDialogs.cpp: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/MozDownload.cpp: * embed/mozilla/MozDownload.h: * embed/mozilla/MozRegisterComponents.cpp: * embed/mozilla/PrintingPromptService.cpp: * embed/mozilla/mozilla-download.cpp: * embed/mozilla/mozilla-embed-event.cpp: * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed-single.cpp: * embed/mozilla/mozilla-embed.cpp: * embed/mozilla/mozilla-notifiers.cpp: * embed/print-dialog.c: * lib/eel-gconf-extensions.c: * lib/egg/egg-editable-toolbar.c: * lib/egg/egg-toolbars-model.c: * lib/ephy-debug.c: * lib/ephy-debug.h: * lib/ephy-dialog.c: * lib/ephy-dnd.c: * lib/ephy-file-chooser.c: * lib/ephy-file-helpers.c: * lib/ephy-glade.c: * lib/ephy-gui.c: * lib/ephy-langs.c: * lib/ephy-loader.c: * lib/ephy-module.c: * lib/ephy-node-db.c: * lib/ephy-node-filter.c: * lib/ephy-node.c: * lib/ephy-shlib-loader.c: * lib/ephy-state.c: * lib/ephy-stock-icons.c: * lib/ephy-string.c: * lib/ephy-zoom.c: * lib/widgets/ephy-location-entry.c: * lib/widgets/ephy-node-view.c: * lib/widgets/ephy-search-entry.c: * lib/widgets/ephy-spinner.c: * lib/widgets/ephy-tree-model-node.c: * lib/widgets/ephy-tree-model-sort.c: * lib/widgets/ephy-zoom-action.c: * lib/widgets/ephy-zoom-control.c: * src/bookmarks/ephy-bookmark-action.c: * src/bookmarks/ephy-bookmark-properties.c: * src/bookmarks/ephy-bookmarks-editor.c: * src/bookmarks/ephy-bookmarks-export.c: * src/bookmarks/ephy-bookmarks-import.c: * src/bookmarks/ephy-bookmarks-menu.c: * src/bookmarks/ephy-bookmarks.c: * src/bookmarks/ephy-bookmarksbar-model.c: * src/bookmarks/ephy-bookmarksbar.c: * src/bookmarks/ephy-favorites-menu.c: * src/bookmarks/ephy-new-bookmark.c: * src/bookmarks/ephy-topic-action.c: * src/bookmarks/ephy-topics-selector.c: * src/ephy-automation.c: * src/ephy-completion-model.c: * src/ephy-encoding-dialog.c: * src/ephy-encoding-menu.c: * src/ephy-extension.c: * src/ephy-extensions-manager.c: * src/ephy-favicon-action.c: * src/ephy-go-action.c: * src/ephy-history-window.c: * src/ephy-location-action.c: * src/ephy-main.c: * src/ephy-navigation-action.c: * src/ephy-notebook.c: * src/ephy-session.c: * src/ephy-shell.c: * src/ephy-statusbar.c: * src/ephy-tab.c: * src/ephy-tabs-menu.c: * src/ephy-toolbars-model.c: * src/ephy-window.c: * src/pdm-dialog.c: * src/popup-commands.c: * src/ppview-toolbar.c: * src/prefs-dialog.c: * src/toolbar.c: * src/window-commands.c: We always have config.h, no need to guard its inclusion.
* Use gtk_window_set_default_icon_name().Christian Persch2004-10-021-1/+4
| | | | | | | | | 2004-10-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): * src/ephy-window.c: (ephy_window_init): Use gtk_window_set_default_icon_name().
* Merging pre-gnome-2-10 branch to HEAD.Christian Persch2004-09-131-8/+0
| | | | | | | | 2004-09-13 Christian Persch <chpe@cvs.gnome.org> Merging pre-gnome-2-10 branch to HEAD. Splitting ChangeLog.
* Move g_set_application_name() call after gnome_program_init(),Christian Persch2004-08-021-1/+2
| | | | | | | | 2004-08-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Move g_set_application_name() call after gnome_program_init(),
* Persist changed accels with gnome_accelerator_sync().Christian Persch2004-03-061-0/+2
| | | | | | | | 2004-03-06 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Persist changed accels with gnome_accelerator_sync().
* Depend on libxml2 >= 2.6.6 because of bug #133298 and bug # 131548.Christian Persch2004-02-131-1/+9
| | | | | | | | | | | | 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.
* Implement print and print setup disabling for lockdown mode.Christopher James Lahey2004-01-111-0/+3
| | | | | | | | | | | | 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.
* *** empty log message ***Marco Pesenti Gritti2003-12-171-2/+0
|
* Marco Pesenti Gritti <marco@gnome.org>Chris Lahey2003-11-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-30 Chris Lahey <clahey@ximian.com> Marco Pesenti Gritti <marco@gnome.org> * data/Makefile.am: * data/epiphany-lockdown.schemas.in: * src/ephy-main.c: (main): * src/ephy-tab.c: (ephy_tab_new_window_cb), (ephy_tab_size_to_cb): * src/ephy-window.c: (update_chromes_visibility), (update_chrome), (ephy_window_fullscreen), (ephy_window_unfullscreen), (show_embed_popup), (update_layout_toggles), (chrome_notifier), (ephy_window_init), (ephy_window_finalize), (ephy_window_request_chrome), (ephy_window_set_print_preview), (ephy_window_show), (print_dialog_preview_cb): * src/ephy-window.h: * src/ppview-toolbar.c: (ppview_toolbar_set_window), (toolbar_cmd_ppv_close): * src/window-commands.c: (window_cmd_view_bookmarks_bar), (window_cmd_view_toolbar), (window_cmd_view_statusbar): Implement lockdown pref to not allow javascript to modify chromes. Do necessary changes to chromes code to make it possible.
* Use an unique factory for both interfaces.Marco Pesenti Gritti2003-11-151-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-14 Marco Pesenti Gritti <marco@gnome.org> * data/GNOME_Epiphany_Automation.server.in: * data/GNOME_Epiphany_NautilusView.server.in: Use an unique factory for both interfaces. * data/ui/Makefile.am: Do not try to merge translations in nautilus xml. * src/ephy-nautilus-view.c: (disconnected_idle), (control_disconnected_cb), (ephy_nautilus_view_instance_init), (ephy_nautilus_view_finalize): Unref the view on control disconnected, not on finalize. * src/ephy-main.c: (main): Add a server mode argument, used internally by bonobo interface. Free popt context only when no more necessary. * src/ephy-automation.c: * src/ephy-automation.h: * src/ephy-shell.c: (ephy_nautilus_view_new), (ephy_automation_factory_cb), (ephy_automation_factory_new), (ephy_shell_init), (path_from_command_line_arg), (open_urls), (server_timeout), (ephy_shell_startup), (ephy_shell_finalize), (ephy_shell_new_tab): * src/ephy-shell.h: When running in server mode unref (and so exit) on a timeout. Expand args passed to the command line.
* Rework shell services initialization so that it happen either on everyMarco Pesenti Gritti2003-11-141-0/+20
| | | | | | | | | | | | | | | | | | 2003-11-13 Marco Pesenti Gritti <marco@gnome.org> * embed/mozilla/mozilla-notifiers.cpp: * src/ephy-main.c: (main): * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_startup), (ephy_shell_finalize), (ephy_shell_get_session), (ephy_shell_get_extensions_manager): * src/ephy-window.c: (ensure_default_icon), (ephy_window_init): Rework shell services initialization so that it happen either on every instance, before the automation stuff is used, either when they are requested. This appear to fix the crash with two instances runned simultaneously. (Christian I'm not quite sure this is ok for plugins manager, if there are problems let me know.)
* ChangeLogMarco Pesenti Gritti2003-11-131-199/+62
|
* Cleanup session. Persist also history and bookmarks.Marco Pesenti Gritti2003-11-101-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-09 Marco Pesenti Gritti <marco@gnome.org> * embed/ephy-embed.h: * idl/EphyAutomation.idl: * src/ephy-automation.c: (impl_ephy_automation_loadurl), (impl_ephy_automation_open_bookmarks_editor), (ephy_automation_init), (ephy_automation_object_finalize), (ephy_automation_class_init): * src/ephy-completion-model.c: (root_child_removed_cb): * src/ephy-main.c: (ephy_main_start): * src/ephy-shell.c: (ephy_shell_get_active_window), (toolwindow_show_cb), (toolwindow_hide_cb), (ephy_shell_get_bookmarks_editor), (ephy_shell_get_history_window): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_net_state_cb), (ephy_tab_size_to_cb): * src/ephy-window.c: (remove_from_session), (ephy_window_init): * src/session.c: (session_autoresume), (session_close), (session_dispose), (save_window_geometry), (save_tool_window), (save_ephy_window), (session_save), (session_load), (session_get_windows), (net_stop_cb), (tab_added_cb), (tab_removed_cb), (tabs_reordered_cb), (session_add_window), (session_remove_window), (save_yourself_cb), (session_die_cb), (gnome_session_init), (session_init): * src/session.h: * src/window-commands.c: (window_cmd_go_bookmarks), (window_cmd_go_history): Cleanup session. Persist also history and bookmarks.
* More headers fixup.Marco Pesenti Gritti2003-11-071-3/+3
| | | | | | | | | | | | | 2003-11-06 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-main.c: * src/ephy-shell.c: More headers fixup. * src/window-commands.c: (window_cmd_help_about): Use gtk icon theme here too.
* Change the behaviour of --nautilus-view such that the process doesn't exitMark McLoughlin2003-10-171-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | | 2003-10-16 Mark McLoughlin <mark@skynet.ie> Change the behaviour of --nautilus-view such that the process doesn't exit until the last control has been destroyed. The previous behaviour caused intermittent activation failure when the process timed out and died before the view could be created - bug #124768. * src/ephy-main.c: (ephy_main_start): don't unref the shell when started with --nautilus-view. (ephy_main_dummy_url_argument), (ephy_main_translate_url_arguments): create a dummy argument when no arguments are supplied which will cause the default window to be opened. * src/ephy-shell.c: (ephy_nautilus_view_all_controls_dead): unref the shell here causing the process to exit. (ephy_nautilus_view_init_factory): setup the all_controls_dead callback. (ephy_nautilus_view_new): instrument the control.
* Remove --server mode. It was a dirty hack anyway, and had a crasher whenChristian Persch2003-09-251-17/+2
| | | | | | | | | | | | 2003-09-24 Christian Persch <chpe@cvs.gnome.org> * idl/EphyAutomation.idl: * src/ephy-automation.c: (impl_ephy_automation_quit): * src/ephy-main.c: (ephy_main_start): Remove --server mode. It was a dirty hack anyway, and had a crasher when loggin out from gnome-session. Sort of fixes bug #123047. Flames will be redirected > /dev/null .
* Refactor initialization/automation code. Now all the code used by theMarco Pesenti Gritti2003-09-241-53/+12
| | | | | | | | | | | | | | | 2003-09-23 Marco Pesenti Gritti <marco@gnome.org> * src/ephy-automation.c: (ephy_automation_factory_new): * src/ephy-automation.h: * src/ephy-main.c: (main), (ephy_main_start): * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_finalize): Refactor initialization/automation code. Now all the code used by the first instance is in ephy_shell, all the code used by other instances is in ephy_main. Unref the factory before quitting so we dont risk new automation object are created and used with a dead shell.
* Add an --import-bookmarks command line option, and really implement theChristian Persch2003-09-191-0/+10
| | | | | | | | | | | | | 2003-09-19 Christian Persch <chpe@cvs.gnome.org> * idl/EphyAutomation.idl: * src/ephy-automation.c: (impl_ephy_automation_add_bookmark), (impl_ephy_automation_import_bookmarks), (ephy_automation_class_init): * src/ephy-main.c: (ephy_main_start): Add an --import-bookmarks command line option, and really implement the --add-bookmark one.
* Fix mem leak.Christian Persch2003-08-021-0/+2
| | | | | | | | 2003-08-01 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (main): Fix mem leak.
* Use the browser icon from gnome icon theme. Get rid of cache comparingMarco Pesenti Gritti2003-07-021-5/+17
| | | | | | | | | | | | | | | | | | | | | 2003-07-02 Marco Pesenti Gritti <marco@it.gnome.org> * data/art/Makefile.am: * data/art/epiphany.png: * data/epiphany.desktop.in: * data/epiphany.schemas.in: * data/glade/prefs-dialog.glade: * embed/mozilla/mozilla-notifiers.cpp: * lib/ephy-dialog.c: (ephy_dialog_set_size_group): * lib/ephy-dialog.h: * src/ephy-main.c: (main): * src/prefs-dialog.c: (prefs_dialog_init), (prefs_homepage_blank_button_clicked_cb), (fill_language_editor): * src/window-commands.c: (window_cmd_help_about): Use the browser icon from gnome icon theme. Get rid of cache comparing prefs and rehash prefs pages to make them more specific.
* Remove unused variables.Piers Cornwell2003-06-191-11/+10
| | | | | | | | | | | | | | | | | | 2003-06-18 Piers Cornwell <piersc@cogs.susx.ac.uk> * configure.in: Remove unused variables. * src/ephy-window.c: Add ellipse to Find menu item. * src/ephy-main.c: (ephy_main_start): Use the full program name, mark an error message as translatable and don't print any message on launch when a window is already open.
* Remove --geometry option, we weren't respecting it anyway (this patchXan Lopez2003-04-241-9/+0
| | | | | | Remove --geometry option, we weren't respecting it anyway (this patch patronized by marco's "DropDropDrop" project). Fix Leak.
* Allow to launch the BME alone, rework some CORBA code, add a .desktop fileXan Lopez2003-04-091-0/+10
| | | | | Allow to launch the BME alone, rework some CORBA code, add a .desktop file for the BME. Fixes #102477.
* Add Application NameXan Lopez2003-03-151-0/+1
| | | | Add Application Name
* Make the bookmarks editor remember the last selected keyword, and makeJames Willcox2003-02-071-0/+2
| | | | | | | | | | | | | | | 2003-02-06 James Willcox <jwillcox@gnome.org> * data/epiphany.schemas.in: * lib/ephy-prefs.h: * src/bookmarks/ephy-bookmarks-editor.c: (ephy_bookmarks_editor_class_init), (ephy_bookmarks_editor_dispose), (ephy_bookmarks_editor_construct): * src/bookmarks/ephy-node-view.c: (ephy_node_view_select_node): * src/ephy-main.c: (ephy_main_start): Make the bookmarks editor remember the last selected keyword, and make startup-notification not hang when using the existing instance.
* Rehash link context menu order to be hig compliant. Set a desktop icon.Marco Pesenti Gritti2003-01-101-2/+6
| | | | | | | | | | | | | | 2003-01-09 Marco Pesenti Gritti <marco@it.gnome.org> * data/art/Makefile.am: * data/epiphany.desktop.in: * data/ui/epiphany-ui.xml.in: * embed/ephy-embed-popup.c: (embed_popup_open_link_cmd): * src/ephy-main.c: (main): * src/window-commands.c: (window_cmd_set_charset): Rehash link context menu order to be hig compliant. Set a desktop icon.
* Make GaleonShell inherit from GaleonEmbedShell. Ref the shell when usingMarco Pesenti Gritti2003-01-051-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-01-05 Marco Pesenti Gritti <marco@it.gnome.org> * data/art/Makefile.am: * data/art/epiphany.png: * data/epiphany.schemas.in: * data/glade/epiphany.glade: * embed/downloader-view.c: (downloader_view_init), (downloader_view_finalize): * embed/ephy-embed-favicon.c: (ephy_embed_favicon_set_property): * embed/ephy-embed-shell.c: (ephy_embed_shell_get_impl), (ephy_embed_shell_get_type), (ephy_embed_shell_new): * embed/ephy-embed-shell.h: * embed/ephy-embed-utils.c: (ephy_embed_utils_build_charsets_submenu): * embed/mozilla/mozilla-embed-persist.cpp: * embed/mozilla/mozilla-embed.cpp: * src/appearance-prefs.c: (setup_font_menu): * src/bookmarks/ephy-bookmarks.c: (compute_lower_fav), (ephy_setup_history_notifiers): * src/ephy-main.c: (main): * src/ephy-nautilus-view.c: (ephy_nautilus_view_instance_init): * src/ephy-shell.c: (ephy_shell_get_type), (ephy_shell_init), (ephy_shell_finalize), (build_homepage_url), (ephy_shell_get_autocompletion): * src/ephy-shell.h: * src/ephy-tab.c: (ephy_tab_init), (ephy_tab_location_cb), (ephy_tab_visibility_cb): * src/ephy-window.c: (favicon_cache_changed_cb), (ephy_window_init), (update_favicon_control): * src/general-prefs.c: (create_default_charset_menu): * src/history-dialog.c: (history_dialog_init): * src/pdm-dialog.c: (pdm_dialog_cookie_remove), (pdm_dialog_password_remove), (pdm_dialog_cookies_free), (pdm_dialog_passwords_free), (pdm_dialog_init): * src/prefs-dialog.c: (prefs_clear_memory_cache_button_clicked_cb), (prefs_clear_disk_cache_button_clicked_cb): * src/window-commands.c: (window_cmd_file_open): Make GaleonShell inherit from GaleonEmbedShell. Ref the shell when using the downloader. Use favicons for the window icon when possible. This required to use jimmac icon as default, we still dont have his permission, I'll remove it later if necessary.
* Initial revisionMarco Pesenti Gritti2002-12-311-0/+340