Allow tables to specify a symbol for display
Merge pull request #21 from leftmostcat/master

Allow tables to specify a symbol for display
Merge pull request #34 from mike-fabian/remove-tabdict-and-other-improvements-and-bugfixes

Remove tabdict and other improvements and bugfixes
Fix typo in the filtering for chinese mode 3 (All characters with traditional Chinese first)
Don’t try to call filter_candidates() if it is not necessary
Put exact matches always at the top of the candidate list

Change the filtering in Chinese mode 2 (All characters with simplified
Chinese first) and Chinese mode 3 (All characters with traditional
Chinese first) to keep that property of the candidate list.  I.e.
keep the exact matches on top and the completion matches below and do
the Chinese filtering for mode 2 and 3 separately for the exact
matches and the completion matches.

Sees also https://bugzilla.redhat.com/show_bug.cgi?id=1050753#c2

Bo-Yin Yang> 1. Any character which has that precise key sequence as
Bo-Yin Yang> the encoding must be listed ahead of any other
Bo-Yin Yang> character. That is, if 同 and U+26688 are the two (and
Bo-Yin Yang> the only two) Chinese characters whose encodings are
Bo-Yin Yang> "bmr", then input of bmr must list 同 and U+26688 as the
Bo-Yin Yang> first two characters in the preedit window for choice of
Bo-Yin Yang> characters, no matter how unlikely to appear 同 and might
Bo-Yin Yang> be deemed by the data table.  That the encoding matches
Bo-Yin Yang> the input sequence must outweigh any other factor in the
Bo-Yin Yang> AI.
Don’t create an “ikeys” table

The “ikeys” table created in tabsqlitedb.py is apparently never
used anywhere.
Support prompt characters

Some tables, e.g. cangjie5.txt contain prompt character definitions:

BEGIN_CHAR_PROMPTS_DEFINITION
a 日
b 月
c 金
...

Read these when creating a database and save it to the database.

When typing, show these prompts instead of showing the typed Latin
characters in the auxiliary text, the preëdit, or in the candidate
list for the remaining keys to type to complete a match.
Add __pycache__/ to tools/.gitignore
Update Unihan_Variants.txt from “2011-08-08 Unicode 6.1.0” to “2013-02-25 Unicode 6.3.0”

And regenerate engine/chinese_variants.py.
Add a test case to make sure 同 is detected as both simplified *and* traditional Chinese
Fix bug in Unihan_Variants.txt, 同 is both simplified *and* traditional Chinese
Add the Unicode code point of the first character of the phrase as a last ditch sort key for the candidates

In some cases, where there are several matches for *exactly* the same
input sequences *and* the system frequencies are also the same
for example

    bmr	同	1000
    bmr	𦚈	1000

in cangjie5.txt, instead of getting the order randomly, use the
Unicode code point as a last ditch sort key. Some defined order is
better than random. On top of that, this puts characters with code
points above the BMP *after* characters with code points in the
BMP. Usually this is the right thing to do because the characters from
the BMP are usually more common. Should this not be the case and the
character above the BMP really is the more common one, the system
frequency should be added to reflect this.

This does not always help: In cangjie5.txt there are also cases where
*exactly* the same input sequences matches different characters which
are all in the BMP, for example:

    bmso	豚	1000
    bmso	冢	1000
    bmso	䐁	1000

    dhe	皮	1000
    dhe	板	1000

But sorting the characters in the BMP to the top if all other sort
keys are the same is better than nothing.
Merge pull request #35 from mike-fabian/exact-matches-at-the-top-and-support-prompts-for-cangjie

Exact matches at the top and support prompts for cangjie
Merge pull request #36 from mike-fabian/use-unicode-code-point-as-a-last-sort-key

Use Unicode code point as a last sort key
Merge branch 'master' into 1.7

Conflicts:
	engine/main.py
	engine/tabsqlitedb.py
Revert "Merge branch 'master' into 1.7"

This reverts commit 109872fdb45dc625906e0039efc0897dd9c64ca5, reversing
changes made to 3d8ec4f62c77fd67882ea32075777b9d01c55864.
Update version number and authors contacts.
Adapt tools/ibus-table-query to work with the new database format
Merge pull request #37 from mike-fabian/adapt-ibus-table-query-to-the-new-database-format

Adapt ibus table query to the new database format