Skip to content
This repository
Browse code

Move all source files to src dir, move all working files out of vim dir

Now all files which should be loaded by vim are placed in the root dir
of the repo, all 'development' files are placed into 'src' dir. This
way, it should be easier to handle the plugin by git submodules when
using it with pathogen.
  • Loading branch information...
commit 10792e8365a04cfd02b3c6e4b8cee03f4c452235 1 parent a1b28ba
authored February 05, 2011

Showing 40 changed files with 13 additions and 3 deletions. Show diff stats Hide diff stats

  1. 2  .gitignore
  2. 4  {vim → }/autoload/ruby_debugger.vim
  3. 0  {vim → }/bin/ruby_debugger.rb
  4. 0  {vim → }/doc/ruby_debugger.txt
  5. 0  {vim → }/plugin/ruby_debugger.vim
  6. 4  { → src}/additionals/autoload/ruby_debugger.vim
  7. 0  { → src}/additionals/bin/socket
  8. 6  { → src}/collector.rb
  9. 0  { → src}/notifier
  10. 0  { → src}/ruby_debugger/after.vim
  11. 0  { → src}/ruby_debugger/before.vim
  12. 0  { → src}/ruby_debugger/breakpoint.vim
  13. 0  { → src}/ruby_debugger/commands.vim
  14. 0  { → src}/ruby_debugger/common.vim
  15. 0  { → src}/ruby_debugger/exception.vim
  16. 0  { → src}/ruby_debugger/frame.vim
  17. 0  { → src}/ruby_debugger/init.vim
  18. 0  { → src}/ruby_debugger/logger.vim
  19. 0  { → src}/ruby_debugger/public.vim
  20. 0  { → src}/ruby_debugger/queue.vim
  21. 0  { → src}/ruby_debugger/server.vim
  22. 0  { → src}/ruby_debugger/var.vim
  23. 0  { → src}/ruby_debugger/var_child.vim
  24. 0  { → src}/ruby_debugger/var_parent.vim
  25. 0  { → src}/ruby_debugger/window.vim
  26. 0  { → src}/ruby_debugger/window_breakpoints.vim
  27. 0  { → src}/ruby_debugger/window_frames.vim
  28. 0  { → src}/ruby_debugger/window_variables.vim
  29. 0  { → src}/ruby_debugger_autoload_plan.txt
  30. 0  { → src}/ruby_debugger_plugin_plan.txt
  31. 0  { → src}/ruby_test_plan.txt
  32. 0  { → src}/socket.c
  33. 0  { → src}/tests/breakpoint.vim
  34. 0  { → src}/tests/command.vim
  35. 0  { → src}/tests/exceptions.vim
  36. 0  { → src}/tests/frames.vim
  37. 0  { → src}/tests/framework.vim
  38. 0  { → src}/tests/mock.vim
  39. 0  { → src}/tests/server.vim
  40. 0  { → src}/tests/variables.vim
2  .gitignore
... ...
@@ -1,2 +1,4 @@
1 1
 *.swp
2 2
 *.un~
  3
+tmp
  4
+doc/tags
4  vim/autoload/ruby_debugger.vim → autoload/ruby_debugger.vim
@@ -1608,6 +1608,10 @@ endfunction
1608 1608
 
1609 1609
 
1610 1610
 " Log datetime and then message. It logs only if debug mode is enabled
  1611
+" TODO: Now to add one line to the log file, it read whole file to memory, add
  1612
+" one line and write all that stuff back to file. When log file is large, it
  1613
+" affects performance very much. Need to find way to write only to the end of
  1614
+" file (preferably - crossplatform way. Maybe Ruby?)
1611 1615
 function! s:Logger.put(string)
1612 1616
   if g:ruby_debugger_debug_mode
1613 1617
     let file = readfile(self.file)
0  vim/bin/ruby_debugger.rb → bin/ruby_debugger.rb
File renamed without changes
0  vim/doc/ruby_debugger.txt → doc/ruby_debugger.txt
File renamed without changes
0  vim/plugin/ruby_debugger.vim → plugin/ruby_debugger.vim
File renamed without changes
4  additionals/autoload/ruby_debugger.vim → src/additionals/autoload/ruby_debugger.vim
@@ -1608,6 +1608,10 @@ endfunction
1608 1608
 
1609 1609
 
1610 1610
 " Log datetime and then message. It logs only if debug mode is enabled
  1611
+" TODO: Now to add one line to the log file, it read whole file to memory, add
  1612
+" one line and write all that stuff back to file. When log file is large, it
  1613
+" affects performance very much. Need to find way to write only to the end of
  1614
+" file (preferably - crossplatform way. Maybe Ruby?)
1611 1615
 function! s:Logger.put(string)
