Hash :
da5caabb
Author :
Date :
2025-06-16T15:45:42
Add RMLVO builder API Before this commit, the API to work with RMLVO was quite minimal: it only uses raw strings from the `xkb_rule_names` struct. However: - it forces the users to deal with error-prone string formatting; - it does not enforce tying together layouts and variants; - it limits adding new features by requiring defining delimiter characters and the corresponding parsing. Added the following API: - `xkb_rmlvo_builder_new()` - `xkb_rmlvo_builder_append_layout()` - `xkb_rmlvo_builder_append_option()` - `xkb_rmlvo_builder_unref()` There is no intermediate `layout` nor `option` object, in order to to keep the API simple. The only foreseen extension is enabling configuring layout-specific options.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141
V_0.5.0 {
global:
xkb_keysym_get_name;
xkb_keysym_from_name;
xkb_keysym_to_utf8;
xkb_keysym_to_utf32;
xkb_context_new;
xkb_context_ref;
xkb_context_unref;
xkb_context_set_user_data;
xkb_context_get_user_data;
xkb_context_include_path_append;
xkb_context_include_path_append_default;
xkb_context_include_path_reset_defaults;
xkb_context_include_path_clear;
xkb_context_num_include_paths;
xkb_context_include_path_get;
xkb_context_set_log_level;
xkb_context_get_log_level;
xkb_context_set_log_verbosity;
xkb_context_get_log_verbosity;
xkb_context_set_log_fn;
xkb_keymap_new_from_names;
xkb_keymap_new_from_file;
xkb_keymap_new_from_string;
xkb_keymap_new_from_buffer;
xkb_keymap_ref;
xkb_keymap_unref;
xkb_keymap_get_as_string;
xkb_keymap_min_keycode;
xkb_keymap_max_keycode;
xkb_keymap_key_for_each;
xkb_keymap_num_mods;
xkb_keymap_mod_get_name;
xkb_keymap_mod_get_index;
xkb_keymap_num_layouts;
xkb_keymap_layout_get_name;
xkb_keymap_layout_get_index;
xkb_keymap_num_leds;
xkb_keymap_led_get_name;
xkb_keymap_led_get_index;
xkb_keymap_num_layouts_for_key;
xkb_keymap_num_levels_for_key;
xkb_keymap_key_get_syms_by_level;
xkb_keymap_key_repeats;
xkb_state_new;
xkb_state_ref;
xkb_state_unref;
xkb_state_get_keymap;
xkb_state_update_key;
xkb_state_update_mask;
xkb_state_key_get_syms;
xkb_state_key_get_utf8;
xkb_state_key_get_utf32;
xkb_state_key_get_one_sym;
xkb_state_key_get_layout;
xkb_state_key_get_level;
xkb_state_serialize_mods;
xkb_state_serialize_layout;
xkb_state_mod_name_is_active;
xkb_state_mod_names_are_active;
xkb_state_mod_index_is_active;
xkb_state_mod_indices_are_active;
xkb_state_mod_index_is_consumed;
xkb_state_mod_mask_remove_consumed;
xkb_state_key_get_consumed_mods;
xkb_state_layout_name_is_active;
xkb_state_layout_index_is_active;
xkb_state_led_name_is_active;
xkb_state_led_index_is_active;
xkb_compose_table_new_from_locale;
xkb_compose_table_new_from_file;
xkb_compose_table_new_from_buffer;
xkb_compose_table_ref;
xkb_compose_table_unref;
xkb_compose_state_new;
xkb_compose_state_ref;
xkb_compose_state_unref;
xkb_compose_state_get_compose_table;
xkb_compose_state_feed;
xkb_compose_state_reset;
xkb_compose_state_get_status;
xkb_compose_state_get_utf8;
xkb_compose_state_get_one_sym;
local:
*;
};
V_0.6.0 {
global:
xkb_keymap_key_get_name;
xkb_keymap_key_by_name;
} V_0.5.0;
V_0.7.0 {
global:
xkb_state_key_get_consumed_mods2;
xkb_state_mod_index_is_consumed2;
} V_0.6.0;
V_0.8.0 {
global:
xkb_keysym_to_lower;
xkb_keysym_to_upper;
} V_0.7.0;
V_1.0.0 {
global:
xkb_utf32_to_keysym;
xkb_keymap_key_get_mods_for_level;
} V_0.8.0;
V_1.6.0 {
global:
xkb_compose_table_entry_sequence;
xkb_compose_table_entry_keysym;
xkb_compose_table_entry_utf8;
xkb_compose_table_iterator_new;
xkb_compose_table_iterator_free;
xkb_compose_table_iterator_next;
} V_1.0.0;
V_1.9.0 {
global:
xkb_components_names_from_rules;
} V_1.6.0;
V_1.10.0 {
global:
xkb_keymap_mod_get_mask;
xkb_state_update_latched_locked;
} V_1.9.0;
V_1.11.0 {
global:
xkb_rmlvo_builder_new;
xkb_rmlvo_builder_append_layout;
xkb_rmlvo_builder_append_option;
xkb_rmlvo_builder_unref;
xkb_keymap_new_from_names2;
} V_1.10.0;