1201 Commits
Author SHA1 Message Date
jessica parsons abd97acee0 merge recursion-limit into main, up to verson 3.0.2.0 v3.0.2.0 2026-08-28 20:34:06 -07:00
jessica parsons 52db5cfdc9 add an explicit 'int' to the main declaration in 300.c; also add an exit(0) for whiny C compilers; lowercase the title in limits.t 2026-06-19 12:51:51 -07:00
jessica parsons 2ae87732d9 add code to do maximum recursion depth, and default it to 200 2026-06-16 01:54:15 -07:00
jessica parsons e7da52abbf bump up the minor version# to 3.0.1.3 v3.0.1.3 2026-06-09 12:44:21 -07:00
jessica parsons a55e87e63d add a 'section_break' flag into the line structure to keep the contents of adjacent blockquote chunks as separate blocks inside the blockquote 2026-06-09 12:07:54 -07:00
jessica parsons 39be61ef2c go back and tweak the effing fenced code disaster area so that it will break fenced code out into its own div and consume html & footnotes at the top level. 2026-05-31 14:12:03 -07:00
jessica parsons ff09a191cd add a prototype for memset() because gcc/clang/whatever on macos ventura gets a sad when it doesn't see one 2025-09-11 12:58:45 -07:00
jessica parsons c214286f91 3.0.1.2 -- fix a host of string allocation bugs v3.0.1.2 2025-09-08 09:51:18 -07:00
jessica parsons 63c7eb3d86 change amalloc so it fills malloc()ed memory with a nun-null pattern, which found a WHOLE BUNCH of places where I was not null-terminating strings but instead was taking advantage of amalloc always zeroing new allocations. 2025-09-08 09:50:17 -07:00
jessica parsons 985091d673 use calloc instead of malloc when initializing footnotes & flags 2025-09-08 09:31:16 -07:00
jessica parsons 41f71fe10f make it version 3.0.1.1 after some bugfixes v3.0.1.1 2025-09-07 14:27:45 -07:00
jessica parsons 0ad136bdfb don't look for the destructor attribute now that I've moved the html5 tags data into the mmiot 2025-09-07 14:27:11 -07:00
jessica parsons 74551d84d8 ugh; forgot to null terminate foot->width & foot->height 2025-09-07 14:26:08 -07:00
jessica parsons eda57f596d forgot to null-terminate the extended attribute string in linky_extended_attributes 2025-09-06 11:55:29 -07:00
jessica parsons ed83925ecf up to version 3.0.1 (for publication) v3.0.1 2025-09-03 18:20:49 -07:00
jessica parsons 7ea393a2c2 ugh; modified mkdio.h instead of mkdio.h.in 2025-09-03 17:54:26 -07:00
jessica parsons 8ddfb981ef redo the html5 flag option to make it a per-MMIOT thing, instead of being a global block that we have to deallocate when we're done; also take the opportunity to clean up mkd_initmmiot to have it set fags & html5 extraflags instead of duplicating that code in three places 2025-09-03 17:26:21 -07:00
jessica parsons 0bd7bfa773 move pgm_options.c into the discount library so I can publish mkd_set_flag_string() 2025-09-03 15:10:50 -07:00
jessica parsons 71bd0a7246 fix the manpage for mkd_line/mkd_generateline 2025-09-03 00:51:41 -07:00
jessica parsons f61b163f36 FINALLY start updating the documentation to the v3 published interface 2025-09-02 22:47:41 -07:00
jessica parsons 4b37a17f86 Merge netbsd11:Src/discount into main 2025-08-31 21:21:31 -07:00
Jessica L. Parsons 7b96468c13 add a check for broken isspace() (in netbsd11) 2025-08-31 21:19:59 -07:00
jessica parsons b49c306b6c update the cmake scaffolding (patch by christophe-calmejane on github) 2025-08-31 21:19:52 -07:00
jessica parsons 05d75492b9 update the cmake scaffolding (patch by christophe-calmejane on github) 2025-08-30 01:49:05 -07:00
jessica parsons 286f43f7d4 forgot to add a test case for linkylink extended attributes 2025-08-30 01:23:47 -07:00
jessica parsons 61c748f021 add support for extended attributes on [] & ![] links 2025-08-30 01:09:53 -07:00
jessica parsons 6ff6878cfd add support for % widths & heights for images (original implementation by mwfong-csl (on github); my implementation only because I couldn't figure out how to pull github patch requests into my master repository on pell) 2025-08-29 17:01:07 -07:00
jessica parsons ae3f28f5de fix the tests for expected output from markdown -b<prefix> 2024-10-07 01:33:09 -07:00
jessica parsons 5443e322c3 tweak the test for zero in __mkd_io_strget so if it's <=0 it's EOF 2024-10-07 01:28:53 -07:00
david parsons 01aacfdf02 add 3 testcases for mkd_basename (-b flag in the markdown program) 2024-10-07 01:25:16 -07:00
david parsons c494e40d0a mkd_basename() was broken; the callback it uses did not check to see if the offending url started with a slash; also CHANGE MY NAME on the copyright notice for configure.inc 2024-10-07 01:14:28 -07:00
jessica parsons bf05eb5fb8 for some reason mkd_h1_title() was expecting a separate flags argument, but none of the prototypes defined it that way but still it compiled. Okay, that wasn't right 2024-10-03 20:02:33 -07:00
david parsons 827bedd96c further tweak the formatting for theme -V+ output 2024-09-08 15:53:52 -07:00
david parsons e98b949928 tweak the formatting for theme -V+ output 2024-09-08 15:52:31 -07:00
jessica parsons cc42e7ed69 I was calling show_flags() [tabular output] for theme -VV instead of mkd_flags_are() [streaming] 2024-09-08 15:16:03 -07:00
jessica parsons 4f2cd0c572 have theme check for THEME_OPTIONS to help set initial flags; when handling LaTeX, push back the second character if a $$ .. $$ match fails 2024-09-08 15:00:47 -07:00
jessica parsons 0fe8822395 don't allow zero-length tick sectons; don't pull a second character if mathhandler return false 2024-09-06 18:01:04 -07:00
jessica parsons 9bbb93b6f4 up to version 3.0.0e v3.0.0e 2024-09-05 15:14:11 -07:00
jessica parsons c454b323c9 add a test case for LaTeX single $ quotes 2024-09-05 15:13:17 -07:00
jessica parsons 44a834c74d in LaTeXspan (as in all the other tickhandlers) cursor(f) points one character into the enclosed span, so I need to cursor(f)-1 to point at the first character in the span 2024-09-05 14:53:41 -07:00
jessica parsons 0bef02c963 support LaTeX preprocessor single $ ... $ escapes 2024-09-04 00:14:31 -07:00
jessica parsons 5e2f73aec4 update my name to the current one 2024-03-29 23:41:29 -07:00
Orc 52c423f90a Merge pull request #285 from bobsayshilol/fix-xml-leak
Fix memory leak in mkd_xml()
2024-03-18 18:56:55 -07:00
bobsayshilol 87234b3caf Fix memory leak in mkd_xml()
The Cstring |f| wasn't being DELETE()d before returning from mkd_xml(),
leading to a leak every time it was called.
2024-03-17 22:00:10 +00:00
david parsons ff866f73d4 up to v3.0.0d v3.0.0d 2024-02-06 22:01:05 -08:00
david parsons 5396375eca it's not an email address if it starts with a '@' 2024-02-06 21:26:16 -08:00
Orc 03f5ed7478 I put the --container check (in the librarian maker) in the wrong place! 2024-02-06 20:57:15 -08:00
david parsons 737e7ee6fe add the --container config option so a ldconfig won't be installed into librarian.sh 2024-02-06 20:50:51 -08:00
david parsons 2eea56e23f add a test case for >%class1 class2% 2024-02-06 15:17:19 -08:00
david parsons 37b034fe98 allow multiple classes for >% blocks 2024-02-06 14:57:11 -08:00