rbx-trepanning 0.0.4-universal-rubinius-1.2 → 0.0.6-universal-rubinius-1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. data/ChangeLog +682 -0
  2. data/NEWS +19 -0
  3. data/README.textile +8 -9
  4. data/Rakefile +8 -8
  5. data/app/complete.rb +52 -0
  6. data/app/complete.rbc +1288 -0
  7. data/app/irb.rb +1 -2
  8. data/app/irb.rbc +55 -72
  9. data/app/llvm.rbc +780 -878
  10. data/app/method.rb +1 -1
  11. data/app/method.rbc +31 -35
  12. data/app/method_name.rbc +2467 -0
  13. data/app/options.rb +7 -24
  14. data/app/options.rbc +238 -132
  15. data/app/rbx-llvm.rbc +2478 -0
  16. data/app/util.rb +3 -3
  17. data/app/util.rbc +23 -27
  18. data/bin/trepanx +4 -3
  19. data/bin/trepanx.compiled.rbc +42 -32
  20. data/data/irbrc +41 -0
  21. data/data/irbrc.compiled.rbc +640 -0
  22. data/interface/base_intf.rb +9 -5
  23. data/interface/base_intf.rbc +200 -146
  24. data/interface/comcodes.rb +10 -8
  25. data/interface/comcodes.rbc +68 -26
  26. data/interface/script.rbc +21 -9
  27. data/interface/user.rb +74 -8
  28. data/interface/user.rbc +1702 -156
  29. data/io/input.rb +37 -14
  30. data/io/input.rbc +869 -320
  31. data/io/tcpclient.rb +7 -1
  32. data/io/tcpclient.rbc +205 -113
  33. data/io/tcpfns.rb +5 -3
  34. data/io/tcpfns.rbc +82 -40
  35. data/io/tcpserver.rb +13 -10
  36. data/io/tcpserver.rbc +236 -183
  37. data/lib/trepanning.rb +62 -21
  38. data/lib/trepanning.rbc +1304 -874
  39. data/lib/{trepanning.rb.orig → trepanning2.rb} +12 -4
  40. data/processor/breakpoint.rb +4 -1
  41. data/processor/command/base/cmd.rb +48 -3
  42. data/processor/command/base/subcmd.rb +2 -1
  43. data/processor/command/base/submgr.rb +23 -20
  44. data/processor/command/base/subsubmgr.rb +13 -2
  45. data/processor/command/complete.rb +7 -17
  46. data/processor/command/continue.rb +19 -11
  47. data/processor/command/disassemble.rb +39 -12
  48. data/processor/command/eval.rb +23 -5
  49. data/processor/command/help.rb +60 -6
  50. data/processor/command/info_subcmd/{file.rb → files.rb} +76 -18
  51. data/processor/command/info_subcmd/line.rb +86 -0
  52. data/processor/command/info_subcmd/program.rb +2 -11
  53. data/processor/command/info_subcmd/ruby.rb +62 -0
  54. data/processor/command/info_subcmd/variables.rb +7 -0
  55. data/processor/command/irb.rb +39 -7
  56. data/processor/command/macro.rb +76 -0
  57. data/processor/command/set_subcmd/confirm.rb +24 -0
  58. data/processor/command/set_subcmd/max.rb +4 -5
  59. data/processor/command/show.rb +11 -0
  60. data/processor/command/show_subcmd/auto.rb +1 -0
  61. data/processor/command/show_subcmd/basename.rb +1 -2
  62. data/processor/command/show_subcmd/confirm.rb +18 -0
  63. data/processor/command/show_subcmd/max.rb +0 -2
  64. data/processor/command/source.rb +0 -1
  65. data/processor/default.rb +2 -0
  66. data/processor/disassemble.rb +1 -0
  67. data/processor/load_cmds.rb +104 -20
  68. data/processor/location.rb +11 -12
  69. data/processor/main.rb +10 -6
  70. data/processor/mock.rb +6 -2
  71. data/processor/stepping.rb +1 -4
  72. data/processor/subcmd.rb +3 -2
  73. data/processor/validate.rb +3 -3
  74. data/sample/list-terminal-colors.rbc +158 -4
  75. data/sample/rocky-trepanx-colors.rb +15 -7
  76. data/sample/rocky-trepanx-colors.rbc +530 -0
  77. data/test/data/quit2.cmd +6 -0
  78. data/test/data/quit2.right +3 -0
  79. data/test/data/step-bug.cmd +11 -0
  80. data/test/data/step-bug.right +3 -0
  81. data/test/example/step-bug.rb +14 -0
  82. data/test/integration/helper.rb +1 -1
  83. data/test/integration/skip-test-step-bug.rb +17 -0
  84. data/test/integration/test-quit.rb +11 -0
  85. data/test/unit/test-app-util.rb +0 -1
  86. data/test/unit/test-base-cmd.rb +47 -0
  87. data/test/unit/test-base-subcmd.rb +2 -2
  88. data/test/unit/test-base-submgr.rb +24 -0
  89. data/test/unit/test-cmd-help.rb +4 -0
  90. data/test/unit/test-completion.rb +38 -0
  91. data/test/unit/test-intf-user.rb +2 -2
  92. data/test/unit/test-io-tcpclient.rb +3 -2
  93. data/test/unit/test-proc-eval.rb +1 -1
  94. data/test/unit/test-proc-load_cmds.rb +9 -0
  95. data/test/unit/test-subcmd-help.rb +1 -5
  96. metadata +182 -167
  97. data/app/options.rb.orig +0 -154
  98. data/bin/trepan.orig +0 -0
  99. data/bin/trepan.rej +0 -11
  100. data/lib/trepanning.rb.rej +0 -11
  101. data/sample/rocky-dot-trepanrc.orig +0 -0
  102. data/sample/rocky-dot-trepanrc.rej +0 -11
