platform/upstream/libHarfBuzzSharp.git
6 years agoRevert "[test] We don’t care about glyph positions here"
Khaled Hosny [Wed, 1 Nov 2017 18:33:43 +0000 (20:33 +0200)]
Revert "[test] We don’t care about glyph positions here"

This reverts commit 70137e2b4b46918d9608f824a4b4b5cef2819158.

6 years ago[test] Run shaping tests with both ot and ft funcs
Khaled Hosny [Wed, 1 Nov 2017 10:06:59 +0000 (12:06 +0200)]
[test] Run shaping tests with both ot and ft funcs

6 years ago[test] We don’t care about glyph positions here
Khaled Hosny [Wed, 1 Nov 2017 10:03:39 +0000 (12:03 +0200)]
[test] We don’t care about glyph positions here

Freetype and OT font functions give different positions for some glyphs
in this font (OT seems to be correct), but that is not what we are
interested in in this test.

See https://github.com/behdad/harfbuzz/pull/590#issuecomment-341045223.

6 years ago[test] Use ft functions for this test
Khaled Hosny [Wed, 1 Nov 2017 08:34:36 +0000 (10:34 +0200)]
[test] Use ft functions for this test

https://github.com/behdad/harfbuzz/pull/590#issuecomment-340967271

6 years ago[test] Always use ft font funcs for these tests
Khaled Hosny [Mon, 30 Oct 2017 20:02:50 +0000 (22:02 +0200)]
[test] Always use ft font funcs for these tests

These are CFF fonts and ot functions don’t support CFF glyph names yet.
The next commit will run all tests with ot functions.

