refinerycms 0.9.6.34 → 0.9.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1069) hide show
  1. data/.gitignore +9 -8
  2. data/Gemfile +50 -0
  3. data/Rakefile +1 -1
  4. data/bin/refinery +22 -11
  5. data/bin/refinery-update-core +45 -27
  6. data/changelog.md +313 -0
  7. data/config.ru +5 -0
  8. data/config/acts_as_indexed_config.rb +7 -0
  9. data/config/amazon_s3.yml.example +3 -3
  10. data/config/application.rb +7 -11
  11. data/config/boot.rb +15 -1
  12. data/config/cucumber.yml +8 -0
  13. data/config/database.yml.example +24 -0
  14. data/config/environments/cucumber.rb +27 -0
  15. data/config/environments/development.rb +0 -1
  16. data/config/environments/production.rb +2 -1
  17. data/config/i18n-js.yml +6 -0
  18. data/config/initializers/field_with_error_fix.rb +3 -0
  19. data/config/preinitializer.rb +20 -18
  20. data/config/routes.rb +8 -3
  21. data/db/migrate/20100125003944_rename_title_to_name_on_user_plugins.rb +9 -0
  22. data/db/migrate/20100125033146_migrate_old_plugin_titles_to_plugin_names_for_users.rb +61 -0
  23. data/db/migrate/20100419001048_change_image_grid_thumbnail_size_and_regenerate.rb +13 -0
  24. data/db/migrate/20100522020225_rename_permissions_for_resources_plugin_to_files.rb +15 -0
  25. data/db/migrate/20100525084518_remove_take_down_for_maintenance_page.rb +19 -0
  26. data/db/migrate/20100525110237_add_small_and_large_thumbnail_sizes.rb +14 -0
  27. data/db/migrate/20100530205942_update_link_url_on_pages_from_inquiries_new_to_contact.rb +31 -0
  28. data/db/migrate/20100606173919_create_page_translations.rb +12 -0
  29. data/db/migrate/20100608062447_add_scoping_to_refinery_settings.rb +9 -0
  30. data/db/migrate/20100623220402_add_restricted_to_refinery_settings.rb +9 -0
  31. data/db/migrate/20100624024501_add_roles.rb +24 -0
  32. data/db/migrate/20100629081543_add_callback_proc_as_string_to_refinery_settings.rb +9 -0
  33. data/db/migrate/20100701053151_remove_superuser_from_users.rb +20 -0
  34. data/db/migrate/20100702022630_add_spam_to_inquiries.rb +11 -0
  35. data/db/schema.rb +28 -10
  36. data/db/seeds.rb +6 -119
  37. data/db/seeds/inquiry_settings.rb +2 -0
  38. data/db/seeds/pages.rb +81 -0
  39. data/db/seeds/refinery_settings.rb +19 -0
  40. data/features/refinery/dashboard.feature +4 -0
  41. data/features/refinery/manage_files.feature +4 -0
  42. data/features/refinery/manage_images.feature +4 -0
  43. data/features/refinery/manage_inquiries.feature +4 -0
  44. data/features/refinery/manage_pages.feature +39 -0
  45. data/features/refinery/manage_refinery_settings.feature +4 -0
  46. data/features/refinery/manage_users.feature +29 -0
  47. data/features/refinery/site_bar.feature +22 -0
  48. data/features/step_definitions/refinery/page_steps.rb +23 -0
  49. data/features/step_definitions/refinery/user_steps.rb +33 -0
  50. data/features/step_definitions/web_steps.rb +271 -0
  51. data/features/support/env.rb +63 -0
  52. data/features/support/factories.rb +19 -0
  53. data/features/support/negative_expectations_helper.rb +57 -0
  54. data/features/support/paths.rb +39 -0
  55. data/lib/gemspec.rb +35 -0
  56. data/lib/refinery/tasks/refinery.rake +0 -30
  57. data/lib/tasks/cucumber.rake +53 -0
  58. data/lib/tasks/rspec.rake +144 -0
  59. data/public/images/refinery/admin_bg.png +0 -0
  60. data/public/images/refinery/cross.png +0 -0
  61. data/public/images/refinery/icons/bin.png +0 -0
  62. data/public/images/refinery/icons/bin_closed.png +0 -0
  63. data/public/images/refinery/icons/doc.png +0 -0
  64. data/public/images/refinery/icons/email.png +0 -0
  65. data/public/images/refinery/icons/flags/ad.png +0 -0
  66. data/public/images/refinery/icons/flags/ae.png +0 -0
  67. data/public/images/refinery/icons/flags/af.png +0 -0
  68. data/public/images/refinery/icons/flags/ag.png +0 -0
  69. data/public/images/refinery/icons/flags/ai.png +0 -0
  70. data/public/images/refinery/icons/flags/al.png +0 -0
  71. data/public/images/refinery/icons/flags/am.png +0 -0
  72. data/public/images/refinery/icons/flags/an.png +0 -0
  73. data/public/images/refinery/icons/flags/ao.png +0 -0
  74. data/public/images/refinery/icons/flags/ar.png +0 -0
  75. data/public/images/refinery/icons/flags/as.png +0 -0
  76. data/public/images/refinery/icons/flags/at.png +0 -0
  77. data/public/images/refinery/icons/flags/au.png +0 -0
  78. data/public/images/refinery/icons/flags/aw.png +0 -0
  79. data/public/images/refinery/icons/flags/ax.png +0 -0
  80. data/public/images/refinery/icons/flags/az.png +0 -0
  81. data/public/images/refinery/icons/flags/ba.png +0 -0
  82. data/public/images/refinery/icons/flags/bb.png +0 -0
  83. data/public/images/refinery/icons/flags/bd.png +0 -0
  84. data/public/images/refinery/icons/flags/be.png +0 -0
  85. data/public/images/refinery/icons/flags/bf.png +0 -0
  86. data/public/images/refinery/icons/flags/bg.png +0 -0
  87. data/public/images/refinery/icons/flags/bh.png +0 -0
  88. data/public/images/refinery/icons/flags/bi.png +0 -0
  89. data/public/images/refinery/icons/flags/bj.png +0 -0
  90. data/public/images/refinery/icons/flags/bm.png +0 -0
  91. data/public/images/refinery/icons/flags/bn.png +0 -0
  92. data/public/images/refinery/icons/flags/bo.png +0 -0
  93. data/public/images/refinery/icons/flags/bs.png +0 -0
  94. data/public/images/refinery/icons/flags/bt.png +0 -0
  95. data/public/images/refinery/icons/flags/bv.png +0 -0
  96. data/public/images/refinery/icons/flags/bw.png +0 -0
  97. data/public/images/refinery/icons/flags/by.png +0 -0
  98. data/public/images/refinery/icons/flags/bz.png +0 -0
  99. data/public/images/refinery/icons/flags/ca.png +0 -0
  100. data/public/images/refinery/icons/flags/catalonia.png +0 -0
  101. data/public/images/refinery/icons/flags/cc.png +0 -0
  102. data/public/images/refinery/icons/flags/cd.png +0 -0
  103. data/public/images/refinery/icons/flags/cf.png +0 -0
  104. data/public/images/refinery/icons/flags/cg.png +0 -0
  105. data/public/images/refinery/icons/flags/ch.png +0 -0
  106. data/public/images/refinery/icons/flags/ci.png +0 -0
  107. data/public/images/refinery/icons/flags/ck.png +0 -0
  108. data/public/images/refinery/icons/flags/cl.png +0 -0
  109. data/public/images/refinery/icons/flags/cm.png +0 -0
  110. data/public/images/refinery/icons/flags/cn.png +0 -0
  111. data/public/images/refinery/icons/flags/co.png +0 -0
  112. data/public/images/refinery/icons/flags/cr.png +0 -0
  113. data/public/images/refinery/icons/flags/cs.png +0 -0
  114. data/public/images/refinery/icons/flags/cu.png +0 -0
  115. data/public/images/refinery/icons/flags/cv.png +0 -0
  116. data/public/images/refinery/icons/flags/cx.png +0 -0
  117. data/public/images/refinery/icons/flags/cy.png +0 -0
  118. data/public/images/refinery/icons/flags/cz.png +0 -0
  119. data/public/images/refinery/icons/flags/da.png +0 -0
  120. data/public/images/refinery/icons/flags/de.png +0 -0
  121. data/public/images/refinery/icons/flags/dj.png +0 -0
  122. data/public/images/refinery/icons/flags/dm.png +0 -0
  123. data/public/images/refinery/icons/flags/do.png +0 -0
  124. data/public/images/refinery/icons/flags/dz.png +0 -0
  125. data/public/images/refinery/icons/flags/ec.png +0 -0
  126. data/public/images/refinery/icons/flags/ee.png +0 -0
  127. data/public/images/refinery/icons/flags/eg.png +0 -0
  128. data/public/images/refinery/icons/flags/eh.png +0 -0
  129. data/public/images/refinery/icons/flags/en.png +0 -0
  130. data/public/images/refinery/icons/flags/england.png +0 -0
  131. data/public/images/refinery/icons/flags/er.png +0 -0
  132. data/public/images/refinery/icons/flags/es.png +0 -0
  133. data/public/images/refinery/icons/flags/et.png +0 -0
  134. data/public/images/refinery/icons/flags/europeanunion.png +0 -0
  135. data/public/images/refinery/icons/flags/fam.png +0 -0
  136. data/public/images/refinery/icons/flags/fi.png +0 -0
  137. data/public/images/refinery/icons/flags/fj.png +0 -0
  138. data/public/images/refinery/icons/flags/fk.png +0 -0
  139. data/public/images/refinery/icons/flags/fm.png +0 -0
  140. data/public/images/refinery/icons/flags/fo.png +0 -0
  141. data/public/images/refinery/icons/flags/fr.png +0 -0
  142. data/public/images/refinery/icons/flags/ga.png +0 -0
  143. data/public/images/refinery/icons/flags/gb.png +0 -0
  144. data/public/images/refinery/icons/flags/gd.png +0 -0
  145. data/public/images/refinery/icons/flags/ge.png +0 -0
  146. data/public/images/refinery/icons/flags/gf.png +0 -0
  147. data/public/images/refinery/icons/flags/gh.png +0 -0
  148. data/public/images/refinery/icons/flags/gi.png +0 -0
  149. data/public/images/refinery/icons/flags/gl.png +0 -0
  150. data/public/images/refinery/icons/flags/gm.png +0 -0
  151. data/public/images/refinery/icons/flags/gn.png +0 -0
  152. data/public/images/refinery/icons/flags/gp.png +0 -0
  153. data/public/images/refinery/icons/flags/gq.png +0 -0
  154. data/public/images/refinery/icons/flags/gr.png +0 -0
  155. data/public/images/refinery/icons/flags/gs.png +0 -0
  156. data/public/images/refinery/icons/flags/gt.png +0 -0
  157. data/public/images/refinery/icons/flags/gu.png +0 -0
  158. data/public/images/refinery/icons/flags/gw.png +0 -0
  159. data/public/images/refinery/icons/flags/gy.png +0 -0
  160. data/public/images/refinery/icons/flags/hk.png +0 -0
  161. data/public/images/refinery/icons/flags/hm.png +0 -0
  162. data/public/images/refinery/icons/flags/hn.png +0 -0
  163. data/public/images/refinery/icons/flags/hr.png +0 -0
  164. data/public/images/refinery/icons/flags/ht.png +0 -0
  165. data/public/images/refinery/icons/flags/hu.png +0 -0
  166. data/public/images/refinery/icons/flags/id.png +0 -0
  167. data/public/images/refinery/icons/flags/ie.png +0 -0
  168. data/public/images/refinery/icons/flags/il.png +0 -0
  169. data/public/images/refinery/icons/flags/in.png +0 -0
  170. data/public/images/refinery/icons/flags/io.png +0 -0
  171. data/public/images/refinery/icons/flags/iq.png +0 -0
  172. data/public/images/refinery/icons/flags/ir.png +0 -0
  173. data/public/images/refinery/icons/flags/is.png +0 -0
  174. data/public/images/refinery/icons/flags/it.png +0 -0
  175. data/public/images/refinery/icons/flags/jm.png +0 -0
  176. data/public/images/refinery/icons/flags/jo.png +0 -0
  177. data/public/images/refinery/icons/flags/jp.png +0 -0
  178. data/public/images/refinery/icons/flags/ke.png +0 -0
  179. data/public/images/refinery/icons/flags/kg.png +0 -0
  180. data/public/images/refinery/icons/flags/kh.png +0 -0
  181. data/public/images/refinery/icons/flags/ki.png +0 -0
  182. data/public/images/refinery/icons/flags/km.png +0 -0
  183. data/public/images/refinery/icons/flags/kn.png +0 -0
  184. data/public/images/refinery/icons/flags/kp.png +0 -0
  185. data/public/images/refinery/icons/flags/kr.png +0 -0
  186. data/public/images/refinery/icons/flags/kw.png +0 -0
  187. data/public/images/refinery/icons/flags/ky.png +0 -0
  188. data/public/images/refinery/icons/flags/kz.png +0 -0
  189. data/public/images/refinery/icons/flags/la.png +0 -0
  190. data/public/images/refinery/icons/flags/lb.png +0 -0
  191. data/public/images/refinery/icons/flags/lc.png +0 -0
  192. data/public/images/refinery/icons/flags/li.png +0 -0
  193. data/public/images/refinery/icons/flags/lk.png +0 -0
  194. data/public/images/refinery/icons/flags/lr.png +0 -0
  195. data/public/images/refinery/icons/flags/ls.png +0 -0
  196. data/public/images/refinery/icons/flags/lt.png +0 -0
  197. data/public/images/refinery/icons/flags/lu.png +0 -0
  198. data/public/images/refinery/icons/flags/lv.png +0 -0
  199. data/public/images/refinery/icons/flags/ly.png +0 -0
  200. data/public/images/refinery/icons/flags/ma.png +0 -0
  201. data/public/images/refinery/icons/flags/mc.png +0 -0
  202. data/public/images/refinery/icons/flags/md.png +0 -0
  203. data/public/images/refinery/icons/flags/me.png +0 -0
  204. data/public/images/refinery/icons/flags/mg.png +0 -0
  205. data/public/images/refinery/icons/flags/mh.png +0 -0
  206. data/public/images/refinery/icons/flags/mk.png +0 -0
  207. data/public/images/refinery/icons/flags/ml.png +0 -0
  208. data/public/images/refinery/icons/flags/mm.png +0 -0
  209. data/public/images/refinery/icons/flags/mn.png +0 -0
  210. data/public/images/refinery/icons/flags/mo.png +0 -0
  211. data/public/images/refinery/icons/flags/mp.png +0 -0
  212. data/public/images/refinery/icons/flags/mq.png +0 -0
  213. data/public/images/refinery/icons/flags/mr.png +0 -0
  214. data/public/images/refinery/icons/flags/ms.png +0 -0
  215. data/public/images/refinery/icons/flags/mt.png +0 -0
  216. data/public/images/refinery/icons/flags/mu.png +0 -0
  217. data/public/images/refinery/icons/flags/mv.png +0 -0
  218. data/public/images/refinery/icons/flags/mw.png +0 -0
  219. data/public/images/refinery/icons/flags/mx.png +0 -0
  220. data/public/images/refinery/icons/flags/my.png +0 -0
  221. data/public/images/refinery/icons/flags/mz.png +0 -0
  222. data/public/images/refinery/icons/flags/na.png +0 -0
  223. data/public/images/refinery/icons/flags/nb.png +0 -0
  224. data/public/images/refinery/icons/flags/nc.png +0 -0
  225. data/public/images/refinery/icons/flags/ne.png +0 -0
  226. data/public/images/refinery/icons/flags/nf.png +0 -0
  227. data/public/images/refinery/icons/flags/ng.png +0 -0
  228. data/public/images/refinery/icons/flags/ni.png +0 -0
  229. data/public/images/refinery/icons/flags/nl.png +0 -0
  230. data/public/images/refinery/icons/flags/nn.png +0 -0
  231. data/public/images/refinery/icons/flags/np.png +0 -0
  232. data/public/images/refinery/icons/flags/nr.png +0 -0
  233. data/public/images/refinery/icons/flags/nu.png +0 -0
  234. data/public/images/refinery/icons/flags/nz.png +0 -0
  235. data/public/images/refinery/icons/flags/om.png +0 -0
  236. data/public/images/refinery/icons/flags/pa.png +0 -0
  237. data/public/images/refinery/icons/flags/pe.png +0 -0
  238. data/public/images/refinery/icons/flags/pf.png +0 -0
  239. data/public/images/refinery/icons/flags/pg.png +0 -0
  240. data/public/images/refinery/icons/flags/ph.png +0 -0
  241. data/public/images/refinery/icons/flags/pk.png +0 -0
  242. data/public/images/refinery/icons/flags/pl.png +0 -0
  243. data/public/images/refinery/icons/flags/pm.png +0 -0
  244. data/public/images/refinery/icons/flags/pn.png +0 -0
  245. data/public/images/refinery/icons/flags/pr.png +0 -0
  246. data/public/images/refinery/icons/flags/ps.png +0 -0
  247. data/public/images/refinery/icons/flags/pt-BR.png +0 -0
  248. data/public/images/refinery/icons/flags/pt.png +0 -0
  249. data/public/images/refinery/icons/flags/pw.png +0 -0
  250. data/public/images/refinery/icons/flags/py.png +0 -0
  251. data/public/images/refinery/icons/flags/qa.png +0 -0
  252. data/public/images/refinery/icons/flags/re.png +0 -0
  253. data/public/images/refinery/icons/flags/ro.png +0 -0
  254. data/public/images/refinery/icons/flags/rs.png +0 -0
  255. data/public/images/refinery/icons/flags/ru.png +0 -0
  256. data/public/images/refinery/icons/flags/rw.png +0 -0
  257. data/public/images/refinery/icons/flags/sa.png +0 -0
  258. data/public/images/refinery/icons/flags/sb.png +0 -0
  259. data/public/images/refinery/icons/flags/sc.png +0 -0
  260. data/public/images/refinery/icons/flags/scotland.png +0 -0
  261. data/public/images/refinery/icons/flags/sd.png +0 -0
  262. data/public/images/refinery/icons/flags/se.png +0 -0
  263. data/public/images/refinery/icons/flags/sg.png +0 -0
  264. data/public/images/refinery/icons/flags/sh.png +0 -0
  265. data/public/images/refinery/icons/flags/si.png +0 -0
  266. data/public/images/refinery/icons/flags/sj.png +0 -0
  267. data/public/images/refinery/icons/flags/sk.png +0 -0
  268. data/public/images/refinery/icons/flags/sl.png +0 -0
  269. data/public/images/refinery/icons/flags/sm.png +0 -0
  270. data/public/images/refinery/icons/flags/sn.png +0 -0
  271. data/public/images/refinery/icons/flags/so.png +0 -0
  272. data/public/images/refinery/icons/flags/sr.png +0 -0
  273. data/public/images/refinery/icons/flags/st.png +0 -0
  274. data/public/images/refinery/icons/flags/sv.png +0 -0
  275. data/public/images/refinery/icons/flags/sy.png +0 -0
  276. data/public/images/refinery/icons/flags/sz.png +0 -0
  277. data/public/images/refinery/icons/flags/tc.png +0 -0
  278. data/public/images/refinery/icons/flags/td.png +0 -0
  279. data/public/images/refinery/icons/flags/tf.png +0 -0
  280. data/public/images/refinery/icons/flags/tg.png +0 -0
  281. data/public/images/refinery/icons/flags/th.png +0 -0
  282. data/public/images/refinery/icons/flags/tj.png +0 -0
  283. data/public/images/refinery/icons/flags/tk.png +0 -0
  284. data/public/images/refinery/icons/flags/tl.png +0 -0
  285. data/public/images/refinery/icons/flags/tm.png +0 -0
  286. data/public/images/refinery/icons/flags/tn.png +0 -0
  287. data/public/images/refinery/icons/flags/to.png +0 -0
  288. data/public/images/refinery/icons/flags/tr.png +0 -0
  289. data/public/images/refinery/icons/flags/tt.png +0 -0
  290. data/public/images/refinery/icons/flags/tv.png +0 -0
  291. data/public/images/refinery/icons/flags/tw.png +0 -0
  292. data/public/images/refinery/icons/flags/tz.png +0 -0
  293. data/public/images/refinery/icons/flags/ua.png +0 -0
  294. data/public/images/refinery/icons/flags/ug.png +0 -0
  295. data/public/images/refinery/icons/flags/um.png +0 -0
  296. data/public/images/refinery/icons/flags/us.png +0 -0
  297. data/public/images/refinery/icons/flags/uy.png +0 -0
  298. data/public/images/refinery/icons/flags/uz.png +0 -0
  299. data/public/images/refinery/icons/flags/va.png +0 -0
  300. data/public/images/refinery/icons/flags/vc.png +0 -0
  301. data/public/images/refinery/icons/flags/ve.png +0 -0
  302. data/public/images/refinery/icons/flags/vg.png +0 -0
  303. data/public/images/refinery/icons/flags/vi.png +0 -0
  304. data/public/images/refinery/icons/flags/vn.png +0 -0
  305. data/public/images/refinery/icons/flags/vu.png +0 -0
  306. data/public/images/refinery/icons/flags/wales.png +0 -0
  307. data/public/images/refinery/icons/flags/wf.png +0 -0
  308. data/public/images/refinery/icons/flags/ws.png +0 -0
  309. data/public/images/refinery/icons/flags/ye.png +0 -0
  310. data/public/images/refinery/icons/flags/yt.png +0 -0
  311. data/public/images/refinery/icons/flags/za.png +0 -0
  312. data/public/images/refinery/icons/flags/zm.png +0 -0
  313. data/public/images/refinery/icons/flags/zw.png +0 -0
  314. data/public/images/refinery/icons/folder_page_white.png +0 -0
  315. data/public/images/refinery/icons/img.png +0 -0
  316. data/public/images/refinery/icons/music.png +0 -0
  317. data/public/images/refinery/icons/page_white_gear.png +0 -0
  318. data/public/images/refinery/icons/pdf.png +0 -0
  319. data/public/images/refinery/icons/ppt.png +0 -0
  320. data/public/images/refinery/icons/xls.png +0 -0
  321. data/public/images/refinery/icons/zip.png +0 -0
  322. data/public/images/refinery/logo-site-bar.png +0 -0
  323. data/public/images/refinery/nav_inactive_background.png +0 -0
  324. data/public/images/refinery/orange_button.png +0 -0
  325. data/public/images/refinery/text_field_background.png +0 -0
  326. data/public/images/refinery/tooltip-nib.png +0 -0
  327. data/public/images/wymeditor/skins/refinery/text_indent.png +0 -0
  328. data/public/images/wymeditor/skins/refinery/text_indent_remove.png +0 -0
  329. data/public/javascripts/admin.js +6 -8
  330. data/public/javascripts/i18n-messages.js +2 -0
  331. data/public/javascripts/jquery-min.js +154 -0
  332. data/public/javascripts/jquery-ui-custom-min.js +244 -0
  333. data/public/javascripts/jquery/jquery.corner.js +314 -216
  334. data/public/javascripts/jquery/jquery.html5-placeholder-shim.js +81 -0
  335. data/public/javascripts/jquery/jquery.nestedsortables.js +186 -0
  336. data/public/javascripts/jquery/jquery.textTruncate.js +174 -0
  337. data/public/javascripts/jquery/jquery.timers.js +138 -0
  338. data/public/javascripts/refinery/admin.js +352 -153
  339. data/public/javascripts/refinery/boot_wym.js +81 -46
  340. data/public/javascripts/refinery/i18n.js +340 -0
  341. data/public/javascripts/wymeditor/jquery.refinery.wymeditor.js +359 -363
  342. data/public/javascripts/wymeditor/lang/en.js +46 -46
  343. data/public/javascripts/wymeditor/lang/nl.js +5 -3
  344. data/public/javascripts/wymeditor/lang/pt-br.js +3 -2
  345. data/public/javascripts/wymeditor/lang/sl.js +47 -0
  346. data/public/javascripts/wymeditor/skins/refinery/skin.js +23 -23
  347. data/public/robots.txt +1 -0
  348. data/public/stylesheets/application.css +3 -3
  349. data/public/stylesheets/formatting.css +3 -3
  350. data/public/stylesheets/home.css +2 -2
  351. data/public/stylesheets/ie7.css +1 -0
  352. data/public/stylesheets/refinery/application.css +4 -2
  353. data/public/stylesheets/refinery/formatting.css +15 -15
  354. data/public/stylesheets/refinery/ie.css +20 -0
  355. data/public/stylesheets/refinery/refinery.css +680 -462
  356. data/public/stylesheets/refinery/site_bar.css +68 -25
  357. data/public/stylesheets/refinery/theme.css +14 -14
  358. data/public/stylesheets/refinery/tooltips.css +28 -32
  359. data/public/stylesheets/refinery/ui.css +25 -10
  360. data/public/stylesheets/wymeditor/skins/refinery/skin.css +148 -149
  361. data/public/stylesheets/wymeditor/skins/refinery/wymiframe.css +67 -63
  362. data/readme.md +48 -17
  363. data/script/about +1 -1
  364. data/script/autospec +6 -0
  365. data/script/console +1 -1
  366. data/script/cucumber +10 -0
  367. data/script/dbconsole +1 -1
  368. data/script/destroy +1 -1
  369. data/script/generate +1 -1
  370. data/script/performance/benchmarker +1 -1
  371. data/script/performance/profiler +1 -1
  372. data/script/performance/request +1 -1
  373. data/script/plugin +1 -1
  374. data/script/process/inspector +1 -1
  375. data/script/process/reaper +1 -1
  376. data/script/process/spawner +1 -1
  377. data/script/runner +1 -1
  378. data/script/server +1 -1
  379. data/script/spec +10 -0
  380. data/test/fixtures/images.yml +1 -2
  381. data/test/fixtures/pages.yml +4 -4
  382. data/test/fixtures/user_plugins.yml +20 -24
  383. data/test/functional/dashboard_controller_test.rb +2 -1
  384. data/test/functional/images_controller_test.rb +3 -10
  385. data/test/unit/image_test.rb +1 -1
  386. data/test/unit/inquiry_test.rb +6 -6
  387. data/test/unit/page_test.rb +31 -1
  388. data/test/unit/refinery_setting_test.rb +1 -1
  389. data/themes/demolicious/stylesheets/application.css +23 -12
  390. data/themes/demolicious/stylesheets/formatting.css +3 -3
  391. data/themes/demolicious/stylesheets/home.css +1 -4
  392. data/themes/demolicious/views/layouts/application.html.erb +5 -5
  393. data/themes/demolicious/views/pages/home.html.erb +1 -1
  394. data/themes/hemingway/stylesheets/application.css +1 -1
  395. data/themes/hemingway/views/layouts/application.html.erb +1 -0
  396. data/todo.md +19 -5
  397. data/vendor/plugins/authentication/app/controllers/admin/users_controller.rb +13 -18
  398. data/vendor/plugins/authentication/app/controllers/sessions_controller.rb +21 -6
  399. data/vendor/plugins/authentication/app/controllers/users_controller.rb +57 -49
  400. data/vendor/plugins/authentication/app/models/role.rb +16 -0
  401. data/vendor/plugins/authentication/app/models/user.rb +21 -8
  402. data/vendor/plugins/authentication/app/models/user_mailer.rb +3 -2
  403. data/vendor/plugins/authentication/app/models/user_session.rb +1 -1
  404. data/vendor/plugins/authentication/app/views/admin/users/_form.html.erb +29 -10
  405. data/vendor/plugins/authentication/app/views/admin/users/_user.html.erb +11 -10
  406. data/vendor/plugins/authentication/app/views/admin/users/index.html.erb +2 -3
  407. data/vendor/plugins/authentication/app/views/sessions/new.html.erb +15 -18
  408. data/vendor/plugins/authentication/app/views/users/forgot.html.erb +14 -9
  409. data/vendor/plugins/authentication/app/views/users/new.html.erb +11 -13
  410. data/vendor/plugins/authentication/app/views/users/reset.html.erb +14 -9
  411. data/vendor/plugins/authentication/config/locales/da.yml +71 -0
  412. data/vendor/plugins/authentication/config/locales/de.yml +75 -0
  413. data/vendor/plugins/authentication/config/locales/en.yml +75 -0
  414. data/vendor/plugins/authentication/config/locales/es.yml +79 -0
  415. data/vendor/plugins/authentication/config/locales/fr.yml +79 -0
  416. data/vendor/plugins/authentication/config/locales/it.yml +68 -0
  417. data/vendor/plugins/authentication/config/locales/nb.yml +68 -0
  418. data/vendor/plugins/authentication/config/locales/nl.yml +83 -0
  419. data/vendor/plugins/authentication/config/locales/pt-BR.yml +64 -0
  420. data/vendor/plugins/authentication/config/locales/sl.yml +78 -0
  421. data/vendor/plugins/authentication/config/routes.rb +4 -5
  422. data/vendor/plugins/authentication/lib/authenticated_system.rb +5 -1
  423. data/vendor/plugins/authentication/rails/init.rb +5 -1
  424. data/vendor/plugins/authentication/{authentication.md → readme.md} +0 -0
  425. data/vendor/plugins/authentication/test/unit/user_mailer_test.rb +1 -1
  426. data/vendor/plugins/dashboard/app/controllers/admin/dashboard_controller.rb +17 -7
  427. data/vendor/plugins/dashboard/app/helpers/admin/dashboard_helper.rb +5 -9
  428. data/vendor/plugins/dashboard/app/views/admin/dashboard/_recent_activity.html.erb +10 -12
  429. data/vendor/plugins/dashboard/app/views/admin/dashboard/_recent_inquiries.html.erb +12 -0
  430. data/vendor/plugins/dashboard/app/views/admin/dashboard/index.html.erb +34 -11
  431. data/vendor/plugins/dashboard/config/locales/da.yml +22 -0
  432. data/vendor/plugins/dashboard/config/locales/de.yml +22 -0
  433. data/vendor/plugins/dashboard/config/locales/en.yml +22 -0
  434. data/vendor/plugins/dashboard/config/locales/es.yml +22 -0
  435. data/vendor/plugins/dashboard/config/locales/fr.yml +22 -0
  436. data/vendor/plugins/dashboard/config/locales/it.yml +22 -0
  437. data/vendor/plugins/dashboard/config/locales/nb.yml +22 -0
  438. data/vendor/plugins/dashboard/config/locales/nl.yml +22 -0
  439. data/vendor/plugins/dashboard/config/locales/pt-BR.yml +22 -0
  440. data/vendor/plugins/dashboard/config/locales/sl.yml +22 -0
  441. data/vendor/plugins/dashboard/config/routes.rb +2 -1
  442. data/vendor/plugins/dashboard/rails/init.rb +6 -0
  443. data/vendor/plugins/dashboard/{dashboard.md → readme.md} +0 -0
  444. data/vendor/plugins/i18n-js/README.rdoc +249 -0
  445. data/vendor/plugins/i18n-js/Rakefile +23 -0
  446. data/vendor/plugins/i18n-js/init.rb +1 -0
  447. data/vendor/plugins/i18n-js/install.rb +7 -0
  448. data/vendor/plugins/i18n-js/lib/i18n-js.rb +132 -0
  449. data/vendor/plugins/i18n-js/lib/i18n-js.yml +4 -0
  450. data/vendor/plugins/i18n-js/lib/i18n.js +339 -0
  451. data/vendor/plugins/i18n-js/lib/tasks/i18n-js_tasks.rake +16 -0
  452. data/vendor/plugins/i18n-js/test/i18n-test.html +50 -0
  453. data/vendor/plugins/i18n-js/test/i18n-test.js +661 -0
  454. data/vendor/plugins/i18n-js/test/i18n_js_test.rb +168 -0
  455. data/vendor/plugins/i18n-js/test/jsunittest/jsunittest.js +1017 -0
  456. data/vendor/plugins/i18n-js/test/jsunittest/unittest.css +54 -0
  457. data/vendor/plugins/i18n-js/test/resources/custom_path.yml +4 -0
  458. data/vendor/plugins/i18n-js/test/resources/default.yml +4 -0
  459. data/vendor/plugins/i18n-js/test/resources/locales.yml +76 -0
  460. data/vendor/plugins/i18n-js/test/resources/multiple_files.yml +6 -0
  461. data/vendor/plugins/i18n-js/test/resources/no_scope.yml +3 -0
  462. data/vendor/plugins/i18n-js/test/resources/simple_scope.yml +4 -0
  463. data/vendor/plugins/i18n-js/test/test_helper.rb +24 -0
  464. data/vendor/plugins/i18n/config/locales/ar.yml +121 -0
  465. data/vendor/plugins/i18n/config/locales/bg.yml +198 -0
  466. data/vendor/plugins/i18n/config/locales/bn-IN.yml +180 -0
  467. data/vendor/plugins/i18n/config/locales/bs.yml +114 -0
  468. data/vendor/plugins/i18n/config/locales/ca-ES.yml +155 -0
  469. data/vendor/plugins/i18n/config/locales/cz.rb +166 -0
  470. data/vendor/plugins/i18n/config/locales/da.yml +167 -0
  471. data/vendor/plugins/i18n/config/locales/de-AT.yml +140 -0
  472. data/vendor/plugins/i18n/config/locales/de.yml +141 -0
  473. data/vendor/plugins/i18n/config/locales/dsb.yml +182 -0
  474. data/vendor/plugins/i18n/config/locales/el.yml +191 -0
  475. data/vendor/plugins/i18n/config/locales/es-AR.yml +168 -0
  476. data/vendor/plugins/i18n/config/locales/es-CO.yml +146 -0
  477. data/vendor/plugins/i18n/config/locales/es-MX.yml +118 -0
  478. data/vendor/plugins/i18n/config/locales/es.yml +186 -0
  479. data/vendor/plugins/i18n/config/locales/et.yml +109 -0
  480. data/vendor/plugins/i18n/config/locales/fa.yml +119 -0
  481. data/vendor/plugins/i18n/config/locales/fi.yml +154 -0
  482. data/vendor/plugins/i18n/config/locales/fr-CH.yml +123 -0
  483. data/vendor/plugins/i18n/config/locales/fr.yml +140 -0
  484. data/vendor/plugins/i18n/config/locales/fun/en-AU.rb +105 -0
  485. data/vendor/plugins/i18n/config/locales/fun/gibberish.rb +109 -0
  486. data/vendor/plugins/i18n/config/locales/fur.yml +141 -0
  487. data/vendor/plugins/i18n/config/locales/gl-ES.yml +193 -0
  488. data/vendor/plugins/i18n/config/locales/he.yml +103 -0
  489. data/vendor/plugins/i18n/config/locales/hr.yml +116 -0
  490. data/vendor/plugins/i18n/config/locales/hsb.yml +190 -0
  491. data/vendor/plugins/i18n/config/locales/hu.yml +144 -0
  492. data/vendor/plugins/i18n/config/locales/id.yml +122 -0
  493. data/vendor/plugins/i18n/config/locales/is.yml +142 -0
  494. data/vendor/plugins/i18n/config/locales/it.yml +146 -0
  495. data/vendor/plugins/i18n/config/locales/ja.yml +139 -0
  496. data/vendor/plugins/i18n/config/locales/ko.yml +153 -0
  497. data/vendor/plugins/i18n/config/locales/lo.yml +201 -0
  498. data/vendor/plugins/i18n/config/locales/lt.yml +141 -0
  499. data/vendor/plugins/i18n/config/locales/lv.yml +132 -0
  500. data/vendor/plugins/i18n/config/locales/mk.yml +115 -0
  501. data/vendor/plugins/i18n/config/locales/nb.yml +103 -0
  502. data/vendor/plugins/i18n/config/locales/nl.yml +173 -0
  503. data/vendor/plugins/i18n/config/locales/nn.yml +96 -0
  504. data/vendor/plugins/i18n/config/locales/pl.yml +127 -0
  505. data/vendor/plugins/i18n/config/locales/pt-BR.yml +148 -0
  506. data/vendor/plugins/i18n/config/locales/pt-PT.yml +220 -0
  507. data/vendor/plugins/i18n/config/locales/rm.yml +134 -0
  508. data/vendor/plugins/i18n/config/locales/ro.yml +152 -0
  509. data/vendor/plugins/i18n/config/locales/ru.yml +210 -0
  510. data/vendor/plugins/i18n/config/locales/sk.yml +139 -0
  511. data/vendor/plugins/i18n/config/locales/sl.yml +190 -0
  512. data/vendor/plugins/i18n/config/locales/sr-Latn.yml +116 -0
  513. data/vendor/plugins/i18n/config/locales/sr.yml +116 -0
  514. data/vendor/plugins/i18n/config/locales/sv-SE.yml +191 -0
  515. data/vendor/plugins/i18n/config/locales/sw.yml +123 -0
  516. data/vendor/plugins/i18n/config/locales/th.rb +222 -0
  517. data/vendor/plugins/i18n/config/locales/tr.yml +139 -0
  518. data/vendor/plugins/i18n/config/locales/uk.yml +237 -0
  519. data/vendor/plugins/i18n/config/locales/vi.yml +198 -0
  520. data/vendor/plugins/i18n/config/locales/zh-CN.yml +131 -0
  521. data/vendor/plugins/i18n/config/locales/zh-TW.yml +132 -0
  522. data/vendor/plugins/i18n/lib/i18n.rb +115 -0
  523. data/vendor/plugins/i18n/lib/i18n_filter.rb +48 -0
  524. data/vendor/plugins/i18n/lib/routing_filter/MIT-LICENSE +20 -0
  525. data/vendor/plugins/i18n/lib/routing_filter/README.markdown +123 -0
  526. data/vendor/plugins/i18n/lib/routing_filter/VERSION +1 -0
  527. data/vendor/plugins/i18n/lib/routing_filter/routing_filter.rb +96 -0
  528. data/vendor/plugins/i18n/lib/routing_filter/routing_filter/base.rb +31 -0
  529. data/vendor/plugins/i18n/lib/routing_filter/routing_filter/force_extension.rb +57 -0
  530. data/vendor/plugins/i18n/lib/routing_filter/routing_filter/pagination.rb +33 -0
  531. data/vendor/plugins/i18n/lib/routing_filter/routing_filter/uuid_token.rb +78 -0
  532. data/vendor/plugins/i18n/rails/init.rb +4 -0
  533. data/vendor/plugins/images/app/controllers/admin/images_controller.rb +6 -7
  534. data/vendor/plugins/images/app/models/image.rb +24 -6
  535. data/vendor/plugins/images/app/views/admin/images/_existing_image.erb +50 -0
  536. data/vendor/plugins/images/app/views/admin/images/_form.html.erb +15 -7
  537. data/vendor/plugins/images/app/views/admin/images/_grid_view.html.erb +5 -5
  538. data/vendor/plugins/images/app/views/admin/images/_list_view.html.erb +3 -1
  539. data/vendor/plugins/images/app/views/admin/images/_list_view_image.html.erb +10 -10
  540. data/vendor/plugins/images/app/views/admin/images/index.html.erb +5 -8
  541. data/vendor/plugins/images/app/views/admin/images/insert.html.erb +16 -38
  542. data/vendor/plugins/images/config/locales/da.yml +44 -0
  543. data/vendor/plugins/images/config/locales/de.yml +45 -0
  544. data/vendor/plugins/images/config/locales/en.yml +44 -0
  545. data/vendor/plugins/images/config/locales/es.yml +45 -0
  546. data/vendor/plugins/images/config/locales/fr.yml +44 -0
  547. data/vendor/plugins/images/config/locales/it.yml +42 -0
  548. data/vendor/plugins/images/config/locales/nb.yml +43 -0
  549. data/vendor/plugins/images/config/locales/nl.yml +44 -0
  550. data/vendor/plugins/images/config/locales/pt-BR.yml +46 -0
  551. data/vendor/plugins/images/config/locales/sl.yml +44 -0
  552. data/vendor/plugins/images/config/routes.rb +1 -1
  553. data/vendor/plugins/images/lib/tasks/images.rake +6 -6
  554. data/vendor/plugins/images/rails/init.rb +5 -1
  555. data/vendor/plugins/images/readme.md +58 -0
  556. data/vendor/plugins/inquiries/app/controllers/admin/inquiries_controller.rb +16 -7
  557. data/vendor/plugins/inquiries/app/controllers/admin/inquiry_settings_controller.rb +5 -9
  558. data/vendor/plugins/inquiries/app/controllers/inquiries_controller.rb +14 -12
  559. data/vendor/plugins/inquiries/app/models/inquiry.rb +133 -6
  560. data/vendor/plugins/inquiries/app/models/inquiry_mailer.rb +2 -2
  561. data/vendor/plugins/inquiries/app/models/inquiry_setting.rb +51 -2
  562. data/vendor/plugins/inquiries/app/views/admin/inquiries/_inquiry.html.erb +16 -8
  563. data/vendor/plugins/inquiries/app/views/admin/inquiries/_submenu.html.erb +27 -0
  564. data/vendor/plugins/inquiries/app/views/admin/inquiries/index.html.erb +3 -18
  565. data/vendor/plugins/inquiries/app/views/admin/inquiries/show.html.erb +23 -12
  566. data/vendor/plugins/inquiries/app/views/admin/inquiries/spam.html.erb +20 -0
  567. data/vendor/plugins/inquiries/app/views/admin/inquiry_settings/_confirmation_email_form.html.erb +21 -14
  568. data/vendor/plugins/inquiries/app/views/admin/inquiry_settings/_inquiry_setting.html.erb +11 -0
  569. data/vendor/plugins/inquiries/app/views/admin/inquiry_settings/_notification_recipients_form.html.erb +21 -14
  570. data/vendor/plugins/inquiries/app/views/admin/inquiry_settings/_subject_form.html.erb +9 -0
  571. data/vendor/plugins/inquiries/app/views/admin/inquiry_settings/edit.html.erb +2 -0
  572. data/vendor/plugins/inquiries/app/views/admin/inquiry_settings/index.html.erb +7 -17
  573. data/vendor/plugins/inquiries/app/views/inquiries/new.html.erb +4 -5
  574. data/vendor/plugins/inquiries/config/locales/da.yml +67 -0
  575. data/vendor/plugins/inquiries/config/locales/de.yml +71 -0
  576. data/vendor/plugins/inquiries/config/locales/en.yml +75 -0
  577. data/vendor/plugins/inquiries/config/locales/es.yml +68 -0
  578. data/vendor/plugins/inquiries/config/locales/fr.yml +65 -0
  579. data/vendor/plugins/inquiries/config/locales/it.yml +66 -0
  580. data/vendor/plugins/inquiries/config/locales/nb.yml +67 -0
  581. data/vendor/plugins/inquiries/config/locales/nl.yml +71 -0
  582. data/vendor/plugins/inquiries/config/locales/pt-BR.yml +75 -0
  583. data/vendor/plugins/inquiries/config/locales/sl.yml +68 -0
  584. data/vendor/plugins/inquiries/config/routes.rb +4 -3
  585. data/vendor/plugins/inquiries/rails/init.rb +6 -3
  586. data/vendor/plugins/inquiries/readme.md +31 -0
  587. data/vendor/plugins/model_translations/MIT-LICENSE +20 -0
  588. data/vendor/plugins/model_translations/README.rdoc +90 -0
  589. data/vendor/plugins/model_translations/Rakefile +23 -0
  590. data/vendor/plugins/model_translations/init.rb +1 -0
  591. data/vendor/plugins/model_translations/lib/active_record/model_translations.rb +55 -0
  592. data/vendor/plugins/model_translations/test/model_translations_test.rb +88 -0
  593. data/vendor/plugins/model_translations/test/test_helper.rb +3 -0
  594. data/vendor/plugins/pages/app/controllers/admin/page_dialogs_controller.rb +29 -0
  595. data/vendor/plugins/pages/app/controllers/admin/page_parts_controller.rb +2 -0
  596. data/vendor/plugins/pages/app/controllers/admin/pages_controller.rb +37 -10
  597. data/vendor/plugins/pages/app/controllers/pages_controller.rb +24 -2
  598. data/vendor/plugins/pages/app/models/page.rb +90 -15
  599. data/vendor/plugins/pages/app/models/page_part.rb +1 -1
  600. data/vendor/plugins/pages/app/views/admin/page_dialogs/_page_link.html.erb +1 -1
  601. data/vendor/plugins/pages/app/views/admin/page_dialogs/link_to.html.erb +59 -74
  602. data/vendor/plugins/pages/app/views/admin/pages/_form.html.erb +14 -39
  603. data/vendor/plugins/pages/app/views/admin/pages/_form_advanced_options.html.erb +56 -50
  604. data/vendor/plugins/pages/app/views/admin/pages/_form_advanced_options_seo.html.erb +23 -21
  605. data/vendor/plugins/pages/app/views/admin/pages/_form_page_parts.html.erb +37 -0
  606. data/vendor/plugins/pages/app/views/admin/pages/_page.html.erb +10 -11
  607. data/vendor/plugins/pages/app/views/admin/pages/_page_part_field.html.erb +3 -2
  608. data/vendor/plugins/pages/app/views/admin/pages/index.html.erb +7 -7
  609. data/vendor/plugins/pages/app/views/pages/home.html.erb +1 -1
  610. data/vendor/plugins/pages/config/locales/da.yml +53 -0
  611. data/vendor/plugins/pages/config/locales/de.yml +53 -0
  612. data/vendor/plugins/pages/config/locales/en.yml +95 -0
  613. data/vendor/plugins/pages/config/locales/es.yml +53 -0
  614. data/vendor/plugins/pages/config/locales/fr.yml +53 -0
  615. data/vendor/plugins/pages/config/locales/it.yml +53 -0
  616. data/vendor/plugins/pages/config/locales/nb.yml +53 -0
  617. data/vendor/plugins/pages/config/locales/nl.yml +54 -0
  618. data/vendor/plugins/pages/config/locales/pt-BR.yml +61 -0
  619. data/vendor/plugins/pages/config/locales/sl.yml +96 -0
  620. data/vendor/plugins/pages/config/routes.rb +2 -2
  621. data/vendor/plugins/pages/rails/init.rb +5 -1
  622. data/vendor/plugins/pages/readme.md +156 -0
  623. data/vendor/plugins/refinery/app/controllers/admin/refinery_core_controller.rb +4 -2
  624. data/vendor/plugins/refinery/app/controllers/refinery/fast_controller.rb +7 -0
  625. data/vendor/plugins/refinery/app/views/admin/_head.html.erb +42 -9
  626. data/vendor/plugins/refinery/app/views/admin/_menu.html.erb +14 -15
  627. data/vendor/plugins/refinery/app/views/admin/_menu_tab.html.erb +4 -0
  628. data/vendor/plugins/refinery/app/views/layouts/admin.html.erb +10 -5
  629. data/vendor/plugins/refinery/app/views/layouts/application.html.erb +3 -3
  630. data/vendor/plugins/refinery/app/views/shared/_content_page.html.erb +28 -29
  631. data/vendor/plugins/refinery/app/views/shared/_draft_page_message.html.erb +3 -0
  632. data/vendor/plugins/refinery/app/views/shared/_google_analytics.html.erb +2 -1
  633. data/vendor/plugins/refinery/app/views/shared/_head.html.erb +1 -0
  634. data/vendor/plugins/refinery/app/views/shared/_header.html.erb +1 -1
  635. data/vendor/plugins/refinery/app/views/shared/_ie6check.html.erb +44 -4
  636. data/vendor/plugins/refinery/app/views/shared/_language_switcher.html.erb +5 -0
  637. data/vendor/plugins/refinery/app/views/shared/_menu.html.erb +17 -8
  638. data/vendor/plugins/refinery/app/views/shared/_menu_branch.html.erb +19 -21
  639. data/vendor/plugins/refinery/app/views/shared/_message.html.erb +6 -1
  640. data/vendor/plugins/refinery/app/views/shared/_site_bar.html.erb +38 -15
  641. data/vendor/plugins/refinery/app/views/shared/admin/_continue_editing.html.erb +1 -2
  642. data/vendor/plugins/refinery/app/views/shared/admin/_form_actions.html.erb +58 -14
  643. data/vendor/plugins/refinery/app/views/shared/admin/_image_picker.html.erb +7 -6
  644. data/vendor/plugins/refinery/app/views/shared/admin/_make_sortable.html.erb +10 -9
  645. data/vendor/plugins/refinery/app/views/shared/admin/_resource_picker.html.erb +7 -4
  646. data/vendor/plugins/refinery/app/views/shared/admin/_search.html.erb +3 -4
  647. data/vendor/plugins/refinery/app/views/shared/admin/_sortable_list.html.erb +1 -1
  648. data/vendor/plugins/refinery/app/views/welcome.html.erb +5 -7
  649. data/vendor/plugins/refinery/app/views/wymiframe.html.erb +13 -5
  650. data/vendor/plugins/refinery/config/locales/da.yml +71 -0
  651. data/vendor/plugins/refinery/config/locales/de.yml +67 -0
  652. data/vendor/plugins/refinery/config/locales/en.yml +59 -0
  653. data/vendor/plugins/refinery/config/locales/es.yml +64 -0
  654. data/vendor/plugins/refinery/config/locales/fr.yml +67 -0
  655. data/vendor/plugins/refinery/config/locales/it.yml +68 -0
  656. data/vendor/plugins/refinery/config/locales/nb.yml +64 -0
  657. data/vendor/plugins/refinery/config/locales/nl.yml +63 -0
  658. data/vendor/plugins/refinery/config/locales/pt-BR.yml +60 -0
  659. data/vendor/plugins/refinery/config/locales/sl.yml +61 -0
  660. data/vendor/plugins/refinery/config/routes.rb +4 -4
  661. data/vendor/plugins/refinery/crud.md +2 -2
  662. data/vendor/plugins/refinery/lib/crud.rb +34 -25
  663. data/vendor/plugins/refinery/lib/generators/refinery/refinery_generator.rb +9 -2
  664. data/vendor/plugins/refinery/lib/generators/refinery/templates/config/locales/en.yml +16 -0
  665. data/vendor/plugins/refinery/lib/generators/refinery/templates/config/locales/nl.yml +16 -0
  666. data/vendor/plugins/refinery/lib/generators/refinery/templates/config/routes.rb +2 -2
  667. data/vendor/plugins/refinery/lib/generators/refinery/templates/migration.rb +1 -14
  668. data/vendor/plugins/refinery/lib/generators/refinery/templates/model.rb +1 -2
  669. data/vendor/plugins/refinery/lib/generators/refinery/templates/rails/init.rb +3 -0
  670. data/vendor/plugins/refinery/lib/generators/refinery/templates/seed.rb +15 -0
  671. data/vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_form.html.erb +2 -2
  672. data/vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/_singular_name.html.erb +10 -11
  673. data/vendor/plugins/refinery/lib/generators/refinery/templates/views/admin/index.html.erb +5 -6
  674. data/vendor/plugins/refinery/lib/generators/refinery/templates/views/show.html.erb +1 -1
  675. data/vendor/plugins/refinery/lib/refinery.rb +22 -1
  676. data/vendor/plugins/refinery/lib/refinery/activity.rb +1 -1
  677. data/vendor/plugins/refinery/lib/refinery/admin_base_controller.rb +56 -10
  678. data/vendor/plugins/refinery/lib/refinery/application_controller.rb +39 -14
  679. data/vendor/plugins/refinery/lib/refinery/application_helper.rb +62 -12
  680. data/vendor/plugins/refinery/lib/refinery/base_presenter.rb +1 -1
  681. data/vendor/plugins/refinery/lib/refinery/form_helpers.rb +37 -2
  682. data/vendor/plugins/refinery/lib/refinery/html_truncation_helper.rb +10 -100
  683. data/vendor/plugins/refinery/lib/refinery/initializer.rb +15 -1
  684. data/vendor/plugins/refinery/lib/refinery/plugin.rb +26 -14
  685. data/vendor/plugins/refinery/lib/refinery/plugins.rb +21 -8
  686. data/vendor/plugins/refinery/lib/tasks/doc.rake +24 -24
  687. data/vendor/plugins/refinery/lib/tasks/refinery.rake +232 -9
  688. data/vendor/plugins/refinery/lib/tasks/yard.rake +22 -22
  689. data/vendor/plugins/refinery/plugins.md +6 -6
  690. data/vendor/plugins/refinery/rails/init.rb +8 -1
  691. data/vendor/plugins/refinery_dialogs/app/controllers/admin/dialogs_controller.rb +4 -0
  692. data/vendor/plugins/refinery_dialogs/app/views/admin/dialogs/show.html.erb +11 -12
  693. data/vendor/plugins/refinery_dialogs/app/views/layouts/admin_dialog.html.erb +4 -2
  694. data/vendor/plugins/refinery_dialogs/config/routes.rb +1 -1
  695. data/vendor/plugins/refinery_dialogs/rails/init.rb +4 -0
  696. data/vendor/plugins/refinery_settings/app/controllers/admin/refinery_settings_controller.rb +39 -0
  697. data/vendor/plugins/refinery_settings/app/models/refinery_setting.rb +67 -10
  698. data/vendor/plugins/refinery_settings/app/views/admin/refinery_settings/_form.html.erb +30 -6
  699. data/vendor/plugins/refinery_settings/app/views/admin/refinery_settings/_refinery_setting.html.erb +10 -11
  700. data/vendor/plugins/refinery_settings/app/views/admin/refinery_settings/edit.html.erb +0 -3
  701. data/vendor/plugins/refinery_settings/app/views/admin/refinery_settings/index.html.erb +13 -4
  702. data/vendor/plugins/refinery_settings/config/locales/da.yml +49 -0
  703. data/vendor/plugins/refinery_settings/config/locales/de.yml +23 -0
  704. data/vendor/plugins/refinery_settings/config/locales/en.yml +45 -0
  705. data/vendor/plugins/refinery_settings/config/locales/es.yml +23 -0
  706. data/vendor/plugins/refinery_settings/config/locales/fr.yml +23 -0
  707. data/vendor/plugins/refinery_settings/config/locales/it.yml +23 -0
  708. data/vendor/plugins/refinery_settings/config/locales/nb.yml +23 -0
  709. data/vendor/plugins/refinery_settings/config/locales/nl.yml +46 -0
  710. data/vendor/plugins/refinery_settings/config/locales/pt-BR.yml +23 -0
  711. data/vendor/plugins/refinery_settings/config/locales/sl.yml +24 -0
  712. data/vendor/plugins/refinery_settings/config/routes.rb +1 -1
  713. data/vendor/plugins/refinery_settings/rails/init.rb +5 -8
  714. data/vendor/plugins/refinery_settings/{settings.md → readme.md} +0 -0
  715. data/vendor/plugins/resources/app/controllers/admin/resources_controller.rb +2 -7
  716. data/vendor/plugins/resources/app/models/resource.rb +8 -3
  717. data/vendor/plugins/resources/app/views/admin/resources/_existing_resource.html.erb +34 -0
  718. data/vendor/plugins/resources/app/views/admin/resources/_form.html.erb +15 -7
  719. data/vendor/plugins/resources/app/views/admin/resources/_resource.html.erb +12 -12
  720. data/vendor/plugins/resources/app/views/admin/resources/index.html.erb +8 -6
  721. data/vendor/plugins/resources/app/views/admin/resources/insert.html.erb +4 -40
  722. data/vendor/plugins/resources/config/locales/da.yml +34 -0
  723. data/vendor/plugins/resources/config/locales/de.yml +32 -0
  724. data/vendor/plugins/resources/config/locales/en.yml +32 -0
  725. data/vendor/plugins/resources/config/locales/es.yml +34 -0
  726. data/vendor/plugins/resources/config/locales/fr.yml +34 -0
  727. data/vendor/plugins/resources/config/locales/it.yml +33 -0
  728. data/vendor/plugins/resources/config/locales/nb.yml +34 -0
  729. data/vendor/plugins/resources/config/locales/nl.yml +34 -0
  730. data/vendor/plugins/resources/config/locales/pt-BR.yml +34 -0
  731. data/vendor/plugins/resources/config/locales/sl.yml +34 -0
  732. data/vendor/plugins/resources/config/routes.rb +1 -3
  733. data/vendor/plugins/resources/rails/init.rb +5 -1
  734. data/vendor/plugins/resources/{resources.md → readme.md} +0 -0
  735. data/vendor/plugins/themes/lib/theme_server.rb +1 -1
  736. data/vendor/plugins/themes/rails/init.rb +4 -1
  737. data/vendor/plugins/themes/readme.md +113 -0
  738. data/vendor/plugins/{rails_indexes → translate}/MIT-LICENSE +0 -0
  739. data/vendor/plugins/translate/README +61 -0
  740. data/vendor/plugins/translate/REFINERY_README +8 -0
  741. data/vendor/plugins/translate/Rakefile +11 -0
  742. data/vendor/plugins/translate/init.rb +8 -0
  743. data/vendor/plugins/translate/lib/translate.rb +13 -0
  744. data/vendor/plugins/translate/lib/translate/file.rb +35 -0
  745. data/vendor/plugins/translate/lib/translate/keys.rb +123 -0
  746. data/vendor/plugins/translate/lib/translate/log.rb +39 -0
  747. data/vendor/plugins/translate/lib/translate/storage.rb +20 -0
  748. data/vendor/plugins/translate/tasks/translate.rake +182 -0
  749. metadata +574 -366
  750. data/.gems +0 -0
  751. data/VERSION +0 -1
  752. data/bin/refinery-override +0 -76
  753. data/public/images/thickbox/cross.png +0 -0
  754. data/public/images/thickbox/loadingAnimation.gif +0 -0
  755. data/public/images/thickbox/macFFBgHack.png +0 -0
  756. data/public/javascripts/jquery-ui-1.8.min.js +0 -374
  757. data/vendor/plugins/acts_as_indexed/CHANGELOG +0 -78
  758. data/vendor/plugins/acts_as_indexed/MIT-LICENSE +0 -20
  759. data/vendor/plugins/acts_as_indexed/README.rdoc +0 -114
  760. data/vendor/plugins/acts_as_indexed/Rakefile +0 -35
  761. data/vendor/plugins/acts_as_indexed/init.rb +0 -2
  762. data/vendor/plugins/acts_as_indexed/lib/acts_as_indexed.rb +0 -224
  763. data/vendor/plugins/acts_as_indexed/lib/search_atom.rb +0 -109
  764. data/vendor/plugins/acts_as_indexed/lib/search_index.rb +0 -329
  765. data/vendor/plugins/acts_as_indexed/lib/will_paginate_search.rb +0 -29
  766. data/vendor/plugins/acts_as_indexed/test/abstract_unit.rb +0 -47
  767. data/vendor/plugins/acts_as_indexed/test/acts_as_indexed_test.rb +0 -102
  768. data/vendor/plugins/acts_as_indexed/test/database.yml +0 -10
  769. data/vendor/plugins/acts_as_indexed/test/fixtures/post.rb +0 -5
  770. data/vendor/plugins/acts_as_indexed/test/fixtures/posts.yml +0 -31
  771. data/vendor/plugins/acts_as_indexed/test/schema.rb +0 -6
  772. data/vendor/plugins/authlogic/CHANGELOG.rdoc +0 -345
  773. data/vendor/plugins/authlogic/LICENSE +0 -20
  774. data/vendor/plugins/authlogic/README.rdoc +0 -246
  775. data/vendor/plugins/authlogic/Rakefile +0 -42
  776. data/vendor/plugins/authlogic/VERSION.yml +0 -5
  777. data/vendor/plugins/authlogic/authlogic.gemspec +0 -217
  778. data/vendor/plugins/authlogic/generators/session/session_generator.rb +0 -9
  779. data/vendor/plugins/authlogic/generators/session/templates/session.rb +0 -2
  780. data/vendor/plugins/authlogic/init.rb +0 -1
  781. data/vendor/plugins/authlogic/lib/authlogic.rb +0 -64
  782. data/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/base.rb +0 -107
  783. data/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/email.rb +0 -110
  784. data/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/logged_in_status.rb +0 -60
  785. data/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/login.rb +0 -141
  786. data/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/magic_columns.rb +0 -24
  787. data/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/password.rb +0 -355
  788. data/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/perishable_token.rb +0 -105
  789. data/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/persistence_token.rb +0 -68
  790. data/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/restful_authentication.rb +0 -61
  791. data/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/session_maintenance.rb +0 -139
  792. data/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/single_access_token.rb +0 -65
  793. data/vendor/plugins/authlogic/lib/authlogic/acts_as_authentic/validations_scope.rb +0 -32
  794. data/vendor/plugins/authlogic/lib/authlogic/authenticates_many/association.rb +0 -42
  795. data/vendor/plugins/authlogic/lib/authlogic/authenticates_many/base.rb +0 -55
  796. data/vendor/plugins/authlogic/lib/authlogic/controller_adapters/abstract_adapter.rb +0 -67
  797. data/vendor/plugins/authlogic/lib/authlogic/controller_adapters/merb_adapter.rb +0 -30
  798. data/vendor/plugins/authlogic/lib/authlogic/controller_adapters/rails_adapter.rb +0 -48
  799. data/vendor/plugins/authlogic/lib/authlogic/controller_adapters/sinatra_adapter.rb +0 -61
  800. data/vendor/plugins/authlogic/lib/authlogic/crypto_providers/aes256.rb +0 -43
  801. data/vendor/plugins/authlogic/lib/authlogic/crypto_providers/bcrypt.rb +0 -90
  802. data/vendor/plugins/authlogic/lib/authlogic/crypto_providers/md5.rb +0 -34
  803. data/vendor/plugins/authlogic/lib/authlogic/crypto_providers/sha1.rb +0 -35
  804. data/vendor/plugins/authlogic/lib/authlogic/crypto_providers/sha256.rb +0 -50
  805. data/vendor/plugins/authlogic/lib/authlogic/crypto_providers/sha512.rb +0 -50
  806. data/vendor/plugins/authlogic/lib/authlogic/crypto_providers/wordpress.rb +0 -43
  807. data/vendor/plugins/authlogic/lib/authlogic/i18n.rb +0 -83
  808. data/vendor/plugins/authlogic/lib/authlogic/i18n/translator.rb +0 -15
  809. data/vendor/plugins/authlogic/lib/authlogic/random.rb +0 -33
  810. data/vendor/plugins/authlogic/lib/authlogic/regex.rb +0 -25
  811. data/vendor/plugins/authlogic/lib/authlogic/session/activation.rb +0 -58
  812. data/vendor/plugins/authlogic/lib/authlogic/session/active_record_trickery.rb +0 -64
  813. data/vendor/plugins/authlogic/lib/authlogic/session/base.rb +0 -37
  814. data/vendor/plugins/authlogic/lib/authlogic/session/brute_force_protection.rb +0 -96
  815. data/vendor/plugins/authlogic/lib/authlogic/session/callbacks.rb +0 -99
  816. data/vendor/plugins/authlogic/lib/authlogic/session/cookies.rb +0 -130
  817. data/vendor/plugins/authlogic/lib/authlogic/session/existence.rb +0 -93
  818. data/vendor/plugins/authlogic/lib/authlogic/session/foundation.rb +0 -63
  819. data/vendor/plugins/authlogic/lib/authlogic/session/http_auth.rb +0 -58
  820. data/vendor/plugins/authlogic/lib/authlogic/session/id.rb +0 -41
  821. data/vendor/plugins/authlogic/lib/authlogic/session/klass.rb +0 -78
  822. data/vendor/plugins/authlogic/lib/authlogic/session/magic_columns.rb +0 -95
  823. data/vendor/plugins/authlogic/lib/authlogic/session/magic_states.rb +0 -59
  824. data/vendor/plugins/authlogic/lib/authlogic/session/params.rb +0 -101
  825. data/vendor/plugins/authlogic/lib/authlogic/session/password.rb +0 -240
  826. data/vendor/plugins/authlogic/lib/authlogic/session/perishable_token.rb +0 -18
  827. data/vendor/plugins/authlogic/lib/authlogic/session/persistence.rb +0 -70
  828. data/vendor/plugins/authlogic/lib/authlogic/session/priority_record.rb +0 -34
  829. data/vendor/plugins/authlogic/lib/authlogic/session/scopes.rb +0 -101
  830. data/vendor/plugins/authlogic/lib/authlogic/session/session.rb +0 -62
  831. data/vendor/plugins/authlogic/lib/authlogic/session/timeout.rb +0 -82
  832. data/vendor/plugins/authlogic/lib/authlogic/session/unauthorized_record.rb +0 -50
  833. data/vendor/plugins/authlogic/lib/authlogic/session/validation.rb +0 -82
  834. data/vendor/plugins/authlogic/lib/authlogic/test_case.rb +0 -120
  835. data/vendor/plugins/authlogic/lib/authlogic/test_case/mock_controller.rb +0 -45
  836. data/vendor/plugins/authlogic/lib/authlogic/test_case/mock_cookie_jar.rb +0 -14
  837. data/vendor/plugins/authlogic/lib/authlogic/test_case/mock_logger.rb +0 -10
  838. data/vendor/plugins/authlogic/lib/authlogic/test_case/mock_request.rb +0 -19
  839. data/vendor/plugins/authlogic/lib/authlogic/test_case/rails_request_adapter.rb +0 -30
  840. data/vendor/plugins/authlogic/rails/init.rb +0 -1
  841. data/vendor/plugins/authlogic/shoulda_macros/authlogic.rb +0 -69
  842. data/vendor/plugins/authlogic/test/acts_as_authentic_test/base_test.rb +0 -18
  843. data/vendor/plugins/authlogic/test/acts_as_authentic_test/email_test.rb +0 -97
  844. data/vendor/plugins/authlogic/test/acts_as_authentic_test/logged_in_status_test.rb +0 -36
  845. data/vendor/plugins/authlogic/test/acts_as_authentic_test/login_test.rb +0 -109
  846. data/vendor/plugins/authlogic/test/acts_as_authentic_test/magic_columns_test.rb +0 -27
  847. data/vendor/plugins/authlogic/test/acts_as_authentic_test/password_test.rb +0 -236
  848. data/vendor/plugins/authlogic/test/acts_as_authentic_test/perishable_token_test.rb +0 -90
  849. data/vendor/plugins/authlogic/test/acts_as_authentic_test/persistence_token_test.rb +0 -55
  850. data/vendor/plugins/authlogic/test/acts_as_authentic_test/restful_authentication_test.rb +0 -40
  851. data/vendor/plugins/authlogic/test/acts_as_authentic_test/session_maintenance_test.rb +0 -84
  852. data/vendor/plugins/authlogic/test/acts_as_authentic_test/single_access_test.rb +0 -44
  853. data/vendor/plugins/authlogic/test/authenticates_many_test.rb +0 -16
  854. data/vendor/plugins/authlogic/test/crypto_provider_test/aes256_test.rb +0 -14
  855. data/vendor/plugins/authlogic/test/crypto_provider_test/bcrypt_test.rb +0 -14
  856. data/vendor/plugins/authlogic/test/crypto_provider_test/sha1_test.rb +0 -23
  857. data/vendor/plugins/authlogic/test/crypto_provider_test/sha256_test.rb +0 -14
  858. data/vendor/plugins/authlogic/test/crypto_provider_test/sha512_test.rb +0 -14
  859. data/vendor/plugins/authlogic/test/fixtures/companies.yml +0 -5
  860. data/vendor/plugins/authlogic/test/fixtures/employees.yml +0 -17
  861. data/vendor/plugins/authlogic/test/fixtures/projects.yml +0 -3
  862. data/vendor/plugins/authlogic/test/fixtures/users.yml +0 -24
  863. data/vendor/plugins/authlogic/test/i18n_test.rb +0 -33
  864. data/vendor/plugins/authlogic/test/libs/affiliate.rb +0 -7
  865. data/vendor/plugins/authlogic/test/libs/company.rb +0 -6
  866. data/vendor/plugins/authlogic/test/libs/employee.rb +0 -7
  867. data/vendor/plugins/authlogic/test/libs/employee_session.rb +0 -2
  868. data/vendor/plugins/authlogic/test/libs/ldaper.rb +0 -3
  869. data/vendor/plugins/authlogic/test/libs/ordered_hash.rb +0 -9
  870. data/vendor/plugins/authlogic/test/libs/project.rb +0 -3
  871. data/vendor/plugins/authlogic/test/libs/user.rb +0 -5
  872. data/vendor/plugins/authlogic/test/libs/user_session.rb +0 -6
  873. data/vendor/plugins/authlogic/test/random_test.rb +0 -49
  874. data/vendor/plugins/authlogic/test/session_test/activation_test.rb +0 -43
  875. data/vendor/plugins/authlogic/test/session_test/active_record_trickery_test.rb +0 -36
  876. data/vendor/plugins/authlogic/test/session_test/brute_force_protection_test.rb +0 -101
  877. data/vendor/plugins/authlogic/test/session_test/callbacks_test.rb +0 -6
  878. data/vendor/plugins/authlogic/test/session_test/cookies_test.rb +0 -112
  879. data/vendor/plugins/authlogic/test/session_test/credentials_test.rb +0 -0
  880. data/vendor/plugins/authlogic/test/session_test/existence_test.rb +0 -64
  881. data/vendor/plugins/authlogic/test/session_test/http_auth_test.rb +0 -28
  882. data/vendor/plugins/authlogic/test/session_test/id_test.rb +0 -17
  883. data/vendor/plugins/authlogic/test/session_test/klass_test.rb +0 -40
  884. data/vendor/plugins/authlogic/test/session_test/magic_columns_test.rb +0 -62
  885. data/vendor/plugins/authlogic/test/session_test/magic_states_test.rb +0 -60
  886. data/vendor/plugins/authlogic/test/session_test/params_test.rb +0 -53
  887. data/vendor/plugins/authlogic/test/session_test/password_test.rb +0 -106
  888. data/vendor/plugins/authlogic/test/session_test/perishability_test.rb +0 -15
  889. data/vendor/plugins/authlogic/test/session_test/persistence_test.rb +0 -21
  890. data/vendor/plugins/authlogic/test/session_test/scopes_test.rb +0 -60
  891. data/vendor/plugins/authlogic/test/session_test/session_test.rb +0 -59
  892. data/vendor/plugins/authlogic/test/session_test/timeout_test.rb +0 -52
  893. data/vendor/plugins/authlogic/test/session_test/unauthorized_record_test.rb +0 -13
  894. data/vendor/plugins/authlogic/test/session_test/validation_test.rb +0 -23
  895. data/vendor/plugins/authlogic/test/test_helper.rb +0 -182
  896. data/vendor/plugins/friendly_id/Changelog.md +0 -243
  897. data/vendor/plugins/friendly_id/Contributors.md +0 -30
  898. data/vendor/plugins/friendly_id/Gemfile +0 -2
  899. data/vendor/plugins/friendly_id/Guide.md +0 -509
  900. data/vendor/plugins/friendly_id/LICENSE +0 -19
  901. data/vendor/plugins/friendly_id/README.md +0 -76
  902. data/vendor/plugins/friendly_id/Rakefile +0 -68
  903. data/vendor/plugins/friendly_id/extras/README.txt +0 -3
  904. data/vendor/plugins/friendly_id/extras/bench.rb +0 -59
  905. data/vendor/plugins/friendly_id/extras/extras.rb +0 -31
  906. data/vendor/plugins/friendly_id/extras/prof.rb +0 -14
  907. data/vendor/plugins/friendly_id/extras/template-gem.rb +0 -26
  908. data/vendor/plugins/friendly_id/extras/template-plugin.rb +0 -28
  909. data/vendor/plugins/friendly_id/friendly_id.gemspec +0 -40
  910. data/vendor/plugins/friendly_id/generators/friendly_id/friendly_id_generator.rb +0 -28
  911. data/vendor/plugins/friendly_id/generators/friendly_id/templates/create_slugs.rb +0 -18
  912. data/vendor/plugins/friendly_id/lib/friendly_id.rb +0 -67
  913. data/vendor/plugins/friendly_id/lib/friendly_id/active_record2.rb +0 -47
  914. data/vendor/plugins/friendly_id/lib/friendly_id/active_record2/configuration.rb +0 -66
  915. data/vendor/plugins/friendly_id/lib/friendly_id/active_record2/finders.rb +0 -140
  916. data/vendor/plugins/friendly_id/lib/friendly_id/active_record2/simple_model.rb +0 -162
  917. data/vendor/plugins/friendly_id/lib/friendly_id/active_record2/slug.rb +0 -111
  918. data/vendor/plugins/friendly_id/lib/friendly_id/active_record2/slugged_model.rb +0 -323
  919. data/vendor/plugins/friendly_id/lib/friendly_id/active_record2/tasks.rb +0 -66
  920. data/vendor/plugins/friendly_id/lib/friendly_id/active_record2/tasks/friendly_id.rake +0 -19
  921. data/vendor/plugins/friendly_id/lib/friendly_id/configuration.rb +0 -132
  922. data/vendor/plugins/friendly_id/lib/friendly_id/finders.rb +0 -106
  923. data/vendor/plugins/friendly_id/lib/friendly_id/slug_string.rb +0 -292
  924. data/vendor/plugins/friendly_id/lib/friendly_id/slugged.rb +0 -91
  925. data/vendor/plugins/friendly_id/lib/friendly_id/status.rb +0 -35
  926. data/vendor/plugins/friendly_id/lib/friendly_id/test.rb +0 -175
  927. data/vendor/plugins/friendly_id/lib/friendly_id/version.rb +0 -8
  928. data/vendor/plugins/friendly_id/rails/init.rb +0 -2
  929. data/vendor/plugins/friendly_id/test/active_record2/basic_slugged_model_test.rb +0 -14
  930. data/vendor/plugins/friendly_id/test/active_record2/cached_slug_test.rb +0 -61
  931. data/vendor/plugins/friendly_id/test/active_record2/core.rb +0 -93
  932. data/vendor/plugins/friendly_id/test/active_record2/custom_normalizer_test.rb +0 -20
  933. data/vendor/plugins/friendly_id/test/active_record2/custom_table_name_test.rb +0 -22
  934. data/vendor/plugins/friendly_id/test/active_record2/deprecated_test.rb +0 -23
  935. data/vendor/plugins/friendly_id/test/active_record2/scoped_model_test.rb +0 -111
  936. data/vendor/plugins/friendly_id/test/active_record2/simple_test.rb +0 -59
  937. data/vendor/plugins/friendly_id/test/active_record2/slug_test.rb +0 -34
  938. data/vendor/plugins/friendly_id/test/active_record2/slugged.rb +0 -30
  939. data/vendor/plugins/friendly_id/test/active_record2/slugged_status_test.rb +0 -61
  940. data/vendor/plugins/friendly_id/test/active_record2/sti_test.rb +0 -22
  941. data/vendor/plugins/friendly_id/test/active_record2/support/database.mysql.yml +0 -4
  942. data/vendor/plugins/friendly_id/test/active_record2/support/database.postgres.yml +0 -6
  943. data/vendor/plugins/friendly_id/test/active_record2/support/database.sqlite3.yml +0 -2
  944. data/vendor/plugins/friendly_id/test/active_record2/support/models.rb +0 -78
  945. data/vendor/plugins/friendly_id/test/active_record2/tasks_test.rb +0 -82
  946. data/vendor/plugins/friendly_id/test/active_record2/test_helper.rb +0 -114
  947. data/vendor/plugins/friendly_id/test/friendly_id_test.rb +0 -60
  948. data/vendor/plugins/friendly_id/test/slug_string_test.rb +0 -78
  949. data/vendor/plugins/friendly_id/test/test_helper.rb +0 -9
  950. data/vendor/plugins/hpricot/CHANGELOG +0 -88
  951. data/vendor/plugins/hpricot/COPYING +0 -18
  952. data/vendor/plugins/hpricot/README +0 -275
  953. data/vendor/plugins/hpricot/Rakefile +0 -272
  954. data/vendor/plugins/hpricot/ext/fast_xs/FastXsService.java +0 -1030
  955. data/vendor/plugins/hpricot/ext/fast_xs/extconf.rb +0 -4
  956. data/vendor/plugins/hpricot/ext/fast_xs/fast_xs.c +0 -201
  957. data/vendor/plugins/hpricot/ext/hpricot_scan/HpricotCss.java +0 -831
  958. data/vendor/plugins/hpricot/ext/hpricot_scan/HpricotScanService.java +0 -2086
  959. data/vendor/plugins/hpricot/ext/hpricot_scan/MANIFEST +0 -0
  960. data/vendor/plugins/hpricot/ext/hpricot_scan/extconf.rb +0 -6
  961. data/vendor/plugins/hpricot/ext/hpricot_scan/hpricot_common.rl +0 -76
  962. data/vendor/plugins/hpricot/ext/hpricot_scan/hpricot_css.c +0 -3503
  963. data/vendor/plugins/hpricot/ext/hpricot_scan/hpricot_css.java.rl +0 -155
  964. data/vendor/plugins/hpricot/ext/hpricot_scan/hpricot_css.rl +0 -115
  965. data/vendor/plugins/hpricot/ext/hpricot_scan/hpricot_scan.c +0 -6927
  966. data/vendor/plugins/hpricot/ext/hpricot_scan/hpricot_scan.h +0 -79
  967. data/vendor/plugins/hpricot/ext/hpricot_scan/hpricot_scan.java.rl +0 -1152
  968. data/vendor/plugins/hpricot/ext/hpricot_scan/hpricot_scan.rl +0 -788
  969. data/vendor/plugins/hpricot/extras/mingw-rbconfig.rb +0 -176
  970. data/vendor/plugins/hpricot/hpricot.gemspec +0 -17
  971. data/vendor/plugins/hpricot/lib/hpricot.rb +0 -26
  972. data/vendor/plugins/hpricot/lib/hpricot/blankslate.rb +0 -63
  973. data/vendor/plugins/hpricot/lib/hpricot/builder.rb +0 -216
  974. data/vendor/plugins/hpricot/lib/hpricot/elements.rb +0 -510
  975. data/vendor/plugins/hpricot/lib/hpricot/htmlinfo.rb +0 -691
  976. data/vendor/plugins/hpricot/lib/hpricot/inspect.rb +0 -103
  977. data/vendor/plugins/hpricot/lib/hpricot/modules.rb +0 -40
  978. data/vendor/plugins/hpricot/lib/hpricot/parse.rb +0 -38
  979. data/vendor/plugins/hpricot/lib/hpricot/tag.rb +0 -219
  980. data/vendor/plugins/hpricot/lib/hpricot/tags.rb +0 -164
  981. data/vendor/plugins/hpricot/lib/hpricot/traverse.rb +0 -839
  982. data/vendor/plugins/hpricot/lib/hpricot/xchar.rb +0 -94
  983. data/vendor/plugins/hpricot/setup.rb +0 -1585
  984. data/vendor/plugins/hpricot/test/files/basic.xhtml +0 -17
  985. data/vendor/plugins/hpricot/test/files/boingboing.html +0 -2266
  986. data/vendor/plugins/hpricot/test/files/cy0.html +0 -3653
  987. data/vendor/plugins/hpricot/test/files/immob.html +0 -400
  988. data/vendor/plugins/hpricot/test/files/pace_application.html +0 -1320
  989. data/vendor/plugins/hpricot/test/files/tenderlove.html +0 -16
  990. data/vendor/plugins/hpricot/test/files/uswebgen.html +0 -220
  991. data/vendor/plugins/hpricot/test/files/utf8.html +0 -1054
  992. data/vendor/plugins/hpricot/test/files/week9.html +0 -1723
  993. data/vendor/plugins/hpricot/test/files/why.xml +0 -19
  994. data/vendor/plugins/hpricot/test/load_files.rb +0 -7
  995. data/vendor/plugins/hpricot/test/nokogiri-bench.rb +0 -64
  996. data/vendor/plugins/hpricot/test/test_alter.rb +0 -96
  997. data/vendor/plugins/hpricot/test/test_builder.rb +0 -37
  998. data/vendor/plugins/hpricot/test/test_parser.rb +0 -428
  999. data/vendor/plugins/hpricot/test/test_paths.rb +0 -25
  1000. data/vendor/plugins/hpricot/test/test_preserved.rb +0 -88
  1001. data/vendor/plugins/hpricot/test/test_xml.rb +0 -28
  1002. data/vendor/plugins/images/images.md +0 -53
  1003. data/vendor/plugins/inquiries/inquiries.md +0 -31
  1004. data/vendor/plugins/pages/pages.md +0 -146
  1005. data/vendor/plugins/rails_indexes/README.textile +0 -46
  1006. data/vendor/plugins/rails_indexes/Rakefile +0 -23
  1007. data/vendor/plugins/rails_indexes/lib/indexer.rb +0 -303
  1008. data/vendor/plugins/rails_indexes/tasks/indexer.rake +0 -18
  1009. data/vendor/plugins/rails_indexes/test/fixtures/app/controllers/users_controller.rb +0 -8
  1010. data/vendor/plugins/rails_indexes/test/fixtures/app/models/address.rb +0 -5
  1011. data/vendor/plugins/rails_indexes/test/fixtures/app/models/company.rb +0 -11
  1012. data/vendor/plugins/rails_indexes/test/fixtures/app/models/country.rb +0 -4
  1013. data/vendor/plugins/rails_indexes/test/fixtures/app/models/freelancer.rb +0 -3
  1014. data/vendor/plugins/rails_indexes/test/fixtures/app/models/gift.rb +0 -10
  1015. data/vendor/plugins/rails_indexes/test/fixtures/app/models/god.rb +0 -3
  1016. data/vendor/plugins/rails_indexes/test/fixtures/app/models/user.rb +0 -17
  1017. data/vendor/plugins/rails_indexes/test/fixtures/app/sweepers/user_sweeper.rb +0 -9
  1018. data/vendor/plugins/rails_indexes/test/fixtures/schema.rb +0 -46
  1019. data/vendor/plugins/rails_indexes/test/rails_indexes_test.rb +0 -83
  1020. data/vendor/plugins/rails_indexes/test/test_helper.rb +0 -30
  1021. data/vendor/plugins/refinery/app/views/admin/_footer.html.erb +0 -7
  1022. data/vendor/plugins/refinery/app/views/shared/_submenu.html.erb +0 -5
  1023. data/vendor/plugins/refinery/app/views/shared/_submenu_branch.html.erb +0 -10
  1024. data/vendor/plugins/themes/themes.md +0 -113
  1025. data/vendor/plugins/will_paginate/.manifest +0 -43
  1026. data/vendor/plugins/will_paginate/CHANGELOG.rdoc +0 -139
  1027. data/vendor/plugins/will_paginate/LICENSE +0 -18
  1028. data/vendor/plugins/will_paginate/README.rdoc +0 -107
  1029. data/vendor/plugins/will_paginate/Rakefile +0 -53
  1030. data/vendor/plugins/will_paginate/examples/apple-circle.gif +0 -0
  1031. data/vendor/plugins/will_paginate/examples/index.haml +0 -69
  1032. data/vendor/plugins/will_paginate/examples/index.html +0 -92
  1033. data/vendor/plugins/will_paginate/examples/pagination.css +0 -90
  1034. data/vendor/plugins/will_paginate/examples/pagination.sass +0 -91
  1035. data/vendor/plugins/will_paginate/init.rb +0 -1
  1036. data/vendor/plugins/will_paginate/lib/will_paginate.rb +0 -90
  1037. data/vendor/plugins/will_paginate/lib/will_paginate/array.rb +0 -16
  1038. data/vendor/plugins/will_paginate/lib/will_paginate/collection.rb +0 -146
  1039. data/vendor/plugins/will_paginate/lib/will_paginate/core_ext.rb +0 -43
  1040. data/vendor/plugins/will_paginate/lib/will_paginate/finder.rb +0 -264
  1041. data/vendor/plugins/will_paginate/lib/will_paginate/named_scope.rb +0 -170
  1042. data/vendor/plugins/will_paginate/lib/will_paginate/named_scope_patch.rb +0 -37
  1043. data/vendor/plugins/will_paginate/lib/will_paginate/version.rb +0 -9
  1044. data/vendor/plugins/will_paginate/lib/will_paginate/view_helpers.rb +0 -408
  1045. data/vendor/plugins/will_paginate/test/boot.rb +0 -21
  1046. data/vendor/plugins/will_paginate/test/collection_test.rb +0 -143
  1047. data/vendor/plugins/will_paginate/test/console +0 -8
  1048. data/vendor/plugins/will_paginate/test/database.yml +0 -22
  1049. data/vendor/plugins/will_paginate/test/finder_test.rb +0 -473
  1050. data/vendor/plugins/will_paginate/test/fixtures/admin.rb +0 -3
  1051. data/vendor/plugins/will_paginate/test/fixtures/developer.rb +0 -14
  1052. data/vendor/plugins/will_paginate/test/fixtures/developers_projects.yml +0 -13
  1053. data/vendor/plugins/will_paginate/test/fixtures/project.rb +0 -15
  1054. data/vendor/plugins/will_paginate/test/fixtures/projects.yml +0 -6
  1055. data/vendor/plugins/will_paginate/test/fixtures/replies.yml +0 -29
  1056. data/vendor/plugins/will_paginate/test/fixtures/reply.rb +0 -7
  1057. data/vendor/plugins/will_paginate/test/fixtures/schema.rb +0 -38
  1058. data/vendor/plugins/will_paginate/test/fixtures/topic.rb +0 -10
  1059. data/vendor/plugins/will_paginate/test/fixtures/topics.yml +0 -30
  1060. data/vendor/plugins/will_paginate/test/fixtures/user.rb +0 -2
  1061. data/vendor/plugins/will_paginate/test/fixtures/users.yml +0 -35
  1062. data/vendor/plugins/will_paginate/test/helper.rb +0 -37
  1063. data/vendor/plugins/will_paginate/test/lib/activerecord_test_case.rb +0 -43
  1064. data/vendor/plugins/will_paginate/test/lib/activerecord_test_connector.rb +0 -75
  1065. data/vendor/plugins/will_paginate/test/lib/load_fixtures.rb +0 -11
  1066. data/vendor/plugins/will_paginate/test/lib/view_test_process.rb +0 -179
  1067. data/vendor/plugins/will_paginate/test/tasks.rake +0 -59
  1068. data/vendor/plugins/will_paginate/test/view_test.rb +0 -373
  1069. data/vendor/plugins/will_paginate/will_paginate.gemspec +0 -19
