kc3-lang/harfbuzz/src/hb-private.hh

Branch :


Log

Author Commit Date CI Message
ca42d961 2018-01-11 09:15:34 [aat] Implement RearrangementSubtable
5dbbd0fd 2018-01-11 12:33:22 Move the #define of _GNU_SOURCE to the top of hb-private.hh (#697) This fixes the build on Cygwin.
7cdd6ab0 2018-01-10 04:33:08 Round, instead of floor, when applying variations Hoping this would fix remaining text-rendering-tests failures, but so far no luck.
be59f3cb 2017-12-05 09:01:28 Silence unused-variables warning on MSVC Fixes https://github.com/harfbuzz/harfbuzz/issues/635
7c6937e7 2017-11-20 14:49:22 Move all references of old url to the new address (#622)
40ec3bbb 2017-11-03 16:57:30 Consolidate debug stuff into hb-debug.hh Part of fixing https://github.com/behdad/harfbuzz/pull/605
384862d7 2017-11-03 16:31:47 Remove NO_COPY()
8eaff980 2017-10-31 15:30:06 Remove HB_TAG_CHAR4
c290ba5b 2017-10-31 13:18:21 Define _GNU_SOURCE Might help with https://github.com/behdad/harfbuzz/pull/592 Ie. bringing in qsort_r() prototype always.
e35a763c 2017-10-30 13:15:05 [post] Implement glyph_from_name() This concludes https://github.com/behdad/harfbuzz/pull/568
e1a37f3d 2017-10-30 11:42:28 Add hb_string_t
0712e915 2017-10-29 17:01:47 Remove hb_compare_func_t
51f4d4d5 2017-10-27 15:09:22 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
62e312ea 2017-10-27 09:29:20 Use NULL instead of polyfill, if nullptr is not available Part of fixing https://github.com/behdad/harfbuzz/issues/585
2a749680 2017-10-26 19:48:33 Add hb-string-array.hh Used to build static string arrays that use no relocation.
6f08b12b 2017-10-26 18:23:03 Minor
2ee710e0 2017-10-23 08:37:48 Minor
ced86da7 2017-10-22 17:03:36 Another try at fixing mingw32 build bot fail
3ee15a60 2017-10-22 17:03:36 Another try at fixing mingw32 build bot fail
d8adaa97 2017-10-20 13:57:43 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]
6058f988 2017-10-19 11:39:52 Remove FLAG_SAFE() No flag is safe, over time... See previous commit.
221ce6c1 2017-10-15 17:58:58 Fix bots
56ef4e0c 2017-10-15 16:38:29 Simplify hb_prealloced_array_t initialization
7737e87a 2017-10-15 16:21:03 Properly detect vector_size attribute and use fallback otherwise
deed4a48 2017-10-15 16:53:09 Faster hb_set_t Fixes https://github.com/behdad/harfbuzz/pull/23
5e74044b 2017-10-15 16:15:06 Add bfind() to prealloaced_array_t
db5f7ef1 2017-10-15 16:00:22 Inline another bsearch()
6fb4ac73 2017-10-15 16:00:09 Add popcount for 64bit ints
3c13e153 2017-10-15 14:02:58 Try fixing AppVeyor bots
dbdbfe3d 2017-10-15 12:11:08 Use nullptr instead of NULL
c3448e8d 2017-10-15 12:02:00 Use static_assert instead of custom ASSERT_STATIC
76dcbf8b 2017-10-15 11:24:35 Add polyfill for static_assert and nullptr Also fix hb_assert_constant_t.
76c4873e 2017-06-02 21:53:10 Support branch prediction helpers on clang compiles (#491)
92e2c4ba 2017-05-29 12:53:30 Avoid using strdup inside library. (#488) If an application provides a malloc replacement through hb_malloc_impl() it is important that it is used to allocate everything, but the use of strdup() circumvents this and causes system malloc() to be called instead. This pairs badly with the custom hb_free_impl() being called later.
df98ce5f 2016-12-21 19:27:30 Improve debug output with really deep nesting
0b8f3ab0 2016-07-11 21:57:26 clang in MSVC mode doesn't like when we redefine __attribute__ (#283)
5069062d 2016-04-26 12:02:26 Unbreak build on Windows CE 0475ef2f97e3035a2eea9a0f96031331e07e8e29 broke the build by using vsnprintf(), which is not defined on Windows CE
91dd1156 2016-02-25 13:56:47 Add HB_NDEBUG API changes: - If NDEBUG is defined, define HB_NDEBUG - Disable costlier sanity checks if HB_NDEBUG is defined. In 1.2.3 introduced some code to disable costly sanity checks if NDEBUG is defined. NDEBUG, however, disables all assert()s as well. With HB_NDEBUG, one can disable costlier checks but keep assert()s. I'll probably add a way to define HB_NDEBUG automatically in release tarballs. But for now, production systems that do NOT define NDEBUG, are encouraged to define HB_NDEBUG for our build.
a13b023d 2015-12-11 10:21:27 AIX fixes - use '-w' instead of '\<...\>' for check-header-guards grep manpage says these are the same - put '-q' first in the grep options - move VAR into hb-private.hh - hb-font-private.hh - use [VAR] instead of [] for variable array
766963ad 2015-11-24 15:38:43 Merge pull request #114 from ThePhD/vc++-fixes Fix all VC++ warnings and errors
1dc32ea4 2015-11-20 13:24:19 Whitespace
f94c0ecb 2015-11-20 13:21:29 Define HB_MARK_AS_FLAG_T as a macro instead of using templates The generic template operator overloading was causing more problems than it solved. Eg: https://github.com/behdad/harfbuzz/pull/163 https://github.com/behdad/harfbuzz/issues/175 So, just use macros. Fixes https://github.com/behdad/harfbuzz/issues/175 Fixes https://github.com/behdad/harfbuzz/pull/178
e0082ae6 2015-11-17 18:42:13 Move things around
167c3271 2015-11-09 17:17:56 Fix build on MSVC >= 2012 Use the DEFINE_ENUM_FLAG_OPERATORS macro in winnt.h on Visual Studio, which defines the bitwise operators for the enumerations that we want to mark as hb_mark_as_flags_t, which will take care of the situation on newer Visual Studio (>= 2012), where the build breaks with C2057 errors as the underlying types of the enumerations is not clear to the compiler when we do a bitwise op within the declaration of the enumerations themselves. Also disable the C4200 (nonstandard extension used : zero-sized array in struct/union) and C4800 ('type' : forcing value to bool 'true' or 'false' (performance warning)) warnings as the C4200 is the intended scenario and C4800 is harmless but is so far an unavoidable side effect of using DEFINE_ENUM_FLAG_OPERATORS.
6986208b 2015-11-04 18:46:22 Optimize runs without Default_Ignorable's Now that we have a buffer-wide scratch flags facility, use it to optimize away a few passes.
aa7044de 2015-11-04 16:25:57 Generalize flags types
672ca3b4 2015-10-26 14:05:05 Use templates for making sure expression is constant
50e5750b 2015-10-21 11:10:10 Avoid unnecessary cast to 64-bit Fixes https://github.com/behdad/harfbuzz/issues/146 Or I think it should.
305d2fbf 2015-10-21 11:04:28 Add HB_FALLTHROUGH Borrowed from https://bugzilla.mozilla.org/show_bug.cgi?id=1215411
cc6ea308 2015-10-12 17:21:52 Extern "C" custom-allocator declerations
52b41855 2015-10-03 13:20:55 Allow compiling with custom allocators User can define hb_malloc_impl, etc, to name of custom allocator functions that have the same signature as malloc.
b4715901 2015-09-29 14:57:02 Define return_trace() Not functional change (expected!).
93099748 2015-09-01 16:11:27 Minor
85846b3d 2015-09-01 15:07:52 Use insertion-sort instead of bubble-sort Needed for upcoming merge-clusters fix.
5c99cf93 2015-08-14 01:02:00 Merge branch 'master' into vc++-fixes
5b5617e0 2015-07-21 15:52:15 Add FLAG_UNSAFE() Unused right now.
f8160a49 2015-07-21 15:50:02 Add FLAG_SAFE() for values known to be small-enough And add check to FLAG()
366aeaad 2015-07-21 15:45:48 Add note re ASSERT_STATIC_EXPR_ZERO()
d6adca9f 2015-07-21 15:17:27 Remove unused macro ASSERT_STATIC_EXPR()
1025e1a9 2015-07-21 15:05:35 Use unsigned in FLAG()
8ad89f05 2015-06-23 09:09:24 Spelling words is not my strong point.
e0a828ec 2015-06-23 09:07:17 Back to using regular `strdup`, with an `hb-private.hh` fix that special-cases VC++'s definition and usage of the words
a5e4f6d6 2015-06-10 10:57:46 Fix warnings: "member call on null pointer of type" https://bugzilla.mozilla.org/show_bug.cgi?id=1167119
3029e8b5 2015-04-14 13:32:22 Revert "Add MSVC pragma for UTF-8 source code" This reverts commit 89cbd4d9533011fb5487caa99a0cd58923e7cf59. See discussion: https://bugzilla.gnome.org/show_bug.cgi?id=747772
89cbd4d9 2015-04-13 12:27:08 Add MSVC pragma for UTF-8 source code Not sure we have any right now; motivated by this: https://bugzilla.gnome.org/show_bug.cgi?id=747772
855a5d7c 2015-04-10 17:18:01 Fix build on WEC2013 Based on patch from Björn Breitmeyer
ce01ad7c 2015-04-01 11:05:59 MSVC 2015 supports snprintf and not _snprintf
56071886 2015-04-01 11:04:33 Move WinCE define to better place
5f541f8f 2015-02-21 16:51:17 Minor refactoring
68e04afb 2015-02-21 16:30:28 Typo
55553699 2015-02-21 16:29:08 Minor
9768e651 2015-02-14 00:58:51 Fix build with MSVC on CE This code is C++ only. There isn't a single C++ compiler that fails to understand the "inline" keyword, since it's required by C++98. Any compiler older than C++98 is likely to choke on the template usage further down, so this isn't necessary. Moreover, the C++ standard says you cannot define macros. [lib.macro.names] says "Nor shall such a translation unit define macros for names lexically identical to keywords." -- technically, it's a promise that the Standard Library headers won't do it, the wording means that the entire translation unit won't do it, which implies no source can do it. MSVC complains about it: fatal error C1189: #error : The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. Author: Thiago Macieira <thiago.macieira@intel.com>
f3537b62 2015-01-25 09:50:51 Move some code around Just to keep Windows specific workarounds in a single place.
afb62d88 2015-01-25 08:16:26 Do not define MemoryBarrier on WinCE There is a _HBMemoryBarrier() wrapper function that emulates MemoryBarrier() behavior when it is not defined.
7db326a1 2015-01-25 08:13:24 Fix build on WinRT There is no environment (like WinCE) and the basic version of InitializeCriticalSection is unsupported. https://codereview.qt-project.org/#/c/92496/
5c7d6f02 2014-12-12 20:28:49 Minor
666b42f7 2014-10-14 21:24:59 Move macros around Fixes https://bugs.freedesktop.org/show_bug.cgi?id=84491
5c87120b 2014-10-14 20:07:31 Fix misc warnings Fixes https://github.com/behdad/harfbuzz/pull/51
250398b1 2014-10-01 11:28:01 Hide other bubble-sort
c1e87442 2014-10-01 11:07:08 Hide bubble-sort!
270971a0 2014-08-15 14:28:04 [win32] Avoid preprocessor warnings re macros
29e25550 2014-08-12 17:02:59 Fix gcc warning
8fd4d70b 2014-08-12 13:12:31 [wince] Two more Windows CE fixes Report has it that it builds (and works) now: https://codereview.qt-project.org/#/c/92087/
c2b151d9 2014-08-10 18:52:07 Fix hb_in_range() for types smaller than int As exercised by hb-coretext .notdef code.
26a963b9 2014-08-10 18:04:50 [wince] Try to fix some stuff on Windows CE Based on errors seen here: http://testresults.qt-project.org/ci/QtBase_dev_Integration/build_03837/wince70embedded-armv4i-msvc2008_Windows_7/log.txt.gz Fully untested.
38fb30d7 2014-08-06 13:34:49 Use atexit() only if it's safe to call from shared library Apparently they are not (advertised as?) safe on BSD systems. We ignore the case of static libraries. Whitelisted on glibc, Android, and MSVC / mingw. https://bugs.freedesktop.org/show_bug.cgi?id=82246
7e8c3895 2014-07-25 11:18:11 Minor warnings fixes Some systems insist on -Wmissing-field-initializers. We have too many, by design. Fix a few easy ones.
0fc0a102 2014-07-21 11:12:54 [win] Fix Cygwin build https://github.com/behdad/harfbuzz/commit/db308280488c2ee11ba865a9922eb6a0c1abeef3#commitcomment-7077778
f1a8d50a 2014-07-19 16:52:32 [win] Don't define visibility attribtue under Cygwin
9c77027d 2014-07-19 16:37:22 [win] Turn STRICT on for including windows.h
db308280 2014-07-19 16:32:04 [win] Consolidate windows.h include tips and tricks
385cf37c 2014-07-17 18:22:07 Fix hb_in_range() unused-var warning on Windows
9e7c7201 2014-07-17 14:40:34 Fix CoreText build after a8b89a09f6d3a34
a8b89a09 2014-07-11 14:18:01 Simplify hb_in_range() It's both faster and produces smaller code. Now I feel stupid for not writing it this way before.
546b1adc 2014-06-26 19:10:21 Minor: Use template parameter default values for hb_prealloced_array_t
fb8cc86f 2014-06-19 15:30:18 Rename sort() to qsort() In an effort to make the algorithm used clear.
dac86026 2014-06-03 17:57:00 Fix some cppcheck warnings Bug 77800 - cppcheck reports
c306410c 2014-06-03 16:59:41 Bug 77732 - Fix unused typedef warning for ASSERT_STATIC with GCC 4.8
ae2b854e 2014-06-03 16:59:09 Move code around
6faff8e4 2014-04-28 14:29:39 Add static storage classifier to inline functions Before we were just relying on the compiler inlining them and not leaving a trace in our public API. Try to fix. Hopefully not breaking anyone's build.