| 1 |
2026-07-13 Theppitak Karoonboonyanan <[email protected]> |
| 2 |
|
| 3 |
* NEWS: |
| 4 |
=== Version 0.1.6 === |
| 5 |
|
| 6 |
2026-07-10 Theppitak Karoonboonyanan <[email protected]> |
| 7 |
|
| 8 |
Switch to newer AM_GNU_GETTEXT_REQUIRE_VERSION |
| 9 |
|
| 10 |
The AM_GNU_GETTEXT_REQUIRE_VERSION macro introduced in |
| 11 |
gettext 0.19.6 allows 'autopoint' to use any gettext version |
| 12 |
that meets the minimum requirement, instead of fixed version |
| 13 |
as in the old AM_GNU_GETTEXT_VERSION. |
| 14 |
|
| 15 |
In addition, this also gets rid of a lot of automake/autoconf |
| 16 |
warnings against deprecated macros still required by the old |
| 17 |
AM_GNU_GETTEXT_VERSION. |
| 18 |
|
| 19 |
* configure.ac: |
| 20 |
- Replace AM_GNU_GETTEXT_VERSION with |
| 21 |
AM_GNU_GETTEXT_REQUIRE_VERSION. |
| 22 |
- Bump the gettext required version to 0.19.6. |
| 23 |
|
| 24 |
2021-10-31 Theppitak Karoonboonyanan <[email protected]> |
| 25 |
|
| 26 |
Apply only changed options, not all. |
| 27 |
|
| 28 |
* src/ibus_config.h, src/ibus_config.c (ibus_libthai_write_config): |
| 29 |
- Add 'prev_opt' arg for comparison and apply only 'opt' members |
| 30 |
that differ. |
| 31 |
- Helper function n_option_diffs() is added for determining |
| 32 |
whether to use delay-apply mode for GSettings. |
| 33 |
* src/setup.c (main): |
| 34 |
- Read values from setup dialog into separate 'new_opt' |
| 35 |
and pass new and old options to ibus_libthai_write_config(). |
| 36 |
|
| 37 |
2021-10-30 Theppitak Karoonboonyanan <[email protected]> |
| 38 |
|
| 39 |
Remove watch on GSettings key. |
| 40 |
|
| 41 |
IBus appears to call engine init every time it gets focus, |
| 42 |
which already makes all config changes immediately effective. |
| 43 |
|
| 44 |
* src/engine.c: |
| 45 |
- [libthai_engine_init] Remove "changed" GSettings signal handling. |
| 46 |
- [-config_value_changed_cb] Remove the now-unused callback. |
| 47 |
|
| 48 |
2021-10-30 Theppitak Karoonboonyanan <[email protected]> |
| 49 |
|
| 50 |
Fix failure to set GSettings keys next to the first. |
| 51 |
|
| 52 |
ibus_libthai_write_config() failed to set all keys but the first. |
| 53 |
|
| 54 |
* src/ibus_config.c (ibus_libthai_write_config): |
| 55 |
- Delay and apply key changes in batch. |
| 56 |
|
| 57 |
2021-10-20 Theppitak Karoonboonyanan <[email protected]> |
| 58 |
|
| 59 |
* NEWS: |
| 60 |
=== Version 0.1.5 === |
| 61 |
|
| 62 |
2021-10-19 Theppitak Karoonboonyanan <[email protected]> |
| 63 |
|
| 64 |
Modify rare keys of Pattachote keymap. |
| 65 |
|
| 66 |
As discussed with @[email protected], some keys in |
| 67 |
Pattachote are rarely used and unsettled among platforms. |
| 68 |
We can make use of them for extra Thai characters. |
| 69 |
|
| 70 |
https://lemmy.ml/post/81580 |
| 71 |
|
| 72 |
- QWERTY grave: MacOS=[฿,]; Windows=[_,฿] |
| 73 |
We choose Windows layout, but replace the rarely used '_' with 'ๅ'. |
| 74 |
- QWERTY digit one: MacOS=[,]; Windows=[=,+] |
| 75 |
Just like how [ฃ,ฅ] is placed upon QWERTY [\,|] in Ketmanee, |
| 76 |
we choose to place it here for Pattachote. |
| 77 |
- QWERTY B: MacOS=Windows=[SARA I, MAI HAN AKAT] |
| 78 |
MAI HAN AKAT here duplicates the QWERTY g key and is rarely used. |
| 79 |
It is just a legacy from typewriter key MAI HAN AKAT + MAI THO. |
| 80 |
We choose to place YAMAKKAN here instead. |
| 81 |
|
| 82 |
* src/thaikb.c (pattachote_keycode_map): |
| 83 |
- QWERTY grave: [_,฿] -> [ๅ,฿] |
| 84 |
- QWERTY digit one: [=,+] -> [ฃ,ฅ] |
| 85 |
- QWERTY B: [SARA I, MAI HAN AKAT] -> [SARA I, YAMAKKAN] |
| 86 |
|
| 87 |
Thanks Kridsada Thanabulpong (@[email protected]) for the |
| 88 |
informative inputs. |
| 89 |
|
| 90 |
2021-10-14 Theppitak Karoonboonyanan <[email protected]> |
| 91 |
|
| 92 |
Revise descriptions in GSettings schema. |
| 93 |
|
| 94 |
* data/dconf/org.freedesktop.ibus.libthai.gschema.xml: |
| 95 |
- Add details on Thai keyboard layouts and ISC modes. |
| 96 |
- Add 'gettext-domain' attribute for translation. |
| 97 |
* po/POTFILES.in: |
| 98 |
- Drop main engine files which do not contain messages. |
| 99 |
- Classify sources with comments. |
| 100 |
- Add gschema file. |
| 101 |
|
| 102 |
2021-10-12 Theppitak Karoonboonyanan <[email protected]> |
| 103 |
|
| 104 |
Switch from IBusConfig to GSettings. |
| 105 |
|
| 106 |
IBusConfig failed somhow to save configs, and even IBus core |
| 107 |
itself has switched to GSettings. |
| 108 |
|
| 109 |
* configure.ac, data/Makefile.am, +data/dconf/, |
| 110 |
+data/dconf/Makefile.am, |
| 111 |
+data/dconf/org.freedesktop.ibus.libthai.gschema.xml: |
| 112 |
- Add GSettings schema. |
| 113 |
* src/engine_const.h: |
| 114 |
- Replace CONFIG_SECTION macro with CONFIG_SCHEMA. |
| 115 |
- Redefine CONFIG_* keys according to GSettings convention. |
| 116 |
* src/ibus_config.h, src/ibus_config.c: |
| 117 |
- Rewrite ibus_libthai_read_config() and ibus_libthai_write_config() |
| 118 |
to use GSettings. |
| 119 |
- Drop set_default_config(), as we always read full config anyway. |
| 120 |
* src/engine.h, src/engine.c: |
| 121 |
- Replace ibus_config global var with ibus_libthai_settings. |
| 122 |
- Rewrite ibus_libthai_init() to use GSettings. With this, |
| 123 |
the IBusBus arg is dropped. |
| 124 |
- Update ibus_libthai_read_config() call with the GSettings version. |
| 125 |
- [ibus_libthai_engine_init, config_value_changed_cb] |
| 126 |
Replace IBusConfig "value-changed" signal handler with that for |
| 127 |
GSettings "changed" signal. |
| 128 |
* src/main.c (init): |
| 129 |
- Update ibus_libthai_init() call with the arg-less version. |
| 130 |
* setup/setup.c (main): |
| 131 |
- Replace IBusConfig uses with GSettings. |
| 132 |
|
| 133 |
2021-10-11 Theppitak Karoonboonyanan <[email protected]> |
| 134 |
|
| 135 |
Add data subdir and move icons under it. |
| 136 |
|
| 137 |
* configure.ac, Makefile.am, +data/, +data/Makefile.am: |
| 138 |
- Add data subdir. |
| 139 |
* configure.ac, data/Makefile.am, icons/* -> data/icons/*: |
| 140 |
- Move icons subdir to be under data. |
| 141 |
|
| 142 |
2021-10-10 Theppitak Karoonboonyanan <[email protected]> |
| 143 |
|
| 144 |
Watch config changes instead of reloading ibus. |
| 145 |
|
| 146 |
* src/engine.c (+config_value_changed_cb, ibus_libthai_engine_init): |
| 147 |
- Watch config and trap "value-changed" signal from IBusConfig |
| 148 |
with a callback that reads the changed value. |
| 149 |
* setup/setup.c (entries, main): |
| 150 |
- Drop call to force_engine_to_reload_config(). |
| 151 |
- Drop now-unused '--engine' and '-x' option. |
| 152 |
* src/ibus_config.h, src/ibus_config.c (-force_engine_to_reload_config): |
| 153 |
- Drop now-unused function. |
| 154 |
|
| 155 |
2021-10-08 Theppitak Karoonboonyanan <[email protected]> |
| 156 |
|
| 157 |
Add Manoonchai keymap. |
| 158 |
|
| 159 |
Some keys are currently omitted, such as '×' and '÷', until |
| 160 |
we support non-TIS-620 chars. |
| 161 |
|
| 162 |
* src/thaikb.h, src/thaikb.c (+THAI_KB_MANOONCHAI, |
| 163 |
+manoonchai_keycode_map, thai_keycode_map, thai_map_keycode): |
| 164 |
- Add Manoonchai keycode table. |
| 165 |
* src/dlg_setup.c (ibus_libthai_setup_dialog_new, |
| 166 |
ibus_libthai_setup_set_values, ibus_libthai_setup_get_values): |
| 167 |
- Add "Manoonchai" keyboard layout radio button, |
| 168 |
with get/set functions. |
| 169 |
|
| 170 |
2021-09-19 Theppitak Karoonboonyanan <[email protected]> |
| 171 |
|
| 172 |
Fix some keys in Pattachote key map. |
| 173 |
|
| 174 |
Some keys are not explicitly mentioned in Pattachote tutorials. |
| 175 |
This fix is to make it more compatible with most implementations. |
| 176 |
|
| 177 |
* src/thaikb.c (pattachote_keycode_map): |
| 178 |
- Shift + CHO CHOE = LU (previously comma) |
| 179 |
- QWERTY '\' = PHINTHU (previously LAKKHANGYAO) |
| 180 |
- Shift + SARA I = MAI HAN AKAT (previously PHINTHU) |
| 181 |
|
| 182 |
For discussion, see: https://lemmy.ml/post/81580 |
| 183 |
|
| 184 |
2021-09-18 Theppitak Karoonboonyanan <[email protected]> |
| 185 |
|
| 186 |
Swap keymap indexing order for managability. |
| 187 |
|
| 188 |
* src/thaikb.c |
| 189 |
(tis_keycode_map, ketmanee_keycode_map, pattachote_keycode_map): |
| 190 |
- Index keycode before shift level. |
| 191 |
- Introduce N_LEVELS macro rather than hard coding. |
| 192 |
* src/thaikb.c (thai_keycode_map, thai_map_keycode): |
| 193 |
- Reorder indexing accordingly. |
| 194 |
|
| 195 |
2021-09-18 Theppitak Karoonboonyanan <[email protected]> |
| 196 |
|
| 197 |
Replace hex codes in keymaps with characters. |
| 198 |
|
| 199 |
* src/thaikb.c |
| 200 |
(tis_keycode_map, ketmanee_keycode_map, pattachote_keycode_map): |
| 201 |
- Replace hex codes for Latin characters with char literals. |
| 202 |
- Replace hex codes for Thai characters with TIS_* macros. |
| 203 |
|
| 204 |
2019-12-20 Theppitak Karoonboonyanan <[email protected]> |
| 205 |
|
| 206 |
Use GitHub issue tracker as bug report address. |
| 207 |
|
| 208 |
* configure.ac: |
| 209 |
- Replace bug report e-mail address with GitHub issue tracker URL. |
| 210 |
|
| 211 |
2018-02-19 Theppitak Karoonboonyanan <[email protected]> |
| 212 |
|
| 213 |
Update my e-mail address in POT |
| 214 |
|
| 215 |
* po/Makevars: |
| 216 |
- Update my e-mail address to the gmail one. |
| 217 |
|
| 218 |
2017-09-12 Theppitak Karoonboonyanan <[email protected]> |
| 219 |
|
| 220 |
Get dummy surrounding text on engine enabling |
| 221 |
|
| 222 |
* src/engine.c (+ibus_libthai_engine_enable, |
| 223 |
ibus_libthai_engine_class_init): |
| 224 |
- Issue a dummy ibus_engine_get_surrounding_text() call when |
| 225 |
engine is enabled, to tell input context that the engine will |
| 226 |
utilize surrounding text, according to IBus reference manual. |
| 227 |
|
| 228 |
2016-12-31 Theppitak Karoonboonyanan <[email protected]> |
| 229 |
|
| 230 |
* NEWS: |
| 231 |
=== Version 0.1.4 === |
| 232 |
|
| 233 |
2016-12-29 Theppitak Karoonboonyanan <[email protected]> |
| 234 |
|
| 235 |
Drop unused code |
| 236 |
|
| 237 |
* src/engine.c (-keyval_to_tis): |
| 238 |
* src/thaikb.h, src/thaikb.c (-thai_map_qwerty, -tis_qwerty_map, |
| 239 |
-pattachote_qwerty_map, ketmanee_qwerty_map): |
| 240 |
- Drop unused functions & variables. |
| 241 |
|
| 242 |
2016-12-29 Kridsada Thanabulpong <[email protected]> |
| 243 |
|
| 244 |
Fix incorrect keys in Pattachote layout. |
| 245 |
|
| 246 |
* src/thaikb.c (pattachote_keycode_map): |
| 247 |
- 0xEA (Mai Tri) -> 0xEB (Mai Chattawa) |
| 248 |
- 0xD2 (Sara Aa) -> 0xD3 (Sara Am) |
| 249 |
|
| 250 |
2016-12-29 Theppitak Karoonboonyanan <[email protected]> |
| 251 |
|
| 252 |
Use versioning based on Git snapshot. |
| 253 |
|
| 254 |
* Makefile.am: |
| 255 |
- Add dist-hook to generate VERSION file on tarball generation. |
| 256 |
* Makefile.am, +build-aux/git-version-gen: |
| 257 |
- Add script to generate version based on 'git describe' |
| 258 |
if in git tree, or using VERSION file if in release tarball. |
| 259 |
* configure.ac: |
| 260 |
- Call git-version-gen to get package version. |
| 261 |
|
| 262 |
2016-03-28 Theppitak Karoonboonyanan <[email protected]> |
| 263 |
|
| 264 |
* configure.ac, NEWS: |
| 265 |
=== Version 0.1.3 === |
| 266 |
|
| 267 |
2016-01-22 Theppitak Karoonboonyanan <[email protected]> |
| 268 |
|
| 269 |
Replace deprecated GtkMisc alignment functions. |
| 270 |
|
| 271 |
* setup/dlg_setup.c (ibus_libthai_setup_dialog_new): |
| 272 |
- Replace deprecated gtk_misc_set_alignment() (since GTK+ 3.16) |
| 273 |
with gtk_label_set_xalign() and gtk_label_set_yalign(). |
| 274 |
* configure.ac: |
| 275 |
- Require GTK+ >= 3.16. |
| 276 |
|
| 277 |
2016-01-22 Theppitak Karoonboonyanan <[email protected]> |
| 278 |
|
| 279 |
Replace deprecated GtkWidget margin functions. |
| 280 |
|
| 281 |
* setup/dlg_setup.c (ibus_libthai_setup_dialog_new): |
| 282 |
- Replace deprecated gtk_widget_set_margin_left() and |
| 283 |
gtk_widget_set_margin_right() (since GTK+ 3.12) with |
| 284 |
gtk_widget_set_margin_start() and gtk_widget_set_margin_end() |
| 285 |
respectively. |
| 286 |
* configure.ac: |
| 287 |
- Require GTK+ >= 3.12. |
| 288 |
|
| 289 |
2016-01-22 Theppitak Karoonboonyanan <[email protected]> |
| 290 |
|
| 291 |
Drop deprecated GtkStock. |
| 292 |
|
| 293 |
* setup/dlg_setup.c (ibus_libthai_setup_dialog_new): |
| 294 |
- Replace deprecated GTK_STOCK* (since GTK+ 3.10) with |
| 295 |
literal labels, as suggested in the reference. |
| 296 |
|
| 297 |
2016-01-22 Theppitak Karoonboonyanan <[email protected]> |
| 298 |
|
| 299 |
Add missing include |
| 300 |
|
| 301 |
* src/ibus_config.c: |
| 302 |
- Add missing include for system(). |
| 303 |
|
| 304 |
2016-01-21 Theppitak Karoonboonyanan <[email protected]> |
| 305 |
|
| 306 |
Update my e-mail address. |
| 307 |
|
| 308 |
* AUTHORS, configure.ac, setup/*.[ch], src/*.[ch], |
| 309 |
src/libthai.xml.in.in: |
| 310 |
- Update my e-mail address. |
| 311 |
|
| 312 |
2016-01-21 Theppitak Karoonboonyanan <[email protected]> |
| 313 |
|
| 314 |
* configure.ac: |
| 315 |
- Post-release version suffix added. |
| 316 |
|
| 317 |
2013-10-31 Theppitak Karoonboonyanan <[email protected]> |
| 318 |
|
| 319 |
* configure.ac, NEWS: |
| 320 |
=== Version 0.1.2 === |
| 321 |
|
| 322 |
2013-10-31 Theppitak Karoonboonyanan <[email protected]> |
| 323 |
|
| 324 |
* po/th.po: Regenerated. Updated copyright years. |
| 325 |
|
| 326 |
2013-10-30 Theppitak Karoonboonyanan <[email protected]> |
| 327 |
|
| 328 |
Allow typing Thai digits using numpad with CapsLock or level 3. |
| 329 |
|
| 330 |
* src/engine.c (ibus_libthai_engine_process_key_event): |
| 331 |
- Check for numpad keys with CapsLock or level 3 shift and translate |
| 332 |
them to Thai digits. |
| 333 |
- When a numpad keysym is got while NumLock is off, by means of |
| 334 |
Shift modifier, it should get Arabic digit, not Thai. |
| 335 |
|
| 336 |
2013-10-04 Theppitak Karoonboonyanan <[email protected]> |
| 337 |
|
| 338 |
Use "us,th" layout to allow Thai accelerators. |
| 339 |
|
| 340 |
* src/libthai.xml.in.in: |
| 341 |
* src/utils.c (ibus_libthai_get_component): |
| 342 |
- Declare engine's keyboard layout as "us,th". This also allows |
| 343 |
Thai UI accelerators (e.g. Alt-<FoFan>) while the engine is |
| 344 |
active. (Note: the ideal solution should be to have the key event |
| 345 |
handler translate the keycode with internal map. Unfortunately, |
| 346 |
ibus_engine_forward_key_event() just doesn't work as expected.) |
| 347 |
|
| 348 |
2013-09-07 Theppitak Karoonboonyanan <[email protected]> |
| 349 |
|
| 350 |
Use "us" layout to allow shortcut keys. |
| 351 |
|
| 352 |
* src/libthai.xml.in.in: |
| 353 |
* src/utils.c (ibus_libthai_get_component): |
| 354 |
- Declare engine's keyboard layout as "us". This allows program |
| 355 |
shortcut keys (e.g. Ctrl-W) while the engine is being active. |
| 356 |
|
| 357 |
2013-09-07 Theppitak Karoonboonyanan <[email protected]> |
| 358 |
|
| 359 |
* configure.ac: |
| 360 |
- Post-release version suffix added. |
| 361 |
|
| 362 |
2013-07-11 Theppitak Karoonboonyanan <[email protected]> |
| 363 |
|
| 364 |
* configure.ac, NEWS: |
| 365 |
=== Version 0.1.1 === |
| 366 |
|
| 367 |
2013-07-10 Theppitak Karoonboonyanan <[email protected]> |
| 368 |
|
| 369 |
Update icon. |
| 370 |
|
| 371 |
* icons/ibus-libthai.svg: |
| 372 |
- Use regular weight instead of bold face. |
| 373 |
- Use gradient and outline to improve visibility on various |
| 374 |
background colors. |
| 375 |
- Unblur shadow and use alpha channel instead. |
| 376 |
|
| 377 |
2013-07-03 Theppitak Karoonboonyanan <[email protected]> |
| 378 |
|
| 379 |
Use scancode mapping instead of keysym mapping. |
| 380 |
|
| 381 |
* src/thaikb.h, src/thaikb.c (+thai_map_keycode): |
| 382 |
- Add keycode-to-TIS mapping function, with the map tables. |
| 383 |
* src/engine.c (+keycode_to_tis): |
| 384 |
- Add the wrapper for mapping. |
| 385 |
* src/engine.c (ibus_libthai_engine_process_key_event): |
| 386 |
- Call keycode_to_tis(), with shift level, instead of |
| 387 |
keyval_to_tis(). |
| 388 |
|
| 389 |
2013-07-03 Theppitak Karoonboonyanan <[email protected]> |
| 390 |
|
| 391 |
* configure.ac: |
| 392 |
- Post-release version suffix added. |
| 393 |
|
| 394 |
2013-02-19 Theppitak Karoonboonyanan <[email protected]> |
| 395 |
|
| 396 |
* NEWS: |
| 397 |
=== Version 0.1.0 === |
| 398 |
|
| 399 |
2013-02-19 Theppitak Karoonboonyanan <[email protected]> |
| 400 |
|
| 401 |
Adjust README. |
| 402 |
|
| 403 |
* README: |
| 404 |
- Add that XKB symbols are also supported. |
| 405 |
- A little wording adjustment. |
| 406 |
|
| 407 |
2013-02-19 Theppitak Karoonboonyanan <[email protected]> |
| 408 |
|
| 409 |
Write README contents. |
| 410 |
|
| 411 |
2013-02-18 Theppitak Karoonboonyanan <[email protected]> |
| 412 |
|
| 413 |
Switch to XZ tarball compression. |
| 414 |
|
| 415 |
* configure.ac: |
| 416 |
- Invoke AM_INIT_AUTOMAKE with dist-xz, no-dist-gzip options. |
| 417 |
|
| 418 |
2013-02-18 Theppitak Karoonboonyanan <[email protected]> |
| 419 |
|
| 420 |
Adjust icon. |
| 421 |
|
| 422 |
* icons/ibus-libthai.svg: |
| 423 |
- Enlarge character. |
| 424 |
- Convert text to path, so it does not require external font. |
| 425 |
- Adjust color, add outline stroke, add drop shadow. |
| 426 |
|
| 427 |
2013-02-18 Theppitak Karoonboonyanan <[email protected]> |
| 428 |
|
| 429 |
Add missing file in distribution. |
| 430 |
|
| 431 |
* icons/Makefile.am: |
| 432 |
- Add ibus-libthai.svg to EXTRA_DIST. |
| 433 |
|
| 434 |
2013-02-18 Theppitak Karoonboonyanan <[email protected]> |
| 435 |
|
| 436 |
Add missing backslash in Makefile. |
| 437 |
|
| 438 |
* src/Makefile.am: |
| 439 |
- Add missing backslash at line end for source file list. |
| 440 |
|
| 441 |
2013-01-29 Theppitak Karoonboonyanan <[email protected]> |
| 442 |
|
| 443 |
Bump libthai dep to 0.1.19. |
| 444 |
|
| 445 |
* configure.ac: |
| 446 |
- libthai 0.1.19 has been released, require it instead of SVN |
| 447 |
snapshot. |
| 448 |
|
| 449 |
2012-11-13 Theppitak Karoonboonyanan <[email protected]> |
| 450 |
|
| 451 |
Pass unhandled keysyms over to app. |
| 452 |
|
| 453 |
* src/engine.c (ibus_libthai_engine_process_key_event): |
| 454 |
- Return FALSE for unknown keysyms. |
| 455 |
|
| 456 |
2012-11-13 Theppitak Karoonboonyanan <[email protected]> |
| 457 |
|
| 458 |
Remove usused code. |
| 459 |
|
| 460 |
* src/engine.c (keyval_to_tis): |
| 461 |
- Remove unused code. |
| 462 |
|
| 463 |
2012-11-12 Theppitak Karoonboonyanan <[email protected]> |
| 464 |
|
| 465 |
Add missing backslash. |
| 466 |
|
| 467 |
* icons/Makefile.am: Add missing continuation backslash. |
| 468 |
|
| 469 |
2012-11-08 Theppitak Karoonboonyanan <[email protected]> |
| 470 |
|
| 471 |
Fix config I/O for GConf. |
| 472 |
|
| 473 |
* src/ibus_config.c |
| 474 |
(ibus_libthai_read_config, ibus_libthai_write_config): |
| 475 |
- Read/write gint32 and boolean, not bytes. |
| 476 |
|
| 477 |
2012-11-08 Theppitak Karoonboonyanan <[email protected]> |
| 478 |
|
| 479 |
Add dialog source for translation. |
| 480 |
|
| 481 |
* po/POTFILES.in: Add setup/dlg.c. |
| 482 |
|
| 483 |
2012-11-08 Theppitak Karoonboonyanan <[email protected]> |
| 484 |
|
| 485 |
Make preferences dialog scale with window size. |
| 486 |
|
| 487 |
* src/dlg_setup.c (ibus_libthai_setup_dialog_new): |
| 488 |
- Make widgets expand with container box. |
| 489 |
- Drop GtkAlignment usage and use widget margins instead, so that |
| 490 |
the children get expanded with the container. |
| 491 |
- Add margins around dialog content area. |
| 492 |
- Rearrange call sequence for each widget. |
| 493 |
|
| 494 |
2012-11-08 Theppitak Karoonboonyanan <[email protected]> |
| 495 |
|
| 496 |
Add tooltip to correct_input_checkbox. |
| 497 |
|
| 498 |
* src/dlg_setup.c (ibus_libthai_setup_dialog_new): |
| 499 |
- Add tooltip to correct_input_checkbox. |
| 500 |
|
| 501 |
2012-11-07 Theppitak Karoonboonyanan <[email protected]> |
| 502 |
|
| 503 |
Get rid of GObject warnings of unref-ing non-GObject. |
| 504 |
|
| 505 |
* src/engine.c (ibus_libthai_engine_commit_chars): |
| 506 |
- Don't unref IBusText object, as GObject asserts that it's not |
| 507 |
a GObject. |
| 508 |
|
| 509 |
2012-11-07 Theppitak Karoonboonyanan <[email protected]> |
| 510 |
|
| 511 |
Add preferences GUI for 'do_correct' flag. |
| 512 |
|
| 513 |
* setup/dlg_setup.c: |
| 514 |
- (ibus_libthai_setup_dialog_new): Add the checkbox widget. |
| 515 |
- (ibus_libthai_setup_set_values): Set the checkbox state. |
| 516 |
- (ibus_libthai_setup_get_values): Get the checkbox state. |
| 517 |
|
| 518 |
2012-11-07 Theppitak Karoonboonyanan <[email protected]> |
| 519 |
|
| 520 |
Add 'do_correct' config and validate with new libthai API. |
| 521 |
|
| 522 |
* src/ibus_config.h (IBusLibThaiSetupOptions): |
| 523 |
- Add 'do_correct' member. |
| 524 |
* src/engine_const.h: |
| 525 |
- Add CONFIG_DO_CORRECT config item name. |
| 526 |
* src/ibus_config.c (set_default_config, ibus_libthai_read_config, |
| 527 |
ibus_libthai_write_config): |
| 528 |
- Set, read, write the new config member. |
| 529 |
* configure.ac: |
| 530 |
- Bump required libthai version to 0.1.18svn, the unreleased |
| 531 |
development version. Let's bump it again once the new libthai is |
| 532 |
released. |
| 533 |
* src/engine.c: |
| 534 |
- (IBusLibThaiEngine): Add 'do_correct' member. |
| 535 |
- (ibus_libthai_engine_init): Initialize it. |
| 536 |
- (+ibus_libthai_engine_get_prev_char): Added for retrieving |
| 537 |
single-char context in case of no correction. |
| 538 |
- (ibus_libthai_engine_process_key_event): |
| 539 |
@ Add code for no-correction case. |
| 540 |
@ For correction case, call the new libthai th_validate_leveled() |
| 541 |
API so the input sequence is properly maintained for the |
| 542 |
given strictness level. |
| 543 |
|
| 544 |
2012-11-05 Theppitak Karoonboonyanan <[email protected]> |
| 545 |
|
| 546 |
Make Thai KB map types & vars consistent. |
| 547 |
|
| 548 |
* src/thaikb.h, src/thaikb.c (ThaiKBMap, thai_map_qwerty): |
| 549 |
- ThaiKBMode -> ThaiKBMap type. |
| 550 |
- (thai_map_qwerty): layout -> map arg. |
| 551 |
|
| 552 |
* src/ibus_config.h, src/ibus_config.c, setup/dlg_setup.c |
| 553 |
(IBusLibThaiSetupOptions): |
| 554 |
- thai_kb_mode -> thai_kb_map member. |
| 555 |
|
| 556 |
* src/engine.c (IBusLibThaiEngine, keyval_to_tis): |
| 557 |
- kb_layout -> kb_map member. |
| 558 |
- thai_int_layout -> thai_kb_map arg. |
| 559 |
|
| 560 |
2012-11-05 Theppitak Karoonboonyanan <[email protected]> |
| 561 |
|
| 562 |
Add setup UI (WIP). |
| 563 |
|
| 564 |
Known problem: ibus config fails (with DBus errors) to read/write |
| 565 |
with ibus 1.4.1-8 on Debian. |
| 566 |
|
| 567 |
* configure.ac, src/Makefile.am, +src/engine_const.h, |
| 568 |
+src/ibus_config.h, +src/ibus_config.c: |
| 569 |
- Add common code as static lib for reading/writing configurations. |
| 570 |
- This also requires AC_PROG_RANLIB in configure. |
| 571 |
|
| 572 |
* configure.ac, Makefile.am, +setup/Makefile.am, +setup/setup.c, |
| 573 |
+setup/dlg_setup.h, +setup/dlg_setup.c: |
| 574 |
- Add GUI for preferences setup. |
| 575 |
- This also requires gtk+-3.0 in configure. |
| 576 |
|
| 577 |
* src/engine.c, src/engine.h, src/main.c: |
| 578 |
- Add kb_layout member to IBusLibThaiEngine. |
| 579 |
- Read config for keyboard layout and ISC mode. |
| 580 |
|
| 581 |
* src/engine.c (keyval_to_tis, ibus_libthai_engine_process_key_event), |
| 582 |
src/thaikb.h, src/thaikb.c (thai_map_qwerty, -thai_set_keyboard): |
| 583 |
- (keyval_to_tis) takes keyboard layout as argument. |
| 584 |
- (ibus_libthai_engine_process_key_event) calls keyval_to_tis with |
| 585 |
engine's keyboard layout config. |
| 586 |
- (thai_map_qwerty) takes keyboard layout as argument and look up |
| 587 |
keys with two-dimensional array. |
| 588 |
- (thai_set_keyboard) is now obsolete. |
| 589 |
|
| 590 |
* src/libthai.xml.in.in: |
| 591 |
- Add 'setup' element. |
| 592 |
|
| 593 |
2012-11-04 Theppitak Karoonboonyanan <[email protected]> |
| 594 |
|
| 595 |
Reformat hex numbers in key map. |
| 596 |
|
| 597 |
* src/thaikb.c (ketmanee_qwerty_map, pattachote_qwerty_map, |
| 598 |
tis_qwerty_map): |
| 599 |
- Reformat hex numbers to two-digit lower cases. |
| 600 |
|
| 601 |
2012-11-04 Theppitak Karoonboonyanan <[email protected]> |
| 602 |
|
| 603 |
Add Pattachote key map. |
| 604 |
|
| 605 |
* src/thaikb.h (enum _ThaiKBMode): |
| 606 |
* src/thaikb.c (pattachote_qwerty_map, thai_set_keyboard): |
| 607 |
- Add Pattachote QWERTY-to-TH map. |
| 608 |
|
| 609 |
2012-11-04 Theppitak Karoonboonyanan <[email protected]> |
| 610 |
|
| 611 |
Fix missing quotation marks in XML. |
| 612 |
|
| 613 |
* src/libthai.xml.in.in: |
| 614 |
- Escape quotation marks so they get preserved on shell evaluation. |
| 615 |
|
| 616 |
2012-11-03 Theppitak Karoonboonyanan <[email protected]> |
| 617 |
|
| 618 |
Do the most likely case first for key mapping. |
| 619 |
|
| 620 |
* src/engine.c (keyval_to_tis): |
| 621 |
- Check & convert English keysyms first. |
| 622 |
|
| 623 |
2012-11-02 Theppitak Karoonboonyanan <[email protected]> |
| 624 |
|
| 625 |
Add internal QWERTY-to-TH keyboard mapping. |
| 626 |
|
| 627 |
* src/Makefile.am, +src/thaikb.h, +src/thaikb.c: |
| 628 |
- Add internal QWERTY-to-TH keyboard mapping. |
| 629 |
|
| 630 |
* src/engine.c (keyval_to_tis): |
| 631 |
- If keyval is in English range, map it to Thai TIS-620 char. |
| 632 |
|
| 633 |
2012-11-02 Theppitak Karoonboonyanan <[email protected]> |
| 634 |
|
| 635 |
* First working version. |
| 636 |
|
| 637 |
2011-12-13 Theppitak Karoonboonyanan <[email protected]> |
| 638 |
|
| 639 |
* First create the project. |
| 640 |
|