tdiary 3.2.2.20130518 → 3.2.2.20130527
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +17 -11
- data/Rakefile +2 -0
- data/config.ru +2 -1
- data/tdiary.gemspec +7 -0
- data/tdiary.rb +6 -2
- data/tdiary/cli.rb +27 -1
- data/tdiary/environment.rb +0 -1
- data/tdiary/tasks/release.rake +7 -1
- data/tdiary/version.rb +1 -1
- metadata +87 -132
- data/vendor/hikidoc-0.0.6/COPYING +0 -28
- data/vendor/hikidoc-0.0.6/NEWS +0 -30
- data/vendor/hikidoc-0.0.6/NEWS.ja +0 -30
- data/vendor/hikidoc-0.0.6/README +0 -86
- data/vendor/hikidoc-0.0.6/README.ja +0 -83
- data/vendor/hikidoc-0.0.6/Rakefile +0 -68
- data/vendor/hikidoc-0.0.6/TextFormattingRules +0 -320
- data/vendor/hikidoc-0.0.6/TextFormattingRules.ja +0 -318
- data/vendor/hikidoc-0.0.6/bin/hikidoc +0 -66
- data/vendor/hikidoc-0.0.6/lib/hikidoc.rb +0 -914
- data/vendor/hikidoc-0.0.6/setup.rb +0 -1360
- data/vendor/hikidoc-0.0.6/test/run-test.rb +0 -13
- data/vendor/hikidoc-0.0.6/test/test_hikidoc.rb +0 -506
- data/vendor/imagesize-0.1.1/Manifest.txt +0 -19
- data/vendor/imagesize-0.1.1/README.txt +0 -49
- data/vendor/imagesize-0.1.1/lib/image_size.rb +0 -305
- data/vendor/imagesize-0.1.1/lib/image_size/version.rb +0 -9
- data/vendor/imagesize-0.1.1/setup.rb +0 -1585
- data/vendor/imagesize-0.1.1/test/2-4-7.png +0 -0
- data/vendor/imagesize-0.1.1/test/4_1_2.gif +0 -0
- data/vendor/imagesize-0.1.1/test/bmp.bmp +0 -0
- data/vendor/imagesize-0.1.1/test/cursor.xbm +0 -6
- data/vendor/imagesize-0.1.1/test/detect.swf +0 -0
- data/vendor/imagesize-0.1.1/test/pbm.pbm +0 -0
- data/vendor/imagesize-0.1.1/test/pcx.pcx +0 -0
- data/vendor/imagesize-0.1.1/test/pgm.pgm +0 -5
- data/vendor/imagesize-0.1.1/test/test.xpm +0 -38
- data/vendor/imagesize-0.1.1/test/test_helper.rb +0 -2
- data/vendor/imagesize-0.1.1/test/test_image_size.rb +0 -71
- data/vendor/imagesize-0.1.1/test/tiff.tiff +0 -0
- data/vendor/imagesize-0.1.1/test/tokyo_tower.jpg +0 -0
- data/vendor/imagesize-0.1.1/test/tower_e.gif.psd +0 -0
- data/vendor/rdtool-0.6.38/COPYING.txt +0 -339
- data/vendor/rdtool-0.6.38/Gemfile +0 -3
- data/vendor/rdtool-0.6.38/HISTORY +0 -318
- data/vendor/rdtool-0.6.38/LGPL-2.1 +0 -502
- data/vendor/rdtool-0.6.38/LICENSE.txt +0 -58
- data/vendor/rdtool-0.6.38/README.html +0 -66
- data/vendor/rdtool-0.6.38/README.ja.html +0 -73
- data/vendor/rdtool-0.6.38/README.rd +0 -76
- data/vendor/rdtool-0.6.38/README.rd.ja +0 -85
- data/vendor/rdtool-0.6.38/Rakefile +0 -152
- data/vendor/rdtool-0.6.38/TODO +0 -22
- data/vendor/rdtool-0.6.38/bin/rd2 +0 -283
- data/vendor/rdtool-0.6.38/bin/rdswap.rb +0 -207
- data/vendor/rdtool-0.6.38/doc/rd-draft.html +0 -456
- data/vendor/rdtool-0.6.38/doc/rd-draft.ja.html +0 -466
- data/vendor/rdtool-0.6.38/doc/rd-draft.rd +0 -479
- data/vendor/rdtool-0.6.38/doc/rd-draft.rd.ja +0 -487
- data/vendor/rdtool-0.6.38/lib/rd/block-element.rb +0 -114
- data/vendor/rdtool-0.6.38/lib/rd/complex-list-item.rb +0 -65
- data/vendor/rdtool-0.6.38/lib/rd/desclist.rb +0 -55
- data/vendor/rdtool-0.6.38/lib/rd/document-struct.rb +0 -46
- data/vendor/rdtool-0.6.38/lib/rd/dot.rd2rc +0 -18
- data/vendor/rdtool-0.6.38/lib/rd/element.rb +0 -160
- data/vendor/rdtool-0.6.38/lib/rd/filter.rb +0 -255
- data/vendor/rdtool-0.6.38/lib/rd/head-filter.rb +0 -14
- data/vendor/rdtool-0.6.38/lib/rd/inline-element.rb +0 -233
- data/vendor/rdtool-0.6.38/lib/rd/labeled-element.rb +0 -14
- data/vendor/rdtool-0.6.38/lib/rd/list.rb +0 -57
- data/vendor/rdtool-0.6.38/lib/rd/loose-struct.rb +0 -11
- data/vendor/rdtool-0.6.38/lib/rd/methodlist.rb +0 -57
- data/vendor/rdtool-0.6.38/lib/rd/output-format-visitor.rb +0 -30
- data/vendor/rdtool-0.6.38/lib/rd/package.rb +0 -4
- data/vendor/rdtool-0.6.38/lib/rd/parser-util.rb +0 -14
- data/vendor/rdtool-0.6.38/lib/rd/post-install +0 -1
- data/vendor/rdtool-0.6.38/lib/rd/pre-setup.rb +0 -18
- data/vendor/rdtool-0.6.38/lib/rd/rbl-file.rb +0 -69
- data/vendor/rdtool-0.6.38/lib/rd/rbl-suite.rb +0 -37
- data/vendor/rdtool-0.6.38/lib/rd/rd-struct.rb +0 -86
- data/vendor/rdtool-0.6.38/lib/rd/rd2html-ext-lib.rb +0 -266
- data/vendor/rdtool-0.6.38/lib/rd/rd2html-ext-opt.rb +0 -34
- data/vendor/rdtool-0.6.38/lib/rd/rd2html-lib.rb +0 -490
- data/vendor/rdtool-0.6.38/lib/rd/rd2html-opt.rb +0 -67
- data/vendor/rdtool-0.6.38/lib/rd/rd2man-lib.rb +0 -251
- data/vendor/rdtool-0.6.38/lib/rd/rd2rdo-lib.rb +0 -19
- data/vendor/rdtool-0.6.38/lib/rd/rd2rmi-lib.rb +0 -32
- data/vendor/rdtool-0.6.38/lib/rd/rdblockparser.ry +0 -518
- data/vendor/rdtool-0.6.38/lib/rd/rdblockparser.tab.rb +0 -1061
- data/vendor/rdtool-0.6.38/lib/rd/rdfmt.rb +0 -15
- data/vendor/rdtool-0.6.38/lib/rd/rdinlineparser.ry +0 -503
- data/vendor/rdtool-0.6.38/lib/rd/rdinlineparser.tab.rb +0 -1243
- data/vendor/rdtool-0.6.38/lib/rd/rdvisitor.rb +0 -214
- data/vendor/rdtool-0.6.38/lib/rd/reference-resolver.rb +0 -114
- data/vendor/rdtool-0.6.38/lib/rd/search-file.rb +0 -14
- data/vendor/rdtool-0.6.38/lib/rd/tree.rb +0 -103
- data/vendor/rdtool-0.6.38/lib/rd/version.rb +0 -41
- data/vendor/rdtool-0.6.38/lib/rd/visitor.rb +0 -86
- data/vendor/rdtool-0.6.38/rdtool.gemspec +0 -125
- data/vendor/rdtool-0.6.38/setup.rb +0 -1596
- data/vendor/rdtool-0.6.38/test/data/includee1.html +0 -1
- data/vendor/rdtool-0.6.38/test/data/includee2.html +0 -1
- data/vendor/rdtool-0.6.38/test/data/includee3.nothtml +0 -1
- data/vendor/rdtool-0.6.38/test/data/includee4.xhtml +0 -0
- data/vendor/rdtool-0.6.38/test/data/label.rbl +0 -2
- data/vendor/rdtool-0.6.38/test/data/label2.rbl +0 -2
- data/vendor/rdtool-0.6.38/test/data/sub/includee2.html +0 -1
- data/vendor/rdtool-0.6.38/test/data/sub/includee4.html +0 -0
- data/vendor/rdtool-0.6.38/test/dummy-observer.rb +0 -6
- data/vendor/rdtool-0.6.38/test/dummy.rb +0 -33
- data/vendor/rdtool-0.6.38/test/temp-dir.rb +0 -19
- data/vendor/rdtool-0.6.38/test/test-block-parser.rb +0 -46
- data/vendor/rdtool-0.6.38/test/test-desclist-item.rb +0 -219
- data/vendor/rdtool-0.6.38/test/test-document-element.rb +0 -46
- data/vendor/rdtool-0.6.38/test/test-document-struct.rb +0 -66
- data/vendor/rdtool-0.6.38/test/test-element.rb +0 -46
- data/vendor/rdtool-0.6.38/test/test-headline.rb +0 -80
- data/vendor/rdtool-0.6.38/test/test-inline-parser.rb +0 -46
- data/vendor/rdtool-0.6.38/test/test-list-item.rb +0 -54
- data/vendor/rdtool-0.6.38/test/test-list.rb +0 -53
- data/vendor/rdtool-0.6.38/test/test-methodlist-item.rb +0 -73
- data/vendor/rdtool-0.6.38/test/test-nonterminal-element.rb +0 -170
- data/vendor/rdtool-0.6.38/test/test-nonterminal-inline.rb +0 -33
- data/vendor/rdtool-0.6.38/test/test-output-format-visitor.rb +0 -48
- data/vendor/rdtool-0.6.38/test/test-parser-util.rb +0 -41
- data/vendor/rdtool-0.6.38/test/test-rbl-file.rb +0 -156
- data/vendor/rdtool-0.6.38/test/test-rbl-suite.rb +0 -43
- data/vendor/rdtool-0.6.38/test/test-rd2html-lib.rb +0 -496
- data/vendor/rdtool-0.6.38/test/test-rdtree.rb +0 -17
- data/vendor/rdtool-0.6.38/test/test-rdvisitor.rb +0 -29
- data/vendor/rdtool-0.6.38/test/test-reference-resolver.rb +0 -202
- data/vendor/rdtool-0.6.38/test/test-reference.rb +0 -132
- data/vendor/rdtool-0.6.38/test/test-search-file.rb +0 -22
- data/vendor/rdtool-0.6.38/test/test-terminal-inline.rb +0 -41
- data/vendor/rdtool-0.6.38/test/test-textblock.rb +0 -44
- data/vendor/rdtool-0.6.38/test/test-tree.rb +0 -82
- data/vendor/rdtool-0.6.38/test/test-version.rb +0 -57
- data/vendor/rdtool-0.6.38/test/test-visitor.rb +0 -230
- data/vendor/rdtool-0.6.38/utils/rd-mode.el +0 -464
@@ -1,28 +0,0 @@
|
|
1
|
-
Copyright (c) 2005, Kazuhiko <kazuhiko@fdiary.net>
|
2
|
-
All rights reserved.
|
3
|
-
|
4
|
-
Redistribution and use in source and binary forms, with or without
|
5
|
-
modification, are permitted provided that the following conditions are
|
6
|
-
met:
|
7
|
-
|
8
|
-
* Redistributions of source code must retain the above copyright
|
9
|
-
notice, this list of conditions and the following disclaimer.
|
10
|
-
* Redistributions in binary form must reproduce the above
|
11
|
-
copyright notice, this list of conditions and the following
|
12
|
-
disclaimer in the documentation and/or other materials provided
|
13
|
-
with the distribution.
|
14
|
-
* Neither the name of the HikiDoc nor the names of its
|
15
|
-
contributors may be used to endorse or promote products derived
|
16
|
-
from this software without specific prior written permission.
|
17
|
-
|
18
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
19
|
-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
20
|
-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
21
|
-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
22
|
-
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
23
|
-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
24
|
-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
25
|
-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
26
|
-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
27
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
28
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
data/vendor/hikidoc-0.0.6/NEWS
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
! NEWS
|
2
|
-
|
3
|
-
!! Changes 0.0.6 from 0.0.5: 2010-08-28
|
4
|
-
|
5
|
-
* fix missing NEWS.ja for packaging
|
6
|
-
|
7
|
-
!! Changes 0.0.5 from 0.0.4: 2010-08-26
|
8
|
-
|
9
|
-
* fix a bug: strings after non-WikiName expression are ignored
|
10
|
-
* new text decoration ``monospaced text``
|
11
|
-
* fix rake failure with Hoe 1.9.0 or later
|
12
|
-
* add syntax highlighting with google-code-prettify
|
13
|
-
|
14
|
-
!! Changes 0.0.4 from 0.0.3: 2009-08-17
|
15
|
-
|
16
|
-
* escape collectly in inline_plugin same as block_plugin does.
|
17
|
-
* fix a DoS vulnerability processing a plugin expression.
|
18
|
-
|
19
|
-
!! Changes 0.0.3 from 0.0.2: 2008-08-25
|
20
|
-
|
21
|
-
* fix warning message "Could not find main page README.txt" at installation via gem
|
22
|
-
|
23
|
-
!! Changes 0.0.2 from 0.0.1: 2008-08-11
|
24
|
-
|
25
|
-
* fix a bug: an inline that is inside of a modifier inline do not works
|
26
|
-
* add a option "--no-wikiname" to `hikidoc' command
|
27
|
-
* correct URI scheme behavior of InterWikiName
|
28
|
-
* add some tests
|
29
|
-
* add a Rake task "coverage" (requires rcov)
|
30
|
-
|
@@ -1,30 +0,0 @@
|
|
1
|
-
! NEWS.ja
|
2
|
-
|
3
|
-
!! 0.0.5����0.0.6���ѹ���: 2010-08-28
|
4
|
-
|
5
|
-
* �ѥå���������NEWS.ja��ϳ��Ƥ��ޤ��Τ���
|
6
|
-
|
7
|
-
!! 0.0.4����0.0.5���ѹ���: 2010-08-26
|
8
|
-
|
9
|
-
* Ʊ��Ԥ˴ޤޤ����WikiNameɽ���ʹߤ�ʸ�������Ϥ���ʤ��Х�����
|
10
|
-
* ������ʸ���ν���``����ɽ��``���ɲ�
|
11
|
-
* Hoe 1.9.0 �ޤ��Ϥ���ʹߤ�rake�����Ԥ����������
|
12
|
-
* google-code-prettify�ǤΥ��å����ϥ��饤�Ȥ��ɲ�
|
13
|
-
|
14
|
-
!! 0.0.3����0.0.4���ѹ���: 2009-08-17
|
15
|
-
|
16
|
-
* inline_plugin��block_pluginƱ�ͤ˥��������פ���褦�˽���
|
17
|
-
* �ץ饰����ɽ���β��ˤ�����DoS�ȼ������Ф��뽤��
|
18
|
-
|
19
|
-
!! 0.0.2����0.0.3���ѹ���: 2008-08-25
|
20
|
-
|
21
|
-
* gem����Υ��ȡ������"Could not find main page README.txt"�Ȥ����ٹ��å����������Ϥ����������
|
22
|
-
|
23
|
-
!! 0.0.1����0.0.2���ѹ���: 2008-08-11
|
24
|
-
|
25
|
-
* �����ϥ���饤����Υ���饤��ˡ��Ÿ������ʤ��Х�����
|
26
|
-
* hikidoc���ޥ�ɤ�--no-wikiname���ץ������ɲ�
|
27
|
-
* InterWikiName��URI scheme�Ȥ��ư�����Τ�http(s),file,ftp�˸��ꤹ��褦����
|
28
|
-
* �ƥ��Ȥ�
|
29
|
-
* Rake������coverage���ɲá���rcov��
|
30
|
-
|
data/vendor/hikidoc-0.0.6/README
DELETED
@@ -1,86 +0,0 @@
|
|
1
|
-
! HikiDoc
|
2
|
-
|
3
|
-
!! Introduction
|
4
|
-
|
5
|
-
'HikiDoc' is a text-to-HTML conversion tool for web writers. HikiDoc
|
6
|
-
allows you to write using an easy-to-read, easy-to-write plain text
|
7
|
-
format, then convert it to structurally valid HTML (or XHTML).
|
8
|
-
|
9
|
-
!! Requirements
|
10
|
-
|
11
|
-
HikiDoc requires Ruby 1.8.2 or later.
|
12
|
-
|
13
|
-
!! Download
|
14
|
-
|
15
|
-
Get from the subversion repository http://hikidoc.rubyforge.org/svn/ .
|
16
|
-
|
17
|
-
(eg.)
|
18
|
-
svn co http://hikidoc.rubyforge.org/svn/trunk/ hikidoc
|
19
|
-
|
20
|
-
!! Installation
|
21
|
-
|
22
|
-
Run the 'setup.rb' script like so:
|
23
|
-
|
24
|
-
$ ruby setup.rb config
|
25
|
-
$ ruby setup.rb setup
|
26
|
-
# ruby setup.rb install
|
27
|
-
|
28
|
-
!! Syntax
|
29
|
-
|
30
|
-
See [[TextFormattingRules]].
|
31
|
-
|
32
|
-
!! Mailing list
|
33
|
-
|
34
|
-
To subscribe the HikiDoc ML, please send the following mail. English
|
35
|
-
posts are also welcome.
|
36
|
-
|
37
|
-
To: hikidoc@ml.fdiary.net
|
38
|
-
Cc: kazuhiko@fdiary.net
|
39
|
-
Subject: subscribe <- any subject
|
40
|
-
|
41
|
-
Hello. <- any body
|
42
|
-
|
43
|
-
HikiDoc ML's archive is available at http://www.fdiary.net/ml/hikidoc/ .
|
44
|
-
|
45
|
-
!! Related softwares
|
46
|
-
|
47
|
-
The following softwares use the HikiDoc library or the HikiDoc format.
|
48
|
-
|
49
|
-
:[[tDiary|http://www.tdiary.org/]]:a Weblog/Web-diary software
|
50
|
-
:[[Hiki|http://hikiwiki.org/]]:a powerful and fast wiki clone
|
51
|
-
:[[lily|http://lily.sourceforge.jp/]]:a simple CMS
|
52
|
-
:[[Text::HikiDoc|http://search.cpan.org/perldoc?Text::HikiDoc]]:HikiDoc by Perl
|
53
|
-
:[[PikiDoc|http://github.com/moro/piki_doc/]]:a library that you can add plugin functions on HikiDoc
|
54
|
-
|
55
|
-
!! License
|
56
|
-
|
57
|
-
HikiDoc's license is the 'Modified BSD License'.
|
58
|
-
|
59
|
-
Copyright (c) 2005, Kazuhiko <kazuhiko@fdiary.net>
|
60
|
-
All rights reserved.
|
61
|
-
|
62
|
-
Redistribution and use in source and binary forms, with or without
|
63
|
-
modification, are permitted provided that the following conditions are
|
64
|
-
met:
|
65
|
-
|
66
|
-
* Redistributions of source code must retain the above copyright
|
67
|
-
notice, this list of conditions and the following disclaimer.
|
68
|
-
* Redistributions in binary form must reproduce the above
|
69
|
-
copyright notice, this list of conditions and the following
|
70
|
-
disclaimer in the documentation and/or other materials provided
|
71
|
-
with the distribution.
|
72
|
-
* Neither the name of the HikiDoc nor the names of its
|
73
|
-
contributors may be used to endorse or promote products derived
|
74
|
-
from this software without specific prior written permission.
|
75
|
-
|
76
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
77
|
-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
78
|
-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
79
|
-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
80
|
-
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
81
|
-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
82
|
-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
83
|
-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
84
|
-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
85
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
86
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
@@ -1,83 +0,0 @@
|
|
1
|
-
! HikiDoc
|
2
|
-
|
3
|
-
!! �Ϥ����
|
4
|
-
|
5
|
-
'HikiDoc' �ϡ֥ƥ����Ȣ� HTML���Ѵ��ġ���Ǥ����䤹���ɤߤ䤹��ʸˡ��
|
6
|
-
�ƥ����Ȥ�ޤȤ�� HTML (�� XHTML) ���Ѵ����ޤ���
|
7
|
-
|
8
|
-
!! ɬ�פʤ��
|
9
|
-
|
10
|
-
HikiDoc �μ¹Ԥˤ� Ruby 1.8.2 �ʹߤ�ɬ�פǤ���
|
11
|
-
|
12
|
-
!! �����������
|
13
|
-
|
14
|
-
Subversion ��ݥ��ȥ� http://hikidoc.rubyforge.org/svn/ �����������
|
15
|
-
����������
|
16
|
-
|
17
|
-
(��)
|
18
|
-
svn co http://hikidoc.rubyforge.org/svn/trunk/ hikidoc
|
19
|
-
|
20
|
-
!! ���ȡ���
|
21
|
-
|
22
|
-
�ʲ��Τ褦�� 'setup.rb' ������ץȤ��Ѥ��ƥ��ȡ��뤷�ޤ���
|
23
|
-
|
24
|
-
$ ruby setup.rb config
|
25
|
-
$ ruby setup.rb setup
|
26
|
-
# ruby setup.rb install
|
27
|
-
|
28
|
-
!! ʸˡ
|
29
|
-
|
30
|
-
[[TextFormattingRules.ja]] ��������������
|
31
|
-
|
32
|
-
!! ���ꥹ��
|
33
|
-
|
34
|
-
���ä��˾��������ϡ��ʲ��Τ褦�ʥ����������Ƥ���������
|
35
|
-
To: hikidoc@ml.fdiary.net
|
36
|
-
Cc: kazuhiko@fdiary.net
|
37
|
-
|
38
|
-
��ʸ�˼��ʾҲ�ʤ�
|
39
|
-
|
40
|
-
���Υ��� http://www.fdiary.net/ml/hikidoc/ �Ǹ������Ƥ��ޤ���
|
41
|
-
|
42
|
-
!! ��Ϣ���륽�եȥ�����
|
43
|
-
|
44
|
-
�ʲ��Υ��եȥ������� HikiDoc �饤�֥�ꡢ�ޤ��� HikiDoc �ե����ޥåȤ��Ѥ����Ƥ��ޤ���
|
45
|
-
|
46
|
-
:[[tDiary|http://www.tdiary.org/]]:�������������եȥ�����
|
47
|
-
:[[Hiki|http://hikiwiki.org/]]:¿��ǽ���Ĺ�®�� Wiki ��������
|
48
|
-
:[[lily|http://lily.sourceforge.jp/]]:����ץ�� CMS (Web �����ȹ��ۥ����ƥ�)
|
49
|
-
:[[Text::HikiDoc|http://search.cpan.org/perldoc?Text::HikiDoc]]:Perl �ˤ�� HikiDoc �μ���
|
50
|
-
:[[PikiDoc|http://github.com/moro/piki_doc/]]:HikiDoc�Ρ֥ץ饰�����ǽ���ɲäǤ���饤�֥��Ǥ�
|
51
|
-
|
52
|
-
!! �饤����
|
53
|
-
|
54
|
-
Modified BSD �饤���Ǥ���
|
55
|
-
|
56
|
-
Copyright (c) 2005, Kazuhiko <kazuhiko@fdiary.net>
|
57
|
-
All rights reserved.
|
58
|
-
|
59
|
-
Redistribution and use in source and binary forms, with or without
|
60
|
-
modification, are permitted provided that the following conditions are
|
61
|
-
met:
|
62
|
-
|
63
|
-
* Redistributions of source code must retain the above copyright
|
64
|
-
notice, this list of conditions and the following disclaimer.
|
65
|
-
* Redistributions in binary form must reproduce the above
|
66
|
-
copyright notice, this list of conditions and the following
|
67
|
-
disclaimer in the documentation and/or other materials provided
|
68
|
-
with the distribution.
|
69
|
-
* Neither the name of the HikiDoc nor the names of its
|
70
|
-
contributors may be used to endorse or promote products derived
|
71
|
-
from this software without specific prior written permission.
|
72
|
-
|
73
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
74
|
-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
75
|
-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
76
|
-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
77
|
-
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
78
|
-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
79
|
-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
80
|
-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
81
|
-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
82
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
83
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
@@ -1,68 +0,0 @@
|
|
1
|
-
# -*- ruby -*-
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
require 'hoe'
|
5
|
-
|
6
|
-
require 'find'
|
7
|
-
|
8
|
-
base_dir = File.expand_path(File.dirname(__FILE__))
|
9
|
-
$LOAD_PATH.unshift(File.join(base_dir, 'lib'))
|
10
|
-
require 'hikidoc'
|
11
|
-
|
12
|
-
truncate_base_dir = Proc.new do |x|
|
13
|
-
x.gsub(/\A#{Regexp.escape(base_dir + File::SEPARATOR)}/, '')
|
14
|
-
end
|
15
|
-
|
16
|
-
manifest = File.join(base_dir, "Manifest.txt")
|
17
|
-
manifest_contents = []
|
18
|
-
base_dir_included_components = %w(COPYING README README.ja Rakefile
|
19
|
-
TextFormattingRules TextFormattingRules.ja
|
20
|
-
NEWS.ja setup.rb)
|
21
|
-
excluded_components = %w(.svn doc log pkg)
|
22
|
-
Find.find(base_dir) do |target|
|
23
|
-
target = truncate_base_dir[target]
|
24
|
-
components = target.split(File::SEPARATOR)
|
25
|
-
if components.size == 1 and !File.directory?(target)
|
26
|
-
next unless base_dir_included_components.include?(components[0])
|
27
|
-
end
|
28
|
-
Find.prune if (excluded_components - components) != excluded_components
|
29
|
-
manifest_contents << target if File.file?(target)
|
30
|
-
end
|
31
|
-
|
32
|
-
File.open(manifest, "w") do |f|
|
33
|
-
f.puts manifest_contents.sort.join("\n")
|
34
|
-
end
|
35
|
-
at_exit do
|
36
|
-
FileUtils.rm_f(manifest)
|
37
|
-
end
|
38
|
-
|
39
|
-
ENV["VERSION"] ||= HikiDoc::VERSION
|
40
|
-
project = Hoe.spec('hikidoc') do |project|
|
41
|
-
project.version = HikiDoc::VERSION
|
42
|
-
project.author = ['Kazuhiko']
|
43
|
-
project.email = ['kazuhiko@fdiary.net']
|
44
|
-
project.description = project.paragraphs_of('README', 2).join
|
45
|
-
project.summary = project.description.split(/(\.)/, 3)[0, 2].join
|
46
|
-
project.url = 'http://rubyforge.org/projects/hikidoc/'
|
47
|
-
project.test_globs = ['test/test_*.rb']
|
48
|
-
project.extra_rdoc_files = %w(README COPYING NEWS TextFormattingRules)
|
49
|
-
project.changes = File.read("NEWS").split(/^!! .*$/)[1].strip
|
50
|
-
end
|
51
|
-
|
52
|
-
desc 'Tag the repository for release.'
|
53
|
-
task :tag do
|
54
|
-
version = HikiDoc::VERSION
|
55
|
-
message = "Released HikiDoc #{version}!"
|
56
|
-
base = "svn+ssh://rubyforge.org/var/svn/hikidoc/"
|
57
|
-
sh 'svn', 'copy', '-m', message, "#{base}trunk", "#{base}tags/#{version}"
|
58
|
-
end
|
59
|
-
|
60
|
-
|
61
|
-
# Fix Hoe's uncustomizable options
|
62
|
-
rdoc_main = "lib/hikidoc.rb"
|
63
|
-
project.spec.rdoc_options.each do |option|
|
64
|
-
option.replace(rdoc_main) if option == "README.txt"
|
65
|
-
end
|
66
|
-
ObjectSpace.each_object(Rake::RDocTask) do |task|
|
67
|
-
task.main = rdoc_main if task.main == "README.txt"
|
68
|
-
end
|
@@ -1,320 +0,0 @@
|
|
1
|
-
!Paragraphs
|
2
|
-
|
3
|
-
Consecutive lines are concatenated into a single paragraph.
|
4
|
-
|
5
|
-
Blank lines (ones with only a carriage return or with only spaces and tabs) mark the end of a paragraph.
|
6
|
-
|
7
|
-
*Example statement
|
8
|
-
|
9
|
-
For example,
|
10
|
-
if I write like this, these lines
|
11
|
-
will be formatted as one paragraph.
|
12
|
-
|
13
|
-
*Example output
|
14
|
-
|
15
|
-
For example,
|
16
|
-
if I write like this, these lines
|
17
|
-
will be formatted as one paragraph.
|
18
|
-
|
19
|
-
!Links
|
20
|
-
|
21
|
-
!!WikiNames
|
22
|
-
|
23
|
-
WikiNames are comprised of two or more words put together; each word begins with an uppercase letter, and is followed by at least one lowercase letter or number.
|
24
|
-
|
25
|
-
Words in which this condition is met become a WikiName, and a link is automatically attached.
|
26
|
-
|
27
|
-
*Example statement
|
28
|
-
|
29
|
-
WikiName - WikiName
|
30
|
-
HogeRule1 - WikiName
|
31
|
-
NOTWIKINAME - All of the letters are uppercase, so this is not a WikiName
|
32
|
-
WikiNAME - All of the letters in NAME are uppercase, so this is not a WikiName
|
33
|
-
fooWikiName - This begins with "foo", which is in all lowercase, so this is not a WikiName
|
34
|
-
|
35
|
-
*Example output
|
36
|
-
|
37
|
-
**WikiName - WikiName
|
38
|
-
**HogeRule1 - WikiName
|
39
|
-
**NOTWIKINAME - All of the letters are uppercase, so this is not a WikiName
|
40
|
-
**WikiNAME - All of the letters in NAME are uppercase, so this is not a WikiName
|
41
|
-
**fooWikiName - This begins with "foo", which is in all lowercase, so this is not a WikiName
|
42
|
-
|
43
|
-
You can disable an auto WikiName link by putting ''^'' to the WikiName.
|
44
|
-
|
45
|
-
*Example statement
|
46
|
-
|
47
|
-
WikiName - WikiName
|
48
|
-
^WikiName - Disable WikiName link
|
49
|
-
|
50
|
-
*Example output
|
51
|
-
|
52
|
-
**WikiName - WikiName
|
53
|
-
**^WikiName - Disable WikiName link
|
54
|
-
|
55
|
-
!!Linking to other Wiki pages
|
56
|
-
|
57
|
-
If a page name is surrounded with two pairs of brackets, it becomes a link to that page.
|
58
|
-
|
59
|
-
*Example statement
|
60
|
-
|
61
|
-
For example, if you write [[TextFormattingRules]], it becomes a link to that page.
|
62
|
-
|
63
|
-
*Example output
|
64
|
-
|
65
|
-
For example, if you write [[TextFormattingRules]], it becomes a link to that page.
|
66
|
-
|
67
|
-
!!Linking to an arbitrary URL
|
68
|
-
|
69
|
-
If a phrase and URL, separated by a vertical line, are surrounded with two pairs of brackets, it becomes a link to an arbitrary URL.
|
70
|
-
|
71
|
-
*Example statement
|
72
|
-
|
73
|
-
Links like [[Yahoo!|http://www.yahoo.com/]] are also possible.
|
74
|
-
|
75
|
-
*Example output
|
76
|
-
|
77
|
-
Links like [[Yahoo!|http://www.yahoo.com/]] are also possible.
|
78
|
-
|
79
|
-
Text in a paragraph that looks like a URL will automatically become a link.
|
80
|
-
|
81
|
-
*Example statement
|
82
|
-
|
83
|
-
Hiki's home page is http://hikiwiki.org/en/ (English).
|
84
|
-
|
85
|
-
*Example output
|
86
|
-
|
87
|
-
Hiki's home page is http://hikiwiki.org/en/ (English).
|
88
|
-
|
89
|
-
In this case, if the URL ends with jpg., .jpeg, .png, or .gif, the image is displayed on the page.
|
90
|
-
|
91
|
-
*Example statement
|
92
|
-
|
93
|
-
http://jp.rubyist.net/theme/clover/clover_h1.png
|
94
|
-
|
95
|
-
*Example output
|
96
|
-
|
97
|
-
http://jp.rubyist.net/theme/clover/clover_h1.png
|
98
|
-
|
99
|
-
!Preformatted text
|
100
|
-
|
101
|
-
Lines beginning with spaces or tabs will be treated as preformatted text.
|
102
|
-
|
103
|
-
*Example output
|
104
|
-
|
105
|
-
require 'cgi'
|
106
|
-
|
107
|
-
cgi = CGI::new
|
108
|
-
cgi.header
|
109
|
-
|
110
|
-
puts <<EOS
|
111
|
-
<html>
|
112
|
-
<head>
|
113
|
-
<title>Hello!</title>
|
114
|
-
</head>
|
115
|
-
<body>
|
116
|
-
<p>Hello!</p>
|
117
|
-
</body>
|
118
|
-
</html>
|
119
|
-
EOS
|
120
|
-
|
121
|
-
!Text decoration
|
122
|
-
|
123
|
-
Text surrounded by sets of two single quotes ('') is emphasised.
|
124
|
-
|
125
|
-
Text surrounded by sets of three single quotes (''') is strongly emphasised.
|
126
|
-
|
127
|
-
Text surrounded by sets of double equal signs (===) is struck out.
|
128
|
-
|
129
|
-
Text surrounded by sets of double backquotes (``) is inline literal.
|
130
|
-
|
131
|
-
*Example statement
|
132
|
-
|
133
|
-
If you write like this, it becomes ''emphasised''.
|
134
|
-
And if you write like this, it becomes '''strongly emphasised'''.
|
135
|
-
==This is dull, but== And struck-out text is supported, too!
|
136
|
-
If you write like this, it becomes ``monospaced text``.
|
137
|
-
|
138
|
-
*Example output
|
139
|
-
|
140
|
-
If you write like this, it becomes ''emphasised''.
|
141
|
-
And if you write like this, it becomes '''strongly emphasised'''.
|
142
|
-
==This is dull, but== And struck-out text is supported, too!
|
143
|
-
If you write like this, it becomes ``monospaced text``.
|
144
|
-
|
145
|
-
!Headings
|
146
|
-
|
147
|
-
Lines with exclamation marks at the beginning become headings.
|
148
|
-
|
149
|
-
One can use up to six exclamation marks; they will be converted to <h1> to <h6> tags.
|
150
|
-
|
151
|
-
*Example statement
|
152
|
-
|
153
|
-
!Heading1
|
154
|
-
!!Heading2
|
155
|
-
!!!Heading3
|
156
|
-
!!!!Heading4
|
157
|
-
!!!!!Heading5
|
158
|
-
|
159
|
-
*Example output
|
160
|
-
|
161
|
-
!Heading1
|
162
|
-
!!Heading2
|
163
|
-
!!!Heading3
|
164
|
-
!!!!Heading4
|
165
|
-
!!!!!Heading5
|
166
|
-
|
167
|
-
!Horizontal lines
|
168
|
-
|
169
|
-
Four hyphens at the beginning of the line (----) become a horizontal rule.
|
170
|
-
|
171
|
-
*Example statement
|
172
|
-
|
173
|
-
A B C D E
|
174
|
-
----
|
175
|
-
F G H I J
|
176
|
-
|
177
|
-
*Example output
|
178
|
-
|
179
|
-
A B C D E
|
180
|
-
----
|
181
|
-
F G H I J
|
182
|
-
|
183
|
-
!Lists
|
184
|
-
|
185
|
-
Lines beginning with asterisks become list items.
|
186
|
-
|
187
|
-
It is possible to use up to three asterisks; it is also possible to create nested lists.
|
188
|
-
|
189
|
-
Lines beginning with a # become numbered lists.
|
190
|
-
|
191
|
-
*Example statement
|
192
|
-
|
193
|
-
*Item 1
|
194
|
-
**Item 1.1
|
195
|
-
**Item 1.2
|
196
|
-
***Item 1.2.1
|
197
|
-
***Item 1.2.2
|
198
|
-
***Item 1.2.3
|
199
|
-
**Item 1.3
|
200
|
-
**Item 1.4
|
201
|
-
*Item 2
|
202
|
-
|
203
|
-
#Item 1
|
204
|
-
#Item 2
|
205
|
-
##Item 2.1
|
206
|
-
##Item 2.2
|
207
|
-
##Item 2.3
|
208
|
-
#Item 3
|
209
|
-
##Item 3.1
|
210
|
-
###Item 3.1.1
|
211
|
-
###Item 3.1.2
|
212
|
-
|
213
|
-
*Example output
|
214
|
-
|
215
|
-
*Item 1
|
216
|
-
**Item 1.1
|
217
|
-
**Item 1.2
|
218
|
-
***Item 1.2.1
|
219
|
-
***Item 1.2.2
|
220
|
-
***Item 1.2.3
|
221
|
-
**Item 1.3
|
222
|
-
**Item 1.4
|
223
|
-
*Item 2
|
224
|
-
|
225
|
-
#Item 1
|
226
|
-
#Item 2
|
227
|
-
##Item 2.1
|
228
|
-
##Item 2.2
|
229
|
-
##Item 2.3
|
230
|
-
#Item 3
|
231
|
-
##Item 3.1
|
232
|
-
###Item 3.1.1
|
233
|
-
###Item 3.1.2
|
234
|
-
|
235
|
-
!Quotations
|
236
|
-
|
237
|
-
Lines beginning with two double quotes become quotations.
|
238
|
-
|
239
|
-
*Example statement
|
240
|
-
|
241
|
-
""This is a quotation.
|
242
|
-
""This is another quote.
|
243
|
-
""This is a continued quote. When there are consecutive quotations,
|
244
|
-
""they are displayed as one quote,
|
245
|
-
""like this.
|
246
|
-
|
247
|
-
*Example output
|
248
|
-
|
249
|
-
""This is a quotation.
|
250
|
-
""This is another quote.
|
251
|
-
""This is a continued quote. When there are consecutive quotations,
|
252
|
-
""they are displayed as one quote,
|
253
|
-
""like this.
|
254
|
-
|
255
|
-
!Definitions
|
256
|
-
|
257
|
-
Lines beginning with a colon and have a phrase and explanation separated by another colon will become a definition.
|
258
|
-
|
259
|
-
*Example statement
|
260
|
-
|
261
|
-
:ringo:apple
|
262
|
-
:gorira:gorilla
|
263
|
-
:rakuda:camel
|
264
|
-
|
265
|
-
*Example output
|
266
|
-
|
267
|
-
:ringo:apple
|
268
|
-
:gorira:gorilla
|
269
|
-
:rakuda:camel
|
270
|
-
|
271
|
-
! Tables
|
272
|
-
|
273
|
-
Tables begin with two vertical bars.
|
274
|
-
|
275
|
-
Leading `!' in a cell means that it is a heading cell.
|
276
|
-
|
277
|
-
To concatenate columns or rows, put `>'(columns) or `^'(rows) at head of
|
278
|
-
the cell.
|
279
|
-
|
280
|
-
* Example statement
|
281
|
-
|
282
|
-
||!row heading \ column heading||!column A||!column B||!column C||!>column D-E (horizontal concatenation)
|
283
|
-
||!row 1||A1||B1||^C1-C2 (vertical concatenation)||D1||E1
|
284
|
-
||!row 2||A2||B2||^>D2-E2-D3-E3 (vertical and horizontal concatenation)
|
285
|
-
||!row 3||>>A3-C3 (horizontal concatenation)
|
286
|
-
|
287
|
-
* Example output
|
288
|
-
|
289
|
-
||!row heading \ column heading||!column A||!column B||!column C||!>column D-E (horizontal concatenation)
|
290
|
-
||!row 1||A1||B1||^C1-C2 (vertical concatenation)||D1||E1
|
291
|
-
||!row 2||A2||B2||^>D2-E2-D3-E3 (vertical and horizontal concatenation)
|
292
|
-
||!row 3||>>A3-C3 (horizontal concatenation)
|
293
|
-
|
294
|
-
! Comments
|
295
|
-
|
296
|
-
Lines starting with `//' becomes a comment line.
|
297
|
-
Comment lines is not outputted.
|
298
|
-
|
299
|
-
* Example statement
|
300
|
-
// This is a comment line.
|
301
|
-
|
302
|
-
* Example output (not displayed)
|
303
|
-
// This is a comment line.
|
304
|
-
|
305
|
-
!Plugins
|
306
|
-
|
307
|
-
One can use a plugin by surrounding text with two pairs of brackets.
|
308
|
-
Multiple lines parameter is supported.
|
309
|
-
When a line contains plugin only, it becomes a block plugin,
|
310
|
-
which is not surrounded by <p> ... </p>.
|
311
|
-
|
312
|
-
*Example statement
|
313
|
-
|
314
|
-
{{recent(3)}}
|
315
|
-
|
316
|
-
* Example statement of multiple lines
|
317
|
-
|
318
|
-
{{pre('
|
319
|
-
...
|
320
|
-
')}}
|