typo 5.3 → 5.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1662) hide show
  1. data/CHANGELOG +30 -627
  2. data/app/controllers/accounts_controller.rb +28 -8
  3. data/app/controllers/admin/base_controller.rb +0 -2
  4. data/app/controllers/admin/blacklist_controller.rb +1 -1
  5. data/app/controllers/admin/categories_controller.rb +1 -1
  6. data/app/controllers/admin/content_controller.rb +40 -20
  7. data/app/controllers/admin/dashboard_controller.rb +2 -0
  8. data/app/controllers/admin/feedback_controller.rb +5 -4
  9. data/app/controllers/admin/pages_controller.rb +1 -3
  10. data/app/controllers/admin/previews_controller.rb +10 -0
  11. data/app/controllers/admin/profiles_controller.rb +9 -27
  12. data/app/controllers/admin/resources_controller.rb +1 -4
  13. data/app/controllers/admin/settings_controller.rb +11 -5
  14. data/app/controllers/admin/tags_controller.rb +1 -1
  15. data/app/controllers/admin/themes_controller.rb +2 -0
  16. data/app/controllers/admin/users_controller.rb +6 -15
  17. data/app/controllers/application_controller.rb +76 -0
  18. data/app/controllers/articles_controller.rb +4 -8
  19. data/app/controllers/authors_controller.rb +21 -0
  20. data/app/controllers/backend_controller.rb +0 -1
  21. data/app/controllers/content_controller.rb +1 -5
  22. data/app/controllers/feedback_controller.rb +0 -1
  23. data/app/controllers/grouping_controller.rb +29 -7
  24. data/app/controllers/previews_controller.rb +10 -0
  25. data/app/controllers/redirect_controller.rb +3 -1
  26. data/app/controllers/theme_controller.rb +0 -4
  27. data/app/controllers/xml_controller.rb +7 -5
  28. data/app/helpers/admin/base_helper.rb +19 -13
  29. data/app/helpers/admin/users_helper.rb +12 -0
  30. data/app/helpers/application_helper.rb +20 -58
  31. data/app/helpers/articles_helper.rb +2 -2
  32. data/app/helpers/authors_helper.rb +5 -0
  33. data/app/models/article.rb +14 -28
  34. data/app/models/blog.rb +6 -38
  35. data/app/models/category.rb +2 -6
  36. data/app/models/content.rb +24 -18
  37. data/app/models/page.rb +0 -2
  38. data/app/models/page_cache.rb +4 -7
  39. data/app/models/sidebar.rb +6 -6
  40. data/app/models/text_filter.rb +1 -6
  41. data/app/models/theme.rb +7 -2
  42. data/app/models/trackback.rb +1 -5
  43. data/app/models/user.rb +13 -3
  44. data/app/views/accounts/confirm.html.erb +16 -0
  45. data/app/views/accounts/login.html.erb +30 -7
  46. data/app/views/accounts/signup.html.erb +16 -31
  47. data/app/views/admin/blacklist/_blacklist_patterns.html.erb +2 -1
  48. data/app/views/admin/blacklist/_form.html.erb +1 -1
  49. data/app/views/admin/blacklist/destroy.html.erb +7 -7
  50. data/app/views/admin/categories/_categories.html.erb +0 -4
  51. data/app/views/admin/categories/_form.html.erb +18 -20
  52. data/app/views/admin/categories/new.html.erb +5 -8
  53. data/app/views/admin/content/_article_list.html.erb +1 -5
  54. data/app/views/admin/content/_drafts.html.erb +4 -4
  55. data/app/views/admin/content/_form.html.erb +97 -87
  56. data/app/views/admin/content/_simple_editor.html.erb +4 -4
  57. data/app/views/admin/content/_visual_editor.html.erb +6 -5
  58. data/app/views/admin/content/index.html.erb +3 -5
  59. data/app/views/admin/content/new.html.erb +1 -1
  60. data/app/views/admin/dashboard/_comments.html.erb +2 -3
  61. data/app/views/admin/dashboard/_inbound.html.erb +2 -5
  62. data/app/views/admin/dashboard/_popular.html.erb +1 -1
  63. data/app/views/admin/dashboard/_posts.html.erb +1 -2
  64. data/app/views/admin/dashboard/_sysinfo.html.erb +4 -6
  65. data/app/views/admin/dashboard/_typo_dev.html.erb +4 -4
  66. data/app/views/admin/dashboard/_welcome.html.erb +3 -3
  67. data/app/views/admin/dashboard/index.html.erb +14 -8
  68. data/app/views/admin/feedback/_button.html.erb +6 -6
  69. data/app/views/admin/feedback/_form.html.erb +29 -18
  70. data/app/views/admin/feedback/article.html.erb +1 -1
  71. data/app/views/admin/feedback/index.html.erb +18 -10
  72. data/app/views/admin/pages/_form.html.erb +65 -47
  73. data/app/views/admin/pages/_pages.html.erb +1 -3
  74. data/app/views/admin/pages/_visual_editor.html.erb +1 -1
  75. data/app/views/admin/profiles/index.html.erb +6 -0
  76. data/app/views/admin/resources/_resources.html.erb +3 -6
  77. data/app/views/admin/resources/index.html.erb +14 -9
  78. data/app/views/admin/settings/_submit.html.erb +2 -2
  79. data/app/views/admin/settings/feedback.html.erb +96 -90
  80. data/app/views/admin/settings/index.html.erb +78 -46
  81. data/app/views/admin/settings/seo.html.erb +72 -63
  82. data/app/views/admin/settings/write.html.erb +21 -29
  83. data/app/views/admin/sidebar/index.html.erb +2 -2
  84. data/app/views/admin/tags/index.html.erb +18 -9
  85. data/app/views/admin/themes/catalogue.html.erb +6 -14
  86. data/app/views/admin/themes/index.html.erb +6 -12
  87. data/app/views/admin/users/_form.html.erb +181 -63
  88. data/app/views/admin/users/edit.html.erb +2 -5
  89. data/app/views/admin/users/index.html.erb +24 -29
  90. data/app/views/admin/users/new.html.erb +1 -5
  91. data/app/views/articles/_article.html.erb +15 -1
  92. data/app/views/articles/_atom_feed.atom.builder +1 -1
  93. data/app/views/articles/_rss20_feed.rss.builder +4 -2
  94. data/app/views/articles/read.html.erb +3 -3
  95. data/app/views/articles/search.html.erb +1 -1
  96. data/app/views/authors/show.html.erb +37 -0
  97. data/app/views/layouts/accounts.html.erb +3 -4
  98. data/app/views/layouts/administration.html.erb +29 -32
  99. data/app/views/shared/_search.html.erb +10 -0
  100. data/app/views/xml/_atom10_item_article.atom.builder +1 -3
  101. data/bin/typo +4 -0
  102. data/config/boot.rb +3 -2
  103. data/config/environment.rb +32 -109
  104. data/config/environments/cucumber.rb +23 -0
  105. data/config/environments/development.rb +1 -1
  106. data/config/environments/test.rb +5 -0
  107. data/config/initializers/access_rules.rb +20 -23
  108. data/config/locales/nl.rb +103 -0
  109. data/config/routes.rb +10 -4
  110. data/db/migrate/001_initial_schema.rb +4 -0
  111. data/db/migrate/057_add_categorization_model.rb +12 -5
  112. data/db/migrate/060_cleanup_contents_table.rb +9 -1
  113. data/db/migrate/067_remove_blog_ids.rb +9 -1
  114. data/db/migrate/075_move_editor_to_user.rb +1 -11
  115. data/db/migrate/078_add_textfilter_to_users.rb +1 -5
  116. data/db/migrate/079_move_editor_as_string.rb +1 -5
  117. data/db/migrate/080_add_state_to_user.rb +1 -5
  118. data/db/migrate/082_add_users_options.rb +35 -0
  119. data/db/migrate/083_add_users_display_perms.rb +19 -0
  120. data/db/migrate/084_move_users_to_profiles.rb +19 -0
  121. data/db/migrate/085_add_article_parent_draft.rb +9 -0
  122. data/db/migrate/086_add_user_last_connection.rb +9 -0
  123. data/db/schema.rb +18 -2
  124. data/doc/test_themes.rb +50 -0
  125. data/lang/fr_FR.rb +593 -538
  126. data/lang/he_IL.rb +2 -2
  127. data/lang/ja_JP.rb +449 -295
  128. data/lang/nl_NL.rb +657 -0
  129. data/lang/zh_TW.rb +597 -0
  130. data/lib/stateful.rb +1 -1
  131. data/lib/tasks/cucumber.rake +20 -0
  132. data/lib/tasks/release.rake +9 -5
  133. data/lib/tasks/rspec.rake +69 -44
  134. data/lib/tasks/sweep_cache.rake +0 -1
  135. data/lib/typo_version.rb +1 -1
  136. data/public/images/admin/blue_block_bottom_left.jpg +0 -0
  137. data/public/images/admin/blue_block_bottom_right.jpg +0 -0
  138. data/public/images/admin/blue_block_top_left.jpg +0 -0
  139. data/public/images/admin/blue_block_top_right.jpg +0 -0
  140. data/public/images/admin/editor_active_top_left.jpg +0 -0
  141. data/public/images/admin/editor_active_top_right.jpg +0 -0
  142. data/public/images/admin/editor_bottom_left.jpg +0 -0
  143. data/public/images/admin/editor_bottom_right.jpg +0 -0
  144. data/public/images/admin/input_text_left.jpg +0 -0
  145. data/public/images/admin/input_text_right.jpg +0 -0
  146. data/public/images/admin/input_text_small_left.jpg +0 -0
  147. data/public/images/admin/input_text_small_right.jpg +0 -0
  148. data/public/images/admin/publisher_bottom.jpg +0 -0
  149. data/public/images/admin/publisher_top.jpg +0 -0
  150. data/public/images/close.gif +0 -0
  151. data/public/images/loading.gif +0 -0
  152. data/public/images/nextlabel.gif +0 -0
  153. data/public/images/prevlabel.gif +0 -0
  154. data/public/javascripts/administration.js +1 -10
  155. data/public/javascripts/builder.js +136 -0
  156. data/public/javascripts/ckcustom.js +27 -0
  157. data/public/javascripts/ckeditor/.htaccess +24 -0
  158. data/public/javascripts/ckeditor/CHANGES.html +254 -0
  159. data/public/javascripts/ckeditor/INSTALL.html +92 -0
  160. data/public/javascripts/ckeditor/LICENSE.html +1334 -0
  161. data/public/javascripts/ckeditor/ckeditor.js +108 -0
  162. data/public/javascripts/ckeditor/ckeditor.pack +199 -0
  163. data/public/javascripts/ckeditor/ckeditor_basic.js +8 -0
  164. data/public/javascripts/ckeditor/ckeditor_basic_source.js +20 -0
  165. data/public/javascripts/ckeditor/ckeditor_source.js +25 -0
  166. data/public/javascripts/ckeditor/config.bak +11 -0
  167. data/public/javascripts/ckeditor/config.js +27 -0
  168. data/public/javascripts/ckeditor/contents.css +35 -0
  169. data/public/javascripts/{fckeditor/editor → ckeditor}/images/spacer.gif +0 -0
  170. data/public/javascripts/ckeditor/lang/_languages.js +6 -0
  171. data/public/javascripts/ckeditor/lang/_translationstatus.txt +59 -0
  172. data/public/javascripts/ckeditor/lang/af.js +6 -0
  173. data/public/javascripts/ckeditor/lang/ar.js +6 -0
  174. data/public/javascripts/ckeditor/lang/bg.js +6 -0
  175. data/public/javascripts/ckeditor/lang/bn.js +6 -0
  176. data/public/javascripts/ckeditor/lang/bs.js +6 -0
  177. data/public/javascripts/ckeditor/lang/ca.js +6 -0
  178. data/public/javascripts/ckeditor/lang/cs.js +6 -0
  179. data/public/javascripts/ckeditor/lang/da.js +6 -0
  180. data/public/javascripts/ckeditor/lang/de.js +6 -0
  181. data/public/javascripts/ckeditor/lang/el.js +6 -0
  182. data/public/javascripts/ckeditor/lang/en-au.js +6 -0
  183. data/public/javascripts/ckeditor/lang/en-ca.js +6 -0
  184. data/public/javascripts/ckeditor/lang/en-uk.js +6 -0
  185. data/public/javascripts/ckeditor/lang/en.js +6 -0
  186. data/public/javascripts/ckeditor/lang/eo.js +6 -0
  187. data/public/javascripts/ckeditor/lang/es.js +6 -0
  188. data/public/javascripts/ckeditor/lang/et.js +6 -0
  189. data/public/javascripts/ckeditor/lang/eu.js +6 -0
  190. data/public/javascripts/ckeditor/lang/fa.js +6 -0
  191. data/public/javascripts/ckeditor/lang/fi.js +6 -0
  192. data/public/javascripts/ckeditor/lang/fo.js +6 -0
  193. data/public/javascripts/ckeditor/lang/fr-ca.js +6 -0
  194. data/public/javascripts/ckeditor/lang/fr.js +6 -0
  195. data/public/javascripts/ckeditor/lang/gl.js +6 -0
  196. data/public/javascripts/ckeditor/lang/gu.js +6 -0
  197. data/public/javascripts/ckeditor/lang/he.js +6 -0
  198. data/public/javascripts/ckeditor/lang/hi.js +6 -0
  199. data/public/javascripts/ckeditor/lang/hr.js +6 -0
  200. data/public/javascripts/ckeditor/lang/hu.js +6 -0
  201. data/public/javascripts/ckeditor/lang/is.js +6 -0
  202. data/public/javascripts/ckeditor/lang/it.js +6 -0
  203. data/public/javascripts/ckeditor/lang/ja.js +6 -0
  204. data/public/javascripts/ckeditor/lang/km.js +6 -0
  205. data/public/javascripts/ckeditor/lang/ko.js +6 -0
  206. data/public/javascripts/ckeditor/lang/lt.js +6 -0
  207. data/public/javascripts/ckeditor/lang/lv.js +6 -0
  208. data/public/javascripts/ckeditor/lang/mn.js +6 -0
  209. data/public/javascripts/ckeditor/lang/ms.js +6 -0
  210. data/public/javascripts/ckeditor/lang/nb.js +6 -0
  211. data/public/javascripts/ckeditor/lang/nl.js +6 -0
  212. data/public/javascripts/ckeditor/lang/no.js +6 -0
  213. data/public/javascripts/ckeditor/lang/pl.js +6 -0
  214. data/public/javascripts/ckeditor/lang/pt-br.js +6 -0
  215. data/public/javascripts/ckeditor/lang/pt.js +6 -0
  216. data/public/javascripts/ckeditor/lang/ro.js +6 -0
  217. data/public/javascripts/ckeditor/lang/ru.js +6 -0
  218. data/public/javascripts/ckeditor/lang/sk.js +6 -0
  219. data/public/javascripts/ckeditor/lang/sl.js +6 -0
  220. data/public/javascripts/ckeditor/lang/sr-latn.js +6 -0
  221. data/public/javascripts/ckeditor/lang/sr.js +6 -0
  222. data/public/javascripts/ckeditor/lang/sv.js +6 -0
  223. data/public/javascripts/ckeditor/lang/th.js +6 -0
  224. data/public/javascripts/ckeditor/lang/tr.js +6 -0
  225. data/public/javascripts/ckeditor/lang/uk.js +6 -0
  226. data/public/javascripts/ckeditor/lang/vi.js +6 -0
  227. data/public/javascripts/ckeditor/lang/zh-cn.js +6 -0
  228. data/public/javascripts/ckeditor/lang/zh.js +6 -0
  229. data/public/javascripts/ckeditor/plugins/about/dialogs/about.js +6 -0
  230. data/public/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  231. data/public/javascripts/ckeditor/plugins/about/plugin.js +6 -0
  232. data/public/javascripts/ckeditor/plugins/basicstyles/plugin.js +6 -0
  233. data/public/javascripts/ckeditor/plugins/blockquote/plugin.js +7 -0
  234. data/public/javascripts/ckeditor/plugins/button/plugin.js +7 -0
  235. data/public/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +7 -0
  236. data/public/javascripts/ckeditor/plugins/clipboard/plugin.js +6 -0
  237. data/public/javascripts/ckeditor/plugins/colorbutton/plugin.js +7 -0
  238. data/public/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +6 -0
  239. data/public/javascripts/ckeditor/plugins/colordialog/plugin.js +6 -0
  240. data/public/javascripts/ckeditor/plugins/contextmenu/plugin.js +6 -0
  241. data/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
  242. data/public/javascripts/ckeditor/plugins/dialog/plugin.js +17 -0
  243. data/public/javascripts/ckeditor/plugins/dialogui/plugin.js +11 -0
  244. data/public/javascripts/ckeditor/plugins/domiterator/plugin.js +7 -0
  245. data/public/javascripts/ckeditor/plugins/editingblock/plugin.js +6 -0
  246. data/public/javascripts/ckeditor/plugins/elementspath/plugin.js +6 -0
  247. data/public/javascripts/ckeditor/plugins/enterkey/plugin.js +7 -0
  248. data/public/javascripts/ckeditor/plugins/entities/plugin.js +6 -0
  249. data/public/javascripts/ckeditor/plugins/fakeobjects/plugin.js +6 -0
  250. data/public/javascripts/ckeditor/plugins/filebrowser/plugin.js +7 -0
  251. data/public/javascripts/ckeditor/plugins/find/dialogs/find.js +9 -0
  252. data/public/javascripts/ckeditor/plugins/find/plugin.js +6 -0
  253. data/public/javascripts/ckeditor/plugins/flash/dialogs/flash.js +9 -0
  254. data/public/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
  255. data/public/javascripts/ckeditor/plugins/flash/plugin.js +6 -0
  256. data/public/javascripts/ckeditor/plugins/floatpanel/plugin.js +7 -0
  257. data/public/javascripts/ckeditor/plugins/font/plugin.js +6 -0
  258. data/public/javascripts/ckeditor/plugins/format/plugin.js +6 -0
  259. data/public/javascripts/ckeditor/plugins/forms/dialogs/button.js +6 -0
  260. data/public/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +6 -0
  261. data/public/javascripts/ckeditor/plugins/forms/dialogs/form.js +6 -0
  262. data/public/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +6 -0
  263. data/public/javascripts/ckeditor/plugins/forms/dialogs/radio.js +6 -0
  264. data/public/javascripts/ckeditor/plugins/forms/dialogs/select.js +9 -0
  265. data/public/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +6 -0
  266. data/public/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +6 -0
  267. data/public/javascripts/ckeditor/plugins/forms/plugin.js +7 -0
  268. data/public/javascripts/ckeditor/plugins/horizontalrule/plugin.js +6 -0
  269. data/public/javascripts/ckeditor/plugins/htmldataprocessor/plugin.js +7 -0
  270. data/public/javascripts/ckeditor/plugins/htmlwriter/plugin.js +6 -0
  271. data/public/javascripts/ckeditor/plugins/iframedialog/plugin.js +6 -0
  272. data/public/javascripts/ckeditor/plugins/image/dialogs/image.js +12 -0
  273. data/public/javascripts/ckeditor/plugins/image/plugin.js +6 -0
  274. data/public/javascripts/ckeditor/plugins/indent/plugin.js +7 -0
  275. data/public/javascripts/ckeditor/plugins/justify/plugin.js +6 -0
  276. data/public/javascripts/ckeditor/plugins/keystrokes/plugin.js +6 -0
  277. data/public/javascripts/ckeditor/plugins/link/dialogs/anchor.js +6 -0
  278. data/public/javascripts/ckeditor/plugins/link/dialogs/link.js +11 -0
  279. data/public/javascripts/{fckeditor/editor → ckeditor/plugins/link}/images/anchor.gif +0 -0
  280. data/public/javascripts/ckeditor/plugins/link/plugin.js +6 -0
  281. data/public/javascripts/ckeditor/plugins/list/plugin.js +9 -0
  282. data/public/javascripts/ckeditor/plugins/listblock/plugin.js +7 -0
  283. data/public/javascripts/ckeditor/plugins/maximize/plugin.js +7 -0
  284. data/public/javascripts/ckeditor/plugins/menu/plugin.js +7 -0
  285. data/public/javascripts/ckeditor/plugins/menubutton/plugin.js +6 -0
  286. data/public/javascripts/ckeditor/plugins/newpage/plugin.js +6 -0
  287. data/public/javascripts/{fckeditor/editor/css/images/fck_pagebreak.gif → ckeditor/plugins/pagebreak/images/pagebreak.gif} +0 -0
  288. data/public/javascripts/ckeditor/plugins/pagebreak/plugin.js +6 -0
  289. data/public/javascripts/ckeditor/plugins/panel/plugin.js +7 -0
  290. data/public/javascripts/ckeditor/plugins/panelbutton/plugin.js +6 -0
  291. data/public/javascripts/ckeditor/plugins/pastefromword/dialogs/pastefromword.js +8 -0
  292. data/public/javascripts/ckeditor/plugins/pastefromword/plugin.js +6 -0
  293. data/public/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +6 -0
  294. data/public/javascripts/ckeditor/plugins/pastetext/plugin.js +6 -0
  295. data/public/javascripts/ckeditor/plugins/popup/plugin.js +6 -0
  296. data/public/javascripts/ckeditor/plugins/preview/plugin.js +6 -0
  297. data/public/javascripts/ckeditor/plugins/print/plugin.js +6 -0
  298. data/public/javascripts/ckeditor/plugins/removeformat/plugin.js +6 -0
  299. data/public/javascripts/ckeditor/plugins/resize/plugin.js +6 -0
  300. data/public/javascripts/ckeditor/plugins/richcombo/plugin.js +7 -0
  301. data/public/javascripts/ckeditor/plugins/save/plugin.js +6 -0
  302. data/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +8 -0
  303. data/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +6 -0
  304. data/public/javascripts/ckeditor/plugins/scayt/plugin.js +8 -0
  305. data/public/javascripts/ckeditor/plugins/selection/plugin.js +9 -0
  306. data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_address.png +0 -0
  307. data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_blockquote.png +0 -0
  308. data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_div.png +0 -0
  309. data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h1.png +0 -0
  310. data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h2.png +0 -0
  311. data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h3.png +0 -0
  312. data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h4.png +0 -0
  313. data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h5.png +0 -0
  314. data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_h6.png +0 -0
  315. data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_p.png +0 -0
  316. data/public/javascripts/{fckeditor/editor/css → ckeditor/plugins/showblocks}/images/block_pre.png +0 -0
  317. data/public/javascripts/ckeditor/plugins/showblocks/plugin.js +6 -0
  318. data/public/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +7 -0
  319. data/public/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  320. data/public/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  321. data/public/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  322. data/public/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  323. data/public/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  324. data/public/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  325. data/public/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  326. data/public/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  327. data/public/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
  328. data/public/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  329. data/public/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  330. data/public/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  331. data/public/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  332. data/public/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  333. data/public/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  334. data/public/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  335. data/public/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  336. data/public/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  337. data/public/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  338. data/public/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  339. data/public/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  340. data/public/javascripts/ckeditor/plugins/smiley/plugin.js +6 -0
  341. data/public/javascripts/ckeditor/plugins/sourcearea/plugin.js +6 -0
  342. data/public/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +7 -0
  343. data/public/javascripts/ckeditor/plugins/specialchar/plugin.js +6 -0
  344. data/public/javascripts/ckeditor/plugins/styles/plugin.js +10 -0
  345. data/public/javascripts/ckeditor/plugins/stylescombo/plugin.js +7 -0
  346. data/public/javascripts/ckeditor/plugins/stylescombo/styles/default.js +6 -0
  347. data/public/javascripts/ckeditor/plugins/tab/plugin.js +6 -0
  348. data/public/javascripts/ckeditor/plugins/table/dialogs/table.js +8 -0
  349. data/public/javascripts/ckeditor/plugins/table/plugin.js +6 -0
  350. data/public/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +7 -0
  351. data/public/javascripts/ckeditor/plugins/tabletools/plugin.js +9 -0
  352. data/public/javascripts/ckeditor/plugins/templates/dialogs/templates.js +6 -0
  353. data/public/javascripts/ckeditor/plugins/templates/plugin.js +6 -0
  354. data/public/javascripts/ckeditor/plugins/templates/templates/default.js +6 -0
  355. data/public/javascripts/{fckeditor/editor/dialog/fck_template → ckeditor/plugins/templates/templates}/images/template1.gif +0 -0
  356. data/public/javascripts/{fckeditor/editor/dialog/fck_template → ckeditor/plugins/templates/templates}/images/template2.gif +0 -0
  357. data/public/javascripts/{fckeditor/editor/dialog/fck_template → ckeditor/plugins/templates/templates}/images/template3.gif +0 -0
  358. data/public/javascripts/ckeditor/plugins/toolbar/plugin.js +7 -0
  359. data/public/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +7 -0
  360. data/public/javascripts/ckeditor/plugins/uicolor/lang/en.js +6 -0
  361. data/public/javascripts/ckeditor/plugins/uicolor/plugin.js +6 -0
  362. data/public/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
  363. data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  364. data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  365. data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  366. data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  367. data/public/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +6 -0
  368. data/public/javascripts/ckeditor/plugins/uicolor/yui/yui.js +76 -0
  369. data/public/javascripts/ckeditor/plugins/undo/plugin.js +7 -0
  370. data/public/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
  371. data/public/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
  372. data/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +6 -0
  373. data/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +7 -0
  374. data/public/javascripts/ckeditor/plugins/wsc/plugin.js +6 -0
  375. data/public/javascripts/ckeditor/plugins/wysiwygarea/plugin.js +8 -0
  376. data/public/javascripts/ckeditor/skins/kama/dialog.css +9 -0
  377. data/public/javascripts/ckeditor/skins/kama/editor.css +12 -0
  378. data/public/javascripts/ckeditor/skins/kama/icons.png +0 -0
  379. data/public/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
  380. data/public/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
  381. data/public/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
  382. data/public/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
  383. data/public/javascripts/ckeditor/skins/kama/images/noimage.png +0 -0
  384. data/public/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
  385. data/public/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
  386. data/public/javascripts/{fckeditor/editor/skins/silver/images/toolbar.start.gif → ckeditor/skins/kama/images/toolbar_start.gif} +0 -0
  387. data/public/javascripts/ckeditor/skins/kama/skin.js +7 -0
  388. data/public/javascripts/ckeditor/skins/kama/templates.css +6 -0
  389. data/public/javascripts/ckeditor/skins/office2003/dialog.css +8 -0
  390. data/public/javascripts/ckeditor/skins/office2003/editor.css +13 -0
  391. data/public/javascripts/ckeditor/skins/office2003/icons.png +0 -0
  392. data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
  393. data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
  394. data/public/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
  395. data/public/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
  396. data/public/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
  397. data/public/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
  398. data/public/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
  399. data/public/javascripts/ckeditor/skins/office2003/skin.js +6 -0
  400. data/public/javascripts/ckeditor/skins/office2003/templates.css +6 -0
  401. data/public/javascripts/ckeditor/skins/v2/dialog.css +8 -0
  402. data/public/javascripts/ckeditor/skins/v2/editor.css +12 -0
  403. data/public/javascripts/ckeditor/skins/v2/icons.png +0 -0
  404. data/public/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
  405. data/public/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
  406. data/public/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
  407. data/public/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
  408. data/public/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
  409. data/public/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
  410. data/public/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
  411. data/public/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
  412. data/public/javascripts/ckeditor/skins/v2/skin.js +6 -0
  413. data/public/javascripts/ckeditor/skins/v2/templates.css +6 -0
  414. data/public/javascripts/ckeditor/themes/default/theme.js +7 -0
  415. data/public/javascripts/controls.js +72 -72
  416. data/public/javascripts/dragdrop.js +165 -164
  417. data/public/javascripts/effects.js +173 -165
  418. data/public/javascripts/lang/nl_NL.js +21 -0
  419. data/public/javascripts/lang/zh_TW.js +17 -0
  420. data/public/javascripts/lightbox.js +470 -175
  421. data/public/stylesheets/administration.css +404 -656
  422. data/public/stylesheets/border-radius-ie8.htc +34 -0
  423. data/public/stylesheets/lightbox.css +21 -56
  424. data/public/stylesheets/user-styles.css +4 -2
  425. data/script/autospec +1 -0
  426. data/script/spec +9 -3
  427. data/script/spec_server +5 -112
  428. data/spec/controllers/accounts_controller_spec.rb +30 -16
  429. data/spec/controllers/admin/blacklist_controller_spec.rb +7 -12
  430. data/spec/controllers/admin/cache_controller_spec.rb +0 -5
  431. data/spec/controllers/admin/categories_controller_spec.rb +11 -16
  432. data/spec/controllers/admin/content_controller_spec.rb +14 -19
  433. data/spec/controllers/admin/feedback_controller_spec.rb +12 -1
  434. data/spec/controllers/admin/pages_controller_spec.rb +20 -17
  435. data/spec/controllers/admin/profiles_controller_spec.rb +17 -8
  436. data/spec/controllers/admin/resources_controller_spec.rb +3 -14
  437. data/spec/controllers/admin/settings_controller_spec.rb +0 -5
  438. data/spec/controllers/admin/tags_controller_spec.rb +1 -7
  439. data/spec/controllers/admin/textfilters_controller_spec.rb +0 -5
  440. data/spec/controllers/admin/themes_controller_spec.rb +3 -3
  441. data/spec/controllers/admin/users_controller_spec.rb +59 -41
  442. data/spec/controllers/application_controller_spec.rb +18 -0
  443. data/spec/controllers/articles_controller_spec.rb +88 -39
  444. data/spec/controllers/authors_controller_spec.rb +42 -0
  445. data/spec/controllers/backend_controller_spec.rb +30 -35
  446. data/spec/controllers/categories_controller_spec.rb +20 -22
  447. data/spec/controllers/comments_controller_spec.rb +3 -3
  448. data/spec/controllers/previews_controller_spec.rb +28 -0
  449. data/spec/controllers/redirect_controller_spec.rb +36 -35
  450. data/spec/controllers/tags_controller_spec.rb +15 -10
  451. data/spec/controllers/textfilter_controller_spec.rb +11 -72
  452. data/spec/controllers/theme_controller_spec.rb +8 -12
  453. data/spec/controllers/xml_controller_spec.rb +59 -101
  454. data/spec/factories.rb +25 -0
  455. data/spec/models/article_closing_spec.rb +4 -4
  456. data/spec/models/article_spec.rb +119 -30
  457. data/spec/models/blacklist_pattern_spec.rb +1 -1
  458. data/spec/models/blog_spec.rb +0 -1
  459. data/spec/models/comment_spec.rb +0 -4
  460. data/spec/models/configuration_spec.rb +1 -1
  461. data/spec/models/content_state/feedback_states_spec.rb +4 -4
  462. data/spec/models/notification_spec.rb +2 -2
  463. data/spec/models/ping_pinger_spec.rb +3 -3
  464. data/spec/models/ping_spec.rb +34 -47
  465. data/spec/models/route_cache_spec.rb +2 -2
  466. data/spec/models/sidebar_spec.rb +2 -2
  467. data/spec/models/theme_spec.rb +4 -4
  468. data/spec/models/trigger_spec.rb +1 -0
  469. data/spec/models/user_spec.rb +92 -39
  470. data/spec/rcov.opts +2 -0
  471. data/spec/spec_helper.rb +92 -19
  472. data/spec/views/articles/index_spec.rb +2 -2
  473. data/spec/views/articles/read_spec.rb +16 -0
  474. data/spec/views/comments/html_sanitization_spec.rb +16 -0
  475. data/test/fixtures/contents.yml +28 -11
  476. data/test/fixtures/feedback.yml +14 -0
  477. data/test/fixtures/profiles.yml +1 -0
  478. data/test/fixtures/users.yml +9 -1
  479. data/test/test_helper.rb +2 -151
  480. data/themes/dirtylicious/layouts/default.html.erb +1 -1
  481. data/themes/dirtylicious/views/articles/_article.html.erb +14 -10
  482. data/themes/dirtylicious/views/articles/_comment_form.html.erb +1 -1
  483. data/themes/dirtylicious/views/articles/read.html.erb +4 -4
  484. data/themes/scribbish/layouts/default.html.erb +1 -1
  485. data/themes/scribbish/views/articles/_article.html.erb +13 -9
  486. data/themes/scribbish/views/articles/_comment_form.html.erb +1 -1
  487. data/themes/scribbish/views/articles/read.html.erb +4 -4
  488. data/themes/standard_issue/layouts/default.html.erb +1 -1
  489. data/themes/standard_issue/views/articles/_article.html.erb +13 -9
  490. data/themes/standard_issue/views/articles/_comment_form.html.erb +1 -1
  491. data/themes/standard_issue/views/articles/read.html.erb +4 -4
  492. data/themes/true-blue-3/README +3 -0
  493. data/themes/true-blue-3/about.markdown +3 -0
  494. data/themes/true-blue-3/helpers/theme_helper.rb +85 -0
  495. data/themes/true-blue-3/images/background.gif +0 -0
  496. data/themes/true-blue-3/images/bg_input.jpg +0 -0
  497. data/themes/true-blue-3/images/bullet.jpg +0 -0
  498. data/themes/true-blue-3/images/comment.gif +0 -0
  499. data/themes/true-blue-3/images/comment.jpg +0 -0
  500. data/themes/true-blue-3/images/comment_bottom.gif +0 -0
  501. data/themes/true-blue-3/images/comment_fdv.gif +0 -0
  502. data/themes/true-blue-3/images/find.png +0 -0
  503. data/themes/true-blue-3/images/fleche1.png +0 -0
  504. data/themes/true-blue-3/images/fleche2.png +0 -0
  505. data/themes/true-blue-3/images/frederic-de-villamil.jpg +0 -0
  506. data/themes/true-blue-3/images/rss.png +0 -0
  507. data/themes/true-blue-3/images/searchform.png +0 -0
  508. data/themes/true-blue-3/images/textarea_bg.jpg +0 -0
  509. data/themes/true-blue-3/images/twitter.jpg +0 -0
  510. data/themes/true-blue-3/images/twitter.png +0 -0
  511. data/themes/true-blue-3/layouts/default.html.erb +52 -0
  512. data/themes/true-blue-3/preview.png +0 -0
  513. data/themes/true-blue-3/psd/true-blue-3.psd +0 -0
  514. data/themes/true-blue-3/psd/true-blue-3_article.psd +0 -0
  515. data/themes/true-blue-3/stylesheets/style.css +555 -0
  516. data/themes/true-blue-3/views/articles/_article.html.erb +21 -0
  517. data/themes/true-blue-3/views/articles/_comment.html.erb +14 -0
  518. data/themes/true-blue-3/views/articles/_comment_form.html.erb +23 -0
  519. data/themes/true-blue-3/views/articles/_comment_list.html.erb +8 -0
  520. data/themes/true-blue-3/views/articles/_trackback.html.erb +9 -0
  521. data/themes/true-blue-3/views/articles/comment_preview.html.erb +10 -0
  522. data/themes/true-blue-3/views/articles/index.html.erb +5 -0
  523. data/themes/true-blue-3/views/articles/read.html.erb +38 -0
  524. data/themes/true-blue-3/views/articles/search.html.erb +29 -0
  525. data/themes/true-blue-3/views/articles/view_page.html.erb +4 -0
  526. data/themes/true-blue-3/views/categories/_article.html.erb +22 -0
  527. data/themes/true-blue-3/views/categories/index.html.erb +13 -0
  528. data/themes/true-blue-3/views/categories/show.html.erb +7 -0
  529. data/themes/true-blue-3/views/tags/_article.html.erb +22 -0
  530. data/themes/true-blue-3/views/tags/show.html.erb +6 -0
  531. data/themes/typographic/layouts/default.html.erb +1 -1
  532. data/themes/typographic/views/articles/_article.html.erb +13 -9
  533. data/themes/typographic/views/articles/_comment_form.html.erb +1 -1
  534. data/themes/typographic/views/articles/_comment_list.html.erb +1 -1
  535. data/themes/typographic/views/articles/read.html.erb +4 -4
  536. data/vendor/flickr/flickr.rb +3 -3
  537. data/vendor/plugins/archives_sidebar/views/content.rhtml +1 -1
  538. data/vendor/plugins/authors_sidebar/Rakefile +22 -0
  539. data/vendor/plugins/authors_sidebar/init.rb +4 -0
  540. data/vendor/plugins/authors_sidebar/lib/authors_sidebar.rb +10 -0
  541. data/vendor/plugins/authors_sidebar/test/authors_sidebar_test.rb +8 -0
  542. data/vendor/plugins/authors_sidebar/views/content.rhtml +11 -0
  543. data/vendor/plugins/category_sidebar/views/content.rhtml +2 -2
  544. data/vendor/plugins/easy-ckeditor/CHANGELOG +15 -0
  545. data/vendor/plugins/easy-ckeditor/LICENSE +16 -0
  546. data/vendor/plugins/easy-ckeditor/README.textile +164 -0
  547. data/vendor/plugins/easy-ckeditor/Rakefile +72 -0
  548. data/vendor/plugins/easy-ckeditor/app/controllers/ckeditor_controller.rb +225 -0
  549. data/vendor/plugins/easy-ckeditor/app/helpers/ckeditor_helper.rb +2 -0
  550. data/vendor/plugins/easy-ckeditor/init.rb +33 -0
  551. data/vendor/plugins/easy-ckeditor/install.rb +12 -0
  552. data/vendor/plugins/easy-ckeditor/lib/ckeditor.rb +113 -0
  553. data/vendor/plugins/easy-ckeditor/lib/ckeditor_file_utils.rb +108 -0
  554. data/vendor/plugins/easy-ckeditor/lib/ckeditor_version.rb +9 -0
  555. data/vendor/plugins/easy-ckeditor/public/javascripts/ckcustom.js +16 -0
  556. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/.htaccess +24 -0
  557. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/CHANGES.html +254 -0
  558. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/INSTALL.html +92 -0
  559. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/LICENSE.html +1334 -0
  560. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor.js +108 -0
  561. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor.pack +199 -0
  562. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_basic.js +8 -0
  563. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_basic_source.js +20 -0
  564. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/ckeditor_source.js +25 -0
  565. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/config.js +11 -0
  566. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/contents.css +35 -0
  567. data/{public/javascripts/fckeditor/editor/skins/silver/images/toolbar.end.gif → vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/images/spacer.gif} +0 -0
  568. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/_languages.js +6 -0
  569. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/_translationstatus.txt +59 -0
  570. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/af.js +6 -0
  571. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ar.js +6 -0
  572. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bg.js +6 -0
  573. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bn.js +6 -0
  574. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/bs.js +6 -0
  575. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ca.js +6 -0
  576. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/cs.js +6 -0
  577. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/da.js +6 -0
  578. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/de.js +6 -0
  579. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/el.js +6 -0
  580. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-au.js +6 -0
  581. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-ca.js +6 -0
  582. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en-uk.js +6 -0
  583. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/en.js +6 -0
  584. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/eo.js +6 -0
  585. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/es.js +6 -0
  586. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/et.js +6 -0
  587. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/eu.js +6 -0
  588. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fa.js +6 -0
  589. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fi.js +6 -0
  590. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fo.js +6 -0
  591. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fr-ca.js +6 -0
  592. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/fr.js +6 -0
  593. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/gl.js +6 -0
  594. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/gu.js +6 -0
  595. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/he.js +6 -0
  596. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hi.js +6 -0
  597. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hr.js +6 -0
  598. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/hu.js +6 -0
  599. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/is.js +6 -0
  600. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/it.js +6 -0
  601. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ja.js +6 -0
  602. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/km.js +6 -0
  603. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ko.js +6 -0
  604. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/lt.js +6 -0
  605. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/lv.js +6 -0
  606. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/mn.js +6 -0
  607. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ms.js +6 -0
  608. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/nb.js +6 -0
  609. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/nl.js +6 -0
  610. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/no.js +6 -0
  611. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pl.js +6 -0
  612. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pt-br.js +6 -0
  613. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/pt.js +6 -0
  614. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ro.js +6 -0
  615. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/ru.js +6 -0
  616. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sk.js +6 -0
  617. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sl.js +6 -0
  618. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sr-latn.js +6 -0
  619. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sr.js +6 -0
  620. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/sv.js +6 -0
  621. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/th.js +6 -0
  622. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/tr.js +6 -0
  623. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/uk.js +6 -0
  624. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/vi.js +6 -0
  625. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/zh-cn.js +6 -0
  626. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/lang/zh.js +6 -0
  627. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/dialogs/about.js +6 -0
  628. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  629. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/about/plugin.js +6 -0
  630. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/basicstyles/plugin.js +6 -0
  631. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/blockquote/plugin.js +7 -0
  632. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/button/plugin.js +7 -0
  633. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +7 -0
  634. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/clipboard/plugin.js +6 -0
  635. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/colorbutton/plugin.js +7 -0
  636. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/contextmenu/plugin.js +6 -0
  637. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
  638. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialog/plugin.js +17 -0
  639. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/dialogui/plugin.js +11 -0
  640. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/domiterator/plugin.js +7 -0
  641. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/editingblock/plugin.js +6 -0
  642. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/elementspath/plugin.js +6 -0
  643. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/enterkey/plugin.js +7 -0
  644. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/entities/plugin.js +6 -0
  645. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/fakeobjects/plugin.js +6 -0
  646. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/filebrowser/plugin.js +7 -0
  647. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/find/dialogs/find.js +9 -0
  648. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/find/plugin.js +6 -0
  649. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/dialogs/flash.js +9 -0
  650. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
  651. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/flash/plugin.js +6 -0
  652. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/floatpanel/plugin.js +7 -0
  653. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/font/plugin.js +6 -0
  654. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/format/plugin.js +6 -0
  655. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/button.js +6 -0
  656. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +6 -0
  657. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/form.js +6 -0
  658. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +6 -0
  659. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/radio.js +6 -0
  660. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/select.js +9 -0
  661. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +6 -0
  662. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +6 -0
  663. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/forms/plugin.js +7 -0
  664. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/horizontalrule/plugin.js +6 -0
  665. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/htmldataprocessor/plugin.js +7 -0
  666. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/htmlwriter/plugin.js +6 -0
  667. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/iframedialog/plugin.js +6 -0
  668. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/image/dialogs/image.js +12 -0
  669. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/image/plugin.js +6 -0
  670. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/indent/plugin.js +7 -0
  671. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/justify/plugin.js +6 -0
  672. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/keystrokes/plugin.js +6 -0
  673. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/dialogs/anchor.js +6 -0
  674. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/dialogs/link.js +11 -0
  675. data/{public/javascripts/fckeditor/editor/css/images/fck_anchor.gif → vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/images/anchor.gif} +0 -0
  676. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/link/plugin.js +6 -0
  677. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/list/plugin.js +9 -0
  678. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/listblock/plugin.js +7 -0
  679. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/maximize/plugin.js +7 -0
  680. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/menu/plugin.js +7 -0
  681. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/menubutton/plugin.js +6 -0
  682. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/newpage/plugin.js +6 -0
  683. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
  684. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pagebreak/plugin.js +6 -0
  685. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/panel/plugin.js +7 -0
  686. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/panelbutton/plugin.js +6 -0
  687. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastefromword/dialogs/pastefromword.js +8 -0
  688. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastefromword/plugin.js +6 -0
  689. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +6 -0
  690. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/pastetext/plugin.js +6 -0
  691. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/popup/plugin.js +6 -0
  692. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/preview/plugin.js +6 -0
  693. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/print/plugin.js +6 -0
  694. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/removeformat/plugin.js +6 -0
  695. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/resize/plugin.js +6 -0
  696. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/richcombo/plugin.js +7 -0
  697. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/save/plugin.js +6 -0
  698. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +8 -0
  699. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +6 -0
  700. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/scayt/plugin.js +8 -0
  701. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/selection/plugin.js +9 -0
  702. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
  703. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
  704. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
  705. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
  706. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
  707. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
  708. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
  709. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
  710. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
  711. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
  712. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
  713. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/showblocks/plugin.js +6 -0
  714. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +7 -0
  715. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
  716. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
  717. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
  718. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
  719. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
  720. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
  721. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
  722. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
  723. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
  724. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
  725. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
  726. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
  727. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
  728. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
  729. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
  730. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
  731. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
  732. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
  733. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
  734. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
  735. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
  736. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/smiley/plugin.js +6 -0
  737. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/sourcearea/plugin.js +6 -0
  738. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +7 -0
  739. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/specialchar/plugin.js +6 -0
  740. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/styles/plugin.js +10 -0
  741. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/stylescombo/plugin.js +7 -0
  742. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/stylescombo/styles/default.js +6 -0
  743. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tab/plugin.js +6 -0
  744. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/table/dialogs/table.js +8 -0
  745. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/table/plugin.js +6 -0
  746. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +7 -0
  747. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/tabletools/plugin.js +9 -0
  748. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/dialogs/templates.js +6 -0
  749. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/plugin.js +6 -0
  750. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/default.js +6 -0
  751. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
  752. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
  753. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
  754. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/toolbar/plugin.js +7 -0
  755. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +7 -0
  756. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/lang/en.js +6 -0
  757. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/plugin.js +6 -0
  758. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
  759. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
  760. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
  761. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
  762. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
  763. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +6 -0
  764. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/uicolor/yui/yui.js +76 -0
  765. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/undo/plugin.js +7 -0
  766. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
  767. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
  768. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +6 -0
  769. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +7 -0
  770. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wsc/plugin.js +6 -0
  771. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/plugins/wysiwygarea/plugin.js +8 -0
  772. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/dialog.css +9 -0
  773. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/editor.css +12 -0
  774. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/icons.png +0 -0
  775. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
  776. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
  777. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
  778. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
  779. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/noimage.png +0 -0
  780. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
  781. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
  782. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
  783. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/skin.js +7 -0
  784. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/kama/templates.css +6 -0
  785. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/dialog.css +8 -0
  786. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/editor.css +13 -0
  787. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/icons.png +0 -0
  788. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
  789. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
  790. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
  791. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
  792. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
  793. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
  794. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
  795. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/skin.js +6 -0
  796. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/office2003/templates.css +6 -0
  797. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/dialog.css +8 -0
  798. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/editor.css +12 -0
  799. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/icons.png +0 -0
  800. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
  801. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
  802. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
  803. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
  804. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
  805. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
  806. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
  807. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
  808. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/skin.js +6 -0
  809. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/skins/v2/templates.css +6 -0
  810. data/vendor/plugins/easy-ckeditor/public/javascripts/ckeditor/themes/default/theme.js +7 -0
  811. data/vendor/plugins/easy-ckeditor/tasks/ckeditor_tasks.rake +108 -0
  812. data/vendor/plugins/easy-ckeditor/uninstall.rb +8 -0
  813. data/vendor/plugins/livesearch_sidebar/views/content.rhtml +1 -1
  814. data/vendor/plugins/page_sidebar/lib/page_sidebar.rb +1 -1
  815. data/vendor/plugins/typo_converter/Rakefile +7 -8
  816. data/vendor/plugins/typo_converter/db/wp25_schema.rb +152 -0
  817. data/vendor/plugins/typo_converter/lib/converters/base.rb +41 -2
  818. data/vendor/plugins/typo_converter/lib/converters/wp25.rb +59 -4
  819. data/vendor/plugins/typo_converter/lib/converters/wp25/comment.rb +1 -0
  820. data/vendor/plugins/typo_converter/lib/converters/wp25/option.rb +11 -0
  821. data/vendor/plugins/typo_converter/spec/converters/wp25_spec.rb +192 -0
  822. data/vendor/plugins/typo_converter/spec/factories/wp25_factories.rb +77 -0
  823. data/vendor/plugins/typo_converter/spec/spec_helper.rb +19 -0
  824. data/vendor/plugins/typo_converter/spec/typo_converter_spec.rb +2 -0
  825. data/vendor/plugins/typo_converter/tasks/typo_converters_tasks.rake +1 -4
  826. data/vendor/plugins/typo_textfilter_code/init.rb +7 -2
  827. data/vendor/plugins/typo_textfilter_code/lib/typo_textfilter_code.rb +2 -0
  828. data/vendor/plugins/typo_textfilter_lightbox/lib/typo_textfilter_lightbox.rb +4 -2
  829. data/vendor/plugins/typo_textfilter_textile/lib/typo_textfilter_textile.rb +1 -1
  830. data/vendor/plugins/xml_sidebar/lib/xml_sidebar.rb +3 -0
  831. data/vendor/plugins/xml_sidebar/views/content.rhtml +15 -1
  832. metadata +684 -1280
  833. data/app/controllers/application.rb +0 -90
  834. data/app/models/simple_cache.rb +0 -37
  835. data/app/views/admin/resources/new.html.erb +0 -16
  836. data/app/views/admin/settings/read.html.erb +0 -35
  837. data/app/views/admin/tags/_tags.html.erb +0 -18
  838. data/app/views/shared/_loginform.html.erb +0 -20
  839. data/config/initializers/active_record_hacks.rb +0 -17
  840. data/config/initializers/benchmark_hacks.rb +0 -9
  841. data/doc/typo-5.3-release-notes.txt +0 -105
  842. data/lib/memory_profiler.rb +0 -60
  843. data/lib/typo_deprecated.rb +0 -30
  844. data/lib/xmlrpc_fix.rb +0 -13
  845. data/public/javascripts/fckcustom.js +0 -28
  846. data/public/javascripts/fckeditor/editor/_source/classes/fckcontextmenu.js +0 -214
  847. data/public/javascripts/fckeditor/editor/_source/classes/fckdataprocessor.js +0 -119
  848. data/public/javascripts/fckeditor/editor/_source/classes/fckdocumentfragment_gecko.js +0 -46
  849. data/public/javascripts/fckeditor/editor/_source/classes/fckdocumentfragment_ie.js +0 -58
  850. data/public/javascripts/fckeditor/editor/_source/classes/fckdomrange.js +0 -918
  851. data/public/javascripts/fckeditor/editor/_source/classes/fckdomrange_gecko.js +0 -104
  852. data/public/javascripts/fckeditor/editor/_source/classes/fckdomrange_ie.js +0 -199
  853. data/public/javascripts/fckeditor/editor/_source/classes/fckdomrangeiterator.js +0 -327
  854. data/public/javascripts/fckeditor/editor/_source/classes/fckeditingarea.js +0 -362
  855. data/public/javascripts/fckeditor/editor/_source/classes/fckelementpath.js +0 -89
  856. data/public/javascripts/fckeditor/editor/_source/classes/fckenterkey.js +0 -667
  857. data/public/javascripts/fckeditor/editor/_source/classes/fckevents.js +0 -71
  858. data/public/javascripts/fckeditor/editor/_source/classes/fckhtmliterator.js +0 -142
  859. data/public/javascripts/fckeditor/editor/_source/classes/fckicon.js +0 -103
  860. data/public/javascripts/fckeditor/editor/_source/classes/fckiecleanup.js +0 -68
  861. data/public/javascripts/fckeditor/editor/_source/classes/fckimagepreloader.js +0 -64
  862. data/public/javascripts/fckeditor/editor/_source/classes/fckkeystrokehandler.js +0 -141
  863. data/public/javascripts/fckeditor/editor/_source/classes/fckmenublock.js +0 -153
  864. data/public/javascripts/fckeditor/editor/_source/classes/fckmenublockpanel.js +0 -54
  865. data/public/javascripts/fckeditor/editor/_source/classes/fckmenuitem.js +0 -161
  866. data/public/javascripts/fckeditor/editor/_source/classes/fckpanel.js +0 -385
  867. data/public/javascripts/fckeditor/editor/_source/classes/fckplugin.js +0 -56
  868. data/public/javascripts/fckeditor/editor/_source/classes/fckspecialcombo.js +0 -376
  869. data/public/javascripts/fckeditor/editor/_source/classes/fckstyle.js +0 -1443
  870. data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbar.js +0 -103
  871. data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbreak_gecko.js +0 -36
  872. data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbreak_ie.js +0 -38
  873. data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbutton.js +0 -81
  874. data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarbuttonui.js +0 -198
  875. data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarfontformatcombo.js +0 -139
  876. data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarfontscombo.js +0 -98
  877. data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarfontsizecombo.js +0 -76
  878. data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarpanelbutton.js +0 -103
  879. data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarspecialcombo.js +0 -146
  880. data/public/javascripts/fckeditor/editor/_source/classes/fcktoolbarstylecombo.js +0 -200
  881. data/public/javascripts/fckeditor/editor/_source/classes/fckw3crange.js +0 -451
  882. data/public/javascripts/fckeditor/editor/_source/classes/fckxml.js +0 -108
  883. data/public/javascripts/fckeditor/editor/_source/classes/fckxml_gecko.js +0 -102
  884. data/public/javascripts/fckeditor/editor/_source/classes/fckxml_ie.js +0 -88
  885. data/public/javascripts/fckeditor/editor/_source/commandclasses/fck_othercommands.js +0 -518
  886. data/public/javascripts/fckeditor/editor/_source/commandclasses/fckblockquotecommand.js +0 -250
  887. data/public/javascripts/fckeditor/editor/_source/commandclasses/fckcorestylecommand.js +0 -61
  888. data/public/javascripts/fckeditor/editor/_source/commandclasses/fckfitwindow.js +0 -180
  889. data/public/javascripts/fckeditor/editor/_source/commandclasses/fckindentcommands.js +0 -282
  890. data/public/javascripts/fckeditor/editor/_source/commandclasses/fckjustifycommands.js +0 -173
  891. data/public/javascripts/fckeditor/editor/_source/commandclasses/fcklistcommands.js +0 -382
  892. data/public/javascripts/fckeditor/editor/_source/commandclasses/fcknamedcommand.js +0 -39
  893. data/public/javascripts/fckeditor/editor/_source/commandclasses/fckpasteplaintextcommand.js +0 -40
  894. data/public/javascripts/fckeditor/editor/_source/commandclasses/fckpastewordcommand.js +0 -40
  895. data/public/javascripts/fckeditor/editor/_source/commandclasses/fckremoveformatcommand.js +0 -45
  896. data/public/javascripts/fckeditor/editor/_source/commandclasses/fckshowblocks.js +0 -74
  897. data/public/javascripts/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_gecko.js +0 -41
  898. data/public/javascripts/fckeditor/editor/_source/commandclasses/fckspellcheckcommand_ie.js +0 -69
  899. data/public/javascripts/fckeditor/editor/_source/commandclasses/fckstylecommand.js +0 -60
  900. data/public/javascripts/fckeditor/editor/_source/commandclasses/fcktablecommand.js +0 -106
  901. data/public/javascripts/fckeditor/editor/_source/commandclasses/fcktextcolorcommand.js +0 -201
  902. data/public/javascripts/fckeditor/editor/_source/fckconstants.js +0 -56
  903. data/public/javascripts/fckeditor/editor/_source/fckeditorapi.js +0 -176
  904. data/public/javascripts/fckeditor/editor/_source/fckjscoreextensions.js +0 -166
  905. data/public/javascripts/fckeditor/editor/_source/fckscriptloader.js +0 -122
  906. data/public/javascripts/fckeditor/editor/_source/internals/fck.js +0 -1175
  907. data/public/javascripts/fckeditor/editor/_source/internals/fck_contextmenu.js +0 -325
  908. data/public/javascripts/fckeditor/editor/_source/internals/fck_gecko.js +0 -456
  909. data/public/javascripts/fckeditor/editor/_source/internals/fck_ie.js +0 -453
  910. data/public/javascripts/fckeditor/editor/_source/internals/fckbrowserinfo.js +0 -61
  911. data/public/javascripts/fckeditor/editor/_source/internals/fckcodeformatter.js +0 -100
  912. data/public/javascripts/fckeditor/editor/_source/internals/fckcommands.js +0 -167
  913. data/public/javascripts/fckeditor/editor/_source/internals/fckconfig.js +0 -238
  914. data/public/javascripts/fckeditor/editor/_source/internals/fckdebug.js +0 -56
  915. data/public/javascripts/fckeditor/editor/_source/internals/fckdialog.js +0 -234
  916. data/public/javascripts/fckeditor/editor/_source/internals/fckdialog_gecko.js +0 -103
  917. data/public/javascripts/fckeditor/editor/_source/internals/fckdialog_ie.js +0 -48
  918. data/public/javascripts/fckeditor/editor/_source/internals/fckdocumentprocessor.js +0 -249
  919. data/public/javascripts/fckeditor/editor/_source/internals/fckdomtools.js +0 -1024
  920. data/public/javascripts/fckeditor/editor/_source/internals/fcklanguagemanager.js +0 -163
  921. data/public/javascripts/fckeditor/editor/_source/internals/fcklisthandler.js +0 -152
  922. data/public/javascripts/fckeditor/editor/_source/internals/fcklistslib.js +0 -63
  923. data/public/javascripts/fckeditor/editor/_source/internals/fckplugins.js +0 -46
  924. data/public/javascripts/fckeditor/editor/_source/internals/fckregexlib.js +0 -99
  925. data/public/javascripts/fckeditor/editor/_source/internals/fckselection.js +0 -42
  926. data/public/javascripts/fckeditor/editor/_source/internals/fckselection_gecko.js +0 -220
  927. data/public/javascripts/fckeditor/editor/_source/internals/fckselection_ie.js +0 -275
  928. data/public/javascripts/fckeditor/editor/_source/internals/fckstyles.js +0 -381
  929. data/public/javascripts/fckeditor/editor/_source/internals/fcktablehandler.js +0 -858
  930. data/public/javascripts/fckeditor/editor/_source/internals/fcktablehandler_gecko.js +0 -56
  931. data/public/javascripts/fckeditor/editor/_source/internals/fcktablehandler_ie.js +0 -64
  932. data/public/javascripts/fckeditor/editor/_source/internals/fcktoolbaritems.js +0 -123
  933. data/public/javascripts/fckeditor/editor/_source/internals/fcktoolbarset.js +0 -399
  934. data/public/javascripts/fckeditor/editor/_source/internals/fcktools.js +0 -740
  935. data/public/javascripts/fckeditor/editor/_source/internals/fcktools_gecko.js +0 -282
  936. data/public/javascripts/fckeditor/editor/_source/internals/fcktools_ie.js +0 -233
  937. data/public/javascripts/fckeditor/editor/_source/internals/fckundo.js +0 -223
  938. data/public/javascripts/fckeditor/editor/_source/internals/fckurlparams.js +0 -39
  939. data/public/javascripts/fckeditor/editor/_source/internals/fckxhtml.js +0 -515
  940. data/public/javascripts/fckeditor/editor/_source/internals/fckxhtml_gecko.js +0 -101
  941. data/public/javascripts/fckeditor/editor/_source/internals/fckxhtml_ie.js +0 -203
  942. data/public/javascripts/fckeditor/editor/_source/internals/fckxhtmlentities.js +0 -354
  943. data/public/javascripts/fckeditor/editor/css/behaviors/disablehandles.htc +0 -15
  944. data/public/javascripts/fckeditor/editor/css/behaviors/showtableborders.htc +0 -36
  945. data/public/javascripts/fckeditor/editor/css/fck_editorarea.css +0 -92
  946. data/public/javascripts/fckeditor/editor/css/fck_internal.css +0 -199
  947. data/public/javascripts/fckeditor/editor/css/fck_showtableborders_gecko.css +0 -49
  948. data/public/javascripts/fckeditor/editor/css/images/fck_flashlogo.gif +0 -0
  949. data/public/javascripts/fckeditor/editor/css/images/fck_hiddenfield.gif +0 -0
  950. data/public/javascripts/fckeditor/editor/css/images/fck_plugin.gif +0 -0
  951. data/public/javascripts/fckeditor/editor/dialog/common/fck_dialog_common.css +0 -85
  952. data/public/javascripts/fckeditor/editor/dialog/common/fck_dialog_common.js +0 -338
  953. data/public/javascripts/fckeditor/editor/dialog/common/images/locked.gif +0 -0
  954. data/public/javascripts/fckeditor/editor/dialog/common/images/reset.gif +0 -0
  955. data/public/javascripts/fckeditor/editor/dialog/common/images/unlocked.gif +0 -0
  956. data/public/javascripts/fckeditor/editor/dialog/fck_about.html +0 -161
  957. data/public/javascripts/fckeditor/editor/dialog/fck_about/logo_fckeditor.gif +0 -0
  958. data/public/javascripts/fckeditor/editor/dialog/fck_about/logo_fredck.gif +0 -0
  959. data/public/javascripts/fckeditor/editor/dialog/fck_about/sponsors/spellchecker_net.gif +0 -0
  960. data/public/javascripts/fckeditor/editor/dialog/fck_anchor.html +0 -212
  961. data/public/javascripts/fckeditor/editor/dialog/fck_button.html +0 -104
  962. data/public/javascripts/fckeditor/editor/dialog/fck_checkbox.html +0 -104
  963. data/public/javascripts/fckeditor/editor/dialog/fck_colorselector.html +0 -172
  964. data/public/javascripts/fckeditor/editor/dialog/fck_docprops.html +0 -600
  965. data/public/javascripts/fckeditor/editor/dialog/fck_docprops/fck_document_preview.html +0 -113
  966. data/public/javascripts/fckeditor/editor/dialog/fck_find.html +0 -173
  967. data/public/javascripts/fckeditor/editor/dialog/fck_flash.html +0 -152
  968. data/public/javascripts/fckeditor/editor/dialog/fck_flash/fck_flash.js +0 -292
  969. data/public/javascripts/fckeditor/editor/dialog/fck_flash/fck_flash_preview.html +0 -50
  970. data/public/javascripts/fckeditor/editor/dialog/fck_form.html +0 -109
  971. data/public/javascripts/fckeditor/editor/dialog/fck_hiddenfield.html +0 -115
  972. data/public/javascripts/fckeditor/editor/dialog/fck_image.html +0 -258
  973. data/public/javascripts/fckeditor/editor/dialog/fck_image/fck_image.js +0 -504
  974. data/public/javascripts/fckeditor/editor/dialog/fck_image/fck_image_preview.html +0 -72
  975. data/public/javascripts/fckeditor/editor/dialog/fck_link.html +0 -293
  976. data/public/javascripts/fckeditor/editor/dialog/fck_link/fck_link.js +0 -736
  977. data/public/javascripts/fckeditor/editor/dialog/fck_listprop.html +0 -120
  978. data/public/javascripts/fckeditor/editor/dialog/fck_paste.html +0 -339
  979. data/public/javascripts/fckeditor/editor/dialog/fck_radiobutton.html +0 -104
  980. data/public/javascripts/fckeditor/editor/dialog/fck_replace.html +0 -530
  981. data/public/javascripts/fckeditor/editor/dialog/fck_select.html +0 -180
  982. data/public/javascripts/fckeditor/editor/dialog/fck_select/fck_select.js +0 -194
  983. data/public/javascripts/fckeditor/editor/dialog/fck_smiley.html +0 -111
  984. data/public/javascripts/fckeditor/editor/dialog/fck_source.html +0 -68
  985. data/public/javascripts/fckeditor/editor/dialog/fck_specialchar.html +0 -121
  986. data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages.html +0 -65
  987. data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/blank.html +0 -0
  988. data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controlWindow.js +0 -87
  989. data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/controls.html +0 -153
  990. data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.cfm +0 -148
  991. data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php +0 -199
  992. data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl +0 -181
  993. data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js +0 -461
  994. data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html +0 -71
  995. data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/spellerStyle.css +0 -49
  996. data/public/javascripts/fckeditor/editor/dialog/fck_spellerpages/spellerpages/wordWindow.js +0 -272
  997. data/public/javascripts/fckeditor/editor/dialog/fck_table.html +0 -298
  998. data/public/javascripts/fckeditor/editor/dialog/fck_tablecell.html +0 -257
  999. data/public/javascripts/fckeditor/editor/dialog/fck_template.html +0 -242
  1000. data/public/javascripts/fckeditor/editor/dialog/fck_textarea.html +0 -94
  1001. data/public/javascripts/fckeditor/editor/dialog/fck_textfield.html +0 -136
  1002. data/public/javascripts/fckeditor/editor/dtd/fck_dtd_test.html +0 -41
  1003. data/public/javascripts/fckeditor/editor/dtd/fck_xhtml10strict.js +0 -116
  1004. data/public/javascripts/fckeditor/editor/dtd/fck_xhtml10transitional.js +0 -140
  1005. data/public/javascripts/fckeditor/editor/fckdebug.html +0 -153
  1006. data/public/javascripts/fckeditor/editor/fckdialog.html +0 -783
  1007. data/public/javascripts/fckeditor/editor/fckeditor.html +0 -278
  1008. data/public/javascripts/fckeditor/editor/fckeditor.original.html +0 -385
  1009. data/public/javascripts/fckeditor/editor/filemanager/browser/default/browser.css +0 -89
  1010. data/public/javascripts/fckeditor/editor/filemanager/browser/default/browser.html +0 -198
  1011. data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmactualfolder.html +0 -99
  1012. data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmcreatefolder.html +0 -113
  1013. data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmfolders.html +0 -197
  1014. data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmresourceslist.html +0 -168
  1015. data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmresourcetype.html +0 -65
  1016. data/public/javascripts/fckeditor/editor/filemanager/browser/default/frmupload.html +0 -115
  1017. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/ButtonArrow.gif +0 -0
  1018. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/Folder.gif +0 -0
  1019. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/Folder32.gif +0 -0
  1020. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/FolderOpened.gif +0 -0
  1021. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/FolderOpened32.gif +0 -0
  1022. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/FolderUp.gif +0 -0
  1023. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/ai.gif +0 -0
  1024. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/avi.gif +0 -0
  1025. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/bmp.gif +0 -0
  1026. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/cs.gif +0 -0
  1027. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/default.icon.gif +0 -0
  1028. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/dll.gif +0 -0
  1029. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/doc.gif +0 -0
  1030. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/exe.gif +0 -0
  1031. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/fla.gif +0 -0
  1032. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/gif.gif +0 -0
  1033. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/htm.gif +0 -0
  1034. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/html.gif +0 -0
  1035. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/jpg.gif +0 -0
  1036. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/js.gif +0 -0
  1037. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/mdb.gif +0 -0
  1038. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/mp3.gif +0 -0
  1039. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/pdf.gif +0 -0
  1040. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/png.gif +0 -0
  1041. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/ppt.gif +0 -0
  1042. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/rdp.gif +0 -0
  1043. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/swf.gif +0 -0
  1044. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/swt.gif +0 -0
  1045. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/txt.gif +0 -0
  1046. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/vsd.gif +0 -0
  1047. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/xls.gif +0 -0
  1048. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/xml.gif +0 -0
  1049. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/32/zip.gif +0 -0
  1050. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/ai.gif +0 -0
  1051. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/avi.gif +0 -0
  1052. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/bmp.gif +0 -0
  1053. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/cs.gif +0 -0
  1054. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/default.icon.gif +0 -0
  1055. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/dll.gif +0 -0
  1056. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/doc.gif +0 -0
  1057. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/exe.gif +0 -0
  1058. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/fla.gif +0 -0
  1059. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/gif.gif +0 -0
  1060. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/htm.gif +0 -0
  1061. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/html.gif +0 -0
  1062. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/jpg.gif +0 -0
  1063. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/js.gif +0 -0
  1064. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/mdb.gif +0 -0
  1065. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/mp3.gif +0 -0
  1066. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/pdf.gif +0 -0
  1067. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/png.gif +0 -0
  1068. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/ppt.gif +0 -0
  1069. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/rdp.gif +0 -0
  1070. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/swf.gif +0 -0
  1071. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/swt.gif +0 -0
  1072. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/txt.gif +0 -0
  1073. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/vsd.gif +0 -0
  1074. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/xls.gif +0 -0
  1075. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/xml.gif +0 -0
  1076. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/icons/zip.gif +0 -0
  1077. data/public/javascripts/fckeditor/editor/filemanager/browser/default/images/spacer.gif +0 -0
  1078. data/public/javascripts/fckeditor/editor/filemanager/browser/default/js/common.js +0 -87
  1079. data/public/javascripts/fckeditor/editor/filemanager/browser/default/js/fckxml.js +0 -129
  1080. data/public/javascripts/fckeditor/editor/filemanager/connectors/aspx/connector.aspx +0 -32
  1081. data/public/javascripts/fckeditor/editor/filemanager/connectors/aspx/upload.aspx +0 -32
  1082. data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/basexml.pl +0 -63
  1083. data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/commands.pl +0 -214
  1084. data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/connector.cgi +0 -136
  1085. data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/io.pl +0 -141
  1086. data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/upload.cgi +0 -117
  1087. data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/upload_fck.pl +0 -686
  1088. data/public/javascripts/fckeditor/editor/filemanager/connectors/perl/util.pl +0 -68
  1089. data/public/javascripts/fckeditor/editor/filemanager/connectors/py/config.py +0 -146
  1090. data/public/javascripts/fckeditor/editor/filemanager/connectors/py/connector.py +0 -118
  1091. data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckcommands.py +0 -198
  1092. data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckconnector.py +0 -90
  1093. data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckoutput.py +0 -142
  1094. data/public/javascripts/fckeditor/editor/filemanager/connectors/py/fckutil.py +0 -126
  1095. data/public/javascripts/fckeditor/editor/filemanager/connectors/py/htaccess.txt +0 -23
  1096. data/public/javascripts/fckeditor/editor/filemanager/connectors/py/upload.py +0 -88
  1097. data/public/javascripts/fckeditor/editor/filemanager/connectors/py/wsgi.py +0 -58
  1098. data/public/javascripts/fckeditor/editor/filemanager/connectors/py/zope.py +0 -188
  1099. data/public/javascripts/fckeditor/editor/filemanager/connectors/test.html +0 -210
  1100. data/public/javascripts/fckeditor/editor/filemanager/connectors/uploadtest.html +0 -192
  1101. data/public/javascripts/fckeditor/editor/images/arrow_ltr.gif +0 -0
  1102. data/public/javascripts/fckeditor/editor/images/arrow_rtl.gif +0 -0
  1103. data/public/javascripts/fckeditor/editor/images/smiley/msn/angel_smile.gif +0 -0
  1104. data/public/javascripts/fckeditor/editor/images/smiley/msn/angry_smile.gif +0 -0
  1105. data/public/javascripts/fckeditor/editor/images/smiley/msn/broken_heart.gif +0 -0
  1106. data/public/javascripts/fckeditor/editor/images/smiley/msn/cake.gif +0 -0
  1107. data/public/javascripts/fckeditor/editor/images/smiley/msn/confused_smile.gif +0 -0
  1108. data/public/javascripts/fckeditor/editor/images/smiley/msn/cry_smile.gif +0 -0
  1109. data/public/javascripts/fckeditor/editor/images/smiley/msn/devil_smile.gif +0 -0
  1110. data/public/javascripts/fckeditor/editor/images/smiley/msn/embaressed_smile.gif +0 -0
  1111. data/public/javascripts/fckeditor/editor/images/smiley/msn/envelope.gif +0 -0
  1112. data/public/javascripts/fckeditor/editor/images/smiley/msn/heart.gif +0 -0
  1113. data/public/javascripts/fckeditor/editor/images/smiley/msn/kiss.gif +0 -0
  1114. data/public/javascripts/fckeditor/editor/images/smiley/msn/lightbulb.gif +0 -0
  1115. data/public/javascripts/fckeditor/editor/images/smiley/msn/omg_smile.gif +0 -0
  1116. data/public/javascripts/fckeditor/editor/images/smiley/msn/regular_smile.gif +0 -0
  1117. data/public/javascripts/fckeditor/editor/images/smiley/msn/sad_smile.gif +0 -0
  1118. data/public/javascripts/fckeditor/editor/images/smiley/msn/shades_smile.gif +0 -0
  1119. data/public/javascripts/fckeditor/editor/images/smiley/msn/teeth_smile.gif +0 -0
  1120. data/public/javascripts/fckeditor/editor/images/smiley/msn/thumbs_down.gif +0 -0
  1121. data/public/javascripts/fckeditor/editor/images/smiley/msn/thumbs_up.gif +0 -0
  1122. data/public/javascripts/fckeditor/editor/images/smiley/msn/tounge_smile.gif +0 -0
  1123. data/public/javascripts/fckeditor/editor/images/smiley/msn/whatchutalkingabout_smile.gif +0 -0
  1124. data/public/javascripts/fckeditor/editor/images/smiley/msn/wink_smile.gif +0 -0
  1125. data/public/javascripts/fckeditor/editor/js/fckadobeair.js +0 -176
  1126. data/public/javascripts/fckeditor/editor/js/fckeditorcode_gecko.js +0 -108
  1127. data/public/javascripts/fckeditor/editor/js/fckeditorcode_ie.js +0 -109
  1128. data/public/javascripts/fckeditor/editor/lang/_translationstatus.txt +0 -77
  1129. data/public/javascripts/fckeditor/editor/lang/af.js +0 -515
  1130. data/public/javascripts/fckeditor/editor/lang/ar.js +0 -515
  1131. data/public/javascripts/fckeditor/editor/lang/bg.js +0 -515
  1132. data/public/javascripts/fckeditor/editor/lang/bn.js +0 -515
  1133. data/public/javascripts/fckeditor/editor/lang/bs.js +0 -515
  1134. data/public/javascripts/fckeditor/editor/lang/ca.js +0 -515
  1135. data/public/javascripts/fckeditor/editor/lang/cs.js +0 -515
  1136. data/public/javascripts/fckeditor/editor/lang/da.js +0 -515
  1137. data/public/javascripts/fckeditor/editor/lang/de.js +0 -515
  1138. data/public/javascripts/fckeditor/editor/lang/el.js +0 -515
  1139. data/public/javascripts/fckeditor/editor/lang/en-au.js +0 -515
  1140. data/public/javascripts/fckeditor/editor/lang/en-ca.js +0 -515
  1141. data/public/javascripts/fckeditor/editor/lang/en-uk.js +0 -515
  1142. data/public/javascripts/fckeditor/editor/lang/en.js +0 -515
  1143. data/public/javascripts/fckeditor/editor/lang/eo.js +0 -515
  1144. data/public/javascripts/fckeditor/editor/lang/es.js +0 -515
  1145. data/public/javascripts/fckeditor/editor/lang/et.js +0 -515
  1146. data/public/javascripts/fckeditor/editor/lang/eu.js +0 -516
  1147. data/public/javascripts/fckeditor/editor/lang/fa.js +0 -515
  1148. data/public/javascripts/fckeditor/editor/lang/fi.js +0 -515
  1149. data/public/javascripts/fckeditor/editor/lang/fo.js +0 -515
  1150. data/public/javascripts/fckeditor/editor/lang/fr-ca.js +0 -515
  1151. data/public/javascripts/fckeditor/editor/lang/fr.js +0 -515
  1152. data/public/javascripts/fckeditor/editor/lang/gl.js +0 -515
  1153. data/public/javascripts/fckeditor/editor/lang/he.js +0 -515
  1154. data/public/javascripts/fckeditor/editor/lang/hi.js +0 -515
  1155. data/public/javascripts/fckeditor/editor/lang/hr.js +0 -515
  1156. data/public/javascripts/fckeditor/editor/lang/hu.js +0 -515
  1157. data/public/javascripts/fckeditor/editor/lang/it.js +0 -515
  1158. data/public/javascripts/fckeditor/editor/lang/ja.js +0 -515
  1159. data/public/javascripts/fckeditor/editor/lang/km.js +0 -515
  1160. data/public/javascripts/fckeditor/editor/lang/ko.js +0 -515
  1161. data/public/javascripts/fckeditor/editor/lang/lt.js +0 -515
  1162. data/public/javascripts/fckeditor/editor/lang/lv.js +0 -515
  1163. data/public/javascripts/fckeditor/editor/lang/mn.js +0 -515
  1164. data/public/javascripts/fckeditor/editor/lang/ms.js +0 -515
  1165. data/public/javascripts/fckeditor/editor/lang/nb.js +0 -515
  1166. data/public/javascripts/fckeditor/editor/lang/nl.js +0 -515
  1167. data/public/javascripts/fckeditor/editor/lang/no.js +0 -515
  1168. data/public/javascripts/fckeditor/editor/lang/pl.js +0 -515
  1169. data/public/javascripts/fckeditor/editor/lang/pt-br.js +0 -515
  1170. data/public/javascripts/fckeditor/editor/lang/pt.js +0 -515
  1171. data/public/javascripts/fckeditor/editor/lang/ro.js +0 -515
  1172. data/public/javascripts/fckeditor/editor/lang/ru.js +0 -515
  1173. data/public/javascripts/fckeditor/editor/lang/sk.js +0 -515
  1174. data/public/javascripts/fckeditor/editor/lang/sl.js +0 -515
  1175. data/public/javascripts/fckeditor/editor/lang/sr-latn.js +0 -515
  1176. data/public/javascripts/fckeditor/editor/lang/sr.js +0 -515
  1177. data/public/javascripts/fckeditor/editor/lang/sv.js +0 -515
  1178. data/public/javascripts/fckeditor/editor/lang/th.js +0 -515
  1179. data/public/javascripts/fckeditor/editor/lang/tr.js +0 -515
  1180. data/public/javascripts/fckeditor/editor/lang/uk.js +0 -515
  1181. data/public/javascripts/fckeditor/editor/lang/vi.js +0 -515
  1182. data/public/javascripts/fckeditor/editor/lang/zh-cn.js +0 -515
  1183. data/public/javascripts/fckeditor/editor/lang/zh.js +0 -515
  1184. data/public/javascripts/fckeditor/editor/plugins/autogrow/fckplugin.js +0 -99
  1185. data/public/javascripts/fckeditor/editor/plugins/bbcode/_sample/sample.config.js +0 -26
  1186. data/public/javascripts/fckeditor/editor/plugins/bbcode/_sample/sample.html +0 -67
  1187. data/public/javascripts/fckeditor/editor/plugins/bbcode/fckplugin.js +0 -123
  1188. data/public/javascripts/fckeditor/editor/plugins/dragresizetable/fckplugin.js +0 -527
  1189. data/public/javascripts/fckeditor/editor/plugins/placeholder/fck_placeholder.html +0 -105
  1190. data/public/javascripts/fckeditor/editor/plugins/placeholder/fckplugin.js +0 -187
  1191. data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/de.js +0 -27
  1192. data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/en.js +0 -27
  1193. data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/es.js +0 -27
  1194. data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/fr.js +0 -27
  1195. data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/it.js +0 -27
  1196. data/public/javascripts/fckeditor/editor/plugins/placeholder/lang/pl.js +0 -27
  1197. data/public/javascripts/fckeditor/editor/plugins/placeholder/placeholder.gif +0 -0
  1198. data/public/javascripts/fckeditor/editor/plugins/simplecommands/fckplugin.js +0 -29
  1199. data/public/javascripts/fckeditor/editor/plugins/tablecommands/fckplugin.js +0 -33
  1200. data/public/javascripts/fckeditor/editor/skins/_fckviewstrips.html +0 -121
  1201. data/public/javascripts/fckeditor/editor/skins/silver/fck_dialog.css +0 -402
  1202. data/public/javascripts/fckeditor/editor/skins/silver/fck_editor.css +0 -473
  1203. data/public/javascripts/fckeditor/editor/skins/silver/fck_strip.gif +0 -0
  1204. data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.arrowright.gif +0 -0
  1205. data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.buttonarrow.gif +0 -0
  1206. data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.buttonbg.gif +0 -0
  1207. data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.collapse.gif +0 -0
  1208. data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.expand.gif +0 -0
  1209. data/public/javascripts/fckeditor/editor/skins/silver/images/toolbar.separator.gif +0 -0
  1210. data/public/javascripts/fckeditor/fckconfig.js +0 -316
  1211. data/public/javascripts/fckeditor/fckeditor.js +0 -303
  1212. data/public/javascripts/fckeditor/fckeditor.py +0 -160
  1213. data/public/javascripts/fckeditor/fckpackager.xml +0 -262
  1214. data/public/javascripts/fckeditor/fckstyles.xml +0 -111
  1215. data/public/javascripts/fckeditor/fcktemplates.xml +0 -103
  1216. data/public/javascripts/fckeditor/license.txt +0 -1246
  1217. data/public/sources/javascripts/administration.js +0 -12
  1218. data/public/sources/javascripts/application.js +0 -2
  1219. data/public/sources/javascripts/codecollapse.js +0 -8
  1220. data/public/sources/javascripts/controls.js +0 -963
  1221. data/public/sources/javascripts/cookies.js +0 -60
  1222. data/public/sources/javascripts/dragdrop.js +0 -972
  1223. data/public/sources/javascripts/effects.js +0 -1120
  1224. data/public/sources/javascripts/fckcustom.js +0 -28
  1225. data/public/sources/javascripts/lang/default.js +0 -21
  1226. data/public/sources/javascripts/lang/en_US.js +0 -21
  1227. data/public/sources/javascripts/lang/fr_FR.js +0 -21
  1228. data/public/sources/javascripts/lightbox.js +0 -202
  1229. data/public/sources/javascripts/prototype.js +0 -4320
  1230. data/public/sources/javascripts/quicktags.js +0 -511
  1231. data/public/sources/javascripts/scriptaculous.js +0 -58
  1232. data/public/sources/javascripts/slider.js +0 -258
  1233. data/public/sources/javascripts/typo.js +0 -136
  1234. data/public/sources/stylesheets/administration.css +0 -955
  1235. data/public/sources/stylesheets/administration_rtl.css +0 -1026
  1236. data/public/sources/stylesheets/codecollapse.css +0 -3
  1237. data/public/sources/stylesheets/coderay.css +0 -126
  1238. data/public/sources/stylesheets/lightbox.css +0 -62
  1239. data/public/sources/stylesheets/rss.css +0 -54
  1240. data/public/sources/stylesheets/textmate/dawn.css +0 -209
  1241. data/public/sources/stylesheets/textmate/iplastic.css +0 -142
  1242. data/public/sources/stylesheets/textmate/space_cadet.css +0 -99
  1243. data/public/sources/stylesheets/textmate/textmate.css +0 -48
  1244. data/public/sources/stylesheets/textmate/twilight.css +0 -227
  1245. data/public/sources/stylesheets/user-styles.css +0 -22
  1246. data/spec/controllers/admin/article_preview_spec.rb +0 -20
  1247. data/spec/models/typo_deprecated_spec.rb +0 -18
  1248. data/vendor/actionwebservice/CHANGELOG +0 -320
  1249. data/vendor/actionwebservice/MIT-LICENSE +0 -21
  1250. data/vendor/actionwebservice/README +0 -381
  1251. data/vendor/actionwebservice/Rakefile +0 -173
  1252. data/vendor/actionwebservice/TODO +0 -32
  1253. data/vendor/actionwebservice/examples/googlesearch/README +0 -143
  1254. data/vendor/actionwebservice/examples/googlesearch/autoloading/google_search_api.rb +0 -50
  1255. data/vendor/actionwebservice/examples/googlesearch/autoloading/google_search_controller.rb +0 -57
  1256. data/vendor/actionwebservice/examples/googlesearch/delegated/google_search_service.rb +0 -108
  1257. data/vendor/actionwebservice/examples/googlesearch/delegated/search_controller.rb +0 -7
  1258. data/vendor/actionwebservice/examples/googlesearch/direct/google_search_api.rb +0 -50
  1259. data/vendor/actionwebservice/examples/googlesearch/direct/search_controller.rb +0 -58
  1260. data/vendor/actionwebservice/examples/metaWeblog/README +0 -17
  1261. data/vendor/actionwebservice/examples/metaWeblog/apis/blogger_api.rb +0 -60
  1262. data/vendor/actionwebservice/examples/metaWeblog/apis/blogger_service.rb +0 -34
  1263. data/vendor/actionwebservice/examples/metaWeblog/apis/meta_weblog_api.rb +0 -67
  1264. data/vendor/actionwebservice/examples/metaWeblog/apis/meta_weblog_service.rb +0 -48
  1265. data/vendor/actionwebservice/examples/metaWeblog/controllers/xmlrpc_controller.rb +0 -16
  1266. data/vendor/actionwebservice/generators/web_service/USAGE +0 -28
  1267. data/vendor/actionwebservice/generators/web_service/templates/api_definition.rb +0 -5
  1268. data/vendor/actionwebservice/generators/web_service/templates/controller.rb +0 -8
  1269. data/vendor/actionwebservice/generators/web_service/templates/functional_test.rb +0 -19
  1270. data/vendor/actionwebservice/generators/web_service/web_service_generator.rb +0 -29
  1271. data/vendor/actionwebservice/lib/action_web_service.rb +0 -66
  1272. data/vendor/actionwebservice/lib/action_web_service/api.rb +0 -297
  1273. data/vendor/actionwebservice/lib/action_web_service/base.rb +0 -38
  1274. data/vendor/actionwebservice/lib/action_web_service/casting.rb +0 -144
  1275. data/vendor/actionwebservice/lib/action_web_service/client.rb +0 -3
  1276. data/vendor/actionwebservice/lib/action_web_service/client/base.rb +0 -28
  1277. data/vendor/actionwebservice/lib/action_web_service/client/soap_client.rb +0 -113
  1278. data/vendor/actionwebservice/lib/action_web_service/client/xmlrpc_client.rb +0 -58
  1279. data/vendor/actionwebservice/lib/action_web_service/container.rb +0 -3
  1280. data/vendor/actionwebservice/lib/action_web_service/container/action_controller_container.rb +0 -93
  1281. data/vendor/actionwebservice/lib/action_web_service/container/delegated_container.rb +0 -86
  1282. data/vendor/actionwebservice/lib/action_web_service/container/direct_container.rb +0 -69
  1283. data/vendor/actionwebservice/lib/action_web_service/dispatcher.rb +0 -2
  1284. data/vendor/actionwebservice/lib/action_web_service/dispatcher/abstract.rb +0 -207
  1285. data/vendor/actionwebservice/lib/action_web_service/dispatcher/action_controller_dispatcher.rb +0 -379
  1286. data/vendor/actionwebservice/lib/action_web_service/invocation.rb +0 -202
  1287. data/vendor/actionwebservice/lib/action_web_service/protocol.rb +0 -4
  1288. data/vendor/actionwebservice/lib/action_web_service/protocol/abstract.rb +0 -112
  1289. data/vendor/actionwebservice/lib/action_web_service/protocol/discovery.rb +0 -37
  1290. data/vendor/actionwebservice/lib/action_web_service/protocol/soap_protocol.rb +0 -176
  1291. data/vendor/actionwebservice/lib/action_web_service/protocol/soap_protocol/marshaler.rb +0 -242
  1292. data/vendor/actionwebservice/lib/action_web_service/protocol/xmlrpc_protocol.rb +0 -122
  1293. data/vendor/actionwebservice/lib/action_web_service/scaffolding.rb +0 -281
  1294. data/vendor/actionwebservice/lib/action_web_service/struct.rb +0 -64
  1295. data/vendor/actionwebservice/lib/action_web_service/support/class_inheritable_options.rb +0 -26
  1296. data/vendor/actionwebservice/lib/action_web_service/support/signature_types.rb +0 -226
  1297. data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/layout.html.erb +0 -65
  1298. data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/methods.html.erb +0 -6
  1299. data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/parameters.html.erb +0 -29
  1300. data/vendor/actionwebservice/lib/action_web_service/templates/scaffolds/result.html.erb +0 -30
  1301. data/vendor/actionwebservice/lib/action_web_service/test_invoke.rb +0 -110
  1302. data/vendor/actionwebservice/lib/action_web_service/version.rb +0 -9
  1303. data/vendor/actionwebservice/lib/actionwebservice.rb +0 -1
  1304. data/vendor/actionwebservice/setup.rb +0 -1379
  1305. data/vendor/actionwebservice/test/abstract_client.rb +0 -183
  1306. data/vendor/actionwebservice/test/abstract_dispatcher.rb +0 -547
  1307. data/vendor/actionwebservice/test/abstract_unit.rb +0 -33
  1308. data/vendor/actionwebservice/test/api_test.rb +0 -102
  1309. data/vendor/actionwebservice/test/apis/auto_load_api.rb +0 -3
  1310. data/vendor/actionwebservice/test/apis/broken_auto_load_api.rb +0 -2
  1311. data/vendor/actionwebservice/test/base_test.rb +0 -42
  1312. data/vendor/actionwebservice/test/casting_test.rb +0 -86
  1313. data/vendor/actionwebservice/test/client_soap_test.rb +0 -155
  1314. data/vendor/actionwebservice/test/client_xmlrpc_test.rb +0 -153
  1315. data/vendor/actionwebservice/test/container_test.rb +0 -73
  1316. data/vendor/actionwebservice/test/dispatcher_action_controller_soap_test.rb +0 -137
  1317. data/vendor/actionwebservice/test/dispatcher_action_controller_xmlrpc_test.rb +0 -59
  1318. data/vendor/actionwebservice/test/fixtures/db_definitions/mysql.sql +0 -8
  1319. data/vendor/actionwebservice/test/fixtures/users.yml +0 -12
  1320. data/vendor/actionwebservice/test/gencov +0 -3
  1321. data/vendor/actionwebservice/test/invocation_test.rb +0 -185
  1322. data/vendor/actionwebservice/test/run +0 -6
  1323. data/vendor/actionwebservice/test/scaffolded_controller_test.rb +0 -146
  1324. data/vendor/actionwebservice/test/struct_test.rb +0 -52
  1325. data/vendor/actionwebservice/test/test_invoke_test.rb +0 -112
  1326. data/vendor/bluecloth/CHANGES +0 -366
  1327. data/vendor/bluecloth/LICENSE +0 -340
  1328. data/vendor/bluecloth/README +0 -99
  1329. data/vendor/bluecloth/bin/bluecloth +0 -83
  1330. data/vendor/bluecloth/install.rb +0 -150
  1331. data/vendor/bluecloth/lib/bluecloth.rb +0 -1144
  1332. data/vendor/bluecloth/test.rb +0 -117
  1333. data/vendor/bluecloth/tests/00_Class.tests.rb +0 -71
  1334. data/vendor/bluecloth/tests/05_Markdown.tests.rb +0 -1527
  1335. data/vendor/bluecloth/tests/10_Bug.tests.rb +0 -57
  1336. data/vendor/bluecloth/tests/15_Contrib.tests.rb +0 -132
  1337. data/vendor/bluecloth/tests/bctestcase.rb +0 -274
  1338. data/vendor/bluecloth/tests/data/antsugar.txt +0 -34
  1339. data/vendor/bluecloth/tests/data/ml-announce.txt +0 -17
  1340. data/vendor/bluecloth/tests/data/re-overflow.txt +0 -67
  1341. data/vendor/bluecloth/tests/data/re-overflow2.txt +0 -281
  1342. data/vendor/bluecloth/utils.rb +0 -553
  1343. data/vendor/cached_model/History.txt +0 -30
  1344. data/vendor/cached_model/LICENSE.txt +0 -30
  1345. data/vendor/cached_model/Manifest.txt +0 -7
  1346. data/vendor/cached_model/README.txt +0 -96
  1347. data/vendor/cached_model/Rakefile +0 -25
  1348. data/vendor/cached_model/lib/cached_model.rb +0 -287
  1349. data/vendor/cached_model/test/test_cached_model.rb +0 -593
  1350. data/vendor/gems/calendar_date_select-1.15/.specification +0 -56
  1351. data/vendor/gems/calendar_date_select-1.15/History.txt +0 -237
  1352. data/vendor/gems/calendar_date_select-1.15/MIT-LICENSE +0 -20
  1353. data/vendor/gems/calendar_date_select-1.15/Manifest.txt +0 -42
  1354. data/vendor/gems/calendar_date_select-1.15/Rakefile +0 -31
  1355. data/vendor/gems/calendar_date_select-1.15/Readme.txt +0 -16
  1356. data/vendor/gems/calendar_date_select-1.15/init.rb +0 -1
  1357. data/vendor/gems/calendar_date_select-1.15/js_test/functional/cds_test.html +0 -334
  1358. data/vendor/gems/calendar_date_select-1.15/js_test/prototype.js +0 -4184
  1359. data/vendor/gems/calendar_date_select-1.15/js_test/test.css +0 -40
  1360. data/vendor/gems/calendar_date_select-1.15/js_test/unit/cds_helper_methods.html +0 -46
  1361. data/vendor/gems/calendar_date_select-1.15/js_test/unittest.js +0 -564
  1362. data/vendor/gems/calendar_date_select-1.15/lib/calendar_date_select.rb +0 -33
  1363. data/vendor/gems/calendar_date_select-1.15/lib/calendar_date_select/calendar_date_select.rb +0 -116
  1364. data/vendor/gems/calendar_date_select-1.15/lib/calendar_date_select/form_helpers.rb +0 -225
  1365. data/vendor/gems/calendar_date_select-1.15/lib/calendar_date_select/includes_helper.rb +0 -29
  1366. data/vendor/gems/calendar_date_select-1.15/public/blank_iframe.html +0 -2
  1367. data/vendor/gems/calendar_date_select-1.15/public/images/calendar_date_select/calendar.gif +0 -0
  1368. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/calendar_date_select.js +0 -443
  1369. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_american.js +0 -34
  1370. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_db.js +0 -27
  1371. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_euro_24hr.js +0 -7
  1372. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_euro_24hr_ymd.js +0 -7
  1373. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_finnish.js +0 -32
  1374. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_hyphen_ampm.js +0 -37
  1375. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_iso_date.js +0 -46
  1376. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/format_italian.js +0 -24
  1377. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/de.js +0 -11
  1378. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/fi.js +0 -10
  1379. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/fr.js +0 -10
  1380. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/pl.js +0 -10
  1381. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/pt.js +0 -11
  1382. data/vendor/gems/calendar_date_select-1.15/public/javascripts/calendar_date_select/locale/ru.js +0 -10
  1383. data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/blue.css +0 -130
  1384. data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/default.css +0 -135
  1385. data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/plain.css +0 -128
  1386. data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/red.css +0 -135
  1387. data/vendor/gems/calendar_date_select-1.15/public/stylesheets/calendar_date_select/silver.css +0 -133
  1388. data/vendor/gems/calendar_date_select-1.15/spec/calendar_date_select/calendar_date_select_spec.rb +0 -14
  1389. data/vendor/gems/calendar_date_select-1.15/spec/calendar_date_select/form_helpers_spec.rb +0 -166
  1390. data/vendor/gems/calendar_date_select-1.15/spec/spec_helper.rb +0 -26
  1391. data/vendor/gems/coderay-0.8.260/.specification +0 -115
  1392. data/vendor/gems/coderay-0.8.260/FOLDERS +0 -53
  1393. data/vendor/gems/coderay-0.8.260/LICENSE +0 -504
  1394. data/vendor/gems/coderay-0.8.260/README +0 -128
  1395. data/vendor/gems/coderay-0.8.260/bin/coderay +0 -82
  1396. data/vendor/gems/coderay-0.8.260/bin/coderay_stylesheet +0 -4
  1397. data/vendor/gems/coderay-0.8.260/lib/coderay.rb +0 -321
  1398. data/vendor/gems/coderay-0.8.260/lib/coderay/duo.rb +0 -87
  1399. data/vendor/gems/coderay-0.8.260/lib/coderay/encoder.rb +0 -182
  1400. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/_map.rb +0 -9
  1401. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/count.rb +0 -21
  1402. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/debug.rb +0 -49
  1403. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/div.rb +0 -20
  1404. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/html.rb +0 -287
  1405. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/html/css.rb +0 -70
  1406. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/html/numerization.rb +0 -124
  1407. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/html/output.rb +0 -197
  1408. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/null.rb +0 -26
  1409. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/page.rb +0 -21
  1410. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/span.rb +0 -20
  1411. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/statistic.rb +0 -77
  1412. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/text.rb +0 -32
  1413. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/tokens.rb +0 -44
  1414. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/xml.rb +0 -70
  1415. data/vendor/gems/coderay-0.8.260/lib/coderay/encoders/yaml.rb +0 -22
  1416. data/vendor/gems/coderay-0.8.260/lib/coderay/for_redcloth.rb +0 -72
  1417. data/vendor/gems/coderay-0.8.260/lib/coderay/helpers/file_type.rb +0 -211
  1418. data/vendor/gems/coderay-0.8.260/lib/coderay/helpers/gzip_simple.rb +0 -123
  1419. data/vendor/gems/coderay-0.8.260/lib/coderay/helpers/plugin.rb +0 -333
  1420. data/vendor/gems/coderay-0.8.260/lib/coderay/helpers/word_list.rb +0 -123
  1421. data/vendor/gems/coderay-0.8.260/lib/coderay/scanner.rb +0 -255
  1422. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/_map.rb +0 -15
  1423. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/c.rb +0 -165
  1424. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/css.rb +0 -181
  1425. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/debug.rb +0 -61
  1426. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/delphi.rb +0 -150
  1427. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/diff.rb +0 -104
  1428. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/html.rb +0 -177
  1429. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/java.rb +0 -179
  1430. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/java/builtin_types.rb +0 -419
  1431. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/java_script.rb +0 -187
  1432. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/json.rb +0 -106
  1433. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/nitro_xhtml.rb +0 -134
  1434. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/plaintext.rb +0 -18
  1435. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/rhtml.rb +0 -73
  1436. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/ruby.rb +0 -381
  1437. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/ruby/patterns.rb +0 -226
  1438. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/scheme.rb +0 -142
  1439. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/sql.Keith.rb +0 -143
  1440. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/sql.rb +0 -154
  1441. data/vendor/gems/coderay-0.8.260/lib/coderay/scanners/xml.rb +0 -19
  1442. data/vendor/gems/coderay-0.8.260/lib/coderay/style.rb +0 -20
  1443. data/vendor/gems/coderay-0.8.260/lib/coderay/styles/_map.rb +0 -7
  1444. data/vendor/gems/coderay-0.8.260/lib/coderay/styles/cycnus.rb +0 -146
  1445. data/vendor/gems/coderay-0.8.260/lib/coderay/styles/murphy.rb +0 -132
  1446. data/vendor/gems/coderay-0.8.260/lib/coderay/token_classes.rb +0 -82
  1447. data/vendor/gems/coderay-0.8.260/lib/coderay/tokens.rb +0 -387
  1448. data/vendor/gems/coderay-0.8.260/lib/term/ansicolor.rb +0 -220
  1449. data/vendor/gems/htmlentities-4.0.0/.specification +0 -68
  1450. data/vendor/gems/htmlentities-4.0.0/COPYING.txt +0 -21
  1451. data/vendor/gems/htmlentities-4.0.0/History.txt +0 -47
  1452. data/vendor/gems/htmlentities-4.0.0/README.txt +0 -44
  1453. data/vendor/gems/htmlentities-4.0.0/lib/htmlentities.rb +0 -165
  1454. data/vendor/gems/htmlentities-4.0.0/lib/htmlentities/html4.rb +0 -257
  1455. data/vendor/gems/htmlentities-4.0.0/lib/htmlentities/legacy.rb +0 -27
  1456. data/vendor/gems/htmlentities-4.0.0/lib/htmlentities/string.rb +0 -26
  1457. data/vendor/gems/htmlentities-4.0.0/lib/htmlentities/xhtml1.rb +0 -258
  1458. data/vendor/gems/htmlentities-4.0.0/test/entities_test.rb +0 -206
  1459. data/vendor/gems/htmlentities-4.0.0/test/html4_test.rb +0 -24
  1460. data/vendor/gems/htmlentities-4.0.0/test/legacy_test.rb +0 -34
  1461. data/vendor/gems/htmlentities-4.0.0/test/roundtrip_test.rb +0 -94
  1462. data/vendor/gems/htmlentities-4.0.0/test/string_test.rb +0 -24
  1463. data/vendor/gems/htmlentities-4.0.0/test/test_all.rb +0 -3
  1464. data/vendor/gems/htmlentities-4.0.0/test/xhtml1_test.rb +0 -23
  1465. data/vendor/gems/json-1.1.3/.require_paths +0 -4
  1466. data/vendor/gems/json-1.1.3/.specification +0 -58
  1467. data/vendor/gems/json-1.1.3/CHANGES +0 -93
  1468. data/vendor/gems/json-1.1.3/GPL +0 -340
  1469. data/vendor/gems/json-1.1.3/README +0 -78
  1470. data/vendor/gems/json-1.1.3/RUBY +0 -58
  1471. data/vendor/gems/json-1.1.3/Rakefile +0 -309
  1472. data/vendor/gems/json-1.1.3/TODO +0 -1
  1473. data/vendor/gems/json-1.1.3/VERSION +0 -1
  1474. data/vendor/gems/json-1.1.3/benchmarks/benchmark.txt +0 -133
  1475. data/vendor/gems/json-1.1.3/benchmarks/benchmark_generator.rb +0 -48
  1476. data/vendor/gems/json-1.1.3/benchmarks/benchmark_parser.rb +0 -26
  1477. data/vendor/gems/json-1.1.3/benchmarks/benchmark_rails.rb +0 -26
  1478. data/vendor/gems/json-1.1.3/bin/edit_json.rb +0 -10
  1479. data/vendor/gems/json-1.1.3/bin/prettify_json.rb +0 -76
  1480. data/vendor/gems/json-1.1.3/data/example.json +0 -1
  1481. data/vendor/gems/json-1.1.3/data/index.html +0 -38
  1482. data/vendor/gems/json-1.1.3/data/prototype.js +0 -4184
  1483. data/vendor/gems/json-1.1.3/ext/json/ext/generator.bundle +0 -0
  1484. data/vendor/gems/json-1.1.3/ext/json/ext/generator/Makefile +0 -149
  1485. data/vendor/gems/json-1.1.3/ext/json/ext/generator/extconf.rb +0 -9
  1486. data/vendor/gems/json-1.1.3/ext/json/ext/generator/generator.bundle +0 -0
  1487. data/vendor/gems/json-1.1.3/ext/json/ext/generator/generator.c +0 -875
  1488. data/vendor/gems/json-1.1.3/ext/json/ext/generator/generator.o +0 -0
  1489. data/vendor/gems/json-1.1.3/ext/json/ext/generator/unicode.c +0 -182
  1490. data/vendor/gems/json-1.1.3/ext/json/ext/generator/unicode.h +0 -53
  1491. data/vendor/gems/json-1.1.3/ext/json/ext/generator/unicode.o +0 -0
  1492. data/vendor/gems/json-1.1.3/ext/json/ext/parser.bundle +0 -0
  1493. data/vendor/gems/json-1.1.3/ext/json/ext/parser/Makefile +0 -149
  1494. data/vendor/gems/json-1.1.3/ext/json/ext/parser/extconf.rb +0 -9
  1495. data/vendor/gems/json-1.1.3/ext/json/ext/parser/parser.bundle +0 -0
  1496. data/vendor/gems/json-1.1.3/ext/json/ext/parser/parser.c +0 -1758
  1497. data/vendor/gems/json-1.1.3/ext/json/ext/parser/parser.o +0 -0
  1498. data/vendor/gems/json-1.1.3/ext/json/ext/parser/parser.rl +0 -638
  1499. data/vendor/gems/json-1.1.3/ext/json/ext/parser/unicode.c +0 -154
  1500. data/vendor/gems/json-1.1.3/ext/json/ext/parser/unicode.h +0 -58
  1501. data/vendor/gems/json-1.1.3/ext/json/ext/parser/unicode.o +0 -0
  1502. data/vendor/gems/json-1.1.3/install.rb +0 -26
  1503. data/vendor/gems/json-1.1.3/lib/json.rb +0 -235
  1504. data/vendor/gems/json-1.1.3/lib/json/Array.xpm +0 -21
  1505. data/vendor/gems/json-1.1.3/lib/json/FalseClass.xpm +0 -21
  1506. data/vendor/gems/json-1.1.3/lib/json/Hash.xpm +0 -21
  1507. data/vendor/gems/json-1.1.3/lib/json/Key.xpm +0 -73
  1508. data/vendor/gems/json-1.1.3/lib/json/NilClass.xpm +0 -21
  1509. data/vendor/gems/json-1.1.3/lib/json/Numeric.xpm +0 -28
  1510. data/vendor/gems/json-1.1.3/lib/json/String.xpm +0 -96
  1511. data/vendor/gems/json-1.1.3/lib/json/TrueClass.xpm +0 -21
  1512. data/vendor/gems/json-1.1.3/lib/json/add/core.rb +0 -135
  1513. data/vendor/gems/json-1.1.3/lib/json/add/rails.rb +0 -58
  1514. data/vendor/gems/json-1.1.3/lib/json/common.rb +0 -354
  1515. data/vendor/gems/json-1.1.3/lib/json/editor.rb +0 -1362
  1516. data/vendor/gems/json-1.1.3/lib/json/ext.rb +0 -13
  1517. data/vendor/gems/json-1.1.3/lib/json/json.xpm +0 -1499
  1518. data/vendor/gems/json-1.1.3/lib/json/pure.rb +0 -75
  1519. data/vendor/gems/json-1.1.3/lib/json/pure/generator.rb +0 -394
  1520. data/vendor/gems/json-1.1.3/lib/json/pure/parser.rb +0 -259
  1521. data/vendor/gems/json-1.1.3/lib/json/version.rb +0 -9
  1522. data/vendor/gems/json-1.1.3/tests/fixtures/fail1.json +0 -1
  1523. data/vendor/gems/json-1.1.3/tests/fixtures/fail10.json +0 -1
  1524. data/vendor/gems/json-1.1.3/tests/fixtures/fail11.json +0 -1
  1525. data/vendor/gems/json-1.1.3/tests/fixtures/fail12.json +0 -1
  1526. data/vendor/gems/json-1.1.3/tests/fixtures/fail13.json +0 -1
  1527. data/vendor/gems/json-1.1.3/tests/fixtures/fail14.json +0 -1
  1528. data/vendor/gems/json-1.1.3/tests/fixtures/fail18.json +0 -1
  1529. data/vendor/gems/json-1.1.3/tests/fixtures/fail19.json +0 -1
  1530. data/vendor/gems/json-1.1.3/tests/fixtures/fail2.json +0 -1
  1531. data/vendor/gems/json-1.1.3/tests/fixtures/fail20.json +0 -1
  1532. data/vendor/gems/json-1.1.3/tests/fixtures/fail21.json +0 -1
  1533. data/vendor/gems/json-1.1.3/tests/fixtures/fail22.json +0 -1
  1534. data/vendor/gems/json-1.1.3/tests/fixtures/fail23.json +0 -1
  1535. data/vendor/gems/json-1.1.3/tests/fixtures/fail24.json +0 -1
  1536. data/vendor/gems/json-1.1.3/tests/fixtures/fail25.json +0 -1
  1537. data/vendor/gems/json-1.1.3/tests/fixtures/fail27.json +0 -2
  1538. data/vendor/gems/json-1.1.3/tests/fixtures/fail28.json +0 -2
  1539. data/vendor/gems/json-1.1.3/tests/fixtures/fail3.json +0 -1
  1540. data/vendor/gems/json-1.1.3/tests/fixtures/fail4.json +0 -1
  1541. data/vendor/gems/json-1.1.3/tests/fixtures/fail5.json +0 -1
  1542. data/vendor/gems/json-1.1.3/tests/fixtures/fail6.json +0 -1
  1543. data/vendor/gems/json-1.1.3/tests/fixtures/fail7.json +0 -1
  1544. data/vendor/gems/json-1.1.3/tests/fixtures/fail8.json +0 -1
  1545. data/vendor/gems/json-1.1.3/tests/fixtures/fail9.json +0 -1
  1546. data/vendor/gems/json-1.1.3/tests/fixtures/pass1.json +0 -56
  1547. data/vendor/gems/json-1.1.3/tests/fixtures/pass15.json +0 -1
  1548. data/vendor/gems/json-1.1.3/tests/fixtures/pass16.json +0 -1
  1549. data/vendor/gems/json-1.1.3/tests/fixtures/pass17.json +0 -1
  1550. data/vendor/gems/json-1.1.3/tests/fixtures/pass2.json +0 -1
  1551. data/vendor/gems/json-1.1.3/tests/fixtures/pass26.json +0 -1
  1552. data/vendor/gems/json-1.1.3/tests/fixtures/pass3.json +0 -6
  1553. data/vendor/gems/json-1.1.3/tests/runner.rb +0 -25
  1554. data/vendor/gems/json-1.1.3/tests/test_json.rb +0 -293
  1555. data/vendor/gems/json-1.1.3/tests/test_json_addition.rb +0 -161
  1556. data/vendor/gems/json-1.1.3/tests/test_json_fixtures.rb +0 -30
  1557. data/vendor/gems/json-1.1.3/tests/test_json_generate.rb +0 -100
  1558. data/vendor/gems/json-1.1.3/tests/test_json_rails.rb +0 -118
  1559. data/vendor/gems/json-1.1.3/tests/test_json_unicode.rb +0 -61
  1560. data/vendor/gems/json-1.1.3/tools/fuzz.rb +0 -140
  1561. data/vendor/gems/json-1.1.3/tools/server.rb +0 -62
  1562. data/vendor/memcache-client/History.txt +0 -25
  1563. data/vendor/memcache-client/LICENSE.txt +0 -30
  1564. data/vendor/memcache-client/Manifest.txt +0 -8
  1565. data/vendor/memcache-client/README.txt +0 -46
  1566. data/vendor/memcache-client/Rakefile +0 -23
  1567. data/vendor/memcache-client/lib/memcache.rb +0 -490
  1568. data/vendor/memcache-client/lib/memcache_util.rb +0 -71
  1569. data/vendor/memcache-client/test/test_mem_cache.rb +0 -284
  1570. data/vendor/plugins/datestamped_resources/README +0 -4
  1571. data/vendor/plugins/datestamped_resources/Rakefile +0 -22
  1572. data/vendor/plugins/datestamped_resources/init.rb +0 -2
  1573. data/vendor/plugins/datestamped_resources/install.rb +0 -1
  1574. data/vendor/plugins/datestamped_resources/lib/datestamped_resources.rb +0 -203
  1575. data/vendor/plugins/datestamped_resources/tasks/datestamped_resources_tasks.rake +0 -4
  1576. data/vendor/plugins/datestamped_resources/test/datestamped_resources_test.rb +0 -8
  1577. data/vendor/plugins/datestamped_resources/uninstall.rb +0 -1
  1578. data/vendor/plugins/fckeditor/CHANGELOG +0 -3
  1579. data/vendor/plugins/fckeditor/README +0 -118
  1580. data/vendor/plugins/fckeditor/app/controllers/fckeditor_controller.rb +0 -159
  1581. data/vendor/plugins/fckeditor/app/helpers/fckeditor_helper.rb +0 -2
  1582. data/vendor/plugins/fckeditor/app/views/fckeditor/spell_check.rhtml +0 -52
  1583. data/vendor/plugins/fckeditor/init.rb +0 -35
  1584. data/vendor/plugins/fckeditor/install.rb +0 -12
  1585. data/vendor/plugins/fckeditor/lib/fckeditor.rb +0 -101
  1586. data/vendor/plugins/fckeditor/lib/fckeditor_file_utils.rb +0 -81
  1587. data/vendor/plugins/fckeditor/lib/fckeditor_spell_check.rb +0 -43
  1588. data/vendor/plugins/fckeditor/lib/fckeditor_version.rb +0 -9
  1589. data/vendor/plugins/fckeditor/tasks/fckeditor_tasks.rake +0 -97
  1590. data/vendor/plugins/fckeditor/test/fckeditor_test.rb +0 -8
  1591. data/vendor/plugins/will_paginate/CHANGELOG.rdoc +0 -110
  1592. data/vendor/plugins/will_paginate/LICENSE +0 -18
  1593. data/vendor/plugins/will_paginate/README.rdoc +0 -107
  1594. data/vendor/plugins/will_paginate/Rakefile +0 -62
  1595. data/vendor/plugins/will_paginate/examples/apple-circle.gif +0 -0
  1596. data/vendor/plugins/will_paginate/examples/index.haml +0 -69
  1597. data/vendor/plugins/will_paginate/examples/index.html +0 -92
  1598. data/vendor/plugins/will_paginate/examples/pagination.css +0 -90
  1599. data/vendor/plugins/will_paginate/examples/pagination.sass +0 -91
  1600. data/vendor/plugins/will_paginate/init.rb +0 -1
  1601. data/vendor/plugins/will_paginate/lib/will_paginate.rb +0 -82
  1602. data/vendor/plugins/will_paginate/lib/will_paginate/array.rb +0 -16
  1603. data/vendor/plugins/will_paginate/lib/will_paginate/collection.rb +0 -146
  1604. data/vendor/plugins/will_paginate/lib/will_paginate/core_ext.rb +0 -32
  1605. data/vendor/plugins/will_paginate/lib/will_paginate/finder.rb +0 -260
  1606. data/vendor/plugins/will_paginate/lib/will_paginate/named_scope.rb +0 -170
  1607. data/vendor/plugins/will_paginate/lib/will_paginate/named_scope_patch.rb +0 -37
  1608. data/vendor/plugins/will_paginate/lib/will_paginate/version.rb +0 -9
  1609. data/vendor/plugins/will_paginate/lib/will_paginate/view_helpers.rb +0 -383
  1610. data/vendor/plugins/will_paginate/test/boot.rb +0 -21
  1611. data/vendor/plugins/will_paginate/test/collection_test.rb +0 -143
  1612. data/vendor/plugins/will_paginate/test/console +0 -8
  1613. data/vendor/plugins/will_paginate/test/database.yml +0 -22
  1614. data/vendor/plugins/will_paginate/test/finder_test.rb +0 -476
  1615. data/vendor/plugins/will_paginate/test/fixtures/admin.rb +0 -3
  1616. data/vendor/plugins/will_paginate/test/fixtures/developer.rb +0 -14
  1617. data/vendor/plugins/will_paginate/test/fixtures/developers_projects.yml +0 -13
  1618. data/vendor/plugins/will_paginate/test/fixtures/project.rb +0 -15
  1619. data/vendor/plugins/will_paginate/test/fixtures/projects.yml +0 -6
  1620. data/vendor/plugins/will_paginate/test/fixtures/replies.yml +0 -29
  1621. data/vendor/plugins/will_paginate/test/fixtures/reply.rb +0 -7
  1622. data/vendor/plugins/will_paginate/test/fixtures/schema.rb +0 -38
  1623. data/vendor/plugins/will_paginate/test/fixtures/topic.rb +0 -10
  1624. data/vendor/plugins/will_paginate/test/fixtures/topics.yml +0 -30
  1625. data/vendor/plugins/will_paginate/test/fixtures/user.rb +0 -2
  1626. data/vendor/plugins/will_paginate/test/fixtures/users.yml +0 -35
  1627. data/vendor/plugins/will_paginate/test/helper.rb +0 -37
  1628. data/vendor/plugins/will_paginate/test/lib/activerecord_test_case.rb +0 -36
  1629. data/vendor/plugins/will_paginate/test/lib/activerecord_test_connector.rb +0 -73
  1630. data/vendor/plugins/will_paginate/test/lib/load_fixtures.rb +0 -11
  1631. data/vendor/plugins/will_paginate/test/lib/view_test_process.rb +0 -165
  1632. data/vendor/plugins/will_paginate/test/tasks.rake +0 -59
  1633. data/vendor/plugins/will_paginate/test/view_test.rb +0 -363
  1634. data/vendor/plugins/will_paginate/will_paginate.gemspec +0 -22
  1635. data/vendor/redcloth/RedCloth.gemspec +0 -52
  1636. data/vendor/redcloth/bin/redcloth +0 -3
  1637. data/vendor/redcloth/doc/CHANGELOG +0 -160
  1638. data/vendor/redcloth/doc/COPYING +0 -25
  1639. data/vendor/redcloth/doc/README +0 -106
  1640. data/vendor/redcloth/doc/REFERENCE +0 -216
  1641. data/vendor/redcloth/doc/make.rb +0 -359
  1642. data/vendor/redcloth/install.rb +0 -1032
  1643. data/vendor/redcloth/lib/redcloth.rb +0 -1130
  1644. data/vendor/redcloth/run-tests.rb +0 -28
  1645. data/vendor/redcloth/setup.rb +0 -1376
  1646. data/vendor/redcloth/tests/code.yml +0 -105
  1647. data/vendor/redcloth/tests/hard_breaks.yml +0 -26
  1648. data/vendor/redcloth/tests/images.yml +0 -171
  1649. data/vendor/redcloth/tests/instiki.yml +0 -39
  1650. data/vendor/redcloth/tests/links.yml +0 -155
  1651. data/vendor/redcloth/tests/lists.yml +0 -77
  1652. data/vendor/redcloth/tests/markdown.yml +0 -218
  1653. data/vendor/redcloth/tests/poignant.yml +0 -64
  1654. data/vendor/redcloth/tests/table.yml +0 -198
  1655. data/vendor/redcloth/tests/textism.yml +0 -406
  1656. data/vendor/sparklines/README.txt +0 -47
  1657. data/vendor/sparklines/USAGE +0 -14
  1658. data/vendor/sparklines/lib/sparklines.rb +0 -435
  1659. data/vendor/sparklines/samples/sparklinestest.rb +0 -26
  1660. data/vendor/sparklines/sparklines_generator.rb +0 -9
  1661. data/vendor/sparklines/templates/sparklines_controller.rb +0 -30
  1662. data/vendor/sparklines/templates/sparklines_helper.rb +0 -30
