mizuho 0.9.10 → 0.9.11
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +18 -2
- data/asciidoc/BUGS +3 -6
- data/asciidoc/BUGS.txt +0 -3
- data/asciidoc/CHANGELOG +660 -397
- data/asciidoc/CHANGELOG.txt +237 -2
- data/asciidoc/INSTALL +14 -14
- data/asciidoc/MANIFEST +2 -0
- data/asciidoc/Makefile.in +9 -1
- data/asciidoc/README +2 -2
- data/asciidoc/a2x.py +101 -43
- data/asciidoc/asciidoc.conf +18 -11
- data/asciidoc/asciidoc.py +615 -260
- data/asciidoc/common.aap +2 -2
- data/asciidoc/configure +9 -9
- data/asciidoc/configure.ac +1 -1
- data/asciidoc/doc/a2x.1 +34 -4
- data/asciidoc/doc/a2x.1.txt +12 -0
- data/asciidoc/doc/article.pdf +0 -0
- data/asciidoc/doc/asciidoc.1 +73 -29
- data/asciidoc/doc/asciidoc.1.txt +56 -30
- data/asciidoc/doc/asciidoc.dict +23 -2
- data/asciidoc/doc/asciidoc.txt +468 -327
- data/asciidoc/doc/book.epub +0 -0
- data/asciidoc/doc/faq.txt +201 -25
- data/asciidoc/doc/latex-filter.pdf +0 -0
- data/asciidoc/doc/music-filter.pdf +0 -0
- data/asciidoc/doc/publishing-ebooks-with-asciidoc.txt +1 -1
- data/asciidoc/doc/source-highlight-filter.pdf +0 -0
- data/asciidoc/doc/source-highlight-filter.txt +48 -37
- data/asciidoc/docbook45.conf +4 -4
- data/asciidoc/examples/website/ASCIIMathML.js +938 -0
- data/asciidoc/examples/website/CHANGELOG.txt +3056 -0
- data/asciidoc/examples/website/INSTALL.txt +227 -0
- data/asciidoc/examples/website/LaTeXMathML.js +1223 -0
- data/asciidoc/examples/website/README-website.txt +29 -0
- data/asciidoc/examples/website/README.txt +35 -0
- data/asciidoc/examples/website/a2x.1.txt +358 -0
- data/asciidoc/examples/website/asciidoc-docbook-xsl.txt +65 -0
- data/asciidoc/examples/website/asciidoc-graphviz-sample.txt +170 -0
- data/asciidoc/examples/website/asciidoc.css +533 -0
- data/asciidoc/examples/website/asciidoc.js +189 -0
- data/asciidoc/examples/website/asciidocapi.txt +189 -0
- data/asciidoc/examples/website/asciimathml.txt +61 -0
- data/asciidoc/examples/website/build-website.sh +25 -0
- data/asciidoc/examples/website/customers.csv +18 -0
- data/asciidoc/examples/website/epub-notes.txt +210 -0
- data/asciidoc/examples/website/faq.txt +1298 -0
- data/asciidoc/examples/website/index.txt +502 -0
- data/asciidoc/examples/website/latex-backend.txt +192 -0
- data/asciidoc/examples/website/latex-bugs.txt +134 -0
- data/asciidoc/examples/website/latex-filter.txt +196 -0
- data/asciidoc/examples/website/latexmathml.txt +41 -0
- data/asciidoc/examples/website/layout1.conf +153 -0
- data/asciidoc/examples/website/layout1.css +65 -0
- data/asciidoc/examples/website/layout2.conf +153 -0
- data/asciidoc/examples/website/layout2.css +83 -0
- data/asciidoc/examples/website/main.aap +159 -0
- data/asciidoc/examples/website/manpage.txt +197 -0
- data/asciidoc/examples/website/music-filter.txt +148 -0
- data/asciidoc/examples/website/newlists.txt +40 -0
- data/asciidoc/examples/website/newtables.txt +743 -0
- data/asciidoc/examples/website/plugins.txt +91 -0
- data/asciidoc/examples/website/publishing-ebooks-with-asciidoc.txt +398 -0
- data/asciidoc/examples/website/slidy-example.txt +167 -0
- data/asciidoc/examples/website/slidy.txt +113 -0
- data/asciidoc/examples/website/source-highlight-filter.txt +239 -0
- data/asciidoc/examples/website/support.txt +5 -0
- data/asciidoc/examples/website/testasciidoc.txt +231 -0
- data/asciidoc/examples/website/userguide.txt +5991 -0
- data/asciidoc/examples/website/version83.txt +37 -0
- data/asciidoc/examples/website/xhtml11-quirks.css +43 -0
- data/asciidoc/filters/latex/latex2png.py +28 -12
- data/asciidoc/filters/music/music2png.py +22 -6
- data/asciidoc/filters/source/source-highlight-filter.conf +7 -5
- data/asciidoc/help.conf +147 -131
- data/asciidoc/html4.conf +1 -0
- data/asciidoc/html5.conf +37 -39
- data/asciidoc/javascripts/asciidoc.js +3 -3
- data/asciidoc/lang-de.conf +4 -0
- data/asciidoc/lang-es.conf +2 -0
- data/asciidoc/lang-fr.conf +1 -1
- data/asciidoc/lang-hu.conf +2 -0
- data/asciidoc/lang-it.conf +2 -0
- data/asciidoc/lang-nl.conf +5 -0
- data/asciidoc/lang-pt-BR.conf +2 -0
- data/asciidoc/lang-ru.conf +2 -3
- data/asciidoc/latex.conf +2 -2
- data/asciidoc/slidy.conf +4 -2
- data/asciidoc/stylesheets/asciidoc.css +29 -4
- data/asciidoc/stylesheets/docbook-xsl.css +12 -5
- data/asciidoc/stylesheets/toc2.css +1 -0
- data/asciidoc/stylesheets/xhtml11-quirks.css +1 -1
- data/asciidoc/tests/data/lang-de-man-test.txt +21 -0
- data/asciidoc/tests/data/lang-en-man-test.txt +21 -0
- data/asciidoc/tests/data/lang-es-man-test.txt +21 -0
- data/asciidoc/tests/data/lang-fr-man-test.txt +21 -0
- data/asciidoc/tests/data/lang-hu-man-test.txt +21 -0
- data/asciidoc/tests/data/lang-it-man-test.txt +21 -0
- data/asciidoc/tests/data/lang-it-test.txt +106 -0
- data/asciidoc/tests/data/lang-nl-man-test.txt +21 -0
- data/asciidoc/tests/data/lang-pt-BR-man-test.txt +21 -0
- data/asciidoc/tests/data/lang-ru-man-test.txt +21 -0
- data/asciidoc/tests/data/lang-uk-man-test.txt +21 -0
- data/asciidoc/tests/data/testcases.conf +10 -0
- data/asciidoc/tests/data/testcases.txt +40 -0
- data/asciidoc/tests/testasciidoc.conf +143 -17
- data/asciidoc/tests/testasciidoc.py +11 -2
- data/asciidoc/{stylesheets → themes/flask}/flask.css +0 -0
- data/asciidoc/{stylesheets → themes/volnitsky}/volnitsky.css +1 -1
- data/asciidoc/vim/ftdetect/asciidoc_filetype.vim +1 -1
- data/asciidoc/vim/syntax/asciidoc.vim +1 -1
- data/asciidoc/xhtml11-quirks.conf +2 -2
- data/asciidoc/xhtml11.conf +35 -37
- data/lib/mizuho.rb +1 -1
- data/lib/mizuho/generator.rb +3 -1
- data/source-highlight/darwin/source-highlight +0 -0
- data/templates/juvia.js +30 -5
- metadata +58 -9
- data/asciidoc/stylesheets/asciidoc-manpage.css +0 -18
- data/asciidoc/stylesheets/flask-manpage.css +0 -1
- data/asciidoc/stylesheets/volnitsky-manpage.css +0 -1
data/lib/mizuho.rb
CHANGED
data/lib/mizuho/generator.rb
CHANGED
Binary file
|
data/templates/juvia.js
CHANGED
@@ -20,12 +20,19 @@ Mizuho.showLightbox = $.proxy(function(creationCallback, closeCallback) {
|
|
20
20
|
'</div>');
|
21
21
|
var shadow = $('#comments_lightbox_shadow', lightbox);
|
22
22
|
var contents = $('#comments_lightbox_contents > .shell', lightbox);
|
23
|
-
|
24
|
-
|
25
|
-
if (
|
26
|
-
|
23
|
+
|
24
|
+
function close() {
|
25
|
+
if (lightbox) {
|
26
|
+
lightbox.remove();
|
27
|
+
lightbox = undefined;
|
28
|
+
if (closeCallback) {
|
29
|
+
closeCallback();
|
30
|
+
}
|
27
31
|
}
|
28
|
-
}
|
32
|
+
}
|
33
|
+
|
34
|
+
shadow.click(close);
|
35
|
+
lightbox.bind('lightbox:close', close);
|
29
36
|
lightbox.appendTo(document.body);
|
30
37
|
creationCallback(contents);
|
31
38
|
}, Mizuho);
|
@@ -90,6 +97,24 @@ Mizuho.showCommentsPopup = $.proxy(function(balloon) {
|
|
90
97
|
|
91
98
|
var self = this;
|
92
99
|
this.showLightbox(function(element) {
|
100
|
+
// We install a 'Close' button in the Juvia comment form after it has loaded.
|
101
|
+
function installCloseButton() {
|
102
|
+
if ($('#comments .juvia-form-actions').size() > 0) {
|
103
|
+
// The Juvia form is now loaded. Install the button.
|
104
|
+
var div = $('<div class="juvia-action" style="margin-left: 0.5em"></div>');
|
105
|
+
var button = $('<input type="button" value="Cancel"></div>').appendTo(div);
|
106
|
+
div.insertBefore('#comments .juvia-form-actions .juvia-error');
|
107
|
+
button.click(function() {
|
108
|
+
$(element).trigger('lightbox:close');
|
109
|
+
});
|
110
|
+
} else {
|
111
|
+
// Continue polling.
|
112
|
+
setTimeout(installCloseButton, 50);
|
113
|
+
}
|
114
|
+
}
|
115
|
+
setTimeout(installCloseButton, 50);
|
116
|
+
|
117
|
+
// Now load the Juvia comments form.
|
93
118
|
element.html('<div id="comments">Loading comments...</div>');
|
94
119
|
self.changingHash = true;
|
95
120
|
location.hash = '#!/' + info.id;
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mizuho
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 45
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
9
|
+
- 11
|
10
|
+
version: 0.9.11
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Hongli Lai
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-05-28 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: nokogiri
|
@@ -126,6 +126,47 @@ files:
|
|
126
126
|
- asciidoc/docbook-xsl/text.xsl
|
127
127
|
- asciidoc/docbook-xsl/xhtml.xsl
|
128
128
|
- asciidoc/docbook45.conf
|
129
|
+
- asciidoc/examples/website/a2x.1.txt
|
130
|
+
- asciidoc/examples/website/asciidoc-docbook-xsl.txt
|
131
|
+
- asciidoc/examples/website/asciidoc-graphviz-sample.txt
|
132
|
+
- asciidoc/examples/website/asciidoc.css
|
133
|
+
- asciidoc/examples/website/asciidoc.js
|
134
|
+
- asciidoc/examples/website/asciidocapi.txt
|
135
|
+
- asciidoc/examples/website/ASCIIMathML.js
|
136
|
+
- asciidoc/examples/website/asciimathml.txt
|
137
|
+
- asciidoc/examples/website/build-website.sh
|
138
|
+
- asciidoc/examples/website/CHANGELOG.txt
|
139
|
+
- asciidoc/examples/website/customers.csv
|
140
|
+
- asciidoc/examples/website/epub-notes.txt
|
141
|
+
- asciidoc/examples/website/faq.txt
|
142
|
+
- asciidoc/examples/website/index.txt
|
143
|
+
- asciidoc/examples/website/INSTALL.txt
|
144
|
+
- asciidoc/examples/website/latex-backend.txt
|
145
|
+
- asciidoc/examples/website/latex-bugs.txt
|
146
|
+
- asciidoc/examples/website/latex-filter.txt
|
147
|
+
- asciidoc/examples/website/LaTeXMathML.js
|
148
|
+
- asciidoc/examples/website/latexmathml.txt
|
149
|
+
- asciidoc/examples/website/layout1.conf
|
150
|
+
- asciidoc/examples/website/layout1.css
|
151
|
+
- asciidoc/examples/website/layout2.conf
|
152
|
+
- asciidoc/examples/website/layout2.css
|
153
|
+
- asciidoc/examples/website/main.aap
|
154
|
+
- asciidoc/examples/website/manpage.txt
|
155
|
+
- asciidoc/examples/website/music-filter.txt
|
156
|
+
- asciidoc/examples/website/newlists.txt
|
157
|
+
- asciidoc/examples/website/newtables.txt
|
158
|
+
- asciidoc/examples/website/plugins.txt
|
159
|
+
- asciidoc/examples/website/publishing-ebooks-with-asciidoc.txt
|
160
|
+
- asciidoc/examples/website/README-website.txt
|
161
|
+
- asciidoc/examples/website/README.txt
|
162
|
+
- asciidoc/examples/website/slidy-example.txt
|
163
|
+
- asciidoc/examples/website/slidy.txt
|
164
|
+
- asciidoc/examples/website/source-highlight-filter.txt
|
165
|
+
- asciidoc/examples/website/support.txt
|
166
|
+
- asciidoc/examples/website/testasciidoc.txt
|
167
|
+
- asciidoc/examples/website/userguide.txt
|
168
|
+
- asciidoc/examples/website/version83.txt
|
169
|
+
- asciidoc/examples/website/xhtml11-quirks.css
|
129
170
|
- asciidoc/filters/code/code-filter-readme.txt
|
130
171
|
- asciidoc/filters/code/code-filter-test.txt
|
131
172
|
- asciidoc/filters/code/code-filter.conf
|
@@ -197,28 +238,34 @@ files:
|
|
197
238
|
- asciidoc/README
|
198
239
|
- asciidoc/README.txt
|
199
240
|
- asciidoc/slidy.conf
|
200
|
-
- asciidoc/stylesheets/asciidoc-manpage.css
|
201
241
|
- asciidoc/stylesheets/asciidoc.css
|
202
242
|
- asciidoc/stylesheets/docbook-xsl.css
|
203
|
-
- asciidoc/stylesheets/flask-manpage.css
|
204
|
-
- asciidoc/stylesheets/flask.css
|
205
243
|
- asciidoc/stylesheets/pygments.css
|
206
244
|
- asciidoc/stylesheets/slidy.css
|
207
245
|
- asciidoc/stylesheets/toc2.css
|
208
|
-
- asciidoc/stylesheets/volnitsky-manpage.css
|
209
|
-
- asciidoc/stylesheets/volnitsky.css
|
210
246
|
- asciidoc/stylesheets/xhtml11-quirks.css
|
211
247
|
- asciidoc/tests/asciidocapi.py
|
212
248
|
- asciidoc/tests/data/deprecated-quotes.txt
|
213
249
|
- asciidoc/tests/data/filters-test.txt
|
250
|
+
- asciidoc/tests/data/lang-de-man-test.txt
|
214
251
|
- asciidoc/tests/data/lang-de-test.txt
|
252
|
+
- asciidoc/tests/data/lang-en-man-test.txt
|
215
253
|
- asciidoc/tests/data/lang-en-test.txt
|
254
|
+
- asciidoc/tests/data/lang-es-man-test.txt
|
216
255
|
- asciidoc/tests/data/lang-es-test.txt
|
256
|
+
- asciidoc/tests/data/lang-fr-man-test.txt
|
217
257
|
- asciidoc/tests/data/lang-fr-test.txt
|
258
|
+
- asciidoc/tests/data/lang-hu-man-test.txt
|
218
259
|
- asciidoc/tests/data/lang-hu-test.txt
|
260
|
+
- asciidoc/tests/data/lang-it-man-test.txt
|
261
|
+
- asciidoc/tests/data/lang-it-test.txt
|
262
|
+
- asciidoc/tests/data/lang-nl-man-test.txt
|
219
263
|
- asciidoc/tests/data/lang-nl-test.txt
|
264
|
+
- asciidoc/tests/data/lang-pt-BR-man-test.txt
|
220
265
|
- asciidoc/tests/data/lang-pt-BR-test.txt
|
266
|
+
- asciidoc/tests/data/lang-ru-man-test.txt
|
221
267
|
- asciidoc/tests/data/lang-ru-test.txt
|
268
|
+
- asciidoc/tests/data/lang-uk-man-test.txt
|
222
269
|
- asciidoc/tests/data/lang-uk-test.txt
|
223
270
|
- asciidoc/tests/data/oldtables.txt
|
224
271
|
- asciidoc/tests/data/rcs-id-marker-test.txt
|
@@ -229,6 +276,8 @@ files:
|
|
229
276
|
- asciidoc/tests/testasciidoc.conf
|
230
277
|
- asciidoc/tests/testasciidoc.py
|
231
278
|
- asciidoc/text.conf
|
279
|
+
- asciidoc/themes/flask/flask.css
|
280
|
+
- asciidoc/themes/volnitsky/volnitsky.css
|
232
281
|
- asciidoc/vim/ftdetect/asciidoc_filetype.vim
|
233
282
|
- asciidoc/vim/syntax/asciidoc.vim
|
234
283
|
- asciidoc/wordpress.conf
|
@@ -1,18 +0,0 @@
|
|
1
|
-
/* Overrides for manpage documents */
|
2
|
-
h1 {
|
3
|
-
padding-top: 0.5em;
|
4
|
-
padding-bottom: 0.5em;
|
5
|
-
border-top: 2px solid silver;
|
6
|
-
border-bottom: 2px solid silver;
|
7
|
-
}
|
8
|
-
h2 {
|
9
|
-
border-style: none;
|
10
|
-
}
|
11
|
-
div.sectionbody {
|
12
|
-
margin-left: 3em;
|
13
|
-
}
|
14
|
-
|
15
|
-
@media print {
|
16
|
-
div#toc { display: none; }
|
17
|
-
}
|
18
|
-
|
@@ -1 +0,0 @@
|
|
1
|
-
/* Empty placeholder file */
|
@@ -1 +0,0 @@
|
|
1
|
-
/* Empty placeholder file */
|