redcar 0.3.0dev → 0.3.1dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (434) hide show
  1. data/CHANGES +29 -3
  2. data/README.md +33 -0
  3. data/ROADMAP.md +23 -25
  4. data/Rakefile +58 -85
  5. data/bin/redcar +8 -2
  6. data/lib/freebase2/lib/freebase/readers.rb +8 -1
  7. data/lib/redcar.rb +22 -7
  8. data/lib/redcar/boot.rb +2 -5
  9. data/lib/redcar/{install.rb → installer.rb} +24 -22
  10. data/lib/redcar/ruby_extensions.rb +4 -0
  11. data/plugins/application/features/step_definitions/menu_steps.rb +12 -0
  12. data/plugins/application/features/step_definitions/tree_steps.rb +14 -2
  13. data/plugins/application/features/support/env.rb +4 -0
  14. data/plugins/application/lib/application.rb +48 -4
  15. data/plugins/application/lib/application/command.rb +4 -0
  16. data/plugins/application/lib/application/command/executor.rb +4 -1
  17. data/plugins/application/lib/application/dialogs/filter_list_dialog.rb +45 -0
  18. data/plugins/application/lib/application/menu.rb +17 -2
  19. data/plugins/application/lib/application/menu/builder.rb +18 -15
  20. data/plugins/application/lib/application/notebook.rb +28 -1
  21. data/plugins/application/lib/application/sensitivity.rb +10 -6
  22. data/plugins/application/lib/application/tab.rb +0 -1
  23. data/plugins/application/lib/application/treebook.rb +5 -0
  24. data/plugins/application/lib/application/window.rb +21 -1
  25. data/plugins/application/spec/application/menu/builder_spec.rb +0 -12
  26. data/plugins/application/spec/application/menu_spec.rb +14 -0
  27. data/plugins/application/spec/spec_helper.rb +2 -1
  28. data/plugins/application_swt/lib/application_swt.rb +9 -2
  29. data/plugins/application_swt/lib/application_swt/dialogs/filter_list_dialog_controller.rb +128 -0
  30. data/plugins/application_swt/lib/application_swt/dialogs/no_buttons_dialog.rb +24 -0
  31. data/plugins/application_swt/lib/application_swt/menu.rb +3 -1
  32. data/plugins/application_swt/lib/application_swt/notebook.rb +20 -31
  33. data/plugins/application_swt/lib/application_swt/swt/listener_helpers.rb +20 -0
  34. data/plugins/application_swt/lib/application_swt/swt_wrapper.rb +11 -0
  35. data/plugins/application_swt/lib/application_swt/tab.rb +2 -1
  36. data/plugins/application_swt/lib/application_swt/window.rb +4 -6
  37. data/plugins/application_swt/spec/spec_helper.rb +4 -1
  38. data/plugins/core/lib/core.rb +21 -0
  39. data/plugins/core/lib/core/gui.rb +6 -1
  40. data/plugins/core/lib/core/observable.rb +7 -3
  41. data/plugins/core/lib/core/plugin/storage.rb +48 -0
  42. data/plugins/core/spec/core/storage_spec.rb +30 -0
  43. data/plugins/edit_view/features/step_definitions/editing_steps.rb +7 -0
  44. data/plugins/edit_view/features/step_definitions/notebook_steps.rb +4 -0
  45. data/plugins/edit_view/features/step_definitions/tab_steps.rb +24 -6
  46. data/plugins/edit_view/features/support/env.rb +4 -0
  47. data/plugins/edit_view/features/switch_tabs.feature +55 -0
  48. data/plugins/edit_view/features/undo_and_redo.feature +52 -0
  49. data/plugins/edit_view/lib/edit_view.rb +22 -12
  50. data/plugins/edit_view/lib/edit_view/command.rb +6 -0
  51. data/plugins/edit_view/lib/edit_view/document.rb +69 -8
  52. data/plugins/edit_view/lib/edit_view/edit_tab.rb +2 -1
  53. data/plugins/edit_view/spec/spec_helper.rb +2 -1
  54. data/plugins/edit_view_swt/lib/edit_view_swt.rb +36 -7
  55. data/plugins/edit_view_swt/lib/edit_view_swt/document.rb +42 -7
  56. data/plugins/project/features/open_and_save_files.feature +9 -0
  57. data/plugins/project/features/refresh_directory_tree.feature +37 -0
  58. data/plugins/project/features/step_definitions/directory_steps.rb +5 -1
  59. data/plugins/project/features/step_definitions/file_steps.rb +17 -0
  60. data/plugins/project/lib/project.rb +91 -20
  61. data/plugins/project/lib/project/dir_mirror.rb +10 -1
  62. data/plugins/project/lib/project/file_mirror.rb +2 -0
  63. data/plugins/project/lib/project/find_file_dialog.rb +86 -0
  64. data/plugins/project/lib/project/project_command.rb +5 -0
  65. data/plugins/project/spec/spec_helper.rb +2 -1
  66. data/plugins/redcar/plugin.yaml +0 -2
  67. data/plugins/redcar/redcar.rb +181 -14
  68. data/plugins/repl/lib/repl.rb +16 -8
  69. data/plugins/repl/lib/repl/internal_mirror.rb +3 -1
  70. data/plugins/repl/plugin.yaml +2 -2
  71. data/plugins/repl/spec/spec_helper.rb +2 -1
  72. data/plugins/tree/lib/tree.rb +5 -0
  73. data/plugins/tree/spec/spec_helper.rb +2 -1
  74. data/plugins/tree_view_swt/lib/tree_view_swt.rb +16 -0
  75. data/textmate/Bundles/Cucumber.tmbundle/Syntaxes/Cucumber_Plain_Text_Feature.tmLanguage +186 -0
  76. data/textmate/Bundles/Cucumber.tmbundle/Syntaxes/Cucumber_Steps.tmLanguage +249 -0
  77. data/textmate/Bundles/Cucumber.tmbundle/Syntaxes/plaintext_template.erb +187 -0
  78. data/textmate/Bundles/Java.tmbundle/Syntaxes/Java.plist +1153 -0
  79. data/textmate/Bundles/Java.tmbundle/Syntaxes/JavaProperties.plist +70 -0
  80. data/textmate/Bundles/Java.tmbundle/Syntaxes/Java_Server_Pages___JSP__.tmLanguage +256 -0
  81. data/textmate/Bundles/Perl.tmbundle/Syntaxes/Perl.plist +3209 -0
  82. data/textmate/Bundles/RedcarRepl.tmbundle/Syntaxes/InternalRuby.plist +2 -0
  83. data/textmate/Bundles/Ruby on Rails.tmbundle/Syntaxes/HTML___Rails__.plist +92 -0
  84. data/textmate/Bundles/Ruby on Rails.tmbundle/Syntaxes/JavaScript___Rails__.tmLanguage +82 -0
  85. data/textmate/Bundles/Ruby on Rails.tmbundle/Syntaxes/RJS.tmLanguage +25 -0
  86. data/textmate/Bundles/Ruby on Rails.tmbundle/Syntaxes/Ruby_on_Rails.plist +288 -0
  87. data/textmate/Bundles/Ruby on Rails.tmbundle/Syntaxes/SQL___Rails__.plist +51 -0
  88. metadata +342 -651
  89. data/ext/extconf.rb +0 -18
  90. data/textmate/Bundles/C.tmbundle/Snippets/010_main_______main__.plist +0 -20
  91. data/textmate/Bundles/C.tmbundle/Snippets/030_for_int_loop___fori__.plist +0 -19
  92. data/textmate/Bundles/C.tmbundle/Snippets/Include_header_once_only_guard.plist +0 -28
  93. data/textmate/Bundles/C.tmbundle/Snippets/Typedef.tmSnippet +0 -16
  94. data/textmate/Bundles/C.tmbundle/Snippets/__1_begin_________1_end_______beginend__.plist +0 -16
  95. data/textmate/Bundles/C.tmbundle/Snippets/__endif.plist +0 -17
  96. data/textmate/Bundles/C.tmbundle/Snippets/__ifndef__________define__________endif.tmSnippet +0 -18
  97. data/textmate/Bundles/C.tmbundle/Snippets/__include________inc__.plist +0 -16
  98. data/textmate/Bundles/C.tmbundle/Snippets/__pragma_mark___mark__.plist +0 -21
  99. data/textmate/Bundles/C.tmbundle/Snippets/class______class__.plist +0 -24
  100. data/textmate/Bundles/C.tmbundle/Snippets/do___while_loop___do__.plist +0 -18
  101. data/textmate/Bundles/C.tmbundle/Snippets/fprintf_______.tmSnippet +0 -16
  102. data/textmate/Bundles/C.tmbundle/Snippets/if______if__.plist +0 -19
  103. data/textmate/Bundles/C.tmbundle/Snippets/namespace______namespace__.plist +0 -20
  104. data/textmate/Bundles/C.tmbundle/Snippets/next___include________Inc__.plist +0 -16
  105. data/textmate/Bundles/C.tmbundle/Snippets/printf______printf__.plist +0 -16
  106. data/textmate/Bundles/C.tmbundle/Snippets/read_file___readF__.plist +0 -23
  107. data/textmate/Bundles/C.tmbundle/Snippets/std____map___map__.plist +0 -16
  108. data/textmate/Bundles/C.tmbundle/Snippets/std____vector___v__.plist +0 -16
  109. data/textmate/Bundles/C.tmbundle/Snippets/struct.plist +0 -19
  110. data/textmate/Bundles/C.tmbundle/Snippets/template___typename________template__.plist +0 -16
  111. data/textmate/Bundles/CSS.tmbundle/Snippets/Fixed_Position_Bottom_100___wide_IE6.tmSnippet +0 -18
  112. data/textmate/Bundles/CSS.tmbundle/Snippets/__important_CSS_______.plist +0 -18
  113. data/textmate/Bundles/CSS.tmbundle/Snippets/background____color_image_repeat_attachment_position___background__.plist +0 -16
  114. data/textmate/Bundles/CSS.tmbundle/Snippets/background__attachment___scroll__fixed___background__.plist +0 -16
  115. data/textmate/Bundles/CSS.tmbundle/Snippets/background__color____color__hex___background__.plist +0 -16
  116. data/textmate/Bundles/CSS.tmbundle/Snippets/background__color____color__name___background__.plist +0 -16
  117. data/textmate/Bundles/CSS.tmbundle/Snippets/background__color____color__rgb___background__.plist +0 -16
  118. data/textmate/Bundles/CSS.tmbundle/Snippets/background__color____transparent___background__.plist +0 -16
  119. data/textmate/Bundles/CSS.tmbundle/Snippets/background__image____none___background__.plist +0 -16
  120. data/textmate/Bundles/CSS.tmbundle/Snippets/background__image____url___background__.plist +0 -16
  121. data/textmate/Bundles/CSS.tmbundle/Snippets/background__position____position___background__.plist +0 -16
  122. data/textmate/Bundles/CSS.tmbundle/Snippets/background__repeat____r__r__x__r__y__n__r___background__.plist +0 -16
  123. data/textmate/Bundles/CSS.tmbundle/Snippets/border_____size_style_color___border__.plist +0 -16
  124. data/textmate/Bundles/CSS.tmbundle/Snippets/border__bottom___size_style_color___border__.plist +0 -16
  125. data/textmate/Bundles/CSS.tmbundle/Snippets/border__bottom__color___size_style_color___border__.plist +0 -16
  126. data/textmate/Bundles/CSS.tmbundle/Snippets/border__bottom__style___size_style_color___border__.plist +0 -16
  127. data/textmate/Bundles/CSS.tmbundle/Snippets/border__bottom__width___size_style_color___border__.plist +0 -16
  128. data/textmate/Bundles/CSS.tmbundle/Snippets/border__color___color___border__.plist +0 -16
  129. data/textmate/Bundles/CSS.tmbundle/Snippets/border__left___size_style_color___border__.plist +0 -16
  130. data/textmate/Bundles/CSS.tmbundle/Snippets/border__left__color___color___border__.plist +0 -16
  131. data/textmate/Bundles/CSS.tmbundle/Snippets/border__left__style___style___border__.plist +0 -16
  132. data/textmate/Bundles/CSS.tmbundle/Snippets/border__left__width___size___border__.plist +0 -16
  133. data/textmate/Bundles/CSS.tmbundle/Snippets/border__right___size_style_color___border__.plist +0 -16
  134. data/textmate/Bundles/CSS.tmbundle/Snippets/border__right__color___color___border__.plist +0 -16
  135. data/textmate/Bundles/CSS.tmbundle/Snippets/border__right__style___style___border__.plist +0 -16
  136. data/textmate/Bundles/CSS.tmbundle/Snippets/border__right__width___size___border__.plist +0 -16
  137. data/textmate/Bundles/CSS.tmbundle/Snippets/border__style___style___border__.plist +0 -16
  138. data/textmate/Bundles/CSS.tmbundle/Snippets/border__top___size_style_color___border__.plist +0 -16
  139. data/textmate/Bundles/CSS.tmbundle/Snippets/border__top__color___color___border__.plist +0 -16
  140. data/textmate/Bundles/CSS.tmbundle/Snippets/border__top__style___style___border__.plist +0 -16
  141. data/textmate/Bundles/CSS.tmbundle/Snippets/border__top__width___size___border__.plist +0 -16
  142. data/textmate/Bundles/CSS.tmbundle/Snippets/border__width___width___border__.plist +0 -16
  143. data/textmate/Bundles/CSS.tmbundle/Snippets/clear___value___clear__.plist +0 -16
  144. data/textmate/Bundles/CSS.tmbundle/Snippets/color____color__hex___color__.plist +0 -16
  145. data/textmate/Bundles/CSS.tmbundle/Snippets/color____color__name___color__.plist +0 -16
  146. data/textmate/Bundles/CSS.tmbundle/Snippets/color____color__rgb___color__.plist +0 -16
  147. data/textmate/Bundles/CSS.tmbundle/Snippets/cursor___type___cursor__.plist +0 -16
  148. data/textmate/Bundles/CSS.tmbundle/Snippets/cursor___url___cursor__.plist +0 -16
  149. data/textmate/Bundles/CSS.tmbundle/Snippets/direction___ltr__rtl___direction__.plist +0 -16
  150. data/textmate/Bundles/CSS.tmbundle/Snippets/display___block___display__.plist +0 -16
  151. data/textmate/Bundles/CSS.tmbundle/Snippets/display___common__types___display__.plist +0 -16
  152. data/textmate/Bundles/CSS.tmbundle/Snippets/display___inline___display__.plist +0 -16
  153. data/textmate/Bundles/CSS.tmbundle/Snippets/display___table__types___display__.plist +0 -16
  154. data/textmate/Bundles/CSS.tmbundle/Snippets/filter___AlphaImageLoader___for_IE_PNGs_____background__.plist +0 -19
  155. data/textmate/Bundles/CSS.tmbundle/Snippets/float___left__right__none___float__.plist +0 -16
  156. data/textmate/Bundles/CSS.tmbundle/Snippets/font_____style_variant_weight_size__line__height_font___family___font__.plist +0 -16
  157. data/textmate/Bundles/CSS.tmbundle/Snippets/font___size_font___font__.plist +0 -16
  158. data/textmate/Bundles/CSS.tmbundle/Snippets/font__family_____family___font__.plist +0 -16
  159. data/textmate/Bundles/CSS.tmbundle/Snippets/font__size___size___font__.plist +0 -16
  160. data/textmate/Bundles/CSS.tmbundle/Snippets/font__style_____normal__italic__oblique___font__.plist +0 -16
  161. data/textmate/Bundles/CSS.tmbundle/Snippets/font__variant_____normal__small__caps___font__.plist +0 -16
  162. data/textmate/Bundles/CSS.tmbundle/Snippets/font__weight___weight___font__.plist +0 -16
  163. data/textmate/Bundles/CSS.tmbundle/Snippets/letter__spacing_____length__em___letter__.plist +0 -16
  164. data/textmate/Bundles/CSS.tmbundle/Snippets/letter__spacing_____length__px___letter__.plist +0 -16
  165. data/textmate/Bundles/CSS.tmbundle/Snippets/list__style___type_position_image___list__.plist +0 -16
  166. data/textmate/Bundles/CSS.tmbundle/Snippets/list__style__image___url___list__.plist +0 -16
  167. data/textmate/Bundles/CSS.tmbundle/Snippets/list__style__position___pos___list__.plist +0 -16
  168. data/textmate/Bundles/CSS.tmbundle/Snippets/list__style__type___asian___list__.plist +0 -16
  169. data/textmate/Bundles/CSS.tmbundle/Snippets/list__style__type___marker__list__.plist +0 -16
  170. data/textmate/Bundles/CSS.tmbundle/Snippets/list__style__type___numeric___list__.plist +0 -16
  171. data/textmate/Bundles/CSS.tmbundle/Snippets/list__style__type___other___list__.plist +0 -16
  172. data/textmate/Bundles/CSS.tmbundle/Snippets/list__style__type___roman__alpha__greek___list__.plist +0 -16
  173. data/textmate/Bundles/CSS.tmbundle/Snippets/margin___T_R_B_L___margin__.plist +0 -16
  174. data/textmate/Bundles/CSS.tmbundle/Snippets/margin___V_H___margin__.plist +0 -16
  175. data/textmate/Bundles/CSS.tmbundle/Snippets/margin_____all___margin__.plist +0 -16
  176. data/textmate/Bundles/CSS.tmbundle/Snippets/margin__bottom___length___margin__.plist +0 -16
  177. data/textmate/Bundles/CSS.tmbundle/Snippets/margin__left___length___margin__.plist +0 -16
  178. data/textmate/Bundles/CSS.tmbundle/Snippets/margin__right___length___margin__.plist +0 -16
  179. data/textmate/Bundles/CSS.tmbundle/Snippets/margin__top___length___margin__.plist +0 -16
  180. data/textmate/Bundles/CSS.tmbundle/Snippets/marker__offset___auto___marker__.plist +0 -16
  181. data/textmate/Bundles/CSS.tmbundle/Snippets/marker__offset___length___marker__.plist +0 -16
  182. data/textmate/Bundles/CSS.tmbundle/Snippets/opacity_____for_Safari___FF_and_IE_____opacity__.plist +0 -18
  183. data/textmate/Bundles/CSS.tmbundle/Snippets/overflow___type___overflow__.plist +0 -16
  184. data/textmate/Bundles/CSS.tmbundle/Snippets/padding_____T_R_B_L___padding__.plist +0 -16
  185. data/textmate/Bundles/CSS.tmbundle/Snippets/padding_____V_H___padding__.plist +0 -16
  186. data/textmate/Bundles/CSS.tmbundle/Snippets/padding_____all___padding__.plist +0 -16
  187. data/textmate/Bundles/CSS.tmbundle/Snippets/padding__bottom___length___margin__.plist +0 -16
  188. data/textmate/Bundles/CSS.tmbundle/Snippets/padding__left___length___margin__.plist +0 -16
  189. data/textmate/Bundles/CSS.tmbundle/Snippets/padding__right___length___margin__.plist +0 -16
  190. data/textmate/Bundles/CSS.tmbundle/Snippets/padding__top___length___margin__.plist +0 -16
  191. data/textmate/Bundles/CSS.tmbundle/Snippets/position___type___position__.plist +0 -16
  192. data/textmate/Bundles/CSS.tmbundle/Snippets/properties_______________.plist +0 -19
  193. data/textmate/Bundles/CSS.tmbundle/Snippets/scrollbar.tmSnippet +0 -23
  194. data/textmate/Bundles/CSS.tmbundle/Snippets/selection.tmSnippet +0 -20
  195. data/textmate/Bundles/CSS.tmbundle/Snippets/text__align___left__center__right___txt__.plist +0 -16
  196. data/textmate/Bundles/CSS.tmbundle/Snippets/text__decoration___none__underline__overline__line__through__blink___text__.plist +0 -16
  197. data/textmate/Bundles/CSS.tmbundle/Snippets/text__indent___length___text__.plist +0 -16
  198. data/textmate/Bundles/CSS.tmbundle/Snippets/text__shadow___color__hex_x_y_blur___text__.plist +0 -16
  199. data/textmate/Bundles/CSS.tmbundle/Snippets/text__shadow___color__rgb_x_y_blur___text__.plist +0 -16
  200. data/textmate/Bundles/CSS.tmbundle/Snippets/text__shadow___none___text__.plist +0 -16
  201. data/textmate/Bundles/CSS.tmbundle/Snippets/text__transform___capitalize__upper__lower___text__.plist +0 -16
  202. data/textmate/Bundles/CSS.tmbundle/Snippets/text__transform___none___text__.plist +0 -16
  203. data/textmate/Bundles/CSS.tmbundle/Snippets/vertical__align___type___vertical__.plist +0 -16
  204. data/textmate/Bundles/CSS.tmbundle/Snippets/visibility___type___visibility__.plist +0 -16
  205. data/textmate/Bundles/CSS.tmbundle/Snippets/white__space____normal__pre__nowrap___white__.plist +0 -16
  206. data/textmate/Bundles/CSS.tmbundle/Snippets/word__spacing____length___word__.plist +0 -16
  207. data/textmate/Bundles/CSS.tmbundle/Snippets/word__spacing____normal___word__.plist +0 -16
  208. data/textmate/Bundles/CSS.tmbundle/Snippets/z__index___index___z__.plist +0 -16
  209. data/textmate/Bundles/HTML.tmbundle/Snippets/Arrow___arrow__.plist +0 -16
  210. data/textmate/Bundles/HTML.tmbundle/Snippets/Backspace___backspace__.plist +0 -16
  211. data/textmate/Bundles/HTML.tmbundle/Snippets/Backtab___backtab__.plist +0 -16
  212. data/textmate/Bundles/HTML.tmbundle/Snippets/Command___command__.plist +0 -16
  213. data/textmate/Bundles/HTML.tmbundle/Snippets/Control___control__.plist +0 -16
  214. data/textmate/Bundles/HTML.tmbundle/Snippets/Delete___delete__.plist +0 -16
  215. data/textmate/Bundles/HTML.tmbundle/Snippets/DocType_HTML_4_0_Strict.plist +0 -18
  216. data/textmate/Bundles/HTML.tmbundle/Snippets/DocType_XHTL_1_0_Frameset.plist +0 -18
  217. data/textmate/Bundles/HTML.tmbundle/Snippets/DocType_XHTML_1_0_Strict.plist +0 -18
  218. data/textmate/Bundles/HTML.tmbundle/Snippets/DocType_XHTML_1_0_Transitional.plist +0 -18
  219. data/textmate/Bundles/HTML.tmbundle/Snippets/DocType_XHTML_1_1.plist +0 -18
  220. data/textmate/Bundles/HTML.tmbundle/Snippets/Down___down__.plist +0 -16
  221. data/textmate/Bundles/HTML.tmbundle/Snippets/Embed_QT_movie___movie__.plist +0 -26
  222. data/textmate/Bundles/HTML.tmbundle/Snippets/Emphasize.tmSnippet +0 -16
  223. data/textmate/Bundles/HTML.tmbundle/Snippets/Enter___enter__.plist +0 -16
  224. data/textmate/Bundles/HTML.tmbundle/Snippets/Escape___escape__.plist +0 -16
  225. data/textmate/Bundles/HTML.tmbundle/Snippets/Fieldset.tmSnippet +0 -22
  226. data/textmate/Bundles/HTML.tmbundle/Snippets/HTML________4_0_Transitional___doctype__.plist +0 -18
  227. data/textmate/Bundles/HTML.tmbundle/Snippets/IE_Conditional_Comment___Internet_Explorer.tmSnippet +0 -16
  228. data/textmate/Bundles/HTML.tmbundle/Snippets/IE_Conditional_Comment___Internet_Explorer_5_0_only.tmSnippet +0 -16
  229. data/textmate/Bundles/HTML.tmbundle/Snippets/IE_Conditional_Comment___Internet_Explorer_5_5_only.tmSnippet +0 -16
  230. data/textmate/Bundles/HTML.tmbundle/Snippets/IE_Conditional_Comment___Internet_Explorer_5_x.tmSnippet +0 -16
  231. data/textmate/Bundles/HTML.tmbundle/Snippets/IE_Conditional_Comment___Internet_Explorer_6_and_below.tmSnippet +0 -16
  232. data/textmate/Bundles/HTML.tmbundle/Snippets/IE_Conditional_Comment___Internet_Explorer_6_only.tmSnippet +0 -16
  233. data/textmate/Bundles/HTML.tmbundle/Snippets/IE_Conditional_Comment___Internet_Explorer_7__.tmSnippet +0 -16
  234. data/textmate/Bundles/HTML.tmbundle/Snippets/IE_Conditional_Comment___NOT_Internet_Explorer.tmSnippet +0 -16
  235. data/textmate/Bundles/HTML.tmbundle/Snippets/Input_with_Label.tmSnippet +0 -19
  236. data/textmate/Bundles/HTML.tmbundle/Snippets/Left___left__.plist +0 -16
  237. data/textmate/Bundles/HTML.tmbundle/Snippets/Option.tmSnippet +0 -18
  238. data/textmate/Bundles/HTML.tmbundle/Snippets/Option___option__.plist +0 -16
  239. data/textmate/Bundles/HTML.tmbundle/Snippets/Return___return__.plist +0 -16
  240. data/textmate/Bundles/HTML.tmbundle/Snippets/Right___right__.plist +0 -16
  241. data/textmate/Bundles/HTML.tmbundle/Snippets/Select_Box.tmSnippet +0 -22
  242. data/textmate/Bundles/HTML.tmbundle/Snippets/Shift___shift__.plist +0 -16
  243. data/textmate/Bundles/HTML.tmbundle/Snippets/Smart_return__indent_for_tag_pairs.plist +0 -18
  244. data/textmate/Bundles/HTML.tmbundle/Snippets/Strong.tmSnippet +0 -16
  245. data/textmate/Bundles/HTML.tmbundle/Snippets/Tab___tab__.plist +0 -16
  246. data/textmate/Bundles/HTML.tmbundle/Snippets/Up___up__.plist +0 -16
  247. data/textmate/Bundles/HTML.tmbundle/Snippets/Wrap_Selection_In_Tag.plist +0 -16
  248. data/textmate/Bundles/HTML.tmbundle/Snippets/Wrap_in___________________.plist +0 -14
  249. data/textmate/Bundles/HTML.tmbundle/Snippets/XHTML_____input__.plist +0 -16
  250. data/textmate/Bundles/HTML.tmbundle/Snippets/XHTML_____textarea__.plist +0 -16
  251. data/textmate/Bundles/HTML.tmbundle/Snippets/XHTML___a_mailto_____.plist +0 -16
  252. data/textmate/Bundles/HTML.tmbundle/Snippets/XHTML___base__.plist +0 -16
  253. data/textmate/Bundles/HTML.tmbundle/Snippets/XHTML___body__.plist +0 -18
  254. data/textmate/Bundles/HTML.tmbundle/Snippets/XHTML___br_____.plist +0 -16
  255. data/textmate/Bundles/HTML.tmbundle/Snippets/XHTML___div__.plist +0 -18
  256. data/textmate/Bundles/HTML.tmbundle/Snippets/XHTML___form__.plist +0 -20
  257. data/textmate/Bundles/HTML.tmbundle/Snippets/XHTML___h1__.plist +0 -16
  258. data/textmate/Bundles/HTML.tmbundle/Snippets/XHTML___head__.plist +0 -20
  259. data/textmate/Bundles/HTML.tmbundle/Snippets/XHTML___link__.plist +0 -16
  260. data/textmate/Bundles/HTML.tmbundle/Snippets/XHTML___meta__.plist +0 -16
  261. data/textmate/Bundles/HTML.tmbundle/Snippets/XHTML___nbsp___NonBreakingSpace.plist +0 -16
  262. data/textmate/Bundles/HTML.tmbundle/Snippets/XHTML___script__.plist +0 -18
  263. data/textmate/Bundles/HTML.tmbundle/Snippets/XHTML___script_src_____.plist +0 -16
  264. data/textmate/Bundles/HTML.tmbundle/Snippets/XHTML___style__.plist +0 -18
  265. data/textmate/Bundles/HTML.tmbundle/Snippets/XHTML___table__.plist +0 -19
  266. data/textmate/Bundles/HTML.tmbundle/Snippets/XHTML___title__.plist +0 -16
  267. data/textmate/Bundles/HTML.tmbundle/Templates/HTML /342/200/223 4.0 Strict/index.html" +0 -15
  268. data/textmate/Bundles/HTML.tmbundle/Templates/HTML /342/200/223 4.0 Strict/info.plist" +0 -20
  269. data/textmate/Bundles/HTML.tmbundle/Templates/HTML /342/200/224 4.0 Transitional/index.html" +0 -15
  270. data/textmate/Bundles/HTML.tmbundle/Templates/HTML /342/200/224 4.0 Transitional/info.plist" +0 -20
  271. data/textmate/Bundles/HTML.tmbundle/Templates/XHTML /342/200/223 1.0 Frameset/index.html" +0 -16
  272. data/textmate/Bundles/HTML.tmbundle/Templates/XHTML /342/200/223 1.0 Frameset/info.plist" +0 -16
  273. data/textmate/Bundles/HTML.tmbundle/Templates/XHTML /342/200/223 1.0 Strict/index.html" +0 -16
  274. data/textmate/Bundles/HTML.tmbundle/Templates/XHTML /342/200/223 1.0 Strict/info.plist" +0 -16
  275. data/textmate/Bundles/HTML.tmbundle/Templates/XHTML /342/200/223 1.0 Transitional/index.html" +0 -16
  276. data/textmate/Bundles/HTML.tmbundle/Templates/XHTML /342/200/223 1.0 Transitional/info.plist" +0 -16
  277. data/textmate/Bundles/HTML.tmbundle/Templates/XHTML /342/200/223 1.1/index.html" +0 -15
  278. data/textmate/Bundles/HTML.tmbundle/Templates/XHTML /342/200/223 1.1/info.plist" +0 -16
  279. data/textmate/Bundles/Ruby.tmbundle/Snippets/060_ruby_if_else.plist +0 -20
  280. data/textmate/Bundles/Ruby.tmbundle/Snippets/070_ruby_if.plist +0 -18
  281. data/textmate/Bundles/Ruby.tmbundle/Snippets/080_ruby_case.plist +0 -19
  282. data/textmate/Bundles/Ruby.tmbundle/Snippets/Add_____________Marker.tmSnippet +0 -16
  283. data/textmate/Bundles/Ruby.tmbundle/Snippets/Array_new__10________i____________Arr__.plist +0 -16
  284. data/textmate/Bundles/Ruby.tmbundle/Snippets/Benchmark_bmbm_______do____end.tmSnippet +0 -19
  285. data/textmate/Bundles/Ruby.tmbundle/Snippets/Dir__________.tmSnippet +0 -16
  286. data/textmate/Bundles/Ruby.tmbundle/Snippets/Dir_glob___________do___file______end____Dir__.plist +0 -16
  287. data/textmate/Bundles/Ruby.tmbundle/Snippets/File_foreach____________do___line______end____File__.plist +0 -16
  288. data/textmate/Bundles/Ruby.tmbundle/Snippets/File_open________________file________.tmSnippet +0 -16
  289. data/textmate/Bundles/Ruby.tmbundle/Snippets/File_read__________.tmSnippet +0 -16
  290. data/textmate/Bundles/Ruby.tmbundle/Snippets/Hash_new______hash___key___hash__key_______________Has__.plist +0 -16
  291. data/textmate/Bundles/Ruby.tmbundle/Snippets/Insert_ERb__s______________or_______________.tmSnippet +0 -16
  292. data/textmate/Bundles/Ruby.tmbundle/Snippets/Marshal_dump__obj___file______Md__.plist +0 -16
  293. data/textmate/Bundles/Ruby.tmbundle/Snippets/Marshal_load__obj______Ml__.plist +0 -16
  294. data/textmate/Bundles/Ruby.tmbundle/Snippets/PStore_new________.tmSnippet +0 -16
  295. data/textmate/Bundles/Ruby.tmbundle/Snippets/RDoc_documentation_block.tmSnippet +0 -20
  296. data/textmate/Bundles/Ruby.tmbundle/Snippets/Wrap_in_Begin________Rescue________End.plist +0 -23
  297. data/textmate/Bundles/Ruby.tmbundle/Snippets/YAML_dump_______file______Yd____.plist +0 -16
  298. data/textmate/Bundles/Ruby.tmbundle/Snippets/YAML_load__file______Yl____.plist +0 -16
  299. data/textmate/Bundles/Ruby.tmbundle/Snippets/__END__.tmSnippet +0 -17
  300. data/textmate/Bundles/Ruby.tmbundle/Snippets/______usr__local__bin__ruby___w.plist +0 -17
  301. data/textmate/Bundles/Ruby.tmbundle/Snippets/__yields___RDoc_comment.tmSnippet +0 -16
  302. data/textmate/Bundles/Ruby.tmbundle/Snippets/alias_method_______am__.plist +0 -16
  303. data/textmate/Bundles/Ruby.tmbundle/Snippets/all________e____________all__.plist +0 -16
  304. data/textmate/Bundles/Ruby.tmbundle/Snippets/any________e____________any__.plist +0 -16
  305. data/textmate/Bundles/Ruby.tmbundle/Snippets/application_code_______app__.plist +0 -18
  306. data/textmate/Bundles/Ruby.tmbundle/Snippets/assert__________as__.plist +0 -16
  307. data/textmate/Bundles/Ruby.tmbundle/Snippets/assert_equal.tmSnippet +0 -16
  308. data/textmate/Bundles/Ruby.tmbundle/Snippets/assert_in_delta__________asid__.plist +0 -16
  309. data/textmate/Bundles/Ruby.tmbundle/Snippets/assert_instance_of__________asio__.plist +0 -16
  310. data/textmate/Bundles/Ruby.tmbundle/Snippets/assert_kind_of__________asko__.plist +0 -16
  311. data/textmate/Bundles/Ruby.tmbundle/Snippets/assert_match__________asm__.plist +0 -16
  312. data/textmate/Bundles/Ruby.tmbundle/Snippets/assert_nil__________asn__.plist +0 -16
  313. data/textmate/Bundles/Ruby.tmbundle/Snippets/assert_no_match__________asnm__.plist +0 -16
  314. data/textmate/Bundles/Ruby.tmbundle/Snippets/assert_not_equal__________asne__.plist +0 -16
  315. data/textmate/Bundles/Ruby.tmbundle/Snippets/assert_not_nil__________asnn__.plist +0 -16
  316. data/textmate/Bundles/Ruby.tmbundle/Snippets/assert_not_same__________asns__.plist +0 -16
  317. data/textmate/Bundles/Ruby.tmbundle/Snippets/assert_nothing_raised___________________asnr__.plist +0 -16
  318. data/textmate/Bundles/Ruby.tmbundle/Snippets/assert_nothing_thrown_____________asnt__.plist +0 -16
  319. data/textmate/Bundles/Ruby.tmbundle/Snippets/assert_operator__________aso__.plist +0 -16
  320. data/textmate/Bundles/Ruby.tmbundle/Snippets/assert_raise___________________asr__.plist +0 -16
  321. data/textmate/Bundles/Ruby.tmbundle/Snippets/assert_respond_to__________asrt__.plist +0 -16
  322. data/textmate/Bundles/Ruby.tmbundle/Snippets/assert_same__________ass__.plist +0 -16
  323. data/textmate/Bundles/Ruby.tmbundle/Snippets/assert_send__________ass__.plist +0 -16
  324. data/textmate/Bundles/Ruby.tmbundle/Snippets/assert_throws___________________ast__.plist +0 -16
  325. data/textmate/Bundles/Ruby.tmbundle/Snippets/attr_accessor_______rw__.plist +0 -16
  326. data/textmate/Bundles/Ruby.tmbundle/Snippets/attr_reader_______r__.plist +0 -16
  327. data/textmate/Bundles/Ruby.tmbundle/Snippets/attr_writer_______w__.plist +0 -16
  328. data/textmate/Bundles/Ruby.tmbundle/Snippets/class_______DelegateClass____initialize____end____class__.plist +0 -24
  329. data/textmate/Bundles/Ruby.tmbundle/Snippets/class_______ParentClass____initialize____end.plist +0 -22
  330. data/textmate/Bundles/Ruby.tmbundle/Snippets/class_______Struct____initialize____end.plist +0 -22
  331. data/textmate/Bundles/Ruby.tmbundle/Snippets/class_______Test____Unit____TestCase____end____tc__.plist +0 -24
  332. data/textmate/Bundles/Ruby.tmbundle/Snippets/class______self____end.tmSnippet +0 -18
  333. data/textmate/Bundles/Ruby.tmbundle/Snippets/class____end____cla__.plist +0 -18
  334. data/textmate/Bundles/Ruby.tmbundle/Snippets/class____initialize____end.plist +0 -22
  335. data/textmate/Bundles/Ruby.tmbundle/Snippets/class____instance_methods____undef____initialize____end____class__.plist +0 -30
  336. data/textmate/Bundles/Ruby.tmbundle/Snippets/class_from_name________clafn__.plist +0 -16
  337. data/textmate/Bundles/Ruby.tmbundle/Snippets/classify______e____________clas__.plist +0 -16
  338. data/textmate/Bundles/Ruby.tmbundle/Snippets/collect______e____________col__.plist +0 -16
  339. data/textmate/Bundles/Ruby.tmbundle/Snippets/deep_copy__________dee__.plist +0 -16
  340. data/textmate/Bundles/Ruby.tmbundle/Snippets/def_delegator______defd__.plist +0 -16
  341. data/textmate/Bundles/Ruby.tmbundle/Snippets/def_delegators______defds__.plist +0 -16
  342. data/textmate/Bundles/Ruby.tmbundle/Snippets/def_end.plist +0 -18
  343. data/textmate/Bundles/Ruby.tmbundle/Snippets/def_method_missing____end____mm__.plist +0 -18
  344. data/textmate/Bundles/Ruby.tmbundle/Snippets/def_self____end____defs__.plist +0 -18
  345. data/textmate/Bundles/Ruby.tmbundle/Snippets/def_test_____end____t__.plist +0 -18
  346. data/textmate/Bundles/Ruby.tmbundle/Snippets/delete_if______e____________deli__.plist +0 -16
  347. data/textmate/Bundles/Ruby.tmbundle/Snippets/detect______e____________det__.plist +0 -16
  348. data/textmate/Bundles/Ruby.tmbundle/Snippets/directory____.tmSnippet +0 -16
  349. data/textmate/Bundles/Ruby.tmbundle/Snippets/do___obj______end___doo__.plist +0 -18
  350. data/textmate/Bundles/Ruby.tmbundle/Snippets/downto__0________n____________dow__.plist +0 -16
  351. data/textmate/Bundles/Ruby.tmbundle/Snippets/each______e____________ea__.plist +0 -16
  352. data/textmate/Bundles/Ruby.tmbundle/Snippets/each_byte______byte____________eab__.plist +0 -16
  353. data/textmate/Bundles/Ruby.tmbundle/Snippets/each_char______chr____________eac____.plist +0 -16
  354. data/textmate/Bundles/Ruby.tmbundle/Snippets/each_cons____________group____________eac____.plist +0 -16
  355. data/textmate/Bundles/Ruby.tmbundle/Snippets/each_index______i____________eai__.plist +0 -16
  356. data/textmate/Bundles/Ruby.tmbundle/Snippets/each_key______key____________eak__.plist +0 -16
  357. data/textmate/Bundles/Ruby.tmbundle/Snippets/each_line______line____________eal__.plist +0 -16
  358. data/textmate/Bundles/Ruby.tmbundle/Snippets/each_pair______name___val____________eap__.plist +0 -16
  359. data/textmate/Bundles/Ruby.tmbundle/Snippets/each_slice______group____________eas__.plist +0 -16
  360. data/textmate/Bundles/Ruby.tmbundle/Snippets/each_value______val____________eav__.plist +0 -16
  361. data/textmate/Bundles/Ruby.tmbundle/Snippets/each_with_index______e___i____________eawi__.plist +0 -16
  362. data/textmate/Bundles/Ruby.tmbundle/Snippets/elsif____.tmSnippet +0 -17
  363. data/textmate/Bundles/Ruby.tmbundle/Snippets/embed_string_variable.plist +0 -16
  364. data/textmate/Bundles/Ruby.tmbundle/Snippets/extend_Forwardable____Forw__.plist +0 -16
  365. data/textmate/Bundles/Ruby.tmbundle/Snippets/fetch__name________key____________fet__.plist +0 -16
  366. data/textmate/Bundles/Ruby.tmbundle/Snippets/fill__range________i____________fil__.plist +0 -16
  367. data/textmate/Bundles/Ruby.tmbundle/Snippets/find______e____________fin__.plist +0 -16
  368. data/textmate/Bundles/Ruby.tmbundle/Snippets/find_all______e____________fina__.plist +0 -16
  369. data/textmate/Bundles/Ruby.tmbundle/Snippets/flatten_once____fla__.plist +0 -16
  370. data/textmate/Bundles/Ruby.tmbundle/Snippets/flunk__________fl__.plist +0 -16
  371. data/textmate/Bundles/Ruby.tmbundle/Snippets/grep____pattern__________match____________gre__.plist +0 -16
  372. data/textmate/Bundles/Ruby.tmbundle/Snippets/gsub________________match____________gsu__.plist +0 -16
  373. data/textmate/Bundles/Ruby.tmbundle/Snippets/hash_pair_______.plist +0 -16
  374. data/textmate/Bundles/Ruby.tmbundle/Snippets/hash_pointer.plist +0 -16
  375. data/textmate/Bundles/Ruby.tmbundle/Snippets/include_Comparable_______Comp__.plist +0 -20
  376. data/textmate/Bundles/Ruby.tmbundle/Snippets/include_Enumerable_______Enum__.plist +0 -20
  377. data/textmate/Bundles/Ruby.tmbundle/Snippets/inject__init________mem___var____________inj__.plist +0 -16
  378. data/textmate/Bundles/Ruby.tmbundle/Snippets/lambda______args____________lam__.plist +0 -16
  379. data/textmate/Bundles/Ruby.tmbundle/Snippets/loop_________.tmSnippet +0 -16
  380. data/textmate/Bundles/Ruby.tmbundle/Snippets/map______e____________map__.plist +0 -16
  381. data/textmate/Bundles/Ruby.tmbundle/Snippets/map_with_index______e___i____________mapwi__.plist +0 -16
  382. data/textmate/Bundles/Ruby.tmbundle/Snippets/max______a___b____________max__.plist +0 -16
  383. data/textmate/Bundles/Ruby.tmbundle/Snippets/min______a___b____________min__.plist +0 -16
  384. data/textmate/Bundles/Ruby.tmbundle/Snippets/module____ClassMethods____end.plist +0 -29
  385. data/textmate/Bundles/Ruby.tmbundle/Snippets/module____end.plist +0 -18
  386. data/textmate/Bundles/Ruby.tmbundle/Snippets/module____module_function____end.plist +0 -20
  387. data/textmate/Bundles/Ruby.tmbundle/Snippets/namespace______do____end.tmSnippet +0 -18
  388. data/textmate/Bundles/Ruby.tmbundle/Snippets/open____path__or__url_______w_____do___doc______end___ope__.plist +0 -16
  389. data/textmate/Bundles/Ruby.tmbundle/Snippets/open_yield_block_______.plist +0 -16
  390. data/textmate/Bundles/Ruby.tmbundle/Snippets/option_parse_____________optp__.plist +0 -43
  391. data/textmate/Bundles/Ruby.tmbundle/Snippets/partition______e____________par__.plist +0 -16
  392. data/textmate/Bundles/Ruby.tmbundle/Snippets/path_from_here________.tmSnippet +0 -16
  393. data/textmate/Bundles/Ruby.tmbundle/Snippets/randomize____ran__.plist +0 -16
  394. data/textmate/Bundles/Ruby.tmbundle/Snippets/reject______e____________rej__.plist +0 -16
  395. data/textmate/Bundles/Ruby.tmbundle/Snippets/require___________req__.plist +0 -16
  396. data/textmate/Bundles/Ruby.tmbundle/Snippets/require___tc____________ts__.plist +0 -20
  397. data/textmate/Bundles/Ruby.tmbundle/Snippets/require_gem_______.tmSnippet +0 -16
  398. data/textmate/Bundles/Ruby.tmbundle/Snippets/results_report_______________.tmSnippet +0 -16
  399. data/textmate/Bundles/Ruby.tmbundle/Snippets/reverse_each______e____________rea__.plist +0 -16
  400. data/textmate/Bundles/Ruby.tmbundle/Snippets/scan________________match____________sca__.plist +0 -16
  401. data/textmate/Bundles/Ruby.tmbundle/Snippets/select______e____________sel__.plist +0 -16
  402. data/textmate/Bundles/Ruby.tmbundle/Snippets/singleton_class____.tmSnippet +0 -16
  403. data/textmate/Bundles/Ruby.tmbundle/Snippets/sort______a___b____________sor__.plist +0 -16
  404. data/textmate/Bundles/Ruby.tmbundle/Snippets/sort_by______e____________sorb__.plist +0 -16
  405. data/textmate/Bundles/Ruby.tmbundle/Snippets/step__2________e____________ste__.plist +0 -16
  406. data/textmate/Bundles/Ruby.tmbundle/Snippets/sub________________match____________sub__.plist +0 -16
  407. data/textmate/Bundles/Ruby.tmbundle/Snippets/task___task_name__________dependent_____tasks___do____end.tmSnippet +0 -19
  408. data/textmate/Bundles/Ruby.tmbundle/Snippets/times______n____________tim__.plist +0 -16
  409. data/textmate/Bundles/Ruby.tmbundle/Snippets/transaction_________do____end.tmSnippet +0 -16
  410. data/textmate/Bundles/Ruby.tmbundle/Snippets/unix_filter______uni__.plist +0 -18
  411. data/textmate/Bundles/Ruby.tmbundle/Snippets/unless___unless__.plist +0 -18
  412. data/textmate/Bundles/Ruby.tmbundle/Snippets/until_____end.tmSnippet +0 -18
  413. data/textmate/Bundles/Ruby.tmbundle/Snippets/untitled.plist +0 -19
  414. data/textmate/Bundles/Ruby.tmbundle/Snippets/upto__1_0__0_0________n____________upt__.plist +0 -16
  415. data/textmate/Bundles/Ruby.tmbundle/Snippets/usage_if________usai__.plist +0 -18
  416. data/textmate/Bundles/Ruby.tmbundle/Snippets/usage_unless________usau__.plist +0 -18
  417. data/textmate/Bundles/Ruby.tmbundle/Snippets/when.plist +0 -17
  418. data/textmate/Bundles/Ruby.tmbundle/Snippets/while_____end.tmSnippet +0 -18
  419. data/textmate/Bundles/Ruby.tmbundle/Snippets/xmlread______.tmSnippet +0 -16
  420. data/textmate/Bundles/Ruby.tmbundle/Snippets/xpath_______________.tmSnippet +0 -18
  421. data/textmate/Bundles/Ruby.tmbundle/Snippets/zip__enums________row____________zip__.plist +0 -16
  422. data/textmate/Bundles/Source.tmbundle/Snippets/Continue_line_comment.plist +0 -35
  423. data/textmate/Bundles/Source.tmbundle/Snippets/Escaped_Quote_Pair_____________.plist +0 -14
  424. data/textmate/Bundles/Source.tmbundle/Snippets/Escaped_Single_Quote_Pair_____________.plist +0 -14
  425. data/textmate/Bundles/Source.tmbundle/Snippets/Frame_text.plist +0 -16
  426. data/textmate/Bundles/Source.tmbundle/Snippets/__n.plist +0 -16
  427. data/textmate/Bundles/Text.tmbundle/Snippets/010_Copyright.plist +0 -14
  428. data/textmate/Bundles/Text.tmbundle/Snippets/Conitnue_bullet.plist +0 -17
  429. data/textmate/Bundles/Text.tmbundle/Snippets/Conitnue_light_bullet.plist +0 -17
  430. data/textmate/Bundles/Text.tmbundle/Snippets/Conitnue_star_bullet.plist +0 -17
  431. data/textmate/Bundles/Text.tmbundle/Snippets/Insert_ISO_date.plist +0 -14
  432. data/textmate/Bundles/Text.tmbundle/Snippets/Lorem_ipsum.plist +0 -14
  433. data/textmate/Bundles/Text.tmbundle/Templates/Empty file/info.plist +0 -14
  434. data/textmate/Bundles/Text.tmbundle/Templates/From Clipboard/info.plist +0 -17
