chewing/libchewing — pull request #28 by czchen (2012-10-20 13:00:37+00:00)
Title: Move global variables to ChewingData

The patch contains the following items:

- Move global variables to ChewingData
- Use CHEWING_PATH to find static data
- New search algorithm for static data, and its test case
- Use CHEWING_USER_PATH to store user-defined hash data
- Remove addTerminateService since there is no global variable
- Update document
- Update .gitignore

The static data path searching algorithm is in src/common/path.c, but I am not sure if that is the correct place. Please provide the suggestion if that is not a good place, thanks.