Commit Graph

339 Commits

Author SHA1 Message Date
Matt Mascarenhas 39f9e30117 hmmlconv.c: Add syntax error output 2017-05-01 09:26:56 +01:00
Matt Mascarenhas 9d835b4ea3 hmmlconv.c: Correctly set OpenFlags on overwrite 2017-04-30 10:32:26 +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
Alex Baines c78193b74f fix 'n' overwrite option crashing + no return in ProcessFile
ProcessFile always returns 1 though, so Errors is always gonna be 0...

meh
2017-04-30 03:28:45 +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
Alex Baines 622ee76980 fix some bugs 2017-04-30 02:52:39 +01:00
Alex Baines 439d21a2b4 Prototype old annotation -> hmml converter 2017-04-29 16:32:29 +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 1b3db237f5 hmml_to_html.c: Add default.css [#22] 2017-04-13 04:24:23 +01:00
Matt Mascarenhas d1e580868a hmml_to_html.c: Organise CSS [#22] 2017-04-13 01:21:04 +01:00
Matt Mascarenhas 9c47ca398f hmml_to_youtube.c: Add # removal printout [#9] 2017-04-11 12:34:39 +01:00
Matt Mascarenhas da4c64f5d6 hmml_to_youtube.c: Handle unsupported chars [#9] 2017-04-11 00:47:46 +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
Alex Baines 769c79b0af convert markers to lowercase 2017-03-24 23:45: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
Alex Baines c31b486cfa Add optional parameter to HMML_Markers + fix stuff*
* make sure quoted attrs are unescaped properly
2017-03-18 17:35:42 +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 e973b8376d hmml_to_youtube.c: First functional build [#9]
Using insofaras's hmmlib.h to produce even nicer output
2017-03-16 01:01:03 +00:00
Matt Mascarenhas dedb407dde hmml_to_html.c: Function lofting and ref style
PPiC 055
2017-03-16 00:56:58 +00:00
Matt Mascarenhas 388c60e942 hmml_to_html.c: Reference indicators [#15]
Also support multiple annotations citing the same reference
2017-03-15 02:10:11 +00:00
Matt Mascarenhas 012693bd39 hmml_to_html.c: Highlight current reference [#15]
Also pause the player upon following a ref's url, and do some clean-up
2017-03-11 02:48:11 +00:00
Matt Mascarenhas 3394daf8b0 hmml_to_html.c: Partially implement refs [#15]
It is missing the onRefChanged() function

PPiC 051
2017-03-10 14:19:25 +00:00
Alex Baines ce2feef7f6 fix marker after ref bug + handle dos newlines 2017-03-06 13:06:22 +00:00
Alex Baines 7b8c4be9ab fix malformed file memory leak 2017-03-04 15:59:20 +00:00
Alex Baines 1614e88920 add offsets to markers + references, cleanup 2017-02-27 22:55:00 +00:00
Alex Baines 06854a7b66 hmml parser C library 2017-02-27 21:54:02 +00:00
Matt Mascarenhas 36a6654b82 Add empty README.md 2017-02-27 21:51:59 +00:00