redcar 0.3.1dev → 0.3.2dev

Sign up to get free protection for your applications and to get access to all the features.
Files changed (316) hide show
  1. data/CHANGES +34 -1
  2. data/README.md +2 -1
  3. data/ROADMAP.md +13 -45
  4. data/Rakefile +15 -14
  5. data/bin/redcar +4 -1
  6. data/lib/plugin_manager/README.md +61 -0
  7. data/lib/plugin_manager/Rakefile +55 -0
  8. data/lib/plugin_manager/bin/plugin_manager +4 -0
  9. data/lib/plugin_manager/lib/plugin_manager.rb +107 -0
  10. data/lib/plugin_manager/lib/plugin_manager/definition_builder.rb +37 -0
  11. data/lib/plugin_manager/lib/plugin_manager/plugin.rb +9 -0
  12. data/lib/plugin_manager/lib/plugin_manager/plugin_definition.rb +50 -0
  13. data/lib/plugin_manager/plugin_manager.gemspec +33 -0
  14. data/lib/plugin_manager/spec/fixtures/error_in_definition/core/plugin.rb +2 -0
  15. data/lib/plugin_manager/spec/fixtures/error_in_plugin/core/core.rb +4 -0
  16. data/lib/plugin_manager/spec/fixtures/error_in_plugin/core/plugin.rb +7 -0
  17. data/lib/plugin_manager/spec/fixtures/example/core/core.rb +20 -0
  18. data/lib/plugin_manager/spec/fixtures/example/core/plugin.rb +7 -0
  19. data/lib/plugin_manager/spec/fixtures/example/debug/debug.rb +6 -0
  20. data/lib/plugin_manager/spec/fixtures/example/debug/plugin.rb +8 -0
  21. data/lib/plugin_manager/spec/fixtures/example/extras/extras.rb +6 -0
  22. data/lib/plugin_manager/spec/fixtures/example/extras/plugin.rb +8 -0
  23. data/lib/plugin_manager/spec/fixtures/two_versions1/core/core.rb +20 -0
  24. data/lib/plugin_manager/spec/fixtures/two_versions1/core/plugin.rb +7 -0
  25. data/lib/plugin_manager/spec/fixtures/two_versions1/core2/core.rb +20 -0
  26. data/lib/plugin_manager/spec/fixtures/two_versions1/core2/plugin.rb +7 -0
  27. data/lib/plugin_manager/spec/fixtures/two_versions2/core/core.rb +20 -0
  28. data/lib/plugin_manager/spec/fixtures/two_versions2/core/plugin.rb +7 -0
  29. data/lib/plugin_manager/spec/fixtures/two_versions2/core2/core.rb +20 -0
  30. data/lib/plugin_manager/spec/fixtures/two_versions2/core2/plugin.rb +8 -0
  31. data/lib/plugin_manager/spec/fixtures/unmet_dependencies1/core/core.rb +10 -0
  32. data/lib/plugin_manager/spec/fixtures/unmet_dependencies1/core/plugin.rb +7 -0
  33. data/lib/plugin_manager/spec/fixtures/unmet_dependencies1/debug/debug.rb +6 -0
  34. data/lib/plugin_manager/spec/fixtures/unmet_dependencies1/debug/plugin.rb +8 -0
  35. data/lib/plugin_manager/spec/fixtures/unmet_dependencies2/core/core.rb +10 -0
  36. data/lib/plugin_manager/spec/fixtures/unmet_dependencies2/core/plugin.rb +7 -0
  37. data/lib/plugin_manager/spec/fixtures/unmet_dependencies2/debug/debug.rb +6 -0
  38. data/lib/plugin_manager/spec/fixtures/unmet_dependencies2/debug/plugin.rb +8 -0
  39. data/lib/plugin_manager/spec/plugin_manager_spec.rb +208 -0
  40. data/lib/plugin_manager/spec/spec_helper.rb +3 -0
  41. data/lib/redcar.rb +8 -3
  42. data/lib/redcar/boot.rb +59 -56
  43. data/lib/redcar/installer.rb +1 -1
  44. data/lib/redcar/instance_exec.rb +25 -0
  45. data/lib/redcar/runner.rb +5 -1
  46. data/lib/redcar/usage.rb +5 -1
  47. data/plugins/application/icons/close.png +0 -0
  48. data/plugins/application/lib/application.rb +61 -28
  49. data/plugins/application/lib/application/clipboard.rb +71 -0
  50. data/plugins/application/lib/application/dialog.rb +63 -0
  51. data/plugins/application/lib/application/menu.rb +32 -1
  52. data/plugins/application/lib/application/menu/builder.rb +10 -4
  53. data/plugins/application/lib/application/menu/item.rb +16 -3
  54. data/plugins/application/lib/application/notebook.rb +5 -0
  55. data/plugins/application/lib/application/speedbar.rb +73 -0
  56. data/plugins/application/lib/application/window.rb +25 -0
  57. data/plugins/application/plugin.rb +8 -0
  58. data/plugins/application/spec/application/clipboard_spec.rb +36 -0
  59. data/plugins/application/spec/application/menu_spec.rb +73 -1
  60. data/plugins/application/spec/application/speedbar_spec.rb +46 -0
  61. data/plugins/application/spec/spec_helper.rb +1 -1
  62. data/plugins/application_swt/lib/application_swt.rb +18 -11
  63. data/plugins/application_swt/lib/application_swt/clipboard.rb +42 -0
  64. data/plugins/application_swt/lib/application_swt/dialog_adapter.rb +68 -0
  65. data/plugins/application_swt/lib/application_swt/dialogs/filter_list_dialog_controller.rb +1 -1
  66. data/plugins/application_swt/lib/application_swt/html_tab.rb +32 -0
  67. data/plugins/application_swt/lib/application_swt/menu.rb +57 -21
  68. data/plugins/application_swt/lib/application_swt/menu/binding_translator.rb +39 -2
  69. data/plugins/application_swt/lib/application_swt/notebook.rb +5 -0
  70. data/plugins/application_swt/lib/application_swt/speedbar.rb +187 -0
  71. data/plugins/application_swt/lib/application_swt/swt_wrapper.rb +24 -1
  72. data/plugins/application_swt/lib/application_swt/window.rb +33 -3
  73. data/plugins/application_swt/plugin.rb +8 -0
  74. data/plugins/application_swt/spec/spec_helper.rb +1 -1
  75. data/plugins/auto_completer/features/auto_complete.feature +65 -0
  76. data/plugins/auto_completer/features/step_definitions/auto_complete_steps.rb +4 -0
  77. data/plugins/auto_completer/features/support/env.rb +4 -0
  78. data/plugins/auto_completer/lib/auto_completer.rb +99 -0
  79. data/plugins/auto_completer/lib/auto_completer/document_controller.rb +52 -0
  80. data/plugins/auto_completer/lib/auto_completer/word_iterator.rb +48 -0
  81. data/plugins/auto_completer/lib/auto_completer/word_list.rb +40 -0
  82. data/plugins/auto_completer/plugin.rb +10 -0
  83. data/plugins/auto_indenter/lib/auto_indenter.rb +1 -1
  84. data/plugins/auto_indenter/lib/auto_indenter/document_controller.rb +1 -1
  85. data/plugins/auto_indenter/plugin.rb +8 -0
  86. data/plugins/core/lib/core.rb +6 -30
  87. data/plugins/core/lib/core/gui.rb +7 -2
  88. data/plugins/core/lib/core/logger.rb +7 -4
  89. data/plugins/core/lib/core/plugin/storage.rb +15 -5
  90. data/plugins/core/plugin.rb +7 -0
  91. data/plugins/core/spec/core/storage_spec.rb +0 -9
  92. data/plugins/edit_view/features/cut_and_paste.feature +45 -0
  93. data/plugins/edit_view/features/step_definitions/editing_steps.rb +22 -0
  94. data/plugins/edit_view/features/step_definitions/key_steps.rb +1 -1
  95. data/plugins/edit_view/features/step_definitions/notebook_steps.rb +1 -1
  96. data/plugins/edit_view/features/step_definitions/tab_steps.rb +2 -0
  97. data/plugins/edit_view/features/step_definitions/window_steps.rb +1 -1
  98. data/plugins/edit_view/features/support/env.rb +2 -2
  99. data/plugins/edit_view/lib/edit_view.rb +24 -13
  100. data/plugins/edit_view/lib/edit_view/document.rb +233 -15
  101. data/plugins/edit_view/lib/edit_view/edit_tab.rb +2 -2
  102. data/plugins/edit_view/plugin.rb +9 -0
  103. data/plugins/edit_view/spec/spec_helper.rb +1 -1
  104. data/plugins/edit_view_swt/lib/edit_view_swt.rb +37 -8
  105. data/plugins/edit_view_swt/lib/edit_view_swt/document.rb +59 -24
  106. data/plugins/edit_view_swt/lib/edit_view_swt/word_movement.rb +66 -0
  107. data/plugins/edit_view_swt/plugin.rb +9 -0
  108. data/plugins/edit_view_swt/spec/edit_view_swt/word_movement_spec.rb +29 -0
  109. data/plugins/edit_view_swt/spec/spec_helper.rb +6 -0
  110. data/plugins/html_view/assets/blueprint/ie.css +35 -0
  111. data/plugins/html_view/assets/blueprint/print.css +29 -0
  112. data/plugins/html_view/assets/blueprint/screen.css +257 -0
  113. data/plugins/html_view/assets/blueprint/src/forms.css +65 -0
  114. data/plugins/html_view/assets/blueprint/src/grid.css +281 -0
  115. data/plugins/html_view/assets/blueprint/src/grid.png +0 -0
  116. data/plugins/html_view/assets/blueprint/src/ie.css +76 -0
  117. data/plugins/html_view/assets/blueprint/src/print.css +85 -0
  118. data/plugins/html_view/assets/blueprint/src/reset.css +38 -0
  119. data/plugins/html_view/assets/blueprint/src/typography.css +106 -0
  120. data/plugins/html_view/assets/jquery-1.4.min.js +151 -0
  121. data/plugins/html_view/assets/redcar.css +12 -0
  122. data/plugins/html_view/lib/html_controller.rb +5 -0
  123. data/plugins/html_view/lib/html_view.rb +47 -0
  124. data/plugins/html_view/lib/html_view/html_tab.rb +16 -0
  125. data/plugins/html_view/plugin.rb +12 -0
  126. data/plugins/my_plugin/lib/my_plugin.rb +55 -0
  127. data/plugins/my_plugin/plugin.rb +8 -0
  128. data/plugins/plugin_manager_ui/lib/plugin_manager_ui.rb +62 -0
  129. data/plugins/plugin_manager_ui/plugin.rb +12 -0
  130. data/plugins/plugin_manager_ui/views/index.html.erb +31 -0
  131. data/plugins/project/lib/project.rb +27 -13
  132. data/plugins/project/lib/project/find_file_dialog.rb +25 -19
  133. data/plugins/project/plugin.rb +8 -0
  134. data/plugins/project/spec/spec_helper.rb +1 -1
  135. data/plugins/redcar/plugin.rb +13 -0
  136. data/plugins/redcar/redcar.rb +249 -8
  137. data/plugins/repl/lib/repl.rb +22 -14
  138. data/plugins/repl/plugin.rb +8 -0
  139. data/plugins/repl/spec/spec_helper.rb +1 -1
  140. data/plugins/tree/plugin.rb +9 -0
  141. data/plugins/tree/spec/spec_helper.rb +1 -1
  142. data/plugins/tree_view_swt/plugin.rb +9 -0
  143. data/textmate/Bundles/Apache.tmbundle/Syntaxes/Apache.plist +544 -0
  144. data/textmate/Bundles/Apache.tmbundle/Syntaxes/mod_perl.tmLanguage +120 -0
  145. data/textmate/Bundles/Blogging.tmbundle/Syntaxes/Blog___HTML__.plist +88 -0
  146. data/textmate/Bundles/Blogging.tmbundle/Syntaxes/Blog___Markdown__.plist +89 -0
  147. data/textmate/Bundles/Blogging.tmbundle/Syntaxes/Blog___Text__.plist +74 -0
  148. data/textmate/Bundles/Blogging.tmbundle/Syntaxes/Blog___Textile__.plist +74 -0
  149. data/textmate/Bundles/Bundle Development.tmbundle/Syntaxes/LanguageGrammar.tmLanguage +1829 -0
  150. data/textmate/Bundles/C Sharp.tmbundle/Syntaxes/Build.tmLanguage +142 -0
  151. data/textmate/Bundles/C Sharp.tmbundle/Syntaxes/C__.tmLanguage +524 -0
  152. data/textmate/Bundles/C++ Qt.tmbundle/Syntaxes/Qt_C____.tmLanguage +62 -0
  153. data/textmate/Bundles/C++ Qt.tmbundle/Syntaxes/qmake_Project.tmLanguage +308 -0
  154. data/textmate/Bundles/C.tmbundle/Syntaxes/C.plist +90 -48
  155. data/textmate/Bundles/Clojure.tmbundle/Syntaxes/Clojure.tmLanguage +427 -0
  156. data/textmate/Bundles/Cucumber.tmbundle/Syntaxes/Cucumber_Plain_Text_Feature.tmLanguage +106 -13
  157. data/textmate/Bundles/Cucumber.tmbundle/Syntaxes/Cucumber_Steps.tmLanguage +177 -2
  158. data/textmate/Bundles/Cucumber.tmbundle/Syntaxes/plaintext_template.erb +109 -17
  159. data/textmate/Bundles/D.tmbundle/Syntaxes/D.tmLanguage +908 -0
  160. data/textmate/Bundles/Diff.tmbundle/Syntaxes/Diff.plist +229 -0
  161. data/textmate/Bundles/DokuWiki.tmbundle/Syntaxes/DokuWiki.tmLanguage +649 -0
  162. data/textmate/Bundles/F-Script.tmbundle/Syntaxes/F__Script.plist +219 -0
  163. data/textmate/Bundles/Haskell.tmbundle/Syntaxes/Haskell.plist +646 -0
  164. data/textmate/Bundles/Haskell.tmbundle/Syntaxes/Literate_Haskell.plist +90 -0
  165. data/textmate/Bundles/Io.tmbundle/Syntaxes/Io.plist +225 -0
  166. data/textmate/Bundles/JSON.tmbundle/Syntaxes/JSON.tmLanguage +285 -0
  167. data/textmate/Bundles/JavaScript Prototype & Script_aculo_us.tmbundle/Syntaxes/JavaScript____Prototype.tmLanguage +193 -0
  168. data/textmate/Bundles/JavaScript Prototype & Script_aculo_us.tmbundle/Syntaxes/JavaScript____Prototype_Bracketed.tmLanguage +394 -0
  169. data/textmate/Bundles/JavaScript jQuery.tmbundle/Syntaxes/jQuery___JavaScript__.tmLanguage +440 -0
  170. data/textmate/Bundles/JavaScript.tmbundle/Syntaxes/JavaScript.plist +712 -0
  171. data/textmate/Bundles/Latex.tmbundle/Syntaxes/Bibtex.plist +406 -0
  172. data/textmate/Bundles/Latex.tmbundle/Syntaxes/LaTeX.plist +1601 -0
  173. data/textmate/Bundles/Latex.tmbundle/Syntaxes/LaTeX_Beamer.plist +106 -0
  174. data/textmate/Bundles/Latex.tmbundle/Syntaxes/LaTeX_Log.plist +141 -0
  175. data/textmate/Bundles/Latex.tmbundle/Syntaxes/LaTeX_Memoir.tmLanguage +165 -0
  176. data/textmate/Bundles/Latex.tmbundle/Syntaxes/TeX.plist +246 -0
  177. data/textmate/Bundles/Latex.tmbundle/Syntaxes/TeX_Math.plist +132 -0
  178. data/textmate/Bundles/Lisp.tmbundle/Syntaxes/Lisp.plist +160 -0
  179. data/textmate/Bundles/Makefile.tmbundle/Syntaxes/Makefile.plist +103 -0
  180. data/textmate/Bundles/Markdown.tmbundle/Syntaxes/Markdown.plist +1192 -0
  181. data/textmate/Bundles/Markdown.tmbundle/Syntaxes/MultiMarkdown.tmLanguage +80 -0
  182. data/textmate/Bundles/PHP.tmbundle/Syntaxes/PHP.plist +3481 -0
  183. data/textmate/Bundles/Perl HTML-Template.tmbundle/Syntaxes/Perl_HTML__Template.tmLanguage +217 -0
  184. data/textmate/Bundles/Perl Template Toolkit.tmbundle/Syntaxes/HTML___Template_Toolkit__.tmLanguage +339 -0
  185. data/textmate/Bundles/Postscript.tmbundle/Syntaxes/Postscript.tmLanguage +321 -0
  186. data/textmate/Bundles/Processing.tmbundle/Syntaxes/Processing.plist +296 -0
  187. data/textmate/Bundles/Property List.tmbundle/Syntaxes/Property_List.tmLanguage +1650 -0
  188. data/textmate/Bundles/Python Django Templates.tmbundle/Syntaxes/HTML___Django__.tmLanguage +104 -0
  189. data/textmate/Bundles/Python Django.tmbundle/Syntaxes/Python_Django.tmLanguage +57 -0
  190. data/textmate/Bundles/Python.tmbundle/Syntaxes/Python.tmLanguage +3016 -0
  191. data/textmate/Bundles/Python.tmbundle/Syntaxes/Regular_Expressions___Python__.tmLanguage +299 -0
  192. data/textmate/Bundles/Rez.tmbundle/Syntaxes/Rez.plist +219 -0
  193. data/textmate/Bundles/Ruby Haml.tmbundle/Syntaxes/Ruby_Haml.tmLanguage +403 -0
  194. data/textmate/Bundles/Ruby RSpec.tmbundle/Syntaxes/RSpec.tmLanguage +142 -0
  195. data/textmate/Bundles/Ruby.tmbundle/Syntaxes/Ruby.plist +139 -49
  196. data/textmate/Bundles/SQL.tmbundle/Syntaxes/SQL.plist +705 -0
  197. data/textmate/Bundles/SSH-Config.tmbundle/Syntaxes/SSH__Config.tmLanguage +88 -0
  198. data/textmate/Bundles/Scala.tmbundle/Syntaxes/Scala.tmLanguage +609 -0
  199. data/textmate/Bundles/Scala.tmbundle/Syntaxes/Scala_Properties.tmLanguage +54 -0
  200. data/textmate/Bundles/ShellScript.tmbundle/Syntaxes/Shell__Unix__Generic.plist +1855 -0
  201. data/textmate/Bundles/Tabular.tmbundle/Syntaxes/CSV.tmLanguage +178 -0
  202. data/textmate/Bundles/Tabular.tmbundle/Syntaxes/TSV.tmLanguage +135 -0
  203. data/textmate/Bundles/TextMate.tmbundle/Syntaxes/Regular_Expressions___Oniguruma__.tmLanguage +295 -0
  204. data/textmate/Bundles/TextMate.tmbundle/Syntaxes/Release_Notes.tmLanguage +126 -0
  205. data/textmate/Bundles/Textile.tmbundle/Syntaxes/Textile.plist +490 -0
  206. data/textmate/Bundles/Thrift.tmbundle/Syntaxes/Thrift.tmLanguage +1024 -0
  207. data/textmate/Bundles/XML.tmbundle/Syntaxes/XML.plist +576 -0
  208. data/textmate/Bundles/XML.tmbundle/Syntaxes/XSL.plist +157 -0
  209. data/textmate/Bundles/YAML.tmbundle/Syntaxes/YAML.plist +466 -0
  210. data/textmate/Themes/Django.tmTheme +436 -0
  211. metadata +371 -325
  212. data/config/default.yaml +0 -15
  213. data/lib/freebase2/README.txt +0 -47
  214. data/lib/freebase2/bin/default.yaml +0 -15
  215. data/lib/freebase2/bin/install.rb +0 -42
  216. data/lib/freebase2/bin/run.rb +0 -48
  217. data/lib/freebase2/lib/freebase/configuration.rb +0 -535
  218. data/lib/freebase2/lib/freebase/core.rb +0 -197
  219. data/lib/freebase2/lib/freebase/databus.rb +0 -1128
  220. data/lib/freebase2/lib/freebase/freebase.rb +0 -60
  221. data/lib/freebase2/lib/freebase/logger.rb +0 -117
  222. data/lib/freebase2/lib/freebase/plugin.rb +0 -384
  223. data/lib/freebase2/lib/freebase/properties.rb +0 -130
  224. data/lib/freebase2/lib/freebase/readers.rb +0 -328
  225. data/lib/freebase2/notes +0 -61
  226. data/lib/freebase2/plugins/raa_webrick/httpd.rb +0 -125
  227. data/lib/freebase2/plugins/raa_webrick/plugin.yaml +0 -7
  228. data/lib/freebase2/plugins/raa_webrick/web_root/test.html +0 -5
  229. data/lib/freebase2/plugins/raa_webrick/webserver.yaml +0 -6
  230. data/lib/freebase2/plugins/raa_xmlrpc4r/plugin.xml +0 -8
  231. data/lib/freebase2/plugins/raa_xmlrpc4r/rpcd.rb +0 -54
  232. data/lib/freebase2/regress/README +0 -1
  233. data/lib/little_plugger/History.txt +0 -20
  234. data/lib/little_plugger/Rakefile +0 -34
  235. data/lib/little_plugger/lib/little-plugger.rb +0 -323
  236. data/lib/little_plugger/spec/little-plugger_spec.rb +0 -26
  237. data/lib/little_plugger/spec/spec_helper.rb +0 -16
  238. data/lib/logging/History.txt +0 -240
  239. data/lib/logging/Rakefile +0 -37
  240. data/lib/logging/data/bad_logging_1.rb +0 -13
  241. data/lib/logging/data/bad_logging_2.rb +0 -21
  242. data/lib/logging/data/logging.rb +0 -42
  243. data/lib/logging/data/logging.yaml +0 -63
  244. data/lib/logging/data/simple_logging.rb +0 -13
  245. data/lib/logging/examples/appenders.rb +0 -47
  246. data/lib/logging/examples/classes.rb +0 -41
  247. data/lib/logging/examples/consolidation.rb +0 -83
  248. data/lib/logging/examples/formatting.rb +0 -51
  249. data/lib/logging/examples/hierarchies.rb +0 -73
  250. data/lib/logging/examples/layouts.rb +0 -48
  251. data/lib/logging/examples/loggers.rb +0 -29
  252. data/lib/logging/examples/names.rb +0 -43
  253. data/lib/logging/examples/simple.rb +0 -17
  254. data/lib/logging/lib/logging.rb +0 -501
  255. data/lib/logging/lib/logging/appender.rb +0 -251
  256. data/lib/logging/lib/logging/appenders.rb +0 -131
  257. data/lib/logging/lib/logging/appenders/buffering.rb +0 -168
  258. data/lib/logging/lib/logging/appenders/console.rb +0 -60
  259. data/lib/logging/lib/logging/appenders/email.rb +0 -75
  260. data/lib/logging/lib/logging/appenders/file.rb +0 -58
  261. data/lib/logging/lib/logging/appenders/growl.rb +0 -197
  262. data/lib/logging/lib/logging/appenders/io.rb +0 -69
  263. data/lib/logging/lib/logging/appenders/rolling_file.rb +0 -293
  264. data/lib/logging/lib/logging/appenders/string_io.rb +0 -68
  265. data/lib/logging/lib/logging/appenders/syslog.rb +0 -194
  266. data/lib/logging/lib/logging/config/configurator.rb +0 -188
  267. data/lib/logging/lib/logging/config/yaml_configurator.rb +0 -191
  268. data/lib/logging/lib/logging/layout.rb +0 -117
  269. data/lib/logging/lib/logging/layouts.rb +0 -47
  270. data/lib/logging/lib/logging/layouts/basic.rb +0 -32
  271. data/lib/logging/lib/logging/layouts/parseable.rb +0 -211
  272. data/lib/logging/lib/logging/layouts/pattern.rb +0 -311
  273. data/lib/logging/lib/logging/log_event.rb +0 -45
  274. data/lib/logging/lib/logging/logger.rb +0 -503
  275. data/lib/logging/lib/logging/repository.rb +0 -232
  276. data/lib/logging/lib/logging/root_logger.rb +0 -61
  277. data/lib/logging/lib/logging/stats.rb +0 -278
  278. data/lib/logging/lib/logging/utils.rb +0 -153
  279. data/lib/logging/lib/spec/logging_helper.rb +0 -34
  280. data/lib/logging/test/appenders/test_buffered_io.rb +0 -176
  281. data/lib/logging/test/appenders/test_console.rb +0 -66
  282. data/lib/logging/test/appenders/test_email.rb +0 -170
  283. data/lib/logging/test/appenders/test_file.rb +0 -95
  284. data/lib/logging/test/appenders/test_growl.rb +0 -127
  285. data/lib/logging/test/appenders/test_io.rb +0 -129
  286. data/lib/logging/test/appenders/test_rolling_file.rb +0 -200
  287. data/lib/logging/test/appenders/test_syslog.rb +0 -194
  288. data/lib/logging/test/benchmark.rb +0 -86
  289. data/lib/logging/test/config/test_configurator.rb +0 -70
  290. data/lib/logging/test/config/test_yaml_configurator.rb +0 -40
  291. data/lib/logging/test/layouts/test_basic.rb +0 -42
  292. data/lib/logging/test/layouts/test_json.rb +0 -112
  293. data/lib/logging/test/layouts/test_pattern.rb +0 -198
  294. data/lib/logging/test/layouts/test_yaml.rb +0 -121
  295. data/lib/logging/test/setup.rb +0 -44
  296. data/lib/logging/test/test_appender.rb +0 -152
  297. data/lib/logging/test/test_consolidate.rb +0 -46
  298. data/lib/logging/test/test_layout.rb +0 -110
  299. data/lib/logging/test/test_log_event.rb +0 -80
  300. data/lib/logging/test/test_logger.rb +0 -699
  301. data/lib/logging/test/test_logging.rb +0 -267
  302. data/lib/logging/test/test_repository.rb +0 -158
  303. data/lib/logging/test/test_root_logger.rb +0 -81
  304. data/lib/logging/test/test_stats.rb +0 -274
  305. data/lib/logging/test/test_utils.rb +0 -116
  306. data/plugins/application/plugin.yaml +0 -11
  307. data/plugins/application_swt/plugin.yaml +0 -11
  308. data/plugins/auto_indenter/plugin.yaml +0 -12
  309. data/plugins/core/plugin.yaml +0 -7
  310. data/plugins/edit_view/plugin.yaml +0 -14
  311. data/plugins/edit_view_swt/plugin.yaml +0 -14
  312. data/plugins/project/plugin.yaml +0 -12
  313. data/plugins/redcar/plugin.yaml +0 -18
  314. data/plugins/repl/plugin.yaml +0 -12
  315. data/plugins/tree/plugin.yaml +0 -14
  316. data/plugins/tree_view_swt/plugin.yaml +0 -14