data/CHANGES CHANGED
@@ -1,15 +1,41 @@
1
1
 
2
- Version 0.3dev
3
- ==============
2
+ Version 0.3.1dev (9 Jan 2010)
3
+ ======================
4
+
5
+ Enhancements:
6
+
7
+ * Fuzzy file finder.
8
+ * Directory tree refreshes on window focus.
9
+ * Keybindings to switch tabs and notebooks.
10
+ * Undo/redo.
11
+ * Home/end keys.
12
+ * Modified tabs have little stars before their names.
13
+ * Increase indent and decrease indent commands (need further work).
14
+ * Themes support bold, italic and underline again.
15
+ * All commands are greyed out when inapplicable.
16
+ * Files can not be opened twice.
17
+ * Added Java, Perl and Ruby on Rails bundles.
18
+ * New simpler way for bundles to add commands to menus (used in repl.rb)
19
+ * New "redcar install" command to download jars.
20
+
21
+ Fixes:
22
+
23
+ * Change key logic in JavaMateView - should fix a bunch of subtle highlighting bugs.
24
+ * Runs on Java 5.
25
+ * Open Directory doesn't log an error if you cancel.
26
+
27
+ Version 0.3.0dev (25 Dec 2009)
28
+ ==============================
4
29
 
5
30
  Rewritten in JRuby/SWT.
