Validate input_code length in cangjie_get_characters() and cangjie_get_characters_by_shortcode()
Merge pull request #32 from linquize/validate-input-length

Validate input_code length in cangjie_get_characters() and cangjie_get_characters_by_shortcode()
Merge branch 'master' into msvc-proj
buildsys: Silence the Database generation
buildsys: Use AM_CFLAGS for the C compiler flags

This doesn't change anything right now, but will make it much simpler
to run gcov.
tests: Measure the coverage of our test suite

This is disabled by default, and needs to be enabled by passing the
--enable-gcov argument to the configure script.

Output looks like this:

  Test coverage for libcangjie2
  =============================

  Details
  -------

  cangjie.c:            82 / 146 ( 56%)
  cangjiechar.c:        11 /  11 (100%)
  cangjiecharlist.c:    33 /  33 (100%)

  Total
  -----

  Source lines:       190
  Covered statements: 126
  Total coverage:      66%

Yes, our coverage is pretty bad, but at least now we know what to
improve! :D

Fixes #22
Do not write Chinese literal strings directly

MSVC does not encoding Chinese literal strings as UTF-8
Add test for cangjie_get_characters_by_shortcode()
Merge pull request #34 from Cangjians/test-coverage

Test coverage
Merge pull request #33 from linquize/test-shortcode

Add test for cangjie_get_characters_by_shortcode()
Merge pull request #35 from linquize/no-chinese-literal

Do not write Chinese literal strings directly
Merge remote-tracking branch 'remotes/origin/master' into msvc-proj