shoesgem 0.1480.0 → 0.1514.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (447) hide show
  1. data/LICENSE +30 -30
  2. data/README.rdoc +34 -34
  3. data/lib/shoes.rb +4 -4
  4. data/shoes/CHANGELOG.txt +29 -21
  5. data/shoes/COPYING.txt +30 -30
  6. data/shoes/README.txt +117 -117
  7. data/shoes/VERSION.txt +1 -1
  8. data/shoes/freetype6.dll +0 -0
  9. data/shoes/lib/shoes.rb +547 -524
  10. data/shoes/lib/shoes/cache.rb +54 -54
  11. data/shoes/lib/shoes/chipmunk.rb +35 -35
  12. data/shoes/lib/shoes/data.rb +39 -39
  13. data/shoes/lib/shoes/help.rb +468 -468
  14. data/shoes/lib/shoes/image.rb +25 -25
  15. data/shoes/lib/shoes/inspect.rb +128 -128
  16. data/shoes/lib/shoes/log.rb +48 -48
  17. data/shoes/lib/shoes/minitar.rb +986 -986
  18. data/shoes/lib/shoes/override.rb +38 -38
  19. data/shoes/lib/shoes/pack.rb +505 -503
  20. data/shoes/lib/shoes/search.rb +46 -46
  21. data/shoes/lib/shoes/setup.rb +329 -329
  22. data/shoes/lib/shoes/shy.rb +131 -131
  23. data/shoes/lib/shoes/shybuilder.rb +44 -44
  24. data/shoes/libcairo-2.dll +0 -0
  25. data/shoes/libeay32.dll +0 -0
  26. data/shoes/libexpat-1.dll +0 -0
  27. data/shoes/libfontconfig-1.dll +0 -0
  28. data/shoes/libgio-2.0-0.dll +0 -0
  29. data/shoes/libglib-2.0-0.dll +0 -0
  30. data/shoes/libgmodule-2.0-0.dll +0 -0
  31. data/shoes/libgobject-2.0-0.dll +0 -0
  32. data/shoes/libgthread-2.0-0.dll +0 -0
  33. data/shoes/libiconv2.dll +0 -0
  34. data/shoes/libjpeg-8.dll +0 -0
  35. data/shoes/libpango-1.0-0.dll +0 -0
  36. data/shoes/libpangocairo-1.0-0.dll +0 -0
  37. data/shoes/libpangoft2-1.0-0.dll +0 -0
  38. data/shoes/libpangowin32-1.0-0.dll +0 -0
  39. data/shoes/libpng14-14.dll +0 -0
  40. data/shoes/libportaudio-2.dll +0 -0
  41. data/shoes/libshoes.dll +0 -0
  42. data/shoes/libssl32.dll +0 -0
  43. data/shoes/libungif4.dll +0 -0
  44. data/shoes/libvlc.dll +0 -0
  45. data/shoes/msvcrt-ruby191.dll +0 -0
  46. data/shoes/plugins/liba52_plugin.dll +0 -0
  47. data/shoes/plugins/liba52sys_plugin.dll +0 -0
  48. data/shoes/plugins/liba52tofloat32_plugin.dll +0 -0
  49. data/shoes/plugins/liba52tospdif_plugin.dll +0 -0
  50. data/shoes/plugins/libaccess_directory_plugin.dll +0 -0
  51. data/shoes/plugins/libaccess_fake_plugin.dll +0 -0
  52. data/shoes/plugins/libaccess_file_plugin.dll +0 -0
  53. data/shoes/plugins/libaccess_filter_dump_plugin.dll +0 -0
  54. data/shoes/plugins/libaccess_filter_record_plugin.dll +0 -0
  55. data/shoes/plugins/libaccess_filter_timeshift_plugin.dll +0 -0
  56. data/shoes/plugins/libaccess_ftp_plugin.dll +0 -0
  57. data/shoes/plugins/libaccess_http_plugin.dll +0 -0
  58. data/shoes/plugins/libaccess_mms_plugin.dll +0 -0
  59. data/shoes/plugins/libaccess_output_dummy_plugin.dll +0 -0
  60. data/shoes/plugins/libaccess_output_file_plugin.dll +0 -0
  61. data/shoes/plugins/libaccess_output_http_plugin.dll +0 -0
  62. data/shoes/plugins/libaccess_output_shout_plugin.dll +0 -0
  63. data/shoes/plugins/libaccess_output_udp_plugin.dll +0 -0
  64. data/shoes/plugins/libaccess_realrtsp_plugin.dll +0 -0
  65. data/shoes/plugins/libaccess_smb_plugin.dll +0 -0
  66. data/shoes/plugins/libaccess_tcp_plugin.dll +0 -0
  67. data/shoes/plugins/libaccess_udp_plugin.dll +0 -0
  68. data/shoes/plugins/libadjust_plugin.dll +0 -0
  69. data/shoes/plugins/libadpcm_plugin.dll +0 -0
  70. data/shoes/plugins/libaiff_plugin.dll +0 -0
  71. data/shoes/plugins/libaout_directx_plugin.dll +0 -0
  72. data/shoes/plugins/libaout_file_plugin.dll +0 -0
  73. data/shoes/plugins/libaraw_plugin.dll +0 -0
  74. data/shoes/plugins/libasf_plugin.dll +0 -0
  75. data/shoes/plugins/libau_plugin.dll +0 -0
  76. data/shoes/plugins/libaudio_format_plugin.dll +0 -0
  77. data/shoes/plugins/libavi_plugin.dll +0 -0
  78. data/shoes/plugins/libbandlimited_resampler_plugin.dll +0 -0
  79. data/shoes/plugins/libblend_plugin.dll +0 -0
  80. data/shoes/plugins/libcaca_plugin.dll +0 -0
  81. data/shoes/plugins/libcdda_plugin.dll +0 -0
  82. data/shoes/plugins/libcinepak_plugin.dll +0 -0
  83. data/shoes/plugins/libclone_plugin.dll +0 -0
  84. data/shoes/plugins/libcmml_plugin.dll +0 -0
  85. data/shoes/plugins/libcrop_plugin.dll +0 -0
  86. data/shoes/plugins/libcvdsub_plugin.dll +0 -0
  87. data/shoes/plugins/libdeinterlace_plugin.dll +0 -0
  88. data/shoes/plugins/libdemuxdump_plugin.dll +0 -0
  89. data/shoes/plugins/libdirect3d_plugin.dll +0 -0
  90. data/shoes/plugins/libdistort_plugin.dll +0 -0
  91. data/shoes/plugins/libdmo_plugin.dll +0 -0
  92. data/shoes/plugins/libdolby_surround_decoder_plugin.dll +0 -0
  93. data/shoes/plugins/libdshow_plugin.dll +0 -0
  94. data/shoes/plugins/libdts_plugin.dll +0 -0
  95. data/shoes/plugins/libdtssys_plugin.dll +0 -0
  96. data/shoes/plugins/libdtstofloat32_plugin.dll +0 -0
  97. data/shoes/plugins/libdtstospdif_plugin.dll +0 -0
  98. data/shoes/plugins/libdummy_plugin.dll +0 -0
  99. data/shoes/plugins/libdvbsub_plugin.dll +0 -0
  100. data/shoes/plugins/libdvdnav_plugin.dll +0 -0
  101. data/shoes/plugins/libdvdread_plugin.dll +0 -0
  102. data/shoes/plugins/libequalizer_plugin.dll +0 -0
  103. data/shoes/plugins/libexport_plugin.dll +0 -0
  104. data/shoes/plugins/libfaad_plugin.dll +0 -0
  105. data/shoes/plugins/libfake_plugin.dll +0 -0
  106. data/shoes/plugins/libffmpeg_plugin.dll +0 -0
  107. data/shoes/plugins/libfixed32tofloat32_plugin.dll +0 -0
  108. data/shoes/plugins/libfixed32tos16_plugin.dll +0 -0
  109. data/shoes/plugins/libflac_plugin.dll +0 -0
  110. data/shoes/plugins/libflacdec_plugin.dll +0 -0
  111. data/shoes/plugins/libfloat32_mixer_plugin.dll +0 -0
  112. data/shoes/plugins/libfloat32tos16_plugin.dll +0 -0
  113. data/shoes/plugins/libfloat32tos8_plugin.dll +0 -0
  114. data/shoes/plugins/libfloat32tou16_plugin.dll +0 -0
  115. data/shoes/plugins/libfloat32tou8_plugin.dll +0 -0
  116. data/shoes/plugins/libfreetype_plugin.dll +0 -0
  117. data/shoes/plugins/libgestures_plugin.dll +0 -0
  118. data/shoes/plugins/libglwin32_plugin.dll +0 -0
  119. data/shoes/plugins/libgoom_plugin.dll +0 -0
  120. data/shoes/plugins/libgrowl_plugin.dll +0 -0
  121. data/shoes/plugins/libh264_plugin.dll +0 -0
  122. data/shoes/plugins/libheadphone_channel_mixer_plugin.dll +0 -0
  123. data/shoes/plugins/libhotkeys_plugin.dll +0 -0
  124. data/shoes/plugins/libhttp_plugin.dll +0 -0
  125. data/shoes/plugins/libi420_rgb_plugin.dll +0 -0
  126. data/shoes/plugins/libi420_ymga_plugin.dll +0 -0
  127. data/shoes/plugins/libi420_yuy2_plugin.dll +0 -0
  128. data/shoes/plugins/libi422_yuy2_plugin.dll +0 -0
  129. data/shoes/plugins/libid3tag_plugin.dll +0 -0
  130. data/shoes/plugins/libimage_plugin.dll +0 -0
  131. data/shoes/plugins/libinvert_plugin.dll +0 -0
  132. data/shoes/plugins/libipv4_plugin.dll +0 -0
  133. data/shoes/plugins/libipv6_plugin.dll +0 -0
  134. data/shoes/plugins/liblibmpeg2_plugin.dll +0 -0
  135. data/shoes/plugins/liblinear_resampler_plugin.dll +0 -0
  136. data/shoes/plugins/liblogger_plugin.dll +0 -0
  137. data/shoes/plugins/liblogo_plugin.dll +0 -0
  138. data/shoes/plugins/liblpcm_plugin.dll +0 -0
  139. data/shoes/plugins/libm3u_plugin.dll +0 -0
  140. data/shoes/plugins/libm4a_plugin.dll +0 -0
  141. data/shoes/plugins/libm4v_plugin.dll +0 -0
  142. data/shoes/plugins/libmagnify_plugin.dll +0 -0
  143. data/shoes/plugins/libmarq_plugin.dll +0 -0
  144. data/shoes/plugins/libmemcpy_plugin.dll +0 -0
  145. data/shoes/plugins/libmjpeg_plugin.dll +0 -0
  146. data/shoes/plugins/libmkv_plugin.dll +0 -0
  147. data/shoes/plugins/libmod_plugin.dll +0 -0
  148. data/shoes/plugins/libmosaic_plugin.dll +0 -0
  149. data/shoes/plugins/libmotionblur_plugin.dll +0 -0
  150. data/shoes/plugins/libmotiondetect_plugin.dll +0 -0
  151. data/shoes/plugins/libmp4_plugin.dll +0 -0
  152. data/shoes/plugins/libmpc_plugin.dll +0 -0
  153. data/shoes/plugins/libmpeg_audio_plugin.dll +0 -0
  154. data/shoes/plugins/libmpga_plugin.dll +0 -0
  155. data/shoes/plugins/libmpgatofixed32_plugin.dll +0 -0
  156. data/shoes/plugins/libmpgv_plugin.dll +0 -0
  157. data/shoes/plugins/libmsn_plugin.dll +0 -0
  158. data/shoes/plugins/libmux_asf_plugin.dll +0 -0
  159. data/shoes/plugins/libmux_avi_plugin.dll +0 -0
  160. data/shoes/plugins/libmux_dummy_plugin.dll +0 -0
  161. data/shoes/plugins/libmux_mp4_plugin.dll +0 -0
  162. data/shoes/plugins/libmux_mpjpeg_plugin.dll +0 -0
  163. data/shoes/plugins/libmux_ogg_plugin.dll +0 -0
  164. data/shoes/plugins/libmux_ps_plugin.dll +0 -0
  165. data/shoes/plugins/libmux_wav_plugin.dll +0 -0
  166. data/shoes/plugins/libnetsync_plugin.dll +0 -0
  167. data/shoes/plugins/libnormvol_plugin.dll +0 -0
  168. data/shoes/plugins/libnsc_plugin.dll +0 -0
  169. data/shoes/plugins/libnsv_plugin.dll +0 -0
  170. data/shoes/plugins/libntservice_plugin.dll +0 -0
  171. data/shoes/plugins/libnuv_plugin.dll +0 -0
  172. data/shoes/plugins/libogg_plugin.dll +0 -0
  173. data/shoes/plugins/libopengl_plugin.dll +0 -0
  174. data/shoes/plugins/libosdmenu_plugin.dll +0 -0
  175. data/shoes/plugins/libpacketizer_copy_plugin.dll +0 -0
  176. data/shoes/plugins/libpacketizer_h264_plugin.dll +0 -0
  177. data/shoes/plugins/libpacketizer_mpeg4audio_plugin.dll +0 -0
  178. data/shoes/plugins/libpacketizer_mpeg4video_plugin.dll +0 -0
  179. data/shoes/plugins/libpacketizer_mpegvideo_plugin.dll +0 -0
  180. data/shoes/plugins/libparam_eq_plugin.dll +0 -0
  181. data/shoes/plugins/libplaylist_plugin.dll +0 -0
  182. data/shoes/plugins/libpng_plugin.dll +0 -0
  183. data/shoes/plugins/libpodcast_plugin.dll +0 -0
  184. data/shoes/plugins/libportaudio_plugin.dll +0 -0
  185. data/shoes/plugins/libps_plugin.dll +0 -0
  186. data/shoes/plugins/libpva_plugin.dll +0 -0
  187. data/shoes/plugins/librawdv_plugin.dll +0 -0
  188. data/shoes/plugins/librawvideo_plugin.dll +0 -0
  189. data/shoes/plugins/librc_plugin.dll +0 -0
  190. data/shoes/plugins/libreal_plugin.dll +0 -0
  191. data/shoes/plugins/librealaudio_plugin.dll +0 -0
  192. data/shoes/plugins/librss_plugin.dll +0 -0
  193. data/shoes/plugins/librv32_plugin.dll +0 -0
  194. data/shoes/plugins/libs16tofixed32_plugin.dll +0 -0
  195. data/shoes/plugins/libs16tofloat32_plugin.dll +0 -0
  196. data/shoes/plugins/libs16tofloat32swab_plugin.dll +0 -0
  197. data/shoes/plugins/libs8tofloat32_plugin.dll +0 -0
  198. data/shoes/plugins/libsap_plugin.dll +0 -0
  199. data/shoes/plugins/libscale_plugin.dll +0 -0
  200. data/shoes/plugins/libscreen_plugin.dll +0 -0
  201. data/shoes/plugins/libsdl_image_plugin.dll +0 -0
  202. data/shoes/plugins/libsgimb_plugin.dll +0 -0
  203. data/shoes/plugins/libshout_plugin.dll +0 -0
  204. data/shoes/plugins/libshowintf_plugin.dll +0 -0
  205. data/shoes/plugins/libsimple_channel_mixer_plugin.dll +0 -0
  206. data/shoes/plugins/libspdif_mixer_plugin.dll +0 -0
  207. data/shoes/plugins/libspeex_plugin.dll +0 -0
  208. data/shoes/plugins/libspudec_plugin.dll +0 -0
  209. data/shoes/plugins/libstream_out_bridge_plugin.dll +0 -0
  210. data/shoes/plugins/libstream_out_description_plugin.dll +0 -0
  211. data/shoes/plugins/libstream_out_display_plugin.dll +0 -0
  212. data/shoes/plugins/libstream_out_dummy_plugin.dll +0 -0
  213. data/shoes/plugins/libstream_out_duplicate_plugin.dll +0 -0
  214. data/shoes/plugins/libstream_out_es_plugin.dll +0 -0
  215. data/shoes/plugins/libstream_out_gather_plugin.dll +0 -0
  216. data/shoes/plugins/libstream_out_mosaic_bridge_plugin.dll +0 -0
  217. data/shoes/plugins/libstream_out_rtp_plugin.dll +0 -0
  218. data/shoes/plugins/libstream_out_standard_plugin.dll +0 -0
  219. data/shoes/plugins/libstream_out_transcode_plugin.dll +0 -0
  220. data/shoes/plugins/libsubsdec_plugin.dll +0 -0
  221. data/shoes/plugins/libsubtitle_plugin.dll +0 -0
  222. data/shoes/plugins/libsvcdsub_plugin.dll +0 -0
  223. data/shoes/plugins/libtelnet_plugin.dll +0 -0
  224. data/shoes/plugins/libtelx_plugin.dll +0 -0
  225. data/shoes/plugins/libtheora_plugin.dll +0 -0
  226. data/shoes/plugins/libtime_plugin.dll +0 -0
  227. data/shoes/plugins/libtransform_plugin.dll +0 -0
  228. data/shoes/plugins/libtrivial_channel_mixer_plugin.dll +0 -0
  229. data/shoes/plugins/libtrivial_mixer_plugin.dll +0 -0
  230. data/shoes/plugins/libtrivial_resampler_plugin.dll +0 -0
  231. data/shoes/plugins/libts_plugin.dll +0 -0
  232. data/shoes/plugins/libtta_plugin.dll +0 -0
  233. data/shoes/plugins/libtwolame_plugin.dll +0 -0
  234. data/shoes/plugins/libty_plugin.dll +0 -0
  235. data/shoes/plugins/libu8tofixed32_plugin.dll +0 -0
  236. data/shoes/plugins/libu8tofloat32_plugin.dll +0 -0
  237. data/shoes/plugins/libugly_resampler_plugin.dll +0 -0
  238. data/shoes/plugins/libvcd_plugin.dll +0 -0
  239. data/shoes/plugins/libvisual_plugin.dll +0 -0
  240. data/shoes/plugins/libvobsub_plugin.dll +0 -0
  241. data/shoes/plugins/libvoc_plugin.dll +0 -0
  242. data/shoes/plugins/libvod_rtsp_plugin.dll +0 -0
  243. data/shoes/plugins/libvorbis_plugin.dll +0 -0
  244. data/shoes/plugins/libvout_directx_plugin.dll +0 -0
  245. data/shoes/plugins/libwall_plugin.dll +0 -0
  246. data/shoes/plugins/libwav_plugin.dll +0 -0
  247. data/shoes/plugins/libwaveout_plugin.dll +0 -0
  248. data/shoes/plugins/libwingdi_plugin.dll +0 -0
  249. data/shoes/plugins/libx264_plugin.dll +0 -0
  250. data/shoes/plugins/libxa_plugin.dll +0 -0
  251. data/shoes/plugins/libxtag_plugin.dll +0 -0
  252. data/shoes/readline5.dll +0 -0
  253. data/shoes/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib/fast_xs.so +0 -0
  254. data/shoes/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib/hpricot.rb +26 -26
  255. data/shoes/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib/hpricot/blankslate.rb +63 -63
  256. data/shoes/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib/hpricot/builder.rb +216 -216
  257. data/shoes/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib/hpricot/elements.rb +510 -510
  258. data/shoes/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib/hpricot/htmlinfo.rb +691 -691
  259. data/shoes/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib/hpricot/inspect.rb +103 -103
  260. data/shoes/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib/hpricot/modules.rb +40 -40
  261. data/shoes/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib/hpricot/parse.rb +38 -38
  262. data/shoes/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib/hpricot/tag.rb +202 -202
  263. data/shoes/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib/hpricot/tags.rb +164 -164
  264. data/shoes/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib/hpricot/traverse.rb +838 -838
  265. data/shoes/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib/hpricot/xchar.rb +94 -94
  266. data/shoes/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib/hpricot_scan.so +0 -0
  267. data/shoes/ruby/gems/1.9.1/gems/json-shoes-1.1.3/lib/json.rb +8 -8
  268. data/shoes/ruby/gems/1.9.1/gems/json-shoes-1.1.3/lib/json/add/core.rb +135 -135
  269. data/shoes/ruby/gems/1.9.1/gems/json-shoes-1.1.3/lib/json/add/rails.rb +58 -58
  270. data/shoes/ruby/gems/1.9.1/gems/json-shoes-1.1.3/lib/json/common.rb +354 -354
  271. data/shoes/ruby/gems/1.9.1/gems/json-shoes-1.1.3/lib/json/ext.rb +13 -13
  272. data/shoes/ruby/gems/1.9.1/gems/json-shoes-1.1.3/lib/json/ext/generator.so +0 -0
  273. data/shoes/ruby/gems/1.9.1/gems/json-shoes-1.1.3/lib/json/ext/parser.so +0 -0
  274. data/shoes/ruby/gems/1.9.1/gems/json-shoes-1.1.3/lib/json/version.rb +9 -9
  275. data/shoes/ruby/gems/1.9.1/gems/sqlite3-ruby-1.3.0/lib/sqlite3.rb +11 -11
  276. data/shoes/ruby/gems/1.9.1/gems/sqlite3-ruby-1.3.0/lib/sqlite3/constants.rb +49 -49
  277. data/shoes/ruby/gems/1.9.1/gems/sqlite3-ruby-1.3.0/lib/sqlite3/database.rb +568 -568
  278. data/shoes/ruby/gems/1.9.1/gems/sqlite3-ruby-1.3.0/lib/sqlite3/errors.rb +44 -44
  279. data/shoes/ruby/gems/1.9.1/gems/sqlite3-ruby-1.3.0/lib/sqlite3/pragmas.rb +280 -280
  280. data/shoes/ruby/gems/1.9.1/gems/sqlite3-ruby-1.3.0/lib/sqlite3/resultset.rb +126 -126
  281. data/shoes/ruby/gems/1.9.1/gems/sqlite3-ruby-1.3.0/lib/sqlite3/statement.rb +146 -146
  282. data/shoes/ruby/gems/1.9.1/gems/sqlite3-ruby-1.3.0/lib/sqlite3/translator.rb +114 -114
  283. data/shoes/ruby/gems/1.9.1/gems/sqlite3-ruby-1.3.0/lib/sqlite3/value.rb +57 -57
  284. data/shoes/ruby/gems/1.9.1/gems/sqlite3-ruby-1.3.0/lib/sqlite3/version.rb +16 -16
  285. data/shoes/ruby/gems/1.9.1/gems/sqlite3-ruby-1.3.0/lib/sqlite3_native.so +0 -0
  286. data/shoes/ruby/gems/1.9.1/specifications/hpricot-0.8.1.gemspec +32 -32
  287. data/shoes/ruby/gems/1.9.1/specifications/json-shoes-1.1.3.gemspec +34 -34
  288. data/shoes/ruby/gems/1.9.1/specifications/sqlite3-ruby-1.3.0.gemspec +48 -48
  289. data/shoes/ruby/lib/ftsearch/analysis/analyzer.rb +16 -16
  290. data/shoes/ruby/lib/ftsearch/analysis/simple_identifier_analyzer.rb +23 -23
  291. data/shoes/ruby/lib/ftsearch/analysis/whitespace_analyzer.rb +22 -22
  292. data/shoes/ruby/lib/ftsearch/document_map_reader.rb +106 -106
  293. data/shoes/ruby/lib/ftsearch/document_map_writer.rb +46 -46
  294. data/shoes/ruby/lib/ftsearch/field_infos.rb +46 -46
  295. data/shoes/ruby/lib/ftsearch/fragment_writer.rb +114 -114
  296. data/shoes/ruby/lib/ftsearch/fulltext_reader.rb +52 -52
  297. data/shoes/ruby/lib/ftsearch/fulltext_writer.rb +75 -75
  298. data/shoes/ruby/lib/ftsearch/suffix_array_reader.rb +277 -277
  299. data/shoes/ruby/lib/ftsearch/suffix_array_writer.rb +99 -99
  300. data/shoes/ruby/lib/ftsearch/util.rb +21 -21
  301. data/shoes/ruby/lib/i386-mingw32/bigdecimal.so +0 -0
  302. data/shoes/ruby/lib/i386-mingw32/binject.so +0 -0
  303. data/shoes/ruby/lib/i386-mingw32/bloops.so +0 -0
  304. data/shoes/ruby/lib/i386-mingw32/chipmunk.so +0 -0
  305. data/shoes/ruby/lib/i386-mingw32/continuation.so +0 -0
  306. data/shoes/ruby/lib/i386-mingw32/coverage.so +0 -0
  307. data/shoes/ruby/lib/i386-mingw32/curses.so +0 -0
  308. data/shoes/ruby/lib/i386-mingw32/digest.so +0 -0
  309. data/shoes/ruby/lib/i386-mingw32/digest/bubblebabble.so +0 -0
  310. data/shoes/ruby/lib/i386-mingw32/digest/md5.so +0 -0
  311. data/shoes/ruby/lib/i386-mingw32/digest/rmd160.so +0 -0
  312. data/shoes/ruby/lib/i386-mingw32/digest/sha1.so +0 -0
  313. data/shoes/ruby/lib/i386-mingw32/digest/sha2.so +0 -0
  314. data/shoes/ruby/lib/i386-mingw32/dl.so +0 -0
  315. data/shoes/ruby/lib/i386-mingw32/enc/big5.so +0 -0
  316. data/shoes/ruby/lib/i386-mingw32/enc/cp949.so +0 -0
  317. data/shoes/ruby/lib/i386-mingw32/enc/emacs_mule.so +0 -0
  318. data/shoes/ruby/lib/i386-mingw32/enc/encdb.so +0 -0
  319. data/shoes/ruby/lib/i386-mingw32/enc/euc_jp.so +0 -0
  320. data/shoes/ruby/lib/i386-mingw32/enc/euc_kr.so +0 -0
  321. data/shoes/ruby/lib/i386-mingw32/enc/euc_tw.so +0 -0
  322. data/shoes/ruby/lib/i386-mingw32/enc/gb18030.so +0 -0
  323. data/shoes/ruby/lib/i386-mingw32/enc/gb2312.so +0 -0
  324. data/shoes/ruby/lib/i386-mingw32/enc/gbk.so +0 -0
  325. data/shoes/ruby/lib/i386-mingw32/enc/iso_8859_1.so +0 -0
  326. data/shoes/ruby/lib/i386-mingw32/enc/iso_8859_10.so +0 -0
  327. data/shoes/ruby/lib/i386-mingw32/enc/iso_8859_11.so +0 -0
  328. data/shoes/ruby/lib/i386-mingw32/enc/iso_8859_13.so +0 -0
  329. data/shoes/ruby/lib/i386-mingw32/enc/iso_8859_14.so +0 -0
  330. data/shoes/ruby/lib/i386-mingw32/enc/iso_8859_15.so +0 -0
  331. data/shoes/ruby/lib/i386-mingw32/enc/iso_8859_16.so +0 -0
  332. data/shoes/ruby/lib/i386-mingw32/enc/iso_8859_2.so +0 -0
  333. data/shoes/ruby/lib/i386-mingw32/enc/iso_8859_3.so +0 -0
  334. data/shoes/ruby/lib/i386-mingw32/enc/iso_8859_4.so +0 -0
  335. data/shoes/ruby/lib/i386-mingw32/enc/iso_8859_5.so +0 -0
  336. data/shoes/ruby/lib/i386-mingw32/enc/iso_8859_6.so +0 -0
  337. data/shoes/ruby/lib/i386-mingw32/enc/iso_8859_7.so +0 -0
  338. data/shoes/ruby/lib/i386-mingw32/enc/iso_8859_8.so +0 -0
  339. data/shoes/ruby/lib/i386-mingw32/enc/iso_8859_9.so +0 -0
  340. data/shoes/ruby/lib/i386-mingw32/enc/koi8_r.so +0 -0
  341. data/shoes/ruby/lib/i386-mingw32/enc/koi8_u.so +0 -0
  342. data/shoes/ruby/lib/i386-mingw32/enc/shift_jis.so +0 -0
  343. data/shoes/ruby/lib/i386-mingw32/enc/trans/big5.so +0 -0
  344. data/shoes/ruby/lib/i386-mingw32/enc/trans/chinese.so +0 -0
  345. data/shoes/ruby/lib/i386-mingw32/enc/trans/escape.so +0 -0
  346. data/shoes/ruby/lib/i386-mingw32/enc/trans/gb18030.so +0 -0
  347. data/shoes/ruby/lib/i386-mingw32/enc/trans/gbk.so +0 -0
  348. data/shoes/ruby/lib/i386-mingw32/enc/trans/iso2022.so +0 -0
  349. data/shoes/ruby/lib/i386-mingw32/enc/trans/japanese.so +0 -0
  350. data/shoes/ruby/lib/i386-mingw32/enc/trans/japanese_euc.so +0 -0
  351. data/shoes/ruby/lib/i386-mingw32/enc/trans/japanese_sjis.so +0 -0
  352. data/shoes/ruby/lib/i386-mingw32/enc/trans/korean.so +0 -0
  353. data/shoes/ruby/lib/i386-mingw32/enc/trans/single_byte.so +0 -0
  354. data/shoes/ruby/lib/i386-mingw32/enc/trans/transdb.so +0 -0
  355. data/shoes/ruby/lib/i386-mingw32/enc/trans/utf_16_32.so +0 -0
  356. data/shoes/ruby/lib/i386-mingw32/enc/utf_16be.so +0 -0
  357. data/shoes/ruby/lib/i386-mingw32/enc/utf_16le.so +0 -0
  358. data/shoes/ruby/lib/i386-mingw32/enc/utf_32be.so +0 -0
  359. data/shoes/ruby/lib/i386-mingw32/enc/utf_32le.so +0 -0
  360. data/shoes/ruby/lib/i386-mingw32/enc/windows_1251.so +0 -0
  361. data/shoes/ruby/lib/i386-mingw32/etc.so +0 -0
  362. data/shoes/ruby/lib/i386-mingw32/fcntl.so +0 -0
  363. data/shoes/ruby/lib/i386-mingw32/fiber.so +0 -0
  364. data/shoes/ruby/lib/i386-mingw32/ftsearchrt.so +0 -0
  365. data/shoes/ruby/lib/i386-mingw32/gdbm.so +0 -0
  366. data/shoes/ruby/lib/i386-mingw32/iconv.so +0 -0
  367. data/shoes/ruby/lib/i386-mingw32/io/wait.so +0 -0
  368. data/shoes/ruby/lib/i386-mingw32/json/ext/generator.so +0 -0
  369. data/shoes/ruby/lib/i386-mingw32/json/ext/parser.so +0 -0
  370. data/shoes/ruby/lib/i386-mingw32/mathn/complex.so +0 -0
  371. data/shoes/ruby/lib/i386-mingw32/mathn/rational.so +0 -0
  372. data/shoes/ruby/lib/i386-mingw32/nkf.so +0 -0
  373. data/shoes/ruby/lib/i386-mingw32/openssl.so +0 -0
  374. data/shoes/ruby/lib/i386-mingw32/racc/cparse.so +0 -0
  375. data/shoes/ruby/lib/i386-mingw32/rbconfig.rb +4 -4
  376. data/shoes/ruby/lib/i386-mingw32/readline.so +0 -0
  377. data/shoes/ruby/lib/i386-mingw32/ripper.so +0 -0
  378. data/shoes/ruby/lib/i386-mingw32/sdbm.so +0 -0
  379. data/shoes/ruby/lib/i386-mingw32/socket.so +0 -0
  380. data/shoes/ruby/lib/i386-mingw32/stringio.so +0 -0
  381. data/shoes/ruby/lib/i386-mingw32/strscan.so +0 -0
  382. data/shoes/ruby/lib/i386-mingw32/syck.so +0 -0
  383. data/shoes/ruby/lib/i386-mingw32/win32ole.so +0 -0
  384. data/shoes/ruby/lib/i386-mingw32/zlib.so +0 -0
  385. data/shoes/samples/class-book.rb +43 -43
  386. data/shoes/samples/class-book.yaml +387 -387
  387. data/shoes/samples/expert-definr.rb +23 -23
  388. data/shoes/samples/expert-funnies.rb +51 -51
  389. data/shoes/samples/expert-irb.rb +112 -112
  390. data/shoes/samples/expert-minesweeper.rb +267 -267
  391. data/shoes/samples/expert-othello.rb +319 -319
  392. data/shoes/samples/expert-pong.rb +62 -62
  393. data/shoes/samples/expert-tankspank.rb +385 -385
  394. data/shoes/samples/good-arc.rb +37 -37
  395. data/shoes/samples/good-clock.rb +51 -51
  396. data/shoes/samples/good-follow.rb +26 -26
  397. data/shoes/samples/good-reminder.rb +174 -174
  398. data/shoes/samples/good-vjot.rb +56 -56
  399. data/shoes/samples/simple-accordion.rb +75 -75
  400. data/shoes/samples/simple-anim-shapes.rb +17 -17
  401. data/shoes/samples/simple-anim-text.rb +13 -13
  402. data/shoes/samples/simple-arc.rb +23 -23
  403. data/shoes/samples/simple-bounce.rb +24 -24
  404. data/shoes/samples/simple-calc.rb +70 -70
  405. data/shoes/samples/simple-chipmunk.rb +26 -26
  406. data/shoes/samples/simple-control-sizes.rb +24 -24
  407. data/shoes/samples/simple-curve.rb +26 -26
  408. data/shoes/samples/simple-dialogs.rb +29 -29
  409. data/shoes/samples/simple-downloader.rb +27 -27
  410. data/shoes/samples/simple-draw.rb +13 -13
  411. data/shoes/samples/simple-editor.rb +28 -28
  412. data/shoes/samples/simple-form.rb +28 -28
  413. data/shoes/samples/simple-mask.rb +21 -21
  414. data/shoes/samples/simple-menu.rb +31 -31
  415. data/shoes/samples/simple-menu1.rb +35 -35
  416. data/shoes/samples/simple-rubygems.rb +29 -29
  417. data/shoes/samples/simple-slide.rb +45 -45
  418. data/shoes/samples/simple-sphere.rb +28 -28
  419. data/shoes/samples/simple-sqlite3.rb +13 -13
  420. data/shoes/samples/simple-timer.rb +13 -13
  421. data/shoes/samples/simple-video.rb +13 -13
  422. data/shoes/shoes.exe +0 -0
  423. data/shoes/shoes.exe.manifest +17 -17
  424. data/shoes/sqlite3.dll +0 -0
  425. data/shoes/static/code_highlighter.js +188 -188
  426. data/shoes/static/code_highlighter_ruby.js +26 -26
  427. data/shoes/static/manual-en.txt +2825 -2825
  428. data/shoes/static/manual-ja.txt +2825 -2780
  429. data/shoes/static/manual.css +167 -167
  430. data/shoes/static/stubs/blank.run +375 -375
  431. data/shoes/static/stubs/sh-install +48 -48
  432. data/shoes/static/stubs/shoes-stub-inject.exe +0 -0
  433. data/shoes/static/stubs/shoes-stub.exe +0 -0
  434. data/shoes/zlib.dll +0 -0
  435. data/shoes/zlib1.dll +0 -0
  436. metadata +213 -15
  437. data/shoes/nsis/base.nsi +0 -644
  438. data/shoes/nsis/installer-1.bmp +0 -0
  439. data/shoes/nsis/installer-2.bmp +0 -0
  440. data/shoes/nsis/setup.ico +0 -0
  441. data/shoes/nsis/shoes.exe.manifest +0 -17
  442. data/shoes/nsis/shoes.ico +0 -0
  443. data/shoes/nsis/shoes.nsi +0 -644
  444. data/shoes/nsis/stub-inject.c +0 -59
  445. data/shoes/nsis/stub.c +0 -271
  446. data/shoes/nsis/stub32.h +0 -14
  447. data/shoes/nsis/stub32.rc +0 -16