@@ -3,28 +3,36 @@ require 'repl/internal_mirror'
3
3
 
4
4
  module Redcar
5
5
  class REPL
6
- def self.start
7
- Sensitivity.new(:open_repl_tab, Redcar.app, false, [:tab_focussed]) do |tab|
8
- tab and
9
- tab.is_a?(EditTab) and
10
- tab.edit_view.document.mirror.is_a?(REPL::InternalMirror)
11
- end
12
-
13
- Redcar.app.menu.sub_menu("Plugins").build do
14
- sub_menu "REPL" do
15
- item "Open", REPL::OpenInternalREPL
16
- item "Execute", REPL::CommitREPL
6
+ def self.sensitivities
7
+ [
8
+ Sensitivity.new(:open_repl_tab, Redcar.app, false, [:tab_focussed]) do |tab|
9
+ tab and
10
+ tab.is_a?(EditTab) and
11
+ tab.edit_view.document.mirror.is_a?(REPL::InternalMirror)
12
+ end
13
+ ]
14
+ end
15
+
16
+ def self.menus
17
+ Menu::Builder.build do
18
+ sub_menu "Plugins" do
19
+ sub_menu "REPL" do
20
+ item "Open", REPL::OpenInternalREPL
21
+ item "Execute", REPL::CommitREPL
22
+ end
17
23
  end