6
31
 
7
32
  Enhancements:
8
33
 
9
- * _Much_ simpler installation
34
+ * _Much_ simpler installation: packaged as a gem.
10
35
  * Faster highlighter
11
36
  * Fewer bugs
12
37
  * Clearer architecture
38
+ * Multiple window/project support.
13
39
 
14
40
 
15
41
  Version 0.2 (28 May 2009)
data/README.md CHANGED
@@ -23,6 +23,39 @@ You must have Java installed.
23
23
  NB the install will take a minute or so to complete as it has to download about
24
24
  15MB of jar files.
25
25
 
26
+ ## USAGE
27
+
28
+ Run
29
+
30
+ $ redcar
31
+
32
+ Usage:
33
+
34
+ --font=FONT Choose font
35
+ --font-size=SIZE Choose font point size
36
+ --theme=THEME Choose Textmate theme
37
+
38
+ ## INSTALLING FROM SOURCE
39
+
40
+ Download from github, checkout the submodules and build JavaMateView. You will need Ant
41
+ installed, and RSpec and Cucumber installed as JRuby gems.
42
+
43
+ $ git clone git://github.com/danlucraft/redcar.git
44
+ $ cd redcar
45
+ $ git submodule init
46
+ $ git submodule update
47
+ $ jruby ext/extconf.rb
48
+ $ jruby -S rake build
49
+
50
+ To run:
51
+
52
+ $ jruby bin/redcar
53
+
54
+ To run on OSX:
55
+
56
+ $ jruby -J-XstartOnFirstThread bin/redcar
57
+
58
+
26
59
  ## PROBLEMS?
