Commit Graph

  • 79f0d0ea4e Set up tags list arguments in CLI Wilson Lin 2018-07-06 21:51:22 +1200
  • ef518866a8 List of buffers structure Wilson Lin 2018-07-06 21:50:37 +1200
  • 7b6c86116a Fix missing stdlib for malloc in util/list.h Wilson Lin 2018-07-06 21:50:28 +1200
  • 18401bcf7d Basic math util functions Wilson Lin 2018-07-06 21:49:54 +1200
  • 3c68a9c15b Generify buffer into list Wilson Lin 2018-07-06 21:02:43 +1200
  • ebbc0d9193 Clarify mixing tags recommendation in README Wilson Lin 2018-07-06 17:25:02 +1200
  • f4c95ca2ff Clarify minifier non-options in README Wilson Lin 2018-07-06 17:24:43 +1200
  • 6a88eed4fc Fix internal link in README Wilson Lin 2018-07-06 17:24:28 +1200
  • f880acae33 Create arguments for stream options Wilson Lin 2018-07-06 17:05:41 +1200
  • a1108c5327 Stream options constructor and logger Wilson Lin 2018-07-06 17:05:12 +1200
  • ce162224fc Check and fail when extra arguments provided via CLI Wilson Lin 2018-07-06 17:04:51 +1200
  • b4d5ae92cb Enable toggling info logging Wilson Lin 2018-07-06 17:04:13 +1200
  • a67257d740 Rename debug to info (logging) Wilson Lin 2018-07-06 17:03:26 +1200
  • cd306005bb Helper key-value info logging Wilson Lin 2018-07-06 17:01:50 +1200
  • 379bc32985 Shorten minifier CLI options Wilson Lin 2018-07-06 17:00:45 +1200
  • fcf065f1db Rename hb_r_* to hbr_* for consistency Wilson Lin 2018-07-06 16:11:02 +1200
  • 95d7404a2e Clarify conditional comments minification option Wilson Lin 2018-07-06 16:07:34 +1200
  • 52d62dd7c8 Minifier options struct Wilson Lin 2018-07-06 16:07:20 +1200
  • b77f3dd03b Mask output in pipe Wilson Lin 2018-07-06 16:07:09 +1200
  • 34d2d828be Colourful printing Wilson Lin 2018-07-06 15:19:03 +1200
  • 2538e24a17 Set up --buffer and --keep Wilson Lin 2018-07-06 15:18:58 +1200
  • 20bd56c08e Fix duplicate <caption> whitelist parents rule Wilson Lin 2018-07-06 13:48:12 +1200
  • 9037789510 Auto-delete output file on error Wilson Lin 2018-07-06 13:47:54 +1200
  • cabf7c4e02 Warning logging Wilson Lin 2018-07-06 13:47:35 +1200
  • 0631df5dd2 Allow tag rules to be reused Wilson Lin 2018-07-06 11:41:55 +1200
  • 4c70adc3b5 Minor comment clarification Wilson Lin 2018-07-06 11:41:23 +1200
  • a03db9a654 Update table of tag categories Wilson Lin 2018-07-06 10:00:58 +1200
  • acb868ce25 Add missing tag rules initialisers to main rules init.c Wilson Lin 2018-07-06 10:00:42 +1200
  • c922ae59c1 Add missing heading tags to content tags Wilson Lin 2018-07-06 10:00:22 +1200
  • cf0d9cc066 `html`, `head`, `body` tags Wilson Lin 2018-07-06 10:00:09 +1200
  • 0badaac1f1 Whitespace tags Wilson Lin 2018-07-06 09:59:49 +1200
  • e7e5761249 Simplified content minification theory Wilson Lin 2018-07-05 23:59:01 +1200
  • 5e9d67e3ef Clarify use of ampersands in directive entity argument values Wilson Lin 2018-07-05 23:58:37 +1200
  • 7c9a64bc31 Tag omission notes Wilson Lin 2018-07-05 23:58:12 +1200
  • ab284aa71e Complete tag relation rules Wilson Lin 2018-07-05 23:58:05 +1200
  • 2856aa71c2 Update formatting tags Wilson Lin 2018-07-05 23:57:48 +1200
  • 18cc08659a Specific tags Wilson Lin 2018-07-05 23:57:36 +1200
  • 041cc5a73b Layout tags Wilson Lin 2018-07-05 23:57:29 +1200
  • 7f5695bf02 Content-first tags Wilson Lin 2018-07-05 23:57:16 +1200
  • cc3b047e36 Content tags Wilson Lin 2018-07-05 23:57:07 +1200
  • 1328d8e0e5 Standard sectioning tags Wilson Lin 2018-07-05 23:56:32 +1200
  • 8a966155f6 Standard media tags Wilson Lin 2018-07-05 23:56:19 +1200
  • 34ceee4048 Standard heading tags Wilson Lin 2018-07-05 23:55:56 +1200
  • b803b05751 Allow no input and output in CLI, and use debug logger Wilson Lin 2018-07-05 21:21:07 +1200
  • df5e05b397 Add debug logger Wilson Lin 2018-07-05 21:20:41 +1200
  • cb6930d9a8 Support stdin and stdout in file stream utils Wilson Lin 2018-07-05 21:20:26 +1200
  • ff984c1551 Rearrange error codes to support exit codes Wilson Lin 2018-07-05 21:18:41 +1200
  • 75ed1fe903 Fix error printing line terminator to stdout Wilson Lin 2018-07-05 21:18:09 +1200
  • 2edf12fe34 Add new error codes to README Wilson Lin 2018-07-05 21:17:31 +1200
  • 1c637e6a94 Fix missing loop in content stream Wilson Lin 2018-07-05 20:56:49 +1200
  • 5fc5ec88d8 Fix buffer equality checker function Wilson Lin 2018-07-05 20:56:33 +1200
  • ae806c9455 Error codes Wilson Lin 2018-07-05 20:56:24 +1200
  • 9bdae51b01 Use streams in main.c Wilson Lin 2018-07-05 19:55:11 +1200
  • e647872756 Basic tag streaming Wilson Lin 2018-07-05 19:55:00 +1200
  • fefe796887 Attribute streaming Wilson Lin 2018-07-05 19:54:30 +1200
  • 4a18fb3b5d Add predicates and conditional helper functions to pipe Wilson Lin 2018-07-05 19:54:18 +1200
  • 978299ce46 Fix missing type casts in hbu_buffer_compare Wilson Lin 2018-07-05 19:53:18 +1200
  • b56cbceb8b Remove redundant check in hbu_buffer_valid_index Wilson Lin 2018-07-05 19:53:00 +1200
  • d68953cb26 Declare tag and content stream functions before defining as they depend on each other Wilson Lin 2018-07-05 19:52:22 +1200
  • 26ddcc2cc6 Fix unquoted attribute rules (blacklist instead of whitelist) Wilson Lin 2018-07-05 19:51:25 +1200
  • 4d5121a55d Attribute value quote rules Wilson Lin 2018-07-05 19:50:51 +1200
  • 4c311819cc Use hb_char_t in rules Wilson Lin 2018-07-05 19:50:36 +1200
  • 294de8a4b0 Fix nicehash include path in rules Wilson Lin 2018-07-05 19:48:44 +1200
  • 3070e4af39 Use common str-int32 map declarations Wilson Lin 2018-07-05 19:47:00 +1200
  • 58a39afc7c Use common Str-StrSet map declarations Wilson Lin 2018-07-05 19:44:26 +1200
  • 988b3373c3 Update nicehash to 3e5173e Wilson Lin 2018-07-05 19:41:02 +1200
  • d2f8f7b20e Clarify parsing errors in README Wilson Lin 2018-07-05 19:40:47 +1200
  • c73de84272 Compile using C11 standard Wilson Lin 2018-07-05 19:40:27 +1200
  • 0771faba44 Restructure and start tag stream Wilson Lin 2018-07-05 17:00:55 +1200
  • e2aa3fa6f5 Start content stream Wilson Lin 2018-07-05 17:00:39 +1200
  • b24b7643ef `peek_eoi`, `peek_offset`, and `require` Wilson Lin 2018-07-05 17:00:13 +1200
  • c1b5259cf7 Create single rules initialiser Wilson Lin 2018-07-05 16:58:59 +1200
  • 2802070624 Add `void` to parameterless functions Wilson Lin 2018-07-05 16:58:40 +1200
  • 0b72e0886d Rename inline tags to formatting tags Wilson Lin 2018-07-05 16:57:39 +1200
  • c8c78d5365 Add function to get underlying char array of buffer Wilson Lin 2018-07-05 16:57:11 +1200
  • d3113c4047 Helper buffer comparison functions Wilson Lin 2018-07-05 16:56:49 +1200
  • 3e5495297b Move pipe.c notes to notes dir Wilson Lin 2018-07-05 16:56:26 +1200
  • 6a12958407 Correct package.json from legacy Wilson Lin 2018-07-05 16:56:07 +1200
  • d32414b79a Remove invalid npm scripts Wilson Lin 2018-07-05 16:55:38 +1200
  • 37ff5fd2e4 Add npm package keywords Wilson Lin 2018-07-05 16:55:21 +1200
  • 90ae33a86b Extra gcc checks Wilson Lin 2018-07-05 16:55:02 +1200
  • 0df89c7613 Compile script Wilson Lin 2018-07-04 23:26:07 +1200
  • 1b29816038 Set up basic skeleton for CLI Wilson Lin 2018-07-04 23:26:02 +1200
  • d2b19de91d Create pipe Wilson Lin 2018-07-04 23:25:45 +1200
  • 3c484d5c84 Create file streams Wilson Lin 2018-07-04 23:25:38 +1200
  • 66c6e53eed Use common char types and defs in buffer.c Wilson Lin 2018-07-04 23:25:11 +1200
  • a73b3aee5b Basic error handling Wilson Lin 2018-07-04 23:24:32 +1200
  • a818e4f95a Set up common C char types and defs Wilson Lin 2018-07-04 23:24:12 +1200
  • 561dedd724 Update URLs in README Wilson Lin 2018-07-04 23:23:17 +1200
  • 881578349b Create buffer util Wilson Lin 2018-07-04 00:18:16 +1200
  • 80d6ef86b7 Update --trimWhitespaceEx example Wilson Lin 2018-07-04 00:18:10 +1200
  • 0626dd92ba Unquoted attribute value rules Wilson Lin 2018-07-04 00:17:52 +1200
  • 33d6991eb6 Attribute name rules Wilson Lin 2018-07-04 00:17:46 +1200
  • 61a9b71ea5 Tag name rules Wilson Lin 2018-07-04 00:17:41 +1200
  • 47ac66dc40 Foundation rules Wilson Lin 2018-07-04 00:17:26 +1200
  • 702f242a9b Restructure streams Wilson Lin 2018-07-04 00:16:37 +1200
  • de461cf081 Restructure rules Wilson Lin 2018-07-04 00:15:57 +1200
  • 6ece4cd973 Minor syntax fixes to rules Wilson Lin 2018-07-02 22:21:56 +1200
  • c874b200f4 Add initial rules for children Wilson Lin 2018-07-02 22:21:13 +1200
  • 0ed528626d Update rules to use nicehash; add mapping for entity refs Wilson Lin 2018-07-02 21:58:33 +1200