redcar 0.7 → 0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. data/CHANGES +42 -0
  2. data/README.md +5 -3
  3. data/Rakefile +39 -81
  4. data/bin/redcar +1 -1
  5. data/lib/redcar.rb +9 -6
  6. data/lib/redcar/installer.rb +1 -1
  7. data/lib/redcar/ruby_extensions.rb +19 -0
  8. data/lib/redcar/runner.rb +1 -1
  9. data/lib/redcar/usage.rb +3 -0
  10. data/lib/redcar_quick_start.rb +11 -11
  11. data/plugins/application/features/step_definitions/tree_steps.rb +22 -5
  12. data/plugins/application/features/step_definitions/window_steps.rb +9 -1
  13. data/plugins/application/features/support/env.rb +5 -2
  14. data/plugins/application/lib/application.rb +51 -46
  15. data/plugins/application/lib/application/window.rb +60 -30
  16. data/plugins/application_swt/lib/application_swt.rb +16 -16
  17. data/plugins/application_swt/lib/application_swt/window.rb +35 -7
  18. data/plugins/auto_completer/features/support/env.rb +0 -2
  19. data/plugins/auto_indenter/features/support/env.rb +0 -1
  20. data/plugins/auto_pairer/features/auto_pairer.feature +50 -45
  21. data/plugins/auto_pairer/features/support/env.rb +0 -1
  22. data/plugins/auto_pairer/lib/auto_pairer/document_controller.rb +11 -6
  23. data/plugins/clipboard-viewer/Screenshot.png +0 -0
  24. data/plugins/clipboard-viewer/lib/clipboard_viewer.rb +50 -0
  25. data/plugins/clipboard-viewer/lib/clipboard_viewer/browser_controller.rb +27 -0
  26. data/plugins/clipboard-viewer/lib/clipboard_viewer/clipboard_bar.rb +67 -0
  27. data/plugins/clipboard-viewer/plugin.rb +9 -0
  28. data/plugins/clipboard-viewer/views/clipboard.html.erb +15 -0
  29. data/plugins/clipboard-viewer/views/default.css +43 -0
  30. data/plugins/clipboard-viewer/views/redcar_small_icon.png +0 -0
  31. data/plugins/comment/features/line_comment.feature +137 -0
  32. data/plugins/comment/features/selection_comment.feature +21 -0
  33. data/plugins/comment/features/step_definitions/comment_steps.rb +7 -0
  34. data/plugins/comment/lib/comment.rb +266 -0
  35. data/plugins/comment/plugin.rb +7 -0
  36. data/plugins/comment/vendor/comment_lib.json +47 -0
  37. data/plugins/declarations/lib/declarations.rb +1 -1
  38. data/plugins/document_search/features/replace.feature +10 -2
  39. data/plugins/document_search/features/support/env.rb +0 -1
  40. data/plugins/document_search/lib/document_search.rb +4 -1
  41. data/plugins/document_search/lib/document_search/replace.rb +11 -3
  42. data/plugins/document_search/lib/document_search/search_and_replace.rb +5 -2
  43. data/plugins/edit_view/features/case_change.feature +9 -9
  44. data/plugins/edit_view/features/cursor_navigation.feature +36 -0
  45. data/plugins/edit_view/features/step_definitions/editing_steps.rb +63 -8
  46. data/plugins/edit_view/features/step_definitions/notebook_steps.rb +2 -0
  47. data/plugins/edit_view/features/step_definitions/tab_steps.rb +8 -5
  48. data/plugins/edit_view/features/support/env.rb +8 -2
  49. data/plugins/edit_view/lib/edit_view.rb +16 -1
  50. data/plugins/edit_view/lib/edit_view/actions/cmd_enter.rb +11 -0
  51. data/plugins/edit_view/lib/edit_view/document.rb +27 -10
  52. data/plugins/edit_view/lib/edit_view/edit_tab.rb +17 -4
  53. data/plugins/edit_view/spec/edit_view/document_spec.rb +3 -0
  54. data/plugins/edit_view_swt/lib/edit_view_swt.rb +42 -3
  55. data/plugins/edit_view_swt/lib/edit_view_swt/word_movement.rb +17 -15
  56. data/plugins/help/lib/help.rb +40 -0
  57. data/plugins/help/plugin.rb +8 -0
  58. data/plugins/html_view/features/step_definitions/html_view_steps.rb +6 -4
  59. data/plugins/line_tools/features/support/env.rb +0 -1
  60. data/plugins/macros/features/step_definitions/macro_steps.rb +0 -55
  61. data/plugins/macros/features/support/env.rb +0 -2
  62. data/plugins/open_default_app/lib/open_default_app.rb +35 -0
  63. data/plugins/open_default_app/plugin.rb +8 -0
  64. data/plugins/open_default_app/screenshot.png +0 -0
  65. data/plugins/plugin_manager_ui/lib/plugin_manager_ui.rb +17 -3
  66. data/plugins/project/features/find_file.feature +3 -2
  67. data/plugins/project/features/highlight_focussed_tab.feature +8 -0
  68. data/plugins/project/features/move_and_rename_files.feature +25 -0
  69. data/plugins/project/features/open_and_save_files.feature +10 -1
  70. data/plugins/project/features/open_directory_tree.feature +32 -2
  71. data/plugins/project/features/step_definitions/directory_steps.rb +17 -0
  72. data/plugins/project/features/step_definitions/project_tree_steps.rb +3 -0
  73. data/plugins/project/features/sub_project.feature +14 -0
  74. data/plugins/project/features/support/env.rb +22 -3
  75. data/plugins/project/features/watch_for_modified_files.feature +32 -9
  76. data/plugins/project/lib/project.rb +53 -21
  77. data/plugins/project/lib/project/adapters/local.rb +21 -16
  78. data/plugins/project/lib/project/adapters/remote.rb +15 -13
  79. data/plugins/project/lib/project/commands.rb +37 -16
  80. data/plugins/project/lib/project/dir_controller.rb +41 -42
  81. data/plugins/project/lib/project/drb_service.rb +35 -21
  82. data/plugins/project/lib/project/file_list.rb +7 -1
  83. data/plugins/project/lib/project/manager.rb +28 -3
  84. data/plugins/project/lib/project/sub_project.rb +17 -0
  85. data/plugins/project/lib/project/support/recycle.js +2 -0
  86. data/plugins/project/lib/project/support/trash.rb +72 -0
  87. data/plugins/project/spec/fixtures/multi-byte-files/a/341/204/200/341/205/247/341/206/274/341/204/205/341/205/251/foo +1 -0
  88. data/plugins/project/spec/fixtures/multi-byte-files//341/204/220/341/205/246/341/204/211/341/205/263/341/204/220/341/205/263.py +1 -0
  89. data/plugins/project/spec/project/file_list_spec.rb +4 -0
  90. data/plugins/redcar/features/goto_line_command.feature +20 -0
  91. data/plugins/redcar/redcar.rb +107 -47
  92. data/plugins/repl/lib/repl.rb +20 -20
  93. data/plugins/repl/lib/repl/clojure_mirror.rb +50 -58
  94. data/plugins/repl/lib/repl/groovy_mirror.rb +22 -41
  95. data/plugins/repl/lib/repl/repl_mirror.rb +85 -14
  96. data/plugins/repl/lib/repl/ruby_mirror.rb +12 -39
  97. data/plugins/repl/spec/repl/groovy_mirror_spec.rb +1 -1
  98. data/plugins/repl/spec/repl/ruby_mirror_spec.rb +12 -12
  99. data/plugins/ruby/README +6 -0
  100. data/plugins/ruby/lib/syntax_check/ruby.rb +28 -0
  101. data/plugins/ruby/plugin.rb +7 -0
  102. data/plugins/runnables/features/command_tree.feature +9 -0
  103. data/plugins/runnables/features/file_runner_input.feature +20 -0
  104. data/plugins/runnables/features/run_alternate_command.feature +14 -0
  105. data/plugins/runnables/features/support/env.rb +42 -5
  106. data/plugins/runnables/lib/runnables.rb +67 -21
  107. data/plugins/runnables/lib/runnables/commands.rb +35 -18
  108. data/plugins/runnables/lib/runnables/tree_mirror/nodes/runnable_group.rb +23 -37
  109. data/plugins/runnables/lib/runnables/tree_mirror/nodes/runnable_type_group.rb +16 -18
  110. data/plugins/scm_svn/features/support/env.rb +0 -3
  111. data/plugins/snippets/features/snippets.feature +17 -2
  112. data/plugins/snippets/features/support/env.rb +0 -1
  113. data/plugins/snippets/lib/snippets/tab_handler.rb +51 -18
  114. data/plugins/swt/lib/swt/cucumber_patches.rb +13 -68
  115. data/plugins/swt/lib/swt/cucumber_runner.rb +2 -3
  116. data/plugins/syntax_check/README +6 -0
  117. data/plugins/syntax_check/lib/syntax_check.rb +16 -0
  118. data/plugins/syntax_check/lib/syntax_check/checker.rb +47 -0
  119. data/plugins/syntax_check/lib/syntax_check/error.rb +23 -0
  120. data/plugins/syntax_check/plugin.rb +7 -0
  121. data/plugins/tree_view_swt/lib/tree_view_swt.rb +6 -0
  122. data/plugins/web_bookmarks/Screenshot.png +0 -0
  123. data/plugins/web_bookmarks/lib/web_bookmarks.rb +42 -0
  124. data/plugins/web_bookmarks/lib/web_bookmarks/bookmark.rb +43 -0
  125. data/plugins/web_bookmarks/lib/web_bookmarks/browser_bar.rb +70 -0
  126. data/plugins/web_bookmarks/lib/web_bookmarks/commands.rb +111 -0
  127. data/plugins/web_bookmarks/lib/web_bookmarks/tree.rb +67 -0
  128. data/plugins/web_bookmarks/lib/web_bookmarks/view_controller.rb +22 -0
  129. data/plugins/web_bookmarks/plugin.rb +11 -0
  130. data/plugins/web_bookmarks/views/index.html.erb +5 -0
  131. metadata +60 -10
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redcar
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 7
9
- version: "0.7"
8
+ - 8
9
+ version: "0.8"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Lucraft
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-10-04 00:00:00 +01:00
17
+ date: 2010-10-26 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -3750,6 +3750,20 @@ files:
3750
3750
  - plugins/auto_pairer/lib/auto_pairer/pairs_for_scope.rb
