From: Tomas Frydrych (tomasfrydrych_at_yahoo.co.uk)
Date: Fri Dec 05 2003 - 09:14:57 EST
I have put in place framework for proper handling of language changes 
in dependence on changes of keyboard layout. This involves three new 
functions in XAP_App
    const UT_LangRecord * getKbdLang();
    void setKbdLang(const char * pszLang);
    virtual const char * _getKbdLang();
platform code needs to overwrite default impl. of _getKbdLang() with 
meaningful code and ensure that setKbdLang() is called in response to 
changes of kbd layout once we are up and runing (win32 impl. in 
place).
In addition, you need to make sure that XAP_App::initialize() is not 
called before string set has been loaded (on win32 this required 
reordering stuff in ap_Win32App::initialize()).
I also renamed the basic type that makes up the UT_Language data 
table to a more meaningful UT_LangRecord (it is now used outside of 
the UT_Language class).
These changes should be backported to stable (some bidi code depends 
on proper handling of keyboard language).
files: UT_Language.h/cpp, xap_App.h/cpp, xap_Win32App.h/cpp, 
xap_Win32FrameImpl.cpp, ap_EditMethods.cpp, fv_View_cmd.cpp
Tomas
This archive was generated by hypermail 2.1.4 : Fri Dec 05 2003 - 09:21:32 EST