rb-trace 0.6 → 0.7
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.
- data/ChangeLog +79 -34
- data/ext/version.h +1 -1
- data/lib/trace.rb +3 -0
- data/rb-trace.gemspec +4 -6
- metadata +5 -6
data/ChangeLog
CHANGED
@@ -1,3 +1,66 @@
|
|
1
|
+
2013-01-13 rocky <rockyb@rubyforge.org>
|
2
|
+
|
3
|
+
* lib/trace.rb, rb-trace.gemspec: Get ready for release 0.7
|
4
|
+
|
5
|
+
2013-01-11 rocky <rockyb@rubyforge.org>
|
6
|
+
|
7
|
+
* ext/version.h, rb-trace.gemspec: Remove support via compiling C
|
8
|
+
extension which is no longer needed on 1.9.3. Will have to fix up
|
9
|
+
1.9.2
|
10
|
+
|
11
|
+
2012-11-25 rocky <rockyb@rubyforge.org>
|
12
|
+
|
13
|
+
* ChangeLog, NEWS, ext/version.h: Get ready for 0.6 release.
|
14
|
+
|
15
|
+
2012-11-25 rocky <rockyb@rubyforge.org>
|
16
|
+
|
17
|
+
* rb-trace.gemspec: Update homepage
|
18
|
+
|
19
|
+
2012-11-25 rocky <rockyb@rubyforge.org>
|
20
|
+
|
21
|
+
* README.textile, Rakefile, rb-trace.gemspec: Modernize stuff.
|
22
|
+
|
23
|
+
2012-11-25 rocky <rockyb@rubyforge.org>
|
24
|
+
|
25
|
+
* .gitignore, ext/1.9.2/trace.c, ext/1.9.3/trace.c, ext/extconf.rb,
|
26
|
+
ext/version.h, rb-trace.gemspec: Create bogus C extension for 1.9.3
|
27
|
+
since we need one for 1.9.2 and the combination of gems and mkmf
|
28
|
+
aren't conducive enough to make allow an optional C-extension. Move
|
29
|
+
version info into common version.h
|
30
|
+
|
31
|
+
2012-11-24 rocky <rockyb@rubyforge.org>
|
32
|
+
|
33
|
+
* ext/1.9.2/thread_pthread.h: Reinstate header needed on MRI 1.9.2
|
34
|
+
|
35
|
+
2012-11-24 rocky <rockyb@rubyforge.org>
|
36
|
+
|
37
|
+
* ext/1.9.2/trace.c, rb-trace.gemspec: Change version number and
|
38
|
+
what versions of rb-threadframe we allow.
|
39
|
+
|
40
|
+
2012-11-21 rocky <rockyb@rubyforge.org>
|
41
|
+
|
42
|
+
* : commit 7d5d33469dac233de7cf06edd436a4085637fe7f Author: rocky
|
43
|
+
<rockyb@rubyforge.org> Date: Wed Nov 21 20:07:32 2012 -0500
|
44
|
+
|
45
|
+
2012-07-02 rocky <rockyb@rubyforge.org>
|
46
|
+
|
47
|
+
* lib/tracefilter.rb, rb-trace.gemspec: ThreadFrame -> Frame
|
48
|
+
|
49
|
+
2011-03-29 rocky <rockyb@rubyforge.org>
|
50
|
+
|
51
|
+
* ext/trace.c, rb-trace.gemspec: Add gemspec file. Previously forgot
|
52
|
+
to add
|
53
|
+
|
54
|
+
2011-03-28 rocky <rockyb@rubyforge.org>
|
55
|
+
|
56
|
+
* : commit 428091457527e8e496379fe29032ed5489dc06ce Author: rocky
|
57
|
+
<rockyb@rubyforge.org> Date: Mon Mar 28 11:05:28 2011 -0400
|
58
|
+
|
59
|
+
2011-02-19 rocky <rockyb@rubyforge.org>
|
60
|
+
|
61
|
+
* lib/eventbuffer.rb, lib/tracefilter.rb: Start adding copyright in
|
62
|
+
files
|
63
|
+
|
1
64
|
2011-02-13 rocky <rockyb@rubyforge.org>
|
2
65
|
|
3
66
|
* Rakefile, lib/trace_mod.rb: Add support for send, leave, and yield
|
@@ -14,11 +77,7 @@
|
|
14
77
|
|
15
78
|
2010-12-25 rocky <rockyb@rubyforge.org>
|
16
79
|
|
17
|
-
I hate conflicted merges
|
18
|
-
|
19
|
-
2010-12-24 rocky <rockyb@rubyforge.org>
|
20
|
-
|
21
|
-
* ChangeLog, NEWS: Update NEWS for Dec 25 release
|
80
|
+
* : I hate conflicted merges
|
22
81
|
|
23
82
|
2010-12-10 rocky <rockyb@rubyforge.org>
|
24
83
|
|
@@ -36,7 +95,7 @@
|
|
36
95
|
2010-05-15 rocky <rockyb@rubyforge.org>
|
37
96
|
|
38
97
|
* lib/tracefilter.rb: Turn off tracing for any calls from this
|
39
|
-
excluded frames. See note in change.
|
98
|
+
excluded frames. See note in change. There may be a bug in my Ruby
|
40
99
|
1.9 patch that this tickles. So this change we may have to backed
|
41
100
|
out, if we can't fix the Ruby patch.
|
42
101
|
|
@@ -59,8 +118,8 @@
|
|
59
118
|
* lib/trace_mod.rb, test/unit/test-event2bitmask.rb,
|
60
119
|
test/unit/test-trace-hook.rb, test/unit/test-trace_mod.rb,
|
61
120
|
test/unit/test-tracefilter.rb: require_relative %w(a b c) =>
|
62
|
-
require_relative 'a/b/c'
|
63
|
-
|
121
|
+
require_relative 'a/b/c' Starting with SVN revision #26959 require_relative no longer accepts
|
122
|
+
an array argument.
|
64
123
|
|
65
124
|
2010-04-03 rocky <rockyb@rubyforge.org>
|
66
125
|
|
@@ -119,11 +178,8 @@
|
|
119
178
|
|
120
179
|
2010-03-24 rocky <rockyb@rubyforge.org>
|
121
180
|
|
122
|
-
|
123
|
-
|
124
|
-
2010-03-24 rocky <rockyb@rubyforge.org>
|
125
|
-
|
126
|
-
* lib/trace_mod.rb, lib/tracefilter.rb: rdoc updates
|
181
|
+
* : commit 4b24d531eb05d78a51633544ccb8e633e92cdf24 Author: rocky
|
182
|
+
<rockyb@rubyforge.org> Date: Wed Mar 24 04:17:54 2010 -0400
|
127
183
|
|
128
184
|
2010-03-23 rocky <rockyb@rubyforge.org>
|
129
185
|
|
@@ -135,12 +191,8 @@
|
|
135
191
|
|
136
192
|
2010-03-23 rocky <rockyb@rubyforge.org>
|
137
193
|
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
2010-03-23 rocky <rockyb@rubyforge.org>
|
142
|
-
|
143
|
-
* ext/.gitignore: Ignore config options.
|
194
|
+
* : commit d8d9c54843540abc316dab5c570518a0d7944d02 Author: rocky
|
195
|
+
<rockyb@rubyforge.org> Date: Tue Mar 23 10:06:25 2010 -0400
|
144
196
|
|
145
197
|
2010-03-19 rocky <rockyb@rubyforge.org>
|
146
198
|
|
@@ -154,13 +206,8 @@
|
|
154
206
|
|
155
207
|
2010-03-15 rocky <rockyb@rubyforge.org>
|
156
208
|
|
157
|
-
|
158
|
-
|
159
|
-
2010-03-14 rocky <rockyb@rubyforge.org>
|
160
|
-
|
161
|
-
* lib/tracefilter.rb, test/unit/test-tracefilter.rb: Ruby has been
|
162
|
-
changed to pass th->errinfo via the "klass" parameter on a raise
|
163
|
-
exception. Here we convert that to our hook "arg" parameter.
|
209
|
+
* : commit 001bfda497be8039cbddf431657f5dfbb8f1052f Author: rocky
|
210
|
+
<rockyb@rubyforge.org> Date: Sun Mar 14 00:16:39 2010 -0500
|
164
211
|
|
165
212
|
2010-03-10 rocky <rocky@ubuntu-vm.(none)>
|
166
213
|
|
@@ -185,9 +232,8 @@
|
|
185
232
|
|
186
233
|
* lib/tracefilter.rb, test/unit/test-tracefilter.rb: There is what
|
187
234
|
looks like a a bug in Ruby where self.class for C functions are not
|
188
|
-
set correctly. Until this is fixed in what I consider a more proper
|
189
|
-
|
190
|
-
arg parameter.
|
235
|
+
set correctly. Until this is fixed in what I consider a more proper way, we'll hack
|
236
|
+
around this by passing the binding as the optional arg parameter.
|
191
237
|
|
192
238
|
2010-02-16 rocky <rockyb@rubyforge.org>
|
193
239
|
|
@@ -216,7 +262,7 @@
|
|
216
262
|
2009-09-19 rocky <rockyb@rubyforge.org>
|
217
263
|
|
218
264
|
* lib/tracefilter.rb: In entering a class the method name can come
|
219
|
-
back "CLASS" and this is not a valid method.
|
265
|
+
back "CLASS" and this is not a valid method. NameError is returned
|
220
266
|
here.
|
221
267
|
|
222
268
|
2009-09-17 rockyb <rocky@gnu.org>
|
@@ -269,7 +315,7 @@
|
|
269
315
|
2009-08-16 rocky <rockyb@rubyforge.org>
|
270
316
|
|
271
317
|
* lib/tracefilter.rb, test/unit/test-tracefilter.rb: Add instruction
|
272
|
-
sequence filtering, and convenience method to skip "this one".
|
318
|
+
sequence filtering, and convenience method to skip "this one". Test
|
273
319
|
all of this.
|
274
320
|
|
275
321
|
2009-08-14 rockyb <rocky@gnu.org>
|
@@ -310,9 +356,8 @@
|
|
310
356
|
2009-08-13 R. Bernstein <rocky@gnu.org>
|
311
357
|
|
312
358
|
* Rakefile, ext/trace.c, test/unit/test-trace-hook.rb: ext/trace.c:
|
313
|
-
|
314
|
-
|
315
|
-
test-trace-hook.rb: test the modifications to ext/trace.c Rakefile:
|
359
|
+
Check trace hook validity before accessing fields. Add valid?
|
360
|
+
method. Add RubyVM::TraceHookError exception class. test-trace-hook.rb: test the modifications to ext/trace.c Rakefile:
|
316
361
|
More complete. Add "ext", "clean" and "check". test/check depends on
|
317
362
|
"ext".
|
318
363
|
|
data/ext/version.h
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
/* What release we got? */
|
2
|
-
#define TRACE_VERSION "0.6"
|
2
|
+
#define TRACE_VERSION "0.6.1"
|
data/lib/trace.rb
CHANGED
data/rb-trace.gemspec
CHANGED
@@ -4,9 +4,8 @@ require 'rake'
|
|
4
4
|
require 'rubygems' unless
|
5
5
|
Object.const_defined?(:Gem)
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
end
|
7
|
+
require File.dirname(__FILE__) + '/lib/trace' unless
|
8
|
+
Object.const_defined?(:'Trace') and Trace.const_defined?(:VERSION)
|
10
9
|
|
11
10
|
spec = Gem::Specification.new do |spec|
|
12
11
|
spec.authors = ['R. Bernstein']
|
@@ -19,13 +18,12 @@ spec = Gem::Specification.new do |spec|
|
|
19
18
|
rb-trace adds a trace_hook object, translates hooks bitmasks to Ruby sets and vice versa, and extends set_trace_func() to allow ignore specified frames or functions.
|
20
19
|
EOF
|
21
20
|
|
22
|
-
spec.version =
|
23
|
-
spec.extensions = ['ext/extconf.rb']
|
21
|
+
spec.version = Trace::VERSION
|
24
22
|
|
25
23
|
spec.email = 'rockyb@rubyforge.org'
|
26
24
|
spec.platform = Gem::Platform::RUBY
|
27
25
|
spec.files = `git ls-files`.split("\n")
|
28
|
-
spec.add_dependency('rb-threadframe', '>= 0.
|
26
|
+
spec.add_dependency('rb-threadframe', '>= 0.41')
|
29
27
|
|
30
28
|
# spec.required_ruby_version = '~> 1.9.2frame'
|
31
29
|
spec.date = Time.now
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rb-trace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.7'
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rb-threadframe
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 0.
|
21
|
+
version: '0.41'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ! '>='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: '0.41'
|
30
30
|
description: ! '
|
31
31
|
|
32
32
|
rb-trace adds a trace_hook object, translates hooks bitmasks to Ruby sets and vice
|
@@ -35,8 +35,7 @@ description: ! '
|
|
35
35
|
'
|
36
36
|
email: rockyb@rubyforge.org
|
37
37
|
executables: []
|
38
|
-
extensions:
|
39
|
-
- ext/extconf.rb
|
38
|
+
extensions: []
|
40
39
|
extra_rdoc_files: []
|
41
40
|
files:
|
42
41
|
- .gitignore
|