3751
3751
  - plugins/auto_pairer/lib/auto_pairer.rb
3752
3752
  - plugins/auto_pairer/plugin.rb
3753
+ - plugins/clipboard-viewer/lib/clipboard_viewer/browser_controller.rb
3754
+ - plugins/clipboard-viewer/lib/clipboard_viewer/clipboard_bar.rb
3755
+ - plugins/clipboard-viewer/lib/clipboard_viewer.rb
3756
+ - plugins/clipboard-viewer/plugin.rb
3757
+ - plugins/clipboard-viewer/Screenshot.png
3758
+ - plugins/clipboard-viewer/views/clipboard.html.erb
3759
+ - plugins/clipboard-viewer/views/default.css
3760
+ - plugins/clipboard-viewer/views/redcar_small_icon.png
3761
+ - plugins/comment/features/line_comment.feature
3762
+ - plugins/comment/features/selection_comment.feature
3763
+ - plugins/comment/features/step_definitions/comment_steps.rb
3764
+ - plugins/comment/lib/comment.rb
3765
+ - plugins/comment/plugin.rb
3766
+ - plugins/comment/vendor/comment_lib.json
3753
3767
  - plugins/connection_manager/lib/connection_manager/commands.rb
3754
3768
  - plugins/connection_manager/lib/connection_manager/connection_store.rb