@@ -1,48 +1,48 @@
1
- #!/bin/sh
2
- shoes_host="http://hacketyhack.net"
3
- shoes_url="$shoes_host/pkg/linux/shoes"
4
- this_dir=`pwd`
5
-
6
- shoes="$(which shoes)"
7
- if [ -x "$this_dir/shoes" ] ; then
8
- shoes="$this_dir/shoes"
9
- fi
10
- if [ -z "$shoes" ] ; then
11
- shoes="$HOME/.shoes/shoes.run"
12
- fi
13
-
14
- if [ ! -x "$shoes" ] ; then
15
- echo "Downloading Shoes... "
16
-
17
- # First, try wget.
18
- wget="wget -q -O -"
19
- wdl="wget -q"
20
- shoes_pkg="$($wget "$shoes_url" 2>/dev/null)"
21
-
22
- if [ -z "$shoes_pkg" ] ; then
23
- # Then, try curl.
24
- wget="curl -s"
25
- wdl="curl -s -O"
26
- shoes_pkg="$($wget "$shoes_url" 2>/dev/null)"
27
-
28
- if [ -z "$shoes_pkg" ] ; then
29
- # Lastly, try bsd fetch.
30
- wget="fetch -q -o -"
31
- wdl="fetch -q"
32
- shoes_pkg="$($wget "$shoes_url" 2>/dev/null)"
33
-
34
- if [ -z "$shoes_pkg" ] ; then
35
- echo "sorry, couldn't find wget or curl."
36
- exit 1;
37
- fi
38
- fi
39
- fi
40
-
41
- shoes_run="$shoes_host$shoes_pkg"
42
- echo "Fetching $shoes_run..."
43
- mkdir -p $HOME/.shoes
44
- eval $wget "$shoes_run" > $shoes
45
- chmod 755 $shoes
46
- fi
47
-
48
- eval $shoes -- "$this_dir/#{SCRIPT}"
1
+ #!/bin/sh
2
+ shoes_host="http://shoes.heroku.com"
3
+ shoes_url="$shoes_host/pkg/policeman/linux/shoes"
4
+ this_dir=`pwd`
5
+
6
+ shoes="$(which shoes)"
7
+ if [ -x "$this_dir/shoes" ] ; then
8
+ shoes="$this_dir/shoes"
9
+ fi
10
+ if [ -z "$shoes" ] ; then
11
+ shoes="$HOME/.shoes/shoes.run"
12
+ fi
13
+
14
+ if [ ! -x "$shoes" ] ; then
15
+ echo "Downloading Shoes... "
16
+
17
+ # First, try wget.
18
+ wget="wget -q -O -"
19
+ wdl="wget -q"
20
+ shoes_pkg="$($wget "$shoes_url" 2>/dev/null)"
21
+
22
+ if [ -z "$shoes_pkg" ] ; then
23
+ # Then, try curl.
24
+ wget="curl -s"
25
+ wdl="curl -s -O"
26
+ shoes_pkg="$($wget "$shoes_url" 2>/dev/null)"
27
+
28
+ if [ -z "$shoes_pkg" ] ; then
29
+ # Lastly, try bsd fetch.
30
+ wget="fetch -q -o -"
31
+ wdl="fetch -q"
32
+ shoes_pkg="$($wget "$shoes_url" 2>/dev/null)"
33
+
34
+ if [ -z "$shoes_pkg" ] ; then
35
+ echo "sorry, couldn't find wget or curl."
36
+ exit 1;
37
+ fi
38
+ fi
39
+ fi
40
+
41
+ shoes_run="$shoes_host$shoes_pkg"
42
+ echo "Fetching $shoes_run..."
43
+ mkdir -p $HOME/.shoes
44
+ eval $wget "$shoes_run" > $shoes
45
+ chmod 755 $shoes
46
+ fi
47
+
48
+ eval $shoes -- "$this_dir/#{SCRIPT}"
Binary file
Binary file
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shoesgem
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5951
4
+ hash: 6071
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 1480
8
+ - 1514
9
9
  - 0
