Merge lp://staging/~abreu-alexandre/webbrowser-app/add-to-homescreen into lp://staging/webbrowser-app

Proposed by Alexandre Abreu
Status: Work in progress
Proposed branch: lp://staging/~abreu-alexandre/webbrowser-app/add-to-homescreen
Merge into: lp://staging/webbrowser-app
Diff against target: 3824 lines (+3064/-229)
28 files modified
CMakeLists.txt (+1/-0)
helper/CMakeLists.txt (+1/-0)
helper/homescreen-webapp-installer/CMakeLists.txt (+3/-0)
helper/homescreen-webapp-installer/homescreen-webapp-installer.py (+266/-0)
po/webbrowser-app.pot (+128/-227)
src/app/webbrowser/AddressBar.qml (+22/-2)
src/app/webbrowser/Browser.qml (+56/-0)
src/app/webbrowser/CMakeLists.txt (+4/-0)
src/app/webbrowser/Chrome.qml (+6/-0)
src/app/webbrowser/FavoriteOptionTabs.qml (+386/-0)
src/app/webbrowser/HomescreenWebappInstaller.qml (+157/-0)
src/app/webbrowser/NavigationBar.qml (+41/-0)
src/app/webbrowser/homescreen-installed-webapp-model.cpp (+342/-0)
src/app/webbrowser/homescreen-installed-webapp-model.h (+85/-0)
src/app/webbrowser/homescreen-manifest-content.cpp (+180/-0)
src/app/webbrowser/homescreen-manifest-content.h (+109/-0)
src/app/webbrowser/homescreen-manifest-parser.cpp (+131/-0)
src/app/webbrowser/homescreen-manifest-parser.h (+41/-0)
src/app/webbrowser/homescreen-manifest-request.cpp (+176/-0)
src/app/webbrowser/homescreen-manifest-request.h (+60/-0)
src/app/webbrowser/homescreen-webapp-model.cpp (+350/-0)
src/app/webbrowser/homescreen-webapp-model.h (+54/-0)
src/app/webbrowser/homescreen-webapp.cpp (+236/-0)
src/app/webbrowser/homescreen-webapp.h (+86/-0)
src/app/webbrowser/page-metadata-gathering.js (+101/-0)
src/app/webbrowser/webbrowser-app.cpp (+4/-0)
src/app/webcontainer/WebApp.qml (+28/-0)
src/app/webcontainer/WebappContainerWebview.qml (+10/-0)
To merge this branch: bzr merge lp://staging/~abreu-alexandre/webbrowser-app/add-to-homescreen
Reviewer Review Type Date Requested Status
Ubuntu Phablet Team Pending
Review via email: mp+256237@code.staging.launchpad.net

Commit message

very much a WIP

Description of the change

very much a WIP

To post a comment you must log in.
967. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

968. By Arthur Mello

Add model support to control which history entries will be displayed based on a blacklist database
Approved by: PS Jenkins bot, Olivier Tilloy

969. By Arthur Mello

Make Top Sites format equal to Bookmarks on the New Tab view
Approved by: PS Jenkins bot

970. By CI Train Bot Account

Releasing 0.23+15.04.20150416-0ubuntu1

971. By CI Train Bot Account

Resync trunk.

972. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

973. By Ugo Riboni

Include bookmark results in the suggestions list Fixes: #1351177
Approved by: Olivier Tilloy, PS Jenkins bot

974. By Alexandre Abreu

Add missing reload button from the webapp container as specified in the design document.
Approved by: Olivier Tilloy, PS Jenkins bot

975. By Ken VanDine

added ShareLink to contextualActions

Approved by: Olivier Tilloy, PS Jenkins bot

976. By Olivier Tilloy

Save the updated homepage when pressing return. Fixes: #1441874
Approved by: PS Jenkins bot, Riccardo Padovani

977. By Leo Arias

In the autopilot tests, removed the extra focus step to write a URL. Fixes: #1441551
Approved by: Olivier Tilloy, PS Jenkins bot

978. By Olivier Tilloy

Always exit fullscreen mode when the application becomes inactive. Fixes: #1331475
Approved by: PS Jenkins bot, Bill Filler

