Merge lp:~mterry/ubuntu-system-settings/geonames into lp:ubuntu-system-settings
| Status: | Merged |
|---|---|
| Approved by: | Michael Terry on 2016-03-08 |
| Approved revision: | 1604 |
| Merged at revision: | 1617 |
| Proposed branch: | lp:~mterry/ubuntu-system-settings/geonames |
| Merge into: | lp:ubuntu-system-settings |
| Diff against target: |
443 lines (+107/-199) 6 files modified
CMakeLists.txt (+1/-1) debian/control (+1/-1) plugins/time-date/CMakeLists.txt (+4/-2) plugins/time-date/timedate.cpp (+5/-1) plugins/time-date/timezonelocationmodel.cpp (+86/-142) plugins/time-date/timezonelocationmodel.h (+10/-52) |
| To merge this branch: | bzr merge lp:~mterry/ubuntu-system-settings/geonames |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Jonas G. Drange (community) | 2016-02-24 | Approve on 2016-03-02 | |
| PS Jenkins bot | continuous-integration | Needs Fixing on 2016-03-01 | |
|
Review via email:
|
|||
Commit Message
Use geonames library instead of timezonemap library to search city names, which gives us slightly better sorting (and future improvements)
Description of the Change
The Desktop team has decided to maintain a new timezone library (geonames) instead of its old one (timezonemap).
They've already ported unity-system-
Benefits of this new MP:
- No gtk dependency (timezonemap has one)
- No complicated threading in USS now, geonames does that for us
- No time spent parsing timezone data (geonames keeps it in binary form inside the library itself)
- Fixed bug where the activity indicator didn't show up while filtering (it only showed when initially parsing timezone data)
- Results are a little more sensible, since they are now sorted by population size
- Results are a little more sensible, since matching is now done on the beginning of city names, not anywhere inside the string. But that's subjective
Note that geonames isn't in vivid (or stable-
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1600
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Michael Terry (mterry) wrote : | # |
Whoops, noticed that if you type / backspace very fast, sometimes no results appear. Working on it.
| Michael Terry (mterry) wrote : | # |
OK, that bug was just an issue with geonames having a double-free.
https:/
I added some more cleanup to this branch, but otherwise I think it's still fine. (Assuming the above fix lands.)
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1601
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Jonas G. Drange (jonas-drange) wrote : | # |
This is wonderful. Do you have debs or maybe a preliminary silo for this?
- 1602. By Michael Terry on 2016-02-26
-
Remove extern c bit, geonames now has the fix
| Michael Terry (mterry) wrote : | # |
Good point. I just set up silo 46 to hold this and the required geonames branches.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1602
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 1603. By Michael Terry on 2016-03-01
-
Fix func def
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1603
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 1604. By Michael Terry on 2016-03-01
-
Revert accidental pot changes
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1604
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
| Jonas G. Drange (jonas-drange) wrote : | # |
Works well on the phone (no lag when searching) and the first item in the result set is usually the correct one. Thanks!
| Michael Terry (mterry) wrote : | # |
I'll top approve this then?


FAILED: Continuous integration, rev:1599 jenkins. qa.ubuntu. com/job/ ubuntu- system- settings- ci/2620/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- vivid-touch/ 6621/console jenkins. qa.ubuntu. com/job/ ubuntu- system- settings- vivid-amd64- ci/394/ console jenkins. qa.ubuntu. com/job/ ubuntu- system- settings- vivid-i386- ci/803/ console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- vivid-armhf/ 6632/console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/ubuntu- system- settings- ci/2620/ rebuild
http://