27
60
 
28
61
  * Irc at #redcar on irc.freenode.net
data/ROADMAP.md CHANGED
@@ -1,13 +1,13 @@
1
1
 
2
- Redcar Development Roadmap
3
- ==========================
2
+ Redcar JRuby Port Roadmap
3
+ =========================
4
4
 
5
- 0.3dev - *Developer preview*
6
- ----------------------------
5
+ 0.3dev - *Developer preview* - DONE
6
+ -----------------------------------
7
7
 
8
8
  This will be the first JRuby release of Redcar.
9
9
 
10
- The features of this release are chosen to be the minimum to make Redcar self-hosting as a reasonable editor:
10
+ The features of this release are chosen to be the minimum to make Redcar self-hosting as an editor:
11
11
 
12
12
  * Syntax Highlighting (done)
13
13
  * File editing (done)
@@ -15,44 +15,42 @@ The features of this release are chosen to be the minimum to make Redcar self-ho
15
15
  * Multiple windows (done)
16
16
  * _Basic_ project pane (done)
17
17
  * Auto-indenter (done)
18
- * Tests passing on 3 platforms
18
+ * Packaged as a gem (done)
19
+ * Runs on 3 platforms (done)
19
20
 
20
- 0.3.1dev - *Developer preview*
21
+ 0.3.1dev - *Developer preview* - DONE
21
22
  ------------------------------
