bluecloth 2.0.6.pre120-x86-mswin32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. data/ChangeLog +363 -0
  2. data/LICENSE +27 -0
  3. data/LICENSE.discount +47 -0
  4. data/README +81 -0
  5. data/Rakefile +349 -0
  6. data/Rakefile.local +43 -0
  7. data/bin/bluecloth +84 -0
  8. data/ext/Csio.c +61 -0
  9. data/ext/VERSION +1 -0
  10. data/ext/amalloc.h +29 -0
  11. data/ext/bluecloth.c +391 -0
  12. data/ext/bluecloth.h +19 -0
  13. data/ext/config.h +55 -0
  14. data/ext/css.c +76 -0
  15. data/ext/cstring.h +75 -0
  16. data/ext/docheader.c +43 -0
  17. data/ext/extconf.rb +52 -0
  18. data/ext/generate.c +1602 -0
  19. data/ext/markdown.c +1078 -0
  20. data/ext/markdown.h +146 -0
  21. data/ext/mkdio.c +303 -0
  22. data/ext/mkdio.h +79 -0
  23. data/ext/resource.c +155 -0
  24. data/ext/version.c +28 -0
  25. data/ext/xml.c +82 -0
  26. data/ext/xmlpage.c +48 -0
  27. data/lib/1.8/bluecloth_ext.so +0 -0
  28. data/lib/1.9/bluecloth_ext.so +0 -0
  29. data/lib/bluecloth.rb +164 -0
  30. data/rake/191_compat.rb +26 -0
  31. data/rake/dependencies.rb +76 -0
  32. data/rake/helpers.rb +434 -0
  33. data/rake/hg.rb +273 -0
  34. data/rake/manual.rb +782 -0
  35. data/rake/packaging.rb +126 -0
  36. data/rake/publishing.rb +269 -0
  37. data/rake/rdoc.rb +30 -0
  38. data/rake/style.rb +62 -0
  39. data/rake/svn.rb +668 -0
  40. data/rake/testing.rb +187 -0
  41. data/rake/verifytask.rb +64 -0
  42. data/rake/win32.rb +190 -0
  43. data/spec/bluecloth/101_changes_spec.rb +141 -0
  44. data/spec/bluecloth/autolinks_spec.rb +49 -0
  45. data/spec/bluecloth/blockquotes_spec.rb +145 -0
  46. data/spec/bluecloth/code_spans_spec.rb +164 -0
  47. data/spec/bluecloth/emphasis_spec.rb +164 -0
  48. data/spec/bluecloth/entities_spec.rb +65 -0
  49. data/spec/bluecloth/hrules_spec.rb +90 -0
  50. data/spec/bluecloth/images_spec.rb +92 -0
  51. data/spec/bluecloth/inline_html_spec.rb +238 -0
  52. data/spec/bluecloth/links_spec.rb +171 -0
  53. data/spec/bluecloth/lists_spec.rb +294 -0
  54. data/spec/bluecloth/paragraphs_spec.rb +75 -0
  55. data/spec/bluecloth/titles_spec.rb +305 -0
  56. data/spec/bluecloth_spec.rb +281 -0
  57. data/spec/bugfix_spec.rb +172 -0
  58. data/spec/contributions_spec.rb +85 -0
  59. data/spec/data/antsugar.txt +34 -0
  60. data/spec/data/markdowntest/Amps and angle encoding.html +17 -0
  61. data/spec/data/markdowntest/Amps and angle encoding.text +21 -0
  62. data/spec/data/markdowntest/Auto links.html +18 -0
  63. data/spec/data/markdowntest/Auto links.text +13 -0
  64. data/spec/data/markdowntest/Backslash escapes.html +118 -0
  65. data/spec/data/markdowntest/Backslash escapes.text +120 -0
  66. data/spec/data/markdowntest/Blockquotes with code blocks.html +15 -0
  67. data/spec/data/markdowntest/Blockquotes with code blocks.text +11 -0
  68. data/spec/data/markdowntest/Code Blocks.html +18 -0
  69. data/spec/data/markdowntest/Code Blocks.text +14 -0
  70. data/spec/data/markdowntest/Code Spans.html +5 -0
  71. data/spec/data/markdowntest/Code Spans.text +5 -0
  72. data/spec/data/markdowntest/Hard-wrapped paragraphs with list-like lines.html +8 -0
  73. data/spec/data/markdowntest/Hard-wrapped paragraphs with list-like lines.text +8 -0
  74. data/spec/data/markdowntest/Horizontal rules.html +71 -0
  75. data/spec/data/markdowntest/Horizontal rules.text +67 -0
  76. data/spec/data/markdowntest/Inline HTML (Advanced).html +15 -0
  77. data/spec/data/markdowntest/Inline HTML (Advanced).text +15 -0
  78. data/spec/data/markdowntest/Inline HTML (Simple).html +72 -0
  79. data/spec/data/markdowntest/Inline HTML (Simple).text +69 -0
  80. data/spec/data/markdowntest/Inline HTML comments.html +13 -0
  81. data/spec/data/markdowntest/Inline HTML comments.text +13 -0
  82. data/spec/data/markdowntest/Links, inline style.html +11 -0
  83. data/spec/data/markdowntest/Links, inline style.text +12 -0
  84. data/spec/data/markdowntest/Links, reference style.html +52 -0
  85. data/spec/data/markdowntest/Links, reference style.text +71 -0
  86. data/spec/data/markdowntest/Links, shortcut references.html +9 -0
  87. data/spec/data/markdowntest/Links, shortcut references.text +20 -0
  88. data/spec/data/markdowntest/Literal quotes in titles.html +3 -0
  89. data/spec/data/markdowntest/Literal quotes in titles.text +7 -0
  90. data/spec/data/markdowntest/Markdown Documentation - Basics.html +314 -0
  91. data/spec/data/markdowntest/Markdown Documentation - Basics.text +306 -0
  92. data/spec/data/markdowntest/Markdown Documentation - Syntax.html +942 -0
  93. data/spec/data/markdowntest/Markdown Documentation - Syntax.text +888 -0
  94. data/spec/data/markdowntest/Nested blockquotes.html +9 -0
  95. data/spec/data/markdowntest/Nested blockquotes.text +5 -0
  96. data/spec/data/markdowntest/Ordered and unordered lists.html +148 -0
  97. data/spec/data/markdowntest/Ordered and unordered lists.text +131 -0
  98. data/spec/data/markdowntest/Strong and em together.html +7 -0
  99. data/spec/data/markdowntest/Strong and em together.text +7 -0
  100. data/spec/data/markdowntest/Tabs.html +25 -0
  101. data/spec/data/markdowntest/Tabs.text +21 -0
  102. data/spec/data/markdowntest/Tidyness.html +8 -0
  103. data/spec/data/markdowntest/Tidyness.text +5 -0
  104. data/spec/data/ml-announce.txt +17 -0
  105. data/spec/data/re-overflow.txt +67 -0
  106. data/spec/data/re-overflow2.txt +281 -0
  107. data/spec/discount_spec.rb +184 -0
  108. data/spec/lib/constants.rb +5 -0
  109. data/spec/lib/helpers.rb +137 -0
  110. data/spec/lib/matchers.rb +235 -0
  111. data/spec/markdowntest_spec.rb +79 -0
  112. metadata +205 -0
