Commit Graph
1097 Commits
Author SHA1 Message Date
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
Orc 9272c46723 Merge pull request #248 from joshix/installdoc-9CFLAGS
INSTALL: Note Plan 9 CFLAGS fix
2021-11-08 11:17:06 -08:00
david parsons 26d6ea4634 clean up acLookfor so it doesn't do a break 3 where a return would do 2021-11-08 11:12:29 -08:00
Josh Wood fd992eafcb INSTALL: Note Plan 9 CFLAGS fix 2021-11-05 20:51:31 -05:00
Josh Wood cf3895234e Plan9/mkfile: Don't build mktags nor generate blocktags
Remove the obsolete workaround of directly building mktags
and running it in Plan9/mkfile. The upstairs configure.sh
and make no longer fails to generate the blocktags file.

Update Plan9/README.md generally.
2021-11-05 20:20:05 -05:00
Orc a4a2e7fe53 Merge pull request #245 from trofi/main
Makefile.in: add missing make depend to pandoc_headers
2021-10-26 14:52:54 -07:00
Sergei Trofimovich c00ad392bf Makefile.in: add missing make depend to pandoc_headers
Noticed missing pgm_options.o prerequisite dependency when built
package in parallel:

    $ make -j16 -l16 -k
    gcc -L. -g -o pandoc_headers pandoc_headers.o pgm_options.o gethopt.o notspecial.o -lmarkdown
    ld: cannot find pgm_options.o: No such file or directory
    collect2: error: ld returned 1 exit status
    make: *** [Makefile:144: pandoc_headers] Error 1
    gcc -I.  -g -fPIC -c pgm_options.c

It's also visible when we try to build a single target:

    $ make pandoc_headers
    <same failure>

The change adds $(COMMON) dependency used during linking
in pandoc_headers.
2021-10-21 18:21:59 +01:00
david parsons 618fdc5d5e attempt to fix the defect where footnote links in <>'s are not trimmed 2021-06-07 11:57:39 -07:00
Orc 3520113e1f Merge pull request #236 from timgates42/bugfix_typo_import
docs: fix simple typo, inport -> import
2020-12-15 10:49:48 -08:00
Tim Gates c111310687 docs: fix simple typo, inport -> import
There is a small typo in toc.c.

Should read `import` rather than `inport`.
2020-12-16 05:46:53 +11:00
david parsons f02cee798f accidentally mixed code and declarations in theme.c, which makes old versions of gcc puke 2020-11-27 08:09:06 -08:00
david parsons 0ba5f4198f ugh, forgot to in AC_CHECK_ATTRIBUTE 2020-11-27 07:54:19 -08:00
david parsons f2d1c079cc I need to use AC_UPPERCASE in AC_CHECK_ATTRIBUTE 2020-11-27 07:48:58 -08:00
david parsons fec9d47332 strip out some inadvertant bsdisms/gnuisms from configure.inc 2020-11-27 07:37:39 -08:00
Orc e883065a6f Merge pull request #232 from Tevo45/main
Fix build under compilers that don't support {} as a array initializer
2020-11-08 12:21:36 -08:00
Tevo f30e7efd7e Empty array initializers are a GCC extension 2020-11-08 19:45:15 +00:00
Orc db1d037afa Merge pull request #229 from oridb/master
notspecial: do a positive check. (fixes plan9, improves others)
2020-10-26 09:10:15 -07:00
Orc 9b04498fde Merge pull request #231 from podsvirov/cmake
Configure and install libmarkdown.pc via CMake project
2020-10-26 09:08:26 -07:00
Konstantin Podsvirov c5d49fb69a Configure and install libmarkdown.pc via CMake project 2020-10-21 01:13:11 +03:00
Orc 391b099a3c Merge pull request #230 from rbalint/main
Honor CPPFLAGS and LDFLAGS
2020-10-10 12:39:17 -07:00
Balint Reczey 55cea9c59f Honor system's LDFLAGS in librarian.sh
Fixes #228.
2020-10-10 21:21:48 +02:00
Balint Reczey b7aeccad86 Honor CPPFLAGS 2020-10-10 20:31:17 +02:00
Ori Bernstein 8320d8eb69 notspecial: do a positive check. (fixes plan9, improves others)
Currently, notspecial() checks for a list of special types of
file, instead of checking if the file is regular. It seems like
checking for what we want is likely to be more useful than
checking for things we want to avoid -- especially since the
list of special things is far more likely to grow.
2020-09-07 01:42:45 +00:00
david parsons c766bc5569 changed the main branch name to 'main', so the what's my branch name? tool needs to know about that 2020-06-14 12:33:20 -07:00
david parsons 90f4342678 split pgm_options into itself + flagprocs so that the new flag set/clear functions can be placed into the library w/o bringing in the rest of pgm_options 2020-05-27 14:30:31 -07:00
david parsons bbfb1a7f87 strip out the unused prototypes for mkd_flag_set & mkd_flag_clear (discount3 uses mkd_set_flag_num & mkd_clr_flag_num) 2020-05-26 20:23:48 -07:00
david parsons c444b233db add v2compat to the libmarkdown library in the cmakefile 2020-05-26 17:15:16 -07:00