22
23
 
23
24
  Features:
24
25
 
26
+ * Keybindings to switch tabs (done)
27
+ * Text editing stuff:
28
+ - Undo/Redo (done)
29
+ - Home/End (done)
30
+ * Project stuff:
31
+ - watches for file changes (done)
32
+ - fuzzy file finder (done)
33
+ * Plugins stuff:
34
+ - can add to menus easily (done)
35
+
36
+ More previews to add
37
+ --------------------
38
+
39
+ * Tests passing on 3 platforms
25
40
  * Dialog library with simple DSL
41
+ * Gem plugins
26
42
  * Per-plugin storage
27
43
  * HTML output from commands
28
44
  * Tooltip output from commands
29
45
  * Full project support
30
46
  * Fuzzy file finder
31
47
  * Speedbar returns
32
-
33
- 0.3.2dev - *Developer preview*
34
- ------------------------------
35
-
36
- Features:
37
-
38
48
  * Embedded web server for plugins/plugin configuration
39
49
  * Snippets
40
50
  * Go to symbol
41
-
42
- 0.3.3dev - *Developer preview*
43
- ------------------------------
44
-
45
- Features:
46
-
47
51
  * Autocompletion
48
52
  * Bracket matching
49
53
  * Text/Source/Ruby bundle commands ported