@@ -1,182 +0,0 @@
1
- #include "unicode.h"
2
-
3
- #define unicode_escape(buffer, character) \
4
- snprintf(buf, 7, "\\u%04x", (unsigned int) (character)); \
5
- rb_str_buf_cat(buffer, buf, 6);
6
-
7
- /*
8
- * Copyright 2001-2004 Unicode, Inc.
9
- *
10
- * Disclaimer
11
- *
12
- * This source code is provided as is by Unicode, Inc. No claims are
13
- * made as to fitness for any particular purpose. No warranties of any
14
- * kind are expressed or implied. The recipient agrees to determine
15
- * applicability of information provided. If this file has been
16
- * purchased on magnetic or optical media from Unicode, Inc., the
17
- * sole remedy for any claim will be exchange of defective media
18
- * within 90 days of receipt.
19
- *
20
- * Limitations on Rights to Redistribute This Code
21
- *
22
- * Unicode, Inc. hereby grants the right to freely use the information
23
- * supplied in this file in the creation of products supporting the
24
- * Unicode Standard, and to make copies of this file in any form
25
- * for internal or external distribution as long as this notice
26
- * remains attached.
27
- */
28
-
29
- /*
30
- * Index into the table below with the first byte of a UTF-8 sequence to
31
- * get the number of trailing bytes that are supposed to follow it.
32
- * Note that *legal* UTF-8 values can't have 4 or 5-bytes. The table is
33
- * left as-is for anyone who may want to do such conversion, which was
34
- * allowed in earlier algorithms.
35
- */
36
- static const char trailingBytesForUTF8[256] = {
37
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
38
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
39
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
40
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
41
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
42
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
43
- 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
44
- 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, 3,3,3,3,3,3,3,3,4,4,4,4,5,5,5,5
45
- };
46
-
47
- /*
48
- * Magic values subtracted from a buffer value during UTF8 conversion.
49
- * This table contains as many values as there might be trailing bytes
50
- * in a UTF-8 sequence.
51
- */
52
- static const UTF32 offsetsFromUTF8[6] = { 0x00000000UL, 0x00003080UL, 0x000E2080UL,
53
- 0x03C82080UL, 0xFA082080UL, 0x82082080UL };
54
-
55
- /*
56
- * Once the bits are split out into bytes of UTF-8, this is a mask OR-ed
57
- * into the first byte, depending on how many bytes follow. There are
58
- * as many entries in this table as there are UTF-8 sequence types.
59
- * (I.e., one byte sequence, two byte... etc.). Remember that sequencs
60
- * for *legal* UTF-8 will be 4 or fewer bytes total.
61
- */
62
- static const UTF8 firstByteMark[7] = { 0x00, 0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC };
63
-
64
- /*
65
- * Utility routine to tell whether a sequence of bytes is legal UTF-8.
66
- * This must be called with the length pre-determined by the first byte.
67
- * If not calling this from ConvertUTF8to*, then the length can be set by:
68
- * length = trailingBytesForUTF8[*source]+1;
69
- * and the sequence is illegal right away if there aren't that many bytes
70
- * available.
71
- * If presented with a length > 4, this returns 0. The Unicode
72
- * definition of UTF-8 goes up to 4-byte sequences.
73
- */
74
-
75
- inline static unsigned char isLegalUTF8(const UTF8 *source, int length)
76
- {
77
- UTF8 a;
78
- const UTF8 *srcptr = source+length;
79
- switch (length) {
80
- default: return 0;
81
- /* Everything else falls through when "1"... */
82
- case 4: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0;
83
- case 3: if ((a = (*--srcptr)) < 0x80 || a > 0xBF) return 0;
84
- case 2: if ((a = (*--srcptr)) > 0xBF) return 0;
85
-
86
- switch (*source) {
87
- /* no fall-through in this inner switch */
88
- case 0xE0: if (a < 0xA0) return 0; break;
89
- case 0xED: if (a > 0x9F) return 0; break;
90
- case 0xF0: if (a < 0x90) return 0; break;
91
- case 0xF4: if (a > 0x8F) return 0; break;
92
- default: if (a < 0x80) return 0;
93
- }
94
-
95
- case 1: if (*source >= 0x80 && *source < 0xC2) return 0;
96
- }
97
- if (*source > 0xF4) return 0;
98
- return 1;
99
- }
100
-
101
- void JSON_convert_UTF8_to_JSON(VALUE buffer, VALUE string, ConversionFlags flags)
102
- {
103
- char buf[7];
104
- const UTF8* source = (UTF8 *) RSTRING_PTR(string);
105
- const UTF8* sourceEnd = source + RSTRING_LEN(string);
106
-
107
- while (source < sourceEnd) {
108
- UTF32 ch = 0;
109
- unsigned short extraBytesToRead = trailingBytesForUTF8[*source];
110
- if (source + extraBytesToRead >= sourceEnd) {
111
- rb_raise(rb_path2class("JSON::GeneratorError"),
112
- "partial character in source, but hit end");
113
- }
114
- if (!isLegalUTF8(source, extraBytesToRead+1)) {
115
- rb_raise(rb_path2class("JSON::GeneratorError"),
116
- "source sequence is illegal/malformed");
117
- }
118
- /*
119
- * The cases all fall through. See "Note A" below.
120
- */
121
- switch (extraBytesToRead) {
122
- case 5: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
123
- case 4: ch += *source++; ch <<= 6; /* remember, illegal UTF-8 */
124
- case 3: ch += *source++; ch <<= 6;
125
- case 2: ch += *source++; ch <<= 6;
126
- case 1: ch += *source++; ch <<= 6;
127
- case 0: ch += *source++;
128
- }
129
- ch -= offsetsFromUTF8[extraBytesToRead];
130
-
131
- if (ch <= UNI_MAX_BMP) { /* Target is a character <= 0xFFFF */
132
- /* UTF-16 surrogate values are illegal in UTF-32 */
133
- if (ch >= UNI_SUR_HIGH_START && ch <= UNI_SUR_LOW_END) {
134
- if (flags == strictConversion) {
135
- source -= (extraBytesToRead+1); /* return to the illegal value itself */
136
- rb_raise(rb_path2class("JSON::GeneratorError"),
137
- "source sequence is illegal/malformed");
138
- } else {
139
- unicode_escape(buffer, UNI_REPLACEMENT_CHAR);
140
- }
141
- } else {
142
- /* normal case */
143
- if (ch == '"') {
144
- rb_str_buf_cat2(buffer, "\\\"");
145
- } else if (ch == '\\') {
146
- rb_str_buf_cat2(buffer, "\\\\");
147
- } else if (ch == '/') {
148
- rb_str_buf_cat2(buffer, "\\/");
149
- } else if (ch >= 0x20 && ch <= 0x7f) {
150
- rb_str_buf_cat(buffer, (char *) source - 1, 1);
151
- } else if (ch == '\n') {
152
- rb_str_buf_cat2(buffer, "\\n");
153
- } else if (ch == '\r') {
154
- rb_str_buf_cat2(buffer, "\\r");
155
- } else if (ch == '\t') {
156
- rb_str_buf_cat2(buffer, "\\t");
157
- } else if (ch == '\f') {
158
- rb_str_buf_cat2(buffer, "\\f");
159
- } else if (ch == '\b') {
160
- rb_str_buf_cat2(buffer, "\\b");
161
- } else if (ch < 0x20) {
162
- unicode_escape(buffer, (UTF16) ch);
163
- } else {
164
- unicode_escape(buffer, (UTF16) ch);
165
- }
166
- }
167
- } else if (ch > UNI_MAX_UTF16) {
168
- if (flags == strictConversion) {
169
- source -= (extraBytesToRead+1); /* return to the start */
170
- rb_raise(rb_path2class("JSON::GeneratorError"),
171
- "source sequence is illegal/malformed");
172
- } else {
173
- unicode_escape(buffer, UNI_REPLACEMENT_CHAR);
174
- }
175
- } else {
176
- /* target is a character in range 0xFFFF - 0x10FFFF. */
177
- ch -= halfBase;
178
- unicode_escape(buffer, (UTF16)((ch >> halfShift) + UNI_SUR_HIGH_START));
179
- unicode_escape(buffer, (UTF16)((ch & halfMask) + UNI_SUR_LOW_START));
180
- }
181
- }
182
- }
@@ -1,53 +0,0 @@
1
- #include "ruby.h"
2
-
3
- #ifndef _GENERATOR_UNICODE_H_
4
- #define _GENERATOR_UNICODE_H_
5
-
6
- typedef enum {
7
- conversionOK = 0, /* conversion successful */
8
- sourceExhausted, /* partial character in source, but hit end */
9
- targetExhausted, /* insuff. room in target for conversion */
10
- sourceIllegal /* source sequence is illegal/malformed */
11
- } ConversionResult;
12
-
13
- typedef enum {
14
- strictConversion = 0,
15
- lenientConversion
16
- } ConversionFlags;
17
-
18
- typedef unsigned long UTF32; /* at least 32 bits */
19
- typedef unsigned short UTF16; /* at least 16 bits */
20
- typedef unsigned char UTF8; /* typically 8 bits */
21
-
22
- #define UNI_REPLACEMENT_CHAR (UTF32)0x0000FFFD
23
- #define UNI_MAX_BMP (UTF32)0x0000FFFF
24
- #define UNI_MAX_UTF16 (UTF32)0x0010FFFF
25
- #define UNI_MAX_UTF32 (UTF32)0x7FFFFFFF
26
- #define UNI_MAX_LEGAL_UTF32 (UTF32)0x0010FFFF
27
-
28
- #define UNI_SUR_HIGH_START (UTF32)0xD800
29
- #define UNI_SUR_HIGH_END (UTF32)0xDBFF
30
- #define UNI_SUR_LOW_START (UTF32)0xDC00
31
- #define UNI_SUR_LOW_END (UTF32)0xDFFF
32
-
33
- static const int halfShift = 10; /* used for shifting by 10 bits */
34
-
35
- static const UTF32 halfBase = 0x0010000UL;
36
- static const UTF32 halfMask = 0x3FFUL;
37
-
38
- void JSON_convert_UTF8_to_JSON(VALUE buffer, VALUE string, ConversionFlags flags);
39
-
40
- #ifndef RARRAY_PTR
41
- #define RARRAY_PTR(ARRAY) RARRAY(ARRAY)->ptr
42
- #endif
43
- #ifndef RARRAY_LEN
44
- #define RARRAY_LEN(ARRAY) RARRAY(ARRAY)->len
45
- #endif
46
- #ifndef RSTRING_PTR
47
- #define RSTRING_PTR(string) RSTRING(string)->ptr
48
- #endif
49
- #ifndef RSTRING_LEN
50
- #define RSTRING_LEN(string) RSTRING(string)->len
51
- #endif
52
-
53
- #endif
@@ -1,149 +0,0 @@
1
-
2
- SHELL = /bin/sh
3
-
4
- #### Start of system configuration section. ####
5
-
6
- srcdir = .
7
- topdir = /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0
8
- hdrdir = $(topdir)
9
- VPATH = $(srcdir):$(topdir):$(hdrdir)
10
- prefix = $(DESTDIR)/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr
11
- exec_prefix = $(prefix)
12
- sitedir = $(DESTDIR)/Library/Ruby/Site
13
- rubylibdir = $(libdir)/ruby/$(ruby_version)
14
- docdir = $(datarootdir)/doc/$(PACKAGE)
15
- dvidir = $(docdir)
16
- datarootdir = $(prefix)/share
17
- archdir = $(rubylibdir)/$(arch)
18
- sbindir = $(exec_prefix)/sbin
19
- psdir = $(docdir)
20
- localedir = $(datarootdir)/locale
21
- htmldir = $(docdir)
22
- datadir = $(datarootdir)
23
- includedir = $(prefix)/include
24
- infodir = $(DESTDIR)/usr/share/info
25
- sysconfdir = $(prefix)/etc
26
- mandir = $(DESTDIR)/usr/share/man
27
- libdir = $(exec_prefix)/lib
28
- sharedstatedir = $(prefix)/com
29
- oldincludedir = $(DESTDIR)/usr/include
30
- pdfdir = $(docdir)
31
- sitearchdir = $(sitelibdir)/$(sitearch)
32
- bindir = $(exec_prefix)/bin
33
- localstatedir = $(prefix)/var
34
- sitelibdir = $(sitedir)/$(ruby_version)
35
- libexecdir = $(exec_prefix)/libexec
36
-
37
- CC = gcc
38
- LIBRUBY = $(LIBRUBY_SO)
39
- LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
40
- LIBRUBYARG_SHARED = -l$(RUBY_SO_NAME)
41
- LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)
42
-
43
- RUBY_EXTCONF_H =
44
- CFLAGS = -fno-common -arch ppc -arch i386 -Os -pipe -fno-common -Wall
45
- INCFLAGS = -I. -I$(topdir) -I$(hdrdir) -I$(srcdir)
46
- CPPFLAGS =
47
- CXXFLAGS = $(CFLAGS)
48
- DLDFLAGS = -L. -arch ppc -arch i386
49
- LDSHARED = cc -arch ppc -arch i386 -pipe -bundle -undefined dynamic_lookup
50
- AR = ar
51
- EXEEXT =
52
-
53
- RUBY_INSTALL_NAME = ruby
54
- RUBY_SO_NAME = ruby
55
- arch = universal-darwin9.0
56
- sitearch = universal-darwin9.0
57
- ruby_version = 1.8
58
- ruby = /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
59
- RUBY = $(ruby)
60
- RM = rm -f
61
- MAKEDIRS = mkdir -p
62
- INSTALL = /usr/bin/install -c
63
- INSTALL_PROG = $(INSTALL) -m 0755
64
- INSTALL_DATA = $(INSTALL) -m 644
65
- COPY = cp
66
-
67
- #### End of system configuration section. ####
68
-
69
- preload =
70
-
71
- libpath = . $(libdir)
72
- LIBPATH = -L"." -L"$(libdir)"
73
- DEFFILE =
74
-
75
- CLEANFILES = mkmf.log
76
- DISTCLEANFILES =
77
-
78
- extout =
79
- extout_prefix =
80
- target_prefix =
81
- LOCAL_LIBS =
82
- LIBS = $(LIBRUBYARG_SHARED) -lpthread -ldl -lm
83
- SRCS = parser.c unicode.c
84
- OBJS = parser.o unicode.o
85
- TARGET = parser
86
- DLLIB = $(TARGET).bundle
87
- EXTSTATIC =
88
- STATIC_LIB =
89
-
90
- RUBYCOMMONDIR = $(sitedir)$(target_prefix)
91
- RUBYLIBDIR = /Users/neuro/Documents/code/typo/master/vendor/gems/gems/json-1.1.3/ext/json/ext$(target_prefix)
92
- RUBYARCHDIR = /Users/neuro/Documents/code/typo/master/vendor/gems/gems/json-1.1.3/ext/json/ext$(target_prefix)
93
-
94
- TARGET_SO = $(DLLIB)
95
- CLEANLIBS = $(TARGET).bundle $(TARGET).il? $(TARGET).tds $(TARGET).map
96
- CLEANOBJS = *.o *.a *.s[ol] *.pdb *.exp *.bak
97
-
98
- all: $(DLLIB)
99
- static: $(STATIC_LIB)
100
-
101
- clean:
102
- @-$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
103
-
104
- distclean: clean
105
- @-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
106
- @-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
107
-
108
- realclean: distclean
109
- install: install-so install-rb
110
-
111
- install-so: $(RUBYARCHDIR)
112
- install-so: $(RUBYARCHDIR)/$(DLLIB)
113
- $(RUBYARCHDIR)/$(DLLIB): $(DLLIB)
114
- $(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
115
- install-rb: pre-install-rb install-rb-default
116
- install-rb-default: pre-install-rb-default
117
- pre-install-rb: Makefile
118
- pre-install-rb-default: Makefile
119
- $(RUBYARCHDIR):
120
- $(MAKEDIRS) $@
121
-
122
- site-install: site-install-so site-install-rb
123
- site-install-so: install-so
124
- site-install-rb: install-rb
125
-
126
- .SUFFIXES: .c .m .cc .cxx .cpp .C .o
127
-
128
- .cc.o:
129
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
130
-
131
- .cxx.o:
132
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
133
-
134
- .cpp.o:
135
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
136
-
137
- .C.o:
138
- $(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
139
-
140
- .c.o:
141
- $(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) -c $<
142
-
143
- $(DLLIB): $(OBJS)
144
- @-$(RM) $@
145
- $(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
146
-
147
-
148
-
149
- $(OBJS): ruby.h defines.h
@@ -1,9 +0,0 @@
1
- require 'mkmf'
2
- require 'rbconfig'
3
-
4
- if CONFIG['CC'] =~ /gcc/
5
- $CFLAGS += ' -Wall'
6
- #$CFLAGS += ' -O0 -ggdb'
7
- end
8
-
9
- create_makefile 'parser'
@@ -1,1758 +0,0 @@
1
- #line 1 "parser.rl"
2
- #include "ruby.h"
3
- #include "re.h"
4
- #include "st.h"
5
- #include "unicode.h"
6
-
7
- #define EVIL 0x666
8
-
9
- static VALUE mJSON, mExt, cParser, eParserError, eNestingError;
10
- static VALUE CNaN, CInfinity, CMinusInfinity;
11
-
12
- static ID i_json_creatable_p, i_json_create, i_create_id, i_create_additions,
13
- i_chr, i_max_nesting, i_allow_nan;
14
-
15
- #define MinusInfinity "-Infinity"
16
-
17
- typedef struct JSON_ParserStruct {
18
- VALUE Vsource;
19
- char *source;
20
- long len;
21
- char *memo;
22
- VALUE create_id;
23
- int max_nesting;
24
- int current_nesting;
25
- int allow_nan;
26
- } JSON_Parser;
27
-
28
- static char *JSON_parse_object(JSON_Parser *json, char *p, char *pe, VALUE *result);
29
- static char *JSON_parse_array(JSON_Parser *json, char *p, char *pe, VALUE *result);
30
- static char *JSON_parse_value(JSON_Parser *json, char *p, char *pe, VALUE *result);
31
- static char *JSON_parse_string(JSON_Parser *json, char *p, char *pe, VALUE *result);
32
- static char *JSON_parse_integer(JSON_Parser *json, char *p, char *pe, VALUE *result);
33
- static char *JSON_parse_float(JSON_Parser *json, char *p, char *pe, VALUE *result);
34
-
35
- #define GET_STRUCT \
36
- JSON_Parser *json; \
37
- Data_Get_Struct(self, JSON_Parser, json);
38
-
39
- #line 64 "parser.rl"
40
-
41
-
42
-
43
- #line 44 "parser.c"
44
- static const int JSON_object_start = 1;
45
- static const int JSON_object_first_final = 27;
46
- static const int JSON_object_error = 0;
47
-
48
- static const int JSON_object_en_main = 1;
49
-
50
- #line 97 "parser.rl"
51
-
52
-
53
- static char *JSON_parse_object(JSON_Parser *json, char *p, char *pe, VALUE *result)
54
- {
55
- int cs = EVIL;
56
- VALUE last_name = Qnil;
57
-
58
- if (json->max_nesting && json->current_nesting > json->max_nesting) {
59
- rb_raise(eNestingError, "nesting of %d is to deep", json->current_nesting);
60
- }
61
-
62
- *result = rb_hash_new();
63
-
64
-
65
- #line 66 "parser.c"
66
- {
67
- cs = JSON_object_start;
68
- }
69
- #line 111 "parser.rl"
70
-
71
- #line 72 "parser.c"
72
- {
73
- if ( p == pe )
74
- goto _test_eof;
75
- switch ( cs )
76
- {
77
- case 1:
78
- if ( (*p) == 123 )
79
- goto st2;
80
- goto st0;
81
- st0:
82
- cs = 0;
83
- goto _out;
84
- st2:
85
- if ( ++p == pe )
86
- goto _test_eof2;
87
- case 2:
88
- switch( (*p) ) {
89
- case 13: goto st2;
90
- case 32: goto st2;
91
- case 34: goto tr2;
92
- case 47: goto st23;
93
- case 125: goto tr4;
94
- }
95
- if ( 9 <= (*p) && (*p) <= 10 )
96
- goto st2;
97
- goto st0;
98
- tr2:
99
- #line 83 "parser.rl"
100
- {
101
- char *np = JSON_parse_string(json, p, pe, &last_name);
102
- if (np == NULL) { p--; {p++; cs = 3; goto _out;} } else {p = (( np))-1;}
103
- }
104
- goto st3;
105
- st3:
106
- if ( ++p == pe )
107
- goto _test_eof3;
108
- case 3:
109
- #line 110 "parser.c"
110
- switch( (*p) ) {
111
- case 13: goto st3;
112
- case 32: goto st3;
113
- case 47: goto st4;
114
- case 58: goto st8;
115
- }
116
- if ( 9 <= (*p) && (*p) <= 10 )
117
- goto st3;
118
- goto st0;
119
- st4:
120
- if ( ++p == pe )
121
- goto _test_eof4;
122
- case 4:
123
- switch( (*p) ) {
124
- case 42: goto st5;
125
- case 47: goto st7;
126
- }
127
- goto st0;
128
- st5:
129
- if ( ++p == pe )
130
- goto _test_eof5;
131
- case 5:
132
- if ( (*p) == 42 )
133
- goto st6;
134
- goto st5;
135
- st6:
136
- if ( ++p == pe )
137
- goto _test_eof6;
138
- case 6:
139
- switch( (*p) ) {
140
- case 42: goto st6;
141
- case 47: goto st3;
142
- }
143
- goto st5;
144
- st7:
145
- if ( ++p == pe )
146
- goto _test_eof7;
147
- case 7:
148
- if ( (*p) == 10 )
149
- goto st3;
150
- goto st7;
151
- st8:
152
- if ( ++p == pe )
153
- goto _test_eof8;
154
- case 8:
155
- switch( (*p) ) {
156
- case 13: goto st8;
157
- case 32: goto st8;
158
- case 34: goto tr11;
159
- case 45: goto tr11;
160
- case 47: goto st19;
161
- case 73: goto tr11;
162
- case 78: goto tr11;
163
- case 91: goto tr11;
164
- case 102: goto tr11;
165
- case 110: goto tr11;
166
- case 116: goto tr11;
167
- case 123: goto tr11;
168
- }
169
- if ( (*p) > 10 ) {
170
- if ( 48 <= (*p) && (*p) <= 57 )
171
- goto tr11;
172
- } else if ( (*p) >= 9 )
173
- goto st8;
174
- goto st0;
175
- tr11:
176
- #line 72 "parser.rl"
177
- {
178
- VALUE v = Qnil;
179
- char *np = JSON_parse_value(json, p, pe, &v);
180
- if (np == NULL) {
181
- p--; {p++; cs = 9; goto _out;}
182
- } else {
183
- rb_hash_aset(*result, last_name, v);
184
- {p = (( np))-1;}
185
- }
186
- }
187
- goto st9;
188
- st9:
189
- if ( ++p == pe )
190
- goto _test_eof9;
191
- case 9:
192
- #line 193 "parser.c"
193
- switch( (*p) ) {
194
- case 13: goto st9;
195
- case 32: goto st9;
196
- case 44: goto st10;
197
- case 47: goto st15;
198
- case 125: goto tr4;
199
- }
200
- if ( 9 <= (*p) && (*p) <= 10 )
201
- goto st9;
202
- goto st0;
203
- st10:
204
- if ( ++p == pe )
205
- goto _test_eof10;
206
- case 10:
207
- switch( (*p) ) {
208
- case 13: goto st10;
209
- case 32: goto st10;
210
- case 34: goto tr2;
211
- case 47: goto st11;
212
- }
213
- if ( 9 <= (*p) && (*p) <= 10 )
214
- goto st10;
215
- goto st0;
216
- st11:
217
- if ( ++p == pe )
218
- goto _test_eof11;
219
- case 11:
220
- switch( (*p) ) {
221
- case 42: goto st12;
222
- case 47: goto st14;
223
- }
224
- goto st0;
225
- st12:
226
- if ( ++p == pe )
227
- goto _test_eof12;
228
- case 12:
229
- if ( (*p) == 42 )
230
- goto st13;
231
- goto st12;
232
- st13:
233
- if ( ++p == pe )
234
- goto _test_eof13;
235
- case 13:
236
- switch( (*p) ) {
237
- case 42: goto st13;
238
- case 47: goto st10;
239
- }
240
- goto st12;
241
- st14:
242
- if ( ++p == pe )
243
- goto _test_eof14;
244
- case 14:
245
- if ( (*p) == 10 )
246
- goto st10;
247
- goto st14;
248
- st15:
249
- if ( ++p == pe )
250
- goto _test_eof15;
251
- case 15:
252
- switch( (*p) ) {
253
- case 42: goto st16;
254
- case 47: goto st18;
255
- }
256
- goto st0;
257
- st16:
258
- if ( ++p == pe )
259
- goto _test_eof16;
260
- case 16:
261
- if ( (*p) == 42 )
262
- goto st17;
263
- goto st16;
264
- st17:
265
- if ( ++p == pe )
266
- goto _test_eof17;
267
- case 17:
268
- switch( (*p) ) {
269
- case 42: goto st17;
270
- case 47: goto st9;
271
- }
272
- goto st16;
273
- st18:
274
- if ( ++p == pe )
275
- goto _test_eof18;
276
- case 18:
277
- if ( (*p) == 10 )
278
- goto st9;
279
- goto st18;
280
- tr4:
281
- #line 88 "parser.rl"
282
- { p--; {p++; cs = 27; goto _out;} }
283
- goto st27;
284
- st27:
285
- if ( ++p == pe )
286
- goto _test_eof27;
287
- case 27:
288
- #line 289 "parser.c"
289
- goto st0;
290
- st19:
291
- if ( ++p == pe )
292
- goto _test_eof19;
293
- case 19:
294
- switch( (*p) ) {
295
- case 42: goto st20;
296
- case 47: goto st22;
297
- }
298
- goto st0;
299
- st20:
300
- if ( ++p == pe )
301
- goto _test_eof20;
302
- case 20:
303
- if ( (*p) == 42 )
304
- goto st21;
305
- goto st20;
306
- st21:
307
- if ( ++p == pe )
308
- goto _test_eof21;
309
- case 21:
310
- switch( (*p) ) {
311
- case 42: goto st21;
312
- case 47: goto st8;
313
- }
314
- goto st20;
315
- st22:
316
- if ( ++p == pe )
317
- goto _test_eof22;
318
- case 22:
319
- if ( (*p) == 10 )
320
- goto st8;
321
- goto st22;
322
- st23:
323
- if ( ++p == pe )
324
- goto _test_eof23;
325
- case 23:
326
- switch( (*p) ) {
327
- case 42: goto st24;
328
- case 47: goto st26;
329
- }
330
- goto st0;
331
- st24:
332
- if ( ++p == pe )
333
- goto _test_eof24;
334
- case 24:
335
- if ( (*p) == 42 )
336
- goto st25;
337
- goto st24;
338
- st25:
339
- if ( ++p == pe )
340
- goto _test_eof25;
341
- case 25:
342
- switch( (*p) ) {
343
- case 42: goto st25;
344
- case 47: goto st2;
345
- }
346
- goto st24;
347
- st26:
348
- if ( ++p == pe )
349
- goto _test_eof26;
350
- case 26:
351
- if ( (*p) == 10 )
352
- goto st2;
353
- goto st26;
354
- }
355
- _test_eof2: cs = 2; goto _test_eof;
356
- _test_eof3: cs = 3; goto _test_eof;
357
- _test_eof4: cs = 4; goto _test_eof;
358
- _test_eof5: cs = 5; goto _test_eof;
359
- _test_eof6: cs = 6; goto _test_eof;
360
- _test_eof7: cs = 7; goto _test_eof;
361
- _test_eof8: cs = 8; goto _test_eof;
362
- _test_eof9: cs = 9; goto _test_eof;
363
- _test_eof10: cs = 10; goto _test_eof;
364
- _test_eof11: cs = 11; goto _test_eof;
365
- _test_eof12: cs = 12; goto _test_eof;
366
- _test_eof13: cs = 13; goto _test_eof;
367
- _test_eof14: cs = 14; goto _test_eof;
368
- _test_eof15: cs = 15; goto _test_eof;
369
- _test_eof16: cs = 16; goto _test_eof;
370
- _test_eof17: cs = 17; goto _test_eof;
371
- _test_eof18: cs = 18; goto _test_eof;
372
- _test_eof27: cs = 27; goto _test_eof;
373
- _test_eof19: cs = 19; goto _test_eof;
374
- _test_eof20: cs = 20; goto _test_eof;
375
- _test_eof21: cs = 21; goto _test_eof;
376
- _test_eof22: cs = 22; goto _test_eof;
377
- _test_eof23: cs = 23; goto _test_eof;
378
- _test_eof24: cs = 24; goto _test_eof;
379
- _test_eof25: cs = 25; goto _test_eof;
380
- _test_eof26: cs = 26; goto _test_eof;
381
-
382
- _test_eof: {}
383
- _out: {}
384
- }
385
- #line 112 "parser.rl"
386
-
387
- if (cs >= JSON_object_first_final) {
388
- if (RTEST(json->create_id)) {
389
- VALUE klassname = rb_hash_aref(*result, json->create_id);
390
- if (!NIL_P(klassname)) {
391
- VALUE klass = rb_path2class(StringValueCStr(klassname));
392
- if RTEST(rb_funcall(klass, i_json_creatable_p, 0)) {
393
- *result = rb_funcall(klass, i_json_create, 1, *result);
394
- }
395
- }
396
- }
397
- return p + 1;
398
- } else {
399
- return NULL;
400
- }
401
- }
402
-
403
-
404
- #line 405 "parser.c"
405
- static const int JSON_value_start = 1;
406
- static const int JSON_value_first_final = 21;
407
- static const int JSON_value_error = 0;
408
-
409
- static const int JSON_value_en_main = 1;
410
-
411
- #line 210 "parser.rl"
412
-
413
-
414
- static char *JSON_parse_value(JSON_Parser *json, char *p, char *pe, VALUE *result)
415
- {
416
- int cs = EVIL;
417
-
418
-
419
- #line 420 "parser.c"
420
- {
421
- cs = JSON_value_start;
422
- }
423
- #line 217 "parser.rl"
424
-
425
- #line 426 "parser.c"
426
- {
427
- if ( p == pe )
428
- goto _test_eof;
429
- switch ( cs )
430
- {
431
- case 1:
432
- switch( (*p) ) {
433
- case 34: goto tr0;
434
- case 45: goto tr2;
435
- case 73: goto st2;
436
- case 78: goto st9;
437
- case 91: goto tr5;
438
- case 102: goto st11;
439
- case 110: goto st15;
440
- case 116: goto st18;
441
- case 123: goto tr9;
442
- }
443
- if ( 48 <= (*p) && (*p) <= 57 )
444
- goto tr2;
445
- goto st0;
446
- st0:
447
- cs = 0;
448
- goto _out;
449
- tr0:
450
- #line 158 "parser.rl"
451
- {
452
- char *np = JSON_parse_string(json, p, pe, result);
453
- if (np == NULL) { p--; {p++; cs = 21; goto _out;} } else {p = (( np))-1;}
454
- }
455
- goto st21;
456
- tr2:
457
- #line 163 "parser.rl"
458
- {
459
- char *np;
460
- if(pe > p + 9 && !strncmp(MinusInfinity, p, 9)) {
461
- if (json->allow_nan) {
462
- *result = CMinusInfinity;
463
- {p = (( p + 10))-1;}
464
- p--; {p++; cs = 21; goto _out;}
465
- } else {
466
- rb_raise(eParserError, "%u: unexpected token at '%s'", __LINE__, p);
467
- }
468
- }
469
- np = JSON_parse_float(json, p, pe, result);
470
- if (np != NULL) {p = (( np))-1;}
471
- np = JSON_parse_integer(json, p, pe, result);
472
- if (np != NULL) {p = (( np))-1;}
473
- p--; {p++; cs = 21; goto _out;}
474
- }
475
- goto st21;
476
- tr5:
477
- #line 181 "parser.rl"
478
- {
479
- char *np;
480
- json->current_nesting++;
481
- np = JSON_parse_array(json, p, pe, result);
482
- json->current_nesting--;
483
- if (np == NULL) { p--; {p++; cs = 21; goto _out;} } else {p = (( np))-1;}
484
- }
485
- goto st21;
486
- tr9:
487
- #line 189 "parser.rl"
488
- {
489
- char *np;
490
- json->current_nesting++;
491
- np = JSON_parse_object(json, p, pe, result);
492
- json->current_nesting--;
493
- if (np == NULL) { p--; {p++; cs = 21; goto _out;} } else {p = (( np))-1;}
494
- }
495
- goto st21;
496
- tr16:
497
- #line 151 "parser.rl"
498
- {
499
- if (json->allow_nan) {
500
- *result = CInfinity;
501
- } else {
502
- rb_raise(eParserError, "%u: unexpected token at '%s'", __LINE__, p - 8);
503
- }
504
- }
505
- goto st21;
506
- tr18:
507
- #line 144 "parser.rl"
508
- {
509
- if (json->allow_nan) {
510
- *result = CNaN;
511
- } else {
512
- rb_raise(eParserError, "%u: unexpected token at '%s'", __LINE__, p - 2);
513
- }
514
- }
515
- goto st21;
516
- tr22:
517
- #line 138 "parser.rl"
518
- {
519
- *result = Qfalse;
520
- }
521
- goto st21;
522
- tr25:
523
- #line 135 "parser.rl"
524
- {
525
- *result = Qnil;
526
- }
527
- goto st21;
528
- tr28:
529
- #line 141 "parser.rl"
530
- {
531
- *result = Qtrue;
532
- }
533
- goto st21;
534
- st21:
535
- if ( ++p == pe )
536
- goto _test_eof21;
537
- case 21:
538
- #line 197 "parser.rl"
539
- { p--; {p++; cs = 21; goto _out;} }
540
- #line 541 "parser.c"
541
- goto st0;
542
- st2:
543
- if ( ++p == pe )
544
- goto _test_eof2;
545
- case 2:
546
- if ( (*p) == 110 )
547
- goto st3;
548
- goto st0;
549
- st3:
550
- if ( ++p == pe )
551
- goto _test_eof3;
552
- case 3:
553
- if ( (*p) == 102 )
554
- goto st4;
555
- goto st0;
556
- st4:
557
- if ( ++p == pe )
558
- goto _test_eof4;
559
- case 4:
560
- if ( (*p) == 105 )
561
- goto st5;
562
- goto st0;
563
- st5:
564
- if ( ++p == pe )
565
- goto _test_eof5;
566
- case 5:
567
- if ( (*p) == 110 )
568
- goto st6;
569
- goto st0;
570
- st6:
571
- if ( ++p == pe )
572
- goto _test_eof6;
573
- case 6:
574
- if ( (*p) == 105 )
575
- goto st7;
576
- goto st0;
577
- st7:
578
- if ( ++p == pe )
579
- goto _test_eof7;
580
- case 7:
581
- if ( (*p) == 116 )
582
- goto st8;
583
- goto st0;
584
- st8:
585
- if ( ++p == pe )
586
- goto _test_eof8;
587
- case 8:
588
- if ( (*p) == 121 )
589
- goto tr16;
590
- goto st0;
591
- st9:
592
- if ( ++p == pe )
593
- goto _test_eof9;
594
- case 9:
595
- if ( (*p) == 97 )
596
- goto st10;
597
- goto st0;
598
- st10:
599
- if ( ++p == pe )
600
- goto _test_eof10;
601
- case 10:
602
- if ( (*p) == 78 )
603
- goto tr18;
604
- goto st0;
605
- st11:
606
- if ( ++p == pe )
607
- goto _test_eof11;
608
- case 11:
609
- if ( (*p) == 97 )
610
- goto st12;
611
- goto st0;
612
- st12:
613
- if ( ++p == pe )
614
- goto _test_eof12;
615
- case 12:
616
- if ( (*p) == 108 )
617
- goto st13;
618
- goto st0;
619
- st13:
620
- if ( ++p == pe )
621
- goto _test_eof13;
622
- case 13:
623
- if ( (*p) == 115 )
624
- goto st14;
625
- goto st0;
626
- st14:
627
- if ( ++p == pe )
628
- goto _test_eof14;
629
- case 14:
630
- if ( (*p) == 101 )
631
- goto tr22;
632
- goto st0;
633
- st15:
634
- if ( ++p == pe )
635
- goto _test_eof15;
636
- case 15:
637
- if ( (*p) == 117 )
638
- goto st16;
639
- goto st0;
640
- st16:
641
- if ( ++p == pe )
642
- goto _test_eof16;
643
- case 16:
644
- if ( (*p) == 108 )
645
- goto st17;
646
- goto st0;
647
- st17:
648
- if ( ++p == pe )
649
- goto _test_eof17;
650
- case 17:
651
- if ( (*p) == 108 )
652
- goto tr25;
653
- goto st0;
654
- st18:
655
- if ( ++p == pe )
656
- goto _test_eof18;
657
- case 18:
658
- if ( (*p) == 114 )
659
- goto st19;
660
- goto st0;
661
- st19:
662
- if ( ++p == pe )
663
- goto _test_eof19;
664
- case 19:
665
- if ( (*p) == 117 )
666
- goto st20;
667
- goto st0;
668
- st20:
669
- if ( ++p == pe )
670
- goto _test_eof20;
671
- case 20:
672
- if ( (*p) == 101 )
673
- goto tr28;
674
- goto st0;
675
- }
676
- _test_eof21: cs = 21; goto _test_eof;
677
- _test_eof2: cs = 2; goto _test_eof;
678
- _test_eof3: cs = 3; goto _test_eof;
679
- _test_eof4: cs = 4; goto _test_eof;
680
- _test_eof5: cs = 5; goto _test_eof;
681
- _test_eof6: cs = 6; goto _test_eof;
682
- _test_eof7: cs = 7; goto _test_eof;
683
- _test_eof8: cs = 8; goto _test_eof;
684
- _test_eof9: cs = 9; goto _test_eof;
685
- _test_eof10: cs = 10; goto _test_eof;
686
- _test_eof11: cs = 11; goto _test_eof;
687
- _test_eof12: cs = 12; goto _test_eof;
688
- _test_eof13: cs = 13; goto _test_eof;
689
- _test_eof14: cs = 14; goto _test_eof;
690
- _test_eof15: cs = 15; goto _test_eof;
691
- _test_eof16: cs = 16; goto _test_eof;
692
- _test_eof17: cs = 17; goto _test_eof;
693
- _test_eof18: cs = 18; goto _test_eof;
694
- _test_eof19: cs = 19; goto _test_eof;
695
- _test_eof20: cs = 20; goto _test_eof;
696
-
697
- _test_eof: {}
698
- _out: {}
699
- }
700
- #line 218 "parser.rl"
701
-
702
- if (cs >= JSON_value_first_final) {
703
- return p;
704
- } else {
705
- return NULL;
706
- }
707
- }
708
-
709
-
710
- #line 711 "parser.c"
711
- static const int JSON_integer_start = 1;
712
- static const int JSON_integer_first_final = 5;
713
- static const int JSON_integer_error = 0;
714
-
715
- static const int JSON_integer_en_main = 1;
716
-
717
- #line 234 "parser.rl"
718
-
719
-
720
- static char *JSON_parse_integer(JSON_Parser *json, char *p, char *pe, VALUE *result)
721
- {
722
- int cs = EVIL;
723
-
724
-
725
- #line 726 "parser.c"
726
- {
727
- cs = JSON_integer_start;
728
- }
729
- #line 241 "parser.rl"
730
- json->memo = p;
731
-
732
- #line 733 "parser.c"
733
- {
734
- if ( p == pe )
735
- goto _test_eof;
736
- switch ( cs )
737
- {
738
- case 1:
739
- switch( (*p) ) {
740
- case 45: goto st2;
741
- case 48: goto st3;
742
- }
743
- if ( 49 <= (*p) && (*p) <= 57 )
744
- goto st4;
745
- goto st0;
746
- st0:
747
- cs = 0;
748
- goto _out;
749
- st2:
750
- if ( ++p == pe )
751
- goto _test_eof2;
752
- case 2:
753
- if ( (*p) == 48 )
754
- goto st3;
755
- if ( 49 <= (*p) && (*p) <= 57 )
756
- goto st4;
757
- goto st0;
758
- st3:
759
- if ( ++p == pe )
760
- goto _test_eof3;
761
- case 3:
762
- if ( 48 <= (*p) && (*p) <= 57 )
763
- goto st0;
764
- goto tr4;
765
- tr4:
766
- #line 231 "parser.rl"
767
- { p--; {p++; cs = 5; goto _out;} }
768
- goto st5;
769
- st5:
770
- if ( ++p == pe )
771
- goto _test_eof5;
772
- case 5:
773
- #line 774 "parser.c"
774
- goto st0;
775
- st4:
776
- if ( ++p == pe )
777
- goto _test_eof4;
778
- case 4:
779
- if ( 48 <= (*p) && (*p) <= 57 )
780
- goto st4;
781
- goto tr4;
782
- }
783
- _test_eof2: cs = 2; goto _test_eof;
784
- _test_eof3: cs = 3; goto _test_eof;
785
- _test_eof5: cs = 5; goto _test_eof;
786
- _test_eof4: cs = 4; goto _test_eof;
787
-
788
- _test_eof: {}
789
- _out: {}
790
- }
791
- #line 243 "parser.rl"
792
-
793
- if (cs >= JSON_integer_first_final) {
794
- long len = p - json->memo;
795
- *result = rb_Integer(rb_str_new(json->memo, len));
796
- return p + 1;
797
- } else {
798
- return NULL;
799
- }
800
- }
801
-
802
-
803
- #line 804 "parser.c"
804
- static const int JSON_float_start = 1;
805
- static const int JSON_float_first_final = 10;
806
- static const int JSON_float_error = 0;
807
-
808
- static const int JSON_float_en_main = 1;
809
-
810
- #line 265 "parser.rl"
811
-
812
-
813
- static char *JSON_parse_float(JSON_Parser *json, char *p, char *pe, VALUE *result)
814
- {
815
- int cs = EVIL;
816
-
817
-
818
- #line 819 "parser.c"
819
- {
820
- cs = JSON_float_start;
821
- }
822
- #line 272 "parser.rl"
823
- json->memo = p;
824
-
825
- #line 826 "parser.c"
826
- {
827
- if ( p == pe )
828
- goto _test_eof;
829
- switch ( cs )
830
- {
831
- case 1:
832
- switch( (*p) ) {
833
- case 45: goto st2;
834
- case 48: goto st3;
835
- }
836
- if ( 49 <= (*p) && (*p) <= 57 )
837
- goto st9;
838
- goto st0;
839
- st0:
840
- cs = 0;
841
- goto _out;
842
- st2:
843
- if ( ++p == pe )
844
- goto _test_eof2;
845
- case 2:
846
- if ( (*p) == 48 )
847
- goto st3;
848
- if ( 49 <= (*p) && (*p) <= 57 )
849
- goto st9;
850
- goto st0;
851
- st3:
852
- if ( ++p == pe )
853
- goto _test_eof3;
854
- case 3:
855
- switch( (*p) ) {
856
- case 46: goto st4;
857
- case 69: goto st6;
858
- case 101: goto st6;
859
- }
860
- goto st0;
861
- st4:
862
- if ( ++p == pe )
863
- goto _test_eof4;
864
- case 4:
865
- if ( 48 <= (*p) && (*p) <= 57 )
866
- goto st5;
867
- goto st0;
868
- st5:
869
- if ( ++p == pe )
870
- goto _test_eof5;
871
- case 5:
872
- switch( (*p) ) {
873
- case 69: goto st6;
874
- case 101: goto st6;
875
- }
876
- if ( (*p) > 46 ) {
877
- if ( 48 <= (*p) && (*p) <= 57 )
878
- goto st5;
879
- } else if ( (*p) >= 45 )
880
- goto st0;
881
- goto tr7;
882
- tr7:
883
- #line 259 "parser.rl"
884
- { p--; {p++; cs = 10; goto _out;} }
885
- goto st10;
886
- st10:
887
- if ( ++p == pe )
888
- goto _test_eof10;
889
- case 10:
890
- #line 891 "parser.c"
891
- goto st0;
892
- st6:
893
- if ( ++p == pe )
894
- goto _test_eof6;
895
- case 6:
896
- switch( (*p) ) {
897
- case 43: goto st7;
898
- case 45: goto st7;
899
- }
900
- if ( 48 <= (*p) && (*p) <= 57 )
901
- goto st8;
902
- goto st0;
903
- st7:
904
- if ( ++p == pe )
905
- goto _test_eof7;
906
- case 7:
907
- if ( 48 <= (*p) && (*p) <= 57 )
908
- goto st8;
909
- goto st0;
910
- st8:
911
- if ( ++p == pe )
912
- goto _test_eof8;
913
- case 8:
914
- switch( (*p) ) {
915
- case 69: goto st0;
916
- case 101: goto st0;
917
- }
918
- if ( (*p) > 46 ) {
919
- if ( 48 <= (*p) && (*p) <= 57 )
920
- goto st8;
921
- } else if ( (*p) >= 45 )
922
- goto st0;
923
- goto tr7;
924
- st9:
925
- if ( ++p == pe )
926
- goto _test_eof9;
927
- case 9:
928
- switch( (*p) ) {
929
- case 46: goto st4;
930
- case 69: goto st6;
931
- case 101: goto st6;
932
- }
933
- if ( 48 <= (*p) && (*p) <= 57 )
934
- goto st9;
935
- goto st0;
936
- }
937
- _test_eof2: cs = 2; goto _test_eof;
938
- _test_eof3: cs = 3; goto _test_eof;
939
- _test_eof4: cs = 4; goto _test_eof;
940
- _test_eof5: cs = 5; goto _test_eof;
941
- _test_eof10: cs = 10; goto _test_eof;
942
- _test_eof6: cs = 6; goto _test_eof;
943
- _test_eof7: cs = 7; goto _test_eof;
944
- _test_eof8: cs = 8; goto _test_eof;
945
- _test_eof9: cs = 9; goto _test_eof;
946
-
947
- _test_eof: {}
948
- _out: {}
949
- }
950
- #line 274 "parser.rl"
951
-
952
- if (cs >= JSON_float_first_final) {
953
- long len = p - json->memo;
954
- *result = rb_Float(rb_str_new(json->memo, len));
955
- return p + 1;
956
- } else {
957
- return NULL;
958
- }
959
- }
960
-
961
-
962
-
963
- #line 964 "parser.c"
964
- static const int JSON_array_start = 1;
965
- static const int JSON_array_first_final = 17;
966
- static const int JSON_array_error = 0;
967
-
968
- static const int JSON_array_en_main = 1;
969
-
970
- #line 310 "parser.rl"
971
-
972
-
973
- static char *JSON_parse_array(JSON_Parser *json, char *p, char *pe, VALUE *result)
974
- {
975
- int cs = EVIL;
976
-
977
- if (json->max_nesting && json->current_nesting > json->max_nesting) {
978
- rb_raise(eNestingError, "nesting of %d is to deep", json->current_nesting);
979
- }
980
- *result = rb_ary_new();
981
-
982
-
983
- #line 984 "parser.c"
984
- {
985
- cs = JSON_array_start;
986
- }
987
- #line 322 "parser.rl"
988
-
989
- #line 990 "parser.c"
990
- {
991
- if ( p == pe )
992
- goto _test_eof;
993
- switch ( cs )
994
- {
995
- case 1:
996
- if ( (*p) == 91 )
997
- goto st2;
998
- goto st0;
999
- st0:
1000
- cs = 0;
1001
- goto _out;
1002
- st2:
1003
- if ( ++p == pe )
1004
- goto _test_eof2;
1005
- case 2:
1006
- switch( (*p) ) {
1007
- case 13: goto st2;
1008
- case 32: goto st2;
1009
- case 34: goto tr2;
1010
- case 45: goto tr2;
1011
- case 47: goto st13;
1012
- case 73: goto tr2;
1013
- case 78: goto tr2;
1014
- case 91: goto tr2;
1015
- case 93: goto tr4;
1016
- case 102: goto tr2;
1017
- case 110: goto tr2;
1018
- case 116: goto tr2;
1019
- case 123: goto tr2;
1020
- }
1021
- if ( (*p) > 10 ) {
1022
- if ( 48 <= (*p) && (*p) <= 57 )
1023
- goto tr2;
1024
- } else if ( (*p) >= 9 )
1025
- goto st2;
1026
- goto st0;
1027
- tr2:
1028
- #line 291 "parser.rl"
1029
- {
1030
- VALUE v = Qnil;
1031
- char *np = JSON_parse_value(json, p, pe, &v);
1032
- if (np == NULL) {
1033
- p--; {p++; cs = 3; goto _out;}
1034
- } else {
1035
- rb_ary_push(*result, v);
1036
- {p = (( np))-1;}
1037
- }
1038
- }
1039
- goto st3;
1040
- st3:
1041
- if ( ++p == pe )
1042
- goto _test_eof3;
1043
- case 3:
1044
- #line 1045 "parser.c"
1045
- switch( (*p) ) {
1046
- case 13: goto st3;
1047
- case 32: goto st3;
1048
- case 44: goto st4;
1049
- case 47: goto st9;
1050
- case 93: goto tr4;
1051
- }
1052
- if ( 9 <= (*p) && (*p) <= 10 )
1053
- goto st3;
1054
- goto st0;
1055
- st4:
1056
- if ( ++p == pe )
1057
- goto _test_eof4;
1058
- case 4:
1059
- switch( (*p) ) {
1060
- case 13: goto st4;
1061
- case 32: goto st4;
1062
- case 34: goto tr2;
1063
- case 45: goto tr2;
1064
- case 47: goto st5;
1065
- case 73: goto tr2;
1066
- case 78: goto tr2;
1067
- case 91: goto tr2;
1068
- case 102: goto tr2;
1069
- case 110: goto tr2;
1070
- case 116: goto tr2;
1071
- case 123: goto tr2;
1072
- }
1073
- if ( (*p) > 10 ) {
1074
- if ( 48 <= (*p) && (*p) <= 57 )
1075
- goto tr2;
1076
- } else if ( (*p) >= 9 )
1077
- goto st4;
1078
- goto st0;
1079
- st5:
1080
- if ( ++p == pe )
1081
- goto _test_eof5;
1082
- case 5:
1083
- switch( (*p) ) {
1084
- case 42: goto st6;
1085
- case 47: goto st8;
1086
- }
1087
- goto st0;
1088
- st6:
1089
- if ( ++p == pe )
1090
- goto _test_eof6;
1091
- case 6:
1092
- if ( (*p) == 42 )
1093
- goto st7;
1094
- goto st6;
1095
- st7:
1096
- if ( ++p == pe )
1097
- goto _test_eof7;
1098
- case 7:
1099
- switch( (*p) ) {
1100
- case 42: goto st7;
1101
- case 47: goto st4;
1102
- }
1103
- goto st6;
1104
- st8:
1105
- if ( ++p == pe )
1106
- goto _test_eof8;
1107
- case 8:
1108
- if ( (*p) == 10 )
1109
- goto st4;
1110
- goto st8;
1111
- st9:
1112
- if ( ++p == pe )
1113
- goto _test_eof9;
1114
- case 9:
1115
- switch( (*p) ) {
1116
- case 42: goto st10;
1117
- case 47: goto st12;
1118
- }
1119
- goto st0;
1120
- st10:
1121
- if ( ++p == pe )
1122
- goto _test_eof10;
1123
- case 10:
1124
- if ( (*p) == 42 )
1125
- goto st11;
1126
- goto st10;
1127
- st11:
1128
- if ( ++p == pe )
1129
- goto _test_eof11;
1130
- case 11:
1131
- switch( (*p) ) {
1132
- case 42: goto st11;
1133
- case 47: goto st3;
1134
- }
1135
- goto st10;
1136
- st12:
1137
- if ( ++p == pe )
1138
- goto _test_eof12;
1139
- case 12:
1140
- if ( (*p) == 10 )
1141
- goto st3;
1142
- goto st12;
1143
- tr4:
1144
- #line 302 "parser.rl"
1145
- { p--; {p++; cs = 17; goto _out;} }
1146
- goto st17;
1147
- st17:
1148
- if ( ++p == pe )
1149
- goto _test_eof17;
1150
- case 17:
1151
- #line 1152 "parser.c"
1152
- goto st0;
1153
- st13:
1154
- if ( ++p == pe )
1155
- goto _test_eof13;
1156
- case 13:
1157
- switch( (*p) ) {
1158
- case 42: goto st14;
1159
- case 47: goto st16;
1160
- }
1161
- goto st0;
1162
- st14:
1163
- if ( ++p == pe )
1164
- goto _test_eof14;
1165
- case 14:
1166
- if ( (*p) == 42 )
1167
- goto st15;
1168
- goto st14;
1169
- st15:
1170
- if ( ++p == pe )
1171
- goto _test_eof15;
1172
- case 15:
1173
- switch( (*p) ) {
1174
- case 42: goto st15;
1175
- case 47: goto st2;
1176
- }
1177
- goto st14;
1178
- st16:
1179
- if ( ++p == pe )
1180
- goto _test_eof16;
1181
- case 16:
1182
- if ( (*p) == 10 )
1183
- goto st2;
1184
- goto st16;
1185
- }
1186
- _test_eof2: cs = 2; goto _test_eof;
1187
- _test_eof3: cs = 3; goto _test_eof;
1188
- _test_eof4: cs = 4; goto _test_eof;
1189
- _test_eof5: cs = 5; goto _test_eof;
1190
- _test_eof6: cs = 6; goto _test_eof;
1191
- _test_eof7: cs = 7; goto _test_eof;
1192
- _test_eof8: cs = 8; goto _test_eof;
1193
- _test_eof9: cs = 9; goto _test_eof;
1194
- _test_eof10: cs = 10; goto _test_eof;
1195
- _test_eof11: cs = 11; goto _test_eof;
1196
- _test_eof12: cs = 12; goto _test_eof;
1197
- _test_eof17: cs = 17; goto _test_eof;
1198
- _test_eof13: cs = 13; goto _test_eof;
1199
- _test_eof14: cs = 14; goto _test_eof;
1200
- _test_eof15: cs = 15; goto _test_eof;
1201
- _test_eof16: cs = 16; goto _test_eof;
1202
-
1203
- _test_eof: {}
1204
- _out: {}
1205
- }
1206
- #line 323 "parser.rl"
1207
-
1208
- if(cs >= JSON_array_first_final) {
1209
- return p + 1;
1210
- } else {
1211
- rb_raise(eParserError, "%u: unexpected token at '%s'", __LINE__, p);
1212
- }
1213
- }
1214
-
1215
- static VALUE json_string_unescape(char *p, char *pe)
1216
- {
1217
- VALUE result = rb_str_buf_new(pe - p + 1);
1218
-
1219
- while (p < pe) {
1220
- if (*p == '\\') {
1221
- p++;
1222
- if (p >= pe) return Qnil; /* raise an exception later, \ at end */
1223
- switch (*p) {
1224
- case '"':
1225
- case '\\':
1226
- rb_str_buf_cat(result, p, 1);
1227
- p++;
1228
- break;
1229
- case 'b':
1230
- rb_str_buf_cat2(result, "\b");
1231
- p++;
1232
- break;
1233
- case 'f':
1234
- rb_str_buf_cat2(result, "\f");
1235
- p++;
1236
- break;
1237
- case 'n':
1238
- rb_str_buf_cat2(result, "\n");
1239
- p++;
1240
- break;
1241
- case 'r':
1242
- rb_str_buf_cat2(result, "\r");
1243
- p++;
1244
- break;
1245
- case 't':
1246
- rb_str_buf_cat2(result, "\t");
1247
- p++;
1248
- break;
1249
- case 'u':
1250
- if (p > pe - 4) {
1251
- return Qnil;
1252
- } else {
1253
- p = JSON_convert_UTF16_to_UTF8(result, p, pe, strictConversion);
1254
- }
1255
- break;
1256
- default:
1257
- rb_str_buf_cat(result, p, 1);
1258
- p++;
1259
- break;
1260
- }
1261
- } else {
1262
- char *q = p;
1263
- while (*q != '\\' && q < pe) q++;
1264
- rb_str_buf_cat(result, p, q - p);
1265
- p = q;
1266
- }
1267
- }
1268
- return result;
1269
- }
1270
-
1271
-
1272
- #line 1273 "parser.c"
1273
- static const int JSON_string_start = 1;
1274
- static const int JSON_string_first_final = 8;
1275
- static const int JSON_string_error = 0;
1276
-
1277
- static const int JSON_string_en_main = 1;
1278
-
1279
- #line 401 "parser.rl"
1280
-
1281
-
1282
- static char *JSON_parse_string(JSON_Parser *json, char *p, char *pe, VALUE *result)
1283
- {
1284
- int cs = EVIL;
1285
-
1286
- *result = rb_str_new("", 0);
1287
-
1288
- #line 1289 "parser.c"
1289
- {
1290
- cs = JSON_string_start;
1291
- }
1292
- #line 409 "parser.rl"
1293
- json->memo = p;
1294
-
1295
- #line 1296 "parser.c"
1296
- {
1297
- if ( p == pe )
1298
- goto _test_eof;
1299
- switch ( cs )
1300
- {
1301
- case 1:
1302
- if ( (*p) == 34 )
1303
- goto st2;
1304
- goto st0;
1305
- st0:
1306
- cs = 0;
1307
- goto _out;
1308
- st2:
1309
- if ( ++p == pe )
1310
- goto _test_eof2;
1311
- case 2:
1312
- switch( (*p) ) {
1313
- case 34: goto tr2;
1314
- case 92: goto st3;
1315
- }
1316
- if ( 0 <= (*p) && (*p) <= 31 )
1317
- goto st0;
1318
- goto st2;
1319
- tr2:
1320
- #line 393 "parser.rl"
1321
- {
1322
- *result = json_string_unescape(json->memo + 1, p);
1323
- if (NIL_P(*result)) { p--; {p++; cs = 8; goto _out;} } else {p = (( p + 1))-1;}
1324
- }
1325
- #line 398 "parser.rl"
1326
- { p--; {p++; cs = 8; goto _out;} }
1327
- goto st8;
1328
- st8:
1329
- if ( ++p == pe )
1330
- goto _test_eof8;
1331
- case 8:
1332
- #line 1333 "parser.c"
1333
- goto st0;
1334
- st3:
1335
- if ( ++p == pe )
1336
- goto _test_eof3;
1337
- case 3:
1338
- if ( (*p) == 117 )
1339
- goto st4;
1340
- if ( 0 <= (*p) && (*p) <= 31 )
1341
- goto st0;
1342
- goto st2;
1343
- st4:
1344
- if ( ++p == pe )
1345
- goto _test_eof4;
1346
- case 4:
1347
- if ( (*p) < 65 ) {
1348
- if ( 48 <= (*p) && (*p) <= 57 )
1349
- goto st5;
1350
- } else if ( (*p) > 70 ) {
1351
- if ( 97 <= (*p) && (*p) <= 102 )
1352
- goto st5;
1353
- } else
1354
- goto st5;
1355
- goto st0;
1356
- st5:
1357
- if ( ++p == pe )
1358
- goto _test_eof5;
1359
- case 5:
1360
- if ( (*p) < 65 ) {
1361
- if ( 48 <= (*p) && (*p) <= 57 )
1362
- goto st6;
1363
- } else if ( (*p) > 70 ) {
1364
- if ( 97 <= (*p) && (*p) <= 102 )
1365
- goto st6;
1366
- } else
1367
- goto st6;
1368
- goto st0;
1369
- st6:
1370
- if ( ++p == pe )
1371
- goto _test_eof6;
1372
- case 6:
1373
- if ( (*p) < 65 ) {
1374
- if ( 48 <= (*p) && (*p) <= 57 )
1375
- goto st7;
1376
- } else if ( (*p) > 70 ) {
1377
- if ( 97 <= (*p) && (*p) <= 102 )
1378
- goto st7;
1379
- } else
1380
- goto st7;
1381
- goto st0;
1382
- st7:
1383
- if ( ++p == pe )
1384
- goto _test_eof7;
1385
- case 7:
1386
- if ( (*p) < 65 ) {
1387
- if ( 48 <= (*p) && (*p) <= 57 )
1388
- goto st2;
1389
- } else if ( (*p) > 70 ) {
1390
- if ( 97 <= (*p) && (*p) <= 102 )
1391
- goto st2;
1392
- } else
1393
- goto st2;
1394
- goto st0;
1395
- }
1396
- _test_eof2: cs = 2; goto _test_eof;
1397
- _test_eof8: cs = 8; goto _test_eof;
1398
- _test_eof3: cs = 3; goto _test_eof;
1399
- _test_eof4: cs = 4; goto _test_eof;
1400
- _test_eof5: cs = 5; goto _test_eof;
1401
- _test_eof6: cs = 6; goto _test_eof;
1402
- _test_eof7: cs = 7; goto _test_eof;
1403
-
1404
- _test_eof: {}
1405
- _out: {}
1406
- }
1407
- #line 411 "parser.rl"
1408
-
1409
- if (cs >= JSON_string_first_final) {
1410
- return p + 1;
1411
- } else {
1412
- return NULL;
1413
- }
1414
- }
1415
-
1416
-
1417
-
1418
- #line 1419 "parser.c"
1419
- static const int JSON_start = 1;
1420
- static const int JSON_first_final = 10;
1421
- static const int JSON_error = 0;
1422
-
1423
- static const int JSON_en_main = 1;
1424
-
1425
- #line 445 "parser.rl"
1426
-
1427
-
1428
- /*
1429
- * Document-class: JSON::Ext::Parser
1430
- *
1431
- * This is the JSON parser implemented as a C extension. It can be configured
1432
- * to be used by setting
1433
- *
1434
- * JSON.parser = JSON::Ext::Parser
1435
- *
1436
- * with the method parser= in JSON.
1437
- *
1438
- */
1439
-
1440
- /*
1441
- * call-seq: new(source, opts => {})
1442
- *
1443
- * Creates a new JSON::Ext::Parser instance for the string _source_.
1444
- *
1445
- * Creates a new JSON::Ext::Parser instance for the string _source_.
1446
- *
1447
- * It will be configured by the _opts_ hash. _opts_ can have the following
1448
- * keys:
1449
- *
1450
- * _opts_ can have the following keys:
1451
- * * *max_nesting*: The maximum depth of nesting allowed in the parsed data
1452
- * structures. Disable depth checking with :max_nesting => false|nil|0, it
1453
- * defaults to 19.
1454
- * * *allow_nan*: If set to true, allow NaN, Infinity and -Infinity in
1455
- * defiance of RFC 4627 to be parsed by the Parser. This option defaults to
1456
- * false.
1457
- * * *create_additions*: If set to false, the Parser doesn't create
1458
- * additions even if a matchin class and create_id was found. This option
1459
- * defaults to true.
1460
- */
1461
- static VALUE cParser_initialize(int argc, VALUE *argv, VALUE self)
1462
- {
1463
- char *ptr;
1464
- long len;
1465
- VALUE source, opts;
1466
- GET_STRUCT;
1467
- rb_scan_args(argc, argv, "11", &source, &opts);
1468
- source = StringValue(source);
1469
- ptr = RSTRING_PTR(source);
1470
- len = RSTRING_LEN(source);
1471
- if (len < 2) {
1472
- rb_raise(eParserError, "A JSON text must at least contain two octets!");
1473
- }
1474
- if (!NIL_P(opts)) {
1475
- opts = rb_convert_type(opts, T_HASH, "Hash", "to_hash");
1476
- if (NIL_P(opts)) {
1477
- rb_raise(rb_eArgError, "opts needs to be like a hash");
1478
- } else {
1479
- VALUE tmp = ID2SYM(i_max_nesting);
1480
- if (st_lookup(RHASH(opts)->tbl, tmp, 0)) {
1481
- VALUE max_nesting = rb_hash_aref(opts, tmp);
1482
- if (RTEST(max_nesting)) {
1483
- Check_Type(max_nesting, T_FIXNUM);
1484
- json->max_nesting = FIX2INT(max_nesting);
1485
- } else {
1486
- json->max_nesting = 0;
1487
- }
1488
- } else {
1489
- json->max_nesting = 19;
1490
- }
1491
- tmp = ID2SYM(i_allow_nan);
1492
- if (st_lookup(RHASH(opts)->tbl, tmp, 0)) {
1493
- VALUE allow_nan = rb_hash_aref(opts, tmp);
1494
- json->allow_nan = RTEST(allow_nan) ? 1 : 0;
1495
- } else {
1496
- json->allow_nan = 0;
1497
- }
1498
- tmp = ID2SYM(i_create_additions);
1499
- if (st_lookup(RHASH(opts)->tbl, tmp, 0)) {
1500
- VALUE create_additions = rb_hash_aref(opts, tmp);
1501
- if (RTEST(create_additions)) {
1502
- json->create_id = rb_funcall(mJSON, i_create_id, 0);
1503
- } else {
1504
- json->create_id = Qnil;
1505
- }
1506
- } else {
1507
- json->create_id = rb_funcall(mJSON, i_create_id, 0);
1508
- }
1509
- }
1510
- } else {
1511
- json->max_nesting = 19;
1512
- json->allow_nan = 0;
1513
- json->create_id = rb_funcall(mJSON, i_create_id, 0);
1514
- }
1515
- json->current_nesting = 0;
1516
- /*
1517
- Convert these?
1518
- if (len >= 4 && ptr[0] == 0 && ptr[1] == 0 && ptr[2] == 0) {
1519
- rb_raise(eParserError, "Only UTF8 octet streams are supported atm!");
1520
- } else if (len >= 4 && ptr[0] == 0 && ptr[2] == 0) {
1521
- rb_raise(eParserError, "Only UTF8 octet streams are supported atm!");
1522
- } else if (len >= 4 && ptr[1] == 0 && ptr[2] == 0 && ptr[3] == 0) {
1523
- rb_raise(eParserError, "Only UTF8 octet streams are supported atm!");
1524
- } else if (len >= 4 && ptr[1] == 0 && ptr[3] == 0) {
1525
- rb_raise(eParserError, "Only UTF8 octet streams are supported atm!");
1526
- }
1527
- */
1528
- json->len = len;
1529
- json->source = ptr;
1530
- json->Vsource = source;
1531
- return self;
1532
- }
1533
-
1534
- /*
1535
- * call-seq: parse()
1536
- *
1537
- * Parses the current JSON text _source_ and returns the complete data
1538
- * structure as a result.
1539
- */
1540
- static VALUE cParser_parse(VALUE self)
1541
- {
1542
- char *p, *pe;
1543
- int cs = EVIL;
1544
- VALUE result = Qnil;
1545
- GET_STRUCT;
1546
-
1547
-
1548
- #line 1549 "parser.c"
1549
- {
1550
- cs = JSON_start;
1551
- }
1552
- #line 567 "parser.rl"
1553
- p = json->source;
1554
- pe = p + json->len;
1555
-
1556
- #line 1557 "parser.c"
1557
- {
1558
- if ( p == pe )
1559
- goto _test_eof;
1560
- switch ( cs )
1561
- {
1562
- st1:
1563
- if ( ++p == pe )
1564
- goto _test_eof1;
1565
- case 1:
1566
- switch( (*p) ) {
1567
- case 13: goto st1;
1568
- case 32: goto st1;
1569
- case 47: goto st2;
1570
- case 91: goto tr3;
1571
- case 123: goto tr4;
1572
- }
1573
- if ( 9 <= (*p) && (*p) <= 10 )
1574
- goto st1;
1575
- goto st0;
1576
- st0:
1577
- cs = 0;
1578
- goto _out;
1579
- st2:
1580
- if ( ++p == pe )
1581
- goto _test_eof2;
1582
- case 2:
1583
- switch( (*p) ) {
1584
- case 42: goto st3;
1585
- case 47: goto st5;
1586
- }
1587
- goto st0;
1588
- st3:
1589
- if ( ++p == pe )
1590
- goto _test_eof3;
1591
- case 3:
1592
- if ( (*p) == 42 )
1593
- goto st4;
1594
- goto st3;
1595
- st4:
1596
- if ( ++p == pe )
1597
- goto _test_eof4;
1598
- case 4:
1599
- switch( (*p) ) {
1600
- case 42: goto st4;
1601
- case 47: goto st1;
1602
- }
1603
- goto st3;
1604
- st5:
1605
- if ( ++p == pe )
1606
- goto _test_eof5;
1607
- case 5:
1608
- if ( (*p) == 10 )
1609
- goto st1;
1610
- goto st5;
1611
- tr3:
1612
- #line 434 "parser.rl"
1613
- {
1614
- char *np;
1615
- json->current_nesting = 1;
1616
- np = JSON_parse_array(json, p, pe, &result);
1617
- if (np == NULL) { p--; {p++; cs = 10; goto _out;} } else {p = (( np))-1;}
1618
- }
1619
- goto st10;
1620
- tr4:
1621
- #line 427 "parser.rl"
1622
- {
1623
- char *np;
1624
- json->current_nesting = 1;
1625
- np = JSON_parse_object(json, p, pe, &result);
1626
- if (np == NULL) { p--; {p++; cs = 10; goto _out;} } else {p = (( np))-1;}
1627
- }
1628
- goto st10;
1629
- st10:
1630
- if ( ++p == pe )
1631
- goto _test_eof10;
1632
- case 10:
1633
- #line 1634 "parser.c"
1634
- switch( (*p) ) {
1635
- case 13: goto st10;
1636
- case 32: goto st10;
1637
- case 47: goto st6;
1638
- }
1639
- if ( 9 <= (*p) && (*p) <= 10 )
1640
- goto st10;
1641
- goto st0;
1642
- st6:
1643
- if ( ++p == pe )
1644
- goto _test_eof6;
1645
- case 6:
1646
- switch( (*p) ) {
1647
- case 42: goto st7;
1648
- case 47: goto st9;
1649
- }
1650
- goto st0;
1651
- st7:
1652
- if ( ++p == pe )
1653
- goto _test_eof7;
1654
- case 7:
1655
- if ( (*p) == 42 )
1656
- goto st8;
1657
- goto st7;
1658
- st8:
1659
- if ( ++p == pe )
1660
- goto _test_eof8;
1661
- case 8:
1662
- switch( (*p) ) {
1663
- case 42: goto st8;
1664
- case 47: goto st10;
1665
- }
1666
- goto st7;
1667
- st9:
1668
- if ( ++p == pe )
1669
- goto _test_eof9;
1670
- case 9:
1671
- if ( (*p) == 10 )
1672
- goto st10;
1673
- goto st9;
1674
- }
1675
- _test_eof1: cs = 1; goto _test_eof;
1676
- _test_eof2: cs = 2; goto _test_eof;
1677
- _test_eof3: cs = 3; goto _test_eof;
1678
- _test_eof4: cs = 4; goto _test_eof;
1679
- _test_eof5: cs = 5; goto _test_eof;
1680
- _test_eof10: cs = 10; goto _test_eof;
1681
- _test_eof6: cs = 6; goto _test_eof;
1682
- _test_eof7: cs = 7; goto _test_eof;
1683
- _test_eof8: cs = 8; goto _test_eof;
1684
- _test_eof9: cs = 9; goto _test_eof;
1685
-
1686
- _test_eof: {}
1687
- _out: {}
1688
- }
1689
- #line 570 "parser.rl"
1690
-
1691
- if (cs >= JSON_first_final && p == pe) {
1692
- return result;
1693
- } else {
1694
- rb_raise(eParserError, "%u: unexpected token at '%s'", __LINE__, p);
1695
- }
1696
- }
1697
-
1698
- inline static JSON_Parser *JSON_allocate()
1699
- {
1700
- JSON_Parser *json = ALLOC(JSON_Parser);
1701
- MEMZERO(json, JSON_Parser, 1);
1702
- return json;
1703
- }
1704
-
1705
- static void JSON_mark(JSON_Parser *json)
1706
- {
1707
- rb_gc_mark_maybe(json->Vsource);
1708
- rb_gc_mark_maybe(json->create_id);
1709
- }
1710
-
1711
- static void JSON_free(JSON_Parser *json)
1712
- {
1713
- free(json);
1714
- }
1715
-
1716
- static VALUE cJSON_parser_s_allocate(VALUE klass)
1717
- {
1718
- JSON_Parser *json = JSON_allocate();
1719
- return Data_Wrap_Struct(klass, JSON_mark, JSON_free, json);
1720
- }
1721
-
1722
- /*
1723
- * call-seq: source()
1724
- *
1725
- * Returns a copy of the current _source_ string, that was used to construct
1726
- * this Parser.
1727
- */
1728
- static VALUE cParser_source(VALUE self)
1729
- {
1730
- GET_STRUCT;
1731
- return rb_str_dup(json->Vsource);
1732
- }
1733
-
1734
- void Init_parser()
1735
- {
1736
- rb_require("json/common");
1737
- mJSON = rb_define_module("JSON");
1738
- mExt = rb_define_module_under(mJSON, "Ext");
1739
- cParser = rb_define_class_under(mExt, "Parser", rb_cObject);
1740
- eParserError = rb_path2class("JSON::ParserError");
1741
- eNestingError = rb_path2class("JSON::NestingError");
1742
- rb_define_alloc_func(cParser, cJSON_parser_s_allocate);
1743
- rb_define_method(cParser, "initialize", cParser_initialize, -1);
1744
- rb_define_method(cParser, "parse", cParser_parse, 0);
1745
- rb_define_method(cParser, "source", cParser_source, 0);
1746
-
1747
- CNaN = rb_const_get(mJSON, rb_intern("NaN"));
1748
- CInfinity = rb_const_get(mJSON, rb_intern("Infinity"));
1749
- CMinusInfinity = rb_const_get(mJSON, rb_intern("MinusInfinity"));
1750
-
1751
- i_json_creatable_p = rb_intern("json_creatable?");
1752
- i_json_create = rb_intern("json_create");
1753
- i_create_id = rb_intern("create_id");
1754
- i_create_additions = rb_intern("create_additions");
1755
- i_chr = rb_intern("chr");
1756
- i_max_nesting = rb_intern("max_nesting");
1757
- i_allow_nan = rb_intern("allow_nan");
1758
- }