looksee 3.1.1 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG +9 -0
  3. data/README.markdown +61 -81
  4. data/ext/extconf.rb +3 -7
  5. data/ext/mri/2.3.0/internal.h +1404 -0
  6. data/ext/mri/2.3.0/method.h +213 -0
  7. data/ext/mri/mri.c +21 -264
  8. data/ext/rbx/rbx.c +0 -9
  9. data/lib/looksee/JRuby.jar +0 -0
  10. data/lib/looksee/adapter/base.rb +19 -54
  11. data/lib/looksee/adapter/rubinius.rb +3 -62
  12. data/lib/looksee/clean.rb +5 -1
  13. data/lib/looksee/editor.rb +1 -1
  14. data/lib/looksee/help.rb +3 -2
  15. data/lib/looksee/lookup_path.rb +7 -3
  16. data/lib/looksee/version.rb +1 -1
  17. data/spec/looksee/adapter_spec.rb +72 -365
  18. data/spec/looksee/editor_spec.rb +1 -1
  19. data/spec/looksee/inspector_spec.rb +21 -21
  20. data/spec/looksee/lookup_path_spec.rb +34 -21
  21. data/spec/spec_helper.rb +2 -0
  22. data/spec/support/temporary_classes.rb +10 -14
  23. data/spec/support/test_adapter.rb +2 -53
  24. metadata +6 -29
  25. data/ext/mri/1.9.2/debug.h +0 -36
  26. data/ext/mri/1.9.2/id.h +0 -170
  27. data/ext/mri/1.9.2/method.h +0 -103
  28. data/ext/mri/1.9.2/node.h +0 -483
  29. data/ext/mri/1.9.2/thread_pthread.h +0 -27
  30. data/ext/mri/1.9.2/vm_core.h +0 -707
  31. data/ext/mri/1.9.2/vm_opts.h +0 -51
  32. data/ext/mri/1.9.3/atomic.h +0 -56
  33. data/ext/mri/1.9.3/debug.h +0 -41
  34. data/ext/mri/1.9.3/id.h +0 -175
  35. data/ext/mri/1.9.3/internal.h +0 -227
  36. data/ext/mri/1.9.3/internal_falcon.h +0 -248
  37. data/ext/mri/1.9.3/method.h +0 -105
  38. data/ext/mri/1.9.3/node.h +0 -503
  39. data/ext/mri/1.9.3/thread_pthread.h +0 -51
  40. data/ext/mri/1.9.3/vm_core.h +0 -755
  41. data/ext/mri/1.9.3/vm_opts.h +0 -51
  42. data/ext/mri/2.0.0/internal.h +0 -378
  43. data/ext/mri/2.0.0/method.h +0 -138
  44. data/ext/mri/env-1.8.h +0 -27
  45. data/ext/mri/eval_c-1.8.h +0 -27
  46. data/ext/mri/node-1.9.h +0 -35
  47. data/lib/looksee/mri.bundle +0 -0
@@ -1,27 +0,0 @@
1
- struct FRAME {
2
- VALUE self;
3
- int argc;
4
- ID last_func;
5
- ID orig_func;
6
- VALUE last_class;
7
- struct FRAME *prev;
8
- struct FRAME *tmp;
9
- struct RNode *node;
10
- int iter;
11
- int flags;
12
- unsigned long uniq;
13
- };
14
-
15
- struct SCOPE {
16
- struct RBasic super;
17
- ID *local_tbl;
18
- VALUE *local_vars;
19
- int flags;
20
- };
21
-
22
- struct RVarmap {
23
- struct RBasic super;
24
- ID id;
25
- VALUE val;
26
- struct RVarmap *next;
27
- };
@@ -1,27 +0,0 @@
1
- struct BLOCK {
2
- NODE *var;
3
- NODE *body;
4
- VALUE self;
5
- struct FRAME frame;
6
- struct SCOPE *scope;
7
- VALUE klass;
8
- NODE *cref;
9
- int iter;
10
- int vmode;
11
- int flags;
12
- int uniq;
13
- struct RVarmap *dyna_vars;
14
- VALUE orig_thread;
15
- VALUE wrapper;
16
- VALUE block_obj;
17
- struct BLOCK *outer;
18
- struct BLOCK *prev;
19
- };
20
-
21
- struct METHOD {
22
- VALUE klass, rklass;
23
- VALUE recv;
24
- ID id, oid;
25
- int safe_level;
26
- NODE *body;
27
- };
@@ -1,35 +0,0 @@
1
- /* MRI 1.9 does not install node.h. This is the part we need. */
2
-
3
- typedef struct RNode {
4
- unsigned long flags;
5
- char *nd_file;
6
- union {
7
- struct RNode *node;
8
- ID id;
9
- VALUE value;
10
- VALUE (*cfunc)(ANYARGS);
11
- ID *tbl;
12
- } u1;
13
- union {
14
- struct RNode *node;
15
- ID id;
16
- long argc;
17
- VALUE value;
18
- } u2;
19
- union {
20
- struct RNode *node;
21
- ID id;
22
- long state;
23
- struct global_entry *entry;
24
- long cnt;
25
- VALUE value;
26
- } u3;
27
- } NODE;
28
-
29
- #define nd_body u2.node
30
- #define nd_noex u3.id
31
-
32
- #define NOEX_PUBLIC 0x00
33
- #define NOEX_PRIVATE 0x02
34
- #define NOEX_PROTECTED 0x04
35
- #define NOEX_MASK 0x06
Binary file