david parsons
|
ef25172009
|
start tweaking in preprocessor support; start with a rough m4 framework
|
2022-10-22 20:33:17 -07:00 |
|
david parsons
|
4a73e7f7d6
|
have all of the extensions code guarded by checking against MKD_STRICT
|
2022-10-05 12:22:28 -07:00 |
|
david parsons
|
37b22a997e
|
match the descriptions for MKD_STRICT in mkdio.h.in & markdown.h
|
2022-10-04 12:27:16 -07:00 |
|
david parsons
|
583969803f
|
hunt down and remove all references to the NORELAXED flag (now STRICT)
|
2022-10-04 12:22:55 -07:00 |
|
david parsons
|
2206091f80
|
add a fistful of test cases for the new! improved! Markdown.pl compatible <tags>
|
2022-10-04 12:12:54 -07:00 |
|
david parsons
|
eff5405d86
|
rework the tag handler to more closely adhere to Markdown.pl's observed behavior; also treat incomplete tags as actual tags in compatability mode (-fstrict)
|
2022-10-04 12:12:09 -07:00 |
|
david parsons
|
e12437122a
|
rolling in the v2.2.7c fix to tag behavior patch
|
2022-10-04 12:07:49 -07:00 |
|
david parsons
|
9edb0e5908
|
weird behavior on freebsd 4.8 w/ gcc 2.95.4; if a #ifdef ... #else ... #endif wraps the end of a if () it pukes up an error about a syntax error in a macro; pull those tests out and conditionally #define a macro instead
|
2022-10-04 11:51:29 -07:00 |
|
david parsons
|
376656c77c
|
the behavior of tags-starting-with-alpha-/-! was not like that of the reference implementation; fixed (in a very script-kiddy leaky fashion which I can't resolve with a runtime flag thanks to the 32 bit flags field in the 2.x series :-(
|
2022-10-04 11:49:20 -07:00 |
|
david parsons
|
10c99d3a64
|
left out <sys/wait.h>
|
2022-08-02 09:45:17 -07:00 |
|
david parsons
|
97784f4ca5
|
don't use WNOHANG in waitpid; check child status to see if the formatter exited normally or abended & return the original code fragment if the latter
|
2022-08-02 09:34:31 -07:00 |
|
david parsons
|
5b6e5b0e07
|
change the external code block formatting option into an actual external code block formatter
|
2022-08-01 13:41:33 -07:00 |
|
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 |
|