10
- version: 0.1480.0
10
+ version: 0.1514.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - ashbb
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-19 00:00:00 +09:00
18
+ date: 2010-08-20 00:00:00 +09:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -85,18 +85,214 @@ files:
85
85
  - shoes/libshoes.dll
86
86
  - shoes/libssl32.dll
87
87
  - shoes/libungif4.dll
88
+ - shoes/libvlc.dll
88
89
  - shoes/msvcrt-ruby191.dll
89
- - shoes/nsis/base.nsi
90
- - shoes/nsis/installer-1.bmp
91
- - shoes/nsis/installer-2.bmp
92
- - shoes/nsis/setup.ico
93
- - shoes/nsis/shoes.exe.manifest
94
- - shoes/nsis/shoes.ico
95
- - shoes/nsis/shoes.nsi
96
- - shoes/nsis/stub-inject.c
97
- - shoes/nsis/stub.c
98
- - shoes/nsis/stub32.h
99
- - shoes/nsis/stub32.rc
90
+ - shoes/plugins/liba52_plugin.dll
91
+ - shoes/plugins/liba52sys_plugin.dll
92
+ - shoes/plugins/liba52tofloat32_plugin.dll
93
+ - shoes/plugins/liba52tospdif_plugin.dll
94
+ - shoes/plugins/libaccess_directory_plugin.dll
95
+ - shoes/plugins/libaccess_fake_plugin.dll
96
+ - shoes/plugins/libaccess_file_plugin.dll
97
+ - shoes/plugins/libaccess_filter_dump_plugin.dll
98
+ - shoes/plugins/libaccess_filter_record_plugin.dll
99
+ - shoes/plugins/libaccess_filter_timeshift_plugin.dll
100
+ - shoes/plugins/libaccess_ftp_plugin.dll
101
+ - shoes/plugins/libaccess_http_plugin.dll
102
+ - shoes/plugins/libaccess_mms_plugin.dll
103
+ - shoes/plugins/libaccess_output_dummy_plugin.dll
104
+ - shoes/plugins/libaccess_output_file_plugin.dll
105
+ - shoes/plugins/libaccess_output_http_plugin.dll
106
+ - shoes/plugins/libaccess_output_shout_plugin.dll
107
+ - shoes/plugins/libaccess_output_udp_plugin.dll
108
+ - shoes/plugins/libaccess_realrtsp_plugin.dll
109
+ - shoes/plugins/libaccess_smb_plugin.dll
110
+ - shoes/plugins/libaccess_tcp_plugin.dll
111
+ - shoes/plugins/libaccess_udp_plugin.dll
112
+ - shoes/plugins/libadjust_plugin.dll
113
+ - shoes/plugins/libadpcm_plugin.dll
114
+ - shoes/plugins/libaiff_plugin.dll
115
+ - shoes/plugins/libaout_directx_plugin.dll
116
+ - shoes/plugins/libaout_file_plugin.dll
117
+ - shoes/plugins/libaraw_plugin.dll
118
+ - shoes/plugins/libasf_plugin.dll
119
+ - shoes/plugins/libau_plugin.dll
120
+ - shoes/plugins/libaudio_format_plugin.dll
121
+ - shoes/plugins/libavi_plugin.dll
122
+ - shoes/plugins/libbandlimited_resampler_plugin.dll
123
+ - shoes/plugins/libblend_plugin.dll
124
+ - shoes/plugins/libcaca_plugin.dll
125
+ - shoes/plugins/libcdda_plugin.dll
126
+ - shoes/plugins/libcinepak_plugin.dll
127
+ - shoes/plugins/libclone_plugin.dll
128
+ - shoes/plugins/libcmml_plugin.dll
129
+ - shoes/plugins/libcrop_plugin.dll
130
+ - shoes/plugins/libcvdsub_plugin.dll
131
+ - shoes/plugins/libdeinterlace_plugin.dll
132
+ - shoes/plugins/libdemuxdump_plugin.dll
133
+ - shoes/plugins/libdirect3d_plugin.dll
134
+ - shoes/plugins/libdistort_plugin.dll
135
+ - shoes/plugins/libdmo_plugin.dll
136
+ - shoes/plugins/libdolby_surround_decoder_plugin.dll
137
+ - shoes/plugins/libdshow_plugin.dll
138
+ - shoes/plugins/libdts_plugin.dll
139
+ - shoes/plugins/libdtssys_plugin.dll
140
+ - shoes/plugins/libdtstofloat32_plugin.dll
141
+ - shoes/plugins/libdtstospdif_plugin.dll
142
+ - shoes/plugins/libdummy_plugin.dll
143
+ - shoes/plugins/libdvbsub_plugin.dll
144
+ - shoes/plugins/libdvdnav_plugin.dll
145
+ - shoes/plugins/libdvdread_plugin.dll
146
+ - shoes/plugins/libequalizer_plugin.dll
147
+ - shoes/plugins/libexport_plugin.dll
148
+ - shoes/plugins/libfaad_plugin.dll
149
+ - shoes/plugins/libfake_plugin.dll
150
+ - shoes/plugins/libffmpeg_plugin.dll
151
+ - shoes/plugins/libfixed32tofloat32_plugin.dll
152
+ - shoes/plugins/libfixed32tos16_plugin.dll
153
+ - shoes/plugins/libflac_plugin.dll
154
+ - shoes/plugins/libflacdec_plugin.dll
155
+ - shoes/plugins/libfloat32_mixer_plugin.dll
156
+ - shoes/plugins/libfloat32tos16_plugin.dll
157
+ - shoes/plugins/libfloat32tos8_plugin.dll
158
+ - shoes/plugins/libfloat32tou16_plugin.dll
159
+ - shoes/plugins/libfloat32tou8_plugin.dll
160
+ - shoes/plugins/libfreetype_plugin.dll
161
+ - shoes/plugins/libgestures_plugin.dll
162
+ - shoes/plugins/libglwin32_plugin.dll
163
+ - shoes/plugins/libgoom_plugin.dll
164
+ - shoes/plugins/libgrowl_plugin.dll
165
+ - shoes/plugins/libh264_plugin.dll
166
+ - shoes/plugins/libheadphone_channel_mixer_plugin.dll
167
+ - shoes/plugins/libhotkeys_plugin.dll
168
+ - shoes/plugins/libhttp_plugin.dll
169
+ - shoes/plugins/libi420_rgb_plugin.dll
170
+ - shoes/plugins/libi420_ymga_plugin.dll
171
+ - shoes/plugins/libi420_yuy2_plugin.dll
172
+ - shoes/plugins/libi422_yuy2_plugin.dll
173
+ - shoes/plugins/libid3tag_plugin.dll
174
+ - shoes/plugins/libimage_plugin.dll
175
+ - shoes/plugins/libinvert_plugin.dll
176
+ - shoes/plugins/libipv4_plugin.dll
177
+ - shoes/plugins/libipv6_plugin.dll
178
+ - shoes/plugins/liblibmpeg2_plugin.dll
179
+ - shoes/plugins/liblinear_resampler_plugin.dll
180
+ - shoes/plugins/liblogger_plugin.dll
181
+ - shoes/plugins/liblogo_plugin.dll
182
+ - shoes/plugins/liblpcm_plugin.dll
183
+ - shoes/plugins/libm3u_plugin.dll
184
+ - shoes/plugins/libm4a_plugin.dll
185
+ - shoes/plugins/libm4v_plugin.dll
186
+ - shoes/plugins/libmagnify_plugin.dll
187
+ - shoes/plugins/libmarq_plugin.dll
188
+ - shoes/plugins/libmemcpy_plugin.dll
189
+ - shoes/plugins/libmjpeg_plugin.dll
190
+ - shoes/plugins/libmkv_plugin.dll
191
+ - shoes/plugins/libmod_plugin.dll
192
+ - shoes/plugins/libmosaic_plugin.dll
193
+ - shoes/plugins/libmotionblur_plugin.dll
194
+ - shoes/plugins/libmotiondetect_plugin.dll
195
+ - shoes/plugins/libmp4_plugin.dll
196
+ - shoes/plugins/libmpc_plugin.dll
197
+ - shoes/plugins/libmpeg_audio_plugin.dll
198
+ - shoes/plugins/libmpga_plugin.dll
199
+ - shoes/plugins/libmpgatofixed32_plugin.dll
200
+ - shoes/plugins/libmpgv_plugin.dll
201
+ - shoes/plugins/libmsn_plugin.dll
202
+ - shoes/plugins/libmux_asf_plugin.dll
203
+ - shoes/plugins/libmux_avi_plugin.dll
204
+ - shoes/plugins/libmux_dummy_plugin.dll
205
+ - shoes/plugins/libmux_mp4_plugin.dll
206
+ - shoes/plugins/libmux_mpjpeg_plugin.dll
207
+ - shoes/plugins/libmux_ogg_plugin.dll
208
+ - shoes/plugins/libmux_ps_plugin.dll
209
+ - shoes/plugins/libmux_wav_plugin.dll
210
+ - shoes/plugins/libnetsync_plugin.dll
211
+ - shoes/plugins/libnormvol_plugin.dll
212
+ - shoes/plugins/libnsc_plugin.dll
213
+ - shoes/plugins/libnsv_plugin.dll
214
+ - shoes/plugins/libntservice_plugin.dll
215
+ - shoes/plugins/libnuv_plugin.dll
216
+ - shoes/plugins/libogg_plugin.dll
217
+ - shoes/plugins/libopengl_plugin.dll
218
+ - shoes/plugins/libosdmenu_plugin.dll
219
+ - shoes/plugins/libpacketizer_copy_plugin.dll
220
+ - shoes/plugins/libpacketizer_h264_plugin.dll
221
+ - shoes/plugins/libpacketizer_mpeg4audio_plugin.dll
222
+ - shoes/plugins/libpacketizer_mpeg4video_plugin.dll
223
+ - shoes/plugins/libpacketizer_mpegvideo_plugin.dll
224
+ - shoes/plugins/libparam_eq_plugin.dll
225
+ - shoes/plugins/libplaylist_plugin.dll
226
+ - shoes/plugins/libpng_plugin.dll
227
+ - shoes/plugins/libpodcast_plugin.dll
228
+ - shoes/plugins/libportaudio_plugin.dll
229
+ - shoes/plugins/libps_plugin.dll
230
+ - shoes/plugins/libpva_plugin.dll
231
+ - shoes/plugins/librawdv_plugin.dll
232
+ - shoes/plugins/librawvideo_plugin.dll
233
+ - shoes/plugins/librc_plugin.dll
234
+ - shoes/plugins/libreal_plugin.dll
235
+ - shoes/plugins/librealaudio_plugin.dll
236
+ - shoes/plugins/librss_plugin.dll
237
+ - shoes/plugins/librv32_plugin.dll
238
+ - shoes/plugins/libs16tofixed32_plugin.dll
239
+ - shoes/plugins/libs16tofloat32_plugin.dll
240
+ - shoes/plugins/libs16tofloat32swab_plugin.dll
241
+ - shoes/plugins/libs8tofloat32_plugin.dll
242
+ - shoes/plugins/libsap_plugin.dll
243
+ - shoes/plugins/libscale_plugin.dll
244
+ - shoes/plugins/libscreen_plugin.dll
245
+ - shoes/plugins/libsdl_image_plugin.dll
246
+ - shoes/plugins/libsgimb_plugin.dll
247
+ - shoes/plugins/libshout_plugin.dll
248
+ - shoes/plugins/libshowintf_plugin.dll
249
+ - shoes/plugins/libsimple_channel_mixer_plugin.dll
250
+ - shoes/plugins/libspdif_mixer_plugin.dll
251
+ - shoes/plugins/libspeex_plugin.dll
252
+ - shoes/plugins/libspudec_plugin.dll
253
+ - shoes/plugins/libstream_out_bridge_plugin.dll
254
+ - shoes/plugins/libstream_out_description_plugin.dll
255
+ - shoes/plugins/libstream_out_display_plugin.dll
256
+ - shoes/plugins/libstream_out_dummy_plugin.dll
257
+ - shoes/plugins/libstream_out_duplicate_plugin.dll
258
+ - shoes/plugins/libstream_out_es_plugin.dll
259
+ - shoes/plugins/libstream_out_gather_plugin.dll
260
+ - shoes/plugins/libstream_out_mosaic_bridge_plugin.dll
261
+ - shoes/plugins/libstream_out_rtp_plugin.dll
262
+ - shoes/plugins/libstream_out_standard_plugin.dll
263
+ - shoes/plugins/libstream_out_transcode_plugin.dll
264
+ - shoes/plugins/libsubsdec_plugin.dll
265
+ - shoes/plugins/libsubtitle_plugin.dll
266
+ - shoes/plugins/libsvcdsub_plugin.dll
267
+ - shoes/plugins/libtelnet_plugin.dll
268
+ - shoes/plugins/libtelx_plugin.dll
269
+ - shoes/plugins/libtheora_plugin.dll
270
+ - shoes/plugins/libtime_plugin.dll
271
+ - shoes/plugins/libtransform_plugin.dll
272
+ - shoes/plugins/libtrivial_channel_mixer_plugin.dll
273
+ - shoes/plugins/libtrivial_mixer_plugin.dll
274
+ - shoes/plugins/libtrivial_resampler_plugin.dll
275
+ - shoes/plugins/libts_plugin.dll
276
+ - shoes/plugins/libtta_plugin.dll
277
+ - shoes/plugins/libtwolame_plugin.dll
278
+ - shoes/plugins/libty_plugin.dll
279
+ - shoes/plugins/libu8tofixed32_plugin.dll
280
+ - shoes/plugins/libu8tofloat32_plugin.dll
281
+ - shoes/plugins/libugly_resampler_plugin.dll
282
+ - shoes/plugins/libvcd_plugin.dll
283
+ - shoes/plugins/libvisual_plugin.dll
284
+ - shoes/plugins/libvobsub_plugin.dll
285
+ - shoes/plugins/libvoc_plugin.dll
286
+ - shoes/plugins/libvod_rtsp_plugin.dll
287
+ - shoes/plugins/libvorbis_plugin.dll
288
+ - shoes/plugins/libvout_directx_plugin.dll
289
+ - shoes/plugins/libwall_plugin.dll
290
+ - shoes/plugins/libwav_plugin.dll
291
+ - shoes/plugins/libwaveout_plugin.dll
292
+ - shoes/plugins/libwingdi_plugin.dll
293
+ - shoes/plugins/libx264_plugin.dll
294
+ - shoes/plugins/libxa_plugin.dll
295
+ - shoes/plugins/libxtag_plugin.dll
100
296
  - shoes/readline5.dll
