Skip to content
Snippets Groups Projects
  1. Sep 04, 2015
  2. Sep 03, 2015
  3. Aug 25, 2015
  4. Aug 16, 2015
  5. Aug 15, 2015
  6. Aug 09, 2015
    • Nicolas Léveillé's avatar
      Convert usages of errx to h_platform_errx · 0c35525e
      Nicolas Léveillé authored
      This BSD call will have to be implemented on windows. Right now
      we have a stub that just exits the process.
      0c35525e
    • Nicolas Léveillé's avatar
      Wrap remaining __attribute__ · c8726244
      Nicolas Léveillé authored
      We wrap all remaining references to __attribute__ into a macro call to
      H_GCC_ATTRIBUTE, to allow compilation with MSVC CL.EXE
      c8726244
    • Nicolas Léveillé's avatar
      Allow windows users to include hammer.h · 6b9ba603
      Nicolas Léveillé authored
      We substitute H_GCC_ATTRIBUTE to any occurence of __attribute__ and
      disable its function with non gcc, non clang compilers.
      
      We use a H_ macro so as to not pollute users' namespaces.
      
      On windows build without c4201 so as to allow anonymous struct. This
      shows hammer is not C99 compliant but rather C11.
      6b9ba603
  7. Aug 02, 2015
  8. Aug 01, 2015
  9. May 04, 2015
  10. Mar 04, 2015
  11. Feb 23, 2015
  12. Feb 12, 2015
  13. Jan 30, 2015
  14. Jan 23, 2015
  15. Jan 05, 2015
  16. Jan 04, 2015
    • TQ Hirsch's avatar
      Fix #118 · af73181c
      TQ Hirsch authored
      NEWS:
      * Switching endianness mid-byte no longer potentially re-reads bytes.
      * bit_offset now consistently refers to the number of bits already
        read.
      * HParsedTokens now have a bit_length field; this is a size_t.  This
        may be removed for memory reasons.
      
      The bit writer has not yet been updated to match; the result of
      switching bit writer endianness in the middle of a byte remains
      undefined.
      af73181c
  17. Jan 03, 2015
    • Steven Dee's avatar
      H_VALIDATE_APPLY macro · 2dad0c48
      Steven Dee authored
      I've found this especially useful in combination with my own
      _attr_uint_const for things like flags and type specifiers.
      
      It's possible that its usefulness might be diminished significantly if
      there were a built-in bitfield constant parser -- that certainly would
      eliminate all of my current uses of it -- but it still seems nicely
      symmetric with H_ACT_APPLY.
      2dad0c48
Loading