50
-
51
- 0.3.4dev - *Developer preview*
52
- ------------------------------
53
-
54
- Features:
55
-
56
54
  * Drag and drop of tabs
57
55
  * Packaged for one-click install on 3 platforms
58
56
  * Ruby on Rails/HTML/CSS/YAML bundle commands ported
data/Rakefile CHANGED
@@ -1,11 +1,10 @@
1
1
 
2
- # To create Rake tasks for your plugin, put them in plugins/my_plugin/Rakefile or
3
- # plugins/my_plugin/tasks/my_tasks.rake.
4
-
5
2
  require 'rubygems'
6
3
  require 'fileutils'
7
4
  require 'spec/rake/spectask'
8
5
  require 'cucumber/rake/task'
6
+ require "rake/gempackagetask"
7
+ require "rake/rdoctask"
9
8
 
10
9
  if RUBY_PLATFORM =~ /mswin/
11
10
  begin
@@ -15,21 +14,7 @@ if RUBY_PLATFORM =~ /mswin/
15
14
  end
16
15
  end
17
16
 
18
- def plugin_names
19
- Dir["plugins/*"].map do |fn|
20
- name = fn.split("/").last
21
- end
22
- end
23
-
24
- Dir[File.join(File.dirname(__FILE__), *%w[plugins *])].each do |plugin_dir|
25
- rakefiles = [File.join(plugin_dir, "Rakefile")] +
26
- Dir[File.join(plugin_dir, "tasks", "*.rake")]
27
- rakefiles.each do |rakefile|
28
- if File.exist?(rakefile)
29
- load rakefile
30
- end
31
- end
32
- end
17
+ ### DOCUMENTATION
33
18
 
