forked from tlwg/ibus-libthai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
430 lines (284 loc) · 12.9 KB
/
ChangeLog
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
2018-02-19 Theppitak Karoonboonyanan <theppitak@gmail.com>
Update my e-mail address in POT
* po/Makevars:
- Update my e-mail address to the gmail one.
2017-09-12 Theppitak Karoonboonyanan <theppitak@gmail.com>
Get dummy surrounding text on engine enabling
* src/engine.c (+ibus_libthai_engine_enable,
ibus_libthai_engine_class_init):
- Issue a dummy ibus_engine_get_surrounding_text() call when
engine is enabled, to tell input context that the engine will
utilize surrounding text, according to IBus reference manual.
2016-12-31 Theppitak Karoonboonyanan <theppitak@gmail.com>
* NEWS:
=== Version 0.1.4 ===
2016-12-29 Theppitak Karoonboonyanan <theppitak@gmail.com>
Drop unused code
* src/engine.c (-keyval_to_tis):
* src/thaikb.h, src/thaikb.c (-thai_map_qwerty, -tis_qwerty_map,
-pattachote_qwerty_map, ketmanee_qwerty_map):
- Drop unused functions & variables.
2016-12-29 Kridsada Thanabulpong <sirn@ogsite.net>
Fix incorrect keys in Pattachote layout.
* src/thaikb.c (pattachote_keycode_map):
- 0xEA (Mai Tri) -> 0xEB (Mai Chattawa)
- 0xD2 (Sara Aa) -> 0xD3 (Sara Am)
2016-12-29 Theppitak Karoonboonyanan <theppitak@gmail.com>
Use versioning based on Git snapshot.
* Makefile.am:
- Add dist-hook to generate VERSION file on tarball generation.
* Makefile.am, +build-aux/git-version-gen:
- Add script to generate version based on 'git describe'
if in git tree, or using VERSION file if in release tarball.
* configure.ac:
- Call git-version-gen to get package version.
2016-03-28 Theppitak Karoonboonyanan <theppitak@gmail.com>
* configure.ac, NEWS:
=== Version 0.1.3 ===
2016-01-22 Theppitak Karoonboonyanan <theppitak@gmail.com>
Replace deprecated GtkMisc alignment functions.
* setup/dlg_setup.c (ibus_libthai_setup_dialog_new):
- Replace deprecated gtk_misc_set_alignment() (since GTK+ 3.16)
with gtk_label_set_xalign() and gtk_label_set_yalign().
* configure.ac:
- Require GTK+ >= 3.16.
2016-01-22 Theppitak Karoonboonyanan <theppitak@gmail.com>
Replace deprecated GtkWidget margin functions.
* setup/dlg_setup.c (ibus_libthai_setup_dialog_new):
- Replace deprecated gtk_widget_set_margin_left() and
gtk_widget_set_margin_right() (since GTK+ 3.12) with
gtk_widget_set_margin_start() and gtk_widget_set_margin_end()
respectively.
* configure.ac:
- Require GTK+ >= 3.12.
2016-01-22 Theppitak Karoonboonyanan <theppitak@gmail.com>
Drop deprecated GtkStock.
* setup/dlg_setup.c (ibus_libthai_setup_dialog_new):
- Replace deprecated GTK_STOCK* (since GTK+ 3.10) with
literal labels, as suggested in the reference.
2016-01-22 Theppitak Karoonboonyanan <theppitak@gmail.com>
Add missing include
* src/ibus_config.c:
- Add missing include for system().
2016-01-21 Theppitak Karoonboonyanan <theppitak@gmail.com>
Update my e-mail address.
* AUTHORS, configure.ac, setup/*.[ch], src/*.[ch],
src/libthai.xml.in.in:
- Update my e-mail address.
2016-01-21 Theppitak Karoonboonyanan <theppitak@gmail.com>
* configure.ac:
- Post-release version suffix added.
2013-10-31 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.ac, NEWS:
=== Version 0.1.2 ===
2013-10-31 Theppitak Karoonboonyanan <thep@linux.thai.net>
* po/th.po: Regenerated. Updated copyright years.
2013-10-30 Theppitak Karoonboonyanan <thep@linux.thai.net>
Allow typing Thai digits using numpad with CapsLock or level 3.
* src/engine.c (ibus_libthai_engine_process_key_event):
- Check for numpad keys with CapsLock or level 3 shift and translate
them to Thai digits.
- When a numpad keysym is got while NumLock is off, by means of
Shift modifier, it should get Arabic digit, not Thai.
2013-10-04 Theppitak Karoonboonyanan <thep@linux.thai.net>
Use "us,th" layout to allow Thai accelerators.
* src/libthai.xml.in.in:
* src/utils.c (ibus_libthai_get_component):
- Declare engine's keyboard layout as "us,th". This also allows
Thai UI accelerators (e.g. Alt-<FoFan>) while the engine is
active. (Note: the ideal solution should be to have the key event
handler translate the keycode with internal map. Unfortunately,
ibus_engine_forward_key_event() just doesn't work as expected.)
2013-09-07 Theppitak Karoonboonyanan <thep@linux.thai.net>
Use "us" layout to allow shortcut keys.
* src/libthai.xml.in.in:
* src/utils.c (ibus_libthai_get_component):
- Declare engine's keyboard layout as "us". This allows program
shortcut keys (e.g. Ctrl-W) while the engine is being active.
2013-09-07 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.ac:
- Post-release version suffix added.
2013-07-11 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.ac, NEWS:
=== Version 0.1.1 ===
2013-07-10 Theppitak Karoonboonyanan <thep@linux.thai.net>
Update icon.
* icons/ibus-libthai.svg:
- Use regular weight instead of bold face.
- Use gradient and outline to improve visibility on various
background colors.
- Unblur shadow and use alpha channel instead.
2013-07-03 Theppitak Karoonboonyanan <thep@linux.thai.net>
Use scancode mapping instead of keysym mapping.
* src/thaikb.h, src/thaikb.c (+thai_map_keycode):
- Add keycode-to-TIS mapping function, with the map tables.
* src/engine.c (+keycode_to_tis):
- Add the wrapper for mapping.
* src/engine.c (ibus_libthai_engine_process_key_event):
- Call keycode_to_tis(), with shift level, instead of
keyval_to_tis().
2013-07-03 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.ac:
- Post-release version suffix added.
2013-02-19 Theppitak Karoonboonyanan <thep@linux.thai.net>
* NEWS:
=== Version 0.1.0 ===
2013-02-19 Theppitak Karoonboonyanan <thep@linux.thai.net>
Adjust README.
* README:
- Add that XKB symbols are also supported.
- A little wording adjustment.
2013-02-19 Theppitak Karoonboonyanan <thep@linux.thai.net>
Write README contents.
2013-02-18 Theppitak Karoonboonyanan <thep@linux.thai.net>
Switch to XZ tarball compression.
* configure.ac:
- Invoke AM_INIT_AUTOMAKE with dist-xz, no-dist-gzip options.
2013-02-18 Theppitak Karoonboonyanan <thep@linux.thai.net>
Adjust icon.
* icons/ibus-libthai.svg:
- Enlarge character.
- Convert text to path, so it does not require external font.
- Adjust color, add outline stroke, add drop shadow.
2013-02-18 Theppitak Karoonboonyanan <thep@linux.thai.net>
Add missing file in distribution.
* icons/Makefile.am:
- Add ibus-libthai.svg to EXTRA_DIST.
2013-02-18 Theppitak Karoonboonyanan <thep@linux.thai.net>
Add missing backslash in Makefile.
* src/Makefile.am:
- Add missing backslash at line end for source file list.
2013-01-29 Theppitak Karoonboonyanan <thep@linux.thai.net>
Bump libthai dep to 0.1.19.
* configure.ac:
- libthai 0.1.19 has been released, require it instead of SVN
snapshot.
2012-11-13 Theppitak Karoonboonyanan <thep@linux.thai.net>
Pass unhandled keysyms over to app.
* src/engine.c (ibus_libthai_engine_process_key_event):
- Return FALSE for unknown keysyms.
2012-11-13 Theppitak Karoonboonyanan <thep@linux.thai.net>
Remove usused code.
* src/engine.c (keyval_to_tis):
- Remove unused code.
2012-11-12 Theppitak Karoonboonyanan <thep@linux.thai.net>
Add missing backslash.
* icons/Makefile.am: Add missing continuation backslash.
2012-11-08 Theppitak Karoonboonyanan <thep@linux.thai.net>
Fix config I/O for GConf.
* src/ibus_config.c
(ibus_libthai_read_config, ibus_libthai_write_config):
- Read/write gint32 and boolean, not bytes.
2012-11-08 Theppitak Karoonboonyanan <thep@linux.thai.net>
Add dialog source for translation.
* po/POTFILES.in: Add setup/dlg.c.
2012-11-08 Theppitak Karoonboonyanan <thep@linux.thai.net>
Make preferences dialog scale with window size.
* src/dlg_setup.c (ibus_libthai_setup_dialog_new):
- Make widgets expand with container box.
- Drop GtkAlignment usage and use widget margins instead, so that
the children get expanded with the container.
- Add margins around dialog content area.
- Rearrange call sequence for each widget.
2012-11-08 Theppitak Karoonboonyanan <thep@linux.thai.net>
Add tooltip to correct_input_checkbox.
* src/dlg_setup.c (ibus_libthai_setup_dialog_new):
- Add tooltip to correct_input_checkbox.
2012-11-07 Theppitak Karoonboonyanan <thep@linux.thai.net>
Get rid of GObject warnings of unref-ing non-GObject.
* src/engine.c (ibus_libthai_engine_commit_chars):
- Don't unref IBusText object, as GObject asserts that it's not
a GObject.
2012-11-07 Theppitak Karoonboonyanan <thep@linux.thai.net>
Add preferences GUI for 'do_correct' flag.
* setup/dlg_setup.c:
- (ibus_libthai_setup_dialog_new): Add the checkbox widget.
- (ibus_libthai_setup_set_values): Set the checkbox state.
- (ibus_libthai_setup_get_values): Get the checkbox state.
2012-11-07 Theppitak Karoonboonyanan <thep@linux.thai.net>
Add 'do_correct' config and validate with new libthai API.
* src/ibus_config.h (IBusLibThaiSetupOptions):
- Add 'do_correct' member.
* src/engine_const.h:
- Add CONFIG_DO_CORRECT config item name.
* src/ibus_config.c (set_default_config, ibus_libthai_read_config,
ibus_libthai_write_config):
- Set, read, write the new config member.
* configure.ac:
- Bump required libthai version to 0.1.18svn, the unreleased
development version. Let's bump it again once the new libthai is
released.
* src/engine.c:
- (IBusLibThaiEngine): Add 'do_correct' member.
- (ibus_libthai_engine_init): Initialize it.
- (+ibus_libthai_engine_get_prev_char): Added for retrieving
single-char context in case of no correction.
- (ibus_libthai_engine_process_key_event):
@ Add code for no-correction case.
@ For correction case, call the new libthai th_validate_leveled()
API so the input sequence is properly maintained for the
given strictness level.
2012-11-05 Theppitak Karoonboonyanan <thep@linux.thai.net>
Make Thai KB map types & vars consistent.
* src/thaikb.h, src/thaikb.c (ThaiKBMap, thai_map_qwerty):
- ThaiKBMode -> ThaiKBMap type.
- (thai_map_qwerty): layout -> map arg.
* src/ibus_config.h, src/ibus_config.c, setup/dlg_setup.c
(IBusLibThaiSetupOptions):
- thai_kb_mode -> thai_kb_map member.
* src/engine.c (IBusLibThaiEngine, keyval_to_tis):
- kb_layout -> kb_map member.
- thai_int_layout -> thai_kb_map arg.
2012-11-05 Theppitak Karoonboonyanan <thep@linux.thai.net>
Add setup UI (WIP).
Known problem: ibus config fails (with DBus errors) to read/write
with ibus 1.4.1-8 on Debian.
* configure.ac, src/Makefile.am, +src/engine_const.h,
+src/ibus_config.h, +src/ibus_config.c:
- Add common code as static lib for reading/writing configurations.
- This also requires AC_PROG_RANLIB in configure.
* configure.ac, Makefile.am, +setup/Makefile.am, +setup/setup.c,
+setup/dlg_setup.h, +setup/dlg_setup.c:
- Add GUI for preferences setup.
- This also requires gtk+-3.0 in configure.
* src/engine.c, src/engine.h, src/main.c:
- Add kb_layout member to IBusLibThaiEngine.
- Read config for keyboard layout and ISC mode.
* src/engine.c (keyval_to_tis, ibus_libthai_engine_process_key_event),
src/thaikb.h, src/thaikb.c (thai_map_qwerty, -thai_set_keyboard):
- (keyval_to_tis) takes keyboard layout as argument.
- (ibus_libthai_engine_process_key_event) calls keyval_to_tis with
engine's keyboard layout config.
- (thai_map_qwerty) takes keyboard layout as argument and look up
keys with two-dimensional array.
- (thai_set_keyboard) is now obsolete.
* src/libthai.xml.in.in:
- Add 'setup' element.
2012-11-04 Theppitak Karoonboonyanan <thep@linux.thai.net>
Reformat hex numbers in key map.
* src/thaikb.c (ketmanee_qwerty_map, pattachote_qwerty_map,
tis_qwerty_map):
- Reformat hex numbers to two-digit lower cases.
2012-11-04 Theppitak Karoonboonyanan <thep@linux.thai.net>
Add Pattachote key map.
* src/thaikb.h (enum _ThaiKBMode):
* src/thaikb.c (pattachote_qwerty_map, thai_set_keyboard):
- Add Pattachote QWERTY-to-TH map.
2012-11-04 Theppitak Karoonboonyanan <thep@linux.thai.net>
Fix missing quotation marks in XML.
* src/libthai.xml.in.in:
- Escape quotation marks so they get preserved on shell evaluation.
2012-11-03 Theppitak Karoonboonyanan <thep@linux.thai.net>
Do the most likely case first for key mapping.
* src/engine.c (keyval_to_tis):
- Check & convert English keysyms first.
2012-11-02 Theppitak Karoonboonyanan <thep@linux.thai.net>
Add internal QWERTY-to-TH keyboard mapping.
* src/Makefile.am, +src/thaikb.h, +src/thaikb.c:
- Add internal QWERTY-to-TH keyboard mapping.
* src/engine.c (keyval_to_tis):
- If keyval is in English range, map it to Thai TIS-620 char.
2012-11-02 Theppitak Karoonboonyanan <thep@linux.thai.net>
* First working version.
2011-12-13 Theppitak Karoonboonyanan <thep@linux.thai.net>
* First create the project.