markly 0.12.1 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/markly/node.rb +18 -0
- data/lib/markly/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +3 -45
- metadata.gz.sig +0 -0
- data/ext/markly/Makefile +0 -270
- data/ext/markly/arena.o +0 -0
- data/ext/markly/autolink.o +0 -0
- data/ext/markly/blocks.o +0 -0
- data/ext/markly/buffer.o +0 -0
- data/ext/markly/cmark.o +0 -0
- data/ext/markly/cmark_ctype.o +0 -0
- data/ext/markly/commonmark.o +0 -0
- data/ext/markly/core-extensions.o +0 -0
- data/ext/markly/ext_scanners.o +0 -0
- data/ext/markly/footnotes.o +0 -0
- data/ext/markly/houdini_href_e.o +0 -0
- data/ext/markly/houdini_html_e.o +0 -0
- data/ext/markly/houdini_html_u.o +0 -0
- data/ext/markly/html.o +0 -0
- data/ext/markly/inlines.o +0 -0
- data/ext/markly/iterator.o +0 -0
- data/ext/markly/latex.o +0 -0
- data/ext/markly/linked_list.o +0 -0
- data/ext/markly/man.o +0 -0
- data/ext/markly/map.o +0 -0
- data/ext/markly/markly.bundle +0 -0
- data/ext/markly/markly.o +0 -0
- data/ext/markly/node.o +0 -0
- data/ext/markly/plaintext.o +0 -0
- data/ext/markly/plugin.o +0 -0
- data/ext/markly/references.o +0 -0
- data/ext/markly/registry.o +0 -0
- data/ext/markly/render.o +0 -0
- data/ext/markly/scanners.o +0 -0
- data/ext/markly/strikethrough.o +0 -0
- data/ext/markly/syntax_extension.o +0 -0
- data/ext/markly/table.o +0 -0
- data/ext/markly/tagfilter.o +0 -0
- data/ext/markly/tasklist.o +0 -0
- data/ext/markly/utf8.o +0 -0
- data/ext/markly/xml.o +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 16f7d1b58c0978a73757f549d15ab5930fce2c7893345b45bc80fd5d7cd29a8f
|
|
4
|
+
data.tar.gz: 2232e3fd1897f656f47720fa6220896d65c6ddeafca87ab25f158d3a7939ddad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e8c4a0b0a458edca3865244a1933191f7a01749bef0cc1d9f7137a43d79c65f8de67138a89f8687018954d576a26a46ee85f18621f489d826ef6b262e0f17e2
|
|
7
|
+
data.tar.gz: 58221e79a6a07c53949cb5a8751df4d1d32db5fa3c976ae7ca003909e5e2ed20da4041794a57bb10db51be7baa5e06a28e022fb5d93045b5391f84d82c9d314b
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/markly/node.rb
CHANGED
|
@@ -149,6 +149,24 @@ module Markly
|
|
|
149
149
|
end
|
|
150
150
|
end
|
|
151
151
|
|
|
152
|
+
# Append the given node before the current node.
|
|
153
|
+
#
|
|
154
|
+
# It's okay to provide a document node, it's children will be appended.
|
|
155
|
+
#
|
|
156
|
+
# @parameter node [Markly::Node] the node to append.
|
|
157
|
+
def append_before(node)
|
|
158
|
+
if node.type == :document
|
|
159
|
+
node = node.first_child
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
current = self
|
|
163
|
+
while node
|
|
164
|
+
next_node = node.next
|
|
165
|
+
current.insert_before(node)
|
|
166
|
+
node = next_node
|
|
167
|
+
end
|
|
168
|
+
end
|
|
169
|
+
|
|
152
170
|
# Extract the children as a fragment.
|
|
153
171
|
#
|
|
154
172
|
# @returns [Markly::Node] the fragment.
|
data/lib/markly/version.rb
CHANGED
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: markly
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.13.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Garen Torikian
|
|
@@ -24,7 +24,6 @@ authors:
|
|
|
24
24
|
- Roberto Hidalgo
|
|
25
25
|
- Ross Kaffenberger
|
|
26
26
|
- Vitaliy Klachkov
|
|
27
|
-
autorequire:
|
|
28
27
|
bindir: bin
|
|
29
28
|
cert_chain:
|
|
30
29
|
- |
|
|
@@ -56,26 +55,19 @@ cert_chain:
|
|
|
56
55
|
Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
|
|
57
56
|
voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
|
|
58
57
|
-----END CERTIFICATE-----
|
|
59
|
-
date:
|
|
58
|
+
date: 2025-03-22 00:00:00.000000000 Z
|
|
60
59
|
dependencies: []
|
|
61
|
-
description:
|
|
62
|
-
email:
|
|
63
60
|
executables: []
|
|
64
61
|
extensions:
|
|
65
62
|
- ext/markly/extconf.rb
|
|
66
63
|
extra_rdoc_files: []
|
|
67
64
|
files:
|
|
68
|
-
- ext/markly/Makefile
|
|
69
65
|
- ext/markly/arena.c
|
|
70
|
-
- ext/markly/arena.o
|
|
71
66
|
- ext/markly/autolink.c
|
|
72
67
|
- ext/markly/autolink.h
|
|
73
|
-
- ext/markly/autolink.o
|
|
74
68
|
- ext/markly/blocks.c
|
|
75
|
-
- ext/markly/blocks.o
|
|
76
69
|
- ext/markly/buffer.c
|
|
77
70
|
- ext/markly/buffer.h
|
|
78
|
-
- ext/markly/buffer.o
|
|
79
71
|
- ext/markly/case_fold_switch.inc
|
|
80
72
|
- ext/markly/chunk.h
|
|
81
73
|
- ext/markly/cmark-gfm-core-extensions.h
|
|
@@ -85,94 +77,62 @@ files:
|
|
|
85
77
|
- ext/markly/cmark-gfm_export.h
|
|
86
78
|
- ext/markly/cmark-gfm_version.h
|
|
87
79
|
- ext/markly/cmark.c
|
|
88
|
-
- ext/markly/cmark.o
|
|
89
80
|
- ext/markly/cmark_ctype.c
|
|
90
81
|
- ext/markly/cmark_ctype.h
|
|
91
|
-
- ext/markly/cmark_ctype.o
|
|
92
82
|
- ext/markly/commonmark.c
|
|
93
|
-
- ext/markly/commonmark.o
|
|
94
83
|
- ext/markly/config.h
|
|
95
84
|
- ext/markly/core-extensions.c
|
|
96
|
-
- ext/markly/core-extensions.o
|
|
97
85
|
- ext/markly/entities.inc
|
|
98
86
|
- ext/markly/ext_scanners.c
|
|
99
87
|
- ext/markly/ext_scanners.h
|
|
100
|
-
- ext/markly/ext_scanners.o
|
|
101
88
|
- ext/markly/extconf.rb
|
|
102
89
|
- ext/markly/footnotes.c
|
|
103
90
|
- ext/markly/footnotes.h
|
|
104
|
-
- ext/markly/footnotes.o
|
|
105
91
|
- ext/markly/houdini.h
|
|
106
92
|
- ext/markly/houdini_href_e.c
|
|
107
|
-
- ext/markly/houdini_href_e.o
|
|
108
93
|
- ext/markly/houdini_html_e.c
|
|
109
|
-
- ext/markly/houdini_html_e.o
|
|
110
94
|
- ext/markly/houdini_html_u.c
|
|
111
|
-
- ext/markly/houdini_html_u.o
|
|
112
95
|
- ext/markly/html.c
|
|
113
96
|
- ext/markly/html.h
|
|
114
|
-
- ext/markly/html.o
|
|
115
97
|
- ext/markly/inlines.c
|
|
116
98
|
- ext/markly/inlines.h
|
|
117
|
-
- ext/markly/inlines.o
|
|
118
99
|
- ext/markly/iterator.c
|
|
119
100
|
- ext/markly/iterator.h
|
|
120
|
-
- ext/markly/iterator.o
|
|
121
101
|
- ext/markly/latex.c
|
|
122
|
-
- ext/markly/latex.o
|
|
123
102
|
- ext/markly/linked_list.c
|
|
124
|
-
- ext/markly/linked_list.o
|
|
125
103
|
- ext/markly/man.c
|
|
126
|
-
- ext/markly/man.o
|
|
127
104
|
- ext/markly/map.c
|
|
128
105
|
- ext/markly/map.h
|
|
129
|
-
- ext/markly/map.o
|
|
130
|
-
- ext/markly/markly.bundle
|
|
131
106
|
- ext/markly/markly.c
|
|
132
107
|
- ext/markly/markly.h
|
|
133
|
-
- ext/markly/markly.o
|
|
134
108
|
- ext/markly/node.c
|
|
135
109
|
- ext/markly/node.h
|
|
136
|
-
- ext/markly/node.o
|
|
137
110
|
- ext/markly/parser.h
|
|
138
111
|
- ext/markly/plaintext.c
|
|
139
|
-
- ext/markly/plaintext.o
|
|
140
112
|
- ext/markly/plugin.c
|
|
141
113
|
- ext/markly/plugin.h
|
|
142
|
-
- ext/markly/plugin.o
|
|
143
114
|
- ext/markly/references.c
|
|
144
115
|
- ext/markly/references.h
|
|
145
|
-
- ext/markly/references.o
|
|
146
116
|
- ext/markly/registry.c
|
|
147
117
|
- ext/markly/registry.h
|
|
148
|
-
- ext/markly/registry.o
|
|
149
118
|
- ext/markly/render.c
|
|
150
119
|
- ext/markly/render.h
|
|
151
|
-
- ext/markly/render.o
|
|
152
120
|
- ext/markly/scanners.c
|
|
153
121
|
- ext/markly/scanners.h
|
|
154
|
-
- ext/markly/scanners.o
|
|
155
122
|
- ext/markly/scanners.re
|
|
156
123
|
- ext/markly/strikethrough.c
|
|
157
124
|
- ext/markly/strikethrough.h
|
|
158
|
-
- ext/markly/strikethrough.o
|
|
159
125
|
- ext/markly/syntax_extension.c
|
|
160
126
|
- ext/markly/syntax_extension.h
|
|
161
|
-
- ext/markly/syntax_extension.o
|
|
162
127
|
- ext/markly/table.c
|
|
163
128
|
- ext/markly/table.h
|
|
164
|
-
- ext/markly/table.o
|
|
165
129
|
- ext/markly/tagfilter.c
|
|
166
130
|
- ext/markly/tagfilter.h
|
|
167
|
-
- ext/markly/tagfilter.o
|
|
168
131
|
- ext/markly/tasklist.c
|
|
169
132
|
- ext/markly/tasklist.h
|
|
170
|
-
- ext/markly/tasklist.o
|
|
171
133
|
- ext/markly/utf8.c
|
|
172
134
|
- ext/markly/utf8.h
|
|
173
|
-
- ext/markly/utf8.o
|
|
174
135
|
- ext/markly/xml.c
|
|
175
|
-
- ext/markly/xml.o
|
|
176
136
|
- lib/markly.rb
|
|
177
137
|
- lib/markly/flags.rb
|
|
178
138
|
- lib/markly/node.rb
|
|
@@ -189,7 +149,6 @@ metadata:
|
|
|
189
149
|
documentation_uri: https://ioquatix.github.io/markly/
|
|
190
150
|
funding_uri: https://github.com/sponsors/ioquatix/
|
|
191
151
|
source_code_uri: https://github.com/ioquatix/markly.git
|
|
192
|
-
post_install_message:
|
|
193
152
|
rdoc_options: []
|
|
194
153
|
require_paths:
|
|
195
154
|
- lib
|
|
@@ -204,8 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
204
163
|
- !ruby/object:Gem::Version
|
|
205
164
|
version: '0'
|
|
206
165
|
requirements: []
|
|
207
|
-
rubygems_version: 3.
|
|
208
|
-
signing_key:
|
|
166
|
+
rubygems_version: 3.6.2
|
|
209
167
|
specification_version: 4
|
|
210
168
|
summary: CommonMark parser and renderer. Written in C, wrapped in Ruby.
|
|
211
169
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|
data/ext/markly/Makefile
DELETED
|
@@ -1,270 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
SHELL = /bin/sh
|
|
3
|
-
|
|
4
|
-
# V=0 quiet, V=1 verbose. other values don't work.
|
|
5
|
-
V = 0
|
|
6
|
-
V0 = $(V:0=)
|
|
7
|
-
Q1 = $(V:1=)
|
|
8
|
-
Q = $(Q1:0=@)
|
|
9
|
-
ECHO1 = $(V:1=@ :)
|
|
10
|
-
ECHO = $(ECHO1:0=@ echo)
|
|
11
|
-
NULLCMD = :
|
|
12
|
-
|
|
13
|
-
#### Start of system configuration section. ####
|
|
14
|
-
|
|
15
|
-
srcdir = .
|
|
16
|
-
topdir = /Users/samuel/.rubies/ruby-3.3.4/include/ruby-3.3.0
|
|
17
|
-
hdrdir = $(topdir)
|
|
18
|
-
arch_hdrdir = /Users/samuel/.rubies/ruby-3.3.4/include/ruby-3.3.0/arm64-darwin23
|
|
19
|
-
PATH_SEPARATOR = :
|
|
20
|
-
VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby
|
|
21
|
-
prefix = $(DESTDIR)/Users/samuel/.rubies/ruby-3.3.4
|
|
22
|
-
rubysitearchprefix = $(rubylibprefix)/$(sitearch)
|
|
23
|
-
rubyarchprefix = $(rubylibprefix)/$(arch)
|
|
24
|
-
rubylibprefix = $(libdir)/$(RUBY_BASE_NAME)
|
|
25
|
-
exec_prefix = $(prefix)
|
|
26
|
-
vendorarchhdrdir = $(vendorhdrdir)/$(sitearch)
|
|
27
|
-
sitearchhdrdir = $(sitehdrdir)/$(sitearch)
|
|
28
|
-
rubyarchhdrdir = $(rubyhdrdir)/$(arch)
|
|
29
|
-
vendorhdrdir = $(rubyhdrdir)/vendor_ruby
|
|
30
|
-
sitehdrdir = $(rubyhdrdir)/site_ruby
|
|
31
|
-
rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
|
|
32
|
-
vendorarchdir = $(vendorlibdir)/$(sitearch)
|
|
33
|
-
vendorlibdir = $(vendordir)/$(ruby_version)
|
|
34
|
-
vendordir = $(rubylibprefix)/vendor_ruby
|
|
35
|
-
sitearchdir = $(sitelibdir)/$(sitearch)
|
|
36
|
-
sitelibdir = $(sitedir)/$(ruby_version)
|
|
37
|
-
sitedir = $(rubylibprefix)/site_ruby
|
|
38
|
-
rubyarchdir = $(rubylibdir)/$(arch)
|
|
39
|
-
rubylibdir = $(rubylibprefix)/$(ruby_version)
|
|
40
|
-
sitearchincludedir = $(includedir)/$(sitearch)
|
|
41
|
-
archincludedir = $(includedir)/$(arch)
|
|
42
|
-
sitearchlibdir = $(libdir)/$(sitearch)
|
|
43
|
-
archlibdir = $(libdir)/$(arch)
|
|
44
|
-
ridir = $(datarootdir)/$(RI_BASE_NAME)
|
|
45
|
-
mandir = $(datarootdir)/man
|
|
46
|
-
localedir = $(datarootdir)/locale
|
|
47
|
-
libdir = $(exec_prefix)/lib
|
|
48
|
-
psdir = $(docdir)
|
|
49
|
-
pdfdir = $(docdir)
|
|
50
|
-
dvidir = $(docdir)
|
|
51
|
-
htmldir = $(docdir)
|
|
52
|
-
infodir = $(datarootdir)/info
|
|
53
|
-
docdir = $(datarootdir)/doc/$(PACKAGE)
|
|
54
|
-
oldincludedir = $(DESTDIR)/usr/include
|
|
55
|
-
includedir = $(SDKROOT)$(prefix)/include
|
|
56
|
-
runstatedir = $(localstatedir)/run
|
|
57
|
-
localstatedir = $(prefix)/var
|
|
58
|
-
sharedstatedir = $(prefix)/com
|
|
59
|
-
sysconfdir = $(prefix)/etc
|
|
60
|
-
datadir = $(datarootdir)
|
|
61
|
-
datarootdir = $(prefix)/share
|
|
62
|
-
libexecdir = $(exec_prefix)/libexec
|
|
63
|
-
sbindir = $(exec_prefix)/sbin
|
|
64
|
-
bindir = $(exec_prefix)/bin
|
|
65
|
-
archdir = $(rubyarchdir)
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
CC_WRAPPER =
|
|
69
|
-
CC = clang
|
|
70
|
-
CXX = clang++
|
|
71
|
-
LIBRUBY = $(LIBRUBY_A)
|
|
72
|
-
LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
|
|
73
|
-
LIBRUBYARG_SHARED =
|
|
74
|
-
LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static -framework CoreFoundation $(MAINLIBS)
|
|
75
|
-
empty =
|
|
76
|
-
OUTFLAG = -o $(empty)
|
|
77
|
-
COUTFLAG = -o $(empty)
|
|
78
|
-
CSRCFLAG = $(empty)
|
|
79
|
-
|
|
80
|
-
RUBY_EXTCONF_H =
|
|
81
|
-
cflags = -fdeclspec $(optflags) $(debugflags) $(warnflags)
|
|
82
|
-
cxxflags =
|
|
83
|
-
optflags = -O3 -fno-fast-math
|
|
84
|
-
debugflags = -ggdb3
|
|
85
|
-
warnflags = -Wall -Wextra -Wextra-tokens -Wdeprecated-declarations -Wdivision-by-zero -Wdiv-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wold-style-definition -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wmisleading-indentation -Wundef
|
|
86
|
-
cppflags =
|
|
87
|
-
CCDLFLAGS = -fno-common
|
|
88
|
-
CFLAGS = $(CCDLFLAGS) $(cflags) -pipe -O3 -std=c99 $(ARCH_FLAG)
|
|
89
|
-
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
|
|
90
|
-
DEFS =
|
|
91
|
-
CPPFLAGS = -I/opt/local/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT $(DEFS) $(cppflags)
|
|
92
|
-
CXXFLAGS = $(CCDLFLAGS) -fdeclspec $(ARCH_FLAG)
|
|
93
|
-
ldflags = -L. -fstack-protector-strong -L/opt/local/lib
|
|
94
|
-
dldflags = -L/opt/local/lib -Wl,-undefined,dynamic_lookup -bundle_loader '$(BUILTRUBY)'
|
|
95
|
-
ARCH_FLAG = -arch arm64
|
|
96
|
-
DLDFLAGS = $(ldflags) $(dldflags) $(ARCH_FLAG)
|
|
97
|
-
LDSHARED = $(CC) -dynamic -bundle
|
|
98
|
-
LDSHAREDXX = $(CXX) -dynamic -bundle
|
|
99
|
-
AR = ar
|
|
100
|
-
EXEEXT =
|
|
101
|
-
|
|
102
|
-
RUBY_INSTALL_NAME = $(RUBY_BASE_NAME)
|
|
103
|
-
RUBY_SO_NAME = ruby.3.3
|
|
104
|
-
RUBYW_INSTALL_NAME =
|
|
105
|
-
RUBY_VERSION_NAME = $(RUBY_BASE_NAME)-$(ruby_version)
|
|
106
|
-
RUBYW_BASE_NAME = rubyw
|
|
107
|
-
RUBY_BASE_NAME = ruby
|
|
108
|
-
|
|
109
|
-
arch = arm64-darwin23
|
|
110
|
-
sitearch = $(arch)
|
|
111
|
-
ruby_version = 3.3.0
|
|
112
|
-
ruby = $(bindir)/$(RUBY_BASE_NAME)
|
|
113
|
-
RUBY = $(ruby)
|
|
114
|
-
BUILTRUBY = $(bindir)/$(RUBY_BASE_NAME)
|
|
115
|
-
ruby_headers = $(hdrdir)/ruby.h $(hdrdir)/ruby/backward.h $(hdrdir)/ruby/ruby.h $(hdrdir)/ruby/defines.h $(hdrdir)/ruby/missing.h $(hdrdir)/ruby/intern.h $(hdrdir)/ruby/st.h $(hdrdir)/ruby/subst.h $(arch_hdrdir)/ruby/config.h
|
|
116
|
-
|
|
117
|
-
RM = rm -f
|
|
118
|
-
RM_RF = rm -fr
|
|
119
|
-
RMDIRS = rmdir -p
|
|
120
|
-
MAKEDIRS = /opt/local/bin/gmkdir -p
|
|
121
|
-
INSTALL = /opt/local/bin/ginstall -c
|
|
122
|
-
INSTALL_PROG = $(INSTALL) -m 0755
|
|
123
|
-
INSTALL_DATA = $(INSTALL) -m 644
|
|
124
|
-
COPY = cp
|
|
125
|
-
TOUCH = exit >
|
|
126
|
-
|
|
127
|
-
#### End of system configuration section. ####
|
|
128
|
-
|
|
129
|
-
preload =
|
|
130
|
-
libpath = . $(libdir) /opt/local/lib
|
|
131
|
-
LIBPATH = -L. -L$(libdir) -L/opt/local/lib
|
|
132
|
-
DEFFILE =
|
|
133
|
-
|
|
134
|
-
CLEANFILES = mkmf.log
|
|
135
|
-
DISTCLEANFILES =
|
|
136
|
-
DISTCLEANDIRS =
|
|
137
|
-
|
|
138
|
-
extout =
|
|
139
|
-
extout_prefix =
|
|
140
|
-
target_prefix = /markly
|
|
141
|
-
LOCAL_LIBS =
|
|
142
|
-
LIBS = -lpthread
|
|
143
|
-
ORIG_SRCS = arena.c autolink.c blocks.c buffer.c cmark.c cmark_ctype.c commonmark.c core-extensions.c ext_scanners.c footnotes.c houdini_href_e.c houdini_html_e.c houdini_html_u.c html.c inlines.c iterator.c latex.c linked_list.c man.c map.c markly.c node.c plaintext.c plugin.c references.c registry.c render.c scanners.c strikethrough.c syntax_extension.c table.c tagfilter.c tasklist.c utf8.c xml.c
|
|
144
|
-
SRCS = $(ORIG_SRCS)
|
|
145
|
-
OBJS = arena.o autolink.o blocks.o buffer.o cmark.o cmark_ctype.o commonmark.o core-extensions.o ext_scanners.o footnotes.o houdini_href_e.o houdini_html_e.o houdini_html_u.o html.o inlines.o iterator.o latex.o linked_list.o man.o map.o markly.o node.o plaintext.o plugin.o references.o registry.o render.o scanners.o strikethrough.o syntax_extension.o table.o tagfilter.o tasklist.o utf8.o xml.o
|
|
146
|
-
HDRS = $(srcdir)/autolink.h $(srcdir)/buffer.h $(srcdir)/chunk.h $(srcdir)/cmark-gfm-core-extensions.h $(srcdir)/cmark-gfm-extension_api.h $(srcdir)/cmark-gfm-extensions_export.h $(srcdir)/cmark-gfm.h $(srcdir)/cmark-gfm_export.h $(srcdir)/cmark-gfm_version.h $(srcdir)/cmark_ctype.h $(srcdir)/config.h $(srcdir)/ext_scanners.h $(srcdir)/footnotes.h $(srcdir)/houdini.h $(srcdir)/html.h $(srcdir)/inlines.h $(srcdir)/iterator.h $(srcdir)/map.h $(srcdir)/markly.h $(srcdir)/node.h $(srcdir)/parser.h $(srcdir)/plugin.h $(srcdir)/references.h $(srcdir)/registry.h $(srcdir)/render.h $(srcdir)/scanners.h $(srcdir)/strikethrough.h $(srcdir)/syntax_extension.h $(srcdir)/table.h $(srcdir)/tagfilter.h $(srcdir)/tasklist.h $(srcdir)/utf8.h
|
|
147
|
-
LOCAL_HDRS =
|
|
148
|
-
TARGET = markly
|
|
149
|
-
TARGET_NAME = markly
|
|
150
|
-
TARGET_ENTRY = Init_$(TARGET_NAME)
|
|
151
|
-
DLLIB = $(TARGET).bundle
|
|
152
|
-
EXTSTATIC =
|
|
153
|
-
STATIC_LIB =
|
|
154
|
-
|
|
155
|
-
TIMESTAMP_DIR = .
|
|
156
|
-
BINDIR = $(bindir)
|
|
157
|
-
RUBYCOMMONDIR = $(sitedir)$(target_prefix)
|
|
158
|
-
RUBYLIBDIR = $(sitelibdir)$(target_prefix)
|
|
159
|
-
RUBYARCHDIR = $(sitearchdir)$(target_prefix)
|
|
160
|
-
HDRDIR = $(sitehdrdir)$(target_prefix)
|
|
161
|
-
ARCHHDRDIR = $(sitearchhdrdir)$(target_prefix)
|
|
162
|
-
TARGET_SO_DIR =
|
|
163
|
-
TARGET_SO = $(TARGET_SO_DIR)$(DLLIB)
|
|
164
|
-
CLEANLIBS = $(TARGET_SO) $(TARGET_SO).dSYM
|
|
165
|
-
CLEANOBJS = $(OBJS) *.bak
|
|
166
|
-
TARGET_SO_DIR_TIMESTAMP = $(TIMESTAMP_DIR)/.sitearchdir.-.markly.time
|
|
167
|
-
|
|
168
|
-
all: $(DLLIB)
|
|
169
|
-
static: $(STATIC_LIB)
|
|
170
|
-
.PHONY: all install static install-so install-rb
|
|
171
|
-
.PHONY: clean clean-so clean-static clean-rb
|
|
172
|
-
|
|
173
|
-
clean-static::
|
|
174
|
-
clean-rb-default::
|
|
175
|
-
clean-rb::
|
|
176
|
-
clean-so::
|
|
177
|
-
clean: clean-so clean-static clean-rb-default clean-rb
|
|
178
|
-
-$(Q)$(RM_RF) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES) .*.time
|
|
179
|
-
|
|
180
|
-
distclean-rb-default::
|
|
181
|
-
distclean-rb::
|
|
182
|
-
distclean-so::
|
|
183
|
-
distclean-static::
|
|
184
|
-
distclean: clean distclean-so distclean-static distclean-rb-default distclean-rb
|
|
185
|
-
-$(Q)$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
|
|
186
|
-
-$(Q)$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
|
|
187
|
-
-$(Q)$(RMDIRS) $(DISTCLEANDIRS) 2> /dev/null || true
|
|
188
|
-
|
|
189
|
-
realclean: distclean
|
|
190
|
-
install: install-so install-rb
|
|
191
|
-
|
|
192
|
-
install-so: $(DLLIB) $(TARGET_SO_DIR_TIMESTAMP)
|
|
193
|
-
$(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
|
|
194
|
-
clean-static::
|
|
195
|
-
-$(Q)$(RM) $(STATIC_LIB)
|
|
196
|
-
install-rb: pre-install-rb do-install-rb install-rb-default
|
|
197
|
-
install-rb-default: pre-install-rb-default do-install-rb-default
|
|
198
|
-
pre-install-rb: Makefile
|
|
199
|
-
pre-install-rb-default: Makefile
|
|
200
|
-
do-install-rb:
|
|
201
|
-
do-install-rb-default:
|
|
202
|
-
pre-install-rb-default:
|
|
203
|
-
@$(NULLCMD)
|
|
204
|
-
$(TARGET_SO_DIR_TIMESTAMP):
|
|
205
|
-
$(Q) $(MAKEDIRS) $(@D) $(RUBYARCHDIR)
|
|
206
|
-
$(Q) $(TOUCH) $@
|
|
207
|
-
|
|
208
|
-
site-install: site-install-so site-install-rb
|
|
209
|
-
site-install-so: install-so
|
|
210
|
-
site-install-rb: install-rb
|
|
211
|
-
|
|
212
|
-
.SUFFIXES: .c .m .cc .mm .cxx .cpp .o .S
|
|
213
|
-
|
|
214
|
-
.cc.o:
|
|
215
|
-
$(ECHO) compiling $(<)
|
|
216
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
|
|
217
|
-
|
|
218
|
-
.cc.S:
|
|
219
|
-
$(ECHO) translating $(<)
|
|
220
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
|
|
221
|
-
|
|
222
|
-
.mm.o:
|
|
223
|
-
$(ECHO) compiling $(<)
|
|
224
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
|
|
225
|
-
|
|
226
|
-
.mm.S:
|
|
227
|
-
$(ECHO) translating $(<)
|
|
228
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
|
|
229
|
-
|
|
230
|
-
.cxx.o:
|
|
231
|
-
$(ECHO) compiling $(<)
|
|
232
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
|
|
233
|
-
|
|
234
|
-
.cxx.S:
|
|
235
|
-
$(ECHO) translating $(<)
|
|
236
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
|
|
237
|
-
|
|
238
|
-
.cpp.o:
|
|
239
|
-
$(ECHO) compiling $(<)
|
|
240
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
|
|
241
|
-
|
|
242
|
-
.cpp.S:
|
|
243
|
-
$(ECHO) translating $(<)
|
|
244
|
-
$(Q) $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
|
|
245
|
-
|
|
246
|
-
.c.o:
|
|
247
|
-
$(ECHO) compiling $(<)
|
|
248
|
-
$(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
|
|
249
|
-
|
|
250
|
-
.c.S:
|
|
251
|
-
$(ECHO) translating $(<)
|
|
252
|
-
$(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
|
|
253
|
-
|
|
254
|
-
.m.o:
|
|
255
|
-
$(ECHO) compiling $(<)
|
|
256
|
-
$(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -c $(CSRCFLAG)$<
|
|
257
|
-
|
|
258
|
-
.m.S:
|
|
259
|
-
$(ECHO) translating $(<)
|
|
260
|
-
$(Q) $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) $(COUTFLAG)$@ -S $(CSRCFLAG)$<
|
|
261
|
-
|
|
262
|
-
$(TARGET_SO): $(OBJS) Makefile
|
|
263
|
-
$(ECHO) linking shared-object markly/$(DLLIB)
|
|
264
|
-
-$(Q)$(RM) $(@)
|
|
265
|
-
$(Q) $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
|
|
266
|
-
$(Q) $(POSTLINK)
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
$(OBJS): $(HDRS) $(ruby_headers)
|
data/ext/markly/arena.o
DELETED
|
Binary file
|
data/ext/markly/autolink.o
DELETED
|
Binary file
|
data/ext/markly/blocks.o
DELETED
|
Binary file
|
data/ext/markly/buffer.o
DELETED
|
Binary file
|
data/ext/markly/cmark.o
DELETED
|
Binary file
|
data/ext/markly/cmark_ctype.o
DELETED
|
Binary file
|
data/ext/markly/commonmark.o
DELETED
|
Binary file
|
|
Binary file
|
data/ext/markly/ext_scanners.o
DELETED
|
Binary file
|
data/ext/markly/footnotes.o
DELETED
|
Binary file
|
data/ext/markly/houdini_href_e.o
DELETED
|
Binary file
|
data/ext/markly/houdini_html_e.o
DELETED
|
Binary file
|
data/ext/markly/houdini_html_u.o
DELETED
|
Binary file
|
data/ext/markly/html.o
DELETED
|
Binary file
|
data/ext/markly/inlines.o
DELETED
|
Binary file
|
data/ext/markly/iterator.o
DELETED
|
Binary file
|
data/ext/markly/latex.o
DELETED
|
Binary file
|
data/ext/markly/linked_list.o
DELETED
|
Binary file
|
data/ext/markly/man.o
DELETED
|
Binary file
|
data/ext/markly/map.o
DELETED
|
Binary file
|
data/ext/markly/markly.bundle
DELETED
|
Binary file
|
data/ext/markly/markly.o
DELETED
|
Binary file
|
data/ext/markly/node.o
DELETED
|
Binary file
|
data/ext/markly/plaintext.o
DELETED
|
Binary file
|
data/ext/markly/plugin.o
DELETED
|
Binary file
|
data/ext/markly/references.o
DELETED
|
Binary file
|
data/ext/markly/registry.o
DELETED
|
Binary file
|
data/ext/markly/render.o
DELETED
|
Binary file
|
data/ext/markly/scanners.o
DELETED
|
Binary file
|
data/ext/markly/strikethrough.o
DELETED
|
Binary file
|
|
Binary file
|
data/ext/markly/table.o
DELETED
|
Binary file
|
data/ext/markly/tagfilter.o
DELETED
|
Binary file
|
data/ext/markly/tasklist.o
DELETED
|
Binary file
|
data/ext/markly/utf8.o
DELETED
|
Binary file
|
data/ext/markly/xml.o
DELETED
|
Binary file
|