18
24
  end
19
- Redcar.app.refresh_menu!
20
25
  end
21
26
 
22
27
  class OpenInternalREPL < Command
28
+ key :linux => "Ctrl+Shift+M",
29
+ :osx => "Cmd+Shift+M",
30
+ :windows => "Ctrl+Shift+M"
23
31
 
24
32
  def execute
25
33
  tab = win.new_tab(Redcar::EditTab)
26
34
  edit_view = tab.edit_view
27
- edit_view.document.mirror = InternalMirror.new
35
+ edit_view.document.mirror = REPL::InternalMirror.new
28
36
  edit_view.cursor_offset = edit_view.document.length
29
37
  tab.focus
30
38
  end
@@ -38,7 +46,7 @@ module Redcar
38
46
  key :linux => "Ctrl+M",
39
47
  :osx => "Cmd+M",
40
48
  :windows => "Ctrl+M"
41
-
49
+
42
50
  def execute
43
51
  edit_view = win.focussed_notebook.focussed_tab.edit_view
44
52
  edit_view.document.save!
@@ -0,0 +1,8 @@
1
+
2
+ Plugin.define do
3
+ name "repl"
4
+ version "1.0"
5
+ file "lib", "repl"
6
+ object "Redcar::REPL"
7
+ dependencies "redcar", ">0"
8
+ end
@@ -2,4 +2,4 @@ $:.push File.join(File.dirname(__FILE__), '..', '..', '..', 'lib')
2
2
 
