dlls/kernel/lcformat.c

Jon Griffiths jon_p_griffiths at yahoo.com
Fri Sep 12 08:57:30 CDT 2003


Hi,

First part of kernel NLS updates.

Aside from implementing the unicode versions of the number formatting
calls, 
this patch also fixes a number of smaller details like handling 
LOCALE_USE_CP_ACP, DATE_SHORTDATE, DATE_YEARMONTH, rounding decimal
points, 
etc.

In addition, these implementations are much better optimised than the
previous 
ones. Mostly this is due to avoiding recalculation of the formatting
data, 
but they also avoid the multiple redundant iterations over the input
string 
seen in the previous versions (e.g. write number strings backwards,
instead 
of reversing them at the end). 

This patch is required for shlwapi.dll (KBSizeA/W) and upcoming
oleaut32.dll 
changes (VARIANT_USE_NLS support and i18n). 

License: X11

Cheers,
Jon

ChangeLog:

  Jon Griffiths <jon_p_griffiths at yahoo.com>

  +dlls/kernel/lcformat.c
    Re-implement and optimise the NLS formatting functions (many
fixes).
    Documentation updates.


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lcformat.diff
Type: text/x-diff
Size: 92445 bytes
Desc: lcformat.diff
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20030912/3ac26817/lcformat.bin


More information about the wine-patches mailing list