Commit Graph

138 Commits

Author SHA1 Message Date
Matt Mascarenhas f454e01e28 Add -s flag, project info and CINERA_PROJECT tag
-s flag sets the style / theme
Also some general code clean-up and repo organisation
2017-12-07 01:15:13 +00:00
Matt Mascarenhas 24f02aec93 cinera.c: Add csnover credential 2017-12-03 18:25:20 +00:00
Matt Mascarenhas 75f65e561d cinera.c: Add powerc9000 credential 2017-12-03 18:14:19 +00:00
Matt Mascarenhas 0f38660b2e cinera.c: Add cbloom credential for Handmade Hero 2017-12-03 00:55:01 +00:00
Matt Mascarenhas 50e2880d1b cinera.c: Add credentials for Handmade Hero 2017-12-03 00:47:27 +00:00
Matt Mascarenhas 1636c5fa14 cinera: Add :multimedia and :hat
hmdshow_2016_03 uses :multimedia
Various riscy and hero annotations may use :hat
2017-11-28 23:02:00 +00:00
Matt Mascarenhas 5539af0210 README.md: Add -v flag 2017-11-18 01:02:49 +00:00
Matt Mascarenhas 1b241ddcfe cinera.c: Add credentials and -v flag
README.md: Add dependency on curl
2017-11-18 00:27:33 +00:00
Matt Mascarenhas 1bb5cb034b cinera: Add :admin medium 2017-11-15 21:54:36 +00:00
Matt Mascarenhas 59d03c91bb Stop tracking hmml_to_html
Superseded by cinera
2017-11-13 23:49:58 +00:00
Matt Mascarenhas 4572817837 cinera.c: Search [#7]
Also put the stuff in a new directory called cinera, that contains only
the files needed to get going, with example template files.
2017-11-11 00:34:47 +00:00
Alex Baines c7d764c0a6 add hmml_version variable 2017-11-06 21:07:40 +00:00
Matt Mascarenhas df5fe8de03 hmml_to_html.c: Full-featured always-on
For the same input across either multiple runs or one long always-on
run, we now produce the same output. This wasn't the case because our
indexing did not take into account stuff processed in previous runs.
2017-10-18 22:07:29 +01:00
Matt Mascarenhas b133f15a11 hmml_to_html.c: Always On 2017-09-15 02:11:39 +01:00
Matt Mascarenhas d82e665310 hmml_to_html.c: Fix typo in GenerateTopicColours() 2017-09-07 23:32:57 +01:00
Matt Mascarenhas f9bebe2924 hmml_to_html.c: Generate full project [#25]
Full project currently includes a "Table of Contents" linking to pages
for each set of annotations. It should successfully generate pages for
all well-formed annotations, even if >= 1 are not well-formed.
2017-09-07 22:41:08 +01:00
Matt Mascarenhas 445969aee2 hmml_to_html.c: Generate a full project 2017-08-29 21:35:28 +01:00
Matt Mascarenhas d8b21171a1 hmml_to_html.c: Begin refactor 2017-08-23 21:30:08 +01:00
Matt Mascarenhas 67f6ff4db2 hmml_to_html.c: Log buffer usage
Also remove the evidently unused Colour buffer
2017-08-20 22:23:15 +01:00
Matt Mascarenhas 928d639c41 hmml_to_html.c: Simplify InsertCategory()
Basically just relive it of taking HasTopic and HasCategory
2017-08-19 23:35:07 +01:00
Matt Mascarenhas f3899c2f35 hmml_to_html.c: Add keywords and sort topic dots 2017-08-19 22:41:51 +01:00
Matt Mascarenhas 6e1f6a4faa hmml_to_html.c: Complete credits [#4]
Support multiple co-hosts, guests and annotators
2017-08-18 23:46:58 +01:00
Matt Mascarenhas bcaa6d63db hmml_to_html.c: Fix quoting 2017-08-11 23:41:52 +01:00
Matt Mascarenhas ec556a8e3b hmml_to_html.c: Cache the quotes
Also link to insofaras' quote site
2017-08-10 02:05:41 +01:00
Matt Mascarenhas 5f21a9544d hmml_to_html.c: Pull from insobot's quote store
#25

Also fix the forced integration
2017-08-09 01:57:09 +01:00
Matt Mascarenhas ad8fb22211 hmml_to_html.c: Validate template up front 2017-08-08 20:26:54 +01:00
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
Alex Baines a389423b73 ref at start of text fix 2017-07-31 21:36:47 +01:00
Alex Baines 58c3de0aa2 fix quote author being set to 'quote' if categories precede it 2017-07-30 00:07:04 +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 048d522657 README.md: Parser building instructions [#26] 2017-07-25 00:43:26 +01:00
Matt Mascarenhas aff371b91d Fix cinera__lecture.css and cinera__special.css
Just substitute "hmdshow" for "lecture" and "special", respectively
2017-07-01 01:41:10 +01:00
Matt Mascarenhas e7e903b001 Add :afk as a medium 2017-07-01 01:24:30 +01:00
Matt Mascarenhas 42766ffb21 Add cinera__lecture.css from cinera__hmdshow.css 2017-06-30 23:30:58 +01:00
Matt Mascarenhas 10ea47ac2e Add cinera__special.css from cinera__hmdshow.css 2017-06-29 23:12:06 +01:00
Matt Mascarenhas f623733427 README.md: Add the -h usage text [#26] 2017-06-28 15:23:55 +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 0aa204c042 README.md: Tweak fair warning and formatting [#26] 2017-06-22 23:11:01 +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 0cb357a209 README.md: Fix path to insobot's quotes [#26] 2017-06-21 22:45:06 +01:00
Matt Mascarenhas 64deea565f README.md: Formatting [#26] 2017-06-21 22:27:57 +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 05271c7694 Track test.hmml 2017-06-21 21:44:53 +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