3
3
  require 'redcar'
4
4
  Redcar.boot
5
- Redcar.require_files
5
+ Redcar.load
@@ -0,0 +1,9 @@
1
+
2
+ Plugin.define do
3
+ name "tree"
4
+ version "1.0"
5
+ file "lib", "tree"
6
+ object "Redcar::Tree"
7
+ dependencies "core", ">0",
8
+ "application", ">0"
9
+ end
@@ -2,4 +2,4 @@ $:.push File.join(File.dirname(__FILE__), '..', '..', '..', 'lib')
2
2
 
3
3
  require 'redcar'
4
4
  Redcar.boot
5
- Redcar.require_files
5
+ Redcar.load
@@ -0,0 +1,9 @@
1
+
2
+ Plugin.define do
3
+ name "tree_view_swt"
4
+ version "1.0"
5
+ file "lib", "tree_view_swt"
6
+ object "Redcar::TreeViewSWT"
7
+ dependencies "core", ">0",
8
+ "application_swt", ">0"
9
+ end
@@ -0,0 +1,544 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>fileTypes</key>
6
+ <array>
7
+ <string>conf</string>
8
+ <string>htaccess</string>
9
+ </array>
10
+ <key>foldingStartMarker</key>
11
+ <string>^[ ]*(?x)
12
+ (&lt;(?i:FilesMatch|Files|DirectoryMatch|Directory|LocationMatch|Location|VirtualHost|IfModule|IfDefine)\b.*?&gt;
13
+ )</string>
14
+ <key>foldingStopMarker</key>
15
+ <string>^[ ]*(?x)
16
+ (&lt;/(?i:FilesMatch|Files|DirectoryMatch|Directory|LocationMatch|Location|VirtualHost|IfModule|IfDefine)&gt;
17
+ )</string>
18
+ <key>keyEquivalent</key>
19
+ <string>^~A</string>
20
+ <key>name</key>
21
+ <string>Apache</string>
22
+ <key>patterns</key>
23
+ <array>
24
+ <dict>
25
+ <key>captures</key>
26
+ <dict>
27
+ <key>1</key>
28
+ <dict>
29
+ <key>name</key>
30
+ <string>punctuation.definition.comment.apache-config</string>
31
+ </dict>
32
+ </dict>
33
+ <key>match</key>
34
+ <string>(#).*$\n?</string>
35
+ <key>name</key>
36
+ <string>comment.line.number-sign.apache-config</string>
37
+ </dict>
38
+ <dict>
39
+ <key>captures</key>
40
+ <dict>
41
+ <key>1</key>
42
+ <dict>
43
+ <key>name</key>
44
+ <string>punctuation.definition.tag.apache-config</string>
45
+ </dict>
46
+ <key>2</key>
47
+ <dict>
48
+ <key>name</key>
49
+ <string>entity.name.tag.apache-config</string>
50
+ </dict>
51
+ <key>3</key>
52
+ <dict>
53
+ <key>name</key>
54
+ <string>punctuation.definition.tag.apache-config</string>
55
+ </dict>
56
+ <key>4</key>
57
+ <dict>
58
+ <key>name</key>
59
+ <string>meta.scope.between-tag-pair.apache-config</string>
60
+ </dict>
61
+ <key>5</key>
62
+ <dict>
63
+ <key>name</key>
64
+ <string>entity.name.tag.apache-config</string>
65
+ </dict>
66
+ <key>6</key>
67
+ <dict>
68
+ <key>name</key>
69
+ <string>punctuation.definition.tag.apache-config</string>
70
+ </dict>
71
+ </dict>
72
+ <key>match</key>
73
+ <string>^[ ]*(&lt;)([a-zA-Z0-9:]+)[^&gt;]*(&gt;(&lt;)/)(\2)(&gt;)</string>
74
+ <key>name</key>
75
+ <string>meta.tag.any.html</string>
76
+ </dict>
77
+ <dict>
78
+ <key>begin</key>
79
+ <string>^[ ]*((&lt;)(VirtualHost)(?:[ ]+([^&gt;]+))?(&gt;))</string>
80
+ <key>beginCaptures</key>
81
+ <dict>
82
+ <key>1</key>
83
+ <dict>
84
+ <key>name</key>
85
+ <string>meta.tag.apache-config</string>
86
+ </dict>
87
+ <key>2</key>
88
+ <dict>
89
+ <key>name</key>
90
+ <string>punctuation.definition.tag.apache-config</string>
91
+ </dict>
92
+ <key>3</key>
93
+ <dict>
94
+ <key>name</key>
95
+ <string>entity.name.tag.apache-config</string>
96
+ </dict>
97
+ <key>4</key>
98
+ <dict>
99
+ <key>name</key>
100
+ <string>meta.toc-list.virtual-host.apache-config</string>
101
+ </dict>
102
+ <key>5</key>
103
+ <dict>
104
+ <key>name</key>
105
+ <string>punctuation.definition.tag.apache-config</string>
106
+ </dict>
107
+ </dict>
108
+ <key>end</key>
109
+ <string>^[ ]*((&lt;/)(VirtualHost)[^&gt;]*(&gt;))</string>
110
+ <key>endCaptures</key>
111
+ <dict>
112
+ <key>1</key>
113
+ <dict>
114
+ <key>name</key>
115
+ <string>meta.tag.apache-config</string>
116
+ </dict>
117
+ <key>2</key>
118
+ <dict>
119
+ <key>name</key>
120
+ <string>punctuation.definition.tag.apache-config</string>
121
+ </dict>
122
+ <key>3</key>
123
+ <dict>
124
+ <key>name</key>
125
+ <string>entity.name.tag.apache-config</string>
126
+ </dict>
127
+ <key>4</key>
128
+ <dict>
129
+ <key>name</key>
130
+ <string>punctuation.definition.tag.apache-config</string>
131
+ </dict>
132
+ </dict>
133
+ <key>name</key>
134
+ <string>meta.vhost.apache-config</string>
135
+ <key>patterns</key>
136
+ <array>
137
+ <dict>
138
+ <key>include</key>
139
+ <string>$base</string>
140
+ </dict>
141
+ </array>
142
+ </dict>
143
+ <dict>
144
+ <key>begin</key>
145
+ <string>^[ ]*((&lt;)(Directory(?:Match)?)(?:[ ]+([^&gt;]+))?(&gt;))</string>
146
+ <key>beginCaptures</key>
147
+ <dict>
148
+ <key>1</key>
149
+ <dict>
150
+ <key>name</key>
151
+ <string>meta.tag.apache-config</string>
152
+ </dict>
153
+ <key>2</key>
154
+ <dict>
155
+ <key>name</key>
156
+ <string>punctuation.definition.tag.apache-config</string>
157
+ </dict>
158
+ <key>3</key>
159
+ <dict>
160
+ <key>name</key>
161
+ <string>entity.name.tag.apache-config</string>
162
+ </dict>
163
+ <key>4</key>
164
+ <dict>
165
+ <key>name</key>
166
+ <string>meta.toc-list.directory.apache-config</string>
167
+ </dict>
168
+ <key>5</key>
169
+ <dict>
170
+ <key>name</key>
171
+ <string>punctuation.definition.tag.apache-config</string>
172
+ </dict>
173
+ </dict>
174
+ <key>end</key>
175
+ <string>^[ ]*((&lt;/)(Directory(?:Match)?)[^&gt;]*(&gt;))</string>
176
+ <key>endCaptures</key>
177
+ <dict>
178
+ <key>1</key>
179
+ <dict>
180
+ <key>name</key>
181
+ <string>meta.tag.apache-config</string>
182
+ </dict>
183
+ <key>2</key>
184
+ <dict>
185
+ <key>name</key>
186
+ <string>punctuation.definition.tag.apache-config</string>
187
+ </dict>
188
+ <key>3</key>
189
+ <dict>
190
+ <key>name</key>
191
+ <string>entity.name.tag.apache-config</string>
192
+ </dict>
193
+ <key>4</key>
194
+ <dict>
195
+ <key>name</key>
196
+ <string>punctuation.definition.tag.apache-config</string>
197
+ </dict>
198
+ </dict>
199
+ <key>name</key>
200
+ <string>meta.directory.apache-config</string>
201
+ <key>patterns</key>
202
+ <array>
203
+ <dict>
204
+ <key>include</key>
205
+ <string>$base</string>
206
+ </dict>
207
+ </array>
208
+ </dict>
209
+ <dict>
210
+ <key>begin</key>
211
+ <string>^[ ]*((&lt;)(Location(?:Match)?)(?:[ ]+([^&gt;]+))?(&gt;))</string>
212
+ <key>beginCaptures</key>
213
+ <dict>
214
+ <key>1</key>
215
+ <dict>
216
+ <key>name</key>
217
+ <string>meta.tag.apache-config</string>
218
+ </dict>
219
+ <key>2</key>
220
+ <dict>
221
+ <key>name</key>
222
+ <string>punctuation.definition.tag.apache-config</string>
223
+ </dict>
224
+ <key>3</key>
225
+ <dict>
226
+ <key>name</key>
227
+ <string>entity.name.tag.apache-config</string>
228
+ </dict>
229
+ <key>4</key>
230
+ <dict>
231
+ <key>name</key>
232
+ <string>meta.toc-list.location.apache-config</string>
233
+ </dict>
234
+ <key>5</key>
235
+ <dict>
236
+ <key>name</key>
237
+ <string>punctuation.definition.tag.apache-config</string>
238
+ </dict>
239
+ </dict>
240
+ <key>end</key>
241
+ <string>^[ ]*((&lt;/)(Location(?:Match)?)[^&gt;]*(&gt;))</string>
242
+ <key>endCaptures</key>
243
+ <dict>
244
+ <key>1</key>
245
+ <dict>
246
+ <key>name</key>
247
+ <string>meta.tag.apache-config</string>
248
+ </dict>
249
+ <key>2</key>
250
+ <dict>
251
+ <key>name</key>
252
+ <string>punctuation.definition.tag.apache-config</string>
253
+ </dict>
254
+ <key>3</key>
255
+ <dict>
256
+ <key>name</key>
257
+ <string>entity.name.tag.apache-config</string>
258
+ </dict>
259
+ <key>4</key>
260
+ <dict>
261
+ <key>name</key>
262
+ <string>punctuation.definition.tag.apache-config</string>
263
+ </dict>
264
+ </dict>
265
+ <key>name</key>
266
+ <string>meta.location.apache-config</string>
267
+ <key>patterns</key>
268
+ <array>
269
+ <dict>
270
+ <key>include</key>
271
+ <string>$base</string>
272
+ </dict>
273
+ </array>
274
+ </dict>
275
+ <dict>
276
+ <key>begin</key>
277
+ <string>(^Include)</string>
278
+ <key>beginCaptures</key>
279
+ <dict>
280
+ <key>1</key>
281
+ <dict>
282
+ <key>name</key>
283
+ <string>support.constant.include.start.apache-config</string>
284
+ </dict>
285
+ </dict>
286
+ <key>end</key>
287
+ <string>(\n)</string>
288
+ <key>endCaptures</key>
289
+ <dict>
290
+ <key>1</key>
291
+ <dict>
292
+ <key>name</key>
293
+ <string>support.constant.include.end.apache-config</string>
294
+ </dict>
295
+ </dict>
296
+ <key>name</key>
297
+ <string>source.include.apache-config</string>
298
+ <key>patterns</key>
299
+ <array>
300
+ <dict>
301
+ <key>match</key>
302
+ <string>(.*)</string>
303
+ <key>name</key>
304
+ <string>text.include.apache-config</string>
305
+ </dict>
306
+ </array>
307
+ </dict>
308
+ <dict>
309
+ <key>begin</key>
310
+ <string>^[ ]*\b(RewriteCond)\b</string>
311
+ <key>captures</key>
312
+ <dict>
313
+ <key>1</key>
314
+ <dict>
315
+ <key>name</key>
316
+ <string>support.constant.rewritecond.apache-config</string>
317
+ </dict>
318
+ </dict>
319
+ <key>end</key>
320
+ <string>$</string>
321
+ <key>patterns</key>
322
+ <array>
323
+ <dict>
324
+ <key>begin</key>
325
+ <string>[ ]+</string>
326
+ <key>end</key>
327
+ <string>$</string>
328
+ <key>patterns</key>
329
+ <array>
330
+ <dict>
331
+ <key>include</key>
332
+ <string>#vars</string>
333
+ </dict>
334
+ <dict>
335
+ <key>match</key>
336
+ <string>[^ %\n]+</string>
337
+ <key>name</key>
338
+ <string>string.regexp.rewrite-test.apache-config</string>
339
+ </dict>
340
+ <dict>
341
+ <key>begin</key>
342
+ <string>[ ]+</string>
343
+ <key>end</key>
344
+ <string>$</string>
345
+ <key>patterns</key>
346
+ <array>
347
+ <dict>
348
+ <key>match</key>
349
+ <string>[^ %\n]+</string>
350
+ <key>name</key>
351
+ <string>string.other.rewrite-condition.apache-config</string>
352
+ </dict>
353
+ <dict>
354
+ <key>captures</key>
355
+ <dict>
356
+ <key>1</key>
357
+ <dict>
358
+ <key>name</key>
359
+ <string>string.regexp.rewrite-operator.apache-config</string>
360
+ </dict>
361
+ </dict>
362
+ <key>match</key>
363
+ <string>[ ]+(\[[^\]]+\])</string>
364
+ </dict>
365
+ </array>
366
+ </dict>
367
+ </array>
368
+ </dict>
369
+ </array>
370
+ </dict>
371
+ <dict>
372
+ <key>begin</key>
373
+ <string>^[ ]*\b(RewriteRule)\b</string>
374
+ <key>captures</key>
375
+ <dict>
376
+ <key>1</key>
377
+ <dict>
378
+ <key>name</key>
379
+ <string>support.constant.rewriterule.apache-config</string>
380
+ </dict>
381
+ </dict>
382
+ <key>end</key>
383
+ <string>$</string>
384
+ <key>patterns</key>
385
+ <array>
386
+ <dict>
387
+ <key>begin</key>
388
+ <string>[ ]+</string>
389
+ <key>end</key>
390
+ <string>$</string>
391
+ <key>patterns</key>
392
+ <array>
393
+ <dict>
394
+ <key>include</key>
395
+ <string>#vars</string>
396
+ </dict>
397
+ <dict>
398
+ <key>match</key>
399
+ <string>[^ %]+</string>
400
+ <key>name</key>
401
+ <string>string.regexp.rewrite-pattern.apache-config</string>
402
+ </dict>
403
+ <dict>
404
+ <key>begin</key>
405
+ <string>[ ]+</string>
406
+ <key>end</key>
407
+ <string>$</string>
408
+ <key>patterns</key>
409
+ <array>
410
+ <dict>
411
+ <key>include</key>
412
+ <string>#vars</string>
413
+ </dict>
414
+ <dict>
415
+ <key>match</key>
416
+ <string>[^ %\n]+</string>
417
+ <key>name</key>
418
+ <string>string.other.rewrite-substitution.apache-config</string>
419
+ </dict>
420
+ <dict>
421
+ <key>captures</key>
422
+ <dict>
423
+ <key>1</key>
424
+ <dict>
425
+ <key>name</key>
426
+ <string>string.regexp.rewrite-operator.apache-config</string>
427
+ </dict>
428
+ </dict>
429
+ <key>match</key>
430
+ <string>[ ]+(\[[^\]]+\])</string>
431
+ </dict>
432
+ </array>
433
+ </dict>
434
+ </array>
435
+ </dict>
436
+ </array>
437
+ </dict>
438
+ <dict>
439
+ <key>match</key>
440
+ <string>\b(R(e(sourceConfig|direct(Match|Temp|Permanent)?|qu(ire|estHeader)|ferer(Ignore|Log)|write(Rule|Map|Base|Cond|Options|Engine|Lo(ck|g(Level)?))|admeName|move(Handler|Charset|Type|InputFilter|OutputFilter|Encoding|Language))|Limit(MEM|NPROC|CPU))|Group|XBitHack|M(MapFile|i(nSpare(Servers|Threads)|meMagicFile)|odMimeUsePathInfo|Cache(RemovalAlgorithm|M(inObjectSize|ax(StreamingBuffer|Object(Size|Count)))|Size)|ultiviewsMatch|eta(Suffix|Dir|Files)|ax(RequestsPer(Child|Thread)|MemFree|Spare(Servers|Threads)|Clients|Threads(PerChild)?|KeepAliveRequests))|B(indAddress|S2000Account|rowserMatch(NoCase)?)|S(hmemUIDisUser|c(oreBoardFile|ript(Sock|InterpreterSource|Log(Buffer|Length)?|Alias(Match)?)?)|tart(Servers|Threads)|S(I(StartTag|TimeFormat|UndefinedEcho|E(ndTag|rrorMsg))|L(R(equire(SSL)?|andomSeed)|Mutex|SessionCache(Timeout)?|C(ipherSuite|ertificate(ChainFile|KeyFile|File)|A(Revocation(Path|File)|Certificate(Path|File)))|Options|P(assPhraseDialog|ro(tocol|xy(MachineCertificate(Path|File)|C(ipherSuite|A(Revocation(Path|File)|Certificate(Path|File)))|Protocol|Engine|Verify(Depth)?)))|Engine|Verify(Client|Depth)))|uexecUserGroup|e(ndBufferSize|cureListen|t(Handler|InputFilter|OutputFilter|Env(If(NoCase)?)?)|rver(Root|Signature|Name|T(ype|okens)|Path|Limit|A(dmin|lias)))|atisfy)|H(ostnameLookups|eader(Name)?)|N(o(Cache|Proxy)|umServers|ameVirtualHost|WSSL(TrustedCerts|Upgradeable))|C(h(ildPerUserID|eckSpelling|arset(SourceEnc|Options|Default))|GI(MapExtension|CommandArgs)|o(ntentDigest|okie(Style|Name|Tracking|Domain|Prefix|Expires|Format|Log)|reDumpDirectory)|ustomLog|learModuleList|ache(Root|Gc(MemUsage|Clean|Interval|Daily|Unused)|M(inFileSize|ax(Expire|FileSize))|Size|NegotiatedDocs|TimeMargin|Ignore(NoLastMod|CacheControl)|D(i(sable|rLe(ngth|vels))|efaultExpire)|E(nable|xpiryCheck)|F(ile|orceCompletion)|LastModifiedFactor))|T(hread(sPerChild|StackSize|Limit)|ypesConfig|ime(out|Out)|ransferLog)|I(n(clude|dex(Ignore|O(ptions|rderDefault)))|SAPI(ReadAheadBuffer|CacheFile|FakeAsync|LogNotSupported|AppendLogTo(Errors|Query))|dentityCheck|f(Module|Define)|map(Menu|Base|Default))|O(ptions|rder)|D(irectory(Match|Slash|Index)?|ocumentRoot|e(ny|f(late(MemLevel|BufferSize|CompressionLevel|FilterNote|WindowSize)|ault(Type|Icon|Language)))|av(MinTimeout|DepthInfinity|LockDB)?)|U(se(CanonicalName|r(Dir)?)|nsetEnv)|P(idFile|ort|assEnv|ro(tocol(ReqCheck|Echo)|xy(Re(ceiveBufferSize|quests|mote(Match)?)|Ma(tch|xForwards)|B(lock|adHeader)|Timeout|IOBufferSize|Domain|P(ass(Reverse)?|reserveHost)|ErrorOverride|Via)?))|E(nable(MMAP|Sendfile|ExceptionHook)|BCDIC(Convert(ByType)?|Kludge)|rror(Header|Document|Log)|x(t(endedStatus|Filter(Options|Define))|pires(ByType|Default|Active)|ample))|Virtual(ScriptAlias(IP)?|Host|DocumentRoot(IP)?)|KeepAlive(Timeout)?|F(ile(s(Match)?|ETag)|or(ce(Type|LanguagePriority)|ensicLog)|ancyIndexing)|Win32DisableAcceptEx|L(i(sten(Back(log|Log))?|mit(Request(Body|Field(s(ize)?|Size)|Line)|XMLRequestBody|InternalRecursion|Except)?)|o(c(kFile|ation(Match)?)|ad(Module|File)|g(Format|Level))|DAP(SharedCache(Size|File)|Cache(TTL|Entries)|TrustedCA(Type)?|OpCache(TTL|Entries))|anguagePriority)|A(ssignUserID|nonymous(_(MustGiveEmail|NoUserID|VerifyEmail|LogEmail|Authoritative))?|c(ce(ss(Config|FileName)|pt(Mutex|PathInfo|Filter))|tion)|dd(Module(Info)?|Handler|Charset|Type|I(nputFilter|con(By(Type|Encoding))?)|OutputFilter(ByType)?|De(scription|faultCharset)|Encoding|Language|Alt(By(Type|Encoding))?)|uth(GroupFile|Name|Type|D(B(GroupFile|M(GroupFile|Type|UserFile|Authoritative)|UserFile|Authoritative)|igest(GroupFile|ShmemSize|N(cCheck|once(Format|Lifetime))|Domain|Qop|File|Algorithm))|UserFile|LDAP(RemoteUserIsDN|GroupAttribute(IsDN)?|Bind(DN|Password)|C(harsetConfig|ompareDNOnServer)|DereferenceAliases|Url|Enabled|FrontPageHack|Authoritative)|Authoritative)|l(ias(Match)?|low(CONNECT|Override|EncodedSlashes)?)|gentLog)|MIMEMagicFile)\b</string>
441
+ <key>name</key>
442
+ <string>support.constant.apache-config</string>
443
+ </dict>
444
+ <dict>
445
+ <key>match</key>
446
+ <string>\b(access_module|actions_module|action_module|alias_module|anon_auth_module|asis_module|authn_anon_module|authn_dbd_module|authn_dbm_module|authn_default_module|authn_file_module|authz_dbm_module|authz_default_module|authz_groupfile_module|authz_host_module|authz_owner_module|authz_user_module|auth_basic_module|auth_digest_module|auth_module|autoindex_module|bonjour_module|cache_module|cern_meta_module|cgi_module|config_log_module|dav_fs_module|dav_module|dbd_module|dbm_auth_module|deflate_module|digest_module|dir_module|disk_cache_module|dumpio_module|env_module|expires_module|ext_filter_module|fastcgi_module|filter_module|foo_module|headers_module|hfs_apple_module|ident_module|imagemap_module|imap_module|includes_module|include_module|info_module|jk_module|logio_module|log_config_module|log_forensic_module|mem_cache_module|mime_magic_module|mime_module|negotiation_module|perl_module|php4_module|php5_module|proxy_ajp_module|proxy_balancer_module|proxy_connect_module|proxy_ftp_module|proxy_http_module|proxy_module|rendezvous_apple_module|rendezvous_module|rewrite_module|setenvif_module|speling_module|ssl_module|status_module|substitute_module|unique_id_module|userdir_module|usertrack_module|version_module|vhost_alias_module)\b</string>
447
+ <key>name</key>
448
+ <string>support.class.apache-config</string>
449
+ </dict>
450
+ <dict>
451
+ <key>begin</key>
452
+ <string>"</string>
453
+ <key>beginCaptures</key>
454
+ <dict>
455
+ <key>0</key>
456
+ <dict>
457
+ <key>name</key>
458
+ <string>punctuation.definition.string.begin.apache-config</string>
459
+ </dict>
460
+ </dict>
461
+ <key>end</key>
462
+ <string>"(?!")</string>
463
+ <key>endCaptures</key>
464
+ <dict>
465
+ <key>0</key>
466
+ <dict>
467
+ <key>name</key>
468
+ <string>punctuation.definition.string.end.apache-config</string>
469
+ </dict>
470
+ </dict>
471
+ <key>name</key>
472
+ <string>string.quoted.double.apache-config</string>
473
+ <key>patterns</key>
474
+ <array>
475
+ <dict>
476
+ <key>match</key>
477
+ <string>""</string>
478
+ <key>name</key>
479
+ <string>constant.character.escape.apostrophe.apache</string>
480
+ </dict>
481
+ </array>
482
+ </dict>
483
+ <dict>
484
+ <key>begin</key>
485
+ <string>(&lt;/?)([a-zA-Z]+)</string>
486
+ <key>captures</key>
487
+ <dict>
488
+ <key>1</key>
489
+ <dict>
490
+ <key>name</key>
491
+ <string>punctuation.definition.tag.apache-config</string>
492
+ </dict>
493
+ <key>2</key>
494
+ <dict>
495
+ <key>name</key>
496
+ <string>entity.name.tag.apache-config</string>
497
+ </dict>
498
+ </dict>
499
+ <key>end</key>
500
+ <string>(/?&gt;)</string>
501
+ <key>name</key>
502
+ <string>meta.tag.apache-config</string>
503
+ </dict>
504
+ </array>
505
+ <key>repository</key>
506
+ <dict>
507
+ <key>vars</key>
508
+ <dict>
509
+ <key>patterns</key>
510
+ <array>
511
+ <dict>
512
+ <key>captures</key>
513
+ <dict>
514
+ <key>1</key>
515
+ <dict>
516
+ <key>name</key>
517
+ <string>punctuation.definition.variable.apache-config</string>
518
+ </dict>
519
+ <key>3</key>
520
+ <dict>
521
+ <key>name</key>
522
+ <string>punctuation.definition.variable.apache-config</string>
523
+ </dict>
524
+ </dict>
525
+ <key>match</key>
526
+ <string>(%\{)(?:HTTP_(?:USER_AGENT|REFERER|COOKIE|FORWARDED|HOST|PROXY_CONNECTION|ACCEPT)|REMOTE_(?:ADDR|HOST|USER|IDENT)|REQUEST_(?:METHOD|URI|FILENAME)|SCRIPT_FILENAME|PATH_INFO|QUERY_STRING|AUTH_TYPE|DOCUMENT_ROOT|SERVER_(?:ADMIN|NAME|ADDR|PORT|PROTOCOL|SOFTWARE)|TIME_(?:YEAR|MON|DAY|HOUR|MIN|SEC|WDAY)|TIME|API_VERSION|THE_REQUEST|IS_SUBREQ|(?:ENV|LA-U|LA-F|HTTP|SSL):[^\}]+)(\})</string>
527
+ <key>name</key>
528
+ <string>support.variable.apache-config</string>
529
+ </dict>
530
+ <dict>
531
+ <key>match</key>
532
+ <string>%\{[^\}]+\}</string>
533
+ <key>name</key>
534
+ <string>invalid.illegal.bad-var.apache-config</string>
535
+ </dict>
536
+ </array>
537
+ </dict>
538
+ </dict>
539
+ <key>scopeName</key>
540
+ <string>source.apache-config</string>
541
+ <key>uuid</key>
542
+ <string>023D670E-80F1-11D9-9BD1-00039398C572</string>
543
+ </dict>
544
+ </plist>