Commit Graph

164 Commits

Author SHA1 Message Date
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
Alex Baines bd74374962 hmmlib-js: multiple guests/annotators/co-hosts update 2017-06-20 21:15:26 +01:00
Alex Baines f23eceace0 hmmlib: multiple annotators/co-hosts/guests support 2017-06-20 20:54:26 +01:00
Alex Baines 74f667c5c6 hmmlib-js: spec update 2017-06-19 18:23:17 +01:00
Alex Baines e8f9869461 spec updates: project episode num & different metadata 2017-06-19 17:04:48 +01:00
Alex Baines 4e5102ac59 fix CHECKESCAPE + end tag not being found 2017-06-19 16:31:46 +01:00
Alex Baines 6729e0b4c3 hmmlib-js: Add source files, fix a few bugs.
The source files are only needed to build hmmlib.js, they needn't be
included in other projects.

Bugs fixed:
* marker offset should be correct now.
* after-text markers (-1 offset) now have type CATEGORY not HMML_CATEGORY
  which is consistent with the in-text ones.
* markers with parameters have proper .text and the marker.parameter
  doesn't start with "undefined" any more.
2017-06-19 14:54:10 +01:00
Alex Baines 648e3b29fe hmmlib JavaScript port 2017-06-19 01:17:56 +01:00
Matt Mascarenhas 3749294def player.js: Fix marker sub-element hover xoffset 2017-06-18 22:42:11 +01:00
Matt Mascarenhas b920a1e5e9 style.css: When off, only fade rant and authored 2017-06-16 08:59:41 +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 dd9c844b6f hmdshow.css: Initial commit 2017-06-15 23:15:58 +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
NJ 6fd1ec3f37 added logging for switching emacs buffers 2017-06-11 18:02:28 +03:00
NJ d4cf614d5d adding source recording plugin for emacs and an example simple log file 2017-06-10 20:48:18 +03: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 2f5057f36b hmml_to_html.c: Fix dot colouring [#3]
This additionally fixes the lightness stuff on Chrome
2017-06-10 16:56:04 +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 00f6dbed51 mock_keys.html: Keyboard Documentation [#24] 2017-05-31 01:21:21 +01:00