src


Log

Author Commit Date CI Message
Behdad Esfahbod 105a3b5e 2018-06-05T15:31:04 Minor
Behdad Esfahbod df01f3e5 2018-06-05T15:17:39 1.7.7
Behdad Esfahbod ba3b6d6c 2018-06-04T16:47:45 [khmer] Fix Coeng vs Halant confusion Test suite results are unchanged (34).
Ebrahim Byagowi 8220ef8a 2018-06-05T22:50:53 Fix hb_face_count build issue I should've rebased #1002 before the merge, my bad
Ebrahim Byagowi 32da0c6b 2018-06-05T18:56:26 Add hb_face_count, a new API (#1002) Simply, it returns the number of faces on a font blob. To be used on hb-sanitizer tool but other clients also can benefit from it.
Behdad Esfahbod 4a115fe7 2018-06-04T15:40:43 [sinhala] Move reph to after post-consonants Apparently this changed between Win 7 and Win 10. Fixes https://github.com/harfbuzz/harfbuzz/issues/967 To be continued in https://github.com/harfbuzz/harfbuzz/issues/1044
Behdad Esfahbod 58400a2a 2018-06-02T20:30:09 Remove DISALLOW_* from vector, set, and map Some of the build bots, still fail on this. I suppose mine pass because I enable C++11... Anyway, remove these again.
Behdad Esfahbod f9abbf83 2018-06-02T15:30:59 Fix fallout from 975bdd5ef562e37655067b703b2b9ca7481f4985 Ouch!
Behdad Esfahbod f7515769 2018-06-01T17:48:37 [vector] Use Crap pool in push() as well
Behdad Esfahbod 975bdd5e 2018-06-01T17:37:13 [vector] Keep success status
Behdad Esfahbod 1ab3c3ed 2018-06-01T17:34:24 [vector] Whitespace
Behdad Esfahbod fb07d1a3 2018-06-01T17:32:07 Another attempt at making every compiler happy... Sigh.
Behdad Esfahbod 4f76f956 2018-06-01T17:28:47 [map] Move prime_for to hb-static
Behdad Esfahbod 33d6f46b 2018-06-01T17:25:35 [set] Shrink page-map size again
Behdad Esfahbod 4ca211bc 2018-06-01T17:18:57 Fix hb_vector_size_t
Behdad Esfahbod a7dd90f5 2018-06-01T16:07:55 Revert "Remove HB_DISALLOW_COPY_AND_ASSIGN" This reverts commit ff92de766bf775bfdd3a01bda94de699180ff86a. Revert that and remove ASSERT_POD. Let's see which bots are unhappy with this configuration...
Behdad Esfahbod 7b50bf52 2018-05-31T20:20:17 Use NullPool for _hb_set_nil and _hb_map_nil
Behdad Esfahbod f040ca40 2018-05-31T20:15:21 [set] Minor
Behdad Esfahbod 7185b273 2018-05-31T20:03:00 Rename in_error to !successful Towards possibly using Null pool for some nil objects.
Behdad Esfahbod 353f4d2e 2018-05-31T19:52:16 Fix a whitespace inconsistency Null() and Crap() are only places that there's no space before '('...
Behdad Esfahbod e36cd1df 2018-05-31T19:31:39 Remove trivial HB_ATOMIC_INT_INIT()
Behdad Esfahbod 550a70f8 2018-05-31T19:28:04 Use 0 as inert object reference value instead of -1 Towards using Null object for nil objects.
Behdad Esfahbod dcd1b07e 2018-05-31T17:58:40 Add const OffsetTo<> dereference Unused, but now that we have CrapPool, implement it.
Ebrahim Byagowi 2baa357a 2018-05-31T12:27:31 Fix symbol export issue of prime_mod on Alpine bot Apparently our gcc-6.4.0 on Alpine Linux distribution doesn't like defining static const inside a method, lets put that on outside the classes.
Behdad Esfahbod 54800f83 2018-05-30T16:26:50 [map] Mark prime_for HB_INTERNAL Trying to see if it fixes gcc-4.2 bots.
Behdad Esfahbod d600e844 2018-05-30T16:25:46 Add CrapOrNull
Garret Rieger 251cc977 2018-05-30T12:23:51 [subset] Switch to using hb_map_t inside of hb_subset_plan_t.
Behdad Esfahbod b3d45de6 2018-05-30T14:02:49 [map] Fix size calculation Don't know why I thought I should subtract one there...
Behdad Esfahbod ff92de76 2018-05-29T18:48:45 Remove HB_DISALLOW_COPY_AND_ASSIGN llvm-gcc-4.2 bot had this problem: hb-private.hh:812: error: initializer specified for non-virtual method 'void hb_vector_t<Type, StaticSize>::operator=(const hb_vector_t<Type, StaticSize>&) [with Type = hb_user_data_array_t::hb_user_data_item_t, unsigned int StaticSize = 1u]' Removing the delete didn't work with a constructor. So, remove constructor. Just disallow assignment. Still better than nothing.
Behdad Esfahbod a2444346 2018-05-29T18:32:57 [map] Fix resize
Behdad Esfahbod efbab6ba 2018-05-29T18:21:55 Disable use of thread_local Clang build was failing with: /usr/bin/ld: .libs/libharfbuzz_la-hb-blob.o: relocation R_X86_64_PC32 against undefined hidden symbol `_ZTH12_hb_CrapPool' can not be used when making a shared object Instead of fighting it, just disable use of it.
Behdad Esfahbod 8c2c5d45 2018-05-29T18:15:52 [map] Not going to implement is_equal which is complicated
Behdad Esfahbod ccd01c65 2018-05-29T18:13:13 [map] Move prime_mod to header to avoid linkage issues in subset.so
Behdad Esfahbod 6baebc5d 2018-05-29T17:58:46 [map] Fix copyright year
Behdad Esfahbod b0158129 2018-05-29T17:52:37 [map] Minor
Behdad Esfahbod 4099c66f 2018-05-29T17:52:07 [map] Don't return INVALID from get() just because in_error
Behdad Esfahbod 25783907 2018-05-29T17:34:35 [map] Fix bool use in C API
Behdad Esfahbod a9fa39dc 2018-05-29T17:31:01 [map] More minor
Behdad Esfahbod f76c4a77 2018-05-29T17:27:25 [map] Make initial resize actually work
Behdad Esfahbod 661e9ae4 2018-05-29T17:09:17 [map] Add clear(), is_empty(), and get_population()
Behdad Esfahbod b6959c33 2018-05-29T17:02:22 [map] Minor
Behdad Esfahbod 686476a8 2018-05-29T17:00:02 [map] Track population and occupancy separately
Behdad Esfahbod 8a978790 2018-05-29T16:45:20 [map] Minor
Behdad Esfahbod 6f12ce47 2018-05-29T16:45:06 Revert "[map] Return bool from set()" This reverts commit face7cf55d4895ffca314c8448c0a749a26cc182.
Behdad Esfahbod fc51c450 2018-05-29T16:44:55 Revert "[map] Make hb_map_set() return bool" This reverts commit 7bf1980146cfc081b06264ac367b23ae9397adf1.
Behdad Esfahbod 7bf19801 2018-05-29T16:42:44 [map] Make hb_map_set() return bool
Behdad Esfahbod face7cf5 2018-05-29T16:39:03 [map] Return bool from set()
Behdad Esfahbod e94be200 2018-05-29T16:37:44 [map] Implement operator[] for get()ting
Behdad Esfahbod 743fdd9c 2018-05-29T16:28:48 [map] First try at implementing an integer-to-integer hashmap Fully untested.
Ebrahim Byagowi 65c82179 2018-05-26T23:50:10 [blob] Use MAP_NORESERVE if available (#1039) MAP_NORESERVE is not available on macOS for example so set the flag to zero if not defined on the headers.
Behdad Esfahbod 1ce40d90 2018-05-25T16:34:08 [set] Remove stale comment
Behdad Esfahbod 6c222764 2018-05-25T16:21:27 Add HB_DISALLOW_COPY_AND_ASSIGN
Behdad Esfahbod fd3d0042 2018-05-24T15:58:26 Move pool definitions to hb-static.cc
Behdad Esfahbod 7f7b1370 2018-05-24T14:09:04 Fix Uniscribe build If a pointer type was passed to Null(), reinterpret_cast<> was complaining about qualifiers being removed. Turns out I need the const on the other side of "Type" to fix that. Also remove unused const from NullPool type.
Behdad Esfahbod 31c4236d 2018-05-24T13:38:46 Underflow protection in hb_vector_t
Behdad Esfahbod f83e992c 2018-05-24T11:46:57 Mark CrapPool thread_local Not sure if I like to keep it. For now, aim for correctness.
Behdad Esfahbod 5d801298 2018-05-24T11:33:15 Add CrapPool Common Regoin for Access Protection. Like the NullPool, but writable.
Behdad Esfahbod 673b764d 2018-05-23T20:12:23 Move code around
Behdad Esfahbod 65aeabd6 2018-05-23T16:15:28 Add hb_vector_t::push(const Type &v) Makes for cleaner code.
Behdad Esfahbod 6c818c55 2018-05-22T22:00:05 Actually enable vectorized operations Fixup for previous commit. Was accidentally turned off.
Behdad Esfahbod f56a250b 2018-05-22T21:36:07 Another try at smart vectorization Make clang happy. Also, don't use anonymous union.
Behdad Esfahbod b995b501 2018-05-22T21:06:22 Try enabling vectorization smartly We'll see if this sticks to the bots.
Behdad Esfahbod dd22c29f 2018-05-22T20:57:19 [set] Always check population before checking for equality
Ebrahim Byagowi 8eb53b85 2018-05-11T22:44:44 Minor, make CreateFile compatible with the disabled writable flag "writable" is not in use and probably we can go in the reverse direction and remove the flags that are useful for enabled writable, this is just for the sake of completeness however.
Ebrahim Byagowi 33eb1bd2 2018-05-11T14:36:41 Remove unnecessary headers and definitions of hb-blob (#1028) It removes io.h and other polyfills which we no longer need as 7e76d74
Ebrahim Byagowi 7e76d746 2018-05-11T13:40:33 Make hb_blob_create_from_file more portable (#1027) This makes it compatible with ARMCC which I had access in a collaboration with @imgtec, thanks! Basically hb_blob_create_from_file features three code paths, mmap, Win32 and fallback. We had fallback implementation even before this but it was relied to "open" which is not available on some environments. This change improved the situtation by using only fopen and friends for fallback path. Interestingly we could use "open" on Windows but in fact it was emulated by MSVCRT so I've completely split that from Unix path now that we have a distinct path for fallback path also.
Behdad Esfahbod e99d75ea 2018-05-09T15:28:30 Fix warning
Behdad Esfahbod 191c4edc 2018-05-09T15:27:17 Reinstante DEFINE_NULL_DATA Seems like I messed up; buffer overrun got reported.
Ebrahim Byagowi 93bdf9b2 2018-05-09T23:24:17 Use arrayZ on hb-coretext and hb-uniscribe and fix macOS/Win bots (#1024) Following to 63f57f4
Behdad Esfahbod 63f57f4d 2018-05-08T16:56:11 Mark more unsized array's as arrayZ
Behdad Esfahbod 091c17df 2018-05-08T16:42:45 Use UnsizedArrayOf<> in one place where [VAR] was used Trying to see how many can converted meaningfully.
Behdad Esfahbod 0644d92e 2018-05-08T15:21:09 Merge pull request #1018 from googlefonts/cmap4 [subset] Add cmap format 4 subsetting.
Behdad Esfahbod 2a2e28e7 2018-05-08T03:00:21 Don't keep instance in hb_table_lazy_loader_t
Behdad Esfahbod 57bac8f6 2018-05-08T02:55:20 Rename
Behdad Esfahbod 2a46a020 2018-05-08T02:53:03 Minor
Behdad Esfahbod eba1c16a 2018-05-08T02:47:42 Always lock blob in sanitize. Remove blob->lock_as() in favor of blob->lock()
Behdad Esfahbod b4fa5050 2018-05-08T02:45:08 Move Sanitizer::lock_instance<>() to blob->lock_as<>().
Behdad Esfahbod abc12f7b 2018-05-08T02:23:36 Move null pool to hb-private
Behdad Esfahbod 08e280fd 2018-05-08T01:57:27 Rename hb_string_t to hb_bytes_t
Behdad Esfahbod bd021a67 2018-05-08T01:50:30 Minor
Behdad Esfahbod 16e4ccf7 2018-05-08T01:47:05 Allocate user-data-array on the heap This saves each object allocation 72 bytes. Now object overhead is just 16 bytes (on x86) instead of 88 bytes. Neat.
Behdad Esfahbod 61920b21 2018-05-08T01:28:19 Oops Fixes https://github.com/harfbuzz/harfbuzz/issues/1023
Behdad Esfahbod f673cfbd 2018-05-07T13:58:32 Support scripts that are written both LTR and RTL Right now only Old Italic is marked as such. Fixes https://github.com/harfbuzz/harfbuzz/issues/1000
Behdad Esfahbod 90869e69 2018-05-07T14:04:01 [ot] Apply langsys's required feature even if no other feature exists
Behdad Esfahbod 90baf721 2018-05-03T22:14:54 Move some blob functions to methods
Behdad Esfahbod 5c64d614 2018-05-03T21:10:57 Add hb-blob-private.hh Towards making blob more memory-allocation-friendly
Behdad Esfahbod 203dc44e 2018-05-03T21:03:27 [ot-layout] Remove unused members We should hang those off somewhere else. For now, the unused ones can go.
Garret Rieger 3be050f0 2018-05-04T11:23:32 [subset] entrySelectorZ -> entrySelector.
Garret Rieger 7c22f98d 2018-05-03T13:14:28 [subset] add missing template parameter.
Garret Rieger 95eb0f3b 2018-05-03T13:00:19 [subset] Switch to a non-log using implementation of caculating searchRangeZ, entrySelectorZ, and rangeShiftZ in cmap4.
Garret Rieger c817992f 2018-05-03T10:53:20 [subset] Write out a format 4, plat 0 encoding record to match fontTools.
Garret Rieger 9ef55a4c 2018-05-02T18:50:56 [subset] A few bug fixes for cmap format 4 subsetting.
Garret Rieger 81ea75f5 2018-05-02T17:46:30 [subset] Complete implementation of cmap4 subsetting.
Garret Rieger 4195a52b 2018-05-02T17:11:18 [subset] WIP implementation of serialize for cmap format 4.
Garret Rieger cfa592d3 2018-05-02T16:37:38 [subset] Add an implement for cmap format 4 create_sub_table_plan.
Garret Rieger 295d67ea 2018-05-02T16:12:04 [subset] WIP cmap format 4 subsetting.
Garret Rieger 0053d132 2018-05-02T15:42:43 [subset] Refactor cmap subsetting to make it possible to add support for more sub tables.
Garret Rieger 03b27548 2018-05-02T15:42:08 [subset] Add const to the hb_subset_plan_t input to a couple functions in hb-subset-plan.
Behdad Esfahbod 5b93f691 2018-05-02T14:59:14 Rename some X-terminated members to Z-terminated X-terminated means don't access this, it's not located correctly. Z-terminated means this is a C array with no bound checking.
Behdad Esfahbod f1f6bc0a 2018-05-02T12:56:21 [set] Fix init/fini of set on the stack to call object init/fini Part of https://github.com/harfbuzz/harfbuzz/issues/1017