commit 49fa27a00e09745003e12219c080eb2b4e8f3f14 Author: Michael Catanzaro Date: Fri Apr 8 09:09:10 2016 -0500 Prepare 3.20.1 NEWS | 13 +++++++++++++ configure.ac | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) commit d27b074481247596fde4bec571bf445a627f8534 Author: Michael Catanzaro Date: Fri Apr 8 09:04:22 2016 -0500 file-chooser: Support WebP files It's not really sustainable to add every supported file type here manually, we need a better solution. But as a quick fix, add WebP support here. https://bugzilla.gnome.org/show_bug.cgi?id=739934 lib/widgets/ephy-file-chooser.c | 2 ++ 1 file changed, 2 insertions(+) commit 0ef3669b79e6a4f895496ca06d8fbb7028853c79 Author: Michael Catanzaro Date: Fri Apr 8 08:50:16 2016 -0500 Revert "AppData: Mark as unremovable in GNOME Software" This reverts commit a7f28dfbbaeb3cd89dc86cedd6ab571a8542af3e. None of us are sure we really want this, so let's leave it only on master for now. data/epiphany.appdata.xml.in | 1 - 1 file changed, 1 deletion(-) commit d548e2108abede5ed08e4ff270e4f5e6ea9aef04 Author: Fabio Tomat Date: Tue Apr 5 08:48:56 2016 +0000 Updated Friulian translation po/fur.po | 172 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 90 insertions(+), 82 deletions(-) commit 99f313e4691afdfc75deeb72831131833152f415 Author: Fabio Tomat Date: Tue Apr 5 08:09:18 2016 +0000 Updated Friulian translation po/fur.po | 117 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 62 insertions(+), 55 deletions(-) commit 79c3509634ac079b137b5167b5ef3e1a72cd41d2 Author: Alexander Shopov Date: Tue Apr 5 07:20:18 2016 +0300 Updated Bulgarian translation po/bg.po | 1413 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 750 insertions(+), 663 deletions(-) commit 5174060835ecea90b5d2d418b527cc1b5caea3aa Author: Fabio Tomat Date: Mon Apr 4 23:33:51 2016 +0000 Updated Friulian translation po/fur.po | 120 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 61 insertions(+), 59 deletions(-) commit 866fe53f32707acfda1ed094c96361f93255ac3f Author: Fabio Tomat Date: Mon Apr 4 23:15:54 2016 +0000 Updated Friulian translation po/fur.po | 187 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 110 insertions(+), 77 deletions(-) commit 9c0fc023c651cdbcc0f7d60c0369887b7906e2ac Author: Fabio Tomat Date: Mon Apr 4 21:18:50 2016 +0000 Updated Friulian translation po/fur.po | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) commit 2045b8fdaf42d72eb5299e346748bd23e70acfef Author: Fabio Tomat Date: Mon Apr 4 21:04:02 2016 +0000 Updated Friulian translation po/fur.po | 191 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 100 insertions(+), 91 deletions(-) commit d8d3d0b5537b86e3b5b93bf6704af3abf4b73ce5 Author: Fabio Tomat Date: Mon Apr 4 20:25:21 2016 +0000 Updated Friulian translation po/fur.po | 258 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 129 insertions(+), 129 deletions(-) commit 3196fbc74c2600fc5a0be5f649a23c4385eadf0e Author: Fabio Tomat Date: Mon Apr 4 19:57:17 2016 +0000 Updated Friulian translation po/fur.po | 137 +++++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 92 insertions(+), 45 deletions(-) commit ad09d8b30b90ca80ca914e1995bffe3d1f4cacdf Author: Fabio Tomat Date: Mon Apr 4 14:06:15 2016 +0000 Added Friulian translation po/LINGUAS | 1 + po/fur.po | 2859 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 2860 insertions(+) commit d996d897323186a1ce9d1f535b0943168d20685c Author: Günther Wutz Date: Thu Mar 31 12:52:47 2016 +0200 Emit close Signal to GtkDialog if GtkSearchEntry is focused https://bugzilla.gnome.org/show_bug.cgi?id=764408 src/ephy-history-window.c | 14 ++++++++++++++ src/resources/history-dialog.ui | 1 + 2 files changed, 15 insertions(+) commit 5300b066ce38fae58fb99cd3a5e21ba0c060b943 Author: Michael Catanzaro Date: Tue Mar 29 20:59:31 2016 -0500 snapshot-service: Take new snapshots after a restart The previous commit was correct, but the commit message was not. It stated that removing the erroneous check would cause snapshots to be taken if the stored snapshot is too old. In fact, removing the check did not affect behavior at all -- the check was useless -- and so that did nothing to fix our stale snapshot issue. If the snapshot path is not in memory cache, this is an indication that the snapshot is relatively stale (older than the current browsing session) and should be taken again. But we cannot use the existing snapshot path memory cache as-is, because it is populated not when snapshots are taken, but when snapshots are looked up. Augment the cache to remember which paths were snapshotted since Epiphany was last restarted, and check it to determine whether we're due for a snapshot of the current page. Also, remove use of the cache from EphyWebView, since that would prevent snapshots from ever being taken. This really fixes the issue. https://bugzilla.gnome.org/show_bug.cgi?id=763184 embed/ephy-web-view.c | 19 ++++---- lib/ephy-snapshot-service.c | 113 +++++++++++++++++++++++++++++--------------- 2 files changed, 83 insertions(+), 49 deletions(-) commit b6625e51de8a3a2ce00fe88b01339be1044505fb Author: Michael Catanzaro Date: Tue Mar 29 20:12:09 2016 -0500 Revert "snapshot-service: Update snapshots after one week" This reverts commit 80ba0ff169d472888389589b143407d56898ea62. This code has been broken since it was introduced. There are two cases where we use the snapshot service: * From EphyAboutHandler. Here we pass the a time taken from EphyHistoryService for the mtime. This check does not seem useful in this case, because it is only a query: it can never result in a new snapshot being taken to replace the old snapshot. * From EphyWebView itself, when a new page is loaded (or, until recently, when a favicon was acquired for that page). This is the only case in which a new snapshot can ever be taken (or updated). In this case, we pass the current time for mtime, then the comparison current_time - mtime <= SNAPSHOT_UPDATE_THRESHOLD is the same as if (0 <= SNAPSHOT_UPDATE_THRESHOLD), and so the snapshots always pass the check and are never expired. Ideally we would reimplement this properly, since one week seems like a good amount of time for which to persist snapshots. But this is far from straightforward to do. For now, let's just remove this code, causing snapshots to be updated at most once per browsing session. This mitigates the bug where, until recently, we would take snapshots of completely white web views, before the pages had rendered; even though we no longer take white snapshots, broken snapshots that were taken previously currently persist forever until ~/.cache/thumbnails is cleared somehow (e.g. by gnome-settings-daemon's housekeeping plugin). Now they will be cleared much sooner. https://bugzilla.gnome.org/show_bug.cgi?id=763184 lib/ephy-snapshot-service.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) commit 9e75e2cbbd062bd8bad2fe5acefa7a05574b7221 Author: Michael Catanzaro Date: Mon Feb 29 10:23:58 2016 -0600 web-view: Always save passwords in web app mode If you made a web app for the site, you surely want it to remember your password. Don't bug the user about this. https://bugzilla.gnome.org/show_bug.cgi?id=672573 embed/ephy-web-view.c | 7 +++++++ 1 file changed, 7 insertions(+) commit d8f8774fc9a65c7079e641904a502bf111cea60e Author: Michael Catanzaro Date: Wed Mar 23 20:54:59 2016 -0500 window: Force popover to open on the bottom We never want it opening on the top, outside the window and potentially off the screen. https://bugzilla.gnome.org/show_bug.cgi?id=763921 src/ephy-window.c | 1 + 1 file changed, 1 insertion(+) commit 596ad7e4c15b2f416cfbe73d8a2cfd1e9f0cc73b Author: Michael Catanzaro Date: Wed Mar 23 20:23:29 2016 -0500 session: Fix saving of multiple windows This regressed when we changed ephy_session_close to always save the session, even if a save was already in progress. In general that is fine, but it's broken in case a close has already occurred. The problem is that we actually close twice: once in ephy_shell_close_all_windows, and then again once for the last window in ephy_window_close. When closing the last window, other windows have already been closed, and therefore do not get saved. We need to keep the check here though, to keep session save working in the general case when closing a single window with the close button or Ctrl+W, where ephy_shell_close_all_windows never gets called. So the easiest way to fix this is to simply tolerate multiple calls to ephy_session_close, and bail early if the session was already closed; this ensures that we do not clobber the session state file when closing the final window if the session was closed by ephy_shell_close_all_windows. https://bugzilla.gnome.org/show_bug.cgi?id=764101 src/ephy-session.c | 3 +++ 1 file changed, 3 insertions(+) commit 9ccb9da9eb9601c66e615d7a4a44c747832ddac1 Author: Michael Catanzaro Date: Mon Mar 21 23:13:34 2016 -0500 Uncrustify For a better future. Apologies when your 'git blame' resolves to this. I'm actually really impressed how well uncrustify works. This required only a little one-time manual work to avoid extra space in 'else {'. This breaks function prototype alignment, but we should get rid of most of those anyway. We decided to start aligning function parameters, like other GNOME applications. It looks nicer this way, and I couldn't teach uncrustify the previous Epiphany style. embed/ephy-about-handler.c | 91 +- embed/ephy-download.c | 207 +- embed/ephy-downloads-manager.c | 5 +- embed/ephy-embed-container.c | 10 +- embed/ephy-embed-event.c | 17 +- embed/ephy-embed-prefs.c | 185 +- embed/ephy-embed-shell.c | 172 +- embed/ephy-embed-utils.c | 28 +- embed/ephy-embed.c | 135 +- embed/ephy-encoding.c | 122 +- embed/ephy-encodings.c | 193 +- embed/ephy-file-monitor.c | 40 +- embed/ephy-find-toolbar.c | 799 ++-- embed/ephy-web-extension-proxy.c | 106 +- embed/ephy-web-view.c | 520 ++- embed/web-extension/ephy-embed-form-auth.c | 7 +- embed/web-extension/ephy-uri-tester.c | 649 ++- embed/web-extension/ephy-web-dom-utils.c | 38 +- embed/web-extension/ephy-web-extension-main.c | 2 +- embed/web-extension/ephy-web-extension.c | 142 +- embed/web-extension/ephy-web-overview-model.c | 22 +- embed/web-extension/ephy-web-overview.c | 63 +- lib/egg/eggtreemultidnd.c | 270 +- lib/ephy-debug.c | 268 +- lib/ephy-dnd.c | 109 +- lib/ephy-file-helpers.c | 1226 +++-- lib/ephy-form-auth-data.c | 61 +- lib/ephy-gui.c | 535 ++- lib/ephy-initial-state.c | 75 +- lib/ephy-langs.c | 451 +- lib/ephy-node-db.c | 512 +-- lib/ephy-node-filter.c | 604 ++- lib/ephy-node.c | 1814 ++++---- lib/ephy-nss-glue.c | 89 +- lib/ephy-profile-migrator.c | 106 +- lib/ephy-profile-utils.c | 6 +- lib/ephy-security-levels.c | 28 +- lib/ephy-signal-accumulator.c | 81 +- lib/ephy-smaps.c | 30 +- lib/ephy-snapshot-service.c | 149 +- lib/ephy-sqlite-connection.c | 8 +- lib/ephy-sqlite-statement.c | 9 +- lib/ephy-string.c | 36 +- lib/ephy-time-helpers.c | 370 +- lib/ephy-uri-helpers.c | 46 +- lib/ephy-web-app-utils.c | 30 +- lib/ephy-zoom.c | 2 +- lib/history/ephy-history-service-hosts-table.c | 80 +- lib/history/ephy-history-service-urls-table.c | 124 +- lib/history/ephy-history-service-visits-table.c | 34 +- lib/history/ephy-history-service.c | 206 +- lib/history/ephy-history-types.c | 8 +- lib/widgets/ephy-certificate-dialog.c | 106 +- lib/widgets/ephy-download-widget.c | 135 +- lib/widgets/ephy-downloads-popover.c | 3 +- lib/widgets/ephy-downloads-progress-icon.c | 3 +- lib/widgets/ephy-file-chooser.c | 343 +- lib/widgets/ephy-location-entry.c | 2062 +++++---- lib/widgets/ephy-middle-clickable-button.c | 11 +- lib/widgets/ephy-node-view.c | 2657 ++++++----- lib/widgets/ephy-security-popover.c | 130 +- lib/widgets/ephy-tree-model-node.c | 653 ++- lib/widgets/ephy-tree-model-sort.c | 164 +- lib/widgets/ephy-zoom-action.c | 245 +- lib/widgets/nautilus-floating-bar.c | 658 +-- src/bookmarks/ephy-bookmark-action-group.c | 201 +- src/bookmarks/ephy-bookmark-action.c | 620 ++- src/bookmarks/ephy-bookmark-properties.c | 696 ++- src/bookmarks/ephy-bookmarks-editor.c | 2737 ++++++------ src/bookmarks/ephy-bookmarks-export.c | 859 ++-- src/bookmarks/ephy-bookmarks-import.c | 1596 +++---- src/bookmarks/ephy-bookmarks-menu.c | 384 +- src/bookmarks/ephy-bookmarks-ui.c | 486 +- src/bookmarks/ephy-bookmarks.c | 2409 +++++----- src/bookmarks/ephy-nodes-cover.c | 271 +- src/bookmarks/ephy-open-tabs-action.c | 163 +- src/bookmarks/ephy-topic-action-group.c | 139 +- src/bookmarks/ephy-topic-action.c | 450 +- src/bookmarks/ephy-topics-entry.c | 935 ++-- src/bookmarks/ephy-topics-palette.c | 498 +-- src/clear-data-dialog.c | 171 +- src/cookies-dialog.c | 539 ++- src/ephy-action-helper.c | 40 +- src/ephy-combined-stop-reload-action.c | 27 +- src/ephy-completion-model.c | 100 +- src/ephy-encoding-dialog.c | 589 ++- src/ephy-encoding-row.c | 118 +- src/ephy-history-window.c | 1002 ++--- src/ephy-home-action.c | 78 +- src/ephy-link-action.c | 140 +- src/ephy-link.c | 120 +- src/ephy-location-controller.c | 1205 +++-- src/ephy-lockdown.c | 31 +- src/ephy-main.c | 72 +- src/ephy-navigation-history-action.c | 124 +- src/ephy-notebook.c | 1242 +++--- src/ephy-search-provider-main.c | 2 +- src/ephy-search-provider.c | 179 +- src/ephy-session.c | 2160 +++++---- src/ephy-shell.c | 134 +- src/ephy-title-box.c | 36 +- src/ephy-toolbar.c | 92 +- src/ephy-window-action.c | 72 +- src/ephy-window.c | 5449 +++++++++++------------ src/passwords-dialog.c | 667 ++- src/popup-commands.c | 522 ++- src/prefs-dialog.c | 1916 ++++---- src/window-commands.c | 2298 +++++----- tests/ephy-bookmarks-test.c | 7 +- tests/ephy-completion-model-test.c | 48 +- tests/ephy-download-test.c | 18 +- tests/ephy-embed-shell-test.c | 48 +- tests/ephy-embed-utils-test.c | 4 +- tests/ephy-file-helpers-test.c | 2 +- tests/ephy-history-test.c | 64 +- tests/ephy-migration-test.c | 12 +- tests/ephy-session-test.c | 308 +- tests/ephy-shell-test.c | 48 +- tests/ephy-snapshot-service-test.c | 27 +- tests/ephy-sqlite-test.c | 14 +- tests/ephy-test-utils.c | 11 +- tests/ephy-uri-helpers-test.c | 3 +- tests/ephy-web-view-test.c | 114 +- 123 files changed, 24367 insertions(+), 26020 deletions(-) commit 5a5e0d7cf463c14f4769de4e9a3ae9e8b38d54b4 Author: Michael Catanzaro Date: Mon Mar 21 23:48:55 2016 -0500 Add run-uncrustify script data/run-uncrustify | 8 ++++++++ 1 file changed, 8 insertions(+) commit 79c15f0bd0b4ca884026e85c9076984dcd992c4f Author: Michael Catanzaro Date: Mon Mar 21 23:04:40 2016 -0500 Update uncrustify config Known deficiencies: * Doesn't align function prototypes properly, so it's not fit for use on header files yet. I don't care about prototypes in source files, because they should usually be eliminated by rearranging functions. * Leaves two spaces after "else" sometimes; I think this is a one-time issue, best fixed manually. data/kr-gnome-indent.cfg | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit a7f28dfbbaeb3cd89dc86cedd6ab571a8542af3e Author: Richard Hughes Date: Mon Mar 28 16:40:29 2016 +0100 AppData: Mark as unremovable in GNOME Software data/epiphany.appdata.xml.in | 1 + 1 file changed, 1 insertion(+) commit e6b52f7a8381b231f3a2a86ed3c82bb8f28621fe Author: Tiago Carrondo Date: Thu Mar 24 13:01:42 2016 +0000 Updated Portuguese translation po/pt.po | 101 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 51 insertions(+), 50 deletions(-) commit 553cb25bd8bdd12cb51d627f1f45a84c79d21695 Author: Daniel Korostil Date: Tue Mar 22 19:47:14 2016 +0200 Updated Ukrainian translation po/uk.po | 250 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 135 insertions(+), 115 deletions(-) commit 006ae7dfe20e0c8944f4f3827fb5a47df9a8b23a Author: Michael Catanzaro Date: Sat Mar 5 14:18:09 2016 -0600 session: Check restore-session-policy in ephy_session_save() Instead of doing it in the idle, it's better to do it here before scheduling the unnecessary idle. Currently it's handled in the idle because the idle is called manually from ephy_session_close() and this saves checking it in both places, but now that we need to check it in ephy_session_close() anyway, there's no value in doing it in the idle. https://bugzilla.gnome.org/show_bug.cgi?id=762906 src/ephy-session.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit c1a468722df3d0408e39854aa7cd00eb17d12a42 Author: Michael Catanzaro Date: Sat Mar 5 11:26:03 2016 -0600 Activate downloads popover when adding any download Otherwise, when adding downloads after the first download, it seems like nothing is happening when clicking on the download link, users might click and click and download the same file multiple times. https://bugzilla.gnome.org/show_bug.cgi?id=763141 src/ephy-toolbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7514a4acc4cc5e6afde43d2aa70f8c1c9c417561 Author: Michael Catanzaro Date: Sat Mar 5 11:25:21 2016 -0600 Activate downloads popover when download is completed When a download is nearly finished, I find myself watching the download button, guessing whether the very tip of the download arrow has been filled in or not, opening the popover to check if it's ready... and repeating if I guessed wrong. Activate when a download completes to avoid this. Not a great final design, it'd be better for the button to glow or something, but it's a cheap way to tell the user that the download has finished. https://bugzilla.gnome.org/show_bug.cgi?id=763141 embed/ephy-downloads-manager.c | 10 ++++++++++ src/ephy-toolbar.c | 11 +++++++++++ 2 files changed, 21 insertions(+)