979. By Olivier Tilloy

Recognize about:blank as a valid URL. Fixes: #1444139
Approved by: PS Jenkins bot

980. By CI Train Bot Account

Releasing 0.23+15.04.20150422.1-0ubuntu1

981. By CI Train Bot Account

Resync trunk.

982. By Olivier Tilloy

Update translation template.

983. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

984. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

985. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

986. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

987. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

988. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

989. By Alexandre Abreu

Add multi-window support for webapps Fixes: #1411722
Approved by: Olivier Tilloy

990. By CI Train Bot Account

Releasing 0.23+15.04.20150430.1-0ubuntu1

991. By CI Train Bot Account

Resync trunk.

992. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

993. By Leo Arias

Fixed flake8 error. Fixes: #1444170
Approved by: Olivier Tilloy

994. By Olivier Tilloy

Run autopilot tests in a temporary profile directory, to avoid polluting the current user’s profile. Fixes: #1448838

995. By Arthur Mello

Change asset for the bottom edge hint.
Add text with open tabs count.
Approved by: Olivier Tilloy

996. By Olivier Tilloy

Save the session periodically to mitigate the situation where multiple new tabs had been created when the browser crashes. Fixes: #1449761

997. By Olivier Tilloy

Visual feedback for pressed state of chrome buttons and drawer menu entries. Fixes: #1448336

998. By Olivier Tilloy

Remove deprecated compatibility code.
Approved by: David Barth

999. By CI Train Bot Account

Releasing 0.23+15.04.20150506-0ubuntu1

1000. By CI Train Bot Account

Resync trunk.

1001. By Olivier Tilloy

Update translation template.

1002. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1003. By Riccardo Padovani

Add support for data: URIs in the address bar, and remove length limitation for TLDs. Fixes: #1377953, #1441281, #1450154
Approved by: Olivier Tilloy

1004. By Leo Arias

Fix the base class used when launching the app in autopilot tests.
Approved by: Olivier Tilloy, Christopher Lee

1005. By Olivier Tilloy

Also set XDG_CONFIG_HOME (needed for tests not to override user-defined settings).

1006. By Ugo Riboni

Add suggestions from search engines in the suggestions list. Fixes: #1351151
Approved by: Olivier Tilloy

1007. By Olivier Tilloy

Use the new Oxide APIs to better control visibility of the chrome.
This bumps the runtime dependency on liboxideqt-qmlplugin to 1.7. Fixes: #1441064, #1453908
Approved by: Alexandre Abreu

1008. By CI Train Bot Account

Releasing 0.23+15.04.20150512-0ubuntu1

1009. By CI Train Bot Account

Resync trunk.

1010. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1011. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1012. By Olivier Tilloy

Look for custom search engines description files in several locations.
This adds a build dependency on qml-module-qt-labs-folderlistmodel, to run unit tests at package construction time. Fixes: #1455207

1013. By Olivier Tilloy

Delay showing the fullscreen hint to prevent it from jumping up while the webview is being resized. Fixes: #1454097
Approved by: Ugo Riboni

1014. By Olivier Tilloy

Use checkboxes instead of switches for verb phrases, per design guidance. Fixes: #1442851
Approved by: Riccardo Padovani

1015. By Olivier Tilloy

Change the homepage in tests so that the domain name doesn’t contain a dot, to work around https://launchpad.net/bugs/1108742.

1016. By CI Train Bot Account

Releasing 0.23+15.04.20150515-0ubuntu1

1017. By CI Train Bot Account

Resync trunk.

1018. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1019. By Olivier Tilloy

Make use of the WebContext.maxCacheSizeHint property, introduced in Oxide 1.6.
This bumps the dependency of qtdeclarative5-ubuntu-web-plugin on liboxideqt-qmlplugin to 1.6. Fixes: #1277659
Approved by: Alexandre Abreu

1020. By Olivier Tilloy

Ensure the search engine delegates do not overlap with the settings header. Fixes: #1455399
Approved by: Riccardo Padovani

1021. By Olivier Tilloy

When opening a new blank tab, always clear the address bar. Fixes: #1456199
Approved by: Arthur Mello

