unicode: use static global symbol table
authorDavid Herrmann <dh.herrmann@googlemail.com>
Thu, 29 Mar 2012 14:06:56 +0000 (16:06 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Thu, 29 Mar 2012 14:17:55 +0000 (16:17 +0200)
commitc9ea08d9b5c99f6f04935d2a60a7c197f391731c
tree07b0241edc3d97d05b79bdd4a82f21e5118cae3a
parenta31455a10b1f95c821ca2a3ef639513f5549564c
unicode: use static global symbol table

A symbol table should never be created twice therefore we can make it
static and global. We add locks so it is totally thread-safe, too.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/font.h
src/font_freetype.c
src/terminal.c
src/terminal.h
src/ui.c
src/unicode.c
src/unicode.h
src/vte.c
src/vte.h
tests/test_buffer.c