Commit Graph

29 Commits

Author SHA1 Message Date
Henri Verbeet d48dd7efbf usp10: Use usp10_array_reserve() in computeBracketPairs().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-20 20:47:37 +01:00
Henri Verbeet 24f64acc35 usp10: Make "pair_count" unsigned in computeBracketPairs().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-20 20:47:35 +01:00
Henri Verbeet 99e61cee75 usp10: Avoid leaking "open_stack" and "stack_index" in case of 0 "pair_count" in computeBracketPairs().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:55:07 +01:00
Michael Stefaniuc b21eb6733f usp10: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 14:28:10 +01:00
Henri Verbeet cdd47c3dc3 usp10: Avoid LPCWSTR.
And cleanup some style issues along the way.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-23 15:13:42 +01:00
Henri Verbeet c3dc9edc25 usp10: Use heap_free() instead of HeapFree().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-10 23:21:26 +01:00
Henri Verbeet 6a0e5bb79d usp10: Use heap_alloc() instead of HeapAlloc().
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-10 23:21:26 +01:00
Henri Verbeet 71cabaa4b9 usp10: Resolve BNs and explicit formatting characters to the preceding level in resolveResolved().
As in section 5.2 of the Unicode Bidirectional Algorithm.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-19 21:26:20 +09:00
Alexandre Julliard 0bbeaae678 make_unicode: Mark most data tables as hidden.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 00:25:01 +09:00
Aric Stewart e395d4e766 usp10: Implement fOverrideDirection.
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 01:01:47 +09:00
André Hentschel bc94ee099a usp10: Remove unused function (Clang). 2014-12-05 20:48:04 +01:00
Piotr Caban 4387192120 usp10: Limit trace length in iso_dump_types. 2014-07-14 17:22:42 +02:00
Piotr Caban 6d7ce98fec usp10: Limit trace length in dump_types. 2014-07-14 17:22:41 +02:00
Aric Stewart 710e23797f usp10: Implement N0: bracketing pairs. 2014-07-09 16:21:33 +02:00
Hermès Bélusca-Maïto 8fb52c7c5d usp10: Avoid non-standard array initialization. 2014-03-25 19:01:33 +01:00
Aric Stewart 9ccfebd615 usp10: Implement resolveResolved (L1) for Unicode 6.3. 2013-11-04 11:30:34 +01:00
Aric Stewart de5dc96f85 usp10: Rewrite resolveNeutral and resolveImplicit for Unicode 6.3. 2013-11-04 11:30:32 +01:00
Aric Stewart c767733631 usp10: Rewrite resolveWeak for Unicode 6.3. 2013-11-04 11:24:54 +01:00
Aric Stewart 2531d40b51 usp10: Rewrite resolveExplicit for Unicode 6.3. 2013-11-04 11:20:23 +01:00
Andrew Talbot 4ef6a96890 usp10: Avoid signed-unsigned integer comparisons. 2013-02-28 21:00:58 +01:00
Aric Stewart 9a59d81f72 usp10: Correct error with ScriptLayout log2vis.
Issue found and test written by Huw Davies.
2013-02-14 20:05:11 +01:00
Aric Stewart 9c9513f94a usp10: Break with a better understanding on the handling of bidi strengths. 2011-11-15 16:09:09 +01:00
Frédéric Delanoy 7e309601f3 dlls: Assorted spelling fixes. 2011-08-03 14:15:50 +02:00
Aric Stewart facc7b0306 usp10: Implement handling fMergeNeutralItems. 2010-09-09 19:56:36 +02:00
Francois Gouget 673d7538cb usp10: Add a trailing '\n' to a TRACE() call. 2010-08-31 14:23:47 +02:00
Francois Gouget 7649c75b40 Assorted typo and spelling fixes. 2010-06-24 10:37:05 +02:00
Alexandre Julliard 65ad399032 usp10: Use the more detailed libwine information to classify bidi chars. 2010-04-14 18:00:45 +02:00
Aric Stewart b9c30445c7 ups10: Reimplement ScriptLayout to properly handle mixed runs. 2010-04-14 18:00:45 +02:00
Aric Stewart 6c3659c3d4 usp10: Improve ScriptItemize with a SCRIPT_CONTROL and SCRIPT_STATE set.
Reduce bidi duplications from gdi32 by using the newly corrected usp10 
functions.
2010-04-14 18:00:44 +02:00