-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
26233 lines (15631 loc) · 835 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Wed Feb 7 09:35:32 2007 Koichi Sasada <[email protected]>
* this commit is a result of refactoring. only renaming functions,
moving definitions place, add/remove prototypes, deleting
unused variables and removing yarv.h.
This commit doesn't change any behavior of ruby/vm.
* yarv.h, common.mk: remove yarv.h (contents are moved to yarvcore.h).
* error.c, eval_intern.h: include yarvcore.h instead yarv.h
* rename some functions:
* debug.[ch]: debug_*() -> ruby_debug_*()
* iseq.c: iseq_*() -> rb_iseq_*(), ruby_iseq_disasm()
* iseq.c: node_name() -> ruby_node_name()
* vm.c: yarv_check_redefinition_opt_method() ->
rb_vm_check_redefinition_opt_method()
* some refactoring with checking -Wall.
* array.c: remove rb_ary_ptr() (unused) and remove unused
local variables.
* object.c: add a prototype of rb_mod_module_exec().
* eval_intern.h (ruby_cref): set it inline.
* eval_load.c (rb_load), yarvcore.c: yarv_load() -> rb_load_internal().
* parse.y: add a prototype of rb_parse_in_eval() (in eval.c).
* process.c: add a prototype of rb_thread_stop_timer_thread() (in thread.c).
* thread.c: remove raw_gets() function (unused) and fix some format
mismatch (format mismatchs have remained yet. this is todo).
* thread.c (rb_thread_wait_fd_rw): fix typo on label name.
* thread_pthread.ci: comment out codes with USE_THREAD_CACHE.
* vm.c (rb_svar, rb_backref_get, rb_backref_get,
rb_lastline_get, rb_lastline_set) : moved from yarvcore.c.
* vm.c (yarv_init_redefined_flag): add a prototype and rename
yarv_opt_method_table to vm_opt_method_table.
* vm.c (rb_thread_eval): moved from yarvcore.c.
* yarvcore.c: remove unused global variables and fix to use nsdr().
Wed Feb 7 03:39:32 2007 Koichi Sasada <[email protected]>
* blockinlining.c, compile.c, compile.h, error.c, eval.c,
eval_intern.h, eval_jump.h, eval_load.c, eval_method.h,
eval_safe.h, gc.c, insnhelper.h, insns.def, iseq.c, proc.c,
process.c, signal.c, thread.c, thread_pthread.ci, thread_win32.ci,
vm.c, vm.h, vm_dump.c, vm_evalbody.ci, vm_macro.def,
yarv.h, yarvcore.h, yarvcore.c: change type and macro names:
* yarv_*_t -> rb_*_t
* yarv_*_struct -> rb_*_struct
* yarv_tag -> rb_vm_tag
* YARV_* -> RUBY_VM_*
* proc.c, vm.c: move functions about env object creation
from proc.c to vm.c.
* proc.c, yarvcore.c: fix rb_cVM initialization place.
* inits.c: change Init_ISeq() order (after Init_VM).
* ruby.h, proc.c: change declaration place of rb_cEnv
from proc.c to ruby.c.
Tue Feb 06 22:06:45 2007 NARUSE, Yui <[email protected]>
* ext/nkf/nkf-utf8/{nkf.c,utf8tbl.c}:
imported nkf 2007-01-28.
* Fixed: can't decode MIME encode JIS string.
* Fixed: Fullwitdh-halfwidth conversion.
* Support DoCoMo's and Softbank's EMOJI
* Support CP932, CP5022x, eucJP-ms UDC
* Support UTF-32 encoding
* Support beyond BMP
[ruby-dev:29700] [ruby-dev:29922] [ruby-dev:30144]
Tue Feb 6 20:36:19 2007 Kouhei Sutou <[email protected]>
* lib/rss/rss.rb, lib/rss/parser.rb: followed current Ruby
specification. [ruby-dev:30274]
Tue Feb 6 20:29:44 2007 Kouhei Sutou <[email protected]>
* lib/rss/rss.rb, lib/rss/parser.rb: removed needless code for
backward compatibility.
Tue Feb 6 18:43:17 2007 Shugo Maeda <[email protected]>
* lib/net/ftp.rb: moved fixes for EPIPE to the correct
place. [ruby-core:10204]
Tue Feb 6 16:38:08 2007 Koichi Sasada <[email protected]>
* vm_opts.h: set properties:
svn:keywords: Author Date Id Revision
svn:eol-style: native
Tue Feb 6 15:55:46 2007 Yukihiro Matsumoto <[email protected]>
* variable.c (ivar_i): need to support class local instance
variables.
Tue Feb 6 15:44:11 2007 Koichi Sasada <[email protected]>
* compile.c (iseq_compile_each): fix setting is_local flag.
* yarvtest/test_class.rb: add a test for class local isntance variable.
Tue Feb 6 14:15:34 2007 Koichi Sasada <[email protected]>
* compile.c, insns.def: remove (get|set)instancevariable2 and add a
operand is_local to (get|set)instancevariable.
* yarvtest/test_class.rb: add a test for class local instance variable.
* parse.y (rb_decompose_ivar2): remove unused variable oid.
* tool/insns2vm.rb: remove needless require.
Tue Feb 6 11:18:41 2007 Shugo Maeda <[email protected]>
* lib/net/ftp.rb: check the control connection on EPIPE.
Thanks, Simon Williams. [ruby-core:9547]
Tue Feb 6 11:03:27 2007 Koichi Sasada <[email protected]>
* complement last commit.
* common.mk (*.inc): use VPATH.
* vm_opts.h: renamed from vm_opts.h.base.
Tue Feb 6 10:02:41 2007 Nobuyoshi Nakada <[email protected]>
* tool/insns2vm.rb: use vm_opts.h in VPATH.
Tue Feb 6 03:47:58 2007 Koichi Sasada <[email protected]>
* proc.c: support Binding#eval.
* yarvtest/test_eval.rb: add a test for above change.
Tue Feb 6 03:13:33 2007 Koichi Sasada <[email protected]>
* proc.c: refactoring (remove K&R style, move Binding stuffs from
Init_Proc() to Init_Binding()).
Tue Feb 6 01:07:14 2007 Koichi Sasada <[email protected]>
* intern.h: prepare rb_last_status_get() and rb_last_status_set().
Use these functions instead of rb_last_status ([ruby-dev:30264]).
* process.c: define above functions.
* ext/pty/pty.c: use above functins.
* io.c (pipe_finalize): ditto.
* process.c: ditto.
Mon Feb 5 21:26:56 2007 Koichi Sasada <[email protected]>
* ruby.h: add a prototype of rb_id2str().
Mon Feb 5 21:06:50 2007 Koichi Sasada <[email protected]>
* eval_thread.c, common.mk: remove eval_thread.c.
* yarvcore.c: rename cYarvThread to rb_cThread.
* gc.c: remove YARV_* prefix.
* gc.h: add an include guard and prototype of rb_gc_set_stack_end().
* inits.c: fix to ANSI prototype style and reorder Init_*().
* io.c (pipe_finalize): TODO: comment out last_status.
* process.c, yarvcore.h: fix to use yarv_vm_t#last_status instead of
rb_last_status and make last_status_get() to access $?.
* yarvcore.c (vm_mark): mark yarv_vm_t#last_status.
* ruby.h: add declarations of rb_cISeq and rb_cVM.
* thread.c: move eval_thread.c codes to thread.c and remove yarv_*
function prefix.
* thread.c (thread_start_func_2): use yarv_thread_t#first_func if
it is not null.
* vm.c: fix copyright year.
* yarvcore.c (Init_vm): rename to Init_VM().
Mon Feb 5 04:09:48 2007 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_frame_callee): check if prev_cfp can be accessible.
a patch from Yoshinori Sano <yoshinori.sano at gmail.com> in
[ruby-dev:30252]. solves [ruby-dev:30200] and [ruby-core:9856].
Sun Feb 4 20:34:41 2007 Kouhei Sutou <[email protected]>
* test/rss/rss-assertions.rb: removed needless code for backward
compatibility.
Sun Feb 4 02:22:59 2007 Akinori MUSHA <[email protected]>
* lib/cgi.rb (CGI::QueryExtension::read_multipart): Remove a debug
print.
Sat Feb 3 23:51:58 2007 Yukihiro Matsumoto <[email protected]>
* parse.y (rb_compose_ivar2): function to create a new ivar2
symbol from a symbol and a class. back-ported from matzruby.
* parse.y (rb_decompose_ivar2): reverse function of
rb_compose_ivar2().
* marshal.c (w_symbol): support class local instance variables.
* marshal.c (r_object0): ditto.
* compile.c (defined_expr): ditto.
* compile.c (iseq_compile_each): ditto.
* insns.def: add two new instructions: getinstancevariable2 and
setinstancevariable2.
Sat Feb 3 23:21:13 2007 Yukihiro Matsumoto <[email protected]>
* insns.def (setclassvariable): remove unnecessary operand.
* compile.c (iseq_compile_each): ditto.
* common.mk (insns_info.inc): add dependency for insns_info.inc.
Sat Feb 3 14:32:58 2007 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (ole_val2olevariantdata, ole_val2variant):
fix the bug of WIN32OLE_VARIANT.new when variant type is
VT_ARRAY.
* ext/win32ole/sample/excel1.rb: rewrite using WIN32OLE_VARIANT.
* test/win32ole/test_win32ole.rb: add some test.
* test/win32ole/test_win32ole_variant.rb: ditto.
Sat Feb 3 03:35:20 2007 Nobuyoshi Nakada <[email protected]>
* Makefile.in, */Makefile.sub, common.mk (vmasm): generalized.
* common.mk (runruby, benchmark, benchmark-each, tbench): use
PROGRAM for the file to be built.
* proc.c (yarv_proc_alloc): needs return.
* call_cfunc.ci, compile.c, compile.h, debug.h, eval.c,
eval_error.h, eval_jump.h, eval_load.c, eval_thread.c, gc.c,
insnhelper.h, insns.def, iseq.c, main.c, numeric.c, parse.y,
range.c, ruby.h, signal.c, thread.c, thread_win32.ci, vm.c,
vm.h, vm_dump.c, vm_evalbody.ci, yarvcore.c, yarvcore.h:
fixed indents and non-C90 comments.
* regenc.h: revert to before YARV.
* lib/mkmf.rb (create_makefile): make object files depend on
extconf.h even if depend file exists.
Fri Feb 2 23:39:42 2007 Yukihiro Matsumoto <[email protected]>
* common.mk (bin): add more dependency. a patch from Tadashi
Saito <shiba at mail2.accsnet.ne.jp>. [ruby-dev:30245]
Fri Feb 2 18:44:31 2007 Yukihiro Matsumoto <[email protected]>
* insns.def (setclassvariable): remove warn argument.
Fri Feb 2 18:36:40 2007 Yukihiro Matsumoto <[email protected]>
* common.mk (compile.$(OBJEXT)): add config.h to vm.c and
compile.c.
Fri Feb 2 18:27:54 2007 Yukihiro Matsumoto <[email protected]>
* eval.c: remove duplicated global variables rb_cProc and
rb_cBinding. [ruby-dev:30242]
Fri Feb 2 00:13:44 2007 Yukihiro Matsumoto <[email protected]>
* ruby.h (SYMBOL_P): make Symbol immediate again for performance.
* string.c: redesign symbol methods.
Thu Feb 1 23:25:21 2007 Nobuyoshi Nakada <[email protected]>
* parse.y (rb_id2str): store Strings for operator symbols.
[ruby-dev:30235]
Thu Feb 1 21:04:39 2007 Yukihiro Matsumoto <[email protected]>
* parse.y (assignable_gen): no need to generate NODE_CVDECL.
* compile.c (iseq_compile_each): no NODE_CVDECL.
Thu Feb 1 20:53:32 2007 Yukihiro Matsumoto <[email protected]>
* vm.c (eval_get_cvar_base): destination for class variable access
is now strictly innermost surrounding class or module. warned
if accessed from toplevel.
* variable.c (rb_cvar_get): new class variable look-up scheme:
1) look up in the class. 2) if the class is singleton attached
to a class (i.e. metaclass) then start look up in the attached
class and its ancestors. 3) otherwise, look-up in ancestors of
the class.
* eval.c (cvar_cbase): destination for class variable access is
the class/module that holds the method, or cbase outside of
methods.
Thu Feb 1 20:31:41 2007 Yukihiro Matsumoto <[email protected]>
* variable.c (rb_cvar_set): remove warn argument.
Wed Jan 31 14:52:09 2007 Yukihiro Matsumoto <[email protected]>
* test/ruby/test_iterator.rb (TestIterator::test_block_given_within_iterator):
add new test. [ruby-core:10125]
Tue Jan 30 17:01:21 2007 NAKAMURA Usaku <[email protected]>
* string.c (rb_str_sub_bang): calling rb_str_modify() should be just
before actually modifying the string.
fixed: [ruby-dev:30211] (originally reported by zunda)
Tue Jan 30 13:24:06 2007 Yukihiro Matsumoto <[email protected]>
* numeric.c (int_pred): add Integer#pred corresponding
Integer#succ. [RCR#5]
Tue Jan 30 12:05:35 2007 Nobuyoshi Nakada <[email protected]>
* mkconfig.rb: autoconf 2.61 support. [ruby-core:10016]
Mon Jan 29 23:52:32 2007 Yukihiro Matsumoto <[email protected]>
* tool/compile.rb: replace YARVCore by VM class.
Mon Jan 29 21:32:37 2007 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c: add WIN32OLE.locale=, WIN32OLE.locale,
WIN32OLE_VARIANT#vartype.
* test/win32ole/test_win32ole.rb: add test for WIN32OLE.locale=,
WIN32OLE.locale.
* test/win32ole/test_win32ole_variant.rb: add test for
WIN32OLE_VARIANT#vartype.
Mon Jan 29 14:14:35 2007 Yukihiro Matsumoto <[email protected]>
* tool/parse.rb: replace YARVCore by VM class.
http://d.hatena.ne.jp/ysano2005/20070128
Sun Jan 28 08:41:49 2007 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c: refactoring.
Sat Jan 27 18:36:33 2007 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (ole_val2olevariantdata): bug fix.
WIN32OLE_VARIANT.new check that 1st argument should T_ARRAY
when variant type is VT_ARRAY.
* test/win32ole/test_win32ole_variant.rb: add some test.
Fri Jan 26 23:55:56 2007 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c: bug fix of WIN32OLE_VARIANT when variant
type is VT_BYREF|VT_VARIANT.
* test/win32ole/test_win32ole_variant_with_ie.rb: ditto.
Fri Jan 26 12:03:39 2007 Hidetoshi NAGAI <[email protected]>
* ext/tk/lib/tk.rb (TkConfigMethod#__confinfo_cmd,
__conv_keyonly_optkeys): make them private [ruby-dev:30074].
* ext/tk/lib/tk/txtwin_abst.rb: fix typo [ruby-dev:30073].
* ext/tk/lib/tk/canvas.rb (TkCanvas#scan_dragto): lack of an argument.
* ext/tk/lib/tk/canvas.rb: clarify the including module name
[ruby-dev:30080].
* ext/tk/lib/tk/scrollable.rb: change primary name of modules
[ruby-dev:30080].
Fri Jan 26 07:48:57 2007 Yukihiro Matsumoto <[email protected]>
* enumerator.c (enumerator_init_copy): need to copy internal
structure on clone and dup. [ruby-dev:30192]
Wed Jan 24 20:34:51 2007 Kouhei Sutou <[email protected]>
* test/ruby/test_iterator.rb: removed a needless workaround.
Wed Jan 24 18:05:39 2007 Yukihiro Matsumoto <[email protected]>
* misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): fix
regexp font-lock bug. [ruby-talk:235758]
Tue Jan 23 18:26:12 2007 Yukihiro Matsumoto <[email protected]>
* lib/cgi.rb (CGI::QueryExtension::read_multipart): use == instead
of ===. [ruby-dev:30176]
Tue Jan 23 15:39:25 2007 NAKAMURA Usaku <[email protected]>
* Makefile.in, common.mk, configure.in, */{Makefile.sub, configure.bat,
setup.mak}: add --with-baseruby configure option.
Mon Jan 22 14:57:25 2007 Yukihiro Matsumoto <[email protected]>
* ext/socket/socket.c: fix errors in socket sample code.
[ruby-core:09992]
Sat Jan 20 21:05:18 2007 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (fole_s_set_code_page): WIN32OLE.codepage=
accepts installed codepage.
* test/win32ole/test_win32ole.rb (test_s_codepage_changed): ditto.
Sat Jan 20 11:18:49 2007 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (ole_invoke, ole_invoke2, ole_propertyput):
modify WIN32OLERuntimeError message.
* test/win32ole/test_win32ole.rb: ditto.
Sat Jan 20 06:45:21 2007 Yukihiro Matsumoto <[email protected]>
* eval_proc.c (method_receiver): add new method to get the bound
receiver of the method object. [ruby-talk:234949]
* eval_proc.c (method_name): new method to get the name of a
method.
* eval_proc.c (method_owner): a new method to get the class or
module that defines the method.
Fri Jan 19 17:12:23 2007 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (Init_win32ole): add WIN32OLE_VARIANT::Empty,
WIN32OLE_VARIANT::Null, WIN32OLE_VARIANT::Nothing.
* test/win32ole/test_win32ole_variant.rb: ditto.
* test/win32ole/test_nil2vtempty.rb(test_openSchema): ditto.
Fri Jan 19 06:53:38 2007 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (olevariant_free): fix memory leak.
* ext/win32ole/win32ole.c (ole_val2olevariantdata):
WIN32OLE_VARIANT.new accepts nil as first argument for some VARIANT
TYPE.
* test/win32ole/test_win32ole_variant.rb: ditto.
Wed Jan 17 17:31:28 2007 Koichi Sasada <[email protected]>
* some refactoring around yarvcore and proc.
* eval_proc.c: renamed to proc.c.
* common.mk: ditto.
* yarvcore.h, yarvcore.c: rename or remove some global variables
removed: mYarvCore, mYarvInsns
renamed: cYarvISeq -> rb_cISeq,
cYarvProc -> rb_cProc, cYarvBinding -> rb_cBinding
::YarvCore module is removed and ::YarvCore::VM class becomes ::VM.
And change/remove some functions which added with YARV.
* compile.c: ditto.
* eval.c: ditto.
* iseq.c: ditto.
* vm.c: ditto.
* inits.c: rename Init_yarvcore to Init_vm.
* yarvcore.c, proc.c: move some functions and initialization
from yarvcore.c to proc.c.
* intern.h, proc.c: add global function rb_binding_new(void).
Tue Jan 16 17:49:29 2007 Koichi Sasada <[email protected]>
* vm.c (eval_search_super_klass): rename to search_super_klass() and
use it by th_call_super().
* insns.def: ditto.
Tue Jan 16 17:48:11 2007 Koichi Sasada <[email protected]>
* common.mk: fix ruby script path.
Tue Jan 16 17:39:44 2007 Koichi Sasada <[email protected]>
* vm.c (invoke_block): fix to specify self.
Tue Jan 16 12:12:27 2007 Koichi Sasada <[email protected]>
* env.h: removed
Tue Jan 16 12:00:06 2007 Koichi Sasada <[email protected]>
* eval_proc.c (rb_proc_new): added.
* string.c (sym_to_proc): supported.
* vm.c (invoke_block, th_invoke_yield, th_invoke_proc): fix to support
rb_proc_new.
* yarvcore.c: add a test code.
Sat Jan 13 23:24:59 2007 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (ole_free, ole_type_free,
olemethod_free, olevariable_free, oleparam_free,
ole_event_free): fix memory leak. [ruby-core:09846]
Wed Jan 10 00:10:23 2007 Nobuyoshi Nakada <[email protected]>
* array.c (rb_ary_replace): use ptr and len of orig instead of
shared. fixed: [ruby-dev:30116]
Tue Jan 9 12:29:20 2007 Nobuyoshi Nakada <[email protected]>
* ext/etc/etc.c (etc_getpwuid, etc_getgrgid): fix to correctly
convert uid/gid from VALUE.
* ext/etc/etc.c (etc_getpwuid): ditto.
Tue Jan 9 03:54:38 2007 Yukihiro Matsumoto <[email protected]>
* string.c (rb_str_upto): String#upto from empty string makes
inifinite loop. [ruby-core:09864]
* string.c (rb_str_upto): use RSTRING_LEN().
Sun Jan 7 18:36:05 2007 Koichi Sasada <[email protected]>
* thread.c (rb_thread_stop_timer_thread(), rb_thread_reset_timer_thread(),
rb_thread_start_timer_thread()): added.
* thread_pthread.ci: add a native_thread_join() and move
rb_thread_reset_timer_thread() definition to thread.c.
* thread_win32.ci: ditto
* process.c: fix before_exec(), after_exec() to stop timer thread
(and restart timer thread if exec failed). and fix to reset
timer thread information when forked child process starts
(to fix [ruby-core:09822]).
Sun Jan 7 18:28:17 2007 Koichi Sasada <[email protected]>
* common.mk: add a "compare" rule and fix MATZRUBY variable
Sun Jan 7 17:47:16 2007 Masaki Suketa <[email protected]>
* test/win32ole/test_win32ole.rb: add test for WIN32OLE#[],
WIN32OLE#[]=.
* ext/win32ole/win32ole.c: update comment for rdoc of
WIN32OLE#[] and WIN32OLE#[]=.
Sun Jan 7 12:13:26 2007 Eric Hodel <[email protected]>
* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#find_class_comment):
Look for class and module comments above rb_define_class and
rb_define_module. Patch by Daniel Berger <djberg96 at gmail.com>
Sun Jan 7 10:32:12 2007 Eric Hodel <[email protected]>
* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#handle_constants):
Properly handle escaping of : in comments.
* test/rdoc/parsers/test_parse_c.rb:
Test RDoc::C_Parser#do_classes and Rdoc::C_Parser#find_class_comment.
Sun Jan 7 09:31:18 2007 Tadayoshi Funaba <[email protected]>
* lib/date/format.rb: updated based on date2 4.0.1.
Sat Jan 6 18:46:34 2007 Nobuyoshi Nakada <[email protected]>
* io.c (rb_io_getline_fast, rb_io_getline): increase lineno
when met the delimiter or EOF. fixed: [ruby-dev:30081]
* io.c (prepare_getline_args, rb_io_getline_1): split
preparation of arguments and reading. [ruby-dev:30085]
Sat Jan 6 13:48:36 2007 Koichi Sasada <[email protected]>
* insns.def (send): fix to optimize send() with Symbol.
* yarvtest/test_method.rb: add another test.
Sat Jan 6 13:43:55 2007 Koichi Sasada <[email protected]>
* common.mk: add PHONY dependency to some rules
Sat Jan 6 11:50:33 2007 Yukihiro Matsumoto <[email protected]>
* io.c (argf_read): fix wrong replacement. [ruby-dev:30070]
Sat Jan 6 09:10:52 2007 Koichi Sasada <[email protected]>
* insns.def: support direct method dispatch with "send" or "funcall".
This means that "obj.send :m" skips "BasicObject#send" invocation
(method frame creation, etc) and "obj.m" invokes directly.
If you make backtrace, there are no enties of "send" method.
* compile.c (iseq_specialized_instruction): fix to support above
* eval.c: ditto (remove "static" from rb_f_send and rb_f_funcall
* yarvcore.c: ditto (add a external IDs for compiler)
* yarvcore.h: ditto (add a VM_CALL_SEND_BIT macro)
* yarvtest/test_method.rb: add tests for above changes
* eval.c: remove unused "Kernel#send" declaration
Sat Jan 6 08:29:17 2007 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c (Init_win32ole): add
WIN32OLE::VARIANT::VT_EMPTY, WIN32OLE::VARIANT::VT_NULL
* test/win32ole/test_win32ole_variant_m.rb (test_variant): ditto.
Sat Jan 6 03:49:22 2007 Koichi Sasada <[email protected]>
* benchmark/run.rb: change option format
* common.mk: ditto
Fri Jan 5 22:21:08 2007 Koichi Sasada <[email protected]>
* benchmark/bm_app_pentomino.rb: use Array#dup instead of
Array#clone
* benchmark/bmx_temp.rb: removed
* benchmark/run.rb: use run.rb instead of run_rite.rb
* common.mk: ditto
* benchmark/run_rite.rb: removed
* common.mk: use $(srcdir)/test.rb to run a test program
with "make run"
* benchmark/bmx_temp.rb: removed and
set svn:ignore (bmx_*.rb) to benchmark/
* test.rb: set svn:ignore
Fri Jan 5 21:03:08 2007 Koichi Sasada <[email protected]>
* yarvtest/yarvtest.rb: fix to compare results
Fri Jan 5 20:52:56 2007 Koichi Sasada <[email protected]>
* compile.c, compile.h: add ADD_CALL_RECEIVER() macro.
* insns.def (send): use GET_SELF() direct if FCALL.
* eval.c (rb_f_send): check method dispatch type to permit
invoking private method when dispatch type is FCALL/VCALL
* insns.def (opt_ltlt): remove useless statement.
* vm.h: remove unused macros.
Fri Jan 5 20:50:31 2007 Koichi Sasada <[email protected]>
* benchmark/run_rite.rb: fix to use readlines instead of
read(...).lines (because 1.8 doesn't have String#lines).
Fri Jan 5 20:28:19 2007 Koichi Sasada <[email protected]>
* thread_win32.ci (rb_thread_reset_timer_thread):
added ([ruby-dev:30086]).
Fri Jan 5 20:20:36 2007 Koichi Sasada <[email protected]>
* common.mk: add .SUFFIXES rule
Fri Jan 5 15:58:15 2007 Koichi Sasada <[email protected]>
* eval_method.h (rb_alias): fix to check search result
Fri Jan 5 13:59:53 2007 Koichi Sasada <[email protected]>
* eval_method.h (rb_add_method): fix to check old_node
Fri Jan 5 12:03:07 2007 Koichi Sasada <[email protected]>
* compile.c (iseq_compile_each, set_block_local_tbl):
support NODE_LAMBDA (partly).
* sample/test.rb: restore test of NODE_LAMBDA
* test/ruby/test_lambda.rb: ditto
Fri Jan 5 12:31:23 2007 GOTOU Yuuzou <[email protected]>
* thread_pthread.ci (native_sleep): fix tv_nsec overflow.
Thu Jan 4 20:01:29 2007 Koichi Sasada <[email protected]>
* common.mk: rename yarv-test-[all/each] to compare-test[/-each].
purpose of "compare-test" rule is to compare ruby (trunk) and
matzruby (branches/matzruby) binary in miniruby level. MATZRUBY
parameter means an path to miniruby of matzruby binary. to do this
comparison test, you should build matzruby branch.
* yarvtest/yarvtest.rb: fix to use command line option as
command names to be compared.
* yarvtest/runner.rb: remove a debug output.
Thu Jan 4 19:12:27 2007 Koichi Sasada <[email protected]>
* common.mk: fix to use test.rb script in build directory.
($(srcdir)/test.rb -> test.rb)
Thu Jan 4 17:28:05 2007 GOTOU Yuuzou <[email protected]>
* lib/webrick/utils.rb (WEBrick::Utils::TimeoutHandler#initialize):
Arrays could not be modified in its each block. [ruby-dev:30063]
Thu Jan 4 16:57:14 2007 Koichi Sasada <[email protected]>
* yarv_version.h: removed.
* common.mk: remove yarv_version.h from rules
* yarvcore.h (Init_yarvcore): remove useless constants
Thu Jan 4 17:00:06 2007 GOTOU Yuuzou <[email protected]>
* ext/openssl/ossl_asn1.c (Init_ossl_asn1):
OpenSSL::ASN1::ASN1Data#value,#tag,#tag_class and
OpenSSL::ASN1::BitString#unused_bits should be public.
Thu Jan 04 13:45:10 2007 Koichi Sasada <[email protected]>
* thread_pthread.ci: fix last changes around PTHREAD_STACK_MIN.
Thu Jan 04 13:42:47 2007 Koichi Sasada <[email protected]>
* common.mk: restore changes.
Thu Jan 04 10:33:54 2007 Koichi Sasada <[email protected]>
* thread_pthread.ci: fix to skip using PTHREAD_STACK_MIN.
[ruby-dev:30063]
Thu Jan 04 10:30:11 2007 Koichi Sasada <[email protected]>
* benchmark/run_rite.rb (bm): fix to use lines.
Wed Jan 3 18:49:15 2007 Yukihiro Matsumoto <[email protected]>
* io.c (rb_io_getline): lineno update condition was wrong.
[ruby-dev:30065]
* io.c (rb_io_getline_fast): ditto.
Wed Jan 3 11:36:51 2007 Yukihiro Matsumoto <[email protected]>
* io.c (ruby_dup): start GC on ENOMEM as well.
Tue Jan 2 10:29:54 2007 Eric Hodel <[email protected]>
* ext/zlib/zlib.c: fix to compile on YARV
ruby_errinfo -> rb_errinfo()
Mon Jan 01 08:07:06 2007 Koichi Sasada <[email protected]>
* ext/tk/tcltklib.c: fix to compile on YARV
ruby_errinfo -> rb_errinfo(),
ruby_safe_level -> rb_safe_level().
Mon Jan 01 07:57:17 2007 Koichi Sasada <[email protected]>
* test/drb/test_drbssl.rb: fix to skip drb tests.
Mon Jan 1 06:13:11 2007 Eric Hodel <[email protected]>
* lib/rdoc/parsers/c_parser.rb: Make Rdoc accessible. Update constant
value information.
Mon Jan 1 06:13:11 2007 Eric Hodel <[email protected]>
* ext/bigdecimal/bigdecimal.c: Update constant comments to provide
values for RDoc.
Mon Jan 1 06:05:55 2007 Eric Hodel <[email protected]>
* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#handle_constansts):
Allow RDoc comment to give friendly value for rb_define_const. Patch
by Daniel Berger <djberg96 at gmail.com>, [ruby-patches-7499].
* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser#handle_constansts): Fix
whitespace handling in constant comments.
Mon Jan 01 00:00:00 2007 Koichi Sasada <[email protected]>
* Merge YARV
Sun Dec 31 16:22:48 2006 Eric Hodel <[email protected]>
* array.c: Fix Array#reject.
Sun Dec 31 00:46:25 2006 Tadayoshi Funaba <[email protected]>
* lib/date2.rb: removed.
Sun Dec 31 00:15:13 2006 Tadayoshi Funaba <[email protected]>
* lib/date.rb, lib/date/format.rb: updated based on date2 4.0.
Sat Dec 30 04:38:23 2006 Yukihiro Matsumoto <[email protected]>
* enum.c (enum_each_with_index): reuse array for yield parameters.
* enum.c (enum_min, enum_max): ditto.
Sat Dec 30 04:25:29 2006 Yukihiro Matsumoto <[email protected]>
* enum.c (enum_inject): reuse array for yield parameters.
Sat Dec 30 02:54:22 2006 Yukihiro Matsumoto <[email protected]>
* ext/stringio/stringio.c (strio_gets): accepts limit argument.
* ext/stringio/stringio.c (strio_readline, strio_each,
strio_readlines): ditto.
Sat Dec 30 02:22:32 2006 Yukihiro Matsumoto <[email protected]>
* ext/stringio/stringio.c (strio_getline): add limit capability.
* io.c (rb_io_gets_m): accepts limit argument. [ruby-talk:231563]
* io.c (rb_io_readline, rb_io_readlines, rb_io_each_line, argf_getline):
ditto.
* io.c (appendline): add limit capability.
* io.c (rb_io_getline_fast, rb_io_getline): ditto.
* io.c (rb_io_getline): small refactoring for DRY.
* io.c (rb_io_s_foreach, rb_io_s_readlines): small refactoring.
Thu Dec 28 15:27:38 2006 Yukihiro Matsumoto <[email protected]>
* lib/cgi.rb (CGI::Cookie::initialize): use Array() again.
[ruby-core:09781]
Wed Dec 27 20:52:32 2006 Masaki Suketa <[email protected]>
* ext/win32ole/win32ole.c: remove WIN32OLE::PROPERTY class.
* ext/win32ole/tests/testWIN32OLE.rb: ditto.
Wed Dec 27 10:04:11 2006 Yukihiro Matsumoto <[email protected]>
* object.c (rb_Array): returns 1-element array if the argument
does not have to_ary nor to_a.
Tue Dec 26 21:02:14 2006 Masaki Suketa <[email protected]>
* test/win32ole/test_folderitem2_invokeverb.rb: The argument
of Shell.NameSpace should not be file path.
Tue Dec 26 06:13:08 2006 Minero Aoki <[email protected]>
* ext/bigdecimal/bigdecimal.c: remove useless method
BigDecimal#!=. [ruby-dev:30050]
Thu Dec 21 15:37:17 2006 Yukihiro Matsumoto <[email protected]>
* string.c (rb_str_slice_bang): rdoc description bug fixed.
[ruby-core:09754]
Wed Dec 20 12:54:31 2006 Koichi Sasada <[email protected]>
* Convert CVS repository to Subversion repository.
Mon Dec 18 08:36:29 2006 Yukihiro Matsumoto <[email protected]>
* lib/cgi.rb (CGI::Cookie::initialize): Array(string) no longer
works. [ruby-core:09738]
Fri Dec 15 00:19:53 2006 Nobuyoshi Nakada <[email protected]>
* win32/Makefile.sub (COMPILE_RULES): latter rule has higher priority.
* lib/mkmf.rb (create_makefile): remove static library before update,
to get rid of sludge of Borland tlib.exe.
Thu Dec 14 18:29:13 2006 Yukihiro Matsumoto <[email protected]>
* ext/readline/readline.c: NetBSD editline does not have
rl_username_completion_function() and rl_completion_matches().
a patch from Takahiro Kambe <taca at back-street.net>.
[ruby-dev:30008]
Thu Dec 14 18:20:43 2006 Yukihiro Matsumoto <[email protected]>
* lib/irb/locale.rb (IRB::Locale::puts): typo fixed. a patch from
NAKAMURA Usaku <[email protected]>. [ruby-dev:30012]
Tue Dec 12 23:33:53 2006 Nobuyoshi Nakada <[email protected]>
* lib/optparse.rb (Switch#parse_arg, Switch#conv_arg): splat failures.
Mon Dec 11 11:51:10 2006 Akinori MUSHA <[email protected]>
* ext/digest/sha2/lib/sha2.rb: Moved one level up from under
the superfluous subdirectory digest/.
Mon Dec 11 11:46:18 2006 Yukihiro Matsumoto <[email protected]>
* variable.c (rb_define_const): typo fixed.
Mon Dec 11 09:36:29 2006 Yukihiro Matsumoto <[email protected]>
* string.c (rb_str_aset): index double decode problem.
[ruby-core:09695]
Sat Dec 9 21:39:24 2006 Nobuyoshi Nakada <[email protected]>
* eval.c (ruby_cleanup): keep the exception till after END blocks.
[ruby-core:09675]
Sat Dec 9 11:22:00 2006 Yukihiro Matsumoto <[email protected]>
* lib/irb/locale.rb (IRB::Locale::search_file): ues File.exist?
instead of File.exists?. a patch from Yutaka Kanemoto
<kinpoco at gmail.com> in [ruby-dev:30000].
Fri Dec 8 18:11:18 2006 NAKAMURA Usaku <[email protected]>
* lib/optparse.rb: cannot put :nodoc: before method definition.
put after it.
Fri Dec 8 17:00:13 2006 NAKAMURA Usaku <[email protected]>
* bin/rdoc: ues File.exist? instead of File.exists?.
Thu Dec 7 23:50:21 2006 Yukihiro Matsumoto <[email protected]>
* object.c (Init_Object): new method Dir.exist?(path).
[ruby-core:09663]
* file.c (Init_File): remove File.exists?; use File.exist?
instead.
* file.c: rename functions to test_* to rb_file_*_p.
Thu Dec 7 09:29:02 2006 Yukihiro Matsumoto <[email protected]>
* lib/weakref.rb (WeakRef::__setobj__): should support
marshaling. [ruby-talk:228508]
Wed Dec 6 23:58:36 2006 Nobuyoshi Nakada <[email protected]>