Merge lp:~3v1n0/nux/text-entry-virtual-clipboard into lp:nux
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Marco Trevisan (Treviño) on 2012-07-03 | ||||
| Approved revision: | 657 | ||||
| Merged at revision: | 628 | ||||
| Proposed branch: | lp:~3v1n0/nux/text-entry-virtual-clipboard | ||||
| Merge into: | lp:nux | ||||
| Prerequisite: | lp:~3v1n0/nux/text-entry-meta-filters | ||||
| Diff against target: |
705 lines (+400/-78) 6 files modified
Nux/InputMethodIBus.cpp (+11/-11) Nux/TextEntry.cpp (+53/-29) Nux/TextEntry.h (+7/-3) tests/gtest-nux-textentry.cpp (+269/-33) tests/gtest-nux-utils.h (+58/-0) tests/xtest-text-entry.cpp (+2/-2) |
||||
| To merge this branch: | bzr merge lp:~3v1n0/nux/text-entry-virtual-clipboard | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Thomi Richards (community) | quality | Approve on 2012-07-03 | |
| Brandon Schaefer (community) | 2012-07-03 | Approve on 2012-07-03 | |
|
Review via email:
|
|||
Commit Message
TextEntry: make the clipboard functions virtual to be implemented by clients
Description of the Change
Added virtual methods for clipboard management, so that clients could override the code.
Added a lot of tests to check the events behavior.
UNBLOCK
| Thomi Richards (thomir) wrote : | # |
Why do we have this in the code?
195 + // TODO
We shouldn't be merging unfinished code. If it's intentionally left empty, please add a comment to that effect. Otherwise, looks great.
| Thomi Richards (thomir) wrote : | # |
Apparently bschafer and Trevino *promise* me that this will actually get done, and not be left in the code forever, like some unwanted relative that keeps showing up every christmas time but no one can understand them and no one really knows how they're related to the family...
Where was I? Oh yeah, Approved.
- 656. By Marco Trevisan (Treviño) on 2012-07-03
-
InputMethodIBus: fix IsHotkeyEvent for key-up events
- 657. By Marco Trevisan (Treviño) on 2012-07-03
-
TextEntry: make IBus to be the first to eat events, also ignore keyup ones
Only ibus can need keyup events, so we just send them to it.

All test pass, and look good. +1