6 years ago[ci] Add FreeBSD9 (gcc4) (#595)
ebraminio [Wed, 1 Nov 2017 10:05:46 +0000 (03:05 -0700)]
[ci] Add FreeBSD9 (gcc4) (#595)

6 years agoEnable PSVita (arm-none-eabi) compile again and add it to CI (#594)
ebraminio [Wed, 1 Nov 2017 09:10:18 +0000 (02:10 -0700)]
Enable PSVita (arm-none-eabi) compile again and add it to CI (#594)

6 years ago[CircleCI] Ignore gh-pages branch
Behdad Esfahbod [Wed, 1 Nov 2017 07:15:27 +0000 (01:15 -0600)]
[CircleCI] Ignore gh-pages branch

https://github.com/behdad/harfbuzz/pull/592

6 years ago[indic] Use mutable for virama_glyph
Behdad Esfahbod [Wed, 1 Nov 2017 04:58:03 +0000 (22:58 -0600)]
[indic] Use mutable for virama_glyph

6 years agoUse bsearch() for large SFNT table directories
Behdad Esfahbod [Wed, 1 Nov 2017 02:11:00 +0000 (20:11 -0600)]
Use bsearch() for large SFNT table directories

6 years agoAdd BinSearchArrayOf<>
Behdad Esfahbod [Wed, 1 Nov 2017 02:05:37 +0000 (20:05 -0600)]
Add BinSearchArrayOf<>

6 years agoSanitize (Headless)ArrayOf()::len to ensure it doesn't use offsets
Behdad Esfahbod [Wed, 1 Nov 2017 00:11:10 +0000 (18:11 -0600)]
Sanitize (Headless)ArrayOf()::len to ensure it doesn't use offsets

6 years agoFix HeadlessArrayOf::sanitize_shallow()
Behdad Esfahbod [Wed, 1 Nov 2017 00:10:40 +0000 (18:10 -0600)]
Fix HeadlessArrayOf::sanitize_shallow()

6 years agoRename hb-sort-r.hh -> hb-dsalgs.hh
Behdad Esfahbod [Tue, 31 Oct 2017 21:34:01 +0000 (15:34 -0600)]
Rename hb-sort-r.hh -> hb-dsalgs.hh

6 years agoRemove HB_TAG_CHAR4
Behdad Esfahbod [Tue, 31 Oct 2017 21:30:06 +0000 (15:30 -0600)]
Remove HB_TAG_CHAR4

6 years agoCategorize Grantha candrabindu for use in Tamil
David Corbett [Fri, 27 Oct 2017 16:14:00 +0000 (12:14 -0400)]
Categorize Grantha candrabindu for use in Tamil

6 years ago[CircleCI] Fix build
Behdad Esfahbod [Tue, 31 Oct 2017 20:25:46 +0000 (14:25 -0600)]
[CircleCI] Fix build

Fixes https://github.com/behdad/harfbuzz/issues/589

6 years agoMerge commit '0feff4ba7b16501341c575e06b4c98a6e1bd2809'
Behdad Esfahbod [Tue, 31 Oct 2017 20:13:31 +0000 (14:13 -0600)]
Merge commit '0feff4ba7b16501341c575e06b4c98a6e1bd2809'

6 years agoSimplify hb-sort-r.hh
Behdad Esfahbod [Tue, 31 Oct 2017 20:02:32 +0000 (14:02 -0600)]
Simplify hb-sort-r.hh

See https://github.com/behdad/harfbuzz/pull/592

6 years ago[ci] Add CircleCI for cross-compiling (#592)
ebraminio [Tue, 31 Oct 2017 19:42:08 +0000 (12:42 -0700)]
[ci] Add CircleCI for cross-compiling (#592)

6 years agoDefine _GNU_SOURCE
Behdad Esfahbod [Tue, 31 Oct 2017 19:18:21 +0000 (13:18 -0600)]
Define _GNU_SOURCE

Might help with https://github.com/behdad/harfbuzz/pull/592
Ie. bringing in qsort_r() prototype always.

6 years ago[coretext/uniscribe] Fix build
Behdad Esfahbod [Tue, 31 Oct 2017 17:17:43 +0000 (11:17 -0600)]
[coretext/uniscribe] Fix build

https://travis-ci.org/behdad/harfbuzz/jobs/295039536#L3468
https://ci.appveyor.com/project/behdad/harfbuzz/build/1.0.697/job/dr1ujlntxafeqbej#L142

6 years agoFix Windows build
Behdad Esfahbod [Mon, 30 Oct 2017 20:11:59 +0000 (14:11 -0600)]
Fix Windows build

(And prevent it from happening in the future.)

6 years ago[post] Implement glyph_from_name()
Behdad Esfahbod [Mon, 30 Oct 2017 19:15:05 +0000 (13:15 -0600)]
[post] Implement glyph_from_name()

This concludes https://github.com/behdad/harfbuzz/pull/568

6 years agoMake string-array return hb_string_t
Behdad Esfahbod [Mon, 30 Oct 2017 18:21:44 +0000 (12:21 -0600)]
Make string-array return hb_string_t

6 years agoAdd hb_string_t
Behdad Esfahbod [Mon, 30 Oct 2017 17:42:28 +0000 (11:42 -0600)]
Add hb_string_t

6 years agoFix tests
Behdad Esfahbod [Mon, 30 Oct 2017 15:48:09 +0000 (09:48 -0600)]
Fix tests

6 years ago[post] Minor; towards implementing get_glyph_from_name()
Behdad Esfahbod [Mon, 30 Oct 2017 15:46:36 +0000 (09:46 -0600)]
[post] Minor; towards implementing get_glyph_from_name()

6 years agoAdd hb_bsearch_r()
Behdad Esfahbod [Sun, 29 Oct 2017 23:33:32 +0000 (17:33 -0600)]
Add hb_bsearch_r()

6 years agoRemove hb_compare_func_t
Behdad Esfahbod [Sun, 29 Oct 2017 23:01:47 +0000 (17:01 -0600)]
Remove hb_compare_func_t

6 years agoAdd hb-sort-r, a portable qsort_r() replacement
Behdad Esfahbod [Sun, 29 Oct 2017 22:38:58 +0000 (16:38 -0600)]
Add hb-sort-r, a portable qsort_r() replacement

6 years agoFix up 5de83fab947e23cc729d69f8d44a28311298af9d
Behdad Esfahbod [Sun, 29 Oct 2017 21:00:54 +0000 (15:00 -0600)]
Fix up 5de83fab947e23cc729d69f8d44a28311298af9d

6 years ago[post] Minor
Behdad Esfahbod [Sun, 29 Oct 2017 20:52:52 +0000 (14:52 -0600)]
[post] Minor

6 years ago[ot] Speed up get_glyph_name()
Behdad Esfahbod [Sun, 29 Oct 2017 01:54:04 +0000 (19:54 -0600)]
[ot] Speed up get_glyph_name()

get_glyph_from_name() coming soon.

6 years ago[post] Refactor a bit, use our data types
Behdad Esfahbod [Sat, 28 Oct 2017 22:58:56 +0000 (16:58 -0600)]
[post] Refactor a bit, use our data types

6 years agoMore nullptr fix
Behdad Esfahbod [Sat, 28 Oct 2017 18:00:49 +0000 (12:00 -0600)]
More nullptr fix

Fixes https://github.com/behdad/harfbuzz/issues/585

6 years ago[glib/ucdn/icu/ft/ot] Make returned funcs inert
Behdad Esfahbod [Fri, 27 Oct 2017 22:34:01 +0000 (16:34 -0600)]
[glib/ucdn/icu/ft/ot] Make returned funcs inert

Such that client cannot accidentally destroy them, even though that
will be a bug in their code...

6 years agoFix previous commit
Behdad Esfahbod [Fri, 27 Oct 2017 22:03:51 +0000 (16:03 -0600)]
Fix previous commit

Oops.

6 years ago[glib/icu/ucdn] Make the funcs object allocated on demand
Behdad Esfahbod [Fri, 27 Oct 2017 21:26:45 +0000 (15:26 -0600)]
[glib/icu/ucdn] Make the funcs object allocated on demand

6 years agoCorrectly mark NullPool const
Behdad Esfahbod [Fri, 27 Oct 2017 21:13:50 +0000 (15:13 -0600)]
Correctly mark NullPool const

Saves some more code size as well!

6 years agoReduce prealloced number of user-data items from 2 to 1
Behdad Esfahbod [Fri, 27 Oct 2017 21:09:22 +0000 (15:09 -0600)]
Reduce prealloced number of user-data items from 2 to 1

Even 1 is too many but putting 0 breaks compile.  Saves 3k in .so

6 years agoMake the NullPool HB_INTERNAL shared
Behdad Esfahbod [Fri, 27 Oct 2017 21:01:40 +0000 (15:01 -0600)]
Make the NullPool HB_INTERNAL shared

Saves 2k of .bss section.

6 years ago[ot] Remove shaper name
Behdad Esfahbod [Fri, 27 Oct 2017 20:42:59 +0000 (14:42 -0600)]
[ot] Remove shaper name

In ten years we never used them...

6 years agoFix IntType.cmp() to avoid narrowing down integer types
Behdad Esfahbod [Fri, 27 Oct 2017 20:29:12 +0000 (14:29 -0600)]
Fix IntType.cmp() to avoid narrowing down integer types

Fixes https://github.com/behdad/harfbuzz/issues/571

6 years agoMake c++11 optional
Behdad Esfahbod [Fri, 27 Oct 2017 16:29:25 +0000 (10:29 -0600)]
Make c++11 optional

Fixes https://github.com/behdad/harfbuzz/issues/585

6 years ago[m4] Update ax_pthread.m4
Behdad Esfahbod [Fri, 27 Oct 2017 16:24:58 +0000 (10:24 -0600)]
[m4] Update ax_pthread.m4

6 years ago[git.mk] Update
Behdad Esfahbod [Fri, 27 Oct 2017 16:23:01 +0000 (10:23 -0600)]
[git.mk] Update

6 years agoUse NULL instead of polyfill, if nullptr is not available
Behdad Esfahbod [Fri, 27 Oct 2017 15:29:20 +0000 (09:29 -0600)]
Use NULL instead of polyfill, if nullptr is not available

Part of fixing https://github.com/behdad/harfbuzz/issues/585

6 years agoInclude hb-private.hh more consistently
Behdad Esfahbod [Fri, 27 Oct 2017 15:22:30 +0000 (09:22 -0600)]
Include hb-private.hh more consistently

Part of fixing https://github.com/behdad/harfbuzz/issues/585

6 years agoTowards compiling with pre-C++11 compilers and nullptr fallback
Behdad Esfahbod [Fri, 27 Oct 2017 06:25:11 +0000 (00:25 -0600)]
Towards compiling with pre-C++11 compilers and nullptr fallback

https://github.com/behdad/harfbuzz/issues/585

6 years ago[post] Make format1 names array avoid relocations
Behdad Esfahbod [Fri, 27 Oct 2017 02:34:04 +0000 (20:34 -0600)]
[post] Make format1 names array avoid relocations

6 years agoAdd hb-string-array.hh
Behdad Esfahbod [Fri, 27 Oct 2017 01:48:33 +0000 (19:48 -0600)]
Add hb-string-array.hh

Used to build static string arrays that use no relocation.

6 years agoMinor
Behdad Esfahbod [Fri, 27 Oct 2017 00:23:03 +0000 (18:23 -0600)]
Minor

6 years ago1.6.3
Behdad Esfahbod [Thu, 26 Oct 2017 18:52:02 +0000 (12:52 -0600)]
1.6.3

6 years agoInclude all relevant glyphs in the subsetted font
David Corbett [Thu, 26 Oct 2017 14:29:28 +0000 (10:29 -0400)]
Include all relevant glyphs in the subsetted font

6 years agoFix warning
Behdad Esfahbod [Thu, 26 Oct 2017 17:43:33 +0000 (11:43 -0600)]
Fix warning

https://github.com/behdad/harfbuzz/commit/49a41dc75931cc2d2f7e74b7801f8cc327039e8e#commitcomment-25203194

6 years ago[set] Fix page_map[] indexing in backward loop.
Jonathan Kew [Thu, 26 Oct 2017 15:59:50 +0000 (16:59 +0100)]
[set] Fix page_map[] indexing in backward loop.

Fixes https://github.com/behdad/harfbuzz/issues/579.

6 years ago[test] Extend hb_set test for issue 579 (currently failing)
Jonathan Kew [Thu, 26 Oct 2017 11:55:36 +0000 (12:55 +0100)]
[test] Extend hb_set test for issue 579 (currently failing)

6 years ago[test] Additional coverage in test_set_iter.
Jonathan Kew [Thu, 26 Oct 2017 16:54:55 +0000 (17:54 +0100)]
[test] Additional coverage in test_set_iter.

This adds a couple extra entries to the set used, such that iteration
would fail in 1.6.2 due to the bug in hb_set_t::page_t::next().

6 years ago[set] Bugfix for hb_set_next
Jonathan Kew [Thu, 26 Oct 2017 14:08:29 +0000 (15:08 +0100)]
[set] Bugfix for hb_set_next

6 years ago[post] Oops!
Behdad Esfahbod [Thu, 26 Oct 2017 00:22:47 +0000 (18:22 -0600)]
[post] Oops!

https://ci.appveyor.com/project/behdad/harfbuzz/build/1.0.668/job/ikfj8peowgrp059t

6 years ago[post] Touch up and fixes
Behdad Esfahbod [Wed, 25 Oct 2017 23:40:50 +0000 (17:40 -0600)]
[post] Touch up and fixes

The get_glyph_from_name() is incorrect; needs fixing.

6 years ago[ot-font] Implement hb_ot_get_glyph_from_name
Khaled Hosny [Wed, 18 Oct 2017 18:49:16 +0000 (20:49 +0200)]
[ot-font] Implement hb_ot_get_glyph_from_name

6 years ago[ot-font] Implement hb_ot_get_glyph_name
Khaled Hosny [Mon, 16 Oct 2017 08:05:42 +0000 (10:05 +0200)]
[ot-font] Implement hb_ot_get_glyph_name

Turns out we already have support for “post” table, it just needed to be
activated and put in use.

6 years agoMerge commit '49a41dc75931cc2d2f7e74b7801f8cc327039e8e'
Behdad Esfahbod [Wed, 25 Oct 2017 23:23:20 +0000 (17:23 -0600)]
Merge commit '49a41dc75931cc2d2f7e74b7801f8cc327039e8e'

6 years ago[test] Add more hb-set tests
Behdad Esfahbod [Wed, 25 Oct 2017 22:17:45 +0000 (16:17 -0600)]
[test] Add more hb-set tests

https://github.com/behdad/harfbuzz/issues/579

6 years agoUse `mktemp -d` instead of `mktemp --directory`
David Corbett [Wed, 25 Oct 2017 18:31:22 +0000 (14:31 -0400)]
Use `mktemp -d` instead of `mktemp --directory`

6 years agoFix and run indic-script-extensions.tests
David Corbett [Wed, 25 Oct 2017 20:06:40 +0000 (16:06 -0400)]
Fix and run indic-script-extensions.tests

6 years agoFix code point iteration in narrow Python
David Corbett [Wed, 25 Oct 2017 20:06:01 +0000 (16:06 -0400)]
Fix code point iteration in narrow Python

6 years agoCheck for headers in builddir first, in check-*.sh
Behdad Esfahbod [Wed, 25 Oct 2017 16:09:11 +0000 (12:09 -0400)]
Check for headers in builddir first, in check-*.sh

Fixes https://bugs.freedesktop.org/show_bug.cgi?id=103346

6 years agocheck-externs.sh: Make output more verbose
Behdad Esfahbod [Tue, 24 Oct 2017 14:06:25 +0000 (10:06 -0400)]
check-externs.sh: Make output more verbose

Trying to figure out why this is failing on some Debian bots:
https://bugs.freedesktop.org/show_bug.cgi?id=103346

Maybe I should check for GNU grep specifically now that I'm using -n as well.

6 years ago1.6.2
Behdad Esfahbod [Mon, 23 Oct 2017 18:35:16 +0000 (14:35 -0400)]
1.6.2

6 years ago[set] Rewrite another way :P
Behdad Esfahbod [Mon, 23 Oct 2017 18:28:35 +0000 (14:28 -0400)]
[set] Rewrite another way :P

6 years ago[set] Fix crash
Behdad Esfahbod [Mon, 23 Oct 2017 18:26:48 +0000 (14:26 -0400)]
[set] Fix crash

Ouch!  That's what happens when one plays with increment/decrement operators!

Fixes https://github.com/behdad/harfbuzz/issues/578

6 years ago[RELEASING] Format
Behdad Esfahbod [Mon, 23 Oct 2017 17:10:21 +0000 (13:10 -0400)]
[RELEASING] Format

6 years ago[doap] Switch to github issues
Behdad Esfahbod [Mon, 23 Oct 2017 17:01:34 +0000 (13:01 -0400)]
[doap] Switch to github issues

https://github.com/behdad/harfbuzz/pull/575#issuecomment-338514596

6 years ago[RELEASING] Minor
Behdad Esfahbod [Mon, 23 Oct 2017 17:00:36 +0000 (13:00 -0400)]
[RELEASING] Minor

https://github.com/behdad/harfbuzz/pull/575

6 years agoMinor
Behdad Esfahbod [Mon, 23 Oct 2017 12:37:48 +0000 (08:37 -0400)]
Minor

6 years ago[set] Don't use major()
Behdad Esfahbod [Mon, 23 Oct 2017 12:36:40 +0000 (08:36 -0400)]
[set] Don't use major()

Fixes https://github.com/behdad/harfbuzz/issues/577

6 years ago[set] Don't use PAGE_SIZE
Behdad Esfahbod [Mon, 23 Oct 2017 12:34:30 +0000 (08:34 -0400)]
[set] Don't use PAGE_SIZE

Fixes https://github.com/behdad/harfbuzz/issues/576

6 years agoMerge commit '6cc49762c4fdfd0e2770a84d1b1f055acf42376f'
Behdad Esfahbod [Sun, 22 Oct 2017 22:24:59 +0000 (18:24 -0400)]
Merge commit '6cc49762c4fdfd0e2770a84d1b1f055acf42376f'

6 years ago[icu] Fix error check
Behdad Esfahbod [Sun, 22 Oct 2017 22:23:38 +0000 (18:23 -0400)]
[icu] Fix error check

6 years agoMerge pull request #575 from behdad/releasing-edit
ebraminio [Sun, 22 Oct 2017 22:18:22 +0000 (01:48 +0330)]
Merge pull request #575 from behdad/releasing-edit

Clarify the last step of release

6 years agoClarify the last step of release
ebraminio [Sun, 22 Oct 2017 22:17:51 +0000 (01:47 +0330)]
Clarify the last step of release

6 years agoFix set initialization issues
Behdad Esfahbod [Sun, 22 Oct 2017 21:48:06 +0000 (17:48 -0400)]
Fix set initialization issues

6 years ago1.6.1
Behdad Esfahbod [Sun, 22 Oct 2017 21:38:33 +0000 (17:38 -0400)]
1.6.1

6 years agoMerge commit '3ee15a60358f4d894bbf2431d7a7df38b7acc4ce'
Behdad Esfahbod [Sun, 22 Oct 2017 21:08:29 +0000 (17:08 -0400)]
Merge commit '3ee15a60358f4d894bbf2431d7a7df38b7acc4ce'

6 years agoAnother try at fixing mingw32 build bot fail
Behdad Esfahbod [Sun, 22 Oct 2017 21:03:36 +0000 (17:03 -0400)]
Another try at fixing mingw32 build bot fail

6 years agoMerge commit 'bfe0faf1a2d39302129a7202994456afd96694ca'
Behdad Esfahbod [Sun, 22 Oct 2017 21:06:00 +0000 (17:06 -0400)]
Merge commit 'bfe0faf1a2d39302129a7202994456afd96694ca'

6 years agoAnother try at fixing mingw32 build bot fail
Behdad Esfahbod [Sun, 22 Oct 2017 21:03:36 +0000 (17:03 -0400)]
Another try at fixing mingw32 build bot fail

6 years ago[docs] Deprecate hb_set_invert()
Behdad Esfahbod [Sun, 22 Oct 2017 19:54:50 +0000 (15:54 -0400)]
[docs] Deprecate hb_set_invert()

6 years agoMerge pull request #572 from fanc999/master.msvc
ebraminio [Sat, 21 Oct 2017 06:49:55 +0000 (10:19 +0330)]
Merge pull request #572 from fanc999/master.msvc

builds: Support HarfBuzz-GObject and introspection in CMake builds

6 years agoAnother try at fixing build bots
Behdad Esfahbod [Fri, 20 Oct 2017 17:57:43 +0000 (13:57 -0400)]
Another try at fixing build bots

hb-ot-shape.cc:287:18: error: comparison of constant 32 with expression of type 'hb_unicode_general_category_t' is always true [-Werror,-Wtautological-constant-out-of-range-compare]

6 years agoRemove FLAG_SAFE()
Behdad Esfahbod [Thu, 19 Oct 2017 18:39:52 +0000 (11:39 -0700)]
Remove FLAG_SAFE()

No flag is safe, over time... See previous commit.

6 years ago[myanmar] Fix unsafe usage of FLAG_SAFE()
Behdad Esfahbod [Thu, 19 Oct 2017 18:35:51 +0000 (11:35 -0700)]
[myanmar] Fix unsafe usage of FLAG_SAFE()

The commit f559c633073f63b9d87cb2440048b4413cfa1c05 caused
"undefined-shift" errors in Myanmar shaper as we changed the
numeric value of type D from 19 to 32 there, making the
"FLAG_SAFE (info.myanmar_category())" wrong.

Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3546

6 years agoCMake builds: Support introspection builds
Chun-wei Fan [Thu, 19 Oct 2017 10:36:32 +0000 (18:36 +0800)]
CMake builds: Support introspection builds

This adds support for introspection builds on Windows that is enabled by
the HB_HAVE_INTROSPECTION option, which will also enable HB_HAVE_GOBJECT
(and so HB_HAVE_GLIB) as they are required for introspection.

In order for this to work one must ensure that the Python installation
listed in PYTHON_EXECUTABLE is the same Python release series that was
used to build _giscanner.pyd (the Python module that is used by
g-ir-scanner), with the same architecture.  PKG_CONFIG_PATH and PATH
must be set correctly if $(PREFIX)\bin and/or $(PREFIX)\lib\pkgconfig
are not in the standard PATH and PKG_CONFIG_PATH, which is actually
in-line with the *NIX builds.

6 years agoCMake: Support building HarfBuzz-GObject
Chun-wei Fan [Wed, 18 Oct 2017 07:43:57 +0000 (15:43 +0800)]
CMake: Support building HarfBuzz-GObject

This adds support to the CMake build files to support building
HarfBuzz-GObject, which is actually a little bit complicated,
as we need to:

-Run glib-mkenums, which is a Python (for newer GLib/GObject) or PERL
 (for older, pre 2.53.4, GLib/GObject) script.  This matters more for
 Visual Studio builds as shebang lines are not supported, so we need to
 test-run it with PERL or Python to determine which is the correct
 interpretor to use.

-Next, we need to replace strings in the sources that we obtain from
 running glib-mkenums.  So, the solution here is to use a small utility
 CMake script for our purposes here, to maintain maximum compatibility.

-Ensure that things do work in the Visual Studio IDE builds.

6 years agoCMake builds: Fix builds
Chun-wei Fan [Wed, 18 Oct 2017 14:27:28 +0000 (22:27 +0800)]
CMake builds: Fix builds

Include the fallback sources in the build, and update
src/Makefile.sources so that it can be read by the CMake build files.

Fix a typo in the DirectWrite configure option so that we can properly
enable DirectWrite builds.

Also, when building the utility program, install them as well.

6 years ago[bsearch] Micro-optimization
Behdad Esfahbod [Tue, 17 Oct 2017 23:32:12 +0000 (16:32 -0700)]
[bsearch] Micro-optimization

6 years agoSwitch from ICU deprecated unorm_normalize to unorm2_normalize. (#569)
Fredrik Roubert [Tue, 17 Oct 2017 22:06:31 +0000 (15:06 -0700)]
Switch from ICU deprecated unorm_normalize to unorm2_normalize. (#569)

The new unorm2_normalize has been public API since ICU 4.4, while
the old unorm_normalize has been deprecated since ICU 56.

Now, beginning with ICU 60, unorm_normalize will also be annotated
U_DEPRECATED and trigger the compiler -Wdeprecated-declarations warning.