Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 344
- Log:
Massive changeset which brings the old, ROOL customised Instiki
version up to date, but without any ROOL customisations in this
latest checked-in version (which is 0.19.1). This is deliberate,
so that it's easy to see the changes made for the ROOL version
in a subsequent changeset. The 'app/views/shared' directory is not
part of Instiki but is kept to maintain the change history with
updated ROOL customisations, some of which involve the same files
in that same directory.
- Author:
- rool
- Date:
- Sat Mar 19 19:52:13 +0000 2011
- Size:
- 3130 Bytes
1 | # Copyright (C) 2006 Andrea Censi <andrea (at) rubyforge.org> |
2 | # |
3 | # This file is part of Maruku. |
4 | # |
5 | # Maruku is free software; you can redistribute it and/or modify |
6 | # it under the terms of the GNU General Public License as published by |
7 | # the Free Software Foundation; either version 2 of the License, or |
8 | # (at your option) any later version. |
9 | # |
10 | # Maruku is distributed in the hope that it will be useful, |
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | # GNU General Public License for more details. |
14 | # |
15 | # You should have received a copy of the GNU General Public License |
16 | # along with Maruku; if not, write to the Free Software |
17 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
18 | |
19 | dir = File.dirname(__FILE__) |
20 | $LOAD_PATH.unshift dir unless $LOAD_PATH.include?(dir) |
21 | |
22 | require 'rexml/document' |
23 | |
24 | module MaRuKu |
25 | module In |
26 | module Markdown |
27 | module SpanLevelParser; end |
28 | module BlockLevelParser; end |
29 | end |
30 | end |
31 | |
32 | module Out |
33 | module Markdown; end |
34 | module HTML; end |
35 | module Latex; end |
36 | end |
37 | |
38 | module Strings; end |
39 | |
40 | module Helpers; end |
41 | |
42 | module Errors; end |
43 | |
44 | class MDElement |
45 | include REXML |
46 | include MaRuKu |
47 | include Out::Markdown |
48 | include Out::HTML |
49 | include Out::Latex |
50 | include Strings |
51 | include Helpers |
52 | include Errors |
53 | end |
54 | |
55 | |
56 | class MDDocument < MDElement |
57 | include In::Markdown |
58 | include In::Markdown::SpanLevelParser |
59 | include In::Markdown::BlockLevelParser |
60 | end |
61 | end |
62 | |
63 | class Maruku < MaRuKu::MDDocument; end |
64 | |
65 | |
66 | # Structures definition |
67 | require 'maruku/structures' |
68 | require 'maruku/structures_inspect' |
69 | |
70 | require 'maruku/defaults' |
71 | # Less typing |
72 | require 'maruku/helpers' |
73 | |
74 | # Code for parsing whole Markdown documents |
75 | require 'maruku/input/parse_doc' |
76 | |
77 | # Ugly things kept in a closet |
78 | require 'maruku/string_utils' |
79 | require 'maruku/input/linesource' |
80 | require 'maruku/input/type_detection' |
81 | |
82 | # A class for reading and sanitizing inline HTML |
83 | require 'maruku/input/html_helper' |
84 | |
85 | # Code for parsing Markdown block-level elements |
86 | require 'maruku/input/parse_block' |
87 | |
88 | # Code for parsing Markdown span-level elements |
89 | require 'maruku/input/charsource' |
90 | require 'maruku/input/parse_span_better' |
91 | require 'maruku/input/rubypants' |
92 | |
93 | require 'maruku/input/extensions' |
94 | |
95 | require 'maruku/attributes' |
96 | |
97 | require 'maruku/structures_iterators' |
98 | |
99 | require 'maruku/errors' |
100 | |
101 | # Code for creating a table of contents |
102 | require 'maruku/toc' |
103 | |
104 | # Support for div Markdown extension |
105 | require 'maruku/ext/div' |
106 | # Support for fenced codeblocks extension |
107 | require 'maruku/ext/fenced_code' |
108 | |
109 | # Version and URL |
110 | require 'maruku/version' |
111 | |
112 | |
113 | # Exporting to html |
114 | require 'maruku/output/to_html' |
115 | |
116 | # Exporting to latex |
117 | require 'maruku/output/to_latex' |
118 | require 'maruku/output/to_latex_strings' |
119 | require 'maruku/output/to_latex_entities' |
120 | |
121 | # Pretty print |
122 | require 'maruku/output/to_markdown' |
123 | |
124 | # S5 slides |
125 | require 'maruku/output/s5/to_s5' |
126 | require 'maruku/output/s5/fancy' |
127 | |
128 | # Exporting to text: strips all formatting (not complete) |
129 | require 'maruku/output/to_s' |
130 | |
131 | # class Maruku is the global interface |
132 | require 'maruku/maruku' |