wikitext 4.0.1 → 4.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/wikitext +10 -110
- data/ext/wikitext/ary.c +116 -0
- data/ext/wikitext/ary.h +50 -0
- data/ext/wikitext/depend +32 -0
- data/ext/wikitext/parser.c +2595 -0
- data/ext/wikitext/parser.h +40 -0
- data/ext/wikitext/ruby_compat.h +34 -0
- data/ext/wikitext/str.c +109 -0
- data/ext/wikitext/str.h +64 -0
- data/ext/wikitext/token.c +125 -0
- data/ext/wikitext/token.h +117 -0
- data/ext/wikitext/wikitext.c +125 -0
- data/ext/wikitext/wikitext.h +39 -0
- data/ext/wikitext/wikitext_ragel.c +3211 -0
- data/ext/wikitext/wikitext_ragel.h +26 -0
- data/lib/wikitext/version.rb +1 -1
- metadata +17 -3
@@ -0,0 +1,26 @@
|
|
1
|
+
// Copyright 2008-2009 Wincent Colaiuta. All rights reserved.
|
2
|
+
//
|
3
|
+
// Redistribution and use in source and binary forms, with or without
|
4
|
+
// modification, are permitted provided that the following conditions are met:
|
5
|
+
//
|
6
|
+
// 1. Redistributions of source code must retain the above copyright notice,
|
7
|
+
// this list of conditions and the following disclaimer.
|
8
|
+
// 2. Redistributions in binary form must reproduce the above copyright notice,
|
9
|
+
// this list of conditions and the following disclaimer in the documentation
|
10
|
+
// and/or other materials provided with the distribution.
|
11
|
+
//
|
12
|
+
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
13
|
+
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
14
|
+
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
15
|
+
// ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE
|
16
|
+
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
17
|
+
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
18
|
+
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
19
|
+
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
20
|
+
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
21
|
+
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
22
|
+
// POSSIBILITY OF SUCH DAMAGE.
|
23
|
+
|
24
|
+
#include "token.h"
|
25
|
+
|
26
|
+
void next_token(token_t *out, token_t *last_token, char *p, char *pe);
|
data/lib/wikitext/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wikitext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wincent Colaiuta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -104,6 +104,21 @@ extensions:
|
|
104
104
|
extra_rdoc_files: []
|
105
105
|
files:
|
106
106
|
- bin/wikitext
|
107
|
+
- ext/wikitext/extconf.rb
|
108
|
+
- ext/wikitext/ary.c
|
109
|
+
- ext/wikitext/parser.c
|
110
|
+
- ext/wikitext/str.c
|
111
|
+
- ext/wikitext/token.c
|
112
|
+
- ext/wikitext/wikitext.c
|
113
|
+
- ext/wikitext/wikitext_ragel.c
|
114
|
+
- ext/wikitext/ary.h
|
115
|
+
- ext/wikitext/parser.h
|
116
|
+
- ext/wikitext/ruby_compat.h
|
117
|
+
- ext/wikitext/str.h
|
118
|
+
- ext/wikitext/token.h
|
119
|
+
- ext/wikitext/wikitext.h
|
120
|
+
- ext/wikitext/wikitext_ragel.h
|
121
|
+
- ext/wikitext/depend
|
107
122
|
- lib/wikitext/nil_class.rb
|
108
123
|
- lib/wikitext/parser.rb
|
109
124
|
- lib/wikitext/preprocess.rb
|
@@ -148,7 +163,6 @@ files:
|
|
148
163
|
- spec/version_spec.rb
|
149
164
|
- spec/vim_formatter.rb
|
150
165
|
- spec/wikitext_spec.rb
|
151
|
-
- ext/wikitext/extconf.rb
|
152
166
|
homepage: https://wincent.com/products/wikitext
|
153
167
|
licenses:
|
154
168
|
- BSD
|