linecache 0.45.1-mswin32 → 0.46-mswin32
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 +0 -371
- data/NEWS +6 -1
- data/Rakefile +3 -1
- data/lib/trace_nums.so +0 -0
- data/lib/version.rb +1 -1
- metadata +24 -5
data/ChangeLog
CHANGED
@@ -1,371 +0,0 @@
|
|
1
|
-
2011-06-10 23:41 Rocky Bernstein
|
2
|
-
|
3
|
-
* ChangeLog, Rakefile, lib/linecache.rb, lib/version.rb:
|
4
|
-
Administrivia for MS Windows. Get ready for 0.45 release.e
|
5
|
-
|
6
|
-
2011-06-09 21:51 Rocky Bernstein
|
7
|
-
|
8
|
-
* ChangeLog, NEWS, Rakefile: Get ready for release 0.45
|
9
|
-
|
10
|
-
2011-06-04 13:32 Rocky Bernstein
|
11
|
-
|
12
|
-
* lib/linecache.rb: Was adding \n in lines for term highlighting.
|
13
|
-
|
14
|
-
2011-06-04 12:28 Rocky Bernstein
|
15
|
-
|
16
|
-
* ChangeLog, Rakefile, lib/linecache.rb: Add support for caching
|
17
|
-
script files and Ruby syntax highlighting.
|
18
|
-
|
19
|
-
2011-02-11 21:38 Rocky Bernstein
|
20
|
-
|
21
|
-
* Rakefile: Adding --verbose to test/unit has changed over the
|
22
|
-
years
|
23
|
-
|
24
|
-
2010-11-26 04:31 Rocky Bernstein
|
25
|
-
|
26
|
-
* lib/linecache.rb: 44.git -> 44.dev
|
27
|
-
|
28
|
-
2010-11-26 04:29 Rocky Bernstein
|
29
|
-
|
30
|
-
* lib/linecache.rb: Doc change
|
31
|
-
|
32
|
-
2010-11-26 01:39 Rocky Bernstein
|
33
|
-
|
34
|
-
* ChangeLog, Rakefile, VERSION, lib/linecache.rb: Pick up version #
|
35
|
-
from LineCache module. Add Rake install target.
|
36
|
-
|
37
|
-
2010-11-26 01:17 Rocky Bernstein
|
38
|
-
|
39
|
-
* lib/linecache.rb, test/test-linecache.rb: Add "\n" in calculation
|
40
|
-
of sha1
|
41
|
-
|
42
|
-
2010-11-26 01:05 Rocky Bernstein
|
43
|
-
|
44
|
-
* Rakefile: Indentation
|
45
|
-
|
46
|
-
2010-09-29 10:57 Rocky Bernstein
|
47
|
-
|
48
|
-
* Rakefile: Remove specious use of Rake test task.
|
49
|
-
|
50
|
-
2009-08-05 05:04 mark-moseley
|
51
|
-
|
52
|
-
* ext/trace_nums.c, ext/trace_nums.h: minor cleanup
|
53
|
-
|
54
|
-
2009-02-09 01:16 Rocky Bernstein
|
55
|
-
|
56
|
-
* test/test-linecache.rb: Another doc typo.
|
57
|
-
|
58
|
-
2009-02-08 17:19 Rocky Bernstein
|
59
|
-
|
60
|
-
* README: Update doc.
|
61
|
-
|
62
|
-
2009-02-08 02:07 Rocky Bernstein
|
63
|
-
|
64
|
-
* lib/linecache.rb: Comparing wrong fields in stat comparison.
|
65
|
-
|
66
|
-
2009-02-07 09:21 Rocky Bernstein
|
67
|
-
|
68
|
-
* lib/linecache.rb: Another doc typo.
|
69
|
-
|
70
|
-
2009-02-07 02:31 Rocky Bernstein
|
71
|
-
|
72
|
-
* lib/linecache.rb: Add ',' to doc comment.
|
73
|
-
|
74
|
-
2009-02-06 04:47 Rocky Bernstein
|
75
|
-
|
76
|
-
* ., README, lib/linecache.rb: Update documentation.
|
77
|
-
|
78
|
-
2009-02-02 11:24 Rocky Bernstein
|
79
|
-
|
80
|
-
* .: Move in the right trunk. Or perhaps we'll blow out everything?
|
81
|
-
Figers are crossed....
|
82
|
-
|
83
|
-
2008-06-12 11:29 Rocky Bernstein
|
84
|
-
|
85
|
-
* 0.43 release - small change for MSwin32 - allow sfinding an
|
86
|
-
extension in lib rather than ext.
|
87
|
-
|
88
|
-
2008-06-12 00:04 Rocky Bernstein
|
89
|
-
|
90
|
-
* Look in lib as well as ext for trace_nums. Win32 puts it in lib.
|
91
|
-
|
92
|
-
2008-04-11 02:54 Rocky Bernstein
|
93
|
-
|
94
|
-
* Wasn't listing extension to for C compilation?
|
95
|
-
|
96
|
-
2008-04-10 20:06 Rocky Bernstein
|
97
|
-
|
98
|
-
* What's new for 0.41.
|
99
|
-
|
100
|
-
2008-04-10 20:02 Rocky Bernstein
|
101
|
-
|
102
|
-
* Forgot to add test/data to the gem.
|
103
|
-
|
104
|
-
2008-04-10 02:15 Rocky Bernstein
|
105
|
-
|
106
|
-
*
|
107
|
-
|
108
|
-
2008-03-28 15:04 Rocky Bernstein
|
109
|
-
|
110
|
-
* More if tests
|
111
|
-
|
112
|
-
2008-03-09 23:24 Rocky Bernstein
|
113
|
-
|
114
|
-
* Deal with Depricated win32.
|
115
|
-
|
116
|
-
2008-03-05 02:01 Rocky Bernstein
|
117
|
-
|
118
|
-
* Add rubyforge_upload task -- code from ruby-memory-profiler.
|
119
|
-
|
120
|
-
2008-03-04 22:47 Rocky Bernstein
|
121
|
-
|
122
|
-
* Ooops - forgot to credit Ryan Davis and ParseTree.
|
123
|
-
|
124
|
-
2008-02-10 13:59 Rocky Bernstein
|
125
|
-
|
126
|
-
* Go over Rakefile and doc for 0.3 release.
|
127
|
-
|
128
|
-
2008-01-29 21:51 Rocky Bernstein
|
129
|
-
|
130
|
-
* Interface change. Don't know why this didn't get updated before.
|
131
|
-
|
132
|
-
2008-01-28 15:35 Rocky Bernstein
|
133
|
-
|
134
|
-
* Change line number return from a Set to an Array.
|
135
|
-
|
136
|
-
2008-01-27 11:24 Rocky Bernstein
|
137
|
-
|
138
|
-
* Handle defined? node. Add "if" weirdness test.
|
139
|
-
|
140
|
-
2008-01-27 04:26 Rocky Bernstein
|
141
|
-
|
142
|
-
* Verify that the 'else' doesn't appear in a trace.
|
143
|
-
|
144
|
-
2008-01-27 04:21 Rocky Bernstein
|
145
|
-
|
146
|
-
* Was not showing blocks after when's.
|
147
|
-
|
148
|
-
2008-01-27 04:03 Rocky Bernstein
|
149
|
-
|
150
|
-
* trace_nums.c, block1.c, block2.c: bug in handling blocks
|
151
|
-
lnum-diag.rb: more graceful about not finding the source.
|
152
|
-
if4.rb: note weirdness in the way comparison works.
|
153
|
-
|
154
|
-
2008-01-27 02:11 Rocky Bernstein
|
155
|
-
|
156
|
-
* Finish adding all tree nodes. Work on case nodes some more.
|
157
|
-
lnum-diag.rb: add options to turn on and off various parts.
|
158
|
-
|
159
|
-
2008-01-26 11:12 Rocky Bernstein
|
160
|
-
|
161
|
-
* Add comment test and situation where no lines traced.
|
162
|
-
|
163
|
-
2008-01-26 11:08 Rocky Bernstein
|
164
|
-
|
165
|
-
* Add class, scope and module nodes.
|
166
|
-
|
167
|
-
2008-01-26 10:18 Rocky Bernstein
|
168
|
-
|
169
|
-
* Add more tree nodes.
|
170
|
-
|
171
|
-
2008-01-26 02:09 Rocky Bernstein
|
172
|
-
|
173
|
-
* Add Debugger.init which intializes things that rdebug does. This
|
174
|
-
allows a restart even though rdebug wasn't called initially.
|
175
|
-
|
176
|
-
2008-01-25 03:50 Rocky Bernstein
|
177
|
-
|
178
|
-
* Some code cleanup.
|
179
|
-
|
180
|
-
2008-01-25 02:50 Rocky Bernstein
|
181
|
-
|
182
|
-
* Work over case, when and match3.
|
183
|
-
|
184
|
-
2008-01-25 00:17 Rocky Bernstein
|
185
|
-
|
186
|
-
* Trace just line numbers for now until we get a better handle on
|
187
|
-
things.
|
188
|
-
|
189
|
-
2008-01-24 13:36 Rocky Bernstein
|
190
|
-
|
191
|
-
* Need recursion in more places because of block continuation
|
192
|
-
nodes.
|
193
|
-
Add nodes needed so we don't complain about rcov-bug.rb:
|
194
|
-
NODE_MATCH3, NODE_LASN, and NODE_STR (and those similar to that).
|
195
|
-
|
196
|
-
2008-01-24 04:09 Rocky Bernstein
|
197
|
-
|
198
|
-
* Fix bug if print_file == false
|
199
|
-
|
200
|
-
2008-01-24 04:04 Rocky Bernstein
|
201
|
-
|
202
|
-
* Add more operatiors. Go over existing ones and add more tests of
|
203
|
-
them.
|
204
|
-
|
205
|
-
2008-01-23 19:17 Rocky Bernstein
|
206
|
-
|
207
|
-
* What's up.
|
208
|
-
|
209
|
-
2008-01-23 19:12 Rocky Bernstein
|
210
|
-
|
211
|
-
* Don't assume we have expected line numbers.
|
212
|
-
|
213
|
-
2008-01-23 19:05 Rocky Bernstein
|
214
|
-
|
215
|
-
* A conversion-error bug.
|
216
|
-
|
217
|
-
2008-01-23 19:04 Rocky Bernstein
|
218
|
-
|
219
|
-
* variable name typo.
|
220
|
-
|
221
|
-
2008-01-23 19:03 Rocky Bernstein
|
222
|
-
|
223
|
-
* lnum-diag.rb and parse-show.rb - some diagnostic tools.
|
224
|
-
|
225
|
-
2008-01-23 16:06 Rocky Bernstein
|
226
|
-
|
227
|
-
* Show add_lines level, nicer formatting including \n for end.
|
228
|
-
|
229
|
-
2008-01-23 15:32 Rocky Bernstein
|
230
|
-
|
231
|
-
* Generalized routine to test everything in lnum-data
|
232
|
-
|
233
|
-
2008-01-23 12:07 Rocky Bernstein
|
234
|
-
|
235
|
-
* ParseTree is broken for our purposes. Having custom code for
|
236
|
-
getting
|
237
|
-
the trace line numbers is going remove a lot of headaches down
|
238
|
-
the line.
|
239
|
-
|
240
|
-
2008-01-20 21:37 Rocky Bernstein
|
241
|
-
|
242
|
-
* Add trace_line_numbers to save/get line numbers which we can set
|
243
|
-
breakpoints
|
244
|
-
on.
|
245
|
-
|
246
|
-
2008-01-20 16:31 Rocky Bernstein
|
247
|
-
|
248
|
-
* Add module TraceLineNumbers for extracting the stoppable lines in
|
249
|
-
a
|
250
|
-
Ruby program.
|
251
|
-
|
252
|
-
2008-01-19 15:55 Rocky Bernstein
|
253
|
-
|
254
|
-
* Allow nil to mean the same file. More tests.
|
255
|
-
|
256
|
-
2008-01-19 15:45 Rocky Bernstein
|
257
|
-
|
258
|
-
* Start remap_file_lines: ability to remap file ranges.
|
259
|
-
|
260
|
-
2008-01-17 22:25 Rocky Bernstein
|
261
|
-
|
262
|
-
* lines -> size. Add empty? Add remap_file.
|
263
|
-
|
264
|
-
2008-01-17 20:05 Rocky Bernstein
|
265
|
-
|
266
|
-
* Add method to get the number of lines in a cached file.
|
267
|
-
|
268
|
-
2008-01-17 19:42 Rocky Bernstein
|
269
|
-
|
270
|
-
* Add convenience method for testing presence in SCRIPT_LINES__.
|
271
|
-
|
272
|
-
2008-01-17 07:30 Rocky Bernstein
|
273
|
-
|
274
|
-
* Add path method and test.
|
275
|
-
|
276
|
-
2008-01-17 06:54 Rocky Bernstein
|
277
|
-
|
278
|
-
* Add @@full2file_cache_key. getlines wasn't returning the right
|
279
|
-
value sometimes.
|
280
|
-
Make return from checkcache meaningful. Change return value of
|
281
|
-
upate_cache().
|
282
|
-
test-linecache.rb: was testing for buggy behavior!
|
283
|
-
VERSION: now in 0.3 - hope we get it right this time.
|
284
|
-
|
285
|
-
2008-01-16 12:51 Rocky Bernstein
|
286
|
-
|
287
|
-
* Add cached_files.
|
288
|
-
|
289
|
-
2008-01-16 01:30 Rocky Bernstein
|
290
|
-
|
291
|
-
* Update news for 0.2 release.
|
292
|
-
|
293
|
-
2008-01-15 22:43 Rocky Bernstein
|
294
|
-
|
295
|
-
* Remove debug line.
|
296
|
-
|
297
|
-
2008-01-15 22:42 Rocky Bernstein
|
298
|
-
|
299
|
-
* Fix some syntax errors.
|
300
|
-
|
301
|
-
2008-01-15 22:40 Rocky Bernstein
|
302
|
-
|
303
|
-
* Add routine to save and get SHA1.
|
304
|
-
|
305
|
-
2008-01-15 22:16 Rocky Bernstein
|
306
|
-
|
307
|
-
* Add cached? and stat methods to determine in a file is cached and
|
308
|
-
get
|
309
|
-
File.stat from it.
|
310
|
-
|
311
|
-
2008-01-15 08:49 Rocky Bernstein
|
312
|
-
|
313
|
-
* Don't ever modify SCRIPT_LINES__. And until SCRIPT_LINES__ is
|
314
|
-
fixed,
|
315
|
-
don't read from it. Corrections to comments.
|
316
|
-
|
317
|
-
2008-01-14 12:27 Rocky Bernstein
|
318
|
-
|
319
|
-
* Add parameter to getline and getlines to reload file on change.
|
320
|
-
Add
|
321
|
-
option on clear_file_cache to clear out SCRIPT_LINES__ as well.
|
322
|
-
TESTS ARE NEEDED.
|
323
|
-
Update to version 0.2.
|
324
|
-
|
325
|
-
2008-01-14 03:41 Rocky Bernstein
|
326
|
-
|
327
|
-
* Use SCRIPT_LINES__ if we can.
|
328
|
-
|
329
|
-
2007-12-10 16:24 Rocky Bernstein
|
330
|
-
|
331
|
-
* release 0.1
|
332
|
-
|
333
|
-
2007-12-09 17:47 Rocky Bernstein
|
334
|
-
|
335
|
-
* lib/linecache.rb: Make Ruby 1.9 compatible.
|
336
|
-
|
337
|
-
2007-12-09 17:17 Rocky Bernstein
|
338
|
-
|
339
|
-
* ChangeLog, Rakefile, lib/linecache.rb, test/test-linecache.rb:
|
340
|
-
Better tests mean more bugs found. "rake" defaults now to "test".
|
341
|
-
|
342
|
-
2007-12-09 14:10 Rocky Bernstein
|
343
|
-
|
344
|
-
* Rakefile: Add VERSION to gem.
|
345
|
-
|
346
|
-
2007-12-09 14:09 Rocky Bernstein
|
347
|
-
|
348
|
-
* test/test-linecache.rb: Change classname to something more
|
349
|
-
appropriate.
|
350
|
-
|
351
|
-
2007-12-09 13:41 Rocky Bernstein
|
352
|
-
|
353
|
-
* ., Rakefile: . : ignore doc and pkg
|
354
|
-
Rakefile: clean now does clobber_rdoc and clobber_package, i.e.
|
355
|
-
removes
|
356
|
-
the doc and pkg directories.
|
357
|
-
|
358
|
-
2007-12-09 13:15 Rocky Bernstein
|
359
|
-
|
360
|
-
* ChangeLog, NEWS, README, Rakefile, lib/linecache.rb,
|
361
|
-
test/test-linecache.rb: NEWS, README, linecache.rb: Add $Id$ line
|
362
|
-
test-linecache.rb: make executable
|
363
|
-
Rakefile: Correct documentation
|
364
|
-
|
365
|
-
2007-12-09 12:58 Rocky Bernstein
|
366
|
-
|
367
|
-
* ., AUTHORS, COPYING, ChangeLog, NEWS, README, Rakefile, VERSION,
|
368
|
-
lib, lib/linecache.rb, test, test/test-linecache.rb: Initial
|
369
|
-
import of LineCache, a module for reading and caching lines.
|
370
|
-
This time to trunk.
|
371
|
-
|
data/NEWS
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
0.46
|
2
|
+
06-12-19
|
3
|
+
- A require_relative dependency snuck in.
|
4
|
+
Add a rbx-require-relative to handle this.
|
5
|
+
|
1
6
|
0.45
|
2
7
|
06-12-11
|
3
8
|
- Support for syntax highlighting and caching eval strings. The former
|
@@ -31,4 +36,4 @@
|
|
31
36
|
|
32
37
|
- Initial release of LineCache, a module for reading and caching lines.
|
33
38
|
|
34
|
-
$Id: NEWS
|
39
|
+
$Id: NEWS 268 2011-06-19 08:48:31Z rockyb $
|
data/Rakefile
CHANGED
@@ -76,9 +76,10 @@ EOF
|
|
76
76
|
spec.platform = Gem::Platform::RUBY
|
77
77
|
spec.require_path = 'lib'
|
78
78
|
spec.files = FILES.to_a
|
79
|
+
spec.add_dependency('rbx-require-relative', '> 0.0.4')
|
79
80
|
spec.extensions = ['ext/extconf.rb']
|
80
81
|
|
81
|
-
spec.required_ruby_version = '>= 1.8.
|
82
|
+
spec.required_ruby_version = '>= 1.8.7'
|
82
83
|
spec.date = Time.now
|
83
84
|
spec.rubyforge_project = 'rocky-hacks'
|
84
85
|
|
@@ -104,6 +105,7 @@ win_spec.extensions = []
|
|
104
105
|
## win_spec.platform = Gem::Platform::WIN32 # deprecated
|
105
106
|
win_spec.platform = 'mswin32'
|
106
107
|
win_spec.files += ["lib/#{SO_NAME}"]
|
108
|
+
win_spec.add_dependency('rbx-require-relative', '> 0.0.4')
|
107
109
|
|
108
110
|
desc 'Create Windows Gem'
|
109
111
|
task :win32_gem do
|
data/lib/trace_nums.so
CHANGED
Binary file
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: linecache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: "0.46"
|
5
5
|
platform: mswin32
|
6
6
|
authors:
|
7
7
|
- R. Bernstein
|
@@ -9,10 +9,29 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2011-06-
|
12
|
+
date: 2011-06-19 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rbx-require-relative
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.0.4
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: rbx-require-relative
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.0.4
|
34
|
+
version:
|
16
35
|
description: |
|
17
36
|
LineCache is a module for reading and caching lines. This may be useful for
|
18
37
|
example in a debugger where the same lines are shown many times.
|
@@ -87,7 +106,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
87
106
|
requirements:
|
88
107
|
- - ">="
|
89
108
|
- !ruby/object:Gem::Version
|
90
|
-
version: 1.8.
|
109
|
+
version: 1.8.7
|
91
110
|
version:
|
92
111
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
112
|
requirements:
|