ogre.rb 0.1-i686-linux

Sign up to get free protection for your applications and to get access to all the features.
Files changed (430) hide show
  1. data/README +79 -0
  2. data/Rakefile +288 -0
  3. data/doc_src/ogre.rb +246 -0
  4. data/doc_src/ois.rb +67 -0
  5. data/lib/application.rb +146 -0
  6. data/lib/application_frame_listener.rb +302 -0
  7. data/lib/application_loading_bar.rb +115 -0
  8. data/lib/constants.rb +51 -0
  9. data/lib/method_fixes.rb +42 -0
  10. data/lib/ogre.so +0 -0
  11. data/lib/ruby_ois.so +0 -0
  12. data/ogre.rb +25 -0
  13. data/platform.rb +23 -0
  14. data/samples/Ogre.log +261 -0
  15. data/samples/bsp.rb +76 -0
  16. data/samples/cg.dll +0 -0
  17. data/samples/grass.rb +325 -0
  18. data/samples/js3250.dll +0 -0
  19. data/samples/lighting.rb +138 -0
  20. data/samples/media/materials/programs/Grass.cg +30 -0
  21. data/samples/media/materials/programs/OffsetMapping.cg +97 -0
  22. data/samples/media/materials/programs/OffsetMapping.hlsl +135 -0
  23. data/samples/media/materials/programs/OffsetMappingFp.glsl +69 -0
  24. data/samples/media/materials/programs/OffsetMappingVp.glsl +54 -0
  25. data/samples/media/materials/programs/OffsetMapping_specular.asm +44 -0
  26. data/samples/media/materials/scripts/CloudySky.material +17 -0
  27. data/samples/media/materials/scripts/CubeMapping.material +34 -0
  28. data/samples/media/materials/scripts/Flare.material +17 -0
  29. data/samples/media/materials/scripts/Grass.material +63 -0
  30. data/samples/media/materials/scripts/Knot.material +14 -0
  31. data/samples/media/materials/scripts/MorningSkyBox.material +17 -0
  32. data/samples/media/materials/scripts/Offset.material +124 -0
  33. data/samples/media/materials/scripts/Ogre.material +119 -0
  34. data/samples/media/materials/scripts/RZR-002.material +15 -0
  35. data/samples/media/materials/scripts/Razor.material +14 -0
  36. data/samples/media/materials/scripts/Ribbon.material +19 -0
  37. data/samples/media/materials/scripts/RustySteel.material +14 -0
  38. data/samples/media/materials/scripts/SpaceSkyBox.material +17 -0
  39. data/samples/media/materials/scripts/SpaceSkyPlane.material +17 -0
  40. data/samples/media/materials/scripts/TextureEffects.material +15 -0
  41. data/samples/media/materials/scripts/dragon.material +42 -0
  42. data/samples/media/materials/scripts/smoke.material +18 -0
  43. data/samples/media/materials/textures/GreenSkin.jpg +0 -0
  44. data/samples/media/materials/textures/MtlPlat2.jpg +0 -0
  45. data/samples/media/materials/textures/RZR-002.png +0 -0
  46. data/samples/media/materials/textures/RustedMetal.jpg +0 -0
  47. data/samples/media/materials/textures/RustySteel.jpg +0 -0
  48. data/samples/media/materials/textures/Water02.jpg +0 -0
  49. data/samples/media/materials/textures/WeirdEye.png +0 -0
  50. data/samples/media/materials/textures/clouds.jpg +0 -0
  51. data/samples/media/materials/textures/cursor.png +0 -0
  52. data/samples/media/materials/textures/dirt01.jpg +0 -0
  53. data/samples/media/materials/textures/flare.png +0 -0
  54. data/samples/media/materials/textures/gras_02.png +0 -0
  55. data/samples/media/materials/textures/grass_1024.jpg +0 -0
  56. data/samples/media/materials/textures/ogreborder.png +0 -0
  57. data/samples/media/materials/textures/ogreborderUp.png +0 -0
  58. data/samples/media/materials/textures/ribbonband.png +0 -0
  59. data/samples/media/materials/textures/rockwall.tga +0 -0
  60. data/samples/media/materials/textures/rockwall_NH.tga +0 -0
  61. data/samples/media/materials/textures/smoke.png +0 -0
  62. data/samples/media/materials/textures/smokecolors.png +0 -0
  63. data/samples/media/materials/textures/spacesky.jpg +0 -0
  64. data/samples/media/materials/textures/spheremap.png +0 -0
  65. data/samples/media/materials/textures/texmap2.jpg +0 -0
  66. data/samples/media/models/RZR-002.mesh +0 -0
  67. data/samples/media/models/geosphere4500.mesh +0 -0
  68. data/samples/media/models/geosphere8000.mesh +0 -0
  69. data/samples/media/models/knot.mesh +0 -0
  70. data/samples/media/models/ogrehead.mesh +0 -0
  71. data/samples/media/models/razor.mesh +0 -0
  72. data/samples/media/models/sphere.mesh +0 -0
  73. data/samples/media/overlays/CubeMapping.overlay +139 -0
  74. data/samples/media/packs/OgreCore.zip +0 -0
  75. data/samples/media/packs/chiropteraDM.pk3 +0 -0
  76. data/samples/media/packs/chiropteraDM.txt +99 -0
  77. data/samples/media/packs/cubemap.zip +0 -0
  78. data/samples/media/packs/cubemapsJS.zip +0 -0
  79. data/samples/media/packs/dragon.zip +0 -0
  80. data/samples/media/packs/skybox.zip +0 -0
  81. data/samples/media/particles/smoke.particle +43 -0
  82. data/samples/media.cfg +22 -0
  83. data/samples/navi/Media/NaviDemo.material +60 -0
  84. data/samples/navi/Media/OgreCore.zip +0 -0
  85. data/samples/navi/Media/cerulean.jpg +0 -0
  86. data/samples/navi/Media/clouds.jpg +0 -0
  87. data/samples/navi/Media/controlsNaviMask.png +0 -0
  88. data/samples/navi/Media/grass.jpg +0 -0
  89. data/samples/navi/Media/knot.mesh +0 -0
  90. data/samples/navi/Media/testNaviMask.png +0 -0
  91. data/samples/navi/NaviLocal/Navi.js +136 -0
  92. data/samples/navi/NaviLocal/buttonBg.jpg +0 -0
  93. data/samples/navi/NaviLocal/controls.html +303 -0
  94. data/samples/navi/NaviLocal/knobBg.jpg +0 -0
  95. data/samples/navi/NaviLocal/moo.dropdownmenu.js +87 -0
  96. data/samples/navi/NaviLocal/mootools.v1.1.js +6964 -0
  97. data/samples/navi/NaviLocal/naviLogo.html +32 -0
  98. data/samples/navi/NaviLocal/naviLogo.png +0 -0
  99. data/samples/navi/NaviLocal/pageBg.jpg +0 -0
  100. data/samples/navi/NaviLocal/sliderBg.jpg +0 -0
  101. data/samples/navi/NaviLocal/test.html +5 -0
  102. data/samples/navi/NaviLocal/welcome.html +36 -0
  103. data/samples/navi/NaviLocal/welcome.png +0 -0
  104. data/samples/navi/chrome/chromelist.txt +597 -0
  105. data/samples/navi/chrome/classic.jar +0 -0
  106. data/samples/navi/chrome/classic.manifest +4 -0
  107. data/samples/navi/chrome/comm.jar +0 -0
  108. data/samples/navi/chrome/comm.manifest +2 -0
  109. data/samples/navi/chrome/en-US.jar +0 -0
  110. data/samples/navi/chrome/en-US.manifest +9 -0
  111. data/samples/navi/chrome/toolkit.jar +0 -0
  112. data/samples/navi/chrome/toolkit.manifest +6 -0
  113. data/samples/navi/components/FeedProcessor.js +1825 -0
  114. data/samples/navi/components/alerts.xpt +0 -0
  115. data/samples/navi/components/appshell.xpt +0 -0
  116. data/samples/navi/components/appstartup.xpt +0 -0
  117. data/samples/navi/components/auth.dll +0 -0
  118. data/samples/navi/components/autocomplete.xpt +0 -0
  119. data/samples/navi/components/autoconfig.dll +0 -0
  120. data/samples/navi/components/autoconfig.xpt +0 -0
  121. data/samples/navi/components/caps.xpt +0 -0
  122. data/samples/navi/components/chardet.xpt +0 -0
  123. data/samples/navi/components/chrome.xpt +0 -0
  124. data/samples/navi/components/commandhandler.xpt +0 -0
  125. data/samples/navi/components/commandlines.xpt +0 -0
  126. data/samples/navi/components/composer.xpt +0 -0
  127. data/samples/navi/components/compreg.dat +1474 -0
  128. data/samples/navi/components/content_base.xpt +0 -0
  129. data/samples/navi/components/content_html.xpt +0 -0
  130. data/samples/navi/components/content_htmldoc.xpt +0 -0
  131. data/samples/navi/components/content_xmldoc.xpt +0 -0
  132. data/samples/navi/components/content_xslt.xpt +0 -0
  133. data/samples/navi/components/content_xtf.xpt +0 -0
  134. data/samples/navi/components/directory.xpt +0 -0
  135. data/samples/navi/components/docshell_base.xpt +0 -0
  136. data/samples/navi/components/dom.xpt +0 -0
  137. data/samples/navi/components/dom_base.xpt +0 -0
  138. data/samples/navi/components/dom_canvas.xpt +0 -0
  139. data/samples/navi/components/dom_core.xpt +0 -0
  140. data/samples/navi/components/dom_css.xpt +0 -0
  141. data/samples/navi/components/dom_events.xpt +0 -0
  142. data/samples/navi/components/dom_html.xpt +0 -0
  143. data/samples/navi/components/dom_loadsave.xpt +0 -0
  144. data/samples/navi/components/dom_range.xpt +0 -0
  145. data/samples/navi/components/dom_sidebar.xpt +0 -0
  146. data/samples/navi/components/dom_storage.xpt +0 -0
  147. data/samples/navi/components/dom_stylesheets.xpt +0 -0
  148. data/samples/navi/components/dom_svg.xpt +0 -0
  149. data/samples/navi/components/dom_traversal.xpt +0 -0
  150. data/samples/navi/components/dom_views.xpt +0 -0
  151. data/samples/navi/components/dom_xbl.xpt +0 -0
  152. data/samples/navi/components/dom_xpath.xpt +0 -0
  153. data/samples/navi/components/dom_xul.xpt +0 -0
  154. data/samples/navi/components/downloads.xpt +0 -0
  155. data/samples/navi/components/editor.xpt +0 -0
  156. data/samples/navi/components/embed_base.xpt +0 -0
  157. data/samples/navi/components/extensions.xpt +0 -0
  158. data/samples/navi/components/exthandler.xpt +0 -0
  159. data/samples/navi/components/fastfind.xpt +0 -0
  160. data/samples/navi/components/feeds.xpt +0 -0
  161. data/samples/navi/components/find.xpt +0 -0
  162. data/samples/navi/components/gfx.xpt +0 -0
  163. data/samples/navi/components/gksvgrenderer.xpt +0 -0
  164. data/samples/navi/components/history.xpt +0 -0
  165. data/samples/navi/components/htmlparser.xpt +0 -0
  166. data/samples/navi/components/imglib2.xpt +0 -0
  167. data/samples/navi/components/inspector.xpt +0 -0
  168. data/samples/navi/components/intl.xpt +0 -0
  169. data/samples/navi/components/intlcmpt.xpt +0 -0
  170. data/samples/navi/components/jar.xpt +0 -0
  171. data/samples/navi/components/jsconsole-clhandler.js +170 -0
  172. data/samples/navi/components/jsconsole.xpt +0 -0
  173. data/samples/navi/components/jsdservice.xpt +0 -0
  174. data/samples/navi/components/layout_base.xpt +0 -0
  175. data/samples/navi/components/layout_printing.xpt +0 -0
  176. data/samples/navi/components/layout_xul.xpt +0 -0
  177. data/samples/navi/components/layout_xul_tree.xpt +0 -0
  178. data/samples/navi/components/locale.xpt +0 -0
  179. data/samples/navi/components/lwbrk.xpt +0 -0
  180. data/samples/navi/components/mimetype.xpt +0 -0
  181. data/samples/navi/components/mozbrwsr.xpt +0 -0
  182. data/samples/navi/components/mozfind.xpt +0 -0
  183. data/samples/navi/components/necko.xpt +0 -0
  184. data/samples/navi/components/necko_about.xpt +0 -0
  185. data/samples/navi/components/necko_cache.xpt +0 -0
  186. data/samples/navi/components/necko_cookie.xpt +0 -0
  187. data/samples/navi/components/necko_data.xpt +0 -0
  188. data/samples/navi/components/necko_dns.xpt +0 -0
  189. data/samples/navi/components/necko_file.xpt +0 -0
  190. data/samples/navi/components/necko_ftp.xpt +0 -0
  191. data/samples/navi/components/necko_http.xpt +0 -0
  192. data/samples/navi/components/necko_res.xpt +0 -0
  193. data/samples/navi/components/necko_socket.xpt +0 -0
  194. data/samples/navi/components/necko_strconv.xpt +0 -0
  195. data/samples/navi/components/necko_viewsource.xpt +0 -0
  196. data/samples/navi/components/nsCloseAllWindows.js +143 -0
  197. data/samples/navi/components/nsDefaultCLH.js +231 -0
  198. data/samples/navi/components/nsDictionary.js +148 -0
  199. data/samples/navi/components/nsExtensionManager.js +8497 -0
  200. data/samples/navi/components/nsHelperAppDlg.js +990 -0
  201. data/samples/navi/components/nsInterfaceInfoToIDL.js +590 -0
  202. data/samples/navi/components/nsKillAll.js +200 -0
  203. data/samples/navi/components/nsPostUpdateWin.js +711 -0
  204. data/samples/navi/components/nsProgressDialog.js +949 -0
  205. data/samples/navi/components/nsProxyAutoConfig.js +396 -0
  206. data/samples/navi/components/nsResetPref.js +175 -0
  207. data/samples/navi/components/nsURLFormatter.js +179 -0
  208. data/samples/navi/components/nsUpdateService.js +3074 -0
  209. data/samples/navi/components/nsXULAppInstall.js +301 -0
  210. data/samples/navi/components/nsXmlRpcClient.js +1038 -0
  211. data/samples/navi/components/oji.xpt +0 -0
  212. data/samples/navi/components/passwordmgr.xpt +0 -0
  213. data/samples/navi/components/pipboot.xpt +0 -0
  214. data/samples/navi/components/pipnss.xpt +0 -0
  215. data/samples/navi/components/plugin.xpt +0 -0
  216. data/samples/navi/components/pref.xpt +0 -0
  217. data/samples/navi/components/prefetch.xpt +0 -0
  218. data/samples/navi/components/profile.xpt +0 -0
  219. data/samples/navi/components/progressDlg.xpt +0 -0
  220. data/samples/navi/components/proxyObject.xpt +0 -0
  221. data/samples/navi/components/rdf.xpt +0 -0
  222. data/samples/navi/components/satchel.xpt +0 -0
  223. data/samples/navi/components/saxparser.xpt +0 -0
  224. data/samples/navi/components/shistory.xpt +0 -0
  225. data/samples/navi/components/storage.xpt +0 -0
  226. data/samples/navi/components/toolkitprofile.xpt +0 -0
  227. data/samples/navi/components/transformiix.dll +0 -0
  228. data/samples/navi/components/txmgr.xpt +0 -0
  229. data/samples/navi/components/txtsvc.xpt +0 -0
  230. data/samples/navi/components/uconv.xpt +0 -0
  231. data/samples/navi/components/unicharutil.xpt +0 -0
  232. data/samples/navi/components/universalchardet.dll +0 -0
  233. data/samples/navi/components/update.xpt +0 -0
  234. data/samples/navi/components/uriloader.xpt +0 -0
  235. data/samples/navi/components/urlformatter.xpt +0 -0
  236. data/samples/navi/components/webBrowser_core.xpt +0 -0
  237. data/samples/navi/components/webbrowserpersist.xpt +0 -0
  238. data/samples/navi/components/webshell_idls.xpt +0 -0
  239. data/samples/navi/components/websrvcs.dll +0 -0
  240. data/samples/navi/components/websrvcs.xpt +0 -0
  241. data/samples/navi/components/widget.xpt +0 -0
  242. data/samples/navi/components/windowds.xpt +0 -0
  243. data/samples/navi/components/windowwatcher.xpt +0 -0
  244. data/samples/navi/components/xml-rpc.xpt +0 -0
  245. data/samples/navi/components/xmlextras.dll +0 -0
  246. data/samples/navi/components/xpcom_base.xpt +0 -0
  247. data/samples/navi/components/xpcom_components.xpt +0 -0
  248. data/samples/navi/components/xpcom_ds.xpt +0 -0
  249. data/samples/navi/components/xpcom_io.xpt +0 -0
  250. data/samples/navi/components/xpcom_obsolete.xpt +0 -0
  251. data/samples/navi/components/xpcom_thread.xpt +0 -0
  252. data/samples/navi/components/xpcom_xpti.xpt +0 -0
  253. data/samples/navi/components/xpconnect.xpt +0 -0
  254. data/samples/navi/components/xpinstall.xpt +0 -0
  255. data/samples/navi/components/xpti.dat +1424 -0
  256. data/samples/navi/components/xulapp.xpt +0 -0
  257. data/samples/navi/components/xulapp_setup.xpt +0 -0
  258. data/samples/navi/components/xuldoc.xpt +0 -0
  259. data/samples/navi/components/xulrunner.xpt +0 -0
  260. data/samples/navi/components/xultmpl.xpt +0 -0
  261. data/samples/navi/components/xulutil.dll +0 -0
  262. data/samples/navi/controlsNaviMask.png +0 -0
  263. data/samples/navi/greprefs/all.js +1344 -0
  264. data/samples/navi/greprefs/security-prefs.js +69 -0
  265. data/samples/navi/greprefs/xpinstall.js +2 -0
  266. data/samples/navi/navi_demo.rb +207 -0
  267. data/samples/navi/plugins/NPSWF32.dll +0 -0
  268. data/samples/navi/plugins/flashplayer.xpt +0 -0
  269. data/samples/navi/plugins/npnul32.dll +0 -0
  270. data/samples/navi/plugins.cfg +10 -0
  271. data/samples/navi/res/EditorOverride.css +359 -0
  272. data/samples/navi/res/Thumbs.db +0 -0
  273. data/samples/navi/res/arrow.gif +0 -0
  274. data/samples/navi/res/arrowd.gif +0 -0
  275. data/samples/navi/res/bloatcycle.html +40 -0
  276. data/samples/navi/res/broken-image.gif +0 -0
  277. data/samples/navi/res/charsetData.properties +199 -0
  278. data/samples/navi/res/charsetalias.properties +517 -0
  279. data/samples/navi/res/cmessage.txt +1 -0
  280. data/samples/navi/res/dtd/xhtml11.dtd +300 -0
  281. data/samples/navi/res/entityTables/html40Latin1.properties +146 -0
  282. data/samples/navi/res/entityTables/html40Special.properties +69 -0
  283. data/samples/navi/res/entityTables/html40Symbols.properties +164 -0
  284. data/samples/navi/res/entityTables/htmlEntityVersions.properties +50 -0
  285. data/samples/navi/res/entityTables/transliterate.properties +2367 -0
  286. data/samples/navi/res/fonts/fontEncoding.properties +127 -0
  287. data/samples/navi/res/fonts/fontNameMap.properties +134 -0
  288. data/samples/navi/res/forms.css +531 -0
  289. data/samples/navi/res/grabber.gif +0 -0
  290. data/samples/navi/res/hiddenWindow.html +1 -0
  291. data/samples/navi/res/html/Thumbs.db +0 -0
  292. data/samples/navi/res/html/gopher-audio.gif +0 -0
  293. data/samples/navi/res/html/gopher-binary.gif +0 -0
  294. data/samples/navi/res/html/gopher-find.gif +0 -0
  295. data/samples/navi/res/html/gopher-image.gif +0 -0
  296. data/samples/navi/res/html/gopher-menu.gif +0 -0
  297. data/samples/navi/res/html/gopher-movie.gif +0 -0
  298. data/samples/navi/res/html/gopher-sound.gif +0 -0
  299. data/samples/navi/res/html/gopher-telnet.gif +0 -0
  300. data/samples/navi/res/html/gopher-text.gif +0 -0
  301. data/samples/navi/res/html/gopher-unknown.gif +0 -0
  302. data/samples/navi/res/html.css +478 -0
  303. data/samples/navi/res/langGroups.properties +236 -0
  304. data/samples/navi/res/language.properties +259 -0
  305. data/samples/navi/res/loading-image.gif +0 -0
  306. data/samples/navi/res/quirk.css +282 -0
  307. data/samples/navi/res/samples/Anieyes.gif +0 -0
  308. data/samples/navi/res/samples/Thumbs.db +0 -0
  309. data/samples/navi/res/samples/aform.css +69 -0
  310. data/samples/navi/res/samples/beeptest.html +18 -0
  311. data/samples/navi/res/samples/bform.css +45 -0
  312. data/samples/navi/res/samples/bg.jpg +0 -0
  313. data/samples/navi/res/samples/cform.css +40 -0
  314. data/samples/navi/res/samples/checkboxTest.xul +47 -0
  315. data/samples/navi/res/samples/demoform.css +97 -0
  316. data/samples/navi/res/samples/find.html +97 -0
  317. data/samples/navi/res/samples/gear1.gif +0 -0
  318. data/samples/navi/res/samples/image_props.html +58 -0
  319. data/samples/navi/res/samples/mozform.css +256 -0
  320. data/samples/navi/res/samples/printsetup.html +175 -0
  321. data/samples/navi/res/samples/raptor.jpg +0 -0
  322. data/samples/navi/res/samples/rock_gra.gif +0 -0
  323. data/samples/navi/res/samples/scrollbarTest1.xul +66 -0
  324. data/samples/navi/res/samples/scrollbarTest2.xul +19 -0
  325. data/samples/navi/res/samples/sliderTest1.xul +14 -0
  326. data/samples/navi/res/samples/soundtest.html +20 -0
  327. data/samples/navi/res/samples/test.wav +0 -0
  328. data/samples/navi/res/samples/test0.html +220 -0
  329. data/samples/navi/res/samples/test1.html +84 -0
  330. data/samples/navi/res/samples/test10.html +16 -0
  331. data/samples/navi/res/samples/test11.html +42 -0
  332. data/samples/navi/res/samples/test12.html +79 -0
  333. data/samples/navi/res/samples/test13.html +126 -0
  334. data/samples/navi/res/samples/test14.html +5 -0
  335. data/samples/navi/res/samples/test15.html +5 -0
  336. data/samples/navi/res/samples/test16.html +124 -0
  337. data/samples/navi/res/samples/test2.html +41 -0
  338. data/samples/navi/res/samples/test3.html +126 -0
  339. data/samples/navi/res/samples/test4.html +335 -0
  340. data/samples/navi/res/samples/test5.html +199 -0
  341. data/samples/navi/res/samples/test6.html +335 -0
  342. data/samples/navi/res/samples/test7.html +11 -0
  343. data/samples/navi/res/samples/test8-1.html +66 -0
  344. data/samples/navi/res/samples/test8.html +662 -0
  345. data/samples/navi/res/samples/test8dom.html +64 -0
  346. data/samples/navi/res/samples/test8sca.html +308 -0
  347. data/samples/navi/res/samples/test8siz.html +224 -0
  348. data/samples/navi/res/samples/test8tab.html +9 -0
  349. data/samples/navi/res/samples/test9.html +12 -0
  350. data/samples/navi/res/samples/test9a.html +39 -0
  351. data/samples/navi/res/samples/test9b.html +16 -0
  352. data/samples/navi/res/samples/test_ed.html +5 -0
  353. data/samples/navi/res/samples/test_form.html +34 -0
  354. data/samples/navi/res/samples/test_gfx.html +75 -0
  355. data/samples/navi/res/samples/test_lbox.html +100 -0
  356. data/samples/navi/res/samples/test_pr.html +87 -0
  357. data/samples/navi/res/samples/test_weight.html +45 -0
  358. data/samples/navi/res/samples/toolbarTest1.xul +51 -0
  359. data/samples/navi/res/samples/treeTest1.css +62 -0
  360. data/samples/navi/res/samples/treeTest1.xul +110 -0
  361. data/samples/navi/res/samples/xulTest.css +130 -0
  362. data/samples/navi/res/svg.css +64 -0
  363. data/samples/navi/res/table-add-column-after-active.gif +0 -0
  364. data/samples/navi/res/table-add-column-after-hover.gif +0 -0
  365. data/samples/navi/res/table-add-column-after.gif +0 -0
  366. data/samples/navi/res/table-add-column-before-active.gif +0 -0
  367. data/samples/navi/res/table-add-column-before-hover.gif +0 -0
  368. data/samples/navi/res/table-add-column-before.gif +0 -0
  369. data/samples/navi/res/table-add-row-after-active.gif +0 -0
  370. data/samples/navi/res/table-add-row-after-hover.gif +0 -0
  371. data/samples/navi/res/table-add-row-after.gif +0 -0
  372. data/samples/navi/res/table-add-row-before-active.gif +0 -0
  373. data/samples/navi/res/table-add-row-before-hover.gif +0 -0
  374. data/samples/navi/res/table-add-row-before.gif +0 -0
  375. data/samples/navi/res/table-remove-column-active.gif +0 -0
  376. data/samples/navi/res/table-remove-column-hover.gif +0 -0
  377. data/samples/navi/res/table-remove-column.gif +0 -0
  378. data/samples/navi/res/table-remove-row-active.gif +0 -0
  379. data/samples/navi/res/table-remove-row-hover.gif +0 -0
  380. data/samples/navi/res/table-remove-row.gif +0 -0
  381. data/samples/navi/res/throbber/Thumbs.db +0 -0
  382. data/samples/navi/res/throbber/anim.gif +0 -0
  383. data/samples/navi/res/throbber/anims00.gif +0 -0
  384. data/samples/navi/res/throbber/anims01.gif +0 -0
  385. data/samples/navi/res/throbber/anims02.gif +0 -0
  386. data/samples/navi/res/throbber/anims03.gif +0 -0
  387. data/samples/navi/res/throbber/anims04.gif +0 -0
  388. data/samples/navi/res/throbber/anims05.gif +0 -0
  389. data/samples/navi/res/throbber/anims06.gif +0 -0
  390. data/samples/navi/res/throbber/anims07.gif +0 -0
  391. data/samples/navi/res/throbber/anims08.gif +0 -0
  392. data/samples/navi/res/throbber/anims09.gif +0 -0
  393. data/samples/navi/res/throbber/anims10.gif +0 -0
  394. data/samples/navi/res/throbber/anims11.gif +0 -0
  395. data/samples/navi/res/throbber/anims12.gif +0 -0
  396. data/samples/navi/res/throbber/anims13.gif +0 -0
  397. data/samples/navi/res/throbber/anims14.gif +0 -0
  398. data/samples/navi/res/throbber/anims15.gif +0 -0
  399. data/samples/navi/res/throbber/anims16.gif +0 -0
  400. data/samples/navi/res/throbber/anims17.gif +0 -0
  401. data/samples/navi/res/throbber/anims18.gif +0 -0
  402. data/samples/navi/res/throbber/anims19.gif +0 -0
  403. data/samples/navi/res/throbber/anims20.gif +0 -0
  404. data/samples/navi/res/throbber/anims21.gif +0 -0
  405. data/samples/navi/res/throbber/anims22.gif +0 -0
  406. data/samples/navi/res/throbber/anims23.gif +0 -0
  407. data/samples/navi/res/throbber/anims24.gif +0 -0
  408. data/samples/navi/res/throbber/anims25.gif +0 -0
  409. data/samples/navi/res/throbber/anims26.gif +0 -0
  410. data/samples/navi/res/throbber/anims27.gif +0 -0
  411. data/samples/navi/res/throbber/anims28.gif +0 -0
  412. data/samples/navi/res/throbber/anims29.gif +0 -0
  413. data/samples/navi/res/ua.css +235 -0
  414. data/samples/navi/res/viewer.properties +1 -0
  415. data/samples/navi/res/viewsource.css +118 -0
  416. data/samples/navi/res/wincharset.properties +55 -0
  417. data/samples/navi/resources.cfg +14 -0
  418. data/samples/navi/testNaviMask.png +0 -0
  419. data/samples/ogre.cfg +8 -0
  420. data/samples/plugins.cfg +11 -0
  421. data/samples/quake3settings.cfg +2 -0
  422. data/samples/render_run_log.5796 +891 -0
  423. data/samples/render_to_texture.rb +161 -0
  424. data/samples/resources.cfg +16 -0
  425. data/samples/sky_box.rb +107 -0
  426. data/samples/sky_dome.rb +86 -0
  427. data/samples/sky_plane.rb +27 -0
  428. data/samples/smoke.rb +23 -0
  429. data/samples/work/cube_mapping.rb +686 -0
  430. metadata +500 -0