File without changes
@@ -1,6 +0,0 @@
1
- require 'mkmf'
2
-
3
- dir_config("hpricot_scan")
4
- have_library("c", "main")
5
-
6
- create_makefile("hpricot_scan")
@@ -1,76 +0,0 @@
1
- %%{
2
-
3
- machine hpricot_common;
4
-
5
- #
6
- # HTML tokens
7
- # (a blatant rip from HTree)
8
- #
9
- newline = '\n' @{curline += 1;} ;
10
- NameChar = [\-A-Za-z0-9._:?] ;
11
- Name = [A-Za-z_:] NameChar* ;
12
- StartComment = "<!--" ;
13
- EndComment = "-->" ;
14
- StartCdata = "<![CDATA[" ;
15
- EndCdata = "]]>" ;
16
-
17
- NameCap = Name >_tag %tag;
18
- NameAttr = NameChar+ >_akey %akey ;
19
- Q1Char = ( "\\\'" | [^'] ) ;
20
- Q1Attr = Q1Char* >_aval %aval ;
21
- Q2Char = ( "\\\"" | [^"] ) ;
22
- Q2Attr = Q2Char* >_aval %aval ;
23
- UnqAttr = ( space >_aval | [^ \t\r\n<>"'] >_aval [^ \t\r\n<>]* %aunq ) ;
24
- Nmtoken = NameChar+ >_akey %akey ;
25
-
26
- Attr = NameAttr space* "=" space* ('"' Q2Attr '"' | "'" Q1Attr "'" | UnqAttr space+ ) space* ;
27
- AttrEnd = ( NameAttr space* "=" space* UnqAttr? | Nmtoken >new_attr %save_attr ) ;
28
- AttrSet = ( Attr >new_attr %save_attr | Nmtoken >new_attr space+ %save_attr ) ;
29
- StartTag = "<" NameCap space+ AttrSet* (AttrEnd >new_attr %save_attr)? ">" | "<" NameCap ">";
30
- EmptyTag = "<" NameCap space+ AttrSet* (AttrEnd >new_attr %save_attr)? "/>" | "<" NameCap "/>" ;
31
-
32
- EndTag = "</" NameCap space* ">" ;
33
- XmlVersionNum = [a-zA-Z0-9_.:\-]+ >_aval %xmlver ;
34
- XmlVersionInfo = space+ "version" space* "=" space* ("'" XmlVersionNum "'" | '"' XmlVersionNum '"' ) ;
35
- XmlEncName = [A-Za-z] >_aval [A-Za-z0-9._\-]* %xmlenc ;
36
- XmlEncodingDecl = space+ "encoding" space* "=" space* ("'" XmlEncName "'" | '"' XmlEncName '"' ) ;
37
- XmlYesNo = ("yes" | "no") >_aval %xmlsd ;
38
- XmlSDDecl = space+ "standalone" space* "=" space* ("'" XmlYesNo "'" | '"' XmlYesNo '"') ;
39
- XmlDecl = "<?xml" XmlVersionInfo XmlEncodingDecl? XmlSDDecl? space* "?"? ">" ;
40
-
41
- SystemLiteral = '"' [^"]* >_aval %sysid '"' | "'" [^']* >_aval %sysid "'" ;
42
- PubidLiteral = '"' [\t a-zA-Z0-9\-'()+,./:=?;!*\#@$_%]* >_aval %pubid '"' |
43
- "'" [\t a-zA-Z0-9\-'()+,./:=?;!*\#@$_%]* >_aval %pubid "'" ;
44
- ExternalID = ( "SYSTEM" | "PUBLIC" space+ PubidLiteral ) (space+ SystemLiteral)? ;
45
- DocType = "<!DOCTYPE" space+ NameCap (space+ ExternalID)? space* ("[" [^\]]* "]" space*)? ">" ;
46
- StartXmlProcIns = "<?" Name >{ TEXT_PASS(); } space+ ;
47
- EndXmlProcIns = "?"? ">" ;
48
-
49
- html_comment := |*
50
- EndComment @{ EBLK(comment, 3); fgoto main; };
51
- any | newline { TEXT_PASS(); };
52
- *|;
53
-
54
- html_cdata := |*
55
- EndCdata @{ EBLK(cdata, 3); fgoto main; };
56
- any | newline { TEXT_PASS(); };
57
- *|;
58
-
59
- html_procins := |*
60
- EndXmlProcIns @{ EBLK(procins, 2); fgoto main; };
61
- any | newline { TEXT_PASS(); };
62
- *|;
63
-
64
- main := |*
65
- XmlDecl >newEle { ELE(xmldecl); };
66
- DocType >newEle { ELE(doctype); };
67
- StartXmlProcIns >newEle { fgoto html_procins; };
68
- StartTag >newEle { ELE(stag); };
69
- EndTag >newEle { ELE(etag); };
70
- EmptyTag >newEle { ELE(emptytag); };
71
- StartComment >newEle { fgoto html_comment; };
72
- StartCdata >newEle { fgoto html_cdata; };
73
- any | newline { TEXT_PASS(); };
74
- *|;
75
-
76
- }%%;
@@ -1,3503 +0,0 @@
1
- #line 1 "hpricot_css.rl"
2
- /*
3
- * hpricot_css.rl
4
- * ragel -C hpricot_css.rl -o hpricot_css.c
5
- *
6
- * Copyright (C) 2008 why the lucky stiff
7
- */
8
- #include <ruby.h>
9
-
10
- #define FILTER(id) \
11
- rb_funcall2(mod, rb_intern("" # id), fargs, fvals); \
12
- rb_ary_clear(tmpt); \
13
- fargs = 1
14
- #define FILTERAUTO() \
15
- char filt[10]; \
16
- sprintf(filt, "%.*s", te - ts, ts); \
17
- rb_funcall2(mod, rb_intern(filt), fargs, fvals); \
18
- rb_ary_clear(tmpt); \
19
- fargs = 1
20
- #define PUSH(aps, ape) rb_ary_push(tmpt, fvals[fargs++] = rb_str_new(aps, ape - aps))
21
- #define P(id) printf(id ": %.*s\n", te - ts, ts);
22
-
23
-
24
- #line 25 "hpricot_css.c"
25
- static const int hpricot_css_start = 87;
26
- static const int hpricot_css_error = 0;
27
-
28
- static const int hpricot_css_en_main = 87;
29
-
30
- #line 87 "hpricot_css.rl"
31
-
32
-
33
- VALUE hpricot_css(VALUE self, VALUE mod, VALUE str, VALUE node)
34
- {
35
- int cs, act, eof;
36
- char *p, *pe, *ts, *te, *aps, *ape, *aps2, *ape2;
37
-
38
- int fargs = 1;
39
- VALUE fvals[6];
40
- VALUE focus = rb_ary_new3(1, node);
41
- VALUE tmpt = rb_ary_new();
42
- rb_gc_register_address(&focus);
43
- rb_gc_register_address(&tmpt);
44
- fvals[0] = focus;
45
-
46
- if (TYPE(str) != T_STRING)
47
- rb_raise(rb_eArgError, "bad CSS selector, String only please.");
48
-
49
- StringValue(str);
50
- p = RSTRING_PTR(str);
51
- pe = p + RSTRING_LEN(str);
52
-
53
-
54
- #line 55 "hpricot_css.c"
55
- {
56
- cs = hpricot_css_start;
57
- ts = 0;
58
- te = 0;
59
- act = 0;
60
- }
61
- #line 110 "hpricot_css.rl"
62
-
63
- #line 64 "hpricot_css.c"
64
- {
65
- if ( p == pe )
66
- goto _test_eof;
67
- switch ( cs )
68
- {
69
- tr0:
70
- #line 1 "hpricot_css.rl"
71
- { switch( act ) {
72
- case 0:
73
- {{goto st0;}}
74
- break;
75
- case 1:
76
- {{p = ((te))-1;} FILTER(ID); }
77
- break;
78
- case 2:
79
- {{p = ((te))-1;} FILTER(CLASS); }
80
- break;
81
- case 5:
82
- {{p = ((te))-1;} FILTER(TAG); }
83
- break;
84
- case 7:
85
- {{p = ((te))-1;} FILTER(CHILD); }
86
- break;
87
- case 8:
88
- {{p = ((te))-1;} FILTER(POS); }
89
- break;
90
- case 9:
91
- {{p = ((te))-1;} FILTER(PSUEDO); }
92
- break;
93
- default: break;
94
- }
95
- }
96
- goto st87;
97
- tr4:
98
- #line 83 "hpricot_css.rl"
99
- {{p = ((te))-1;}}
100
- goto st87;
101
- tr41:
102
- #line 80 "hpricot_css.rl"
103
- {{p = ((te))-1;}{ FILTER(PSUEDO); }}
104
- goto st87;
105
- tr46:
106
- #line 25 "hpricot_css.rl"
107
- {
108
- aps = p;
109
- }
110
- #line 29 "hpricot_css.rl"
111
- {
112
- ape = p;
113
- PUSH(aps, ape);
114
- }
115
- #line 80 "hpricot_css.rl"
116
- {te = p+1;{ FILTER(PSUEDO); }}
117
- goto st87;
118
- tr48:
119
- #line 29 "hpricot_css.rl"
120
- {
121
- ape = p;
122
- PUSH(aps, ape);
123
- }
124
- #line 80 "hpricot_css.rl"
125
- {te = p+1;{ FILTER(PSUEDO); }}
126
- goto st87;
127
- tr62:
128
- #line 79 "hpricot_css.rl"
129
- {{p = ((te))-1;}{ FILTER(POS); }}
130
- goto st87;
131
- tr64:
132
- #line 29 "hpricot_css.rl"
133
- {
134
- ape = p;
135
- PUSH(aps, ape);
136
- }
137
- #line 79 "hpricot_css.rl"
138
- {te = p+1;{ FILTER(POS); }}
139
- goto st87;
140
- tr66:
141
- #line 78 "hpricot_css.rl"
142
- {{p = ((te))-1;}{ FILTER(CHILD); }}
143
- goto st87;
144
- tr67:
145
- #line 25 "hpricot_css.rl"
146
- {
147
- aps = p;
148
- }
149
- #line 29 "hpricot_css.rl"
150
- {
151
- ape = p;
152
- PUSH(aps, ape);
153
- }
154
- #line 78 "hpricot_css.rl"
155
- {te = p+1;{ FILTER(CHILD); }}
156
- goto st87;
157
- tr71:
158
- #line 29 "hpricot_css.rl"
159
- {
160
- ape = p;
161
- PUSH(aps, ape);
162
- }
163
- #line 78 "hpricot_css.rl"
164
- {te = p+1;{ FILTER(CHILD); }}
165
- goto st87;
166
- tr100:
167
- #line 75 "hpricot_css.rl"
168
- {te = p+1;{ FILTER(ATTR); }}
169
- goto st87;
170
- tr105:
171
- #line 75 "hpricot_css.rl"
172
- {{p = ((te))-1;}{ FILTER(ATTR); }}
173
- goto st87;
174
- tr132:
175
- #line 29 "hpricot_css.rl"
176
- {
177
- ape = p;
178
- PUSH(aps, ape);
179
- }
180
- #line 74 "hpricot_css.rl"
181
- {te = p+1;{ FILTER(NAME); }}
182
- goto st87;
183
- tr143:
184
- #line 82 "hpricot_css.rl"
185
- {te = p+1;{ FILTERAUTO(); }}
186
- goto st87;
187
- tr149:
188
- #line 29 "hpricot_css.rl"
189
- {
190
- ape = p;
191
- PUSH(aps, ape);
192
- }
193
- #line 76 "hpricot_css.rl"
194
- {te = p;p--;{ FILTER(TAG); }}
195
- goto st87;
196
- tr153:
197
- #line 83 "hpricot_css.rl"
198
- {te = p;p--;}
199
- goto st87;
200
- tr154:
201
- #line 81 "hpricot_css.rl"
202
- {te = p;p--;{ focus = rb_ary_new3(1, node); }}
203
- goto st87;
204
- tr155:
205
- #line 29 "hpricot_css.rl"
206
- {
207
- ape = p;
208
- PUSH(aps, ape);
209
- }
210
- #line 72 "hpricot_css.rl"
211
- {te = p;p--;{ FILTER(ID); }}
212
- goto st87;
213
- tr159:
214
- #line 77 "hpricot_css.rl"
215
- {te = p;p--;{ FILTER(MOD); }}
216
- goto st87;
217
- tr162:
218
- #line 29 "hpricot_css.rl"
219
- {
220
- ape = p;
221
- PUSH(aps, ape);
222
- }
223
- #line 73 "hpricot_css.rl"
224
- {te = p;p--;{ FILTER(CLASS); }}
225
- goto st87;
226
- tr166:
227
- #line 29 "hpricot_css.rl"
228
- {
229
- ape = p;
230
- PUSH(aps, ape);
231
- }
232
- #line 80 "hpricot_css.rl"
233
- {te = p;p--;{ FILTER(PSUEDO); }}
234
- goto st87;
235
- tr173:
236
- #line 29 "hpricot_css.rl"
237
- {
238
- ape = p;
239
- PUSH(aps, ape);
240
- }
241
- #line 79 "hpricot_css.rl"
242
- {te = p;p--;{ FILTER(POS); }}
243
- goto st87;
244
- tr192:
245
- #line 29 "hpricot_css.rl"
246
- {
247
- ape = p;
248
- PUSH(aps, ape);
249
- }
250
- #line 78 "hpricot_css.rl"
251
- {te = p;p--;{ FILTER(CHILD); }}
252
- goto st87;
253
- tr200:
254
- #line 75 "hpricot_css.rl"
255
- {te = p;p--;{ FILTER(ATTR); }}
256
- goto st87;
257
- st87:
258
- #line 1 "hpricot_css.rl"
259
- {ts = 0;}
260
- #line 1 "hpricot_css.rl"
261
- {act = 0;}
262
- if ( ++p == pe )
263
- goto _test_eof87;
264
- case 87:
265
- #line 1 "hpricot_css.rl"
266
- {ts = p;}
267
- #line 268 "hpricot_css.c"
268
- switch( (*p) ) {
269
- case -60: goto tr133;
270
- case 32: goto tr137;
271
- case 35: goto st7;
272
- case 43: goto st92;
273
- case 44: goto st90;
274
- case 45: goto tr140;
275
- case 46: goto st13;
276
- case 58: goto st19;
277
- case 62: goto tr143;
278
- case 91: goto st52;
279
- case 92: goto tr146;
280
- case 95: goto tr144;
281
- case 101: goto tr147;
282
- case 110: goto tr140;
283
- case 111: goto tr148;
284
- case 126: goto tr143;
285
- }
286
- if ( (*p) < 9 ) {
287
- if ( (*p) < -32 ) {
288
- if ( -59 <= (*p) && (*p) <= -33 )
289
- goto tr134;
290
- } else if ( (*p) > -17 ) {
291
- if ( -16 <= (*p) && (*p) <= -12 )
292
- goto tr136;
293
- } else
294
- goto tr135;
295
- } else if ( (*p) > 13 ) {
296
- if ( (*p) < 65 ) {
297
- if ( 48 <= (*p) && (*p) <= 57 )
298
- goto tr140;
299
- } else if ( (*p) > 90 ) {
300
- if ( 97 <= (*p) && (*p) <= 122 )
301
- goto tr144;
302
- } else
303
- goto tr144;
304
- } else
305
- goto tr137;
306
- goto st0;
307
- st0:
308
- cs = 0;
309
- goto _out;
310
- tr133:
311
- #line 25 "hpricot_css.rl"
312
- {
313
- aps = p;
314
- }
315
- goto st1;
316
- st1:
317
- if ( ++p == pe )
318
- goto _test_eof1;
319
- case 1:
320
- #line 321 "hpricot_css.c"
321
- if ( -88 <= (*p) && (*p) <= -65 )
322
- goto tr1;
323
- goto tr0;
324
- tr1:
325
- #line 1 "hpricot_css.rl"
326
- {te = p+1;}
327
- #line 76 "hpricot_css.rl"
328
- {act = 5;}
329
- goto st88;
330
- tr144:
331
- #line 1 "hpricot_css.rl"
332
- {te = p+1;}
333
- #line 25 "hpricot_css.rl"
334
- {
335
- aps = p;
336
- }
337
- #line 76 "hpricot_css.rl"
338
- {act = 5;}
339
- goto st88;
340
- st88:
341
- if ( ++p == pe )
342
- goto _test_eof88;
343
- case 88:
344
- #line 345 "hpricot_css.c"
345
- switch( (*p) ) {
346
- case -60: goto st1;
347
- case 45: goto tr1;
348
- case 92: goto st5;
349
- case 95: goto tr1;
350
- }
351
- if ( (*p) < -16 ) {
352
- if ( (*p) > -33 ) {
353
- if ( -32 <= (*p) && (*p) <= -17 )
354
- goto st3;
355
- } else if ( (*p) >= -59 )
356
- goto st2;
357
- } else if ( (*p) > -12 ) {
358
- if ( (*p) < 65 ) {
359
- if ( 48 <= (*p) && (*p) <= 57 )
360
- goto tr1;
361
- } else if ( (*p) > 90 ) {
362
- if ( 97 <= (*p) && (*p) <= 122 )
363
- goto tr1;
364
- } else
365
- goto tr1;
366
- } else
367
- goto st4;
368
- goto tr149;
369
- tr134:
370
- #line 25 "hpricot_css.rl"
371
- {
372
- aps = p;
373
- }
374
- goto st2;
375
- st2:
376
- if ( ++p == pe )
377
- goto _test_eof2;
378
- case 2:
379
- #line 380 "hpricot_css.c"
380
- if ( (*p) <= -65 )
381
- goto tr1;
382
- goto tr0;
383
- tr135:
384
- #line 25 "hpricot_css.rl"
385
- {
386
- aps = p;
387
- }
388
- goto st3;
389
- st3:
390
- if ( ++p == pe )
391
- goto _test_eof3;
392
- case 3:
393
- #line 394 "hpricot_css.c"
394
- if ( (*p) <= -65 )
395
- goto st2;
396
- goto tr0;
397
- tr136:
398
- #line 25 "hpricot_css.rl"
399
- {
400
- aps = p;
401
- }
402
- goto st4;
403
- st4:
404
- if ( ++p == pe )
405
- goto _test_eof4;
406
- case 4:
407
- #line 408 "hpricot_css.c"
408
- if ( (*p) <= -65 )
409
- goto st3;
410
- goto tr0;
411
- tr146:
412
- #line 25 "hpricot_css.rl"
413
- {
414
- aps = p;
415
- }
416
- goto st5;
417
- st5:
418
- if ( ++p == pe )
419
- goto _test_eof5;
420
- case 5:
421
- #line 422 "hpricot_css.c"
422
- if ( (*p) == 46 )
423
- goto tr1;
424
- goto tr0;
425
- tr137:
426
- #line 1 "hpricot_css.rl"
427
- {te = p+1;}
428
- goto st89;
429
- st89:
430
- if ( ++p == pe )
431
- goto _test_eof89;
432
- case 89:
433
- #line 434 "hpricot_css.c"
434
- switch( (*p) ) {
435
- case 32: goto st6;
436
- case 44: goto st90;
437
- }
438
- if ( 9 <= (*p) && (*p) <= 13 )
439
- goto st6;
440
- goto tr153;
441
- st6:
442
- if ( ++p == pe )
443
- goto _test_eof6;
444
- case 6:
445
- switch( (*p) ) {
446
- case 32: goto st6;
447
- case 44: goto st90;
448
- }
449
- if ( 9 <= (*p) && (*p) <= 13 )
450
- goto st6;
451
- goto tr4;
452
- st90:
453
- if ( ++p == pe )
454
- goto _test_eof90;
455
- case 90:
456
- if ( (*p) == 32 )
457
- goto st90;
458
- if ( 9 <= (*p) && (*p) <= 13 )
459
- goto st90;
460
- goto tr154;
461
- st7:
462
- if ( ++p == pe )
463
- goto _test_eof7;
464
- case 7:
465
- switch( (*p) ) {
466
- case -60: goto tr7;
467
- case 45: goto tr12;
468
- case 92: goto tr13;
469
- case 95: goto tr12;
470
- }
471
- if ( (*p) < -16 ) {
472
- if ( (*p) > -33 ) {
473
- if ( -32 <= (*p) && (*p) <= -17 )
474
- goto tr10;
475
- } else if ( (*p) >= -59 )
476
- goto tr9;
477
- } else if ( (*p) > -12 ) {
478
- if ( (*p) < 65 ) {
479
- if ( 48 <= (*p) && (*p) <= 57 )
480
- goto tr12;
481
- } else if ( (*p) > 90 ) {
482
- if ( 97 <= (*p) && (*p) <= 122 )
483
- goto tr12;
484
- } else
485
- goto tr12;
486
- } else
487
- goto tr11;
488
- goto st0;
489
- tr7:
490
- #line 25 "hpricot_css.rl"
491
- {
492
- aps = p;
493
- }
494
- goto st8;
495
- st8:
496
- if ( ++p == pe )
497
- goto _test_eof8;
498
- case 8:
499
- #line 500 "hpricot_css.c"
500
- if ( -88 <= (*p) && (*p) <= -65 )
501
- goto tr14;
502
- goto tr0;
503
- tr12:
504
- #line 1 "hpricot_css.rl"
505
- {te = p+1;}
506
- #line 25 "hpricot_css.rl"
507
- {
508
- aps = p;
509
- }
510
- #line 72 "hpricot_css.rl"
511
- {act = 1;}
512
- goto st91;
513
- tr14:
514
- #line 1 "hpricot_css.rl"
515
- {te = p+1;}
516
- #line 72 "hpricot_css.rl"
517
- {act = 1;}
518
- goto st91;
519
- st91:
520
- if ( ++p == pe )
521
- goto _test_eof91;
522
- case 91:
523
- #line 524 "hpricot_css.c"
524
- switch( (*p) ) {
525
- case -60: goto st8;
526
- case 45: goto tr14;
527
- case 92: goto st12;
528
- case 95: goto tr14;
529
- }
530
- if ( (*p) < -16 ) {
531
- if ( (*p) > -33 ) {
532
- if ( -32 <= (*p) && (*p) <= -17 )
533
- goto st10;
534
- } else if ( (*p) >= -59 )
535
- goto st9;
536
- } else if ( (*p) > -12 ) {
537
- if ( (*p) < 65 ) {
538
- if ( 48 <= (*p) && (*p) <= 57 )
539
- goto tr14;
540
- } else if ( (*p) > 90 ) {
541
- if ( 97 <= (*p) && (*p) <= 122 )
542
- goto tr14;
543
- } else
544
- goto tr14;
545
- } else
546
- goto st11;
547
- goto tr155;
548
- tr9:
549
- #line 25 "hpricot_css.rl"
550
- {
551
- aps = p;
552
- }
553
- goto st9;
554
- st9:
555
- if ( ++p == pe )
556
- goto _test_eof9;
557
- case 9:
558
- #line 559 "hpricot_css.c"
559
- if ( (*p) <= -65 )
560
- goto tr14;
561
- goto tr0;
562
- tr10:
563
- #line 25 "hpricot_css.rl"
564
- {
565
- aps = p;
566
- }
567
- goto st10;
568
- st10:
569
- if ( ++p == pe )
570
- goto _test_eof10;
571
- case 10:
572
- #line 573 "hpricot_css.c"
573
- if ( (*p) <= -65 )
574
- goto st9;
575
- goto tr0;
576
- tr11:
577
- #line 25 "hpricot_css.rl"
578
- {
579
- aps = p;
580
- }
581
- goto st11;
582
- st11:
583
- if ( ++p == pe )
584
- goto _test_eof11;
585
- case 11:
586
- #line 587 "hpricot_css.c"
587
- if ( (*p) <= -65 )
588
- goto st10;
589
- goto tr0;
590
- tr13:
591
- #line 25 "hpricot_css.rl"
592
- {
593
- aps = p;
594
- }
595
- goto st12;
596
- st12:
597
- if ( ++p == pe )
598
- goto _test_eof12;
599
- case 12:
600
- #line 601 "hpricot_css.c"
601
- if ( (*p) == 46 )
602
- goto tr14;
603
- goto tr0;
604
- tr160:
605
- #line 29 "hpricot_css.rl"
606
- {
607
- ape = p;
608
- PUSH(aps, ape);
609
- }
610
- goto st92;
611
- st92:
612
- if ( ++p == pe )
613
- goto _test_eof92;
614
- case 92:
615
- #line 616 "hpricot_css.c"
616
- switch( (*p) ) {
617
- case 43: goto st92;
618
- case 45: goto st92;
619
- case 110: goto st92;
620
- }
621
- if ( 48 <= (*p) && (*p) <= 57 )
622
- goto st92;
623
- goto tr159;
624
- tr161:
625
- #line 1 "hpricot_css.rl"
626
- {te = p+1;}
627
- #line 76 "hpricot_css.rl"
628
- {act = 5;}
629
- goto st93;
630
- tr140:
631
- #line 1 "hpricot_css.rl"
632
- {te = p+1;}
633
- #line 25 "hpricot_css.rl"
634
- {
635
- aps = p;
636
- }
637
- #line 76 "hpricot_css.rl"
638
- {act = 5;}
639
- goto st93;
640
- st93:
641
- if ( ++p == pe )
642
- goto _test_eof93;
643
- case 93:
644
- #line 645 "hpricot_css.c"
645
- switch( (*p) ) {
646
- case -60: goto st1;
647
- case 43: goto tr160;
648
- case 45: goto tr161;
649
- case 92: goto st5;
650
- case 95: goto tr1;
651
- case 110: goto tr161;
652
- }
653
- if ( (*p) < -16 ) {
654
- if ( (*p) > -33 ) {
655
- if ( -32 <= (*p) && (*p) <= -17 )
656
- goto st3;
657
- } else if ( (*p) >= -59 )
658
- goto st2;
659
- } else if ( (*p) > -12 ) {
660
- if ( (*p) < 65 ) {
661
- if ( 48 <= (*p) && (*p) <= 57 )
662
- goto tr161;
663
- } else if ( (*p) > 90 ) {
664
- if ( 97 <= (*p) && (*p) <= 122 )
665
- goto tr1;
666
- } else
667
- goto tr1;
668
- } else
669
- goto st4;
670
- goto tr149;
671
- st13:
672
- if ( ++p == pe )
673
- goto _test_eof13;
674
- case 13:
675
- switch( (*p) ) {
676
- case -60: goto tr17;
677
- case 45: goto tr21;
678
- case 92: goto tr22;
679
- case 95: goto tr21;
680
- }
681
- if ( (*p) < -16 ) {
682
- if ( (*p) > -33 ) {
683
- if ( -32 <= (*p) && (*p) <= -17 )
684
- goto tr19;
685
- } else if ( (*p) >= -59 )
686
- goto tr18;
687
- } else if ( (*p) > -12 ) {
688
- if ( (*p) < 65 ) {
689
- if ( 48 <= (*p) && (*p) <= 57 )
690
- goto tr21;
691
- } else if ( (*p) > 90 ) {
692
- if ( 97 <= (*p) && (*p) <= 122 )
693
- goto tr21;
694
- } else
695
- goto tr21;
696
- } else
697
- goto tr20;
698
- goto st0;
699
- tr17:
700
- #line 25 "hpricot_css.rl"
701
- {
702
- aps = p;
703
- }
704
- goto st14;
705
- st14:
706
- if ( ++p == pe )
707
- goto _test_eof14;
708
- case 14:
709
- #line 710 "hpricot_css.c"
710
- if ( -88 <= (*p) && (*p) <= -65 )
711
- goto tr23;
712
- goto tr0;
713
- tr21:
714
- #line 1 "hpricot_css.rl"
715
- {te = p+1;}
716
- #line 25 "hpricot_css.rl"
717
- {
718
- aps = p;
719
- }
720
- #line 73 "hpricot_css.rl"
721
- {act = 2;}
722
- goto st94;
723
- tr23:
724
- #line 1 "hpricot_css.rl"
725
- {te = p+1;}
726
- #line 73 "hpricot_css.rl"
727
- {act = 2;}
728
- goto st94;
729
- st94:
730
- if ( ++p == pe )
731
- goto _test_eof94;
732
- case 94:
733
- #line 734 "hpricot_css.c"
734
- switch( (*p) ) {
735
- case -60: goto st14;
736
- case 45: goto tr23;
737
- case 92: goto st18;
738
- case 95: goto tr23;
739
- }
740
- if ( (*p) < -16 ) {
741
- if ( (*p) > -33 ) {
742
- if ( -32 <= (*p) && (*p) <= -17 )
743
- goto st16;
744
- } else if ( (*p) >= -59 )
745
- goto st15;
746
- } else if ( (*p) > -12 ) {
747
- if ( (*p) < 65 ) {
748
- if ( 48 <= (*p) && (*p) <= 57 )
749
- goto tr23;
750
- } else if ( (*p) > 90 ) {
751
- if ( 97 <= (*p) && (*p) <= 122 )
752
- goto tr23;
753
- } else
754
- goto tr23;
755
- } else
756
- goto st17;
757
- goto tr162;
758
- tr18:
759
- #line 25 "hpricot_css.rl"
760
- {
761
- aps = p;
762
- }
763
- goto st15;
764
- st15:
765
- if ( ++p == pe )
766
- goto _test_eof15;
767
- case 15:
768
- #line 769 "hpricot_css.c"
769
- if ( (*p) <= -65 )
770
- goto tr23;
771
- goto tr0;
772
- tr19:
773
- #line 25 "hpricot_css.rl"
774
- {
775
- aps = p;
776
- }
777
- goto st16;
778
- st16:
779
- if ( ++p == pe )
780
- goto _test_eof16;
781
- case 16:
782
- #line 783 "hpricot_css.c"
783
- if ( (*p) <= -65 )
784
- goto st15;
785
- goto tr0;
786
- tr20:
787
- #line 25 "hpricot_css.rl"
788
- {
789
- aps = p;
790
- }
791
- goto st17;
792
- st17:
793
- if ( ++p == pe )
794
- goto _test_eof17;
795
- case 17:
796
- #line 797 "hpricot_css.c"
797
- if ( (*p) <= -65 )
798
- goto st16;
799
- goto tr0;
800
- tr22:
801
- #line 25 "hpricot_css.rl"
802
- {
803
- aps = p;
804
- }
805
- goto st18;
806
- st18:
807
- if ( ++p == pe )
808
- goto _test_eof18;
809
- case 18:
810
- #line 811 "hpricot_css.c"
811
- if ( (*p) == 46 )
812
- goto tr23;
813
- goto tr0;
814
- st19:
815
- if ( ++p == pe )
816
- goto _test_eof19;
817
- case 19:
818
- switch( (*p) ) {
819
- case -60: goto tr26;
820
- case 45: goto tr30;
821
- case 92: goto tr31;
822
- case 95: goto tr30;
823
- case 101: goto tr32;
824
- case 102: goto tr33;
825
- case 103: goto tr34;
826
- case 108: goto tr35;
827
- case 110: goto tr36;
828
- case 111: goto tr37;
829
- }
830
- if ( (*p) < -16 ) {
831
- if ( (*p) > -33 ) {
832
- if ( -32 <= (*p) && (*p) <= -17 )
833
- goto tr28;
834
- } else if ( (*p) >= -59 )
835
- goto tr27;
836
- } else if ( (*p) > -12 ) {
837
- if ( (*p) < 65 ) {
838
- if ( 48 <= (*p) && (*p) <= 57 )
839
- goto tr30;
840
- } else if ( (*p) > 90 ) {
841
- if ( 97 <= (*p) && (*p) <= 122 )
842
- goto tr30;
843
- } else
844
- goto tr30;
845
- } else
846
- goto tr29;
847
- goto st0;
848
- tr26:
849
- #line 25 "hpricot_css.rl"
850
- {
851
- aps = p;
852
- }
853
- goto st20;
854
- tr174:
855
- #line 29 "hpricot_css.rl"
856
- {
857
- ape = p;
858
- PUSH(aps, ape);
859
- }
860
- goto st20;
861
- st20:
862
- if ( ++p == pe )
863
- goto _test_eof20;
864
- case 20:
865
- #line 866 "hpricot_css.c"
866
- if ( -88 <= (*p) && (*p) <= -65 )
867
- goto tr38;
868
- goto tr0;
869
- tr30:
870
- #line 1 "hpricot_css.rl"
871
- {te = p+1;}
872
- #line 25 "hpricot_css.rl"
873
- {
874
- aps = p;
875
- }
876
- #line 80 "hpricot_css.rl"
877
- {act = 9;}
878
- goto st95;
879
- tr38:
880
- #line 1 "hpricot_css.rl"
881
- {te = p+1;}
882
- #line 80 "hpricot_css.rl"
883
- {act = 9;}
884
- goto st95;
885
- tr179:
886
- #line 1 "hpricot_css.rl"
887
- {te = p+1;}
888
- #line 29 "hpricot_css.rl"
889
- {
890
- ape = p;
891
- PUSH(aps, ape);
892
- }
893
- #line 80 "hpricot_css.rl"
894
- {act = 9;}
895
- goto st95;
896
- st95:
897
- if ( ++p == pe )
898
- goto _test_eof95;
899
- case 95:
900
- #line 901 "hpricot_css.c"
901
- switch( (*p) ) {
902
- case -60: goto st20;
903
- case 40: goto tr169;
904
- case 45: goto tr38;
905
- case 92: goto st41;
906
- case 95: goto tr38;
907
- }
908
- if ( (*p) < -16 ) {
909
- if ( (*p) > -33 ) {
910
- if ( -32 <= (*p) && (*p) <= -17 )
911
- goto st22;
912
- } else if ( (*p) >= -59 )
913
- goto st21;
914
- } else if ( (*p) > -12 ) {
915
- if ( (*p) < 65 ) {
916
- if ( 48 <= (*p) && (*p) <= 57 )
917
- goto tr38;
918
- } else if ( (*p) > 90 ) {
919
- if ( 97 <= (*p) && (*p) <= 122 )
920
- goto tr38;
921
- } else
922
- goto tr38;
923
- } else
924
- goto st23;
925
- goto tr166;
926
- tr27:
927
- #line 25 "hpricot_css.rl"
928
- {
929
- aps = p;
930
- }
931
- goto st21;
932
- tr175:
933
- #line 29 "hpricot_css.rl"
934
- {
935
- ape = p;
936
- PUSH(aps, ape);
937
- }
938
- goto st21;
939
- st21:
940
- if ( ++p == pe )
941
- goto _test_eof21;
942
- case 21:
943
- #line 944 "hpricot_css.c"
944
- if ( (*p) <= -65 )
945
- goto tr38;
946
- goto tr0;
947
- tr28:
948
- #line 25 "hpricot_css.rl"
949
- {
950
- aps = p;
951
- }
952
- goto st22;
953
- tr176:
954
- #line 29 "hpricot_css.rl"
955
- {
956
- ape = p;
957
- PUSH(aps, ape);
958
- }
959
- goto st22;
960
- st22:
961
- if ( ++p == pe )
962
- goto _test_eof22;
963
- case 22:
964
- #line 965 "hpricot_css.c"
965
- if ( (*p) <= -65 )
966
- goto st21;
967
- goto tr0;
968
- tr29:
969
- #line 25 "hpricot_css.rl"
970
- {
971
- aps = p;
972
- }
973
- goto st23;
974
- tr177:
975
- #line 29 "hpricot_css.rl"
976
- {
977
- ape = p;
978
- PUSH(aps, ape);
979
- }
980
- goto st23;
981
- st23:
982
- if ( ++p == pe )
983
- goto _test_eof23;
984
- case 23:
985
- #line 986 "hpricot_css.c"
986
- if ( (*p) <= -65 )
987
- goto st22;
988
- goto tr0;
989
- tr169:
990
- #line 29 "hpricot_css.rl"
991
- {
992
- ape = p;
993
- PUSH(aps, ape);
994
- }
995
- goto st24;
996
- st24:
997
- if ( ++p == pe )
998
- goto _test_eof24;
999
- case 24:
1000
- #line 1001 "hpricot_css.c"
1001
- switch( (*p) ) {
1002
- case 34: goto tr43;
1003
- case 39: goto tr44;
1004
- case 40: goto tr45;
1005
- case 41: goto tr46;
1006
- }
1007
- goto tr42;
1008
- tr42:
1009
- #line 25 "hpricot_css.rl"
1010
- {
1011
- aps = p;
1012
- }
1013
- goto st25;
1014
- st25:
1015
- if ( ++p == pe )
1016
- goto _test_eof25;
1017
- case 25:
1018
- #line 1019 "hpricot_css.c"
1019
- switch( (*p) ) {
1020
- case 34: goto tr0;
1021
- case 40: goto tr0;
1022
- case 41: goto tr48;
1023
- }
1024
- goto st25;
1025
- tr43:
1026
- #line 25 "hpricot_css.rl"
1027
- {
1028
- aps = p;
1029
- }
1030
- goto st26;
1031
- st26:
1032
- if ( ++p == pe )
1033
- goto _test_eof26;
1034
- case 26:
1035
- #line 1036 "hpricot_css.c"
1036
- switch( (*p) ) {
1037
- case 34: goto st28;
1038
- case 40: goto st29;
1039
- case 41: goto tr0;
1040
- }
1041
- goto st27;
1042
- st27:
1043
- if ( ++p == pe )
1044
- goto _test_eof27;
1045
- case 27:
1046
- if ( (*p) == 34 )
1047
- goto st28;
1048
- if ( 40 <= (*p) && (*p) <= 41 )
1049
- goto tr0;
1050
- goto st27;
1051
- st28:
1052
- if ( ++p == pe )
1053
- goto _test_eof28;
1054
- case 28:
1055
- if ( (*p) == 41 )
1056
- goto tr48;
1057
- goto tr0;
1058
- st29:
1059
- if ( ++p == pe )
1060
- goto _test_eof29;
1061
- case 29:
1062
- if ( (*p) == 41 )
1063
- goto tr0;
1064
- goto st30;
1065
- st30:
1066
- if ( ++p == pe )
1067
- goto _test_eof30;
1068
- case 30:
1069
- if ( (*p) == 41 )
1070
- goto st31;
1071
- goto st30;
1072
- st31:
1073
- if ( ++p == pe )
1074
- goto _test_eof31;
1075
- case 31:
1076
- switch( (*p) ) {
1077
- case 34: goto st28;
1078
- case 40: goto st29;
1079
- }
1080
- goto tr0;
1081
- tr44:
1082
- #line 25 "hpricot_css.rl"
1083
- {
1084
- aps = p;
1085
- }
1086
- goto st32;
1087
- st32:
1088
- if ( ++p == pe )
1089
- goto _test_eof32;
1090
- case 32:
1091
- #line 1092 "hpricot_css.c"
1092
- switch( (*p) ) {
1093
- case 34: goto st34;
1094
- case 39: goto st25;
1095
- case 40: goto st35;
1096
- case 41: goto tr48;
1097
- }
1098
- goto st33;
1099
- st33:
1100
- if ( ++p == pe )
1101
- goto _test_eof33;
1102
- case 33:
1103
- switch( (*p) ) {
1104
- case 34: goto st34;
1105
- case 39: goto st25;
1106
- case 40: goto tr0;
1107
- case 41: goto tr48;
1108
- }
1109
- goto st33;
1110
- st34:
1111
- if ( ++p == pe )
1112
- goto _test_eof34;
1113
- case 34:
1114
- if ( (*p) == 39 )
1115
- goto st28;
1116
- if ( 40 <= (*p) && (*p) <= 41 )
1117
- goto tr0;
1118
- goto st34;
1119
- st35:
1120
- if ( ++p == pe )
1121
- goto _test_eof35;
1122
- case 35:
1123
- if ( (*p) == 41 )
1124
- goto tr0;
1125
- goto st36;
1126
- st36:
1127
- if ( ++p == pe )
1128
- goto _test_eof36;
1129
- case 36:
1130
- if ( (*p) == 41 )
1131
- goto st37;
1132
- goto st36;
1133
- st37:
1134
- if ( ++p == pe )
1135
- goto _test_eof37;
1136
- case 37:
1137
- switch( (*p) ) {
1138
- case 39: goto st28;
1139
- case 40: goto st35;
1140
- }
1141
- goto tr0;
1142
- tr45:
1143
- #line 25 "hpricot_css.rl"
1144
- {
1145
- aps = p;
1146
- }
1147
- goto st38;
1148
- st38:
1149
- if ( ++p == pe )
1150
- goto _test_eof38;
1151
- case 38:
1152
- #line 1153 "hpricot_css.c"
1153
- if ( (*p) == 41 )
1154
- goto tr0;
1155
- goto st39;
1156
- st39:
1157
- if ( ++p == pe )
1158
- goto _test_eof39;
1159
- case 39:
1160
- if ( (*p) == 41 )
1161
- goto st40;
1162
- goto st39;
1163
- st40:
1164
- if ( ++p == pe )
1165
- goto _test_eof40;
1166
- case 40:
1167
- switch( (*p) ) {
1168
- case 40: goto st38;
1169
- case 41: goto tr48;
1170
- }
1171
- goto tr0;
1172
- tr31:
1173
- #line 25 "hpricot_css.rl"
1174
- {
1175
- aps = p;
1176
- }
1177
- goto st41;
1178
- tr180:
1179
- #line 29 "hpricot_css.rl"
1180
- {
1181
- ape = p;
1182
- PUSH(aps, ape);
1183
- }
1184
- goto st41;
1185
- st41:
1186
- if ( ++p == pe )
1187
- goto _test_eof41;
1188
- case 41:
1189
- #line 1190 "hpricot_css.c"
1190
- if ( (*p) == 46 )
1191
- goto tr38;
1192
- goto tr0;
1193
- tr32:
1194
- #line 1 "hpricot_css.rl"
1195
- {te = p+1;}
1196
- #line 25 "hpricot_css.rl"
1197
- {
1198
- aps = p;
1199
- }
1200
- #line 80 "hpricot_css.rl"
1201
- {act = 9;}
1202
- goto st96;
1203
- st96:
1204
- if ( ++p == pe )
1205
- goto _test_eof96;
1206
- case 96:
1207
- #line 1208 "hpricot_css.c"
1208
- switch( (*p) ) {
1209
- case -60: goto st20;
1210
- case 40: goto tr169;
1211
- case 45: goto tr38;
1212
- case 92: goto st41;
1213
- case 95: goto tr38;
1214
- case 113: goto tr171;
1215
- case 118: goto tr172;
1216
- }
1217
- if ( (*p) < -16 ) {
1218
- if ( (*p) > -33 ) {
1219
- if ( -32 <= (*p) && (*p) <= -17 )
1220
- goto st22;
1221
- } else if ( (*p) >= -59 )
1222
- goto st21;
1223
- } else if ( (*p) > -12 ) {
1224
- if ( (*p) < 65 ) {
1225
- if ( 48 <= (*p) && (*p) <= 57 )
1226
- goto tr38;
1227
- } else if ( (*p) > 90 ) {
1228
- if ( 97 <= (*p) && (*p) <= 122 )
1229
- goto tr38;
1230
- } else
1231
- goto tr38;
1232
- } else
1233
- goto st23;
1234
- goto tr166;
1235
- tr171:
1236
- #line 1 "hpricot_css.rl"
1237
- {te = p+1;}
1238
- #line 79 "hpricot_css.rl"
1239
- {act = 8;}
1240
- goto st97;
1241
- st97:
1242
- if ( ++p == pe )
1243
- goto _test_eof97;
1244
- case 97:
1245
- #line 1246 "hpricot_css.c"
1246
- switch( (*p) ) {
1247
- case -60: goto tr174;
1248
- case 40: goto tr178;
1249
- case 45: goto tr179;
1250
- case 92: goto tr180;
1251
- case 95: goto tr179;
1252
- }
1253
- if ( (*p) < -16 ) {
1254
- if ( (*p) > -33 ) {
1255
- if ( -32 <= (*p) && (*p) <= -17 )
1256
- goto tr176;
1257
- } else if ( (*p) >= -59 )
1258
- goto tr175;
1259
- } else if ( (*p) > -12 ) {
1260
- if ( (*p) < 65 ) {
1261
- if ( 48 <= (*p) && (*p) <= 57 )
1262
- goto tr179;
1263
- } else if ( (*p) > 90 ) {
1264
- if ( 97 <= (*p) && (*p) <= 122 )
1265
- goto tr179;
1266
- } else
1267
- goto tr179;
1268
- } else
1269
- goto tr177;
1270
- goto tr173;
1271
- tr178:
1272
- #line 29 "hpricot_css.rl"
1273
- {
1274
- ape = p;
1275
- PUSH(aps, ape);
1276
- }
1277
- goto st42;
1278
- st42:
1279
- if ( ++p == pe )
1280
- goto _test_eof42;
1281
- case 42:
1282
- #line 1283 "hpricot_css.c"
1283
- switch( (*p) ) {
1284
- case 34: goto tr43;
1285
- case 39: goto tr44;
1286
- case 40: goto tr45;
1287
- case 41: goto tr46;
1288
- }
1289
- if ( 48 <= (*p) && (*p) <= 57 )
1290
- goto tr63;
1291
- goto tr42;
1292
- tr63:
1293
- #line 25 "hpricot_css.rl"
1294
- {
1295
- aps = p;
1296
- }
1297
- goto st43;
1298
- st43:
1299
- if ( ++p == pe )
1300
- goto _test_eof43;
1301
- case 43:
1302
- #line 1303 "hpricot_css.c"
1303
- switch( (*p) ) {
1304
- case 34: goto tr62;
1305
- case 40: goto tr62;
1306
- case 41: goto tr64;
1307
- }
1308
- if ( 48 <= (*p) && (*p) <= 57 )
1309
- goto st43;
1310
- goto st25;
1311
- tr172:
1312
- #line 1 "hpricot_css.rl"
1313
- {te = p+1;}
1314
- #line 80 "hpricot_css.rl"
1315
- {act = 9;}
1316
- goto st98;
1317
- st98:
1318
- if ( ++p == pe )
1319
- goto _test_eof98;
1320
- case 98:
1321
- #line 1322 "hpricot_css.c"
1322
- switch( (*p) ) {
1323
- case -60: goto st20;
1324
- case 40: goto tr169;
1325
- case 45: goto tr38;
1326
- case 92: goto st41;
1327
- case 95: goto tr38;
1328
- case 101: goto tr181;
1329
- }
1330
- if ( (*p) < -16 ) {
1331
- if ( (*p) > -33 ) {
1332
- if ( -32 <= (*p) && (*p) <= -17 )
1333
- goto st22;
1334
- } else if ( (*p) >= -59 )
1335
- goto st21;
1336
- } else if ( (*p) > -12 ) {
1337
- if ( (*p) < 65 ) {
1338
- if ( 48 <= (*p) && (*p) <= 57 )
1339
- goto tr38;
1340
- } else if ( (*p) > 90 ) {
1341
- if ( 97 <= (*p) && (*p) <= 122 )
1342
- goto tr38;
1343
- } else
1344
- goto tr38;
1345
- } else
1346
- goto st23;
1347
- goto tr166;
1348
- tr181:
1349
- #line 1 "hpricot_css.rl"
1350
- {te = p+1;}
1351
- #line 80 "hpricot_css.rl"
1352
- {act = 9;}
1353
- goto st99;
1354
- st99:
1355
- if ( ++p == pe )
1356
- goto _test_eof99;
1357
- case 99:
1358
- #line 1359 "hpricot_css.c"
1359
- switch( (*p) ) {
1360
- case -60: goto st20;
1361
- case 40: goto tr169;
1362
- case 45: goto tr38;
1363
- case 92: goto st41;
1364
- case 95: goto tr38;
1365
- case 110: goto tr171;
1366
- }
1367
- if ( (*p) < -16 ) {
1368
- if ( (*p) > -33 ) {
1369
- if ( -32 <= (*p) && (*p) <= -17 )
1370
- goto st22;
1371
- } else if ( (*p) >= -59 )
1372
- goto st21;
1373
- } else if ( (*p) > -12 ) {
1374
- if ( (*p) < 65 ) {
1375
- if ( 48 <= (*p) && (*p) <= 57 )
1376
- goto tr38;
1377
- } else if ( (*p) > 90 ) {
1378
- if ( 97 <= (*p) && (*p) <= 122 )
1379
- goto tr38;
1380
- } else
1381
- goto tr38;
1382
- } else
1383
- goto st23;
1384
- goto tr166;
1385
- tr33:
1386
- #line 1 "hpricot_css.rl"
1387
- {te = p+1;}
1388
- #line 25 "hpricot_css.rl"
1389
- {
1390
- aps = p;
1391
- }
1392
- #line 80 "hpricot_css.rl"
1393
- {act = 9;}
1394
- goto st100;
1395
- st100:
1396
- if ( ++p == pe )
1397
- goto _test_eof100;
1398
- case 100:
1399
- #line 1400 "hpricot_css.c"
1400
- switch( (*p) ) {
1401
- case -60: goto st20;
1402
- case 40: goto tr169;
1403
- case 45: goto tr38;
1404
- case 92: goto st41;
1405
- case 95: goto tr38;
1406
- case 105: goto tr182;
1407
- }
1408
- if ( (*p) < -16 ) {
1409
- if ( (*p) > -33 ) {
1410
- if ( -32 <= (*p) && (*p) <= -17 )
1411
- goto st22;
1412
- } else if ( (*p) >= -59 )
1413
- goto st21;
1414
- } else if ( (*p) > -12 ) {
1415
- if ( (*p) < 65 ) {
1416
- if ( 48 <= (*p) && (*p) <= 57 )
1417
- goto tr38;
1418
- } else if ( (*p) > 90 ) {
1419
- if ( 97 <= (*p) && (*p) <= 122 )
1420
- goto tr38;
1421
- } else
1422
- goto tr38;
1423
- } else
1424
- goto st23;
1425
- goto tr166;
1426
- tr182:
1427
- #line 1 "hpricot_css.rl"
1428
- {te = p+1;}
1429
- #line 80 "hpricot_css.rl"
1430
- {act = 9;}
1431
- goto st101;
1432
- st101:
1433
- if ( ++p == pe )
1434
- goto _test_eof101;
1435
- case 101:
1436
- #line 1437 "hpricot_css.c"
1437
- switch( (*p) ) {
1438
- case -60: goto st20;
1439
- case 40: goto tr169;
1440
- case 45: goto tr38;
1441
- case 92: goto st41;
1442
- case 95: goto tr38;
1443
- case 114: goto tr183;
1444
- }
1445
- if ( (*p) < -16 ) {
1446
- if ( (*p) > -33 ) {
1447
- if ( -32 <= (*p) && (*p) <= -17 )
1448
- goto st22;
1449
- } else if ( (*p) >= -59 )
1450
- goto st21;
1451
- } else if ( (*p) > -12 ) {
1452
- if ( (*p) < 65 ) {
1453
- if ( 48 <= (*p) && (*p) <= 57 )
1454
- goto tr38;
1455
- } else if ( (*p) > 90 ) {
1456
- if ( 97 <= (*p) && (*p) <= 122 )
1457
- goto tr38;
1458
- } else
1459
- goto tr38;
1460
- } else
1461
- goto st23;
1462
- goto tr166;
1463
- tr183:
1464
- #line 1 "hpricot_css.rl"
1465
- {te = p+1;}
1466
- #line 80 "hpricot_css.rl"
1467
- {act = 9;}
1468
- goto st102;
1469
- st102:
1470
- if ( ++p == pe )
1471
- goto _test_eof102;
1472
- case 102:
1473
- #line 1474 "hpricot_css.c"
1474
- switch( (*p) ) {
1475
- case -60: goto st20;
1476
- case 40: goto tr169;
1477
- case 45: goto tr38;
1478
- case 92: goto st41;
1479
- case 95: goto tr38;
1480
- case 115: goto tr184;
1481
- }
1482
- if ( (*p) < -16 ) {
1483
- if ( (*p) > -33 ) {
1484
- if ( -32 <= (*p) && (*p) <= -17 )
1485
- goto st22;
1486
- } else if ( (*p) >= -59 )
1487
- goto st21;
1488
- } else if ( (*p) > -12 ) {
1489
- if ( (*p) < 65 ) {
1490
- if ( 48 <= (*p) && (*p) <= 57 )
1491
- goto tr38;
1492
- } else if ( (*p) > 90 ) {
1493
- if ( 97 <= (*p) && (*p) <= 122 )
1494
- goto tr38;
1495
- } else
1496
- goto tr38;
1497
- } else
1498
- goto st23;
1499
- goto tr166;
1500
- tr184:
1501
- #line 1 "hpricot_css.rl"
1502
- {te = p+1;}
1503
- #line 80 "hpricot_css.rl"
1504
- {act = 9;}
1505
- goto st103;
1506
- st103:
1507
- if ( ++p == pe )
1508
- goto _test_eof103;
1509
- case 103:
1510
- #line 1511 "hpricot_css.c"
1511
- switch( (*p) ) {
1512
- case -60: goto st20;
1513
- case 40: goto tr169;
1514
- case 45: goto tr38;
1515
- case 92: goto st41;
1516
- case 95: goto tr38;
1517
- case 116: goto tr185;
1518
- }
1519
- if ( (*p) < -16 ) {
1520
- if ( (*p) > -33 ) {
1521
- if ( -32 <= (*p) && (*p) <= -17 )
1522
- goto st22;
1523
- } else if ( (*p) >= -59 )
1524
- goto st21;
1525
- } else if ( (*p) > -12 ) {
1526
- if ( (*p) < 65 ) {
1527
- if ( 48 <= (*p) && (*p) <= 57 )
1528
- goto tr38;
1529
- } else if ( (*p) > 90 ) {
1530
- if ( 97 <= (*p) && (*p) <= 122 )
1531
- goto tr38;
1532
- } else
1533
- goto tr38;
1534
- } else
1535
- goto st23;
1536
- goto tr166;
1537
- tr185:
1538
- #line 1 "hpricot_css.rl"
1539
- {te = p+1;}
1540
- #line 79 "hpricot_css.rl"
1541
- {act = 8;}
1542
- goto st104;
1543
- st104:
1544
- if ( ++p == pe )
1545
- goto _test_eof104;
1546
- case 104:
1547
- #line 1548 "hpricot_css.c"
1548
- switch( (*p) ) {
1549
- case -60: goto tr174;
1550
- case 40: goto tr178;
1551
- case 45: goto tr186;
1552
- case 92: goto tr180;
1553
- case 95: goto tr179;
1554
- }
1555
- if ( (*p) < -16 ) {
1556
- if ( (*p) > -33 ) {
1557
- if ( -32 <= (*p) && (*p) <= -17 )
1558
- goto tr176;
1559
- } else if ( (*p) >= -59 )
1560
- goto tr175;
1561
- } else if ( (*p) > -12 ) {
1562
- if ( (*p) < 65 ) {
1563
- if ( 48 <= (*p) && (*p) <= 57 )
1564
- goto tr179;
1565
- } else if ( (*p) > 90 ) {
1566
- if ( 97 <= (*p) && (*p) <= 122 )
1567
- goto tr179;
1568
- } else
1569
- goto tr179;
1570
- } else
1571
- goto tr177;
1572
- goto tr173;
1573
- tr199:
1574
- #line 1 "hpricot_css.rl"
1575
- {te = p+1;}
1576
- #line 80 "hpricot_css.rl"
1577
- {act = 9;}
1578
- goto st105;
1579
- tr186:
1580
- #line 1 "hpricot_css.rl"
1581
- {te = p+1;}
1582
- #line 29 "hpricot_css.rl"
1583
- {
1584
- ape = p;
1585
- PUSH(aps, ape);
1586
- }
1587
- #line 80 "hpricot_css.rl"
1588
- {act = 9;}
1589
- goto st105;
1590
- st105:
1591
- if ( ++p == pe )
1592
- goto _test_eof105;
1593
- case 105:
1594
- #line 1595 "hpricot_css.c"
1595
- switch( (*p) ) {
1596
- case -60: goto st20;
1597
- case 40: goto tr169;
1598
- case 45: goto tr38;
1599
- case 92: goto st41;
1600
- case 95: goto tr38;
1601
- case 99: goto tr187;
1602
- }
1603
- if ( (*p) < -16 ) {
1604
- if ( (*p) > -33 ) {
1605
- if ( -32 <= (*p) && (*p) <= -17 )
1606
- goto st22;
1607
- } else if ( (*p) >= -59 )
1608
- goto st21;
1609
- } else if ( (*p) > -12 ) {
1610
- if ( (*p) < 65 ) {
1611
- if ( 48 <= (*p) && (*p) <= 57 )
1612
- goto tr38;
1613
- } else if ( (*p) > 90 ) {
1614
- if ( 97 <= (*p) && (*p) <= 122 )
1615
- goto tr38;
1616
- } else
1617
- goto tr38;
1618
- } else
1619
- goto st23;
1620
- goto tr166;
1621
- tr187:
1622
- #line 1 "hpricot_css.rl"
1623
- {te = p+1;}
1624
- #line 80 "hpricot_css.rl"
1625
- {act = 9;}
1626
- goto st106;
1627
- st106:
1628
- if ( ++p == pe )
1629
- goto _test_eof106;
1630
- case 106:
1631
- #line 1632 "hpricot_css.c"
1632
- switch( (*p) ) {
1633
- case -60: goto st20;
1634
- case 40: goto tr169;
1635
- case 45: goto tr38;
1636
- case 92: goto st41;
1637
- case 95: goto tr38;
1638
- case 104: goto tr188;
1639
- }
1640
- if ( (*p) < -16 ) {
1641
- if ( (*p) > -33 ) {
1642
- if ( -32 <= (*p) && (*p) <= -17 )
1643
- goto st22;
1644
- } else if ( (*p) >= -59 )
1645
- goto st21;
1646
- } else if ( (*p) > -12 ) {
1647
- if ( (*p) < 65 ) {
1648
- if ( 48 <= (*p) && (*p) <= 57 )
1649
- goto tr38;
1650
- } else if ( (*p) > 90 ) {
1651
- if ( 97 <= (*p) && (*p) <= 122 )
1652
- goto tr38;
1653
- } else
1654
- goto tr38;
1655
- } else
1656
- goto st23;
1657
- goto tr166;
1658
- tr188:
1659
- #line 1 "hpricot_css.rl"
1660
- {te = p+1;}
1661
- #line 80 "hpricot_css.rl"
1662
- {act = 9;}
1663
- goto st107;
1664
- st107:
1665
- if ( ++p == pe )
1666
- goto _test_eof107;
1667
- case 107:
1668
- #line 1669 "hpricot_css.c"
1669
- switch( (*p) ) {
1670
- case -60: goto st20;
1671
- case 40: goto tr169;
1672
- case 45: goto tr38;
1673
- case 92: goto st41;
1674
- case 95: goto tr38;
1675
- case 105: goto tr189;
1676
- }
1677
- if ( (*p) < -16 ) {
1678
- if ( (*p) > -33 ) {
1679
- if ( -32 <= (*p) && (*p) <= -17 )
1680
- goto st22;
1681
- } else if ( (*p) >= -59 )
1682
- goto st21;
1683
- } else if ( (*p) > -12 ) {
1684
- if ( (*p) < 65 ) {
1685
- if ( 48 <= (*p) && (*p) <= 57 )
1686
- goto tr38;
1687
- } else if ( (*p) > 90 ) {
1688
- if ( 97 <= (*p) && (*p) <= 122 )
1689
- goto tr38;
1690
- } else
1691
- goto tr38;
1692
- } else
1693
- goto st23;
1694
- goto tr166;
1695
- tr189:
1696
- #line 1 "hpricot_css.rl"
1697
- {te = p+1;}
1698
- #line 80 "hpricot_css.rl"
1699
- {act = 9;}
1700
- goto st108;
1701
- st108:
1702
- if ( ++p == pe )
1703
- goto _test_eof108;
1704
- case 108:
1705
- #line 1706 "hpricot_css.c"
1706
- switch( (*p) ) {
1707
- case -60: goto st20;
1708
- case 40: goto tr169;
1709
- case 45: goto tr38;
1710
- case 92: goto st41;
1711
- case 95: goto tr38;
1712
- case 108: goto tr190;
1713
- }
1714
- if ( (*p) < -16 ) {
1715
- if ( (*p) > -33 ) {
1716
- if ( -32 <= (*p) && (*p) <= -17 )
1717
- goto st22;
1718
- } else if ( (*p) >= -59 )
1719
- goto st21;
1720
- } else if ( (*p) > -12 ) {
1721
- if ( (*p) < 65 ) {
1722
- if ( 48 <= (*p) && (*p) <= 57 )
1723
- goto tr38;
1724
- } else if ( (*p) > 90 ) {
1725
- if ( 97 <= (*p) && (*p) <= 122 )
1726
- goto tr38;
1727
- } else
1728
- goto tr38;
1729
- } else
1730
- goto st23;
1731
- goto tr166;
1732
- tr190:
1733
- #line 1 "hpricot_css.rl"
1734
- {te = p+1;}
1735
- #line 80 "hpricot_css.rl"
1736
- {act = 9;}
1737
- goto st109;
1738
- st109:
1739
- if ( ++p == pe )
1740
- goto _test_eof109;
1741
- case 109:
1742
- #line 1743 "hpricot_css.c"
1743
- switch( (*p) ) {
1744
- case -60: goto st20;
1745
- case 40: goto tr169;
1746
- case 45: goto tr38;
1747
- case 92: goto st41;
1748
- case 95: goto tr38;
1749
- case 100: goto tr191;
1750
- }
1751
- if ( (*p) < -16 ) {
1752
- if ( (*p) > -33 ) {
1753
- if ( -32 <= (*p) && (*p) <= -17 )
1754
- goto st22;
1755
- } else if ( (*p) >= -59 )
1756
- goto st21;
1757
- } else if ( (*p) > -12 ) {
1758
- if ( (*p) < 65 ) {
1759
- if ( 48 <= (*p) && (*p) <= 57 )
1760
- goto tr38;
1761
- } else if ( (*p) > 90 ) {
1762
- if ( 97 <= (*p) && (*p) <= 122 )
1763
- goto tr38;
1764
- } else
1765
- goto tr38;
1766
- } else
1767
- goto st23;
1768
- goto tr166;
1769
- tr191:
1770
- #line 1 "hpricot_css.rl"
1771
- {te = p+1;}
1772
- #line 78 "hpricot_css.rl"
1773
- {act = 7;}
1774
- goto st110;
1775
- st110:
1776
- if ( ++p == pe )
1777
- goto _test_eof110;
1778
- case 110:
1779
- #line 1780 "hpricot_css.c"
1780
- switch( (*p) ) {
1781
- case -60: goto tr174;
1782
- case 40: goto tr193;
1783
- case 45: goto tr179;
1784
- case 92: goto tr180;
1785
- case 95: goto tr179;
1786
- }
1787
- if ( (*p) < -16 ) {
1788
- if ( (*p) > -33 ) {
1789
- if ( -32 <= (*p) && (*p) <= -17 )
1790
- goto tr176;
1791
- } else if ( (*p) >= -59 )
1792
- goto tr175;
1793
- } else if ( (*p) > -12 ) {
1794
- if ( (*p) < 65 ) {
1795
- if ( 48 <= (*p) && (*p) <= 57 )
1796
- goto tr179;
1797
- } else if ( (*p) > 90 ) {
1798
- if ( 97 <= (*p) && (*p) <= 122 )
1799
- goto tr179;
1800
- } else
1801
- goto tr179;
1802
- } else
1803
- goto tr177;
1804
- goto tr192;
1805
- tr193:
1806
- #line 29 "hpricot_css.rl"
1807
- {
1808
- ape = p;
1809
- PUSH(aps, ape);
1810
- }
1811
- goto st44;
1812
- st44:
1813
- if ( ++p == pe )
1814
- goto _test_eof44;
1815
- case 44:
1816
- #line 1817 "hpricot_css.c"
1817
- switch( (*p) ) {
1818
- case 34: goto tr43;
1819
- case 39: goto tr44;
1820
- case 40: goto tr45;
1821
- case 41: goto tr67;
1822
- case 43: goto tr68;
1823
- case 45: goto tr68;
1824
- case 101: goto tr69;
1825
- case 110: goto tr68;
1826
- case 111: goto tr70;
1827
- }
1828
- if ( 48 <= (*p) && (*p) <= 57 )
1829
- goto tr68;
1830
- goto tr42;
1831
- tr68:
1832
- #line 25 "hpricot_css.rl"
1833
- {
1834
- aps = p;
1835
- }
1836
- goto st45;
1837
- st45:
1838
- if ( ++p == pe )
1839
- goto _test_eof45;
1840
- case 45:
1841
- #line 1842 "hpricot_css.c"
1842
- switch( (*p) ) {
1843
- case 34: goto tr66;
1844
- case 40: goto tr66;
1845
- case 41: goto tr71;
1846
- case 43: goto st45;
1847
- case 45: goto st45;
1848
- case 110: goto st45;
1849
- }
1850
- if ( 48 <= (*p) && (*p) <= 57 )
1851
- goto st45;
1852
- goto st25;
1853
- tr69:
1854
- #line 25 "hpricot_css.rl"
1855
- {
1856
- aps = p;
1857
- }
1858
- goto st46;
1859
- st46:
1860
- if ( ++p == pe )
1861
- goto _test_eof46;
1862
- case 46:
1863
- #line 1864 "hpricot_css.c"
1864
- switch( (*p) ) {
1865
- case 34: goto tr66;
1866
- case 40: goto tr66;
1867
- case 41: goto tr48;
1868
- case 118: goto st47;
1869
- }
1870
- goto st25;
1871
- st47:
1872
- if ( ++p == pe )
1873
- goto _test_eof47;
1874
- case 47:
1875
- switch( (*p) ) {
1876
- case 34: goto tr66;
1877
- case 40: goto tr66;
1878
- case 41: goto tr48;
1879
- case 101: goto st48;
1880
- }
1881
- goto st25;
1882
- st48:
1883
- if ( ++p == pe )
1884
- goto _test_eof48;
1885
- case 48:
1886
- switch( (*p) ) {
1887
- case 34: goto tr66;
1888
- case 40: goto tr66;
1889
- case 41: goto tr48;
1890
- case 110: goto st49;
1891
- }
1892
- goto st25;
1893
- st49:
1894
- if ( ++p == pe )
1895
- goto _test_eof49;
1896
- case 49:
1897
- switch( (*p) ) {
1898
- case 34: goto tr66;
1899
- case 40: goto tr66;
1900
- case 41: goto tr71;
1901
- }
1902
- goto st25;
1903
- tr70:
1904
- #line 25 "hpricot_css.rl"
1905
- {
1906
- aps = p;
1907
- }
1908
- goto st50;
1909
- st50:
1910
- if ( ++p == pe )
1911
- goto _test_eof50;
1912
- case 50:
1913
- #line 1914 "hpricot_css.c"
1914
- switch( (*p) ) {
1915
- case 34: goto tr66;
1916
- case 40: goto tr66;
1917
- case 41: goto tr48;
1918
- case 100: goto st51;
1919
- }
1920
- goto st25;
1921
- st51:
1922
- if ( ++p == pe )
1923
- goto _test_eof51;
1924
- case 51:
1925
- switch( (*p) ) {
1926
- case 34: goto tr66;
1927
- case 40: goto tr66;
1928
- case 41: goto tr48;
1929
- case 100: goto st49;
1930
- }
1931
- goto st25;
1932
- tr34:
1933
- #line 1 "hpricot_css.rl"
1934
- {te = p+1;}
1935
- #line 25 "hpricot_css.rl"
1936
- {
1937
- aps = p;
1938
- }
1939
- #line 80 "hpricot_css.rl"
1940
- {act = 9;}
1941
- goto st111;
1942
- st111:
1943
- if ( ++p == pe )
1944
- goto _test_eof111;
1945
- case 111:
1946
- #line 1947 "hpricot_css.c"
1947
- switch( (*p) ) {
1948
- case -60: goto st20;
1949
- case 40: goto tr169;
1950
- case 45: goto tr38;
1951
- case 92: goto st41;
1952
- case 95: goto tr38;
1953
- case 116: goto tr171;
1954
- }
1955
- if ( (*p) < -16 ) {
1956
- if ( (*p) > -33 ) {
1957
- if ( -32 <= (*p) && (*p) <= -17 )
1958
- goto st22;
1959
- } else if ( (*p) >= -59 )
1960
- goto st21;
1961
- } else if ( (*p) > -12 ) {
1962
- if ( (*p) < 65 ) {
1963
- if ( 48 <= (*p) && (*p) <= 57 )
1964
- goto tr38;
1965
- } else if ( (*p) > 90 ) {
1966
- if ( 97 <= (*p) && (*p) <= 122 )
1967
- goto tr38;
1968
- } else
1969
- goto tr38;
1970
- } else
1971
- goto st23;
1972
- goto tr166;
1973
- tr35:
1974
- #line 1 "hpricot_css.rl"
1975
- {te = p+1;}
1976
- #line 25 "hpricot_css.rl"
1977
- {
1978
- aps = p;
1979
- }
1980
- #line 80 "hpricot_css.rl"
1981
- {act = 9;}
1982
- goto st112;
1983
- st112:
1984
- if ( ++p == pe )
1985
- goto _test_eof112;
1986
- case 112:
1987
- #line 1988 "hpricot_css.c"
1988
- switch( (*p) ) {
1989
- case -60: goto st20;
1990
- case 40: goto tr169;
1991
- case 45: goto tr38;
1992
- case 92: goto st41;
1993
- case 95: goto tr38;
1994
- case 97: goto tr183;
1995
- case 116: goto tr171;
1996
- }
1997
- if ( (*p) < -16 ) {
1998
- if ( (*p) > -33 ) {
1999
- if ( -32 <= (*p) && (*p) <= -17 )
2000
- goto st22;
2001
- } else if ( (*p) >= -59 )
2002
- goto st21;
2003
- } else if ( (*p) > -12 ) {
2004
- if ( (*p) < 65 ) {
2005
- if ( 48 <= (*p) && (*p) <= 57 )
2006
- goto tr38;
2007
- } else if ( (*p) > 90 ) {
2008
- if ( 98 <= (*p) && (*p) <= 122 )
2009
- goto tr38;
2010
- } else
2011
- goto tr38;
2012
- } else
2013
- goto st23;
2014
- goto tr166;
2015
- tr36:
2016
- #line 1 "hpricot_css.rl"
2017
- {te = p+1;}
2018
- #line 25 "hpricot_css.rl"
2019
- {
2020
- aps = p;
2021
- }
2022
- #line 80 "hpricot_css.rl"
2023
- {act = 9;}
2024
- goto st113;
2025
- st113:
2026
- if ( ++p == pe )
2027
- goto _test_eof113;
2028
- case 113:
2029
- #line 2030 "hpricot_css.c"
2030
- switch( (*p) ) {
2031
- case -60: goto st20;
2032
- case 40: goto tr169;
2033
- case 45: goto tr38;
2034
- case 92: goto st41;
2035
- case 95: goto tr38;
2036
- case 116: goto tr194;
2037
- }
2038
- if ( (*p) < -16 ) {
2039
- if ( (*p) > -33 ) {
2040
- if ( -32 <= (*p) && (*p) <= -17 )
2041
- goto st22;
2042
- } else if ( (*p) >= -59 )
2043
- goto st21;
2044
- } else if ( (*p) > -12 ) {
2045
- if ( (*p) < 65 ) {
2046
- if ( 48 <= (*p) && (*p) <= 57 )
2047
- goto tr38;
2048
- } else if ( (*p) > 90 ) {
2049
- if ( 97 <= (*p) && (*p) <= 122 )
2050
- goto tr38;
2051
- } else
2052
- goto tr38;
2053
- } else
2054
- goto st23;
2055
- goto tr166;
2056
- tr194:
2057
- #line 1 "hpricot_css.rl"
2058
- {te = p+1;}
2059
- #line 80 "hpricot_css.rl"
2060
- {act = 9;}
2061
- goto st114;
2062
- st114:
2063
- if ( ++p == pe )
2064
- goto _test_eof114;
2065
- case 114:
2066
- #line 2067 "hpricot_css.c"
2067
- switch( (*p) ) {
2068
- case -60: goto st20;
2069
- case 40: goto tr169;
2070
- case 45: goto tr38;
2071
- case 92: goto st41;
2072
- case 95: goto tr38;
2073
- case 104: goto tr185;
2074
- }
2075
- if ( (*p) < -16 ) {
2076
- if ( (*p) > -33 ) {
2077
- if ( -32 <= (*p) && (*p) <= -17 )
2078
- goto st22;
2079
- } else if ( (*p) >= -59 )
2080
- goto st21;
2081
- } else if ( (*p) > -12 ) {
2082
- if ( (*p) < 65 ) {
2083
- if ( 48 <= (*p) && (*p) <= 57 )
2084
- goto tr38;
2085
- } else if ( (*p) > 90 ) {
2086
- if ( 97 <= (*p) && (*p) <= 122 )
2087
- goto tr38;
2088
- } else
2089
- goto tr38;
2090
- } else
2091
- goto st23;
2092
- goto tr166;
2093
- tr37:
2094
- #line 1 "hpricot_css.rl"
2095
- {te = p+1;}
2096
- #line 25 "hpricot_css.rl"
2097
- {
2098
- aps = p;
2099
- }
2100
- #line 80 "hpricot_css.rl"
2101
- {act = 9;}
2102
- goto st115;
2103
- st115:
2104
- if ( ++p == pe )
2105
- goto _test_eof115;
2106
- case 115:
2107
- #line 2108 "hpricot_css.c"
2108
- switch( (*p) ) {
2109
- case -60: goto st20;
2110
- case 40: goto tr169;
2111
- case 45: goto tr38;
2112
- case 92: goto st41;
2113
- case 95: goto tr38;
2114
- case 100: goto tr195;
2115
- case 110: goto tr196;
2116
- }
2117
- if ( (*p) < -16 ) {
2118
- if ( (*p) > -33 ) {
2119
- if ( -32 <= (*p) && (*p) <= -17 )
2120
- goto st22;
2121
- } else if ( (*p) >= -59 )
2122
- goto st21;
2123
- } else if ( (*p) > -12 ) {
2124
- if ( (*p) < 65 ) {
2125
- if ( 48 <= (*p) && (*p) <= 57 )
2126
- goto tr38;
2127
- } else if ( (*p) > 90 ) {
2128
- if ( 97 <= (*p) && (*p) <= 122 )
2129
- goto tr38;
2130
- } else
2131
- goto tr38;
2132
- } else
2133
- goto st23;
2134
- goto tr166;
2135
- tr195:
2136
- #line 1 "hpricot_css.rl"
2137
- {te = p+1;}
2138
- #line 80 "hpricot_css.rl"
2139
- {act = 9;}
2140
- goto st116;
2141
- st116:
2142
- if ( ++p == pe )
2143
- goto _test_eof116;
2144
- case 116:
2145
- #line 2146 "hpricot_css.c"
2146
- switch( (*p) ) {
2147
- case -60: goto st20;
2148
- case 40: goto tr169;
2149
- case 45: goto tr38;
2150
- case 92: goto st41;
2151
- case 95: goto tr38;
2152
- case 100: goto tr171;
2153
- }
2154
- if ( (*p) < -16 ) {
2155
- if ( (*p) > -33 ) {
2156
- if ( -32 <= (*p) && (*p) <= -17 )
2157
- goto st22;
2158
- } else if ( (*p) >= -59 )
2159
- goto st21;
2160
- } else if ( (*p) > -12 ) {
2161
- if ( (*p) < 65 ) {
2162
- if ( 48 <= (*p) && (*p) <= 57 )
2163
- goto tr38;
2164
- } else if ( (*p) > 90 ) {
2165
- if ( 97 <= (*p) && (*p) <= 122 )
2166
- goto tr38;
2167
- } else
2168
- goto tr38;
2169
- } else
2170
- goto st23;
2171
- goto tr166;
2172
- tr196:
2173
- #line 1 "hpricot_css.rl"
2174
- {te = p+1;}
2175
- #line 80 "hpricot_css.rl"
2176
- {act = 9;}
2177
- goto st117;
2178
- st117:
2179
- if ( ++p == pe )
2180
- goto _test_eof117;
2181
- case 117:
2182
- #line 2183 "hpricot_css.c"
2183
- switch( (*p) ) {
2184
- case -60: goto st20;
2185
- case 40: goto tr169;
2186
- case 45: goto tr38;
2187
- case 92: goto st41;
2188
- case 95: goto tr38;
2189
- case 108: goto tr197;
2190
- }
2191
- if ( (*p) < -16 ) {
2192
- if ( (*p) > -33 ) {
2193
- if ( -32 <= (*p) && (*p) <= -17 )
2194
- goto st22;
2195
- } else if ( (*p) >= -59 )
2196
- goto st21;
2197
- } else if ( (*p) > -12 ) {
2198
- if ( (*p) < 65 ) {
2199
- if ( 48 <= (*p) && (*p) <= 57 )
2200
- goto tr38;
2201
- } else if ( (*p) > 90 ) {
2202
- if ( 97 <= (*p) && (*p) <= 122 )
2203
- goto tr38;
2204
- } else
2205
- goto tr38;
2206
- } else
2207
- goto st23;
2208
- goto tr166;
2209
- tr197:
2210
- #line 1 "hpricot_css.rl"
2211
- {te = p+1;}
2212
- #line 80 "hpricot_css.rl"
2213
- {act = 9;}
2214
- goto st118;
2215
- st118:
2216
- if ( ++p == pe )
2217
- goto _test_eof118;
2218
- case 118:
2219
- #line 2220 "hpricot_css.c"
2220
- switch( (*p) ) {
2221
- case -60: goto st20;
2222
- case 40: goto tr169;
2223
- case 45: goto tr38;
2224
- case 92: goto st41;
2225
- case 95: goto tr38;
2226
- case 121: goto tr198;
2227
- }
2228
- if ( (*p) < -16 ) {
2229
- if ( (*p) > -33 ) {
2230
- if ( -32 <= (*p) && (*p) <= -17 )
2231
- goto st22;
2232
- } else if ( (*p) >= -59 )
2233
- goto st21;
2234
- } else if ( (*p) > -12 ) {
2235
- if ( (*p) < 65 ) {
2236
- if ( 48 <= (*p) && (*p) <= 57 )
2237
- goto tr38;
2238
- } else if ( (*p) > 90 ) {
2239
- if ( 97 <= (*p) && (*p) <= 122 )
2240
- goto tr38;
2241
- } else
2242
- goto tr38;
2243
- } else
2244
- goto st23;
2245
- goto tr166;
2246
- tr198:
2247
- #line 1 "hpricot_css.rl"
2248
- {te = p+1;}
2249
- #line 80 "hpricot_css.rl"
2250
- {act = 9;}
2251
- goto st119;
2252
- st119:
2253
- if ( ++p == pe )
2254
- goto _test_eof119;
2255
- case 119:
2256
- #line 2257 "hpricot_css.c"
2257
- switch( (*p) ) {
2258
- case -60: goto st20;
2259
- case 40: goto tr169;
2260
- case 45: goto tr199;
2261
- case 92: goto st41;
2262
- case 95: goto tr38;
2263
- }
2264
- if ( (*p) < -16 ) {
2265
- if ( (*p) > -33 ) {
2266
- if ( -32 <= (*p) && (*p) <= -17 )
2267
- goto st22;
2268
- } else if ( (*p) >= -59 )
2269
- goto st21;
2270
- } else if ( (*p) > -12 ) {
2271
- if ( (*p) < 65 ) {
2272
- if ( 48 <= (*p) && (*p) <= 57 )
2273
- goto tr38;
2274
- } else if ( (*p) > 90 ) {
2275
- if ( 97 <= (*p) && (*p) <= 122 )
2276
- goto tr38;
2277
- } else
2278
- goto tr38;
2279
- } else
2280
- goto st23;
2281
- goto tr166;
2282
- st52:
2283
- if ( ++p == pe )
2284
- goto _test_eof52;
2285
- case 52:
2286
- switch( (*p) ) {
2287
- case -60: goto tr77;
2288
- case 45: goto tr81;
2289
- case 92: goto tr82;
2290
- case 95: goto tr81;
2291
- case 110: goto tr83;
2292
- }
2293
- if ( (*p) < -16 ) {
2294
- if ( (*p) > -33 ) {
2295
- if ( -32 <= (*p) && (*p) <= -17 )
2296
- goto tr79;
2297
- } else if ( (*p) >= -59 )
2298
- goto tr78;
2299
- } else if ( (*p) > -12 ) {
2300
- if ( (*p) < 65 ) {
2301
- if ( 48 <= (*p) && (*p) <= 57 )
2302
- goto tr81;
2303
- } else if ( (*p) > 90 ) {
2304
- if ( 97 <= (*p) && (*p) <= 122 )
2305
- goto tr81;
2306
- } else
2307
- goto tr81;
2308
- } else
2309
- goto tr80;
2310
- goto st0;
2311
- tr77:
2312
- #line 25 "hpricot_css.rl"
2313
- {
2314
- aps = p;
2315
- }
2316
- goto st53;
2317
- st53:
2318
- if ( ++p == pe )
2319
- goto _test_eof53;
2320
- case 53:
2321
- #line 2322 "hpricot_css.c"
2322
- if ( -88 <= (*p) && (*p) <= -65 )
2323
- goto st54;
2324
- goto st0;
2325
- tr81:
2326
- #line 25 "hpricot_css.rl"
2327
- {
2328
- aps = p;
2329
- }
2330
- goto st54;
2331
- tr91:
2332
- #line 34 "hpricot_css.rl"
2333
- {
2334
- ape = p;
2335
- aps2 = p;
2336
- }
2337
- goto st54;
2338
- st54:
2339
- if ( ++p == pe )
2340
- goto _test_eof54;
2341
- case 54:
2342
- #line 2343 "hpricot_css.c"
2343
- switch( (*p) ) {
2344
- case -60: goto tr86;
2345
- case 32: goto tr90;
2346
- case 45: goto tr91;
2347
- case 61: goto tr92;
2348
- case 92: goto tr93;
2349
- case 95: goto tr91;
2350
- }
2351
- if ( (*p) < 9 ) {
2352
- if ( (*p) < -32 ) {
2353
- if ( -59 <= (*p) && (*p) <= -33 )
2354
- goto tr87;
2355
- } else if ( (*p) > -17 ) {
2356
- if ( -16 <= (*p) && (*p) <= -12 )
2357
- goto tr89;
2358
- } else
2359
- goto tr88;
2360
- } else if ( (*p) > 13 ) {
2361
- if ( (*p) < 65 ) {
2362
- if ( 48 <= (*p) && (*p) <= 57 )
2363
- goto tr91;
2364
- } else if ( (*p) > 90 ) {
2365
- if ( 97 <= (*p) && (*p) <= 122 )
2366
- goto tr91;
2367
- } else
2368
- goto tr91;
2369
- } else
2370
- goto tr90;
2371
- goto tr85;
2372
- tr85:
2373
- #line 34 "hpricot_css.rl"
2374
- {
2375
- ape = p;
2376
- aps2 = p;
2377
- }
2378
- goto st55;
2379
- st55:
2380
- if ( ++p == pe )
2381
- goto _test_eof55;
2382
- case 55:
2383
- #line 2384 "hpricot_css.c"
2384
- if ( (*p) == 61 )
2385
- goto st56;
2386
- goto st0;
2387
- st56:
2388
- if ( ++p == pe )
2389
- goto _test_eof56;
2390
- case 56:
2391
- switch( (*p) ) {
2392
- case 32: goto tr96;
2393
- case 34: goto tr97;
2394
- case 39: goto tr98;
2395
- case 93: goto st0;
2396
- }
2397
- if ( 9 <= (*p) && (*p) <= 13 )
2398
- goto tr96;
2399
- goto tr95;
2400
- tr95:
2401
- #line 39 "hpricot_css.rl"
2402
- {
2403
- ape2 = p;
2404
- PUSH(aps, ape);
2405
- PUSH(aps2, ape2);
2406
- }
2407
- goto st57;
2408
- st57:
2409
- if ( ++p == pe )
2410
- goto _test_eof57;
2411
- case 57:
2412
- #line 2413 "hpricot_css.c"
2413
- if ( (*p) == 93 )
2414
- goto tr100;
2415
- goto st57;
2416
- tr96:
2417
- #line 39 "hpricot_css.rl"
2418
- {
2419
- ape2 = p;
2420
- PUSH(aps, ape);
2421
- PUSH(aps2, ape2);
2422
- }
2423
- goto st58;
2424
- st58:
2425
- if ( ++p == pe )
2426
- goto _test_eof58;
2427
- case 58:
2428
- #line 2429 "hpricot_css.c"
2429
- switch( (*p) ) {
2430
- case 32: goto st58;
2431
- case 34: goto st59;
2432
- case 39: goto st62;
2433
- case 93: goto tr100;
2434
- }
2435
- if ( 9 <= (*p) && (*p) <= 13 )
2436
- goto st58;
2437
- goto st57;
2438
- tr97:
2439
- #line 39 "hpricot_css.rl"
2440
- {
2441
- ape2 = p;
2442
- PUSH(aps, ape);
2443
- PUSH(aps2, ape2);
2444
- }
2445
- goto st59;
2446
- st59:
2447
- if ( ++p == pe )
2448
- goto _test_eof59;
2449
- case 59:
2450
- #line 2451 "hpricot_css.c"
2451
- switch( (*p) ) {
2452
- case 34: goto st57;
2453
- case 93: goto tr104;
2454
- }
2455
- goto st59;
2456
- tr104:
2457
- #line 1 "hpricot_css.rl"
2458
- {te = p+1;}
2459
- goto st120;
2460
- st120:
2461
- if ( ++p == pe )
2462
- goto _test_eof120;
2463
- case 120:
2464
- #line 2465 "hpricot_css.c"
2465
- if ( (*p) == 34 )
2466
- goto st61;
2467
- goto st60;
2468
- st60:
2469
- if ( ++p == pe )
2470
- goto _test_eof60;
2471
- case 60:
2472
- if ( (*p) == 34 )
2473
- goto st61;
2474
- goto st60;
2475
- st61:
2476
- if ( ++p == pe )
2477
- goto _test_eof61;
2478
- case 61:
2479
- if ( (*p) == 93 )
2480
- goto tr100;
2481
- goto tr105;
2482
- tr98:
2483
- #line 39 "hpricot_css.rl"
2484
- {
2485
- ape2 = p;
2486
- PUSH(aps, ape);
2487
- PUSH(aps2, ape2);
2488
- }
2489
- goto st62;
2490
- st62:
2491
- if ( ++p == pe )
2492
- goto _test_eof62;
2493
- case 62:
2494
- #line 2495 "hpricot_css.c"
2495
- switch( (*p) ) {
2496
- case 39: goto st57;
2497
- case 93: goto tr108;
2498
- }
2499
- goto st62;
2500
- tr108:
2501
- #line 1 "hpricot_css.rl"
2502
- {te = p+1;}
2503
- goto st121;
2504
- st121:
2505
- if ( ++p == pe )
2506
- goto _test_eof121;
2507
- case 121:
2508
- #line 2509 "hpricot_css.c"
2509
- if ( (*p) == 39 )
2510
- goto st61;
2511
- goto st63;
2512
- st63:
2513
- if ( ++p == pe )
2514
- goto _test_eof63;
2515
- case 63:
2516
- if ( (*p) == 39 )
2517
- goto st61;
2518
- goto st63;
2519
- tr86:
2520
- #line 34 "hpricot_css.rl"
2521
- {
2522
- ape = p;
2523
- aps2 = p;
2524
- }
2525
- goto st64;
2526
- st64:
2527
- if ( ++p == pe )
2528
- goto _test_eof64;
2529
- case 64:
2530
- #line 2531 "hpricot_css.c"
2531
- if ( (*p) == 61 )
2532
- goto st56;
2533
- if ( -88 <= (*p) && (*p) <= -65 )
2534
- goto st54;
2535
- goto st0;
2536
- tr87:
2537
- #line 34 "hpricot_css.rl"
2538
- {
2539
- ape = p;
2540
- aps2 = p;
2541
- }
2542
- goto st65;
2543
- st65:
2544
- if ( ++p == pe )
2545
- goto _test_eof65;
2546
- case 65:
2547
- #line 2548 "hpricot_css.c"
2548
- if ( (*p) == 61 )
2549
- goto st56;
2550
- if ( (*p) <= -65 )
2551
- goto st54;
2552
- goto st0;
2553
- tr88:
2554
- #line 34 "hpricot_css.rl"
2555
- {
2556
- ape = p;
2557
- aps2 = p;
2558
- }
2559
- goto st66;
2560
- st66:
2561
- if ( ++p == pe )
2562
- goto _test_eof66;
2563
- case 66:
2564
- #line 2565 "hpricot_css.c"
2565
- if ( (*p) == 61 )
2566
- goto st56;
2567
- if ( (*p) <= -65 )
2568
- goto st67;
2569
- goto st0;
2570
- tr78:
2571
- #line 25 "hpricot_css.rl"
2572
- {
2573
- aps = p;
2574
- }
2575
- goto st67;
2576
- st67:
2577
- if ( ++p == pe )
2578
- goto _test_eof67;
2579
- case 67:
2580
- #line 2581 "hpricot_css.c"
2581
- if ( (*p) <= -65 )
2582
- goto st54;
2583
- goto st0;
2584
- tr89:
2585
- #line 34 "hpricot_css.rl"
2586
- {
2587
- ape = p;
2588
- aps2 = p;
2589
- }
2590
- goto st68;
2591
- st68:
2592
- if ( ++p == pe )
2593
- goto _test_eof68;
2594
- case 68:
2595
- #line 2596 "hpricot_css.c"
2596
- if ( (*p) == 61 )
2597
- goto st56;
2598
- if ( (*p) <= -65 )
2599
- goto st69;
2600
- goto st0;
2601
- tr79:
2602
- #line 25 "hpricot_css.rl"
2603
- {
2604
- aps = p;
2605
- }
2606
- goto st69;
2607
- st69:
2608
- if ( ++p == pe )
2609
- goto _test_eof69;
2610
- case 69:
2611
- #line 2612 "hpricot_css.c"
2612
- if ( (*p) <= -65 )
2613
- goto st67;
2614
- goto st0;
2615
- tr90:
2616
- #line 34 "hpricot_css.rl"
2617
- {
2618
- ape = p;
2619
- aps2 = p;
2620
- }
2621
- goto st70;
2622
- st70:
2623
- if ( ++p == pe )
2624
- goto _test_eof70;
2625
- case 70:
2626
- #line 2627 "hpricot_css.c"
2627
- switch( (*p) ) {
2628
- case 32: goto st70;
2629
- case 61: goto st71;
2630
- }
2631
- if ( 9 <= (*p) && (*p) <= 13 )
2632
- goto st70;
2633
- goto st55;
2634
- tr92:
2635
- #line 34 "hpricot_css.rl"
2636
- {
2637
- ape = p;
2638
- aps2 = p;
2639
- }
2640
- goto st71;
2641
- st71:
2642
- if ( ++p == pe )
2643
- goto _test_eof71;
2644
- case 71:
2645
- #line 2646 "hpricot_css.c"
2646
- switch( (*p) ) {
2647
- case 32: goto tr96;
2648
- case 34: goto tr97;
2649
- case 39: goto tr98;
2650
- case 61: goto tr115;
2651
- case 93: goto st0;
2652
- }
2653
- if ( 9 <= (*p) && (*p) <= 13 )
2654
- goto tr96;
2655
- goto tr95;
2656
- tr115:
2657
- #line 39 "hpricot_css.rl"
2658
- {
2659
- ape2 = p;
2660
- PUSH(aps, ape);
2661
- PUSH(aps2, ape2);
2662
- }
2663
- goto st72;
2664
- st72:
2665
- if ( ++p == pe )
2666
- goto _test_eof72;
2667
- case 72:
2668
- #line 2669 "hpricot_css.c"
2669
- switch( (*p) ) {
2670
- case 32: goto tr96;
2671
- case 34: goto tr97;
2672
- case 39: goto tr98;
2673
- case 93: goto tr100;
2674
- }
2675
- if ( 9 <= (*p) && (*p) <= 13 )
2676
- goto tr96;
2677
- goto tr95;
2678
- tr93:
2679
- #line 34 "hpricot_css.rl"
2680
- {
2681
- ape = p;
2682
- aps2 = p;
2683
- }
2684
- goto st73;
2685
- st73:
2686
- if ( ++p == pe )
2687
- goto _test_eof73;
2688
- case 73:
2689
- #line 2690 "hpricot_css.c"
2690
- switch( (*p) ) {
2691
- case 46: goto st54;
2692
- case 61: goto st56;
2693
- }
2694
- goto st0;
2695
- tr80:
2696
- #line 25 "hpricot_css.rl"
2697
- {
2698
- aps = p;
2699
- }
2700
- goto st74;
2701
- st74:
2702
- if ( ++p == pe )
2703
- goto _test_eof74;
2704
- case 74:
2705
- #line 2706 "hpricot_css.c"
2706
- if ( (*p) <= -65 )
2707
- goto st69;
2708
- goto st0;
2709
- tr82:
2710
- #line 25 "hpricot_css.rl"
2711
- {
2712
- aps = p;
2713
- }
2714
- goto st75;
2715
- st75:
2716
- if ( ++p == pe )
2717
- goto _test_eof75;
2718
- case 75:
2719
- #line 2720 "hpricot_css.c"
2720
- if ( (*p) == 46 )
2721
- goto st54;
2722
- goto st0;
2723
- tr83:
2724
- #line 25 "hpricot_css.rl"
2725
- {
2726
- aps = p;
2727
- }
2728
- goto st76;
2729
- st76:
2730
- if ( ++p == pe )
2731
- goto _test_eof76;
2732
- case 76:
2733
- #line 2734 "hpricot_css.c"
2734
- switch( (*p) ) {
2735
- case -60: goto tr86;
2736
- case 32: goto tr90;
2737
- case 45: goto tr91;
2738
- case 61: goto tr92;
2739
- case 92: goto tr93;
2740
- case 95: goto tr91;
2741
- case 97: goto tr116;
2742
- }
2743
- if ( (*p) < 9 ) {
2744
- if ( (*p) < -32 ) {
2745
- if ( -59 <= (*p) && (*p) <= -33 )
2746
- goto tr87;
2747
- } else if ( (*p) > -17 ) {
2748
- if ( -16 <= (*p) && (*p) <= -12 )
2749
- goto tr89;
2750
- } else
2751
- goto tr88;
2752
- } else if ( (*p) > 13 ) {
2753
- if ( (*p) < 65 ) {
2754
- if ( 48 <= (*p) && (*p) <= 57 )
2755
- goto tr91;
2756
- } else if ( (*p) > 90 ) {
2757
- if ( 98 <= (*p) && (*p) <= 122 )
2758
- goto tr91;
2759
- } else
2760
- goto tr91;
2761
- } else
2762
- goto tr90;
2763
- goto tr85;
2764
- tr116:
2765
- #line 34 "hpricot_css.rl"
2766
- {
2767
- ape = p;
2768
- aps2 = p;
2769
- }
2770
- goto st77;
2771
- st77:
2772
- if ( ++p == pe )
2773
- goto _test_eof77;
2774
- case 77:
2775
- #line 2776 "hpricot_css.c"
2776
- switch( (*p) ) {
2777
- case -60: goto tr86;
2778
- case 32: goto tr90;
2779
- case 45: goto tr91;
2780
- case 61: goto tr92;
2781
- case 92: goto tr93;
2782
- case 95: goto tr91;
2783
- case 109: goto tr117;
2784
- }
2785
- if ( (*p) < 9 ) {
2786
- if ( (*p) < -32 ) {
2787
- if ( -59 <= (*p) && (*p) <= -33 )
2788
- goto tr87;
2789
- } else if ( (*p) > -17 ) {
2790
- if ( -16 <= (*p) && (*p) <= -12 )
2791
- goto tr89;
2792
- } else
2793
- goto tr88;
2794
- } else if ( (*p) > 13 ) {
2795
- if ( (*p) < 65 ) {
2796
- if ( 48 <= (*p) && (*p) <= 57 )
2797
- goto tr91;
2798
- } else if ( (*p) > 90 ) {
2799
- if ( 97 <= (*p) && (*p) <= 122 )
2800
- goto tr91;
2801
- } else
2802
- goto tr91;
2803
- } else
2804
- goto tr90;
2805
- goto tr85;
2806
- tr117:
2807
- #line 34 "hpricot_css.rl"
2808
- {
2809
- ape = p;
2810
- aps2 = p;
2811
- }
2812
- goto st78;
2813
- st78:
2814
- if ( ++p == pe )
2815
- goto _test_eof78;
2816
- case 78:
2817
- #line 2818 "hpricot_css.c"
2818
- switch( (*p) ) {
2819
- case -60: goto tr86;
2820
- case 32: goto tr90;
2821
- case 45: goto tr91;
2822
- case 61: goto tr92;
2823
- case 92: goto tr93;
2824
- case 95: goto tr91;
2825
- case 101: goto tr118;
2826
- }
2827
- if ( (*p) < 9 ) {
2828
- if ( (*p) < -32 ) {
2829
- if ( -59 <= (*p) && (*p) <= -33 )
2830
- goto tr87;
2831
- } else if ( (*p) > -17 ) {
2832
- if ( -16 <= (*p) && (*p) <= -12 )
2833
- goto tr89;
2834
- } else
2835
- goto tr88;
2836
- } else if ( (*p) > 13 ) {
2837
- if ( (*p) < 65 ) {
2838
- if ( 48 <= (*p) && (*p) <= 57 )
2839
- goto tr91;
2840
- } else if ( (*p) > 90 ) {
2841
- if ( 97 <= (*p) && (*p) <= 122 )
2842
- goto tr91;
2843
- } else
2844
- goto tr91;
2845
- } else
2846
- goto tr90;
2847
- goto tr85;
2848
- tr118:
2849
- #line 34 "hpricot_css.rl"
2850
- {
2851
- ape = p;
2852
- aps2 = p;
2853
- }
2854
- goto st79;
2855
- st79:
2856
- if ( ++p == pe )
2857
- goto _test_eof79;
2858
- case 79:
2859
- #line 2860 "hpricot_css.c"
2860
- switch( (*p) ) {
2861
- case -60: goto tr86;
2862
- case 32: goto tr90;
2863
- case 45: goto tr91;
2864
- case 61: goto tr119;
2865
- case 92: goto tr93;
2866
- case 95: goto tr91;
2867
- }
2868
- if ( (*p) < 9 ) {
2869
- if ( (*p) < -32 ) {
2870
- if ( -59 <= (*p) && (*p) <= -33 )
2871
- goto tr87;
2872
- } else if ( (*p) > -17 ) {
2873
- if ( -16 <= (*p) && (*p) <= -12 )
2874
- goto tr89;
2875
- } else
2876
- goto tr88;
2877
- } else if ( (*p) > 13 ) {
2878
- if ( (*p) < 65 ) {
2879
- if ( 48 <= (*p) && (*p) <= 57 )
2880
- goto tr91;
2881
- } else if ( (*p) > 90 ) {
2882
- if ( 97 <= (*p) && (*p) <= 122 )
2883
- goto tr91;
2884
- } else
2885
- goto tr91;
2886
- } else
2887
- goto tr90;
2888
- goto tr85;
2889
- tr119:
2890
- #line 34 "hpricot_css.rl"
2891
- {
2892
- ape = p;
2893
- aps2 = p;
2894
- }
2895
- goto st80;
2896
- st80:
2897
- if ( ++p == pe )
2898
- goto _test_eof80;
2899
- case 80:
2900
- #line 2901 "hpricot_css.c"
2901
- switch( (*p) ) {
2902
- case -60: goto tr120;
2903
- case 32: goto tr96;
2904
- case 34: goto tr97;
2905
- case 39: goto tr98;
2906
- case 45: goto tr124;
2907
- case 61: goto tr115;
2908
- case 92: goto tr125;
2909
- case 93: goto st0;
2910
- case 95: goto tr124;
2911
- }
2912
- if ( (*p) < 9 ) {
2913
- if ( (*p) < -32 ) {
2914
- if ( -59 <= (*p) && (*p) <= -33 )
2915
- goto tr121;
2916
- } else if ( (*p) > -17 ) {
2917
- if ( -16 <= (*p) && (*p) <= -12 )
2918
- goto tr123;
2919
- } else
2920
- goto tr122;
2921
- } else if ( (*p) > 13 ) {
2922
- if ( (*p) < 65 ) {
2923
- if ( 48 <= (*p) && (*p) <= 57 )
2924
- goto tr124;
2925
- } else if ( (*p) > 90 ) {
2926
- if ( 97 <= (*p) && (*p) <= 122 )
2927
- goto tr124;
2928
- } else
2929
- goto tr124;
2930
- } else
2931
- goto tr96;
2932
- goto tr95;
2933
- tr120:
2934
- #line 25 "hpricot_css.rl"
2935
- {
2936
- aps = p;
2937
- }
2938
- #line 39 "hpricot_css.rl"
2939
- {
2940
- ape2 = p;
2941
- PUSH(aps, ape);
2942
- PUSH(aps2, ape2);
2943
- }
2944
- goto st81;
2945
- st81:
2946
- if ( ++p == pe )
2947
- goto _test_eof81;
2948
- case 81:
2949
- #line 2950 "hpricot_css.c"
2950
- if ( (*p) == 93 )
2951
- goto tr100;
2952
- if ( -88 <= (*p) && (*p) <= -65 )
2953
- goto st82;
2954
- goto st57;
2955
- tr124:
2956
- #line 25 "hpricot_css.rl"
2957
- {
2958
- aps = p;
2959
- }
2960
- #line 39 "hpricot_css.rl"
2961
- {
2962
- ape2 = p;
2963
- PUSH(aps, ape);
2964
- PUSH(aps2, ape2);
2965
- }
2966
- goto st82;
2967
- st82:
2968
- if ( ++p == pe )
2969
- goto _test_eof82;
2970
- case 82:
2971
- #line 2972 "hpricot_css.c"
2972
- switch( (*p) ) {
2973
- case -60: goto st81;
2974
- case 45: goto st82;
2975
- case 92: goto st86;
2976
- case 93: goto tr132;
2977
- case 95: goto st82;
2978
- }
2979
- if ( (*p) < -16 ) {
2980
- if ( (*p) > -33 ) {
2981
- if ( -32 <= (*p) && (*p) <= -17 )
2982
- goto st84;
2983
- } else if ( (*p) >= -59 )
2984
- goto st83;
2985
- } else if ( (*p) > -12 ) {
2986
- if ( (*p) < 65 ) {
2987
- if ( 48 <= (*p) && (*p) <= 57 )
2988
- goto st82;
2989
- } else if ( (*p) > 90 ) {
2990
- if ( 97 <= (*p) && (*p) <= 122 )
2991
- goto st82;
2992
- } else
2993
- goto st82;
2994
- } else
2995
- goto st85;
2996
- goto st57;
2997
- tr121:
2998
- #line 25 "hpricot_css.rl"
2999
- {
3000
- aps = p;
3001
- }
3002
- #line 39 "hpricot_css.rl"
3003
- {
3004
- ape2 = p;
3005
- PUSH(aps, ape);
3006
- PUSH(aps2, ape2);
3007
- }
3008
- goto st83;
3009
- st83:
3010
- if ( ++p == pe )
3011
- goto _test_eof83;
3012
- case 83:
3013
- #line 3014 "hpricot_css.c"
3014
- if ( (*p) == 93 )
3015
- goto tr100;
3016
- if ( (*p) <= -65 )
3017
- goto st82;
3018
- goto st57;
3019
- tr122:
3020
- #line 25 "hpricot_css.rl"
3021
- {
3022
- aps = p;
3023
- }
3024
- #line 39 "hpricot_css.rl"
3025
- {
3026
- ape2 = p;
3027
- PUSH(aps, ape);
3028
- PUSH(aps2, ape2);
3029
- }
3030
- goto st84;
3031
- st84:
3032
- if ( ++p == pe )
3033
- goto _test_eof84;
3034
- case 84:
3035
- #line 3036 "hpricot_css.c"
3036
- if ( (*p) == 93 )
3037
- goto tr100;
3038
- if ( (*p) <= -65 )
3039
- goto st83;
3040
- goto st57;
3041
- tr123:
3042
- #line 25 "hpricot_css.rl"
3043
- {
3044
- aps = p;
3045
- }
3046
- #line 39 "hpricot_css.rl"
3047
- {
3048
- ape2 = p;
3049
- PUSH(aps, ape);
3050
- PUSH(aps2, ape2);
3051
- }
3052
- goto st85;
3053
- st85:
3054
- if ( ++p == pe )
3055
- goto _test_eof85;
3056
- case 85:
3057
- #line 3058 "hpricot_css.c"
3058
- if ( (*p) == 93 )
3059
- goto tr100;
3060
- if ( (*p) <= -65 )
3061
- goto st84;
3062
- goto st57;
3063
- tr125:
3064
- #line 25 "hpricot_css.rl"
3065
- {
3066
- aps = p;
3067
- }
3068
- #line 39 "hpricot_css.rl"
3069
- {
3070
- ape2 = p;
3071
- PUSH(aps, ape);
3072
- PUSH(aps2, ape2);
3073
- }
3074
- goto st86;
3075
- st86:
3076
- if ( ++p == pe )
3077
- goto _test_eof86;
3078
- case 86:
3079
- #line 3080 "hpricot_css.c"
3080
- switch( (*p) ) {
3081
- case 46: goto st82;
3082
- case 93: goto tr100;
3083
- }
3084
- goto st57;
3085
- tr147:
3086
- #line 1 "hpricot_css.rl"
3087
- {te = p+1;}
3088
- #line 25 "hpricot_css.rl"
3089
- {
3090
- aps = p;
3091
- }
3092
- #line 76 "hpricot_css.rl"
3093
- {act = 5;}
3094
- goto st122;
3095
- st122:
3096
- if ( ++p == pe )
3097
- goto _test_eof122;
3098
- case 122:
3099
- #line 3100 "hpricot_css.c"
3100
- switch( (*p) ) {
3101
- case -60: goto st1;
3102
- case 45: goto tr1;
3103
- case 92: goto st5;
3104
- case 95: goto tr1;
3105
- case 118: goto tr201;
3106
- }
3107
- if ( (*p) < -16 ) {
3108
- if ( (*p) > -33 ) {
3109
- if ( -32 <= (*p) && (*p) <= -17 )
3110
- goto st3;
3111
- } else if ( (*p) >= -59 )
3112
- goto st2;
3113
- } else if ( (*p) > -12 ) {
3114
- if ( (*p) < 65 ) {
3115
- if ( 48 <= (*p) && (*p) <= 57 )
3116
- goto tr1;
3117
- } else if ( (*p) > 90 ) {
3118
- if ( 97 <= (*p) && (*p) <= 122 )
3119
- goto tr1;
3120
- } else
3121
- goto tr1;
3122
- } else
3123
- goto st4;
3124
- goto tr149;
3125
- tr201:
3126
- #line 1 "hpricot_css.rl"
3127
- {te = p+1;}
3128
- #line 76 "hpricot_css.rl"
3129
- {act = 5;}
3130
- goto st123;
3131
- st123:
3132
- if ( ++p == pe )
3133
- goto _test_eof123;
3134
- case 123:
3135
- #line 3136 "hpricot_css.c"
3136
- switch( (*p) ) {
3137
- case -60: goto st1;
3138
- case 45: goto tr1;
3139
- case 92: goto st5;
3140
- case 95: goto tr1;
3141
- case 101: goto tr202;
3142
- }
3143
- if ( (*p) < -16 ) {
3144
- if ( (*p) > -33 ) {
3145
- if ( -32 <= (*p) && (*p) <= -17 )
3146
- goto st3;
3147
- } else if ( (*p) >= -59 )
3148
- goto st2;
3149
- } else if ( (*p) > -12 ) {
3150
- if ( (*p) < 65 ) {
3151
- if ( 48 <= (*p) && (*p) <= 57 )
3152
- goto tr1;
3153
- } else if ( (*p) > 90 ) {
3154
- if ( 97 <= (*p) && (*p) <= 122 )
3155
- goto tr1;
3156
- } else
3157
- goto tr1;
3158
- } else
3159
- goto st4;
3160
- goto tr149;
3161
- tr202:
3162
- #line 1 "hpricot_css.rl"
3163
- {te = p+1;}
3164
- #line 76 "hpricot_css.rl"
3165
- {act = 5;}
3166
- goto st124;
3167
- st124:
3168
- if ( ++p == pe )
3169
- goto _test_eof124;
3170
- case 124:
3171
- #line 3172 "hpricot_css.c"
3172
- switch( (*p) ) {
3173
- case -60: goto st1;
3174
- case 45: goto tr1;
3175
- case 92: goto st5;
3176
- case 95: goto tr1;
3177
- }
3178
- if ( (*p) < -16 ) {
3179
- if ( (*p) > -33 ) {
3180
- if ( -32 <= (*p) && (*p) <= -17 )
3181
- goto st3;
3182
- } else if ( (*p) >= -59 )
3183
- goto st2;
3184
- } else if ( (*p) > -12 ) {
3185
- if ( (*p) < 65 ) {
3186
- if ( 48 <= (*p) && (*p) <= 57 )
3187
- goto tr1;
3188
- } else if ( (*p) > 90 ) {
3189
- if ( 97 <= (*p) && (*p) <= 122 )
3190
- goto tr1;
3191
- } else
3192
- goto tr1;
3193
- } else
3194
- goto st4;
3195
- goto tr149;
3196
- tr148:
3197
- #line 1 "hpricot_css.rl"
3198
- {te = p+1;}
3199
- #line 25 "hpricot_css.rl"
3200
- {
3201
- aps = p;
3202
- }
3203
- #line 76 "hpricot_css.rl"
3204
- {act = 5;}
3205
- goto st125;
3206
- st125:
3207
- if ( ++p == pe )
3208
- goto _test_eof125;
3209
- case 125:
3210
- #line 3211 "hpricot_css.c"
3211
- switch( (*p) ) {
3212
- case -60: goto st1;
3213
- case 45: goto tr1;
3214
- case 92: goto st5;
3215
- case 95: goto tr1;
3216
- case 100: goto tr203;
3217
- }
3218
- if ( (*p) < -16 ) {
3219
- if ( (*p) > -33 ) {
3220
- if ( -32 <= (*p) && (*p) <= -17 )
3221
- goto st3;
3222
- } else if ( (*p) >= -59 )
3223
- goto st2;
3224
- } else if ( (*p) > -12 ) {
3225
- if ( (*p) < 65 ) {
3226
- if ( 48 <= (*p) && (*p) <= 57 )
3227
- goto tr1;
3228
- } else if ( (*p) > 90 ) {
3229
- if ( 97 <= (*p) && (*p) <= 122 )
3230
- goto tr1;
3231
- } else
3232
- goto tr1;
3233
- } else
3234
- goto st4;
3235
- goto tr149;
3236
- tr203:
3237
- #line 1 "hpricot_css.rl"
3238
- {te = p+1;}
3239
- #line 76 "hpricot_css.rl"
3240
- {act = 5;}
3241
- goto st126;
3242
- st126:
3243
- if ( ++p == pe )
3244
- goto _test_eof126;
3245
- case 126:
3246
- #line 3247 "hpricot_css.c"
3247
- switch( (*p) ) {
3248
- case -60: goto st1;
3249
- case 45: goto tr1;
3250
- case 92: goto st5;
3251
- case 95: goto tr1;
3252
- }
3253
- if ( (*p) < -16 ) {
3254
- if ( (*p) > -33 ) {
3255
- if ( -32 <= (*p) && (*p) <= -17 )
3256
- goto st3;
3257
- } else if ( (*p) >= -59 )
3258
- goto st2;
3259
- } else if ( (*p) > -12 ) {
3260
- if ( (*p) < 65 ) {
3261
- if ( 48 <= (*p) && (*p) <= 57 )
3262
- goto tr1;
3263
- } else if ( (*p) > 90 ) {
3264
- if ( 97 <= (*p) && (*p) <= 122 )
3265
- goto tr1;
3266
- } else
3267
- goto tr1;
3268
- } else
3269
- goto st4;
3270
- goto tr149;
3271
- }
3272
- _test_eof87: cs = 87; goto _test_eof;
3273
- _test_eof1: cs = 1; goto _test_eof;
3274
- _test_eof88: cs = 88; goto _test_eof;
3275
- _test_eof2: cs = 2; goto _test_eof;
3276
- _test_eof3: cs = 3; goto _test_eof;
3277
- _test_eof4: cs = 4; goto _test_eof;
3278
- _test_eof5: cs = 5; goto _test_eof;
3279
- _test_eof89: cs = 89; goto _test_eof;
3280
- _test_eof6: cs = 6; goto _test_eof;
3281
- _test_eof90: cs = 90; goto _test_eof;
3282
- _test_eof7: cs = 7; goto _test_eof;
3283
- _test_eof8: cs = 8; goto _test_eof;
3284
- _test_eof91: cs = 91; goto _test_eof;
3285
- _test_eof9: cs = 9; goto _test_eof;
3286
- _test_eof10: cs = 10; goto _test_eof;
3287
- _test_eof11: cs = 11; goto _test_eof;
3288
- _test_eof12: cs = 12; goto _test_eof;
3289
- _test_eof92: cs = 92; goto _test_eof;
3290
- _test_eof93: cs = 93; goto _test_eof;
3291
- _test_eof13: cs = 13; goto _test_eof;
3292
- _test_eof14: cs = 14; goto _test_eof;
3293
- _test_eof94: cs = 94; goto _test_eof;
3294
- _test_eof15: cs = 15; goto _test_eof;
3295
- _test_eof16: cs = 16; goto _test_eof;
3296
- _test_eof17: cs = 17; goto _test_eof;
3297
- _test_eof18: cs = 18; goto _test_eof;
3298
- _test_eof19: cs = 19; goto _test_eof;
3299
- _test_eof20: cs = 20; goto _test_eof;
3300
- _test_eof95: cs = 95; goto _test_eof;
3301
- _test_eof21: cs = 21; goto _test_eof;
3302
- _test_eof22: cs = 22; goto _test_eof;
3303
- _test_eof23: cs = 23; goto _test_eof;
3304
- _test_eof24: cs = 24; goto _test_eof;
3305
- _test_eof25: cs = 25; goto _test_eof;
3306
- _test_eof26: cs = 26; goto _test_eof;
3307
- _test_eof27: cs = 27; goto _test_eof;
3308
- _test_eof28: cs = 28; goto _test_eof;
3309
- _test_eof29: cs = 29; goto _test_eof;
3310
- _test_eof30: cs = 30; goto _test_eof;
3311
- _test_eof31: cs = 31; goto _test_eof;
3312
- _test_eof32: cs = 32; goto _test_eof;
3313
- _test_eof33: cs = 33; goto _test_eof;
3314
- _test_eof34: cs = 34; goto _test_eof;
3315
- _test_eof35: cs = 35; goto _test_eof;
3316
- _test_eof36: cs = 36; goto _test_eof;
3317
- _test_eof37: cs = 37; goto _test_eof;
3318
- _test_eof38: cs = 38; goto _test_eof;
3319
- _test_eof39: cs = 39; goto _test_eof;
3320
- _test_eof40: cs = 40; goto _test_eof;
3321
- _test_eof41: cs = 41; goto _test_eof;
3322
- _test_eof96: cs = 96; goto _test_eof;
3323
- _test_eof97: cs = 97; goto _test_eof;
3324
- _test_eof42: cs = 42; goto _test_eof;
3325
- _test_eof43: cs = 43; goto _test_eof;
3326
- _test_eof98: cs = 98; goto _test_eof;
3327
- _test_eof99: cs = 99; goto _test_eof;
3328
- _test_eof100: cs = 100; goto _test_eof;
3329
- _test_eof101: cs = 101; goto _test_eof;
3330
- _test_eof102: cs = 102; goto _test_eof;
3331
- _test_eof103: cs = 103; goto _test_eof;
3332
- _test_eof104: cs = 104; goto _test_eof;
3333
- _test_eof105: cs = 105; goto _test_eof;
3334
- _test_eof106: cs = 106; goto _test_eof;
3335
- _test_eof107: cs = 107; goto _test_eof;
3336
- _test_eof108: cs = 108; goto _test_eof;
3337
- _test_eof109: cs = 109; goto _test_eof;
3338
- _test_eof110: cs = 110; goto _test_eof;
3339
- _test_eof44: cs = 44; goto _test_eof;
3340
- _test_eof45: cs = 45; goto _test_eof;
3341
- _test_eof46: cs = 46; goto _test_eof;
3342
- _test_eof47: cs = 47; goto _test_eof;
3343
- _test_eof48: cs = 48; goto _test_eof;
3344
- _test_eof49: cs = 49; goto _test_eof;
3345
- _test_eof50: cs = 50; goto _test_eof;
3346
- _test_eof51: cs = 51; goto _test_eof;
3347
- _test_eof111: cs = 111; goto _test_eof;
3348
- _test_eof112: cs = 112; goto _test_eof;
3349
- _test_eof113: cs = 113; goto _test_eof;
3350
- _test_eof114: cs = 114; goto _test_eof;
3351
- _test_eof115: cs = 115; goto _test_eof;
3352
- _test_eof116: cs = 116; goto _test_eof;
3353
- _test_eof117: cs = 117; goto _test_eof;
3354
- _test_eof118: cs = 118; goto _test_eof;
3355
- _test_eof119: cs = 119; goto _test_eof;
3356
- _test_eof52: cs = 52; goto _test_eof;
3357
- _test_eof53: cs = 53; goto _test_eof;
3358
- _test_eof54: cs = 54; goto _test_eof;
3359
- _test_eof55: cs = 55; goto _test_eof;
3360
- _test_eof56: cs = 56; goto _test_eof;
3361
- _test_eof57: cs = 57; goto _test_eof;
3362
- _test_eof58: cs = 58; goto _test_eof;
3363
- _test_eof59: cs = 59; goto _test_eof;
3364
- _test_eof120: cs = 120; goto _test_eof;
3365
- _test_eof60: cs = 60; goto _test_eof;
3366
- _test_eof61: cs = 61; goto _test_eof;
3367
- _test_eof62: cs = 62; goto _test_eof;
3368
- _test_eof121: cs = 121; goto _test_eof;
3369
- _test_eof63: cs = 63; goto _test_eof;
3370
- _test_eof64: cs = 64; goto _test_eof;
3371
- _test_eof65: cs = 65; goto _test_eof;
3372
- _test_eof66: cs = 66; goto _test_eof;
3373
- _test_eof67: cs = 67; goto _test_eof;
3374
- _test_eof68: cs = 68; goto _test_eof;
3375
- _test_eof69: cs = 69; goto _test_eof;
3376
- _test_eof70: cs = 70; goto _test_eof;
3377
- _test_eof71: cs = 71; goto _test_eof;
3378
- _test_eof72: cs = 72; goto _test_eof;
3379
- _test_eof73: cs = 73; goto _test_eof;
3380
- _test_eof74: cs = 74; goto _test_eof;
3381
- _test_eof75: cs = 75; goto _test_eof;
3382
- _test_eof76: cs = 76; goto _test_eof;
3383
- _test_eof77: cs = 77; goto _test_eof;
3384
- _test_eof78: cs = 78; goto _test_eof;
3385
- _test_eof79: cs = 79; goto _test_eof;
3386
- _test_eof80: cs = 80; goto _test_eof;
3387
- _test_eof81: cs = 81; goto _test_eof;
3388
- _test_eof82: cs = 82; goto _test_eof;
3389
- _test_eof83: cs = 83; goto _test_eof;
3390
- _test_eof84: cs = 84; goto _test_eof;
3391
- _test_eof85: cs = 85; goto _test_eof;
3392
- _test_eof86: cs = 86; goto _test_eof;
3393
- _test_eof122: cs = 122; goto _test_eof;
3394
- _test_eof123: cs = 123; goto _test_eof;
3395
- _test_eof124: cs = 124; goto _test_eof;
3396
- _test_eof125: cs = 125; goto _test_eof;
3397
- _test_eof126: cs = 126; goto _test_eof;
3398
-
3399
- _test_eof: {}
3400
- if ( p == eof )
3401
- {
3402
- switch ( cs ) {
3403
- case 1: goto tr0;
3404
- case 88: goto tr149;
3405
- case 2: goto tr0;
3406
- case 3: goto tr0;
3407
- case 4: goto tr0;
3408
- case 5: goto tr0;
3409
- case 89: goto tr153;
3410
- case 6: goto tr4;
3411
- case 90: goto tr154;
3412
- case 8: goto tr0;
3413
- case 91: goto tr155;
3414
- case 9: goto tr0;
3415
- case 10: goto tr0;
3416
- case 11: goto tr0;
3417
- case 12: goto tr0;
3418
- case 92: goto tr159;
3419
- case 93: goto tr149;
3420
- case 14: goto tr0;
3421
- case 94: goto tr162;
3422
- case 15: goto tr0;
3423
- case 16: goto tr0;
3424
- case 17: goto tr0;
3425
- case 18: goto tr0;
3426
- case 20: goto tr0;
3427
- case 95: goto tr166;
3428
- case 21: goto tr0;
3429
- case 22: goto tr0;
3430
- case 23: goto tr0;
3431
- case 24: goto tr41;
3432
- case 25: goto tr0;
3433
- case 26: goto tr0;
3434
- case 27: goto tr0;
3435
- case 28: goto tr0;
3436
- case 29: goto tr0;
3437
- case 30: goto tr0;
3438
- case 31: goto tr0;
3439
- case 32: goto tr0;
3440
- case 33: goto tr0;
3441
- case 34: goto tr0;
3442
- case 35: goto tr0;
3443
- case 36: goto tr0;
3444
- case 37: goto tr0;
3445
- case 38: goto tr0;
3446
- case 39: goto tr0;
3447
- case 40: goto tr0;
3448
- case 41: goto tr0;
3449
- case 96: goto tr166;
3450
- case 97: goto tr173;
3451
- case 42: goto tr62;
3452
- case 43: goto tr62;
3453
- case 98: goto tr166;
3454
- case 99: goto tr166;
3455
- case 100: goto tr166;
3456
- case 101: goto tr166;
3457
- case 102: goto tr166;
3458
- case 103: goto tr166;
3459
- case 104: goto tr173;
3460
- case 105: goto tr166;
3461
- case 106: goto tr166;
3462
- case 107: goto tr166;
3463
- case 108: goto tr166;
3464
- case 109: goto tr166;
3465
- case 110: goto tr192;
3466
- case 44: goto tr66;
3467
- case 45: goto tr66;
3468
- case 46: goto tr66;
3469
- case 47: goto tr66;
3470
- case 48: goto tr66;
3471
- case 49: goto tr66;
3472
- case 50: goto tr66;
3473
- case 51: goto tr66;
3474
- case 111: goto tr166;
3475
- case 112: goto tr166;
3476
- case 113: goto tr166;
3477
- case 114: goto tr166;
3478
- case 115: goto tr166;
3479
- case 116: goto tr166;
3480
- case 117: goto tr166;
3481
- case 118: goto tr166;
3482
- case 119: goto tr166;
3483
- case 120: goto tr200;
3484
- case 60: goto tr105;
3485
- case 61: goto tr105;
3486
- case 121: goto tr200;
3487
- case 63: goto tr105;
3488
- case 122: goto tr149;
3489
- case 123: goto tr149;
3490
- case 124: goto tr149;
3491
- case 125: goto tr149;
3492
- case 126: goto tr149;
3493
- }
3494
- }
3495
-
3496
- _out: {}
3497
- }
3498
- #line 111 "hpricot_css.rl"
3499
-
3500
- rb_gc_unregister_address(&focus);
3501
- rb_gc_unregister_address(&tmpt);
3502
- return focus;
3503
- }