Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Public API for accessing the generated AST #109

Open
wants to merge 111 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
eabb9e4
Setting some library function definitions to "const char*"
Feb 23, 2012
a84a81f
Fix some warnings
Feb 23, 2012
c68bffa
Perform changes for Xcode 4.3
Feb 23, 2012
e1e3889
Factoring out AST handling to separate function
Feb 23, 2012
3ff5dbf
Public debugging API
Feb 23, 2012
131c9bc
Removing dead code
Feb 24, 2012
321170d
Disable passing of build settings to peg Makefile
May 14, 2012
2947650
Ignore XCode-specific files
May 14, 2012
d79db4c
Set missing install path.
macguru Jun 8, 2012
99d4e4c
Skipped library install.
macguru Jun 9, 2012
9e192de
Merge branch 'master' of https://github.com/hydrixos/peg-multimarkdown
macguru Jun 9, 2012
69001bc
Updated project file.
macguru Jun 19, 2012
43c5cc5
Fixed broken iOS target.
macguru Jun 27, 2012
7cfeff2
Fixes warnings of static analyzer
Jul 20, 2012
3b7a5c2
Merge branch 'master' of https://github.com/hydrixos/peg-multimarkdown
Jul 20, 2012
26c8786
Changed build architecture for iOS to armv7.
goetzf Oct 10, 2012
201d7eb
Upgraded project file for Xcode 4.6
macguru Nov 13, 2012
e9b52c3
Merge latest libMMD parser
Mar 6, 2013
a511886
Fix OS X project file
Mar 6, 2013
a898796
Adpat interface to MarkdownKit
Mar 6, 2013
5d7ebbe
Enabling re-entrant parsing mode for libMMD
Mar 6, 2013
eb44258
Making libMMD re-entrant
Mar 6, 2013
69c0056
Do not use a function call for reading characters
Mar 6, 2013
630cf23
Free parsing context element
Mar 6, 2013
f7a1eff
Fixes memory leaks in libMMD
Mar 6, 2013
388e2fa
Allow to keep inline tags in AST if requested
Mar 7, 2013
0a60375
ULYSSES-2280 Provide list enumerator to markdown AST
Mar 7, 2013
3bed070
Remove extension request for storing tags
Mar 7, 2013
e08dd0b
ULYSSES-2281 Keep whitespaces during parse
Mar 7, 2013
05fe616
Adapt to recent XCode
Mar 8, 2013
0f8e212
Keep newlines in headings done properly
Mar 8, 2013
9d5e488
Do not install.
macguru Mar 10, 2013
a95d450
Do not close HTML blocks when containg markdown placeholder
Mar 11, 2013
63c3cf6
Merge branch 'master' of https://github.com/hydrixos/peg-multimarkdown
Mar 11, 2013
325969a
Do not parse for magic character
Mar 11, 2013
955c453
Keep spaces in markdown enumerators
Mar 20, 2013
81ac393
Fix parsing of bullet point whitespaces to match ulysses
Mar 20, 2013
95cfa57
Provide an option for keeping escapes
Apr 11, 2013
b1dde76
Added ARMv7s compiling.
macguru Apr 17, 2013
7564820
Fixes project file to recognize changes in .leg file
May 16, 2013
036c11e
ULYSSES-2798 Keep magic blank lines
May 16, 2013
5f041e5
ULYSSES-2800 Support for magic blank lines in foot notes
May 16, 2013
a95d979
ULYSSES-2792 Reference lists should consume magic blank lines
May 16, 2013
9d15b72
ULYSSES-2799 Consume magic blank lines inside code blocks
May 16, 2013
1de45a3
Merge branch 'master' of https://github.com/hydrixos/peg-multimarkdown
May 16, 2013
f77284f
Fixes a project setting
May 16, 2013
c2a0ba0
Updated Project.
macguru Jun 18, 2013
975c6e5
Ignore three-dash separators to be compatible with Jekyll frontmatter
hydrixos Jan 7, 2014
50d50ca
Replace strtok by strsep
hydrixos Jan 7, 2014
48e8756
ULYSSES-3966 Ensure whitespaces are kept when keeping inline double l…
hydrixos May 8, 2014
8c302c0
Adaptations for ARM64
hydrixos Nov 14, 2013
c0c91a7
Fixes an architecture setting
hydrixos Dec 9, 2013
726d8be
Fixed architecture settings for iOS simulator.
goetzf Aug 1, 2014
18530b9
Added 64 bit archs.
macguru Sep 22, 2014
0cd52f7
Remove pegleg sources to simplify compilation
hydrixos Oct 1, 2014
1d3bf08
Project version update.
macguru Oct 10, 2014
6934000
Updated project for Xcode 6.3.
macguru Apr 9, 2015
d501d09
Added missing deployment target setting for iOS builds.
macguru Aug 26, 2015
acfbec1
ULYSSES-5765 Fixes a roundtrip parsing issue
hydrixos Mar 17, 2016
81c68e1
Keep raw source blocks
hydrixos Jul 19, 2016
502bfe4
Fixes wrong usage of internal parser variables when parsing fenced co…
hydrixos Sep 29, 2016
2200dfc
Fixes a compiler warning
hydrixos Apr 25, 2017
f8ffa9a
Fixes warnings and projects settings for Xcode 9
hydrixos Jun 7, 2017
861464b
Disable deprecated i386 support
hydrixos Jan 30, 2018
f61928a
ULYSSES-2688 Parsing Fenced Codeblock language Identifier
hydrixos Feb 5, 2018
dd46d00
Disable tab replacement
hydrixos Feb 16, 2018
c3de676
Update project.
macguru Apr 4, 2018
69dc004
Revert weak enabed leading to compile errors.
macguru Apr 4, 2018
d2c96b9
Remove i386 architecture.
macguru Apr 5, 2018
d5f8d3e
Fixes Xcode 10 related warnings
hydrixos Jul 5, 2018
94e45e9
Moderninze deployment target
hydrixos Jul 5, 2018
b4fd53e
Ensure proper rebuild when changing grammar
hydrixos Feb 14, 2019
1b7ac5e
Allow to enable image attributes separately
hydrixos Feb 14, 2019
4cc5c9b
Allow percent sign in unquoted attributes
hydrixos Feb 14, 2019
26c394d
Add support for inline image attributes
hydrixos Feb 14, 2019
dac221f
Read escaped attribute values
hydrixos Feb 14, 2019
b155ae3
Merge pull request #1 from hydrixos/feature/image-sizes
hydrixos Feb 14, 2019
dceb980
Dont make header public.
macguru Feb 15, 2019
3700826
Update project settings for Xcode 10.2
hydrixos Mar 27, 2019
0f98e42
Update for Xcode 12
macguru Jul 17, 2020
84d89ec
Updated to current environments
macguru Jul 22, 2020
fa227cc
Prevent install of libmultimarkdown in to Archives
hydrixos Aug 27, 2020
ca6820b
Allows Natural Cell Alignment
fluecke Jul 7, 2021
662be75
Simplifies Debugging
fluecke Jul 7, 2021
6db5969
Parse Tables Prepared By Ulysses
fluecke Jul 12, 2021
ae52b8e
Adds a function to help debugging
fluecke Jul 12, 2021
c0ae524
Use Custom Rule
fluecke Jul 12, 2021
014be76
Merge pull request #2 from hydrixos/table-updates
hydrixos Jul 15, 2021
bbeeb25
Imporve Handling Of Natural Cell Alignment
fluecke Jul 20, 2021
6ab33ac
Merge pull request #3 from hydrixos/table-updates
hydrixos Jul 23, 2021
21c4197
Convert to Universal Framework
mangerlahn Jul 15, 2021
57d82c0
Merge pull request #4 from hydrixos/feature/universal-framework
mangerlahn Aug 12, 2021
90bc5d8
Fix Swift Preview support
mangerlahn Jan 12, 2022
8efedf2
Update for Xcode 14
mangerlahn Jul 15, 2022
9ba3b53
Allow Use Of $ For Inline Math
fluecke Oct 10, 2022
6c58b0b
Fix warning in Xcode 14.3
mangerlahn Feb 17, 2023
5aa505d
Improve math parsing
fluecke Jun 8, 2023
5a689da
Improve generated HTML Code
fluecke Jun 13, 2023
2618121
Merge branch 'master' into feature/math-tag
fluecke Jun 13, 2023
58b8880
Merge pull request #5 from ulyssesapp/feature/math-tag
hydrixos Jun 16, 2023
0faf168
LYSSES-17280 Fix: Markdown: Ignore equation tags containing whitespace
fluecke Jul 27, 2023
a39eee7
Merge pull request #6 from ulyssesapp/bugfix/math-fixes
hydrixos Jul 27, 2023
7be8fe8
Added support for inserting labels for headings and table captions.
goetzf Jan 11, 2024
3f3fe33
Merge branch 'feature/heading-labels'
goetzf May 16, 2024
8e0ea8a
Xcode 16
mangerlahn Jun 25, 2024
a0bb62f
Enable script sandboxing
mangerlahn Jun 25, 2024
9f64328
Add support for parsing deletions
mangerlahn Jun 18, 2024
8b8144d
Add support for parsing comments
mangerlahn Jun 18, 2024
42832e6
Regenerate parser
mangerlahn Aug 12, 2024
494848f
Remove empty paragraph marker
mangerlahn Aug 13, 2024
485911b
Merge pull request #7 from ulyssesapp/feature/more-markup
mangerlahn Sep 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ test.*
testing/*

*.o
markdown_parser.c
/markdown
/multimarkdown
/multimarkdown.exe
Expand All @@ -34,3 +33,9 @@ peg-0.1.4/leg

*.pbxuser
*.perspectivev3

MultiMarkdown.xcodeproj/project.xcworkspace/
MultiMarkdown.xcodeproj/xcuserdata/

/peg-0.1.9/peg
/peg-0.1.9/leg
24 changes: 0 additions & 24 deletions Configuration/Common.xcconfig

This file was deleted.

14 changes: 0 additions & 14 deletions Configuration/Debug.xcconfig

This file was deleted.

13 changes: 0 additions & 13 deletions Configuration/Release.xcconfig

This file was deleted.

22 changes: 0 additions & 22 deletions Configuration/Release10.6+.xcconfig

This file was deleted.

2 changes: 1 addition & 1 deletion GLibFacade.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ GString* g_string_new(char *startingString)
{
GString* newString = malloc(sizeof(GString));

if (startingString == NULL) startingString = "";
if (startingString == NULL) startingString = "\0";

size_t startingBufferSize = kStringBufferStartingSize;
size_t startingStringSize = strlen(startingString);
Expand Down
13 changes: 9 additions & 4 deletions GLibFacade.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,13 @@ typedef int gboolean;
typedef char gchar;

/* This style of bool is used in shared source code */
#define FALSE false
#define TRUE true
#ifndef FALSE
#define FALSE false
#endif

#ifndef TRUE
#define TRUE true
#endif

/* WE implement minimal mirror implementations of GLib's GString and GSList
* sufficient to cover the functionality required by MultiMarkdown.
Expand All @@ -38,8 +43,8 @@ typedef struct

/* Where in the str buffer will we add new characters */
/* or append new strings? */
int currentStringBufferSize;
int currentStringLength;
size_t currentStringBufferSize;
size_t currentStringLength;
} GString;

GString* g_string_new(char *startingString);
Expand Down
192 changes: 0 additions & 192 deletions Makefile

This file was deleted.

Loading