3755
3769
  - plugins/connection_manager/lib/connection_manager/controller.rb
@@ -3802,6 +3816,7 @@ files:
3802
3816
  - plugins/document_search/Readme.md
3803
3817
  - plugins/edit_view/features/align_assignment.feature
3804
3818
  - plugins/edit_view/features/case_change.feature
3819
+ - plugins/edit_view/features/cursor_navigation.feature
3805
3820
  - plugins/edit_view/features/cut_and_paste.feature
3806
3821
  - plugins/edit_view/features/grammar.feature
3807
3822
  - plugins/edit_view/features/indentation_commands.feature
@@ -3823,6 +3838,7 @@ files:
3823
3838
  - plugins/edit_view/features/undo_and_redo.feature
3824
3839
  - plugins/edit_view/features/word_matching.feature
3825
3840
  - plugins/edit_view/lib/edit_view/actions/arrow_keys.rb
3841
+ - plugins/edit_view/lib/edit_view/actions/cmd_enter.rb
3826
3842
  - plugins/edit_view/lib/edit_view/actions/deletion.rb
3827
3843
  - plugins/edit_view/lib/edit_view/actions/esc.rb
3828
3844
  - plugins/edit_view/lib/edit_view/actions/tab.rb
@@ -3880,6 +3896,8 @@ files:
3880
3896
  - plugins/find-in-project/lib/find_in_project.rb
