aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-dbus.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove ephy-glib-compat.h, since we depend on a newer glib nowXan Lopez2009-08-121-1/+0
|
* Remove $Id$ marker from source files.Xan Lopez2009-01-161-1/+0
| | | | svn path=/trunk/; revision=8695
* Use G_DEFINE_TYPE* when possible in src/ (#515601)Xan Lopez2008-02-111-53/+24
| | | | svn path=/trunk/; revision=7927
* Correct FSF address. Bug #409075, patch by John Millikin.RELEASE_2_18_0GNOME_2_18_BRANCHPOINTChristian Persch2007-03-121-1/+1
| | | | | | | | | | 2007-03-11 Christian Persch <chpe@gnome.org> * *: Correct FSF address. Bug #409075, patch by John Millikin. svn path=/trunk/; revision=6952
* Fix error condition check.Christian Persch2007-01-291-1/+1
| | | | | | | | | | 2007-01-28 Christian Persch <chpe@svn.gnome.org> * src/ephy-dbus.c: (ephy_dbus_connect_to_session_bus): Fix error condition check. svn path=/trunk/; revision=6862
* Utilize GLib's new g_timeout_add_seconds to reduce context switches andDiego Escalante Urrelo2007-01-031-3/+4
| | | | | | | | | | | | | | | | | | | 2007-01-03 Diego Escalante Urrelo <diegoe@svn.gnome.org> * embed/ephy-favicon-cache.c: (ephy_favicon_cache_init): * embed/ephy-history.c: (ephy_history_init): * lib/Makefile.am: * lib/ephy-glib-compat.h: * src/bookmarks/ephy-bookmarks.c: (ephy_bookmarks_save_delayed): * src/ephy-dbus.c: (session_filter_func), (system_filter_func): * src/ephy-extensions-manager.c: (reload_cb): * src/ephy-session.c: (confirm_shutdown_cb): Utilize GLib's new g_timeout_add_seconds to reduce context switches and improve CPU/power efficiency. Patch by Chris Wilson. svn path=/trunk/; revision=6783
* Don't try to close shared dbus connections. This avoids dbus warnings onWouter Bolsterlee2006-10-181-12/+2
| | | | | | | | 2006-10-18 Wouter Bolsterlee <wbolster@gnome.org> * src/ephy-dbus.c: (ephy_dbus_shutdown): Don't try to close shared dbus connections. This avoids dbus warnings on quit. Fixes bug #358007.
* Use UTF-8 copyright symbolChristian Persch2006-09-131-2/+2
|
* Remove some unnecessary static data.Christian Persch2006-09-071-1/+1
| | | | | | | | 2006-09-06 Christian Persch <chpe@cvs.gnome.org> * *.c *.cpp: Remove some unnecessary static data.
* Don't crash when we cannot connect to the system dbus. Bug #336557.Christian Persch2006-04-031-5/+18
| | | | | | | | | | | 2006-04-03 Christian Persch <chpe@cvs.gnome.org> * src/ephy-dbus.c: (ephy_dbus_get_bus): * src/ephy-net-monitor.c: (ephy_net_monitor_check_for_active_device), (ephy_net_monitor_attach_to_dbus), (ephy_net_monitor_startup): Don't crash when we cannot connect to the system dbus. Bug #336557.
* Don't try to connect to the session bus when we're starting a privateChristian Persch2006-03-031-8/+10
| | | | | | | | | 2006-03-02 Christian Persch <chpe@cvs.gnome.org> * src/ephy-dbus.c: (_ephy_dbus_startup): Don't try to connect to the session bus when we're starting a private instance.
* Only claim the DBUS name when not running as private instance.Christian Persch2006-02-031-3/+53
| | | | | | | | | | | | 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-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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:
* Remove unused NM code. Misc cleanups.Christian Persch2006-01-281-91/+42
| | | | | | | | | | | | 2006-01-27 Christian Persch <chpe@cvs.gnome.org> * 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): * src/ephy-dbus.h: Remove unused NM code. Misc cleanups.
* Run the main loop until the reply is received when activating a runningChristian Persch2006-01-251-0/+1
| | | | | | | | | | | | | | 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.
* Use DBUS_NAME_FLAG_DO_NOT_QUEUE when requesting the name, and also handleChristian Persch2006-01-241-8/+11
| | | | | | | | | 2006-01-24 Christian Persch <chpe@cvs.gnome.org> * src/ephy-dbus.c: (ephy_dbus_connect_to_session_bus): Use DBUS_NAME_FLAG_DO_NOT_QUEUE when requesting the name, and also handle unexpected request return values.
* Removed add-bookmark and import-bookmarks functions, and changed load-urlChristian Persch2006-01-241-0/+2
| | | | | | | | | | | | | | | | | | | 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-127/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Add guards to avoid crashing on exit if system bus isn't running. FixesCrispin Flowerday2006-01-221-9/+17
| | | | | | | | | 2006-01-22 Crispin Flowerday <gnome@flowerday.cx> * src/ephy-dbus.c (ephy_dbus_shutdown): Add guards to avoid crashing on exit if system bus isn't running. Fixes bug #327845
* Remove both session/system filters before finalizing EphyDbus object. FixJean-François Rameau2006-01-221-0/+7
| | | | | | | | | 2006-01-22 Jean-François Rameau <jframeau@cvs.gnome.org> * src/ephy-dbus.c: (ephy_dbus_shutdown): Remove both session/system filters before finalizing EphyDbus object. Fix #327845.
* Fix compiler warnings.Jean-François Rameau2006-01-121-1/+1
| | | | | | | | 2006-01-12 Jean-François Rameau <jframeau@cvs.gnome.org> * src/ephy-dbus.c: (ephy_dbus_connect_to_session_bus): Fix compiler warnings.
* src/ephy-dbus.c (ephy_dbus_connect_to_session_bus)Crispin Flowerday2006-01-041-1/+1
| | | | | | | | | 2006-01-03 Crispin Flowerday <gnome@flowerday.cx> * src/ephy-dbus.c (ephy_dbus_connect_to_session_bus) Fix the arguments to the dbus_connection_set_exit_on_disconnect call for the session bus.
* Tell dbus not to exit the application if the bus disconnects.Crispin Flowerday2006-01-041-0/+8
| | | | | | | | 2006-01-03 Crispin Flowerday <gnome@flowerday.cx> * src/ephy-dbus.c (ephy_dbus_connect_to_session_bus): Tell dbus not to exit the application if the bus disconnects.
* Fix compilation with DBUS 0.6 (DBUS_NAME_FLAG_PROHIBIT_REPLACEMENTJean-François Rameau2006-01-031-0/+5
| | | | | | | | 2006-01-03 Jean-François Rameau <jframeau@cvs.gnome.org> * src/ephy-dbus.c: (ephy_dbus_connect_to_session_bus): Fix compilation with DBUS 0.6 (DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT constant removed).
* R data/GNOME_Epiphany_Automation.server.in: A data/epiphany-service.xml: AChristian Persch2006-01-031-0/+469
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.