1612 1616
   if g:ruby_debugger_debug_mode
1613 1617
     let file = readfile(self.file)
0  additionals/bin/socket → src/additionals/bin/socket
File renamed without changes
6  collector.rb → src/collector.rb
@@ -3,7 +3,7 @@ class Collector
3 3
   def initialize(input, output)
4 4
     @path = File.dirname(__FILE__)
5 5
     @input_files = input.map{|i| @path + '/' + i}
6  
-    @output_file = @path + '/' + output
  6
+    @output_file = File.expand_path(@path + '/' + output)
7 7
     @file = ''
8 8
   end
9 9
   
@@ -35,10 +35,10 @@ def save_file
35 35
 end
36 36
 
37 37
 
38  
-plugin = Collector.new(['ruby_debugger_plugin_plan.txt'], 'vim/plugin/ruby_debugger.vim')
  38
+plugin = Collector.new(['ruby_debugger_plugin_plan.txt'], '../plugin/ruby_debugger.vim')
39 39
 plugin.accumulate!
40 40
 
41  
-auto_load = Collector.new(['ruby_debugger_autoload_plan.txt'], 'vim/autoload/ruby_debugger.vim')
  41
+auto_load = Collector.new(['ruby_debugger_autoload_plan.txt'], '../autoload/ruby_debugger.vim')
42 42
 auto_load.accumulate!
43 43
 
44 44
 with_tests = Collector.new(['ruby_debugger_autoload_plan.txt', 'ruby_test_plan.txt'], 'additionals/autoload/ruby_debugger.vim')
0  notifier → src/notifier
File renamed without changes
0  ruby_debugger/after.vim → src/ruby_debugger/after.vim
File renamed without changes
0  ruby_debugger/before.vim → src/ruby_debugger/before.vim
File renamed without changes
0  ruby_debugger/breakpoint.vim → src/ruby_debugger/breakpoint.vim
File renamed without changes
0  ruby_debugger/commands.vim → src/ruby_debugger/commands.vim
File renamed without changes
0  ruby_debugger/common.vim → src/ruby_debugger/common.vim
File renamed without changes
0  ruby_debugger/exception.vim → src/ruby_debugger/exception.vim
File renamed without changes
0  ruby_debugger/frame.vim → src/ruby_debugger/frame.vim
File renamed without changes
0  ruby_debugger/init.vim → src/ruby_debugger/init.vim
File renamed without changes
0  ruby_debugger/logger.vim → src/ruby_debugger/logger.vim
File renamed without changes
0  ruby_debugger/public.vim → src/ruby_debugger/public.vim
File renamed without changes
0  ruby_debugger/queue.vim → src/ruby_debugger/queue.vim
File renamed without changes
0  ruby_debugger/server.vim → src/ruby_debugger/server.vim
File renamed without changes
0  ruby_debugger/var.vim → src/ruby_debugger/var.vim
File renamed without changes
0  ruby_debugger/var_child.vim → src/ruby_debugger/var_child.vim
File renamed without changes
0  ruby_debugger/var_parent.vim → src/ruby_debugger/var_parent.vim
File renamed without changes
0  ruby_debugger/window.vim → src/ruby_debugger/window.vim
File renamed without changes
0  ruby_debugger/window_breakpoints.vim → src/ruby_debugger/window_breakpoints.vim
File renamed without changes
0  ruby_debugger/window_frames.vim → src/ruby_debugger/window_frames.vim
File renamed without changes
0  ruby_debugger/window_variables.vim → src/ruby_debugger/window_variables.vim
File renamed without changes
0  ruby_debugger_autoload_plan.txt → src/ruby_debugger_autoload_plan.txt
File renamed without changes
0  ruby_debugger_plugin_plan.txt → src/ruby_debugger_plugin_plan.txt
File renamed without changes
0  ruby_test_plan.txt → src/ruby_test_plan.txt
File renamed without changes
0  socket.c → src/socket.c
File renamed without changes
0  tests/breakpoint.vim → src/tests/breakpoint.vim
File renamed without changes
0  tests/command.vim → src/tests/command.vim
File renamed without changes
0  tests/exceptions.vim → src/tests/exceptions.vim
File renamed without changes
0  tests/frames.vim → src/tests/frames.vim
File renamed without changes
0  tests/framework.vim → src/tests/framework.vim
File renamed without changes
0  tests/mock.vim → src/tests/mock.vim
File renamed without changes
0  tests/server.vim → src/tests/server.vim
File renamed without changes
0  tests/variables.vim → src/tests/variables.vim
File renamed without changes

0 notes on commit 10792e8

Please sign in to comment.
Something went wrong with that request. Please try again.