aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add code coverage supportXan Lopez2012-09-042-0/+3
| | | | | | | | | | Needs a fairly recent gnome-common. To use do: - Run configure with --enable-code-coverage - Type 'make check-code-coverage' - Open the HTML results https://bugzilla.gnome.org/show_bug.cgi?id=683297
* ephy-window: disconnect overview-mode callback from the right objectClaudio Saavedra2012-09-041-1/+1
|
* ephy-main: run the migration for any instance that is not a temporary ↵Claudio Saavedra2012-09-041-2/+3
| | | | | | private one https://bugzilla.gnome.org/show_bug.cgi?id=681679
* ephy-profile-utils: add a profile_dir parameter to ↵Claudio Saavedra2012-09-041-1/+1
| | | | | | | | | ephy_profile_utils_do_migration() This is passed further on to the migrator process. Right now this is unused. https://bugzilla.gnome.org/show_bug.cgi?id=681679
* ephy-file-helpers: rename KEEP_TEMP_DIR to KEEP_DIRClaudio Saavedra2012-09-031-1/+1
| | | | | Since this is also used for persistency of temporary directories, but also for --profile.
* ephy-bookmarks-editor: repaint the favicon on "icon-loaded"Sergio Villar Senin2012-09-031-8/+34
| | | | | | | | Fixes a crash when epy is started with the bookmarks window open. The old code was trying to set the favicon in an already released GValue. Instead of doing that, we now force a repaint of the row once we get the favicon. https://bugzilla.gnome.org/show_bug.cgi?id=673795
* ephy-window: handle key modifiers on overview::item-activateClaudio Saavedra2012-09-031-1/+1
| | | | | | | | So that middle-click, for instance, opens a new tab. Notice that control-click will still not work, as the GdMainView widget is handling the event to emit its selection-mode-request signal. https://bugzilla.gnome.org/show_bug.cgi?id=683187
* ephy-shell: consider the overview as a blank pageXan Lopez2012-09-031-2/+3
| | | | | | We were only considering about:blank, but about:overview should be assumed to be "blank" as far as replacing it with actual pages is concerned.
* ephy-session: do not restore tool windowsXan Lopez2012-09-023-154/+5
| | | | | | | | 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-notebook: fix compiler warningXan Lopez2012-09-011-3/+0
|
* ephy-main: do not run the browser if the migrator failsXan Lopez2012-09-011-2/+7
| | | | Lot's of nasty things could potentially happen.
* ephy-session: don't check loading status for the overview pageClaudio Saavedra2012-09-011-1/+2
| | | | Since this is a special page, there's no need for this.
* ephy-overview: define the overview title string hereClaudio Saavedra2012-09-011-1/+2
| | | | Instead of duplicating the string everywhere.
* ephy-navigation-history-action: fix overview titleXan Lopez2012-09-011-0/+5
| | | | | The overview is not an actual web page, so it won't have a title as far as WebKit is concerned. Hardcode "Most Visited" as its title.
* ephy-window: show the overview on alt+homeClaudio Saavedra2012-09-011-0/+11
|
* ephy-home-action: don't assume this will only be used for "NewTab"Claudio Saavedra2012-09-011-5/+5
| | | | If the action name is not "NewTab", just open the home page.
* ephy-window: don't assume going to the homepage means opening a new tabClaudio Saavedra2012-09-011-2/+1
| | | | | This is already explicitly set by EphyHomeAction in the new tab special case.
* ephy-window: disable default actions when the active embed is showing an ↵Claudio Saavedra2012-09-011-0/+19
| | | | overview
* ephy-window: add ephy-about:overview to the list of hidden urlsClaudio Saavedra2012-09-011-0/+1
|
* Add about:overview to actually go to overview modeClaudio Saavedra2012-09-011-1/+1
|
* ephy-window: handle open-link for the overview in the active tabClaudio Saavedra2012-09-011-0/+20
|
* ephy-embed: add the overview and a overview-mode propertyClaudio Saavedra2012-09-011-0/+2
| | | | | Toggling this property will toggle visibility of the overview and the paned with the normal embed contents.
* ephy-embed-shell: add a frecent store to the shellClaudio Saavedra2012-09-011-0/+4
| | | | | Since we will use the overview in each tab and these should share the underlying model.
* ephy-notebook: be more careful with event coordinates on right clickXan Lopez2012-08-311-9/+1
| | | | | | | The code assumed clicks would happen in the tab label area, but this is not always the case (for instance when our child forwards an event to us). So always check the button press is actually within the tab allocation rectangle before acting on it.
* ephy-session: remove some now useless headersXan Lopez2012-08-311-3/+0
|
* ephy-session: use ephy_string_to_int instead of reimplementing itXan Lopez2012-08-311-30/+8
| | | | | EphySession had a private, almost-identical copy. Just use the function in lib/ephy-string.[ch]
* ephy-session: another micro-fixXan Lopez2012-08-301-1/+1
| | | | | While we are at it, the fact that 'url' is not NULL is checked before the if block, so this is also redundant.
* ephy-session: remove redundant string comparisonClaudio Saavedra2012-08-291-2/+1
| | | | The previous clause already ensures this won't be TRUE.
* ephy-window: centralize the logic about invisible URIs in one placeXan Lopez2012-08-241-1/+33
| | | | | | | | Let's make EphyWindow the one in charge of deciding whether a URI is actually shown or not in the location entry. This allows to remove some code to that effect in EphyLocationController (and perhaps some more in EphyWebView in the future), and makes this feature more extensible for the future.
* window-commands: Get the suggested filename from the response in WebKit2 tooCarlos Garcia Campos2012-08-231-1/+1
|
* Port save as to WebKit2Carlos Garcia Campos2012-08-171-1/+5
| | | | | | | | Use webkit_web_view_save() API for HTML pages that saves the web page into a MHTML file. For any other MIME types supported by the web view, save the main resource data to a file. https://bugzilla.gnome.org/show_bug.cgi?id=679368
* ephy-window: Add update_link_actions_sensitivity()Carlos Garcia Campos2012-08-141-10/+17
| | | | Helper function that will be shared with the WebKit2 implementation.
* Mave avahi a hard dependencyXan Lopez2012-08-102-51/+5
| | | | | It's listed as a OS core dependency in jhbuild, so let's reduce the number of moving pieces on our side.
* Show information about the SSL errors when clicking on lock iconCarlos Garcia Campos2012-08-091-0/+27
| | | | | | | If libgcr is available it's used to show the information about the TLS certificate in the dialog too. https://bugzilla.gnome.org/show_bug.cgi?id=681506
* ephy-web-view: Return the certificate and TLS errors in ↵Carlos Garcia Campos2012-08-091-2/+1
| | | | | | | ephy_web_view_get_security_level Remove the unused description parameter an return the TLS certificte and errors instead.
* ephy-session: remove some unneeded declarations, reorder headersXan Lopez2012-08-041-4/+1
|
* window-commands: fix WebKit2 buildXan Lopez2012-08-021-2/+2
| | | | Haters gonna hate.
* window-commands: fallback correctly when Content-Disposition is not availableXan Lopez2012-08-021-2/+15
| | | | | The suggested filename the network response gives us can be NULL. Fallback to the old method in that case.
* window-commands: suggest the right name in 'Save As'Xan Lopez2012-08-021-3/+2
| | | | | | | Use the info in the Content-Disposition header instead of the base name of the resource. https://bugzilla.gnome.org/show_bug.cgi?id=674291
* popup-commands: don't cancel a download that hasn't even been startedClaudio Saavedra2012-08-021-4/+0
| | | | | | | | Cancelling the "save link as" dialog is calling ephy_download_cancel() even when ephy_download_start() has not been called. This causes a critical warning in webkit. https://bugzilla.gnome.org/show_bug.cgi?id=681010
* ephy-home-action: remove useless headersXan Lopez2012-08-011-3/+0
|
* ephy-window: do not copy history for new empty tabsXan Lopez2012-08-011-0/+4
| | | | | | | | | Do not copy the tab history when doing Ctrl+T/New Tab to open an empty tab. https://bugzilla.gnome.org/show_bug.cgi?id=651918 Signed-off-by: Xan Lopez <xan@igalia.com>
* ephy-home-action: add implicit NEW_TAB flagZan Dobersek2012-08-011-1/+1
| | | | | | | The NewTab action is always used to new an empty tab now, so just acknowledge the fact. Signed-off-by: Xan Lopez <xan@igalia.com>
* ephy-home-action: drop DnD functionalityXan Lopez2012-08-011-62/+4
| | | | | The home action can only be accessed from the super menu now, so the DnD feature is not useful anymore.
* e-file-chooser: remove persist-keyDiego Escalante Urrelo2012-08-014-6/+2
| | | | | | | | | | | | | GTK+ has changed the UX of the GtkFileChooser. This has (pragmatically) deprecated "last save dir" stored by applications themselves. For Epiphany this means we no longer need a "persist-key" in our file chooser, and that we have to clean up some GtkFileChooser API use in followup patches. This commit removes the property and uses of it. Bug #655508
* ephy-session: spawn the default window if the session state file is brokenXan Lopez2012-08-011-0/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=680590
* Use $(pkglibdir) instead of $(libdir)/epiphanyMichael Biebl2012-07-311-2/+2
| | | | | | to avoid hard coding the package name. https://bugzilla.gnome.org/show_bug.cgi?id=672023
* window-commands: update About dialog taglineDiego Escalante Urrelo2012-07-311-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=668115
* extensions: remove seed supportDiego Escalante Urrelo2012-07-316-542/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=680905
* ephy-encodings: rewrite to drop usage of EphyNodeXan Lopez2012-07-313-117/+194
| | | | | | | | | | We have a new 'EphyEncoding' object holding the encoding data, and the EphyEncodings object is now just a hash table holding a bunch of these. Change all the UI code to use the new APIs. https://bugzilla.gnome.org/show_bug.cgi?id=680735
* ephy-extensions-manager: don't include EphyNode, it's not used hereXan Lopez2012-07-282-9/+4
|
* Use G_DEFINE_BOXED_TYPE to define boxed typesXan Lopez2012-07-191-15/+2
| | | | | EphyNode is missing, but trying to migrate it gives some obscure error I need to figure out.
* window-commands: Port WebKit version information in about dialog to WebKit2Carlos Garcia Campos2012-07-091-1/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679403
* Port cookies to WebKit2Carlos Garcia Campos2012-07-041-6/+118
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678626
* window-commands: initialize string variables to NULLXan Lopez2012-06-281-1/+1
| | | | | This makes the about dialog not crash in WebKit2, since they are not set to any value (yet) but are freed anyway.
* ephy-web-view: get rid of 'ephy_web_view_get_location'Xan Lopez2012-06-281-3/+2
| | | | | | Nowhere in epiphany were we using the "get the non-toplevel location" feature (which was broken anyway), so I think we should be able to just use get_address everywhere.
* Port find to WebKit2Carlos Garcia Campos2012-06-271-9/+95
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678628
* Port downloads to WebKit2Carlos Garcia Campos2012-06-272-4/+68
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678612
* Port resources to WebKit2Carlos Garcia Campos2012-06-271-12/+54
| | | | http://bugzilla-attachments.gnome.org/attachment.cgi?id=217022
* ephy-notebook: do not assume the type of the child widget in 'remove'Xan Lopez2012-06-261-1/+2
| | | | | | Since commit 325cf071d1 in GTK+ the 'remove' method will be called also with the tab label widget, so do not assert when the type is not EphyEmbed, just do nothing.
* embed: Move about handlers to a new fileCarlos Garcia Campos2012-06-261-1/+1
| | | | | Leaving in ephy-request-about only the code specific to the soup feature implementation.
* ephy-download-widget: add ephy_download_widget_download_finished()Carlos Garcia Campos2012-06-251-22/+2
| | | | | It makes easier to check whether download finished, and it's compatible with WebKit2.
* ephy-navigation-history-action: Don't leak link-messageCarlos Garcia Campos2012-06-251-3/+2
|
* Port editing commands to WebKit2Carlos Garcia Campos2012-06-252-9/+84
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678596
* ephy-window: Add helper function to update action sensitivityCarlos Garcia Campos2012-06-251-19/+15
|
* Port history to WebKit2Carlos Garcia Campos2012-06-251-15/+52
| | | | | | | In WebKit2 the back forward list is a read-only object, so the code were the back forward list is modified hasn't been ported. https://bugzilla.gnome.org/show_bug.cgi?id=678594
* ephy-navigation-history-action: Rename webkit_construct_history_listCarlos Garcia Campos2012-06-251-4/+5
| | | | | As construct_webkit_history_list since the webkit_ prefix makes the function look like WebKit API even if it's a private method.
* Add support for new windows in WebKit2Carlos Garcia Campos2012-06-251-37/+81
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678593
* Port policy client to WebKit2Carlos Garcia Campos2012-06-251-3/+149
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678591
* Port web view loading progress and feedback to WebKit2Carlos Garcia Campos2012-06-242-3/+26
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678532
* popup-commands: use EPHY_DOWNLOAD_ACTION_DO_NOTHINGDiego Escalante Urrelo2012-06-231-0/+1
| | | | | | Stop downloaded backgrounds from popping an image viewer instance. https://bugzilla.gnome.org/show_bug.cgi?id=676128
* Initial WebKit2 portCarlos Garcia Campos2012-06-2117-8/+344
| | | | It builds and basic functionality works.
* Use WebKitWebView API to get/set the zoom level instead of g_object_get/setCarlos Garcia Campos2012-06-211-7/+5
| | | | | Also use always double instead of float so that it will be compatible with WebKit2 API.
* Include libsoup header explicitly when requiredCarlos Garcia Campos2012-06-211-0/+1
| | | | Instead of relying on webkit header to include it.
* ephy-embed: show a message popup when entering fullscreen modeClaudio Saavedra2012-06-202-0/+9
| | | | | | | | The message is different depending on whether we are entering HTML5 fullscreen mode or application fullscreen, since the keys used to leave either mode are different. https://bugzilla.gnome.org/show_bug.cgi?id=671195
* ephy-window: hide all chrome when entering fullscreen modeClaudio Saavedra2012-06-201-1/+5
| | | | | | | | | | We keep track of the state of the chrome before entering fullscreen mode in order to restore it afterwards. Also, set tabs-allowed to FALSE in the EphyNotebook when in fullscreen mode. When leaving fullscreen mode, restore to the previous state. https://bugzilla.gnome.org/show_bug.cgi?id=671195
* ephy-window: keep track of whether the downloads box is shownClaudio Saavedra2012-06-201-5/+14
| | | | | | We add it to EphyWebViewChrome and track it there. https://bugzilla.gnome.org/show_bug.cgi?id=671195
* ephy-window: remove ephy-fullscreen-popupClaudio Saavedra2012-06-204-550/+0
| | | | | | We're no longer using it https://bugzilla.gnome.org/show_bug.cgi?id=671195
* ephy-notebook: fix the property enabling tabs visibilityClaudio Saavedra2012-06-203-17/+20
| | | | | | | | Replace the redundant and unused "show-tabs" with "tabs-allowed", and allow its use to ultimately hide the tabs, regardless of the policy, whenever the application UI deems necessary. https://bugzilla.gnome.org/show_bug.cgi?id=678468
* ephy-location-controller: add missing get_property bits for "show-icon"Claudio Saavedra2012-06-201-0/+3
|
* ephy-window: add a method to toggle visibility of default actionsClaudio Saavedra2012-06-201-11/+19
| | | | | | | Where default actions are the ones that should be disabled when we display a blank page or anything that is not a webpage. https://bugzilla.gnome.org/show_bug.cgi?id=678405
* ephy-location-controller: add a boolean "show-icon" propertyClaudio Saavedra2012-06-201-0/+22
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678405
* ephy-window: split ephy_window_set_active_tab() into smaller methodsClaudio Saavedra2012-06-201-165/+175
| | | | | | Which we will also reuse later on. https://bugzilla.gnome.org/show_bug.cgi?id=678405
* ephy-window: add _ephy_window_set_navigation_flags()Claudio Saavedra2012-06-201-10/+14
| | | | | | We'll share this code later. https://bugzilla.gnome.org/show_bug.cgi?id=678405
* ephy-shell: EPHY_EMBED_SHELL_MODE_TEST means no realizeDiego Escalante Urrelo2012-06-181-1/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=678134
* ephy-shell: move variable to the only scope where it's usedXan Lopez2012-06-151-3/+2
|
* ephy-shell: initialize jump_to variable to FALSEXan Lopez2012-06-151-1/+1
| | | | | | Otherwise commit ccf3836d601c makes us use that variable with a garbage value most of the time, since it won't be initialized unconditionally anymore.
* popup-commands: use g_get_user_special_dir APIDiego Escalante Urrelo2012-06-151-1/+1
| | | | | | | "Pictures" was hardcoded as the destination folder, use G_USER_DIRECTORY_PICTURES instead. https://bugzilla.gnome.org/show_bug.cgi?id=677240
* ephy-shell: document EphyNewTabFlagsDiego Escalante Urrelo2012-06-151-0/+27
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673683
* ephy-shell: imitate other flag checks for jump_toDiego Escalante Urrelo2012-06-151-2/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676905
* ephy-shell: handy gboolean fullscreen_lockdownDiego Escalante Urrelo2012-06-151-4/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676905
* ephy-shell: fix bracesDiego Escalante Urrelo2012-06-151-5/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676905
* ephy-web-view: remove unused EphyWebViewChrome elementsDiego Escalante Urrelo2012-06-151-3/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676904
* Fix memory leakCarlos Garcia Campos2012-06-151-3/+4
|
* windows-commands: remove dead codeClaudio Saavedra2012-06-141-15/+0
| | | | The toolbar-editor is gone, so this code should be gone too.
* ephy-bookmarks-import: missing return after ifXan Lopez2012-06-141-0/+1
| | | | | This was making the file-check test never run unless we were in lock-down mode.
* Add a new mode for shell testing, EPHY_EMBED_SHELL_MODE_TESTXan Lopez2012-06-142-4/+8
| | | | | | For now the only difference is that no top-level window will be shown in this mode, but in the future it can be extended to behave in a manner appropriate for testing.
* ephy-session: add a method to load a session from a stringXan Lopez2012-06-142-20/+77
| | | | | And re-write the ephy_session_load method on top of it. We'll use this in our unit tests.
* ephy-completion-model: use a cancellable with the history serviceClaudio Saavedra2012-06-131-1/+14
| | | | | | | | For two things: first, cancel pending operations if a new search term is given before this is complete and, second, to cancel any operation remaining during the model disposal. https://bugzilla.gnome.org/show_bug.cgi?id=672073
* ephy-history-window: cancel history operations during disposeClaudio Saavedra2012-06-131-4/+12
| | | | | | To avoid surprises if the history-window happens to be destroyed. https://bugzilla.gnome.org/show_bug.cgi?id=672073
* ephy-session: fix memory leak in write_tab()Pavel Vasin2012-06-121-2/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677720
* ephy-bookmarks-editor: fix GList leaksPavel Vasin2012-06-121-4/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677720
* ephy-bookmarks-editor: fix memory leakPavel Vasin2012-06-121-1/+14
| | | | | | webkit_favicon_database_get_favicon_uri returns newly allocated string https://bugzilla.gnome.org/show_bug.cgi?id=677720
* ephy-completion-model: fix GList of EphyHistoryURL leakPavel Vasin2012-06-121-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677720
* ephy-bookmarks: fix memory leaksPavel Vasin2012-06-121-2/+4
| | | | | | webkit_favicon_database_get_favicon_uri returns newly allocated string https://bugzilla.gnome.org/show_bug.cgi?id=677720
* ephy-bookmark-action: fix memory leakPavel Vasin2012-06-121-0/+2
| | | | | | webkit_favicon_database_get_favicon_uri returns newly allocated string https://bugzilla.gnome.org/show_bug.cgi?id=677720
* ephy-window: simplify window_state_event() chain-upClaudio Saavedra2012-06-111-4/+2
|
* ephy-location-controller: add missing default case in set/get_property methodsClaudio Saavedra2012-06-051-4/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675804
* ephy-location-controller: use GBinding to sync properties with the entryClaudio Saavedra2012-06-051-55/+15
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675804
* ephy-session: simplify code to handle session resumeXan Lopez2012-05-281-5/+6
| | | | | There's no need to tell the parse_embed method whether the window it gets is the resume window or not, it can figure it out by itself.
* ephy-session: format comments a bit betterXan Lopez2012-05-281-11/+8
|
* ephy-session: missing space before '('Xan Lopez2012-05-281-1/+1
|
* ephy-session: remove a couple of redundant includesXan Lopez2012-05-281-2/+0
|
* ephy-shell: fix a comment typoDiego Escalante Urrelo2012-05-271-1/+1
|
* popup-commands: committed this by mistakeXan Lopez2012-05-251-1/+0
|
* configure.ac: require GTK+ 3.5.2 for OSD style classXan Lopez2012-05-251-0/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676784
* embed: remove custom CSS styling for the overlay progressbarCosimo Cecchi2012-05-241-29/+0
| | | | | | | Now that the overlay progressbar is styled by the theme, we can just set the OSD style class on the overlay to get the same effect. https://bugzilla.gnome.org/show_bug.cgi?id=676660
* Always close bookmarks fileLubomír Sedlář2012-05-211-7/+11
| | | | | | | | During error handling it was possible to return from function without closing bookmarks file and freeing two string, causing memory and descriptor leaks. https://bugzilla.gnome.org/show_bug.cgi?id=675888
* Prevent use of unitialized memoryLubomír Sedlář2012-05-211-1/+1
| | | | | | | Initialize the variable to NULL, so that even without another assignment it is safe to read it. https://bugzilla.gnome.org/show_bug.cgi?id=675888
* preferences: fix 'Add language' dialog layoutXan Lopez2012-05-191-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676043
* prefs: expose the Do Not Track setting in the preferences UIXan Lopez2012-05-192-25/+57
|
* ephy-main: fix typo in messageXan Lopez2012-05-191-1/+1
|
* Remove a few more egg leftoversXan Lopez2012-05-101-1/+0
|
* tests: test that trying to run an invalid migration step failsXan Lopez2012-05-101-1/+1
|
* ephy-window: no need to cast the return value of g_object_newXan Lopez2012-05-101-8/+8
|
* Allow for more fine-grained file helpers initXan Lopez2012-05-081-3/+10
| | | | | | | | | | Since we are about to migrate our profile dir, allow file helpers init to not ensure the profile dir exists (it was hardcoded until now). For this we get rid of the ugly boolean parameters and add a flags parameter, which preserves the old behaviors and allows for this new option. We update all the callers in the tree.
* ephy-profile-utils: split profile migration from EphyShellXan Lopez2012-05-082-20/+4
| | | | | Call it directly from main, since we want it to happen before the file helpers initialization.
* Drop the use of GTK accel mapsWilliam Jon McCann2012-05-081-3/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=674870
* ephy-navigation-history-action: restore menusDiego Escalante Urrelo2012-05-021-0/+396
| | | | | | | | In ebbb1c48197f53b98575b0cb4f6d9fa1e4535abc back/forward drop-downs were removed. This commit brings them back, using the removed code with minor updates. https://bugzilla.gnome.org/show_bug.cgi?id=671609
* ephy-shell: EPHY_NEW_TAB_DONT_SHOW_WINDOW means no realizeDiego Escalante Urrelo2012-04-221-1/+1
| | | | | | | | | If the user passed EPHY_NEW_TAB_DONT_SHOW_WINDOW do not call gtk_widget_realize and gtk_widget_grab_focus on the returned EphyEmbed since this is most likely against the intentions of EPHY_NEW_TAB_DONT_SHOW_WINDOW. https://bugzilla.gnome.org/show_bug.cgi?id=673683
* ephy-window: remove additional spacing in the downloads barSebastian Keller2012-04-171-2/+0
| | | | | It was added to accomodate the window resize grip, which does not exist anymore in Adwaita.
* ephy-notebook: disconnect settings signal handler on finalizeXan Lopez2012-04-161-0/+3
| | | | Otherwise we'll try to update dead notebooks if the setting changes.
* Add an option to never show the tabs barXan Lopez2012-04-161-6/+6
| | | | We'll use this when we land the Overview.
* window-commands: switch pages using the EphyNotebook APIXan Lopez2012-04-163-9/+73
| | | | | | The signal we were using does not work when the tabs bar is hidden, and we'll want the shortcuts to work in that state. Add new EphyNotebooks methods that do the right thing and use them.
* Create a new 'tabs-bar-visibility-policy' settingXan Lopez2012-04-161-3/+6
| | | | | | We need this to be an enum, since we'll a third option in the future for the Overview (to never show the tabs bar). For now just add the two values we have now and migrate the code and the user data.
* Move resources to its own directory inside src/Xan Lopez2012-04-168-9/+9
|
* Move a few EphyShell methods to ephy-private.hXan Lopez2012-04-145-19/+25
| | | | These are clearly not meant to be used outside of Epiphany.
* Remove Help buttonsXan Lopez2012-04-134-33/+37
| | | | Since there's no Help for now.
* Remove Epiphany manualXan Lopez2012-04-132-14/+0
| | | | | | | | | The current manual is quite obsolete and uses and outdated technology, so it really just needs a full rewrite at this point. Hopefully this will motivate someone to do it, meanwhile we stop shipping misguiding documentation. https://bugzilla.gnome.org/show_bug.cgi?id=674047
* Add a setting to control whether the session is automatically restoredXan Lopez2012-04-122-52/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We add a new gsettings key, 'restore-session-policy', with two valid values: 'always' and 'never'. A brief explanation of our session state mechanism follows. There are three ways to exit Epiphany: 1) Activate 'Quit' in the application menu 2) Close the last application window 3) Kill the process manually, SIGSEGV, or other similar unexpected event. For 1) and 2), we'll now do the same thing: a) Call ephy_session_close b) Exit the application manually ephy_session_close will check the new restore-session-policy setting, and only save the session state if it's set to 'always'. Before it used to manually destroy all present windows. We now let EphyShell or EphyWindow do this, EphySession only manages the session state saving. For 3), the process will die with the state saved up to that point, there's nothing we can do. For that reason, on startup also check the new setting; if it's set to 'never' ignore the session state, open a window in the homepage, and delete the old state file. https://bugzilla.gnome.org/show_bug.cgi?id=673453
* ephy-session: remove unused variableXan Lopez2012-04-121-2/+0
|
* ephy-shell: respect the lockdown quit settingRudolfs2012-04-111-2/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673649
* ephy-embed-single: do not handle ephy-embed-prefsDiego Escalante Urrelo2012-04-111-0/+3
| | | | | | | | | ephy-embed-prefs acts like a singleton. Instead of calling init and shutdown in EphyEmbedSingle instances handle it in ephy-main as a true init/shutdown API like ephy-file-helpers. https://bugzilla.gnome.org/show_bug.cgi?id=673273
* ephy-completion-model: normalize NULL strings to "" in ↵Xan Lopez2012-04-031-4/+4
| | | | | | | | | | should_add_bookmark_to_model Otherwise we can get false positives in the regexp, since the previous attempt at normalization would not properly take NULL strings into account. https://bugzilla.gnome.org/show_bug.cgi?id=673301
* ephy-shell: fix whitespaceXan Lopez2012-04-021-3/+3
|
* ephy-shell: whitespace nitpick in castDiego Escalante Urrelo2012-04-011-2/+2
|
* e-web-app-utils: add ephy_web_application_existsAlexandre Mazari2012-03-311-8/+1
| | | | | | Signed-off-by: Diego Escalante Urrelo <diegoe@igalia.com> https://bugzilla.gnome.org/show_bug.cgi?id=658925
* window-commands: get app name only onceAlexandre Mazari2012-03-311-7/+8
| | | | | | | | Avoid multiple calls to gtk_entry_get_text. Signed-off-by: Diego Escalante Urrelo <diegoe@igalia.com> https://bugzilla.gnome.org/show_bug.cgi?id=658925
* ephy-toolbar: fix stop/reload button alignmentDiego Escalante Urrelo2012-03-311-0/+10
| | | | | | | | Add location entry and stop/reload button to a vertical GtkSizeGroup. This ensures that they have the same height, regardless of things like fonts. https://bugzilla.gnome.org/show_bug.cgi?id=668135
* Makefile: silence epiphany resources generationXan Lopez2012-03-311-2/+2
|
* ephy-encoding-dialog: reorder includesXan Lopez2012-03-311-9/+8
|
* ephy-window: listen to org.gnome.Epiphany.ui.show-toolbarsXan Lopez2012-03-301-0/+30
| | | | We were not properly changing the UI if the key was changing at runtime.
* ephy-session: use g_slice_new for SessionCommand structureXan Lopez2012-03-301-3/+2
|
* ephy-window: save the session when the last window is closed manuallyXan Lopez2012-03-301-1/+16
| | | | | | | | If the user closes the last window manually (pressing the [x] button in the window) she probably wants to save the session contents too, so do that. This is consistent with the behavior of Firefox and Chrome. https://bugzilla.gnome.org/show_bug.cgi?id=673122
* Fix compilation warningClaudio Saavedra2012-03-291-1/+1
|
* ephy-web-app-utils: do not use the webview in the web app creation methodAlexandre Mazari2012-03-291-1/+1
| | | | | | | It's not really needed, will allow to reuse this code during profile migration. https://bugzilla.gnome.org/show_bug.cgi?id=658925
* ephy-shell: save the session state on QuitXan Lopez2012-03-291-0/+1
| | | | It will be automatically restored on startup.
* ephy-session: remove unused variableXan Lopez2012-03-291-1/+0
|
* ephy-session: rename session_crashed.xml to session_state.xmlXan Lopez2012-03-291-13/+13
| | | | We are going to use his all the time now, not only for crashes.
* ephy-session: it's not really possible to close while restoring anymoreXan Lopez2012-03-291-11/+0
|
* ephy-session: always auto-resume session on crashXan Lopez2012-03-291-178/+7
| | | | Don't ask, just do it.
* ephy-session: fix gtk-doc syntaxXan Lopez2012-03-291-1/+1
|
* Rip out the EggSMClient codeXan Lopez2012-03-282-244/+0
| | | | The brave new world is to use the session support in GtkApplication.
* resources: strip blanks from all XML filesXan Lopez2012-03-281-6/+6
| | | | Saves about 20K in the generated files.
* Make the resources depend on the actual UI filesXan Lopez2012-03-288-4/+2344
| | | | | | Otherwise we won't update them if the UI files change. To do this we need to move them from data/ui/ to src/, which is not great. Things would be easier with non-recursive Makefiles.
* Use glib resources to bundle our UI filesXan Lopez2012-03-289-28/+80
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672907
* epiphany.h.in: remove ephy-history mentionDiego Escalante Urrelo2012-03-271-1/+0
| | | | It breaks ephy-extensions build.
* ephy-completion-model: minor cleanupClaudio Saavedra2012-03-211-1/+1
| | | | | | | No need to invoke twice webkit_get_favicon_databas() in the same method, there's a variable pointing to the database already. https://bugzilla.gnome.org/show_bug.cgi?id=672483
* ephy-completion-model: fix a few leaksClaudio Saavedra2012-03-211-2/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=672481
* ephy-history-window: fix callback for new signal signatureXan Lopez2012-03-201-0/+1
|
* Remove EphyHistory from the repository. It's unused now.Xan Lopez2012-03-203-6/+0
|
* bookmarks: use the new favicon databaseXan Lopez2012-03-201-12/+13
|
* Replace EphyFaviconCache by WebKit's icon database cacheSergio Villar Senin2012-03-208-65/+117
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=648653
* Fix bookmarklet's titles when they are createdXan Lopez2012-03-161-31/+37
| | | | | | | | This was pretty much broken since the Gecko days. On top of that, catch the case where the bookmarklet title is in the child node of the anchor element, which we never got right before. https://bugzilla.gnome.org/show_bug.cgi?id=672194
* The security certificate code is a no-op, remove itXan Lopez2012-03-152-15/+0
|
* window-commands: forcing offline mode has been a no-op for a whileXan Lopez2012-03-141-0/+3
|
* Don't go to EphyEmbedSingle just to get the network statusXan Lopez2012-03-142-29/+3
| | | | | The new GNetworkMonitor class is really a good enough abstraction, don't overdo it.
* history: remember visit typesXan Lopez2012-03-145-3/+18
| | | | | | | Instead of hardcoding all visits as 'TYPED' properly distinguish between bookmarks, following links and typing URIs in the entry. We'll use this to compute the frecency of history items.
* ephy-private: add missing headerXan Lopez2012-03-131-0/+1
|
* ephy-history-service: make the async API cancellableClaudio Saavedra2012-03-133-7/+7
| | | | | | | | | | | The main purpose of the cancellable API in ephy-history-service is to let the user notify when the results of the operation are no longer needed and the callback call can be omitted. Since performing a read operation, in such cases, makes no sense, we cancel them altogether. However, given the nature of the service, we don't cancel write operations. https://bugzilla.gnome.org/show_bug.cgi?id=671901
* ephy-history-view: open pages in a new tab on middle clickClaudio Saavedra2012-03-131-11/+11
| | | | | | This was present in the old EphyNodeView history. Bring it back. https://bugzilla.gnome.org/show_bug.cgi?id=671635
* ephy-main: run app mode only with a existing dirDiego Escalante Urrelo2012-03-111-0/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=669700
* ephy-history-window: init hosts to NULLDiego Escalante Urrelo2012-03-111-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=671613
* ephy-history-window: filter hosts with time range as wellClaudio Saavedra2012-03-081-2/+3
|
* ephy-hosts-view: ensure "all hosts" is selected by defaultClaudio Saavedra2012-03-081-5/+3
| | | | | | If no host can be selected, always select the "all hosts" row. https://bugzilla.gnome.org/show_bug.cgi?id=671575
* ephy-host-store: add a clear() methodClaudio Saavedra2012-03-081-1/+1
| | | | | | | This adds always a default item "All sites" which, when selected, will show all urls in all hosts. https://bugzilla.gnome.org/show_bug.cgi?id=671575
* Annotate correctly the fact that FileNewTab now always opens the homepageXan Lopez2012-03-083-3/+8
| | | | | We need to detect it in EphyEmbed to avoid adding about:blank to the history in that case.
* ephy-bookmarks: remove update on redirectXan Lopez2012-03-081-87/+0
| | | | | | This is pretty cool, but our new history service does not support it (and it's been always broken in the WebKit backend anyway), so remove it. We'll bring it back eventually.
* ephy-history-window: update the list of hosts after a url is deletedClaudio Saavedra2012-03-081-2/+8
| | | | | | | | Since now we remove orphan hosts, we need to update the list of hosts after url removal, too. Do this while preserving the currently selected host, if any. https://bugzilla.gnome.org/show_bug.cgi?id=671559
* ephy-history-window: use the constructed methodXan Lopez2012-03-071-3/+7
| | | | Instead of doing extra stuff in _new.
* ephy-history-window: style fixesXan Lopez2012-03-071-91/+94
|
* ephy-history-window: correct asserts and g_return_if_failXan Lopez2012-03-071-11/+5
| | | | | Don't assert parameters in public methods, don't g_return_if_fail parameters in private ones.
* ephy-history-window: change string for full history optionClaudio Saavedra2012-03-071-1/+1
|
* ephy-bookmarks: remove the "Most visited" categoryXan Lopez2012-03-072-187/+0
| | | | | The place to do this kind of thing is really the History, not Bookmarks.
* ephy-history-window: and also handle "Ever" now that we have infinite ↵Xan Lopez2012-03-071-0/+2
| | | | history storage
* ephy-history-window: correctly handle 2 and 10 days of historyXan Lopez2012-03-071-2/+6
|
* ephy-bookmarks-ui: remove unneeded includeXan Lopez2012-03-071-1/+0
|
* ephy-bookmarks: actually connect to the new serviceXan Lopez2012-03-071-1/+1
|
* ephy-bookmarks: use the new history service when possibleXan Lopez2012-03-072-3/+10
| | | | | The 'cleared' stuff is easy to port. The rest, not so much, because the API to get the visit count is async.
* ephy-bookmarks: reorder includesXan Lopez2012-03-071-9/+9
|
* pdm-dialog: use the new history serviceXan Lopez2012-03-071-4/+4
|
* ephy-navigation-history-action: use the new history serviceXan Lopez2012-03-071-9/+4
|
* ephy-history-window: sort headers, remove duplicatesXan Lopez2012-03-071-19/+18
|
* ephy-history-view: use the new hosts and urls viewsXan Lopez2012-03-073-365/+311
|
* Allow ephy_history_service_find_urls() to filter host specific urlsClaudio Saavedra2012-03-071-1/+1
|
* Set the history service during history window instantiationClaudio Saavedra2012-03-073-3/+10
| | | | The old history object is kept for now but it will be removed later
* Add a EphyHistoryService property to EphyHistoryWindowClaudio Saavedra2012-03-071-1/+16
|
* Get rid of EphyBrowseHistoryXan Lopez2012-03-071-9/+9
| | | | | | It was a very thin wrapper on top of the history service, it does not seem to make much sense. For now move the two useful helper methods down to the service without further changes.
* ephy-completion-model: fix warning when a bookmark has no keywordsXan Lopez2012-03-071-3/+3
| | | | Values in EphyNode can be NULL, so guard against that.
* ephy-completion-model: remove stale includeXan Lopez2012-03-071-1/+0
|
* ephy-location-controller: smoother redraw of the completion popupXan Lopez2012-03-071-1/+13
| | | | | Workaround some bugs in entry completion's redraw code. See https://bugzilla.gnome.org/show_bug.cgi?id=671074
* Hook the new history to the URL entryXan Lopez2012-03-074-602/+422
| | | | | We now fetch the history from the SQL backend using a service thread, and merge the results with our old bookmark data.
* ephy-completion-model: reorder includesXan Lopez2012-03-071-4/+4
|
* src: Reorder LDADD arguments properlyClaudio Saavedra2012-03-071-1/+1
|
* Add EphyHistoryService and helper classesXan Lopez2012-03-071-0/+1
| | | | | | | | | EphyHistoryService provides a high-level API to store history information. It will processed by a worker thread using SQLite to provide a fast, responsive service to the main UI. Based on the code by Martin Robinson (mrobinson@igalia.com) and Claudio Saavedra (csaavedra@igalia.com).
* Enable keyboard accelerator for the create buttonJiro Matsuzawa2012-03-051-1/+1
| | | | | | | I use 'r' of "Create" as a mnemonic character because "C" is already used by "_Cancel". https://bugzilla.gnome.org/show_bug.cgi?id=670328
* ephy-window: add a Extensions menuDiego Escalante Urrelo2012-02-261-0/+1
| | | | | | | Together with epiphany-extensions-3.3.90 this makes the extensions manager visible again, and also all the extensions menu items. https://bugzilla.gnome.org/show_bug.cgi?id=669951
* ephy-bookmarks-ui: fix typo in activate_bookmarks_menuDiego Escalante Urrelo2012-02-261-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=670760
* ephy-shell: use the new g_application_quit to quitXan Lopez2012-02-231-12/+1
|
* ephy-window: show an error if we fail to open a non-web URI with gtk_show_uriXan Lopez2012-02-231-2/+4
| | | | Better than silently doing nothing.
* ephy-web-view: remove close-requested signalDiego Escalante Urrelo2012-02-221-94/+0
| | | | | | | | | WebKitWebView has a ::close-web-view signal for the same thing. The only user of this was ephy-window, for exactly the same thing that we are already doing in ephy-web-view, when handling ::close-web-view. https://bugzilla.gnome.org/show_bug.cgi?id=669737
* ephy-window: use tab-close-request to avoid code duplicationDiego Escalante Urrelo2012-02-111-16/+3
| | | | | | | | There were two paths checking for modified forms and downloads on tab closing. Instead of duplication code, make EphyEmbedContainer impl_remove_child trigger ::tab-close-request on EphyNotebook. https://bugzilla.gnome.org/show_bug.cgi?id=669736
* ephy-shell: install global menu for private mode tooXan Lopez2012-02-091-3/+9
| | | | | | | | This is still not enough to make it work, the menu shows empty in private mode, but the code change is obviously correct. See bug https://bugzilla.gnome.org/show_bug.cgi?id=647986 https://bugzilla.gnome.org/show_bug.cgi?id=669740
* ephy-shell: load home page in new windowsDiego Escalante Urrelo2012-02-091-1/+1
| | | | | | Fixes the uncertain loading state of new windows. https://bugzilla.gnome.org/show_bug.cgi?id=669130
* ephy-main: always set a default icon for windowsDiego Escalante Urrelo2012-02-091-0/+9
| | | | | | | The web-browser icon for the normal/private mode, or the corresponding Web Application icon. https://bugzilla.gnome.org/show_bug.cgi?id=669182
* Convert app names to the proper encoding before using them as filenamesClaudio Saavedra2012-02-081-0/+2
| | | | | | Also add proper conversion error handling where needed. https://bugzilla.gnome.org/show_bug.cgi?id=658028
* ephy-window: restore alt+# accels to switch tabsDiego Escalante Urrelo2012-02-011-0/+84
| | | | | | | Create 10 fixed GtkActions that react to the alt+# accelerators. Based on code from gedit-window.c. https://bugzilla.gnome.org/show_bug.cgi?id=668702
* ephy-window: do not duplicate tons of code in sync_tab_is_blankXan Lopez2012-01-301-59/+13
|
* ephy-window: correct thinko in action sensitivity handlingXan Lopez2012-01-281-1/+6
|
* ephy-window: simplify handling of back/forward sensitivityXan Lopez2012-01-281-30/+6
| | | | | | Back/Forward sensitivity only depends on one factor (whether you can actually go back or forward), so there is no need to use the ephy action helper method. This allows to simplify the code quite a bit.
* ephy-notebook: remove dnd-enabled propertyXan Lopez2012-01-273-31/+0
| | | | It does not seem to do anything.
* ephy-main: tidy up indentationXan Lopez2012-01-271-1/+2
|
* Get rid of EPHY_STOCK_EPHYXan Lopez2012-01-279-21/+2
| | | | | | In 99% of the cases we were using it for gtk_window_set_icon_name, which does nothing in GNOME 3. In the couple of valid use cases, just use "web-browser" directly.
* And remove the last stock icon, bookmarksXan Lopez2012-01-272-3/+0
| | | | We can kill data/icons now.
* Remove the history stock iconXan Lopez2012-01-271-1/+0
|
* Remove EPHY_STOCK_BOOKMARKXan Lopez2012-01-271-2/+0
| | | | | Use the symbolic icon for the completion entry, I'm sure Lapo will approve.
* ephy-window: remove stock icons from two more GtkActionsXan Lopez2012-01-271-2/+0
|
* Also remove stock icons in the history and bookmarks editorsXan Lopez2012-01-272-24/+24
|
* ephy-window: do not define stock icons for the GtkActionsXan Lopez2012-01-271-27/+27
| | | | We are not using them.
* Make EphyWindow responsible for its own destruction when the last tab is goneXan Lopez2012-01-242-6/+7
| | | | | | EphyNotebook was destroying its toplevel when the last tab was destroyed. I think this is really weird, so move the responsibility to the window. This will probably break something, I'm sure.
* ephy-notebook: remove full title tooltip on each tabXan Lopez2012-01-241-6/+0
| | | | It's pretty annoying and hardly useful.
* ephy-location-controller: lose lock tooltip propertyXan Lopez2012-01-241-37/+0
|
* ephy-window: lose security state tooltipsXan Lopez2012-01-241-29/+4
|
* ephy-window: we don't do tooltips anymore, remove support code for thatXan Lopez2012-01-241-212/+40
|
* ephy-window: remove toplevel actions that do not exist anymoreXan Lopez2012-01-241-5/+0
|
* Make the user visible name Web in more placesJon McCann2012-01-241-5/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=666587
* ephy-window: remove unneeded includeXan Lopez2012-01-241-1/+0
|
* ephy-window: call sync_tab_is_blank on new tabsDiego Escalante Urrelo2012-01-241-0/+1
|
* ephy-window: sync page actions with is-blank propertyDiego Escalante Urrelo2012-01-241-1/+97
| | | | | | | | Add ::is-blank property to EphyWebView and update EphyWindow to sync some of the page menu actions with it. There's no point in enabling save/reload/bookmark/etc on about:blank. https://bugzilla.gnome.org/show_bug.cgi?id=668105
* ephy-window: pass non-web schemas to gtk_show_uriDiego Escalante Urrelo2012-01-241-2/+15
| | | | | | | Handle every non-web scheme in policy_decision_required_cb with gtk_show_uri. This enables xmpp:, apt: and similar links to work. https://bugzilla.gnome.org/show_bug.cgi?id=551857