1. 25 2月, 2016 1 次提交
    • B
      Add HB_NDEBUG · 91dd1156
      Behdad Esfahbod 提交于
      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.
      91dd1156
  2. 13 12月, 2015 1 次提交
    • S
      AIX fixes · a13b023d
      Steven R. Loomis 提交于
      - 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
      a13b023d
  3. 21 11月, 2015 2 次提交
  4. 18 11月, 2015 1 次提交
  5. 17 11月, 2015 1 次提交
    • C
      Fix build on MSVC >= 2012 · 167c3271
      Chun-wei Fan 提交于
      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.
      167c3271
  6. 05 11月, 2015 2 次提交
  7. 27 10月, 2015 1 次提交
  8. 21 10月, 2015 2 次提交
  9. 13 10月, 2015 1 次提交
  10. 03 10月, 2015 1 次提交
  11. 29 9月, 2015 1 次提交
  12. 01 9月, 2015 2 次提交
  13. 21 7月, 2015 5 次提交
  14. 23 6月, 2015 2 次提交
  15. 11 6月, 2015 1 次提交
  16. 15 4月, 2015 1 次提交
  17. 14 4月, 2015 1 次提交
  18. 10 4月, 2015 1 次提交
  19. 02 4月, 2015 2 次提交
  20. 26 2月, 2015 3 次提交
  21. 14 2月, 2015 1 次提交
    • K
      Fix build with MSVC on CE · 9768e651
      Konstantin Ritt 提交于
      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>
      9768e651
  22. 25 1月, 2015 3 次提交
  23. 13 12月, 2014 1 次提交
  24. 15 10月, 2014 2 次提交
  25. 01 10月, 2014 1 次提交