Merge lp:~ahayzen/ubuntu-ui-extras/job-impressions-update into lp:~phablet-team/ubuntu-ui-extras/printer-staging
Status: | Merged |
---|---|
Approved by: | Jonas G. Drange |
Approved revision: | 156 |
Merged at revision: | 149 |
Proposed branch: | lp:~ahayzen/ubuntu-ui-extras/job-impressions-update |
Merge into: | lp:~phablet-team/ubuntu-ui-extras/printer-staging |
Prerequisite: | lp:~ahayzen/ubuntu-ui-extras/job-model-split-update |
Diff against target: |
458 lines (+130/-32) 15 files modified
modules/Ubuntu/Components/Extras/Example/PrinterQueue.qml (+1/-4) modules/Ubuntu/Components/Extras/Printers/CMakeLists.txt (+1/-1) modules/Ubuntu/Components/Extras/Printers/backend/backend_cups.cpp (+16/-0) modules/Ubuntu/Components/Extras/Printers/models/jobmodel.cpp (+21/-0) modules/Ubuntu/Components/Extras/Printers/models/jobmodel.h (+4/-0) modules/Ubuntu/Components/Extras/Printers/models/printermodel.cpp (+2/-2) modules/Ubuntu/Components/Extras/Printers/models/printermodel.h (+2/-2) modules/Ubuntu/Components/Extras/Printers/printer/printerjob.cpp (+7/-0) modules/Ubuntu/Components/Extras/Printers/printer/signalratelimiter.cpp (+28/-6) modules/Ubuntu/Components/Extras/Printers/printer/signalratelimiter.h (+8/-6) modules/Ubuntu/Components/Extras/Printers/printers/printers.cpp (+7/-0) po/ubuntu-ui-extras.pot (+2/-2) tests/unittests/Printers/CMakeLists.txt (+3/-3) tests/unittests/Printers/mockbackend.h (+2/-0) tests/unittests/Printers/tst_signalratelimiter.cpp (+26/-6) |
To merge this branch: | bzr merge lp:~ahayzen/ubuntu-ui-extras/job-impressions-update |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jonas G. Drange (community) | Approve | ||
Andrew Hayzen | Pending | ||
Review via email: mp+319687@code.launchpad.net |
This proposal supersedes a proposal from 2017-03-09.
Commit message
* Connect job-impressions
* In the job model listen to printerStateChanged as changes t job-impressions
* Improve the PrinterSignalHa
* Add unit test for SignalRateLimiter to check it does perform a flush
* Rename PrinterSignalHa
Description of the change
* Connect job-impressions
* In the job model listen to printerStateChanged as changes t job-impressions
* Improve the PrinterSignalHa
* Add unit test for SignalRateLimiter to check it does perform a flush
* Rename PrinterSignalHa
Testing:
- Add a printer which has an address of lpd://127.0.0.1 so that it will spool on the cups server
- Download the serverguide.pdf (which has loads of pages) from [0]
- Open the PrinterQueue.qml example and open the printer you just added
- Add the serverguide.pdf to the printer queue for the printer you just added
- Watch the printing N pages count increment (also note the freezes that happen, eg if there is already a job being rendered when starting the example it can freeze)
0 - http:// bazaar. launchpad. net/~ubuntu- docviewer- dev/ubuntu- docviewer- app/lo- viewer/ download/ head:/servergui de.pdf- 20150423201617- 20cgubqqf8rhoke i-1/serverguide .pdf