34
19
  begin
35
20
  require 'yard'
@@ -52,9 +37,28 @@ task :yardoc do
52
37
  %x(yardoc #{files.join(" ")} -o yardoc)
53
38
  end
54
39
 
40
+
41
+ # Generate documentation
42
+ Rake::RDocTask.new do |rd|
43
+ rd.main = "README.md"
44
+ rd.rdoc_files.include("README.md", "lib/**/*.rb")
45
+ rd.rdoc_dir = "rdoc"
46
+ end
47
+
48
+ ### TESTS
49
+
55
50
  desc "Run all specs and features"
56
51
  task :default => ["specs", "cucumber"]
57
52
 
53
+ Spec::Rake::SpecTask.new("specs") do |t|
54
+ t.spec_files = FileList[
55
+ 'plugins/*/spec/*/*_spec.rb',
56
+ 'plugins/*/spec/*/*/*_spec.rb',
57
+ 'plugins/*/spec/*/*/*/*_spec.rb',
58
+ ]
59
+ t.spec_opts = ["-c"]
60
+ end
61
+
58
62
  desc "Run features"
59
63
  task :cucumber do
60
64
  case Config::CONFIG["host_os"]
@@ -65,45 +69,15 @@ task :cucumber do
65
69
  end
66
70
  end
67
71
 
68
- Spec::Rake::SpecTask.new("specs") do |t|
69
- t.spec_files = FileList[
70
- 'plugins/*/spec/*/*_spec.rb',
71
- 'plugins/*/spec/*/*/*_spec.rb',
72
- 'plugins/*/spec/*/*/*/*_spec.rb',
73
- ]
74
- t.spec_opts = ["-c"]
75
- end
72
+ ### BUILD AND RELEASE
76
73
 
77
74
  desc "Build"
78
75
  task :build do
79
76
  sh("ant jar -f vendor/java-mateview/build.xml")
80
77
  cp("vendor/java-mateview/lib/java-mateview.rb", "plugins/edit_view_swt/vendor/")
81
78
  cp("vendor/java-mateview/release/java-mateview.jar", "plugins/edit_view_swt/vendor/")
82
- # Dir["vendor/java-mateview/lib/*.jar"].each do |fn|
83
- # FileUtils.cp(fn, "plugins/edit_view_swt/vendor/")
84
- # end
85
- end
86
-
87
- desc "Package jars and submodules into big tar file"
88
- task :package do
89
- sh("COPYFILE_DISABLE=true \
90
- tar czvf redcar_jars.tar.gz \
91
- --exclude textmate/.git \
92
- --exclude **/._* \
93
- --exclude *.off \
94
- plugins/application_swt/vendor/swt/{osx64,linux,linux64,windows}/swt.jar \
95
- plugins/application_swt/vendor/jface/org.eclipse.*.jar \
96
- plugins/edit_view_swt/vendor/*.jar \
97
- plugins/edit_view_swt/vendor/java-mateview.rb \
98
- textmate/Bundles textmate/Themes"
99
- )
100
79
  end
101
80
 
102
-
103
- require "rubygems"
104
- require "rake/gempackagetask"
105
- require "rake/rdoctask"
106
-
107
81
  def remove_gitignored_files(filelist)
108
82
  ignores = File.readlines(".gitignore")
109
83
  ignores = ignores.select {|ignore| ignore.chomp.strip != ""}
@@ -112,17 +86,12 @@ def remove_gitignored_files(filelist)
112
86
  r.select {|fn| fn !~ /\.jar$/}
113
87
  end
114
88
 
115
- # This builds the actual gem. For details of what all these options
116
- # mean, and other ones you can add, check the documentation here:
117
- #
118
- # http://rubygems.org/read/chapter/20
119
- #
120
89
  spec = Gem::Specification.new do |s|
121
90
 
122
91
  # Change these as appropriate
123
92
  s.name = "redcar"
124
- s.version = "0.3.0dev"
125
- s.summary = "A JRuby text editor. (Installing the gem will take a while as it downloads assets during the install.)"
93
+ s.version = "0.3.1dev"
94
+ s.summary = "A JRuby text editor."
126
95
  s.author = "Daniel Lucraft"
127
96
  s.email = "dan@fluentradical.com"
128
97
  s.homepage = "http://redcareditor.com"
@@ -135,11 +104,10 @@ spec = Gem::Specification.new do |s|
135
104
  # Add any extra files to include in the gem
136
105
  s.files = %w(CHANGES LICENSE Rakefile README.md ROADMAP.md) +
137
106
  Dir.glob("bin/redcar") +
138
- Dir.glob("ext/**/*") +
139
107
  Dir.glob("config/**/*") +
140
108
  remove_gitignored_files(Dir.glob("lib/**/*")) +
141
109
  remove_gitignored_files(Dir.glob("plugins/**/*")) +
142
- Dir.glob("textmate/Bundles/*.tmbundle/{Syntaxes,Snippets,Templates}/**/*") +
110
+ Dir.glob("textmate/Bundles/*.tmbundle/Syntaxes/**/*") +
143
111
  Dir.glob("textmate/Themes/*.tmTheme")
144
112
  s.executables = FileList["bin/redcar"].map { |f| File.basename(f) }
145
113
 
@@ -153,27 +121,25 @@ spec = Gem::Specification.new do |s|
153
121
  s.add_development_dependency("cucumber")
154
122
  s.add_development_dependency("rspec")
155
123
 
156
-
157
- s.extensions = ["ext/extconf.rb"]
124
+ s.post_install_message = <<TEXT
125
+
126
+ ------------------------------------------------------------------------------------
127
+
128
+ Please now run:
129
+
130
+ $ redcar install
131
+
132
+ to complete the installation.
133
+
134
+ (If you installed the gem with 'sudo', you will need to run 'sudo redcar install').
135
+
136
+ ------------------------------------------------------------------------------------
137
+
138
+ TEXT
158
139
  end
159
140
 
160
- # This task actually builds the gem. We also regenerate a static
161
- # .gemspec file, which is useful if something (i.e. GitHub) will
162
- # be automatically building a gem for this project. If you're not
163
- # using GitHub, edit as appropriate.
164
141
  Rake::GemPackageTask.new(spec) do |pkg|
165
142
  pkg.gem_spec = spec
166
-
167
- # Generate the gemspec file for github.
168
- file = File.dirname(__FILE__) + "/#{spec.name}.gemspec"
169
- File.open(file, "w") {|f| f << spec.to_ruby }
170
- end
171
-
172
- # Generate documentation
173
- Rake::RDocTask.new do |rd|
174
- rd.main = "README.md"
175
- rd.rdoc_files.include("README.md", "lib/**/*.rb")
176
- rd.rdoc_dir = "rdoc"
177
143
  end
178
144
 
179
145
  RELEASE_BUNDLES = %w(
@@ -184,10 +150,21 @@ RELEASE_BUNDLES = %w(
184
150
  RedcarRepl.tmbundle
185
151
  Text.tmbundle
186
152
  Source.tmbundle
187
- )
153
+ Cucumber.tmbundle
154
+ Java.tmbundle
155
+ Perl.tmbundle
156
+ ) + ["Ruby on Rails.tmbundle"]
188
157
 
189
158
  desc 'Clean up the Textmate files for packaging'
190
159
  task :clean_textmate do
160
+ # remove unwanted bundles
161
+ Dir["textmate/Bundles/*"].each do |bdir|
162
+ p bdir.split("/").last
163
+ unless RELEASE_BUNDLES.include?(bdir.split("/").last)
164
+ FileUtils.rm_rf(bdir)
165
+ end
166
+ end
167
+
191
168
  # rename files to be x-platform safe
192
169
  Dir["textmate/Bundles/*.tmbundle/{Syntaxes,Snippets,Templates}/**/*"].each do |fn|
193
170
  if File.file?(fn)
@@ -203,18 +180,14 @@ task :clean_textmate do
203
180
  FileUtils.mv(fn, new_fn)
204
181
  end
205
182
  else
206
- FileUtils.mv(fn, new_fn)
183
+ begin
184
+ FileUtils.mv(fn, new_fn)
185
+ rescue => e
186
+ puts e
187
+ end
207
188
  end
208
189
  end
209
190
  end
210
-
211
- # remove unwanted bundles
212
- Dir["textmate/Bundles/*"].each do |bdir|
213
- p bdir.split("/").last
214
- unless RELEASE_BUNDLES.include?(bdir.split("/").last)
215
- FileUtils.rm_r(bdir)
216
- end
217
- end
218
191
  end
219
192
 
220
193
  desc 'Clear out RDoc and generated packages'
data/bin/redcar CHANGED
@@ -2,5 +2,11 @@
2
2
 
3
3
  require File.join(File.dirname(__FILE__), %w(.. lib redcar))
4
4
 
5
- Redcar.start
6
- Redcar.pump
5
+ if ARGV.first == "install"
6
+ installer = Redcar::Installer.new
7
+ installer.install
8
+ else
9
+ Redcar.ensure_jruby
10
+ Redcar.start
11
+ Redcar.pump
12
+ end
@@ -29,12 +29,19 @@ module FreeBASE
29
29
  require 'yaml'
30
30
  end
31
31
 
32
+ def self.windows?
33
+ (RUBY_PLATFORM =~ /(mswin32|mingw32)/) ||
34
+ ( (RUBY_PLATFORM == 'java') &&
35
+ (java.lang.System.getProperty('os.name') =~ /Windows/)
36
+ )
37
+ end
38
+
32
39
  ##
33
40
  # Determine where the user directory is (if any)
34
41
  #
35
42
  def self.setup
36
43
  $FREEBASE_APPLICATION = "redcar" unless $FREEBASE_APPLICATION
37
- if RUBY_PLATFORM =~ /(mswin32|mingw32)/
44
+ if windows?
38
45
  if ENV['USERPROFILE'].nil?
39
46
  @@userdir = "C:/My Documents/.redcar/"
40
47
  Dir.mkdir(@@userdir) unless File.directory?(@@userdir)
@@ -3,10 +3,25 @@ $:.push File.join(File.dirname(__FILE__))
3
3
 
4
4
  require 'rbconfig'
5
5
 
6
- if Config::CONFIG["RUBY_INSTALL_NAME"] == "jruby"
7
- require 'redcar/boot'
8
- else
9
- require 'redcar/runner'
10
- runner = Redcar::Runner.new
11
- runner.spin_up
12
- end
6
+ module Redcar
7
+ VERSION = '0.3.1dev'
8
+ VERSION_MAJOR = 0
9
+ VERSION_MINOR = 3
10
+ VERSION_RELEASE = 1
11
+
12
+ def self.ensure_jruby
13
+ if Config::CONFIG["RUBY_INSTALL_NAME"] == "jruby"
14
+ boot
15
+ else
16
+ require 'redcar/runner'
17
+ runner = Redcar::Runner.new
18
+ runner.spin_up
19
+ end
20
+ end
21
+
22
+ def self.boot
23
+ require 'redcar/boot'
24
+ end
25
+ end
26
+
27
+ require 'redcar/installer'