Commit Graph
1123 Commits
Author SHA1 Message Date
david parsons 26ba488a8a make the new function hoptdescribe(), which is exactly like hoptusage() except it has an additional verbose flag that tells it to do a more described list of the options 2022-07-31 23:34:13 -07:00
david parsons f8512ad0f0 streamline the exerciser make.include; use the toplevel .c.o rule to make objects, DON'T use $< when making executables because bsd make populates it with MKDLIB, which doesn't actually work 2022-07-30 23:29:36 -07:00
david parsons 6c015711e0 change fenced code behavior to not have a leading newline before the first line within the fence 2022-07-30 23:20:20 -07:00
david parsons 89f1dfdef7 more tweaking; when I include $(MKDLIB) as a dependency for an exerciser test, $< disappears when compiling on netbsd8? 2022-07-20 17:13:14 -07:00
david parsons 380229266f don't forget to set up LD_LIBRARY_PATH when running the exerciser tests 2022-07-30 07:50:08 -07:00
david parsons 6e03172bea tweak the makefiles to ensure that libmarkdown (a synthetic target) is make before any of the executables are assembled during a parallel make 2022-07-30 14:39:42 +00:00
david parsons 25f24b5bf4 rework how flags are initialized & configured for <?theme commands 2022-07-29 23:59:48 -07:00
david parsons 436a0c033e change from submakes to included makefiles 2022-06-22 13:43:51 -07:00
david parsons 4cdcac0d90 by request change the document type from html 4.0 to whatever the current version of html is (currently 5) 2022-06-19 17:47:30 -07:00
david parsons 63f542f34d silence the commands to make the exerciser programs 2022-06-18 09:08:48 -07:00
david parsons b81982c8a7 didn't catch one of the -C's in the exerciser makes? 2022-06-18 08:56:18 -07:00
david parsons 487c07f4cf working around the embedded gnuism is harder that I thought 2022-06-18 02:29:03 -07:00
david parsons 85684a0b79 bitten by a GNUism; I was using make -C to build the exercisers, which isn't portable 2022-06-18 02:23:20 -07:00
david parsons 4fecf0bd46 xmlpage had a variable declaration in the middle of a block 2022-06-18 02:11:23 -07:00
david parsons f4b7dd8b64 move the -lmarkdown to the END of the commandline where I link the flags exerciser program, because otherwise it doesn't get properly included in the link on one of my mips linux boxes? 2022-06-18 02:00:54 -07:00
david parsons 066d0ed47c I had a variable defined in the middle of a block, which is a C nocando. 2022-06-18 01:22:16 -07:00
david parsons 1c3c0e9d39 Merge branch 'main' of github.com:Orc/discount into main 2022-06-18 00:27:36 -07:00
Orc 8a876a86e7 Merge pull request #256 from McSinyx/xhtml-h1-title
Add H1 title support for makepage
2022-06-12 23:34:39 -07:00
Nguyễn Gia Phong d0f81ec9be Add H1 title support for makepage 2022-06-10 18:02:33 +09:00
david parsons a0d2a96024 when checking character classes move the utf-8 check in front of all of the other checks; some versions of MSC have a debug mode so if a character isn't either 7-bit ascii or EOF the character class check functions will abort the program. Like, um, yeah, way to creep those standards, people! 2022-05-30 13:32:29 -07:00
david parsons 30ac4a5b1c shut up the 'nothing to be done' message in this submake. 2022-05-13 23:48:51 -07:00
david parsons 57ef3dd3d2 tweak the exerciser makefile a bit; have the toplevel makefile build the exerciser programs as part of make all 2022-05-13 22:33:56 -07:00
david parsons 5ae6841337 voidify the say() function in tests/exercisers/flags.c 2022-05-13 22:27:29 -07:00
david parsons fa3def69c7 in the flags exerciser, put all output to stdout, /not/ stderr 2022-05-13 22:19:51 -07:00
david parsons e42b39d8ed pass @LD_LIBRARY_PATH@ to function checkers in tests/exercisers 2022-05-13 22:11:59 -07:00
david parsons 8a04e31105 add some tests against null flag parameters 2022-05-13 21:55:54 -07:00
david parsons 39874c6072 use -I$(TOPDIR) & -L$(TOPDIR) when building things in tests/exercisers 2022-05-13 21:44:50 -07:00
david parsons 78e91047cd ugh. Prefixed the wrong thing with TOPDIR 2022-05-13 21:35:29 -07:00
david parsons 8d9707a4fa add spotless recursion; pass TOPDIR to the test/exercisers so I can construct an appropriate @LD_LIBRARY_PATH@ for running the test programs 2022-05-13 21:25:50 -07:00
david parsons 5fa07a501e clean the exercisers directory when cleaning everything else 2022-05-13 21:00:33 -07:00
david parsons d9847e36be add an exerciser to verify flag set, flag clear, and flag copy 2022-05-13 20:14:37 -07:00
david parsons b3f7b306e7 clean up the internals of mkd_copy_flags() 2022-05-13 19:20:23 -07:00
david parsons 76deae28d2 forgot to put a prototype into mkdio.h.in 2022-05-13 18:21:25 -07:00
david parsons b79887284a add a flag copy function 2022-05-13 16:38:45 -07:00
david parsons 2739f6de43 messed up pandoc header flagging; it defaulted to NOHEADER in populate() 2022-04-22 02:18:22 -07:00
david parsons 74f6bd9b49 checkline was still having problems with properly detecting fenced code blocks 2022-04-11 14:25:12 -07:00
david parsons 0137688a6b clean up fenced code marker detection 2022-04-11 09:53:53 -07:00
david parsons 543628f9f4 the toplevel compilation pass needs to back out of an unclosed bit of fenced code 2022-04-08 23:54:20 -07:00
david parsons 6c1d704075 tweak the fenced code disaster 2022-04-08 23:18:24 -07:00
david parsons 1321a22ecd first pass at collapsing fenced code blocks into regular paragraphs 2022-04-07 22:36:36 -07:00
david parsons e2358b85c0 document the -toc flag in the markdown program 2022-04-04 00:46:56 -07:00
david parsons 0571211c84 I wasn't properly uniqifying the top level of compiled fragments for toc labels 2022-03-28 10:18:11 -07:00
david parsons 304344cf1f I was a little too aggressive when stripping out the recursive uniquification (& redo the test case to reflect starting sequences at zero instead of 1 2022-03-23 16:10:58 -07:00
david parsons 343845b66d rework the whole TOC uniquifier so it only runs at the end of a compilation; put code in (#ifdeffed out) to recursively uniquify names if I ever decide to throw a wider net when generating a TOC 2022-03-23 16:08:07 -07:00
david parsons b0c4415947 don't use diff -c (Busybox diff doesn't support it) but just dump the diff output to /dev/null 2022-03-22 17:30:37 -07:00
david parsons 599617843e implement a toc label uniquifier 2022-03-22 17:01:14 -07:00
david parsons 5b0d7fd8e8 oops, forgot to add space2nl to sccs 2022-03-22 09:10:52 -07:00
david parsons 1473d6b678 Merge branch 'main' of github.com:Orc/discount into main 2022-03-21 14:00:29 -07:00
david parsons 38b2ce4b5c work around a bug with some implementations of tr that don't map \n to a newline 2022-03-21 13:56:44 -07:00
Orc c2617280f9 Merge pull request #246 from joshix/ninemk
Plan9/mkfile: Don't build mktags nor generate blocktags
2021-11-08 11:18:11 -08:00