3881
3897
  - plugins/find-in-project/plugin.rb
3882
3898
  - plugins/find-in-project/TODO.md
3899
+ - plugins/help/lib/help.rb
3900
+ - plugins/help/plugin.rb
3883
3901
  - plugins/html_view/assets/blueprint/ie.css
3884
3902
  - plugins/html_view/assets/blueprint/print.css
3885
3903
  - plugins/html_view/assets/blueprint/screen.css
@@ -3927,6 +3945,9 @@ files:
3927
3945
  - plugins/macros/views/macro_manager.html.erb
3928
3946
  - plugins/my_plugin/lib/my_plugin.rb
3929
3947
  - plugins/my_plugin/plugin.rb
3948
+ - plugins/open_default_app/lib/open_default_app.rb
3949
+ - plugins/open_default_app/plugin.rb
3950
+ - plugins/open_default_app/screenshot.png
3930
3951
  - plugins/outline_view/lib/outline_view/commands.rb
3931
3952
  - plugins/outline_view/lib/outline_view.rb
3932
3953
  - plugins/outline_view/plugin.rb
@@ -3945,11 +3966,15 @@ files:
3945
3966
  - plugins/plugin_manager_ui/plugin.rb
3946
3967
  - plugins/plugin_manager_ui/views/index.html.erb
3947
3968
  - plugins/project/features/find_file.feature
3969
+ - plugins/project/features/highlight_focussed_tab.feature
3970
+ - plugins/project/features/move_and_rename_files.feature
3948
3971
  - plugins/project/features/open_and_save_files.feature
3949
3972
  - plugins/project/features/open_directory_tree.feature
3950
3973
  - plugins/project/features/refresh_directory_tree.feature
3951
3974
  - plugins/project/features/step_definitions/directory_steps.rb
3952
3975
  - plugins/project/features/step_definitions/file_steps.rb
3976
+ - plugins/project/features/step_definitions/project_tree_steps.rb
3977
+ - plugins/project/features/sub_project.feature
3953
3978
  - plugins/project/features/support/env.rb
3954
3979
  - plugins/project/features/watch_for_modified_files.feature
3955
3980
  - plugins/project/lib/project/adapters/local.rb
@@ -3966,8 +3991,13 @@ files:
3966
3991
  - plugins/project/lib/project/find_file_dialog.rb
3967
3992
  - plugins/project/lib/project/manager.rb
3968
3993
  - plugins/project/lib/project/recent_directories.rb
3994
+ - plugins/project/lib/project/sub_project.rb
3995
+ - plugins/project/lib/project/support/recycle.js
3996
+ - plugins/project/lib/project/support/trash.rb
3969
3997
  - plugins/project/lib/project.rb
3970
3998
  - plugins/project/plugin.rb
3999
+ - "plugins/project/spec/fixtures/multi-byte-files/a\xE1\x84\x80\xE1\x85\xA7\xE1\x86\xBC\xE1\x84\x85\xE1\x85\xA9/foo"
4000
+ - "plugins/project/spec/fixtures/multi-byte-files/\xE1\x84\x90\xE1\x85\xA6\xE1\x84\x89\xE1\x85\xB3\xE1\x84\x90\xE1\x85\xB3.py"
3971
4001
  - plugins/project/spec/fixtures/myproject/lib/foo_lib.rb
3972
4002
  - plugins/project/spec/fixtures/myproject/README
3973
4003
  - plugins/project/spec/fixtures/myproject/spec/foo_spec.rb
@@ -4161,6 +4191,7 @@ files:
4161
4191
  - plugins/project/vendor/net-ssh/test/transport/test_state.rb
4162
4192
  - plugins/project/vendor/net-ssh/THANKS.rdoc
4163
4193
  - plugins/project/views/bulk_rename.html.erb
4194
+ - plugins/redcar/features/goto_line_command.feature
4164
4195
  - plugins/redcar/plugin.rb
4165
4196
  - plugins/redcar/redcar.rb