data/ChangeLog ADDED
@@ -0,0 +1,363 @@
1
+ 120[tip] 5bae8ff5846f 2010-01-15 20:06 -0800 ged
2
+ Add version-specific extension-loading for native gems.
3
+
4
+ 119 e04eccd695ee 2010-01-14 09:00 -0800 ged
5
+ Encoding bugfix for Ruby 1.9.1.
6
+
7
+ 118 7c15c9beb634 2010-01-05 05:39 -0800 ged
8
+ Enable native/cross-compilation, add pending Markdown-Extra table specs.
9
+
10
+ 117 e04270524114 2010-01-04 08:18 -0800 ged
11
+ Removing old files, updated build system.
12
+
13
+ 116 f2af577b2cc0 2010-01-03 11:17 -0800 ged
14
+ Updated benchmark to include kramdown.
15
+
16
+ 115 b715702c19f7 2010-01-02 15:08 -0800 ged
17
+ Adding a minimal test case for #60.
18
+
19
+ 114:112,113 617e767c1331 2010-01-02 14:49 -0800 ged
20
+ Added spec for #56 so I can close it.
21
+
22
+ 113:111 8be386ec10a8 2009-11-04 15:56 -0800 ged
23
+ Updated build files.
24
+
25
+ 112 5c81c9a5012f 2010-01-01 10:54 -0800 ged
26
+ Build with rake-compiler, fix some bugs.
27
+
28
+ 111 ce4fb0ebf7c0 2009-08-03 12:58 -0700 ged
29
+ * Updated to Discount 1.5 (+bugfixes)
30
+
31
+ 110 79aeab070db6 2009-08-03 05:59 -0700 ged
32
+ * Updated build system
33
+
34
+ 109 2f1e2866f511 2009-07-29 09:31 -0700 ged
35
+ * Adding an .hgignore
36
+
37
+ 108 ca59ad11e08f 2009-07-29 23:56 +0000 convert-repo
38
+ update tags
39
+
40
+ 107 c4984d0f836b 2009-07-16 07:18 +0000 ged
41
+ Test for bzero (used in generate.c), and if it isn't defined (e.g., Windows using VC), define it
42
+
43
+ 106 fc2e0f28ccab 2009-07-16 00:22 +0000 ged
44
+ Fixing extra release files in the Rakefile
45
+
46
+ 105[2.0.5] 2cc7a3180ee8 2009-07-16 00:18 +0000 ged
47
+ Bumping version to 2.0.5.
48
+
49
+ 104 6164b7b34474 2009-07-15 23:52 +0000 ged
50
+ * Updated the build system
51
+
52
+ 103 6d52ea6e383b 2009-07-06 23:57 +0000 ged
53
+ Adding a spec to test out the DoS reported by Ben Sandofsky (refs #57).
54
+
55
+ 102[2.0.4] 824e2d6eab4c 2009-06-30 01:33 +0000 ged
56
+ * Updated with Discount 1.4.4.
57
+
58
+ 101 70e807c1eead 2009-06-15 13:15 +0000 ged
59
+ * Updated to Discount 1.4.2.
60
+
61
+ 100[2.0.3] 4e24d4de383f 2009-05-26 05:08 +0000 ged
62
+ * Fixing tests under Ruby 1.9.1. Thanks to Diego Elio Pettenò for the fix.
63
+
64
+ 99[2.0.2] 68e2db2b0c94 2009-05-14 15:26 +0000 ged
65
+ Bumping version to 2.0.2.
66
+
67
+ 98 824864e57182 2009-05-14 15:21 +0000 ged
68
+ * Updated to Discount 1.4.0.
69
+
70
+ 97[2.0.1] bbd194b2caca 2009-04-07 22:07 +0000 ged
71
+ * Updated build system.
72
+
73
+ 96[2.0.0]:93 90ca87312078 2009-03-25 14:42 +0000 ged
74
+ Merged build system update and README changes from the [log:branches/spec-and-19-fixes@109:110 spec-and-19-fixes branch].
75
+
76
+ 95 93546826fa39 2009-03-25 14:35 +0000 ged
77
+ Updated build system.
78
+
79
+ 94:91 7920ff5c7aed 2009-03-25 14:32 +0000 ged
80
+ README wording fix.
81
+
82
+ 93 2bde45351ad8 2009-03-13 23:26 +0000 ged
83
+ * Updated build system
84
+
85
+ 92:86 2d482bf2a096 2009-03-13 22:56 +0000 ged
86
+ Merged spec updates, new version of Discount, updated MarkdownTest and Ruby 1.9.1 fixes from [log:branches/spec-and-19-fixes@102:106 the spec-and-19-fixes branch].
87
+
88
+ 91 f95cdb6af413 2009-03-13 22:44 +0000 ged
89
+ * Fixes for 1.9.1.
90
+
91
+ 90 f575c3ddbe33 2009-03-13 22:39 +0000 ged
92
+ * Finished splitting out the old auto-generated specs into explicit ones.
93
+
94
+ 89 7edafd943312 2009-03-13 21:21 +0000 ged
95
+ * Updated build system
96
+
97
+ 88 529efba157cd 2009-03-13 20:42 +0000 ged
98
+ Checkpoint commit
99
+
100
+ 87 bea54f3c8ad0 2009-03-13 20:42 +0000 ged
101
+ Branching to split out the specs and add fixes for 1.9.
102
+
103
+ 86 9a5ad2923bb3 2009-02-23 14:16 +0000 ged
104
+ * Trying to fix whitespace differences in generated output.
105
+
106
+ 85 7d9d7867dcd2 2009-02-23 06:58 +0000 ged
107
+ Started work on fixes for 1.9.1.
108
+
109
+ 84 20aece07667c 2009-01-07 21:43 +0000 ged
110
+ Fixed the VERSION
111
+
112
+ 83 4e4704585c05 2009-01-02 23:46 +0000 ged
113
+ Made the benchmark run with no additional prep (other than installing the requisite alternative implementations).
114
+
115
+ 82 312e1b089c11 2009-01-02 17:56 +0000 ged
116
+ * Updated build system
117
+
118
+ 81 50d73df53a75 2008-12-30 08:16 +0000 ged
119
+ Updated to Discount 1.3.1.
120
+
121
+ 80 98738523209f 2008-12-28 06:19 +0000 ged
122
+ * Removed some chatty memory-allocation debugging.
123
+
124
+ 79 fb5abd6b80f0 2008-12-28 03:04 +0000 ged
125
+ * Include the ext/VERSION file in the gem, as it's required for building.
126
+
127
+ 78 a6a8b77ebeea 2008-12-27 02:28 +0000 ged
128
+ Added support for Discount Markdown extensions and Pandoc header.
129
+
130
+ 77 f0d9a3b66167 2008-12-25 09:53 +0000 ged
131
+ Handle the 'tidy' library not being installed.
132
+
133
+ 76 1c01a3186b0f 2008-12-25 09:41 +0000 ged
134
+ Forgot to change the libtidy name hack to the spec itself.
135
+
136
+ 75 1afe9dd6b2b1 2008-12-25 09:37 +0000 ged
137
+ * Cleaned up a bunch of stuff from the first version.
138
+
139
+ 74 d6a67116703f 2008-12-25 03:29 +0000 ged
140
+ First working commit of Discount-backed BlueCloth 2.0.
141
+
142
+ 73 f7692e282fe6 2008-09-01 22:24 +0000 ged
143
+ * Checkpoint commit of MarkdownTest integration
144
+
145
+ 72:65 10001a99c611 2008-08-20 21:46 +0000 ged
146
+ Adding MarkdownTest tests, new build system. [broken build]
147
+
148
+ 71 8fde110be755 2008-08-01 19:12 +0000 ged
149
+ Checkpoint commit -- build system + markdowntest + Ragel grammar stub
150
+
151
+ 70:65 68c7658d9537 2008-08-01 19:01 +0000 ged
152
+ Making a branch for the experimental Ragel parser work
153
+
154
+ 69 4a618585d44a 2005-11-09 01:38 +0000 ged
155
+ * Fixed bug #12, and cleaned up warnings from changes to StringScanner. [fixes #12]
156
+
157
+ 68 a7c5084bb2c6 2005-11-09 01:34 +0000 ged
158
+ * Adding a standalone testcase for bug #12. Current Ruby only issues a warning
159
+
160
+ 67 752e33cb18b9 2005-11-09 01:28 +0000 ged
161
+ - Updated to point to my own Trac site.
162
+
163
+ 66 8f3203640ccd 2005-11-09 01:24 +0000 ged
164
+ * Branching for bugfixes + internals rewrite.
165
+
166
+ 65 f4a61eededf5 2005-05-12 21:31 +0000 ged
167
+ - Renamed tests without goofy numbers.
168
+
169
+ 64 d604e9fe1a4a 2005-05-12 20:31 +0000 ged
170
+ - Updated license to BSD/Ruby's; included LICENSE.txt from Ruby dist.
171
+
172
+ 63 3e785abfc186 2005-05-12 19:48 +0000 ged
173
+ - Added tests to make sure I dont break lists trying to fix #15
174
+
175
+ 62 e008c4845aef 2005-05-12 19:26 +0000 ged
176
+ - Added new tests for bug #17 (two-character bold/italic bug)
177
+
178
+ 61 bac992099396 2004-08-31 05:19 +0000 ged
179
+ - Updated for 1.0.0fc3 release.
180
+
181
+ 60 7eb11846096d 2004-08-25 05:27 +0000 ged
182
+ - Fixed bug introduced by the last bugfix, fixed tests that missed the new bug.
183
+
184
+ 59 324685ac4010 2004-08-25 05:14 +0000 ged
185
+ - Tracked down and fixed another regexp engine overflow bug; added a new test,
186
+
187
+ 58 a33c5eac1856 2004-08-24 14:57 +0000 ged
188
+ - Updated to v1.0.0.
189
+
190
+ 57 e233c9f93105 2004-08-24 14:56 +0000 ged
191
+ - Updated to v1.0.0.
192
+
193
+ 56 c793933d4599 2004-08-24 14:53 +0000 ged
194
+ - Updated to 20040824.
195
+
196
+ 55 992586b37e73 2004-08-24 14:52 +0000 ged
197
+ - Added CHANGES.xml to ignore property for root directory.
198
+
199
+ 54 976267f8ce12 2004-08-24 14:48 +0000 ged
200
+ - Brought list of block-level tags up to date with Markdown 1.0's list
201
+
202
+ 53 0e3f0bc95714 2004-08-22 19:28 +0000 ged
203
+ - Fixed re-engine overflow for all tested cases (thanks to Martin Chase
204
+
205
+ 52 5278657f5319 2004-08-22 19:26 +0000 ged
206
+ - Removed skip of overflow test.
207
+
208
+ 51 71617cbac5be 2004-08-22 19:24 +0000 ged
209
+ - "Fixed" the test case so it overflows again.
210
+
211
+ 50 0b2eafa02561 2004-08-09 05:12 +0000 ged
212
+ - Updated to 20040808.
213
+
214
+ 49 8c26c74594e1 2004-08-09 01:16 +0000 ged
215
+ - Modified to work from wherever the test is run (RPA compat).
216
+
217
+ 48 f7c3d9f3f7a1 2004-08-09 01:15 +0000 ged
218
+ - Modified to work from wherever the test is run (RPA compat).
219
+
220
+ 47 93abf238a8a7 2004-08-09 01:15 +0000 ged
221
+ - Updated version attribute.
222
+
223
+ 46 94b0fc3111a3 2004-08-09 01:14 +0000 ged
224
+ - Brought markdown syntax up to date with Markdown 1.0fc1.
225
+
226
+ 45 687a5882b6ab 2004-08-09 01:13 +0000 ged
227
+ - Made the require-header work wherever the test is run from (RPA compat).
228
+
229
+ 44 b701148f1078 2004-06-21 15:20 +0000 ged
230
+ - Brought up to date with Markdown 1.0b7.
231
+
232
+ 43 28fbfd30ae84 2004-06-02 13:37 +0000 ged
233
+ - Commented out non-functional --output option for now.
234
+
235
+ 42 c6015bf41ec7 2004-06-02 03:30 +0000 ged
236
+ Initial checkin.
237
+
238
+ 41 d595be427a40 2004-06-02 03:29 +0000 ged
239
+ - Added test for bug #574.
240
+
241
+ 40 6caececb7a82 2004-06-02 03:21 +0000 ged
242
+ - Test for bug #620 - Unresolved reference-style links doubled the character
243
+
244
+ 39 78dfd775cec9 2004-06-02 03:19 +0000 ged
245
+ - Fix for bug #620 - Unresolved reference-style links doubled the character
246
+
247
+ 38 0fb4d975113a 2004-05-14 02:43 +0000 ged
248
+ - Added tests for bug #568 (Two sets of bold text on one line doesn't render
249
+
250
+ 37 de0cec95ba63 2004-05-14 02:41 +0000 ged
251
+ - Fixed bug with bolding of single characters (bug #568).
252
+
253
+ 36 3dd2e20acd6a 2004-05-04 14:35 +0000 ged
254
+ - Additional fixes and tests for bug #537.
255
+
256
+ 35 a63aa4091662 2004-04-30 03:40 +0000 ged
257
+ - Added bin/ directory.
258
+
259
+ 34 bf3492418bf7 2004-04-30 03:40 +0000 ged
260
+ - Set date.
261
+
262
+ 33 0fa434ed6ee6 2004-04-30 03:39 +0000 ged
263
+ - Added test for Bug #543 (Safe mode does not work when there are no left
264
+
265
+ 32 70d5a794edc9 2004-04-30 03:38 +0000 ged
266
+ - Added test for email address encoding (Bug #537).
267
+
268
+ 31 c39cd62dc023 2004-04-30 03:35 +0000 ged
269
+ - Fix for bug #543 (Safe mode does not work when there are no left
270
+
271
+ 30 89ae174bf6eb 2004-04-30 03:33 +0000 ged
272
+ - Fix for bug #541 (Leading line of codeblock with more than one tab
273
+
274
+ 29 146a20279a49 2004-04-30 03:31 +0000 ged
275
+ - Fix for bug #537. Fix suggested by Marek Janukowicz.
276
+
277
+ 28 9751c45529de 2004-04-23 04:47 +0000 ged
278
+ - Temporary fixes until I have time to integrate SVN stuff.
279
+
280
+ 27 04fa7e0e035c 2004-04-23 04:46 +0000 ged
281
+ - Version bump.
282
+
283
+ 26 8dd949521598 2004-04-23 04:46 +0000 ged
284
+ - Brought in line with most-recent release.
285
+
286
+ 25 9cd965756b2c 2004-04-23 04:40 +0000 ged
287
+ - Version bump.
288
+
289
+ 24 7e81348df6c0 2004-04-23 04:39 +0000 ged
290
+ - Bugfixes for bugs 524 and 525. Thanks to David Heinemeier Hansson and Javier
291
+
292
+ 23 ca4b54166276 2004-04-23 04:34 +0000 ged
293
+ - Test for bugs 524 and 525
294
+
295
+ 22 496d7f7a4cdc 2004-04-16 01:55 +0000 ged
296
+ - Corrected version
297
+
298
+ 21 b51c6840bc49 2004-04-16 01:53 +0000 ged
299
+ - Brought Version up to date.
300
+
301
+ 20 f2718c29f536 2004-04-16 01:52 +0000 ged
302
+ - Updated ignore metadata.
303
+
304
+ 19 f82fd20371ad 2004-04-16 01:51 +0000 ged
305
+ Initial checkin.
306
+
307
+ 18 f403c21157cc 2004-04-16 01:50 +0000 ged
308
+ - Changed tests/ pattern to catch all tests.
309
+
310
+ 17 f4112232595f 2004-04-16 01:49 +0000 ged
311
+ - Added missing dependency check for devel-logger.
312
+
313
+ 16 8690a971eb59 2004-04-16 01:49 +0000 ged
314
+ - Added contributors section to the header.
315
+
316
+ 15 492797ca9f09 2004-04-16 01:48 +0000 ged
317
+ - Added contributors section to the header.
318
+
319
+ 14 0649b1f16ee8 2004-04-12 06:02 +0000 ged
320
+ - Added keywords.
321
+
322
+ 13 9fe4c26b72e0 2004-04-12 06:01 +0000 ged
323
+ - Updated comments/added to-do marker.
324
+
325
+ 12 64b1e11c97ff 2004-04-12 05:47 +0000 ged
326
+ - Updated ignore list.
327
+
328
+ 11 6a8aed04e890 2004-04-12 05:46 +0000 ged
329
+ Initial checkin.
330
+
331
+ 10 0fc13fe6e6c7 2004-04-12 05:45 +0000 ged
332
+ - Added a time() function for timing bits of code.
333
+
334
+ 9 3abdc2f04959 2004-04-12 05:43 +0000 ged
335
+ - Changed keyword constants from CVS to SVN keywords.
336
+
337
+ 8 e5db5380cfaf 2004-04-12 05:29 +0000 ged
338
+ - Changed location of keyword stuff, added URL keyword.
339
+
340
+ 7 f3c8521ac045 2004-04-12 05:26 +0000 ged
341
+ - Added the rest of the content.
342
+
343
+ 6 8b6eb6e814ad 2004-04-12 05:21 +0000 ged
344
+ - Fixed license in header
345
+
346
+ 5 80efe23904b2 2004-04-12 05:17 +0000 ged
347
+ - Renamed to reflect repurposing.
348
+
349
+ 4 d0414fcb9d46 2004-04-12 05:17 +0000 ged
350
+ - Converted to bug-testing testcase.
351
+
352
+ 3 7cacdc1638d5 2004-04-12 05:15 +0000 ged
353
+ - Added some mode code span tests to catch bugs.
354
+
355
+ 2 50ad59f16116 2004-04-11 04:40 +0000 ged
356
+ - Updated dist/install utilities/libs.
357
+
358
+ 1 47d5847f4c84 2004-04-10 20:36 +0000 ged
359
+ Removed markdown reference source
360
+
361
+ 0 08a749d2dd7f 2004-04-10 20:35 +0000 ged
362
+ Initial checkin
363
+
data/LICENSE ADDED
@@ -0,0 +1,27 @@
1
+ Copyright (c) 2004-2010, Michael Granger
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 met:
6
+
7
+ * Redistributions of source code must retain the above copyright notice,
8
+ this list of conditions and the following disclaimer.
9
+
10
+ * Redistributions in binary form must reproduce the above copyright notice,
11
+ this list of conditions and the following disclaimer in the documentation
12
+ and/or other materials provided with the distribution.
13
+
14
+ * Neither the name of the author/s, nor the names of the project's
15
+ contributors may be used to endorse or promote products derived from this
16
+ software without specific prior written permission.
17
+
18
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
22
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
data/LICENSE.discount ADDED
@@ -0,0 +1,47 @@
1
+ ->Copyright (C) 2007 David Loren Parsons.
2
+ All rights reserved.<-
3
+
4
+ Permission is hereby granted, free of charge, to any person
5
+ obtaining a copy of this software and associated documentation files
6
+ (the "Software"), to deal in the Software without restriction,
7
+ including without limitation the rights to use, copy, modify, merge,
8
+ publish, distribute, sublicence, and/or sell copies of the Software,
9
+ and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ 1. Redistributions of source code must retain the above copyright
13
+ notice, this list of conditions, and the following disclaimer.
14
+
15
+ 2. Redistributions in binary form must reproduce the above
16
+ copyright notice, this list of conditions and the following
17
+ disclaimer in the documentation and/or other materials provided
18
+ with the distribution, and in the same place and form as other
19
+ copyright, license and disclaimer information.
20
+
21
+ 3. The end-user documentation included with the redistribution, if
22
+ any, must include the following acknowledgment:
23
+
24
+ This product includes software developed by
25
+ David Loren Parsons <http://www.pell.portland.or.us/~orc>
26
+
27
+ in the same place and form as other third-party acknowledgments.
28
+ Alternately, this acknowledgment may appear in the software
29
+ itself, in the same form and location as other such third-party
30
+ acknowledgments.
31
+
32
+ 4. Except as contained in this notice, the name of David Loren
33
+ Parsons shall not be used in advertising or otherwise to promote
34
+ the sale, use or other dealings in this Software without prior
35
+ written authorization from David Loren Parsons.
36
+
37
+ THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
38
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
39
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
40
+ IN NO EVENT SHALL DAVID LOREN PARSONS BE LIABLE FOR ANY DIRECT,
41
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
42
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
43
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
44
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
45
+ STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
46
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
47
+ OF THE POSSIBILITY OF SUCH DAMAGE.
data/README ADDED
@@ -0,0 +1,81 @@
1
+ = BlueCloth 2
2
+
3
+ BlueCloth is a Ruby implementation of John Gruber's
4
+ Markdown[http://daringfireball.net/projects/markdown/], a text-to-HTML
5
+ conversion tool for web writers. To quote from the project page:
6
+ Markdown allows you to write using an easy-to-read, easy-to-write plain
7
+ text format, then convert it to structurally valid XHTML (or HTML).
8
+
9
+ It borrows a naming convention and several helpings of interface from
10
+ Redcloth[http://www.whytheluckystiff.net/ruby/redcloth/], {Why the Lucky
11
+ Stiff}[http://www.whytheluckystiff.net/] 's processor for a similar
12
+ text-to-HTML conversion syntax called
13
+ Textile[http://www.textism.com/tools/textile/].
14
+
15
+ BlueCloth 2 is a complete rewrite using David Parsons' Discount library,
16
+ a C implementation of Markdown. I rewrote it using the extension for
17
+ speed and accuracy; the original BlueCloth was a straight port from the
18
+ Perl version that I wrote in a few days for my own use just to avoid
19
+ having to shell out to Markdown.pl, and it was quite buggy and slow. I
20
+ apologize to all the good people that sent me patches for it that were
21
+ never released.
22
+
23
+ Note that the new gem is called 'bluecloth' and the old one 'BlueCloth'. If you have both installed, you can ensure you're loading the new one with the 'gem' directive:
24
+
25
+ # Load the 2.0 version
26
+ gem 'bluecloth', '>= 2.0.0'
27
+
28
+ # Load the 1.0 version
29
+ gem 'BlueCloth'
30
+ require 'bluecloth'
31
+
32
+
33
+ == Authors
34
+
35
+ * Michael Granger (ged@FaerieMUD.org)
36
+
37
+
38
+ == Contributors
39
+
40
+ * Martin Chase <stillflame@FaerieMUD.org>
41
+ * Florian Gross <flgr@ccan.de>
42
+
43
+ This product includes software developed by David Loren
44
+ Parsons <http://www.pell.portland.or.us/~orc>.
45
+
46
+
47
+ == Installation
48
+
49
+ If you use RubyGems, you can install it via:
50
+
51
+ $ sudo gem install bluecloth
52
+
53
+ You can also install as a site library via the Rakefile:
54
+
55
+ $ wget http://deveiate.org/code/bluecloth-x.y.z.tar.gz
56
+ $ tar xzvf bluecloth-x.y.z.tar.gz
57
+ $ cd bluecloth-x.y.z
58
+ $ sudo rake install
59
+
60
+
61
+ == Source
62
+
63
+ You can check out the current development source with Mercurial from
64
+ the following URL:
65
+
66
+ http://repo.deveiate.org/BlueCloth
67
+
68
+ You can report bugs, suggest improvements, or check on development
69
+ activity at the project page:
70
+
71
+ http://deveiate.org/projects/BlueCloth/
72
+
73
+
74
+ == License
75
+
76
+ See the LICENSE file included with the distribution for licensing and
77
+ copyright details.
78
+
79
+ The licensing terms of Discount are described in the LICENSE.discount
80
+ file, also included with the distribution.
81
+