@@ -0,0 +1,478 @@
1
+ /* ***** BEGIN LICENSE BLOCK *****
2
+ * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3
+ *
4
+ * The contents of this file are subject to the Mozilla Public License Version
5
+ * 1.1 (the "License"); you may not use this file except in compliance with
6
+ * the License. You may obtain a copy of the License at
7
+ * http://www.mozilla.org/MPL/
8
+ *
9
+ * Software distributed under the License is distributed on an "AS IS" basis,
10
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11
+ * for the specific language governing rights and limitations under the
12
+ * License.
13
+ *
14
+ * The Original Code is mozilla.org code.
15
+ *
16
+ * The Initial Developer of the Original Code is
17
+ * Netscape Communications Corporation.
18
+ * Portions created by the Initial Developer are Copyright (C) 1998
19
+ * the Initial Developer. All Rights Reserved.
20
+ *
21
+ * Contributor(s):
22
+ * Blake Ross <BlakeR1234@aol.com>
23
+ *
24
+ * Alternatively, the contents of this file may be used under the terms of
25
+ * either of the GNU General Public License Version 2 or later (the "GPL"),
26
+ * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27
+ * in which case the provisions of the GPL or the LGPL are applicable instead
28
+ * of those above. If you wish to allow use of your version of this file only
29
+ * under the terms of either the GPL or the LGPL, and not to allow others to
30
+ * use your version of this file under the terms of the MPL, indicate your
31
+ * decision by deleting the provisions above and replace them with the notice
32
+ * and other provisions required by the GPL or the LGPL. If you do not delete
33
+ * the provisions above, a recipient may use your version of this file under
34
+ * the terms of any one of the MPL, the GPL or the LGPL.
35
+ *
36
+ * ***** END LICENSE BLOCK ***** */
37
+
38
+ @namespace url(http://www.w3.org/1999/xhtml); /* set default namespace to HTML */
39
+
40
+ /* bidi */
41
+
42
+ [dir="rtl"] {
43
+ direction: rtl;
44
+ unicode-bidi: embed;
45
+ }
46
+ [dir="ltr"] {
47
+ direction: ltr;
48
+ unicode-bidi: embed;
49
+ }
50
+ bdo[dir] {
51
+ unicode-bidi: bidi-override;
52
+ }
53
+
54
+ /* blocks */
55
+
56
+ html, div, map, dt, isindex, form {
57
+ display: block;
58
+ }
59
+
60
+ body {
61
+ display: block;
62
+ margin: 8px;
63
+ }
64
+
65
+ p, dl, multicol {
66
+ display: block;
67
+ margin: 1em 0;
68
+ }
69
+
70
+ dd {
71
+ display: block;
72
+ -moz-margin-start: 40px;
73
+ }
74
+
75
+ blockquote {
76
+ display: block;
77
+ margin: 1em 40px;
78
+ }
79
+
80
+ address {
81
+ display: block;
82
+ font-style: italic;
83
+ }
84
+
85
+ center {
86
+ display: block;
87
+ text-align: -moz-center;
88
+ }
89
+
90
+ blockquote[type=cite] {
91
+ display: block;
92
+ margin: 1em 0px;
93
+ padding-left: 1em;
94
+ border-left: solid;
95
+ border-color: blue;
96
+ border-width: thin;
97
+ }
98
+
99
+ span[_moz_quote=true] {
100
+ color: blue;
101
+ }
102
+
103
+ pre[_moz_quote=true] {
104
+ color: blue;
105
+ }
106
+
107
+ h1 {
108
+ display: block;
109
+ font-size: 2em;
110
+ font-weight: bold;
111
+ margin: .67em 0;
112
+ }
113
+
114
+ h2 {
115
+ display: block;
116
+ font-size: 1.5em;
117
+ font-weight: bold;
118
+ margin: .83em 0;
119
+ }
120
+
121
+ h3 {
122
+ display: block;
123
+ font-size: 1.17em;
124
+ font-weight: bold;
125
+ margin: 1em 0;
126
+ }
127
+
128
+ h4 {
129
+ display: block;
130
+ font-weight: bold;
131
+ margin: 1.33em 0;
132
+ }
133
+
134
+ h5 {
135
+ display: block;
136
+ font-size: 0.83em;
137
+ font-weight: bold;
138
+ margin: 1.67em 0;
139
+ }
140
+
141
+ h6 {
142
+ display: block;
143
+ font-size: 0.67em;
144
+ font-weight: bold;
145
+ margin: 2.33em 0;
146
+ }
147
+
148
+ listing {
149
+ display: block;
150
+ font-family: -moz-fixed;
151
+ font-size: medium;
152
+ white-space: pre;
153
+ margin: 1em 0;
154
+ }
155
+
156
+ xmp, pre, plaintext {
157
+ display: block;
158
+ font-family: -moz-fixed;
159
+ white-space: pre;
160
+ margin: 1em 0;
161
+ }
162
+
163
+ /* tables */
164
+
165
+ table {
166
+ display: table;
167
+ border-spacing: 2px;
168
+ border-collapse: separate;
169
+ margin-top: 0;
170
+ margin-bottom: 0;
171
+ -moz-box-sizing: border-box;
172
+ text-indent: 0;
173
+ }
174
+
175
+ table[align="left"] {
176
+ float: left;
177
+ }
178
+
179
+ table[align="right"] {
180
+ float: right;
181
+ text-align: start;
182
+ }
183
+
184
+ table[rules]:not([rules="none"]) {
185
+ border-collapse: collapse;
186
+ }
187
+
188
+ /* caption inherits from table not table-outer */
189
+ caption {
190
+ display: table-caption;
191
+ text-align: center;
192
+ -moz-box-sizing: border-box;
193
+ }
194
+
195
+ table[align="center"] > caption {
196
+ margin-left: auto;
197
+ margin-right: auto;
198
+ }
199
+
200
+ table[align="center"] > caption[align="left"] {
201
+ margin-right: 0;
202
+ }
203
+
204
+ table[align="center"] > caption[align="right"] {
205
+ margin-left: 0;
206
+ }
207
+
208
+ tr {
209
+ display: table-row;
210
+ vertical-align: inherit;
211
+ }
212
+
213
+ col {
214
+ display: table-column;
215
+ }
216
+
217
+ colgroup {
218
+ display: table-column-group;
219
+ }
220
+
221
+ tbody {
222
+ display: table-row-group;
223
+ vertical-align: middle;
224
+ }
225
+
226
+ thead {
227
+ display: table-header-group;
228
+ vertical-align: middle;
229
+ }
230
+
231
+ tfoot {
232
+ display: table-footer-group;
233
+ vertical-align: middle;
234
+ }
235
+
236
+ /* for XHTML tables without tbody */
237
+ table > tr {
238
+ vertical-align: middle;
239
+ }
240
+
241
+ td {
242
+ display: table-cell;
243
+ vertical-align: inherit;
244
+ text-align: inherit;
245
+ padding: 1px;
246
+ }
247
+
248
+ th {
249
+ display: table-cell;
250
+ vertical-align: inherit;
251
+ font-weight: bold;
252
+ padding: 1px;
253
+ }
254
+
255
+ tr > form:-moz-is-html, tbody > form:-moz-is-html,
256
+ thead > form:-moz-is-html, tfoot > form:-moz-is-html,
257
+ table > form:-moz-is-html {
258
+ /* Important: don't show these forms in HTML */
259
+ display: none !important;
260
+ }
261
+
262
+ /* inlines */
263
+
264
+ q:before {
265
+ content: open-quote;
266
+ }
267
+
268
+ q:after {
269
+ content: close-quote;
270
+ }
271
+
272
+ b, strong {
273
+ font-weight: bolder;
274
+ }
275
+
276
+ i, cite, em, var, dfn {
277
+ font-style: italic;
278
+ }
279
+
280
+ tt, code, kbd, samp {
281
+ font-family: -moz-fixed;
282
+ }
283
+
284
+ u, ins {
285
+ text-decoration: underline;
286
+ }
287
+
288
+ s, strike, del {
289
+ text-decoration: line-through;
290
+ }
291
+
292
+ blink {
293
+ text-decoration: blink;
294
+ }
295
+
296
+ big {
297
+ font-size: larger;
298
+ }
299
+
300
+ small {
301
+ font-size: smaller;
302
+ }
303
+
304
+ sub {
305
+ vertical-align: sub;
306
+ font-size: smaller;
307
+ line-height: normal;
308
+ }
309
+
310
+ sup {
311
+ vertical-align: super;
312
+ font-size: smaller;
313
+ line-height: normal;
314
+ }
315
+
316
+ nobr {
317
+ white-space: nowrap;
318
+ }
319
+
320
+ /* titles */
321
+ abbr[title], acronym[title] {
322
+ border-bottom: dotted 1px;
323
+ }
324
+
325
+ /* lists */
326
+
327
+ ul, menu, dir {
328
+ display: block;
329
+ list-style-type: disc;
330
+ margin: 1em 0;
331
+ -moz-padding-start: 40px;
332
+ }
333
+
334
+ ol {
335
+ display: block;
336
+ list-style-type: decimal;
337
+ margin: 1em 0;
338
+ -moz-padding-start: 40px;
339
+ }
340
+
341
+ li {
342
+ display: list-item;
343
+ -moz-float-edge: margin-box;
344
+ }
345
+
346
+ /* nested lists have no top/bottom margins */
347
+ ul ul, ul ol, ul dir, ul menu, ul dl,
348
+ ol ul, ol ol, ol dir, ol menu, ol dl,
349
+ dir ul, dir ol, dir dir, dir menu, dir dl,
350
+ menu ul, menu ol, menu dir, menu menu, menu dl,
351
+ dl ul, dl ol, dl dir, dl menu, dl dl {
352
+ margin-top: 0;
353
+ margin-bottom: 0;
354
+ }
355
+
356
+ /* 2 deep unordered lists use a circle */
357
+ ol ul, ul ul, menu ul, dir ul,
358
+ ol menu, ul menu, menu menu, dir menu,
359
+ ol dir, ul dir, menu dir, dir dir {
360
+ list-style-type: circle;
361
+ }
362
+
363
+ /* 3 deep (or more) unordered lists use a square */
364
+ ol ol ul, ol ul ul, ol menu ul, ol dir ul,
365
+ ol ol menu, ol ul menu, ol menu menu, ol dir menu,
366
+ ol ol dir, ol ul dir, ol menu dir, ol dir dir,
367
+ ul ol ul, ul ul ul, ul menu ul, ul dir ul,
368
+ ul ol menu, ul ul menu, ul menu menu, ul dir menu,
369
+ ul ol dir, ul ul dir, ul menu dir, ul dir dir,
370
+ menu ol ul, menu ul ul, menu menu ul, menu dir ul,
371
+ menu ol menu, menu ul menu, menu menu menu, menu dir menu,
372
+ menu ol dir, menu ul dir, menu menu dir, menu dir dir,
373
+ dir ol ul, dir ul ul, dir menu ul, dir dir ul,
374
+ dir ol menu, dir ul menu, dir menu menu, dir dir menu,
375
+ dir ol dir, dir ul dir, dir menu dir, dir dir dir {
376
+ list-style-type: square;
377
+ }
378
+
379
+
380
+ /* leafs */
381
+
382
+ /* <hr> noshade and color attributes are handled completely by
383
+ * the nsHTMLHRElement attribute mapping code
384
+ */
385
+ hr {
386
+ display: block;
387
+ height: 2px;
388
+ border: 1px -moz-bg-inset;
389
+ margin: 0.5em auto 0.5em auto;
390
+ -moz-float-edge: margin-box;
391
+ -moz-box-sizing: border-box;
392
+ }
393
+
394
+ hr[size="1"] {
395
+ border-style: -moz-bg-solid none none none;
396
+ }
397
+
398
+ *|*:-moz-any-link img, img[usemap], object[usemap] {
399
+ border: 2px solid;
400
+ }
401
+
402
+ img[usemap], object[usemap] {
403
+ color: blue;
404
+ }
405
+
406
+ frameset {
407
+ display: block ! important;
408
+ overflow: -moz-hidden-unscrollable;
409
+ position: static ! important;
410
+ float: none ! important;
411
+ border: none ! important;
412
+ }
413
+
414
+ frame {
415
+ border: none ! important;
416
+ }
417
+
418
+ iframe {
419
+ border: 2px inset;
420
+ }
421
+
422
+ noframes {
423
+ display: none;
424
+ }
425
+
426
+ spacer {
427
+ position: static ! important;
428
+ float: none ! important;
429
+ }
430
+
431
+ canvas {
432
+ -moz-user-select: none;
433
+ }
434
+
435
+ /* focusable content: anything w/ tabindex >=0 is focusable */
436
+ abbr:focus, acronym:focus, address:focus, applet:focus, b:focus,
437
+ base:focus, big:focus, blockquote:focus, br:focus, canvas:focus, caption:focus,
438
+ center:focus, cite:focus, code:focus, col:focus, colgroup:focus, dd:focus,
439
+ del:focus, dfn:focus, dir:focus, div:focus, dl:focus, dt:focus, em:focus,
440
+ fieldset:focus, font:focus, form:focus, h1:focus, h2:focus, h3:focus, h4:focus,
441
+ h5:focus, h6:focus, hr:focus, i:focus, img:focus, ins:focus,
442
+ kbd:focus, label:focus, legend:focus, li:focus, link:focus, menu:focus,
443
+ object:focus, ol:focus, p:focus, pre:focus, q:focus, s:focus, samp:focus,
444
+ small:focus, span:focus, strike:focus, strong:focus, sub:focus, sup:focus,
445
+ table:focus, tbody:focus, td:focus, tfoot:focus, th:focus, thead:focus,
446
+ tr:focus, tt:focus, u:focus, ul:focus, var:focus {
447
+ outline: 1px dotted invert;
448
+ }
449
+
450
+ /* hidden elements */
451
+ area, base, basefont, head, meta, script, style, title,
452
+ noembed, param {
453
+ display: none;
454
+ }
455
+
456
+ /* emulation of non-standard HTML <marquee> tag */
457
+ marquee {
458
+ display: block;
459
+ -moz-binding: url('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-horizontal');
460
+ }
461
+
462
+ marquee[direction="up"], marquee[direction="down"] {
463
+ -moz-binding: url('chrome://xbl-marquee/content/xbl-marquee.xml#marquee-vertical');
464
+ height: 200px;
465
+ }
466
+
467
+ /* PRINT ONLY rules follow */
468
+ @media print {
469
+
470
+ marquee { -moz-binding: none; }
471
+
472
+ /* XXX this should not be necessary, we should be stopping blinking
473
+ of any kind in print preview, not just the <blink> element */
474
+ blink {
475
+ text-decoration: none;
476
+ }
477
+
478
+ }
@@ -0,0 +1,236 @@
1
+ #
2
+ # ***** BEGIN LICENSE BLOCK *****
3
+ # Version: MPL 1.1/GPL 2.0/LGPL 2.1
4
+ #
5
+ # The contents of this file are subject to the Mozilla Public License Version
6
+ # 1.1 (the "License"); you may not use this file except in compliance with
7
+ # the License. You may obtain a copy of the License at
8
+ # http://www.mozilla.org/MPL/
9
+ #
10
+ # Software distributed under the License is distributed on an "AS IS" basis,
11
+ # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12
+ # for the specific language governing rights and limitations under the
13
+ # License.
14
+ #
15
+ # The Original Code is mozilla.org code.
16
+ #
17
+ # The Initial Developer of the Original Code is
18
+ # Netscape Communications Corporation.
19
+ # Portions created by the Initial Developer are Copyright (C) 2000
20
+ # the Initial Developer. All Rights Reserved.
21
+ #
22
+ # Contributor(s):
23
+ # Erik van der Poel
24
+ # Jungshik Shin
25
+ # Katsuhiko Momoi
26
+ # Henri Sivonen
27
+ #
28
+ # Alternatively, the contents of this file may be used under the terms of
29
+ # either of the GNU General Public License Version 2 or later (the "GPL"),
30
+ # or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
31
+ # in which case the provisions of the GPL or the LGPL are applicable instead
32
+ # of those above. If you wish to allow use of your version of this file only
33
+ # under the terms of either the GPL or the LGPL, and not to allow others to
34
+ # use your version of this file under the terms of the MPL, indicate your
35
+ # decision by deleting the provisions above and replace them with the notice
36
+ # and other provisions required by the GPL or the LGPL. If you do not delete
37
+ # the provisions above, a recipient may use your version of this file under
38
+ # the terms of any one of the MPL, the GPL or the LGPL.
39
+ #
40
+ # ***** END LICENSE BLOCK *****
41
+ #
42
+ # References: http://www.omniglot.com/writing/atoz.htm
43
+ # http://www.loc.gov/standards/iso639-2/englangn.html
44
+ # http://www.ethnologue.com
45
+ # http://www.worldlanguage.com/Languages/
46
+ # http://www.rosettaproject.org/
47
+ # http://www.sweb.cz/ls78/diacritics.htm
48
+ # see also xpfe/global/resources/locale/en-US/languageNames.properties
49
+ # and bug 178491
50
+ #
51
+ #ab=x-cyrillic
52
+ # Strictly speaking, Avestan did not use Arabic script but Aramaic
53
+ # (arc)/Avestan script.)
54
+ #ae=ar
55
+
56
+ af=x-western
57
+ alg=x-cans
58
+ am=x-ethi
59
+ ar=ar
60
+ as=x-beng
61
+ be=x-cyrillic
62
+ bg=x-cyrillic
63
+ bn=x-beng
64
+ br=x-western
65
+ bs=x-central-euro
66
+ ca=x-western
67
+ ce=x-central-euro
68
+ ch=x-western
69
+ co=x-western
70
+ cr=x-cans
71
+ cs=x-central-euro
72
+ #cu=x-cyrillic
73
+ cv=x-cyrillic
74
+ # XXX Latin Ext. A is also used for cy.
75
+ cy=x-western
76
+ da=x-western
77
+ de=x-western
78
+ #dv=Thaanna
79
+ #dz=Tibetan
80
+ #ee=x-western(?) (Ewe uses characters outside Latin-1 as well)
81
+ el=el
82
+ en=x-western
83
+ # Esperanto: Latin-3
84
+ eo=x-western
85
+ es=x-western
86
+ et=x-baltic
87
+ eu=x-western
88
+ fa=ar
89
+ #ff=x-western(?) : Fulfulde
90
+ fi=x-western
91
+ # XXX Latin Ext. A is also used for fj.
92
+ fj=x-western
93
+ fo=x-western
94
+ fr=x-western
95
+ fy=x-western
96
+ ga=x-western
97
+ #XXX Latin Ext. A and Ext. additional block are used for Gaelic (8859-14)
98
+ gd=x-western
99
+ # gl : ISO-8859-13
100
+ gl=x-western
101
+ #ha=x-western : Latin and Ajami scripts
102
+ gu=x-gujr
103
+ he=he
104
+ hi=x-devanagari
105
+ ht=x-western
106
+ hr=x-central-euro
107
+ # XXX Latin Ext. A is also used for hsb.
108
+ hsb=x-western
109
+ hu=x-central-euro
110
+ hy=x-armn
111
+ ia=x-western
112
+ id=x-western
113
+ ie=x-western
114
+ is=x-western
115
+ it=x-western
116
+ iu=x-cans
117
+ ja=ja
118
+ ka=x-geor
119
+ km=x-khmr
120
+ ko=ko
121
+ ks=ar
122
+ #ku=ar
123
+ # XXX Latin Ext. A is also used for kw(Cornish).
124
+ kw=x-western
125
+ #ky=x-cyrillic
126
+ # XXX Latin Ext. A is also used for Latin.
127
+ la=x-western
128
+ lb=x-western
129
+ lt=x-baltic
130
+ lv=x-baltic
131
+ #XXX Latin Ext. A is also used for Maori.
132
+ mi=x-western
133
+ mk=x-cyrillic
134
+ ml=x-mlym
135
+ #mo=x-central-euro / x-cyrillic
136
+ mr=x-devanagari
137
+ ms=x-western
138
+ # Maltese: Latin-3
139
+ mt=x-western
140
+ nb=x-western
141
+ ne=x-devanagari
142
+ nl=x-western
143
+ nn=x-western
144
+ no=x-western
145
+ # XXX : x-central-euro may be better
146
+ nv=x-western
147
+ oc=x-western
148
+ oj=x-cans
149
+ om=x-ethi
150
+ #or=Oriya
151
+ os=x-cyrillic
152
+ #pa: Punjabi is usually written in Gurmukhi script in India and Arabic script
153
+ # in Pakistan. We make pa default to Gurmukhi based on comments in bug 248690
154
+ pa-in=x-guru
155
+ pa-pk=ar
156
+ pa=x-guru
157
+ pl=x-central-euro
158
+ ps=ar
159
+ pt=x-western
160
+ qu=x-western
161
+ rm=x-western
162
+ ro=x-central-euro
163
+ ru=x-cyrillic
164
+ sa=x-devanagari
165
+ sc=x-western
166
+ sd=ar
167
+ # African language (but related with French)
168
+ sg=x-western
169
+ sh=x-central-euro
170
+ sk=x-central-euro
171
+ sl=x-central-euro
172
+ so=x-western
173
+ sq=x-western
174
+ sr=x-cyrillic
175
+ sv=x-western
176
+ sw=x-western
177
+ ta=x-tamil
178
+ th=th
179
+ tig=x-ethi
180
+ tk=x-cyrillic
181
+ #tk=tr # (The country declared in 1992 to gradually move to Latin script)
182
+ tlh=x-western
183
+ tr=tr
184
+ tt=tr
185
+ uk=x-cyrillic
186
+ ur=ar
187
+ # XXX : Vietnamese may need be put into a script group of its own
188
+ vi=x-western
189
+ vo=x-western
190
+ wa=x-western
191
+ yi=he
192
+ #Latin Ext. A and Latin Extended Additional block are used for Yoruba.
193
+ #yo=x-western
194
+ zh-cn=zh-CN
195
+ # XXX : The following two entries are added as a quick fix (bug 251241).
196
+ # When we have a general solution for ISO 15924 (script codes), the issue has
197
+ # to be revisited.
198
+ zh-hans=zh-CN
199
+ zh-hant=zh-TW
200
+ zh-tw=zh-TW
201
+ zh-hk=zh-HK
202
+ zh=zh-CN
203
+ zh-min-nan=x-western
204
+ zu=x-western
205
+ #
206
+ #==============================
207
+ #
208
+ # mapping mozilla's internal x-* to themselves (see bug 256257)
209
+ x-western=x-western
210
+ x-central-euro=x-central-euro
211
+ x-cyrillic=x-cyrillic
212
+ # el
213
+ # tr
214
+ # he
215
+ # ar
216
+ x-baltic=x-baltic
217
+ # th
218
+ # ja
219
+ # zh-CN
220
+ # ko
221
+ # zh-TW
222
+ x-tamil=x-tamil
223
+ x-devanagari=x-devanagari
224
+ x-unicode=x-unicode
225
+ x-user-def=x-user-def
226
+ x-armn=x-armn
227
+ x-geor=x-geor
228
+ # These self-mappings are not necessary unless somebody use them to specify
229
+ # lang in (X)HTML/XML documents, which they shouldn't. (see bug 256257)
230
+ #x-beng=x-beng
231
+ #x-cans=x-cans
232
+ #x-ethi=x-ethi
233
+ #x-guru=x-guru
234
+ #x-gujr=x-gujr
235
+ #x-khmr=x-khmr
236
+ #x-mlym=x-mlym