-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
19570 lines (10906 loc) · 582 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 Jan 15 15:18:38 2003 moumar <[email protected]>
* configure.in (ARCHFILE): set even unless --enable-shared on
AIX. [ruby-talk:61466]
* marshal.c (math.h): should be included after ruby.h on AIX.
[ruby-talk:61366]
Tue Jan 14 21:47:56 2003 Nobuyoshi Nakada <[email protected]>
* eval.c (rb_f_require): do not search adding .rb/.so suffixes if
the suffix specifiched. [ruby-dev:18702]
http://moonrock.jp/~don/d/200211.html#d08_t1
Tue Jan 14 18:36:41 2003 Yukihiro Matsumoto <[email protected]>
* enum.c (enum_all): now works without block.
* enum.c (enum_any): ditto.
Tue Jan 14 01:21:32 2003 Nobuyoshi Nakada <[email protected]>
* io.c (next_argv): not always set binmode.
Mon Jan 13 20:45:19 2003 Guy Decoux <[email protected]>
* parse.y (list_append): avoid O(n) search using node->nd_next->nd_end.
* parse.y (list_append): ditto.
* eval.c (rb_eval): NODE_ARRY nd_end adoption.
Mon Jan 13 02:22:11 2003 WATANABE Hirofumi <[email protected]>
* ext/dl/lib/dl/win32.rb: elimitate unnecessary "A" adding.
Sun Jan 12 16:07:17 2003 WATANABE Hirofumi <[email protected]>
* io.c (next_argv): inherit binmode from $defout.
Sat Jan 11 22:50:47 2003 WATANABE Hirofumi <[email protected]>
* ext/dl/lib/dl/win32.rb: compatibility improvement.
Sat Jan 11 01:44:16 2003 Nobuyoshi Nakada <[email protected]>
* configure.in (RUBY_CHECK_IO_NEED): added more tests.
* io.c (rb_io_check_readable): seek after synchronized write.
Fri Jan 10 01:23:45 2003 Nobuyoshi Nakada <[email protected]>
* misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): syntax
classes are not allowed inside character classes.
[ruby-talk:60996]
Thu Jan 9 23:28:01 2003 Nobuyoshi Nakada <[email protected]>
* configure.in: AC_MSG_FAILURE is a new macro in 2.54b or later.
Thu Jan 09 17:05:24 2003 Nobuyoshi Nakada <[email protected]>
* configure.in (RUBY_CHECK_IO_NEED): check whether fseek() and
fflush() are needed.
* io.c (flush_before_seek): flush write stream only.
* io.c (rb_io_check_readable): seek instead of flush if the last
operation was write.
* io.c (rb_io_check_writable): seek instead of flush if the last
operation was read.
* bcc32/Makefile.sub, win32/Makefile.sub: needs to seek between
R/W.
Thu Jan 9 16:31:51 2003 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_eval): should not discard nested NODE_BLOCK.
Thu Jan 9 15:12:30 2003 Yukihiro Matsumoto <[email protected]>
* parse.y (stmt): NODE_NOT elimitation for if/unless/while/until node.
* parse.y (primary): ditto.
Thu Jan 9 13:26:18 2003 Akinori MUSHA <[email protected]>
* st.h, st.c: Back out the introduction of st_*_func_t. Some
compilers complain about function type mismatch.
Thu Jan 9 02:10:44 2003 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_eval): reduce recursive rb_eval() call by using sort
of continuation passing style.
Wed Jan 08 17:10:32 2003 NAKAMURA Usaku <[email protected]>
* ext/Win32API/lib/win32/registry.rb: added. [new]
Wed Jan 8 15:54:05 2003 Yukihiro Matsumoto <[email protected]>
* eval.c: remove ruby_last_node and assignments seems to be
unnecessary
* intern.h: debug does not run if ID_ALLOCATOR is zero.
Wed Jan 8 15:04:11 2003 Yukihiro Matsumoto <[email protected]>
* range.c (range_each): treat fixnums specially to boost.
* numeric.c (num_step): remove rb_scan_args() for small speedup.
Tue Jan 7 17:56:08 2003 Yukihiro Matsumoto <[email protected]>
* eval.c (svalue_to_avalue): should return converted array.
Tue Jan 7 07:48:01 2003 Nobuyoshi Nakada <[email protected]>
* eval.c (rb_f_local_variables): skip $_, $~ and flip states in
dynamic variables. [ruby-core:00681]
Tue Jan 7 02:46:29 2003 Yukihiro Matsumoto <[email protected]>
* hash.c (env_clear): new Hash compatible method.
* hash.c (env_shift): ditto.
* hash.c (env_invert): ditto.
* hash.c (env_replace): ditto.
* hash.c (env_update): ditto.
Mon Jan 6 23:36:29 2003 Akinori MUSHA <[email protected]>
* st.h, st.c: Introduce new conventional typedef's, st_data_t,
st_compare_func_t, st_hash_func_t and st_each_func_t.
* st.h, st.c: Do explicit function declarations and do not rely on
implicit declarations.
* class.c, eval.c, gc.c, hash.c, marshal.c, parse.y, variable.c:
Add proper casts to avoid warnings.
Mon Jan 6 20:44:43 2003 Akinori MUSHA <[email protected]>
* intern.h (rb_check_array_type): Declare rb_check_array_type().
* ext/digest/md5/md5ossl.c: Include stdio.h for sprintf() and
string.h for memcmp().
* ext/dl/ptr.c: Include ctype.h for isdigit().
Mon Jan 6 18:43:17 2003 NAKAMURA Usaku <[email protected]>
* file.c: improve DOSISH drive letter support.
Mon Jan 6 18:31:45 2003 WATANABE Hirofumi <[email protected]>
* lib/fileutils.rb (ln): add ' -f' in the verbose message.
* lib/fileutils.rb (cp_r): add 'p' in the verbose message.
Mon Jan 6 16:44:52 2003 Yukihiro Matsumoto <[email protected]>
* array.c (rb_ary_join): dispatch based on "to_str".
* array.c (rb_ary_times): ditto.
* array.c (rb_ary_equal): ditto.
* process.c (rb_f_exec): dispatch based on "to_ary".
Mon Jan 6 13:26:35 2003 NAKAMURA Usaku <[email protected]>
* process.c (proc_exec_v): follow to proc_spawn_v(). call do_aspawn()
on Win32.
* process.c (rb_proc_exec): call do_spawn() on Win32.
* win32/win32.c, win32/win32.h (do_spawn, do_aspawn): add mode flag.
* process.c (proc_spawn_v, rb_f_system): follow above change.
Mon Jan 06 05:11:15 2003 Nobuyoshi Nakada <[email protected]>
* ext/extmk.rb: make $0 normal variable.
Mon Jan 6 02:32:46 2003 Nobuyoshi Nakada <[email protected]>
* struct.c (make_struct): needs meta class.
Sun Jan 5 22:54:05 2003 WATANABE Hirofumi <[email protected]>
* lib/fileutils.rb (ln): `argv' is not a argument.
Sun Jan 5 17:44:37 2003 Nobuyoshi Nakada <[email protected]>
* ext/extmk.rb (extmake): set $0 temporarily while loading
extconf.rb.
Sun Jan 5 14:46:46 2003 WATANABE Hirofumi <[email protected]>
* instruby.rb: need paren in regexp(make -n install).
* ext/extmk.rb (sysquote): do not need to quote on mswin/bccwin/mingw.
* ext/extm.rb ($mflags): uniq items and remove '-' and '--'.
move options to the lead.
* lib/fileutils.rb (install): model on the real install
command(message).
Sun Jan 5 09:36:46 2003 Nobuyoshi Nakada <[email protected]>
* ruby.c (ruby_init_loadpath): under Windows, get the module
path from an internal address instead of hard coded library
name.
* cygwin/GNUmakefile.in, bcc32/Makefile.sub,
win32/Makefile.sub (CPPFLAGS): removed LIBRUBY_SO macro.
* bcc32/Makefile.sub, win32/Makefile.sub (config.h): no longer
depends on makefiles.
Sun Jan 5 04:17:05 2003 Akinori MUSHA <[email protected]>
* gc.c (SET_STACK_END): Issue a FLUSH_REGISTER_WINDOWS here too.
This fixes make test on FreeBSD/sparc64.
Sun Jan 5 03:43:47 2003 Akinori MUSHA <[email protected]>
* defines.h (FLUSH_REGISTER_WINDOWS): Make the flushw call an
inline function so it can be used as an expression.
* eval.c (EXEC_TAG, THREAD_SAVE_CONTEXT): Consistently call
FLUSH_REGISTER_WINDOWS before calling setjmp(). (I suspect that
every setjmp() implementation should take care of register
windows, though)
Sun Jan 5 03:12:32 2003 NAKAMURA Usaku <[email protected]>
* file.c (utimbuf): use utimbuf instead of _utimbuf if defined _WIN32.
* win32/Makefile.sub (LIBS): use oldnames.lib.
* win32/win32.c (rb_w32_getcwd): follow above change.
* win32/win32.h: ditto.
* wince/direct.c, wince/direct.h (getcwd): ditto.
* wince/io.h: ditto.
* wince/string.c, wince/wince.h (stricmp, strnicmp): ditto.
Sat Jan 4 15:18:50 2003 NAKAMURA Usaku <[email protected]>
* process.c (rb_proc_exec): use same logic as DJGPP on win32 ports.
* process.c (rb_f_system): ditto.
* win32/win32.c, win32/win32.h (do_aspawn): [new]. for arrayed
arguments.
* win32/win32.c (CreateChild): add new argument for real filename of
executing process.
* win32/win32.c (NtHasRedirection, pipe_exec): follow above change.
Sat Jan 4 14:29:52 2003 NAKAMURA Usaku <[email protected]>
* configure.in: set rb_cv_need_io_flush_between_seek=yes.
* win32/Makefile.sub (config.h): define NEED_IO_FLUSH_BETWEE_SEEK.
(pointed out by moriq [ruby-dev:19299])
Sat Jan 4 03:12:14 2003 Yukihiro Matsumoto <[email protected]>
* eval.c (umethod_bind): exact class match is not required. relax
the restriction to subclasses.
Sat Jan 4 01:33:40 2003 Nobuyoshi Nakada <[email protected]>
* file.c (rb_file_s_lchmod): get rid of gcc-3 -O3 warning.
Fri Jan 3 22:26:07 2003 Nobuyoshi Nakada <[email protected]>
* process.c (rb_proc_times): need to initialize first.
Fri Jan 3 01:10:17 2003 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_eval): call "inherited" before executing class body.
* class.c (rb_define_class): call "inherited" after defining the
constant.
* class.c (rb_define_class_under): ditto.
Thu Jan 2 19:37:30 2003 Yukihiro Matsumoto <[email protected]>
* eval.c (massign): expand first element if RHS is an array and
its size is 1, and LHS has concrete assignment target (i.e. LHS
has target(s) other than *var).
* eval.c (massign): avoid unnecessary avalue/svalue conversion.
* eval.c (rb_yield_0): ditto
* array.c (rb_ary_update): do not allocate unused array if rpl is
nil (i.e. merely removing elements).
Thu Jan 2 13:55:08 2003 Mathieu Bouchard <[email protected]>
* io.c (io_read): should resize supplied string if it's shorter
than expected.
Thu Jan 02 11:01:20 2003 Nobuyoshi Nakada <[email protected]>
* eval.c (bmcall): arguments should be an array.
Wed Jan 1 18:18:45 2003 WATANABE Hirofumi <[email protected]>
* configure.in: better DJGPP support. add GNUmakefile.
* djgpp/GNUmakefile: new.
Wed Jan 1 04:16:18 2003 Akinori MUSHA <[email protected]>
* node.h (struct RNode): Change argc from int to long. Otherwise
NEW_CFUNC() sets argc to a wrong value on platforms where
sizeof(int) != sizeof(long) and the byte order is big-endian.
This fixes breakage on FreeBSD/sparc64.
Tue Dec 31 23:22:50 2002 Yukihiro Matsumoto <[email protected]>
* eval.c (massign): removed awkward conversion between yvalue,
mvalue, etc.
* eval.c (rb_yield_0): new parameter added to tell whether val is
an array value or not.
* parse.y (yield_args): restructuring: new nodes: NODE_RESTARY2,
NODE_SVALUE; removed node: NODE_RESTARGS.
Tue Dec 31 21:13:51 2002 WATANABE Hirofumi <[email protected]>
* Makefile.in, {win32,bcc32}/Makefile.sub: add new target:
what-where, no-install.
* mkconfig.rb: add const: CROSS_COMPILING.
* ext/extmk.rb: no-install support. add MAKEDIRS macro.
* lib/mkmf.rb: add !ifdef .. !endif for Borland make.
* process.c: improve DJGPP support. system "ls", "-l".
Tue Dec 31 20:16:37 2002 Akinori MUSHA <[email protected]>
* ext/socket/addrinfo.h (NI_MAXHOST): Define NI_MAXHOST and
NI_MAXSERV only if they are not defined yet. This fixes build
on such platforms as OpenBSD.
Tue Dec 31 20:07:49 2002 Akinori MUSHA <[email protected]>
* ext/tcltklib/extconf.rb (find_tcl, find_tk): Look for both
lib{tcl,tk}M.N and lib{tcl,tk}MN on all platforms. *BSD have
Tcl/Tk libraries named this way.
Tue Dec 31 19:48:21 2002 Akinori MUSHA <[email protected]>
* configure.in: Improve OpenBSD support. [obtained from: OpenBSD
ports]
* dln.c (FUNCNAME_PATTERN): Ditto.
Tue Dec 31 19:21:02 2002 Akinori MUSHA <[email protected]>
* array.c (rb_ary_transpose): Properly declare ary as a VALUE.
* file.c (rb_file_s_chmod): Do not directly cast an int to void *
to avoid a warning.
* defines.h (FLUSH_REGISTER_WINDOWS): Add support for
FreeBSD/sparc64. miniruby still coredumps in a different place,
though.
Tue Dec 31 07:47:15 2002 Nobuyoshi Nakada <[email protected]>
* parse.y (parse_string): readjusted.
* parse.y (heredoc_identifier): readjusted.
* parse.y (here_document): make EOL codes of single-quoted
here-documents consistent.
* parse.y (yylex): reduced unnecessary conditionals.
Tue Dec 31 04:49:51 2002 Akinori MUSHA <[email protected]>
* ruby.1: mdoc'ify.
Tue Dec 31 01:30:29 2002 WATANABE Hirofumi <[email protected]>
* parse.y (yylex): do not accept " __END__\n". ([ruby-dev:19245])
Mon Dec 30 21:10:59 2002 WATANABE Hirofumi <[email protected]>
* parse.y (yylex): use strncmp instead of strcmp.
accept "__END__\r\n". ([ruby-dev:19241])
Mon Dec 30 20:32:14 2002 Yukihiro Matsumoto <[email protected]>
* gc.c (rb_gc_mark_frame): should mark frame->node.
Mon Dec 30 19:10:30 2002 Nobuyoshi Nakada <[email protected]>
* ext/extmk.rb: split --make argument contains options, assume
the first word of --make-flags is always options even unless
preceded by -, and ignore letter-case of options if nmake.
* instruby.rb: extract -n option also from --make and
--make-flags.
* bcc32/Makefile.sub, win32/Makefile.sub: not prepend - to
$(MFLAGS)
Mon Dec 30 16:44:14 2002 Nobuyoshi Nakada <[email protected]>
* string.c (rb_str_substr): should share the shared string if
present, instead of the original string. (ruby-bugs:PR#528)
Mon Dec 30 05:10:00 2002 Nobuyoshi Nakada <[email protected]>
* ext/socket/socket.c (tcp_svr_init): local host to
init_inetsock() is VALUE but not pointer.
* ext/socket/socket.c (sock_s_unpack_sockaddr_in): get rid of
gcc-3 -O3 warning.
Sun Dec 29 23:45:53 2002 Nobuyoshi Nakada <[email protected]>
* gc.c (gc_sweep): adjust GC trigger.
* dln.c (init_funcname_len): get rid of gcc-3 -O3 warning.
* eval.c (copy_node_scope): ditto.
* hash.c (rb_hash_foreach, delete_if_i, select_i, each_value_i,
each_key_i, each_pair_i, envix): ditto.
* range.c (range_each_func): ditto.
* file.c (rb_file_s_chmod): ditto.
Sun Dec 29 15:30:37 2002 Minero Aoki <[email protected]>
* lib/fileutils.rb (fu_parseargs): should not inherit ftools.rb's
misfeature.
Sun Dec 29 05:08:13 2002 NAKAMURA Usaku <[email protected]>
* lib/fileutils.rb (cmp): return false if file size differs.
Sat Dec 28 19:21:24 2002 WATANABE Hirofumi <[email protected]>
* instruby.rb: remove junk args.
* lib/mkmf.rb (create_makefile): remove a trouble library
before making a shared library.
* win32/Makefile.sub: invoke instruby.rb with the --make-flags option.
Sat Dec 28 03:09:58 2002 Wakou Aoyama <[email protected]>
* lib/cgi.rb (CGI#[]): improvement. thanks to Kazuhiro NISHIYAMA
Sat Dec 28 00:34:03 2002 WATANABE Hirofumi <[email protected]>
* {win32,bcc32}/Makefile.sub: remove `=' from --make-flags options.
nmake quotes args if included `=' in args.
* instruby.rb: use getopts.rb.
* ext/dbm/extconf.rb (-DDBM_HDR): substitute ' with " to avoid
a error on Win32.
* ext/gdbm/gdbm.c: add prototypes to avoid VC++ warnings.
Fri Dec 27 21:41:57 2002 Nobuyoshi Nakada <[email protected]>
* bcc32/setup.mak, win32/setup.mak(-prologue-): move srcdir from
CPP input or UNC path will be removed as a comment.
Fri Dec 27 17:55:00 2002 Takaaki Uematsu <[email protected]>
* wince/config, wince/configure.bat: replace 1.7 with 1.8
in macros.
Fri Dec 27 13:28:14 2002 Minero Aoki <[email protected]>
* instruby.rb: fileutils.rb accepts only one argument.
Fri Dec 27 13:23:29 2002 Minero Aoki <[email protected]>
* lib/fileutils.rb (fu_parseargs): reject illegal options
correctly.
* lib/fileutils.rb (uptodate?): parameter declaration was wrong.
* lib/fileutils.rb: change coding styles.
Fri Dec 27 09:25:22 2002 ABE Shigeru <[email protected]>
* process.c (rb_proc_times): avoid WindowsXP crash using volatile
variables.
Fri Dec 27 02:56:58 2002 Nobuyoshi Nakada <[email protected]>
* instruby.rb: check only `-' option, and use fileutils instead of
ftools.
Fri Dec 27 02:45:17 2002 Wakou Aoyama <[email protected]>
* lib/net/telnet.rb: Telnet#print not add "\n".
* lib/cgi.rb: cgi['key'] is equal cgi['key'][0]
Thu Dec 26 22:33:18 2002 WATANABE Hirofumi <[email protected]>
* ext/extmk.rb (create_makefile): check only `-' option.
* configure.in: cleanups for MinGW. remove -D__NO_ISOCEXT in $CFLAGS.
* win32/win32.h: prototypes for isinf, isnan are not needed on MinGW.
Thu Dec 26 19:22:00 2002 YOSHIDA Kazuhiro <[email protected]>
* win32/setup.mak (-prologue-): moved srcdir macro definition.
[ruby-win32:420].
Wed Dec 25 18:26:44 2002 K.Kosako <[email protected]>
* regex.c (re_match): fixed wrong \G behavior. (ruby-bugs-ja:PR#377)
Wed Dec 25 16:41:16 2002 Yukihiro Matsumoto <[email protected]>
* regex.c (re_match_exec): fix odd \G behavior based on the patch
from Nobu.
Wed Dec 25 11:05:11 2002 Nobuyoshi Nakada <[email protected]>
* bcc32/setup.mak (-generic-): removed garbages.
Wed Dec 25 10:36:20 2002 NAKAMURA Usaku <[email protected]>
* bcc32/Makefile.sub, win32/Makefile.sub (RUBY_SO_NAME, config.h):
use $(MAJOR) and $(MINOR). based on Nobu's patch. [ruby-win32:413]
* bcc32/setup.mak, win32/setup.mak (-prologue-): define MAJOR, MINOR
and TEENY from version.h. based on Nobu's patch. [ruby-win32:413]
* win32/Makefile.sub (config.h): add HAVE_FLOAT_H.
* win32/Makefile.sub (parse.obj): depend on win32/win32.h.
Tue Dec 24 23:49:16 2002 Akinori MUSHA <[email protected]>
* lib/irb/completion.rb: Use Object#class rather than Object#type.
Tue Dec 24 23:37:40 2002 TADA Tadashi <[email protected]>
* lib/cgi.rb (Cookie::parse), lib/cgi-lib.rb (initialize): Do not
pass to split() a bare string longer than 2 characters as
separator.
Tue Dec 24 19:19:24 2002 Tietew <[email protected]>
* numeric.c (DBL_MAX_10_EXP): fix typo. [ruby-dev:36826]
Tue Dec 24 17:02:46 2002 Yukihiro Matsumoto <[email protected]>
* eval.c (rb_undefined): use NoMethodError instead of fatal.
Tue Dec 24 02:12:45 2002 Akinori MUSHA <[email protected]>
* lib/README: Synchronize with reality.
Tue Dec 24 02:05:51 2002 Akinori MUSHA <[email protected]>
* MANIFEST, lib/README, lib/ipaddr.rb: Add ipaddr.rb from rough.
Sun Dec 22 04:07:47 2002 NAKAMURA Usaku <[email protected]>
* ext/dbm/dbm.c (fdbm_alloc): allocator takes only one argument.
Sun Dec 22 02:49:25 2002 NAKAMURA Usaku <[email protected]>
* array.c (ary_alloc), dir.c (dir_s_alloc), eval.c (thgroup_s_alloc),
file.c (rb_stat_s_alloc), hash.c (hash_alloc), io.c (io_alloc),
object.c (rb_module_s_alloc, rb_class_allocate_instance),
re.c (match_alloc, rb_reg_s_alloc), string.c (str_alloc),
time.c (time_s_alloc), ext/digest/digest.c (rb_digest_base_alloc),
ext/tcltklib/tcltklib.c (ip_alloc),
ext/win32ole/win32ole.c (fole_s_allocate, fev_s_allocate)
: add prototype to get rid of VC++ warnings.
* ext/sdbm/init.c (fsdbm_alloc): allocator takes only one argument.
Sun Dec 22 00:36:43 2002 WATANABE Hirofumi <[email protected]>
* lib/mkmf.rb (create_makefile): accept pure ruby libraries.
Sat Dec 21 23:59:42 2002 Yukihiro Matsumoto <[email protected]>
* class.c (ins_methods_i): should not show ID_ALLOCATOR.
* class.c (ins_methods_prot_i): ditto.
* class.c (ins_methods_priv_i): ditto.
* class.c (ins_methods_pub_i): ditto.
* eval.c (call_trace_func): ditto.
* eval.c (rb_undefined): ditto.
Sat Dec 21 07:27:24 2002 Nobuyoshi Nakada <[email protected]>
* misc/ruby-mode.el (ruby-parse-partial): keywords must not be
preceded by @ or $.
Fri Dec 20 20:29:04 2002 Nobuyoshi Nakada <[email protected]>
* ext/curses/curses.c, ext/dbm/dbm.c, ext/digest/digest.c,
ext/dl/handle.c, ext/dl/ptr.c, ext/dl/sym.c, ext/gdbm/gdbm.c,
ext/iconv/iconv.c, ext/sdbm/init.c, ext/stringio/stringio.c,
ext/strscan/strscan.c, ext/tcltklib/tcltklib.c,
ext/win32ole/win32ole.c: use rb_define_alloc_func().
Fri Dec 20 18:29:04 2002 Nobuyoshi Nakada <[email protected]>
* io.c (rb_io_fwrite): separated from io_write().
* marshal.c (w_byten): use rb_io_fwrite() to support non-blocking
IO, and added error check.
* rubyio.h: prototypes; rb_io_fwrite
Fri Dec 20 17:40:59 2002 Yukihiro Matsumoto <[email protected]>
* object.c (Init_Object): should not remove Class#allocate.
* lib/profiler.rb: separate profiling functions, without
trace_func and at_exit setting.
Fri Dec 20 16:20:04 2002 Yukihiro Matsumoto <[email protected]>
* parse.y (do_block): split "do" block and tLBRACE_ARG block.
* parse.y (cmd_brace_block): new tLBRACE_ARG block rule
* parse.y (command): can take optional cmd_brace_block; use %prec
to resolve shift/reduce conflict. (ruby-bugs-ja PR#372)
* eval.c (ruby_finalize): trace_func should be cleared here (after
executing exit procs and finalizers).
* eval.c (rb_define_alloc_func): new allocation framework, based
on Nobu's work [ruby-dev:19116]. "allocate" method is no longer
used for object allocation.
Fri Dec 20 05:06:49 2002 Akinori MUSHA <[email protected]>
* lib/README, lib/cgi/ftplib.rb, lib/telnet.rb: Delete ftplib.rb
and telnet.rb. It has been quite some time sinc they were
obsoleted and made to emit warnings.
Fri Dec 20 04:58:22 2002 Akinori MUSHA <[email protected]>
* lib/tempfile.rb: Embed Rdoc style comments.
* lib/tempfile.rb: Add length as an alias for size.
Fri Dec 20 03:57:32 2002 Akinori MUSHA <[email protected]>
* lib/tempfile.rb: Add Tempfile#close!() as a shorthand for
Tempfile#close(true).
* lib/tempfile.rb: Add Tempfile#{unlink,delete}().
Fri Dec 20 03:53:01 2002 Akinori MUSHA <[email protected]>
* lib/README, lib/cgi/final.rb, lib/cgi/session.rb: Delete
final.rb, which was obsoleted long ago.
Fri Dec 20 00:16:06 2002 Nobuyoshi Nakada <[email protected]>
* re.c (rb_reg_match_pre, rb_reg_match_post, match_to_a,
match_select): return instances of same class as the original
string. [ruby-dev:19119]
Thu Dec 19 22:55:49 2002 NAKAMURA Usaku <[email protected]>
* numeric.c (DBL_EPSILON): fix typo.
Thu Dec 19 22:35:20 2002 Nobuyoshi Nakada <[email protected]>
* eval.c (assign): avoid [BUG] at multiple attribute assignment.
Thu Dec 19 01:00:09 2002 Yukihiro Matsumoto <[email protected]>
* numeric.c (num_step): use DBL_EPSILON.
* array.c (rb_check_array_type): new function: return an array
(convert if possible), or nil.
* string.c (rb_check_string_type): new function: return a string
(convert if possible), or nil.
* numeric.c (rb_dbl_cmp): returns nil if values are not
comparable.
* numeric.c (fix_cmp,flo_cmp): use rb_num_coerce_cmp()
* bignum.c (rb_big_cmp): ditto.
* numeric.c (rb_num_coerce_cmp): new coercing function for "<=>",
which does not raise TypeError.
* numeric.c (do_coerce): can be supress exception now.
* object.c (rb_mod_cmp): should return nil for non class/module
objects.
Thu Dec 19 04:21:10 2002 Akinori MUSHA <[email protected]>
* lib/open-uri.rb: add a missing ||. (found by: ruby -wc)
Wed Dec 18 17:53:05 2002 Yukihiro Matsumoto <[email protected]>
* re.c (rb_reg_eqq): return false if the argument is not a
string. now returns boolean value.
* class.c (rb_include_module): argument should be T_MODULE, not
T_class, nor T_ICLASS.
Wed Dec 18 03:52:55 2002 Nobuyoshi Nakada <[email protected]>
* string.c (rb_str_new4): handle tail shared string.
(ruby-bugs-ja:PR#370)
* string.c (rb_str_dup_frozen): ditto.
Tue Dec 17 21:08:29 2002 Nobuyoshi Nakada <[email protected]>
* node.h (NODE_ATTRASGN): new node, assignment to attribute.
[ruby-core:00637].
* eval.c (is_defined, rb_eval): ditto.
* parse.y (attrset, node_assign): ditto.
* string.c (rb_str_substr): tail sharing. [ruby-core:00650]
* re.c (rb_reg_nth_match): ditto.
Tue Dec 17 16:52:38 2002 Yukihiro Matsumoto <[email protected]>
* eval.c (is_defined): "defined?" should return "assignment" for
attribute assignment (e.g. a.foo=b) and indexed assignment
(e.g. a[2] = 44).
* parse.y (aryset): use NODE_ATTRASGN.
Tue Dec 17 04:03:45 2002 Tanaka Akira <[email protected]>
* lib/open-uri.rb: new file.
Tue Dec 17 00:28:19 2002 NAKAMURA Usaku <[email protected]>
* file.c (utimbuf): need to define for VC++.
Mon Dec 16 15:53:20 2002 Nobuyoshi Nakada <[email protected]>
* parse.y (nextc): get rid of overrun. (pointed out by akr
[ruby-list:36773])
Sun Dec 15 21:16:44 2002 WATANABE Hirofumi <[email protected]>
* lib/mkmf.rb (init_mkmf): add $(topdir) to $LIBPATH if $extmk.
remove adding $(archdir) to $LIBPATH.
Sat Dec 15 12:15:00 2002 Takaaki Uematsu <[email protected]>
* configure.in, defines.h, dir.c, dir.h, dln.c, error.c,
eval.c, file.c, hash.c, io.c, main.c, missing.c,
process.c, ruby.c, rubysig.h, signal.c, st.c, util.c, util.h,
bcc/Makefile.sub, win32/Makefile.sub, win32/win32.h,
ext/Win32API/Win32API.c, ext/socket/getaddrinfo.c,
ext/socket/getnameinfo.c, ext/socket/socket.c,
ext/tcltklib/stubs.c
: replace "NT" with "_WIN32", add DOSISH_DRIVE_LETTER
* wince/exe.mak : delete \r at the end of lines.
* wince/mswince-ruby17.def : delete rb_obj_become
Sun Dec 15 11:43:26 2002 Nobuyoshi Nakada <[email protected]>
* parse.y (dispose_string): dispose String object.
* parse.y (heredoc_restore, here_document): fix memory leak.
Sat Dec 14 14:25:00 2002 Takaaki Uematsu <[email protected]>
* wince/sys : add stat.c, stat.h, timeb.c, timeb.h,
types.h, utime.c, utime.h
* wince/dll.mak : object file name changed.
* wince/io.c : add empty dup2().
* wince/io.h : add dup2 definition.
Sat Dec 14 01:51:29 2002 WATANABE Hirofumi <[email protected]>
* ext/dbm/extconf.rb (rb_check): support for GNU dbm 1.8.3.
(-with-dbm-type=gdbm_compat). link against -lgdbm_compat
and -lgdbm.
Fri Dec 13 23:42:16 2002 WATANABE Hirofumi <[email protected]>
* ext/dbm/extconf.rb (db_check): check existence of the function
in the specified library before checking it in libc.
Fri Dec 13 17:15:49 2002 Yukihiro Matsumoto <[email protected]>
* variable.c (generic_ivar_get): should always warn uninitialized
instance variables.
Fri Dec 13 12:33:22 2002 Nobuyoshi Nakada <[email protected]>
* parse.y (expr): rescue clause was ignored.
Thu Dec 12 18:19:14 2002 WATANABE Hirofumi <[email protected]>
* configure.in (RUBY_PROG_GNU_LD): add $CFLAGS, $CPPFLAGS, $LDFLAGS
to the option of $CC.
* configure.in: set LIBRUBYARG to '-l$(RUBY_SO_NAME)' if the
target os is cygwin and --disable-shared option is supplied.
* lib/mkmf.rb (init_mkmf): expand config["LIBRUBY"] and
config["LIBRUBY_A"]. don't link $LIBRUBYARG_STATIC if
--disable-shared option is supplied.
* configure.in (RUBY_CPPOUTFILE): should be a better message.
* ext/Win32API/extconf.rb: join with a space.
Thu Dec 12 17:27:19 2002 Yukihiro Matsumoto <[email protected]>
* re.c (rb_reg_hash): define Regexp#hash to make regexps to be
hash keys.
* re.c (Init_Regexp): define Regexp#eql? (alias to Regexp#==).
Thu Dec 12 16:26:31 2002 Nobuyoshi Nakada <[email protected]>
* marshal.c (r_object0): singleton class instance can't be loaded.
(ruby-bugs-ja:PR#366)
Wed Dec 11 23:35:43 2002 WATANABE Hirofumi <[email protected]>
* ext/extmk.rb (create_makefile): -no-undefined -> --no-undefined.
Wed Dec 11 17:54:59 2002 Yukihiro Matsumoto <[email protected]>
* io.c (io_read): takes optional second argument to specify a
string to be written. the string should not be frozen.
* io.c (rb_io_sysread): ditto.
Wed Dec 11 11:30:28 2002 Nobuyoshi Nakada <[email protected]>
* ext/digest/digest.c (rb_digest_base_copy): renamed "become".
* ext/stringio/stringio.c (strio_copy): ditto.
Wed Dec 11 00:45:00 2002 Yukihiro Matsumoto <[email protected]>
* lib/getoptlong.rb (GetoptLong::Error): provide a common ancestor
for GetoptLong error classes (RCR#129).
Tue Dec 10 17:42:39 2002 2002 K.Kosako <[email protected]>
* re.c (rb_reg_copy_object): fixed memory leak.
Tue Dec 10 17:30:35 2002 Tanaka Akira <[email protected]>
* pack.c (utf8_limits): fix the limit of 4 bytes UTF-8 sequence.
Tue Dec 10 12:01:15 2002 Nobuyoshi Nakada <[email protected]>
* eval.c (mnew): original class of method defined in module should
be the module not intermediate class. [ruby-dev:19040]
Tue Dec 10 01:16:52 2002 Yukihiro Matsumoto <[email protected]>
* sprintf.c (rb_f_sprintf): preceding ".." for negative numbers
still left; removed.
* sprintf.c (rb_f_sprintf): should not prepend '0' if width > prec
for example "%5.3d".
Sat Dec 7 18:14:23 2002 Yukihiro Matsumoto <[email protected]>
* process.c (Init_process): add Process.exit and Process.abort
* pack.c (utf8_to_uv): raise ArgumentError for malformed/redundant
UTF-8 sequences.
Fri Dec 6 03:46:00 2002 Yukihiro Matsumoto <[email protected]>
* process.c (last_status_set): add pid attribute to Process::Status.
Wed Dec 4 17:31:42 2002 Yukihiro Matsumoto <[email protected]>
* pack.c (uv_to_utf8): limit maximum length of the encoded string
to 6 bytes, even when the platform supports 8 bytes long integers.
* pack.c (utf8_to_uv): do not decode sequences longer than 6 bytes.
* object.c (copy_object): use "copy_object" method, not "become".
Wed Dec 4 16:37:11 2002 Yukihiro Matsumoto <[email protected]>
* object.c (copy_object): copy finalizers as well if any.
* gc.c (rb_gc_copy_finalizer): new function to copy finalizers.
Tue Dec 3 01:13:41 2002 Tanaka Akira <[email protected]>
* lib/pp.rb (PP.singleline_pp): new method.
Sun Dec 1 23:04:03 2002 Nobuyoshi Nakada <[email protected]>
* lib/optparse.rb (OptionParser::new): same as OptionParser#on but
returns new OptionParser::switch.
Sun Dec 1 22:43:29 2002 Nobuyoshi Nakada <[email protected]>
* win32/win32.c (rb_w32_stat): empty path is invalid, and return
ENOENT rather than EBADF in such case. [ruby-talk:57177]
Fri Nov 29 18:01:48 2002 Yukihiro Matsumoto <[email protected]>
* pack.c (utf8_to_uv): added checks for malformed or redundant
UTF-8 sequences.
Thu Nov 28 12:08:30 2002 Akinori MUSHA <[email protected]>
* lib/mkmf.rb: Avoid the use of "clean::" in favor of "clean:" in
order not to let make(1) choke if there is another dependency on
the target added in a depend file.
Thu Nov 28 02:40:42 2002 Akinori MUSHA <[email protected]>
* lib/mkmf.rb: Make sure to dig the destination directory before
installing a file there. Formerly "make install" could fail
depending on make(1)'s mood of the moment, especially when -jN
is given.
Wed Nov 27 17:39:38 2002 Akinori MUSHA <[email protected]>
* ext/syslog/syslog.c: Cut redundancy.
* ext/syslog/syslog.c: Do not leak ident.
Wed Nov 27 17:25:29 2002 Akinori MUSHA <[email protected]>
* ext/syslog/syslog.c, ext/syslog/test.rb: Syslog.close should
raise RuntimeError when not opened.
* ext/syslog/syslog.c, ext/syslog/test.rb:
Syslog.{ident,options,facility,mask} should all return nil when
not opened.
* ext/syslog/syslog.c, ext/syslog/test.rb: Change back the output
format of inspect().
Wed Nov 27 16:25:43 2002 Akinori MUSHA <[email protected]>
* ext/digest/test.rb: Switch from RUnit to Test::Unit.
Wed Nov 27 16:14:12 2002 Akinori MUSHA <[email protected]>
* ext/syslog/syslog.c: Fix a problem where Syslog.ident was not
marked and could thus be GC'd.
Wed Nov 27 16:11:53 2002 Akinori MUSHA <[email protected]>