101
297
  - shoes/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib/fast_xs.so
102
298
  - shoes/ruby/gems/1.9.1/gems/hpricot-0.8.1/lib/hpricot.rb
@@ -856,6 +1052,8 @@ files:
856
1052
  - shoes/static/stubs/blank.run
857
1053
  - shoes/static/stubs/cocoa-install
858
1054
  - shoes/static/stubs/sh-install
1055
+ - shoes/static/stubs/shoes-stub-inject.exe
1056
+ - shoes/static/stubs/shoes-stub.exe
859
1057
  - shoes/static/tutor-back.png
860
1058
  - shoes/zlib.dll
861
1059
  - shoes/zlib1.dll
@@ -1,644 +0,0 @@
1
- ;--------------------------------
2
- ;Definitions
3
- !define AppName "#{APPNAME}"
4
- !define AppRelease "#{RELEASE_NAME}"
5
- !define AppVersion "#{VERS}"
6
- !define AppMainEXE "#{NAME}.exe"
7
- !define ShortName "#{NAME}"
8
- !define InstallKey "Software\Hackety.org\${AppName}"
9
-
10
- ;--------------------------------
11
- ;Path Manipulation Funcs
12
-
13
- !ifndef _AddToPath_nsh
14
- !define _AddToPath_nsh
15
-
16
- !verbose 3
17
- !include "WinMessages.NSH"
18
- !verbose 4
19
-
20
- !ifndef WriteEnvStr_RegKey
21
- !ifdef ALL_USERS
22
- !define WriteEnvStr_RegKey \
23
- 'HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Environment"'
24
- !else
25
- !define WriteEnvStr_RegKey 'HKCU "Environment"'
26
- !endif
27
- !endif
28
-
29
- ; AddToPath - Adds the given dir to the search path.
30
- ; Input - head of the stack
31
- ; Note - Win9x systems requires reboot
32
-
33
- Function AddToPath
34
- Exch $0
35
- Push $1
36
- Push $2
37
- Push $3
38
-
39
- # don't add if the path doesn't exist
40
- IfFileExists "$0\*.*" "" AddToPath_done
41
-
42
- ReadEnvStr $1 PATH
43
- Push "$1;"
44
- Push "$0;"
45
- Call StrStr
46
- Pop $2
47
- StrCmp $2 "" "" AddToPath_done
48
- Push "$1;"
49
- Push "$0\;"
50
- Call StrStr
51
- Pop $2
52
- StrCmp $2 "" "" AddToPath_done
53
- GetFullPathName /SHORT $3 $0
54
- Push "$1;"
55
- Push "$3;"
56
- Call StrStr
57
- Pop $2
58
- StrCmp $2 "" "" AddToPath_done
59
- Push "$1;"
60
- Push "$3\;"
61
- Call StrStr
62
- Pop $2
63
- StrCmp $2 "" "" AddToPath_done
64
-
65
- Call IsNT
66
- Pop $1
67
- StrCmp $1 1 AddToPath_NT
68
- ; Not on NT
69
- StrCpy $1 $WINDIR 2
70
- FileOpen $1 "$1\autoexec.bat" a
71
- FileSeek $1 -1 END
72
- FileReadByte $1 $2
73
- IntCmp $2 26 0 +2 +2 # DOS EOF
74
- FileSeek $1 -1 END # write over EOF
75
- FileWrite $1 "$\r$\nSET PATH=%PATH%;$3$\r$\n"
76
- FileClose $1
77
- SetRebootFlag true
78
- Goto AddToPath_done
79
-
80
- AddToPath_NT:
81
- ReadRegStr $1 ${WriteEnvStr_RegKey} "PATH"
82
- StrCmp $1 "" AddToPath_NTdoIt
83
- Push $1
84
- Call Trim
85
- Pop $1
86
- StrCpy $0 "$1;$0"
87
- AddToPath_NTdoIt:
88
- WriteRegExpandStr ${WriteEnvStr_RegKey} "PATH" $0
89
- SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000
90
-
91
- AddToPath_done:
92
- Pop $3
93
- Pop $2
94
- Pop $1
95
- Pop $0
96
- FunctionEnd
97
-
98
- ; RemoveFromPath - Remove a given dir from the path
99
- ; Input: head of the stack
100
-
101
- Function un.RemoveFromPath
102
- Exch $0
103
- Push $1
104
- Push $2
105
- Push $3
106
- Push $4
107
- Push $5
108
- Push $6
109
-
110
- IntFmt $6 "%c" 26 # DOS EOF
111
-
112
- Call un.IsNT
113
- Pop $1
114
- StrCmp $1 1 unRemoveFromPath_NT
115
- ; Not on NT
116
- StrCpy $1 $WINDIR 2
117
- FileOpen $1 "$1\autoexec.bat" r
118
- GetTempFileName $4
119
- FileOpen $2 $4 w
120
- GetFullPathName /SHORT $0 $0
121
- StrCpy $0 "SET PATH=%PATH%;$0"
122
- Goto unRemoveFromPath_dosLoop
123
-
124
- unRemoveFromPath_dosLoop:
125
- FileRead $1 $3
126
- StrCpy $5 $3 1 -1 # read last char
127
- StrCmp $5 $6 0 +2 # if DOS EOF
128
- StrCpy $3 $3 -1 # remove DOS EOF so we can compare
129
- StrCmp $3 "$0$\r$\n" unRemoveFromPath_dosLoopRemoveLine
130
- StrCmp $3 "$0$\n" unRemoveFromPath_dosLoopRemoveLine
131
- StrCmp $3 "$0" unRemoveFromPath_dosLoopRemoveLine
132
- StrCmp $3 "" unRemoveFromPath_dosLoopEnd
133
- FileWrite $2 $3
134
- Goto unRemoveFromPath_dosLoop
135
- unRemoveFromPath_dosLoopRemoveLine:
136
- SetRebootFlag true
137
- Goto unRemoveFromPath_dosLoop
138
-
139
- unRemoveFromPath_dosLoopEnd:
140
- FileClose $2
141
- FileClose $1
142
- StrCpy $1 $WINDIR 2
143
- Delete "$1\autoexec.bat"
144
- CopyFiles /SILENT $4 "$1\autoexec.bat"
145
- Delete $4
146
- Goto unRemoveFromPath_done
147
-
148
- unRemoveFromPath_NT:
149
- ReadRegStr $1 ${WriteEnvStr_RegKey} "PATH"
150
- StrCpy $5 $1 1 -1 # copy last char
151
- StrCmp $5 ";" +2 # if last char != ;
152
- StrCpy $1 "$1;" # append ;
153
- Push $1
154
- Push "$0;"
155
- Call un.StrStr ; Find `$0;` in $1
156
- Pop $2 ; pos of our dir
157
- StrCmp $2 "" unRemoveFromPath_done
158
- ; else, it is in path
159
- # $0 - path to add
160
- # $1 - path var
161
- StrLen $3 "$0;"
162
- StrLen $4 $2
163
- StrCpy $5 $1 -$4 # $5 is now the part before the path to remove
164
- StrCpy $6 $2 "" $3 # $6 is now the part after the path to remove
165
- StrCpy $3 $5$6
166
-
167
- StrCpy $5 $3 1 -1 # copy last char
168
- StrCmp $5 ";" 0 +2 # if last char == ;
169
- StrCpy $3 $3 -1 # remove last char
170
-
171
- WriteRegExpandStr ${WriteEnvStr_RegKey} "PATH" $3
172
- SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000
173
-
174
- unRemoveFromPath_done:
175
- Pop $6
176
- Pop $5
177
- Pop $4
178
- Pop $3
179
- Pop $2
180
- Pop $1
181
- Pop $0
182
- FunctionEnd
183
-
184
-
185
-
186
- ; AddToEnvVar - Adds the given value to the given environment var
187
- ; Input - head of the stack $0 environement variable $1=value to add
188
- ; Note - Win9x systems requires reboot
189
-
190
- Function AddToEnvVar
191
-
192
- Exch $1 ; $1 has environment variable value
193
- Exch
194
- Exch $0 ; $0 has environment variable name
195
-
196
- DetailPrint "Adding $1 to $0"
197
- Push $2
198
- Push $3
199
- Push $4
200
-
201
-
202
- ReadEnvStr $2 $0
203
- Push "$2;"
204
- Push "$1;"
205
- Call StrStr
206
- Pop $3
207
- StrCmp $3 "" "" AddToEnvVar_done
208
-
209
- Push "$2;"
210
- Push "$1\;"
211
- Call StrStr
212
- Pop $3
213
- StrCmp $3 "" "" AddToEnvVar_done
214
-
215
-
216
- Call IsNT
217
- Pop $2
218
- StrCmp $2 1 AddToEnvVar_NT
219
- ; Not on NT
220
- StrCpy $2 $WINDIR 2
221
- FileOpen $2 "$2\autoexec.bat" a
222
- FileSeek $2 -1 END
223
- FileReadByte $2 $3
224
- IntCmp $3 26 0 +2 +2 # DOS EOF
225
- FileSeek $2 -1 END # write over EOF
226
- FileWrite $2 "$\r$\nSET $0=%$0%;$4$\r$\n"
227
- FileClose $2
228
- SetRebootFlag true
229
- Goto AddToEnvVar_done
230
-
231
- AddToEnvVar_NT:
232
- ReadRegStr $2 ${WriteEnvStr_RegKey} $0
233
- StrCpy $3 $2 1 -1 # copy last char
234
- StrCmp $3 ";" 0 +2 # if last char == ;
235
- StrCpy $2 $2 -1 # remove last char
236
- StrCmp $2 "" AddToEnvVar_NTdoIt
237
- StrCpy $1 "$2;$1"
238
- AddToEnvVar_NTdoIt:
239
- WriteRegExpandStr ${WriteEnvStr_RegKey} $0 $1
240
- SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000
241
-
242
- AddToEnvVar_done:
243
- Pop $4
244
- Pop $3
245
- Pop $2
246
- Pop $0
247
- Pop $1
248
-
249
- FunctionEnd
250
-
251
- ; RemoveFromEnvVar - Remove a given value from a environment var
252
- ; Input: head of the stack
253
-
254
- Function un.RemoveFromEnvVar
255
-
256
- Exch $1 ; $1 has environment variable value
257
- Exch
258
- Exch $0 ; $0 has environment variable name
259
-
260
- DetailPrint "Removing $1 from $0"
261
- Push $2
262
- Push $3
263
- Push $4
264
- Push $5
265
- Push $6
266
- Push $7
267
-
268
- IntFmt $7 "%c" 26 # DOS EOF
269
-
270
- Call un.IsNT
271
- Pop $2
272
- StrCmp $2 1 unRemoveFromEnvVar_NT
273
- ; Not on NT
274
- StrCpy $2 $WINDIR 2
275
- FileOpen $2 "$2\autoexec.bat" r
276
- GetTempFileName $5
277
- FileOpen $3 $5 w
278
- GetFullPathName /SHORT $1 $1
279
- StrCpy $1 "SET $0=%$0%;$1"
280
- Goto unRemoveFromEnvVar_dosLoop
281
-
282
- unRemoveFromEnvVar_dosLoop:
283
- FileRead $2 $4
284
- StrCpy $6 $4 1 -1 # read last char
285
- StrCmp $6 $7 0 +2 # if DOS EOF
286
- StrCpy $4 $4 -1 # remove DOS EOF so we can compare
287
- StrCmp $4 "$1$\r$\n" unRemoveFromEnvVar_dosLoopRemoveLine
288
- StrCmp $4 "$1$\n" unRemoveFromEnvVar_dosLoopRemoveLine
289
- StrCmp $4 "$1" unRemoveFromEnvVar_dosLoopRemoveLine
290
- StrCmp $4 "" unRemoveFromEnvVar_dosLoopEnd
291
- FileWrite $3 $4
292
- Goto unRemoveFromEnvVar_dosLoop
293
- unRemoveFromEnvVar_dosLoopRemoveLine:
294
- SetRebootFlag true
295
- Goto unRemoveFromEnvVar_dosLoop
296
-
297
- unRemoveFromEnvVar_dosLoopEnd:
298
- FileClose $3
299
- FileClose $2
300
- StrCpy $2 $WINDIR 2
301
- Delete "$2\autoexec.bat"
302
- CopyFiles /SILENT $5 "$2\autoexec.bat"
303
- Delete $5
304
- Goto unRemoveFromEnvVar_done
305
-
306
- unRemoveFromEnvVar_NT:
307
- ReadRegStr $2 ${WriteEnvStr_RegKey} $0
308
- StrCpy $6 $2 1 -1 # copy last char
309
- StrCmp $6 ";" +2 # if last char != ;
310
- StrCpy $2 "$2;" # append ;
311
- Push $2
312
- Push "$1;"
313
- Call un.StrStr ; Find `$1;` in $2
314
- Pop $3 ; pos of our dir
315
- StrCmp $3 "" unRemoveFromEnvVar_done
316
- ; else, it is in path
317
- # $1 - path to add
318
- # $2 - path var
319
- StrLen $4 "$1;"
320
- StrLen $5 $3
321
- StrCpy $6 $2 -$5 # $6 is now the part before the path to remove
322
- StrCpy $7 $3 "" $4 # $7 is now the part after the path to remove
323
- StrCpy $4 $6$7
324
-
325
- StrCpy $6 $4 1 -1 # copy last char
326
- StrCmp $6 ";" 0 +2 # if last char == ;
327
- StrCpy $4 $4 -1 # remove last char
328
-
329
- WriteRegExpandStr ${WriteEnvStr_RegKey} $0 $4
330
-
331
- ; delete reg value if null
332
- StrCmp $4 "" 0 +2 # if null delete reg
333
- DeleteRegValue ${WriteEnvStr_RegKey} $0
334
-
335
- SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000
336
-
337
- unRemoveFromEnvVar_done:
338
- Pop $7
339
- Pop $6
340
- Pop $5
341
- Pop $4
342
- Pop $3
343
- Pop $2
344
- Pop $1
345
- Pop $0
346
- FunctionEnd
347
-
348
- !ifndef IsNT_KiCHiK
349
- !define IsNT_KiCHiK
350
-
351
- ###########################################
352
- # Utility Functions #
353
- ###########################################
354
-
355
- ; IsNT
356
- ; no input
357
- ; output, top of the stack = 1 if NT or 0 if not
358
- ;
359
- ; Usage:
360
- ; Call IsNT
361
- ; Pop $R0
362
- ; ($R0 at this point is 1 or 0)
363
-
364
- !macro IsNT un
365
- Function ${un}IsNT
366
- Push $0
367
- ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion
368
- StrCmp $0 "" 0 IsNT_yes
369
- ; we are not NT.
370
- Pop $0
371
- Push 0
372
- Return
373
-
374
- IsNT_yes:
375
- ; NT!!!
376
- Pop $0
377
- Push 1
378
- FunctionEnd
379
- !macroend
380
- !insertmacro IsNT ""
381
- !insertmacro IsNT "un."
382
-
383
- !endif ; IsNT_KiCHiK
384
-
385
- ; StrStr
386
- ; input, top of stack = string to search for
387
- ; top of stack-1 = string to search in
388
- ; output, top of stack (replaces with the portion of the string remaining)
389
- ; modifies no other variables.
390
- ;
391
- ; Usage:
392
- ; Push "this is a long ass string"
393
- ; Push "ass"
394
- ; Call StrStr
395
- ; Pop $R0
396
- ; ($R0 at this point is "ass string")
397
-
398
- !macro StrStr un
399
- Function ${un}StrStr
400
- Exch $R1 ; st=haystack,old$R1, $R1=needle
401
- Exch ; st=old$R1,haystack
402
- Exch $R2 ; st=old$R1,old$R2, $R2=haystack
403
- Push $R3
404
- Push $R4
405
- Push $R5
406
- StrLen $R3 $R1
407
- StrCpy $R4 0
408
- ; $R1=needle
409
- ; $R2=haystack
410
- ; $R3=len(needle)
411
- ; $R4=cnt
412
- ; $R5=tmp
413
- loop:
414
- StrCpy $R5 $R2 $R3 $R4
415
- StrCmp $R5 $R1 done
416
- StrCmp $R5 "" done
417
- IntOp $R4 $R4 + 1
418
- Goto loop
419
- done:
420
- StrCpy $R1 $R2 "" $R4
421
- Pop $R5
422
- Pop $R4
423
- Pop $R3
424
- Pop $R2
425
- Exch $R1
426
- FunctionEnd
427
- !macroend
428
- !insertmacro StrStr ""
429
- !insertmacro StrStr "un."
430
-
431
- !endif ; _AddToPath_nsh
432
-
433
- Function Trim ; Added by Pelaca
434
- Exch $R1
435
- Push $R2
436
- Loop:
437
- StrCpy $R2 "$R1" 1 -1
438
- StrCmp "$R2" " " RTrim
439
- StrCmp "$R2" "$\n" RTrim
440
- StrCmp "$R2" "$\r" RTrim
441
- StrCmp "$R2" ";" RTrim
442
- GoTo Done
443
- RTrim:
444
- StrCpy $R1 "$R1" -1
445
- Goto Loop
446
- Done:
447
- Pop $R2
448
- Exch $R1
449
- FunctionEnd
450
-
451
- ;--------------------------------
452
- ;Include Modern UI
453
-
454
- !include "MUI.nsh"
455
- !include LogicLib.nsh
456
-
457
- ;--------------------------------
458
- ;General
459
-
460
- ;Name and file
461
- Name "${AppName} (${AppRelease})"
462
- OutFile "${ShortName}-${AppVersion}.exe"
463
-
464
- ;Default installation folder
465
- InstallDir "$COMMONFILES\${AppName}"
466
-
467
- ;Get installation folder from registry if available
468
- InstallDirRegKey HKLM "${InstallKey}" "Base"
469
-
470
- ;Vista redirects $SMPROGRAMS to all users without this
471
- RequestExecutionLevel admin
472
-
473
- ;Best compression
474
- SetCompressor /SOLID lzma
475
-
476
- ;--------------------------------
477
- ;Variables
478
-
479
- Var MUI_TEMP
480
- Var STARTMENU_FOLDER
481
-
482
- ;--------------------------------
483
- ;Interface Configuration
484
-
485
- !define MUI_ABORTWARNING
486
- !define MUI_ICON setup.ico
487
- !define MUI_UNICON setup.ico
488
- !define MUI_WELCOMEPAGE_TITLE_3LINES
489
- !define MUI_WELCOMEFINISHPAGE_BITMAP installer-1.bmp
490
- !define MUI_HEADERIMAGE
491
- !define MUI_HEADERIMAGE_RIGHT
492
- !define MUI_HEADERIMAGE_BITMAP installer-2.bmp
493
- !define MUI_COMPONENTSPAGE_NODESC
494
-
495
- ;--------------------------------
496
- ;Pages
497
-
498
- !insertmacro MUI_PAGE_WELCOME
499
- !define MUI_PAGE_HEADER_TEXT "Shoes is MIT Licensed"
500
- !define MUI_PAGE_HEADER_SUBTEXT "You are free to do as you please with Shoes."
501
- !define MUI_LICENSEPAGE_TEXT_TOP "When you are ready to continue with Setup, click I Agree."
502
- !define MUI_LICENSEPAGE_TEXT_BOTTOM " "
503
- !insertmacro MUI_PAGE_LICENSE "..\COPYING.txt"
504
-
505
- ;Start Menu Folder Page Configuration
506
- !define MUI_STARTMENUPAGE_DEFAULTFOLDER "${AppName}"
507
- !define MUI_STARTMENUPAGE_REGISTRY_ROOT "HKLM"
508
- !define MUI_STARTMENUPAGE_REGISTRY_KEY "${InstallKey}"
509
- !define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "Start Menu Folder"
510
-
511
- !insertmacro MUI_PAGE_STARTMENU Application $STARTMENU_FOLDER
512
- !insertmacro MUI_PAGE_DIRECTORY
513
- !insertmacro MUI_PAGE_INSTFILES
514
-
515
- ; Finish Page
516
- !define MUI_FINISHPAGE_NOREBOOTSUPPORT
517
- !define MUI_FINISHPAGE_TITLE_3LINES
518
- !define MUI_FINISHPAGE_RUN
519
- !define MUI_FINISHPAGE_RUN_FUNCTION LaunchApp
520
- !define MUI_FINISHPAGE_RUN_TEXT $(LAUNCH_TEXT)
521
- ;!define MUI_PAGE_CUSTOMFUNCTION_PRE preFinish
522
- !insertmacro MUI_PAGE_FINISH
523
-
524
- !insertmacro MUI_UNPAGE_CONFIRM
525
- !insertmacro MUI_UNPAGE_INSTFILES
526
-
527
- ;--------------------------------
528
- ;Languages
529
-
530
- !insertmacro MUI_LANGUAGE "English"
531
- LangString LAUNCH_TEXT ${LANG_ENGLISH} "Run ${AppName}"
532
- LangString TEXT_IO_TITLE ${LANG_ENGLISH} "Your ${AppName} Settings"
533
- LangString TEXT_IO_SUBTITLE ${LANG_ENGLISH} "Customize the way you use ${AppName}"
534
-
535
- ;--------------------------------
536
- ;Reserve Files
537
-
538
- ;--------------------------------
539
- ;Installer Section
540
- !macro MakeFileAssoc LangName LangExt
541
- WriteRegStr HKCR ".${LangExt}" "" "${ShortName}.${LangName}Program"
542
- WriteRegStr HKCR "${ShortName}.${LangName}Program" "" "${AppName} ${LangName} Program"
543
- WriteRegStr HKCR "${ShortName}.${LangName}Program\shell\open\command" "" '"$INSTDIR\${AppMainEXE}" "%1"'
544
- !macroend
545
-
546
- !macro UnmakeFileAssoc LangName LangExt
547
- DeleteRegKey /ifempty HKCU ".${LangExt}"
548
- DeleteRegKey /ifempty HKCU "${ShortName}.${LangName}Program"
549
- !macroend
550
-
551
- Section "App Section" SecApp
552
-
553
- ;Store installation folder
554
- WriteRegStr HKLM "${InstallKey}" "" "$INSTDIR\${AppVersion}"
555
- WriteRegStr HKLM "${InstallKey}" "Base" $INSTDIR
556
-
557
- ;ReadEnvStr $INSTDIR "COMMONPROGRAMFILES"
558
- StrCpy $INSTDIR "$INSTDIR\${AppVersion}"
559
- SetOutPath "$INSTDIR"
560
-
561
- File /r /x nsis ..\*.*
562
-
563
- ;Make associations
564
- !insertmacro MakeFileAssoc "Shoes" "shy"
565
-
566
- ;Create uninstaller
567
- WriteUninstaller "$INSTDIR\Uninstall.exe"
568
-
569
- ;Create batch file
570
- FileOpen $0 "$INSTDIR\..\shoes.bat" w
571
- FileWrite $0 "@ECHO OFF$\r$\n"
572
- FileWrite $0 '@"$INSTDIR\shoes.exe" %1 %2 %3 %4 %5 %6 %7 %8 %9$\r$\n'
573
- FileClose $0
574
-
575
- !insertmacro MUI_STARTMENU_WRITE_BEGIN Application
576
-
577
- ;Create shortcuts
578
- CreateDirectory "$SMPROGRAMS\$STARTMENU_FOLDER"
579
- CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\${AppName}.lnk" "$INSTDIR\${AppMainEXE}"
580
- CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Manual.lnk" "$INSTDIR\${AppMainEXE}" "--manual"
581
- CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Packager.lnk" "$INSTDIR\${AppMainEXE}" "--package"
582
-
583
- ;Setup environment vars
584
- Push "$INSTDIR\.."
585
- Call AddToPath
586
-
587
- !insertmacro MUI_STARTMENU_WRITE_END
588
-
589
- SectionEnd
590
-
591
-
592
- Function LaunchApp
593
- ; ${CloseApp} "true" $(WARN_APP_RUNNING_INSTALL)
594
- Exec "$INSTDIR\${AppMainEXE}"
595
- FunctionEnd
596
-
597
- ;--------------------------------
598
- ;Descriptions
599
-
600
- ;Language strings
601
- LangString DESC_SecApp ${LANG_ENGLISH} "A test section."
602
-
603
- ;Assign language strings to sections
604
- !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
605
- !insertmacro MUI_DESCRIPTION_TEXT ${SecApp} $(DESC_SecApp)
606
- !insertmacro MUI_FUNCTION_DESCRIPTION_END
607
-
608
- ;--------------------------------
609
- ;Uninstaller Section
610
-
611
- Section "Uninstall"
612
-
613
- RMDir /r "$INSTDIR"
614
- Delete "$INSTDIR\..\shoes.bat"
615
-
616
- !insertmacro MUI_STARTMENU_GETFOLDER Application $MUI_TEMP
617
-
618
- Delete "$SMPROGRAMS\$MUI_TEMP\${AppName}.lnk"
619
- Delete "$SMPROGRAMS\$MUI_TEMP\Manual.lnk"
620
- Delete "$SMPROGRAMS\$MUI_TEMP\Packager.lnk"
621
-
622
- ;Delete empty start menu parent diretories
623
- StrCpy $MUI_TEMP "$SMPROGRAMS\$MUI_TEMP"
624
-
625
- startMenuDeleteLoop:
626
- ClearErrors
627
- RMDir $MUI_TEMP
628
- GetFullPathName $MUI_TEMP "$MUI_TEMP\.."
629
-
630
- IfErrors startMenuDeleteLoopDone
631
-
632
- StrCmp $MUI_TEMP $SMPROGRAMS startMenuDeleteLoopDone startMenuDeleteLoop
633
- startMenuDeleteLoopDone:
634
-
635
- ;Unmake associations
636
- !insertmacro UnmakeFileAssoc "Shoes" "shy"
637
-
638
- ;Remove environment vars
639
- Push "$INSTDIR\.."
640
- Call un.RemoveFromPath
641
-
642
- DeleteRegKey /ifempty HKLM "${InstallKey}"
643
-
644
- SectionEnd