data/app/method.rb CHANGED
@@ -144,7 +144,7 @@ module Rubinius
144
144
  end
145
145
  i += 2
146
146
  end
147
- -1
147
+ nil
148
148
  end
149
149
  end
150
150
  end
data/app/method.rbc CHANGED
@@ -9,7 +9,7 @@ x
9
9
  10
10
10
  __script__
11
11
  i
12
- 241
12
+ 238
13
13
  99
14
14
  7
15
15
  0
@@ -77,7 +77,7 @@ i
77
77
  83
78
78
  11
79
79
  9
80
- 237
80
+ 234
81
81
  5
82
82
  45
83
83
  0
@@ -101,9 +101,8 @@ i
101
101
  17
102
102
  1
103
103
  47
104
- 49
104
+ 101
105
105
  18
106
- 0
107
106
  7
108
107
  19
109
108
  63
@@ -212,17 +211,15 @@ i
212
211
  4
213
212
  169
214
213
  47
215
- 49
214
+ 101
216
215
  18
217
- 0
218
216
  7
219
217
  35
220
218
  20
221
219
  2
222
220
  47
223
- 49
221
+ 101
224
222
  18
225
- 0
226
223
  63
227
224
  4
228
225
  47
@@ -246,7 +243,7 @@ i
246
243
  39
247
244
  0
248
245
  8
249
- 238
246
+ 235
250
247
  1
251
248
  15
252
249
  2
@@ -668,7 +665,7 @@ each_with_index
668
665
  p
669
666
  7
670
667
  I
671
- 0
668
+ -1
672
669
  I
673
670
  e
674
671
  I
@@ -869,7 +866,7 @@ each
869
866
  p
870
867
  11
871
868
  I
872
- 0
869
+ -1
873
870
  I
874
871
  29
875
872
  I
@@ -1046,7 +1043,7 @@ each_with_index
1046
1043
  p
1047
1044
  9
1048
1045
  I
1049
- 0
1046
+ -1
1050
1047
  I
1051
1048
  3b
