Commit Graph

  • 85684a0b79 bitten by a GNUism; I was using make -C to build the exercisers, which isn't portable david parsons 2022-06-18 02:23:01 -07:00
  • 4fecf0bd46 xmlpage had a variable declaration in the middle of a block david parsons 2022-06-18 02:11:23 -07:00
  • 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? david parsons 2022-06-18 02:00:54 -07:00
  • 066d0ed47c I had a variable defined in the middle of a block, which is a C nocando. david parsons 2022-06-18 01:22:16 -07:00
  • 1c3c0e9d39 Merge branch 'main' of github.com:Orc/discount into main david parsons 2022-06-18 00:27:36 -07:00
  • 8a876a86e7 Merge pull request #256 from McSinyx/xhtml-h1-title Orc 2022-06-12 23:34:39 -07:00
  • d0f81ec9be Add H1 title support for makepage Nguyễn Gia Phong 2022-06-10 17:49:30 +09:00
  • 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! fencerepair david parsons 2022-05-30 13:32:29 -07:00
  • 30ac4a5b1c shut up the 'nothing to be done' message in this submake. david parsons 2022-05-13 23:48:51 -07:00
  • 57ef3dd3d2 tweak the exerciser makefile a bit; have the toplevel makefile build the exerciser programs as part of make all david parsons 2022-05-13 22:33:56 -07:00
  • 5ae6841337 voidify the say() function in tests/exercisers/flags.c david parsons 2022-05-13 22:27:29 -07:00
  • fa3def69c7 in the flags exerciser, put all output to stdout, /not/ stderr david parsons 2022-05-13 22:19:51 -07:00
  • e42b39d8ed pass @LD_LIBRARY_PATH@ to function checkers in tests/exercisers david parsons 2022-05-13 22:11:59 -07:00
  • 8a04e31105 add some tests against null flag parameters david parsons 2022-05-13 21:55:54 -07:00
  • 39874c6072 use -I$(TOPDIR) & -L$(TOPDIR) when building things in tests/exercisers david parsons 2022-05-13 21:44:50 -07:00
  • 78e91047cd ugh. Prefixed the wrong thing with TOPDIR david parsons 2022-05-13 21:35:29 -07:00
  • 8d9707a4fa add spotless recursion; pass TOPDIR to the test/exercisers so I can construct an appropriate @LD_LIBRARY_PATH@ for running the test programs david parsons 2022-05-13 21:25:50 -07:00
  • 5fa07a501e clean the exercisers directory when cleaning everything else david parsons 2022-05-13 21:00:33 -07:00
  • d9847e36be add an exerciser to verify flag set, flag clear, and flag copy david parsons 2022-05-13 20:14:37 -07:00
  • b3f7b306e7 clean up the internals of mkd_copy_flags() david parsons 2022-05-13 19:20:23 -07:00
  • 76deae28d2 forgot to put a prototype into mkdio.h.in david parsons 2022-05-13 18:21:25 -07:00
  • b79887284a add a flag copy function david parsons 2022-05-13 16:38:45 -07:00
  • 2739f6de43 messed up pandoc header flagging; it defaulted to NOHEADER in populate() david parsons 2022-04-22 02:18:22 -07:00
  • 74f6bd9b49 checkline was still having problems with properly detecting fenced code blocks david parsons 2022-04-11 14:25:12 -07:00
  • 0137688a6b clean up fenced code marker detection david parsons 2022-04-11 09:53:53 -07:00
  • 543628f9f4 the toplevel compilation pass needs to back out of an unclosed bit of fenced code david parsons 2022-04-08 23:54:20 -07:00
  • 6c1d704075 tweak the fenced code disaster david parsons 2022-04-08 23:18:24 -07:00
  • 1321a22ecd first pass at collapsing fenced code blocks into regular paragraphs david parsons 2022-04-07 22:36:36 -07:00
  • e2358b85c0 document the -toc flag in the markdown program david parsons 2022-04-04 00:46:56 -07:00
  • 68db3cda35 #ifdef out more of the typora-specific code v2.2.7b david parsons 2022-03-30 12:34:50 -07:00
  • 26d8cc1149 makefile patch; almost a nonexistant revision! david parsons 2022-03-29 23:52:03 -07:00
  • 516db978af fix dependencies in for the pandoc_headers stanza Sergei Trofimovich 2021-10-21 18:18:17 +01:00
  • 0571211c84 I wasn't properly uniqifying the top level of compiled fragments for toc labels david parsons 2022-03-28 10:18:11 -07:00
  • 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 david parsons 2022-03-23 16:10:58 -07:00
  • 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 david parsons 2022-03-23 16:08:07 -07:00
  • 78f5900346 the TYPORA merge broke non-ifdeffed ~text~ david parsons 2022-03-22 22:03:00 -07:00
  • a631dde7f1 don't use diff -c (Busybox diff doesn't support it) but just dump the diff output to /dev/null david parsons 2022-03-22 17:30:37 -07:00
  • 769d65548e Merge pull request #238 from tomidery/sup-sub-highlight Orc 2022-03-22 17:38:08 -07:00
  • b0c4415947 don't use diff -c (Busybox diff doesn't support it) but just dump the diff output to /dev/null david parsons 2022-03-22 17:30:37 -07:00
  • 599617843e implement a toc label uniquifier david parsons 2022-03-22 17:01:14 -07:00
  • 5b0d7fd8e8 oops, forgot to add space2nl to sccs david parsons 2022-03-22 09:10:52 -07:00
  • 1473d6b678 Merge branch 'main' of github.com:Orc/discount into main david parsons 2022-03-21 14:00:29 -07:00
  • 38b2ce4b5c work around a bug with some implementations of tr that don't map \n to a newline david parsons 2022-03-21 13:56:44 -07:00
  • c2617280f9 Merge pull request #246 from joshix/ninemk Orc 2021-11-08 11:18:11 -08:00
  • 9272c46723 Merge pull request #248 from joshix/installdoc-9CFLAGS Orc 2021-11-08 11:17:06 -08:00
  • 26d6ea4634 clean up acLookfor so it doesn't do a break 3 where a return would do david parsons 2021-11-08 11:12:29 -08:00
  • fd992eafcb INSTALL: Note Plan 9 CFLAGS fix Josh Wood 2021-11-05 20:51:31 -05:00
  • cf3895234e Plan9/mkfile: Don't build mktags nor generate blocktags Josh Wood 2021-11-05 20:20:05 -05:00
  • a4a2e7fe53 Merge pull request #245 from trofi/main Orc 2021-10-26 14:52:54 -07:00
  • c00ad392bf Makefile.in: add missing make depend to pandoc_headers Sergei Trofimovich 2021-10-21 18:18:17 +01:00
  • 14256dc343 Use <mark> instead of style change for =highlights= Use conditional compilation for superscript syntax: - with TYPORA flag it is new syntax: x^y^ - without TYPORA flag it is original syntax: x^y Piotr Kaminski 2021-06-21 21:16:06 +02:00
  • 618fdc5d5e attempt to fix the defect where footnote links in <>'s are not trimmed david parsons 2021-06-07 11:57:39 -07:00
  • 8932a28d98 Support ^superscript^ ~subscript~ and ==highlight== kaminski 2021-04-13 00:09:49 +02:00
  • 3520113e1f Merge pull request #236 from timgates42/bugfix_typo_import Orc 2020-12-15 10:49:48 -08:00
  • c111310687 docs: fix simple typo, inport -> import Tim Gates 2020-12-16 05:46:53 +11:00
  • f02cee798f accidentally mixed code and declarations in theme.c, which makes old versions of gcc puke david parsons 2020-11-27 08:09:06 -08:00
  • 0ba5f4198f ugh, forgot to in AC_CHECK_ATTRIBUTE david parsons 2020-11-27 07:54:19 -08:00
  • f2d1c079cc I need to use AC_UPPERCASE in AC_CHECK_ATTRIBUTE david parsons 2020-11-27 07:48:58 -08:00
  • fec9d47332 strip out some inadvertant bsdisms/gnuisms from configure.inc david parsons 2020-11-27 07:37:39 -08:00
  • e883065a6f Merge pull request #232 from Tevo45/main Orc 2020-11-08 12:21:36 -08:00
  • f30e7efd7e Empty array initializers are a GCC extension Tevo 2020-11-08 19:45:15 +00:00
  • db1d037afa Merge pull request #229 from oridb/master Orc 2020-10-26 09:10:15 -07:00
  • 9b04498fde Merge pull request #231 from podsvirov/cmake Orc 2020-10-26 09:08:26 -07:00
  • c5d49fb69a Configure and install libmarkdown.pc via CMake project Konstantin Podsvirov 2020-10-21 01:13:11 +03:00
  • 391b099a3c Merge pull request #230 from rbalint/main Orc 2020-10-10 12:39:17 -07:00
  • 55cea9c59f Honor system's LDFLAGS in librarian.sh Balint Reczey 2020-10-10 21:21:48 +02:00
  • b7aeccad86 Honor CPPFLAGS Balint Reczey 2020-10-10 20:28:28 +02:00
  • 8320d8eb69 notspecial: do a positive check. (fixes plan9, improves others) Ori Bernstein 2020-09-07 01:42:45 +00:00
  • 34a8ebbaaa v2.2.7; bugfix for label generation v2.2.7 david parsons 2020-08-23 22:45:49 -07:00
  • 6b3398cfa8 backport the label size from v3 david parsons 2020-08-23 22:45:16 -07:00
  • 184d88b6eb on the v2maint branch we want to treat is as the default branch david parsons 2020-08-23 22:44:24 -07:00
  • c766bc5569 changed the main branch name to 'main', so the what's my branch name? tool needs to know about that david parsons 2020-06-14 12:33:20 -07:00
  • 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 david parsons 2020-05-27 14:30:31 -07:00
  • bbfb1a7f87 strip out the unused prototypes for mkd_flag_set & mkd_flag_clear (discount3 uses mkd_set_flag_num & mkd_clr_flag_num) david parsons 2020-05-26 20:23:48 -07:00
  • c444b233db add v2compat to the libmarkdown library in the cmakefile david parsons 2020-05-26 17:15:16 -07:00
  • 73cf7889b1 Merge pull request #220 from yurchor/typos David Parsons 2020-05-01 10:06:56 -07:00
  • 38282592fc Fix minor typos Yuri Chornoivan 2020-05-01 19:58:40 +03:00
  • c4b97d6cf7 use mkd_free_flags() in all the demo programs david parsons 2020-04-08 12:26:13 -07:00
  • e3042eb904 add a free_flags() function to complement the flag blob maker david parsons 2020-04-08 11:46:26 -07:00
  • e42188e6c4 didn't include $(MKDLIB) as a requirement for pandoc headers, leading to hilarity when I did a make -j david parsons 2020-04-08 01:24:14 -07:00
  • 29fd434453 restructure the dd accumulator in definition_block() so that the goto isn't *quite* so horribly an abuse of block structure david parsons 2020-04-08 01:21:56 -07:00
  • 53965d67c8 add a testcase for empty ## david parsons 2020-03-28 23:21:58 -07:00
  • 1003923bca fix a malloc overflow when doing mkd_anchor_format() david parsons 2020-03-28 23:14:23 -07:00
  • 2e900346a0 make the published mkd_flag_t opaque and add a new function (mkd_flags()) to generate a flag structure and return it in malloced memory david parsons 2020-03-07 19:56:22 -08:00
  • 12e8c9c715 messed up the number of bits in a byte? david parsons 2020-01-26 12:45:48 -08:00
  • 5a59d221aa document mkd_e_code() david parsons 2020-01-24 09:16:58 -08:00
  • d9d6d43685 Merge pull request #218 from nicolasfella/cmakefix David Parsons 2019-12-30 16:29:53 -08:00
  • 196e858cee Don't try to install markdown when building lib only Nicolas Fella 2019-12-31 01:14:49 +01:00
  • 61b336fd28 have v2compat convert from the 2.2.6 flags, not the flags that live in the limbo between 2.2.6 and v3 v3 david parsons 2019-12-18 10:17:41 -08:00
  • dfb7e00281 start gluing up a v2 compatability layer david parsons 2019-12-15 21:08:36 -08:00
  • 74a3544bf5 fix up theme default settings in configure.sh david parsons 2019-12-10 22:40:50 -08:00
  • 43c5c0496b fix up theme default settings david parsons 2019-12-10 22:37:51 -08:00
  • e677e83165 update the header verification program so it works with the new flag format; cosmetically tweak mkdio.h.in & markdown.h to make it easier to automatically diff the two enums david parsons 2019-12-10 09:24:46 -08:00
  • c5ea5bbadf redo the mkd_flag_t set functions to more closely fit how I'm using them and to have more descriptive names david parsons 2019-12-08 09:39:23 -08:00
  • 9d1b68af38 do more checking for null pointer flags in the published interface david parsons 2019-12-08 08:47:09 -08:00
  • eb3cea8983 more cleanup of null pointer dereference crashes during pandoc header processing david parsons 2019-10-29 18:41:23 -07:00
  • fd801c6951 don't COPY_FLAGS null flags; just initialize to 0s david parsons 2019-12-08 08:16:22 -08:00
  • b9e867b574 redo the whole flags dealie as an opaque blob david parsons 2019-12-07 22:49:52 -08:00
  • d74c180a8c Merge github.com:Orc/discount into v3 david parsons 2019-07-30 13:56:32 -07:00
  • 1814a5d4b7 Merge pull request #212 from podsvirov/cmake-cxx-binding David Parsons 2019-07-30 13:55:01 -07:00