nice-ffi 0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,590 @@
1
+ ------------------------------------------------------------
2
+ Author: John Croisant <jacius@gmail.com>
3
+ Date: Sun Jul 5 01:05:26 2009 -0500
4
+
5
+ Nice-FFI 0.1 Released.
6
+
7
+ ------------------------------------------------------------
8
+ Author: John Croisant <jacius@gmail.com>
9
+ Date: Sun Jul 5 01:04:49 2009 -0500
10
+
11
+ Bumped date in README.rdoc.
12
+
13
+ M README.rdoc
14
+
15
+ ------------------------------------------------------------
16
+ Author: John Croisant <jacius@gmail.com>
17
+ Date: Sun Jul 5 00:56:17 2009 -0500
18
+
19
+ Nice-FFI 0.1 Released.
20
+
21
+ ------------------------------------------------------------
22
+ Author: John Croisant <jacius@gmail.com>
23
+ Date: Sun Jul 5 00:47:38 2009 -0500
24
+
25
+ Gemspec and rake rdoc task find docs/*.rdoc too.
26
+
27
+ M Rakefile
28
+ M nice-ffi.gemspec
29
+
30
+ ------------------------------------------------------------
31
+ Author: John Croisant <jacius@gmail.com>
32
+ Date: Sun Jul 5 00:46:50 2009 -0500
33
+
34
+ Added docs/usage.rdoc (Nice-FFI usage guide).
35
+
36
+ A docs/usage.rdoc
37
+
38
+ ------------------------------------------------------------
39
+ Author: John Croisant <jacius@gmail.com>
40
+ Date: Sat Jul 4 23:23:22 2009 -0500
41
+
42
+ Updated TODO.rdoc.
43
+
44
+ M TODO.rdoc
45
+
46
+ ------------------------------------------------------------
47
+ Author: John Croisant <jacius@gmail.com>
48
+ Date: Sat Jul 4 21:30:41 2009 -0500
49
+
50
+ Removed obsoleted scripts/getversion.rb.
51
+
52
+ D scripts/getversion.rb
53
+
54
+ ------------------------------------------------------------
55
+ Author: John Croisant <jacius@gmail.com>
56
+ Date: Sat Jul 4 21:30:14 2009 -0500
57
+
58
+ rake version gets info from gemspec. Again.
59
+
60
+ M Rakefile
61
+
62
+ ------------------------------------------------------------
63
+ Author: John Croisant <jacius@gmail.com>
64
+ Date: Sat Jul 4 21:24:15 2009 -0500
65
+
66
+ Added rake task: "bump:VERSION" (e.g. "rake bump:0.1")
67
+
68
+ Updates version (and date) in README.rdoc and gemspec.
69
+
70
+ M Rakefile
71
+
72
+ ------------------------------------------------------------
73
+ Author: John Croisant <jacius@gmail.com>
74
+ Date: Sat Jul 4 21:22:49 2009 -0500
75
+
76
+ nice-ffi.gemspec no longer reads version from README.rdoc.
77
+
78
+ M nice-ffi.gemspec
79
+
80
+ ------------------------------------------------------------
81
+ Author: John Croisant <jacius@gmail.com>
82
+ Date: Sat Jul 4 20:20:25 2009 -0500
83
+
84
+ Jump thru hoops to make sure ChangeLog.txt is included in the gem.
85
+
86
+ M Rakefile
87
+ M nice-ffi.gemspec
88
+
89
+ ------------------------------------------------------------
90
+ Author: John Croisant <jacius@gmail.com>
91
+ Date: Sat Jul 4 18:28:21 2009 -0500
92
+
93
+ Added documentation for PathSet.
94
+
95
+ M TODO.rdoc
96
+ M lib/nice-ffi/nicelibrary.rb
97
+ M lib/nice-ffi/pathset.rb
98
+
99
+ ------------------------------------------------------------
100
+ Author: John Croisant <jacius@gmail.com>
101
+ Date: Sat Jul 4 17:50:57 2009 -0500
102
+
103
+ Renamed PathSet#clear! and #clear to #delete! and #delete.
104
+
105
+ M lib/nice-ffi/pathset.rb
106
+ M nice-ffi.gemspec
107
+ M spec/pathset_spec.rb
108
+
109
+ ------------------------------------------------------------
110
+ Author: John Croisant <jacius@gmail.com>
111
+ Date: Sat Jul 4 17:49:15 2009 -0500
112
+
113
+ Added PathSet#<< (append) and PathSet#>> (prepend) aliases.
114
+
115
+ M lib/nice-ffi/pathset.rb
116
+
117
+ ------------------------------------------------------------
118
+ Author: John Croisant <jacius@gmail.com>
119
+ Date: Sat Jul 4 11:18:06 2009 -0500
120
+
121
+ Reordered Rakefile a bit.
122
+
123
+ M Rakefile
124
+
125
+ ------------------------------------------------------------
126
+ Author: John Croisant <jacius@gmail.com>
127
+ Date: Sat Jul 4 10:51:17 2009 -0500
128
+
129
+ Rake gem and package tasks autogenerate ChangeLog.txt.
130
+
131
+ M Rakefile
132
+
133
+ ------------------------------------------------------------
134
+ Author: John Croisant <jacius@gmail.com>
135
+ Date: Sat Jul 4 11:19:26 2009 -0500
136
+
137
+ .gitignore: ChangeLog.txt
138
+
139
+ M .gitignore
140
+
141
+ ------------------------------------------------------------
142
+ Author: John Croisant <jacius@gmail.com>
143
+ Date: Sat Jul 4 10:50:19 2009 -0500
144
+
145
+ Added ChangeLog.txt to rake clean list.
146
+
147
+ M Rakefile
148
+
149
+ ------------------------------------------------------------
150
+ Author: John Croisant <jacius@gmail.com>
151
+ Date: Sat Jul 4 10:45:34 2009 -0500
152
+
153
+ Added new rake task: changelog.
154
+
155
+ Generates ChangeLog.txt from git log using mkchangelog.rb.
156
+
157
+ M Rakefile
158
+
159
+ ------------------------------------------------------------
160
+ Author: John Croisant <jacius@gmail.com>
161
+ Date: Sat Jul 4 11:57:08 2009 -0500
162
+
163
+ Added scripts/mkchangelog.rb.
164
+
165
+ A scripts/mkchangelog.rb
166
+
167
+ ------------------------------------------------------------
168
+ Author: John Croisant <jacius@gmail.com>
169
+ Date: Sat Jul 4 11:59:40 2009 -0500
170
+
171
+ Rakefile uses getversion.rb.
172
+
173
+ M Rakefile
174
+
175
+ ------------------------------------------------------------
176
+ Author: John Croisant <jacius@gmail.com>
177
+ Date: Sat Jul 4 11:49:28 2009 -0500
178
+
179
+ Added scripts/getversion.rb.
180
+
181
+ A scripts/getversion.rb
182
+
183
+ ------------------------------------------------------------
184
+ Author: John Croisant <jacius@gmail.com>
185
+ Date: Sat Jul 4 08:02:28 2009 -0500
186
+
187
+ Updated version and date in README.rdoc.
188
+
189
+ Also fixed typo: aide --> aid
190
+
191
+ M README.rdoc
192
+
193
+ ------------------------------------------------------------
194
+ Author: John Croisant <jacius@gmail.com>
195
+ Date: Fri Jul 3 22:40:15 2009 -0500
196
+
197
+ Added new rake task: version.
198
+
199
+ M Rakefile
200
+
201
+ ------------------------------------------------------------
202
+ Author: John Croisant <jacius@gmail.com>
203
+ Date: Fri Jul 3 22:33:04 2009 -0500
204
+
205
+ nice-ffi.gemspec reads version from README.rdoc.
206
+
207
+ M nice-ffi.gemspec
208
+
209
+ ------------------------------------------------------------
210
+ Author: John Croisant <jacius@gmail.com>
211
+ Date: Fri Jul 3 21:57:58 2009 -0500
212
+
213
+ Updated TypedPointer class doc comment.
214
+
215
+ M lib/nice-ffi/typedpointer.rb
216
+
217
+ ------------------------------------------------------------
218
+ Author: John Croisant <jacius@gmail.com>
219
+ Date: Fri Jul 3 21:56:08 2009 -0500
220
+
221
+ Added rdoc task to Rakefile.
222
+
223
+ M Rakefile
224
+
225
+ ------------------------------------------------------------
226
+ Author: John Croisant <jacius@gmail.com>
227
+ Date: Fri Jul 3 21:30:57 2009 -0500
228
+
229
+ Fixed comment for Library::DEFAULT_PATHS.
230
+
231
+ [LIB] --> [NAME]
232
+
233
+ M lib/nice-ffi/nicelibrary.rb
234
+
235
+ ------------------------------------------------------------
236
+ Author: John Croisant <jacius@gmail.com>
237
+ Date: Fri Jul 3 21:15:29 2009 -0500
238
+
239
+ Added TODO.rdoc.
240
+
241
+ A TODO.rdoc
242
+
243
+ ------------------------------------------------------------
244
+ Author: John Croisant <jacius@gmail.com>
245
+ Date: Fri Jul 3 20:48:06 2009 -0500
246
+
247
+ Library.load_library and PathSet.find can take multiple names.
248
+
249
+ M lib/nice-ffi/nicelibrary.rb
250
+ M lib/nice-ffi/pathset.rb
251
+
252
+ ------------------------------------------------------------
253
+ Author: John Croisant <jacius@gmail.com>
254
+ Date: Fri Jul 3 20:19:04 2009 -0500
255
+
256
+ PathSet.find replaces [NAME] now, not [LIB].
257
+
258
+ M lib/nice-ffi/nicelibrary.rb
259
+ M lib/nice-ffi/pathset.rb
260
+
261
+ ------------------------------------------------------------
262
+ Author: John Croisant <jacius@gmail.com>
263
+ Date: Fri Jul 3 20:17:43 2009 -0500
264
+
265
+ Moved Library.find_library to PathSet.find.
266
+
267
+ M lib/nice-ffi/nicelibrary.rb
268
+ M lib/nice-ffi/pathset.rb
269
+
270
+ ------------------------------------------------------------
271
+ Author: John Croisant <jacius@gmail.com>
272
+ Date: Fri Jul 3 19:33:46 2009 -0500
273
+
274
+ Updated Library to use PathSet.
275
+
276
+ M lib/nice-ffi/nicelibrary.rb
277
+
278
+ ------------------------------------------------------------
279
+ Author: John Croisant <jacius@gmail.com>
280
+ Date: Fri Jul 3 17:59:47 2009 -0500
281
+
282
+ Added specs for PathSet (spec/pathset_spec.rb).
283
+
284
+ A spec/pathset_spec.rb
285
+
286
+ ------------------------------------------------------------
287
+ Author: John Croisant <jacius@gmail.com>
288
+ Date: Fri Jul 3 16:45:31 2009 -0500
289
+
290
+ Added spec tasks to Rakefile.
291
+
292
+ M Rakefile
293
+
294
+ ------------------------------------------------------------
295
+ Author: John Croisant <jacius@gmail.com>
296
+ Date: Fri Jul 3 16:45:12 2009 -0500
297
+
298
+ nicelibrary.rb needs{ pathset }.
299
+
300
+ M lib/nice-ffi/nicelibrary.rb
301
+
302
+ ------------------------------------------------------------
303
+ Author: John Croisant <jacius@gmail.com>
304
+ Date: Fri Jul 3 15:17:07 2009 -0500
305
+
306
+ Added class NiceFFI::PathSet (pathset.rb).
307
+
308
+ A lib/nice-ffi/pathset.rb
309
+
310
+ ------------------------------------------------------------
311
+ Author: John Croisant <jacius@gmail.com>
312
+ Date: Fri Jul 3 14:35:19 2009 -0500
313
+
314
+ Renamed Library::DEFAULT_PATHS to Library::LIBRARY_PATHS.
315
+
316
+ M lib/nice-ffi/nicelibrary.rb
317
+
318
+ ------------------------------------------------------------
319
+ Author: John Croisant <jacius@gmail.com>
320
+ Date: Fri Jul 3 04:53:50 2009 -0500
321
+
322
+ Library.load_library and find_library can take search paths.
323
+
324
+ M lib/nice-ffi/nicelibrary.rb
325
+
326
+ ------------------------------------------------------------
327
+ Author: John Croisant <jacius@gmail.com>
328
+ Date: Fri Jul 3 04:41:34 2009 -0500
329
+
330
+ Library.load_library no longer takes wrapper_module arg.
331
+
332
+ M lib/nice-ffi/nicelibrary.rb
333
+
334
+ ------------------------------------------------------------
335
+ Author: John Croisant <jacius@gmail.com>
336
+ Date: Fri Jul 3 04:29:49 2009 -0500
337
+
338
+ Added Library.find_library, refactored from load_library.
339
+
340
+ M lib/nice-ffi/nicelibrary.rb
341
+
342
+ ------------------------------------------------------------
343
+ Author: John Croisant <jacius@gmail.com>
344
+ Date: Fri Jul 3 14:43:37 2009 -0500
345
+
346
+ Yeah... it's not really heuristics. At all.
347
+
348
+ M README.rdoc
349
+
350
+ ------------------------------------------------------------
351
+ Author: John Croisant <jacius@gmail.com>
352
+ Date: Fri Jul 3 03:33:23 2009 -0500
353
+
354
+ Updated README.rdoc: Nice-FFI requires the need library.
355
+
356
+ M README.rdoc
357
+
358
+ ------------------------------------------------------------
359
+ Author: John Croisant <jacius@gmail.com>
360
+ Date: Fri Jul 3 03:25:05 2009 -0500
361
+
362
+ Added NiceFFI module and moved everything into it.
363
+
364
+ NiceLibrary --> NiceFFI::Library
365
+ NiceStruct --> NiceFFI::Struct
366
+ TypedPointer --> NiceFFI::TypedPointer
367
+
368
+ M README.rdoc
369
+ M lib/nice-ffi.rb
370
+ M lib/nice-ffi/nicelibrary.rb
371
+ M lib/nice-ffi/nicestruct.rb
372
+ M lib/nice-ffi/typedpointer.rb
373
+
374
+ ------------------------------------------------------------
375
+ Author: John Croisant <jacius@gmail.com>
376
+ Date: Tue Jun 30 08:43:57 2009 -0500
377
+
378
+ Moved platforms.rb functionality into NiceLibrary.
379
+
380
+ M lib/nice-ffi.rb
381
+ M lib/nice-ffi/nicelibrary.rb
382
+ D lib/nice-ffi/platforms.rb
383
+
384
+ ------------------------------------------------------------
385
+ Author: John Croisant <jacius@gmail.com>
386
+ Date: Tue Jun 30 08:37:53 2009 -0500
387
+
388
+ Fixed NiceStruct#to_hash when members is empty.
389
+
390
+ M lib/nice-ffi/nicestruct.rb
391
+
392
+ ------------------------------------------------------------
393
+ Author: John Croisant <jacius@gmail.com>
394
+ Date: Tue Jun 30 08:07:19 2009 -0500
395
+
396
+ Improved NiceStruct#to_s when there are no visible members.
397
+
398
+ M lib/nice-ffi/nicestruct.rb
399
+
400
+ ------------------------------------------------------------
401
+ Author: John Croisant <jacius@gmail.com>
402
+ Date: Tue Jun 30 06:17:51 2009 -0500
403
+
404
+ TypedPointer is no longer picky about class being FFI::Struct.
405
+
406
+ M lib/nice-ffi/typedpointer.rb
407
+
408
+ ------------------------------------------------------------
409
+ Author: John Croisant <jacius@gmail.com>
410
+ Date: Mon Jun 22 07:09:00 2009 -0500
411
+
412
+ Added class NiceLibrary (nicelibrary.rb).
413
+
414
+ M lib/nice-ffi.rb
415
+ A lib/nice-ffi/nicelibrary.rb
416
+
417
+ ------------------------------------------------------------
418
+ Author: John Croisant <jacius@gmail.com>
419
+ Date: Sun Jun 21 14:37:30 2009 -0500
420
+
421
+ Added Mac path: "/opt/local/lib/lib[LIB].dylib" (for Darwin Ports)
422
+
423
+ M lib/nice-ffi/platforms.rb
424
+
425
+ ------------------------------------------------------------
426
+ Author: John Croisant <jacius@gmail.com>
427
+ Date: Sun Jun 21 03:53:06 2009 -0500
428
+
429
+ Updated and expanded doc comments for NiceStruct.
430
+
431
+ M lib/nice-ffi/nicestruct.rb
432
+
433
+ ------------------------------------------------------------
434
+ Author: John Croisant <jacius@gmail.com>
435
+ Date: Sat Jun 20 21:40:03 2009 -0500
436
+
437
+ Added my guess at proper LIBRARY_PATHS for win32.
438
+
439
+ M lib/nice-ffi/platforms.rb
440
+
441
+ ------------------------------------------------------------
442
+ Author: John Croisant <jacius@gmail.com>
443
+ Date: Sat Jun 20 21:38:59 2009 -0500
444
+
445
+ Updated LIBRARY_PATHS for Mac.
446
+
447
+ Added: /sw/lib/lib[LIB].dylib
448
+ Removed: /usr/local/lib/lib[LIB].so
449
+
450
+ M lib/nice-ffi/platforms.rb
451
+
452
+ ------------------------------------------------------------
453
+ Author: John Croisant <jacius@gmail.com>
454
+ Date: Sat Jun 20 20:16:08 2009 -0500
455
+
456
+ NiceStruct handles NullPointerErrors more gracefully.
457
+
458
+ M lib/nice-ffi/nicestruct.rb
459
+
460
+ ------------------------------------------------------------
461
+ Author: John Croisant <jacius@gmail.com>
462
+ Date: Sat Jun 20 20:04:53 2009 -0500
463
+
464
+ NiceStruct struct-typed members are cached now.
465
+
466
+ This prevents a new object from being created every
467
+ time the member is read.
468
+
469
+ M lib/nice-ffi/nicestruct.rb
470
+
471
+ ------------------------------------------------------------
472
+ Author: John Croisant <jacius@gmail.com>
473
+ Date: Sat Jun 20 20:02:34 2009 -0500
474
+
475
+ NiceStruct rescues NameError when removing accessors.
476
+
477
+ M lib/nice-ffi/nicestruct.rb
478
+
479
+ ------------------------------------------------------------
480
+ Author: John Croisant <jacius@gmail.com>
481
+ Date: Sat Jun 20 18:17:27 2009 -0500
482
+
483
+ Added support for TypedPointers in NiceStruct.
484
+
485
+ NiceStruct#layout accepts TypedPointers as types and constructs
486
+ "smart" accessors for those members.
487
+
488
+ M lib/nice-ffi/nicestruct.rb
489
+
490
+ ------------------------------------------------------------
491
+ Author: John Croisant <jacius@gmail.com>
492
+ Date: Sat Jun 20 18:16:27 2009 -0500
493
+
494
+ Added class TypedPointer (typedpointer.rb).
495
+
496
+ A lib/nice-ffi/typedpointer.rb
497
+
498
+ ------------------------------------------------------------
499
+ Author: John Croisant <jacius@gmail.com>
500
+ Date: Sat Jun 20 03:00:03 2009 -0500
501
+
502
+ Added NiceStruct.read_only and NiceStruct.read_only?.
503
+
504
+ M lib/nice-ffi/nicestruct.rb
505
+
506
+ ------------------------------------------------------------
507
+ Author: John Croisant <jacius@gmail.com>
508
+ Date: Sat Jun 20 01:41:56 2009 -0500
509
+
510
+ Added NiceStruct.hidden and NiceStruct.hidden?.
511
+
512
+ M lib/nice-ffi/nicestruct.rb
513
+
514
+ ------------------------------------------------------------
515
+ Author: John Croisant <jacius@gmail.com>
516
+ Date: Sat Jun 20 03:08:10 2009 -0500
517
+
518
+ NiceStruct#to_s uses read accessor instead of #[].
519
+
520
+ M lib/nice-ffi/nicestruct.rb
521
+
522
+ ------------------------------------------------------------
523
+ Author: John Croisant <jacius@gmail.com>
524
+ Date: Fri Jun 19 18:42:18 2009 -0500
525
+
526
+ Added class NiceStruct (nicestruct.rb).
527
+
528
+ M lib/nice-ffi.rb
529
+ A lib/nice-ffi/nicestruct.rb
530
+
531
+ ------------------------------------------------------------
532
+ Author: John Croisant <jacius@gmail.com>
533
+ Date: Thu Jun 18 02:18:38 2009 -0500
534
+
535
+ Added platforms.rb.
536
+
537
+ M lib/nice-ffi.rb
538
+ A lib/nice-ffi/platforms.rb
539
+
540
+ ------------------------------------------------------------
541
+ Author: John Croisant <jacius@gmail.com>
542
+ Date: Tue Jun 16 01:04:24 2009 -0500
543
+
544
+ Added lib/nice-ffi.rb.
545
+
546
+ A lib/nice-ffi.rb
547
+
548
+ ------------------------------------------------------------
549
+ Author: John Croisant <jacius@gmail.com>
550
+ Date: Tue Jun 16 00:52:43 2009 -0500
551
+
552
+ Added Rakefile with gem task.
553
+
554
+ A Rakefile
555
+
556
+ ------------------------------------------------------------
557
+ Author: John Croisant <jacius@gmail.com>
558
+ Date: Tue Jun 16 00:26:52 2009 -0500
559
+
560
+ Added nice-ffi.gemspec.
561
+
562
+ A nice-ffi.gemspec
563
+
564
+ ------------------------------------------------------------
565
+ Author: John Croisant <jacius@gmail.com>
566
+ Date: Mon Jun 15 23:01:36 2009 -0500
567
+
568
+ Added README.rdoc.
569
+
570
+ A README.rdoc
571
+
572
+ ------------------------------------------------------------
573
+ Author: John Croisant <jacius@gmail.com>
574
+ Date: Mon Jun 15 14:40:39 2009 -0500
575
+
576
+ Added .gitignore.
577
+
578
+ *~
579
+ .\#*
580
+ \#*\#
581
+ pkg
582
+ html
583
+
584
+ A .gitignore
585
+
586
+ ------------------------------------------------------------
587
+ Author: John Croisant <jacius@gmail.com>
588
+ Date: Sun Jun 14 19:30:29 2009 -0500
589
+
590
+ Initial commit.