aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-session.h
Commit message (Collapse)AuthorAgeFilesLines
* ephy-session: add can-undo-tab-closed boolean propertyClaudio Saavedra2013-02-081-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=128184
* ephy-session: add API to restore closed tabsClaudio Saavedra2013-02-081-0/+2
| | | | | | | | | We add a queue of closed tabs to EphySession, which is later used to restore them through ephy_session_undo_close_tab(). Based on a patch by Diego Escalante Urrelo <diegoe@igalia.com> https://bugzilla.gnome.org/show_bug.cgi?id=128184
* Move ephy_session_open_uris to EphyShellXan Lopez2013-02-081-5/+0
| | | | | There's no reason at all for this method to be in EphySession, it neither writes nor reads the state of the browser.
* ephy-session: save session in a thread to avoid blocking the UICarlos Garcia Campos2013-01-091-2/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=681832
* ephy-session: Remove ephy_session_queue_command() APICarlos Garcia Campos2013-01-091-7/+0
| | | | | | This is unused now. https://bugzilla.gnome.org/show_bug.cgi?id=641739
* ephy-session: Remove EPHY_SESSION_CMD_OPEN_URISCarlos Garcia Campos2013-01-091-2/+6
| | | | | | | Add ephy_session_open_uris() instead and use it from EphyShell instead of scheduling a command. https://bugzilla.gnome.org/show_bug.cgi?id=641739
* ephy-session: Remove EPHY_SESSION_CMD_MAYBE_OPEN_WINDOW_RESTORECarlos Garcia Campos2013-01-091-2/+0
| | | | It's currently unused.
* ephy-session: Remove EPHY_SESSION_CMD_MAYBE_OPEN_WINDOWCarlos Garcia Campos2013-01-091-1/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=641739
* ephy-session: Add ephy_session_resume() and use it instead of queueing a ↵Carlos Garcia Campos2013-01-091-1/+9
| | | | | | resume command https://bugzilla.gnome.org/show_bug.cgi?id=641739
* ephy-session: Use ephy_session_load() directly instead of queueing a load ↵Carlos Garcia Campos2013-01-091-1/+0
| | | | | | session command https://bugzilla.gnome.org/show_bug.cgi?id=641739
* ephy-session: Load the session asynchronouslyCarlos Garcia Campos2013-01-091-22/+32
| | | | | | | | | Make ephy_session_load() asynchronous and add ephy_session_load_from_stream() to replace ephy_session_load_from_string(). Use a xml sax parser now that is fed from a GInputStream. https://bugzilla.gnome.org/show_bug.cgi?id=681782
* Remove option to launch Web as the bookmarks editorXan Lopez2012-12-101-1/+0
| | | | That thing is on its way out.
* Use gtk_application_get_active_window instead of rolling our ownXan Lopez2012-11-261-2/+0
|
* Move windows handling code from EphySession to EphyShellCarlos Garcia Campos2012-10-081-4/+0
| | | | | | | | | | | | EphyShell is now a GtkApplication that already does window handling, however we want to maintain only the of browser windows. Instead of keeping the window lists in ephy-session, it's easier to override window_added and window_removed virtual methods of GtkApplication and update the browser window lists. Most of the cases where this API was used, had to get the session object from the shell first, now we save this step keeping the code simpler. https://bugzilla.gnome.org/show_bug.cgi?id=641734
* Make sure windows are properly closed when quitting from the shell menuCarlos Garcia Campos2012-09-271-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679844
* ephy-session: do not restore tool windowsXan Lopez2012-09-021-6/+0
| | | | | | | | These windows will lose relevance and disappear gradually, and it does not really make that much sense to restore them with the session now that this happens automatically. https://bugzilla.gnome.org/show_bug.cgi?id=682966
* ephy-session: add a method to load a session from a stringXan Lopez2012-06-141-0/+5
| | | | | And re-write the ephy_session_load method on top of it. We'll use this in our unit tests.
* Mark string parameters in ephy_session_queue_command() as constClaudio Saavedra2011-06-271-1/+1
| | | | | | | ephy_session_queue_command() doesn't take over the strings it receives, so mark these as const for clarity. https://bugzilla.gnome.org/show_bug.cgi?id=622903
* ephy-session: use an infobar to inform the user about session restorationXan Lopez2010-05-031-0/+1
| | | | Much nicer than a modal dialog that blocks the browser initialization.
* ephy-session: move header from .h to .cXan Lopez2009-08-121-2/+0
|
* Remove $Id$ marker from source files.Xan Lopez2009-01-161-1/+0
| | | | svn path=/trunk/; revision=8695
* Do not do single includes for GTK+, bug #536090Diego Escalante Urrelo2008-06-041-1/+1
| | | | svn path=/trunk/; revision=8265
* Add epiphany.h. Only allow including epiphany/epiphany.h; all otherChristian Persch2008-04-121-0/+4
| | | | | | | Add epiphany.h. Only allow including epiphany/epiphany.h; all other headers are internal. svn path=/trunk/; revision=8210
* 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
* Use UTF-8 copyright symbolChristian Persch2006-09-131-3/+3
|
* Queue commands received from the main and remote instances, and processChristian Persch2006-02-021-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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:
* Define variants with startup ID.Christian Persch2005-02-021-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Prefix structs with _.Christian Persch2005-01-091-5/+5
| | | | | | | | | | | | | | | 2005-01-08 Christian Persch <chpe@cvs.gnome.org> * src/ephy-notebook.c: * src/ephy-notebook.h: * src/ephy-session.c: * src/ephy-session.h: * src/ephy-statusbar.c: * src/ephy-statusbar.h: * src/ephy-toolbars-model.c: * src/ephy-toolbars-model.h: Prefix structs with _.
* Complete docs base implementation. Should work more or less.Marco Pesenti Gritti2003-11-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-11-19 Marco Pesenti Gritti <marco@gnome.org> * doc/reference/.cvsignore: * doc/reference/Makefile.am: * doc/reference/epiphany-docs.sgml: * doc/reference/epiphany.types: * doc/reference/tmpl/config.sgml: * doc/reference/tmpl/ephy-session.sgml: * doc/reference/tmpl/ephy-shell.sgml: Complete docs base implementation. Should work more or less. * embed/Makefile.am: * lib/Makefile.am: * src/Makefile.am: Cleanup a bit libs build and use a static lib also for the src/ code so that we can use it for documents. * src/ephy-nautilus-view.c: Bad chpe forgot to modify func signature. 2003-11-19 Christian Persch <chpe@cvs.gnome.org> * embed/downloader-view.h: * embed/ephy-download.h: * embed/ephy-embed-dialog.h: * embed/ephy-embed-event.h: * embed/ephy-embed-persist.h: * embed/ephy-embed-popup-control.h: * embed/ephy-embed-shell.h: * embed/ephy-embed-single.h: * embed/ephy-encodings.h: * embed/ephy-favicon-cache.h: * embed/ephy-history.h: * embed/find-dialog.h: * embed/mozilla/EphyBrowser.h: * embed/mozilla/GtkNSSKeyPairDialogs.cpp: * embed/mozilla/mozilla-download.h: * embed/mozilla/mozilla-embed-persist.h: * embed/mozilla/mozilla-embed-single.h: * embed/print-dialog.h: * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-toolbar-editor.h: * lib/egg/egg-toolbars-model.h: * lib/ephy-debug.h: * lib/ephy-dialog.h: * lib/ephy-dnd.h: * lib/ephy-file-chooser.h: * lib/ephy-node-db.h: * lib/ephy-node-filter.h: * lib/ephy-node.h: * lib/ephy-prefs.h: * lib/ephy-state.h: * lib/ephy-string.h: * lib/ephy-zoom.h: * lib/widgets/ephy-arrow-toolbutton.h: * lib/widgets/ephy-cell-renderer-progress.h: * lib/widgets/ephy-ellipsizing-label.h: * lib/widgets/ephy-location-entry.h: * lib/widgets/ephy-node-view.h: * lib/widgets/ephy-search-entry.h: * lib/widgets/ephy-spinner.h: * lib/widgets/ephy-tree-model-node.h: * lib/widgets/ephy-tree-model-sort.h: * lib/widgets/ephy-zoom-action.h: * lib/widgets/ephy-zoom-control.h: * src/bookmarks/ephy-bookmark-action.h: * src/bookmarks/ephy-bookmark-properties.h: * src/bookmarks/ephy-bookmarks-editor.h: * src/bookmarks/ephy-bookmarks-menu.h: * src/bookmarks/ephy-bookmarks.h: * src/bookmarks/ephy-new-bookmark.h: * src/bookmarks/ephy-topic-action.h: * src/bookmarks/ephy-topics-selector.h: * src/ephy-automation.h: * src/ephy-completion-model.h: * src/ephy-encoding-dialog.h:
* New extensions API.Christian Persch2003-11-111-0/+81
2003-11-10 Christian Persch <chpe@cvs.gnome.org> New extensions API. * Makefile.am: * configure.in: * lib/Makefile.am: * lib/ephy-module-loader.c: (ephy_module_loader_get_type), (ephy_module_loader_new), (ephy_module_loader_load), (ephy_module_loader_unload), (ephy_module_loader_class_init), (ephy_module_loader_init), (ephy_module_loader_finalize), (ephy_module_loader_factory): * lib/ephy-module-loader.h: * plugins/.cvsignore: * plugins/Makefile.am: * plugins/sample/.cvsignore: * plugins/sample/Makefile.am: * plugins/sample/sample.c: * src/Makefile.am: * src/bookmarks/ephy-bookmarks-editor.c: (get_target_window): * src/bookmarks/ephy-bookmarks.c: * src/ephy-automation.c: (ephy_automation_factory), (ephy_automation_factory_new), (impl_ephy_automation_loadurl), (impl_ephy_automation_load_session), (ephy_automation_class_init): * src/ephy-extension.c: (ephy_extension_get_type), (ephy_extension_attach_window), (ephy_extension_detach_window): * src/ephy-extension.h: * src/ephy-extensions-manager.c: (ephy_extensions_manager_get_type), (ephy_extensions_manager_instantiate_extension), (ephy_extensions_manager_load), (ephy_extensions_manager_load_dir), (ephy_extensions_manager_add), (ephy_extensions_manager_init), (ephy_extensions_manager_finalize), (impl_attach_window), (impl_detach_window), (ephy_extensions_manager_iface_init), (ephy_extensions_manager_class_init), (ephy_extensions_manager_new): * src/ephy-extensions-manager.h: * src/ephy-history-window.c: (get_target_window): * src/ephy-plugin.c: * src/ephy-plugin.h: * src/ephy-session.c: (ephy_session_get_type), (get_session_filename), (session_delete), (net_stop_cb), (tab_added_cb), (tab_removed_cb), (tabs_reordered_cb), (impl_attach_window), (impl_detach_window), (save_yourself_cb), (die_cb), (gnome_session_attach), (gnome_session_detach), (ensure_session_directory), (ephy_session_init), (ephy_session_dispose), (ephy_session_finalize), (ephy_session_iface_init), (ephy_session_class_init), (offer_to_resume), (ephy_session_autoresume), (ephy_session_close), (write_tab), (write_window_geometry), (write_tool_window), (write_ephy_window), (ephy_session_save), (parse_embed), (ephy_session_load), (ephy_session_get_windows), (ephy_session_add_window), (ephy_session_remove_window), (ephy_session_get_active_window): * src/ephy-session.h: * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_finalize), (ephy_shell_get_session), (ephy_shell_get_extensions_manager), (toolwindow_show_cb), (toolwindow_hide_cb): * src/ephy-shell.h: * src/ephy-window.c: (ephy_window_destroy), (ephy_window_init): * src/prefs-dialog.c: (prefs_homepage_current_button_clicked_cb): * src/session.c: * src/session.h: Create a new extensions API. Make session an internal extension :) Port callers to session API changes.