1052
1049
  I
@@ -1157,7 +1154,7 @@ x
1157
1154
  p
1158
1155
  7
1159
1156
  I
1160
- 0
1157
+ -1
1161
1158
  I
1162
1159
  46
1163
1160
  I
@@ -1427,7 +1424,7 @@ x
1427
1424
  p
1428
1425
  39
1429
1426
  I
1430
- 0
1427
+ -1
1431
1428
  I
1432
1429
  51
1433
1430
  I
@@ -1775,7 +1772,7 @@ x
1775
1772
  p
1776
1773
  5
1777
1774
  I
1778
- 0
1775
+ -1
1779
1776
  I
1780
1777
  76
1781
1778
  I
@@ -1952,7 +1949,7 @@ i
1952
1949
  15
1953
1950
  1
1954
1951
  15
1955
- 77
1952
+ 1
1956
1953
  11
1957
1954
  I
1958
1955
  9
@@ -1989,7 +1986,7 @@ x
1989
1986
  p
1990
1987
  23
1991
1988
  I
1992
- 0
1989
+ -1
1993
1990
  I
1994
1991
  88
1995
1992
  I
@@ -2229,7 +2226,7 @@ find_method_with_line
2229
2226
  p
2230
2227
  9
2231
2228
  I
2232
- 0
2229
+ -1
2233
2230
  I
2234
2231
  9e
2235
2232
  I
@@ -2312,7 +2309,7 @@ x
2312
2309
  9
2313
2310
  __block__
2314
2311
  i
2315
- 45
2312
+ 44
2316
2313
  57
2317
2314
  19
2318
2315
  0
@@ -2323,9 +2320,8 @@ i
2323
2320
  20
2324
2321
  0
2325
2322
  47
2326
- 49
2323
+ 101
2327
2324
  1
2328
- 0
2329
2325
  7
2330
2326
  2
2331
2327
  63
@@ -2341,12 +2337,12 @@ i
2341
2337
  3
2342
2338
  2
2343
2339
  9
2344
- 34
2340
+ 33
2345
2341
  7
2346
2342
  4
2347
2343
  64
2348
2344
  8
2349
- 37
2345
+ 36
2350
2346
  7
2351
2347
  5
2352
2348
  64
@@ -2404,7 +2400,7 @@ I
2404
2400
  I
2405
2401
  ab
2406
2402
  I
2407
- 2d
2403
+ 2c
2408
2404
  x
2409
2405
  53
2410
2406
  /home/rocky-rvm/.rvm/src/rbx-trepanning/app/method.rb
@@ -2439,47 +2435,47 @@ I
2439
2435
  I
2440
2436
  9b
2441
2437
  I
2442
- 67
2438
+ 66
2443
2439
  I
2444
2440
  9d
2445
2441
  I
2446
- 6c
2442
+ 6b
2447
2443
  I
2448
2444
  9e
2449
2445
  I
2450
- 7a
2446
+ 79
2451
2447
  I
2452
2448
  a4
2453
2449
  I
2454
- 8d
2450
+ 8c
2455
2451
  I
2456
2452
  a5
2457
2453
  I
2458
- 9a
2454
+ 99
2459
2455
  I
2460
2456
  a6
2461
2457
  I
2462
- a2
2458
+ a1
2463
2459
  I
2464
2460
  a7
2465
2461
  I
2466
- b4
2462
+ b3
2467
2463
  I
2468
2464
  a8
2469
2465
  I
2470
- c4
2466
+ c3
2471
2467
  I
2472
2468
  a9
2473
2469
  I
2474
- dc
2470
+ d9
2475
2471
  I
2476
2472
  aa
2477
2473
  I
2478
- ed
2474
+ ea
2479
2475
  I
2480
2476
  99
2481
2477
  I
2482
- f1
2478
+ ee
2483
2479
  x
2484
2480
  53
2485
2481
  /home/rocky-rvm/.rvm/src/rbx-trepanning/app/method.rb