4166
4197
  - plugins/redcar_debug/lib/redcar_debug.rb
@@ -4208,8 +4239,13 @@ files:
4208
4239
  - plugins/repl/vendor/dummy
4209
4240
  - plugins/repl/vendor/enclojure-wrapper.jar
4210
4241
  - plugins/repl/vendor/Wrapper.clj
4242
+ - plugins/ruby/lib/syntax_check/ruby.rb
4243
+ - plugins/ruby/plugin.rb
4244
+ - plugins/ruby/README
4211
4245
  - plugins/runnables/features/command_tree.feature
4246
+ - plugins/runnables/features/file_runner_input.feature
4212
4247
  - plugins/runnables/features/parameter_input.feature
4248
+ - plugins/runnables/features/run_alternate_command.feature
4213
4249
  - plugins/runnables/features/run_command_tab.feature
4214
4250
  - plugins/runnables/features/step_definitions/runnable_steps.rb
4215
4251
  - plugins/runnables/features/support/env.rb
@@ -4607,6 +4643,11 @@ files:
4607
4643
  - plugins/swt/lib/swt/listener_helpers.rb
4608
4644
  - plugins/swt/lib/swt.rb
4609
4645
  - plugins/swt/plugin.rb
4646
+ - plugins/syntax_check/lib/syntax_check/checker.rb
4647
+ - plugins/syntax_check/lib/syntax_check/error.rb
4648
+ - plugins/syntax_check/lib/syntax_check.rb
4649
+ - plugins/syntax_check/plugin.rb
4650
+ - plugins/syntax_check/README
4610
4651
  - plugins/task_manager/lib/task_manager.rb
4611
4652
  - plugins/task_manager/plugin.rb
4612
4653
  - plugins/task_manager/views/index.html.erb
@@ -4651,6 +4692,15 @@ files:
4651
4692
  - plugins/view_shortcuts/views/default.css
4652
4693
  - plugins/view_shortcuts/views/index.html.erb
4653
4694
  - plugins/view_shortcuts/views/redcar_small_icon.png
4695
+ - plugins/web_bookmarks/lib/web_bookmarks/bookmark.rb
4696
+ - plugins/web_bookmarks/lib/web_bookmarks/browser_bar.rb
4697
+ - plugins/web_bookmarks/lib/web_bookmarks/commands.rb
4698
+ - plugins/web_bookmarks/lib/web_bookmarks/tree.rb
4699
+ - plugins/web_bookmarks/lib/web_bookmarks/view_controller.rb
4700
+ - plugins/web_bookmarks/lib/web_bookmarks.rb
4701
+ - plugins/web_bookmarks/plugin.rb
4702
+ - plugins/web_bookmarks/Screenshot.png
4703
+ - plugins/web_bookmarks/views/index.html.erb
4654
4704
  - plugins/textmate/vendor/redcar-bundles/Bundles/Apache.tmbundle/Syntaxes/Apache.plist
4655
4705
  - plugins/textmate/vendor/redcar-bundles/Bundles/Apache.tmbundle/Syntaxes/mod_perl.tmLanguage
4656
4706
  - plugins/textmate/vendor/redcar-bundles/Bundles/Blogging.tmbundle/Syntaxes/Blog___HTML__.plist
@@ -6796,19 +6846,19 @@ licenses: []
6796
6846
 
6797
6847
  post_install_message: |+
6798
6848
 
6799
- ------------------------------------------------------------------------------------
6849
+ -------------------------------------------------------------------------------
6800
6850
 
6801
6851
  Please now run:
6802
6852
 
6803
6853
  $ redcar install
6804
6854
 
6805
- to complete the installation. (NB do NOT use sudo. In previous versions, sudo was
6806
- required for this step, but now it should be run as the user.)
6855
+ to complete the installation. (NB. do NOT use sudo. In previous versions,
6856
+ sudo was required for this step, but now it should be run as the user.)
6807
6857
 
6808
- NB. This will download jars that Redcar needs to run from the internet. It will put
6809
- them into ~/.redcar/assets.
6858
+ NB. This will download jars that Redcar needs to run from the internet.
6859
+ It will put them into ~/.redcar/assets.
6810
6860
 
6811
- ------------------------------------------------------------------------------------
6861
+ -------------------------------------------------------------------------------
6812
6862
 
6813
6863
  rdoc_options:
6814
6864
  - --main