forked from phuang/ibus
-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src: Distinguish Arabic XKB and Keypad XKB options
Shift-NumLock keys provides U+FEF9 keysym in keypad:pointerkeys XKB options and Shift-t keys provides U+100FEF9 keysym with Arabic layout and IBus internal APIs handles guint16 and cannot recognize the difference. Now the APIs are updated to handle guint. Also libX11 compose file provides the 16bit key sequence only and IBus now provides a pad U+1000000 internally. Seems the pad is added when <Uxxxx> format is used in the compose file. Once the string sequence is converted to guint sequence, IBus hardly to find the padded keysym and IBus uses ibus_keyval_name() if the value has the keysym names or Unicode point but some code points have both keysymnames and Unicode and now IBus prohibits "Pointer_*" keysym names in compose file Add src/tests/ibus-compose.basic test case. To test U0227, Set SGS layout(Samogitian) in xkb/symbols/lt and set XKB option lv3:bksl_switch and Press backslash-a keys. BUG=#2495
- Loading branch information
Showing
8 changed files
with
139 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Symbol tests of Multi_key, quotedbl Cyrillic_zhe | ||
# This case swaps U04DC and U04DD in en-US | ||
<Multi_key> <quotedbl> <Cyrillic_zhe> : "Ӝ" U04DC | ||
<Multi_key> <quotedbl> <Cyrillic_ZHE> : "ӝ" U04DD | ||
# | ||
# Unicode tests of Uxxxx | ||
# en-US is "ǡ" U01E1 but this case is "ǟ" U01DE | ||
<dead_macron> <U0227> : "ǟ" U01DE | ||
<Multi_key> <macron> <U0227> : "ǟ" U01DE | ||
<Multi_key> <underscore> <U0227> : "ǟ" U01DE | ||
# Khmer digraphs | ||
# This case swaps U17fe and U17ff in en-US | ||
<U17fe> : "ាំ" | ||
<U17ff> : "ោះ" | ||
# Arabic Lam-Alef ligatures | ||
# This case swaps UFEF9 and UFEFB in en-US | ||
<UFEF9> : "لا" # ARABIC LIGATURE LAM WITH ALEF | ||
<UFEFB> : "لإ" # ARABIC LIGATURE LAM WITH ALEF WITH HAMZA BELOW | ||
# | ||
# Symbol tests of c_h, C_h | ||
# Breton N-graphs | ||
# This case swaps c_h and C_h in en-US | ||
<c_h> : "C’h" | ||
<C_h> : "c’h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
LANG=el_GR.UTF-8 | ||
LANG=fi_FI.UTF-8 | ||
LANG=pt_BR.UTF-8 | ||
LANG=en_US.UTF-8 COMPOSE_FILE=ibus-compose.basic | ||
LANG=en_US.UTF-8 COMPOSE_FILE=ibus-compose.emoji |
Oops, something went wrong.