Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 11304082: Download updates automatically, ask to install from a modeless dialog (Closed)

Created:
July 31, 2013, 5:14 p.m. by Felix Dahlke
Modified:
Aug. 5, 2013, 1:09 p.m.
Visibility:
Public.

Description

This is what now happens when an update is available: 1. Download the update silently 2. Ask the user if it should be installed 3. Install it Step two is now a modeless dialog with a thin titlebar that appears in the lower right corner of the screen, similar to desktop notifications in Firefox on Windows.

Patch Set 1 : #

Total comments: 26

Patch Set 2 : Calculate sizes dynamically #

Unified diffs Side-by-side diffs Delta from patch set Stats (+238 lines, -149 lines) Patch
M adblockplus.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M locales/en.ini View 1 1 chunk +4 lines, -8 lines 0 comments Download
M locales/ru.ini View 1 chunk +0 lines, -10 lines 0 comments Download
A src/engine/UpdateInstallDialog.h View 1 1 chunk +18 lines, -0 lines 0 comments Download
A src/engine/UpdateInstallDialog.cpp View 1 1 chunk +189 lines, -0 lines 0 comments Download
M src/engine/Updater.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/engine/Updater.cpp View 1 4 chunks +24 lines, -106 lines 0 comments Download
M src/engine/engine.rc View 1 2 chunks +0 lines, -23 lines 0 comments Download

Messages

Total messages: 11
Felix Dahlke
July 31, 2013, 5:22 p.m. (2013-07-31 17:22:13 UTC) #1
Oleksandr
This looks cool for the purpose of just showing the Update Dialog. However I was ...
July 31, 2013, 10:16 p.m. (2013-07-31 22:16:59 UTC) #2
Felix Dahlke
On 2013/07/31 22:16:59, Oleksandr wrote: > This looks cool for the purpose of just showing ...
July 31, 2013, 10:20 p.m. (2013-07-31 22:20:35 UTC) #3
Oleksandr
I think you're right - currently we don't need to show anything from the plugin ...
July 31, 2013, 10:36 p.m. (2013-07-31 22:36:51 UTC) #4
Oleksandr
http://codereview.adblockplus.org/11304082/diff/10001/src/engine/UpdateInstallDialog.cpp File src/engine/UpdateInstallDialog.cpp (right): http://codereview.adblockplus.org/11304082/diff/10001/src/engine/UpdateInstallDialog.cpp#newcode42 src/engine/UpdateInstallDialog.cpp:42: windowClass.lpszClassName = windowClassName.c_str(); Maybe use hIcon here with ABP ...
Aug. 1, 2013, 7:05 a.m. (2013-08-01 07:05:11 UTC) #5
Felix Dahlke
http://codereview.adblockplus.org/11304082/diff/10001/src/engine/UpdateInstallDialog.cpp File src/engine/UpdateInstallDialog.cpp (right): http://codereview.adblockplus.org/11304082/diff/10001/src/engine/UpdateInstallDialog.cpp#newcode42 src/engine/UpdateInstallDialog.cpp:42: windowClass.lpszClassName = windowClassName.c_str(); On 2013/08/01 07:05:12, Oleksandr wrote: > ...
Aug. 1, 2013, 7:21 a.m. (2013-08-01 07:21:17 UTC) #6
Oleksandr
LGTM as a first step for a more robust notification mechanism On 2013/08/01 07:21:17, Felix ...
Aug. 1, 2013, 8:44 a.m. (2013-08-01 08:44:15 UTC) #7
Wladimir Palant
http://codereview.adblockplus.org/11304082/diff/10001/locales/en.ini File locales/en.ini (right): http://codereview.adblockplus.org/11304082/diff/10001/locales/en.ini#newcode14 locales/en.ini:14: install-question-text=A new version of Adblock Plus has been downloaded. ...
Aug. 1, 2013, 9:58 a.m. (2013-08-01 09:58:24 UTC) #8
Felix Dahlke
Uploaded a new patch set addressing all issues. http://codereview.adblockplus.org/11304082/diff/10001/locales/en.ini File locales/en.ini (right): http://codereview.adblockplus.org/11304082/diff/10001/locales/en.ini#newcode14 locales/en.ini:14: install-question-text=A ...
Aug. 2, 2013, 10:48 a.m. (2013-08-02 10:48:01 UTC) #9
Wladimir Palant
LGTM
Aug. 2, 2013, 1:19 p.m. (2013-08-02 13:19:49 UTC) #10
Oleksandr
Aug. 4, 2013, 6:04 a.m. (2013-08-04 06:04:48 UTC) #11
LGTM

Powered by Google App Engine
This is Rietveld