Merge lp:~verzegnassi-stefano/ubuntu-docviewer-app/20-enable-zoom into lp:ubuntu-docviewer-app/trunk
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Alan Pope πΊπ§π± π¦ on 2015-02-04 | ||||
| Approved revision: | 85 | ||||
| Merged at revision: | 69 | ||||
| Proposed branch: | lp:~verzegnassi-stefano/ubuntu-docviewer-app/20-enable-zoom | ||||
| Merge into: | lp:ubuntu-docviewer-app/trunk | ||||
| Prerequisite: | lp:~verzegnassi-stefano/ubuntu-docviewer-app/10-prepare-poppler-plugin | ||||
| Diff against target: |
1649 lines (+1238/-135) 16 files modified
README (+4/-1) debian/changelog (+6/-0) debian/control (+5/-3) manifest.json.in (+1/-1) po/com.ubuntu.docviewer.pot (+4/-4) src/app/main.cpp (+7/-0) src/app/qml/PdfView.qml (+56/-76) src/app/qml/PdfViewDelegate.qml (+69/-42) src/app/qml/PdfViewGotoDialog.qml (+1/-1) src/plugin/poppler-qml-plugin/CMakeLists.txt (+7/-1) src/plugin/poppler-qml-plugin/pdfdocument.cpp (+17/-3) src/plugin/poppler-qml-plugin/pdfdocument.h (+5/-0) src/plugin/poppler-qml-plugin/plugin.cpp (+3/-1) src/plugin/poppler-qml-plugin/verticalview.cpp (+884/-0) src/plugin/poppler-qml-plugin/verticalview.h (+167/-0) tests/autopilot/ubuntu_docviewer_app/tests/test_docviewer.py (+2/-2) |
||||
| To merge this branch: | bzr merge lp:~verzegnassi-stefano/ubuntu-docviewer-app/20-enable-zoom | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Ubuntu Phone Apps Jenkins Bot | continuous-integration | Approve on 2015-02-04 | |
| Riccardo Padovani (community) | Approve on 2015-02-03 | ||
| Ubuntu Document Viewer Developers | 2015-01-30 | Pending | |
|
Review via email:
|
|||
Commit Message
Enable zoom in PDF view & multithreading support
Description of the Change
Enabled multithreading support (ImageProvider). At the moment is a bit "ugly" workaround, but it's necessary in order to have good performance with larger documents.
Added VerticalView class, instead of using a ListView. This allows us to have the advantages of a ListView (e.g. cacheBuffer) with a Flickable that can scroll in both directions.
The C++ class comes from Unity 8 (some code has been removed - around 500 lines - and some added).
By doing this, we can provide zoom with good performance.
- 75. By Stefano Verzegnassi on 2015-01-30
-
Fixed an error while importing new code in PdfView
- 76. By Stefano Verzegnassi on 2015-01-30
-
Increment version number
FAILED: Continuous integration, rev:76
http://
Executed test runs:
FAILURE: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 77. By Stefano Verzegnassi on 2015-01-31
-
Fix broken package
- 78. By Stefano Verzegnassi on 2015-01-31
-
Revert previous commit, try to fix deb package
FAILED: Continuous integration, rev:78
http://
Executed test runs:
FAILURE: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 79. By Stefano Verzegnassi on 2015-02-02
-
Reduce PdfView cachebuffer by half
FAILED: Continuous integration, rev:79
http://
Executed test runs:
FAILURE: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Riccardo Padovani (rpadovani) wrote : | # |
Tested on vivid desktop, works well.
The workaround about the multithreading is simple and clever (but I hope they fix the bug upstream).
I took a look to code about Flickable, seems good, but I don't have the ability to understand it in its entirety. Anyway, works well.
Thanks for the huge work!
Thank you for the review, Riccardo!
Just waiting for fixing a bug about Debian packaging, and it will land soon (I hope) :D
- 80. By Stefano Verzegnassi on 2015-02-03
-
Merge with trunk - Updated pot
FAILED: Continuous integration, rev:80
http://
Executed test runs:
FAILURE: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 81. By Stefano Verzegnassi on 2015-02-04
-
Merge with trunk - solved conflict in debian/control
FAILED: Continuous integration, rev:81
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 82. By Stefano Verzegnassi on 2015-02-04
-
Any comma is important, thank you Jenkins for such lesson
FAILED: Continuous integration, rev:82
http://
Executed test runs:
FAILURE: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 83. By Stefano Verzegnassi on 2015-02-04
-
Fixed broken debian package building
- 84. By Stefano Verzegnassi on 2015-02-04
-
Fixed broken autopilot tests
FAILED: Continuous integration, rev:84
http://
Executed test runs:
UNSTABLE: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 85. By Stefano Verzegnassi on 2015-02-04
-
Fixed last bits of autopilot test
PASSED: Continuous integration, rev:85
http://
Executed test runs:
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://


FAILED: Continuous integration, rev:74 91.189. 93.70:8080/ job/ubuntu- docviewer- app-ci/ 136/ 91.189. 93.70:8080/ job/generic- mediumtests- vivid/912/ console 91.189. 93.70:8080/ job/generic- mediumtests- vivid/912/ artifact/ work/output/ *zip*/output. zip 91.189. 93.70:8080/ job/ubuntu- docviewer- app-vivid- amd64-ci/ 39
http://
Executed test runs:
FAILURE: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: 91.189. 93.70:8080/ job/ubuntu- docviewer- app-ci/ 136/rebuild
http://