Log

Author Commit Date CI Message
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.
Ebrahim Byagowi 38ae0add 2018-05-23T13:37:57 [ci] Revive the SunCC bot * Adds libnsl to the bot as it is now needed apparently * Disables hb-icu, apparently the newer ICU itself is not compatible with SunCC
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
Behdad Esfahbod 2eb9bbd9 2018-05-22T18:28:13 [test/text-rendering-tests] Update from upstream
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.
Ebrahim Byagowi ac92ed7d 2018-05-08T01:05:15 Set inline hidden flag only on shared library building To avoid need of CMP0063 which is not available on older CMake versions
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 b0d7971b 2018-05-03T11:22:51 [subset] Updated expected files for japanese subset integration tests to include cmap4.
Garret Rieger 79479273 2018-05-03T11:18:02 [subset] Update expected files for subset integration tests to include cmap4.
Garret Rieger a8e7f9b9 2018-05-03T10:59:00 [subset] Get cmap tests passing again.
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
Behdad Esfahbod 37b95612 2018-05-01T19:09:00 Remove hb_auto_array_t Part of https://github.com/harfbuzz/harfbuzz/issues/1017
Behdad Esfahbod 5c3112ae 2018-05-01T19:07:04 s/hb_prealloced_array_t/hb_vector_t/g Part of https://github.com/harfbuzz/harfbuzz/issues/1017
Behdad Esfahbod 4a01eb12 2018-05-01T19:05:58 Add hb_auto_t Part of https://github.com/harfbuzz/harfbuzz/issues/1017
Behdad Esfahbod a60ba796 2018-05-01T19:01:25 s/finish/fini For consistency.
Behdad Esfahbod 17618ee2 2018-05-01T18:39:25 Add hb_object_fini()
Behdad Esfahbod bd5f918e 2018-05-01T18:27:41 [set] Cache population Part of https://github.com/harfbuzz/harfbuzz/issues/1017
violet-sippial 93b03119 2018-04-28T20:29:13 [subset] Do not compare ttx progress output in the tests Suppress progress messages of ttx. This avoids comparing this output to the reference file which lets the test fail.
Ebrahim Byagowi a57f5a1a 2018-04-28T13:58:55 [dwrite] Minor, enable the original code assertions
Ebrahim Byagowi 9925030f 2018-04-13T12:43:29 Don't decompose Bengali Rra and Rha Fixes #779 and follow up to b01d9b3d90e892341ee4463f2eda4600850b97d8
Ebrahim Byagowi 5ad87a93 2018-04-25T16:44:04 Minor, improve file reading failing condition comment https://bugzilla.gnome.org/show_bug.cgi?id=659212 for more context
Ebrahim Byagowi 2eaba80c 2018-04-24T09:04:15 Minor, re-add unused mark to some of ragel defined state machines (#1005)