Merge lp:~mir-team/mir/add-keymap-change-support into lp:mir
| Status: | Merged |
|---|---|
| Approved by: | Alan Griffiths on 2015-02-23 |
| Approved revision: | 2304 |
| Merged at revision: | 2336 |
| Proposed branch: | lp:~mir-team/mir/add-keymap-change-support |
| Merge into: | lp:mir |
| Diff against target: |
1134 lines (+381/-60) 37 files modified
include/common/mir/events/event_builders.h (+2/-0) include/common/mir/input/input_platform.h (+3/-1) include/common/mir_toolkit/events/event.h (+14/-1) include/common/mir_toolkit/events/event_deprecated.h (+12/-1) include/common/mir_toolkit/events/keymap_event.h (+48/-0) include/server/mir/scene/null_surface_observer.h (+1/-0) include/server/mir/scene/surface.h (+2/-0) include/server/mir/scene/surface_observer.h (+2/-0) src/client/mir_surface.cpp (+11/-3) src/client/mir_surface.h (+2/-0) src/client/rpc/mir_protobuf_rpc_channel.cpp (+3/-1) src/common/event.cpp (+14/-0) src/common/events/event_builders.cpp (+12/-0) src/common/input/CMakeLists.txt (+1/-1) src/common/input/android/android_input_platform.cpp (+2/-2) src/common/input/android/android_input_platform.h (+1/-1) src/common/input/android/android_input_receiver.cpp (+9/-6) src/common/input/android/android_input_receiver.h (+3/-2) src/common/input/xkb_mapper.cpp (+17/-4) src/common/symbols.map (+7/-0) src/include/common/mir/input/xkb_mapper.h (+6/-1) src/include/server/mir/scene/surface_event_source.h (+1/-0) src/server/input/cursor_controller.cpp (+2/-2) src/server/scene/basic_surface.cpp (+11/-0) src/server/scene/basic_surface.h (+3/-0) src/server/scene/legacy_surface_change_notification.cpp (+5/-0) src/server/scene/legacy_surface_change_notification.h (+1/-0) src/server/scene/null_surface_observer.cpp (+1/-0) src/server/scene/surface_event_source.cpp (+5/-0) tests/acceptance-tests/throwback/test_client_input.cpp (+80/-0) tests/include/mir_test/event_matchers.h (+22/-0) tests/include/mir_test_doubles/stub_scene_surface.h (+2/-0) tests/integration-tests/test_test_framework.cpp (+40/-12) tests/unit-tests/client/input/test_android_input_receiver.cpp (+18/-7) tests/unit-tests/client/input/test_android_input_receiver_thread.cpp (+2/-1) tests/unit-tests/client/input/test_xkb_mapper.cpp (+12/-10) tests/unit-tests/client/test_client_mir_surface.cpp (+4/-4) |
| To merge this branch: | bzr merge lp:~mir-team/mir/add-keymap-change-support |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| PS Jenkins bot | continuous-integration | Approve on 2015-02-20 | |
| Andreas Pokorny (community) | Approve on 2015-02-19 | ||
| Kevin DuBois (community) | Approve on 2015-02-18 | ||
| Chris Halse Rogers | Approve on 2015-02-16 | ||
| Alan Griffiths | 2015-02-05 | Approve on 2015-02-05 | |
|
Review via email:
|
|||
Commit Message
Introduce ms::Surface:
Description of the Change
Introduce an API for shells to set the keymap for a surface. Required to implement the keyboard indicator.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2291
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Chris Halse Rogers (raof) wrote : | # |
709 +void ms::NullSurface
710 + xkb_rule_names const& /* names */) {}
Strange carriage return?
Otherwise OK.
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2292
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Robert Carr (robertcarr) wrote : | # |
Whitespace fixed. CI error unrelated timeout (bumped)
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2294
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2295
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Robert Carr (robertcarr) wrote : | # |
Its not the timeouts :( its weird behavior due to the FD limit test based leak check test and the movement of where XKB rule files are opened in the surface creation sequence...should get time to check tomorrow
| Robert Carr (robertcarr) wrote : | # |
Made the test pass via a different method of counting FDs...there are some weird questions...
1. Why did it ever pass? Wasn't there a connection FD too meaning the last surface should have failed to create (due to its input FD being past the limit).
2. Why did the introduction of an additional fd per surface (per keymap) cause the test to fail intermittently in amd64 valgrind and nowhere else? and NOT due to timeouts?
These are the questions of our age. Anyway I believe the test is more robust now...
see "surface_
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2297
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Andreas Pokorny (andreas-pokorny) wrote : | # |
I just tried my favorite layout us + intl variant, with some of the composed keys. It maps them to dead key key symbols, but does not yield any of the composed symbols. A different part of the xkb API is needed for that, and I guess some more extensions to MirEvent?
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2298
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2299
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| Chris Halse Rogers (raof) wrote : | # |
Looks good to me now.
@Andreas: I think we've decided that dead keys, compose keys, etc are an input method (albeit a very simple one) and will treat them as such.
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:2300
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:2301
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
FAILURE: http://
SUCCESS: http://
- 2302. By Robert Carr on 2015-02-19
-
Some reworking to FD leak test to make independent of platform Fd counts
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:2302
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 2303. By Robert Carr on 2015-02-20
-
Recheck CI
| PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:2303
http://
Executed test runs:
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 2304. By Robert Carr on 2015-02-20
-
Allow for raceing in FD dissapearance
| PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:2304
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://

Looks OK.
But it reminds me to wonder what all this input code is doing in libmircommon (as AFAICS it isn't needed by graphics platforms).