Commit Graph

53 Commits

Author SHA1 Message Date
Matt Mascarenhas 53aea540ab hmml_to_html.c: Force integration 2017-08-08 19:19:11 +01:00
Matt Mascarenhas 2059b9367a hmml_to_html.c: Fix URL timestamp
Also provide the ability to pass a default medium
2017-08-05 19:13:02 +01:00
Matt Mascarenhas c59a4fcc5a hmml_to_html.c: Fix reference bugs
* Comma separation of > 2 ref identifiers at the same offset
* Fix multiple refs all at the same (possibly not -1) offset
* Reference combinations, use flags to ensure we are using a valid
  combination

We also tried to handle quote speakers other than the host, but appeared
to hit a bug in hmmlib.h in which the quote.author got set to "quote"
for the second (and subsequent) quote node in a set of annotations
2017-07-30 00:01:39 +01:00
Matt Mascarenhas b3d1399237 hmml_to_html.c: Prevent buffer overflow errors
* REF_MAX_IDENTIFIER sanity (i.e. check that we're below the max before
  adding a new one)
* Make ClaimBuffer() check that there's enough space left in the arena
2017-07-29 01:36:14 +01:00
Matt Mascarenhas e7e903b001 Add :afk as a medium 2017-07-01 01:24:30 +01:00
Matt Mascarenhas 048323e50f hmml_to_html.c: Fix Usage text [#25] 2017-06-25 19:22:54 +01:00
Matt Mascarenhas b58226fd89 hmml_to_html.c: Command-line args [#25] 2017-06-25 19:05:58 +01:00
Matt Mascarenhas ad9d64b31c hmmlconv.c: Convert to new [video] format
hmml_to_html.c: Remove special-casing of handmade_hero quotes [#20]
2017-06-23 15:47:48 +01:00
Matt Mascarenhas 716e694ccd hmml_to_html.c: Test for annotator_count > 0
Without this it would try and read from the NULL pointer

Also increase the Menus size to 24kb
2017-06-22 00:16:09 +01:00
Matt Mascarenhas 7ed232ea36 README.md: Add some content
Also make hmml_to_html.c error while trying to integrate if
template.html contains the script before the player
2017-06-21 22:23:21 +01:00
Matt Mascarenhas c8c9a19554 hmml_to_html.c: Enable custom title [#25]
Also track an example template.html
2017-06-21 21:30:05 +01:00
Matt Mascarenhas 3ff29b39bf Namespace everything 2017-06-21 20:38:57 +01:00
Matt Mascarenhas d65d885804 hmml_to_*.c: Multiple annotators/co-hosts/guests 2017-06-21 16:12:40 +01:00
Matt Mascarenhas 03ccba43bb hmml_to_html.c: Integrate keeping comments [#25]
It straight up replaces <!-- CINERA_* --> comments with our content,
while preserving other comments
2017-06-16 08:55:59 +01:00
Matt Mascarenhas d08f45a75a hmml_to_html.c: Fix integration [#25] 2017-06-15 23:10:36 +01:00
Matt Mascarenhas 811abe6271 hmml_to_html.c: Correct integration [#25] 2017-06-13 23:13:03 +01:00
Matt Mascarenhas 0ad47c6c48 hmml_to_html.c: Beginning Integration [#25] 2017-06-12 23:26:01 +01:00
Matt Mascarenhas 280102869b hmml_to_html.c: Deduplicate topics and add tooltip
Also fix bug in filter menu navigation, in which the lastFocusedElement
was not getting set after toggling a category via the keyboard
2017-06-11 23:49:04 +01:00
Matt Mascarenhas 95d0f63da0 hmml_to_html.c: CSV "-escaping [#20] and EDITION
EDITION gives us a way to conditionally handle and warn about features
that depend on network infrastructure, notably member / project info
2017-06-10 17:47:47 +01:00
Matt Mascarenhas a38ca2fd9e hmml_to_html.c: Correct colour lightness [#3] 2017-06-09 23:04:07 +01:00
Matt Mascarenhas 1389b4f414 hmml_to_html.c: Make strings HTML safe
Basically just rewriting < and > and others as &lt; and &gt; etc.
2017-06-08 00:47:47 +01:00
Matt Mascarenhas 97332baf52 hmml_to_html.c: Fix lastFocused stuff [#24] 2017-06-03 04:47:07 +01:00
Matt Mascarenhas 4ad0a0e737 hmml_to_html.c: Generate keyboard navigation [#24]
With thanks to @insofaras for the onblur functionality
2017-06-03 02:32:18 +01:00
Matt Mascarenhas 49f5a9e3ea hmml_to_html.c: Credits menu [#4] 2017-05-25 21:28:52 +01:00
Matt Mascarenhas 2d9af4ee93 hmml_to_html.c: Sort the filter media [#21] 2017-05-24 22:56:36 +01:00
Matt Mascarenhas f4352572b9 hmml_to_html.c: Sort filter [#21]
This works, but fails to take into account the "written text" of media
2017-05-22 22:37:00 +01:00
Matt Mascarenhas 4ec635831a hmml_to_html.c: Clean up buffer claiming 2017-05-22 16:33:53 +01:00
Matt Mascarenhas 3c32b5904b hmml_to_html.c: Generate the Filter [#21] 2017-05-21 07:35:16 +01:00
Matt Mascarenhas 81ae532ce4 hmml_to_html.c: Mockup the filter menu style [#21]
It's in mock_filter.html just in case I overwrite out.html
2017-05-15 02:11:11 +01:00
Matt Mascarenhas 955f119a18 hmml_to_html.c: The beginnings of config [#25]
May in all likelihood back this stuff out
2017-05-13 16:38:10 +01:00
Matt Mascarenhas f371e656dc hmmlconv.c: Fix-up \-escaping
hmml_to_html.c: More concisely set QuoteDir
2017-04-30 04:20:31 +01:00
Matt Mascarenhas 01d179f77f hmml_to_html.c: Special-case #handmade_hero quotes
hmmlconv.c: Set twitch_username=handmade_hero

This commit also throws hero.css into the mix, copied straight from the
original style
2017-04-30 03:15:10 +01:00
Matt Mascarenhas b61fc1196c hmml_to_html.c: Introduce BuildQuote() [#20]
Also move some structural styling out to style.css
2017-04-23 03:47:42 +01:00
Matt Mascarenhas d34ad0a03a hmml_to_html.c: Fix BuildReference() order [#16]
Remove dependency on string.h
Correctly free everything on every return from main()
2017-04-23 01:30:37 +01:00
Matt Mascarenhas fbdc26dfd5 hmml_to_html.c: Handle all ref combinations [#16] 2017-04-21 02:25:40 +01:00
Matt Mascarenhas ba13066d63 hmml_to_html.c: Introduce BuildReference() [#16]
Also increase saturation of generated colours
2017-04-19 02:10:45 +01:00
Matt Mascarenhas 6925dfb565 hmml_to_html.c: Switch to hsl colours [#23]
These colours should be visible on both dark and light backgrounds
2017-04-14 00:46:21 +01:00
Matt Mascarenhas d1e580868a hmml_to_html.c: Organise CSS [#22] 2017-04-13 01:21:04 +01:00
Matt Mascarenhas 5d495a9997 hmml_to_html.c: Generate topics.css [#22] 2017-03-31 01:56:50 +01:00
Matt Mascarenhas ed4b8de12d hmml_to_html.c: Consolidate references [#16] 2017-03-30 03:57:04 +01:00
Matt Mascarenhas 04f2fcd529 hmml_to_html.c: Quote and Ref Menus [#16 #20]
PPiC 063
2017-03-29 04:38:12 +01:00
Matt Mascarenhas b32fd1e066 hmml_to_html.c: Introduce BuildCatgories()
Also update reference.html with :research as a CategoryMedium
2017-03-25 03:10:15 +00:00
Matt Mascarenhas 30df421b9e hmml_to_html.c: Category styling
Also upgrade hmml.a for lower-cased markers
2017-03-25 02:07:55 +00:00
Matt Mascarenhas 20ae5e8c1d hmml_to_html.c: Coloured authors 2017-03-23 00:34:59 +00:00
Matt Mascarenhas 0adb9bf45a hmml_to_html.c: Begin single-pass rewrite 2017-03-22 02:18:31 +00:00
Matt Mascarenhas af9f5a593b hmml_to_html.c: Mock-up reference.html
Also adapt onRefChanged() to support multiple sourceMenus
2017-03-21 02:38:18 +00:00
Matt Mascarenhas 678dc869c5 hmml_to_html.c: Sanitise the refs menu [#15]
Also update hmmlib.h for the new marker parameter
2017-03-19 01:23:44 +00:00
Matt Mascarenhas f4217d5057 hmml_to_html.c: Coloured authors [#3] 2017-03-18 02:04:13 +00:00
Matt Mascarenhas f7181c1877 hmml_to_html.c: Category styling [#3]
Also squash some bugs and perform clean-up
2017-03-17 01:45:16 +00:00
Matt Mascarenhas dedb407dde hmml_to_html.c: Function lofting and ref style
PPiC 055
2017-03-16 00:56:58 +00:00