1022. By Arthur Mello

Implement private browsing mode per design specification. Fixes: #1351179, #1457925, #1457958
Approved by: Olivier Tilloy

1023. By Olivier Tilloy

Add Qwant to the default list of search engines.

1024. By Olivier Tilloy

Add missing import statement. Fixes: #1457060
Approved by: Alexandre Abreu

1025. By Olivier Tilloy

Remove a number of useless calls to QTest::qWait() in unit tests, thus making them significantly faster to run.

1026. By Olivier Tilloy

Fix a flaky autopilot test.
On a mobile device with network access, the URL (http://en.wikipedia.org/wiki/Linux) might be rewritten to https://en.m.wikipedia.org/wiki/Linux, thus making the test racy depending on when the check on the webview’s URL is performed. Fixes: #1456885

1027. By Olivier Tilloy

Delay hiding the tab contents to give it an opportunity to grab an up-to-date capture.
Improve the tab switching animation to not flicker and jump around that much. Fixes: #1452998

1028. By CI Train Bot Account

Releasing 0.23+15.04.20150522.1-0ubuntu1

1029. By Olivier Tilloy

Update translation template.

1030. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1031. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1032. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1033. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1034. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1035. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1036. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1037. By Olivier Tilloy

Bump build dependency on liboxideqt-qmlplugin to 1.6 to fix unit tests.

1038. By Riccardo Padovani

New tab view refactoring. Fixes: #1351157, #1371248, #1389605, #1442190, #1444023
Approved by: Olivier Tilloy

1039. By Olivier Tilloy

Remove the upstreamcomponents folder, and use components from the UITK instead.
Add autopilot tests for the new tab view.
Approved by: Riccardo Padovani

1040. By Olivier Tilloy

Do not try to remove a file that doesn’t exist.

1041. By Olivier Tilloy

Updated icon. Fixes: #1457424

1042. By Olivier Tilloy

Pass plain strings to the worker script instead of RegExps. Fixes: #1445673
Approved by: Chris Coulson

1043. By Olivier Tilloy

Do not cache favicons on disk when browsing in private mode. Fixes: #1458963
Approved by: Arthur Mello

1044. By Olivier Tilloy

Actually clear the network cache by deleting the correct set of files in the correct directory. Fixes: #1459956

1045. By CI Train Bot Account

Releasing 0.23+15.10.20150602-0ubuntu1

1046. By Olivier Tilloy

Update translation template.

1047. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1048. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1049. By Olivier Tilloy

Updated bzr ignore rules.

1050. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1051. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1052. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1053. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1054. By Alexandre Abreu

Ensure SAML requests are followed even if the app is interrupted and restarted. Fixes: #1451432, #1452142

1055. By Alexandre Abreu

Handle desktop download by forwarding to the default browser Fixes: #1309657
Approved by: Olivier Tilloy

1056. By CI Train Bot Account

Releasing 0.23+15.10.20150610-0ubuntu1

1057. By CI Train Bot Account

Resync trunk.

1058. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1059. By Timo Jyrinki

No-change rebuild against Qt 5.4.2.

1060. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1061. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1062. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1063. By Ugo Riboni

Make the browser chrome usable on desktop by implementing common keyboard shortcuts and behaviors that users normally expect in such an app Fixes: #1287361
Approved by: Olivier Tilloy

1064. By Olivier Tilloy

Toggle application-level fullscreen when pressing F11. Fixes: #1464333

1065. By Michael Terry

Fix spelling of OK in private browsing dialog.
Approved by: Olivier Tilloy

1066. By Olivier Tilloy

Do not honour fullscreen requests silently at the Ubuntu WebView level.
Instead delegate that behaviour to the webview implementation used by the browser and the webapp container. Fixes: #1464249
Approved by: PS Jenkins bot, Alexandre Abreu

1067. By Olivier Tilloy

Actually push URLs to the clipboard.
For some reason setting the "text/url-list" mime type doesn’t seem to work (or other applications do not implement pasting this kind of data), but "text/plain" works well enough for this purpose. Fixes: #1463435
Approved by: PS Jenkins bot, Alexandre Abreu

1068. By CI Train Bot Account

Releasing 0.23+15.10.20150618-0ubuntu1

1069. By CI Train Bot Account

Resync trunk.

1070. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1071. By Olivier Tilloy

Update translation template.

1072. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1073. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1074. By Alberto Mardegan

Show an error screen if the trust session could not be opened. Fixes: #1441873
Approved by: PS Jenkins bot

1075. By CI Train Bot Account

Releasing 0.23+15.10.20150624-0ubuntu1

1076. By CI Train Bot Account

Resync trunk.

1077. By Arthur Mello

Implement bookmark folders Fixes: #1259247, #1351147
Approved by: PS Jenkins bot

1078. By CI Train Bot Account

Releasing 0.23+15.10.20150702.1-0ubuntu1

1079. By CI Train Bot Account

Resync trunk.

1080. By Olivier Tilloy

Update translation template.

1081. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1082. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1083. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1084. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1085. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1086. By Olivier Tilloy

Display the full URL when focusing the address bar. Fixes: #1472161

1087. By CI Train Bot Account

Releasing 0.23+15.10.20150708-0ubuntu1

1088. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1089. By Olivier Tilloy

Desktop tabs for convergence.

1090. By CI Train Bot Account

Releasing 0.23+15.10.20150709.3-0ubuntu1

1091. By Olivier Tilloy

Speed up a bunch of autopilot tests by not requiring to input and validate a URL in the address bar.

1092. By Olivier Tilloy

Prefer target_link_libraries(…) with Qt5:: prefixed modules over qt5_use_modules,
per documentation at http://doc.qt.io/qt-5/cmake-manual.html.
Approved by: PS Jenkins bot

1093. By Olivier Tilloy

Disable periodic session saving while incognito. The public session is unlikely to change significantly while browsing incognito.

Save the public session right away when going incognito.

1094. By CI Train Bot Account

Releasing 0.23+15.10.20150709.4-0ubuntu1

1095. By CI Train Bot Account

Resync trunk.

1096. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1097. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1098. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1099. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1100. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1101. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1102. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1103. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1104. By Olivier Tilloy

Fix narrowing conversion that makes the build fail with GCC 5. Fixes: #1475621
Approved by: Alexandre Abreu, PS Jenkins bot

1105. By CI Train Bot Account

Releasing 0.23+15.10.20150728-0ubuntu1

1106. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1107. By Olivier Tilloy

When clearing browsing data, confirm action with a dialog, to give the user a chance to cancel it. Fixes: #1471747
Approved by: PS Jenkins bot, Riccardo Padovani

1108. By Olivier Tilloy

Ensure a value is always returned by BookmarksModel::addFolder(…).
Approved by: PS Jenkins bot

1109. By Olivier Tilloy

Update icon, per UI specification. Fixes: #1412732
Approved by: PS Jenkins bot, Riccardo Padovani

1110. By CI Train Bot Account

Releasing 0.23+15.10.20150729-0ubuntu1

1111. By CI Train Bot Account

Resync trunk.

1112. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1113. By Olivier Tilloy

Update translation template.

1114. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1115. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1116. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1117. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1118. By Steve Langasek

Add missing changelog entry due to direct upload.

1119. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1120. By Olivier Tilloy

Update all imports of:
 - Ubuntu.Components to 1.3
 - QtQuick to 2.4
 - QtQuick.Window to 2.2

This bumps the required versions of qtdeclarative5-ubuntu-ui-toolkit-plugin, qml-module-qtquick2 and qml-module-qtquick-window2 in debian/control. Fixes: #1483279

1121. By CI Train Bot Account

Releasing 0.23+15.10.20150810-0ubuntu1

1122. By Olivier Tilloy

Implement the "Find in Page" feature.
This bumps the runtime dependency on liboxideqt-qmlplugin to 1.8. Fixes: #1312260
Approved by: Riccardo Padovani

1123. By Olivier Tilloy

Drop old names for QML dependencies.
Original patch by Robert Ancell.

1124. By Olivier Tilloy

Highlight matching terms in one pass. Fixes: #1481206
Approved by: PS Jenkins bot, Ugo Riboni

1125. By CI Train Bot Account

Releasing 0.23+15.10.20150811-0ubuntu1

1126. By Olivier Tilloy

Update translation template.

1127. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1128. By Arthur Mello

Wide screen versions of the history view and new tab view, per design specification.
This adds a build dependency on qml-module-qt-labs-settings (for unit tests). Fixes: #1351157, #1481647

1129. By CI Train Bot Account

Releasing 0.23+15.10.20150812.1-0ubuntu1

1130. By Olivier Tilloy

Update translation template.

1131. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1132. By Olivier Tilloy

Remove strong typing of the contextualActions and selectionActions properties.
This would cause issues if an app imported Ubuntu.Web along with Ubuntu.Components < 1.3 and overrode one of these properties, because the webview expected an ActionList 1.3, and would get an earlier version. Fixes: #1484437

1133. By CI Train Bot Account

Releasing 0.23+15.10.20150813.1-0ubuntu1

1134. By CI Train Bot Account

Resync trunk.

1135. By Ugo Riboni

Delay the exit from fullscreen mode until focus remains lost for a certain amount of time. Fixes: #1477308
Approved by: Olivier Tilloy

1136. By Ugo Riboni

Disable find in page when the new tab view is active. Fixes: #1483847
Approved by: Olivier Tilloy

1137. By CI Train Bot Account

Releasing 0.23+15.10.20150814-0ubuntu1

1138. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1139. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1140. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1141. By Colin Watson

Fix versioned dependencies on qtdeclarative5-ubuntu-ui-toolkit-plugin to allow qtdeclarative5-ubuntu-ui-toolkit-plugin-gles.
Approved by: Olivier Tilloy

1142. By Arthur Mello

Wait for OptionSelector's collapsing transition to finish Fixes: #1484175
Approved by: Olivier Tilloy

1143. By Arthur Mello

Make sure to set the historyModel to the HistoryView component when browser wide property changes Fixes: #1484555
Approved by: Olivier Tilloy

1144. By CI Train Bot Account

Releasing 0.23+15.10.20150817-0ubuntu1

1145. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1146. By Ugo Riboni

Merge two url utility files into one, since they had no reason for being separate. Add unit tests for some of the functions that had none.
Approved by: Olivier Tilloy

1147. By Alexandre Abreu

Fix webapp name logic Fixes: #1473472
Approved by: Olivier Tilloy

1148. By Arthur Mello

Add support for removing history entries with delete key in HistoryViewWide Fixes: #1484562
Approved by: Olivier Tilloy

1149. By Olivier Tilloy

Remove an old workaround for an issue that was fixed since then in the content hub and that caused the file picker to accept the selected file twice.
Approved by: Michael Sheldon, Alexandre Abreu

1150. By CI Train Bot Account

Releasing 0.23+15.10.20150820-0ubuntu1

1151. By CI Train Bot Account

Resync trunk.

1152. By Olivier Tilloy

Use the contextMenu API new in oxide 1.8.
Update the visuals for the context menu in narrow and wide form factors.
Add text editing commands to the context menu.
Add unit and autopilot tests for the context menu features.
This bumps the runtime dependency of webapp-container and qtdeclarative5-ubuntu-web-plugin on liboxideqt-qmlplugin to 1.8.
This also removes the qtdeclarative5-ubuntu-web-plugin-assets binary package, which contained only one PNG asset which is not used anywhere any longer. Fixes: #1264493, #1326070, #1438046, #1450430, #1471181, #1477309, #1477310, #1477315, #1487090
Approved by: PS Jenkins bot, Ugo Riboni, Ken VanDine

1153. By CI Train Bot Account

Releasing 0.23+15.10.20150827.3-0ubuntu1

1154. By CI Train Bot Account

Resync trunk.

1155. By Olivier Tilloy

Update translation template.

1156. By Launchpad Translations on behalf of phablet-team

Launchpad automatic translations update.

1157. By Alexandre Abreu

update to trunk

1158. By Alexandre Abreu

merge trunk

Unmerged revisions

1158. By Alexandre Abreu

merge trunk

1157. By Alexandre Abreu

update to trunk

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to status/vote changes: