src/hb.hh


Log

Author Commit Date CI Message
Behdad Esfahbod b206133d 2018-11-23T14:05:11 [aat] Move contents of hb-aat.h to hb-aat-layout.h Since it was pages and pages...
Ebrahim Byagowi a8726cb4 2018-11-17T14:23:11 [feat] Use bsearch
Behdad Esfahbod f99abcc3 2018-11-24T00:22:21 Add template-function convenience macros
Behdad Esfahbod 3d2b98ef 2018-11-23T10:45:44 Minor
Behdad Esfahbod a2d6c107 2018-11-22T22:40:57 Minor tweak to FLAG64
Behdad Esfahbod 8280459e 2018-11-22T22:39:12 Merge pull request #1291 from harfbuzz/use-reordering [use] Fix reordering
Behdad Esfahbod b89c7fd3 2018-11-21T12:32:48 Allow defining HB_USE_ATEXIT to 0 That's better use of that value than requiring extra macro HB_NO_ATEXIT
David Corbett 3c7792ca 2018-10-20T15:02:26 [use] Fix reordering Fixes #1235.
Ken Brown eee5b5ed 2018-11-12T21:05:39 Don't use Win32 API on Cygwin Cygwin is a Posix platform to the extent possible. It should use the Posix API except in special circumstances.
Behdad Esfahbod ae9ad107 2018-11-03T21:41:50 Fix "Warning: extra ";" ignored."
Ebrahim Byagowi f7a08cd4 2018-10-30T11:29:09 Fix extra semicolon issues and test that on CI (#1330)
Behdad Esfahbod 67a22f37 2018-10-29T17:37:41 [set/map/vector] Make constructable, but not copy or assignable Disable copy/assign on them, as they shouldn't. Make constructor / destructor call init_shallow/fini_shallow, and make those idempotent. So, these three can be constructed on stack now and no init/fini call is needed. As such, hb_auto_t<> is not needed anymore. I'll remove that separately.
Behdad Esfahbod ea0e51d1 2018-10-29T16:00:23 Add HB_NO_CREATE_COPY_ASSIGN
Behdad Esfahbod 14b353c1 2018-10-29T15:29:13 One more iteration
Behdad Esfahbod c7c5df9f 2018-10-29T15:16:52 Try fixing older bots Older C++ doesn't allow struct-with-constructor in union.
Behdad Esfahbod 35d410f2 2018-10-29T14:45:44 Remove ASSERT_POD Newer compilers / language allows structs with constructor in union. So, this was not actually testing anything. Indeed, the recent change in DISALLOW_COPY *is* making some of our types non-POD. That broke some bots. Just remove this since it wasn't doing much, and I'd rather have DISALLOW_COPY.
Behdad Esfahbod a256a92b 2018-10-29T11:25:35 Make Array types uncopyable-unassignable Finally! Catches hard-to-find errors like this: - const SortedArrayOf<SVGDocumentIndexEntry> docs = this+svgDocEntries; + const SortedArrayOf<SVGDocumentIndexEntry> &docs = this+svgDocEntries; We implement this for our array types. This, in turn, trickles down into all types that embed the arrays. So, as long as we define all open-ended structs in terms of Array types (all can be done using UnsizedArrayOf), this achieves the goal of making uncopyable all structs that are variable-sized. Yay!
Behdad Esfahbod 07386ea4 2018-10-22T21:18:27 Remove const and references when binding Null() Fixes https://github.com/harfbuzz/harfbuzz/issues/1299 Removes anomaly I was seeing in cpal table trying to use implicit Null(NameID).
Behdad Esfahbod 62376a7d 2018-10-14T15:20:50 Ignore signed-integer-overflow while kerning Fixes https://github.com/harfbuzz/harfbuzz/issues/1247
Behdad Esfahbod bdb53ca2 2018-10-11T20:20:00 [myanmar] Implement Zawgyi shaper Enabled if script tag 'Qaag' is passed to HarfBuzz. Disables mark advance-zeroing and fallback mark-positioning. Fixes https://github.com/harfbuzz/harfbuzz/issues/1162
Behdad Esfahbod 1e8fdd28 2018-10-10T16:32:35 Remove HAVE_OT We never tested compiling without it. Just kill it. We always build our own shaper.
Chun-wei Fan 8e4ad1d7 2018-07-25T18:12:34 builds: Fix and clean up MSVC DLL builds Instead of passing a CFLAG/CXXFLAG to define HB_EXTERN, define it directly in src/hb.hh as __declspec(dllexport) extern when we are building HarfBuzz as DLLs on Visual Studio. Define HB_INTERNAL as nothing without defining HB_NO_VISIBILITY when building HarfBuzz as DLLs to avoid linker errors on Visual Studio builds. Also "install" harfbuzz-subset.dll into $(PREFIX)\bin as the hb-subset utility will depend on that DLL at runtime, when HarfBuzz is built as DLLs. Since it consists of private APIs that are subject to change, we do not install its headers nor .lib file.
Behdad Esfahbod 3f08750f 2018-09-30T18:23:34 Move _POSIX_SOURCE to hb.hh
Matt Oliver 24dd6c1a 2018-09-23T18:08:30 src/hb-blob.cc: Fix mmap functionality with UWP.
Behdad Esfahbod 606bf574 2018-09-16T19:33:48 Revert forcing use of single-parameter static_assert() Some clang versions define static_assert as a macro apparently, so we cannot redefine it... This reverts commit 94bfea0ce6a7b4d5641c198d50751748a353df11. This reverts commit 4e62627831e7457ed60ff87712570065b14b200a.
Behdad Esfahbod 4e626278 2018-09-16T18:09:36 Enforce single-param static_assert() only So we don't accidentally break it again.
Behdad Esfahbod c77ae408 2018-08-25T22:36:36 Rename hb-*private.hh to hb-*.hh Sorry for the noise, downstream custom builders. Please adjust.