1Mon Aug 4 17:21:19 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2 3 * class.c (class_instance_method_list): methods defined in 4 singleton class and extended modules should be included. 5 [ruby-dev:21119] 6 7Mon Aug 4 13:05:57 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 8 9 * eval.c (method_proc): should specify YIELD_FUNC_SVALUE. 10 [ruby-dev:21107] 11 12 * marshal.c (w_object): should not call w_extended for USRMARSHAL 13 dump. [ruby-dev:21106] 14 15Mon Aug 4 10:42:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org> 16 17 * lib/test/unit/ui/console/testrunner.rb: Flushed io in the 18 Console::TestRunner so that it will output immediately. 19 20Mon Aug 4 10:27:22 2003 Nobuyoshi Nakada <nobu@ruby-lang.org> 21 22 * util.h: remove unnecessary parentheses. [ruby-dev:20879] 23 24Mon Aug 4 10:00:47 2003 Shugo Maeda <shugo@ruby-lang.org> 25 26 * lib/net/imap.rb (receive_responses): raise exception to 27 client_thread. Thanks to William Webber. 28 29Mon Aug 4 09:22:53 2003 William Webber <wew@williamwebber.com> 30 31 * lib/net/imap.rb: convert RD to RDoc. 32 33Mon Aug 4 02:34:05 2003 NAKAMURA Usaku <usa@ruby-lang.org> 34 35 * win32/win32.c (rb_w32_utime): never use utime() of C runtime. 36 [ruby-talk:77782] 37 38Sun Aug 3 23:56:50 2003 Nobuyoshi Nakada <nobu@ruby-lang.org> 39 40 * eval.c (rb_call_super): should propagate previous block for 41 super call. [ruby-talk:77884] 42 43Sun Aug 3 22:07:47 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 44 45 * ext/tk/lib/tkentry.rb: support 'validatecommand' option of 46 TkEntry/TkSpinbox widget 47 48 * ext/tk/sample/{demos-en,demos-jp}/spin.rb: add 49 50Sun Aug 3 19:25:28 2003 Nobuyoshi Nakada <nobu@ruby-lang.org> 51 52 * eval.c (call_trace_func): clear exception flag temporarily. 53 [ruby-dev:21090] 54 55Sun Aug 3 18:03:44 2003 WATANABE Hirofumi <eban@ruby-lang.org> 56 57 * regex.h (re_mbctab): should refer to RUBY_EXPORT. [ruby-ext:02199] 58 59 * lib/un.h (help): new. % ruby -run -e help cp 60 61Sun Aug 3 08:53:06 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 62 63 * ext/tk/sample/{demos-en,demos-jp}/image3.rb: add 64 65 * ext/tk/lib/tkcanvas.rb: bug fix on Tk object ID management 66 67 * ext/tk/lib/tktext.rb: ditto 68 69Sun Aug 3 02:55:52 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 70 71 * process.c: modify macro to detect 'MacOS X' [ruby-talk:77849] 72 73 * ext/tcltklib/lib/tcltk.rb: bug fix ( NOT MAINTAINED : only 74 for running 'line2.rb' demo. ) 75 76Sun Aug 3 02:45:06 2003 Koji Arai <jca02266@nifty.ne.jp> 77 78 * numeric.c (flo_to_s): get rid of buffer overflow. 79 80Sat Aug 2 23:51:52 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 81 82 * io.c (appendline): clearerr(3) before raising exception, since 83 exception may be captured by rescue. [ruby-talk:77794] 84 85Sat Aug 2 09:58:13 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 86 87 * ext/tk/lib/tk.rb: bug fix --- TkGrid failed to treat 88 RELATIVE PLACEMENT 89 90 * ext/tk/sample/demos-en/, demos-jp/: add or modify some 91 widget demo scripts 92 93Sat Aug 2 20:59:38 2003 GOTOU Yuuzou <gotoyuzo@notwork.org> 94 95 * lib/webrick/https.rb: change an option name. 96 :SSLCertStore -> :SSLCertificateStore. 97 98Sat Aug 2 19:18:40 2003 Minero Aoki <aamine@loveruby.net> 99 100 * lib/net/smtp.rb: respond_to? needs 2nd argument. 101 Thanks Jim Bob. [ruby-talk:77796] 102 103Sat Aug 2 15:11:54 2003 WATANABE Hirofumi <eban@ruby-lang.org> 104 105 * ext/extmk.rb (--no-undefined): annoying option removed. 106 107Sat Aug 2 14:53:55 2003 Nobuyoshi Nakada <nobu@ruby-lang.org> 108 109 * lib/mkmf.rb (pkg_config): get configuration by pkg-config. [new] 110 111 * ext/openssl/extconf.rb: use pkg_config. 112 113Sat Aug 2 13:45:17 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 114 115 * gc.c: add "#pragma weak" for __libc_ia64_register_backing_store_base. 116 [ruby-dev:21072] 117 118Sat Aug 2 14:02:39 2003 Nobuyoshi Nakada <nobu@ruby-lang.org> 119 120 * variable.c (classname): find regular class name if not set. 121 [ruby-dev:20496] 122 123Sat Aug 2 09:58:13 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 124 125 * ext/tk/lib/tk.rb: bug fix --- forgot to entry a widget class 126 name of 'labelframe' widget 127 128 * ext/tk/sample/{demos-en,demos-jp}/{labelframe.rb,paned1.rb, 129 paned2.rb,spin.rb}: add demo-scripts to the JP/EN widget demos 130 131Sat Aug 2 05:04:30 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 132 133 * ext/tk/lib/tkentry.rb: bug fix of TkEntry#delete 134 135 * ext/tk/samples/: bug fix of some widget demos 136 137 * ext/tk/lib/tk.rb: support <TkVariable object> == <Symbol> 138 139 * ext/tk/lib/*.rb: freeze some object for security reason 140 141Sat Aug 2 03:30:25 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 142 143 * class.c (rb_obj_singleton_methods): should not go up to 144 ancestors unless the recursive flag is set. [ruby-list:38007] 145 146 * eval.c (rb_yield_0): expand [] to nil if avalue is set. 147 [ruby-dev:21058] 148 149 * hash.c (env_each_key): use env_keys to avoid environment modify 150 on the fly. 151 152 * hash.c (env_each_value): use env_values for safety. 153 154 * hash.c (env_each): allocate environment array first. 155 156Fri Aug 2 03:20:00 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 157 158 * lib/yaml/store.rb (YAML::Store#initialize): filename is first 159 argument. Thanks Kent Dahl. 160 161Sat Aug 2 00:49:31 2003 Minero Aoki <aamine@loveruby.net> 162 163 * lib/net/http.rb: refine document. 164 165Fri Aug 1 23:57:45 2003 Nobuyoshi Nakada <nobu@ruby-lang.org> 166 167 * gc.c (rb_gc_mark_locations): no need to swap arguments. 168 169 * gc.c (STACK_LENGTH): insufficient for growing up stack 170 architectures. 171 172 * gc.c (rb_gc, Init_stack) ditto. 173 174Fri Aug 1 23:33:36 2003 Masatoshi Seki <mas@snow.local.> 175 176 * rubytest.rb: set dldpath on darwin. 177 178Fri Aug 1 23:07:38 2003 Minero Aoki <aamine@loveruby.net> 179 180 * lib/net/http.rb: convert RD to RDoc. Thanks William Webber. 181 [ruby-doc:456] 182 183Fri Aug 1 19:48:56 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 184 185 * ext/syck/rubyext.c (syck_emitter_write_m): forgot to declare 186 "self", making it default to "int". 187 188 * ext/syck/rubyext.c (syck_emitter_simple_write): ditto. 189 190 * gc.c (rb_gc): should mark backing store region on IA64. 191 192Fri Aug 1 18:51:10 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 193 194 * process.c: bug fix --- preprocessor errors occur on OpenBSD-current 195 196Fri Aug 1 17:13:23 2003 Nobuyoshi Nakada <nobu@ruby-lang.org> 197 198 * ext/openssl/extconf.rb: should replace literally. 199 200Fri Aug 1 16:22:57 2003 Nobuyoshi Nakada <nobu@ruby-lang.org> 201 202 * io.c (rb_io_check_readable, rb_io_check_writable): ensure not 203 closed at first. 204 205 * io.c (rb_io_getline): check readable always. (ruby-bugs:PR#1069) 206 207 * io.c (rb_io_each_byte): ditto. 208 209Fri Aug 1 16:02:46 2003 Nobuyoshi Nakada <nobu@ruby-lang.org> 210 211 * io.c (READ_DATA_PENDING_PTR): cast to get rid of warnings. 212 213 * ext/socket/socket.c (unix_send_io, unix_recv_io): ditto. 214 215Fri Aug 1 15:53:24 2003 NAKAMURA Usaku <usa@ruby-lang.org> 216 217 * win32/win32.c (isInternalCmd): shouldn't return if find end of str. 218 [ruby-talk:77678] 219 220Fri Aug 1 13:45:14 2003 Nobuyoshi Nakada <nobu@ruby-lang.org> 221 222 * eval.c (rb_call_super): propagate previous block if a block is 223 given. [ruby-talk:77577] 224 225Fri Aug 1 09:54:38 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 226 227 * array.c (rb_ary_fill): array length may be changed during the 228 block execution. [ruby-talk:77579] 229 230 * array.c (rb_ary_zip): ditto. 231 232 * array.c (rb_ary_fill): ditto. 233 234 * hash.c (env_reject_bang): length may be changed during the block 235 execution. 236 237 * hash.c (env_clear): ditto. 238 239Fri Aug 1 04:58:55 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 240 241 * ext/tk/lib/tk.rb: bug fix --- forget to eval given block to 242 TkRoot.new method 243 244 * ext/tk/sample/tkoptdb-safeTk.rb: new sample script 245 246Fri Aug 1 00:52:58 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 247 248 * gc.c (Init_stack): IA64 requires STACK_LEVEL_MAX to be less than 249 magic number when optimizer turned on, regardless of rlimit 250 values. 251 252Thu Jul 31 23:44:00 2003 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp> 253 254 * lib/erb.rb: import erb-2.0.4b4. 255 256Thu Jul 31 23:04:45 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 257 258 * ext/tk/sample/resource.en, ext/tk/sample/resource.jp: 259 wrong resource file format 260 261 * ext/tk/lib/tk.rb: add Tk::Encoding.{encoding_convertfrom, 262 encoding_convertto} 263 264 * ext/tk/lib/tk.rb: add TkOptionDB.read_with_encoding to read 265 non-utf8 resource file 266 267Thu Jul 31 23:02:47 2003 NAKAMURA Usaku <usa@ruby-lang.org> 268 269 * ext/etc/etc.c: revert getenv()'s prototype. use it only when _WIN32 270 is not defined. 271 272Thu Jul 31 20:52:40 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 273 274 * ext/tk/lib/tk.rb: (IMPORTANT BUG FIX) scan of event keywords 275 doesn't work on recent versions of Tck/Tk 276 277 * ext/tk/lib/tk.rb: initialize error of instance variable on 278 TkComposite 279 280 * ext/tk/lib/multi-tk.rb: initialize error on encoding-system on 281 MultiTkIp 282 283 * ext/tk/lib/tk.rb: trouble on destroying widgets 284 285 * ext/tk/sample/demos-en/, demos-jp/: add JP and EN version of 286 Ruby/Tk widget demos 287 288Thu Jul 31 15:25:12 2003 NAKAMURA Usaku <usa@ruby-lang.org> 289 290 * array.c (rb_ary_collect): must get length of array for each 291 iteration. reported on [ruby-talk:77500], and fixed by 292 K.Sasada <ko1@namikilab.tuat.ac.jp> on [ruby-talk:77504] 293 294Thu Jul 31 14:11:54 2003 GOTOU Yuuzou <gotoyuzo@notwork.org> 295 296 * ext/openssl/extconf.rb: move gmake specific features 297 into GNUmakefile. 298 299Thu Jul 31 12:36:11 2003 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp> 300 301 * bin/erb, lib/erb.rb: add explicit trim mode. 302 303Thu Jul 31 04:59:10 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 304 305 * numeric.c (rb_num_coerce_relop): export function. 306 307Thu Jul 31 08:18:00 2003 Nathaniel Talbott <ntalbott@ruby-lang.org> 308 309 * lib/test/unit.rb: A useful return code is now set if tests fail when 310 running automatically using the Console::TestRunner. 311 312Thu Jul 31 07:59:18 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 313 314 * ext/tk/lib/tk.rb: wrap the command-proc of TkScale --- pass 315 the numeric object to the proc 316 317 * ext/tk/lib/tk.rb: better support for widgets created on 318 Tk interpreter (without Ruby) 319 320 * ext/tk/lib/multi-tk.rb: a little more stable on Multiple Tk 321 interpreters running 322 323Thu Jul 31 00:17:19 2003 Shugo Maeda <shugo@ruby-lang.org> 324 325 * lib/net/ftp.rb (return_code): obsolete. 326 327 * lib/net/ftp.rb (last_response_code): new method. lastresp is now 328 alias to last_response_code. 329 330 * lib/net/ftp.rb (last_response): new method. 331 332Wed Jul 30 23:55:44 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 333 334 * marshal.c (w_object): check has been dropped. "_dump must return 335 string." [ruby-dev:21024] 336 337Wed Jul 30 22:35:19 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 338 339 * lib/mkmf.rb (dir_config): allow multiple directories separated 340 by File::PATH_SEPARATOR. 341 342 * lib/mkmf.rb (create_makefile): DLDFLAGS include $LDFLAGS again. 343 [ruby-talk:76894] 344 345 * lib/mkmf.rb (init_mkmf): not default $LDFLAGS to LDFLAGS for 346 ruby itself, but default $DLDFLAGS to DLDFLAGS. 347 348Wed Jul 30 16:17:06 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 349 350 * marshal.c (w_object): marshal_dump should not take any 351 argument. 352 353Wed Jul 30 15:54:04 2003 GOTOU Yuuzou <gotoyuzo@notwork.org> 354 355 * ext/openssl/ossl_ssl.c (ossl_sslctx_initialize): should initialize 356 instance variables. [ruby-talk:77362] 357 358Wed Jul 30 15:39:54 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 359 360 * ruby.c (proc_options): -F set compiled regular expression to $;. 361 [ruby-talk:77381] 362 363 * string.c (Init_String): no setter type check for $; 364 365Wed Jul 30 15:10:02 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 366 367 * error.c (rb_raise): snprintf() termination moved to 368 win32/win32.c. 369 370 * win32/win32.c (valid_filename, str_grow): unused. 371 372 * win32/win32.c (NTLoginName, ChildRecord): make static. 373 374 * win32/win32.c (CreateChild): argument check. 375 376 * win32/win32.c (kill): should not call CloseHandle() when 377 OpenProcess() failed. 378 379 * win32/win32.c (rb_w32_vsnprintf, rb_w32_snprintf): ensure buffer 380 terminated. [ruby-talk:69672] 381 382Wed Jul 30 10:54:10 2003 Shugo Maeda <shugo@ruby-lang.org> 383 384 * lib/net/ftp.rb (get): fix wrong argument name. Thanks to William 385 Webber. 386 387Wed Jul 30 10:31:37 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 388 389 * ext/iconv/iconv.c (iconv_convert): append unchanged portion 390 after overflow. [ruby-dev:21006] 391 392 * ext/iconv/extconf.rb: check if iconv() 2nd argument is const. 393 394Wed Jul 30 09:31:55 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 395 396 * configure.in (os2-emx): renamed from os2_emx, add flags to 397 CFLAGS and LDFLAGS, and remove lib prefix. [ruby-dev:20993] 398 399 * file.c (rb_file_s_rename): retry with removing new file on 400 DOSISH. [ruby-dev:21007] 401 402 * ext/socket/extconf.rb (sendmsg, recvmsg): check functions. 403 404 * ext/socket/socket.c (unix_send_io, unix_recv_io): raise 405 NotImplementedError unless system calls are available. 406 407 * ext/socket/socket.c (sock_initialize): rename from sock_init() 408 to get rid of conflict with OS/2 socket library. 409 410Wed Jul 30 07:23:14 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 411 412 * ext/tk/lib/tkentry.rb: fix lack of methods for TkEntry 413 414 * ext/tk/lib/multi-tk.rb, ext/tk/lib/tk.rb, 415 ext/tk/lib/tkdialog.rb, ext/tk/lib/tkentry.rb, 416 ext/tk/sample/safe-tk.rb, ext/tk/sample/tktimer2.rb: bug fix 417 418 * ext/tk/lib/multi-tk.rb: MultiTkIp.new_* accept a block to 419 eval under the new interpreter 420 421Wed Jul 30 04:36:30 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 422 423 * ext/tcltklib/tcltklib.c, 424 ext/tk/lib/tk.rb, ext/tk/lib/tkafter.rb: additional check of 425 Tk interpreters' status for a little more safety 426 427Wed Jul 30 02:37:12 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 428 429 * marshal.c (w_object): if object responds to 'marshal_dump', 430 Marshal.dump uses it to dump object. unlike '_dump', 431 marshal_dump returns any kind of object. 432 433 * marshal.c (r_object0): restore instance by calling 434 'marshal_load' method. unlike '_load', it's an instance 435 method, to handle cyclic reference. 436 437 * marshal.c (marshal_load): all objects read from file should be 438 tainted. [ruby-core:01325] 439 440Wed Jul 30 01:47:51 2003 Hugh Sasse <hgs@dmu.ac.uk> 441 442 * lib/timeout.rb (Timeout::timeout): execute immediately if sec is 443 zero. 444 445Wed Jul 30 01:36:18 2003 Aron Griffis <ruby-talk@griffis1.net> 446 447 * ext/socket/socket.c (socks_init): typo fixed. [ruby-talk:77232] 448 449Wed Jul 30 00:48:43 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 450 451 * ext/socket/extconf.rb: the default value for --enable-socks is 452 taken from ENV["SOCKS_SERVER"]. [ruby-talk:77232] 453 454 * ruby.c (proc_options): add -W option. -W0 to shut up all warning 455 messages. [ruby-talk:77227] 456 457 * error.c (rb_warn): no message will be printed if the value of 458 $VERBOSE is "nil", i.e. perfect silence. 459 460 * ruby.c (verbose_setter): $VERBOSE value is either true, false, 461 or nil. 462 463 * io.c (Init_IO): no "read" check for $stdin. in addition some 464 function names has been changed. 465 466Tue Jul 29 23:10:19 2003 Yoshida Masato <yoshidam@yoshidam.net> 467 468 * regex.c (re_match_exec): incorrect multibyte match. 469 470Tue Jul 29 22:36:50 2003 Minero Aoki <aamine@loveruby.net> 471 472 * lib/net/smtp.rb (send0): do taint check only when $SAFE > 0 473 474Tue Jul 29 19:20:34 2003 WATANABE Hirofumi <eban@ruby-lang.org> 475 476 * lib/fileutils.rb (install): support preserve timestamp. 477 478 * instruby.rb (install): use FileUtils::install preserve mode. 479 480 * lib/un.rb: new. % ruby -run -e cp -- -p foo bar 481 482 * lib/mkmf.rb: use un.rb instead of ftools.rb. 483 484 * MANIFEST: add lib/un.rb. 485 486 * ext/extmk.rb (INSTALL_PROG, INSTALL_DATA): modify verbose messages. 487 488Tue Jul 29 18:55:22 2003 Minero Aoki <aamine@loveruby.net> 489 490 * lib/net/smtp.rb: unify coding style. 491 492 * lib/net/http.rb: ditto. 493 494Tue Jul 29 17:27:59 2003 NAKAMURA Usaku <usa@ruby-lang.org> 495 496 * ruby.h (LLONG_MIN): fix typo. 497 498Tue Jul 29 16:38:44 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 499 500 * lib/net/smtp.rb (Net::SMTP::send0): add taint check. 501 502Tue Jul 29 15:41:02 2003 WATANABE Hirofumi <eban@ruby-lang.org> 503 504 * instruby.rb (install): preserve the timestamp for Mac OS X ranlib 505 problem. 506 507Tue Jul 29 01:14:51 2003 Rick Ohnemus <rick_ohnemus@acm.org> 508 509 * ruby.h (LLONG_MIN): wrong value. 510 511Mon Jul 28 22:57:52 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 512 513 * io.c (rb_f_getc): $stdin may not be IO. [ruby-dev:20973] 514 515Tue Jul 29 16:20:36 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 516 517 * ext/tcltklib/tcltklib.c: bug fix and 518 change mainloop_abort_on_no_widget_cmd => mainloop_abort_on_exception 519 ( to avoid thread timing trouble on accessing destroyed widgets ) 520 521 * ext/tk/lib/multi-tk.rb: change default mode of 522 mainloop_abort_on_exception on multi-tk.rb 523 524 * ext/tk/lib/multi-tk.rb: fix a bug of the procedure for 525 'Delete' button on the safe-Tk frmae 526 527Tue Jul 29 12:22:28 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 528 529 * ext/syck/token.c: prefixed many constants and definitions 530 with YAML_ to avoid name clash. 531 532 * ext/syck/gram.c: ditto. 533 534 * ext/syck/gram.h: ditto. 535 536Tue Jul 29 12:15:37 2003 NAKAMURA Usaku <usa@ruby-lang.org> 537 538 * ext/etc/etc.c: add real prototype to getenv(). 539 540 * win32/win32.h: add arguments to definitions of functions if possible. 541 542Tue Jul 29 08:05:30 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 543 544 * ext/tk/lib/tk.rb, ext/tk/lib/tkdialog.rb, ext/tk/lib/tktext.rb, 545 ext/tk/sample/tkbiff.rb, ext/tk/sample/tkdialog.rb, 546 ext/tk/sample/tkform.rb: bug fix ( tested with Ruby/Tk widget demo ) 547 548Tue Jul 29 04:22:08 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 549 550 * ext/syck/syck.h: Added 'syck' yacc prefixes. 551 552 * ext/syck/gram.c: ditto. 553 554 * ext/syck/token.c: ditto. 555 556 * ext/syck: Added ruby.h reference to source files. 557 558Tue Jul 29 03:53:28 2003 GOTOU Yuuzou <gotoyuzo@notwork.org> 559 560 * ext/openssl/lib/net/https.rb (use_ssl=): raise ProtocolError if 561 connection is set up already. 562 563Tue Jul 29 01:45:32 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 564 565 * ext/tcltklib/tcltklib.c: use RTEST() 566 567Tue Jul 29 01:24:32 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 568 569 * ext/tcltklib/tcltklib.c: bug fix 570 571 * ext/tk/lib/multi-tk.rb: bug fix and pack options are pssed 572 to the safeTk container 573 574 * ext/tk/sample/safe-tk.rb: add example for pack options of 575 safeTk container 576 577Mon Jul 28 23:23:08 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 578 579 * file.c (Init_File): IO should include File::Const. 580 [ruby-dev:20964] 581 582Mon Jul 28 18:53:03 2003 WATANABE Hirofumi <eban@ruby-lang.org> 583 584 * ext/openssl/extconf.rb: check again after pkg-config for MinGW on 585 Cygwin. 586 587Mon Jul 28 15:32:04 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 588 589 * ext/stringio/stringio.c (strio_gets): only "gets" should set $_. 590 591 * ext/stringio/stringio.c (strio_getline): should not set $_ here. 592 593 * io.c (argf_to_s): argf.to_s returns "ARGF". 594 595 * io.c (set_defout_var, set_deferr_var): make $defout and $deferr 596 obsolete. 597 598 * io.c (set_input_var, set_output_var): allow $stdin, $stdout, 599 $stderr not to be instance of IO. 600 601 * io.c (rb_f_readline): forward method to current_file. gets, 602 readline, readlines, getc, readchar, tell, seek, pos=, rewind, 603 fileno, to_io, eof, each_line, each_byte, binmode, and closed? 604 as well. 605 606 * io.c (argf_forward): utility function to forward method to 607 current_file. 608 609Mon Jul 28 06:10:13 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 610 611 * ext/tcltklib/tcltklib.c: bug fix 612 613 * ext/lib/tk/multi-tk.rb: bug fix 614 615 * ext/lib/tk/multi-tk.rb: add methods depend on Tcl's 'interp' command 616 617 * ext/lib/tk/multi-tk.rb: suppot safe-level control of each interpreter 618 619Mon Jul 28 03:08:47 2003 Akinori MUSHA <knu@iDaemons.org> 620 621 * lib/set.rb: each() should return self. 622 623Mon Jul 28 01:35:32 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 624 625 * string.c (rb_str_chomp_bang): defer rb_str_modify() to actual 626 modify point. other methods, replace, tr, delete, squeeze, 627 lstrip, and rstrip as well. 628 629 * string.c (rb_str_rstrip_bang): remove trailing '\0' at the end 630 of string. 631 632 * string.c (rb_str_lstrip_bang): do not strip '\0' from the left. 633 634Sun Jul 27 21:16:30 2003 WATANABE Hirofumi <eban@ruby-lang.org> 635 636 * ext/openssl/extconf.rb: better support MinGW. add 637 dir_config("kerberos") and with_config("pkg-config"). 638 639 * mkconfig.rb: initialize global variables to avoid warnings. 640 641Sun Jul 27 19:35:06 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 642 643 * ext/tcltklib/tcltklib.c: add some methods to support 644 multiple interpreters (low level) 645 646 * ext/tk/lib/multi-tk.rb: new library to support multiple Tk 647 interpreters (high level) 648 649 * ext/tcltklib/demo/safeTk.rb: new sample of safeTk interpreter 650 651 * ext/tk/sample/safe-tk.rb: new sample of multi-tk.rb 652 653 * ext/tk/lib/tk.rb: bug fix and add feature to supprt multi-tk 654 655 * ext/tk/lib/tkafter.rb: ditto 656 657Sun Jul 27 14:43:37 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org> 658 659 * lib/debug.rb: fix breakpoint parameter parsing/checking. 660 (?:(file|class):)(line_number|method) 661 662Sun Jul 27 10:21:28 2003 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp> 663 664 * lib/drb/unix.rb: add UNIXFileOwner, UNIXFileGroup. 665 666Sun Jul 27 03:10:43 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 667 668 * io.c (io_reopen): avoid dup2() equal handles not to close itself and 669 to get rid of a msvcrt bug. [ruby-dev:20919] 670 671Sun Jul 27 00:37:16 2003 WATANABE Hirofumi <eban@ruby-lang.org> 672 673 * lib/tmpdir.rb: use GetWindowsDirectory, not GetSystemDirectory. 674 [ruby-talk:77073] 675 676Sat Jul 26 21:25:21 2003 NAKAMURA Usaku <usa@ruby-lang.org> 677 678 * io.c (rb_fdopen): set errno if it's zero on win32 platforms. 679 680 * ext/openssl/ossl_ssl.c (TO_SOCKET): define special version when 681 _WIN32 is defined. this is ruby's problem, not OpenSSL. 682 683 * win32/win32.c: remove some old comments. 684 685Sat Jul 26 14:26:57 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 686 687 * ext/tk/lib/tk.rb (TkCore::chooseDirectory): back up wrongly 688 removed method. 689 690Sat Jul 26 14:14:12 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 691 692 * ext/stringio/stringio.c: includes Enumerable as well as IO. 693 [ruby-talk:77058] 694 695Sat Jul 26 07:00:53 2003 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp> 696 697 * lib/erb.rb: fix % line. 698 699Sat Jul 26 05:31:09 2003 GOTOU Yuuzou <gotoyuzo@notwork.org> 700 701 * ext/openssl/ossl.h: fix comment. 702 703 * ext/openssl/ossl.c (ossl_debug): should enable if no va-args 704 macro supplied. 705 706Sat Jul 26 04:04:36 2003 GOTOU Yuuzou <gotoyuzo@notwork.org> 707 708 * ext/openssl/extconf.rb: refine va-args macro detection. 709 [ruby-talk:76983] 710 711Sat Jul 26 01:33:51 2003 NAKAMURA Usaku <usa@ruby-lang.org> 712 713 * ext/openssl/ossl_ssl.c (ossl_ssl_setup): need to pass the real 714 socket to SSL_get_fd on native win32 platforms. 715 716Sat Jul 26 01:20:29 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 717 718 * variable.c (rb_mod_const_missing): "const_missing" should not 719 appear in the caller(); add call frame adjustment. 720 721 * eval.c (rb_method_missing): simplify call frame adjustment. 722 723Fri Jul 26 00:04:25 2003 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp> 724 725 * ext/openssl/sample: add samples. 726 - cert2text.rb: dump certificate file as text. 727 - crlstore.rb: CRL store implementation. Fetch CRL via HTTP when 728 http-access2 is installed. 729 - certstore.rb: certificate store implementation. 730 - cert_store_view.rb: certificate store viewer with FXRuby. Uses 731 c_rehash.rb, crlstore.rb and certstore.rb. 732 733Fri Jul 25 16:43:03 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 734 735 * ext/tcltklib/tcltklib.c: add TclTkIp#create_slave, 736 TclTkIp#_make_safe and TclTkIp#safe? 737 738 * ext/tcltklib/MANUAL.euc: modify descriptions 739 740 * ext/tk/lib/tk.rb: bug fix [ruby-talk:76980] and modify to 741 support multi Tk IPs 742 743 * ext/tk/lib/tkafter.rb: modify to support multi Tk IPs 744 745Fri Jul 25 15:47:39 2003 GOTOU Yuuzou <gotoyuzo@notwork.org> 746 747 * ext/openssl/extconf.rb: add check for BN_rand_range() and 748 BN_pseudo_rand_range(). 749 750 * ext/openssl/ossl_bn.c (ossl_bn_s_rand_range): should raise 751 NotImplementedError if BN_rand_range() wan not defined. 752 753 * ext/openssl/ossl_bn.c (ossl_bn_s_pseudo_rand_range): should raise 754 NotImplementedError if BN_pseudo_rand_range() wan not defined. 755 756 * ext/openssl/ossl_pkcs7.c (ossl_pkcs7_s_encrypt): avoid compiler 757 warning for OpenSSL-0.9.6. 758 759 * ext/openssl/ossl_pkcs7.c (ossl_pkcs7si_initialize): ditto. 760 761Fri Jul 25 14:34:55 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 762 763 * ext/socket/socket.c (tcp_s_gethostbyname): was using 764 uninitialized size_t value. [ruby-talk:76946] 765 766Fri Jul 25 13:38:38 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 767 768 * re.c (rb_reg_options_m): use rb_reg_options() to mask internal 769 flags. 770 771 * re.c (rb_reg_initialize_m): allow nil as third argument and 772 ignore, and mask code flags if the argument is given. 773 [ruby-dev:20885] 774 775 * re.c (rb_reg_options): get common flags directly. 776 777Fri Jul 25 03:52:21 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 778 779 * lib/yaml/dbm.rb: replace indexes with values_at. 780 781Fri Jul 25 02:55:59 2003 GOTOU Yuuzou <gotoyuzo@notwork.org> 782 783 * ext/openssl/extconf.rb: add check for libsocket and libnsl. 784 785 * ext/openssl/extconf.rb: use pkg-config to build CFLAGS and LDFLAGS. 786 787Fri Jul 25 01:27:59 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 788 789 * ext/syck/emitter.c (syck_emitter_flush): accepts count 790 of bytes to flush. anchor offsets now functional. 791 792 * ext/syck/syck.h (syck_emitter_flush): ditto. 793 794 * ext/syck/rubyext.c: ditto. 795 796 * ext/syck/token.c: URI escaping now supported. 797 798Thu Jul 24 16:41:31 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 799 800 * lib/mkmf.rb (have_type): check if a type is defined. 801 802 * lib/mkmf.rb (check_sizeof): check size of a type. 803 804 * ext/dbm/extconf.rb: check if type DBM is defined. 805 [ruby-talk:76693] 806 807Thu Jul 24 16:18:40 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 808 809 * ChangeLog (add-log-time-format): "%c" contains timezone on 810 XEmacs. 811 812Thu Jul 24 16:05:22 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 813 814 * configure.in (AC_C_VOLATILE): check if volatile works. 815 816 * defines.h (volatile): removed. 817 818 * eval.c (rb_thread_group): Thread#group. [new] 819 820Thu Jul 24 15:50:42 2003 GOTOU Yuuzou <gotoyuzo@notwork.org> 821 822 * ext/openssl/extconf.rb: add check for win32 OpenSSL libraries. 823 824 * ext/openssl/extconf.rb: add check for __VA_ARGS__. 825 826 * ext/openssl/ossl.h: avoid non C99 compiler errors. 827 828Thu Jul 24 13:32:56 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 829 830 * eval.c (thgroup_add): no warning for terminated threads. 831 832Thu Jul 24 13:09:26 2003 Tanaka Akira <akr@m17n.org> 833 834 * lib/pathname.rb: added. 835 836Thu Jul 24 11:21:10 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 837 838 * ext/io/wait/extconf.rb: removed unnecessary backward 839 compatibility stuff. 840 841Thu Jul 24 11:09:10 2003 WATANABE Hirofumi <eban@ruby-lang.org> 842 843 * ext/openssl/extconf.rb: revert use of dir_config. 844 845Thu Jul 24 09:58:32 2003 NAKAMURA Usaku <usa@ruby-lang.org> 846 847 * ext/Win32API/lib/win32/resolv.rb: added. 848 849 * lib/resolv.rb: support Win32 platforms. based on Tietew's work 850 [ruby-dev:15573]. 851 852Thu Jul 24 04:05:46 2003 GOTOU Yuuzou <gotoyuzo@notwork.org> 853 854 * ext/openssl/ssl.h: undef X509_NAME and PKCS7_SIGNER_INFO to 855 avoid name confliction on mswin32. 856 857 * ext/openssl/ssl.c (ossl_protect_obj2bio): avoid VC++ warnings 858 in function prototype. 859 860 * ext/openssl/ssl.c (ossl_protect_membio2str): ditto. 861 862 * ext/openssl/ssl.c (ossl_protect_x509_ary2sk): ditto. 863 864Thu Jul 24 03:44:04 2003 Michal Rokos <m.rokos@sh.cvut.cz> 865 866 * ext/openssl/extconf.rb: cut check for OpenSSL version 867 868Thu Jul 24 03:41:30 2003 NAKAMURA Usaku <usa@ruby-lang.org> 869 870 * ext/tcltklib/tcltklib.c (ip_init): need at least one statement after 871 label. 872 873Thu Jul 24 01:48:03 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 874 875 * lib/cgi.rb (CGI::QueryExtension::[]): should return StringIO (or 876 Tempfile) for multipart/form. 877 878 * variable.c (rb_define_const): give warning for non constant 879 name. [ruby-core:01287] 880 881Thu Jul 24 01:51:08 2003 GOTOU Yuuzou <gotoyuzo@notwork.org> 882 883 * lib/webrick: imported. 884 885 * MANIFEST: added webrick files. 886 887Thu Jul 24 01:32:04 2003 WATANABE Hirofumi <eban@ruby-lang.org> 888 889 * lib/tmpdir.rb (tmpdir): new method. remove TMPDIR. 890 use GetSystemWindowsDirectory(GetSystemDirectory), not GetTempPath. 891 892Thu Jul 24 01:08:43 2003 GOTOU Yuuzou <gotoyuzo@notwork.org> 893 894 * ext/openssl: imported. 895 896Wed Jul 23 23:06:59 2003 WATANABE Hirofumi <eban@ruby-lang.org> 897 898 * file.c (DOSISH): better Cygwin support. 899 900Wed Jul 23 19:13:21 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 901 902 * string.c (rb_str_split_m): the receiver may be empty string. 903 904Wed Jul 23 18:43:00 2003 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp> 905 906 * lib/erb.rb: import erb-2.0.4b1. 907 908Wed Jul 23 18:21:52 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 909 910 * ext/io/wait: imported. 911 912Wed Jul 23 16:07:35 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 913 914 * process.c: unify indentation 915 916 * configure.in: add --enable-setreuid option 917 918 * ext/tcltklib/tcltklib.c: TclTkIp.new accepts 'ip-name' and 'options' 919 920 * ext/tk/lib/tk.rb: support arguments of TclTkIp.new 921 922 * ext/tk/lib/tk*.rb: preparations for multi-Tk interpreter support 923 924Wed Jul 23 15:49:01 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 925 926 * string.c (rb_str_lstrip_bang): strip NUL along with white 927 spaces. [ruby-talk:76659] 928 929 * string.c (rb_str_rstrip_bang): ditto. 930 931Wed Jul 23 14:19:17 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 932 933 * lib/mkmf.rb (log_src, checking_for, create_header): 934 Logging.message is printf like format. 935 936Wed Jul 23 10:11:15 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 937 938 * ext/iconv/iconv.c (check_iconv): check if Iconv instance. 939 940 * ext/iconv/iconv.c (iconv_convert): stringify argument. 941 942Wed Jul 23 02:39:46 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 943 944 * process.c: add a module for raw syscalls to control UID/GID 945 946 * process.c: add modules for portable UID/GID control 947 948Tue Jul 22 19:16:40 2003 Tanaka Akira <akr@m17n.org> 949 950 * ext/iconv/iconv.c (iconv_failure_initialize): limit 951 inspect message. [ruby-dev:20785] 952 953 * ext/iconv/iconv.c (rb_str_derive): share with original 954 string if possible. [ruby-dev:20785] 955 956Tue Jul 22 17:22:34 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 957 958 * variable.c (rb_mod_const_missing): new method. [ruby-core:00441] 959 960 * variable.c (rb_const_get_at): allow "const_missing" hook. 961 962 * variable.c (rb_const_get_0): ditto. 963 964 * eval.c (method_missing): rename from rb_undefined to clarify. 965 966 * eval.c (ruby_finalize_0): update exit status if any of END proc 967 raises SystemExit. [ruby-core:01256] 968 969 * signal.c (rb_trap_exit): wrap rb_eval_cmd 970 971 * eval.c (rb_exec_end_proc): reduce rb_protect(). 972 973Tue Jul 22 17:15:57 2003 WATANABE Hirofumi <eban@ruby-lang.org> 974 975 * MANIFEST (lib/cgi/session/pstore.rb, lib/yaml/baseemitter.rb): 976 added. 977 978Tue Jul 22 10:52:19 2003 NAKAMURA Usaku <usa@ruby-lang.org> 979 980 * lib/tmpdir.rb: remove charcters after "\000" and regularize path. 981 982Tue Jul 22 02:22:45 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 983 984 * numeric.c (num_equal): should not use rb_equal(). 985 986 * string.c (rb_str_equal): should return nil for non string 987 operand to conform comparable convention. [ruby-dev:20759] 988 989Tue Jul 22 00:19:19 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 990 991 * lib/tmpdir.rb: new library to get temporary directory path, 992 using GetTempPath on Win32 environment. 993 994 * lib/tempfile.rb: now uses tmpdir.rb. 995 996 * lib/cgi/session.rb, ib/drb/unix.rb: ditto. 997 998Mon Jul 21 01:53:43 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 999 1000 * string.c (rb_string_value_cstr): check null byte in the string 1001 before retrieving C ptr. accessed via macro StringValueCStr. 1002 1003 * file.c: use StringValueCStr to retrieve paths to system calls. 1004 1005 * file.c (sys_fail2): raise error for two operand system calls 1006 such as rename, link, symlink. (ruby-bugs PR#1047) 1007 1008Sun Jul 20 11:03:25 2003 UENO Katsuhiro <katsu@blue.sky.or.jp> 1009 1010 * ext/zlib/zlib.c (gzfile_read_header): gz->z.input may be nil after 1011 finishing reading a gzip header. 1012 1013Sat Jul 19 22:25:47 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1014 1015 * string.c (rb_str_match2): add warning to "~string". 1016 [ruby-list:37751] 1017 1018 * lib/net/ftp.rb (Net::FTP::open): takes block. suggested by Gavin 1019 Sinclair in [ruby-core:01237]. 1020 1021Sat Jul 19 19:03:24 2003 Takaaki Uematsu <uema2x@jcom.home.ne.jp> 1022 1023 * wince/stdlib.c: add bsearch(). 1024 1025Sat Jul 19 12:34:45 2003 David Black <dblack@superlink.net> 1026 1027 * lib/scanf.rb: import. 1028 1029Sat Jul 19 11:27:25 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1030 1031 * lib/xmlrpc: import. 1032 1033 * eval.c (thgroup_add): should return group for terminated thread 1034 case. 1035 1036 * eval.c (thgroup_add): do not raise ThreadError on terminated 1037 thread addition for compatibility. just warning. 1038 1039Sat Jul 19 04:50:56 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 1040 1041 * ext/iconv/charset_alias.rb, ext/iconv/extconf.rb: make wrapper 1042 script which maps charset names. [ruby-dev:20625] 1043 1044 * ext/iconv/iconv.c (charset_map): charset name map. 1045 1046 * ext/iconv/iconv.c (iconv_dfree): no exception while 1047 finalization. 1048 1049 * ext/iconv/iconv.c (iconv_s_conv): new method Iconv.conv. 1050 [ruby-dev:20588] 1051 1052Sat Jul 19 03:09:18 2003 NAKAMURA Usaku <usa@ruby-lang.org> 1053 1054 * ext/Win32API/lib/win32/registry.rb (Win32::Registry::Error): 1055 inherit StandardError instead of SystemCallError. 1056 1057Sat Jul 19 02:00:39 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 1058 1059 * eval.c (rb_attr): extra calls of method_added. [ruby-talk:76361] 1060 1061Fri Jul 18 18:44:22 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 1062 1063 * lib/mkmf.rb (init_mkmf): clear $INSTALLFILES. [ruby-dev:20727] 1064 1065Fri Jul 18 17:34:39 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 1066 1067 * lib/mkmf.rb (rm_f): use FileUtils. 1068 1069 * lib/mkmf.rb (modified?): return mtime of the target if 1070 it exists and newer than times. 1071 1072 * lib/mkmf.rb (install_files): add a current directory 1073 file even if it does not exist yet. 1074 1075 * lib/mkmf.rb (configuration): do not add $LDFLAGS to 1076 DLDFLAGS. 1077 1078 * ext/extmk.rb (extmake): check whether Makefile is newer 1079 than depend and MANIFEST. 1080 1081Fri Jul 18 14:57:19 2003 NAKAMURA Usaku <usa@ruby-lang.org> 1082 1083 * win32/win32.c (make_cmdvector): recognize quote within string. 1084 based on Nobu's patch ([ruby-win32:450]). [ruby-talk:75853] 1085 1086Fri Jul 18 13:04:36 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1087 1088 * eval.c (rb_f_missing): VCALL is called only for LOCAL_ID. no 1089 check required. 1090 1091 * parse.y (primary): primary:tFID generates NODE_FCALL. 1092 [ruby-dev:20641] 1093 1094Thu Jul 17 18:50:26 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1095 1096 * re.c (match_captures): rename from "groups". 1097 1098Thu Jul 17 17:57:32 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1099 1100 * eval.c (rb_clear_cache_by_class): check both klass and origin. 1101 1102Thu Jul 17 13:46:25 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1103 1104 * eval.c (ruby_init): set ruby_running to true after 1105 initialization. 1106 1107Thu Jul 17 13:42:53 2003 WATANABE Hirofumi <eban@ruby-lang.org> 1108 1109 * lib/ftools.rb (File::makedirs): do not handle "//" as a directory. 1110 1111Thu Jul 17 06:40:28 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 1112 1113 * ext/tk/lib/tk.rb: recover and fix typo : Tk.chooseDirectory 1114 (Tk8.4 feature) 1115 1116Wed Jul 16 16:23:58 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1117 1118 * eval.c (rb_proc_new): call svalue_to_avalue for yield argument. 1119 1120Wed Jul 16 00:31:00 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1121 1122 * eval.c (rb_disable_super, rb_enable_super): deprecate. 1123 1124 * eval.c (thgroup_s_alloc): re-implement group struct. 1125 1126 * eval.c (thgroup_add): add check for enclose and frozen status. 1127 1128Tue Jul 15 19:50:49 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 1129 1130 * eval.c (rb_add_method, rb_alias): need to clear cache by 1131 ID when method defined in parent class is cached for 1132 grand child classes. [ruby-dev:20672] 1133 1134Tue Jul 15 14:38:21 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1135 1136 * lib/matrix.rb: remove elements conversion to_f, to_i, to_r. 1137 1138 * lib/cgi/session/pstore.rb: add new file. 1139 1140Tue Jul 15 03:30:41 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 1141 1142 * ext/syck/rubyext.c (syck_mark_emitter): forgot to rb_gc_mark the 1143 outgoing IO object. 1144 1145Sun Jul 13 14:55:36 2003 Koji Arai <jca02266@nifty.ne.jp> 1146 1147 * process.c (proc_getgroups, proc_setmaxgroups): fix typo. 1148 1149Sat Jul 12 17:01:28 2003 NAKAMURA Usaku <usa@ruby-lang.org> 1150 1151 * struct.c (struct_entry): add prototype to avoid VC++ warnings. 1152 1153Sat Jul 12 04:43:57 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 1154 1155 * ext/syck/emitter.c: new emitter code. 1156 1157 * ext/syck/rubyext.c: Emitter class. 1158 1159 * lib/yaml.rb: Load Syck emitter, if available. 1160 1161 * lib/yaml/stream.rb: ditto. 1162 1163 * lib/yaml/baseemitter.rb: underlying class for all emitters. 1164 1165 * lib/yaml/rubytypes.rb: use BaseEmitter abstraction. 1166 1167 * lib/yaml/emitter.rb: ditto. 1168 1169Sat Jul 12 04:23:13 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 1170 1171 * eval.c (rb_undef): need to clear cache for inherited class. 1172 (rubicon/builtin/TestModulePrivate.rb:test_undef_method) 1173 1174Sat Jul 12 01:21:54 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 1175 1176 * eval.c (avalue_to_svalue): typo. 1177 1178 * eval.c (rb_load): rb_prohibit_interrupt must not underflow. 1179 1180 * parse.y (NODE_STRTERM, tokadd_string, parse_string): moved 1181 string nest level from a static variable to NODE_STRTERM, to 1182 preserve it from word to word in %W/%w. 1183 1184Fri Jul 11 22:37:18 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 1185 1186 * configure.in (aix): needs ruby.imp even with gcc. 1187 (ruby-bugs:PR#1007) 1188 1189Fri Jul 11 18:37:37 2003 WATANABE Hirofumi <eban@ruby-lang.org> 1190 1191 * instruby.rb: do not handle directories. [ruby-dev:20613] 1192 1193Fri Jul 11 16:09:09 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1194 1195 * util.c (ruby_strtod): exp should be less than MDMAXEXPT. 1196 1197Fri Jul 11 07:17:47 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 1198 1199 * ext/tk/lib/tk.rb: not create a Tcl/Tk interpreter if already 1200 defined TkCore::INTERP 1201 1202 * ext/tk/lib/tk.rb: bugfix on TkWindow#configure 1203 1204Thu Jul 10 14:42:02 2003 WATANABE Hirofumi <eban@ruby-lang.org> 1205 1206 * math.c (math_log): nan takes a dummy argument on Cygwin 1.5.0. 1207 1208Wed Jul 9 23:50:46 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 1209 1210 * regex.c (mbctab_sjis): 0x80 is not shift jis first byte. 1211 [ruby-dev:20516] 1212 1213Wed Jul 9 15:38:28 2003 WATANABE Hirofumi <eban@ruby-lang.org> 1214 1215 * instruby.rb: do not install shared libraries as man pages. 1216 1217 * mkconfig.rb: support text-mount on Cygwin. 1218 1219Wed Jul 9 11:09:57 2003 NAKAMURA Usaku <usa@ruby-lang.org> 1220 1221 * re.c (match_entry): add prototype to avoid VC++ warnings. 1222 1223Wed Jul 9 03:48:27 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1224 1225 * eval.c (rb_load): put rb_load_file() in a thread critical 1226 section. [ruby-dev:20490] 1227 1228 * eval.c (compile): put rb_compile_string() in a thread critical 1229 section. 1230 1231Tue Jul 8 02:35:41 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1232 1233 * variable.c (rb_const_get_0): should not warn if constant is not 1234 defined. (ruby-bugs-ja PR#509) 1235 1236 * bignum.c (rb_big2dbl): give a warning on overflow. 1237 (ruby-bugs-ja PR#510) 1238 1239 * util.c (ruby_strtod): change MDMAXEXPT from 511 to 308. 1240 1241 * pack.c (utf8_to_uv): long is sufficient. LONG_LONG is not 1242 required. 1243 1244Tue Jul 8 01:43:16 2003 Koji Arai <jca02266@nifty.ne.jp> 1245 1246 * bignum.c (rb_big2str): support 32 bit (without `long long' type) 1247 machines. (ruby-bugs-ja PR#512) 1248 1249Mon Jul 7 10:22:46 2003 WATANABE Hirofumi <eban@ruby-lang.org> 1250 1251 * ext/dbm/extconf.rb (gdbm_compat, qdbm): add check for gdbm_compat 1252 and qdbm. 1253 1254Mon Jul 7 01:34:49 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1255 1256 * eval.c (rb_call_super): k->super maybe NULL if klass is Kernel. 1257 [ruby-dev:20519] 1258 1259 * gc.c (obj_free): clear method cache when freeing class/module. 1260 1261Sat Jul 5 23:32:06 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1262 1263 * eval.c (rb_mod_remove_method): allow "remove_method" to accept 1264 multiple arguments. 1265 1266Sat Jul 5 00:22:59 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1267 1268 * node.h (NEW_NODE): cast arguments to rb_node_newnode(). 1269 1270Fri Jul 4 21:48:44 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 1271 1272 * ext/syck/rubyext.c, ext/syck/syck.c, ext/syck/syck.h, 1273 ext/syck/token.c: C++ style comments are not allowed. 1274 (ruby-bugs:PR#1008) 1275 1276Thu Jul 3 23:41:30 2003 Tanaka Akira <akr@m17n.org> 1277 1278 * lib/timeout.rb: add optional exception argument for compatibility 1279 function. 1280 1281Thu Jul 3 14:22:46 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1282 1283 * array.c (rb_values_at): extract common procedure from 1284 rb_ary_values_at. follow DRY principle. 1285 1286 * re.c (match_values_at): values_at should understand ranges. 1287 1288 * struct.c (rb_struct_values_at): ditto. 1289 1290 * struct.c (inspect_struct): inspect format changed; add "struct " 1291 at the top. 1292 1293 * sprintf.c (rb_f_sprintf): "%p" specifier for inspect output. 1294 (RCR#69) 1295 1296 * eval.c (rb_mod_undef_method): allow "undef_method" to accept 1297 multiple arguments. (RCR#146) 1298 1299 * lib/timeout.rb: put timeout in Timeout module. (RCR#121) 1300 [ruby-talk:61028] 1301 1302 * re.c (match_groups): new method added. (RCR#139) 1303 1304 * variable.c (rb_mod_const_of): should exclude constant defined 1305 in Object, unless retrieving constants of Object. 1306 1307Thu Jul 3 12:13:05 2003 WATANABE Hirofumi <eban@ruby-lang.org> 1308 1309 * lib/mkmf.rb (VPATH): convert from Windows form to Unix form on 1310 MinGW. This fixes the build with GNU make 3.80-1 for Cygwin. 1311 1312Wed Jul 2 23:27:34 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1313 1314 * string.c (rb_str_new4): do not allocate new string if original 1315 is frozen or already have copy-on-write entry. [ruby-talk:74940] 1316 1317Wed Jul 2 13:22:39 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1318 1319 * string.c (rb_str_shared_replace): clear flags before copy. 1320 1321 * string.c (rb_str_replace): ditto. 1322 1323 * eval.c (rb_yield_0): override visibility mode for module_eval 1324 etc. (ruby-bugs-ja PR#505) 1325 1326Wed Jul 2 11:45:34 2003 Minero Aoki <aamine@loveruby.net> 1327 1328 * lib/net/smtp.rb: synchronize document with source code. 1329 1330 * lib/net/pop.rb: ditto. 1331 1332Wed Jul 2 11:39:50 2003 Minero Aoki <aamine@loveruby.net> 1333 1334 * lib/net/smtp.rb: unify SMTP and SMTPCommand. 1335 1336 * lib/net/smtp.rb: new exception class SMTPError. 1337 1338 * lib/net/smtp.rb: new exception class SMTPAuthenticationError. 1339 1340 * lib/net/smtp.rb: new exception class SMTPServerBusy. 1341 1342 * lib/net/smtp.rb: new exception class SMTPSyntaxError. 1343 1344 * lib/net/smtp.rb: new exception class SMTPFatalError. 1345 1346 * lib/net/smtp.rb: new exception class SMTPUnknownError. 1347 1348 * lib/net/smtp.rb: change critical section protect algorithm. 1349 1350 * lib/net/smtp.rb (SMTP#do_start): check authentication args 1351 before all. 1352 1353 * lib/net/smtp.rb: new method send_message (alias send_mail). 1354 1355 * lib/net/smtp.rb: new method open_message_stream (alias ready). 1356 1357 * lib/net/pop.rb: POPBadResponse is a POPError. 1358 1359 * lib/net/pop.rb (POPMail#pop): ban ReadAdapter. 1360 1361 * lib/net/pop.rb (POPMail#top): ditto. 1362 1363 * lib/net/pop.rb (POP3Command): change critical section protect 1364 algorithm. 1365 1366 * lib/net/pop.rb (POP3Command#auth): USER and PASS should be one 1367 critical block. 1368 1369 * lib/net/pop.rb (POP3Command#retr): ban `dest' argument using 1370 iterator. 1371 1372 * lib/net/pop.rb (POP3Command#top): ditto. 1373 1374 * lib/net/protocol.rb: #read_message_to -> #each_message_chunk 1375 1376 * lib/net/protocol.rb: #D -> #LOG 1377 1378 * lib/net/protocol.rb: #D_off -> #LOG_off 1379 1380 * lib/net/protocol.rb: #D_on -> #LOG_on 1381 1382Wed Jul 2 11:10:47 2003 Minero Aoki <aamine@loveruby.net> 1383 1384 * lib/net/http.rb: set old class aliases for backward 1385 compatibility. [ruby-talk:74863] 1386 1387 * lib/net/protocol.rb: ditto. 1388 1389Wed Jul 2 01:32:40 2003 WATANABE Hirofumi <eban@ruby-lang.org> 1390 1391 * lib/net/pop.rb (Net::POP3#start): typofix. 1392 1393Tue Jul 1 22:08:19 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 1394 1395 * ext/tk/lib/tk.rb: TkWindow include TkWinfo 1396 1397 * ext/tk/lib/tk.rb: treat unknown widget classes as subclasses 1398 of TkWindow 1399 1400Tue Jul 1 19:02:12 2003 WATANABE Hirofumi <eban@ruby-lang.org> 1401 1402 * parse.y (rb_intern): should use mbclen instead of mblen. 1403 1404Tue Jul 1 10:36:19 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 1405 1406 * class.c (rb_define_class, rb_define_module): also set constant under 1407 Object. [ruby-dev:20445] 1408 1409 * object.c (boot_defclass): ditto. 1410 1411 * variable.c (rb_const_get_at, rb_const_get_0, rb_mod_const_at, 1412 rb_const_defined, mod_av_set, rb_const_assign): toplevel constants 1413 are now under Object, rb_class_tbl remains for GC. 1414 1415Mon Jun 30 17:53:06 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 1416 1417 * eval.c (mnew): ignore metaclasses have no influence, for rklass. 1418 [ruby-talk:74706] 1419 1420Sun Jun 29 06:59:07 2003 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp> 1421 1422 * lib/drb/drb.rb, lib/drb/invokemethod.rb: import drb-2.0.4 1423 (use LocalJumpError#reason) 1424 1425Sat Jun 28 12:28:54 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 1426 1427 * configure.in (rb_cv_stack_grow_dir): check stack growing direction. 1428 1429 * eval.c (rb_thread_restore_context): prior configuration macro. 1430 1431 * gc.c (ruby_stack_length): always return the address of lower edge. 1432 1433 * gc.c (rb_gc_mark_locations): remove margin. [ruby-dev:20462] 1434 1435 * gc.c (rb_gc, Init_stack): prior configuration macro. 1436 1437 * gc.c (Init_stack): add safety margin. 1438 1439Fri Jun 27 14:41:22 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 1440 1441 * string.c (rb_str_split_m): remove white spaces on the head of 1442 the last element, when limit is specified. [ruby-talk:74506] 1443 1444Fri Jun 27 03:24:54 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 1445 1446 * io.c (io_fflush): need to check if closed after thread switch. 1447 [ruby-dev:20351] 1448 1449 * io.c (fptr_finalize): ditto. 1450 1451 * string.c (rb_str_rindex_m): fixed wrong fix. should move backward 1452 first only when matching from the end. 1453 1454Thu Jun 26 21:34:49 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 1455 1456 * class.c (class_instance_method_list): get rid of warning about 1457 arguement type mismatch, and inline method_list(). 1458 [ruby-core:01198] 1459 1460Wed Jun 25 14:40:33 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 1461 1462 * ext/tk/lib/tk.rb: add and modify methods --- 1463 TkWidget.database_class, TkWidget.database_classname, 1464 TkWidget#database_class, TkWidget#database_classname 1465 1466 * ext/tk/lib/tk.rb: instances of a subclass of TkToplevel or 1467 TkFrame are created with ":class=>subclass" option as default. 1468 1469 * ext/tk/sample/tkoptdb.rb: add a new part 1470 1471Wed Jun 25 12:52:58 2003 Matthew Dempsky <jivera@flame.org> 1472 1473 * class.c (rb_generic_class_instance_methods): merge argument 1474 check (and warning) into one function; following DRY principle. 1475 [ruby-core:01193] 1476 1477Wed Jun 25 05:49:10 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 1478 1479 * ext/tk/lib/tk.rb: add widget destroy hook binding to TkBindTag::ALL 1480 1481 * ext/tk/lib/tkcanvas.rb: Although requiring manual control of GC, 1482 memory eating problem of TkCanvas Items is fixed. 1483 1484 * ext/tk/lib/tktext.rb: add some methods and bug fix 1485 1486Wed Jun 25 00:14:30 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1487 1488 * variable.c (autoload_delete): should delete Qundef from iv_tbl. 1489 (ruby-bugs-ja PR#504) 1490 1491Tue Jun 24 16:46:07 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 1492 1493 * ext/tk/lib/tk.rb: bug fix on TkToplevel, TkFrame, 1494 TkPanedwindow, TkOptionDB 1495 1496 * ext/tk/lib/tk.rb: TkOptionDB --- make it more secure to use procs 1497 defined on resourceDB 1498 1499 * ext/tk/sample/tkoptdb.rb, resource.ja, resource.en: 1500 sample script how to use TkOptionDB. 1501 1502Tue Jun 24 14:22:41 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 1503 1504 * lib/yaml/types.rb: replaced Kernel::Hash reference with Object::Hash 1505 from [ruby-talk:74270] 1506 1507Tue Jun 24 17:59:30 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 1508 1509 * eval.c (rb_yield_0): show yielded block position not only yielding 1510 point. [ruby-dev:20441] 1511 1512Tue Jun 24 16:47:07 2003 Minero Aoki <aamine@loveruby.net> 1513 1514 * lib/net/http.rb (HTTPHeader#proxy_basic_auth): missing `@'. 1515 Thanks Douglas Koszerek. (ruby-bugs:PR975) 1516 1517Tue Jun 24 14:31:17 2003 Minero Aoki <aamine@loveruby.net> 1518 1519 * config.guess: have wrongly returned "alphaev56-unknown-linux-" 1520 on Linux/Alpha. [ruby-dev:20434] 1521 1522Tue Jun 24 04:54:46 2003 Minero Aoki <aamine@loveruby.net> 1523 1524 * configure.in: always add -mieee for gcc/alpha. [ruby-dev:20429] 1525 1526Tue Jun 24 02:40:09 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 1527 1528 * array.c (rb_ary_unshift_m): need to check number of arguments. 1529 [ruby-talk:74189] 1530 1531Mon Jun 23 23:59:56 2003 Minero Aoki <aamine@loveruby.net> 1532 1533 * io.c (io_close): missing prototype. [ruby-dev:20422] 1534 1535 * ext/socket/socket.c (bsock_do_not_rev_lookup_set): ditto. 1536 1537 * ext/win32ole/win32ole.c (foletype_guid, foletype_progid): ditto. 1538 1539 * error.c (syserr_initialize): length argument of sprintf() is an 1540 int. 1541 1542Mon Jun 23 23:28:14 2003 WATANABE Hirofumi <eban@ruby-lang.org> 1543 1544 * MANIFEST: add wince files. 1545 1546 * ext/tk/MANIFEST: add sample/tkmenubutton.rb. 1547 1548Mon Jun 23 17:40:58 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 1549 1550 * dir.c (find_dirsep): get rid of warnings. 1551 1552 * eval.c (error_print): temporary value might be disposed by GC. 1553 1554 * hash.c (env_has_value, env_index): should not increment NULL. 1555 1556 * io.c (io_read, rb_io_sysread): not read when length is 0. 1557 1558 * io.c (rb_io_reopen): ensure initialized IO. 1559 1560 * io.c (rb_io_init_copy): sychronize file pointer. 1561 1562 * io.c (rb_io_s_pipe): make exception proof. 1563 1564 * string.c (rb_str_rindex_m): Fixnum 0 matched end of string. 1565 1566Mon Jun 23 16:18:12 2003 Tanaka Akira <akr@m17n.org> 1567 1568 * io.c (rb_open_file): initialize flags. 1569 1570 * time.c (time_arg): initialize v[6] even when argc is 10 to 1571 avoid valgrind error. 1572 1573Mon Jun 23 14:22:44 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 1574 1575 * ext/tk/lib/tk.rb: bug fix on TkRoot and TkToplevel 1576 1577Mon Jun 23 08:24:01 2003 Florian Frank <flori@nixe.ping.de> 1578 1579 * string.c (rb_str_upto): generate sequence according to "succ" 1580 order. formerly check was done by dictionary order. 1581 [ruby-talk:74138] 1582 1583Mon Jun 23 00:27:32 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1584 1585 * string.c (rb_string_value): fill constant empty string along 1586 with setting ELTS_SHARED if str->ptr is NULL. [ruby-core:01179] 1587 1588 * string.c (rb_string_value_ptr): ditto. 1589 1590 * string.c (rb_check_string_type): ditto. 1591 1592Sun Jun 22 23:42:20 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 1593 1594 * string.c (str_gsub): move END(0) check before mbclen2(). 1595 1596 * string.c (scan_once): reduce END(0) check. 1597 1598 * io.c (rb_io_initialize): accept fixnum mode. 1599 1600 * eval.c (error_print): replace strchr() by memchr(), einfo may 1601 contain "\0". 1602 1603 * pack.c (pack_unpack): range check for "@" move; initialize check 1604 for "m". 1605 1606 * error.c (syserr_initialize): avoid buffer overflow. 1607 1608 * file.c (rb_file_s_readlink): expand buffer until readlink 1609 succeed. 1610 1611Sun Jun 22 16:17:02 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 1612 1613 * ext/tk/lib/tk.rb: TkRoot.new and TkToplevel.new accept Wm 1614 commands as elements 1615 1616 * ext/tk/lib/tk.rb: TkMenu --- add some methods 1617 1618 * ext/tk/lib/tk.rb: TkOptionMenubutton --- bug fix 1619 1620 * ext/tk/sample/tkmenubutton.rb: sample of TkMenubutton and 1621 TkOptionMenubutton 1622 1623Sat Jun 21 23:15:08 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1624 1625 * eval.c (proc_invoke): should not propagate distination tag if 1626 tag is already handled in this level. (ruby-bugs-ja PR#501) 1627 1628 * object.c (str_to_id): check for empty string before intern. 1629 [ruby-talk:74006] 1630 1631Sat Jun 21 13:56:09 2003 Takaaki Uematsu <uema2x@jcom.home.ne.jp> 1632 1633 * wince/Makefile.sub: undefine HAVE__SETJMP. 1634 1635 * wince/resource.rb: include winver.h in wince3.0. 1636 1637Sat Jun 21 12:55:17 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 1638 1639 * ext/tk/lib/tk.rb: TkRoot.new and TkToplevel.new accept Wm commands 1640 as elements of a hash argument. 1641 1642 * ext/tk/sample/tktimer2.rb: add comments about the usage of a 1643 TkTimer object. 1644 1645Sat Jun 21 08:47:22 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 1646 1647 * ext/tk/lib/tk*.rb: remove direct-accesses to TkComm::INTERP and 1648 TkComm::INITIALIZE_TARGETS 1649 1650 * ext/tk/lib/tk*.rb: use TkINTERP_SETUP_SCRIPTS constant for setting 1651 up the interpreter 1652 1653 * ext/tcltklib/tcltklib.c: support to create a safe interpreter 1654 with safe-Tk 1655 1656Fri Jun 20 23:28:27 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1657 1658 * eval.c (proc_invoke): should not propagate TAG_BREAK and 1659 TAG_RETURN from orphan Proc object. [ruby-core:01148] 1660 1661Fri Jun 20 15:04:28 2003 NAKAMURA Usaku <usa@ruby-lang.org> 1662 1663 * defines.h (PATH_ENV): name of PATH environment. [new]. 1664 1665 * defines.h (ENV_IGNORECASE): define for case insensitive platforms 1666 to access environment variables. 1667 1668 * dln.c (dln_find_exe): use PATH_ENV instead of "PATH". 1669 1670 * hash.c (env_delete, rb_f_getenv, env_fetch, rb_env_path_tainted, 1671 env_aset): ditto. 1672 1673 * ruby.c (proc_options): ditto. 1674 1675Fri Jun 20 14:52:46 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 1676 1677 * ext/tcltklib/tcltklib.c: Tk interpreter returns TAINTED strings. 1678 1679Fri Jun 20 03:09:21 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1680 1681 * parse.y (new_yield): distinguish "yield 1,2" and "yield [1,2]". 1682 [ruby-dev:20360] 1683 1684 * eval.c (rb_eval): support new_yield() change. 1685 1686 * variable.c (rb_const_get_0): warn for Foo::BAR when BAR is a 1687 toplevel constant (i.e. a constant defined under Object). 1688 [ruby-list:36935] 1689 1690 * parse.y (no_blockarg): separate no block argument check and 1691 ret_args argument processing. 1692 1693Fri Jun 20 00:45:19 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org> 1694 1695 * lib/csv.rb: import csv module. 1696 1697Thu Jun 19 22:51:41 2003 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp> 1698 1699 * lib/drb.rb, lib/drb/drb.rb, lib/drb/eq.rb, 1700 lib/drb/extserv.rb, lib/drb/extservm.rb, lib/drb/gw.rb, 1701 lib/drb/invokemethod.rb, lib/drb/observer.rb, 1702 lib/drb/timeridconv.rb, lib/drb/unix.rb: import drb-2.0.4b3 1703 1704Thu Jun 19 16:14:43 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 1705 1706 * ext/tcltklib/tcltklib.c (lib_do_one_event): change default 1707 value of the argument 1708 1709 * ext/tcltklib/tcltklib.c (lib_do_one_event): returns true/false 1710 1711 * ext/tcltklib/tcltklib.c: add TclTkLib::EventFlag::NONE ( == 0 ) 1712 1713 * ext/tcltklib/tcltklib.c: add set_no_event_wait() and 1714 get_no_event_wait() 1715 1716 * ext/tcltklib/MANUAL.euc: modify 1717 1718 * ext/tcltklib/README.euc: ditto 1719 1720 * ext/tk/lib/tk.rb: change default value of TkCore.do_one_event 1721 argument 1722 1723 * ext/tk/lib/tk.rb: add TkCore.set_no_event_wait(wait) and 1724 TkCore.get_no_event_wait 1725 1726 * ext/tk/lib/tk.rb: add Tk.exit ( == destroy root widget ) 1727 1728 * ext/tk/lib/tkafter.rb: rename TkAfter => TkTimer (TkAfter is 1729 an alias name) 1730 1731 * ext/tk/lib/tkafter.rb: set_callback returns self 1732 1733 * ext/tk/lib/tkafter.rb: continue() raises an exception, if already 1734 running or no procedure. 1735 1736 * ext/tk/lib/tkafter.rb: skip() raises an exception, if not running. 1737 1738 * ext/tk/sample/tktimer2.rb: new sample for TkTimer class. 1739 1740Thu Jun 19 16:13:54 2003 WATANABE Hirofumi <eban@ruby-lang.org> 1741 1742 * rubytest.rb: add library path to include standard libraries. 1743 1744Thu Jun 19 13:13:10 2003 NAKAMURA Usaku <usa@ruby-lang.org> 1745 1746 * hash.c (env_delete, rb_f_getenv, env_fetch): case insensitive to 1747 access environment variables on DOSISH platforms. 1748 1749Thu Jun 19 00:51:47 2003 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp> 1750 1751 * range.c (rb_range_beg_len): out_of_range check after adjusting 1752 end point. [ruby-dev:20370] 1753 1754Wed Jun 18 23:59:11 2003 Guy Decoux <ts@moulon.inra.fr> 1755 1756 * parse.y (call_args): the first argument to arg_cancat() should 1757 be NODE_LIST. [ruby-core:01151] 1758 1759Wed Jun 18 23:41:27 2003 Marc Cartright <marc@isri.unlv.edu> 1760 1761 * ext/zlib/zlib.c (zstream_run): In a particular situation, 1762 deflate/inflate will return Z_BUF_ERROR, even though another call 1763 is required by the zlib library. 1764 1765Wed Jun 18 19:46:21 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 1766 1767 * ext/tk/lib/tk.rb: bug fix 1768 1769 * ext/tk/lib/tk.rb: rename 'no_create' option to 'without_creating' 1770 1771 * ext/tk/lib/tk.rb: add TkWindow#pack_in, TkWindow#grid_in, 1772 TkWindow#place_in 1773 1774 * ext/tk/lib/tk.rb: add TkWindow#bind_class and TkWindow#database_class 1775 1776 * ext/tk/lib/tk.rb: add TkBindTag.new_by_name and TkDatabaseClass 1777 for binding to database class 1778 1779 * ext/tk/lib/tk.rb: check varname whether already exsist or not. 1780 (TkVarAccess.new) 1781 1782 * ext/tk/lib/tk.rb: TkTextWin#bbox returns an array of four numbers 1783 1784 * ext/tk/lib/tk.rb: autoload TkDialog2, TkWarning2 1785 1786 * ext/tk/lib/tk.rb: scan event callback arguments and convert 1787 to proper type 1788 1789 * ext/tk/lib/tk.rb: TkBindTag.new accepts a block 1790 1791 * ext/tk/lib/tk.rb: If given taglist, TkWindow#bindtags(taglist) 1792 returns taglist 1793 1794 * ext/tk/lib/tk.rb: add TkWindow#bindtags=(taglist) 1795 1796 * ext/tk/lib/tk.rb: Tk.focue and Tk.focus_lastfor return nil 1797 if there is no target widget. 1798 1799 * ext/tk/lib/tk.rb: Tk::Wm.client returns the argument string 1800 when setting name 1801 1802 * ext/tk/lib/tk.rb: TkGrid.columnconfiginfo and rowconfiginfo 1803 given a slot return a number. 1804 1805 * ext/tk/lib/tk.rb: TkWindow.grid_columnconfiginfo and 1806 grid_rowconfiginfo --- ditto 1807 1808 * ext/tk/lib/tk.rb: rename and define alias :: TkOption ==> TkOptionDB 1809 1810 * ext/tk/lib/tk.rb: define alias :: TkTimer ==> TkAfter 1811 1812 * ext/tk/lib/tk.rb: some instance methods change from public to private 1813 1814 * ext/tk/lib/tk.rb: some TkComm methods change to module functions 1815 1816 * ext/tk/lib/tk.rb: add support for -displayof option to some 1817 TkWinfo methods 1818 1819 * ext/tk/lib/tk.rb: bind, bind_append and bind_remove --- 1820 returns the target of event-binding 1821 1822 * ext/tk/lib/tk.rb: add Tk8.4 features 1823 1824 * ext/tk/lib/tk.rb: add TkPaneWindow 1825 1826 * ext/tk/lib/tkdialog.rb: bug fix 1827 1828 * ext/tk/lib/tkdialog.rb: some methods return self 1829 1830 * ext/tk/lib/tkdialog.rb: add TkTextMark#+(mod) and TkTextMark#-(mod) 1831 1832 * ext/tk/lib/tkdialog.rb: add some methods 1833 1834 * ext/tk/lib/tkcanvas.rb: bug fix and some methods return self 1835 1836 * ext/tk/lib/tkentry.rb: some methods return self 1837 1838 * ext/tk/lib/tkentry.rb: TkEntry#bbox returns an array of four numbers 1839 1840 * ext/tk/lib/tkentry.rb: scan validatecommand arguments and 1841 convert to proper type 1842 1843 * ext/tk/lib/tkbgerror.rb: support to define a error handler by user 1844 1845 * ext/tcltklib/tcltklib.c: [ruby-talk:60759] 1846 1847Wed Jun 18 13:50:06 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1848 1849 * eval.c (rb_eval): should dispatch based on ID type. 1850 1851Wed Jun 18 12:53:42 2003 Minero Aoki <aamine@loveruby.net> 1852 1853 * eval.c (rb_yield_0): should restore scope_vmode during yield. 1854 [ruby-dev:20361] 1855 1856Wed Jun 18 01:13:36 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 1857 1858 * ext/syck/rubyext.c (rb_syck_load_handler): merge key implemented. 1859 1860 * ext/syck/rubyext.c (transfer_find_i): removed use of String#=~ in favor 1861 of Regexp#match. 1862 1863 * lib/yaml.rb: YAML::try_implicit returns. 1864 1865 * lib/yaml/rubytypes.rb: Regexps added for type matching. 1866 1867 * lib/yaml/emitter.rb: fix String + nil error. 1868 1869Tue Jun 17 17:01:08 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 1870 1871 * ext/syck/gram.c: added grammar for certain empty sequence entries. 1872 1873 * ext/syck/handler.c, ext/syck/syck.c, ext/syck/syck.h: track bad anchors. 1874 1875 * ext/syck/token.c: added pause token, tag possible circular references. 1876 1877 * lib/yaml/rubytypes.rb: parsing YMD time as Date instance. 1878 1879 * ext/syck/rubyext.c: ditto. DomainType, PrivateType, BadAlias classes. 1880 1881Tue Jun 17 21:28:27 2003 Ariff Abdullah <skywizard@time.net.my> 1882 1883 * win32/win32.c (rb_w32_opendir): need to set errno. [ruby-talk:73761] 1884 1885Mon Jun 16 19:01:25 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1886 1887 * eval.c: remove rb_cBlock. 1888 1889Mon Jun 16 18:06:33 2003 WATANABE Hirofumi <eban@ruby-lang.org> 1890 1891 * numeric.c (rb_fix2uint): renamed from rb_fix2int on IA64. 1892 1893Mon Jun 16 17:02:57 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 1894 1895 * eval.c (proc_invoke): format the message for localjump_error(). 1896 1897Mon Jun 16 16:23:56 2003 NAKAMURA Usaku <usa@ruby-lang.org> 1898 1899 * ext/dl/dl.c (rb_dl_callback): use rb_block_proc() instead of 1900 rb_block_new(). 1901 1902 * ext/win32ole/win32ole.c (ev_on_event): ditto. 1903 1904Mon Jun 16 16:06:47 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1905 1906 * eval.c (proc_alloc): re-unification of Block and Proc. Block 1907 class is no longer available. 1908 1909Mon Jun 16 14:43:14 2003 WATANABE Hirofumi <eban@ruby-lang.org> 1910 1911 * bcc32/Makefile.sub: undefine HAVE_GETGROUPS. 1912 1913Sat Jun 14 16:58:41 2003 Guy Decoux <ts@moulon.inra.fr> 1914 1915 * regex.c (calculate_must_string): should handle option_set 1916 properly. [ruby-talk:73481] 1917 1918 * regex.c (re_compile_fastmap): a bug in flag manipulation. 1919 [ruby-talk:73549] 1920 1921Sat Jun 14 17:59:59 2003 Guy Decoux <ts@moulon.inra.fr> 1922 1923 * eval.c (method_arity): should handle NODE_BMETHOD and 1924 NODE_DMETHOD. [ruby-core:01138] 1925 1926Fri Jun 13 09:24:39 2003 Shugo Maeda <shugo@ruby-lang.org> 1927 1928 * lib/net/ftp.rb (storebinary): seek correctly. Thanks, William Webber. 1929 1930 * lib/net/ftp.rb (putbinaryfile): rescue FTPPermError. 1931 1932Thu Jun 12 22:13:13 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 1933 1934 * ext/tk/lib/tk.rb : add 'no_create' option to widget 1935 initialize method. 1936 1937 * ext/tk/MANIFEST : forgot to commit when added tkmacpkg.rb 1938 and tkwinpkg.rb 1939 1940 * ext/tk/lib/README : ditto. 1941 1942Thu Jun 12 21:14:11 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 1943 1944 * ext/tk/lib/tk.rb : widget configure returns self (for method 1945 call chain) 1946 1947 * ext/tk/lib/tkmacpkg.rb : Mac resource (not new but not 1948 included until now) 1949 1950 * ext/tk/lib/tkwinpkg.rb : Win DDE and registry (not new but not 1951 included until now) 1952 1953Tue Jun 10 14:26:30 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 1954 1955 * ext/syck/token.c: preserve newlines prepended to a block. 1956 1957 * ext/syck/implicit.c (syck_match_implicit): added !merge and !default. 1958 1959 * lib/yaml/constants.rb: remove '\z' escape. 1960 1961 * lib/yaml/emitter.rb: ensure reset of @seq_map shortcut flag. 1962 1963 * lib/yaml/encoding.rb: remove Unicode translation methods. 1964 1965 * lib/yaml/rubytypes.rb: improved round-tripping of Strings. 1966 [ruby-core:1134] 1967 1968Tue Jun 10 01:07:54 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1969 1970 * lib/irb.rb (IRB::Irb::eval_input): warn and exit if $SAFE >=3 1971 after input evaluation. 1972 1973 * lib/irb.rb (IRB::Irb::eval_input): untaint input string. now 1974 irb works for levels 1 and 2. 1975 1976Mon Jun 9 19:02:33 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 1977 1978 * configure.in: checks presence of grp.h and setgroups(). 1979 1980 * process.c (proc_getgroups, proc_setgroups): raise 1981 NotImplementedError unless available. [ruby-talk:73014] 1982 1983Mon Jun 9 18:09:11 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 1984 1985 * ext/tcltklib/tcltklib.c: fixed 100% CPU problem of Tk.mainloop 1986 1987Mon Jun 9 15:50:24 2003 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 1988 1989 * ext/tcltklib/tcltklib.c: renewal Tk.mainloop 1990 1991Sun Jun 8 13:37:21 2003 Takaaki Uematsu <uema2x@jcom.home.ne.jp> 1992 1993 * wince/setup.mak: set SUBSYSTEM in each platform. 1994 1995 * wince/stdlib.c: fix mblen() bug. 1996 1997Sat Jun 7 22:22:03 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 1998 1999 * ext/syck/rubyext.c (syck_loader_transfer): should not use 2000 rb_cProc directly, since type_proc may be Proc, Block, or 2001 Method. 2002 2003 * parse.y (value_expr0): class and module statements should not be 2004 warned for "void value expression". [ruby-talk:72989] 2005 2006Sat Jun 7 01:46:41 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2007 2008 * gc.c (add_final): should determine type by respond_to? 2009 2010 * gc.c (define_final): ditto. 2011 2012 * io.c (rb_io_ctl): should not depend on respond_to? 2013 2014 * range.c (range_step): rb_check_string_type(). 2015 2016Fri Jun 6 20:29:14 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 2017 2018 * eval.c (error_print): needs to be exception proof. 2019 2020 * eval.c (error_handle, rb_longjmp): bails out when exception 2021 reentered. (ruby-bugs-ja:PR#487), [ruby-core:01119], 2022 [ruby-core:01122] 2023 2024 * eval.c (Init_Proc): pre-allocates critical error objects. 2025 2026Fri Jun 6 20:29:14 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 2027 2028 * parse.y (cmd_brace_block, do_block, brace_block): initialize block 2029 variables at the beginning of the block. [ruby-talk:72521] 2030 2031Fri Jun 6 18:49:11 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2032 2033 * process.c (proc_setgroups): new functions. 2034 2035Fri Jun 6 18:33:27 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2036 2037 * gc.c (define_final): eliminate rb_f_lambda() call. 2038 2039 * class.c (rb_scan_args): ditto. 2040 2041 * signal.c (sig_trap): ditto. 2042 2043 * hash.c (rb_hash_initialize): ditto. 2044 2045 * variable.c (rb_f_trace_var): ditto. 2046 2047 * ext/dl/dl.c (rb_dl_callback): ditto. 2048 2049 * ext/win32ole/win32ole.c (ev_on_event): ditto. 2050 2051Fri Jun 6 16:10:01 2003 Minero Aoki <aamine@loveruby.net> 2052 2053 * lib/net/http.rb: define Net::HTTPResponse#to_ary for backward 2054 compatibility. [ruby-talk:72927] 2055 2056 * lib/net/protocol.rb: add warning. 2057 2058Fri Jun 6 13:30:57 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2059 2060 * eval.c (ruby_cleanup): $SAFE is turned off in the finalization. 2061 Each END proc should preserve its own $SAFE level. [ruby-core:01119] 2062 2063 * marshal.c (marshal_load): remove unused variable "hash". 2064 [ruby-core:01120] 2065 2066 * hash.c (env_str_new): freeze strings from ENV. [ruby-talk:72860] 2067 2068 * array.c (rb_ary_first): optional argument to retrieve first n 2069 elements. 2070 2071 * array.c (rb_ary_last): optional argument to retrieve last n 2072 elements. 2073 2074Thu Jun 5 21:31:55 2003 Takaaki Uematsu <uema2x@jcom.home.ne.jp> 2075 2076 * wince/stdlib.c: add mblen(). 2077 2078Thu Jun 5 18:33:46 2003 WATANABE Hirofumi <eban@ruby-lang.org> 2079 2080 * ext/curses/curses.c (window_s_allocate,curses_finalize): 2081 avoid VC++ warnings. 2082 2083Thu Jun 5 17:44:11 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 2084 2085 * ext/syck/rubyext.c (syck_parser_mark): was a bit heavy on the GC. 2086 2087 * lib/yaml.rb (YAML::transfer): added. 2088 2089Thu Jun 5 16:11:50 2003 NAKAMURA Usaku <usa@ruby-lang.org> 2090 2091 * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub 2092 (MISSING): link with missing/erf.c. 2093 2094 * missing.h (erf, erfc): fix prototype. 2095 2096 * missing/erf.c: new. [ruby-list:37753] 2097 2098Thu Jun 5 15:09:06 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2099 2100 * math.c (math_erf,math_erfc): new function. [ruby-list:37753] 2101 2102Thu Jun 5 14:49:43 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 2103 2104 * ext/syck/rubyext.c: using GC nodes caused segfault. [ruby-core:1071] 2105 2106Thu Jun 5 13:48:57 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 2107 2108 * ext/syck/token.c: directives choked on a period. 2109 2110 * ext/syck/gram.y: anchors work above a collection. [ruby-core:1071] 2111 2112 * ext/syck/handler.c, ext/syck/syck.c: ensure a fresh strtable between 2113 parser iterations. 2114 2115Wed Jun 4 12:06:59 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2116 2117 * eval.c (ruby_finalize): no longer need to turn off $DEBUG in the 2118 finalizer. (ruby-bugs-ja PR#473) 2119 2120Tue Jun 3 22:20:49 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2121 2122 * eval.c (rb_call_super): should search superclass method based on 2123 orig_func, not last_func. 2124 2125Tue Jun 3 09:59:27 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2126 2127 * eval.c (rb_call_super): inheritance line adjustment moved from 2128 rb_call(). [ruby-core:01113] 2129 2130 * eval.c (rb_eval): use rb_call_super() to follow DRY principle. 2131 2132Mon Jun 2 02:20:52 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2133 2134 * array.c (push_values_at): Array#values_at should work with 2135 ranges too. 2136 2137 * range.c (rb_range_beg_len): length calculation was wrong. 2138 2139 * eval.c (rb_call): should set T_ICLASS in the frame->last_class. 2140 [ruby-core:01110] 2141 2142Sun Jun 1 21:50:01 2003 WATANABE Hirofumi <eban@ruby-lang.org> 2143 2144 * configure.in: should not use def file, use ld with 2145 --export-all-symbols option on Cygwin/MinGW. 2146 2147 * defines.h: ditto. 2148 2149 * cygwin/GNUmakefile.in: ditto. 2150 2151 * ext/digest/defs.h: avoid warnings on Cygwin. 2152 2153Sun Jun 01 13:33:49 2003 Takaaki Uematsu <uema2x@jcom.home.ne.jp> 2154 2155 * wince/string_wce.c: add strpbrk() for hpcpro support. 2156 2157 * wince/setup.mak: add hpcpro(CE2.11) & armv4t(CE.NET) support. 2158 2159 * wince/resource.rb: ditto. 2160 2161 * wince/Makefile.sub: ditto. 2162 2163Sun Jun 1 10:38:28 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 2164 2165 * variable.c (rb_autoload_load): autoloaded constants under a module 2166 belong to the module. [ruby-core:01094], [ruby-dev:20309] 2167 2168Sat May 31 04:36:54 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 2169 2170 * parse.y (rb_intern): should handle multibyte name. 2171 2172Fri May 30 23:18:01 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 2173 2174 * ext/syck/rubyext.c (rb_syck_mktime): seconds calculated wrong. 2175 2176 * ext/syck/gram.c: flexibility to anchors and transfer methods on 2177 collections. 2178 2179 * ext/syck/token.c: hex escapes. 2180 2181 * lib/yaml/basenode.rb: YamlNode references changed to YAML::BaseNode. 2182 2183Fri May 30 22:28:04 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 2184 2185 * numeric.c (rb_num2uint, rb_fix2int): new function to convert 2186 values over INT_MAX. [ruby-core:01099] 2187 2188 * ruby.h (NUM2UINT, FIX2INT): ditto. 2189 2190Fri May 30 15:01:05 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 2191 2192 * ext/syck/token.c: preserve any indentation past an explicit 2193 indentation. 2194 2195Fri May 30 14:55:44 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 2196 2197 * eval.c (rb_Array): exclude Kernel#to_a instead of Object#to_a. 2198 (ruby-bugs-ja:PR#483) 2199 2200 * lib/optparse.rb (OptionParser::Switch#parse_arg): not splat. 2201 2202 * lib/optparse.rb (OptionParser::Switch#conv_arg): splat if no 2203 conversion supplied. 2204 2205 * lib/optparse.rb (OptionParser::Switch::PlacedArgument#parse): 2206 override next switch after argument conversion. 2207 2208Fri May 30 14:41:34 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 2209 2210 * ext/syck/handler.c, ext/syck/syck.h: removed syck_fold_format(). 2211 2212 * ext/syck/gram.c: flexibility for aliases and anchors. 2213 2214 * ext/syck/token.c: folding now handled in the tokenizer. 2215 2216Fri May 30 06:21:18 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 2217 2218 * variable.c (rb_autoload_load): should delete autoloaded 2219 symbol itself before load. [ruby-core:01097] 2220 2221 * variable.c (rb_mod_remove_const): must not return Qundef. 2222 2223Thu May 29 14:59:10 2003 WATANABE Hirofumi <eban@ruby-lang.org> 2224 2225 * win32/win32.c (_CRTIMP): redefine _CRTIMP on MinGW. 2226 2227 * configure.in: remove '-D__USE_CRTIMP' from XCFLAGS on MinGW. 2228 2229 * win32/win32.c (NtMakeCmdVector): handle quotes only if not instring. 2230 2231Thu May 29 09:11:01 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 2232 2233 * eval.c (ev_const_defined, ev_const_get), variable.c 2234 (rb_const_get_at, rb_const_get, rb_mod_remove_const): use Qundef 2235 as autoload marker. [ruby-dev:18103], [ruby-dev:18184] 2236 2237 * eval.c (rb_mod_autoload, rb_mod_autoload_p): new method; 2238 Module#autoload, Module#autoload?. 2239 2240 * variable.c (rb_autoload, rb_autoload_load, rb_autoload_p): 2241 manage autoload constants per classes/modules. 2242 2243 * variable.c (rb_const_defined_at, rb_const_defined): return false 2244 for autoloading constants. 2245 2246 * class.c (rb_define_class, rb_define_module), eval.c (rb_eval), 2247 variable.c (rb_mod_const_at, rb_const_assign): removed autoload 2248 stuff. 2249 2250 * intern.h: prototypes; rb_autoload, rb_autoload_load, 2251 rb_autoload_p. 2252 2253 * lib/optparse.rb (OptionParser::Switch::PlacedArgument::parse): 2254 do not treat unmatched argument as an option. 2255 2256Wed May 28 08:44:26 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2257 2258 * io.c (rb_f_syscall): type dispatch should be based on 2259 rb_check_string_type(), not FIXNUM_P(), because values may be a 2260 bignum. [ruby-talk:72257] 2261 2262Tue May 27 20:33:18 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 2263 2264 * eval.c, util.c: removed duplicated includes/defines. 2265 2266 * ext/socket/socket.c (sock_addrinfo): get rid of SEGV at NULL ptr 2267 String. increase buffer size for 64bit platforms. 2268 2269Tue May 27 02:34:14 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2270 2271 * eval.c (rb_call0): should pass the current klass value to 2272 block_invoke, which may be called via "super". [ruby-core:01077] 2273 2274 * eval.c (block_invoke): now takes 4th argument "klass". 2275 2276 * eval.c (block_alloc): should propagate BLOCK_PROC to 2277 ruby_block. 2278 2279Mon May 26 23:51:38 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2280 2281 * marshal.c (r_object0): should not use "yield" method, use "call" 2282 instead. (ruby-bugs-ja PR#476) 2283 2284Mon May 26 21:39:46 2003 MoonWolf <moonwolf@moonwolf.com> 2285 2286 * lib/mkmf.rb, lib/optparse.rb, lib/tracer.rb: use Method#to_block 2287 instead of deprecated Method#to_proc. (ruby-bugs-ja:PR#477) 2288 2289Mon May 26 21:21:20 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 2290 2291 * lib/optparse.rb (OptionParser::Switch::parse, 2292 OptionParser::order): use {Block,Proc}#call instead of deprecated 2293 #yield. 2294 2295Mon May 26 16:39:10 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2296 2297 * eval.c (Init_Proc): Block/Proc separation. [huge change] 2298 2299 * eval.c (block_arity): returns exact arity number for Procs out 2300 of methods. also gives 1 for {|a|..}. 2301 2302 * string.c (rb_str_match): revert use of String#index for 2303 invocation like string =~ string. 2304 2305 * eval.c (rb_Array): move Object#to_a exclusion hack from 2306 splat_value(). need to be in eval.c for a while. 2307 2308Sun May 25 23:48:21 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 2309 2310 * bignum.c (rb_quad_pack): should negate negative bignum. 2311 (ruby-bugs-ja:PR#474) 2312 2313Sun May 25 03:27:25 2003 Minero Aoki <aamine@loveruby.net> 2314 2315 * lib/net/smtp.rb: support LOGIN authentication, based on 2316 the patch by Kazuhiko Izawa. [ruby-talk:78981] 2317 2318Sat May 24 18:19:51 2003 Takaaki Uematsu <uema2x@jcom.home.ne.jp> 2319 2320 * wince/Makefile.sub: add eMbedded Visual C++ 4.0 support. 2321 2322 * wince/resource.rb: ditto. 2323 2324 * wince/setup.mak: ditto. 2325 2326 * wince/configure.bat: ditto. 2327 2328 * wince/mkexports.rb: delete japanese comments. 2329 2330Fri May 23 18:34:05 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 2331 2332 * eval.c (rb_longjmp): get rid of reentering while debug warning. 2333 (ruby-bugs-ja:PR473) 2334 2335Fri May 23 15:16:16 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 2336 2337 * pack.c (pack_unpack): sign-extend if sizeof long is bigger than 2338 32. (ruby-bugs-ja:PR#472) 2339 2340Fri May 23 14:19:29 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2341 2342 * eval.c (ruby_finalize): turn off ruby_debug flag before calling 2343 at_exit procs and finalizers. (ruby-bugs-ja:PR473) 2344 2345 * ext/tcltklib/tcltklib.c (lib_mainloop_core): OK to block if 2346 there's no other thread. (ruby-bugs:PR#861) 2347 2348Thu May 22 18:07:46 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 2349 2350 * ext/syck/token.c: single- and double-quoted root-level fix. 2351 2352 * lib/yaml.rb (YAML::object_maker): can create object attributes (such as 2353 found in Exception class) 2354 2355 * lib/yaml/rubytypes.rb: roundtripping of Exception and subclasses. 2356 2357Fri May 23 01:26:26 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2358 2359 * object.c (rb_obj_clone): defer copying freezing state after 2360 calling initialize_copy(). [ruby-dev:20276] 2361 2362Thu May 22 17:12:10 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2363 2364 * gc.c (run_final): use rb_thread_critical instead of DEFER_INTS. 2365 [ruby-dev:20272] 2366 2367 * marshal.c: try to make ArgumentError and TypeError consistent. 2368 [ruby-core:01068] 2369 2370Thu May 22 15:46:37 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2371 2372 * eval.c (rb_define_alloc_func): need not to disable 2373 rb_call_super() for allocation functions. [ruby-core:1065] 2374 2375Thu May 22 06:21:33 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 2376 2377 * ext/syck/rubyext.c (rb_syck_err_handler): raise ArgumentError on 2378 malformed YAML. 2379 2380 * lib/yaml/rubytypes.rb: String#to_yaml was missing space indicators at 2381 the end of a line. 2382 2383Thu May 22 05:43:24 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 2384 2385 * ext/syck/rubyext.c (syck_parser_load): root-level false was returning 2386 nil. 2387 2388 * ext/syck/token.c: root-level transfer method bug. 2389 2390 * ext/syck/gram.c: root-level empty gave a parse error. 2391 2392 * lib/yaml/rubytypes.rb: Symbol#to_yaml generating method call error. 2393 2394Thu May 22 02:46:38 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 2395 2396 * eval.c (rb_eval): splat NODE_RESTARY. [ruby-dev:20268] 2397 2398 * eval.c (rb_thread_fd_close): raise for writing threads. 2399 [ruby-dev:20269] 2400 2401 * io.c (rb_io_close, io_reopen): ditto. 2402 2403 * io.c (io_reopen): keep stdio objects for stdin, stdout, 2404 and stderr. [ruby-dev:19442] 2405 2406Thu May 22 01:11:15 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 2407 2408 * parse.y (strings, word_list): must create new instance always. 2409 http://yowaken.dip.jp/tdiary/20030521.html#p02 2410 2411 * parse.y (yylex): slight optimization. 2412 2413Wed May 21 23:07:08 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2414 2415 * error.c (rb_sys_fail): should not specify errno explicitly. 2416 [ruby-dev:20264] 2417 2418Wed May 21 20:51:47 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 2419 2420 * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub, 2421 wince/Makefile.sub: update dependencies. 2422 2423Wed May 21 17:44:16 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2424 2425 * error.c (syserr_initialize): prohibit specifying errno for 2426 subclasses of SystemCallError. in addition, if initialize is 2427 called for SystenCallError instance, its class be changed. 2428 [ruby-dev:20257] 2429 2430 * gc.c (run_final): to protect thread context switch, finalizers 2431 are wrapped in DEFER_INTS/ENABLE_INTS. 2432 2433Wed May 21 13:26:08 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 2434 2435 * lib/optparse.rb: get rid of warnings. 2436 2437Tue May 20 18:59:54 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2438 2439 * eval.c (rb_thread_save_context): prohibit rb_gc_force_recycle() 2440 on thread saved ruby_dyna_vars. [ruby-dev:20236] 2441 2442Tue May 20 17:39:15 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2443 2444 * object.c (init_copy): call initialize_copy at the end of copy 2445 process. 2446 2447Tue May 20 17:15:55 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 2448 2449 * error.c (syserr_initialize): use Errno constants as default 2450 errno for subclasses. [ruby-dev:20241] 2451 2452Tue May 20 15:26:25 2003 WATANABE Hirofumi <eban@ruby-lang.org> 2453 2454 * st.h: define ST_DATA_T_DEFINED for portability. 2455 2456 * ext/syck/syck.h: add typedef, st_data_t for Ruby 1.6. 2457 2458 * ext/syck/syck.c (syck_st_free_nodes): return int. 2459 2460 * ext/syck/syck.c (syck_add_sym): cast the data to st_data_t 2461 to avoid error on bcc32. 2462 2463 * ext/syck/syck.c (syck_lookup_sym): ditto. 2464 2465 * ext/syck/syck.c (syck_free_parser): NULL is not integer. 2466 2467Tue May 20 13:29:04 2003 NAKAMURA Usaku <usa@ruby-lang.org> 2468 2469 * win32/win32.c (kill): set errno after calling raise(). 2470 2471Tue May 20 10:51:26 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 2472 2473 * eval.c (rb_f_missing): create exception instance by ordinal 2474 method. [ruby-dev:20033] 2475 2476 * error.c (rb_name_error, rb_sys_fail): ditto. 2477 2478 * error.c (exc_to_s, exit_status, name_err_name, 2479 nometh_err_args, syserr_errno, syserr_eqq): access 2480 attributes. 2481 2482 * error.c (name_err_initialize, nometh_err_initialize, 2483 syserr_initialize): initialize attributes. 2484 2485Tue May 20 10:26:56 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2486 2487 * eval.c (rb_yield_0): give warning for multiple values for a 2488 block parameter. 2489 2490 * eval.c (rb_yield_values): a function to yield multiple values. 2491 2492 * array.c (sort_1): use rb_yield_values. 2493 2494 * enum.c (min_ii, max_ii): ditto. 2495 2496 * hash.c (rb_hash_update_block_i, delete_if_i, select_i, 2497 each_pair_i, env_each, env_reject_bang, env_select, 2498 env_update_i): ditto. 2499 2500 * struct.c (rb_struct_each_pair): ditto. 2501 2502 * eval.c (top_include): should include module in the current self, 2503 not ruby_top_self. [ruby-dev:20198] 2504 2505 * eval.c (top_include): stop inclusion to ruby_wrapper; give 2506 warning. 2507 2508Mon May 19 18:54:30 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 2509 2510 * ext/syck/token.c, ext/syck/implicit.c: expanded character set to 2511 allow UTF-8, other Ruby encodings. 2512 2513Mon May 19 16:47:00 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 2514 2515 * ext/syck/syck.c, ext/syck/syck.h, ext/syck/token.c, ext/syck/gram.c: 2516 count line numbers only if line pointer has increased. 2517 2518Tue May 20 00:45:40 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2519 2520 * dir.c (push_braces): do not push_braces() unless rbrace is found. 2521 (ruby-bugs-ja:PR#469) 2522 2523Tue May 20 00:09:41 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2524 2525 * ext/pty/pty.c (pty_finalize_syswait): join (using Thread#value) 2526 before detach pid. [ruby-talk:71519] 2527 2528Mon May 19 23:02:10 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2529 2530 * eval.c (PUSH_FRAME): save outer ruby_block. [ruby-list:37677], 2531 [ruby-dev:20202] 2532 2533 * eval.c (BEGIN_CALLARGS): restore outer block by using 2534 ruby_block->outer. 2535 2536 * eval.c (block_pass): do not alter block->prev, but block->outer. 2537 2538 * array.c (get_inspect_tbl): warning on wrong condition. 2539 2540Mon May 19 16:13:57 2003 Minero Aoki <aamine@loveruby.net> 2541 2542 * class.c: add #include "version.h". 2543 2544 * hash.c: ditto. 2545 2546 * string.c: ditto. 2547 2548Mon May 19 15:33:27 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2549 2550 * eval.c (localjump_xvalue): renamed exitstatus to exit_value 2551 since it's not exit "status" after all. 2552 2553 * eval.c (localjump_error): add reason to LocalJumpError. 2554 2555 * compar.c (rb_cmpint): raise error via rb_cmperr(), if cmp value 2556 is nil. now take new 2 arguments. 2557 2558 * time.c (time_cmp): 2003-05-16 fix was incomplete. 2559 (ruby-bugs-ja:PR#458) 2560 2561Mon May 19 14:42:50 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2562 2563 * object.c (rb_mod_cmp): stupid comparison fixed. 2564 2565 * io.c (Init_IO): ARGF.path added (alias to ARGF.filename). 2566 [ruby-dev:20197] 2567 2568Mon May 19 13:58:03 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2569 2570 * object.c (init_copy): rename copy_object as initialize_copy, 2571 since it works as copy constructor. 2572 2573 * eval.c (rb_add_method): initialize_copy should always be 2574 private, like initialize. 2575 2576Mon May 19 13:51:50 2003 Minero Aoki <aamine@loveruby.net> 2577 2578 * re.c (rb_reg_quote): \n \r \f \v quoting was wrong. 2579 [ruby-dev:20203] 2580 2581 * re.c (rb_reg_quote): rb_reg_quote(" ") should be "\\ ", not 2582 "\\s". 2583 2584Mon May 19 08:08:51 2003 Tadayoshi Funaba <tadf@dotrb.org> 2585 2586 * lib/date.rb: use warn() instead of $stderr.puts(). 2587 2588 * sample/cal.rb: ditto. 2589 2590Sat May 17 12:02:25 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2591 2592 * array.c (get_inspect_tbl): check whether inspect_tbl value is a 2593 valid array. (ruby-bugs-ja PR#65) 2594 2595 * array.c (inspect_ensure,rb_protect_inspect,rb_inspecting_p): 2596 use get_inspect_tbl(). 2597 2598Sat May 17 11:50:26 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2599 2600 * eval.c (rb_f_abort): call exit(1) if exception is raised. This 2601 patch was made by Nobuyoshi Nakada <nobu.nokada@softhome.net> on 2602 2002-05-30. (ruby-bugs-ja PR#236) 2603 2604 * signal.c: disable Ruby's interrupt handler at the beginning. 2605 (ruby-bugs-ja PR#236) 2606 2607Sat May 17 02:17:42 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 2608 2609 * lib/rational.rb (Integer::denominator): fixed typo. 2610 (ruby-bugs-ja:PR#466) 2611 2612Sat May 17 00:18:11 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 2613 2614 * ext/socket/socket.c (ruby_connect): connect() after EINPROGRESS 2615 returns EINVAL on some platforms, need to check true error 2616 status. [ruby-core:01037] 2617 2618Sat May 17 00:21:51 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2619 2620 * object.c (rb_class_allocate_instance): singleton class check 2621 moved to rb_obj_alloc(). (ruby-bugs-ja PR#345) 2622 2623Fri May 16 23:55:50 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2624 2625 * re.c (rb_reg_quote): should escape white space characters, 2626 \t, \f, \n, \r. (ruby-bugs-ja PR#231) 2627 2628Fri May 16 12:40:40 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2629 2630 * eval.c (block_pass): chain previous block to the pushing block. 2631 [ruby-list:37677] 2632 2633 * time.c (time_cmp): does not compare with numbers for 2634 interchangeability. (ruby-bugs-ja:PR#458) 2635 2636Thu May 15 21:55:54 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 2637 2638 * ext/syck/gram.c: fixes to one-line documents and end of stream 2639 documents. 2640 2641 * ext/syck/syck.c, ext/syck/syck.h: add root_on_error to parser 2642 struct, specifying the symbol to be returned on a parse error. 2643 2644Thu May 15 18:44:31 2003 Tanaka Akira <akr@m17n.org> 2645 2646 * lib/open-uri.rb (OpenURI::Redirect#initialize): call super to 2647 initialize mesg. 2648 2649 * lib/open-uri.rb (OpenURI::Meta#charset): call block to guess charset 2650 if block is given and charset is not given. 2651 2652Thu May 15 16:55:16 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2653 2654 * object.c (rb_mod_le): returns nil if two classes/modules are not 2655 in class-superclass relationship. 2656 2657 * object.c (rb_mod_cmp): uses new rb_mod_le() behavior. 2658 2659Thu May 15 07:45:30 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 2660 2661 * ext/syck/rubyext.c, ext/syck/implicit.c: timestamp repairs to 2662 timezone and milliseconds. 2663 2664 * ext/syck/syck.c (syck_parser_reset_levels): duplicate string literal 2665 to avoid warning. 2666 2667Thu May 15 13:26:48 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2668 2669 * class.c (rb_class_instance_methods): default will be changed in 2670 1.8.1. 2671 2672 * io.c (set_stdio): better message. 2673 2674Thu May 15 13:18:11 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2675 2676 * io.c (set_stdio): $stdin, $stdout, $stderr now became read-only. 2677 2678 * variable.c (readonly_setter): message changed. 2679 2680Thu May 15 09:50:51 2003 NAKAMURA Usaku <usa@ruby-lang.org> 2681 2682 * ext/syck/syck.c (syck_parser_pop_level): add prototype. 2683 2684 * ext/syck/syck.c (syck_strndup): should return value. 2685 2686Thu May 15 09:32:25 2003 NAKAMURA Usaku <usa@ruby-lang.org> 2687 2688 * win32/win32.c (kill): fix typo and add signal 0 support. 2689 2690Wed May 14 20:09:26 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 2691 2692 * ext/syck/gram.c: sequence-in-map shortcut, transfer methods on 2693 sequence-in-sequence, memory leak in mapping merge. 2694 2695 * ext/syck/syck.c: memory leak in domain anchoring. 2696 2697 * lib/yaml/rubytypes.rb, lib/yaml/types.rb: eliminated 1.6.x code. 2698 2699Wed May 14 19:56:43 2003 NAKAMURA Usaku <usa@ruby-lang.org> 2700 2701 * ext/syck/rubyext.c: add prototypes to avoid VC++ warnings. 2702 2703Wed May 14 12:23:46 2003 Minero Aoki <aamine@loveruby.net> 2704 2705 * lib/net/http.rb (Net::HTTP#start): should check whether HTTP 2706 session is opened before finishing. (ruby-bugs-ja:PR#463) 2707 2708Wed May 14 09:12:55 2003 Minero Aoki <aamine@loveruby.net> 2709 2710 * lib/net/http.rb: reduce warning. (ruby-bugs-ja:PR#462) 2711 2712Tue May 13 22:31:04 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 2713 2714 * lib/yaml/rubytypes.rb, lib/yaml/types.rb: using Object#object_id 2715 rather than deprecated Object#id. 2716 2717 * ext/syck/token.c: changed ASCII escapes to octal notation. 2718 2719 * ext/Setup*: added entries for static linking of Syck extension. 2720 2721Tue May 13 20:31:58 2003 WATANABE Hirofumi <eban@ruby-lang.org> 2722 2723 * configure.in: add '--Wl,--enable-auto-import' to DLDFLAGS 2724 on Cygwin/MinGW. 2725 2726 * configure.in: add '-D__USE_CRTIMP' to XCFLAGS on MinGW. 2727 2728 * ext/syck/handler.c: add proper casts. 2729 2730 * ext/syck/syck.c: ditto. 2731 2732Tue May 13 17:58:08 2003 NAKAMURA Usaku <usa@ruby-lang.org> 2733 2734 * configure.in, bcc32/Makefile.sub, win32/Makefile.sub: define 2735 HAVE_FSYNC. 2736 2737 * win32/win32.h (fsync): define as _commit(). 2738 2739Tue May 13 15:35:35 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2740 2741 * regex.c (re_match_exec): \Z changed to be consistent with new $ 2742 (endbuf) behavior. 2743 2744Tue May 13 14:48:07 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2745 2746 * eval.c (error_pos): use $deferr for output instead of stderr 2747 directly. 2748 2749 * eval.c (error_print,error_handle,rb_longjmp,rb_thread_schedule): 2750 ditto. 2751 2752Tue May 13 06:34:19 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 2753 2754 * lib/yaml/rubytypes.rb: object and struct loading 2755 2756 * lib/yaml.rb: YAML::detect_implicit will discover typing for a Ruby 2757 string 2758 2759 * ext/syck/: Fixed portable comments, misuse of NULL and methods without 2760 return VALUEs. 2761 2762Mon May 12 18:08:21 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2763 2764 * io.c (Init_IO): new variable $deferr which is default output 2765 port of error messages. 2766 2767 * io.c (rb_warn_m): new method "warn". [new] 2768 2769 * error.c (warn_print): use $deferr. 2770 2771 * error.c (rb_bug): ditto. 2772 2773 * error.c (err_append): ditto. 2774 2775Sun May 11 13:50:12 2003 Tanaka Akira <akr@m17n.org> 2776 2777 * lib/pp.rb: refine to_s test. 2778 2779 * lib/pp.rb (PP::ObjectMixin#pretty_print): refine to_s handling. 2780 2781Sun May 11 06:32:13 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 2782 2783 * ext/syck/implicit.c, ext/syck/rubyext.c: transfer methods applied to 2784 native loading 2785 2786 * ext/syck/token.c: fix for transfer methods on same indentation as nested 2787 mapping 2788 2789 * lib/yaml/rubytypes.rb: all type names in lowercase 2790 2791Sat May 10 19:55:18 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 2792 2793 * ext/syck/gram.c ext/syck/handler.c ext/syck/implicit.c 2794 ext/syck/node.c ext/syck/rubyext.c ext/syck/syck.c 2795 ext/syck/syck.h ext/syck/token.c: updated to Syck 0.27 2796 2797 * lib/yaml/loader.rb: new YAML::Loader class 2798 2799 * lib/yaml.rb: loading of type families leverages YAML::DefaultLoader 2800 2801Sat May 10 19:00:08 2003 Takaaki Uematsu <uema2x@jcom.home.ne.jp> 2802 2803 * wince/string.c: file removed. 2804 2805 * wince/stdlib.c: file added. 2806 2807Sat May 10 16:17:02 2003 Shugo Maeda <shugo@ruby-lang.org> 2808 2809 * lib/net/imap.rb (decode_utf7): new method. 2810 2811 * lib/net/imap.rb (encode_utf7): new method. 2812 2813Fri May 9 21:25:50 2003 why the lucky stiff <ruby-cvs@whytheluckystiff.net> 2814 2815 * ruby/ext/syck, ruby/lib/yaml: Initial checkin of YAML substances. 2816 2817Fri May 9 16:38:30 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2818 2819 * io.c (rb_io_reopen): It should be possible to reopen closed IO. 2820 [ruby-talk:70941] 2821 2822 * io.c (rb_io_reopen): inherit original file mode unless specified. 2823 2824Thu May 8 18:44:09 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2825 2826 * gc.c (rb_gc): check odd alignment stack on m68k machines. 2827 2828Thu May 8 12:56:04 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 2829 2830 * compar.c (rb_cmperr): raise comparison failure. 2831 2832 * intern.h: prototype; rb_cmperr 2833 2834 * numeric.c (flo_gt, flo_ge, flo_lt, flo_le, fix_gt, fix_ge, 2835 fix_lt, fix_le): should fail unless the argument is comparable. 2836 (ruby-bugs-ja:PR#456) 2837 2838 * numeric.c (int_upto, int_downto): should fail unless the 2839 argument is comparable. (ruby-bugs-ja:PR#454) 2840 2841Wed May 7 13:30:11 2003 Masahiro TANAKA <masa@ir.isas.ac.jp> 2842 2843 * numeric.c (num_step): better error treatment of float values. 2844 2845Tue May 6 17:51:54 2003 Minero Aoki <aamine@loveruby.net> 2846 2847 * lib/net/pop.rb: rename method: POP3#mail_size -> n_mails 2848 2849 * lib/net/pop.rb: rename method: POP3#bytes -> n_bytes 2850 2851Tue May 6 17:21:01 2003 Minero Aoki <aamine@loveruby.net> 2852 2853 * ext/bigdecimal/.cvsignore: new file. 2854 2855 * ext/zlib/.cvsignore: new file. 2856 2857Tue May 6 14:39:36 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2858 2859 * object.c (rb_obj_methods): list singleton methods if recur 2860 argument is false; list all methods otherwise. 2861 2862Mon May 5 21:19:25 2003 Koji Arai <jca02266@nifty.ne.jp> 2863 2864 * ext/gdbm/gdbm.c (fgdbm_values_at): new method to replace 2865 select(index..). 2866 2867 * ext/sdbm/init.c (fsdbm_values_at): ditto. 2868 2869 * ext/dbm/dbm.c (fdbm_values_at): ditto. 2870 2871 * ext/dbm/dbm.c (DBM::VERSION): defined. 2872 2873 * ext/gdbm/testgdbm.rb: replace select with values_at. 2874 2875 * ext/sdbm/testsdbm.rb: ditto. 2876 2877 * ext/dbm/testdbm.rb: ditto. 2878 2879 * ext/dbm/testdbm.rb (setup): DBM.open(path, 0400) cause EACCESS 2880 on Berkeley DB[234]. 2881 2882Mon May 5 22:57:07 2003 Tadayoshi Funaba <tadf@dotrb.org> 2883 2884 * sample/cal.rb: use values_at instead of select. 2885 2886 * sample/biorhythm.rb: ditto. 2887 2888Mon May 5 18:59:45 2003 WATANABE Hirofumi <eban@ruby-lang.org> 2889 2890 * sample/test.rb: substitute 'select' with 'values_at'. 2891 2892 * lib/date.rb: ditto. 2893 2894 * lib/parsedate.rb: ditto. 2895 2896Mon May 5 00:46:10 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2897 2898 * array.c (rb_ary_values_at): new method to replace select(index..). 2899 2900 * hash.c (rb_hash_values_at,env_values_at): ditto. 2901 2902 * re.c (match_values_at): ditto. 2903 2904 * struct.c (rb_struct_values_at): ditto. 2905 2906 * re.c (match_select): add iterator behavior. 2907 2908Sun May 4 19:08:53 2003 Tadayoshi Funaba <tadf@dotrb.org> 2909 2910 * lib/date/format.rb: synchronized with date2 3.3.2. 2911 2912Sun May 4 15:21:18 2003 Minero Aoki <aamine@loveruby.net> 2913 2914 * lib/net/smtp.rb: ESMTP -> SMTP transition wrongly fails. 2915 2916Sun May 4 15:06:37 2003 Minero Aoki <aamine@loveruby.net> 2917 2918 * lib/net/pop.rb: APOP did not work. [ruby-dev:20149] 2919 2920Sat May 3 21:14:29 2003 Johan Holmberg <holmberg@iar.se> 2921 2922 * ext/curses/curses.c, ext/digest/sha2/sha2.c, ext/iconv/iconv.c, 2923 ext/racc/cparse/cparse.c: include "ruby.h" at the top to shut up 2924 "_FILE_OFFSET_BITS redefined" warning on Solaris. 2925 2926Sat May 3 11:00:12 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2927 2928 * class.c (rb_class_protected_instance_methods): now gives 2929 warnings to show migration path. The default will be reversed 2930 on Jan 2004. 2931 2932Sat May 3 00:58:53 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2933 2934 * object.c (rb_obj_methods): now accepts recurse parameter. 2935 2936 * lib/delegate.rb (Delegator::initialize): instance_methods 2937 etc. now recurse by default. need to specify false. 2938 2939Sat May 3 00:22:00 2003 Minero Aoki <aamine@loveruby.net> 2940 2941 * lib/net/protocol.rb: reintroduce Protocol.protocol_param. 2942 2943 * lib/net/http.rb: ditto. 2944 2945 * lib/net/pop.rb: ditto. 2946 2947 * lib/net/smtp.rb: ditto. 2948 2949Fri May 2 23:29:53 2003 Minero Aoki <aamine@loveruby.net> 2950 2951 * lib/net/protocol.rb: remove Protocol class. 2952 2953 * lib/net/smtp.rb (SMTP): ditto. 2954 2955 * lib/net/pop.rb (POP3): ditto. 2956 2957 * lib/net/http.rb (HTTP): ditto. 2958 2959 * lib/net/protocol.rb: remove Command class. 2960 2961 * lib/net/smtp.rb (SMTPCommand): ditto. 2962 2963 * lib/net/pop.rb (POP3Command): ditto. 2964 2965 * lib/net/pop.rb: remove APOPCommand class. 2966 2967 * lib/net/protocol.rb: remove Code class and its all subclasses. 2968 2969 * lib/net/protocol.rb: remove Response class and its all 2970 subclasses. 2971 2972 * lib/net/pop.rb (POPMail): new method unique_id (alias uidl). 2973 2974Fri May 2 18:17:37 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2975 2976 * compar.c (cmp_gt): raises ArgumentError when "<=>" give nil. 2977 inspired by discussion on comp.lang.python. 2978 2979Fri May 2 17:37:01 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2980 2981 * lib/cgi/session.rb (CGI::Session::initialize): updated to 2982 support 2003-04-23 change in cgi.rb [ruby-core:1002] 2983 2984Fri May 2 17:21:02 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 2985 2986 * class.c (method_list): classify methods based on nearest 2987 visibility. [ruby-dev:20127] 2988 2989 * class.c (rb_class_instance_methods): recurse by default. other 2990 method listing methods as well. 2991 2992Fri May 2 09:38:06 2003 Warren Brown <wkb@airmail.net> 2993 2994 * string.c (rb_str_ljust): now takes optional argument to specify 2995 pad string. [ruby-talk:70482] 2996 2997 * string.c (rb_str_rjust): ditto. 2998 2999 * string.c (rb_str_center): ditto. 3000 3001 * string.c (rb_str_justify): utility function. 3002 3003Fri May 2 04:10:59 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3004 3005 * eval.c (rb_add_method): call singleton_method_added or 3006 method_added for every method definition (after ruby_running). 3007 [ruby-talk:70471] 3008 3009 * array.c (rb_ary_reverse_bang): Array#reverse! should not return 3010 nil even for arrays sized less than 2. 3011 3012Thu May 1 23:18:01 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3013 3014 * io.c (argf_eof): should not block after reading all argument 3015 files. (ruby-bugs-ja PR#449) 3016 3017Fri May 2 15:10:41 2003 Minero Aoki <aamine@loveruby.net> 3018 3019 * lib/fileutils.rb: use hashes to pass options. 3020 3021 * lib/fileutils.rb: new option mkdir(:mode), mkdir_p(:mode). 3022 3023 * instruby.rb: follow fileutils.rb feature change. 3024 3025Thu May 1 08:24:00 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3026 3027 * regex.c (re_match_exec): $ _always_ matches at the end of string. 3028 3029Wed Apr 30 14:12:00 2003 wanowa.kimura@nifty.ne.jp (kimura wataru) 3030 3031 * net/imap.rb: support THREAD extension. 3032 3033Sun Apr 27 23:13:20 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3034 3035 * string.c (rb_str_to_i): disallow negative radix. 3036 [ruby-dev:20087] 3037 3038Sat Apr 26 23:34:42 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3039 3040 * parse.y (open_args): warning message changed to "don't put space 3041 before argument parentheses". 3042 3043Sat Apr 26 14:25:00 2003 Takaaki Uematsu <uema2x@jcom.home.ne.jp> 3044 3045 * wince/ : files removed. 3046 (config, dll.mak, exe.mak, mswince-ruby17.def, 3047 io.c, process.c, signal.c, string.c, time.c) 3048 3049 * wince/ : files added. 3050 (assert.c, Makefile.sub, mkexports.rb, io_wce.c, 3051 process_wce.c, signal_wce.c, string_wce.c, 3052 time_wce.c) 3053 3054 * wince/configure.bat : like mswin32 style. 3055 3056 * wince/direct.c : remove "static" at _currentdir. 3057 3058 * wince/io.h : change definition. 3059 3060 * wince/stdio.c : _fdopen -> fdopen. 3061 3062 * wince/process.h : add _P_OVERLAY. 3063 3064 * wince/time.h : change definition. 3065 3066 * wince/wincemain.c : add wce_SetCurrentDir. 3067 3068 * wince/wince.c : add wce_SetCurrentDir and wce_fopen. 3069 fix GetModuleFileNameA to return correct "lpFileName". 3070 3071 * wince/wince.h : remove #ifdef. 3072 3073 * wince/sys/utime.h, utime.c : rename _utime to utime. 3074 3075 * wince/sys/stat.c : expand relative directory in stat. 3076 3077Sat Apr 26 06:33:04 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3078 3079 * io.c (argf_read): ARGF.read() should read all argument files. 3080 3081Fri Apr 25 18:46:00 2003 Takaaki Uematsu <uema2x@jcom.home.ne.jp> 3082 3083 * gc.c: STACK_LEVEL_MAX=65535 on mswince. 3084 3085Fri Apr 25 18:40:07 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3086 3087 * io.c (argf_read): read should not span two files. [ruby-dev:20073] 3088 3089Fri Apr 25 18:19:03 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3090 3091 * eval.c (splat_value): split splat_value() and avalue_splat(). 3092 3093 * io.c: there's no way to set non-IO value to current_file, thus 3094 no need for argf_forward(). 3095 3096Fri Apr 25 02:03:25 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3097 3098 * eval.c (proc_invoke): Proc#yield should pass through retry and 3099 break like keyword yield. [ruby-talk:70034] 3100 3101 * eval.c (proc_invoke): orphan Proc now raises LocalJumpError for 3102 break and retry again. 3103 3104 * eval.c (rb_eval): ARGSCAT should splat the argument. 3105 3106 * eval.c (splat_value): splat operation function. 3107 3108Thu Apr 24 23:37:02 2003 Dave Thomas <dave@thomases.com> 3109 3110 * lib/matrix.rb (Matrix#minor): Used Range#size, which no longer 3111 exists. 3112 3113 * lib/complex.rb (new!): Complex.new had been made private, but 3114 Kernel#Complex called it. Re-exposed as new!. 3115 3116 * lib/matrix.rb (Matrix.row_vector): Fix method name typo 3117 3118Thu Apr 24 19:40:02 2003 WATANABE Hirofumi <eban@ruby-lang.org> 3119 3120 * ext/extmk.rb: add -Wl,--no-undefined to LDSHARED only 3121 if GNU ld is 2.11 or later. 3122 3123Wed Apr 23 14:05:40 2003 Dave Thomas <dave@pragprog.com> 3124 3125 * lib/ipaddr.rb (include?): Support non-IPAddr parameters. 3126 [ruby-core:00980] 3127 3128Wed Apr 23 13:31:10 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3129 3130 * lib/cgi.rb (CGI::QueryExtension::[]): always return Value 3131 object. 3132 3133Wed Apr 23 08:39:27 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3134 3135 * ext/zlib/extconf.rb: bccwin32 is win32 too. 3136 3137Tue Apr 22 20:58:00 2003 Takaaki Uematsu <uema2x@jcom.home.ne.jp> 3138 3139 * ruby.c: don't call VirtualQuery in ruby_init_loadpath() 3140 on mswince. 3141 3142Tue Apr 22 19:08:53 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3143 3144 * marshal.c (save_mantissa, load_mantissa): for interoperability 3145 should count cut-down bit from topmost. 3146 3147Tue Apr 22 09:20:40 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3148 3149 * parse.y (arg_ambiguous): hopefully better message. 3150 3151 * lib/cgi.rb (CGI::QueryExtension::initialize_query): to_ary 3152 removed. 3153 3154Tue Apr 22 06:06:22 2003 Tanaka Akira <akr@m17n.org> 3155 3156 * lib/resolv.rb (Resolv::DNS::Resource#hash): use XOR to accumulate 3157 hash value. 3158 3159 * lib/tsort.rb (TSort#each_strongly_connected_component): don't use 3160 block argument. 3161 (each_strongly_connected_component_from): ditto. 3162 3163Mon Apr 21 21:59:48 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3164 3165 * marshal.c: one more digit for decimal point. [ruby-talk:69808] 3166 3167Mon Apr 21 21:25:59 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3168 3169 * numeric.c (flo_is_finite_p): use finite() if available. 3170 3171 * win32/win32.h (isinf, isnan): define as macro. 3172 [ruby-win32:00533] 3173 3174 * bcc32/Makefile.sub, win32/Makefile.sub: no longer use 3175 missing/isinf.c, missing/isnan.c. 3176 3177Mon Apr 21 18:36:28 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3178 3179 * bignum.c (rb_cstr_to_inum): unnecessarily long buffer was used 3180 for radix 9. [ruby-dev:20057] 3181 3182Mon Apr 21 17:44:34 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3183 3184 * parse.y (block_append, value_expr0, assign_in_cond, 3185 warn_unless_e_option, warning_unless_e_option, range_op, 3186 cond0): adjust line number in warning. 3187 3188Mon Apr 21 00:47:42 2003 WATANABE Hirofumi <eban@ruby-lang.org> 3189 3190 * sample/test.rb: avoid the MSVCRT *printf problem(float). 3191 [ruby-dev:20037] 3192 3193Mon Apr 21 00:11:15 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3194 3195 * marshal.c (w_float): append least mantissa bits to get rid 3196 of roundoff problem. [ruby-talk:69518] 3197 3198 * marshal.c (r_object0): load least mantissa bits. 3199 3200Sun Apr 20 23:24:25 2003 WATANABE Hirofumi <eban@ruby-lang.org> 3201 3202 * win32/win32.c (NtInitialize): set the floating-point control word 3203 on bcc32. 3204 3205 * win32/win32.h, bcc32/Makefile.sub: use missing/isinf.c, should not 3206 use _finite() because it returns 0 if NaN. 3207 3208Sun Apr 20 03:09:30 2003 WATANABE Hirofumi <eban@ruby-lang.org> 3209 3210 * parse.y (void_expr0): node might become NULL after calling 3211 remove_begin(). 3212 3213Sat Apr 19 21:55:10 2003 Akinori MUSHA <knu@iDaemons.org> 3214 3215 * ext/Setup*: Add zlib and remove bogus and obsolete entries. 3216 3217Sat Apr 19 14:47:07 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3218 3219 * gc.c (rb_gc): use rb_gc_mark_maybe() to mark registered C 3220 addresses. C variables may not hold valid reference to Ruby 3221 objects. [ruby-core:00975] 3222 3223Sat Apr 19 00:56:13 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3224 3225 * struct.c (rb_struct_eql): should compare values with "eql?". 3226 3227Fri Apr 18 23:29:08 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3228 3229 * range.c (range_check): <=> returns nil for invalid values; 3230 should check. 3231 3232Fri Apr 18 15:26:50 2003 NAKAMURA Usaku <usa@ruby-lang.org> 3233 3234 * error.c (rb_raise): workaround for some implementations of 3235 vsnprintf. 3236 3237Fri Apr 18 02:23:42 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3238 3239 * regex.c (re_compile_pattern): should not set RE_OPTIMIZE_ANCHOR, 3240 if anychar_repeat is enclosed by parentheses. 3241 3242Fri Apr 18 01:49:18 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3243 3244 * util.c (ruby_strtod): improved conversion accuracy. 3245 3246Thu Apr 17 14:39:23 2003 NAKAMURA Usaku <usa@ruby-lang.org> 3247 3248 * ext/dbm/dbm.c (each_pair): add prototype to avoid VC++ warnings. 3249 3250 * ext/readline/readline.c (Init_readline): follow readline 4.2 3251 prototype. 3252 3253Thu Apr 17 14:22:36 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3254 3255 * parse.y (cond0): warn only range literals whose both side are 3256 literals. [ruby-core:00964] 3257 3258Thu Apr 17 11:10:59 2003 WATANABE Hirofumi <eban@ruby-lang.org> 3259 3260 * ext/readline/readline.c: add the defined operator for bcc32. 3261 3262Wed Apr 16 00:14:06 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3263 3264 * misc/ruby-mode.el (ruby-special-char-p): should test at the 3265 point if no argument. fixed by Michael Scholz 3266 <scholz-micha@gmx.de>. 3267 3268Tue Apr 15 19:35:08 2003 Minero Aoki <aamine@loveruby.net> 3269 3270 * lib/fileutils.rb: rm_r should raise Errno::ENOENT if file 3271 does not exist ([ruby-core:958]). Thanks Johan Holmberg. 3272 3273Tue Apr 15 19:12:21 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3274 3275 * struct.c (rb_struct_hash): new methods Struct#hash, Struct#eql?. 3276 (ruby-bugs:PR#758) 3277 3278Tue Apr 15 16:05:11 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3279 3280 * numeric.c (rb_fix2str): buffer was insufficient. 3281 (ruby-bugs-ja:PR#431) 3282 3283Mon Apr 14 19:45:56 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3284 3285 * file.c (file_expand_path): root must follow buf when 3286 reallocated. [ruby-talk:69339], [ruby-dev:20025] 3287 3288Mon Apr 14 03:22:33 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3289 3290 * rubyio.h (struct OpenFile): add noraise flag to finalizer. 3291 3292 * io.c (Init_IO): define $/, $-0, and $\ as string-only 3293 variables. 3294 3295 * string.c (rb_str_split_m): does not generate empty string if 3296 the receiver is empty. 3297 3298 * io.c (fptr_finalize): should raise error on EBADF for readable 3299 IOs as well. 3300 3301Mon Apr 14 15:54:18 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3302 3303 * bignum.c (rb_cstr_to_inum, rb_big2str): allow 2-36 as radix. 3304 3305 * numeric.c (rb_fix2str): ditto. 3306 3307 * string.c (rb_str_to_i): ditto. 3308 3309Sun Apr 13 03:20:31 2003 WATANABE Hirofumi <eban@ruby-lang.org> 3310 3311 * lib/mkmf.rb (try_func): remove COMMON_HEADERS at first for 3312 performance. 3313 3314Sat Apr 12 20:59:40 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3315 3316 * misc/ruby-mode.el (ruby-beginning-of-arg): substitute 3317 ruby-backward-arg. 3318 3319 * misc/ruby-mode.el (ruby-calculate-indent): fixed wrong 3320 indentation in brace block and parentheses. 3321 3322 * misc/ruby-mode.el (ruby-forward-sexp, ruby-backward-sexp): 3323 support special char literal, and negative arguments. 3324 3325Sat Apr 12 17:52:47 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3326 3327 * file.c (rb_stat): use rb_check_convert_type() to retrieve IO. 3328 3329Fri Apr 11 19:00:14 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3330 3331 * win32/win32.c (rb_w32_stat): check arguments. [ruby-dev:20007] 3332 [ruby-win32:535] 3333 3334Fri Apr 11 15:56:08 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3335 3336 * numeric.c (coerce_rescue): prevent inspected String from GC. 3337 3338 * numeric.c (flo_eq, rb_dbl_cmp, flo_gt, flo_ge, flo_lt, flo_le, 3339 flo_eql): correct NaN comparison. (ruby-bugs:PR#744) 3340 3341 * sample/test.rb: NaN comparison test. 3342 3343Fri Apr 11 14:48:47 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3344 3345 * file.c (rb_stat): dereference using StringValuePtr(). 3346 3347 * file.c (rb_file_s_stat): use rb_stat(). [ruby-dev:20007] 3348 3349Fri Apr 11 10:51:08 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3350 3351 * lib/benchmark.rb (Benchmark::bm): get rid of warning. 3352 [ruby-talk:69124] 3353 3354Fri Apr 11 02:41:35 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3355 3356 * io.c (set_stdin): assigned value must respond to "read" and 3357 "getc". 3358 3359 * io.c (set_outfile): assigned value must respond to "write". 3360 (ruby-bugs-ja:PR#425) 3361 3362Thu Apr 10 21:12:19 2003 Minero Aoki <aamine@loveruby.net> 3363 3364 * lib/net/pop.rb: Exception line was accidentaly removed. 3365 [ruby-dev:19989] 3366 3367Thu Apr 10 18:42:13 2003 Tadayoshi Funaba <tadf@dotrb.org> 3368 3369 * array.c (rb_ary_times): added some checks for request size. 3370 3371Thu Apr 10 03:22:38 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3372 3373 * variable.c (rb_mod_name): always return empty string for 3374 anonymous class/module. (ruby-bugs-ja PR#424) 3375 3376 * config.sub: stop forcing addition of -gnu to -linux. 3377 3378 * variable.c (classname): refactoring. 3379 3380 * variable.c (rb_class_path): __tmp__classpath__ handling moved 3381 from classname(). 3382 3383Thu Apr 10 01:52:24 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3384 3385 * eval.c (rb_obj_is_method): indefinite return value. 3386 3387Thu Apr 10 00:39:32 2003 Tanaka Akira <akr@m17n.org> 3388 3389 * regex.c (re_compile_pattern): /[\--\-]/ was warned. warn /]/. 3390 3391 * mkconfig.rb: escape `]' in regexp. 3392 3393Thu Apr 10 00:27:07 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3394 3395 * time.c (time_strftime): RSTRING(format)->ptr might become NULL. 3396 3397Wed Apr 9 23:54:50 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3398 3399 * variable.c (rb_obj_remove_instance_variable): better message. 3400 [ruby-talk:68987] 3401 3402 * variable.c (rb_mod_remove_const): ditto. 3403 3404 * object.c (rb_obj_ivar_get): ditto. 3405 3406 * object.c (rb_obj_ivar_set): ditto. 3407 3408 * parse.y (yylex): ditto. 3409 3410Wed Apr 9 21:51:20 2003 Dave Thomas <Dave@Thomases.com> 3411 3412 * eval.c (rb_mod_define_method): Allow UnboundMethod as 3413 parameter. 3414 3415Wed Apr 9 18:30:58 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3416 3417 * eval.c (top_include): include module to wrapper module if 3418 wrapper is present. experimental. [ruby-list:37539] 3419 3420Wed Apr 9 17:24:21 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3421 3422 * gc.c (rb_gc_mark_children): introduce this function again; this 3423 is required when stack was very tight. [ruby-talk:68916] 3424 3425Wed Apr 9 15:49:30 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3426 3427 * bignum.c (bigdivmod): small typo. 3428 3429Wed Apr 9 15:35:04 2003 NAKAMURA Usaku <usa@ruby-lang.org> 3430 3431 * ext/readline/readline.c: include <unistd.h> only when 3432 HAVE_UNISTD_H is defined. 3433 3434Wed Apr 9 14:05:00 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3435 3436 * marshal.c (w_object): preserve extended module on struct. 3437 (ruby-bugs-ja:PR#422) 3438 3439Wed Apr 9 03:43:14 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3440 3441 * bignum.c (BIGZEROP): macro to determine if x is a bignum zero. 3442 3443Tue Apr 8 11:49:31 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3444 3445 * eval.c (Init_Proc): make Method and UnboundMethod independent. 3446 They are like instance and its class. [ruby-core:00941] 3447 3448 * parse.y (yylex): disallow global variables like "$1ve". 3449 [ruby-core:00945] 3450 3451 * marshal.c (marshal_dump): Marshal.dump(0, false) should cause an 3452 error. (ruby-bugs-ja PR#421) 3453 3454 * regex.c (re_compile_pattern): warn if '-' is the edge of 3455 character range. 3456 3457Mon Apr 7 15:49:09 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3458 3459 * ext/socket/socket.c (sock_s_unpack_sockaddr_in): remove struct 3460 size check. getnameinfo(3) can handle. [ruby-dev:19967] 3461 3462Mon Apr 7 01:33:31 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3463 3464 * io.c (io_read): do not call rb_sys_fail() when required data 3465 length is zero. (ruby-bugs-ja PR#420) 3466 3467 * eval.c (umethod_proc): should raise TypeError, instead of 3468 returning error causing Proc. Following the principle of "fail 3469 early". [ruby-core:00927] 3470 3471Sun Apr 6 18:29:21 2003 UENO Katsuhiro <katsu@blue.sky.or.jp> 3472 3473 * ext/zlib/zlib.c: the return value of GzipReader#getc must be 3474 unsigned. 3475 3476Sun Apr 6 00:35:37 2003 Tanaka Akira <akr@m17n.org> 3477 3478 * sample/exyacc.rb: use Regexp in gsub!. 3479 3480Sat Apr 5 23:41:28 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3481 3482 * pack.c (pack_pack): small but serious typo. 3483 3484Sat Apr 5 04:23:05 2003 Warren Brown <wkb@airmail.net> 3485 3486 * sprintf.c (rb_f_sprintf): was decrementing width even if there 3487 is no sign character. 3488 3489Sat Apr 5 01:41:28 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3490 3491 * eval.c (backtrace): skip internal allocator frame. 3492 (ruby-bugs-ja PR#416) 3493 3494Fri Apr 4 10:53:22 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3495 3496 * eval.c (assign): should prepare mrhs by svalue_to_mrhs(). 3497 3498Wed Apr 2 15:11:23 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3499 3500 * README.EXT, README.EXT.ja (3.3): clarified -1 as free for 3501 Data_Wrap_Struct(). [ruby-dev:19881] 3502 3503Mon Mar 31 11:11:36 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3504 3505 * eval.c (rb_f_missing): use "inspect" for T_OBJECT as well. 3506 3507Mon Mar 31 10:50:48 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3508 3509 * hash.c (env_reject_bang): untaint key string. 3510 3511 * hash.c (env_delete_m): execute block only if deleting key does 3512 not exist. 3513 3514Sat Mar 29 17:54:46 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3515 3516 * pack.c (pack_pack): do not call rb_str_buf_cat() with NULL ptr, 3517 which causes SEGV; jump to grow instead. [ruby-dev:19944] 3518 3519Sat Mar 29 15:19:48 2003 Tanaka Akira <akr@m17n.org> 3520 3521 * instruby.rb, ext/extmk.rb, lib/benchmark.rb, lib/cgi.rb, 3522 lib/debug.rb, lib/getoptlong.rb, lib/optparse.rb, lib/time.rb, 3523 lib/date/format.rb, lib/irb/ruby-lex.rb lib/uri/common.rb: revert 3524 escape for `-' in character class. 3525 3526Sat Mar 29 09:48:35 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3527 3528 * eval.c (avalue_to_svalue): use rb_check_array_type() again. 3529 Clarify how "to_ary" and "to_a" work. [ruby-talk:68155] 3530 3531 * eval.c (svalue_to_avalue): ditto. 3532 3533 * eval.c (svalue_to_mrhs): ditto. 3534 3535 * eval.c (rb_eval): unary splat to use to_a, but we need a hack to 3536 exclude Object#to_a until it's removed. 3537 3538 * object.c (rb_Array): check obj.respond_to?("to_a"). Currently 3539 all object respond_to "to_a", but Object#to_a will be removed. 3540 3541 * range.c (Init_Range): undefine to_ary. 3542 3543 * re.c (Init_Regexp): ditto. 3544 3545Sat Mar 29 09:47:52 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3546 3547 * MANIFEST (ext/aix_mksym.rb): remove obsolete file. 3548 3549Fri Mar 29 06:21:24 2003 UENO Katsuhiro <katsu@blue.sky.or.jp> 3550 3551 * ext/zlib: merge from rough. 3552 3553Fri Mar 28 19:33:39 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3554 3555 * variable.c (rb_class_path): hold temporary class path in a 3556 instance variable to get rid of GC. [ruby-dev:19932] 3557 3558 * variable.c (classname): remove temporary class path when exact 3559 name found. 3560 3561Fri Mar 28 18:29:23 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3562 3563 * regex.c (re_compile_pattern): do not warn if "-" is at the top 3564 or last of character class. 3565 3566Thu Mar 27 12:10:15 2003 Tanaka Akira <akr@m17n.org> 3567 3568 * regex.c (re_compile_pattern): fix [:name:] handling. 3569 /[\[:digit:]]/ was treated as /[[:digit:]]/. 3570 /[[:-@]/ was treated as /[\[:\-@]/. 3571 /[%-[:digit:]]/ was treated as /[%-\[:digit:]\]/. 3572 3573Thu Mar 27 03:26:40 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3574 3575 * string.c (rb_str_capitalize_bang): check length before upcase 3576 first character. (ruby-bugs:PR#697) 3577 3578Wed Mar 26 20:25:10 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3579 3580 * dln.c (dln_find_1): break if path list end, even for too long 3581 path names. (ruby-bugs-ja:PR#412) 3582 3583Wed Mar 26 13:19:32 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3584 3585 * eval.c (avalue_splat): new function to do unary * (splat) 3586 operator. 3587 3588 * eval.c (avalue_to_svalue,svalue_to_avalue,svalue_to_mrhs): do 3589 not use implicit "to_ary" conversion. 3590 3591 * ext/curses/curses.c (GetWINDOW,GetMOUSE): add taint check. 3592 3593 * ext/curses/curses.c (curses_init_screen): ditto. 3594 3595 * ext/curses/curses.c (window_initialize): ditto. 3596 3597 * gc.c (os_each_obj): prohibit ObjectSpace#each_object in safe 3598 mode ($SAFE >= 4). 3599 3600Tue Mar 25 23:26:02 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3601 3602 * signal.c (trap): return "DEFAULT" and "IGNORE" respectively for 3603 previous sighandler SIG_DFL and SIG_IGN. [ruby-talk:67860] 3604 3605Tue Mar 25 12:24:15 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3606 3607 * eval.c (rb_yield_0): call avalue_to_mrhs() to assign block 3608 parameter |a|. [ruby-dev:19897] 3609 3610 * ruby.c (ruby_set_argv): freeze argument strings. 3611 3612Tue Mar 25 12:01:54 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3613 3614 * io.c (rb_io_initialize): should check rb_secure(4). 3615 3616 * dir.c (dir_s_getwd): should check rb_secure(4). 3617 3618 * object.c (rb_obj_infect): function version of OBJ_INFECT(). 3619 3620 * eval.c (rb_secure_update): new function to check object update. 3621 3622Tue Mar 25 10:18:05 2003 Minero Aoki <aamine@loveruby.net> 3623 3624 * ext/strscan/strscan.c: should infect also return values of 3625 #inspect. 3626 3627 * ext/strscan/strscan.c: use snprintf() instead of sprintf(). 3628 3629Mon Mar 24 16:55:04 2003 Takaaki Tateishi <ttate@ttsky.net> 3630 3631 * ext/dl/dl.c: added rb_secure(4). (Thanks to Minero Aoki) 3632 3633 * ext/dl/sym.c: ditto. 3634 3635 * ext/dl/ptr.c: ditto. 3636 3637Mon Mar 24 00:09:02 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3638 3639 * parse.y (block_append): warn unused literal. 3640 3641Sun Mar 23 22:22:04 2003 WATANABE Hirofumi <eban@ruby-lang.org> 3642 3643 * lib/jcode.rb (tr!, delete!, szueeze!): add empty string checking. 3644 3645Sun Mar 23 19:54:53 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3646 3647 * gc.c (rb_gc_call_finalizer_at_exit): use free() if dfree is -1. 3648 3649Sat Mar 22 15:50:29 2003 Tanaka Akira <akr@m17n.org> 3650 3651 * time.c (make_time_t): try search_time_t if mktime/timegm is failed. 3652 3653Sat Mar 22 13:26:33 2003 Tanaka Akira <akr@m17n.org> 3654 3655 * lib/optparse.rb, lib/jcode.rb, ext/tk/lib/tk.rb: reorder character 3656 class /[\]\[]/ to /[\[\]]/ for readability. 3657 3658Sat Mar 22 12:44:15 2003 Tanaka Akira <akr@m17n.org> 3659 3660 * lib/date/format.rb, lib/uri/common.rb: escape `[', `]', `-' in 3661 character class in regexp to avoid warning. 3662 3663Sat Mar 22 07:39:32 2003 Ulf Betlehem <flu@iki.fi> 3664 3665 * io.c (rb_io_fread): may lose data on nonblocking read. 3666 3667Fri Mar 21 23:40:41 2003 Tanaka Akira <akr@m17n.org> 3668 3669 * regex.c (re_compile_pattern): fix previous change. 3670 3671 * instruby.rb, ext/extmk.rb, ext/tk/lib/tk.rb, lib/benchmark.rb, 3672 lib/cgi.rb, lib/debug.rb, lib/getoptlong.rb, lib/jcode.rb, 3673 lib/optparse.rb, lib/time.rb, lib/date/format.rb, 3674 lib/irb/ruby-lex.rb: escape `[', `]', `-' in character class in 3675 regexp to avoid warning. 3676 3677Fri Mar 21 23:23:45 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3678 3679 * regex.c (re_compile_pattern): give warning for unescaped square 3680 brackets and minus in character class. [ruby-dev:19868] 3681 3682Fri Mar 21 18:12:20 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3683 3684 * eval.c (bmcall): missing type. 3685 3686Fri Mar 21 01:29:35 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3687 3688 * sprintf.c (rb_f_sprintf): copy sign bits only if value is 3689 negative. 3690 3691 * missing.h: include <stdarg.h> or <varargs.h> if HAVE_VSNPRINTF 3692 is not defined. 3693 3694Thu Mar 20 18:31:37 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3695 3696 * lib/optparse.rb (OptionParser#order!): follow recent change 3697 of proc argument. 3698 3699Thu Mar 20 16:12:53 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3700 3701 * numeric.c (flo_to_s): change format specifier to "%.15g" to 3702 avoid unnecessary 9s (e.g. 99.59999999999999). (ruby-bugs-ja PR#406) 3703 3704Thu Mar 20 16:03:18 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3705 3706 * parse.y (stmt, primary): get rid of SEGV at empty or invalid 3707 condition. (ruby-bugs-ja:PR#410) 3708 3709 * parse.y (cond_negative): negate condition node when NODE_NOT. 3710 3711Thu Mar 20 10:45:29 2003 Tanaka Akira <akr@m17n.org> 3712 3713 * eval.c (bmcall): add volatile to avoid GC problem. 3714 3715Thu Mar 20 10:10:49 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3716 3717 * eval.c (load_dyna): clear ruby_errinfo. (ruby-bugs-ja PR#409) 3718 3719Wed Mar 19 23:05:30 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org> 3720 3721 * lib/tracer.rb (trace_func): save and recover Thread.critical state. 3722 Fixed by Fukumoto Atsushi <fukumoto@imasy.or.jp> [ruby-dev:19830] 3723 3724Wed Mar 19 02:55:46 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3725 3726 * io.c (read_all): make str empty if given. (ruby-bugs-ja PR#408) 3727 3728 * io.c (io_read): ditto. 3729 3730 * io.c (rb_io_sysread): ditto. 3731 3732Tue Mar 18 18:24:03 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3733 3734 * range.c: do not override min and max. 3735 3736Sun Mar 16 12:29:55 2003 Tanaka Akira <akr@m17n.org> 3737 3738 * lib/pp.rb (object_address_group): use to_s instead of name 3739 to get name of class. 3740 3741Fri Mar 14 08:53:29 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3742 3743 * sprintf.c (remove_sign_bits): octal left most digit for negative 3744 numbers may be '3'. (ruby-bugs-ja PR#407) 3745 3746 * sprintf.c (rb_f_sprintf): should prefix sign bits if bignum is 3747 negative, using sign_bits(). 3748 3749Wed Mar 12 16:48:19 2003 WATANABE Hirofumi <eban@ruby-lang.org> 3750 3751 * io.c (prep_stdio): set binmode only if the file descriptor 3752 is not connected to a terminal on Cygwin. 3753 3754Wed Mar 12 11:23:49 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3755 3756 * eval.c (avalue_to_mrhs): split argument passing and assignment 3757 conversion. 3758 3759 * eval.c (svalue_to_mrhs): ditto. 3760 3761 * eval.c (avalue_to_svalue): avalue_to_svalue([[1,2]]) should be 3762 [[1,2]], not [1,2] to wrap-around. 3763 3764Tue Mar 11 21:00:59 2003 Minero Aoki <aamine@loveruby.net> 3765 3766 * lib/net/smtp.rb: Digest string wrongly included '\n' when user 3767 name is too long (ruby-bugs-ja:PR#404). 3768 3769Tue Mar 11 20:07:01 2003 Minero Aoki <aamine@loveruby.net> 3770 3771 * lib/net/http.rb: speeding up by avoiding extra flush. 3772 (suggested by Brian Candler <B.Candler@pobox.com> [ruby-talk:66516]) 3773 3774Tue Mar 11 04:30:12 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3775 3776 * eval.c (massign): remove unnecessary array unpacking; it should 3777 be handled before massign() by svalue_to_mrhs(). 3778 3779 * eval.c (svalue_to_mrhs): '*a = v' value conversion to avalue 3780 (i.e. [1] => [[1]], [1,2] => [1,2]). 3781 3782 * eval.c (rb_eval): use svalue_to_mrhs. 3783 3784 * eval.c (rb_yield_0): ditto. 3785 3786 * eval.c (proc_invoke): break from "Proc#yield" is legal. 3787 3788Mon Mar 10 23:19:29 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3789 3790 * file.c (rb_find_file): need world writable directory check for 3791 relative paths too. 3792 3793Mon Mar 10 11:23:00 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3794 3795 * file.c (rb_find_file): world writable directory check if 3796 $SAFE >= 1 (was $SAFE >= 2). 3797 3798Mon Mar 10 01:59:47 2003 Minero Aoki <aamine@loveruby.net> 3799 3800 * lib/net/pop.rb: do not dispatch LIST when a mailbox is empty. 3801 3802 * lib/net/pop.rb: merge the 'STAT' patch from Frank S.Fejes 3803 <frank@oopdreams.com>, with modifications (listed below). 3804 3805 * lib/net/pop.rb: new method Net::POP#mail_size. 3806 3807 * lib/net/pop.rb: new method Net::POP#bytes. 3808 3809 * lib/net/pop.rb: new method Net::POPCommand#stat. 3810 3811Sun Mar 9 19:30:25 2003 WATANABE Hirofumi <eban@ruby-lang.org> 3812 3813 * lib/fileutils.rb (mkdir, mkdir_p): revert. 3814 3815 * instruby.rb (umask): umask 0022, not 0. 3816 3817Sun Mar 9 17:09:40 2003 WATANABE Hirofumi <eban@ruby-lang.org> 3818 3819 * lib/fileutils.rb (mkdir, mkdir_p): set mode to 0755. 3820 3821 * Makefile.in (fake.rb): set ALT_SEPARATOR to the default value. 3822 3823Sat Mar 8 11:30:59 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3824 3825 * eval.c (massign): fix a bug not to expand in assignment to sole 3826 lhs. [ruby-dev:19766] 3827 3828Fri Mar 7 21:57:25 2003 Tanaka Akira <akr@m17n.org> 3829 3830 * lib/pp.rb (Kernel.pp): module function. 3831 (MatchData#pretty_print): new method. 3832 3833Fri Mar 7 20:27:19 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3834 3835 * ext/tcltklib/extconf.rb (find_tcl, find_tk): return true if 3836 non-versioned found. [ruby-dev:19759] 3837 3838Fri Mar 7 15:05:35 2003 WATANABE Hirofumi <eban@ruby-lang.org> 3839 3840 * ext/dbm/extconf.rb: add QDBM support. 3841 3842Fri Mar 7 12:59:39 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3843 3844 * eval.c (massign): deal with sole lhs, assign rest args from 3845 converted array. [ruby-dev:19751] 3846 3847Fri Mar 7 03:31:36 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3848 3849 * parse.y (dsym): :"symbol string" style should not contain `\0'. 3850 3851 * process.c (proc_detach): new method Process.detach(pid) which 3852 create background watcher thread to issue waitpid. [new] 3853 3854 * process.c (rb_detach_process): utility function to detach 3855 process from C code. 3856 3857 * ext/pty/pty.c (pty_finalize_syswait): terminate watcher thread, 3858 and detach child process (by creating new idle waitpid watcher 3859 thread). 3860 3861 * ext/pty/pty.c (pty_syswait): may lost signal stopped child. 3862 3863Fri Mar 7 00:30:33 2003 WATANABE Hirofumi <eban@ruby-lang.org> 3864 3865 * ext/Win32API/Win32API.c: no longer use inline-asms. 3866 3867 * ext/Win32API/extconf.rb: no need to add gcc options. 3868 3869Thu Mar 6 13:02:10 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3870 3871 * parse.y (reswords): fix reswords list. 3872 3873Wed Mar 5 12:13:21 2003 WATANABE Hirofumi <eban@ruby-lang.org> 3874 3875 * configure.in: better YACC support on HP-UX. 3876 3877Wed Mar 5 05:55:20 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3878 3879 * string.c (rb_str_cat): remove ptr NULL check and MEMZERO(). ptr 3880 must be non NULL. 3881 3882Tue Mar 4 23:12:07 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3883 3884 * configure.in, bcc32/Makefile.sub, win32/Makefile.sub: define 3885 RUBY_EXPORT to export symbols. 3886 3887 * defines.h: use RUBY_EXTERN instead of EXTERN. 3888 3889 * intern.h, re.h, ruby.h, rubysig.h: ditto. 3890 3891 * win32/win32.h: remove EXTERN definition. 3892 3893Tue Mar 4 17:54:30 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3894 3895 * array.c (rb_ary_aref): raise TypeError if index is a symbol. 3896 [ruby-list:37217] 3897 3898 * array.c (rb_ary_aset): ditto. 3899 3900Tue Nov 13 14:39:11 2001 WATANABE Tetsuya <tetsu@jpn.hp.com> 3901 3902 * missing/strftime.c: HP-UX support. 3903 3904Tue Mar 4 15:08:08 2003 WATANABE Hirofumi <eban@ruby-lang.org> 3905 3906 * configure.in: better HP-UX support. 3907 3908 * missing/strftime.c: ditto. 3909 3910Tue Mar 4 10:11:32 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3911 3912 * io.c (rb_io_popen): do not call rb_io_close() directly, call 3913 "close" method instead. [ruby-dev:19717] 3914 3915 * io.c (rb_io_s_open): ditto. 3916 3917 * hash.c (rb_any_hash): remove DEFER_INTS. all do_hash() calls in 3918 st.c are at the top of functions. No reentrant problem. 3919 3920Tue Mar 4 01:19:21 2003 Akinori MUSHA <knu@iDaemons.org> 3921 3922 * ext/dl/MANIFEST: Exclude .cvsignore. [found by: eban] 3923 3924Tue Mar 4 01:17:08 2003 Akinori MUSHA <knu@iDaemons.org> 3925 3926 * ext/Win32API/MANIFEST: Belatedly add lib/win32/registry.rb. 3927 [found by: eban] 3928 3929Tue Mar 4 00:33:04 2003 Akinori MUSHA <knu@iDaemons.org> 3930 3931 * MANIFEST: Belatedly add Test::Unit files. D'oh! 3932 3933Sun Mar 2 09:51:47 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3934 3935 * marshal.c (w_nbyte): should output always via rb_io_write(). 3936 3937 * marshal.c (dump_ensure): ditto. 3938 3939 * marshal.c (marshal_dump): should call "binmode" method, if it 3940 responds to. 3941 3942 * marshal.c (r_byte): should input always via "getc" method. 3943 3944 * marshal.c (r_bytes0): should input always via "read" method. 3945 3946 * marshal.c (marshal_load): need not to set up FILE* fp; 3947 3948Mon Mar 3 11:29:04 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3949 3950 * parse.y (arg): parse 'lhs = a rescue b' as 'lhs=(a rescue b)'. 3951 3952Mon Mar 3 02:53:52 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 3953 3954 * io.c (rb_io_fread): should not clearerr() if there's no filled 3955 buffer (i.e. rb_io_fread() returning zero). 3956 3957Mon Mar 3 01:42:35 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3958 3959 * misc/ruby-mode.el (ruby-expr-beg): escaped char syntax. 3960 3961 * misc/ruby-mode.el (ruby-parse-partial): ditto. 3962 3963 * misc/ruby-mode.el (ruby-parse-partial): no deep indent for 3964 block. 3965 3966 * misc/ruby-mode.el (ruby-backward-arg): skip arguments backward. 3967 3968 * misc/ruby-mode.el (ruby-calculate-indent): too deep indentation. 3969 3970Fri Feb 28 23:50:32 2003 NAKAMURA Usaku <usa@ruby-lang.org> 3971 3972 * win32/win32.c (map_errno): map OS error to errno. [new] 3973 3974 * win32/win32.c (pipe_exec, CreateChild, poll_child_status, waitpid, 3975 kill, link, rb_w32_rename, unixtime_to_filetime, rb_w32_utime): use 3976 map_errno() instead of using GetLastError() directly. 3977 3978 * win32/win32.c (rb_w32_select, rb_w32_accept, rb_w32_bind, 3979 rb_w32_connect, rb_w32_getpeername, rb_w32_getsockname, 3980 rb_w32_getsockopt, rb_w32_ioctlsocket, rb_w32_listen, rb_w32_recv, 3981 rb_w32_recvfrom, rb_w32_send, rb_w32_sendto, rb_w32_setsockopt, 3982 rb_w32_shutdown, rb_w32_socket, rb_w32_gethostbyaddr, 3983 rb_w32_gethostbyname, rb_w32_gethostname, rb_w32_getprotobyname, 3984 rb_w32_getprotobynumber, rb_w32_getservbyname, rb_w32_getservbyport, 3985 rb_w32_fclose, rb_w32_close): map winsock error to errno. 3986 3987Fri Feb 28 22:54:10 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 3988 3989 * win32/win32.c (flock): supports larger files, and maps error 3990 code. 3991 3992 * win32/win32.c (rb_w32_asynchronize): returns errno from child 3993 thread. 3994 3995 * win32/win32.c (rb_w32_fclose, rb_w32_close): ensures unlocked. 3996 3997Wed Feb 26 17:38:16 2003 Tanaka Akira <akr@m17n.org> 3998 3999 * lib/open-uri.rb: replace Kernel.open as well. 4000 4001Tue Feb 25 23:03:08 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org> 4002 4003 * lib/debug.rb (DEBUGGER__::Context#debug_command): bp filename must 4004 be the basename of it. [ruby-talk:65644] 4005 4006Mon Feb 24 17:49:35 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4007 4008 * parse.y (yycompile): zero clear ruby_eval_tree_begin if 4009 compilation failed. 4010 4011Mon Feb 24 08:06:29 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4012 4013 * string.c (str_new): need no MEMZERO(). 4014 4015Sun Feb 23 17:57:06 2003 WATANABE Hirofumi <eban@ruby-lang.org> 4016 4017 * lib/fileutils (fu_stream_blksize): wrong logical condition. 4018 (and -> or). 4019 4020Sat Feb 22 03:12:56 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4021 4022 * numeric.c (fix_gt): use rb_num_coerce_cmp() instead of 4023 rb_num_coerce_bin. 4024 4025 * numeric.c (fix_ge, fix_lt, fix_le): ditto. 4026 4027 * numeric.c (flo_gt, flo_ge, flo_lt, flo_le): ditto. 4028 4029Sat Feb 22 02:45:20 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4030 4031 * eval.c (rb_thread_create): may called from place higher than 4032 rb_gc_stack_start. 4033 4034 * gc.c (Init_stack): update rb_gc_stack_start if it is lower (or 4035 higher if stack grows down) than the previous value. 4036 4037Fri Feb 21 21:03:41 2003 Minero Aoki <aamine@loveruby.net> 4038 4039 * lib/fileutils.rb: new method FileUtils#copy_stream. 4040 4041 * lib/fileutils.rb: new method FileUtils#compare_file. 4042 4043 * lib/fileutils.rb: new method FileUtils#compare_stream. 4044 4045 * lib/fileutils.rb: new method FileUtils#rmtree (alias of rm_rf). 4046 4047Fri Feb 21 17:19:27 2003 WATANABE Hirofumi <eban@ruby-lang.org> 4048 4049 * eval.c (rb_f_require): do not need to abort if a DLEXT file 4050 is not found. 4051 4052Fri Feb 21 13:39:25 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4053 4054 * string.c (rb_str_cmp_m): should use LONG2NUM(). 4055 4056Fri Feb 21 12:45:50 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4057 4058 * string.c (rb_str_cmp_m): two small bugs fixed. 4059 4060Fri Feb 21 08:03:09 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4061 4062 * gc.c (rb_gc_mark): inline rb_gc_mark_children(). 4063 4064 * gc.c (gc_sweep): new tactics to increase malloc_limit mildly. 4065 4066Fri Feb 21 05:16:14 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4067 4068 * string.c (rb_str_cmp_m): return nil if str2 does not respond to 4069 both "to_str" and "<=>". 4070 4071 * compar.c (cmp_gt): return nil if "<=>" returns nil (means 4072 incomparable). 4073 4074 * compar.c (cmp_ge, cmp_lt, cmp_le): ditto. 4075 4076 * compar.c (cmp_between): use RTEST(), since cmp_lt and cmp_gt may 4077 return nil. 4078 4079Thu Feb 20 19:05:51 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4080 4081 * eval.c (rb_thread_start_0): main thread swapped by fork() may 4082 terminate rb_thread_start_0() successfully. call ruby_stop(0); 4083 this change was suggested by Rudi Cilibrasi 4084 <cilibrar@drachma.ugcs.caltech.edu>. 4085 4086Thu Feb 20 18:44:51 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4087 4088 * file.c (file_expand_path): fix wrong behavior for root file. 4089 expand_path("..", "//machine/share") => "//machine/share" 4090 expand_path("..", "c:/a") => "c:/" 4091 expand_path("..", "/a") => "/" 4092 4093Thu Feb 20 18:11:01 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4094 4095 * file.c (file_expand_path): should not upward beyond share name. 4096 4097Thu Feb 20 15:45:33 2003 WATANABE Hirofumi <eban@ruby-lang.org> 4098 4099 * missing.h (strtoul): fix prototype of strtoul. 4100 4101Thu Feb 20 10:11:30 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4102 4103 * parse.y (clhs): allow "Foo::Bar = x". 4104 4105Thu Feb 20 04:07:06 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4106 4107 * parse.y (primary): "self[n]=x" can be legal even when "[]=" is 4108 private. changes submitted in [ruby-talk:63982] 4109 4110 * parse.y (aryset): ditto. 4111 4112 * parse.y (attrset): "self.foo=x" can be legal even when "foo=" 4113 is private. 4114 4115 * eval.c (is_defined): private "[]=" and "foo=" support. 4116 4117 * eval.c (rb_eval, assign): ditto. 4118 4119Thu Feb 20 03:58:34 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4120 4121 * eval.c (rb_eval): "foo=" should not always be public. 4122 4123Thu Feb 20 01:23:59 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4124 4125 * eval.c (rb_thread_restore_context): inhibit interrupts in 4126 critical section while context switching. [ruby-talk:64785] 4127 4128Wed Feb 19 18:27:42 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4129 4130 * node.h (nd_cpath): nested class/module declaration. 4131 [EXPERIMENTAL] 4132 4133 * eval.c (rb_eval): ditto. 4134 4135 * gc.c (rb_gc_mark_children): ditto. 4136 4137 * parse.y (cpath): ditto. 4138 4139Tue Feb 18 21:39:27 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4140 4141 * eval.c (rb_call0): should not report uninitialized warning by 4142 attribute reader method. 4143 4144 * variable.c (rb_attr_get): new function to get instance variable 4145 without uninitialized warning. 4146 4147 * io.c (argf_to_io): should prefetch argv. 4148 4149Tue Feb 18 00:13:50 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4150 4151 * misc/ruby-mode.el (ruby-comment-column): customize comment 4152 column. [new] 4153 4154 * misc/ruby-mode.el (ruby-deep-indent-paren): deep indentation 4155 parentheses. [new] 4156 4157 * misc/ruby-mode.el (ruby-expr-beg): fix for / after $?. 4158 4159 * misc/ruby-mode.el (ruby-parse-partial, ruby-calculate-indent): 4160 deep indentation support. 4161 4162 * misc/ruby-mode.el (ruby-forward-sexp, ruby-backward-sexp): 4163 move forward/backward across one balanced expression. [new] 4164 4165 * misc/ruby-mode.el (ruby-indent-exp): indent balanced 4166 expression. [new] 4167 4168 * misc/ruby-mode.el (ruby-electric-brace): indent before 4169 show matching parenthesis. (contributed by NABEYA Kenichi) 4170 4171Mon Feb 17 14:36:56 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4172 4173 * win32/win32.c (rb_w32_opendir, rb_w32_utime): need parens. 4174 4175Mon Feb 17 14:13:25 2003 NAKAMURA Usaku <usa@ruby-lang.org> 4176 4177 * win32/win32.c (link): implement with CreateHardLink(). 4178 4179 * win32/win32.c, win32/win32.h (rb_w32_utime): enable utime() to 4180 directory if on NT. [new] (ruby-bugs-ja:PR#393) 4181 4182Mon Feb 17 13:28:51 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4183 4184 * file.c (file_expand_path): strip last slash when path is 4185 root. 4186 4187Sun Feb 16 19:22:31 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4188 4189 * file.c (file_expand_path): buffer might be reallocated while 4190 expanding default directory. 4191 4192 * file.c (file_expand_path): default directory was being 4193 ignored if path was full path with no drive letter, under 4194 DOSISH. 4195 4196Sun Feb 16 03:14:33 2003 WATANABE Hirofumi <eban@ruby-lang.org> 4197 4198 * io.c (prep_stdio, Init_io): always set binmode on Cygwin. 4199 4200Sat Feb 15 01:01:45 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4201 4202 * file.c (file_expand_path): fix surplus path separators while 4203 expanding at root directory. [ruby-dev:19572] 4204 4205Fri Feb 14 14:25:24 2003 akira yamada <akira@arika.org> 4206 4207 * lib/uri/generic.rb, lib/uri/ldap.rb, lib/uri/mailto.ldap: all foo=() 4208 returns arguments passed by caller. 4209 4210 * lib/uri/generic.rb (Generic#to_str, Generic#to_s): removed to_str. 4211 Suggested by Tanaka Akira <akr@m17n.org> at [ruby-dev:19475]. 4212 4213 * lib/uri/generic.rb (Generic#==): should not generate an URI object 4214 from argument. Suggested by Tanaka Akira <akr@m17n.org> at 4215 [ruby-dev:19475]. 4216 4217Thu Feb 13 11:54:50 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4218 4219 * ruby.c (ruby_init_loadpath): ensures buffer terminated 4220 before use strncpy(). 4221 4222 * ruby.c (proc_options): avoid SEGV at -S with no arguments. 4223 script argument is in effect only when -e is not given. 4224 (ruby-bugs-ja:PR#391) 4225 4226Thu Feb 13 01:30:10 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4227 4228 * eval.c (rb_thread_schedule): current thread may be dead when 4229 deadlock. (ruby-bugs:PR#588) 4230 4231Thu Feb 13 00:28:52 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4232 4233 * range.c (range_step): step might be float 0 < x < 1. 4234 4235 * eval.c (rb_thread_schedule): pause if no runnable thread when 4236 there's only one thread. 4237 4238Thu Feb 13 00:09:47 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4239 4240 * file.c (strrdirsep): ignore trailing directory separators. 4241 4242 * file.c (rb_file_s_expand_path): File.expand_path(".","/") should 4243 return "/". (ruby-bugs-ja:PR#389) 4244 4245 * file.c (rb_file_s_basename): also ignore trailing directory 4246 separators, in compliance with SUSv3. (ruby-bugs-ja:PR#390) 4247 4248 * file.c (rb_file_s_dirname, rb_file_s_extname): ditto. 4249 4250 * file.c (rb_file_s_dirname): append "." if drive only. 4251 4252 * file.c (rb_file_s_split): get rid of converting twice. 4253 4254Mon Feb 10 20:55:15 2003 WATANABE Hirofumi <eban@ruby-lang.org> 4255 4256 * ext/extmk.rb (parse_args): add '-n' to $mflags BEFORE "--". 4257 do not add DESTDIR if already included in $mflags. 4258 4259Mon Feb 10 19:54:30 2003 Minero Aoki <aamine@loveruby.net> 4260 4261 * lib/fileutils.rb (FileUtils#uptodate?): use mtime for 4262 comparison. 4263 4264Mon Feb 10 10:14:26 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4265 4266 * array.c (rb_ary_to_a): return value should be an Array if the 4267 receiver is an instance of subclass of Array. 4268 4269 * string.c (rb_str_to_s): return value should be a String if the 4270 receiver is an instance of subclass of String. 4271 4272Mon Feb 10 03:33:42 2003 WATANABE Hirofumi <eban@ruby-lang.org> 4273 4274 * io.c (rb_file_sysopen): rb_file_sysopen_internal() needs four 4275 arguments. 4276 4277Sun Feb 9 15:16:04 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4278 4279 * intern.h (HAVE_RB_DEFINE_ALLOC_FUNC, RB_CVAR_SET_4ARGS): 4280 define to 1. 4281 4282 * ruby.h (NORETURN_STYLE_NEW): ditto. 4283 4284Sun Feb 9 12:28:18 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4285 4286 * lib/mkmf.rb (init_mkmf): add libdir to LIBPATH unless cross 4287 compiling. 4288 4289Sun Feb 9 08:34:45 2003 Minero Aoki <aamine@loveruby.net> 4290 4291 * lib/net/http.rb: 4xx raises Net::ProtoServerError, 5xx raises 4292 Net::ProtoFatalError (for backward compatibility). 4293 4294Sun Feb 9 07:07:26 2003 Minero Aoki <aamine@loveruby.net> 4295 4296 * lib/fileutils.rb: new method FileUtils.pwd (really). 4297 4298 * lib/fileutils.rb: FileUtils.pwd, cmp, identical?, uptodate? does 4299 not accept any option. 4300 4301Sat Feb 8 18:35:30 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4302 4303 * misc/ruby-mode.el (ruby-forward-string): fixed void variable 4304 error. 4305 4306Sat Feb 8 16:23:11 2003 NABEYA Kenichi <kenichi@nabeya.com> 4307 4308 * misc/ruby-mode.el (ruby-font-lock-keywords): method name can 4309 be delimited by tab. 4310 4311Sat Feb 8 03:57:32 2003 Akinori MUSHA <knu@iDaemons.org> 4312 4313 * lib/irb/workspace.rb, lib/irb/ext/math-mode.rb, 4314 lib/irb/ext/multi-irb.rb, lib/irb/lc/error.rb, 4315 lib/irb/lc/help-message, lib/irb/lc/ja/error.rb, 4316 lib/shell/command-processor.rb, lib/shell/error.rb, 4317 lib/shell/filter.rb: Fix typos and grammos. [approved by: keiju] 4318 4319Sat Feb 8 03:34:28 2003 Akinori MUSHA <knu@iDaemons.org> 4320 4321 * intern.h (HAVE_RB_DEFINE_ALLOC_FUNC): New boolean macro to make 4322 it easier to write extensions that work with both ~1.6 and 1.8~. 4323 4324 * intern.h (RB_CVAR_SET_4ARGS): Ditto. 4325 4326 * ruby.h (NORETURN_STYLE_NEW): Ditto. 4327 4328Sat Feb 8 00:47:24 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4329 4330 * eval.c (rb_call): calls method_missing when superclass method 4331 does not exist. 4332 4333 * eval.c (rb_f_missing): now handles "no super" case. 4334 4335 * object.c (rb_obj_ivar_get): Object#instance_variable_get: new 4336 method to get instance variable value without eval(). [new] 4337 4338 * object.c (rb_obj_ivar_set): Object#instance_variable_set: new 4339 method to set instance variable value without eval(). [new] 4340 4341Fri Feb 7 15:35:21 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4342 4343 * intern.h, re.c (rb_memsearch): returns long. 4344 4345 * string.c (rb_str_index): should return offset position. 4346 4347Fri Feb 7 15:30:15 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4348 4349 * eval.c (proc_invoke): should propagate self to super 4350 methods. [ruby-dev:19510] 4351 4352Thu Feb 6 19:04:32 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4353 4354 * re.c (rb_reg_initialize_m): should not preset "kcode" unless 4355 encoding is explicitly specified. 4356 4357Thu Feb 6 19:01:32 2003 Minero Aoki <aamine@loveruby.net> 4358 4359 * lib/fileutils.rb: new method FileUtils.pwd. 4360 4361 * lib/fileutils.rb: default label is ''. 4362 4363 * lib/fileutils.rb: using module_eval again, to avoid ruby's bug. 4364 4365 * lib/fileutils.rb: fix wrong examples in rdoc. 4366 4367Thu Feb 6 17:43:56 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4368 4369 * lib/complex.rb (Complex#==): should not raise error by type 4370 mismatch. 4371 4372 * lib/rational.rb (Rational#==): ditto. 4373 4374Thu Feb 6 11:44:40 2003 MoonWolf <moonwolf@moonwolf.com> 4375 4376 * re.c (rb_reg_initialize_m): 3rd argument was ignored. 4377 4378Thu Feb 6 01:09:05 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4379 4380 * string.c (rb_str_count): return 0 for empty string (was 4381 returning nil). 4382 4383Wed Feb 5 19:41:37 2003 Tanaka Akira <akr@m17n.org> 4384 4385 * lib/open-uri.rb: dispatch code restructured to make it openable 4386 that has `open' method. 4387 4388 * lib/open-uri.rb: Location: field may has a relative URI. 4389 pointed out by erik eriksson <ee@opera.com>. 4390 4391Wed Feb 5 17:11:02 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4392 4393 * parse.y (yylex): no .<digit> float literal anymore. 4394 4395Tue Feb 4 16:11:30 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4396 4397 * array.c (rb_ary_equal): a == b is true when b is non T_ARRAY 4398 object, if b has "to_ary" and b == a. 4399 4400 * hash.c (rb_hash_equal): a == b is true when b is non T_HASH 4401 object, if b has "to_hash" and b == a. 4402 4403 * string.c (rb_str_equal): a == b is true when b is non T_STRING 4404 object, if b has "to_str" and b == a. 4405 4406Mon Feb 3 23:46:48 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4407 4408 * io.c (argf_getline): should not increment lineno at EOF. 4409 4410Mon Feb 3 16:49:19 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4411 4412 * object.c (Init_Object): default Object#=== now calls "==" 4413 internally. 4414 4415 * re.c (rb_reg_initialize_m): should honor option status of 4416 original regexp. 4417 4418 * array.c (rb_ary_equal): ary2 should be T_ARRAY (no to_ary 4419 conversion). 4420 4421 * array.c (rb_ary_eql): ditto. 4422 4423 * string.c (rb_str_equal): str2 should be T_STRING (no to_str 4424 conversion). 4425 4426Mon Feb 3 16:32:52 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4427 4428 * re.c (rb_memsearch): a little improvement. 4429 4430Mon Feb 3 13:18:05 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4431 4432 * re.c (rb_memsearch): algorithm body of String#index. 4433 4434 * error.c (Init_Exception): "to_str" removed. 4435 4436 * eval.c (eval): should not rely on Exception#to_str 4437 4438 * eval.c (compile_error): ditto. 4439 4440 * error.c (err_append): ditto. 4441 4442Sat Feb 1 23:56:29 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4443 4444 * hash.c (rb_hash_merge): Hash#merge, non destructive "update". 4445 now there's also Hash#merge! which is an alias to "update". 4446 4447Fri Jan 31 14:16:59 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4448 4449 * string.c (rb_str_index): search using Karp-Rabin algorithm. 4450 4451Fri Jan 31 12:45:11 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4452 4453 * variable.c (rb_obj_classname): new function. 4454 4455 * string.c (rb_str_dup): should preserve original's class (but not 4456 hidden singleton class). 4457 4458 * string.c (rb_str_substr): ditto. 4459 4460 * parse.y: backout EXPR_CMDARG removal. 4461 4462Fri Jan 31 09:40:07 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4463 4464 * lib/optparse.rb (OptionParser::List::accept): default 4465 pattern must not be nil. 4466 4467 * lib/optparse.rb (OptionParser::make_switch): NoArgument doesn't 4468 override other styles. 4469 4470Thu Jan 30 16:46:43 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4471 4472 * lib/optparse.rb (OptionParser::Switch::PlacedArgument): added. 4473 if the next argument doesn't start with '-', use it as the 4474 value. 4475 4476 * lib/optparse.rb (OptionParser::make_switch): fixed a bug of 4477 pattern. 4478 4479 * lib/optparse.rb (Array): no need to guard. 4480 4481Thu Jan 30 08:27:19 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4482 4483 * file.c (rb_file_s_expand_path): removed a sludge. 4484 4485Wed Jan 29 03:24:39 2003 Michal Rokos <michal@rokos.homeip.net> 4486 4487 * dir.c (glob_helper): memory leak fixed. 4488 4489Tue Jan 28 04:45:03 2003 Akinori MUSHA <knu@iDaemons.org> 4490 4491 * instruby.rb (parse_args), ext/extmk.rb (parse_args): Prepend a 4492 hyphen to the first argument of MAKEFLAGS only if appropriate. 4493 Remove wrong comments. 4494 4495Mon Jan 27 03:30:06 2003 NAKAMURA Usaku <usa@ruby-lang.org> 4496 4497 * error.c (get_syserror): use snprintf() instead of sprintf(). pointed 4498 out by knu. 4499 4500Mon Jan 27 02:06:38 2003 NAKAMURA Usaku <usa@ruby-lang.org> 4501 4502 * error.c (get_syserror): some Windows' errno have 5 digits. pointed 4503 out by znz. 4504 4505Sun Jan 26 19:23:10 2003 NAKAMURA Usaku <usa@ruby-lang.org> 4506 4507 * instruby.rb ($mflags.set?): Check $make instead of $nmake, since 4508 there is no such a variable. 4509 4510 * instruby.rb ($mflags.set?), ext/extmk.rb ($mflags.set?): Return 4511 false if unmatched. 4512 4513Sun Jan 26 19:08:30 2003 Akinori MUSHA <knu@iDaemons.org> 4514 4515 * lib/shellwords.rb: Embed rdoc style comments. 4516 4517 * lib/shellwords.rb (shellwords): Use String#lstrip!. 4518 4519 * lib/shellwords.rb (shellwords): Recognize an object that 4520 responds to to_str() by using String.new(). 4521 4522Sun Jan 26 17:53:04 2003 Akinori MUSHA <knu@iDaemons.org> 4523 4524 * instruby.rb (parse_args), ext/extmk.rb (parse_args): Detect -n 4525 and emulate a dry run. Use 'make' in case no --make argument is 4526 given. 4527 4528Sun Jan 26 07:18:42 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4529 4530 * instruby.rb: re-define individual methods verbosely rather than 4531 including FileUtils::Verbose, in order to suppress messages from 4532 FileUtils#cmp. 4533 4534 * instruby.rb (makedirs): make same directory only once even if 4535 dryrun. 4536 4537 * lib/fileutils.rb (FileUtils::Verbose, FileUtils::NoWrite): 4538 re-define methods with define_method instead of module_eval. 4539 4540Sun Jan 26 03:37:18 2003 Akinori MUSHA <knu@iDaemons.org> 4541 4542 * instruby.rb, ext/extmk.rb, Makefile.in, win32/Makefile.sub, 4543 bcc32/Makefile.sub: Replace the complicated MFLAGS/MAKEFLAGS 4544 parser with something plain and comprehensible. This fixes a 4545 bug where make flags were wrongly reordered and the resulted 4546 command line often did not make sense especially when BSD make 4547 is used with extra arguments given. Tested with FreeBSD and 4548 Linux by me and mswin32, bccwin32 and mingw by usa. 4549 4550Fri Jan 24 18:15:33 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4551 4552 * parse.y: tMINUS should have lower precedence than tPOW. 4553 4554Fri Jan 24 05:12:55 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4555 4556 * misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): deal 4557 with escaped $ and ? at the end of strings. [ruby-talk:62297] 4558 4559 * misc/ruby-mode.el (ruby-font-lock-keywords): added defined?. 4560 4561Thu Jan 23 17:25:04 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4562 4563 * eval.c (rb_eval): do not warn discarding already undefined 4564 method. 4565 4566 * lib/rational.rb: undef quo before replacing. 4567 4568Thu Jan 23 15:49:57 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4569 4570 * parse.y (arg): missing arguments. 4571 4572Thu Jan 23 14:56:52 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4573 4574 * lib/rational.rb: modified to support "quo". 4575 4576 * numeric.c (num_quo): should return most exact quotient value, 4577 i.e. float by default, rational if available. 4578 4579 * numeric.c (num_div): "div" should return x.divmod(x)[0]. 4580 4581Thu Jan 23 13:24:18 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4582 4583 * time.c (time_arg): was accessing garbage argv value. 4584 4585Thu Jan 23 06:37:01 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4586 4587 * instruby.rb: should not contain destdir in shebang line. 4588 4589Wed Jan 22 23:19:57 2003 NAKAMURA Usaku <usa@ruby-lang.org> 4590 4591 * win32/win32.c (pipe_exec): remove unnecessary SetStdHandle(). 4592 4593Wed Jan 22 20:20:59 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4594 4595 * parse.y (arg): syntaxify tPOW negative number hack. 4596 4597 * parse.y (negate_lit): new function to negate literal numeric 4598 values in compile time. 4599 4600Wed Jan 22 15:36:54 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4601 4602 * regex.c (re_match_exec): charset info may be stored in MBC 4603 region when $KCODE != NONE. 4604 4605Wed Jan 22 14:22:53 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4606 4607 * error.c (set_syserr): should preserve duplicated error names. 4608 4609Tue Jan 21 20:29:31 2003 Michal Rokos <michal@rokos.homeip.net> 4610 4611 * mkmf.rb: make possible to add files to clean and distclean targets 4612 4613Tue Jan 21 18:05:25 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4614 4615 * bcc32/Makefile.sub (LIBRUBY_A): link dmyext. 4616 4617Tue Jan 21 16:59:18 2003 NAKAMURA Usaku <usa@ruby-lang.org> 4618 4619 * instruby.rb: use real interpreter pathname at shebang line. 4620 [ruby-dev:19370] 4621 4622Tue Jan 21 16:22:32 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4623 4624 * parse.y (arg): put back old ** behavior for negative number 4625 right operand. 4626 4627Tue Jan 21 14:46:12 2003 Tanaka Akira <akr@m17n.org> 4628 4629 * lib/pp.rb: Use Test::Unit. 4630 4631 * lib/prettyprint.rb: Ditto 4632 4633 * lib/time.rb: Ditto 4634 4635 * lib/tsort.rb: Ditto 4636 4637Tue Jan 21 04:15:50 2003 Tanaka Akira <akr@m17n.org> 4638 4639 * lib/pp.rb: Use redefined `to_s' as well as `inspect'. 4640 Useless `pretty_print' methods removed. 4641 (PP::ObjectMixin#pretty_print_inspect): new method. 4642 4643Mon Jan 20 21:48:43 2003 Akinori MUSHA <knu@iDaemons.org> 4644 4645 * configure.in (MANTYPE): Detect if the system's nroff(1) groks 4646 mdoc. Provide a new option --with-mantype={doc|man} in case the 4647 check does not work as expected. 4648 4649 * Makefile.in (MANTYPE): Define MANTYPE and pass it to 4650 instruby.rb. 4651 4652 * instruby.rb: Convert mdoc manpages to man for systems which 4653 nroff(1) does not grok mdoc. 4654 4655Mon Jan 20 21:25:18 2003 Akinori MUSHA <knu@iDaemons.org> 4656 4657 * lib/tempfile.rb (self.open): If a block is given, call it with 4658 tempfile as an argument and automatically close the tempfile 4659 when the block terminates. 4660 4661Mon Jan 20 21:02:50 2003 Akinori MUSHA <knu@iDaemons.org> 4662 4663 * mdoc2man.rb: Properly put nested braces, parentheses and angles. 4664 4665 * mdoc2man.rb: Add support for .An and .Aq/.Ao/.Ac. 4666 4667 * mdoc2man.rb: Add support for .Dl. 4668 4669 * mdoc2man.rb: Make .Pf macro actually work. 4670 4671 * mdoc2man.rb: Properly handle .Os. 4672 4673 * mdoc2man.rb: Correctly omit spaces around punctuation 4674 characters. 4675 4676Mon Jan 20 19:43:41 2003 Akinori MUSHA <knu@iDaemons.org> 4677 4678 * mdoc2man.rb: Make this work as a library. 4679 4680Mon Jan 20 18:22:40 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4681 4682 * eval.c (rb_f_require): purge too many goto's. 4683 4684Mon Jan 20 17:50:05 2003 Akinori MUSHA <knu@iDaemons.org> 4685 4686 * mdoc2man.rb (parse_macro): Understand .Ux. 4687 4688Mon Jan 20 17:32:56 2003 Akinori MUSHA <knu@iDaemons.org> 4689 4690 * mdoc2man.rb: New file. A mdoc to man converter ported from 4691 Perl. 4692 4693Mon Jan 20 15:40:15 2003 Akinori MUSHA <knu@iDaemons.org> 4694 4695 * ruby.1: Properly close .Bl with .El. 4696 4697Mon Jan 20 04:14:17 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4698 4699 * lib/mkmf.rb (egrep_cpp): use inspect to show options. 4700 4701 * lib/mkmf.rb (dir_config): prior configured directories to 4702 defaults. 4703 4704 * lib/mkmf.rb (dir_config): extract first word to determine 4705 make command type. 4706 4707Mon Jan 20 02:15:53 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4708 4709 * ext/aix_mksym.rb: no longer used. 4710 4711Mon Jan 20 00:17:16 2003 Matt Armstrong <matt@lickey.com> 4712 4713 * file.c (eaccess): under windows, make eaccess() just call 4714 access(). [ruby-core:716], [ruby-bugs:PR#556] 4715 4716Sun Jan 19 23:08:18 2003 Akinori MUSHA <knu@iDaemons.org> 4717 4718 * lib/shellwords.rb (shellwords): A backslash ('\') in single 4719 quotes should not be regarded as meta character. This bug or 4720 maybe feature was inherited from Perl's shellwords.pl. 4721 4722Sun Jan 19 14:01:12 2003 UENO Katsuhiro <unnie@blue.sky.or.jp> 4723 4724 * regex.c (is_in_list): should work well with UTF-8. 4725 4726 * regex.c (re_match_exec): ditto. 4727 4728Sat Jan 18 14:53:49 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4729 4730 * bignum.c (rb_cstr_to_inum): should not erase all 0s, but 4731 squeeze into one. [ruby-dev:19377] 4732 4733Fri Jan 17 03:33:42 2003 Akinori MUSHA <knu@iDaemons.org> 4734 4735 * sprintf.c (rb_f_sprintf): Fix a bug caused by an uninitialized 4736 variable v, that a bignum unexpectedly gets converted into a 4737 string with its higher figures all filled with ./f/7/1, 4738 depending on the base. This bug seems to have been introduced 4739 in rev.1.27. 4740 4741 * sprintf.c (rb_f_sprintf): Use switch instead of a sequence of 4742 else-if's. 4743 4744Wed Jan 15 15:18:38 2003 moumar <moumar@netcourrier.com> 4745 4746 * configure.in (ARCHFILE): set even unless --enable-shared on 4747 AIX. [ruby-talk:61466] 4748 4749 * marshal.c (math.h): should be included after ruby.h on AIX. 4750 [ruby-talk:61366] 4751 4752Tue Jan 14 21:47:56 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4753 4754 * eval.c (rb_f_require): do not search adding .rb/.so suffixes if 4755 the suffix specified. [ruby-dev:18702] 4756 http://moonrock.jp/~don/d/200211.html#d08_t1 4757 4758Tue Jan 14 18:36:41 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4759 4760 * enum.c (enum_all): now works without block. 4761 4762 * enum.c (enum_any): ditto. 4763 4764Tue Jan 14 01:21:32 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4765 4766 * io.c (next_argv): not always set binmode. 4767 4768Mon Jan 13 20:45:19 2003 Guy Decoux <ts@moulon.inra.fr> 4769 4770 * parse.y (list_append): avoid O(n) search using node->nd_next->nd_end. 4771 4772 * parse.y (list_concat): ditto. 4773 4774 * eval.c (rb_eval): NODE_ARRY nd_end adoption. 4775 4776Mon Jan 13 02:22:11 2003 WATANABE Hirofumi <eban@ruby-lang.org> 4777 4778 * ext/dl/lib/dl/win32.rb: eliminate unnecessary "A" adding. 4779 4780Sun Jan 12 16:07:17 2003 WATANABE Hirofumi <eban@ruby-lang.org> 4781 4782 * io.c (next_argv): inherit binmode from $defout. 4783 4784Sat Jan 11 22:50:47 2003 WATANABE Hirofumi <eban@ruby-lang.org> 4785 4786 * ext/dl/lib/dl/win32.rb: compatibility improvement. 4787 4788Sat Jan 11 01:44:16 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4789 4790 * configure.in (RUBY_CHECK_IO_NEED): added more tests. 4791 4792 * io.c (rb_io_check_readable): seek after synchronized write. 4793 4794Fri Jan 10 01:23:45 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4795 4796 * misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): syntax 4797 classes are not allowed inside character classes. 4798 [ruby-talk:60996] 4799 4800Thu Jan 9 23:28:01 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4801 4802 * configure.in: AC_MSG_FAILURE is a new macro in 2.54b or later. 4803 4804Thu Jan 9 17:05:24 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4805 4806 * configure.in (RUBY_CHECK_IO_NEED): check whether fseek() and 4807 fflush() are needed. 4808 4809 * io.c (flush_before_seek): flush write stream only. 4810 4811 * io.c (rb_io_check_readable): seek instead of flush if the last 4812 operation was write. 4813 4814 * io.c (rb_io_check_writable): seek instead of flush if the last 4815 operation was read. 4816 4817 * bcc32/Makefile.sub, win32/Makefile.sub: needs to seek between 4818 R/W. 4819 4820Thu Jan 9 16:31:51 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4821 4822 * eval.c (rb_eval): should not discard nested NODE_BLOCK. 4823 4824Thu Jan 9 15:12:30 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4825 4826 * parse.y (stmt): NODE_NOT elimination for if/unless/while/until node. 4827 4828 * parse.y (primary): ditto. 4829 4830Thu Jan 9 13:26:18 2003 Akinori MUSHA <knu@iDaemons.org> 4831 4832 * st.h, st.c: Back out the introduction of st_*_func_t. Some 4833 compilers complain about function type mismatch. 4834 4835Thu Jan 9 02:10:44 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4836 4837 * eval.c (rb_eval): reduce recursive rb_eval() call by using sort 4838 of continuation passing style. 4839 4840Wed Jan 8 17:10:32 2003 NAKAMURA Usaku <usa@ruby-lang.org> 4841 4842 * ext/Win32API/lib/win32/registry.rb: added. [new] 4843 4844Wed Jan 8 15:54:05 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4845 4846 * eval.c: remove ruby_last_node and assignments seems to be 4847 unnecessary 4848 4849 * intern.h: debug does not run if ID_ALLOCATOR is zero. 4850 4851Wed Jan 8 15:04:11 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4852 4853 * range.c (range_each): treat fixnums specially to boost. 4854 4855 * numeric.c (num_step): remove rb_scan_args() for small speedup. 4856 4857Tue Jan 7 17:56:08 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4858 4859 * eval.c (svalue_to_avalue): should return converted array. 4860 4861Tue Jan 7 07:48:01 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4862 4863 * eval.c (rb_f_local_variables): skip $_, $~ and flip states in 4864 dynamic variables. [ruby-core:00681] 4865 4866Tue Jan 7 02:46:29 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4867 4868 * hash.c (env_clear): new Hash compatible method. 4869 4870 * hash.c (env_shift, env_invert, env_replace, env_update): ditto. 4871 4872Mon Jan 6 23:36:29 2003 Akinori MUSHA <knu@iDaemons.org> 4873 4874 * st.h, st.c: Introduce new conventional typedef's, st_data_t, 4875 st_compare_func_t, st_hash_func_t and st_each_func_t. 4876 4877 * st.h, st.c: Do explicit function declarations and do not rely on 4878 implicit declarations. 4879 4880 * class.c, eval.c, gc.c, hash.c, marshal.c, parse.y, variable.c: 4881 Add proper casts to avoid warnings. 4882 4883Mon Jan 6 20:44:43 2003 Akinori MUSHA <knu@iDaemons.org> 4884 4885 * intern.h (rb_check_array_type): Declare rb_check_array_type(). 4886 4887 * ext/digest/md5/md5ossl.c: Include stdio.h for sprintf() and 4888 string.h for memcmp(). 4889 4890 * ext/dl/ptr.c: Include ctype.h for isdigit(). 4891 4892Mon Jan 6 18:43:17 2003 NAKAMURA Usaku <usa@ruby-lang.org> 4893 4894 * file.c: improve DOSISH drive letter support. 4895 4896Mon Jan 6 18:31:45 2003 WATANABE Hirofumi <eban@ruby-lang.org> 4897 4898 * lib/fileutils.rb (ln): add ' -f' in the verbose message. 4899 4900 * lib/fileutils.rb (cp_r): add 'p' in the verbose message. 4901 4902Mon Jan 6 16:44:52 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 4903 4904 * array.c (rb_ary_join): dispatch based on "to_str". 4905 4906 * array.c (rb_ary_times, rb_ary_equal): ditto. 4907 4908Mon Jan 6 13:26:35 2003 NAKAMURA Usaku <usa@ruby-lang.org> 4909 4910 * process.c (proc_exec_v): follow to proc_spawn_v(). call do_aspawn() 4911 on Win32. 4912 4913 * process.c (rb_proc_exec): call do_spawn() on Win32. 4914 4915 * win32/win32.c, win32/win32.h (do_spawn, do_aspawn): add mode flag. 4916 4917 * process.c (proc_spawn_v, rb_f_system): follow above change. 4918 4919Mon Jan 6 05:11:15 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4920 4921 * ext/extmk.rb: make $0 normal variable. 4922 4923Mon Jan 6 02:32:46 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4924 4925 * struct.c (make_struct): needs meta class. 4926 4927Sun Jan 5 22:54:05 2003 WATANABE Hirofumi <eban@ruby-lang.org> 4928 4929 * lib/fileutils.rb (ln): `argv' is not a argument. 4930 4931Sun Jan 5 17:44:37 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4932 4933 * ext/extmk.rb (extmake): set $0 temporarily while loading 4934 extconf.rb. 4935 4936Sun Jan 5 14:46:46 2003 WATANABE Hirofumi <eban@ruby-lang.org> 4937 4938 * instruby.rb: need paren in regexp(make -n install). 4939 4940 * ext/extmk.rb (sysquote): do not need to quote on mswin/bccwin/mingw. 4941 4942 * ext/extmk.rb ($mflags): uniq items and remove '-' and '--'. 4943 move options to the lead. 4944 4945 * lib/fileutils.rb (install): model on the real install 4946 command(message). 4947 4948Sun Jan 5 09:36:46 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 4949 4950 * ruby.c (ruby_init_loadpath): under Windows, get the module 4951 path from an internal address instead of hard coded library 4952 name. 4953 4954 * cygwin/GNUmakefile.in, bcc32/Makefile.sub, 4955 win32/Makefile.sub (CPPFLAGS): removed LIBRUBY_SO macro. 4956 4957 * bcc32/Makefile.sub, win32/Makefile.sub (config.h): no longer 4958 depends on makefiles. 4959 4960Sun Jan 5 04:17:05 2003 Akinori MUSHA <knu@iDaemons.org> 4961 4962 * gc.c (SET_STACK_END): Issue a FLUSH_REGISTER_WINDOWS here too. 4963 This fixes make test on FreeBSD/sparc64. 4964 4965Sun Jan 5 03:43:47 2003 Akinori MUSHA <knu@iDaemons.org> 4966 4967 * defines.h (FLUSH_REGISTER_WINDOWS): Make the flushw call an 4968 inline function so it can be used as an expression. 4969 4970 * eval.c (EXEC_TAG, THREAD_SAVE_CONTEXT): Consistently call 4971 FLUSH_REGISTER_WINDOWS before calling setjmp(). (I suspect that 4972 every setjmp() implementation should take care of register 4973 windows, though) 4974 4975Sun Jan 5 03:12:32 2003 NAKAMURA Usaku <usa@ruby-lang.org> 4976 4977 * file.c (utimbuf): use utimbuf instead of _utimbuf if defined _WIN32. 4978 4979 * win32/Makefile.sub (LIBS): use oldnames.lib. 4980 4981 * win32/win32.c (rb_w32_getcwd): follow above change. 4982 4983 * win32/win32.h: ditto. 4984 4985 * wince/direct.c, wince/direct.h (getcwd): ditto. 4986 4987 * wince/io.h: ditto. 4988 4989 * wince/string.c, wince/wince.h (stricmp, strnicmp): ditto. 4990 4991Sat Jan 4 15:18:50 2003 NAKAMURA Usaku <usa@ruby-lang.org> 4992 4993 * process.c (rb_proc_exec): use same logic as DJGPP on win32 ports. 4994 4995 * process.c (rb_f_system): ditto. 4996 4997 * win32/win32.c, win32/win32.h (do_aspawn): [new]. for arrayed 4998 arguments. 4999 5000 * win32/win32.c (CreateChild): add new argument for real filename of 5001 executing process. 5002 5003 * win32/win32.c (NtHasRedirection, pipe_exec): follow above change. 5004 5005Sat Jan 4 14:29:52 2003 NAKAMURA Usaku <usa@ruby-lang.org> 5006 5007 * configure.in: set rb_cv_need_io_flush_between_seek=yes. 5008 5009 * win32/Makefile.sub (config.h): define NEED_IO_FLUSH_BETWEE_SEEK. 5010 (pointed out by moriq [ruby-dev:19299]) 5011 5012Sat Jan 4 03:12:14 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 5013 5014 * eval.c (umethod_bind): exact class match is not required. relax 5015 the restriction to subclasses. 5016 5017Sat Jan 4 01:33:40 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5018 5019 * file.c (rb_file_s_lchmod): get rid of gcc-3 -O3 warning. 5020 5021Fri Jan 3 22:26:07 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5022 5023 * process.c (rb_proc_times): need to initialize first. 5024 5025Fri Jan 3 01:10:17 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 5026 5027 * eval.c (rb_eval): call "inherited" before executing class body. 5028 5029 * class.c (rb_define_class): call "inherited" after defining the 5030 constant. 5031 5032 * class.c (rb_define_class_under): ditto. 5033 5034Thu Jan 2 19:37:30 2003 Yukihiro Matsumoto <matz@ruby-lang.org> 5035 5036 * eval.c (massign): expand first element if RHS is an array and 5037 its size is 1, and LHS has concrete assignment target (i.e. LHS 5038 has target(s) other than *var). 5039 5040 * eval.c (massign): avoid unnecessary avalue/svalue conversion. 5041 5042 * eval.c (rb_yield_0): ditto 5043 5044 * array.c (rb_ary_update): do not allocate unused array if rpl is 5045 nil (i.e. merely removing elements). 5046 5047Thu Jan 2 13:55:08 2003 Mathieu Bouchard <matju@sympatico.ca> 5048 5049 * io.c (io_read): should resize supplied string if it's shorter 5050 than expected. 5051 5052Thu Jan 2 11:01:20 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5053 5054 * eval.c (bmcall): arguments should be an array. 5055 5056Wed Jan 1 18:18:45 2003 WATANABE Hirofumi <eban@ruby-lang.org> 5057 5058 * configure.in: better DJGPP support. add GNUmakefile. 5059 5060 * djgpp/GNUmakefile: new. 5061 5062Wed Jan 1 04:16:18 2003 Akinori MUSHA <knu@iDaemons.org> 5063 5064 * node.h (struct RNode): Change argc from int to long. Otherwise 5065 NEW_CFUNC() sets argc to a wrong value on platforms where 5066 sizeof(int) != sizeof(long) and the byte order is big-endian. 5067 This fixes breakage on FreeBSD/sparc64. 5068 5069Tue Dec 31 23:22:50 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5070 5071 * eval.c (massign): removed awkward conversion between yvalue, 5072 mvalue, etc. 5073 5074 * eval.c (rb_yield_0): new parameter added to tell whether val is 5075 an array value or not. 5076 5077 * parse.y (yield_args): restructuring: new nodes: NODE_RESTARY2, 5078 NODE_SVALUE; removed node: NODE_RESTARGS. 5079 5080Tue Dec 31 21:13:51 2002 WATANABE Hirofumi <eban@ruby-lang.org> 5081 5082 * Makefile.in, {win32,bcc32}/Makefile.sub: add new target: 5083 what-where, no-install. 5084 5085 * mkconfig.rb: add const: CROSS_COMPILING. 5086 5087 * ext/extmk.rb: no-install support. add MAKEDIRS macro. 5088 5089 * lib/mkmf.rb: add !ifdef .. !endif for Borland make. 5090 5091 * process.c: improve DJGPP support. system "ls", "-l". 5092 5093Tue Dec 31 20:16:37 2002 Akinori MUSHA <knu@iDaemons.org> 5094 5095 * ext/socket/addrinfo.h (NI_MAXHOST): Define NI_MAXHOST and 5096 NI_MAXSERV only if they are not defined yet. This fixes build 5097 on such platforms as OpenBSD. 5098 5099Tue Dec 31 20:07:49 2002 Akinori MUSHA <knu@iDaemons.org> 5100 5101 * ext/tcltklib/extconf.rb (find_tcl, find_tk): Look for both 5102 lib{tcl,tk}M.N and lib{tcl,tk}MN on all platforms. *BSD have 5103 Tcl/Tk libraries named this way. 5104 5105Tue Dec 31 19:48:21 2002 Akinori MUSHA <knu@iDaemons.org> 5106 5107 * configure.in: Improve OpenBSD support. [obtained from: OpenBSD 5108 ports] 5109 5110 * dln.c (FUNCNAME_PATTERN): Ditto. 5111 5112Tue Dec 31 19:21:02 2002 Akinori MUSHA <knu@iDaemons.org> 5113 5114 * array.c (rb_ary_transpose): Properly declare ary as a VALUE. 5115 5116 * file.c (rb_file_s_chmod): Do not directly cast an int to void * 5117 to avoid a warning. 5118 5119 * defines.h (FLUSH_REGISTER_WINDOWS): Add support for 5120 FreeBSD/sparc64. miniruby still coredumps in a different place, 5121 though. 5122 5123Tue Dec 31 07:47:15 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5124 5125 * parse.y (parse_string): readjusted. 5126 5127 * parse.y (heredoc_identifier): readjusted. 5128 5129 * parse.y (here_document): make EOL codes of single-quoted 5130 here-documents consistent. 5131 5132 * parse.y (yylex): reduced unnecessary conditionals. 5133 5134Tue Dec 31 04:49:51 2002 Akinori MUSHA <knu@iDaemons.org> 5135 5136 * ruby.1: mdoc'ify. 5137 5138Tue Dec 31 01:30:29 2002 WATANABE Hirofumi <eban@ruby-lang.org> 5139 5140 * parse.y (yylex): do not accept " __END__\n". ([ruby-dev:19245]) 5141 5142Mon Dec 30 21:10:59 2002 WATANABE Hirofumi <eban@ruby-lang.org> 5143 5144 * parse.y (yylex): use strncmp instead of strcmp. 5145 accept "__END__\r\n". ([ruby-dev:19241]) 5146 5147Mon Dec 30 20:32:14 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5148 5149 * gc.c (rb_gc_mark_frame): should mark frame->node. 5150 5151Mon Dec 30 19:10:30 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5152 5153 * ext/extmk.rb: split --make argument contains options, assume 5154 the first word of --make-flags is always options even unless 5155 preceded by -, and ignore letter-case of options if nmake. 5156 5157 * instruby.rb: extract -n option also from --make and 5158 --make-flags. 5159 5160 * bcc32/Makefile.sub, win32/Makefile.sub: not prepend - to 5161 $(MFLAGS) 5162 5163Mon Dec 30 16:44:14 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5164 5165 * string.c (rb_str_substr): should share the shared string if 5166 present, instead of the original string. (ruby-bugs:PR#528) 5167 5168Mon Dec 30 05:10:00 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5169 5170 * ext/socket/socket.c (tcp_svr_init): local host to 5171 init_inetsock() is VALUE but not pointer. 5172 5173 * ext/socket/socket.c (sock_s_unpack_sockaddr_in): get rid of 5174 gcc-3 -O3 warning. 5175 5176Sun Dec 29 23:45:53 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5177 5178 * gc.c (gc_sweep): adjust GC trigger. 5179 5180 * dln.c (init_funcname_len): get rid of gcc-3 -O3 warning. 5181 5182 * eval.c (copy_node_scope): ditto. 5183 5184 * hash.c (rb_hash_foreach, delete_if_i, select_i, each_value_i, 5185 each_key_i, each_pair_i, envix): ditto. 5186 5187 * range.c (range_each_func): ditto. 5188 5189 * file.c (rb_file_s_chmod): ditto. 5190 5191Sun Dec 29 15:30:37 2002 Minero Aoki <aamine@loveruby.net> 5192 5193 * lib/fileutils.rb (fu_parseargs): should not inherit ftools.rb's 5194 misfeature. 5195 5196Sun Dec 29 05:08:13 2002 NAKAMURA Usaku <usa@ruby-lang.org> 5197 5198 * lib/fileutils.rb (cmp): return false if file size differs. 5199 5200Sat Dec 28 19:21:24 2002 WATANABE Hirofumi <eban@ruby-lang.org> 5201 5202 * instruby.rb: remove junk args. 5203 5204 * lib/mkmf.rb (create_makefile): remove a trouble library 5205 before making a shared library. 5206 5207 * win32/Makefile.sub: invoke instruby.rb with the --make-flags option. 5208 5209Sat Dec 28 03:09:58 2002 Wakou Aoyama <wakou@ruby-lang.org> 5210 5211 * lib/cgi.rb (CGI#[]): improvement. thanks to Kazuhiro NISHIYAMA 5212 <zn@mbf.nifty.com> 5213 5214Sat Dec 28 00:34:03 2002 WATANABE Hirofumi <eban@ruby-lang.org> 5215 5216 * {win32,bcc32}/Makefile.sub: remove `=' from --make-flags options. 5217 nmake quotes args if included `=' in args. 5218 5219 * instruby.rb: use getopts.rb. 5220 5221 * ext/dbm/extconf.rb (-DDBM_HDR): substitute ' with " to avoid 5222 a error on Win32. 5223 5224 * ext/gdbm/gdbm.c: add prototypes to avoid VC++ warnings. 5225 5226Fri Dec 27 21:41:57 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5227 5228 * bcc32/setup.mak, win32/setup.mak(-prologue-): move srcdir from 5229 CPP input or UNC path will be removed as a comment. 5230 5231Fri Dec 27 17:55:00 2002 Takaaki Uematsu <mail@uema2.cjb.net> 5232 5233 * wince/config, wince/configure.bat: replace 1.7 with 1.8 5234 in macros. 5235 5236Fri Dec 27 13:28:14 2002 Minero Aoki <aamine@loveruby.net> 5237 5238 * instruby.rb: fileutils.rb accepts only one argument. 5239 5240Fri Dec 27 13:23:29 2002 Minero Aoki <aamine@loveruby.net> 5241 5242 * lib/fileutils.rb (fu_parseargs): reject illegal options 5243 correctly. 5244 5245 * lib/fileutils.rb (uptodate?): parameter declaration was wrong. 5246 5247 * lib/fileutils.rb: change coding styles. 5248 5249Fri Dec 27 09:25:22 2002 ABE Shigeru <shiger-a@nifty.com> 5250 5251 * process.c (rb_proc_times): avoid WindowsXP crash using volatile 5252 variables. 5253 5254Fri Dec 27 02:56:58 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5255 5256 * instruby.rb: check only `-' option, and use fileutils instead of 5257 ftools. 5258 5259Fri Dec 27 02:45:17 2002 Wakou Aoyama <wakou@ruby-lang.org> 5260 5261 * lib/net/telnet.rb: Telnet#print not add "\n". 5262 5263 * lib/cgi.rb: cgi['key'] is equal cgi['key'][0] 5264 5265Thu Dec 26 22:33:18 2002 WATANABE Hirofumi <eban@ruby-lang.org> 5266 5267 * ext/extmk.rb (create_makefile): check only `-' option. 5268 5269 * configure.in: cleanups for MinGW. remove -D__NO_ISOCEXT in $CFLAGS. 5270 5271 * win32/win32.h: prototypes for isinf, isnan are not needed on MinGW. 5272 5273Thu Dec 26 19:22:00 2002 YOSHIDA Kazuhiro <moriq@moriq.com> 5274 5275 * win32/setup.mak (-prologue-): moved srcdir macro definition. 5276 [ruby-win32:420]. 5277 5278Wed Dec 25 18:26:44 2002 K.Kosako <kosako@sofnec.co.jp> 5279 5280 * regex.c (re_match): fixed wrong \G behavior. (ruby-bugs-ja:PR#377) 5281 5282Wed Dec 25 16:41:16 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5283 5284 * regex.c (re_match_exec): fix odd \G behavior based on the patch 5285 from Nobu. 5286 5287Wed Dec 25 11:05:11 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5288 5289 * bcc32/setup.mak (-generic-): removed garbages. 5290 5291Wed Dec 25 10:36:20 2002 NAKAMURA Usaku <usa@ruby-lang.org> 5292 5293 * bcc32/Makefile.sub, win32/Makefile.sub (RUBY_SO_NAME, config.h): 5294 use $(MAJOR) and $(MINOR). based on Nobu's patch. [ruby-win32:413] 5295 5296 * bcc32/setup.mak, win32/setup.mak (-prologue-): define MAJOR, MINOR 5297 and TEENY from version.h. based on Nobu's patch. [ruby-win32:413] 5298 5299 * win32/Makefile.sub (config.h): add HAVE_FLOAT_H. 5300 5301 * win32/Makefile.sub (parse.obj): depend on win32/win32.h. 5302 5303Tue Dec 24 23:49:16 2002 Akinori MUSHA <knu@iDaemons.org> 5304 5305 * lib/irb/completion.rb: Use Object#class rather than Object#type. 5306 5307Tue Dec 24 23:37:40 2002 TADA Tadashi <sho@spc.gr.jp> 5308 5309 * lib/cgi.rb (Cookie::parse), lib/cgi-lib.rb (initialize): Do not 5310 pass to split() a bare string longer than 2 characters as 5311 separator. 5312 5313Tue Dec 24 19:19:24 2002 Tietew <tietew@tietew.net> 5314 5315 * numeric.c (DBL_MAX_10_EXP): fix typo. [ruby-dev:19175] 5316 5317Tue Dec 24 17:02:46 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5318 5319 * eval.c (rb_undefined): use NoMethodError instead of fatal. 5320 5321Tue Dec 24 02:12:45 2002 Akinori MUSHA <knu@iDaemons.org> 5322 5323 * lib/README: Synchronize with reality. 5324 5325Tue Dec 24 02:05:51 2002 Akinori MUSHA <knu@iDaemons.org> 5326 5327 * MANIFEST, lib/README, lib/ipaddr.rb: Add ipaddr.rb from rough. 5328 5329Sun Dec 22 04:07:47 2002 NAKAMURA Usaku <usa@ruby-lang.org> 5330 5331 * ext/dbm/dbm.c (fdbm_alloc): allocator takes only one argument. 5332 5333Sun Dec 22 02:49:25 2002 NAKAMURA Usaku <usa@ruby-lang.org> 5334 5335 * array.c (ary_alloc), dir.c (dir_s_alloc), eval.c (thgroup_s_alloc), 5336 file.c (rb_stat_s_alloc), hash.c (hash_alloc), io.c (io_alloc), 5337 object.c (rb_module_s_alloc, rb_class_allocate_instance), 5338 re.c (match_alloc, rb_reg_s_alloc), string.c (str_alloc), 5339 time.c (time_s_alloc), ext/digest/digest.c (rb_digest_base_alloc), 5340 ext/tcltklib/tcltklib.c (ip_alloc), 5341 ext/win32ole/win32ole.c (fole_s_allocate, fev_s_allocate) 5342 : add prototype to get rid of VC++ warnings. 5343 5344 * ext/sdbm/init.c (fsdbm_alloc): allocator takes only one argument. 5345 5346Sun Dec 22 00:36:43 2002 WATANABE Hirofumi <eban@ruby-lang.org> 5347 5348 * lib/mkmf.rb (create_makefile): accept pure ruby libraries. 5349 5350Sat Dec 21 23:59:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5351 5352 * class.c (ins_methods_i): should not show ID_ALLOCATOR. 5353 5354 * class.c (ins_methods_prot_i): ditto. 5355 5356 * class.c (ins_methods_priv_i): ditto. 5357 5358 * class.c (ins_methods_pub_i): ditto. 5359 5360 * eval.c (call_trace_func): ditto. 5361 5362 * eval.c (rb_undefined): ditto. 5363 5364Sat Dec 21 07:27:24 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5365 5366 * misc/ruby-mode.el (ruby-parse-partial): keywords must not be 5367 preceded by @ or $. 5368 5369Fri Dec 20 20:29:04 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5370 5371 * ext/curses/curses.c, ext/dbm/dbm.c, ext/digest/digest.c, 5372 ext/dl/handle.c, ext/dl/ptr.c, ext/dl/sym.c, ext/gdbm/gdbm.c, 5373 ext/iconv/iconv.c, ext/sdbm/init.c, ext/stringio/stringio.c, 5374 ext/strscan/strscan.c, ext/tcltklib/tcltklib.c, 5375 ext/win32ole/win32ole.c: use rb_define_alloc_func(). 5376 5377Fri Dec 20 18:29:04 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5378 5379 * io.c (rb_io_fwrite): separated from io_write(). 5380 5381 * marshal.c (w_byten): use rb_io_fwrite() to support non-blocking 5382 IO, and added error check. 5383 5384 * rubyio.h: prototypes; rb_io_fwrite 5385 5386Fri Dec 20 17:40:59 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5387 5388 * object.c (Init_Object): should not remove Class#allocate. 5389 5390 * lib/profiler.rb: separate profiling functions, without 5391 trace_func and at_exit setting. 5392 5393Fri Dec 20 16:20:04 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5394 5395 * parse.y (do_block): split "do" block and tLBRACE_ARG block. 5396 5397 * parse.y (cmd_brace_block): new tLBRACE_ARG block rule 5398 5399 * parse.y (command): can take optional cmd_brace_block; use %prec 5400 to resolve shift/reduce conflict. (ruby-bugs-ja PR#372) 5401 5402 * eval.c (ruby_finalize): trace_func should be cleared here (after 5403 executing exit procs and finalizers). 5404 5405 * eval.c (rb_define_alloc_func): new allocation framework, based 5406 on Nobu's work [ruby-dev:19116]. "allocate" method is no longer 5407 used for object allocation. 5408 5409Fri Dec 20 05:06:49 2002 Akinori MUSHA <knu@iDaemons.org> 5410 5411 * lib/README, lib/cgi/ftplib.rb, lib/telnet.rb: Delete ftplib.rb 5412 and telnet.rb. It has been quite some time sinc they were 5413 obsoleted and made to emit warnings. 5414 5415Fri Dec 20 04:58:22 2002 Akinori MUSHA <knu@iDaemons.org> 5416 5417 * lib/tempfile.rb: Embed Rdoc style comments. 5418 5419 * lib/tempfile.rb: Add length as an alias for size. 5420 5421Fri Dec 20 03:57:32 2002 Akinori MUSHA <knu@iDaemons.org> 5422 5423 * lib/tempfile.rb: Add Tempfile#close!() as a shorthand for 5424 Tempfile#close(true). 5425 5426 * lib/tempfile.rb: Add Tempfile#{unlink,delete}(). 5427 5428Fri Dec 20 03:53:01 2002 Akinori MUSHA <knu@iDaemons.org> 5429 5430 * lib/README, lib/cgi/final.rb, lib/cgi/session.rb: Delete 5431 final.rb, which was obsoleted long ago. 5432 5433Fri Dec 20 00:16:06 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5434 5435 * re.c (rb_reg_match_pre, rb_reg_match_post, match_to_a, 5436 match_select): return instances of same class as the original 5437 string. [ruby-dev:19119] 5438 5439Thu Dec 19 22:55:49 2002 NAKAMURA Usaku <usa@ruby-lang.org> 5440 5441 * numeric.c (DBL_EPSILON): fix typo. 5442 5443Thu Dec 19 22:35:20 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5444 5445 * eval.c (assign): avoid [BUG] at multiple attribute assignment. 5446 5447Thu Dec 19 01:00:09 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5448 5449 * numeric.c (num_step): use DBL_EPSILON. 5450 5451 * array.c (rb_check_array_type): new function: return an array 5452 (convert if possible), or nil. 5453 5454 * string.c (rb_check_string_type): new function: return a string 5455 (convert if possible), or nil. 5456 5457 * numeric.c (rb_dbl_cmp): returns nil if values are not 5458 comparable. 5459 5460 * numeric.c (fix_cmp,flo_cmp): use rb_num_coerce_cmp() 5461 5462 * bignum.c (rb_big_cmp): ditto. 5463 5464 * numeric.c (rb_num_coerce_cmp): new coercing function for "<=>", 5465 which does not raise TypeError. 5466 5467 * numeric.c (do_coerce): can be suppress exception now. 5468 5469 * object.c (rb_mod_cmp): should return nil for non class/module 5470 objects. 5471 5472Thu Dec 19 04:21:10 2002 Akinori MUSHA <knu@iDaemons.org> 5473 5474 * lib/open-uri.rb: add a missing ||. (found by: ruby -wc) 5475 5476Wed Dec 18 17:53:05 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5477 5478 * re.c (rb_reg_eqq): return false if the argument is not a 5479 string. now returns boolean value. 5480 5481 * class.c (rb_include_module): argument should be T_MODULE, not 5482 T_class, nor T_ICLASS. 5483 5484Wed Dec 18 03:52:55 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5485 5486 * string.c (rb_str_new4): handle tail shared string. 5487 (ruby-bugs-ja:PR#370) 5488 5489 * string.c (rb_str_dup_frozen): ditto. 5490 5491Tue Dec 17 21:08:29 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5492 5493 * node.h (NODE_ATTRASGN): new node, assignment to attribute. 5494 [ruby-core:00637]. 5495 5496 * eval.c (is_defined, rb_eval): ditto. 5497 5498 * parse.y (attrset, node_assign): ditto. 5499 5500 * string.c (rb_str_substr): tail sharing. [ruby-core:00650] 5501 5502 * re.c (rb_reg_nth_match): ditto. 5503 5504Tue Dec 17 16:52:38 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5505 5506 * eval.c (is_defined): "defined?" should return "assignment" for 5507 attribute assignment (e.g. a.foo=b) and indexed assignment 5508 (e.g. a[2] = 44). 5509 5510 * parse.y (aryset): use NODE_ATTRASGN. 5511 5512Tue Dec 17 04:03:45 2002 Tanaka Akira <akr@m17n.org> 5513 5514 * lib/open-uri.rb: new file. 5515 5516Tue Dec 17 00:28:19 2002 NAKAMURA Usaku <usa@ruby-lang.org> 5517 5518 * file.c (utimbuf): need to define for VC++. 5519 5520Mon Dec 16 15:53:20 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5521 5522 * parse.y (nextc): get rid of overrun. (pointed out by akr 5523 [ruby-list:36773]) 5524 5525Sun Dec 15 21:16:44 2002 WATANABE Hirofumi <eban@ruby-lang.org> 5526 5527 * lib/mkmf.rb (init_mkmf): add $(topdir) to $LIBPATH if $extmk. 5528 remove adding $(archdir) to $LIBPATH. 5529 5530Sat Dec 15 12:15:00 2002 Takaaki Uematsu <mail@uema2.cjb.net> 5531 5532 * configure.in, defines.h, dir.c, dir.h, dln.c, error.c, 5533 eval.c, file.c, hash.c, io.c, main.c, missing.c, 5534 process.c, ruby.c, rubysig.h, signal.c, st.c, util.c, util.h, 5535 bcc/Makefile.sub, win32/Makefile.sub, win32/win32.h, 5536 ext/Win32API/Win32API.c, ext/socket/getaddrinfo.c, 5537 ext/socket/getnameinfo.c, ext/socket/socket.c, 5538 ext/tcltklib/stubs.c 5539 : replace "NT" with "_WIN32", add DOSISH_DRIVE_LETTER 5540 * wince/exe.mak : delete \r at the end of lines. 5541 * wince/mswince-ruby17.def : delete rb_obj_become 5542 5543Sun Dec 15 11:43:26 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5544 5545 * parse.y (dispose_string): dispose String object. 5546 5547 * parse.y (heredoc_restore, here_document): fix memory leak. 5548 5549Sat Dec 14 14:25:00 2002 Takaaki Uematsu <mail@uema2.cjb.net> 5550 5551 * wince/sys : add stat.c, stat.h, timeb.c, timeb.h, 5552 types.h, utime.c, utime.h 5553 * wince/dll.mak : object file name changed. 5554 * wince/io.c : add empty dup2(). 5555 * wince/io.h : add dup2 definition. 5556 5557Sat Dec 14 01:51:29 2002 WATANABE Hirofumi <eban@ruby-lang.org> 5558 5559 * ext/dbm/extconf.rb (rb_check): support for GNU dbm 1.8.3. 5560 (-with-dbm-type=gdbm_compat). link against -lgdbm_compat 5561 and -lgdbm. 5562 5563Fri Dec 13 23:42:16 2002 WATANABE Hirofumi <eban@ruby-lang.org> 5564 5565 * ext/dbm/extconf.rb (db_check): check existence of the function 5566 in the specified library before checking it in libc. 5567 5568Fri Dec 13 17:15:49 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5569 5570 * variable.c (generic_ivar_get): should always warn uninitialized 5571 instance variables. 5572 5573Fri Dec 13 12:33:22 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5574 5575 * parse.y (expr): rescue clause was ignored. 5576 5577Thu Dec 12 18:19:14 2002 WATANABE Hirofumi <eban@ruby-lang.org> 5578 5579 * configure.in (RUBY_PROG_GNU_LD): add $CFLAGS, $CPPFLAGS, $LDFLAGS 5580 to the option of $CC. 5581 5582 * configure.in: set LIBRUBYARG to '-l$(RUBY_SO_NAME)' if the 5583 target os is cygwin and --disable-shared option is supplied. 5584 5585 * lib/mkmf.rb (init_mkmf): expand config["LIBRUBY"] and 5586 config["LIBRUBY_A"]. don't link $LIBRUBYARG_STATIC if 5587 --disable-shared option is supplied. 5588 5589 * configure.in (RUBY_CPPOUTFILE): should be a better message. 5590 5591 * ext/Win32API/extconf.rb: join with a space. 5592 5593Thu Dec 12 17:27:19 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5594 5595 * re.c (rb_reg_hash): define Regexp#hash to make regexps to be 5596 hash keys. 5597 5598 * re.c (Init_Regexp): define Regexp#eql? (alias to Regexp#==). 5599 5600Thu Dec 12 16:26:31 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5601 5602 * marshal.c (r_object0): singleton class instance can't be loaded. 5603 (ruby-bugs-ja:PR#366) 5604 5605Wed Dec 11 23:35:43 2002 WATANABE Hirofumi <eban@ruby-lang.org> 5606 5607 * ext/extmk.rb (create_makefile): -no-undefined -> --no-undefined. 5608 5609Wed Dec 11 17:54:59 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5610 5611 * io.c (io_read): takes optional second argument to specify a 5612 string to be written. the string should not be frozen. 5613 5614 * io.c (rb_io_sysread): ditto. 5615 5616Wed Dec 11 11:30:28 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5617 5618 * ext/digest/digest.c (rb_digest_base_copy): renamed "become". 5619 5620 * ext/stringio/stringio.c (strio_copy): ditto. 5621 5622Wed Dec 11 00:45:00 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5623 5624 * lib/getoptlong.rb (GetoptLong::Error): provide a common ancestor 5625 for GetoptLong error classes (RCR#129). 5626 5627Tue Dec 10 17:42:39 2002 K.Kosako <kosako@sofnec.co.jp> 5628 5629 * re.c (rb_reg_copy_object): fixed memory leak. 5630 5631Tue Dec 10 17:30:35 2002 Tanaka Akira <akr@m17n.org> 5632 5633 * pack.c (utf8_limits): fix the limit of 4 bytes UTF-8 sequence. 5634 5635Tue Dec 10 12:01:15 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5636 5637 * eval.c (mnew): original class of method defined in module should 5638 be the module not intermediate class. [ruby-dev:19040] 5639 5640Tue Dec 10 01:16:52 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5641 5642 * sprintf.c (rb_f_sprintf): preceding ".." for negative numbers 5643 still left; removed. 5644 5645 * sprintf.c (rb_f_sprintf): should not prepend '0' if width > prec 5646 for example "%5.3d". 5647 5648Sat Dec 7 18:14:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5649 5650 * process.c (Init_process): add Process.exit and Process.abort 5651 5652 * pack.c (utf8_to_uv): raise ArgumentError for malformed/redundant 5653 UTF-8 sequences. 5654 5655Fri Dec 6 03:46:00 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5656 5657 * process.c (last_status_set): add pid attribute to Process::Status. 5658 5659Wed Dec 4 17:31:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5660 5661 * pack.c (uv_to_utf8): limit maximum length of the encoded string 5662 to 6 bytes, even when the platform supports 8 bytes long integers. 5663 5664 * pack.c (utf8_to_uv): do not decode sequences longer than 6 bytes. 5665 5666 * object.c (copy_object): use "copy_object" method, not "become". 5667 5668Wed Dec 4 16:37:11 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5669 5670 * object.c (copy_object): copy finalizers as well if any. 5671 5672 * gc.c (rb_gc_copy_finalizer): new function to copy finalizers. 5673 5674Tue Dec 3 01:13:41 2002 Tanaka Akira <akr@m17n.org> 5675 5676 * lib/pp.rb (PP.singleline_pp): new method. 5677 5678Sun Dec 1 23:04:03 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5679 5680 * lib/optparse.rb (OptionParser::new): same as OptionParser#on but 5681 returns new OptionParser::switch. 5682 5683Sun Dec 1 22:43:29 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5684 5685 * win32/win32.c (rb_w32_stat): empty path is invalid, and return 5686 ENOENT rather than EBADF in such case. [ruby-talk:57177] 5687 5688Fri Nov 29 18:01:48 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5689 5690 * pack.c (utf8_to_uv): added checks for malformed or redundant 5691 UTF-8 sequences. 5692 5693Thu Nov 28 12:08:30 2002 Akinori MUSHA <knu@iDaemons.org> 5694 5695 * lib/mkmf.rb: Avoid the use of "clean::" in favor of "clean:" in 5696 order not to let make(1) choke if there is another dependency on 5697 the target added in a depend file. 5698 5699Thu Nov 28 02:40:42 2002 Akinori MUSHA <knu@iDaemons.org> 5700 5701 * lib/mkmf.rb: Make sure to dig the destination directory before 5702 installing a file there. Formerly "make install" could fail 5703 depending on make(1)'s mood of the moment, especially when -jN 5704 is given. 5705 5706Wed Nov 27 17:39:38 2002 Akinori MUSHA <knu@iDaemons.org> 5707 5708 * ext/syslog/syslog.c: Cut redundancy. 5709 5710 * ext/syslog/syslog.c: Do not leak ident. 5711 5712Wed Nov 27 17:25:29 2002 Akinori MUSHA <knu@iDaemons.org> 5713 5714 * ext/syslog/syslog.c, ext/syslog/test.rb: Syslog.close should 5715 raise RuntimeError when not opened. 5716 5717 * ext/syslog/syslog.c, ext/syslog/test.rb: 5718 Syslog.{ident,options,facility,mask} should all return nil when 5719 not opened. 5720 5721 * ext/syslog/syslog.c, ext/syslog/test.rb: Change back the output 5722 format of inspect(). 5723 5724Wed Nov 27 16:25:43 2002 Akinori MUSHA <knu@iDaemons.org> 5725 5726 * ext/digest/test.rb: Switch from RUnit to Test::Unit. 5727 5728Wed Nov 27 16:14:12 2002 Akinori MUSHA <knu@iDaemons.org> 5729 5730 * ext/syslog/syslog.c: Fix a problem where Syslog.ident was not 5731 marked and could thus be GC'd. 5732 5733Wed Nov 27 16:11:53 2002 Akinori MUSHA <knu@iDaemons.org> 5734 5735 * ext/syslog/test.rb: Switch from RUnit to Test::Unit. 5736 5737 * ext/syslog/test.rb: The output format of inspect() is slightly 5738 altered. 5739 5740Wed Nov 27 06:43:26 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5741 5742 * error.c (exit_initialize): add SystemExit#initialize to set 5743 instance variable status. (ruby-bugs-ja:PR#362) 5744 Now accepts status as optional first argument. 5745 5746 * eval.c (error_handle): now SystemExit have status always. 5747 5748 * eval.c (system_exit): just instantiate SystemExit without raise. 5749 5750 * eval.c (rb_thread_start_0): initialize SystemExit properly. 5751 5752Tue Nov 26 10:17:04 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5753 5754 * dln.c (init_funcname_len): remove MAXPATHLEN dependency. 5755 5756Mon Nov 25 19:55:38 2002 WATANABE Hirofumi <eban@ruby-lang.org> 5757 5758 * ext/extmk.rb (extmake): return true if not dynamic and not static. 5759 5760Mon Nov 25 01:08:40 2002 WATANABE Hirofumi <eban@ruby-lang.org> 5761 5762 * dln.c: revert and add the MAXPATHLEN definition on mswin32/mingw32. 5763 5764Sun Nov 24 20:36:53 2002 WATANABE Hirofumi <eban@ruby-lang.org> 5765 5766 * dln.c: move the MAXPATHLEN definition in front. 5767 5768Fri Nov 22 22:55:01 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5769 5770 * sprintf.c (rb_f_sprintf): preceding ".." for negative 5771 hexadecimal numbers should not appear if prec (e.g. %.4) is 5772 specified. 5773 5774 * pack.c (NUM2I32): support platforms which does not have 32bit 5775 integers (e.g. Cray). 5776 5777Fri Nov 22 19:20:36 2002 Akinori MUSHA <knu@iDaemons.org> 5778 5779 * instruby.rb: Install batch files on Windows. [Submitted by usa] 5780 5781Fri Nov 22 18:31:46 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5782 5783 * eval.c (rb_add_method): node may be NULL. 5784 5785Thu Nov 21 20:53:06 2002 Minero Aoki <aamine@loveruby.net> 5786 5787 * lib/net/smtp.rb: changes coding style. 5788 5789 * lib/net/pop.rb: ditto. 5790 5791 * lib/net/protocol.rb: ditto. 5792 5793Thu Nov 21 20:17:08 2002 Minero Aoki <aamine@loveruby.net> 5794 5795 * lib/net/http.rb: changes coding style. 5796 5797Thu Nov 21 20:04:06 2002 Minero Aoki <aamine@loveruby.net> 5798 5799 * lib/net/http.rb: should not overwrite Host: header. 5800 (This patch is contributed by sean@ruby-lang.org) 5801 5802Thu Nov 21 20:01:33 2002 Minero Aoki <aamine@loveruby.net> 5803 5804 * lib/net/http.rb: support Proxy-Authorization. 5805 (This patch is contributed by Alexander Bokovoy) 5806 5807Thu Nov 21 11:03:39 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5808 5809 * file.c (rb_find_file_ext): should not terminate searching with 5810 empty path, just ignore. 5811 5812 * dir.c: remove <sys/parm.h> inclusion. 5813 5814Wed Nov 20 02:07:12 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5815 5816 * compar.c (cmp_eq,cmp_gt,cmp_ge,cmp_lt,cmp_le): check using 5817 rb_cmpint(). 5818 5819 * error.c (init_syserr): remove sys_nerr dependency. 5820 5821Wed Nov 20 01:52:21 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5822 5823 * numeric.c (num_cmp): added to satisfy Comparable assumption. 5824 5825 * eval.c (rb_add_method): "initialize" should be public if it is a 5826 singleton method. 5827 5828Tue Nov 19 22:37:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5829 5830 * regex.c (re_match): avoid dereferencing if size == 0. 5831 (ruby-bugs-ja:PR#360) 5832 5833Tue Nov 19 20:40:39 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5834 5835 * time.c (time_cmp): should return nil if an operand is not a 5836 number nor time. (ruby-bugs-ja:PR#359) 5837 5838 * file.c (rb_stat_cmp): should return nil if an operand is not 5839 File::Stat. 5840 5841Tue Nov 19 14:35:09 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5842 5843 * array.c (rb_ary_zip): iterates over items in the receiver. 5844 zipped with nil if argument arrays are shorter. if arrays are 5845 longer, left items are ignored. now works with blocks. 5846 5847 * enum.c (zip_i): changed for new behavior. 5848 5849 * array.c (rb_ary_transpose): added. [new] 5850 5851Tue Nov 19 05:12:21 2002 Akinori MUSHA <knu@iDaemons.org> 5852 5853 * instruby.rb: Do not install various working files under bin/. 5854 5855Tue Nov 19 05:07:39 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5856 5857 * instruby.rb: not rewrite installed scripts when dry-run mode. 5858 5859 * lib/ostruct.rb (OpenStruct::initialize): should symbolize keys 5860 instead of values. 5861 5862Tue Nov 19 02:24:10 2002 Akinori MUSHA <knu@iDaemons.org> 5863 5864 * instruby.rb: Rewrite installed scripts' shebang lines. 5865 5866 * instruby.rb: Use File.join() where appropriate. 5867 5868Tue Nov 19 01:53:35 2002 Akinori MUSHA <knu@iDaemons.org> 5869 5870 * bin/irb: Moved from sample/irb.rb. 5871 5872 * instruby.rb: Install script files under bin/ with ruby's program 5873 prefix and suffix. 5874 5875Mon Nov 18 02:13:36 2002 Akinori MUSHA <knu@iDaemons.org> 5876 5877 * lib/tempfile.rb: Make this library thread safe. 5878 5879 * lib/tempfile.rb: Do not pick a name which was once used and is 5880 still scheduled for removal. 5881 5882 * lib/tempfile.rb: A lock file need not and must not be scheduled 5883 for removal. 5884 5885 * lib/tempfile.rb: Compare Max_try with the number of mkdir 5886 failures instead of the suffix counter. 5887 5888 * lib/tempfile.rb: Overall cleanup and add some important notices. 5889 5890Sun Nov 17 22:57:31 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5891 5892 * parse.y (dsym): garbage returned. (ruby-bugs-ja:PR#358) 5893 5894Fri Nov 15 07:40:08 2002 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp> 5895 5896 * observer.rb: raise NoMethodError instead of NameError. 5897 [ruby-dev:18788] 5898 5899 * ostruct.rb: ditto. fix a bug in inspect which called String#+ with 5900 Symbol. [ruby-dev:18788] 5901 5902 * profile.rb: illegal use of Array#sort!. replaced it with non-bang 5903 method. [ruby-dev:18792] 5904 5905Thu Nov 14 22:40:29 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5906 5907 * configure.in (LIBRUBY_A): append -static. [ruby-dev:18689] 5908 5909 * configure.in (LIBRUBYARG_STATIC, LIBRUBYARG_SHARED): linker 5910 argument to link static/shared library respectively. 5911 5912 * Makefile.in (LIBRUBYARG_STATIC, LIBRUBYARG_SHARED): added. 5913 5914 * bcc32/Makefile.sub, win32/Makefile.sub: ditto. 5915 5916 * instruby.rb (LIBRUBY_A): install to libdir. 5917 5918 * lib/mkmf.rb (link_command): link static library of ruby, or 5919 try_run fails unless LIBRUBY_SO is installed. [ruby-dev:18646] 5920 5921 * eval.c (call_trace_func): toplevel caller was missing. 5922 [ruby-dev:18754] 5923 5924 * eval.c (proc_to_s): adjust created line number. 5925 5926 * parse.y (primary, do_block, brace_block): adjust line number of 5927 block to beginning line, instead of the first statement inside 5928 the block. 5929 5930Thu Nov 14 08:23:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5931 5932 * math.c (math_acos): check errno after operation. ditto for 5933 asin, acosh, atanh, log, log10 and sqrt. 5934 5935 * eval.c (rb_add_method): initialize should always be private. 5936 5937 * parse.y (expr): add rescue modifier rule. 5938 5939 * parse.y (command_call): return, break and next with argument is 5940 now part of this rule. 5941 5942Wed Nov 13 16:22:38 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5943 5944 * configure.in (DLDFLAGS): removed -Wl,-no-undefined to 5945 ext/extmk.rb, in order to allow references to symbols in other 5946 extension libraries for mkmf.rb. [ruby-dev:18724] 5947 5948 * ext/extmk.rb (extmake): ditto. 5949 5950 * ext/extmk.rb (extmake): exit when make failed. 5951 5952Sun Nov 10 03:46:18 2002 Akinori MUSHA <knu@iDaemons.org> 5953 5954 * lib/set.rb: retire contain?() and add superset?(), 5955 proper_superset?() subset?(), and proper_subset?(). 5956 [obtained from: Jason Voegele's set.rb] 5957 5958 * lib/set.rb: define several aliases: union() for |(), 5959 difference() for -(), and intersection() for &(). 5960 [obtained from: Jason Voegele's set.rb] 5961 5962 * lib/set.rb: deal with a s/id/object_id/ leftover. 5963 5964Sat Nov 9 16:06:57 2002 WATANABE Hirofumi <eban@ruby-lang.org> 5965 5966 * ext/tcltklib/stubs.c: should include "util.h" for ruby_strdup. 5967 5968Sat Nov 9 11:39:45 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5969 5970 * eval.c: remove ENABLE_TRACE/DISABLE_TRACE to trace child nodes of 5971 c-call. [ruby-dev:18699] 5972 5973Fri Nov 8 04:16:55 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5974 5975 * parse.y (yylex): "a" in "a /5" should be considered as a local 5976 variable. [experimental] 5977 5978Thu Nov 7 09:51:37 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 5979 5980 * eval.c (rb_yield_0): should enable trace for non-cfunc nodes. 5981 [ruby-dev:18645] 5982 5983 * eval.c (blk_orphan): a block created in a different thread is 5984 orphan. [ruby-dev:17471] 5985 5986Wed Nov 6 16:57:06 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 5987 5988 * class.c (rb_define_method): do not set NOEX_CFUNC if klass is 5989 really a module, whose methods must be safe for reciever's type. 5990 5991 * eval.c (rb_eval): nosuper should not be inherited unless the 5992 overwritten method is an undef placeholder. 5993 5994Tue Nov 5 00:46:04 2002 Akinori MUSHA <knu@iDaemons.org> 5995 5996 * ext/extmk.rb: Properly pass the given target to 5997 make(1). [pointed out by eban] 5998 5999Mon Nov 4 20:03:53 2002 NAKAMURA Usaku <usa@ruby-lang.org> 6000 6001 * instruby.rb, lib/mkmf.rb: use CONFIG["ENABLE_SHARED"] instead of 6002 checking whether CONFIG["configure-args"] includes "--enable-shared". 6003 6004Mon Nov 4 16:49:14 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 6005 6006 * parse.y (primary): allow 'when'-less case statement; persuaded 6007 by Sean Chittenden. 6008 6009Mon Nov 4 06:28:09 2002 Akinori MUSHA <knu@iDaemons.org> 6010 6011 * Makefile.in, ext/extmk.rb, bcc32/Makefile.sub, 6012 win32/Makefile.sub: Introduce better command line syntax 6013 (--make/--make-flags/--extstatic) to extmk.rb and instruby.rb. 6014 Previously such command as 'make -j3 install' with pmake doesn't 6015 fail. Formerly extmk.rb was receiving "make -j 3 -j 3" via the 6016 command line arguments and just ended up recognizing the first 6017 "3" as destdir. [with help of usa] 6018 6019Mon Nov 4 03:59:51 2002 Akinori MUSHA <knu@iDaemons.org> 6020 6021 * lib/getopts.rb: Do not choke on characters that cannot be used 6022 in a variable name. Replace them with `_'. Define a hash named 6023 $OPT for convenience. 6024 6025Sat Nov 2 00:38:55 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 6026 6027 * object.c (Init_Object): added Object#object_id, new name for 6028 Object#id. [new] 6029 6030 * object.c (rb_obj_id_obsolete): give warning for Object#id. 6031 6032 * numeric.c (fix_intern): added Fixnum#to_sym. [new] 6033 6034 * object.c (sym_to_sym): rename from Symbol#intern 6035 6036Fri Nov 1 14:21:06 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 6037 6038 * enum.c (enum_zip): added Enumerable#zip. [new] 6039 6040 * array.c (rb_ary_zip): added Array#zip. 6041 6042Thu Oct 31 20:10:18 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 6043 6044 * error.c (init_syserr): remove sys_nerr dependency. 6045 6046Thu Oct 31 09:31:51 2002 K.Kosako <kosako@sofnec.co.jp> 6047 6048 * eval.c (rb_export_method): undef'ed method visibility should not 6049 be changed. 6050 6051Wed Oct 30 17:00:47 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 6052 6053 * eval.c (rb_mod_public_method_defined, etc.): new methods: 6054 public_method_defined?, private_method_defined?, 6055 protected_method_defined? 6056 6057 * object.c (rb_obj_public_methods): new method 6058 Object#public_methods. 6059 6060 * class.c (ins_methods_i): Object#methods should list both public 6061 and protected methods. 6062 6063 * class.c (rb_class_public_instance_methods): new method 6064 Module#public_instance_methods. 6065 6066Wed Oct 30 06:29:00 2002 Akinori MUSHA <knu@iDaemons.org> 6067 6068 * eval.c, file.c, gc.c, io.c, object.c, ruby.c, ruby.h, struct.c, 6069 ext/socket/socket.c: differentiate long and int; use proper 6070 printf type specifiers and do casts where appropriate. 6071 6072Wed Oct 30 04:07:33 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6073 6074 * eval.c (error_print, rb_longjmp, rb_thread_schedule): flush 6075 error message. [ruby-dev:18582] 6076 6077 * eval.c (ruby_cleanup): added. just clean up without exit. 6078 [ruby-dev:18582] 6079 6080 * eval.c (ruby_exec): added. execute main evaluation tree without 6081 exit. [ruby-dev:18582] 6082 6083 * intern.h: prototypes; ruby_cleanup, ruby_exec 6084 6085Tue Oct 29 02:00:08 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6086 6087 * ext/extmk.rb (extmake): use dummy_makefile to create dummy 6088 Makefile. 6089 6090 * lib/mkmf.rb (find_executable0): EXEEXT is optional. 6091 6092 * lib/mkmf.rb (dummy_makefile): make dummy Makefile content. 6093 6094 * lib/mkmf.rb (create_makefile): define EXTLIB replacing -l. 6095 6096 * lib/mkmf.rb ($bccwin): detect Borland make by help message. 6097 6098 * lib/mkmf.rb (CLEANINGS): common rules to clean. 6099 6100Mon Oct 28 01:27:17 2002 WATANABE Hirofumi <eban@ruby-lang.org> 6101 6102 * djgpp/config.sed (@program_transform_name@): use `%', not `,'. 6103 6104Sun Oct 27 22:59:50 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp> 6105 6106 * ext/extmk.rb(78) : The unnecessary error when installing by bccwin32 6107 is controlled. 6108 6109 * lib/mkmf.rb(773) : Also in the case of bccwin32, the path was added. 6110 6111Sun Oct 27 17:07:25 2002 WATANABE Hirofumi <eban@ruby-lang.org> 6112 6113 * djgpp/*: sync with the latest. 6114 6115 * ext/extmk.rb, lib/mkmf.rb: flush $stdout. 6116 6117 * io.c (READ_DATA_PENDING_COUNT, READ_DATA_PENDING_PTR): 6118 undef these macros on DJGPP. 6119 6120Sat Oct 26 10:11:47 2002 Akinori MUSHA <knu@iDaemons.org> 6121 6122 * node.h (nd_type): cast the value to int. 6123 6124Sat Oct 26 04:27:35 2002 Akinori MUSHA <knu@iDaemons.org> 6125 6126 * ext/dbm/dbm.c (fdbm_indexes, fdbm_select): add a missing 6127 argument and prevent coredump when a nonexistent key is 6128 specified. 6129 6130 * ext/sdbm/init.c (fsdbm_indexes, fsdbm_select): ditto. 6131 6132Sat Oct 26 03:28:43 2002 Akinori MUSHA <knu@iDaemons.org> 6133 6134 * eval.c, gc.c: use a common set of alloca() #ifdef's. This fixes 6135 the build with Intel C Compiler for Linux. 6136 6137 * eval.c (rb_f_require): declare old_func with a real type, not 6138 just type modifiers. 6139 6140Fri Oct 25 02:55:01 2002 Minero Aoki <aamine@loveruby.net> 6141 6142 * string.c (rb_str_split_m): RSTRING(str)->ptr might become NULL. 6143 [ruby-dev:18581] 6144 6145Thu Oct 24 21:57:02 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6146 6147 * configure.in (LIBPATHFLAG): avoid $ substitution. 6148 [ruby-dev:18577] 6149 6150 * ext/extmk.rb (extmake): expand $srcdir. 6151 6152 * ext/win32ole/extconf.rb: should not override $CFLAGS, but 6153 append. 6154 6155 * lib/mkmf.rb (config_string): use given config hash. 6156 6157 * bcc32/Makefile.sub (.rc.res): directory part may be empty in 6158 Borland make. 6159 6160Thu Oct 24 03:38:07 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6161 6162 * lib/mkmf.rb (create_makefile): site-install target for backward 6163 compatibility. 6164 6165 * lib/mkmf.rb (init_mkmf): libdir prior to topdir. 6166 6167 * configure.in (LIBPATHFLAG): should escape $. [ruby-dev:18572] 6168 6169 * mkconfig.rb: never substitute escaped $$. 6170 6171 * instruby.rb: not install LIBRUBY_SO unless enable-shared. 6172 [ruby-dev:18569] 6173 6174Wed Oct 23 19:16:06 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6175 6176 * eval.c (rb_eval): added NODE_DSYM, symbol literal with 6177 interpolation. 6178 6179 * node.h: ditto. 6180 6181 * intern.h: prototypes; rb_is_junk_id, rb_str_dump, rb_str_intern 6182 6183 * object.c (sym_inspect): escape and quote for non-alphanumeric 6184 symbols. 6185 6186 * parse.y (dsym, tokadd_string, yylex): extended symbol literals. 6187 6188 * parse.y (rb_is_junk_id): added. 6189 6190 * string.c (rb_str_dump, rb_str_intern) : make extern. 6191 6192 * lib/mkmf.rb (create_makefile): deffile should be removed by 6193 distclean, not clean. 6194 6195Tue Oct 22 23:56:41 2002 WATANABE Hirofumi <eban@ruby-lang.org> 6196 6197 * lib/mkmf.rb (init_mkmf): add dir_config("opt"). 6198 6199Tue Oct 22 19:44:03 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp> 6200 6201 * bcc32/configure.bat : The command line when calling setup.mak is 6202 corrected. 6203 6204 * bcc32/readme.bcc32 : It follows up about the option of configure.bat. 6205 6206Tue Oct 22 15:23:19 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6207 6208 * instruby.rb: add dryrun mode. 6209 6210 * ext/extmk.rb (extmake): add install: target to dummy Makefile. 6211 6212 * ext/extmk.rb (extmake): avoid Borland make's quirk behavior. 6213 6214 * lib/mkmf.rb (link_command): opt is not a makefile macro. 6215 6216 * bcc32/Makefile.sub ($(LIBRUBY_SO) $(LIBRUBY)): EXTOBJS were not 6217 linked. 6218 6219 * bcc32/Makefile.sub (ext/extinit.obj): missing. 6220 6221 * bcc32/Makefile.sub (TRY_LINK): options have to place before any 6222 non-option arguments. 6223 6224 * win32/Makefile.sub (TRY_LINK): need -link and -libpath options. 6225 6226 * bcc32/Makefile.sub, win32/Makefile.sub (RANLIB): logical 6227 operator never work with command.com. 6228 6229Tue Oct 22 00:59:59 2002 WATANABE Hirofumi <eban@ruby-lang.org> 6230 6231 * configure.in (RUBY_CPPOUTFILE): fix cache file bug. 6232 6233 * lib/mkmf.rb (link_command): put 'opt' after conftest.c for 6234 static linking. 6235 6236Mon Oct 21 22:53:02 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6237 6238 * configure.in (XCFLAGS): CFLAGS to compile ruby itself. 6239 6240 * configure.in (LIBEXT): suffix for static libraries. 6241 6242 * configure.in (LIBPATHFLAG): switch template to specify library 6243 path. 6244 6245 * configure.in (LINK_SO): command to link shared objects. 6246 6247 * configure.in (DEFFILE, ARCHFILE): miscellaneous system dependent 6248 files. 6249 6250 * configure.in (EXPORT_PREFIX): prefix to exported symbols on 6251 Windows. 6252 6253 * configure.in (COMMON_LIBS, COMMON_MACROS, COMMON_HEADERS): 6254 libraries, macros and headers used in common. 6255 6256 * configure.in (RUBYW_INSTALL_NAME, rubyw_install_name): GUI mode 6257 executable name. 6258 6259 * Makefile.in (CFLAGS): append XCFLAGS. 6260 6261 * Makefile.in (PREP): miscellaneous system dependent files. 6262 6263 * Makefile.in (ruby.imp, ext/extinit.o): moved from ext/extmk.rb. 6264 6265 * Makefile.in (fake.rb): CROSS_COMPILING keeps building platform. 6266 6267 * Makefile.in (MAKEFILES): depend on *.in and config.status. 6268 6269 * Makefile.in (parse.c): replace "y.tab.c" with actual name for 6270 byacc. 6271 6272 * ext/extmk.rb, lib/mkmf.rb: integrated. 6273 6274 * ext/extmk.rb: propagate MFLAGS. 6275 6276 * ext/extmk.rb (extmake): make dummy Makefile to clean even if no 6277 Makefile is made. 6278 6279 * lib/mkmf.rb (older): accept multiple file names and Time 6280 objects. 6281 6282 * lib/mkmf.rb (xsystem): split and quote. 6283 6284 * lib/mkmf.rb (cpp_include): make include directives. 6285 6286 * lib/mkmf.rb (try_func): try whether specified function is 6287 available. 6288 6289 * lib/mkmf.rb (install_files): default to site-install. 6290 6291 * lib/mkmf.rb (checking_for): added. 6292 6293 * lib/mkmf.rb (find_executable0): just find executable file with 6294 no message. 6295 6296 * lib/mkmf.rb (create_header): output header file is variable. 6297 6298 * lib/mkmf.rb (create_makefile): separate sections. 6299 6300 * lib/mkmf.rb (init_mkmf): initialize global variables. 6301 6302 * win32/Makefile.sub, bcc32/Makefile.sub (CPP, AR): added. 6303 6304 * bcc32/Makefile.sub (ARCH): fixed to i386. 6305 6306 * win32/Makefile.sub, bcc32/Makefile.sub (miniruby): should not 6307 link EXTOBJS. 6308 6309 * ext/dl/extconf.rb: use try_cpp to cross compile. 6310 6311 * ext/dl/extconf.rb: not modify files in source directory. 6312 6313Fri Oct 18 23:11:21 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6314 6315 * parse.y (value_expr0): allow return/break/next/redo/retry in rhs 6316 of logical operator. [ruby-dev:18534] 6317 6318 * parse.y (remove_begin): eliminate useless NODE_BEGIN. 6319 [ruby-dev:18535] 6320 6321Fri Oct 18 01:02:44 2002 Akinori MUSHA <knu@iDaemons.org> 6322 6323 * hash.c, eval.c: Use (*_NSGetEnviron()) instead of environ on 6324 Darwin for namespace cleanness. [ruby-core:00537] 6325 6326 * dln.c (dln_load): Fix Darwin support that has been disabled and 6327 switch to using it on Darwin instead of the system dlopen(). 6328 [ruby-core:00541] 6329 6330Thu Oct 17 19:17:56 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6331 6332 * marshal.c (w_byten): added; write n bytes from s to arg. 6333 6334 * marshal.c (dump): flush buffered data. 6335 6336 * marshal.c (marshal_dump, r_byte, r_bytes0, marshal_load): unify 6337 marshaling I/O. [ruby-talk:53368] 6338 6339Thu Oct 17 12:58:24 2002 Minero Aoki <aamine@loveruby.net> 6340 6341 * lib/fileutils.rb: stat.blksize might be 0/nil. 6342 6343 * lib/fileutils.rb: change coding style. 6344 6345Wed Oct 16 22:35:53 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6346 6347 * sprintf.c (rb_f_sprintf): disallow mixed usage of numbered and 6348 unnumbered arguments. [ruby-dev:18531] 6349 get rid of memory leak at exception. [ruby-core:00460] 6350 6351Wed Oct 16 13:36:29 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6352 6353 * variable.c (rb_global_entry): not add global entry until 6354 initialized to avoid accessing it while GC. [ruby-dev:18514] 6355 6356 * variable.c (rb_alias_variable): ditto. 6357 6358Wed Oct 16 01:03:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 6359 6360 * object.c (rb_str_to_dbl): RString ptr might be NULL. 6361 6362 * object.c (rb_cstr_to_dbl): p pointer might be NULL. 6363 6364 * bignum.c (rb_str_to_inum): RString ptr might be NULL. 6365 6366 * bignum.c (rb_cstr_to_inum): str pointer might be NULL. 6367 6368Sat Oct 12 23:44:11 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6369 6370 * win32/win32.c (rb_w32_putc): wrong condition to fill or flush on 6371 bccwin32. [ruby-win32:408] 6372 6373Fri Oct 11 15:58:06 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 6374 6375 * parse.y (arg): rescue modifier is now an operator with 6376 precedence right below assignments. i.e. "a = b rescue c" now 6377 parsed as "a = (b rescue c)", not as "(a = b) rescue c". [new] 6378 [experimental] 6379 6380Fri Oct 11 06:05:30 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6381 6382 * win32/win32.c (rb_w32_fclose, rb_w32_close): use closesocket() 6383 for socket. [ruby-win32:382] 6384 6385 * win32/win32.c (StartSockets): set NtSocketsInitialized. 6386 6387 * win32/win32.h: prototypes; rb_w32_fclose, rb_w32_close 6388 6389Fri Oct 11 00:24:57 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6390 6391 * gc.c (ruby_xmalloc, ruby_xrealloc): restrict total allocation 6392 size according to memories consumed by live objects. 6393 [ruby-dev:18482] 6394 6395 * gc.c (gc_sweep): estimate how live objects consume memories. 6396 6397Thu Oct 10 17:26:12 2002 WATANABE Hirofumi <eban@ruby-lang.org> 6398 6399 * ext/tcltklib/stubs.c (ruby_tcltk_stubs): fix memory leak. 6400 [ruby-dev:18478] 6401 6402Thu Oct 10 15:20:18 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6403 6404 * lib/weakref.rb (WeakRef::@@final): use Hash#delete. 6405 6406 * lib/weakref.rb (WeakRef::__getobj__): examine if alive or not by 6407 ID_REV_MAP to deal with recycled object. [ruby-dev:18472] 6408 6409 * lib/weakref.rb (WeakRef::weakref_alive?): ditto. 6410 6411Wed Oct 9 07:11:25 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6412 6413 * gc.c (gc_sweep): also adjust heaps_limits when free unused heap 6414 page. [ruby-core:00526] 6415 6416 * io.c (io_fflush): condition to retry can occur. 6417 6418 * io.c (io_write): returned 0 wrongly if no error occurred. 6419 6420Tue Oct 8 14:19:07 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6421 6422 * io.c (io_write): must check returned value from fwrite() before 6423 test with ferror(). (ruby-bugs-ja:PR#350) 6424 6425Tue Oct 8 10:55:23 2002 Tanaka Akira <akr@m17n.org> 6426 6427 * lib/prettyprint.rb (PrettyPrint.singleline_format): new method. 6428 6429Mon Oct 7 16:43:07 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 6430 6431 * bignum.c (bigdivrem): bignum zero's len should not be 0. 6432 6433Mon Oct 7 15:36:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 6434 6435 * bignum.c (bigdivmod): wrong condition check for Bignum zero. 6436 6437 * bignum.c (Init_Bignum): need to add Bignum#div. 6438 6439Sun Oct 6 00:49:15 2002 Minero Aoki <aamine@loveruby.net> 6440 6441 * eval.c (rb_load): should not pass blocks to the loaded file. 6442 [ruby-dev:18458] 6443 6444Fri Oct 4 20:25:38 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6445 6446 * eval.c (rb_thread_interrupt, rb_thread_signal_raise): no need to 6447 save dead thread context. (same as [ruby-dev:18322]) 6448 (ruby-bugs-ja:PR#349) 6449 6450Fri Oct 4 13:05:58 2002 WATANABE Hirofumi <eban@ruby-lang.org> 6451 6452 * configure.in (RUBY_PROG_GNU_LD): check whether the linker is GNU ld. 6453 6454 * ext/extmk.rb (create_makefile): add -Wl,-no-undefined to $DLDFLAGS 6455 on Linux if GNU ld is used and --enable-shared is specified. 6456 6457Fri Oct 4 02:21:16 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 6458 6459 * bignum.c (rb_big_rshift): num should be initialized by carry 6460 bits if x is negative. 6461 6462 * bignum.c (bigdivmod): len for bignum zero is 1, not 0. 6463 6464Thu Oct 3 20:22:11 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6465 6466 * bcc32/mkexports.rb: to work on cygwin via telnet. 6467 [ruby-win32:358] 6468 6469 * ext/tcltklib/tcltklib.c (ip_invoke): requires command name 6470 argument. [ruby-dev:18438] 6471 6472 * eval.c (ruby_init, ruby_options): Init_stack() with local 6473 location. (ruby-bugs-ja:PR#277) 6474 6475 * eval.c (rb_call0): disable trace call. [ruby-dev:18074] 6476 6477 * eval.c (eval, rb_load): enable trace call. [ruby-dev:18074] 6478 6479 * eval.c (rb_f_require): set source file name for extension 6480 libraries. [ruby-dev:18445] 6481 6482 * gc.c (Init_stack): prefer address of argument rather than local 6483 variable to initialize rb_gc_stack_start. 6484 6485 * ruby.c (translate_char): translate a character in a string; 6486 DOSISH only. [ruby-dev:18274] 6487 6488 * ruby.c (ruby_init_loadpath): added argv[0] handling under 6489 Human68K. [ruby-dev:18274] 6490 6491 * ruby.c (proc_options): translate directory separator in $0 to 6492 '/'. [ruby-dev:18274] 6493 6494Thu Oct 3 00:27:26 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6495 6496 * lib/delegate.rb (Delegator::initialize): use Object#class 6497 instead of deprecated Object#type. 6498 6499Wed Oct 2 23:32:48 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6500 6501 * configure.in (RUBY_CHECK_IO_NEED_FLUSH): check whether fflush() 6502 is needed. 6503 6504 * io.c (flush_before_seek): flush before seek if buffered data 6505 may remain. 6506 6507 * io.c (rb_io_check_readable): flush if the last operation was 6508 write. 6509 6510 * io.c (rb_io_check_writable): flush if the last operation was 6511 read. 6512 6513 * rubyio.h (FMODE_RBUF): added. 6514 6515Wed Oct 2 23:09:20 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6516 6517 * io.c (rb_io_wait_readable): handle retryable errors. 6518 6519 * io.c (rb_io_wait_writable): ditto. 6520 6521 * ext/socket/socket.c (bsock_send): ditto. 6522 6523 * ext/socket/socket.c (s_recvfrom): ditto. 6524 6525 * ext/socket/socket.c (s_accept): ditto. 6526 6527 * ext/socket/socket.c (udp_send): ditto. 6528 6529 * ext/socket/getaddrinfo.c (afdl): made private structures constant. 6530 6531 * rubyio.h: prototype; rb_io_wait_readable(), rb_io_wait_writable(). 6532 6533Wed Oct 2 13:03:58 2002 WATANABE Hirofumi <eban@ruby-lang.org> 6534 6535 * configure.in: set ac_cv_func_setitimer to "no" on Cygwin. 6536 6537Wed Oct 2 10:59:29 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 6538 6539 * gc.c (gc_sweep): free unused heap page to reduce process size if 6540 possible. 6541 6542 * object.c (rb_obj_type): deprecated Object#type; use Object#class. 6543 6544Tue Oct 1 23:48:32 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6545 6546 * ext/socket/socket.c (init_sock): no need for special finalizer, 6547 socket descriptor is no longer duplicated in 1.7. 6548 [ruby-talk:50732] 6549 6550 * win32/win32.c, win32/win32.h (rb_w32_fddup, rb_w32_fdclose): 6551 delete. 6552 6553Mon Sep 30 20:29:10 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6554 6555 * io.c (rb_io_inspect): not need to raise IOError for closed 6556 stream. [ruby-talk:51871] 6557 6558Mon Sep 30 03:48:15 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 6559 6560 * range.c (range_check): need no Fixnum check. 6561 6562Sun Sep 29 18:30:24 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6563 6564 * win32/win32.c (rb_w32_open_osfhandle): adjust 6565 rb_w32_open_osfhandle() with _open_osfhandle(). 6566 6567 * win32/win32.c (rb_w32_accept, rb_w32_socket): return -1 on 6568 error. 6569 6570 * win32/win32.h: should use file descriptor instead of SOCKET. 6571 6572Sun Sep 29 06:33:03 2002 NAKAMURA Usaku <usa@ruby-lang.org> 6573 6574 * win32/win32.c (is_socket, rb_w32_select, rb_w32_accept, rb_w32_bind, 6575 rb_w32_connect, rb_w32_getpeername, rb_w32_getsockname, 6576 rb_w32_getsockopt, rb_w32_ioctlsocket, rb_w32_listen, rb_w32_recv, 6577 rb_w32_recvfrom, rb_w32_send, rb_w32_sendto, rb_w32_setsockopt, 6578 rb_w32_shutdown, rb_w32_socket, rb_w32_gethostbyaddr, 6579 rb_w32_gethostbyname, rb_w32_gethostname, rb_w32_getprotobyname, 6580 rb_w32_getprotobynumber, rb_w32_getservbyname, rb_w32_getservbyport): 6581 need to protect WSAGetLastError() by RUBY_CRITICAL. [ruby-talk:51778] 6582 6583Sat Sep 28 20:06:36 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6584 6585 * keywords: add braces around initializers. 6586 6587Sat Sep 28 13:19:29 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6588 6589 * hash.c (rb_hash_become): should check self-assignment after 6590 conversion. 6591 6592Sat Sep 28 10:40:44 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 6593 6594 * hash.c (rb_hash_become): Hash#become should check added 6595 self-assignment. 6596 6597 * class.c (rb_make_metaclass): metaclass of a superclass may be 6598 NULL at boot time. 6599 6600Sat Sep 28 09:50:03 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp> 6601 6602 * ext/extmk.rb: The condition judgment without necessity was deleted. 6603 6604Fri Sep 27 18:40:42 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6605 6606 * eval.c (rb_thread_deadlock): more verbose message at deadlock. 6607 6608 * eval.c (rb_thread_schedule): ditto. 6609 6610 * eval.c (rb_thread_join): ditto. 6611 6612Fri Sep 27 13:24:35 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 6613 6614 * eval.c (rb_eval): Class#inherited should be called after the 6615 execution of the class body. 6616 6617Fri Sep 27 02:41:53 2002 Akinori MUSHA <knu@iDaemons.org> 6618 6619 * ext/digest/sha1: Use OpenSSL's SHA1 engine if available. It is 6620 much faster than what we have now (sha1.[ch]). Add a knob 6621 (--with-bundled-sha1) to extconf.rb which makes it use the 6622 bundled one anyway. 6623 6624Fri Sep 27 02:25:14 2002 Akinori MUSHA <knu@iDaemons.org> 6625 6626 * ext/digest/rmd160: Use OpenSSL's RMD160 engine if available. It 6627 is much faster than what we have now (rmd160.[ch]). Add a knob 6628 (--with-bundled-rmd160) to extconf.rb which makes it use the 6629 bundled one anyway. 6630 6631Fri Sep 27 01:23:39 2002 Akinori MUSHA <knu@iDaemons.org> 6632 6633 * ext/digest/md5: Use OpenSSL's MD5 engine if available. It is 6634 much faster than what we have now (md5.[ch]). Add a knob 6635 (--with-bundled-md5) to extconf.rb which makes it use the 6636 bundled one anyway. 6637 6638Thu Sep 26 22:44:21 2002 Akinori MUSHA <knu@iDaemons.org> 6639 6640 * ext/digest/digest.c (rb_digest_base_s_digest): Fix a double 6641 free() bug mingled with allocation framework deployment. 6642 6643 * ext/digest/digest.c (rb_digest_base_s_hexdigest): Get rid of 6644 redundant struct allocation. 6645 6646Thu Sep 26 09:52:52 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 6647 6648 * parse.y (primary): remove "return outside of method" check at 6649 compile time. 6650 6651Wed Sep 25 23:51:29 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6652 6653 * dir.c (glob_helper): must not closedir() when exception raised 6654 while globbing "**". 6655 6656 * marshal.c (w_uclass): unused variable. 6657 6658 * re.c (match_clone): unused. 6659 6660 * regex.c (re_compile_pattern): get rid of implicit promotion from 6661 plain char to int. 6662 6663Wed Sep 25 17:46:46 2002 NAKAMURA Usaku <usa@ruby-lang.org> 6664 6665 * lib/mkmf.rb (libpathflag): restore ENV['LIB'] when some error 6666 occurred. 6667 6668Wed Sep 25 16:14:51 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 6669 6670 * regex.c (re_match): p1 may exceed pend limit. 6671 6672Mon Sep 23 23:22:43 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6673 6674 * eval.c (rb_call0): must not clear ruby_current_node, or 6675 backtrace cannot be generated. 6676 6677 * intern.h (ruby_yyparse): rather than yyparse(). 6678 6679 * parse.y (yylex): nextc() returns -1 at end of input, not 0. 6680 6681 * parse.y (newline_node): reduce duplicated newline node. 6682 6683 * parse.y (literal_concat): get rid of warning. 6684 6685 * parse.y (new_evstr): fixed junk code. 6686 6687Mon Sep 23 19:57:52 2002 WATANABE Hirofumi <eban@ruby-lang.org> 6688 6689 * configure.in (RUBY_MINGW32): new macro. check for the MinGW 6690 compiler environment. 6691 6692 * lib/mkmf.rb: refactoring. 6693 6694Mon Sep 23 08:27:11 2002 Tanaka Akira <akr@m17n.org> 6695 6696 * io.c (appendline): forget to terminate with nul. 6697 6698Mon Sep 23 02:46:29 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 6699 6700 * eval.c (ruby_run): should set toplevel visibility again here. 6701 6702 * eval.c (rb_eval): should not rely on ruby_class == rb_cObject 6703 check. Besides allow implicit publicity for attribute set 6704 methods. 6705 6706 * parse.y (primary): need not to check class_nest, just set 6707 whether method is an attrset or not. 6708 6709Sun Sep 22 21:49:42 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6710 6711 * eval.c (call_trace_func): should not call trace function while 6712 compilation. 6713 6714 * eval.c (rb_call0): also inside c-func. 6715 6716 * parse.y (yycompile): ditto. 6717 6718 * ruby.c (require_libraries): preserve source file/line for each 6719 require. 6720 6721Sun Sep 22 17:08:11 2002 Tanaka Akira <akr@m17n.org> 6722 6723 * string.c (rb_str_each_line): p might be at the top of the 6724 string. 6725 6726Sat Sep 21 23:28:28 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 6727 6728 * class.c (rb_make_metaclass): class of metaclass should be 6729 metaclass of superclass, unless class itself is a metaclass; 6730 class of metaclass of metaclass should point back to self. 6731 eh, confusing, isn't it. 6732 6733 * class.c (rb_singleton_class): check if its class is singleton 6734 AND attached to self. 6735 6736Sat Sep 21 22:23:41 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6737 6738 * eval.c (rb_thread_raise): no need to save dead thread context. 6739 [ruby-dev:18322] 6740 6741Fri Sep 20 23:02:01 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6742 6743 * parse.y (block_append): eliminate unused literal nodes. 6744 6745 * parse.y (literal_concat): refined literal concatenation. 6746 6747Fri Sep 20 19:43:40 2002 Akinori MUSHA <knu@iDaemons.org> 6748 6749 * lib/set.rb: Merge rough/lib/set.rb rev.1.5-1.15. 6750 6751Wed Sep 18 12:41:16 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 6752 6753 * eval.c (rb_eval): should define class/module under ruby_cbase. 6754 6755 * eval.c (rb_eval): should set class/module path based on 6756 ruby_cbase, not ruby_class. 6757 6758 * eval.c (module_setup): use ruby_cbase instead of ruby_class. 6759 6760Tue Sep 17 21:06:04 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6761 6762 * eval.c (rb_thread_die): put thread dead state. 6763 6764 * eval.c (rb_thread_atfork): free stack buffer at fork too. 6765 6766Tue Sep 17 01:13:31 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 6767 6768 * eval.c (rb_mod_nesting): load wrapping module should appear in 6769 Module#nesting list. (ruby-bugs-ja:PR#328) 6770 6771 * eval.c (rb_thread_remove): free stack buffer on remove. 6772 6773Tue Sep 17 00:58:35 2002 Minero Aoki <aamine@loveruby.net> 6774 6775 * io.c: add parameter prototype. 6776 6777 * re.c: ditto. 6778 6779Sun Sep 15 21:14:22 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp> 6780 6781 * win32/win32.c (rb_w32_opendir, rb_w32_stat): Corresponds to 6782 the unjust path containing ". 6783 6784Sun Sep 15 19:48:55 2002 WATANABE Hirofumi <eban@ruby-lang.org> 6785 6786 * configure.in (OUTFLAG, CPPOUTFILE): moved from lib/mkmf.rb. 6787 check whether ${CPP} accepts the -o option. 6788 6789 * win32/Makefile.sub (OUTFLAG, CPPOUTFILE): ditto. 6790 6791 * bcc32/Makefile.sub (OUTFLAG, CPPOUTFILE): ditto. 6792 6793 * djgpp/config.sed (OUTFLAG, CPPOUTFILE): ditto. 6794 6795 * lib/mkmf.rb (OUTFLAG, CPPOUTFILE): use CONFIG. 6796 make easy to understand log. 6797 6798 * mkconfig.rb (val): should not strip. 6799 6800Sat Sep 14 20:13:42 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp> 6801 6802 * error.c(rb_sys_fail): remove case EPIPE on bcc32 . 6803 6804Fri Sep 13 23:39:49 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6805 6806 * dir.c (glob_func_caller): add prototype to get rid of warning. 6807 6808Fri Sep 13 18:35:12 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6809 6810 * eval.c (rb_eval): avoid uninitialized global/class variable 6811 warnings at `||='. [ruby-dev:18278] 6812 6813 * parse.y (stmt, arg): ditto 6814 6815Fri Sep 13 13:28:04 2002 WATANABE Hirofumi <eban@ruby-lang.org> 6816 6817 * lib/mkmf.rb ($INSTALLFILES): avoid warning when $VERBOSE mode. 6818 6819Thu Sep 12 23:20:10 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp> 6820 6821 * bcc32/setup.mak : Control of a message. 6822 6823 * bcc32/makefile.sub : include resource. 6824 6825Thu Sep 12 18:10:03 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6826 6827 * dir.c (glob_helper): fixed freeing buffer. (ruby-bugs-ja:PR#332) 6828 6829 * dir.c (glob_helper): should pass matched path. (ruby-bugs-ja:PR#333) 6830 6831Thu Sep 12 00:09:32 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6832 6833 * eval.c (rb_trap_eval): preserve thread status and so on. 6834 [ruby-talk:40337], [ruby-core:00019] 6835 6836Wed Sep 11 21:25:52 2002 Tanaka Akira <akr@m17n.org> 6837 6838 * pp.rb (ARGF.pretty_print): implemented. 6839 (PP.pp): arguments reordered. 6840 6841Wed Sep 11 18:55:38 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6842 6843 * eval.c (proc_to_s): refined format. [ruby-dev:18215] 6844 6845Wed Sep 11 17:47:17 2002 NAKAMURA Usaku <usa@ruby-lang.org> 6846 6847 * win32/win32.c, win32/win32.h (rb_w32_getpid): negate pid under Win9x. 6848 [ruby-dev:18262] 6849 6850Wed Sep 11 12:58:57 2002 Akinori MUSHA <knu@iDaemons.org> 6851 6852 * string.c (get_pat): Add an extra argument "quote". 6853 6854 * string.c (rb_str_match_m): Do not bother to convert if a regexp 6855 is given. 6856 6857Wed Sep 11 11:33:40 2002 NAKAMURA Usaku <usa@ruby-lang.org> 6858 6859 * bcc32/Makefile.sub: remove unnecessary `.dll' from filename of 6860 dll's resource file. 6861 6862 * cygwin/GNUmakefile.in: ditto. [ruby-dev:17103] 6863 6864 * win32/Makefile.sub: ditto. [ruby-dev:17103] 6865 6866 * win32/resource.rb: ditto. [ruby-dev:17103] 6867 6868Wed Sep 11 09:59:46 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6869 6870 * io.c (rb_io_wait_readable): added. 6871 6872 * io.c (rb_io_wait_writable): added. 6873 6874 * io.c (io_read_retryable): added. 6875 6876 * io.c (io_write): retry on EINTR, ERESTART and EWOULDBLOCK. 6877 [ruby-dev:17855], [ruby-dev:17878], [ruby-core:00444] 6878 6879 * io.c (rb_io_fread): ditto. 6880 6881 * io.c (read_all): ditto. 6882 6883 * io.c (appendline): ditto. 6884 6885 * io.c (rb_io_each_byte): ditto. 6886 6887 * io.c (rb_io_getc): ditto. 6888 6889Wed Sep 11 09:29:24 2002 NAKAMURA Usaku <usa@ruby-lang.org> 6890 6891 * win32/Makefile.sub (ext): make directory `ext' on compile dir. 6892 [ruby-dev:18255] 6893 6894Wed Sep 11 00:41:10 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6895 6896 * eval.c (rb_mod_define_method): initialize orig_func too. 6897 (ruby-bugs-ja:PR#330) 6898 6899Wed Sep 11 00:01:32 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 6900 6901 * dir.c (glob_helper): prevent memory leak using rb_protect(). 6902 6903 * string.c (rb_str_associate): no need to check freeze flag. 6904 6905 * string.c (rb_str_resize): should honor STR_ASSOC flag on 6906 resize. 6907 6908 * string.c (rb_str_resize): proper STR_ASSOC handling. pointed 6909 out by Michal Rokos. 6910 6911 * string.c (rb_str_buf_cat): ditto. 6912 6913 * string.c (rb_str_cat): ditto. 6914 6915 * string.c (rb_str_buf_append): ditto. 6916 6917 * string.c (rb_str_append): ditto. 6918 6919Tue Sep 10 23:35:46 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6920 6921 * parse.y (nextc): restore line number after here documents. 6922 (ruby-bugs-ja:PR#331) 6923 6924 * parse.y (heredoc_restore): ditto. 6925 6926Tue Sep 10 18:26:52 2002 WATANABE Hirofumi <eban@ruby-lang.org> 6927 6928 * ext/extmk.rb, lib/mkmf.rb ($INCFLAGS): new var for -I$(topdir). 6929 6930 * lib/mkmf.rb: add #define WIN32_LEAN_AND_MEAN to improve compile 6931 times. 6932 6933Tue Sep 10 17:16:14 2002 NAKAMURA Usaku <usa@ruby-lang.org> 6934 6935 * win32/Makefile.sub (miniruby): shouldn't link $(EXTOBJS). 6936 [ruby-dev:17059] 6937 6938 * win32/Makefile.sub ($(LIBRUBY_A), $(LIBRUBY)): avoid lib.exe's 6939 warning. [ruby-dev:17059] 6940 6941 * win32/Makefile.sub: remove unnecessary rules. [ruby-dev:17059] 6942 6943 * win32/configure.bat, win32/setup.mak, win32/README.win32: enable to 6944 pass some arguments to configure. [ruby-dev:17059] 6945 6946Mon Sep 9 23:43:33 2002 WATANABE Hirofumi <eban@ruby-lang.org> 6947 6948 * win32/win32.h (S_I?USR): define only if not mingw32. 6949 6950Mon Sep 9 11:21:04 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 6951 6952 * ext/stringio/stringio.c (strio_set_string): reinitialize 6953 properly. 6954 6955 * ext/stringio/stringio.c (strio_become): added self-assign check 6956 and experimental auto-conversion to StringIO. 6957 6958 * ext/stringio/stringio.c (strio_reopen): added. 6959 6960 6961Sun Sep 8 21:29:25 2002 WATANABE Hirofumi <eban@ruby-lang.org> 6962 6963 * time.c (time_free): prototype; struct time_object -> void *. 6964 avoid GCC warnings. 6965 6966 * lib/mkmf.rb, ext/extmk.rb ($LINK, $CPP): move to lib/mkmf.rb. 6967 6968Sun Sep 8 19:02:28 2002 NAKAMURA Usaku <usa@ruby-lang.org> 6969 6970 * time.c: prototype; time_free() to avoid VC++ warnings. 6971 6972 * ext/tcltklib/tcltklib.c: prototype; invoke_queue_handler() to avoid 6973 VC++ warning. 6974 6975 * win32/win32.c (rb_w32_stat): remove S_IWGRP and S_IWOTH bits from 6976 st_mode. 6977 6978 * win32/win32.h (S_I*): define if not defined. 6979 6980Sun Sep 8 14:38:31 2002 WATANABE Hirofumi <eban@ruby-lang.org> 6981 6982 * configure.in: modify program_prefix only if specified 6983 --program-prefix. 6984 6985 * configure.in: don't generate ext/extmk.rb. 6986 6987 * Makefile.in: execute directly $(srcdir)/ext/extmk.rb. 6988 remove -Cext option, "Dir::chdir 'ext'" in ext/extmk.rb. 6989 6990 * {win32,bccwin32}/Makefile.sub: ditto. 6991 6992 * instruby.rb: ditto. 6993 6994 * ext/extmk.rb: renamed from ext/extmk.rb.in. 6995 6996 * lib/mkmf.rb (module Logging): create log files (mkmf.log) 6997 in each extension module directories. 6998 6999 * ext/extmk.rb: ditto. 7000 7001 * lib/mkmf.rb (macro_defined?): new method. 7002 7003 * ext/.cvsignore: remove extmk.rb. 7004 7005 * ext/*/.cvsignore: add "*.def". 7006 7007 * lib/mkmf.rb (have_struct_member): moved from ext/socket/extconf.rb. 7008 7009 * ext/socket/extconf.rb: use macro_defined? instead of egrep_cpp. 7010 7011 * ext/etc/extconf.rb: use have_struct_member. 7012 7013 * ext/etc/etc.c: add prefix HAVE_ST_ to PW_ macros. 7014 7015Sun Sep 8 14:36:40 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp> 7016 7017 * bcc32/configure.bat : Control of a message. 7018 * bcc32/makefile.sub : @(sitearch) typo. 7019 * ext/extmk.rb.in : [bccwin32] libdir is added to a library path. 7020 * lib/mkmf.rb : ditto. 7021 7022Sat Sep 7 23:32:56 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7023 7024 * misc/inf-ruby.el (inferior-ruby-error-regexp-alist): regexp 7025 alist for error message from ruby. 7026 7027 * misc/inf-ruby.el (inferior-ruby-mode): fixed for Emacs. 7028 7029 * misc/inf-ruby.el (ruby-send-region): compilation-parse-errors 7030 doesn't parse first line, so insert separators before each 7031 evaluations. 7032 7033Sat Sep 7 19:46:57 2002 Akinori MUSHA <knu@iDaemons.org> 7034 7035 * lib/set.rb: Disallow Set.new(false). Add even more tests. 7036 [Submitted by: "Christoph" <chr_news@gmx.net>] 7037 7038Sat Sep 7 19:23:56 2002 Akinori MUSHA <knu@iDaemons.org> 7039 7040 * lib/set.rb: Fix a bug in flatten()'s recursive set detection. 7041 [Submitted by: "Christoph" <chr_news@gmx.net>] Some tests 7042 against the bug are added. 7043 7044 * lib/set.rb: Resurrect the test suite by putting it after 7045 __END__ and executing `eval DATA.read'. 7046 7047Sat Sep 7 08:41:39 2002 Minero Aoki <aamine@loveruby.net> 7048 7049 * parse.y (rb_gc_mark_parser): ruby_eval_tree is marked in eval.c. 7050 7051Fri Sep 6 20:01:38 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7052 7053 * lib/mkmf.rb ($CC): command to compile C source. 7054 7055 * lib/mkmf.rb (logging): added. 7056 7057 * lib/mkmf.rb (try_compile): added. 7058 7059 * lib/mkmf.rb (egrep_cpp): use internal grep when pattern is 7060 Regexp, otherwise use external egrep command but get rid of 7061 pipe of command.com. 7062 7063 * lib/mkmf.rb (have_func): local variable should be volatile not 7064 to be eliminated by optimization. 7065 7066 * lib/mkmf.rb (create_makefile): link with CONFIG["LIBS"]. 7067 7068 * lib/mkmf.rb (create_makefile): emit .SUFFIXES:. 7069 7070Fri Sep 6 12:11:22 2002 Minero Aoki <aamine@loveruby.net> 7071 7072 * parse.y (rb_gc_mark_parser): should mark ALL global variables 7073 defined in parse.y. 7074 7075Fri Sep 6 01:15:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7076 7077 * gc.c (ruby_xmalloc): remove MALLOC_LIMIT to avoid frequent 7078 garbage collection. 7079 7080Fri Sep 6 11:47:37 2002 Minero Aoki <aamine@loveruby.net> 7081 7082 * parse.y (rb_gc_mark_parser): should mark global variables 7083 defined in parse.y. 7084 7085Fri Sep 6 10:34:32 2002 Minero Aoki <aamine@loveruby.net> 7086 7087 * io.c (rb_io_puts): RSTRING(line)->ptr might be NULL. 7088 7089Fri Sep 6 10:26:37 2002 Minero Aoki <aamine@loveruby.net> 7090 7091 * parse.y: should not put non-NODE-VALUEs in the semantic stack. 7092 7093Fri Sep 6 05:48:26 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7094 7095 * file.c (rb_path_check): nothing to check under DOSISH. 7096 [ruby-list:35772] 7097 7098Fri Sep 6 05:03:50 2002 Minero Aoki <aamine@loveruby.net> 7099 7100 * gc.c (rb_gc): should mark parser. 7101 7102 * parse.y (rb_gc_mark_parser): new function. 7103 7104 * intern.h (rb_gc_mark_parser): added. 7105 7106Thu Sep 5 18:32:32 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7107 7108 * variable.c (rb_path2class): should not use rb_eval_string(). 7109 7110Thu Sep 5 17:18:22 2002 Michal Rokos <michal@ruby-lang.org> 7111 7112 * dln.c: fix memory leak in dln_load (ruby-core:405) and 7113 in load_1 (ruby-core:407) 7114 7115Thu Sep 5 15:43:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7116 7117 * marshal.c (w_extended): should allow marshaling of object which 7118 is extended by named module. 7119 7120 * class.c (rb_make_metaclass): super may be T_ICLASS, need to skip. 7121 7122Thu Sep 5 13:09:22 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7123 7124 * eval.c (rb_eval): overriding false constant with class/module 7125 definition should be error. (PR#327) 7126 7127Thu Sep 5 01:24:26 2002 WATANABE Hirofumi <eban@ruby-lang.org> 7128 7129 * extmk.rb (create_makefile): add macro MAKEDIRS, INSTALL_PROG, 7130 INSTALL_DATA. 7131 7132 * extmk.rb (create_makefile): support for building to any directory. 7133 7134 * extmk.rb (xsystem): move to mkmf.rb. 7135 7136 * mkmf.rb (xsystem): support for extmk.rb 7137 7138 * mkmf.rb ($CPP): remove '-E' option. add CPPFLAGS. 7139 7140Wed Sep 4 16:15:17 2002 Akinori MUSHA <knu@iDaemons.org> 7141 7142 * lib/set.rb: ==(o) should be aware of all the Set variant 7143 instances, not just those of its subclasses. [Submitted by: 7144 "Christoph" <chr_news@gmx.net>] 7145 7146 * lib/set.rb: - Fix eql?(). [ditto] 7147 7148Wed Sep 4 15:23:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7149 7150 * class.c (rb_make_metaclass): obj.meta.super.meta should be equal 7151 to obj.meta.meta.super (ruby-bugs-ja:PR#324). 7152 7153Wed Sep 4 05:10:16 2002 Koji Arai <jca02266@nifty.ne.jp> 7154 7155 * parse.y (yylex): the warning message "invalid 7156 character syntax" was never issued (ruby-bugs-ja:PR#323). 7157 7158Wed Sep 4 01:08:45 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7159 7160 * marshal.c (r_bytes): do not use alloca (ruby-bugs:PR#382). 7161 7162Tue Sep 3 17:12:59 2002 WATANABE Hirofumi <eban@ruby-lang.org> 7163 7164 * extmk.rb: require mkmf.rb. remove duplicate methods. 7165 use Config::CONFIG["FOO"] instead of @FOO@. 7166 7167 * mkmf.rb: support for extmk.rb. 7168 7169Mon Sep 2 23:01:50 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7170 7171 * re.c (rb_reg_search): MatchData must be rb_cMatch. 7172 (ruby-bugs-ja:PR#319) 7173 7174Mon Sep 2 21:21:46 2002 Minero Aoki <aamine@loveruby.net> 7175 7176 * gc.c (gc_sweep): does reclaim nodes in also compile time, if we 7177 can. 7178 7179 * ruby.c (load_file): omit GC if we can. 7180 7181 * parse.y (ruby_parser_stack_on_heap): new function. 7182 7183 * intern.h (ruby_parser_stack_on_heap): added. 7184 7185Mon Sep 2 18:45:07 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7186 7187 * variable.c (rb_copy_generic_ivar): remove old generic instance 7188 variable table if it exists. 7189 7190Sun Sep 1 15:54:33 2002 WATANABE Hirofumi <eban@ruby-lang.org> 7191 7192 * config.guess: fixed for Linux/PPC. 7193 7194Sat Aug 31 09:38:12 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7195 7196 * class.c (rb_make_metaclass): metaclass of a metaclass is a 7197 metaclass itself. 7198 7199Fri Aug 30 22:45:16 2002 Akinori MUSHA <knu@iDaemons.org> 7200 7201 * lib/set.rb: Added. 7202 7203Fri Aug 30 20:58:54 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp> 7204 7205 * ext/Win32API/Win32API.c (Win32API_Call): typo. 7206 7207Fri Aug 30 19:45:52 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7208 7209 * variable.c (rb_const_assign): st_delete() takes pointer to key. 7210 7211Fri Aug 30 19:40:28 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7212 7213 * ext/Win32API/Win32API.c (Win32API_Call): RSTRING()->ptr may be 7214 NULL. 7215 7216 * ext/nkf/nkf.c (rb_nkf_guess): ditto. 7217 7218 * ext/readline/readline.c (readline_s_set_completion_append_character): 7219 ditto. 7220 7221 * ext/socket/socket.c (sock_s_getaddrinfo, sock_s_getnameinfo): 7222 ditto. 7223 7224 * ext/tcltklib/tcltklib.c (ip_toUTF8, ip_fromUTF8): ditto. 7225 7226Fri Aug 30 01:32:17 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7227 7228 * class.c (rb_singleton_class): superclass of a metaclass 7229 should be a metaclass of superclass. 7230 7231 * range.c (range_eq): two instances must belong to a same class to 7232 be equal. 7233 7234 * range.c (range_eql): ditto. 7235 7236 * io.c (rb_io_taint_check): frozen check added. 7237 7238 * file.c (rb_stat_become): frozen check added. 7239 7240 * object.c (rb_obj_become): ditto. 7241 7242 * re.c (rb_reg_become): ditto. 7243 7244 * struct.c (rb_struct_become): ditto. 7245 7246 * time.c (time_become): ditto. 7247 7248 * array.c (rb_ary_become): should call rb_ary_modify(). 7249 7250 * hash.c (rb_hash_become): should call rb_hash_modify(). 7251 7252 * compar.c (cmp_equal): should not use NUM2LONG(), since <=> may 7253 return bignum. 7254 7255 * compar.c (cmp_gt, cmp_ge, cmp_lt, cmp_le, cmp_between): ditto. 7256 7257Thu Aug 29 23:34:42 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp> 7258 7259 * bcc32/MakeFile.sub (sitearch): add. 7260 7261Thu Aug 29 13:36:42 2002 WATANABE Hirofumi <eban@ruby-lang.org> 7262 7263 * io.c (read_all): should use off_t instead of long. 7264 7265Thu Aug 29 00:55:55 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7266 7267 * marshal.c (r_object): yield loaded objects, not intermediates. 7268 (ruby-bugs-ja:PR#296) 7269 7270Thu Aug 29 00:06:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7271 7272 * array.c (rb_ary_become): should not free ptr if it's shared. 7273 7274 * eval.c (rb_alias): prohibit making an alias named "allocate" if 7275 klass is a metaclass. 7276 7277Wed Aug 28 23:59:15 2002 Michal Rokos <michal@ruby-lang.org> 7278 7279 * signal.c: remove #ifdef SIGINT for struct signals. 7280 7281 * variable.c: get rid of fix length buffer in rb_class_path. 7282 7283Wed Aug 28 23:34:32 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7284 7285 * io.c (appendline): data was lost when raw mode. 7286 7287Wed Aug 28 22:57:34 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7288 7289 * string.c (rb_string_value_ptr): StringValuePtr() should never 7290 return NULL pointer. 7291 7292Wed Aug 28 19:12:46 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7293 7294 * ext/stringio/stringio.c (strio_initialize): RSTRING(mode)->ptr 7295 can be NULL. 7296 7297 * ext/stringio/stringio.c (strio_ungetc): fix buffer overflow. 7298 7299Wed Aug 28 18:19:55 2002 Michal Rokos <michal@ruby-lang.org> 7300 7301 * file.c: fix memory leak in rb_stat_init. 7302 7303Wed Aug 28 17:45:03 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7304 7305 * win32/win32.c (kill): negate pid under Win9x. 7306 7307Wed Aug 28 16:36:40 2002 WATANABE Hirofumi <eban@ruby-lang.org> 7308 7309 * configure.in (ar): don't check ar twice. 7310 7311Wed Aug 28 15:00:29 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7312 7313 * string.c (rb_str_delete_bang): should check if str->ptr is 0. 7314 7315 * string.c (rb_str_squeeze_bang): ditto. 7316 7317 * string.c (rb_str_count): ditto. 7318 7319 * string.c (rb_str_lstrip_bang): ditto. 7320 7321 * string.c (rb_str_rstrip_bang): ditto. 7322 7323 * string.c (rb_str_intern): ditto. 7324 7325Wed Aug 28 11:37:35 2002 NAKAMURA Usaku <usa@ruby-lang.org> 7326 7327 * win32/win32.h: define SIGINT and SIGKILL if not defined. 7328 7329 * win32/win32.c: remove definition of SIGINT and SIGKILL. 7330 7331Tue Aug 27 19:50:27 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7332 7333 * ruby.c (require_libraries): prevent ruby_sourcefile from GC. 7334 7335Tue Aug 27 15:03:35 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7336 7337 * file.c (rb_find_file): $LOAD_PATH must not be empty. 7338 7339 * file.c (rb_find_file_ext): ditto. 7340 7341Tue Aug 27 02:35:21 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7342 7343 * range.c (range_eq): class check should be based on range.class, 7344 instead of Range to work with Range.dup. 7345 7346 * range.c (range_eql): ditto. 7347 7348Mon Aug 26 18:17:56 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7349 7350 * class.c (rb_mod_dup): need to preserve metaclass and flags. 7351 7352Mon Aug 26 10:44:18 2002 Tanaka Akira <akr@m17n.org> 7353 7354 * object.c (rb_cstr_to_dbl): had a buffer overrun. 7355 7356Sun Aug 25 20:10:32 2002 Wakou Aoyama <wakou@ruby-lang.org> 7357 7358 * lib/cgi.rb (CGI#form): fix ruby-bugs-ja:PR#280, add default action. 7359 7360Sat Aug 24 15:32:16 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7361 7362 * eval.c (call_trace_func): restore source file/line, as trace 7363 function installed in required library with -r option can be 7364 called while parsing. (ruby-bugs:PR#372) 7365 7366 * eval.c (module_setup): unused variable. [ruby-core:00358] 7367 7368Sat Aug 24 14:59:02 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7369 7370 * marshal.c (w_class): integrate singleton check into a function 7371 to follow DRY principle. 7372 7373 * marshal.c (w_uclass): should check singleton method. 7374 7375 * object.c (rb_obj_dup): dmark and dfree functions must be match 7376 for T_DATA type. 7377 7378 * object.c (rb_obj_dup): class of the duped object must be match 7379 to the class of the original. 7380 7381Sat Aug 24 13:57:28 2002 Tanaka Akira <akr@m17n.org> 7382 7383 * lib/time.rb (Time.rfc2822, Time#rfc2822): preserve localtimeness. 7384 7385 * lib/pp.rb: pretty_print_cycled is renamed to pretty_print_cycle. 7386 7387Fri Aug 23 23:59:57 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7388 7389 * eval.c (method_call): check receiver is defined. 7390 7391 * eval.c (umethod_call): removed. 7392 7393Fri Aug 23 23:39:17 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7394 7395 * re.c (rb_reg_quote): do not escape \t, \f, \r, \n, for they are 7396 not regular expression metacharacters. 7397 7398 * time.c (time_s_alloc): use time_free instead of free (null check, 7399 also serves for type mark). 7400 7401 * time.c (time_s_at): check dfree function too. 7402 7403Fri Aug 23 17:06:48 2002 WATANABE Hirofumi <eban@ruby-lang.org> 7404 7405 * configure.in: RUBY_SO_NAME is msvcrt-rubyXX on mswin32/mingw32. 7406 7407 * configure.in (sitearch): new var. 7408 7409 * mkconfig.rb, lib/mkmf.rb (sitearch): ditto. 7410 7411 * win32/Makefile.sub, win32/setup.mak (sitearch): ditto. 7412 7413 * instruby.rb: ditto. 7414 7415Wed Aug 21 16:53:00 2002 Michal Rokos <michal@ruby-lang.org> 7416 7417 * *.c: int, long types cleanup. 7418 7419 * parse.y: ditto. 7420 7421 * re.h, regex.h, ruby.h: ditto. 7422 7423Wed Aug 21 16:43:19 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7424 7425 * eval.c (rb_thread_cleanup): should not modify the global 7426 variable curr_thread. 7427 7428Wed Aug 21 16:14:26 2002 WATANABE Hirofumi <eban@ruby-lang.org> 7429 7430 * configure.in: set ac_cv_func__setjmp to "no" on Cygwin. 7431 7432 * configure.in: set ac_cv_func_crypt to "no" on MinGW. 7433 7434Tue Aug 20 21:47 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp> 7435 7436 * io.c (rb_io_fread): remove case EPIPE on bcc32 . 7437 7438 * win32/win32.c (rb_w32_getc): clear EPIPE error on bcc32. 7439 7440Tue Aug 20 19:39:03 2002 WATANABE Hirofumi <eban@ruby-lang.org> 7441 7442 * file.c (rb_file_s_expand_path): accept drive letter on Cygwin. 7443 7444 * file.c (is_absolute_path): ditto. 7445 7446Tue Aug 20 12:12:25 2002 Tietew <tietew@tietew.net> 7447 7448 * io.c (rb_io_putc): output via rb_io_write(). 7449 7450Mon Aug 19 19:01:55 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7451 7452 * misc/inf-ruby.el (inf-ruby-keys): ruby-send-definition 7453 conflicted with ruby-insert-end. 7454 7455 * misc/inf-ruby.el (inferior-ruby-mode): compilation-minor-mode. 7456 7457 * misc/inf-ruby.el (ruby-send-region): send as here document to 7458 adjust source file/line. [ruby-talk:47113], [ruby-dev:17965] 7459 7460 * misc/inf-ruby.el (ruby-send-terminator): added to make unique 7461 terminator. 7462 7463Mon Aug 19 17:08:19 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7464 7465 * re.c (rb_reg_initialize_m): frozen check should be moved here 7466 from rb_reg_initialize(). 7467 7468Mon Aug 19 15:38:44 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7469 7470 * array.c (sort_2): comparison should be done as signed long. 7471 7472 * array.c (sort_2): should return int, not VALUE. 7473 7474Mon Aug 19 12:38:33 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7475 7476 * eval.c (rb_thread_save_context, rb_thread_restore_context): 7477 save/restore SEH chain on MS-Windows at thread switch. 7478 [ruby-win32:273] 7479 7480 * eval.c (win32_get_exception_list, win32_set_exception_list): 7481 added. 7482 7483Sat Aug 17 23:01:25 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7484 7485 * array.c (sort_2): *a - *b may overflow. 7486 7487Sat Aug 17 00:25:08 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7488 7489 * array.c (ary_new): len*sizeof(VALUE) may be a positive value. 7490 7491 * array.c (rb_ary_initialize): ditto. 7492 7493Fri Aug 16 15:58:16 2002 WATANABE Hirofumi <eban@ruby-lang.org> 7494 7495 * io.c (NOFILE): define NOFILE as 64 if not defined. 7496 7497 * signal.c (sighandler_t): rename to sh_t on dietlibc. 7498 7499Fri Aug 16 15:37:04 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7500 7501 * bignum.c (rb_cstr_to_inum): new decimal and octal string. 7502 7503Fri Aug 16 13:17:11 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7504 7505 * object.c (rb_class_allocate_instance): move singleton class 7506 check from rb_obj_alloc(). 7507 7508Fri Aug 16 11:47:24 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7509 7510 * io.c (rb_io_fread): renamed from io_fread and made extern. 7511 7512 * marshal.c (r_bytes0): check if successfully read, use 7513 rb_io_fread() instead of fread() to be preemptive. 7514 (ruby-bugs-ja:PR#294, 295) 7515 7516 * rubyio.h (rb_io_fread): added. 7517 7518Fri Aug 16 07:57:26 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7519 7520 * eval.c (compile_error): must not clear ruby_sourcefile here. 7521 (ruby-bugs:PR#364). 7522 7523 * eval.c (rb_longjmp): set ruby_sourcefile before making 7524 backtrace. 7525 7526Thu Aug 15 20:38:58 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7527 7528 * eval.c (ruby_current_node) : added to set sourceline on demand. 7529 7530 * eval.c (error_pos, error_print, rb_longjmp, assign): set source 7531 file/line. 7532 7533 * eval.c (rb_eval): store current node instead of file/line, and 7534 preserve it at return. 7535 7536 * eval.c (module_setup): ditto. 7537 7538 * eval.c (struct thread): store node instead of file/line. 7539 7540 * eval.c (rb_thread_raise): ditto. 7541 7542 * intern.h (ruby_current_node): added. 7543 7544 * intern.h (ruby_set_current_source): added. 7545 7546 * parse.y (stmt, arg): not fix position of assignment. 7547 7548 * parse.y (node_assign): ditto. 7549 7550 * parse.y (yycompile): clear current node. 7551 7552Thu Aug 15 00:48:46 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7553 7554 * re.c (rb_reg_initialize): should not modify frozen Regexp. 7555 7556Tue Aug 13 18:33:18 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7557 7558 * ext/tcltklib/tcltklib.c (ip_init): allocation framework. 7559 7560Tue Aug 13 15:32:14 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7561 7562 * hash.c (rb_hash_replace): should copy ifnone. 7563 7564 * hash.c (rb_hash_dup): should preserve HASH_PROC_DEFAULT and 7565 HASH_DELETED flags. 7566 7567 * hash.c (rb_hash_shift): shift from empty hash should not return 7568 its default proc. 7569 7570 * hash.c (rb_hash_default_proc): new method. [new] 7571 7572Tue Aug 13 00:37:11 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7573 7574 * array.c (rb_ary_aref): no need for Bignum check. 7575 7576 * array.c (rb_ary_aset): explicit Bignum check removed. 7577 7578 * numeric.c (fix_aref): normalize bignum before bit-op. 7579 7580 * bignum.c (rb_big_rand): max may be Bignum zero. 7581 7582 * bignum.c (rb_cstr_to_inum): should normalize bignums, to avoid 7583 returning fixable bignum value. 7584 7585 * bignum.c (rb_uint2big): there should be no zero sized bignum. 7586 7587Mon Aug 12 23:45:28 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7588 7589 * ext/extmk.rb.in: extmake() that works properly for both tkutil 7590 (tk/tkutil.so) and digest/sha1. 7591 7592Mon Aug 12 22:29:35 2002 Akinori MUSHA <knu@iDaemons.org> 7593 7594 * ruby.c (set_arg0): Correct the position of #endif. 7595 7596Mon Aug 12 17:25:06 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7597 7598 * hash.c (rb_hash_equal): should check HASH_PROC_DEFAULT too. 7599 7600Mon Aug 12 16:15:37 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7601 7602 * bignum.c (rb_big_cmp): raise for NaN. (ruby-bugs-ja:PR#284). 7603 7604Sun Aug 11 09:34:07 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7605 7606 * eval.c (rb_eval): set line number from all nodes. 7607 7608 * eval.c (proc_to_s): show source file/line if available. 7609 7610 * marshal.c (r_object): register TYPE_BIGNUM regardless real type. 7611 7612Sat Aug 10 23:47:16 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7613 7614 * bignum.c (rb_big_cmp): use dbl2big() for Floats, instead of 7615 big2dbl(). 7616 7617 * bignum.c (Init_Bignum): rb_big_zero_p() removed. There may be 7618 Bignum zero. 7619 7620Fri Aug 9 13:31:40 2002 WATANABE Hirofumi <eban@ruby-lang.org> 7621 7622 * ext/Win32API/extconf.rb: check existence of <windows.h>. 7623 7624Thu Aug 8 09:37:02 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7625 7626 * lib/optparse.rb (NilClass): must provide conversion block. 7627 7628 * lib/optparse.rb (String): ditto. 7629 7630Thu Aug 8 00:45:15 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7631 7632 * eval.c (rb_call0): new argument added for original method name. 7633 preserve original method name in frame->orig_func. 7634 7635 * eval.c (is_defined): use frame->orig_func, not last_func. 7636 7637 * eval.c (rb_eval): ditto. 7638 7639 * eval.c (method_call): supply data->oid also to rb_call0(). 7640 7641 * object.c (rb_class_allocate_instance): call rb_obj_alloc() when 7642 called from alias, thus invoke original "allocate". 7643 7644 * eval.c (remove_method): removing allocate from classes should 7645 cause NameError. 7646 7647Wed Aug 7 22:12:54 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7648 7649 * lib/optparse.rb (OptionParser::Completion::convert): returned 7650 all values not first one. 7651 7652 * lib/optparse.rb (OptionParser::Switch::parse): return values as 7653 is. 7654 7655 * lib/optparse.rb (OptionParser::order): ditto. 7656 7657 * lib/optparse/time.rb: prior time.rb. 7658 7659 * lib/optparse/uri.rb: require standard uri module. thanks to 7660 Minero Aoki. 7661 7662Wed Aug 7 09:51:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7663 7664 * hash.c (rb_hash_equal): should check default values. 7665 7666Wed Aug 7 08:44:32 2002 Minero Aoki <aamine@loveruby.net> 7667 7668 * ext/racc/cparse/cparse.c: reduce goto. 7669 7670Tue Aug 6 15:19:39 2002 NAKAMURA Usaku <usa@ruby-lang.org> 7671 7672 * string.c (rb_str_rindex): must return -1 if unmatched. 7673 7674Mon Aug 5 22:41:18 2002 Minero Aoki <aamine@loveruby.net> 7675 7676 * MANIFEST: add lib/racc/parser.rb. 7677 7678 * ext/racc/cparse/cparse.c: code refine. 7679 7680 * ext/racc/cparse/MANIFEST: add depend. 7681 7682Sun Aug 4 22:30:50 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7683 7684 * ext/curses/curses.c: follow allocation framework. 7685 7686Sat Aug 3 21:23:56 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7687 7688 * eval.c (rb_eval): set constant in cbase scope. 7689 7690 * eval.c (assign): ditto. 7691 7692Fri Aug 2 09:12:32 2002 Minero Aoki <aamine@loveruby.net> 7693 7694 * ext/strscan/strscan.c: follow allocation framework. 7695 7696Fri Aug 2 01:21:52 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7697 7698 * ext/socket/socket.c (s_recvfrom): update RSTRING len. 7699 7700Thu Aug 1 17:47:15 2002 Tachino Nobuhiro <tachino@jp.fujitsu.com> 7701 7702 * parse.y (tokadd_string): ignore backslashed spaces in %w. 7703 7704Thu Aug 1 14:14:15 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7705 7706 * enum.c (enum_find): do not use rb_eval_cmd(); should not accept 7707 a string for if_none. 7708 7709Wed Jul 31 14:11:43 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7710 7711 * eval.c (rb_undef): undef should be done for klass, not ruby_class. 7712 7713Tue Jul 30 19:48:51 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7714 7715 * misc/ruby-mode.el (ruby-accurate-end-of-block): restrict search 7716 region. 7717 7718 * misc/ruby-mode.el (ruby-parse-partial): reversed wrong patch. 7719 7720Tue Jul 30 17:21:13 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7721 7722 * misc/ruby-mode.el (ruby-accurate-end-of-block): incomplete block 7723 caused infinite loop. 7724 7725 * misc/ruby-mode.el (ruby-parse-partial): returns nil unless 7726 delimiters found. 7727 7728Tue Jul 30 15:24:07 2002 WATANABE Hirofumi <eban@ruby-lang.org> 7729 7730 * ext/tcltklib/stubs.c (ruby_tcltk_stubs): win32_getenv returns 7731 the same address always, so allocate string by ruby_strdup. 7732 7733 * win32/win32.c: prototype; rb_w32_open_osfhandle(). 7734 7735Tue Jul 30 09:11:07 2002 Minero Aoki <aamine@loveruby.net> 7736 7737 * eval.c (rb_thread_join_m): add parameter type declaration. 7738 7739Tue Jul 30 08:37:11 2002 Minero Aoki <aamine@loveruby.net> 7740 7741 * eval.c (localjump_error): add parameter type declaration. 7742 7743Mon Jul 29 16:00:54 2002 WATANABE Hirofumi <eban@ruby-lang.org> 7744 7745 * ext/extmk.rb.in: always use File.expand_path for $top_srcdir. 7746 7747Sat Jul 27 23:07:52 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7748 7749 * numeric.c (num_to_int): default to_int implementation for every 7750 numeric class. 7751 7752Sat Jul 27 08:09:03 2002 Booker C. Bense <bbense@slac.stanford.edu> 7753 7754 * re.c (rb_reg_quote): initial part of the string was never copied 7755 to the quoted string. 7756 7757Fri Jul 26 23:03:53 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7758 7759 * eval.c (rb_eval): no need to convert to string twice. 7760 7761Fri Jul 26 18:32:37 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7762 7763 * misc/ruby-mode.el (ruby-expr-beg): wrong indent at modifiers 7764 after ?. 7765 7766Fri Jul 26 16:01:16 2002 WATANABE Hirofumi <eban@ruby-lang.org> 7767 7768 * ext/extmk.rb.in (create_makefile): use Regexp in gsub. 7769 7770 * sample/mkproto.rb: ditto and fix bug. 7771 7772Fri Jul 26 14:31:06 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7773 7774 * random.c: replace with Mersenne Twister RNG. 7775 7776Fri Jul 26 12:14:48 2002 Minero Aoki <aamine@loveruby.net> 7777 7778 * parse.y (yylex): modify to accept a code like "m (a){...}". 7779 7780Thu Jul 25 09:05:02 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7781 7782 * misc/ruby-mode.el (ruby-delimiter): include here document. 7783 7784 * misc/ruby-mode.el (ruby-deep-arglist): skips spaces after 7785 parenthesis when 'space. 7786 7787 * misc/ruby-mode.el (ruby-imenu-create-index): fix for nested 7788 classes. 7789 7790 * misc/ruby-mode.el (ruby-accurate-end-of-block): added. scan a 7791 block in the order. 7792 7793 * misc/ruby-mode.el (ruby-expr-beg): support for here document. 7794 7795 * misc/ruby-mode.el (ruby-parse-partial): splitted from 7796 ruby-parse-region. 7797 7798 * misc/ruby-mode.el (ruby-move-to-block): skips RD style comments. 7799 7800Wed Jul 24 09:47:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7801 7802 * eval.c (jump_tag_but_local_jump): preserve retval in 7803 LocalJumpError exceptions. 7804 7805 * parse.y (command): no more check for "super outside of method". 7806 7807 * eval.c (rb_mod_define_method): should set last_class and 7808 last_func in the block->frame. 7809 7810Mon Jul 22 17:23:00 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7811 7812 * eval.c (error_handle): should handle TAG_THROW as well. 7813 7814Fri Jul 19 10:52:32 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7815 7816 * parse.y (yylex): new decimal notation '0d4567'. 7817 7818Thu Jul 18 11:52:02 2002 Shugo Maeda <shugo@ruby-lang.org> 7819 7820 * lib/net/ftp.rb (set_socket): new method. 7821 7822Thu Jul 18 06:51:24 2002 Minero Aoki <aamine@loveruby.net> 7823 7824 * parse.y (yylex): fix typo. 7825 7826Wed Jul 17 18:41:28 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7827 7828 * parse.y (yylex): new octal notation '0o777'. 7829 7830Mon Jul 15 18:36:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7831 7832 * parse.y (string_content): every string_content node should 7833 return string only. use NODE_EVSTR to coercing. 7834 7835 * eval.c (rb_eval): NODE_EVSTR support. 7836 7837Mon Jul 15 10:35:35 2002 Minero Aoki <aamine@loveruby.net> 7838 7839 * parse.y (heredoc_identifier): fix typo. 7840 7841Sat Jul 13 09:30:04 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7842 7843 * parse.y (literal_concat_string): wrong optimization. 7844 7845Sat Jul 13 01:25:38 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7846 7847 * lib/resolv.rb (Resolv::DNS::open, close): new. 7848 7849 * lib/optparse.rb, lib/optparse: import. 7850 7851Fri Jul 12 06:34:05 2002 Minero Aoki <aamine@loveruby.net> 7852 7853 * lib/net/http.rb: rename HTTP.get_uri get_response. 7854 7855 * lib/net/http.rb: HTTP.get_print accepts URI objects. 7856 7857 * lib/net/http.rb: HTTP.get had not work with URI objects. 7858 7859Fri Jul 12 02:15:58 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7860 7861 * string.c (rb_str_match): fix for string match. 7862 7863Fri Jul 12 00:02:50 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 7864 7865 * ext/stringio/stringio.c (strio_gets_internal): fixed for record 7866 separator longer than 1. 7867 7868Thu Jul 11 17:59:20 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7869 7870 * re.c (rb_reg_quote): avoid unnecessary string allocation. 7871 7872 * string.c (get_pat): quote metacharacters before compiling a 7873 string into a regex. 7874 7875 * string.c (rb_str_split_m): special treatment of strings of size 7876 1, but AWK emulation. now uses get_pat(). 7877 7878 * string.c (rb_str_match_m): quote metacharacters. 7879 7880 * string.c (rb_str_match2): ditto. 7881 7882Thu Jul 11 12:59:23 2002 Shugo Maeda <shugo@ruby-lang.org> 7883 7884 * lib/resolv.rb: untaint strings read from /etc/hosts and 7885 /etc/resolv.conf to prevent SecurityError when $SAFE==1. 7886 7887Thu Jul 11 09:00:43 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7888 7889 * string.c (rb_str_slice_bang): if there's no corresponding 7890 substring, slice! should return nil without exception. 7891 7892Tue Jul 9 20:03:55 2002 Keiju Ishitsuka <keiju@ishitsuka.com> 7893 7894 * irb 0.9 7895 7896Sat Jul 6 07:35:02 2002 Jamie Herre <jfh@gettysgroup.com> 7897 7898 * array.c (rb_ary_insert): type fixed. 7899 7900Fri Jul 5 09:17:00 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7901 7902 * string.c (rb_str_split_m): accept separator value nil as well. 7903 7904Fri Jul 5 08:59:15 2002 Michal Rokos <michal@ruby-lang.org> 7905 7906 * enum.c: Fix bug in enum_sort_by and some code indents 7907 7908Fri Jul 5 05:00:40 2002 Wakou Aoyama <wakou@ruby-lang.org> 7909 7910 * lib/cgi.rb (CGI#initialize): improvement for mod_ruby. 7911 thanks to Sean Chittenden <sean@ruby-lang.org>, Shugo Maeda 7912 <shugo@modruby.net> 7913 7914Fri Jul 5 00:10:09 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7915 7916 * string.c (rb_str_become): was leaking memory. 7917 7918Thu Jul 4 23:43:26 2002 Minero Aoki <aamine@loveruby.net> 7919 7920 * parse.y: remove useless function str_extend_p(). 7921 7922Wed Jul 3 14:26:40 2002 Sean Chittenden <sean@ruby-lang.org> 7923 7924 * lib/net/ftp.rb (get): new method. 7925 7926 * lib/net/ftp.rb (putt): ditto. 7927 7928 * lib/net/ftp.rb (binary): ditto. 7929 7930 * lib/net/ftp.rb (binary=): ditto. 7931 7932Wed Jul 3 13:57:53 2002 Sean Chittenden <sean@ruby-lang.org> 7933 7934 * lib/net/ftp.rb (getbinaryfile): the second argument (localfile) 7935 is now optional. 7936 7937 * lib/net/ftp.rb (gettextfile): ditto. 7938 7939Wed Jul 3 13:45:42 2002 Shugo Maeda <shugo@ruby-lang.org> 7940 7941 * lib/net/ftp.rb: use &block and yield for speed. 7942 7943Wed Jul 3 02:32:31 2002 Wakou Aoyama <wakou@ruby-lang.org> 7944 7945 * lib/cgi.rb (CGI#initialize): improvement for mod_ruby. 7946 7947Tue Jul 2 14:53:10 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 7948 7949 * class.c (rb_include_module): should not alter other 7950 classes/modules by inclusion. by this fix, local order may not 7951 be preserved for some cases. 7952 7953 * class.c (include_class_new): module may be T_ICLASS; retrieve 7954 original module information. 7955 7956Tue Jul 2 14:13:11 2002 Wakou Aoyama <wakou@ruby-lang.org> 7957 7958 * lib/cgi.rb (CGI#header): accept any type as value. 7959 7960Sun Jun 30 17:05:29 2002 WATANABE Hirofumi <eban@ruby-lang.org> 7961 7962 * configure.in (seekdir, telldir): add ac_cv_func_telldir=yes, 7963 ac_cv_func_seekdir=yes for MinGW. 7964 7965Sat Jun 29 01:43:32 2002 NAKAMURA Usaku <usa@ruby-lang.org> 7966 7967 * io.c (pipe_finalize, pipe_popen): two-way pipe support for win32. 7968 7969 * win32/win32.c (ChildRecord, FindFreeChildSlot): ditto. 7970 7971 * win32/win32.c, win32/win32.h (pipe_exec): new function for two-way 7972 pipe support for win32. 7973 7974 * win32/win32.c, win32/win32.h (FindPipedChildSlot, rb_w32_popen, 7975 rb_w32_pclose): removed functions for two-way pipe support for win32. 7976 7977Fri Jun 28 23:49:34 2002 NAKAMURA Usaku <usa@ruby-lang.org> 7978 7979 * pack.c (pack_unpack): change names of local variables because their 7980 names are overlapped. 7981 7982Fri Jun 28 17:54:07 2002 Tanaka Akira <akr@m17n.org> 7983 7984 * lib/pp.rb: fix object address. 7985 7986Thu Jun 27 23:55:50 2002 NAKAMURA Usaku <usa@ruby-lang.org> 7987 7988 * win32/win32.c (rb_w32_stat): fix buffer overflow. (ruby-bugs:PR#329) 7989 7990Thu Jun 27 20:57:45 2002 Tanaka Akira <akr@m17n.org> 7991 7992 * lib/prettyprint.rb, lib/pp.rb: convenience methods added. 7993 7994Thu Jun 27 15:22:18 2002 Tanaka Akira <akr@m17n.org> 7995 7996 * lib/prettyprint.rb: re-implemented for incremental output to handle 7997 huge data. API is changed a bit. 7998 7999 * lib/pp.rb: adapt new pretty printing API. 8000 8001Thu Jun 27 08:28:18 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8002 8003 * parse.y (literal_concat_string): non-string last expression in 8004 #{} was ignored when followed by literal. 8005 8006Thu Jun 27 03:42:04 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8007 8008 * re.c (rb_reg_expr_str): need to process backslashes properly. 8009 8010Wed Jun 26 17:33:38 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8011 8012 * object.c (rb_any_to_a): declare Object#to_a to be obsolete. 8013 8014 * object.c (rb_Array): do not convert nil into [] automagically. 8015 8016Wed Jun 26 15:40:00 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8017 8018 * parse.y (words, qwords): word list literal rules. 8019 8020 * parse.y (parse_string): ditto. 8021 8022 * parse.y (yylex): %W: word list literal with interpolation. [new] 8023 8024Tue Jun 25 18:53:34 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8025 8026 * parse.y (string1, xstring, regexp): moved lex_strnest 8027 initialization to string_contents/xstring_contents. 8028 8029Tue Jun 25 19:24:38 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp> 8030 8031 * dln.c: remove definition rb_loaderror(). 8032 8033Tue Jun 25 00:34:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8034 8035 * object.c (rb_Integer): use "to_int" instead of 8036 "to_i". [experimental] 8037 8038 * object.c (nil_to_f): new method. 8039 8040 * object.c (rb_Integer): Symbols and nil should cause error. 8041 8042 * object.c (rb_Float): nil should cause error. 8043 8044Tue Jun 25 00:21:00 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp> 8045 8046 * dln.c: remark definition rb_loaderror(). 8047 8048Tue Jun 25 00:14:07 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8049 8050 * parse.y (string_dvar): allow back references in interpolation. 8051 8052Mon Jun 24 16:32:31 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8053 8054 * eval.c (rb_eval): NODE_EVSTR is no longer used. 8055 8056 * eval.c (eval): not enforce to make assigned variables dynamic. 8057 8058 * parse.y (string): split rules to strings/xstring/regexp to allow 8059 arbitrary statements inside string interpolation. 8060 8061 * parse.y (here_document): splitted into three phases. 8062 8063 * parse.y (literall_append, literal_concat): added. 8064 append/concatenate string literals. 8065 8066 * sample/test.rb (valid_syntax): adjust line number for BEGIN. 8067 8068 * lib/mkmf.rb (create_makefile): get rid of nested string. 8069 8070 * lib/mkmf.rb (install_rb): site-install didn't work properly. 8071 8072Sun Jun 23 00:19:10 2002 Tadayoshi Funaba <tadf@dotrb.org> 8073 8074 * lib/date.rb, lib/date/format.rb, sample/cal.rb, sample/goodfriday.rb: 8075 updated to the new version (based on date2 3.3). 8076 8077Sat Jun 22 14:41:33 2002 Guy Decoux <ts@moulon.inra.fr> 8078 8079 * ext/socket/socket.c (sock_addrinfo): make all 3 versions of 8080 getaddrinfo happy. [ruby-core:00184] 8081 8082Fri Jun 21 18:49:58 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8083 8084 * parse.y (yylex): __END__ should not be effective within 8085 string literals. 8086 8087Thu Jun 20 21:09:37 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8088 8089 * ext/readline/readline.c (readline_readline): get rid of 8090 libreadline's bug. (ruby-bugs-ja:PR#268) 8091 8092Thu Jun 20 17:10:27 2002 WATANABE Hirofumi <eban@ruby-lang.org> 8093 8094 * lib/ftool.rb (BUFSIZE): tuning, set buffer length to 8192. 8095 8096 * configure.in (__NO_ISOCEXT): add for mingw-runtime 2.0-2. 8097 8098 * configure.in (__MSVCRT__): removed because it is defined 8099 in the GCC specs. 8100 8101Wed Jun 19 14:46:18 2002 WATANABE Hirofumi <eban@ruby-lang.org> 8102 8103 * ext/extmk.rb, lib/mkmf.rb (xsystem): open the log file if xsystem 8104 is called. 8105 8106Wed Jun 19 01:01:13 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8107 8108 * parse.y (here_document): should be aware of __END__ within here 8109 documents. 8110 8111Wed Jun 19 00:50:50 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8112 8113 * parse.y (yylex): ? followed by successive word characters is 8114 ternary operator not numeric literal. 8115 8116 * parse.y (yylex): commands after break/next/rescue can take 8117 arguments. (ruby-bugs-ja:PR#265) 8118 8119Tue Jun 18 19:20:16 2002 NAKAMURA Usaku <usa@ruby-lang.org> 8120 8121 * win32/mkexports.rb: remove unnecessary exports. (ruby-dev:17418) 8122 8123Tue Jun 18 12:50:17 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8124 8125 * parse.y (yylex): should pushback proper char after '<<'. 8126 8127 * parse.y (range_op, cond0, cond): get rid of doubled warnings. 8128 8129 * parse.y (value_expr): reduce recursion level. 8130 8131 * parse.y (logop): ditto. 8132 8133Mon Jun 17 11:11:34 2002 Kazuhiro NISHIYAMA <zn@mbf.nifty.com> 8134 8135 * string.c (rb_str_crypt): result need not be tainted always. 8136 8137Mon Jun 17 10:51:37 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8138 8139 * dln.c (dln_load): need to preserve dln_strerror() result, 8140 calling other dl family can clear it. 8141 8142Sat Jun 15 22:56:37 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8143 8144 * parse.y (yylex): obsolete '?<whitespace>'; use '?\s', '?\n', 8145 etc, instead. 8146 8147Sat Jun 15 18:51:13 2002 Akinori MUSHA <knu@iDaemons.org> 8148 8149 * dir.c (glob_helper): Use lstat() instead of stat() so it catches 8150 a dead symlink. Given a dead symlink named "a", Dir.glob("?") 8151 did catch it but Dir.glob("a") somehow didn't. 8152 8153Sat Jun 15 01:59:05 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8154 8155 * parse.y (yylex): no here document after a dot. 8156 8157 * parse.y (yylex): should have set lex_state after '`'. 8158 8159 * parse.y (yylex): should have set lex_state properly after 8160 tOP_ASGN. 8161 8162Fri Jun 14 21:01:48 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp> 8163 8164 * bcc32/mkexports.rb: insert sleep(1) for win9x. 8165 8166 * bcc32/configure.bat: change return code LF -> CRLF for win9x. 8167 8168 * win32/win32.c: fix rb_w32_open_osfhandle() 8169 8170Fri Jun 14 15:22:19 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8171 8172 * parse.y (read_escape): deny zero-width hexadecimal character. 8173 (ruby-bugs-ja:PR#260) 8174 8175 * parse.y (tokadd_escape): ditto. 8176 8177 * regex.c (re_compile_pattern): ditto. 8178 8179Fri Jun 14 00:49:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8180 8181 * bignum.c (rb_big2dbl): return canonical HUGE_VAL for infinity. 8182 8183Thu Jun 13 09:43:37 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8184 8185 * eval.c (svalue_to_avalue): v may be Qundef. This fix was 8186 suggested by Guy Decoux. 8187 8188Thu Jun 13 00:33:49 2002 takuma ozawa <metal@mine.ne.jp> 8189 8190 * hash.c (rb_hash_s_create): use rb_hash_aset() instead of calling 8191 st_insert() directly, to dup&freeze string keys. 8192 8193Thu Jun 13 00:12:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8194 8195 * parse.y (yylex): proper error message for "@@0". 8196 8197 * parse.y (yylex): paren to parse_string() must be zero for 8198 unparenthesized strings. 8199 8200 * parse.y (str_extend): broken string when unterminated "#{". 8201 8202 * enum.c (enum_sort_by): had a bug in 1 element enumeration. 8203 8204Wed Jun 12 18:04:44 2002 akira yamada <akira@arika.org> 8205 8206 * uri/common.rb (REGEXP::PATTERN::X_ABS_URI): 'file:/foo' is valid. 8207 8208 * uri/generic.rb (Generic#xxx=): should return substituted value. 8209 (ruby-dev:16728.) 8210 8211 * test/generic.rb (test_set_component): added tests for the above 8212 change. 8213 8214Wed Jun 12 02:38:00 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8215 8216 * parse.y (stmt): fix typo. 8217 8218Wed Jun 12 01:10:55 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8219 8220 * parse.y (yylex): 'do' should return kDO_BLOCK on EXPR_ENDARG. 8221 8222 * parse.y (singleton): "def (()).a end" dumped core. 8223 8224 * parse.y (range_op): node may be null. 8225 8226 * parse.y (match_gen): ditto. 8227 8228Tue Jun 11 19:20:34 2002 WATANABE Hirofumi <eban@ruby-lang.org> 8229 8230 * configure.in (LIBRUBY): rename to lib$(LIBRUBY_SO).a on Cygwin/MinGW. 8231 8232 * configure.in, cygwin/GNUmakefile: use dllwrap when --disable-shared 8233 is specified. 8234 8235Tue Jun 11 17:12:04 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8236 8237 * parse.y (arg): void value check for "..", "...", "!", and "not". 8238 8239 * parse.y (match_gen): void value check for "=~". 8240 8241 * parse.y (value_expr): check NODE_AND and NODE_OR recursively. 8242 8243 * parse.y (cond0): void value check added for conditionals. 8244 8245Tue Jun 11 13:18:47 2002 Shugo Maeda <shugo@ruby-lang.org> 8246 8247 * lib/net/ftp.rb (noop): new method. 8248 8249 * lib/net/ftp.rb (site): ditto. 8250 8251Tue Jun 11 13:15:41 2002 NAKAMURA Usaku <usa@ruby-lang.org> 8252 8253 * bcc32/Makefile.sub: set PROCESSOR_LEVEL to 6 if it's too big value. 8254 8255 * win32/Makefile.sub: ditto. 8256 8257Tue Jun 11 12:37:46 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp> 8258 8259 * bcc32/configure.bat fix. 8260 8261Tue Jun 11 10:18:23 2002 KONISHI Hiromasa <konishih@fd6.so-net.ne.jp> 8262 8263 * new platform [bccwin32] merged. 8264 - create new folder bcc32 8265 - modify any files for bccwin32 8266 error.c, file.c, hash.c, io.c, instruby.rb, 8267 ext/extmk.rb.in, 8268 lib/mkmf.rb, lib/ftools.rb, 8269 ext/digest/defs.h, 8270 ext/dl/depend, ext/dl/dl.c, ext/dl/sym.c, ext/dl/extconf.rb, 8271 ext/socket/extconf.rb, 8272 ext/pty/extconf.rb, 8273 ext/tcltklib/extconf.rb 8274 ext/Win32API/Win32API.c, 8275 win32/dir.h, win32/win32.c, win32/win32.h, win32/resource.rb 8276 8277Mon Jun 10 19:02:19 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8278 8279 * numeric.c (fix_lshift): negative shift count means right shift. 8280 (ruby-bugs-ja:PR#248) 8281 8282 * numeric.c (fix_rshift): return -1 when left side operand is 8283 negative. (ruby-bugs-ja:PR#247) 8284 8285 * parse.y (yylex): `0_' should be an error. (ruby-bugs-ja:PR#249) 8286 8287Mon Jun 10 01:53:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8288 8289 * eval.c (rb_eval): ruby_frame->last_func may be null, if it's 8290 called outside of a method. 8291 8292 * parse.y (arg): use INT2NUM, not INT2FIX for tUMINUS. 8293 8294 * parse.y (arg): unnecessary negative tPOW treatment. 8295 8296 * parse.y (tokadd_escape): wrong backslash escapement. 8297 8298Sun Jun 9 17:40:41 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp> 8299 8300 * ext/dl: change the callback mechanism. 8301 8302Sat Jun 8 00:48:38 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8303 8304 * parse.y (stmt,arg): too much void value check. 8305 8306 * parse.y (stmt,arg): need to check void value on rules which does 8307 not use node_assign(). 8308 8309Thu Jun 6 19:50:39 2002 KONISHI Hiromasa <H_Konishi@ruby-lang.org> 8310 8311 * sample/biorhythm.rb (getPosiiton,etc) 8312 fix at changing Date module ( Date is changed Fixnum to Rational ) 8313 8314Thu Jun 6 17:42:39 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8315 8316 * ext/socket/socket.c (ipaddr): need not to taint hostnames. 8317 8318Thu Jun 6 12:04:30 2002 NAKAMURA Usaku <usa@ruby-lang.org> 8319 8320 * win32/Makefile.sub (config.status): use sub! instead of []= because 8321 []= causes exception. 8322 8323Thu Jun 6 11:42:15 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8324 8325 * lib/thread.rb (Queue::pop): get rid of race condition. 8326 8327Wed Jun 5 01:56:47 2002 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 8328 8329 * ext/tcltklib/tcltklib.c: Stop the running zombi-eventloop when 8330 mainloop_watchdog is killed. 8331 8332Tue Jun 4 23:09:24 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8333 8334 * range.c (range_include): should be based on "<=>", whereas 8335 member? still is based on "each". 8336 8337 * range.c (range_min,range_max): redefine methods based on "<=>". 8338 8339Tue Jun 4 18:28:37 2002 WATANABE Hirofumi <eban@ruby-lang.org> 8340 8341 * ext/socket/extconf.rb: The IPv6 stack of Cygwin is still incomplete. 8342 8343 * ext/Win32API/extconf.rb: refactoring. 8344 8345Tue Jun 4 07:03:33 2002 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> 8346 8347 * ext/tk/lib/tkfont.rb: Fix bugs on TkFont.init_widget_font for Tk8.x. 8348 8349 * ext/tk/lib/tkafter.rb: Add self to 1st argument of interval- 8350 and loop-proc 8351 TkAfter#current_interval returns an interval (sleep) time value 8352 TkAfter#current_args returns an array of arguments 8353 TkAfter#return_value returns a return value of last loop-proc 8354 8355 * ext/tk/lib/tk*.rb: Allow to use Symbols for parameters. 8356 8357 * ext/tk/lib/tkcanvas.rb: (TkcItem) Add 'coords' parameter to the 8358 canvas item constructor (for new notation of constructor). 8359 8360 * ext/tcltklib/tcltklib.c: New 'mainloop' and 'mainloop_watchdog'. 8361 8362 * ext/tk/lib/tk.rb: (Tk.restart) Add 'app-name' paramater and 8363 'use' parameter. 8364 8365 * ext/tk/lib/tk.rb: Add new parameter 'widgetname' to the widget 8366 constructor to support effective use of Resource Database. 8367 8368 * ext/tk/lib/tk.rb: TkOption::get always returns a tainted string. 8369 8370Tue Jun 4 00:45:50 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8371 8372 * ext/socket/addrinfo.h: typo. 8373 8374 * ext/socket/getaddrinfo.c (gai_strerror): make literals const. 8375 8376 * ext/socket/socket.c (init_inetsock): ensures resources are 8377 freed at exceptions. 8378 8379 * ext/socket/socket.c (init_unixsock): ditto. 8380 8381 * ext/socket/socket.c (udp_connect): ditto. 8382 8383Mon Jun 3 20:39:51 2002 Masaki Suketa <masaki.suketa@nifty.ne.jp> 8384 8385 * ext/win32ole/extconf.rb : change PLATFORM with RUBY_PLATFORM. 8386 8387Mon Jun 3 07:07:07 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8388 8389 * parse.y (here_document): check if identifier is terminated. 8390 (ruby-bugs-ja:PR#239) 8391 8392 * parse.y (yylex): should pushback proper char after '**'. 8393 (ruby-bugs-ja:PR#240) 8394 8395Mon Jun 3 05:56:17 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8396 8397 * string.c (rb_str_aset): should raise error if an indexing string 8398 is not found in the receiver. 8399 8400 * sprintf.c (rb_f_sprintf): "%d" should convert objects into 8401 integers using Integer(). 8402 8403Sat Jun 1 19:20:07 2002 Masaki Suketa <masaki.suketa@nifty.ne.jp> 8404 8405 * ext/win32ole: merge from rough. 8406 8407Fri May 31 17:11:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8408 8409 * lib/tempfile.rb (Tempfile::size): added. 8410 8411Thu May 30 12:52:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8412 8413 * range.c (range_step): iteration done using "+" if elements are 8414 Numeric. Otherwise using "succ". 8415 8416 * range.c (range_each): iteration done using "succ". If the 8417 elements does not respond to "succ", raise TypeError. As a 8418 result, all Enumerable methods, e.g. collect, require elements 8419 to respond to "succ". 8420 8421 * range.c (range_member): comparison done using "each", if 8422 elements are non-Numeric or no-"succ" objects. Otherwise 8423 compare using "<=>". 8424 8425 * range.c (Init_Range): remove "size" and "length". 8426 8427Thu May 30 09:16:36 2002 Wakou Aoyama <wakou@ruby-lang.org> 8428 8429 * lib/cgi.rb: if StringIO is usable then use it. 8430 8431Wed May 29 18:55:47 2002 KONISHI Hiromasa <H_Konishi@ruby-lang.org> 8432 8433 * function renames my* and win32_* to rb_w32_* in win32/win32.c 8434 fixed files win32/win32.c, win32/win32.h, win32/dir.h, 8435 hash.c, rubysig.h, signal.c, ext/socket/socket.c 8436 8437Wed May 29 17:32:55 2002 WATANABE Hirofumi <eban@ruby-lang.org> 8438 8439 * time.c (tmcmp, search_time_t): activate unless HAVE_TIMEGM. 8440 8441Wed May 29 13:45:15 2002 Wakou Aoyama <wakou@ruby-lang.org> 8442 8443 * lib/cgi.rb: not use const if GET, HEAD. check multipart form head. 8444 8445Tue May 28 17:56:02 2002 Sean Chittenden <sean@ruby-lang.org> 8446 8447 * parse.y: yyparse #defines moved from intern.h 8448 8449 * ruby.c (proc_options): access prefixed "ruby_yydebug". 8450 8451 * applied modifies to pacify some of gcc -Wall warnings. 8452 8453Tue May 28 14:07:00 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8454 8455 * parse.y (arg): no more ugly hack for "**", so that "-2**2" to be 8456 parsed as "(-2)**2", whereas "- 2**2" or "-(2)**2" to be parsed 8457 as "-(2**2)". 8458 8459 * parse.y (yylex): '-2' to be literal fixnum. [new] 8460 8461Tue May 28 12:13:37 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8462 8463 * eval.c (scope_node): trick to keep the node has a scope. 8464 8465 * eval.c (rb_eval): NODE_EVSTR: write back local_tbl to the node. 8466 8467 * eval.c (rb_eval): NODE_SCOPE: hold the scope node in ruby_scope. 8468 8469 * eval.c (module_setup): ditto. 8470 8471 * eval.c (rb_call0): ditto. 8472 8473 * node.h (NEW_DASGN, NEW_DASGN_CURR): remove surplus semicolons. 8474 8475Fri May 24 09:06:29 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8476 8477 * time.c (time_arg): nil test against v[6] (usec). 8478 8479Thu May 23 16:39:21 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8480 8481 * ruby.c (proc_options): option parsing problem. 8482 (ruby-bugs-ja:PR#233) 8483 8484Thu May 23 09:13:56 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8485 8486 * ruby.c (proc_options): removed "-*-" support for #! line. 8487 8488 * io.c (rb_io_s_sysopen): new method to get a raw file 8489 descriptor. [new] 8490 8491 * ext/socket/socket.c (tcp_sysaccept): new method to return an 8492 accepted socket fd (integer). [new] 8493 8494 * ext/socket/socket.c (unix_sysaccept,sock_sysaccept): ditto. 8495 8496Wed May 22 21:26:47 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8497 8498 * ruby.c (proc_options): -T consumes digits only. 8499 8500Wed May 22 20:18:31 2002 WATANABE Hirofumi <eban@ruby-lang.org> 8501 8502 * configure.in: need not link vsnprintf.o on MinGW. 8503 8504Wed May 22 18:34:23 2002 Minero Aoki <aamine@loveruby.net> 8505 8506 * parse.y (yylex): Here-document label ate '-'. 8507 8508Tue May 21 13:25:18 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8509 8510 * misc/ruby-mode.el (ruby-font-lock-keywords): symbols end with 8511 '_'. 8512 8513Tue May 21 04:48:37 2002 Sean Chittenden <sean@chittenden.org> 8514 8515 * lib/cgi-lib.rb: Checking for constant MOD_RUBY instead of 8516 environment variable. Remove a mod_ruby warning and use 8517 Apache::request.headers_out[] instead. 8518 8519Tue May 21 01:16:46 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8520 8521 * parse.y (bodystmt): ensure clause was executed on else clause 8522 without rescue clause. 8523 8524Tue May 21 00:20:25 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp> 8525 8526 * ext/dl/ptr.c: rename PtrData::alloc to PtrData::malloc. 8527 8528 * ext/dl/lib/dl/struct.c: rename Struct#alloc to Struct#malloc. 8529 8530Mon May 20 14:29:14 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8531 8532 * object.c (Init_Object): should do exact match for Module#==. 8533 8534 * compar.c (cmp_eq): returns 'false' if <=> returns 'nil'. 8535 8536 * compar.c (cmp_gt,cmp_ge,cmp_lt,cmp_le,cmp_between): ditto. 8537 8538Mon May 20 13:28:52 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8539 8540 * io.c (rb_io_clone): writing stream was not copied properly. 8541 8542Sat May 18 21:38:11 2002 Tadayoshi Funaba <tadf@dotrb.org> 8543 8544 * lib/date.rb, lib/date/format.rb, lib/parsedate.rb: 8545 updated to the new version (based on date2 3.2.1). 8546 8547Sat May 18 21:18:00 2002 NAKAMURA Usaku <usa@ruby-lang.org> 8548 8549 * win32/Makefile.sub (config.h): add VC++4/5 support about noreturn 8550 directive. 8551 8552Sat May 18 02:16:41 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8553 8554 * pack.c (pack_pack): should propagate taintedness. 8555 8556 * pack.c (pack_unpack): ditto. 8557 8558Fri May 17 16:16:19 2002 WATANABE Hirofumi <eban@ruby-lang.org> 8559 8560 * sample/test.rb: use eval instead of './miniruby -c', 8561 in order to check a syntax error. 8562 8563Thu May 16 14:46:34 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8564 8565 * eval.c (rb_thread_select): cleanup conditional compilation. 8566 8567Wed May 15 06:13:35 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8568 8569 * eval.c (rb_thread_schedule): need to preserve errno before 8570 calling rb_trap_exec(). 8571 8572 * regex.c (calculate_must_string): a bug in charset/charset_not 8573 parsing. 8574 8575Tue May 14 18:17:44 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8576 8577 * win32/Makefile.sub: config.h inlined. and catch up with the 8578 latest change. 8579 8580 * win32/config.h.in: no longer used. 8581 8582Tue May 14 14:49:05 2002 WATANABE Hirofumi <eban@ruby-lang.org> 8583 8584 * gc.c (is_pointer_to_heap): avoid GCC 3.1 warnings. 8585 8586 * missing/strftime.c (timezone): it should take no argument on Cygwin. 8587 8588Tue May 14 03:07:35 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8589 8590 * eval.c (rb_clear_cache_by_class): new function. 8591 8592 * eval.c (set_method_visibility): should have clear cache for 8593 updated visibility. 8594 8595Mon May 13 14:38:33 2002 WATANABE Hirofumi <eban@ruby-lang.org> 8596 8597 * djgpp/config.hin, djgpp/config.sed: catch up with the latest change. 8598 8599Mon May 13 01:59:55 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8600 8601 * numeric.c (flo_to_s): default format precision to be "%.16g". 8602 8603 * util.c (ruby_strtod): use own strtod(3) implementation to avoid 8604 locale hell. Due to this change "0xff".to_f no longer returns 255.0 8605 8606Sun May 12 03:01:08 2002 WATANABE Hirofumi <eban@ruby-lang.org> 8607 8608 * missing.h: add for missing/*.c. 8609 8610 * ruby.h: add `#include "missing.h"'. 8611 8612 * Makefile.in: add the dependency of missing.h by gcc -MM. 8613 8614 * MANIFEST: add missing.h 8615 8616Sat May 11 23:24:52 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp> 8617 8618 * ext/dl: enable dl's stack emulation for constructing function call. 8619 8620Sat May 11 10:52:09 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8621 8622 * dir.c (glob_helper): remove escaping backslashes. 8623 8624Sat May 11 02:46:43 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8625 8626 * eval.c (avalue_to_yvalue): new function to distinguish yvalue 8627 (no-arg == Qundef) from svalue (no-arg == Qnil). 8628 8629 * eval.c (rb_yield_0): use avalue_to_yvalue(). 8630 8631 * eval.c (assign): warn if val == Qundef where it means rhs is 8632 void (e.g. yield without value or call without argument). 8633 8634Fri May 10 19:00:47 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8635 8636 * parse.y (here_document): preserve line number begins here 8637 document. 8638 8639Fri May 10 01:55:44 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8640 8641 * eval.c (rb_thread_join): added an argument to limit time to wait 8642 the thread. 8643 8644 * eval.c (rb_thread_join_m): new. and added optional argument. 8645 8646Wed May 8 23:48:40 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8647 8648 * parse.y (value_expr): need not to warn for WHILE and UNTIL, 8649 since they can have return value (via valued break). 8650 8651Tue May 7 17:13:40 2002 WATANABE Hirofumi <eban@ruby-lang.org> 8652 8653 * configure.in: forgot to add '-Wl,' to the gcc option on Cygwin/MinGW. 8654 8655Tue May 7 15:41:33 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8656 8657 * ext/iconv/iconv.c (iconv_try): should initialize exceptions 8658 properly. (ruby-bugs-ja:PR#232) 8659 8660Tue May 7 15:28:03 2002 Minero Aoki <aamine@loveruby.net> 8661 8662 * eval.c (rb_yield_0): The destination of the goto jump was wrong. 8663 8664Tue May 7 09:17:51 2002 Minero Aoki <aamine@loveruby.net> 8665 8666 * eval.c (superclass): undesirable "unexpected return" when the 8667 superclass is not a Class. 8668 8669Sun May 5 06:53:45 2002 Akinori MUSHA <knu@iDaemons.org> 8670 8671 * lib/mkmf.rb: exclude topdir from the system configuration 8672 section and prevent it from being overridden. 8673 8674Fri May 3 20:19:00 2002 WATANABE Hirofumi <eban@ruby-lang.org> 8675 8676 * configure.in: add #include <errno.h> in AC_CHECK_DECLS(). 8677 8678 * win32/config.h.in: define HAVE_DECL_SYS_NERR. 8679 8680Thu May 2 23:42:40 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8681 8682 * re.c (rb_reg_s_quote): # also should be quoted. 8683 8684Thu May 2 18:27:13 2002 WATANABE Hirofumi <eban@ruby-lang.org> 8685 8686 * ext/extmk.rb.in, lib/mkmf.rb: use 'do...end' instead of '{}' for 8687 Borland make. 8688 8689Thu May 2 08:01:56 2002 Chris Thomas <kenshin@apple.com> 8690 8691 * error.c: use HAVE_DECL_SYS_NERR instead of platform names. 8692 8693Tue Apr 30 09:23:05 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8694 8695 * numeric.c (num_step): better iteration condition for float 8696 values; suggested by Masahiro TANAKA <masa@ir.isas.ac.jp>. 8697 8698Tue Apr 30 05:59:42 2002 Michal Rokos <m.rokos@sh.cvut.cz> 8699 8700 * range.c (range_step): step (for Range#step method) <= 0 makes no 8701 sense, thus ArgError will be raised. 8702 8703 * range.c (range_each): Range#each method is special case for 8704 Range#step(1) 8705 8706Mon Apr 29 18:46:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8707 8708 * file.c (rb_find_file): load must be done from an absolute path if 8709 $SAFE >= 4. 8710 8711Sun Apr 28 17:01:56 2002 WATANABE Hirofumi <eban@ruby-lang.org> 8712 8713 * win32/win32.c (insert): fix prototype for ANSI C. 8714 8715Fri Apr 26 13:47:15 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8716 8717 * enum.c (enum_partition): new method. [new] 8718 8719Fri Apr 26 13:41:00 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8720 8721 * re.c (rb_reg_s_quote): quote whitespaces for /x cases. 8722 8723Fri Apr 26 06:48:23 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp> 8724 8725 * ext/dl/ptr.c (cary2ary): missing break in switch statements. 8726 8727Fri Apr 26 09:35:47 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8728 8729 * eval.c (rb_proc_new): make Proc from C function. [new] 8730 8731 * intern.h (rb_proc_new): prototype. 8732 8733Wed Apr 24 14:56:46 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net> 8734 8735 * eval.c (proc_to_proc): return self. [new] 8736 8737 * eval.c (block_pass): no need to convert if block is Proc. 8738 8739Wed Apr 24 14:21:41 2002 WATANABE Hirofumi <eban@ruby-lang.org> 8740 8741 * configure.in: set size of the initial stack from 8742 2MB to 32MB on MinGW/Cygwin. 8743 8744Wed Apr 24 14:06:35 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8745 8746 * numeric.c (num_step): try to reduce residual on Float operations. 8747 8748Wed Apr 24 06:48:31 2002 Koji Arai <jca02266@nifty.ne.jp> 8749 8750 * io.c (rb_io_mode_flags): both 'r+b' and 'rb+' should be allowed. 8751 8752 * io.c (rb_io_mode_modenum): ditto. 8753 8754Wed Apr 24 01:16:14 2002 Nobuyoshi Nakada <nobu@ruby-lang.org> 8755 8756 * ext/stringio/stringio.c (strio_mark): must check if ptr is NULL 8757 first. [ruby-talk:38873] 8758 8759 * lib/mkmf.rb (create_makefile): should print depend file when 8760 make is other than nmake. 8761 8762Wed Apr 24 00:37:12 2002 NAKAMURA Usaku <usa@ruby-lang.org> 8763 8764 * ext/extmk.rb.in (create_makefile): use `{$(srcdir)}' directive instead 8765 of `$(srcdir)/' when including depend file. 8766 8767 * lib/mkmf.rb (create_makefile): add `{$(srcdir)}' when including depend 8768 file. 8769 8770Tue Apr 23 12:58:18 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8771 8772 * gc.c (rb_memerror): rename from mem_error, and exported. 8773 8774 * gc.c (Init_GC): pre-allocate NoMemoryError instance. 8775 8776 * object.c (convert_type): error message changed from "failed to 8777 convert" to "cannot convert", since it does not try to convert 8778 if an object does not respond to the converting method. 8779 8780Mon Apr 22 09:31:30 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8781 8782 * eval.c (block_pass): convert Method to Proc using 8783 rb_check_convert_type(). 8784 8785 * object.c (rb_check_convert_type): always convert T_DATA 8786 8787 * eval.c (rb_thread_cleanup): should not terminate main_thread by 8788 Fatal error. 8789 8790 * regex.c (is_in_list): need to not exclude NUL and NEWLINE. 8791 8792Sat Apr 20 00:19:13 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8793 8794 * re.c (rb_reg_expr_str): wrong backslash escapement. 8795 8796 * re.c (rb_reg_expr_str): do not escape embedded space 8797 characters. 8798 8799Fri Apr 19 22:03:40 2002 NAKAMURA Usaku <usa@ruby-lang.org> 8800 8801 * win32/Makefile.sub: add -DNT to $CFLAGS instead of $CPPFLAGS. 8802 8803 * win32/setup.mak: ditto. 8804 8805Fri Apr 19 17:24:22 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8806 8807 * marshal.c (w_object): T_DATA process patch from Joel VanderWerf 8808 <vjoel@PATH.Berkeley.EDU>. This is temporary hack; it remains 8809 undocumented, and it will be removed when marshaling is 8810 re-designed. 8811 8812 * marshal.c (r_object): ditto. 8813 8814Fri Apr 19 17:10:55 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8815 8816 * numeric.c (num_step): Integer#step is moved to Numeric#step; 8817 Fixnum#step is merged into this method. 8818 8819 * numeric.c (int_dotimes): Fixnum#times is merged. 8820 8821 * numeric.c (int_upto): Fixnum#upto is merged. 8822 8823 * numeric.c (int_downto): Fixnum#downto is merged. 8824 8825Fri Apr 19 16:22:55 2002 WATANABE Hirofumi <eban@ruby-lang.org> 8826 8827 * ext/socket/extconf.rb: include <windows.h>, <winsock.h> on _WIN32. 8828 8829 * win32/win32.c: include <mswsock.h> on __MINGW32__. 8830 8831 * configure.in: cleanup for autoconf 2.5x. 8832 8833 * configure.in: use gcc -shared instead of dllwrap on Cygwin/MinGW. 8834 8835 * ext/extmk.rb, lib/mkmf.rb: get rid of "--def=". 8836 8837Fri Apr 19 14:57:44 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 8838 8839 * re.c (rb_reg_to_s): remove redundant shy group. 8840 8841Fri Apr 19 01:08:20 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8842 8843 * eval.c (rb_thread_cleanup): current thread may be THREAD_STOPPED, 8844 for example when terminated from signal handler. 8845 8846Thu Apr 18 19:03:15 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8847 8848 * regex.c (re_compile_pattern): remove /p support. 8849 8850 * regex.h: ditto. 8851 8852 * parse.y (parse_regx): ditto. 8853 8854Thu Apr 18 17:01:43 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp> 8855 8856 * ext/dl/ptr.c (rb_dlptr_cast): removed. 8857 8858Thu Apr 18 17:01:43 2002 Tanaka Akira <akr@m17n.org> 8859 8860 * re.c (rb_reg_to_s): new function for Regexp#to_s. 8861 8862Wed Apr 17 23:55:34 2002 Akinori MUSHA <knu@iDaemons.org> 8863 8864 * ext/Setup*, ext/bigfloat/*: Back out the import of BigFloat in 8865 favor of its forthcoming successor, BigDecimal. 8866 8867Wed Apr 17 16:53:33 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8868 8869 * re.c (rb_reg_expr_str): should treat backslash specially in 8870 escaping. 8871 8872Wed Apr 17 08:16:41 2002 Michal Rokos <m.rokos@sh.cvut.cz> 8873 8874 * io.c: complete off_t handling; missing argument for 8875 fptr_finalize(); polished rb_scan_args call. 8876 8877Wed Apr 17 00:01:59 2002 Michal Rokos <m.rokos@sh.cvut.cz> 8878 8879 * dir.c: wrap multi-statement macro by do { } while (0) 8880 8881 * eval.c, numeric,c, sprintf.c, util.c: ditto. 8882 8883Tue Apr 16 08:59:50 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 8884 8885 * eval.c (assign): convert mrhs to mvalue. 8886 8887Mon Apr 15 18:12:57 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8888 8889 * bignum.c (rb_big_eq): check `y == x' if y is neither Fixnum, 8890 Bignum, nor Float. 8891 8892Mon Apr 15 09:27:31 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8893 8894 * pack.c (pack_unpack): should treat 'U' in character unit, not in 8895 byte unit. 8896 8897 * error.c (exc_initialize): should clear backtrace information. 8898 8899Sat Apr 13 23:42:43 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8900 8901 * io.c (rb_io_fptr_cleanup): should close IO created by IO.new(fd). 8902 8903 * rubyio.h: remove FMODE_FDOPEN 8904 8905Fri Apr 12 12:54:04 2002 NAKAMURA Usaku <usa@ruby-lang.org> 8906 8907 * win32/Makefile.sub: use missing/acosh.c. 8908 8909 * win32/config.h.in: define HAVE_COSH, HAVE_SINH, and HAVE_TANH. 8910 8911Fri Apr 12 02:58:55 2002 Koji Arai <jca02266@nifty.ne.jp> 8912 8913 * struct.c (rb_struct_select): fix typo. 8914 8915Fri Apr 12 00:34:17 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 8916 8917 * MANIFEST (missing/acosh.c): added. 8918 8919 * Makefile.in (missing/acosh.c): ditto. 8920 8921 * Makefile.in (missing/fileblocks.c): ditto. 8922 8923 * configure.in (AC_REPLACE_FUNCS): check acosh() on behalf of 8924 inverse hyperbolic functions, asinh() and atanh(). 8925 8926 * missing/acosh.c: added for acosh(), asinh() and atanh(). 8927 8928Thu Apr 11 20:01:44 2002 Masahiro Tomita <tommy@tmtm.org> 8929 8930 * io.c (io_write): check error if written data is less than 8931 specified size to detect EPIPE. 8932 8933Thu Apr 11 19:10:37 2002 WATANABE Hirofumi <eban@ruby-lang.org> 8934 8935 * io.c (remain_size): IO#read returns "" if file.size == 0. 8936 8937 * random.c (rand_init): add check for initstate(3). 8938 8939 * configure.in: ditto. 8940 8941Thu Apr 11 09:31:19 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp> 8942 8943 * ext/dl/ptr.c: raise() -> rb_raise(). (Thanks Tetsuya Watanabe) 8944 8945 * ext/dl/sym.c: ditto. 8946 8947Thu Apr 11 07:57:48 2002 Michal Rokos <m.rokos@sh.cvut.cz> 8948 8949 * eval.c (assign): ruby_verbose should be surrounded by RTEST(). 8950 8951 * object.c (rb_str2cstr): ditto. 8952 8953 * parse.y (void_expr): ditto. 8954 8955 * parse.y (void_stmts): ditto. 8956 8957 * variable.c (rb_ivar_get): ditto. 8958 8959 * variable.c (rb_cvar_set): ditto. 8960 8961 * variable.c (rb_cvar_get): ditto. 8962 8963Thu Apr 11 07:02:31 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp> 8964 8965 * ext/dl: Add dl.txt instead of README and README.html. 8966 8967Thu Apr 11 01:55:52 2002 Wakou Aoyama <wakou@fsinet.or.jp> 8968 8969 * lib/cgi/session.rb: support for multipart form. 8970 8971Wed Apr 10 18:42:23 2002 Tachino Nobuhiro <tachino@jp.fujitsu.com> 8972 8973 * dir.c (glob_helper): should have proceed link when link->path 8974 was non existing symbolic link. 8975 8976Wed Apr 10 17:30:19 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 8977 8978 * variable.c (rb_obj_remove_instance_variable): raise NameError if 8979 specified instance variable is not defined. 8980 8981 * variable.c (generic_ivar_remove): modified to check ivar 8982 existence. 8983 8984Wed Apr 10 14:16:45 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 8985 8986 * misc/ruby-mode.el (ruby-font-lock-keywords): fontify symbols for 8987 unary operators and aset. 8988 8989Tue Apr 9 13:40:31 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 8990 8991 * lib/mkmf.rb (try_link0): need expand macro in command, sync with 8992 ext/extmk.rb.in. 8993 8994 * lib/mkmf.rb (try_cpp): ditto. 8995 8996 * lib/mkmf.rb (egrep_cpp): ditto. 8997 8998Tue Apr 9 12:44:59 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 8999 9000 * ext/stringio/stringio.c (check_modifiable): performance 9001 improvement. avoid calling rb_str_modify() twice. 9002 9003 * ext/stringio/stringio.c (strio_ungetc): ditto. 9004 9005 * ext/stringio/stringio.c (strio_putc): ditto. 9006 9007 * ext/stringio/stringio.c (strio_write): ditto, and use 9008 rb_str_cat() as possible. 9009 9010Tue Apr 9 05:17:48 2002 Akinori MUSHA <knu@iDaemons.org> 9011 9012 * re.c (match_select): fix index references and make 9013 MatchData#select actually work. 9014 9015Tue Apr 9 00:20:52 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9016 9017 * file.c (rb_file_s_extname): new method based on the proposal 9018 (and patch) from Mike Hall. [new] 9019 9020Mon Apr 8 04:50:51 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9021 9022 * eval.c (error_handle): default to 1 unless status is set. 9023 9024 * eval.c (ruby_options): guard error_handle() with PROT_NONE. 9025 9026 * eval.c (ruby_stop): ditto. 9027 9028Mon Apr 8 01:22:24 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9029 9030 * math.c (math_acosh): added. [new] 9031 9032 * math.c (math_asinh): ditto. 9033 9034 * math.c (math_atanh): ditto. 9035 9036 * struct.c (rb_struct_each_pair): method added. [new] 9037 9038Sat Apr 6 02:04:49 2002 Guy Decoux <ts@moulon.inra.fr> 9039 9040 * class.c (rb_singleton_class): wrong condition; was creating 9041 unnecessary singleton class. 9042 9043Sat Apr 6 01:09:41 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9044 9045 * sprintf.c (remove_sign_bits): simplifies the condition. 9046 9047 * bignum.c (get2comp): calculate proper carry over. 9048 9049Fri Apr 5 05:07:28 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp> 9050 9051 * ext/dl: Add dl/struct.rb. 9052 9053Thu Apr 4 14:08:52 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp> 9054 9055 * ext/dl/lib/dl/import.rb: Get rid of ineffective 9056 encoding/decoding procedures. 9057 9058Thu Apr 4 01:08:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9059 9060 * numeric.c (int_step): step may be a float less than 1. 9061 9062Wed Apr 3 20:42:34 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp> 9063 9064 * ext/dl: Merge Nakada's patch. 9065 9066 * ext/dl/dl.h: define StringValuePtr for ruby-1.6. 9067 9068Wed Apr 3 15:37:24 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp> 9069 9070 * ext/dl: Add dl/types.rb. 9071 9072Wed Apr 3 01:54:10 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9073 9074 * ext/extmk.rb.in (enable_config): follow lib/mkmf.rb. 9075 9076Tue Apr 2 19:59:13 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp> 9077 9078 * ext/dl: Merge from rough. 9079 9080Tue Apr 2 15:17:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9081 9082 * Makefile.in (CPPFLAGS): remove @includedir@. 9083 9084 * lib/mkmf.rb (create_makefile): ditto. 9085 9086 * ext/extmk.rb.in (create_makefile): ditto. 9087 9088Tue Apr 2 15:09:05 2002 WATANABE Hirofumi <eban@ruby-lang.org> 9089 9090 * ext/socket/socket.c (sock_addrinfo): should clear addrinfo hints. 9091 9092Mon Apr 1 23:48:12 2002 Takaaki Tateishi <ttate@kt.jaist.ac.jp> 9093 9094 * lib/mkmf.rb: install any files using $INSTALLFILES. 9095 (see also [ruby-dev:16683]) 9096 9097Mon Apr 1 17:25:50 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9098 9099 * io.c (rb_io_fptr_cleanup): need flush even when io will not be 9100 closed. 9101 9102 * io.c (rb_io_initialize): was calling wrong function 9103 rb_io_mode_flags(). 9104 9105Mon Apr 1 16:52:00 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9106 9107 * ext/sdbm/init.c (each_pair): moved prototype before the 9108 definition. 9109 9110 * ext/racc/cparse/cparse.c (call_scaniter): ditto. 9111 9112Mon Apr 1 15:11:40 2002 NAKAMURA Usaku <usa@ruby-lang.org> 9113 9114 * ext/racc/cparse/cparse.c: prototype; call_scaniter(). 9115 9116 * ext/sdbm/init.c: prototype; each_pair(). 9117 9118 * ext/tcltklib/tcltklib.c: prototypes; _timer_for_tcl() and ip_ruby(), 9119 Nobu's patch at [ruby-dev:14483]. 9120 9121Mon Apr 1 10:56:40 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9122 9123 * re.c (match_setter): it's OK to assign nil to $~. 9124 9125Mon Apr 1 03:55:46 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9126 9127 * io.c (rb_io_fptr_cleanup): do not close IO created by for_fd(). 9128 9129 * io.c (rb_io_initialize): mark IO created by for_fd 9130 9131 * ext/socket/socket.c (bsock_s_for_fd): ditto. 9132 9133Fri Mar 29 20:21:58 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9134 9135 * lib/mkmf.rb (create_makefile): default FLAGS to empty strings. 9136 9137Fri Mar 29 16:36:52 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9138 9139 * lib/mkmf.rb (arg_config): should use Shellwords::shellwords like 9140 ext/extmk.rb.in. 9141 9142 * lib/mkmf.rb (enable_config): default had priority over command 9143 line options and configure_args. 9144 9145 * lib/mkmf.rb: support autoconf 2.53 style variables from 9146 environment. 9147 9148 * lib/mkmf.rb: add directory options. 9149 9150Fri Mar 29 15:49:29 2002 Usaku Nakamura <usa@ruby-lang.org> 9151 9152 * win32/README.win32: follow recent changes. 9153 9154Fri Mar 29 14:44:05 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9155 9156 * io.c (io_fflush): DRY patch from /Christoph applied. 9157 9158Thu Mar 28 18:58:13 2002 Usaku Nakamura <usa@ruby-lang.org> 9159 9160 * win32/Makefile.sub (config.status): reflect user defined $CC in 9161 config.status. 9162 9163Thu Mar 28 18:03:51 2002 Minero Aoki <aamine@loveruby.net> 9164 9165 * ext/strscan/strscan.c: add taint check. 9166 9167 * ext/strscan/strscan.c: #getch/#get_byte should set regexp 9168 registers. 9169 9170 * ext/strscan/strscan.c: remove useless #include directive. 9171 9172 * ext/strscan/strscan.c: refactor struct strscanner. 9173 9174Thu Mar 28 14:51:38 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9175 9176 * ext/socket/socket.c (sock_addrinfo): should specify socktype 9177 from outside. 9178 9179Wed Mar 27 17:04:30 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9180 9181 * io.c (argf_binmode): should call next_argv() to initialize ARGF. 9182 9183 * io.c (argf_filename): ditto. 9184 9185 * io.c (argf_file): ditto. 9186 9187Wed Mar 27 14:47:32 2002 WATANABE Hirofumi <eban@ruby-lang.org> 9188 9189 * io.c (READ_DATA_PENDING): configure.in has supported for uClibc, 9190 so remove uClibc stuff. 9191 9192Wed Mar 27 13:14:43 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9193 9194 * io.c (rb_io_sysseek): new method based on a patch from Aristarkh 9195 A Zagorodnikov <xm@bolotov-team.ru>. [new] 9196 9197 * io.c (READ_DATA_PENDING): use !feof(fp) for default behavior. 9198 9199Tue Mar 26 20:28:50 2002 Minero Aoki <aamine@loveruby.net> 9200 9201 * lib/net/http.rb: HTTP.get accepts URI. 9202 9203 * lib/net/http.rb: new method HTTP.get_uri. 9204 9205 * lib/net/http.rb: add some HTTP 1.1 response codes. 9206 9207Tue Mar 26 20:25:28 2002 Minero Aoki <aamine@loveruby.net> 9208 9209 * doc/net/protocol.rd.ja, smtp.rd.ja, pop.rd.ja: removed. 9210 9211 * MANIFEST: remove doc/net/* entries. 9212 9213Tue Mar 26 18:45:15 2002 WATANABE Hirofumi <eban@ruby-lang.org> 9214 9215 * configure.in (FILE_READPTR): check bufread instead of bufend 9216 for uClibc. 9217 9218 * ext/extmk.rb.in (arg_config): should use Shellwords::shellwords. 9219 9220Tue Mar 26 01:56:33 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9221 9222 * parse.y (primary): while/until statement modifiers to "begin" 9223 statement now work as "do .. while" even when begin statement 9224 has "rescue" or "ensure" [new]. 9225 9226 * parse.y (bodystmt): rescue/ensure is allowed at every bodies, 9227 i.e. method bodies, begin bodies, class bodies[new], and module 9228 bodies[new]. 9229 9230Mon Mar 25 22:10:04 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9231 9232 * ext/socket/socket.c (sock_addrinfo): should specify ai_socktype 9233 for getaddrinfo hints. 9234 9235Mon Mar 25 17:18:48 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9236 9237 * dir.c (rb_push_glob): local variable 'maxnest' was 9238 uninitialized. 9239 9240Mon Mar 25 16:53:30 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9241 9242 * eval.c (rb_f_abort): embed aborting message into exception 9243 object [new]. 9244 9245 * eval.c (terminate_process): utility function for exit and abort. 9246 9247Tue Mar 26 14:04:47 2002 okabe katsuyuki <HGC02147@nifty.ne.jp> 9248 9249 * win32/mkexports.rb: support VC++.NET. 9250 9251Tue Mar 26 14:00:17 2002 Akinori MUSHA <knu@iDaemons.org> 9252 9253 * ext/bigfloat/bigfloat.c: Fix the initializer's function name 9254 according to the new library name. (pointed out by nobu) 9255 9256Tue Mar 26 11:12:01 2002 Minero Aoki <aamine@loveruby.net> 9257 9258 * lib/fileutils.rb: new file. 9259 9260Tue Mar 26 03:23:50 2002 Tanaka Akira <akr@m17n.org> 9261 9262 * lib/pp.rb (pp): return nil like p. 9263 9264Tue Mar 26 01:48:01 2002 Akinori MUSHA <knu@iDaemons.org> 9265 9266 * ext/bigfloat/extconf.rb: Downcase the library name. (BigFloat.so 9267 -> bigfloat.so) 9268 9269 * ext/bigfloat/bigfloat.c (BigFloat_inspect): Alter the inspect 9270 format not to look like an array. (pointed out by akr) 9271 9272 * ext/bigfloat/bigfloat.c (BigFloat_hash): Implement BigFloat#hash. 9273 9274 * ext/bigfloat/bigfloat.c (BigFloat_dump, BigFloat_load): 9275 Support marshaling. 9276 9277Tue Mar 26 00:38:11 2002 Tanaka Akira <akr@m17n.org> 9278 9279 * configure.in (FILE_READPTR): check _p for 4.4BSD. 9280 9281Mon Mar 25 23:39:25 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9282 9283 * configure.in (FILE_READPTR): new. for IO#gets improvement. 9284 9285 * io.c (READ_DATA_PENDING_PTR): ditto. 9286 9287 * io.c (remain_size): separated from read_all(). 9288 9289 * io.c (read_all): argument changed. 9290 9291 * io.c (appendline): new. get a line and append to string. 9292 9293 * io.c (swallow): new. swallow continuous line delimiters. 9294 9295 * io.c (rb_io_getline_fast): add delimiter argument. 9296 9297 * io.c (rb_io_getline): performance improvement. 9298 9299Mon Mar 25 19:30:25 2002 WATANABE Hirofumi <eban@ruby-lang.org> 9300 9301 * ext/extmk.rb.in (arg_config): get rid of single quotes 9302 for autoconf 2.53. 9303 9304Mon Mar 25 17:49:41 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9305 9306 * regex.c (mbc_startpos_func): VC6 seems to be unable to 9307 understand forward declaration for static variables. 9308 9309 * dir.c (rb_push_glob): local variable 'maxnest' was 9310 uninitialized. 9311 9312Mon Mar 25 13:24:20 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9313 9314 * ext/socket/socket.c (bsock_do_not_rev_lookup_set): should not be 9315 allowed when $SAFE > 3. 9316 9317 * eval.c (rb_thread_ready): THREAD_TO_KILL threads should not turn 9318 into THREAD_RUNNABLE on wakeup. 9319 9320 * eval.c (rb_thread_list): THREAD_TO_KILL threads should be in the 9321 list. 9322 9323 * eval.c (thgroup_list): ditto; by moving gid clearance from 9324 rb_thread_cleanup(). 9325 9326Mon Mar 25 11:06:19 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9327 9328 * dln.c (dln_argv0): unused unless USE_DLN_A_OUT. 9329 9330 * regex.c (mbc_startpos_func): should be static. 9331 9332Sun Mar 24 12:19:09 2002 Koji Arai <jca02266@nifty.ne.jp> 9333 9334 * dir.c (fnmatch): "*/bar" (with FNM_PATHNAME flag) does not 9335 match "foo/bar". 9336 9337Sun Mar 24 00:46:05 2002 WATANABE Hirofumi <eban@ruby-lang.org> 9338 9339 * util.c (push_element): avoid warning for djgpp. 9340 9341Sat Mar 23 01:50:30 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9342 9343 * io.c (read_all): files on /proc filesystem with zero stat size, 9344 may have contents. 9345 9346Fri Mar 22 18:07:29 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9347 9348 * ext/socket/socket.c (tcp_s_gethostbyname): refactored. 9349 9350 * ext/socket/socket.c (sock_s_gethostbyname): ditto. 9351 9352Fri Mar 22 16:46:54 2002 Minero Aoki <aamine@loveruby.net> 9353 9354 * ext/extmk.rb.in: replace mkdir with mkpath to compile racc/cparse. 9355 9356Fri Mar 22 16:22:55 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9357 9358 * the VMS support patch submitted by Akiyoshi, Masamichi 9359 <Masamichi.Akiyoshi@jp.compaq.com> is merged. 9360 9361Fri Mar 22 16:27:24 2002 Minero Aoki <aamine@loveruby.net> 9362 9363 * lib/racc/parser.rb: new file. 9364 9365 * ext/racc/MANIFEST, cparse.c, depend, extconf.rb: new files. 9366 9367 * lib/README: add racc/parser.rb. 9368 9369 * ext/Setup*: add racc/cparse. 9370 9371Fri Mar 22 15:04:03 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9372 9373 * eval.c (exec_under): changing ruby_class is OK, but should not 9374 alter cbase. 9375 9376 * eval.c (yield_under_i): ditto. 9377 9378Fri Mar 22 15:44:38 2002 Minero Aoki <aamine@loveruby.net> 9379 9380 * ext/strscan/MANIFEST, strscan.c, depend, extconf.rb: new files. 9381 9382 * ext/Setup*: add strscan entry. 9383 9384Fri Mar 22 14:32:14 2002 Minero Aoki <aamine@loveruby.net> 9385 9386 * lib/net/protocol.rb: Protocol#start should return self. 9387 9388Fri Mar 22 14:14:21 2002 Tanaka Akira <akr@m17n.org> 9389 9390 * lib/resolv.rb: fix arguments to create exceptions. 9391 Patch from matt@lickey.com. (ruby-bugs:PR#278) 9392 9393Fri Mar 22 13:51:11 2002 Akinori MUSHA <knu@iDaemons.org> 9394 9395 * ext/bigfloat/.cvsignore, ext/bigfloat/MANIFEST: BigFloat 1.1.8 9396 has been imported. Add .cvsignore and MANIFEST. 9397 9398Fri Mar 22 04:07:55 2002 Koji Arai <jca02266@nifty.ne.jp> 9399 9400 * sprintf.c (rb_f_printf): discard meaningless prefix ".." for '%u'. 9401 9402Thu Mar 21 01:11:37 2002 Usaku Nakamura <usa@ruby-lang.org> 9403 9404 * win32/Makefile.sub (config.status): fix install path (prefix). 9405 9406Thu Mar 21 01:03:05 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9407 9408 * ext/configsub.rb: latest autoconf style support. 9409 9410Wed Mar 20 22:16:25 2002 Usaku Nakamura <usa@ruby-lang.org> 9411 9412 * mkconfig.rb: close duplicated $stdout before renaming rbconfig.rb. 9413 9414Wed Mar 20 21:54:17 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9415 9416 * win32/Makefile.sub: made variables configurable. 9417 9418 * win32/Makefile.sub (config.h): updates RUBY_PLATFORM from 9419 Makefile. 9420 9421 * win32/Makefile.sub (config.status): ditto. and use recent 9422 autoconf format. 9423 9424 * win32/Makefile.sub (clean): separate ext and local clean up. 9425 9426 * win32/Makefile.sub (distclean): ditto. 9427 9428 * win32/config.status.in: no longer used. 9429 9430Wed Mar 20 20:12:35 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9431 9432 * variable.c (rb_const_list): a temporary table must be freed. 9433 9434Wed Mar 20 19:44:09 2002 Tanaka Akira <akr@m17n.org> 9435 9436 * mkconfig.rb: don't touch rbconfig.rb if there is a trouble. 9437 9438Wed Mar 20 16:05:37 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9439 9440 * eval.c (is_defined): should check receiver only once. 9441 9442 * eval.c (is_defined): should handle NODE_NEWLINE. 9443 9444Wed Mar 20 11:29:25 2002 Aristarkh A Zagorodnikov <xm@xml-objects.com> 9445 9446 * file.c (rb_file_s_expand_path): memory leak fixed. 9447 9448Wed Mar 20 00:36:43 2002 Akinori MUSHA <knu@iDaemons.org> 9449 9450 * util.c (ruby_getcwd): the content of buf is uncertain and must 9451 not be printed when getcwd(buf, size) has failed. 9452 9453Mon Mar 18 22:19:52 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9454 9455 * ext/stringio/stringio.c (check_modifiable): wrong declaration. 9456 9457Mon Mar 18 18:04:05 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9458 9459 * ext/digest: add depend file. 9460 9461 * ext/digest/md5: ditto. 9462 9463 * ext/digest/rmd160: ditto. 9464 9465 * ext/digest/sha1: ditto. 9466 9467 * ext/digest/sha2: ditto. 9468 9469 * ext/iconv/MANIFEST: ditto. 9470 9471 * ext/stringio/MANIFEST: ditto. 9472 9473 * ext/syslog: ditto. 9474 9475Mon Mar 18 17:18:06 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9476 9477 * eval.c (rb_f_abort): should not bypass cleanup. 9478 9479 * ext/stringio/stringio.c (check_modifiable): void function. 9480 9481Mon Mar 18 12:52:01 2002 WATANABE Hirofumi <eban@ruby-lang.org> 9482 9483 * ext/iconv/extconf.rb: workaround for GNU libiconv. 9484 9485Mon Mar 18 10:55:03 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9486 9487 * parse.y (parse_string): part of multi-byte sequence must not 9488 match to paren. 9489 9490 * parse.y (parse_qstring): ditto. 9491 9492 * parse.y (parse_quotedwords): ditto. 9493 9494 * parse.y (str_extend): handle multi-byte characters. 9495 9496Mon Mar 18 10:31:20 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9497 9498 * enum.c (enum_find): catch a value before recycle. 9499 9500 * enum.c (enum_all): ditto. 9501 9502 * enum.c (enum_any): ditto. 9503 9504 * enum.c (enum_min): ditto. 9505 9506 * enum.c (enum_max): ditto. 9507 9508Sun Mar 17 20:08:04 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9509 9510 * ext/iconv/depend: added. 9511 9512 * ext/stringio/depend: added. 9513 9514Sat Mar 16 22:43:53 2002 WATANABE Hirofumi <eban@ruby-lang.org> 9515 9516 * missing/fileblocks.c: add for autoconf. 9517 9518Sat Mar 16 15:30:40 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9519 9520 * re.c (rb_reg_search): should clear last_match if pos is out of 9521 string range. 9522 9523 * string.c (rb_str_index_m): ditto. 9524 9525 * string.c (rb_str_rindex): ditto. 9526 9527Sat Mar 16 09:04:58 2002 Koji Arai <JCA02266@nifty.ne.jp> 9528 9529 * enum.c (enum_inject): use the first iterated element as the 9530 initial value when omitted. 9531 9532 * enum.c (inject_i): ditto. 9533 9534 * enum.c (Init_Enumerable): Enumerable#inject now takes variable 9535 count arguments. 9536 9537Fri Mar 15 19:47:31 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9538 9539 * win32/win32.c (StartSockets): remove duplicated lines. 9540 9541Fri Mar 15 17:44:08 2002 Usaku Nakamura <usa@ruby-lang.org> 9542 9543 * bignum.c, intern.h (rb_ull2big, rb_ll2big, rb_ull2inum, rb_ll2inum, 9544 big2ull, rb_big2ull, rb_big2ll): use LONG_LONG macro instead of 9545 long long. 9546 9547 * numeric.c, intern.h, ruby.h (rb_num2ll, rb_num2ull): ditto. 9548 9549 * ruby.h: use _I64_MAX and _I64_MIN if they are defined (for VC++). 9550 9551Fri Mar 15 14:02:43 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9552 9553 * ext/iconv/iconv.c: fixed document, Iconv#new is no longer an 9554 iterator. thanks to Tanaka Akira <akr@m17n.org>. 9555 9556Thu Mar 14 22:17:45 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9557 9558 * ext/iconv: imported. 9559 9560Thu Mar 14 16:42:37 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9561 9562 * class.c (rb_define_class): should handle autoload. 9563 9564 * class.c (rb_define_module): ditto. 9565 9566Thu Mar 14 16:18:12 2002 WATANABE Hirofumi <eban@ruby-lang.org> 9567 9568 * configure.in: autoconf 2.53 support. use AC_LIBOBJ. 9569 9570Thu Mar 14 00:29:12 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9571 9572 * re.c (rb_reg_match): should clear $~ if operand is nil. 9573 9574 * re.c (rb_reg_match2): ditto. 9575 9576Thu Mar 14 12:32:59 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9577 9578 * ext/stringio/stringio.c: fixed frozen string bug. ungetc no 9579 longer raises on readonly stream unless modifies actually. 9580 9581Thu Mar 14 08:57:41 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9582 9583 * dir.c (rb_push_glob): avoid SEGV when a block given. 9584 9585Thu Mar 14 00:16:02 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9586 9587 * string.c (rb_str_subpat_set): must make str independent after 9588 rb_reg_search() matched. 9589 9590Wed Mar 13 19:05:15 2002 Akinori MUSHA <knu@iDaemons.org> 9591 9592 * dir.c: FNM_PERIOD is obsoleted and FNM_DOTMATCH is introduced 9593 instead, which has the opposite meaning of FNM_PERIOD. 9594 9595 * dir.c: Dir::glob now accepts optional FNM_* flags via the second 9596 argument, whereas Dir::[] doesn't. 9597 9598Wed Mar 13 18:36:55 2002 Akinori MUSHA <knu@iDaemons.org> 9599 9600 * lib/getopts.rb: single_options can be nil[*], and is not not 9601 optional. ([*]Pointed out by gotoken) 9602 9603Wed Mar 13 17:23:46 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9604 9605 * configure: merge Jonathan Baker's large file support patch 9606 [ruby-talk:35316], with read_all patch in [ruby-talk:35470]. 9607 9608Wed Mar 13 04:06:48 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9609 9610 * eval.c (rb_f_abort): optional message argument that be printed 9611 on termination. 9612 9613Tue Mar 12 17:12:06 2002 Tanaka Akira <akr@m17n.org> 9614 9615 * lib/resolv.rb: don't complete domains for absolute FQNs. 9616 9617Mon Mar 11 23:08:48 2002 Tanaka Akira <akr@m17n.org> 9618 9619 * lib/tsort.rb: new file. 9620 9621Mon Mar 11 21:03:37 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9622 9623 * ext/stringio: new. 9624 9625Mon Mar 11 18:03:37 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9626 9627 * regex.c (re_compile_pattern): '\0111' should be '\011' plus '1', 9628 since octal literals are formed by three digits at most. 9629 9630Mon Mar 11 14:44:38 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9631 9632 * marshal.c (w_object): module inclusion using extend() should 9633 also be detected. 9634 9635 * eval.c (rb_eval_cmd): cbase should not be NULL; it should be 9636 either ruby_wrapper or Object. 9637 9638Sun Mar 10 02:18:22 2002 Koji Arai <jca02266@nifty.ne.jp> 9639 9640 * enum.c (enum_each_with_index): should return self. 9641 9642 * process.c (proc_setpgrp): should return value for non-void function. 9643 9644 * process.c (proc_getpgid): should raise exception if getpgid() return -1. 9645 9646 * string.c (rb_str_ljust): should return a duplicated string. 9647 9648 * string.c (rb_str_rjust): ditto. 9649 9650 * string.c (rb_str_center): ditto. 9651 9652Sat Mar 9 08:45:58 2002 Tanaka Akira <akr@m17n.org> 9653 9654 * ext/socket/extconf.rb (have_struct_member): don't print checked 9655 result. 9656 9657Fri Mar 8 12:19:15 2002 Tanaka Akira <akr@m17n.org> 9658 9659 * lib/resolv.rb: use its own thread group for background threads. 9660 9661Fri Mar 8 02:21:32 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9662 9663 * eval.c (cvar_cbase): utility function to find innermost non 9664 singleton cbase. 9665 9666 * eval.c (is_defined): adopt new cvar behavior. 9667 9668 * eval.c (rb_eval): ditto. 9669 9670 * eval.c (assign): ditto. 9671 9672Thu Mar 7 20:08:25 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9673 9674 * gc.c (rb_source_filename): added. holds unique strings for file 9675 names with GC space. 9676 9677 * gc.c (rb_gc_mark): mark source file name. 9678 9679 * gc.c (gc_sweep): ditto. 9680 9681 * gc.c (Init_GC): initialize source file name table. 9682 9683 * intern.h (rb_source_filename): added. 9684 9685 * eval.c (rb_eval_string): use rb_source_filename(). 9686 9687 * parse.y (yycompile): ditto. 9688 9689 * ruby.c (proc_options): ditto. 9690 9691 * ruby.c (load_file): ditto. 9692 9693 * ruby.c (ruby_script): ditto. 9694 9695 * ruby.c (ruby_prog_init): ditto. 9696 9697Wed Mar 6 17:58:08 2002 WATANABE Hirofumi <eban@ruby-lang.org> 9698 9699 * dln.c (dln_load): use LoadLibrary instead of LoadLibraryEx. 9700 9701Wed Mar 6 16:50:37 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9702 9703 * class.c (rb_mod_clone): should not call rb_obj_clone(), since 9704 Module does not provide "allocate". 9705 9706 * class.c (rb_singleton_class): should create new singleton class 9707 if obj is a class or module and attached object is different, 9708 which means metaclass of singleton class is sought. 9709 9710 * time.c (time_s_alloc): now follows allocation framework. 9711 9712Tue Mar 5 05:56:29 2002 Akinori MUSHA <knu@iDaemons.org> 9713 9714 * lib/getopts.rb: Rewrite to fix some bugs and complete features. 9715 - Accept options with the colon in the first argument; 9716 getopts("a:bcd:") is equivalent to getopts("bc", "a:", "d:"). 9717 - Do not discard the argument that caused an error. 9718 - Do not discard '-', which commonly stands for stdin or stdout. 9719 - Allow specifying a long option with a value using '='. 9720 (command --long-option=value) 9721 - Stop reading options when it meets a non-option argument. 9722 9723Mon Mar 4 13:19:18 2002 Akinori MUSHA <knu@iDaemons.org> 9724 9725 * ext/extmk.rb.in (dir_config): Sync with mkmf.rb: Fix a bug where 9726 --with-xx-{include,lib} is ignored when --with-xx-dir is 9727 specified. 9728 9729Mon Mar 4 00:09:55 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9730 9731 * eval.c (rb_eval): should initialize outer class variables from 9732 methods in singleton class definitions. 9733 9734 * eval.c (assign): ditto. 9735 9736Fri Mar 1 11:29:10 2002 WATANABE Hirofumi <eban@ruby-lang.org> 9737 9738 * ext/socket/{addinfo.h,getaddrinfo.c} (gai_strerror): add const 9739 qualifier only for uClibc. 9740 9741Fri Mar 1 11:22:51 2002 Amos Gouaux <amos+ruby@utdallas.edu> 9742 9743 * lib/net/imap.rb: added document. 9744 9745 * lib/net/imap.rb (getquotaroot): new method. 9746 9747 * lib/net/imap.rb (setacl): remove the rights if the rights 9748 parameter is nil. 9749 9750 * lib/net/imap.rb (getacl): return an array of MailboxACLItem. 9751 9752Fri Mar 1 06:25:49 2002 Tanaka Akira <akr@m17n.org> 9753 9754 * ext/socket/extconf.rb (have_struct_member): new method. 9755 check msg_control and msg_accrights in struct msghdr. check 9756 sys/uio.h. 9757 9758 * ext/socket/socket.c: include sys/uio.h if available. 9759 (thread_read_select): new function. 9760 (unix_send_io): ditto. 9761 (unix_recv_io): ditto. 9762 (unix_s_socketpair): ditto. 9763 (Init_socket): define UNIXSocket#send_io, UNIXSocket#recv_io, 9764 UNIXSocket.socketpair and UNIXSocket.pair. 9765 9766 * dln.c (dln_load): fix typo. 9767 9768Wed Feb 27 16:30:50 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9769 9770 * eval.c (rb_mod_include): load modules in argument order. 9771 9772 * st.c (st_init_table_with_size): num_bins should be prime numbers 9773 (no decrement). 9774 9775 * st.c (rehash): ditto. 9776 9777Wed Feb 27 13:18:49 2002 WATANABE Hirofumi <eban@ruby-lang.org> 9778 9779 * io.c (READ_DATA_PENDING): uClibc support. 9780 9781 * random.c (rand_init): ditto. 9782 9783 * ext/socket/{addinfo.h,getaddrinfo.c} (gai_strerror): ditto. 9784 9785Wed Feb 27 07:05:17 2002 Akinori MUSHA <knu@iDaemons.org> 9786 9787 * ext/digest/sha2/sha2.c: Merge from rough. Fix a couple of 9788 off-by-one errors in Aaron Gifford's code. 9789 9790 Obtained from: KAME via FreeBSD 9791 KAME PR: 393 9792 FreeBSD PR: kern/34242 9793 9794Wed Feb 27 03:36:47 2002 Koji Arai <jca02266@nifty.ne.jp> 9795 9796 * ext/dbm/dbm.c (fdbm_select): 1.7 behavior. 9797 9798 * ext/gdbm/gdbm.c (fgdbm_select): ditto. 9799 9800 * ext/sdbm/sdbm.c (fsdbm_select): ditto. 9801 9802 * ext/dbm/dbm.c (fdbm_delete): adopt Hash#delete behavior. 9803 9804 * ext/sdbm/sdbm.c (fsdbm_delete): ditto. 9805 9806 * ext/gdbm/gdbm.c: need not to dup key to the block. 9807 9808 * ext/sdbm/sdbm.c : replace RuntimeError with SDBMError. 9809 9810Tue Feb 26 21:34:07 2002 Usaku Nakamura <usa@ruby-lang.org> 9811 9812 * bignum.c (rb_big_2comp): void function cannot return any value. 9813 9814Tue Feb 26 16:52:12 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9815 9816 * eval.c (rb_f_missing): NoMethod error messages for true, false, 9817 nil must respond visibility like for other objects. 9818 9819Tue Feb 26 15:41:30 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9820 9821 * eval.c (rb_eval): call trace_func for if/while conditions. 9822 9823 * marshal.c (r_object): separate r_regist from proc calling. 9824 9825Tue Feb 26 11:25:50 2002 akira yamada <akira@arika.org> 9826 9827 * lib/uri/generic.rb: merge0 should return [oth, oth] if oth is 9828 absolute URI. 9829 9830 * lib/uri/generic.rb: registry part must not be allowed for any 9831 schemes for the Internet. (RFC2396, section 3.2.2 and 3.2.1.) 9832 9833Mon Feb 25 21:22:41 2002 Akinori MUSHA <knu@iDaemons.org> 9834 9835 * ext/syslog/syslog.c: Merge from rough. Use SafeStringValue(). 9836 9837Mon Feb 25 21:12:08 2002 Akinori MUSHA <knu@iDaemons.org> 9838 9839 * ext/syslog/syslog.c: Merge from rough. Turn Syslog into a 9840 module keeping backward compatibility intact. 9841 9842Mon Feb 25 19:35:48 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9843 9844 * sample/test.rb (system): test with scripts under the source 9845 directory. 9846 9847Mon Feb 25 15:14:01 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9848 9849 * eval.c (method_inspect): should not dump core for unbound 9850 singleton methods. 9851 9852 * object.c (rb_mod_to_s): better description. 9853 9854Mon Feb 25 13:32:13 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9855 9856 * lib/shell.rb (Shell::expand_path): relative to @cwd. 9857 9858Mon Feb 25 06:30:11 2002 Koji Arai <jca02266@nifty.ne.jp> 9859 9860 * hash.c (env_select): should path the assoc list. 9861 9862Sun Feb 24 17:20:22 2002 Akinori MUSHA <knu@iDaemons.org> 9863 9864 * ext/digest/*/*.h: Merge from rough. 9865 - Avoid namespace pollution. (MD5_* -> rb_Digest_MD5_*, etc.) 9866 9867Sat Feb 23 21:12:13 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9868 9869 * process.c (rb_syswait): thread kludge; should be fixed to 9870 support native thread. 9871 9872Fri Feb 22 21:20:53 2002 Minero Aoki <aamine@loveruby.net> 9873 9874 * lib/net/protocol.rb: set read_timeout dynamically. 9875 9876 * lib/net/http.rb: @@newimpl is always true in the main trunk. 9877 9878 * lib/net/http.rb: HTTP.port -> default_port 9879 9880 * lib/net/http.rb: HTTPResponse.read_response_status -> 9881 read_status_line 9882 9883Fri Feb 22 19:56:15 2002 Usaku Nakamura <usa@ruby-lang.org> 9884 9885 * win32/config.status.in: set LIBRUBY_SO. 9886 9887Fri Feb 22 03:34:38 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9888 9889 * bignum.c (get2comp): need to specify to carry or not. 9890 9891 * io.c (rb_io_inspect): embed path info. 9892 9893Fri Feb 22 11:30:01 2002 Tanaka Akira <akr@m17n.org> 9894 9895 * lib/prettyprint.rb: FillGroup implemented. 9896 9897Thu Feb 21 21:40:18 2002 Usaku Nakamura <usa@ruby-lang.org> 9898 9899 * ext/extmk.rb.in (create_makefile): remove unnecessary -L option from 9900 LIBS macro. 9901 9902Thu Feb 21 02:49:12 2002 Koji Arai <jca02266@nifty.ne.jp> 9903 9904 * pack.c (pack_pack): wrong # comment treatment. 9905 9906 * pack.c (pack_unpack): ditto. 9907 9908Wed Feb 20 15:15:03 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 9909 9910 * intern.h: prototypes; rb_io_addstr(), rb_io_printf(), 9911 rb_io_print(), rb_io_puts() 9912 9913 * io.c (rb_io_addstr): make extern. 9914 9915 * io.c (rb_io_printf): ditto. 9916 9917 * io.c (rb_io_print): ditto. 9918 9919 * io.c (rb_io_puts): ditto. 9920 9921Wed Feb 20 13:41:35 2002 Usaku Nakamura <usa@ruby-lang.org> 9922 9923 * io.c (rb_io_close): return Qnil. 9924 9925Wed Feb 20 12:41:59 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 9926 9927 * hash.c (rb_any_cmp): should handle Qundef in keys. 9928 9929 * eval.c (remove_method): should not remove a empty method to 9930 implement "undef". 9931 9932 * eval.c (rb_eval): should allow singleton class def for 9933 true/false/nil. 9934 9935Tue Feb 19 21:43:32 2002 Minero Aoki <aamine@loveruby.net> 9936 9937 * lib/net/protocol.rb: rename Protocol.port to default_port. 9938 9939 * lib/net/smtp.rb: ditto. 9940 9941 * lib/net/pop.rb: ditto. 9942 9943 * lib/net/http.rb: ditto. 9944 9945 * lib/net/protocol.rb: rename BufferedSocket class to 9946 InternetMessageIO. 9947 9948 * lib/net/smtp.rb: ditto. 9949 9950 * lib/net/pop.rb: ditto. 9951 9952 * lib/net/http.rb: ditto. 9953 9954 * lib/net/protocol.rb: rename InternetMessageIO#write_pendstr to 9955 write_message. 9956 9957 * lib/net/smtp.rb: ditto. 9958 9959 * lib/net/protocol.rb: new method 9960 InternetMessageIO#through_message. 9961 9962 * lib/net/smtp.rb: ditto. 9963 9964 * lib/net/protocol.rb: rename InternetMessageIO#read_pendstr to 9965 read_message_to. 9966 9967 * lib/net/pop.rb: ditto. 9968 9969 * lib/net/protocol.rb: rename InternetMessageIO#read_pendlist to 9970 each_list_item 9971 9972 * lib/net/pop.rb: ditto. 9973 9974 * lib/net/protocol.rb: Now block size is 1024. 9975 9976 * lib/net/smtp.rb: new methods SMTP#esmtp? and #esmtp=. 9977 9978 * lib/net/http.rb: Using singleton method syntax instead of 9979 singleton class clause, to avoid behavior change of class 9980 variables in ruby 1.7. 9981 9982 * lib/net/http.rb: HTTPResponse class does not inherit from 9983 Net::Response. 9984 9985 * lib/net/http.rb: divide HTTP#connecting into 9986 {begin,end}_transport. 9987 9988 * lib/net/http.rb: unused class Accumulator removed. 9989 9990 * lib/net/http.rb: Net::HTTP reads response. not HTTPRequest. 9991 9992 * lib/net/http.rb: proxy related class-instance-variables are not 9993 initialized correctly. 9994 9995Tue Feb 19 20:20:12 2002 Ed Sinjiashvili <edsin@swes.saren.ru> 9996 9997 * parse.y (str_extend): backslash escape was done wrong. 9998 9999Tue Feb 19 17:10:25 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10000 10001 * file.c (path_check_1): do not fail on world writable *parent* 10002 directories too. 10003 10004Tue Feb 19 15:51:41 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10005 10006 * file.c (path_check_1): do not warn on world writable *parent* 10007 directories. 10008 10009 * class.c (rb_include_module): should preserve ancestor order in 10010 the included class/module. 10011 10012Tue Feb 19 14:45:32 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10013 10014 * file.c (path_check_1): should check directory sticky bits. 10015 10016 * process.c (security): need not to warn twice. 10017 10018 * marshal.c (r_object): complete restoration before calling 10019 r_regist(). 10020 10021Tue Feb 19 14:24:36 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10022 10023 * parse.y (yylex): operators in the "op" rule should make 10024 lex_state EXPR_ARG on EXPR_FNAME and EXPR_DOT. 10025 10026Tue Feb 19 13:38:10 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10027 10028 * eval.c (rb_eval_string_wrap): should hide the toplevel local 10029 variable bindings by PUSH_SCOPE(). 10030 10031Tue Feb 19 13:21:51 2002 WATANABE Hirofumi <eban@ruby-lang.org> 10032 10033 * regex.c: fix prototypes of xmalloc(), xcalloc() and xrealloc(). 10034 10035Tue Feb 19 13:16:08 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10036 10037 * io.c (rb_io_ungetc): don't fail pushed EOF back. 10038 10039Mon Feb 18 20:48:40 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10040 10041 * pack.c (pack_pack): avoid infinite loop at comment. 10042 10043 * pack.c (pack_unpack): ditto. 10044 10045Mon Feb 18 14:06:28 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10046 10047 * misc/ruby-mode.el (ruby-block-hanging-re): rescue block was too 10048 indented. 10049 10050Mon Feb 18 13:56:44 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10051 10052 * parse.y (expr_value, arg_value, primary_value): value_expr() 10053 check in place. 10054 10055 * eval.c (block_pass): "&nil" should clear block given. 10056 10057Mon Feb 18 02:05:56 2002 Wolfgang Jahrling <wolfgang@pro-linux.de> 10058 10059 * dir.c (push_braces): remove MAXPATHLEN dependency. 10060 10061 * dir.c (dir_s_globd): ditto. 10062 10063 * dln.c (init_funcname): ditto. 10064 10065 * dln.c (load_1): ditto. 10066 10067 * dln.c (dln_load): ditto. 10068 10069 * configure.in: add GNU/Hurd switches. 10070 10071Fri Feb 15 17:44:26 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10072 10073 * pack.c (pack_pack): allows comment in template strings. 10074 10075 * pack.c (pack_unpack): ditto. 10076 10077Sun Feb 17 23:41:37 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10078 10079 * mkconfig.rb (Config::expand): expand ${} too. 10080 10081 * ext/extmk.rb.in (try_link0): expand command. 10082 10083 * ext/extmk.rb.in (try_cpp): ditto. 10084 10085 * ext/extmk.rb.in (extmake): default $LIBPATH to $libdir 10086 10087Sun Feb 17 21:39:24 2002 Tetsuya Watanabe <tetsuya.watanabe@nifty.com> 10088 10089 * ext/digest/md5/md5init.c (Init_md5): rb_cvar_declare() is 10090 replaced by rb_cvar_set(). 10091 10092 * ext/digest/rmd160/rmd160init.c (Init_rmd160): ditto. 10093 10094 * ext/digest/sha1/sha1init.c (Init_sha1): ditto. 10095 10096 * ext/digest/sha2/sha2init.c (Init_sha2): ditto. 10097 10098Sun Feb 17 18:10:09 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10099 10100 * class.c (rb_define_class): warn unless superclass is specified 10101 explicitly. 10102 10103 * class.c (rb_define_class_under): ditto. 10104 10105Thu Feb 16 02:11:08 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10106 10107 * misc/ruby-mode.el (ruby-font-lock-keywords): fontify 10108 instance/class/global variables start with '_'. 10109 10110Fri Feb 15 14:40:38 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10111 10112 * eval.c (rb_eval): replace rb_cvar_declare() by rb_cvar_set(). 10113 10114 * eval.c (assign): ditto. 10115 10116 * variable.c (rb_cvar_set): 4th argument (warn) added; define new 10117 class variable if it's not defined yet. 10118 10119 * variable.c (rb_cvar_declare): removed. 10120 10121Fri Feb 15 13:36:58 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10122 10123 * bignum.c (rb_big_rshift): should properly convert the negative 10124 value to 2's compliment. 10125 10126Thu Feb 14 17:38:35 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10127 10128 * parse.y: avoid SEGV at OP_ASIGN to pseudo variable. 10129 10130Thu Feb 14 14:13:16 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10131 10132 * struct.c (Init_Struct): should undefine "allocate" for Struct 10133 class (it's redefined in the subclasses). 10134 10135Wed Feb 13 17:58:12 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10136 10137 * parse.y (stmt): local variable declaration order was changed 10138 since 1.6 10139 10140 * parse.y (arg): ditto. 10141 10142 * pack.c (pack_pack): add templates 'q' and 'Q'. 10143 10144 * pack.c (pack_unpack): ditto. 10145 10146 * bignum.c (rb_quad_pack): new utility function. 10147 10148 * bignum.c (rb_quad_unpack): ditto. 10149 10150Tue Feb 12 01:21:34 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10151 10152 * parse.y (assignable): should emit CVASGN within the method 10153 body. 10154 10155Mon Feb 11 06:13:53 2002 Matt Armstrong <matt@lickey.com> 10156 10157 * dir.c (dir_s_glob): should not warn even if no match found. 10158 10159Mon Feb 11 04:25:54 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10160 10161 * eval.c (rb_eval): clean up class variable behavior. 10162 10163 * eval.c (assign): ditto. 10164 10165 * eval.c (is_defined): ditto. 10166 10167 * variable.c (rb_mod_class_variables): need not to call rb_cvar_singleton(). 10168 10169 * variable.c (rb_cvar_singleton): removed. 10170 10171Mon Feb 11 00:10:41 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10172 10173 * regex.c (re_compile_fastmap): skip begpos. 10174 10175Sun Feb 10 16:52:53 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10176 10177 * ruby.c (load_file): avoid SEGV on '#' only input. 10178 10179Fri Feb 8 23:07:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10180 10181 * eval.c (rb_eval): singleton check should be moved from yycompile 10182 to here. 10183 10184 * eval.c (is_defined): check should be added here too. 10185 10186Fri Feb 8 05:31:48 2002 Minero Aoki <aamine@loveruby.net> 10187 10188 * lib/net/http.rb: HTTP.Proxy should use self for proxy-class's 10189 super class. 10190 10191 * lib/net/http.rb: initialize HTTP.proxy_port by HTTP.port. 10192 10193Fri Feb 8 01:27:33 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10194 10195 * parse.y (yycompile): should inherit "in_single" if eval happened 10196 in a singleton method. 10197 10198 * eval.c (rb_eval): class variables from singleton methods defined 10199 within singleton class statement should work like ones defined 10200 by singleton def statements. 10201 10202Thu Feb 7 13:44:08 2002 akira yamada <akira@arika.org> 10203 10204 * uri/common.rb (URI::join): new method. 10205 10206 * uri/generic.rb (Generic#merge): URI.parse("http://a/")+"b" should 10207 return "http://a/b" but it returned "http://a//b". 10208 10209 * uri/generic.rb (Generic#check_path): corrected error message, 10210 @path -> v 10211 10212Thu Feb 7 00:18:43 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10213 10214 * io.c (io_write): flag when buffered write is done. 10215 10216 * io.c (fptr_finalize): do not raise error on EBADF if write 10217 buffer is empty. 10218 10219Wed Feb 6 17:18:54 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10220 10221 * configure.in: keep old config.h unless changed. 10222 10223Wed Feb 6 13:28:53 2002 Amos Gouaux <amos+ruby@utdallas.edu> 10224 10225 * lib/net/imap.rb: OpenSSL support. 10226 10227 * lib/net/imap.rb (setquota): unset quota if the second argument 10228 is nil. 10229 10230Wed Feb 6 13:05:11 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10231 10232 * io.c (rb_io_readlines): avoid calling GetOpenFile() repeatedly. 10233 10234 * io.c (rb_io_each_line): ditto. 10235 10236 * io.c (argf_getline): ditto. 10237 10238 * process.c: should include <time.h> to get proper CLK_TCK. 10239 10240Wed Feb 6 02:10:30 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10241 10242 * io.c (fptr_finalize): ignore EBADF when f and f2 use same 10243 descriptor. 10244 10245Tue Feb 5 16:17:20 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10246 10247 * io.c (fptr_finalize): should raise error when fclose fails. 10248 10249 * eval.c (method_inspect): proper output format to distinguish 10250 methods and singleton methods. 10251 10252Mon Feb 4 22:44:58 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10253 10254 * file.c (rb_file_s_expand_path): should terminate. 10255 10256Mon Feb 4 15:38:29 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10257 10258 * object.c (rb_class_real): should not follow ICLASS link 10259 10260 * variable.c (classname): should follow ICLASS link explicitly. 10261 10262 * eval.c (rb_call): ditto. 10263 10264Fri Feb 1 19:10:04 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10265 10266 * intern.h: prototypes for new functions; rb_cstr_to_inum(), 10267 rb_str_to_inum(), rb_cstr_to_dbl(), rb_str_to_dbl() 10268 10269 * bignum.c (rb_cstr_to_inum): changed from rb_cstr2inum(), and 10270 added argument badcheck to be consistent with parser. [new] 10271 10272 * bignum.c (rb_str_to_inum): ditto. 10273 10274 * bignum.c (rb_cstr2inum): wrapper of rb_cstr_to_inum() now. 10275 10276 * bignum.c (rb_str2inum): ditto. 10277 10278 * object.c (rb_cstr_to_dbl): float number parser. [new] 10279 10280 * object.c (rb_str_to_dbl): ditto. 10281 10282 * object.c (rb_Float): use rb_cstr_to_dbl() for strict check. 10283 10284 * object.c (rb_Integer): use rb_str_to_inum() for strict check. 10285 10286 * string.c (rb_str_to_f): use rb_str_to_dbl() with less check. 10287 10288 * string.c (rb_str_to_i): use rb_str_to_inum() with less check. 10289 10290 * string.c (rb_str_hex): ditto. 10291 10292 * string.c (rb_str_oct): ditto. 10293 10294 * sprintf.c (rb_f_sprintf): ditto. 10295 10296 * time.c (obj2long): ditto. 10297 10298 * parse.y (yylex): use rb_cstr_to_inum() for strict check. 10299 10300Fri Feb 1 17:46:39 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10301 10302 * regex.c (mbc_startpos): become macro. 10303 10304 * regex.c (euc_startpos): added for improvement. 10305 10306 * regex.c (sjis_startpos): ditto. 10307 10308 * regex.c (utf8_startpos): ditto. 10309 10310Fri Feb 1 00:03:30 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10311 10312 * file.c (rb_stat_inspect): print dev, rdev in hexadecimal. 10313 10314Thu Jan 31 20:45:33 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10315 10316 * lib/mkmf.rb (dir_config): prior --with flag. 10317 10318 * lib/mkmf.rb (arg_config): avoid special variables for 10319 font-lock-mode. 10320 10321Thu Jan 31 13:22:36 2002 Tanaka Akira <akr@m17n.org> 10322 10323 * lib/pp.rb (File::Stat#pretty_print): print rdev_major and rdev_minor. 10324 10325Wed Jan 30 15:58:04 2002 K.Kosako <kosako@sofnec.co.jp> 10326 10327 * regex.c (re_adjust_startpos): fix for SJIS and UTF-8. 10328 10329 * regex.c (mbc_startpos): ditto. 10330 10331Wed Jan 30 13:37:05 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10332 10333 * re.c (rb_reg_search): should set regs.allocated. 10334 10335Wed Jan 30 02:25:38 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10336 10337 * regex.c (re_adjust_startpos): search start of multibyte 10338 backward. 10339 10340 * regex.c (mbc_startpos): ditto. 10341 10342Tue Jan 29 17:59:20 2002 Tanaka Akira <akr@m17n.org> 10343 10344 * file.c: `major' and `minor' macro needs sys/mkdev.h on SunOS 5.x. 10345 10346 * configure.in: add check for `sys/mkdev.h'. 10347 10348 * lib/pp.rb: don't print a mode File::Stat as decimal number. 10349 10350Mon Jan 28 19:16:58 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10351 10352 * array.c (rb_ary_fill): shouldn't yield unless block given. 10353 10354Mon Jan 28 18:33:18 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10355 10356 * parse.y (yylex): strict check for numbers. 10357 10358Mon Jan 28 18:01:01 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10359 10360 * file.c (rb_stat_rdev_major): added. [new] 10361 10362 * file.c (rb_stat_rdev_minor): added. [new] 10363 10364 * file.c (rb_stat_inspect): print mode in octal. 10365 10366Mon Jan 28 13:29:41 2002 K.Kosako <kosako@sofnec.co.jp> 10367 10368 * eval.c (is_defined): defined?(Foo::Baz) should check constants 10369 only, no methods. 10370 10371 * eval.c (is_defined): should not dump core on defined?(a::b) 10372 where a is not a class nor a module. 10373 10374Mon Jan 28 02:50:12 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10375 10376 * object.c (Init_Object): remove dup and clone from TrueClass, 10377 FalseClass, and NilClass. 10378 10379 * array.c (rb_ary_fill): Array#fill takes block to get the value to 10380 fill. 10381 10382Sat Jan 26 20:05:18 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10383 10384 * string.c (rb_str_to_i): to_i(0) auto-detects base radix. 10385 10386 * array.c (rb_ary_initialize): fill by the block evaluation value 10387 if block is given. 10388 10389Fri Jan 25 17:48:43 2002 WATANABE Hirofumi <eban@ruby-lang.org> 10390 10391 * configure.in (solaris): add '-shared' only for GNU ld. 10392 10393Fri Jan 25 17:16:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10394 10395 * class.c (rb_include_module): detect cyclic module inclusion. 10396 10397Fri Jan 25 02:17:56 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10398 10399 * eval.c (rb_thread_cleanup): need not to free thread stacks at 10400 process termination. 10401 10402 * array.c (rb_ary_fetch): use the block to get the default value 10403 if the block is given. 10404 10405 * eval.c (rb_thread_schedule): should check time only if BOTH 10406 WAIT_SELECT and WAIT_TIME. 10407 10408Thu Jan 24 11:49:05 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10409 10410 * eval.c (umethod_bind): should update rklass field. 10411 10412 * hash.c (rb_hash_update): if a block is given, yields [key, 10413 value1, value2] to the block to resolve conflict. 10414 10415Thu Jan 24 05:42:01 2002 Koji Arai <jca02266@nifty.ne.jp> 10416 10417 * string.c (rb_str_split_m): no need to consider KANJI 10418 characters, if the length of separator is 1 (byte). 10419 10420Wed Jan 23 16:07:31 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10421 10422 * array.c (Init_Array): remove Array#filter. 10423 10424Wed Jan 23 13:27:44 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10425 10426 * eval.c (rb_yield_0): restore source file/line after yield. 10427 10428Wed Jan 23 02:00:14 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10429 10430 * object.c (rb_mod_initialize): should accept zero argument. 10431 10432 * object.c (rb_mod_cmp): should raise ArgumentError if 10433 inheritance/inclusion relation between two classes/modules is 10434 not defined. [new] 10435 10436Tue Jan 22 17:45:23 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10437 10438 * io.c (rb_io_fsync): new method. [new] 10439 10440Mon Jan 21 22:57:18 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10441 10442 * signal.c (ruby_signal): must define sighandler_t for every 10443 occasion. 10444 10445Mon Jan 21 08:25:30 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10446 10447 * eval.c (ruby_stop): should not trace error handler. 10448 10449 * signal.c (install_sighandler): do not install sighandler unless 10450 the old value is SIG_DFL. 10451 10452 * io.c (io_write): should not raise exception on O_NONBLOCK io. 10453 10454 * dir.c (dir_set_pos): seek should return dir, pos= should not. 10455 10456Sat Jan 19 02:31:45 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10457 10458 * eval.c (rb_eval): need not to clear method cache for NODE_CLASS, 10459 NODE_SCLASS. 10460 10461 * gc.c (obj_free): need not to clear method cache on class/module 10462 finalization. 10463 10464Fri Jan 18 23:38:03 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10465 10466 * array.c (rb_ary_fetch): index out of range raises exception 10467 unless optional second argument is specified. 10468 10469Fri Jan 18 17:32:09 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10470 10471 * io.c (rb_io_s_new): block check moved from initialize to this 10472 method. 10473 10474 * io.c (rb_io_s_open): open should call initialize too. IO#for_fd 10475 also calls initialize. [new] 10476 10477Fri Jan 18 10:26:33 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10478 10479 * error.c (rb_sys_fail): replace INT2FIX() by INT2NUM() since 10480 errno value may not fit in Fixnum size on Hurd. 10481 10482 * error.c (set_syserr): ditto. 10483 10484Fri Jan 18 10:12:00 2002 Usaku Nakamura <usa@ruby-lang.org> 10485 10486 * ext/socket/socket.c (tcp_svr_s_open): fix typo. 10487 10488Fri Jan 18 02:27:48 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10489 10490 * dir.c (dir_s_glob): returns nil if block given. 10491 10492 * io.c (rb_io_each_byte): should return self. 10493 10494 * io.c (rb_io_close_m): close check added. 10495 10496 * dir.c (dir_seek): should return pos. 10497 10498Fri Jan 18 01:21:53 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10499 10500 * parse.y (fixpos): orig may be (NODE*)1, which should not be 10501 dereferenced. 10502 10503Thu Jan 17 16:21:42 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10504 10505 * eval.c (block_pass): allow "retry" from within argument passed 10506 block. [new] 10507 10508 * eval.c (localjump_error): should preserve exit status in the 10509 exception object. [new] 10510 10511 * eval.c (proc_invoke): should raise exception for "break" if it's 10512 yielding, not calling. [new] 10513 10514 * eval.c (block_pass): should NOT raise exception for "break". [new] 10515 10516 * eval.c (block_pass): should allow block argument relay even in 10517 the tainted mode. 10518 10519Thu Jan 17 09:43:05 2002 TAKAHASHI Kaoru <kaoru@kaisei.org> 10520 10521 * misc/ruby-mode.el (ruby-add-log-current-method): New function 10522 for `add-log-current-defun-function'. 10523 10524Thu Jan 17 04:51:48 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10525 10526 * ext/socket/socket.c: support subclassing by proper "initialize" 10527 calling convention. [new] 10528 10529Wed Jan 16 18:25:08 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10530 10531 * st.c: primes should be primes. 10532 10533Wed Jan 16 12:29:14 2002 Tanaka Akira <akr@m17n.org> 10534 10535 * lib/timeout.rb (timeout): new optional argument to specify an 10536 exception class. 10537 10538 * lib/resolv.rb: use Resolv::ResolvTimeout for internal timeout to 10539 avoid problem with timeout of application. 10540 10541Wed Jan 16 11:12:30 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10542 10543 * object.c (rb_Float): remove underscores between digits. 10544 10545 * bignum.c (rb_cstr2inum): reject prefix followed by spaces only. 10546 10547 * class.c (rb_class_inherited): should use Object when no super 10548 class. 10549 10550Tue Jan 15 01:11:44 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10551 10552 * eval.c (is_defined): method defined? check should honor 10553 protected too. 10554 10555Mon Jan 14 13:06:02 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10556 10557 * eval.c (block_pass): should not pass tainted block, if $SAFE > 0. 10558 10559Sun Jan 13 09:31:41 2002 Koji Arai <jca02266@nifty.ne.jp> 10560 10561 * variable.c (rb_mod_remove_cvar): should pass the char*. 10562 10563Fri Jan 11 05:06:25 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10564 10565 * class.c (rb_make_metaclass): [new] 10566 10567 * class.c (rb_define_class_id): use rb_make_metaclass(), don't 10568 call Class#inherited hook. 10569 10570 * class.c (rb_class_inherited): [new] 10571 10572 * class.c (rb_define_class): call Class#inherited hook here. 10573 10574 * class.c (rb_define_class_under): ditto after class path is set. 10575 10576 * class.c (rb_singleton_class): use rb_make_metaclass(). 10577 10578 * eval.c (rb_eval): same as rb_define_class_under(). 10579 10580 * intern.h: prototypes of rb_make_metaclass() and 10581 rb_class_inherited(). 10582 10583 * object.c (rb_class_s_new): use rb_make_metaclass() and 10584 rb_class_inherited(). 10585 10586 * object.c (Init_Object): use rb_make_metaclass(). 10587 10588 * struct.c (make_struct): use rb_class_inherited(). 10589 10590Thu Jan 10 19:15:15 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10591 10592 * eval.c (rb_add_method): should clear cache by id always. 10593 10594 * eval.c (rb_disable_super): no longer need to clear cache before 10595 rb_add_method(). 10596 10597 * eval.c (rb_export_method): ditto. 10598 10599 * eval.c (rb_attr): ditto. 10600 10601 * eval.c (rb_undef): ditto. 10602 10603 * eval.c (rb_eval): ditto. 10604 10605 * eval.c (rb_mod_modfunc): ditto. 10606 10607 * eval.c (rb_mod_define_method): ditto. 10608 10609Thu Jan 10 11:42:47 2002 Usaku Nakamura <usa@ruby-lang.org> 10610 10611 * win32/resource.rb: Modify copyright in resource script. 10612 10613Thu Jan 10 07:15:44 2002 takuma ozawa <metal@mine.ne.jp> 10614 10615 * re.c (match_select): should propagate taintness. 10616 10617Thu Jan 10 00:54:57 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10618 10619 * hash.c (rb_hash_set_default): Hash#default= should return the 10620 new value. 10621 10622Wed Jan 9 20:21:09 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10623 10624 * misc/ruby-mode.el (ruby-calculate-indent): indentation after 10625 comment at beginning of buffer failed. 10626 10627 * misc/ruby-mode.el (font-lock-defaults): unless XEmacs, set 10628 font-lock variables in ruby-mode-hook. 10629 10630Tue Jan 8 15:56:20 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10631 10632 * string.c (rb_str_to_i): accepts optional base argument. [new] 10633 10634 * numeric.c (rb_fix2str): should not handle negative fixnum values 10635 int32 via calling sprintf() directly. 10636 10637Tue Jan 8 15:54:02 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10638 10639 * eval.c (rb_add_method): clear replaced method from the cache. 10640 10641Mon Jan 7 12:38:47 2002 Tanaka Akira <akr@m17n.org> 10642 10643 * lib/time.rb (Time#xmlschema): new optional argument 10644 fractional_seconds to specify a number of digits of 10645 fractional part of the time. 10646 10647Sat Jan 5 13:18:11 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10648 10649 * range.c (range_member): beginning check was 10650 wrong. [ruby-talk:30252] 10651 10652Sat Jan 5 03:07:34 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10653 10654 * string.c (rb_str_new2): NULL pointer check added. 10655 10656Sat Jan 5 00:19:12 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10657 10658 * parse.y (yycompile): strdup()'ed twice. 10659 10660Fri Jan 4 18:29:10 2002 Michal Rokos <m.rokos@sh.cvut.cz> 10661 10662 * class.c (rb_define_module_under): should locate predefined 10663 module using rb_const_defined_at(). 10664 10665Fri Jan 4 17:23:49 2002 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10666 10667 * misc/ruby-mode.el (ruby-forward-string): forward a string. [new] 10668 10669 * misc/ruby-mode.el (ruby-parse-region): handle nested parentheses 10670 in a string and terminators in #{}. 10671 10672 * misc/ruby-mode.el (ruby-calculate-indent): ditto. 10673 10674Wed Jan 2 23:34:25 2002 WATANABE Hirofumi <eban@ruby-lang.org> 10675 10676 * lib/mkmf.rb (create_makefile): add -I. to CPPFLAGS. 10677 10678 * lib/mkmf.rb (create_makefile): srcdir support(.def and depend file). 10679 10680Wed Jan 2 11:51:56 2002 Yukihiro Matsumoto <matz@ruby-lang.org> 10681 10682 * process.c (rb_f_system): abandon vfork. 10683 10684 * io.c (pipe_open): ditto. 10685 10686Tue Jan 1 02:16:48 2002 WATANABE Hirofumi <eban@ruby-lang.org> 10687 10688 * ext/curses/extconf.rb: add dir_config. 10689 10690 * Makefile.in (fake.rb): set RUBY_VERSION. 10691 10692Mon Dec 31 14:20:46 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10693 10694 * parse.y (yycompile): always store copy of filename. 10695 10696 * parse.y (rb_compile_file): no longer need to strdup() here. 10697 10698Mon Dec 31 05:26:40 2001 Ferris McCormick <fmccor@inforead.com> 10699 10700 * defines.h: sparc linux needs different FLUSH_REGISTER_WINDOWS 10701 10702Mon Dec 31 04:27:28 2001 Minero Aoki <aamine@mx.edit.ne.jp> 10703 10704 * lib/net/protocol.rb: Protocol#start returns the return value of 10705 block. 10706 10707 * lib/net/protocol.rb: set timeout limit by default. 10708 10709 * lib/net/protocol.rb: new methods WriteAdapter#write, puts, 10710 print, printf. 10711 10712 * lib/net/http.rb: rename HTTP#get2 to request_get, post2 to 10713 request_post ... 10714 10715 * lib/net/smtp.rb: should not resolve HELO domain automatically. 10716 10717Sun Dec 30 00:59:16 2001 WATANABE Hirofumi <eban@ruby-lang.org> 10718 10719 * ext/extmk.rb.in, lib/mkmf.rb (have_library): accept -lm 10720 unconditionally on mswin32/mingw32. 10721 10722Sat Dec 29 01:55:42 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 10723 10724 * regex.c (re_search): abandon stclass optimization. 10725 10726Fri Dec 28 14:39:05 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10727 10728 * array.c (rb_cmpint): fixed typo. 10729 10730Thu Dec 27 18:43:04 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10731 10732 * bignum.c (rb_cstr2inum): deny "0_". 10733 10734Thu Dec 27 01:54:02 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10735 10736 * bignum.c (rb_cstr2inum): allow "0\n" and so on. 10737 10738Wed Dec 26 19:24:21 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 10739 10740 * error.c (rb_invalid_str): utility function to show inspect()'ed 10741 string. 10742 10743 * bignum.c (rb_cstr2inum): prints invalid strings in inspect()'ed 10744 format. 10745 10746 * object.c (rb_Float): ditto. 10747 10748Wed Dec 26 02:41:29 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 10749 10750 * object.c (rb_convert_type): no longer use rb_rescue(). 10751 10752Tue Dec 25 18:32:16 2001 K.Kosako <kosako@sofnec.co.jp> 10753 10754 * re.c (rb_reg_search): initialize taint status of match object. 10755 10756Tue Dec 25 02:37:49 2001 Tanaka Akira <akr@m17n.org> 10757 10758 * lib/pp.rb, lib/prettyprint.rb: new files. 10759 10760Tue Dec 25 02:11:17 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 10761 10762 * object.c (rb_convert_type): check method response check before 10763 invoking rb_rescue(). 10764 10765 * object.c (rb_check_convert_type): ditto. 10766 10767Mon Dec 24 02:37:40 2001 Le Wang <lewang@bigfoot.com> 10768 10769 * misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): 10770 fix font-lock problem [ruby-talk:29296]. 10771 10772Sat Dec 22 22:52:14 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 10773 10774 * time.c (time_timeval): wrong cast to time_t. 10775 10776 * time.c (time_plus): ditto. 10777 10778Fri Dec 21 20:33:34 2001 K.Kosako <kosako@sofnec.co.jp> 10779 10780 * parse.y (str_extend): make up "#$;" handling. 10781 10782Fri Dec 21 16:18:17 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10783 10784 * dln.h, ruby.h, util.h: enable prototypes in C++. 10785 10786Fri Dec 21 15:12:41 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 10787 10788 * time.c (time_plus): result should not be negative unless 10789 NEGATIVE_TIME_T is defined. 10790 10791 * time.c (time_new_internal): should check tv_sec overflow too. 10792 10793 * time.c (time_timeval): should check time_t range when time is 10794 initialized from float. 10795 10796 * time.c (time_plus): uses modf(3). 10797 10798Fri Dec 21 03:15:52 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10799 10800 * eval.c (rb_mod_define_method): must not convert Method to Proc. 10801 10802Fri Dec 21 01:17:57 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10803 10804 * lib/mkmf.rb (with_destdir): new. 10805 10806 * lib/mkmf.rb: prefix target directories with $(DESTDIR) all. 10807 10808 * lib/mkmf.rb: no need to mkdir $(libdir) 10809 10810Thu Dec 20 14:08:20 2001 Minero Aoki <aamine@loveruby.net> 10811 10812 * lib/net/protocol.rb: rename Net::Socket to Net::BufferedSocket 10813 10814Thu Dec 20 13:51:52 2001 K.Kosako <kosako@sofnec.co.jp> 10815 10816 * variable.c (rb_cvar_set): add frozen class/module check. 10817 10818 * variable.c (rb_cvar_declare): add frozen class/module check. 10819 10820Thu Dec 20 01:01:50 2001 takuma ozawa <metal@mine.ne.jp> 10821 10822 * re.c (match_to_a): should propagate taint. 10823 10824 * re.c (rb_reg_s_quote): ditto. 10825 10826Wed Dec 19 16:58:29 2001 Shugo Maeda <shugo@ruby-lang.org> 10827 10828 * ext/readline/readline.c: new methods 10829 Readline::basic_word_break_characters, 10830 Readline::basic_word_break_characters=, 10831 Readline::completer_word_break_characters, 10832 Readline::completer_word_break_characters=, 10833 Readline::basic_quote_characters, 10834 Readline::basic_quote_characters=, 10835 Readline::completer_quote_characters, 10836 Readline::completer_quote_characters=, 10837 Readline::filename_quote_characters, 10838 Readline::filename_quote_characters=. 10839 10840Wed Dec 19 14:05:00 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 10841 10842 * eval.c (rb_mod_define_method): define_method should follow 10843 default method visibility. 10844 10845 * eval.c (rb_attr): should warn if the default method visibility 10846 is "module_function" (can be error). 10847 10848 * eval.c (rb_mod_define_method): should define class/module method 10849 also if the visibility is "module_function". 10850 10851 * eval.c (rb_mod_define_method): should call hook method 10852 "method_added", and "singleton_method_added". 10853 10854Wed Dec 19 11:42:13 2001 K.Kosako <kosako@sofnec.co.jp> 10855 10856 * string.c: use RESIZE_CAPA for capacity change. 10857 10858Wed Dec 19 03:08:40 2001 Tanaka Akira <akr@m17n.org> 10859 10860 * lib/time.rb: date.rb is not required anymore. 10861 10862 * lib/resolv.rb: fix document. refine IPv6 regex. 10863 10864Tue Dec 18 23:24:53 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 10865 10866 * ext/socket/socket.c (Init_socket): add listen method to 10867 TCPServer and UNIXServer. 10868 10869Tue Dec 18 17:54:53 2001 WATANABE Hirofumi <eban@ruby-lang.org> 10870 10871 * sample/test.rb: Hash#indexes -> Hash#select. 10872 10873Tue Dec 18 01:02:13 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 10874 10875 * eval.c (rb_thread_schedule): should not select a thread which is 10876 not yet initialized. 10877 10878Mon Dec 17 18:53:49 2001 K.Kosako <kosako@sofnec.co.jp> 10879 10880 * string.c (rb_str_replace): swap arguments of OBJ_INFECT. 10881 10882Mon Dec 17 16:52:20 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 10883 10884 * intern.h: add prototypes. 10885 rb_gc_enable(), rb_gc_disable(), rb_gc_start(), rb_str_new5() 10886 rb_str_buf_append(), rb_str_buf_cat(), rb_str_buf_cat2(), 10887 rb_str_dup_frozen() 10888 10889 * ruby.h: added declaration. 10890 rb_defout, rb_stdin, rb_stdout, rb_stderr, ruby_errinfo 10891 10892 * rubyio.h: changed double include guard macro to RUBYIO_H. 10893 10894 * array.c (inspect_call): make static. 10895 10896 * eval.c (dvar_asgn): ditto. 10897 10898 * io.c (rb_io_close_read): ditto. 10899 10900 * lex.c (rb_reserved_word): ditto. 10901 10902 * ruby.c: (req_list_head, req_list_last): ditto. 10903 10904 * ruby.c (require_libraries): ditto. 10905 10906Mon Dec 17 15:41:24 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 10907 10908 * time.c (time_plus): wrong boundary check. 10909 10910 * time.c (time_minus): ditto. 10911 10912Mon Dec 17 15:19:32 2001 Tanaka Akira <akr@m17n.org> 10913 10914 * time.c: new method `gmtoff', `gmt_offset' and `utc_offset'. 10915 (time_utc_offset): new function. 10916 (Init_Time): bind above methods to `time_utc_offset'. 10917 10918 * time.c: 64bit time_t support. 10919 (time_s_at): use NUM2LONG instead of NUM2INT for tv_sec. 10920 (time_arg): initialize tm_isdst correctly. 10921 use long to initialize tm_year. 10922 (search_time_t): renamed from `make_time_t'. 10923 (make_time_t): call `timegm' and `mktime' instead of `search_time_t' 10924 if available. 10925 (time_to_i): use LONG2NUM instead of INT2NUM. 10926 (time_localtime): check localtime failure. 10927 (time_gmtime): check gmtime failure. 10928 (time_year): use LONG2NUM instead of INT2FIX. 10929 (time_to_a): use long for tm_year. 10930 (time_dump): check tm_year which is not representable with 17bit. 10931 (time_load): initialize tm_isdst. 10932 10933 * configure.in: check existence of `mktime' and `timegm'. 10934 check existence of tm_gmtoff field of struct tm. 10935 fix negative time_t for 64bit time_t. 10936 10937 * missing/strftime.c: fix overflow by tm_year + 1900. 10938 10939 * lib/time.rb: use Time#utc_offset. 10940 10941Mon Dec 17 00:02:04 2001 Guy Decoux <ts@moulon.inra.fr> 10942 10943 * variable.c (find_class_path): should initialize iv_tbl if it's 10944 NULL. 10945 10946Fri Dec 14 04:23:36 2001 Minero Aoki <aamine@loveruby.net> 10947 10948 * lib/net/pop.rb: new method Net::POP3.APOP 10949 10950 * lib/net/http.rb: set default Content-Type to 10951 x-www-form-urlencoded (causes warning) 10952 10953 * lib/net/protocol.rb: remove Net::NetPrivate module. 10954 10955 * lib/net/smtp.rb: ditto. 10956 10957 * lib/net/pop.rb: ditto. 10958 10959 * lib/net/http.rb: ditto. 10960 10961Fri Dec 14 00:16:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 10962 10963 * class.c (rb_define_class): should return the existing class if 10964 the class is already defined and its superclass is identical to 10965 the specified superclass. 10966 10967 * class.c (rb_define_class_under): ditto. 10968 10969 * class.c (rb_define_module): should return the existing module if 10970 the module is already defined. 10971 10972Thu Dec 13 09:52:59 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 10973 10974 * time.c (time_new_internal): avoid loop to calculate negative 10975 div, mod. 10976 10977 * time.c (time_cmp): should handle Bignums. 10978 10979Tue Dec 11 17:39:16 2001 K.Kosako <kosako@sofnec.co.jp> 10980 10981 * array.c (rb_ary_pop): should ELTS_SHARED flag check before 10982 REALLOC. 10983 10984Tue Dec 11 12:45:28 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 10985 10986 * string.c (rb_str_match_m): should convert an argument into 10987 regexp if it's a string. 10988 10989Tue Dec 11 03:40:23 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 10990 10991 * array.c (rb_ary_select): Array#select(n,m,...) now works like 10992 Array#indexes(n,m,..). [new, experimental] 10993 10994 * hash.c (rb_hash_select): ditto. 10995 10996 * hash.c (env_select): ditto. 10997 10998 * re.c (match_select): ditto. 10999 11000 * struct.c (rb_struct_select): ditto. 11001 11002Tue Dec 11 03:17:19 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 11003 11004 * object.c (rb_class_real): follow included modules. 11005 11006Mon Dec 10 23:37:51 2001 Usaku Nakamura <usa@ruby-lang.org> 11007 11008 * util.h: change prototype of ruby_qsort() to accord with its 11009 definition. 11010 11011Mon Dec 10 20:30:01 2001 K.Kosako <kosako@sofnec.co.jp> 11012 11013 * gc.c (STR_ASSOC): use FL_USER3 instead of FL_USER2. 11014 11015Mon Dec 10 17:40:02 2001 K.Kosako <kosako@sofnec.co.jp> 11016 11017 * parse.y (str_extend): make up pushback call. 11018 11019Mon Dec 10 02:09:28 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11020 11021 * array.c (rb_ary_modify): should copy the internal buffer if the 11022 modifying buffer is shared. 11023 11024 * array.c (ary_make_shared): make an internal buffer of an array 11025 to be shared. 11026 11027 * array.c (rb_ary_shift): avoid sliding an internal buffer by 11028 using shared buffer. 11029 11030 * array.c (rb_ary_subseq): avoid copying the buffer. 11031 11032Mon Dec 10 01:06:56 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11033 11034 * parse.y (gettable): should freeze __FILE__ string. 11035 11036Sun Dec 9 18:06:26 2001 Minero Aoki <aamine@loveruby.net> 11037 11038 * lib/net/protocol.rb: calls on_connect before conn_command 11039 11040Sat Dec 8 23:27:44 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11041 11042 * io.c (rb_io_puts): old behavior restored. rationale: a) if you 11043 want to call to_s for arrays, you can just call print a, "\n". 11044 b) to_s wastes memory if array (and sum of its contents) is 11045 huge. c) now any object that has to_ary is treated as an array, 11046 using rb_check_convert_type(). 11047 11048Sat Dec 8 22:40:38 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11049 11050 * hash.c (rb_hash_initialize): now accepts a block to calculate 11051 the default value. [new] 11052 11053 * hash.c (rb_hash_aref): call "default" method to get the value 11054 corresponding to the non existing key. 11055 11056 * hash.c (rb_hash_default): get the default value based on the 11057 block given to 'new'. Now it takes an optional "key" argument. 11058 "default" became the method to get the value for non existing 11059 key. Users may override "default" method to change the hash 11060 behavior. 11061 11062 * hash.c (rb_hash_set_default): clear the flag if a block is given 11063 to 'new' 11064 11065Sat Dec 8 02:29:54 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11066 11067 * object.c (Init_Object): undef Data.allocate, left Data.new. 11068 11069Fri Dec 7 19:12:14 2001 Minero Aoki <aamine@loveruby.net> 11070 11071 * lib/net/smtp.rb: SMTP.new requires at least one arg. 11072 11073 * lib/net/pop.rb: POP.new requires at least one arg. 11074 11075 * lib/net/pop.rb: uses "raise *Error.new" instead of simple raise. 11076 11077 * lib/net/http.rb: HTTP.new requires at least one arg. 11078 11079 * lib/net/http.rb: changes implicit start algorithm. 11080 11081Fri Dec 7 15:49:39 2001 Usaku Nakamura <usa@ruby-lang.org> 11082 11083 * ext/extmk.rb.in: ignore adding -Wl,-R to DLDFLAGS when the directory 11084 is $topdir. 11085 11086Fri Dec 7 13:58:58 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11087 11088 * ext/curses/curses.c (window_scrollok): use RTEST(). 11089 11090 * ext/curses/curses.c (window_idlok): ditto. 11091 11092 * ext/curses/curses.c (window_keypad): ditto. 11093 11094 * ext/curses/curses.c (window_idlok): idlok() may return void on 11095 some platforms; so don't use return value. 11096 11097 * ext/curses/curses.c (window_scrollok): ditto for consistency. 11098 11099 * ext/curses/curses.c: replace FIX2INT() by typechecking NUM2INT(). 11100 11101Fri Dec 7 09:51:00 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11102 11103 * parse.y (str_extend): should not process immature #$x and 11104 #@x interpolation, e.g #@#@ etc. 11105 11106Fri Dec 7 03:21:18 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11107 11108 * enum.c (enum_sort_by): sort_by does not have to be stable always. 11109 11110 * enum.c (enum_sort_by): call qsort directly to gain performance. 11111 11112Thu Dec 6 18:52:28 2001 Usaku Nakamura <usa@ruby-lang.org> 11113 11114 * ext/extmk.rb.in: add -Wl,-R flags to DLDFLAGS on netbsdelf. 11115 11116 * lib/mkmf.rb: ditto. 11117 11118Thu Dec 6 09:15:14 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11119 11120 * util.c (ruby_qsort): ruby_qsort(qs6) is now native thread safe. 11121 11122 * error.c (rb_sys_fail): it must be a bug if it's called when 11123 errno == 0. 11124 11125Wed Dec 5 23:36:56 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11126 11127 * regex.c (WC2MBC1ST): should not pass through > 0x80 number in UTF-8. 11128 11129Wed Dec 5 20:05:18 2001 Florian Frank <flori@ping.de> 11130 11131 * ext/socket/socket.c (bsock_send): should raise EWOULDBLOCK 11132 exception. 11133 11134 * ext/socket/socket.c (s_recvfrom): ditto. 11135 11136 * ext/socket/socket.c (s_accept): ditto. 11137 11138 * ext/socket/socket.c (udp_send): ditto. 11139 11140Tue Dec 4 17:43:10 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11141 11142 * ruby.h (DUPSETUP): new SETUP macro for duplication. 11143 11144 * time.c (time_dup): implement in Time class using DUPSETUP. 11145 11146 * time.c (time_getlocaltime): new method; probably requires 11147 better name than getlocaltime. [new,experimental] 11148 11149 * time.c (time_getgmtime): ditto. 11150 11151 * array.c (rb_ary_dup): uses DUPSETUP. 11152 11153 * string.c (rb_str_dup): uses DUPSETUP. now properly copies 11154 instance variables too. 11155 11156Tue Dec 4 03:49:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11157 11158 * io.c (io_fread): EAGAIN/EWOULDBLOCK should not terminate and 11159 throw away the input. 11160 11161 * time.c (time_new_internal): underflow adjustment must not use 11162 negative div/mod. 11163 11164 * time.c (time_cmp): should consider tv_usec on non Fixnum number 11165 comparison. 11166Sun Dec 9 23:00:54 2001 Keiju Ishitsuka <keiju@ishitsuka.com> 11167 * matrix.rb: Vector#* bug. reported from Massimiliano Mirra 11168 <info@chromatic-harp.com>. 11169 11170Sun Dec 9 22:15:59 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 11171 11172 * enum.c (enum_sort_by): should replace with last elements. 11173 11174Mon Dec 3 16:06:57 2001 WATANABE Hirofumi <eban@ruby-lang.org> 11175 11176 * ext/socket/extconf.rb: remove -L/usr/local/lib. 11177 11178 * configure.in: add -Wl,-export-dynamic on NetBSD. 11179 11180Mon Dec 3 16:04:16 2001 Usaku Nakamura <usa@ruby-lang.org> 11181 11182 * configure.in: not use X11BASE, since it's not always set. 11183 11184Mon Dec 3 13:53:49 2001 Tanaka Akira <akr@m17n.org> 11185 11186 * time.c (rb_strftime): buffer length condition was wrong. 11187 11188 * time.c (time_strftime): should backup buf to the original 11189 buffer. 11190 11191Mon Dec 3 09:59:08 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11192 11193 * time.c (time_plus): must detect result overflow. 11194 11195 * time.c (time_minus): ditto. 11196 11197 * time.c (time_new_internal): round usec overflow and underflow 11198 here. 11199 11200 * time.c (time_plus): move operand overflow/underflow check to 11201 time_new_internal(). 11202 11203 * time.c (time_minus): ditto. 11204 11205 * time.c (time_cmp): should consider tv_usec too. 11206 11207Mon Dec 3 03:32:22 2001 Usaku Nakamura <usa@ruby-lang.org> 11208 11209 * configure.in: apply patch from NetBSD's pkgsrc (patch-aa). 11210 11211Sun Dec 2 22:01:52 2001 WATANABE Hirofumi <eban@ruby-lang.org> 11212 11213 * configure.in: use GCC, not without_gcc. remove without_gcc. 11214 11215 * ext/curses/extconf.rb: check for curses.h. 11216 11217 * ext/dbm/extconf.rb: check if $CFLAGS includes DBM_HDR. 11218 11219Sat Dec 1 12:13:20 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11220 11221 * time.c (time_gmtime): time_modify() should be called even if tm 11222 struct is not calculated yet. 11223 11224Fri Nov 30 17:02:55 2001 WATANABE Hirofumi <eban@ruby-lang.org> 11225 11226 * configure.in: set target_cpu to i386 on cygwin and mingw32. 11227 11228 * configure.in: default --enable-shared to yes on cygwin and mingw32. 11229 11230Fri Nov 30 00:25:28 2001 Usaku Nakamura <usa@ruby-lang.org> 11231 11232 * README.EXT: Appendix B is duplicated. 11233 11234 * README.EXT.ja: ditto. 11235 11236Thu Nov 29 00:28:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11237 11238 * string.c (rb_str_equal): object with to_str must be treated as a 11239 string. 11240 11241Wed Nov 28 18:46:28 2001 Ville Mattila <mulperi@iki.fi> 11242 11243 * eval.c (rb_thread_select): should subtract timeofday() from 11244 limit, not reverse. 11245 11246Wed Nov 28 16:03:28 2001 K.Kosako <kosako@sofnec.co.jp> 11247 11248 * util.c (scan_hex): x is not a hexadecimal digit. 11249 11250Wed Nov 28 13:38:04 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11251 11252 * eval.c (rb_thread_schedule): should treat the case that 11253 select(2) returns 0, if a thread is under both WAIT_SELECT and 11254 WAIT_TIME. Jakub Travnik <J.Travnik@sh.cvut.cz> actually fixed 11255 this bug. 11256 11257Tue Nov 27 02:15:25 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11258 11259 * marshal.c (w_float): must distinguish -0.0 from 0.0. 11260 11261Mon Nov 26 20:57:24 2001 Akinori MUSHA <knu@iDaemons.org> 11262 11263 * ext/Setup*, ext/syslog/*: import the "syslog" module from the 11264 rough ruby project. 11265 11266Mon Nov 26 16:14:42 2001 K.Kosako <kosako@sofnec.co.jp> 11267 11268 * gc.c (gc_mark_all): tweak mark order for little bit better scan. 11269 11270 * gc.c (rb_gc_mark): ditto. 11271 11272 * gc.c (rb_gc): ditto. 11273 11274Mon Nov 26 16:54:59 2001 Usaku Nakamura <usa@ruby-lang.org> 11275 11276 * win32/win32.c (mypopen): fixed that mypclose() didn't really close 11277 pipe. 11278 11279 * win32/win32.c (CreateChild): set STARTF_USESTDHANDLES flag only 11280 when some handles are passed. 11281 11282Mon Nov 26 16:31:28 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11283 11284 * enum.c (sort_by_i): slight performance boost. 11285 11286Sun Nov 25 21:02:18 2001 Usaku Nakamura <usa@ruby-lang.org> 11287 11288 * parse.y (str_extend): change types of second and third arguments 11289 from char to int. 11290 11291Thu Nov 22 20:15:28 2001 TAMURA Takashi <sheepman@tcn.zaq.ne.jp> 11292 11293 * gc.c (gc_mark_rest): should call gc_mark_children(), not gc_mark(). 11294 11295 * gc.c (rb_gc_mark): may cause infinite loop. 11296 11297Thu Nov 22 00:28:13 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11298 11299 * parse.y (str_extend): should check nesting parentheses in #{}. 11300 11301Wed Nov 21 12:22:52 2001 Shugo Maeda <shugo@ruby-lang.org> 11302 11303 * lib/cgi.rb: CGI#header: do not set Apache.request.status for 11304 Location: if Apache.request.status is already set. 11305 11306Wed Nov 21 02:24:18 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11307 11308 * process.c (pst_wstopsig): returns nil unless WIFSTOPPED() is 11309 non-zero. 11310 11311 * process.c (pst_wtermsig): returns nil unless WIFSIGNALED() is 11312 non-zero. 11313 11314 * process.c (pst_wexitstatus): returns nil unless WIFEXITED() is 11315 non-zero. 11316 11317Wed Nov 21 00:17:54 2001 Ville Mattila <mulperi@iki.fi> 11318 11319 * eval.c (rb_thread_select): tv_sec and tv_usec should not be 11320 negative. 11321 11322 * signal.c (posix_signal): do not set SA_RESTART for SIGVTALRM. 11323 11324Tue Nov 20 21:09:22 2001 Guy Decoux <ts@moulon.inra.fr> 11325 11326 * parse.y (call_args2): block_arg may follow the first argument in 11327 call_args2. 11328 11329Tue Nov 20 02:01:15 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11330 11331 * eval.c (stack_check): should avoid stack length check during 11332 raising SystemStackError exception. 11333 11334Tue Nov 20 01:07:13 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11335 11336 * parse.y (str_extend): should not terminate string interpolation 11337 with newlines in here-docs and newline terminated strings. 11338 11339Mon Nov 19 17:58:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11340 11341 * eval.c (rb_mod_modfunc): should follow NODE_ZSUPER link; based 11342 on Guy Decoux's patch in [ruby-talk:25478]. 11343 11344Mon Nov 19 16:09:33 2001 Tanaka Akira <akr@m17n.org> 11345 11346 * string.c (rb_str_succ): there was buffer overrun. 11347 11348Mon Nov 19 14:14:58 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11349 11350 * parse.y (str_extend): term can be any character. 11351 11352Mon Nov 19 04:58:42 2001 Wakou Aoyama <wakou@fsinet.or.jp> 11353 11354 * lib/cgi.rb (header): support for Apache. thanks to 11355 Shugo Maeda <shugo@ruby-lang.org>. 11356 11357Sun Nov 18 19:37:55 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 11358 11359 * parse.y: needless conditionals. 11360 11361 * parse.y (parse_regx): parse error at unterminated regex /#{. 11362 (ruby-bugs-ja:PR#142) 11363 11364Sat Nov 17 12:37:39 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11365 11366 * pack.c (pack_unpack): should give length to utf8_to_uv(). 11367 11368 * pack.c (utf8_to_uv): add length check. 11369 11370Sat Nov 17 01:41:52 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11371 11372 * massages: replace "wrong #" by "wrong number". 11373 11374 * marshal.c (w_float): output Infinity and NaN explicitly. 11375 11376 * marshal.c (r_object): support new explicit float format. 11377 11378 * eval.c (rb_thread_wait_for): select may cause ERESTART on 11379 Solaris. 11380 11381 * eval.c (rb_thread_select): ditto. 11382 11383Thu Nov 15 15:29:39 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 11384 11385 * array.c (rb_ary_join): non-nil separator must be converted to 11386 String. and separators' total length was wrong. 11387 11388Thu Nov 15 03:37:17 2001 Usaku Nakamura <usa@ruby-lang.org> 11389 11390 * hash.c (ruby_setenv): remove USE_WIN32_RTL_ENV block since it's 11391 obsoleted. 11392 11393 * win32/win32.c, win32/win32.h: sort out #if 0 - #endif or others. 11394 11395Thu Nov 15 00:07:12 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11396 11397 * array.c (rb_ary_to_s): if rb_output_fs is nil, insert newlines 11398 between array elements (use rb_default_rs as newline literal) 11399 [experimental]. 11400 11401Wed Nov 14 15:16:23 2001 K.Kosako <kosako@sofnec.co.jp> 11402 11403 * gc.c (init_mark_stack): no need to clear mark_stack. 11404 11405 * gc.c (gc_mark_all): need to handle finalizer mark. 11406 11407 * gc.c (gc_mark_rest): use MEMCPY instead of memcpy. 11408 11409 * gc.c (rb_gc_mark): earlier const check to avoid pusing special 11410 constants into mark stack. 11411 11412Wed Nov 14 01:12:07 2001 Usaku Nakamura <usa@ruby-lang.org> 11413 11414 * win32/win32.c (waitpid): fix wait count. 11415 11416 * win32/win32.c (poll_child_status): rename from wait_child(). 11417 11418Wed Nov 14 01:33:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11419 11420 * numeric.c (fix_to_s): 'to_s' now takes optional argument to 11421 specify radix. [new] 11422 11423 * bignum.c (rb_big_to_s): ditto. [new] 11424 11425Tue Nov 13 19:50:30 2001 WATANABE Hirofumi <eban@ruby-lang.org> 11426 11427 * configure.in: do not override CC if set. 11428 11429Tue Nov 13 16:49:16 2001 Usaku Nakamura <usa@ruby-lang.org> 11430 11431 * win32/win32.c (mypopen): return error status instead of calling 11432 rb_sys_fail(). 11433 11434 * win32/win32.c (do_spawn): ditto. 11435 11436Tue Nov 13 14:39:11 2001 WATANABE Tetsuya <tetsu@jpn.hp.com> 11437 11438 * signal.c (sighandle): should not re-register sighandler if 11439 POSIX_SIGNAL is defined. 11440 11441Tue Nov 13 12:55:59 2001 Usaku Nakamura <usa@ruby-lang.org> 11442 11443 * win32/win32.c (do_spawn): use CreateChild() instead of calling 11444 CreateProcess() directly. Original patches comes from Patrick Cheng. 11445 11446 * win32/win32.c (mypopen): ditto. 11447 11448 * win32/win32.c (mypclose): use rb_syswait() instead of waiting in this 11449 function. 11450 11451 * win32/win32.c (waitpid): use wait_child() instead of _cwait(). 11452 11453 * win32/win32.c (CreateChild): added. [new] 11454 11455 * win32/win32.c (wait_child): added. [new] 11456 11457 * win32/win32.c (FindFirstChildSlot): added. [new] 11458 11459 * win32/win32.c (FindChildSlot): added. [new] 11460 11461 * win32/win32.c (FindPipedChildSlot): added. [new] 11462 11463 * win32/win32.c (CloseChildHandle): added. [new] 11464 11465 * win32/win32.c (FindFreeChildSlot): added. [new] 11466 11467Tue Nov 13 12:38:12 2001 Usaku Nakamura <usa@ruby-lang.org> 11468 11469 * hash.c (envix): use GET_ENVIRON and FREE_ENVIRON to get environment 11470 variables list. 11471 11472 * hash.c (env_keys): ditto. 11473 11474 * hash.c (env_each_key): ditto. 11475 11476 * hash.c (env_values): ditto. 11477 11478 * hash.c (env_keys): ditto. 11479 11480 * hash.c (env_each_value): ditto. 11481 11482 * hash.c (env_each): ditto. 11483 11484 * hash.c (env_inspect): ditto. 11485 11486 * hash.c (env_to_a): ditto. 11487 11488 * hash.c (env_size): ditto. 11489 11490 * hash.c (env_empty_p): ditto. 11491 11492 * hash.c (env_has_value): ditto. 11493 11494 * hash.c (env_index): ditto. 11495 11496 * hash.c (env_to_hash): ditto. 11497 11498 * win32/win32.c (win32_getenv): use static buffer. 11499 11500 * win32/win32.c, win32/win32.h (win32_get_environ): get environment 11501 variables list. [new] 11502 11503 * win32/win32.c, win32/win32.h (win32_free_environ): free environment 11504 variables list. [new] 11505 11506Mon Nov 12 16:48:48 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11507 11508 * eval.c (error_print): errat array may be empty. 11509 11510Mon Nov 12 01:30:37 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11511 11512 * eval.c (rb_eval_cmd): should not upgrade safe level unless 11513 explicitly specified by argument newly added. 11514 11515 * signal.c (sig_trap): should not allow tainted trap closure. 11516 11517 * variable.c (rb_f_trace_var): should not allow trace_var on safe 11518 level higher than 3. 11519 11520 * variable.c (rb_f_trace_var): should not allow tainted trace 11521 closure. 11522 11523Sun Nov 11 00:12:23 2001 TAMURA Takashi <sheepman@tcn.zaq.ne.jp> 11524 11525 * gc.c: do not use static stack until system stack overflows. 11526 11527Sat Nov 10 03:57:09 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11528 11529 * eval.c (eval): should call Exception#exception instead of 11530 calling rb_exc_new3() directly. 11531 11532 * error.c (exc_exception): set "mesg" directly to the clone. it 11533 might be better to set mesg via some method for flexibility. 11534 11535Sat Nov 10 00:14:24 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11536 11537 * variable.c (cvar_override_check): should print original module 11538 name, if 'a' is T_ICLASS. 11539 11540 * parse.y (yylex): float '1_.0' should not be allowed. 11541 11542 * variable.c (var_getter): should care about var as Qfalse 11543 (ruby-bugs#PR199). 11544 11545Fri Nov 9 13:50:06 2001 Usaku Nakamura <usa@ruby-lang.org> 11546 11547 * win32/config.status.in: make CFLAGS same as Makefile's one. 11548 11549Thu Nov 8 20:20:37 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 11550 11551 * eval.c (rb_trap_eval): avoid annoying warning with signal. 11552 [ruby-talk:23225] 11553 11554 * eval.c (rb_call0): adjust caller source file/line while 11555 evaluating optional arguments. 11556 11557Thu Nov 8 18:41:58 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11558 11559 * array.c (cmpint): <=> or block for {min,max} may return bignum. 11560 11561 * array.c (sort_1): use rb_compint. 11562 11563 * array.c (sort_2): ditto. 11564 11565 * enum.c (min_ii): ditto. 11566 11567 * enum.c (min_ii): ditto. 11568 11569 * enum.c (max_i): ditto. 11570 11571 * enum.c (max_ii): ditto. 11572 11573Thu Nov 8 18:21:02 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11574 11575 * file.c (path_check_1): forgot to initialize 'p'. 11576 11577Thu Nov 8 14:52:15 2001 Tanaka Akira <akr@m17n.org> 11578 11579 * mkconfig.rb: use String#dump to generate Ruby string literal. 11580 11581Thu Nov 8 15:46:54 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11582 11583 * range.c (range_eql): should override 'eql?' 11584 11585 * array.c (rb_ary_hash): should override 'hash' too. 11586 11587Tue Nov 6 14:38:48 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11588 11589 * process.c (security): always give warning for insecure PATH. 11590 11591 * dir.c (my_getcwd): do not rely on MAXPATHLEN. 11592 11593 * file.c (rb_file_s_readlink): ditto. 11594 11595 * file.c (path_check_1): ditto. 11596 11597Tue Nov 6 14:17:14 2001 Amos Gouaux <amos+ruby@utdallas.edu> 11598 11599 * lib/net/imap.rb (getquota_response): use astring for mailbox 11600 names. 11601 11602 * lib/net/imap.rb (getacl_response): ditto. 11603 11604Mon Nov 5 17:09:55 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11605 11606 * eval.c (rb_yield_0): should not call rb_f_block_given_p(). 11607 11608Sat Nov 3 23:33:18 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11609 11610 * string.c (rb_str_chomp_bang): should terminate string by NUL. 11611 11612Sat Nov 3 22:28:51 2001 Keiju Ishitsuka <keiju@ishitsuka.com> 11613 11614 * matrix.rb (Matrix#column_vectors, Matrix#row_vectors): ditto bug. 11615 this bug report and fix by tsutomu@nucba.ac.jp. 11616 11617 * forwardable.rb: change raise to Kernel::raise 11618 11619Sat Nov 3 10:11:57 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11620 11621 * eval.c (rb_yield_0): better error message. 11622 11623Thu Nov 1 14:08:42 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11624 11625 * bignum.c (rb_big_aref): idx may be a Bignum. 11626 11627 * numeric.c (fix_aref): negative index must return zero. 11628 11629Thu Nov 1 13:23:50 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11630 11631 * gc.c (gc_mark_children): should NOT treat last element of 11632 structs and arrays specially. 11633 11634Wed Oct 31 16:59:25 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11635 11636 * eval.c (exec_under): should initialize ruby_frame->self; 11637 11638Wed Oct 31 15:09:28 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11639 11640 * eval.c (POP_VARS): should not set DVAR_DONT_RECYCLE if _old 11641 ruby_vars is already force_recycled. 11642 11643Wed Oct 31 10:28:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11644 11645 * gc.c (rb_gc): handles mark stack overflow. 11646 11647 * gc.c (PUSH_MARK): use static mark stack, no more recursion. 11648 11649Wed Oct 31 02:44:06 2001 Wakou Aoyama <wakou@fsinet.or.jp> 11650 11651 * lib/cgi.rb: CGI::Cookie::parse(): Ignore duplicate keys caused by 11652 Netscape bug. 11653 11654Tue Oct 30 18:21:51 2001 Usaku Nakamura <usa@ruby-lang.org> 11655 11656 * win32/mkexports.rb: follow the change of rb_io_puts(). 11657 11658Tue Oct 30 14:04:04 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11659 11660 * string.c (rb_str_chomp_bang): do smart chomp if $/ == '\n'. [new] 11661 11662 * io.c (rb_io_puts): don't treat Array specially. 11663 11664 * bignum.c (rb_big_cmp): should convert bignum to float. 11665 11666 * eval.c (rb_f_eval): can't modify untainted binding. 11667 11668Mon Oct 29 16:08:30 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11669 11670 * regex.c (re_compile_pattern): should preserve p0 value. 11671 11672Mon Oct 29 14:56:44 2001 Usaku Nakamura <usa@ruby-lang.org> 11673 11674 * intern.h (rb_protect_inspect): follow the change of array.c. 11675 11676 * eval.c (rb_exec_end_proc): follow the change of rb_protect(). 11677 11678 * eval.c (method_proc, umethod_proc, rb_catch): cast the first 11679 parameter of rb_iterate() to avoid VC++ warning. 11680 11681 * range.c (range_step): ditto. 11682 11683 * ext/sdbm/init.c (fsdbm_update, fsdbm_replace): ditto. 11684 11685Mon Oct 29 07:57:31 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11686 11687 * parse.y (str_extend): should allow interpolation of $-x. 11688 11689 * variable.c (rb_cvar_set): empty iv_tbl may cause infinite loop. 11690 11691 * variable.c (rb_cvar_get): ditto. 11692 11693 * variable.c (cvar_override_check): ditto. 11694 11695Sat Oct 27 23:01:19 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11696 11697 * bignum.c (rb_big_eq): convert Bignum to Float, instead of 11698 reverse. 11699 11700Fri Oct 26 06:19:29 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11701 11702 * time.c (time_localtime): getting tm should not be prohibited for 11703 frozen time objects. 11704 11705 * time.c (time_gmtime): ditto. 11706 11707 * version.c (Init_version): freeze RUBY_VERSION, 11708 RUBY_RELEASE_DATE, and RUBY_PLATFORM. 11709 11710 * file.c (Init_File): freeze File::SEPARATOR, ALT_SEPARATOR and 11711 PATH_SEPARATOR. 11712 11713 * file.c (rb_stat_cmp): should check operand type before calling 11714 get_stat(). 11715 11716Thu Oct 25 10:28:15 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11717 11718 * eval.c (rb_eval_cmd): should not invoke "call" with a block on 11719 any occasion. 11720 11721Wed Oct 24 03:25:31 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11722 11723 * numeric.c (fix_aref): idx may be a Bignum. 11724 11725Tue Oct 23 01:21:19 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 11726 11727 * eval.c (proc_invoke): fix self switching in Proc#call 11728 (ruby-bugs-ja#PR108) and GC failure. use Qundef instead of 0 11729 to direct not switching self. 11730 11731 * eval.c (call_trace_func): ditto. 11732 11733 * eval.c (call_end_proc): ditto. 11734 11735 * eval.c (proc_call): ditto. 11736 11737 * eval.c (proc_yield): ditto. 11738 11739Tue Oct 23 01:15:43 2001 K.Kosako <kosako@sofnec.co.jp> 11740 11741 * variable.c (rb_global_entry): reconstruct global variable 11742 aliasing (sharing global_entry->var with other global_entry). 11743 11744 * variable.c (undef_getter): ditto. 11745 11746 * variable.c (undef_setter): ditto. 11747 11748 * variable.c (val_setter): ditto. 11749 11750 * variable.c (mark_global_entry): ditto. 11751 11752 * variable.c (rb_define_hooked_variable): ditto. 11753 11754 * variable.c (rb_f_trace_var): ditto. 11755 11756 * variable.c (remove_trace): ditto. 11757 11758 * variable.c (rb_f_untrace_var): ditto. 11759 11760 * variable.c (rb_gvar_get): ditto. 11761 11762 * variable.c (trace_en): ditto. 11763 11764 * variable.c (rb_gvar_set): ditto. 11765 11766 * variable.c (rb_gvar_defined): ditto. 11767 11768 * variable.c (rb_alias_variable): ditto. 11769 11770Mon Oct 22 18:53:55 2001 Masahiro Tanaka <masa@stars.gsfc.nasa.gov> 11771 11772 * numeric.c (num_remainder): a bug in Numeric#remainder. 11773 11774Mon Oct 22 15:21:55 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11775 11776 * eval.c (rb_exec_end_proc): END might be called within END 11777 block. 11778 11779 * class.c (rb_mod_clone): should not copy class name, since clone 11780 should remain anonymous. 11781 11782Fri Oct 19 23:40:37 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 11783 11784 * variable.c (remove_trace): should not access already freed area. 11785 11786 * variable.c (rb_f_untrace_var): fix memory leak. 11787 11788Fri Oct 19 17:55:14 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 11789 11790 * marshal.c (w_uclass): cloned class is not user 11791 class. (ruby-bugs-ja#PR103) 11792 11793 * marshal.c (r_object): Struct subclass couldn't 11794 load. (ruby-bugs-ja#PR104) 11795 11796Wed Oct 17 14:12:50 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 11797 11798 * variable.c (alias_fixup): added. ad hoc support for ordinary 11799 global variable aliasing. when original entry is set, make the 11800 alias to refer directly as possible. 11801 11802 * variable.c (alias_getter, alias_setter): ditto. 11803 11804 * variable.c (rb_alias_variable): ditto. and no need to mark alias 11805 variables. 11806 11807 * variable.c (rb_gvar_defined): refer the original entry of an alias. 11808 11809Tue Oct 16 23:29:26 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11810 11811 * eval.c (rb_call0): self in a block given to define_method now be 11812 switched to the receiver of the method. 11813 11814 * eval.c (proc_invoke): added new parameter to allow self 11815 switching. 11816 11817Tue Oct 16 21:38:15 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 11818 11819 * eval.c (rb_f_missing): check stack level with rb_stack_check(). 11820 11821 * eval.c (rb_call0): ditto. 11822 11823 * eval.c, intern.h (rb_stack_check): added. [new] 11824 11825Tue Oct 16 13:18:47 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 11826 11827 * object.c (rb_mod_initialize): optional block with 11828 Module.new. [new] (from 2001-10-10) 11829 11830Tue Oct 16 00:07:06 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 11831 11832 * parse.y (yylex): disallow alpha-numeric and mbchar for 11833 terminator of %string. 11834 11835Mon Oct 15 18:00:05 2001 Pit Capitain <pit@capitain.de> 11836 11837 * string.c (rb_str_index): wrong increment for non alphanumeric 11838 string. 11839 11840Mon Oct 15 05:23:02 2001 Koji Arai <JCA02266@nifty.ne.jp> 11841 11842 * sprintf.c (rb_f_sprintf): support "%B". 11843 11844Wed Oct 10 03:11:47 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11845 11846 * file.c (rb_stat_clone): should copy internal data too. 11847 11848 * numeric.c (num_clone): Numeric should not be copied by clone. 11849 11850 * object.c (rb_obj_clone): should check immediate values. 11851 11852 * parse.y (command): `yield' should take command_args. 11853 11854 * parse.y (parse_quotedwords): %w(...) is not a string. 11855 11856Tue Oct 9 18:40:35 2001 WATANABE Hirofumi <eban@ruby-lang.org> 11857 11858 * process.c (Init_process): activate the case NT. 11859 11860Tue Oct 9 17:08:00 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 11861 11862 * eval.c (thread_status_name): separated from 11863 rb_thread_inspect(). return string expression for thread status. 11864 11865 * eval.c (rb_thread_status, rb_thread_inspect): use 11866 thread_status_name(). 11867 11868 * eval.c (rb_thread_priority_set): return the priority not but 11869 self. 11870 11871Sat Oct 6 23:07:08 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11872 11873 * eval.c (rb_eval): NODE_MATCH3 was confusing left and right. sigh. 11874 11875Fri Oct 5 15:19:46 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11876 11877 * marshal.c (w_unique): should not dump anonymous class. 11878 11879Fri Oct 5 11:59:13 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 11880 11881 * eval.c (proc_s_new): revived. 11882 11883 * eval.c (Init_Proc): define Proc.new instead of Proc.allocate to 11884 inhibit from creating uninitialized Proc. 11885 11886Thu Oct 4 14:11:03 2001 WATANABE Hirofumi <eban@ruby-lang.org> 11887 11888 * ext/socket/socket.c (ruby_connect): EALREADY is the equivalent 11889 for EINPROGRESS in ws2_32.lib. 11890 11891Wed Oct 3 20:11:06 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 11892 11893 * re.c (rb_reg_s_alloc): avoid infinite recursion. 11894 11895Wed Oct 3 16:49:49 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 11896 11897 * ext/gdbm/gdbm.c (rb_gdbm_fetch): str is a VALUE now. 11898 11899Wed Oct 3 13:32:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11900 11901 * marshal.c (r_object): better allocation type check for 11902 TYPE_UCLASS. usage of allocation framework is disabled for now. 11903 11904 * variable.c (rb_class_path): Module may have subclass. 11905 11906 * string.c (rb_str_update): should maintain original negative 11907 offset. 11908 11909 * string.c (rb_str_subpat_set): ditto 11910 11911 * string.c (rb_str_aset): ditto. 11912 11913 * re.c (rb_reg_nth_match): should check negative nth. 11914 11915 * re.c (rb_reg_nth_defined): ditto. 11916 11917Tue Oct 2 19:12:47 2001 WATANABE Hirofumi <eban@ruby-lang.org> 11918 11919 * lib/ftools.rb (catname): allow trailing '/' for the destination. 11920 11921Tue Oct 2 18:31:20 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11922 11923 * eval.c (rb_eval): should override existing class. 11924 11925Tue Oct 2 17:08:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11926 11927 * object.c (rb_obj_alloc): general instance allocation framework. 11928 use of NEWOBJ() is deprecated except within 'allocate' method. 11929 11930Tue Oct 2 08:04:52 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 11931 11932 * marshal.c (r_object): TYPE_UCLASS check should be inversed. 11933 11934Mon Oct 1 19:18:54 2001 Tanaka Akira <akr@m17n.org> 11935 11936 * ext/socket/socket.c (unix_addr): getsockname(2) may result len = 0. 11937 11938 * ext/socket/socket.c (unix_peeraddr): getpeername(2) may result 11939 len = 0. 11940 11941Mon Oct 1 09:59:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11942 11943 * string.c (rb_str_subpat_set): support function for new argument 11944 pattern String#[re,offset] = val. [new] 11945 11946Sat Sep 29 02:30:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11947 11948 * eval.c (POP_BLOCK): rb_gc_force_recycle() was called too much. 11949 Should not be called if SCOPE_DONT_RECYCLE is set. 11950 11951Wed Sep 26 22:21:52 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11952 11953 * string.c (rb_str_aref_m): new argument pattern 11954 String#[re,offset]. [new] 11955 11956Wed Sep 26 19:02:39 2001 Guy Decoux <ts@moulon.inra.fr> 11957 11958 * parse.y: allow 'primary[] = arg' 11959 11960Tue Sep 25 10:46:42 2001 Usaku Nakamura <usa@ruby-lang.org> 11961 11962 * win32/win32.c (isInternalCmd): check return value of NtMakeCmdVector 11963 (Tietew <tietew@tietew.net>'s patch). 11964 11965Mon Sep 24 00:55:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11966 11967 * string.c (rb_str_substr): should return an instance of 11968 receiver's class. 11969 11970 * string.c (rb_str_succ): ditto. 11971 11972 * array.c (rb_ary_subseq): ditto. 11973 11974 * array.c (rb_ary_initialize): Array.new([1,2,3]) => [1,2,3]. [new] 11975 11976Sat Sep 22 22:16:08 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11977 11978 * string.c (rb_str_reverse): should return an instance of 11979 receiver's class. 11980 11981 * string.c (rb_str_times): ditto. 11982 11983 * array.c (rb_ary_times): ditto 11984 11985 * string.c (str_gsub): ditto. 11986 11987 * string.c (rb_str_ljust): ditto. 11988 11989 * string.c (rb_str_rjust): ditto. 11990 11991 * string.c (rb_str_center): ditto. 11992 11993Sat Sep 22 12:13:39 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 11994 11995 * eval.c (eval): retrieves file, line information from binding. 11996 11997Thu Sep 20 21:25:00 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 11998 11999 * eval.c (MATCH_DATA): access via rb_svar(). 12000 12001Thu Sep 20 15:20:00 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12002 12003 * eval.c, intern.h (rb_svar): return reference to special variable 12004 from local variable index. [new] 12005 12006 * eval.c (rb_eval): use rb_svar() for NODE_FLIP{2,3}. 12007 12008 * parse.y (rb_(backref|lastline)_(get|set)): access via rb_svar(). 12009 12010 * eval.c (proc_invoke): push dynamic variables. 12011 12012 * eval.c (rb_thread_yield): push special variables as dynamic 12013 variables($_, $~ and FLIP states). 12014 12015Thu Sep 20 15:20:00 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12016 12017 * intern.h, parse.y (rb_is_local_id): return true if the ID is 12018 local symbol. [new] 12019 12020 * parse.y (internal_id): make new ID for internal use. [new] 12021 12022 * parse.y (cond0): allocate internal ID for NODE_FLIP{2,3}. 12023 12024 * eval.c (rb_f_local_variables): use rb_is_local_id() to select 12025 visible local variables. 12026 12027Thu Sep 20 15:20:00 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12028 12029 * eval.c (rb_thread_start_0): SCOPE_SHARED is removed. 12030 12031 * eval.c, intern.h (rb_thread_scope_shared_p): removed. special 12032 variables are no longer shared by threads. 12033 12034 * re.c (rb_reg_search): MATCHDATA is no longer shared by threads. 12035 12036Tue Sep 18 11:44:26 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12037 12038 * string.c (rb_str_init): String.new() => "" [new] 12039 12040Tue Sep 11 20:53:56 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12041 12042 * dir.c (dir_path): new method. 12043 12044 * dir.c (dir_initialize): wrap DIR into struct, along with path 12045 information. 12046 12047Sat Sep 8 07:13:42 2001 Wakou Aoyama <wakou@fsinet.or.jp> 12048 12049 * lib/net/telnet.rb: waitfor(): improvement. thanks to 12050 nobu.nakada@nifty.ne.jp 12051 12052Sat Sep 8 04:34:17 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12053 12054 * eval.c (rb_thread_restore_context): save current value of 12055 lastline and lastmatch in the thread struct for later restore. 12056 12057 * eval.c (rb_thread_save_context): restore lastline and lastmatch. 12058 12059Fri Sep 7 11:27:56 2001 akira yamada <akira@ruby-lang.org> 12060 12061 * numeric.c (flo_to_s): should handle negative float value. 12062 12063Fri Sep 7 09:44:44 2001 Wakou Aoyama <wakou@fsinet.or.jp> 12064 12065 * lib/net/telnet.rb: waitfor(): bug fix. 12066 12067Fri Sep 7 07:11:34 2001 Wakou Aoyama <wakou@fsinet.or.jp> 12068 12069 * lib/cgi.rb: CGI#doctype(): bug fix (html4Fr). 12070 12071 * lib/net/telnet.rb, lib/cgi.rb: remove VERSION, RELEASE_DATE, 12072 VERSION_CODE, RELEASE_CODE. please use REVISION. 12073 12074 * lib/cgi.rb: CGI#header(): bug fix. 12075 12076 * lib/net/telnet.rb, lib/cgi.rb: concat --> += 12077 12078Thu Sep 6 17:38:18 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12079 12080 * dir.c (dir_s_chdir): raise if environment variable HOME/LOGDIR 12081 not set. 12082 12083 * dir.c (glob_helper): avoid infinite loop on a file name with 12084 wildcard characters. (ruby-bugs#PR177) 12085 12086Thu Sep 6 14:25:15 2001 Akinori MUSHA <knu@iDaemons.org> 12087 12088 * ext/digest/digest.c (rb_digest_base_s_hexdigest): remove a debug 12089 print. 12090 12091Thu Sep 6 13:56:14 2001 Akinori MUSHA <knu@iDaemons.org> 12092 12093 * ext/digest/digest.c (rb_digest_base_s_digest, 12094 rb_digest_base_s_hexdigest): ensure that a string is given. 12095 12096Thu Sep 6 13:28:51 2001 WATANABE Hirofumi <eban@ruby-lang.org> 12097 12098 * lib/jcode.rb (_regexp_quote): fix quote handling, again. 12099 12100Thu Sep 6 07:28:56 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12101 12102 * file.c (rb_find_file_ext): add const qualifiers to ext. 12103 12104 * intern.h (rb_find_file_ext): ditto. 12105 12106Thu Sep 6 07:16:14 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12107 12108 * ext/socket/socket.c (Init_socket): remove duplicating constants. 12109 12110Thu Sep 6 03:15:24 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12111 12112 * class.c (rb_include_module): should check whole ancestors to 12113 avoid duplicate module inclusion. 12114 12115Wed Sep 5 20:02:27 2001 Shin'ya Adzumi <adzumi@denpa.org> 12116 12117 * string.c (trnext): should check backslash before updating "now" 12118 position. 12119 12120Wed Sep 5 17:41:11 2001 WATANABE Hirofumi <eban@ruby-lang.org> 12121 12122 * lib/jcode.rb (_regexp_quote): fix quote handling. 12123 12124Tue Sep 4 01:03:18 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12125 12126 * re.c (Init_Regexp): to_s to be alias to inspect. 12127 12128Mon Sep 3 22:46:59 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12129 12130 * parse.y (yylex): should support 'keyword='. 12131 12132Mon Sep 3 20:26:08 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12133 12134 * intern.h (rb_find_file_ext): changed from rb_find_file_noext(). 12135 12136Mon Sep 3 15:12:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12137 12138 * ruby.c (proc_options): should not adjust argc/argv if -e option 12139 is supplied. 12140 12141Mon Sep 3 14:11:17 2001 Akinori MUSHA <knu@iDaemons.org> 12142 12143 * error.c: unbreak the build on *BSD with gcc 3.0.1 by removing 12144 the conflicting declaration of sys_nerr for *BSD. 12145 12146Sat Sep 1 18:50:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12147 12148 * ruby.c (proc_options): should not alter origargv[]. 12149 12150 * ruby.c (set_arg0): long strings for $0 dumped core. 12151 12152Sat Sep 1 09:50:54 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12153 12154 * ruby.c (set_arg0): prevent SEGV when val is longer than the 12155 original arguments. 12156 12157 * ruby.c (ruby_process_options): initialize total length of 12158 original arguments at first. 12159 12160Sat Sep 1 14:05:28 2001 Brian F. Feldman <green@FreeBSD.org> 12161 12162 * ruby.c (set_arg0): use setprogtitle() if it's available. 12163 12164Sat Sep 1 03:49:11 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12165 12166 * io.c (rb_io_popen): accept integer flags as mode. 12167 12168Fri Aug 31 19:46:05 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12169 12170 * file.c (rb_find_file_ext): extension table can be supplied from 12171 outside. renamed. 12172 12173 * eval.c (rb_f_require): replace rb_find_file_noext by 12174 rb_find_file_ext. 12175 12176Fri Aug 31 19:26:55 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12177 12178 * eval.c (rb_provided): should also check feature without 12179 extension. 12180 12181Fri Aug 31 13:06:33 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12182 12183 * numeric.c (flo_to_s): do not rely on decimal point to be '.' 12184 12185Wed Aug 29 02:18:53 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12186 12187 * parse.y (yylex): ternary ? can be followed by newline. 12188 12189Tue Aug 28 00:40:48 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12190 12191 * eval.c (rb_f_require): should check static linked libraries 12192 before raising exception. 12193 12194Fri Aug 24 15:17:40 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12195 12196 * array.c (rb_ary_equal): check identity equality first. 12197 12198 * string.c (rb_str_equal): ditto. 12199 12200 * struct.c (rb_struct_equal): ditto. 12201 12202Fri Aug 24 14:38:17 2001 Usaku Nakamura <usa@ruby-lang.org> 12203 12204 * dln.c (dln_strerror): fix a bug that sometimes made null message on 12205 win32 (Tietew <tietew@tietew.net>'s patch). 12206 12207 * win32/win32.c (mystrerror): ditto. 12208 12209Fri Aug 24 03:15:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12210 12211 * numeric.c (Init_Numeric): undef Integer::new. 12212 12213Fri Aug 24 00:46:44 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12214 12215 * eval.c (rb_eval): NODE_WHILE should update result for each 12216 conditional evaluation. 12217 12218 * eval.c (rb_eval): NODE_UNTIL should return last evaluated value 12219 (or value given to break). 12220 12221Thu Aug 23 21:59:38 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12222 12223 * enum.c (sort_by_i): fix typo. 12224 12225Thu Aug 23 10:10:59 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12226 12227 * eval.c (is_defined): should not dump core for "defined?(())". 12228 12229 * eval.c (umethod_bind): recv can be an instance of descender of 12230 oklass if oklass is a Module. 12231 12232Wed Aug 22 23:20:03 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12233 12234 * hash.c (rb_hash_equal): check identity equality first. 12235 12236Wed Aug 22 19:58:59 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12237 12238 * eval.c (intersect_fds): counts intersecting fds. 12239 12240 * eval.c (rb_thread_schedule): only fds requested by 12241 each thread count as select_value. 12242 12243Tue Aug 21 22:28:09 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12244 12245 * file.c (group_member): should check real gid only. 12246 12247 * file.c (eaccess): do not cache euid, since effective euid may be 12248 changed via Process.euid=(). 12249 12250 * file.c (eaccess): return -1 unless every specified access mode 12251 is permitted. 12252 12253Tue Aug 21 16:09:27 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12254 12255 * eval.c (rb_eval): while/until returns the value which is given 12256 to break. 12257 12258 * parse.y (value_expr): using while/until/class/def as an 12259 expression is now gives a warning, not an error. 12260 12261Tue Aug 21 11:56:02 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12262 12263 * range.c (range_eqq): should compare strings based on magical 12264 increment (using String#upto), not dictionary order. 12265 12266Mon Aug 20 19:53:16 2001 WATANABE Hirofumi <eban@ruby-lang.org> 12267 12268 * ext/digest/sha2/extconf.rb: fix support for cross-compiling. 12269 12270 * mkconfig.rb: fix support for autoconf 2.52. 12271 12272Mon Aug 20 17:24:15 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12273 12274 * enum.c (enum_sort_by): new method for Schewartzian transformed 12275 stable sort. 12276 12277Mon Aug 20 16:09:05 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12278 12279 * variable.c (mod_av_set): detect constant overriding for built-in 12280 classes/modules. 12281 12282Mon Aug 20 15:14:27 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12283 12284 * parse.y (tokadd_escape): escaped backslashes too much. 12285 12286Mon Aug 20 13:24:08 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12287 12288 * range.c (range_step): 'iter' here should be an array. 12289 12290Mon Aug 20 12:43:08 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12291 12292 * marshal.c (w_object): should retrieve __member__ data from 12293 non-singleton class. 12294 12295Sat Aug 18 23:11:14 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12296 12297 * variable.c (rb_cvar_get): class variable override check added. 12298 12299 * variable.c (rb_cvar_set): ditto 12300 12301 * variable.c (rb_cvar_declare): ditto. 12302 12303Fri Aug 17 12:13:48 2001 Minero Aoki <aamine@loveruby.net> 12304 12305 * lib/net/protocol.rb: Protocol.new requires at least one arg. 12306 12307 * lib/net/smtp.rb: ditto. 12308 12309 * lib/net/pop.rb: ditto. 12310 12311 * lib/net/http.rb: ditto. 12312 12313Fri Aug 17 00:49:51 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12314 12315 * parse.y (parse_regx): handle backslash escaping of delimiter here. 12316 12317Thu Aug 16 23:03:40 2001 Koji Arai <JCA02266@nifty.ne.jp> 12318 12319 * io.c: prevent recursive malloc calls on NEC UX/4800. 12320 12321 * ext/socket/socket.c: ditto. 12322 12323Thu Aug 16 13:54:04 2001 Usaku Nakamura <usa@ruby-lang.org> 12324 12325 * ext/socket/socket.c (s_recvfrom): fix typo. 12326 12327Thu Aug 16 09:53:28 2001 Usaku Nakamura <usa@ruby-lang.org> 12328 12329 * ext/socket/socket.c (s_recvfrom): avoid VC++6 warning. 12330 12331Thu Aug 16 03:50:33 2001 Usaku Nakamura <usa@ruby-lang.org> 12332 12333 * win32/win32.c (NtCmdGlob): avoid VC++ warning. 12334 12335 * lib/mkmf.rb: add -I$(srcdir) to CPPFLAGS. 12336 12337Wed Aug 15 04:59:15 2001 Akinori MUSHA <knu@iDaemons.org> 12338 12339 * ext/digest/*/extconf.rb: really fix so that they build from any 12340 directory. 12341 12342Wed Aug 15 04:04:02 2001 Akinori MUSHA <knu@iDaemons.org> 12343 12344 * ext/digest/sha2/extconf.rb: fix so that they build from any 12345 directory. 12346 12347Wed Aug 15 01:59:19 2001 Akinori MUSHA <knu@iDaemons.org> 12348 12349 * ext/digest/defs.h: Define NO_UINT64_T instead of emitting an 12350 error to fail. 12351 12352 * ext/digest/sha2/extconf.rb: Do not exit on error, and utilize 12353 NO_UINT64_T to detect if the system has a 64bit integer type. 12354 12355Tue Aug 14 21:14:07 2001 Akinori MUSHA <knu@iDaemons.org> 12356 12357 * ext/digest/sha2/extconf.rb: do not create Makefile when no 64bit 12358 integer type is detected. 12359 12360Tue Aug 14 17:09:12 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12361 12362 * range.c (range_step): new method. 12363 12364Tue Aug 14 11:49:00 2001 TOYOFUKU Chikanobu <toyofuku@juice.or.jp> 12365 12366 * string.c (rb_str_cmp): remove needless conditional. 12367 12368Tue Aug 14 03:23:25 2001 Koji Arai <JCA02266@nifty.ne.jp> 12369 12370 * string.c (rb_str_lstrip_bang) `return Qnil' was missing. 12371 12372Mon Aug 13 14:16:46 2001 Akinori MUSHA <knu@iDaemons.org> 12373 12374 * bignum.c, marshal.c: Detypo: s/SIZEOF_ING/SIZEOF_INT/. 12375 12376Sun Aug 12 15:01:58 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12377 12378 * string.c (rb_str_cat): fix buffer overflow. 12379 12380 * string.c (rb_str_append): nothing to append actually when `str2' 12381 is empty. 12382 12383Sat Aug 11 14:43:47 2001 Tanaka Akira <akr@m17n.org> 12384 12385 * array.c (rb_inspecting_p): initialize inspect_key if it is 12386 not initialized yet. 12387 12388Fri Aug 10 22:14:37 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12389 12390 * parse.y (cond0): operands of logical operators are not treated 12391 as conditional expression anymore, but propagate conditional 12392 status if used in conditionals. 12393 12394Tue Aug 7 09:10:32 2001 Usaku Nakamura <usa@ruby-lang.org> 12395 12396 * win32/win32.h: fix problems with BC++ (ruby-bugs#PR161). 12397 12398Mon Aug 6 23:47:46 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12399 12400 * pack.c (pack_pack): associates p/P strings once at last 12401 (reverted to 1.26). 12402 12403 * string.c (rb_str_associate): associates an Array at once, not 12404 but a String. realloc's when str_buf. 12405 12406Mon Aug 6 17:01:33 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12407 12408 * eval.c (rb_gc_mark_threads): should mark ruby_cref. 12409 12410Mon Aug 6 14:31:37 2001 Usaku Nakamura <usa@ruby-lang.org> 12411 12412 * numeric.c (num_divmod): fix typo. 12413 12414Mon Aug 6 03:29:03 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12415 12416 * string.c (rb_str_lstrip_bang): new method. 12417 12418 * string.c (rb_str_rstrip_bang): new method. 12419 12420Mon Aug 6 00:35:03 2001 Guy Decoux <decoux@moulon.inra.fr> 12421 12422 * struct.c (rb_struct_modify): should check frozen and taint 12423 status. 12424 12425Sun Aug 5 19:28:39 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12426 12427 * string.c (rb_str_associate): should consider STR_ASSOC too. 12428 12429Sun Aug 5 07:46:18 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12430 12431 * eval.c (rb_undefined): do not recurse if method_missing is 12432 undefined. 12433 12434Thu Aug 2 21:37:32 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12435 12436 * process.c (proc_waitpid): now all arguments are optional. 12437 12438 * process.c (Init_process): waitpid is now alias to wait. 12439 12440 * process.c (Init_process): waitpid2 is now alias to wait2. 12441 12442 * process.c (rb_waitpid): made public. 12443 12444 * ext/pty/pty.c (pty_getpty): avoid disturbing SIGCHLD using 12445 thread and rb_waitpid. 12446 12447Thu Aug 2 11:23:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12448 12449 * process.c (proc_getpgrp): now takes no argument on all 12450 platforms. 12451 12452 * process.c (proc_setpgrp): ditto. 12453 12454Thu Aug 2 01:29:42 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12455 12456 * file.c (strrdirsep): removed meaningless code. 12457 12458 * file.c (rb_file_s_expand_path): reverted to 1.66. 12459 12460Wed Aug 1 16:17:47 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12461 12462 * ext/socket/socket.c (sock_s_pack_sockaddr_in): added 12463 Socket::pack_sockaddr_in(). [new] 12464 12465 * ext/socket/socket.c (sock_s_pack_sockaddr_un): added 12466 Socket::pack_sockaddr_un(). [new] 12467 12468 * ext/socket/socket.c (sock_s_pack_sockaddr_in): added 12469 Socket::unpack_sockaddr_in(). [new] 12470 12471 * ext/socket/socket.c (sock_s_pack_sockaddr_un): added 12472 Socket::unpack_sockaddr_un(). [new] 12473 12474Wed Aug 1 15:42:16 2001 Usaku Nakamura <usa@ruby-lang.org> 12475 12476 * eval.c (ruby_run): avoid VC++ warning. 12477 12478Tue Jul 31 17:30:53 2001 Usaku Nakamura <usa@ruby-lang.org> 12479 12480 * marshal.c (Init_marshal): fix typos. 12481 12482Tue Jul 31 15:16:39 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12483 12484 * process.c (last_status_set): nothing returned, should be void. 12485 12486 * ext/socket/socket.c (load_addr_info): ditto. 12487 12488Tue Jul 31 12:11:42 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12489 12490 * marshal.c (Init_marshal): new constant Marshal::MAJOR_VERSION 12491 and Marshal::MINOR_VERSION. 12492 12493Tue Jul 31 07:18:04 2001 Nobuyoshi Nakada <nobu.nokada@softhome.net> 12494 12495 * file.c (rb_file_s_expand_path): scans per path element not per 12496 byte/character, including fix of [ruby-talk:18152] and 12497 multi-byte pathname support. 12498 12499Tue Jul 31 11:52:10 2001 akira yamada <akira@ruby-lang.org> 12500 12501 * marshal.c (marshal_load): ruby_verbose test should be wrapped by 12502 RTEST(). 12503 12504Mon Jul 30 17:54:23 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12505 12506 * hash.c (rb_hash_index): should return nil (not the default 12507 value) if value is not in the hash. 12508 12509Mon Jul 30 12:55:47 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12510 12511 * numeric.c (num_div): new method added. alias to '/' which 12512 should be preserved even if '/' is redefined (e.g. by 12513 mathn). [new] 12514 12515Mon Jul 30 11:12:14 2001 Amos Gouaux <amos+ruby@utdallas.edu> 12516 12517 * lib/net/imap.rb: added new commands for managing folder quotas 12518 and folder ACLs. 12519 12520Mon Jul 30 03:19:53 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12521 12522 * bignum.c (rb_cstr2inum): "0 ff".hex should return 0, not 255. 12523 12524Fri Jul 27 22:29:41 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12525 12526 * file.c (rb_file_s_expand_path): fixed using CharNext(). 12527 12528Fri Jul 27 18:07:27 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12529 12530 * eval.c (rb_provided): extension should be guessed using 12531 rb_find_file_noext(). 12532 12533 * eval.c (rb_f_require): should call rb_feature_p() after 12534 extension completion. 12535 12536Fri Jul 27 16:25:52 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12537 12538 * eval.c (rb_eval): add CHECK_INTS before next, redo, retry to 12539 avoid potential uninterruptable infinite loop. 12540 12541Thu Jul 26 11:27:12 2001 WATANABE Hirofumi <eban@ruby-lang.org> 12542 12543 * file.c (rb_find_file_noext, rb_find_file): fix tilde expansion 12544 problem. 12545 12546Wed Jul 25 17:54:20 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12547 12548 * file.c (rb_file_s_expand_path): use CharNext() to expand. 12549 12550Wed Jul 25 17:16:26 2001 Akinori MUSHA <knu@iDaemons.org> 12551 12552 * intern.h: add some missing function prototypes. 12553 12554Wed Jul 25 15:50:05 2001 Guy Decoux <decoux@moulon.inra.fr> 12555 12556 * file.c (rb_file_s_expand_path): should not expand "." and ".." 12557 not following dirsep. 12558 12559Wed Jul 25 12:15:32 2001 WATANABE Hirofumi <eban@ruby-lang.org> 12560 12561 * file.c (rb_find_file_noext): should update f by expanded path. 12562 12563 * file.c (rb_find_file): ditto. 12564 12565Tue Jul 24 23:10:47 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12566 12567 * file.c (strrdirsep): multi-byte pathname and DOSish separator 12568 support. originally comes from Patrick Cheng. [new] 12569 12570 * file.c (rb_file_s_basename, rb_file_s_dirname): use 12571 strrdirsep(). comes from Patrick Cheng. 12572 12573 * file.c (is_absolute_path): restricted in DOSish absolute path 12574 with drive letter, and UNC support. originally comes from 12575 Patrick Cheng. 12576 12577 * file.c (getcwd): define macro using getwd() unless provided. 12578 12579Tue Jul 24 19:23:15 2001 Akinori MUSHA <knu@iDaemons.org> 12580 12581 * ext/extmk.rb.in, lib/mkmf.rb: dig the target subdirectory for 12582 lib/* files properly in case of create_makefile("dir/name"). 12583 12584Mon Jul 23 00:26:04 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12585 12586 * eval.c (rb_provide_feature): should not tweak extension used for 12587 loading. 12588 12589Sun Jul 22 21:16:43 2001 Akinori MUSHA <knu@iDaemons.org> 12590 12591 * ext/extmk.rb.in, lib/mkmf.rb: introduce a couple of new make 12592 variables: CLEANFILES and DISTCLEANFILES. They'd typically be 12593 defined in a file "depend". 12594 12595Sat Jul 21 09:40:10 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12596 12597 * io.c (io_fread): use fread(3) if PENDING_COUNT is available. 12598 12599Fri Jul 20 22:55:01 2001 Akinori MUSHA <knu@iDaemons.org> 12600 12601 * gc.c (ruby_xrealloc): fix a dangling bug which led memory 12602 reallocation to fail even though the second try after a GC 12603 succeeds. 12604 12605Fri Jul 20 03:00:46 2001 Akinori MUSHA <knu@iDaemons.org> 12606 12607 * class.c (rb_mod_include_p): Module#include? added. [new] 12608 12609Fri Jul 20 01:05:50 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12610 12611 * re.c (ignorecase_setter): give warning on modifying $=. 12612 12613 * string.c (rb_str_casecmp): new method. [new] 12614 12615 * string.c (rb_str_eql): separated from rb_str_equal(), make it 12616 always be case sensitive. [new] 12617 12618 * string.c (rb_str_hash): made it always be case sensitive. 12619 12620Thu Jul 19 13:03:15 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12621 12622 * eval.c (rb_f_require): should not include path in $" value 12623 12624 * file.c (rb_find_file): should return 0 explicitly on failure. 12625 12626Tue Jul 17 11:44:40 2001 Usaku Nakamura <usa@osb.att.ne.jp> 12627 12628 * ruby.h: enable volatile directive with VC++. 12629 12630 * regex.c: ditto. 12631 12632Tue Jul 17 06:01:12 2001 Minero Aoki <aamine@loveruby.net> 12633 12634 * doc/net/smtp.rd.ja, pop.rd.ja, http.rd.ja: new files. 12635 12636 * MANIFEST: add doc/net/{http,pop,smtp}.rd.ja. 12637 12638Tue Jul 17 11:22:01 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12639 12640 * regex.c (NUM_FAILURE_ITEMS): was confusing NUM_REG_ITEMS and 12641 NUM_NONREG_ITEMS, which have happened to be same value. 12642 12643Tue Jul 17 11:08:34 2001 Usaku Nakamura <usa@osb.att.ne.jp> 12644 12645 * ext/extmk.rb.in: modify RM macro because command.com/cmd.exe don't 12646 recognize single quotation as quote character. 12647 12648 * lib/mkmf.rb: ditto. 12649 12650Tue Jul 17 01:38:15 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12651 12652 * class.c (rb_class_new): subclass check moved to this function. 12653 12654 * class.c (rb_class_boot): check less version of rb_class_new(). 12655 12656Man Jul 16 13:21:30 2001 Usaku Nakamura <usa@osb.att.ne.jp> 12657 12658 * file.c (file_load_ok): fix typo. 12659 12660Mon Jul 16 12:58:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12661 12662 * eval.c (proc_invoke): should preserve iter status for embedded 12663 frame in the block. 12664 12665Mon Jul 16 00:04:39 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12666 12667 * file.c (rb_file_s_expand_path): may overrun buffer on stack. 12668 12669Sun Jul 15 01:38:28 2001 Guy Decoux <decoux@moulon.inra.fr> 12670 12671 * string.c (rb_str_insert): forgot to call rb_str_modify(). 12672 12673Sat Jul 14 12:26:30 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12674 12675 * ext/digest/*/extconf.rb: fix so that they build from any 12676 directory. 12677 12678Sat Jul 14 06:20:17 2001 WATANABE Hirofumi <eban@ruby-lang.org> 12679 12680 * lib/net/http.rb: HTTP#proxy? did not worked. 12681 12682Sat Jul 14 02:56:19 2001 Akinori MUSHA <knu@iDaemons.org> 12683 12684 * ext/extmk.rb.in: support multi-level ext/ directories. 12685 (e.g. you can have ext/foo, ext/foo/bar and ext/foo/baz) 12686 12687Sat Jul 14 02:55:02 2001 Akinori MUSHA <knu@iDaemons.org> 12688 12689 * ext/.cvsignore: let cvs ignore extinit.c. 12690 12691Fri Jul 13 23:47:35 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12692 12693 * regex.c (re_search): should consider reverse search. 12694 12695Fri Jul 13 22:26:09 2001 Akinori MUSHA <knu@iDaemons.org> 12696 12697 * lib/mkmf.rb: use File::split to split a target into a prefix and 12698 a module name. This also works around a just found bug of 12699 String#rindex. 12700 12701 * ext/extmk.rb.in: ditto. 12702 12703Fri Jul 13 02:36:10 2001 Minero Aoki <aamine@loveruby.net> 12704 12705 * dir.c (dir_s_chdir): warn only when invoked from multiple 12706 threads or block is not given. 12707 12708Thu Jul 12 15:11:48 2001 WATANABE Hirofumi <eban@ruby-lang.org> 12709 12710 * ext/socket/socket.c (ruby_connect): workaround for the setup of 12711 Cygwin socket(EALREADY). 12712 12713Mon Jul 9 16:49:30 2001 WATANABE Hirofumi <eban@ruby-lang.org> 12714 12715 * ext/extmk.rb.in: modify RM macro. 12716 12717 * lib/mkmf.rb: ditto. 12718 12719Sun Jul 8 20:52:02 2001 Akinori MUSHA <knu@iDaemons.org> 12720 12721 * ruby.h: fix a wrong function name: rb_iglob() -> rb_globi(). 12722 12723Sun Jul 8 16:04:35 2001 Minero Aoki <aamine@loveruby.net> 12724 12725 * lib/net/http.rb: rename HTTP#request_by_name to send_request. 12726 12727 * lib/net/protocol.rb (ProtoSocket#read): modify typo. 12728 12729Sat Jul 7 17:45:35 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12730 12731 * object.c (rb_convert_type): should use rb_rescue(), not rb_rescue2(). 12732 12733 * range.c (range_init): ditto. 12734 12735Fri Jul 6 18:01:10 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12736 12737 * object.c (rb_obj_dup): copies (actually does not free) 12738 generic_ivar on dupif original owns them. 12739 12740Fri Jul 6 02:15:06 2001 Akinori MUSHA <knu@iDaemons.org> 12741 12742 * lib/tempfile.rb: a tempfile must be created with mode 0600. 12743 12744Thu Jul 5 20:28:53 2001 Tietew <tietew@tietew.net> 12745 12746 * string.c (rb_str_each_line): should propagate taint mark. 12747 12748 * ext/nkf/nkf.c (rb_nkf_kconv): ditto. 12749 12750Fri Jul 6 14:54:27 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12751 12752 * eval.c (rb_f_require): revamp for simpler implementation. 12753 12754 * file.c (rb_find_file_noext): use String object, instead of 12755 passing char* around. 12756 12757 * file.c (rb_find_file): ditto. 12758 12759Thu Jul 5 22:01:02 2001 Mitsuhiro Kondo <kondo@nik-prt.co.jp> 12760 12761 * dln.c (dln_load): should use NSLINKMODULE_OPTION_BINDNOW. 12762 12763Thu Jul 5 13:44:03 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12764 12765 * ruby.c (load_file): local variables 'c' remain uninitialized on 12766 xflag. 12767 12768Thu Jul 5 10:00:59 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12769 12770 * regex.c (re_match): prefetched escaped character too early. 12771 12772Wed Jul 4 08:58:30 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12773 12774 * eval.c (rb_call0): add argument check for attr_readers. 12775 12776Wed Jul 4 04:22:44 2001 Minero Aoki <aamine@loveruby.net> 12777 12778 * lib/net/http.rb (HTTP#request_by_name): arg order changes. 12779 12780Wed Jul 4 04:07:36 2001 Minero Aoki <aamine@loveruby.net> 12781 12782 * lib/net/http.rb (HTTP#request_by_name): bug fix. 12783 12784 * lib/net/http.rb: does not write Connection: by default. 12785 12786 * lib/net/protocol.rb: "start" for started protocol is an error. 12787 12788 * lib/net/protocol.rb: "finish" for finished protocol is an error. 12789 12790Wed Jul 4 03:17:31 2001 Minero Aoki <aamine@loveruby.net> 12791 12792 * lib/net/http.rb: new method HTTP#request_by_name (test) 12793 12794 * lib/net/http.rb: new class HTTPGenericRequest 12795 12796Tue Jul 3 23:58:29 2001 Akinori MUSHA <knu@iDaemons.org> 12797 12798 * lib/mkmf.rb: distclean should remove mkmf.log as well. 12799 12800Tue Jul 3 18:35:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12801 12802 * eval.c (rb_eval_string_wrap): should push frame (and adjust 12803 cbase) before wrapped eval. 12804 12805 * eval.c (rb_eval_cmd): ditto. 12806 12807 * eval.c (eval): should update ruby_class always after all. 12808 12809Tue Jul 3 14:56:27 2001 Shugo Maeda <shugo@ruby-lang.org> 12810 12811 * eval.c (block_pass): do not change wrapper information. 12812 12813 * eval.c (rb_yield_0): preserve wrapper information. 12814 12815Tue Jul 3 08:59:50 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 12816 12817 * error.c (rb_name_error): raise NameError instead of LoadError. 12818 12819Mon Jul 2 17:22:00 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12820 12821 * error.c (exc_exception): clone the receiver exception instead of 12822 creating brand new exception object of the receiver. 12823 12824Mon Jul 2 09:53:12 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12825 12826 * eval.c (rb_eval_string_wrap): extend new ruby_top_self, not 12827 original self. 12828 12829 * eval.c (rb_eval_cmd): respect ruby_wrapper if set. 12830 12831 * eval.c (eval): do not update ruby_class unless scope is not 12832 provided. 12833 12834Sun Jul 1 10:51:15 2001 Shugo Maeda <shugo@ruby-lang.org> 12835 12836 * eval.c (eval): preserve wrapper information. 12837 12838 * eval.c (proc_invoke): ditto. 12839 12840 * eval.c (block_pass): ditto. 12841 12842Sat Jun 30 02:55:45 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12843 12844 * parse.y (void_expr): too much warnings for void context 12845 (e.g. foo[1] that can be mere Proc call). 12846 12847Fri Jun 29 17:23:18 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12848 12849 * error.c (rb_name_error): new function to raise NameError with 12850 name attribute set. 12851 12852 * eval.c (rb_f_missing): set name and args in the exception 12853 object. [new] 12854 12855 * error.c (name_name): NameError#name - new method. 12856 12857 * error.c (nometh_args): NoMethodError#args - new method. 12858 12859Fri Jun 29 15:29:31 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12860 12861 * lex.c (rb_reserved_word): lex_state after tRESCUE should be 12862 EXPR_MID. 12863 12864Thu Jun 28 00:21:28 2001 Keiju Ishitsuka <keiju@ishitsuka.com> 12865 12866 * lib/matrix.rb: resolve 'ruby -w' warnings. 12867 12868 * lib/irb/locale.rb: resolve 'ruby -w' warnings. 12869 12870 * lib/irb/multi-irb.rb: resolve 'ruby -w' warnings. 12871 12872 * lib/irb/ruby-lex.rb: fix problem for "\\M-\\..." and "\\C-\\..." 12873 and resolve 'ruby -w' warnings. 12874 12875 * lib/irb/ruby-token.rb: fix typo 12876 12877 * lib/shell/command-processor.rb: resolve 'ruby -w' warnings. 12878 12879Wed Jun 27 08:53:26 2001 Minero Aoki <aamine@loveruby.net> 12880 12881 * lib/net/pop.rb: new methods POP3.auth_only, POP3#auth_only 12882 12883 * lib/net/http.rb: HTTP.Proxy returns self if ADDRESS is nil. 12884 12885 * lib/net/protocol.rb: new method ProtocolError#response 12886 12887 * lib/net/protocol.rb,smtp.rb,pop.rb,http.rb: add document. 12888 12889Tue Jun 26 18:42:42 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12890 12891 * gc.c (add_heap): allocation size of the heap unit is doubled for 12892 each allocation. 12893 12894Mon Jun 25 09:54:48 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12895 12896 * dir.c (isdelim): space, tab, and newline are no longer 12897 delimiters for glob patterns. 12898 12899Sat Jun 23 22:28:52 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12900 12901 * eval.c (svalue_to_avalue): new conversion scheme between single 12902 value and array values. 12903 12904 * eval.c (avalue_to_svalue): ditto. 12905 12906 * eval.c (rb_eval): REXPAND now uses avalue_to_svalue(), return 12907 and yield too. 12908 12909 * eval.c (rb_yield_0): use avalue_to_svalue(). 12910 12911 * eval.c (proc_invoke): Proc#call gives avaules, whereas 12912 Proc#yield gives mvalues. 12913 12914 * eval.c (bmcall): convert given value (svalue) to avalue. 12915 12916Sat Jun 23 18:28:52 2001 Akinori MUSHA <knu@iDaemons.org> 12917 12918 * ext/readline/readline.c (readline_event): a non-void function 12919 should return a value. 12920 12921Fri Jun 22 23:17:28 2001 WATANABE Hirofumi <eban@ruby-lang.org> 12922 12923 * ext/socket/socket.c (ruby_connect): workaround for the setup of 12924 Cygwin socket. 12925 12926Fri Jun 22 23:11:17 2001 Keiju Ishitsuka <keiju@ishitsuka.com> 12927 12928 * lib/irb/locale.rb: fix for require "kconv" problem 12929 12930Fri Jun 22 18:08:45 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12931 12932 * eval.c (rb_yield_0): no mvalue_to_svalue conversion here. 12933 12934 * eval.c (massign): takes svalue, convert it to mvalue inside. 12935 12936 * eval.c (rb_eval): parameters for yield/return are always 12937 svalues now. 12938 12939 * eval.c (svalue_to_mvalue): more strict conversion. 12940 12941 * eval.c (mvalue_to_svalue): ditto. 12942 12943Fri Jun 22 17:12:23 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12944 12945 * st.c (new_size): prime hash size enabled. 12946 12947 * ext/socket/socket.c (Init_socket): SO_* constants added. 12948 12949Tue Jun 19 22:24:07 2001 WATANABE Hirofumi <eban@ruby-lang.org> 12950 12951 * gc.c (rb_setjmp): avoid GCC 3.0 warnings. 12952 12953Tue Jun 19 18:19:30 2001 Akinori MUSHA <knu@iDaemons.org> 12954 12955 * ext/readline/readline.c: add new methods: 12956 Readline::completion_append_character and 12957 Readline::completion_append_character=. 12958 12959Tue Jun 19 16:29:50 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12960 12961 * eval.c (svalue_to_mvalue): new function to convert from svalue 12962 to mvalue. [experimental] 12963 12964 * eval.c (mvalue_to_svalue): new function to convert from mvalue 12965 to svalue. 12966 12967 * eval.c (rb_eval): use mvalue_to_svalue(). 12968 12969 * eval.c (rb_yield_0): use mvalue_to_svalue(). 12970 12971 * eval.c (proc_invoke): proper mvalue handling. 12972 12973Mon Jun 18 17:38:50 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12974 12975 * eval.c (rb_f_require): searches ".rb" and ".so" at the same 12976 time. previous behavior (search ".rb", then ".so") has a 12977 security risk (ruby-bugs#PR140). 12978 12979 * array.c (rb_ary_to_ary): new function to replace internal 12980 rb_Array(), which never calls to_a, but to_ary (rb_Array() might 12981 call both). [new] 12982 12983Mon Jun 18 00:43:20 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12984 12985 * regex.c (PUSH_FAILURE_POINT): push option status again. 12986 12987 * regex.c (re_compile_pattern): avoid pushing unnecessary 12988 option_set. 12989 12990Sat Jun 16 10:58:48 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12991 12992 * eval.c (rb_load): tainted string is OK if wrapped *and* 12993 $SAFE >= 4. 12994 12995Thu Jun 14 16:27:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 12996 12997 * eval.c (rb_thread_start_0): should not nail down higher blocks 12998 before preserving original context (i.e. should not alter 12999 original context). 13000 13001Wed Jun 13 19:34:59 2001 Akinori MUSHA <knu@iDaemons.org> 13002 13003 * dir.c (Init_Dir): add a new method File::fnmatch? along with 13004 File::Constants::FNM_*. While I am here, FNM_NOCASE is renamed 13005 to FNM_CASEFOLD which is commonly used by *BSD and GNU libc. 13006 13007Wed Jun 13 09:33:45 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13008 13009 * eval.c (proc_yield): new method equivalent to Proc#call but no 13010 check for number of arguments. [new] 13011 13012Tue Jun 12 14:21:28 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 13013 13014 * lib/mkmf.rb: target_prefix is only for installation, not for 13015 build. 13016 13017Tue Jun 12 00:41:18 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13018 13019 * eval.c (method_eq): new method Method#==. [new] 13020 13021Mon Jun 11 14:29:41 2001 WATANABE Hirofumi <eban@ruby-lang.org> 13022 13023 * confgure.in: add RUBY_CANONICAL_BUILD. 13024 13025Sun Jun 10 17:31:47 2001 Guy Decoux <decoux@moulon.inra.fr> 13026 13027 * gc.c (STR_NO_ORIG): STR_NO_ORIG value was different between 13028 string.c and gc.c 13029 13030Sat Jun 9 22:10:04 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13031 13032 * eval.c (rb_eval): should convert *non-array at the end of 13033 arguments by using Array(). 13034 13035Sat Jun 9 17:04:30 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 13036 13037 * hash.c (ruby_setenv): readline library leaves their environment 13038 strings uncopied. "free" check revised. 13039 13040Sat Jun 9 16:31:03 2001 Usaku Nakamura <usa@osb.att.ne.jp> 13041 13042 * ext/extmk.rb.in: Use -F and -T for mswin32 because cl.exe doesn't 13043 support -o officially and cl.exe considers that *.cc and *.cxx are 13044 OBJs. 13045 13046 * lib/mkmf.rb: ditto. 13047 13048 * win32/Makefile.sub: Use del instead of rm. 13049 All these changes are derived from Nobuyoshi Nakada's patch. 13050 Thanks. 13051 13052Fri Jun 8 22:37:40 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13053 13054 * gc.c (Init_stack): avoid __builtin_frame_address(2) to retrieve 13055 stack bottom line. 13056 13057Fri Jun 8 18:14:12 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13058 13059 * st.c (numhash): should shuffle bits by dividing by prime number. 13060 13061Fri Jun 8 17:05:21 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13062 13063 * eval.c (rb_eval): multiple assignment behavior fixed, which 13064 results "*a = nil" makes "a == []" now. 13065 13066Fri Jun 8 15:25:09 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13067 13068 * eval.c (rb_f_require): should set SCOPE_PUBLIC before calling 13069 dln_load(). 13070 13071Thu Jun 7 17:28:00 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13072 13073 * parse.y (yylex): exclude kDO_BLOCK too much by false condition. 13074 13075Wed Jun 6 23:02:36 2001 Keiju Ishitsuka <keiju@ishitsuka.com> 13076 13077 * lib/sync.rb: bug fix if obj.initialize has parameters when 13078 obj.extend(Sync_m) 13079 13080 * lib/mutex_m.rb: modified bit 13081 13082Wed Jun 6 16:11:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13083 13084 * eval.c (rb_load): should check if tainted even when wrap is 13085 specified. 13086 13087Wed Jun 6 14:34:27 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13088 13089 * parse.y (mrhs_basic): "*arg" should always be expanded by REXPAND. 13090 13091 * regex.c (re_compile_pattern): too much optimization for the 13092 cases like /(.|a)b/. 13093 13094Tue Jun 5 23:58:43 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13095 13096 * variable.c (fc_i): removed vast string allocation. 13097 13098Tue Jun 5 16:45:48 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13099 13100 * error.c (Init_Exception): NameError went under StandardError, 13101 and NoMethodError went under NameError. 13102 13103Tue Jun 5 16:40:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13104 13105 * parse.y (rb_intern): non identifier symbols should be 13106 categorized as ID_JUNK. [new] 13107 13108Tue Jun 5 16:15:58 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13109 13110 * variable.c (rb_mod_const_at): use hash table as internal 13111 data. [new] 13112 13113 * variable.c (rb_mod_const_of): ditto. 13114 13115 * variable.c (rb_const_list): new function to convert internal 13116 data (hash table) to array of strings. 13117 13118 * eval.c (rb_mod_s_constants): data handling scheme has changed. 13119 13120Tue Jun 5 15:16:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13121 13122 * eval.c (rb_add_method): should not call rb_secure(), for 13123 last_func may not be set. 13124 13125 * io.c (rb_io_ctl): ioctl should accept any integer within C long 13126 range. 13127 13128Tue Jun 5 13:41:13 2001 WATANABE Hirofumi <eban@ruby-lang.org> 13129 13130 * ext/etc/extconf.rb: use egrep_cpp. 13131 13132Tue Jun 5 12:44:59 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13133 13134 * marshal.c (r_object): wrong type check for modules. 13135 13136 * marshal.c (w_object): should not dump anonymous classes/modules. 13137 13138Tue Jun 5 01:19:34 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13139 13140 * io.c (rb_open_file): use rb_file_sysopen_internal() if the 3rd 13141 argument (permission flags) is given. [new, should be backported?] 13142 13143 * io.c (rb_io_mode_binmode): mode string (e.g. "r+") to flags to 13144 open(2). 13145 13146Mon Jun 4 23:55:54 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13147 13148 * eval.c (rb_eval): NODE_REXPAND expand an array of 1 element as 13149 the element itself. [new, should be backported?] 13150 13151 * parse.y (ret_args): should treat "*[a]" in rhs expression as 13152 "a", not "[a]". 13153 13154Mon Jun 4 04:14:53 2001 Wakou Aoyama <wakou@fsinet.or.jp> 13155 13156 * lib/shellwords.rb: don't destroy argument. 13157 13158Sat Jun 2 23:23:05 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13159 13160 * regex.c (re_compile_pattern): should push option modifier at the 13161 right place. 13162 13163Sat Jun 2 23:05:20 2001 Shugo Maeda <shugo@ruby-lang.org> 13164 13165 * lib/cgi/session.rb: don't use module_function for Class. 13166 13167Sat Jun 2 00:02:22 2001 Keiju Ishitsuka <keiju@ishitsuka.com> 13168 13169 * irb messages: fix typos. 13170 13171Fri Jun 1 17:26:24 2001 K.Kosako <kosako@sofnec.co.jp> 13172 13173 * hash.c (replace_i): ignore when key == Qundef. 13174 13175Fri Jun 1 16:50:59 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13176 13177 * parse.y (call_args2): confusion with list_append() and 13178 list_concat() was fixed. 13179 13180Fri Jun 1 15:01:40 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13181 13182 * parse.y (yylex): fixed 'print CGI::bar() {}, "\n"' syntax 13183 breakage, adding new lex_state status. sigh. [new] 13184 13185Fri Jun 1 11:21:04 2001 WATANABE Hirofumi <eban@ruby-lang.org> 13186 13187 * configure.in: use waitpid on mingw32. 13188 13189 * ext/dbm/extconf.rb: include <ndbm.h>, not <gdbm.h>. 13190 13191Thu May 31 18:34:57 2001 K.Kosako <kosako@sofnec.co.jp> 13192 13193 * file.c (rb_file_s_unlink): should not allow if $SAFE >= 2. 13194 13195Thu May 31 17:23:25 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13196 13197 * range.c (Init_Range): define "to_ary". 13198 13199Thu May 31 13:30:25 2001 WATANABE Hirofumi <eban@ruby-lang.org> 13200 13201 * mkconfig.rb, ext/configsub.rb: VERSION -> RUBY_VERSION. 13202 13203Thu May 31 08:00:58 2001 Usaku Nakamura <usa@osb.att.ne.jp> 13204 13205 * win32/dir.h: re-add. 13206 13207Thu May 31 01:25:59 2001 Akinori MUSHA <knu@iDaemons.org> 13208 13209 * configure.in: default --with-libc_r to `no' until the problem is 13210 fixed. (FreeBSD only) 13211 13212Tue May 29 17:24:23 2001 K.Kosako <kosako@sofnec.co.jp> 13213 13214 * ruby.c (proc_options): unexpected SecurityError happens when -T4. 13215 13216Tue May 29 18:46:04 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13217 13218 * regex.c (re_compile_pattern): * \1 .. \9 should be 13219 backreferences always. 13220 13221 * regex.c (re_match): backreferences corresponding to 13222 unclosed/unmatched parentheses should fail always. 13223 13224Tue May 29 16:35:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13225 13226 * string.c (rb_str_cat): use rb_str_buf_cat() if possible. [new] 13227 13228 * string.c (rb_str_append): ditto. 13229 13230 * string.c (rb_str_buf_cat): remove unnecessary check (type, 13231 taint, modify) to gain performance. 13232 13233 * string.c (rb_str_buf_append): ditto. 13234 13235 * string.c (rb_str_buf_finish): removed. 13236 13237Tue May 29 02:05:55 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13238 13239 * string.c (rb_str_buf_new): buffering string function. [new] 13240 13241 * string.c (rb_str_buf_append): ditto. 13242 13243 * string.c (rb_str_buf_cat): ditto. 13244 13245 * string.c (rb_str_buf_finish): ditto. 13246 13247Mon May 28 23:20:43 2001 WATANABE Hirofumi <eban@ruby-lang.org> 13248 13249 * configure.in: remove unnecessary AC_CANONICAL_BUILD 13250 13251 * defines.h: #define HAVE_SETITIMER on Cygwin(bug fixed). 13252 13253 * ruby.c: use relative path from LIBRUBY_SO. 13254 13255 * ruby.c: don't use -mwin32 option on Cygwin. 13256 13257 * cygwin/GNUmakefile.in: ditto. 13258 13259 * ext/sdbm/_sdbm: ditto. 13260 13261 * ext/tcltklib/extconf.rb: ditto. 13262 13263 * ext/tcltklib/stubs.c: ditto. 13264 13265Mon May 28 22:12:01 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 13266 13267 * ext/extconf.rb.in: make the priority of the make rule of .c 13268 higher than .C . 13269 13270Mon May 28 13:22:19 2001 Tanaka Akira <akr@m17n.org> 13271 13272 * time.c (make_time_t): local time adjustment revised. 13273 13274Mon May 28 02:20:38 2001 Akinori MUSHA <knu@iDaemons.org> 13275 13276 * dir.c (glob_helper): teach has_magic() to handle flags and get 13277 glob_helper to properly support FNM_NOESCAPE. 13278 13279 * dir.c (fnmatch): fix a bug when FNM_PATHNAME and FNM_PERIOD are 13280 specified at the same time. 13281 13282Sat May 26 09:55:26 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13283 13284 * parse.y: accomplish extended syntax described in [ruby-talk:14525] 13285 using tSPC token. [new, experimental] 13286 13287Sat May 26 07:05:45 2001 Usaku Nakamura <usa@osb.att.ne.jp> 13288 13289 * MANIFEST: add win32/dir.h . 13290 13291Fri May 25 20:03:51 2001 Pascal Rigaux <pixel@mandrakesoft.com> 13292 13293 * dln.c (dln_find_1): should exclude directories in executable 13294 file lookup. 13295 13296Fri May 25 18:00:26 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13297 13298 * class.c (rb_obj_singleton_methods): list methods in extended 13299 modules if optional argument is true. [new] 13300 13301Fri May 25 14:19:25 2001 K.Kosako <kosako@sofnec.co.jp> 13302 13303 * string.c (rb_str_replace): add taint status infection 13304 (OBJ_INFECT()). 13305 13306 * string.c (rb_str_crypt): ditto. 13307 13308 * string.c (rb_str_ljust): ditto. 13309 13310 * string.c (rb_str_rjust): ditto. 13311 13312 * string.c (rb_str_center): ditto. 13313 13314Fri May 25 05:39:03 2001 Akinori MUSHA <knu@iDaemons.org> 13315 13316 * ext/sha1/sha1-ruby.c (sha1_hexdigest): fix buffer overflow. The 13317 buffer for a SHA-1 hexdigest needs to be 41 bytes in length. 13318 13319Fri May 25 01:47:39 2001 Akinori MUSHA <knu@iDaemons.org> 13320 13321 * MANIFEST: update the entries I forgot to add or remove. 13322 13323Fri May 25 00:57:25 2001 Akinori MUSHA <knu@iDaemons.org> 13324 13325 * ext/sha1/sha1-ruby.c (sha1_new): separate initialize() from 13326 new(). 13327 13328 * ext/md5/md5init.c (md5i_new): ditto. 13329 13330Fri May 25 00:53:41 2001 Akinori MUSHA <knu@iDaemons.org> 13331 13332 * ext/dbm/extconf.rb: fix support for *BSD and set $CFLAGS 13333 properly. 13334 13335Thu May 24 16:10:33 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13336 13337 * range.c (range_member): check based on "<=>" comparison. [new] 13338 13339 * range.c (range_check): add "succ" check if first end is not a 13340 numeric. 13341 13342 * range.c (range_eqq): comparison should based on "<=>". 13343 13344 * range.c (range_each): ditto. 13345 13346Thu May 24 16:08:21 2001 WATANABE Hirofumi <eban@ruby-lang.org> 13347 13348 * mkconfig.rb: autoconf 2.50 support. 13349 13350Thu May 24 14:23:35 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13351 13352 * eval.c (rb_yield_0): need argument adjustment for C defined 13353 blocks too. 13354 13355Thu May 24 01:11:30 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13356 13357 * ext/dbm/extconf.rb: header search added. [new] 13358 13359Wed May 23 02:58:21 2001 Tanaka Akira <akr@m17n.org> 13360 13361 * time.c (make_time_t): fix ad-hoc local time adjustment, using 13362 binary tree search. 13363 13364Tue May 22 17:10:35 2001 K.Kosako <kosako@sofnec.co.jp> 13365 13366 * variable.c (rb_alias_variable): should not allow variable 13367 aliasing if $SAFE >= 4. 13368 13369Tue May 22 02:37:45 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13370 13371 * parse.y (expr): "break" and "next" to take optional expression, 13372 which is used as a value for termination. [new, experimental] 13373 13374 * eval.c (rb_eval): "break" can give value to terminating method. 13375 13376 * eval.c (rb_eval): "break" and "next" to take optional expression. 13377 13378 * eval.c (rb_yield_0): "next" can give value to terminating "yield". 13379 13380 * eval.c (rb_iterate): "break" can give value to terminating method. 13381 13382 * eval.c (proc_call): ditto. 13383 13384Mon May 21 13:15:25 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13385 13386 * bignum.c (rb_big2str): t should be protected from GC. 13387 13388Sat May 19 09:29:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13389 13390 * process.c (rb_proc_times): need not to check return value from 13391 times(2). 13392 13393Fri May 18 05:36:08 2001 Akinori MUSHA <knu@iDaemons.org> 13394 13395 * ext/extmk.rb.in (xsystem): backout the previous fix which was 13396 bogus. 13397 13398Fri May 18 05:19:55 2001 Akinori MUSHA <knu@iDaemons.org> 13399 13400 * lib/mkmf.rb (xsystem): make a temporary fix to get $(...) macros 13401 properly expanded on a command execution. 13402 13403 * ext/extmk.rb.in (xsystem): ditto. 13404 13405Fri May 18 03:45:55 2001 Brian F. Feldman <green@FreeBSD.org> 13406 13407 * lib/mkmf.rb: unbreak "make install". lib/* must be installed 13408 under $rubylibdir, not under $libdir. 13409 13410Fri May 18 01:28:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13411 13412 * parse.y (expr): break, next, redo, retry are moved from primary. 13413 13414Fri May 18 01:11:02 2001 Usaku Nakamura <usa@osb.att.ne.jp> 13415 13416 * ext/sha1/sha1-ruby.c (sha1_new): get rid of an unneeded 13417 rb_obj_call_init() call. 13418 13419Fri May 18 01:03:55 2001 Usaku Nakamura <usa@osb.att.ne.jp> 13420 13421 * ext/sha1/sha1.txt, ext/sha1/sha1.txt.jp: fix typos. 13422 13423Thu May 17 19:17:11 2001 Akinori MUSHA <knu@iDaemons.org> 13424 13425 * lib/shell.rb, lib/shell/process-controller.rb, 13426 lib/shell/command-processor.rb: translate Japanese comments into 13427 English. 13428 13429Thu May 17 19:07:14 2001 Akinori MUSHA <knu@iDaemons.org> 13430 13431 * doc/shell.rd.jp: RD'ify and make some fixes. 13432 13433 * doc/shell.rd: RD'ify, delete Japanese leftovers, make overall 13434 English fixes, and sync with doc/shell.rd.jp. 13435 13436Thu May 17 17:35:04 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13437 13438 * eval.c (rb_call0): address of local_vars might change during eval. 13439 13440Thu May 17 07:27:09 2001 Akinori MUSHA <knu@iDaemons.org> 13441 13442 * ext/md5/md5.txt.jp, ext/sha1/sha1.txt.jp: 13443 s/SuperClass/Superclass/. 13444 13445Thu May 17 07:21:44 2001 Akinori MUSHA <knu@iDaemons.org> 13446 13447 * ext/Setup.dj, ext/Setup.emx, ext/Setup.nt, ext/Setup.x68: 13448 compile sha1 in as well as md5. 13449 13450 * ext/Setup: put sha1 in a comment. 13451 13452Thu May 17 07:16:38 2001 Akinori MUSHA <knu@iDaemons.org> 13453 13454 * ext/sha1/sha1.txt.jp: add the Japanese version derived from 13455 ext/md5/md5.txt.jp. 13456 13457 * ext/sha1/sha1.txt: revise the copyright info and reduce the 13458 difference from ext/md5/md5.txt. 13459 13460 * ext/md5/md5.txt: reduce the difference from ext/sha1/sha1.txt. 13461 13462Thu May 17 07:11:35 2001 Akinori MUSHA <knu@iDaemons.org> 13463 13464 * ext/sha1/extconf.rb, ext/sha1/sha1.c: use WORDS_BIGENDIAN to 13465 detect the platform's endian. 13466 13467Thu May 17 06:31:30 2001 Akinori MUSHA <knu@iDaemons.org> 13468 13469 * ext/md5/md5.txt: make wording fixes, and mention the newly added 13470 method: "<<". 13471 13472 * ext/md5/md5.txt.jp: ditto. 13473 13474Wed May 16 18:05:52 2001 Akinori MUSHA <knu@iDaemons.org> 13475 13476 * ext/md5/md5init.c: add an instance method "<<" as an alias for 13477 "update". (inspired by Steve Coltrin's ruby-sha1) 13478 13479Tue May 15 17:46:37 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13480 13481 * array.c (rb_ary_and): should not push frozen key string. 13482 13483 * array.c (rb_ary_or): ditto. 13484 13485Tue May 15 02:18:23 2001 Akinori MUSHA <knu@iDaemons.org> 13486 13487 * lib/thread.rb: rescue ThreadError in case the thread is dead 13488 just before calling Thread#run. 13489 13490Mon May 14 13:50:22 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13491 13492 * eval.c (rb_thread_schedule): should save context before raising 13493 deadlock, saved context for current thread might be obsolete. 13494 13495 * time.c (make_time_t): non DST timezone shift supported (hopefully). 13496 13497 * time.c (make_time_t): strict range detection for negative time_t. 13498 13499Mon May 14 11:54:20 2001 Tanaka Akira <akr@m17n.org> 13500 13501 * signal.c: SIGINFO added. 13502 13503Mon May 14 08:57:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13504 13505 * eval.c (rb_ensure): should not SEGV when prot_tag is NULL. 13506 13507Sun May 13 23:51:14 2001 Usaku Nakamura <usa@osb.att.ne.jp> 13508 13509 * win32/resource.rb: Modify copyright in resource script. 13510 13511Sun May 13 14:03:33 2001 Okada Jun <yun@be-in.org> 13512 13513 * lib/thread.rb: fix Queue#pop and SizedQueue#max= to avoid 13514 deadlock. 13515 13516Sat May 12 15:43:55 2001 Usaku Nakamura <usa@osb.att.ne.jp> 13517 13518 * win32/win32.c (kill): add support of signal 9 on mswin32/mingw32. 13519 13520Fri May 11 15:09:52 2001 WATANABE Hirofumi <eban@ruby-lang.org> 13521 13522 * ruby.h (rb_string_value): add volatile to avoid compiler warning. 13523 13524 * string.c (rb_string_value): ditto. 13525 13526Fri May 11 03:35:33 2001 Akinori MUSHA <knu@iDaemons.org> 13527 13528 * README.EXT: Document find_library(), with_config() and 13529 dir_config(). 13530 13531Fri May 11 03:34:20 2001 Akinori MUSHA <knu@iDaemons.org> 13532 13533 * README.EXT.jp: Remove the description of find_header() because 13534 such a function does not actually exist. 13535 13536 * README.EXT.jp: Update the description of dir_config(). 13537 13538Fri May 11 02:42:05 2001 Kazuhiro NISHIYAMA <zn@mbf.nifty.com> 13539 13540 * README, README.jp: Fix CVS access and mailing lists info. 13541 13542Fri May 11 02:00:44 2001 Ryo HAYASAKA <ryoh@jaist.ac.jp> 13543 13544 * bignum.c (bigdivrem): access boundary bug. 13545 13546Thu May 10 02:40:47 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13547 13548 * marshal.c (w_object): prohibit dumping out singleton classes. 13549 13550 * object.c (rb_mod_to_s): distinguish singleton classes. 13551 13552 * variable.c (rb_class2name): it's ok to reveal NilClass, 13553 TrueClass, FalseClass. 13554 13555Wed May 9 14:38:33 2001 K.Kosako <kosako@sofnec.co.jp> 13556 13557 * eval.c (rb_yield_0): preserve and restore ruby_cref as well. 13558 13559Tue May 8 18:28:19 2001 Keiju Ishitsuka <keiju@ishitsuka.com> 13560 13561 * lib/irb.rb lib/irb/multi-irb.rb lib/irb/ruby-lex.rb 13562 lib/irb/version.rb resolve ctrl-c problem 13563 13564Tue May 8 17:12:43 2001 K.Kosako <kosako@sofnec.co.jp> 13565 13566 * eval.c (is_defined): core dumped during instance_eval for 13567 special constants. 13568 13569 * eval.c (rb_eval): ditto. 13570 13571Tue May 8 08:52:57 2001 Akinori MUSHA <knu@iDaemons.org> 13572 13573 * doc/forwardable.rd, doc/forwardable.rd.jp: Hit `=begin' and 13574 `=end' in proper places so rd2 can format them without a problem. 13575 13576 * doc/irb/irb-tools.rd.jp, doc/irb/irb.rd, doc/irb/irb.rd.jp: 13577 ditto. 13578 13579Tue May 8 08:38:53 2001 Akinori MUSHA <knu@iDaemons.org> 13580 13581 * doc/forwardable.rd, doc/forwardable.rd.jp, lib/forwardable.rb: 13582 Import forwardable 1.1. 13583 13584Tue May 8 08:34:33 2001 Akinori MUSHA <knu@iDaemons.org> 13585 13586 * doc/irb/irb-tools.rd.jp, doc/irb/irb.rd.jp: Convert from JIS to 13587 EUC. 13588 13589Tue May 8 03:46:39 2001 Akinori MUSHA <knu@iDaemons.org> 13590 13591 * sample/rbc.rb: Obsoleted by IRB. 13592 13593Mon May 7 15:58:45 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13594 13595 * parse.y (arg): "||=" should not warn for uninitialized instance 13596 variables. 13597 13598 * eval.c (rb_eval): ditto. 13599 13600 * eval.c (eval): preserve and restore ruby_cref as well. 13601 13602Mon May 7 15:45:48 2001 WATANABE Hirofumi <eban@ruby-lang.org> 13603 13604 * lib/ftools.rb (syscopy): chmod destination file only if 13605 it does not exist. 13606 13607Mon May 7 14:35:57 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13608 13609 * object.c (rb_obj_is_instance_of): takes only class/module as an 13610 argument. 13611 13612Sun May 6 16:27:29 2001 Koji Arai <JCA02266@nifty.ne.jp> 13613 13614 * eval.c (is_defined): rb_reg_nth_defined() may return Qnil. 13615 13616Thu May 3 03:15:06 2001 SHIROYAMA Takayuki <psi@fortune.nest.or.jp> 13617 13618 * configure.in: get --enable-shared to work on MacOS X. 13619 13620 * Makefile.in: make $(LIBRUBY_SO) depend on miniruby properly. 13621 Now `make -jN' should work without a problem. 13622 13623Thu May 3 02:07:45 2001 Usaku Nakamura <usa@osb.att.ne.jp> 13624 13625 * win32/config.h.in: add SIZEOF___INT64 definition. 13626 13627Wed May 2 20:39:35 2001 WATANABE Hirofumi <eban@ruby-lang.org> 13628 13629 * dir.c (rb_glob, rb_globi): remove unnecessary FNM_PATHNAME. 13630 13631Wed May 2 11:46:13 2001 K.Kosako <kosako@sofnec.co.jp> 13632 13633 * eval.c (block_pass): should not downgrade safe level. 13634 13635Wed May 2 03:07:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13636 13637 * ext/dbm/extconf.rb: allow specifying dbm-type explicitly. 13638 13639 * ext/dbm/extconf.rb: avoid gdbm if possible, because it leaks 13640 memory, whereas gdbm.so doesn't. potential incompatibility. 13641 13642Wed May 2 02:02:18 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13643 13644 * string.c (rb_str_insert): new method. 13645 13646Tue May 1 17:55:58 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13647 13648 * parse.y (yylex): lex_state after RESCUE_MOD should be EXPR_BEG. 13649 13650Tue May 1 16:23:03 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13651 13652 * array.c (rb_ary_insert): new method. 13653 13654 * array.c (rb_ary_update): new utility function. 13655 13656Tue May 1 03:24:05 2001 Akinori MUSHA <knu@iDaemons.org> 13657 13658 * lib/irb/completion.rb, lib/irb/frame.rb, lib/irb/xmp.rb, 13659 doc/irb/irb-tools.rd.jp: Merge from irb-tools 0.7.1. 13660 13661Tue May 1 03:07:17 2001 Akinori MUSHA <knu@iDaemons.org> 13662 13663 * sample/irb.rb, lib/irb.rb, lib/irb/*, doc/irb/*: Merge from irb 13664 0.7.3. 13665 13666 * instruby.rb: Install help-message's too. 13667 13668 * lib/irb/main.rb: This file is not needed anymore. 13669 13670Fri Apr 27 09:27:10 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13671 13672 * io.c (set_outfile): should check if closed before assignment. 13673 13674Thu Apr 26 22:36:11 2001 WATANABE Hirofumi <eban@ruby-lang.org> 13675 13676 * configure.in: don't use tzname on Cygwin 1.3.1+. 13677 13678 * configure.in: add -mieee/-ieee to CFLAGS on OSF1/Alpha 13679 to disable "DIVISION BY ZERO" exception. 13680 13681Thu Apr 26 22:30:43 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13682 13683 * eval.c (rb_eval): should preserve value of ruby_errinfo. 13684 13685Thu Apr 26 10:36:09 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13686 13687 * eval.c (rb_thread_schedule): infinite sleep should not cause 13688 dead lock. 13689 13690Wed Apr 25 16:40:44 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13691 13692 * array.c (rb_ary_flatten_bang): proper recursive detection. 13693 13694Wed Apr 25 15:36:15 2001 K.Kosako <kosako@sofnec.co.jp> 13695 13696 * eval.c (yield_under): need not to prohibit at safe level 4. 13697 13698Wed Apr 25 15:22:20 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13699 13700 * pack.c (pack_pack): p/P packs nil into NULL. 13701 13702 * pack.c (pack_unpack): p/P unpacks NULL into nil. 13703 13704Tue Apr 24 15:35:32 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13705 13706 * pack.c (pack_pack): size check for P template. 13707 13708 * ruby.c (set_arg0): wrong predicate when new $0 value is bigger 13709 than original space. 13710 13711Tue Apr 24 15:18:49 2001 Akinori MUSHA <knu@iDaemons.org> 13712 13713 * ext/extmk.rb.in, lib/mkmf.rb: (dir_config) do not add the 13714 specified include directory if already included in $CPPFLAGS. 13715 13716 * ext/extmk.rb.in, lib/mkmf.rb: (dir_config) return a more useful 13717 value, [include_dir, lib_dir]. 13718 13719Mon Apr 23 14:43:59 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13720 13721 * gc.c (id2ref): should use NUM2ULONG() 13722 13723 * object.c (rb_mod_const_get): check whether name is a class 13724 variable name. 13725 13726 * object.c (rb_mod_const_set): ditto. 13727 13728 * object.c (rb_mod_const_defined): ditto. 13729 13730Sat Apr 21 22:33:26 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13731 13732 * marshal.c (w_float): precision changed to "%.16g" 13733 13734Sat Apr 21 22:07:58 2001 Guy Decoux <decoux@moulon.inra.fr> 13735 13736 * eval.c (rb_call0): wrong retry behavior. 13737 13738Fri Apr 20 19:12:20 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13739 13740 * numeric.c (fix_aref): a bug on long>int architecture. 13741 13742Fri Apr 20 14:57:15 2001 K.Kosako <kosako@sofnec.co.jp> 13743 13744 * eval.c (rb_eval_string_wrap): should restore ruby_wrapper. 13745 13746Sun Apr 22 17:44:37 2001 WATANABE Hirofumi <eban@ruby-lang.org> 13747 13748 * configure.in: add -mieee to CFLAGS on Linux/Alpha 13749 to disable "DIVISION BY ZERO" exception. 13750 13751 * configure.in: remove -ansi on OSF/1. 13752 13753Wed Apr 18 04:37:51 2001 Wakou Aoyama <wakou@fsinet.or.jp> 13754 13755 * lib/cgi.rb: CGI::Cookie: no use PATH_INFO. 13756 13757Wed Apr 18 00:24:40 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13758 13759 * regex.c (re_compile_pattern): char class at either edge of range 13760 should be invalid. 13761 13762Tue Apr 17 17:33:55 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13763 13764 * eval.c (handle_rescue): use === to compare exception match. 13765 13766 * error.c (syserr_eqq): comparison between SytemCallErrors should 13767 based on their error numbers. 13768 13769Tue Apr 17 16:54:39 2001 K.Kosako <kosako@sofnec.co.jp> 13770 13771 * eval.c (safe_getter): should use INT2NUM(). 13772 13773Tue Apr 17 15:12:56 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13774 13775 * bignum.c (rb_big2long): 2**31 cannot fit in 31 bit long. 13776 13777Sat Apr 14 22:46:43 2001 Guy Decoux <decoux@moulon.inra.fr> 13778 13779 * regex.c (calculate_must_string): wrong length calculation. 13780 13781Sat Apr 14 13:37:32 2001 Usaku Nakamura <usa@osb.att.ne.jp> 13782 13783 * win32/config.status.in: no longer use missing/alloca.c. 13784 13785 * win32/Makefile.sub: ditto. 13786 13787Fri Apr 13 12:40:48 2001 K.Kosako <kosako@sofnec.co.jp> 13788 13789 * eval.c (rb_thread_start_0): fixed memory leak. 13790 13791Fri Apr 13 16:41:18 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13792 13793 * parse.y (none): should clear cmdarg_stack too. 13794 13795Fri Apr 13 06:19:29 2001 GOTOU Yuuzou <gotoyuzo@notwork.org> 13796 13797 * io.c (rb_fopen): use setvbuf() to avoid recursive malloc() on 13798 some platforms. 13799 13800Wed Apr 11 23:36:26 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13801 13802 * file.c (rb_stat_dev): device functions should honor stat field 13803 types (except long long such as dev_t). 13804 13805Wed Apr 11 18:07:53 2001 K.Kosako <kosako@sofnec.co.jp> 13806 13807 * eval.c (rb_mod_nesting): should not push nil for nesting array. 13808 13809 * eval.c (rb_mod_s_constants): should not search array by 13810 rb_mod_const_at() for nil (happens for singleton class). 13811 13812Wed Apr 11 13:29:26 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13813 13814 * class.c (rb_singleton_class_attached): should modify iv_tbl by 13815 itself, no longer use rb_iv_set() to avoid freeze check error. 13816 13817 * variable.c (rb_const_get): error message "uninitialized constant 13818 Foo at Bar::Baz" instead of "uninitialized constantBar::Baz::Foo". 13819 13820Tue Apr 10 17:52:10 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13821 13822 * eval.c (rb_mod_included): new hook called from rb_mod_include(). 13823 13824Tue Apr 10 02:24:40 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 13825 13826 * io.c (opt_i_set): should strdup() inplace_edit string. 13827 13828Mon Apr 9 23:29:54 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13829 13830 * eval.c (exec_under): need to push cref too. 13831 13832Mon Apr 9 15:20:21 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13833 13834 * eval.c (rb_f_missing): raise NameError for "undefined local 13835 variable or method". 13836 13837 * error.c (Init_Exception): new exception NoMethodError. 13838 NameError moved under ScriptError again. 13839 13840 * eval.c (rb_f_missing): use NoMethodError instead of NameError. 13841 13842Mon Apr 9 12:05:44 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13843 13844 * file.c (Init_File): should redefine "new" class method. 13845 13846Mon Apr 9 11:56:52 2001 Shugo Maeda <shugo@ruby-lang.org> 13847 13848 * lib/net/imap.rb: fix typo. 13849 13850Fri Apr 6 01:46:35 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13851 13852 * eval.c (PUSH_CREF): sharing cref node was problematic. maintain 13853 runtime cref list instead. 13854 13855 * eval.c (rb_eval): copy defn node before registering. 13856 13857 * eval.c (rb_load): clear ruby_cref before loading. 13858 13859Thu Apr 5 22:40:12 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13860 13861 * variable.c (rb_const_get): no recursion to show full class path 13862 for modules. 13863 13864 * eval.c (rb_set_safe_level): should set safe level in curr_thread 13865 as well. 13866 13867 * eval.c (safe_setter): ditto. 13868 13869Thu Apr 5 13:46:06 2001 K.Kosako <kosako@sofnec.co.jp> 13870 13871 * object.c (rb_obj_is_instance_of): nil belongs to false, not true. 13872 13873Thu Apr 5 02:19:03 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13874 13875 * time.c (make_time_t): proper (I hope) daylight saving time 13876 handling for both US and Europe. I HATE DST! 13877 13878 * eval.c (rb_thread_wait_for): non blocked signal interrupt should 13879 stop the interval. 13880 13881Wed Apr 4 03:47:03 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13882 13883 * eval.c (proc_eq): class check added. 13884 13885 * eval.c (proc_eq): typo fixed ("return" was omitted). 13886 13887 * error.c (Init_Exception): move NameError under StandardError. 13888 13889 * class.c (rb_mod_clone): should copy method bodies too. 13890 13891 * bignum.c (bigdivrem): should trim trailing zero bdigits of 13892 remainder, even if dd == 0. 13893 13894 * file.c (check3rdbyte): safe string check moved here. 13895 13896Tue Apr 3 09:56:20 2001 WATANABE Hirofumi <eban@ruby-lang.org> 13897 13898 * ext/extmk.rb.in (create_makefile): create def file only if 13899 it does not yet exist. 13900 13901 * lib/mkmf.rb: ditto. 13902 13903Tue Apr 3 00:05:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13904 13905 * time.c (make_time_t): remove HAVE_TM_ZONE code since it 13906 sometimes reports wrong time. 13907 13908 * time.c (make_time_t): remove unnecessary range check for 13909 platforms where negative time_t is available. 13910 13911Mon Apr 2 16:52:48 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13912 13913 * process.c (proc_waitall): should push Process::Status instead of 13914 Fixnum status. 13915 13916 * process.c (waitall_each): should add all entries in pid_tbl. 13917 these changes are inspired by Koji Arai. Thanks. 13918 13919 * process.c (proc_wait): should not iterate if pid_tbl is 0. 13920 13921 * process.c (proc_waitall): ditto. 13922 13923Mon Apr 2 14:25:49 2001 Shugo Maeda <shugo@ruby-lang.org> 13924 13925 * lib/monitor.rb (wait): ensure reentrance. 13926 13927 * lib/monitor.rb (wait): fix timeout support. 13928 13929Mon Apr 2 12:40:45 2001 Shugo Maeda <shugo@ruby-lang.org> 13930 13931 * lib/net/imap.rb (media_subtype): return subtype. 13932 13933Mon Apr 2 12:01:15 2001 Shugo Maeda <shugo@ruby-lang.org> 13934 13935 * lib/net/imap.rb (flag_list): capitalize flags. 13936 13937Mon Apr 2 01:32:38 2001 Akinori MUSHA <knu@iDaemons.org> 13938 13939 * Makefile.in: Introduce MAINLIBS. 13940 13941 * configure.in: Link libc_r against the ruby executable on 13942 FreeBSD, which is the first attempt to work around a certain 13943 problem regarding pthread on FreeBSD. It should make ruby/libruby 13944 happy when it loads an extension to a library compiled and linked 13945 with -pthread. Note, however, that libruby is _not_ linked with 13946 libc_r so as not to mess up pthread unfriendly stuff including 13947 apache+mod_ruby and vim6+ruby_interp. 13948 13949Mon Apr 2 01:16:24 2001 WATANABE Hirofumi <eban@ruby-lang.org> 13950 13951 * win32/win32.c: use ruby's opendir on mingw32. 13952 13953 * win32/dir.h, dir.c, Makefile: ditto. 13954 13955Sun Apr 1 23:26:14 2001 TOYOFUKU Chikanobu <toyofuku@juice.or.jp> 13956 13957 * numeric.c (flodivmod): a bug in no fmod case. 13958 13959Sun Apr 1 18:36:14 2001 Koji Arai <JCA02266@nifty.ne.jp> 13960 13961 * process.c (pst_wifsignaled): should apply WIFSIGNALED for status 13962 (int), not st (VALUE). 13963 13964Sat Mar 31 04:47:55 2001 Shugo Maeda <shugo@ruby-lang.org> 13965 13966 * lib/net/imap.rb: add document and example code. 13967 13968Sat Mar 31 03:24:10 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13969 13970 * io.c (Init_IO): value of $/ and $\ are no longer restricted to 13971 strings. type checks are done on demand. 13972 13973 * class.c (rb_include_module): module inclusion should be check 13974 taints. 13975 13976 * ruby.h (STR2CSTR): replace to StringType() and StringTypePtr(). 13977 13978 * ruby.h (rb_str2cstr): ditto. 13979 13980Fri Mar 30 23:37:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13981 13982 * eval.c (rb_load): should not copy toplevel local variables. It 13983 cause variable/method ambiguity. Thanks to L. Peter Deutsch. 13984 13985Fri Mar 30 22:56:56 2001 Shugo Maeda <shugo@ruby-lang.org> 13986 13987 * lib/net/imap.rb: rename ContinueRequest to ContinuationRequest. 13988 13989Fri Mar 30 12:51:19 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13990 13991 * class.c (rb_include_module): freeze check at first. 13992 13993Thu Mar 29 17:05:09 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 13994 13995 * eval.c (rb_attr): sprintf() and rb_intern() moved into 13996 conditional body. 13997 13998Wed Mar 28 23:43:00 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 13999 14000 * ext/extmk.rb.in, lib/mkmf.rb: add C++ rules in addition to C 14001 rules for the mswin32 platforms. 14002 14003Wed Mar 28 19:29:21 2001 Akinori MUSHA <knu@iDaemons.org> 14004 14005 * ext/extmk.rb.in, lib/mkmf.rb: move C++ rules to the right place. 14006 14007Wed Mar 28 17:39:04 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14008 14009 * object.c (rb_str2cstr): warn if string contains \0 and length 14010 value is ignored. 14011 14012Wed Mar 28 15:00:31 2001 K.Kosako <kosako@sofnec.co.jp> 14013 14014 * class.c (rb_singleton_class_clone): should copy class constant 14015 table as well. 14016 14017Wed Mar 28 14:23:23 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14018 14019 * class.c (rb_include_module): sometimes cache was mistakenly left 14020 uncleared - based on the patch by K.Kosako. 14021 14022 * ruby.h: all Check_SafeStr()'s are replaced by SafeStr() to 14023 ensure 'to_str' be always effective. 14024 14025Wed Mar 28 09:52:33 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14026 14027 * win32/Makefile.sub: disable global optimization. 14028 14029Tue Mar 27 15:00:54 2001 K.Kosako <kosako@sofnec.co.jp> 14030 14031 * eval.c (rb_mod_define_method): should have clear method cache. 14032 14033 * eval.c (rb_mod_define_method): should have raised exception for 14034 type error. 14035 14036Tue Mar 27 14:48:17 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14037 14038 * ruby.h: changed "extern INLINE" to "static inline". 14039 14040Mon Mar 26 23:19:33 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14041 14042 * time.c (rb_strftime): check whether strftime returns empty string. 14043 14044Mon Mar 26 21:16:56 2001 Shugo Maeda <shugo@ruby-lang.org> 14045 14046 * lib/net/imap.rb: supports response handlers and multiple commands. 14047 14048Mon Mar 26 17:21:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14049 14050 * eval.c: remove TMP_PROTECT_END to prevent C_ALLOCA crash. 14051 14052Mon Mar 26 14:04:41 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14053 14054 * ext/Win32API/Win32API.c: remove Init_win32api(). 14055 14056Sun Mar 25 16:52:48 2001 Koji Arai <JCA02266@nifty.ne.jp> 14057 14058 * file.c (rb_file_flock): do not trap EINTR. 14059 14060 * missing/flock.c (flock): returns the value from lockf(2) 14061 directly. 14062 14063Sat Mar 24 23:44:50 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14064 14065 * eval.c (ev_const_defined): should ignore toplevel cbase (Object). 14066 14067 * eval.c (ev_const_get): ditto. 14068 14069Fri Mar 23 17:37:52 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14070 14071 * ext/md5/md5.h: replace by independent md5 implementation 14072 contributed by L. Peter Deutsch (thanks). 14073 14074 * ext/md5/md5init.c: adopted to Deutsch's md5 implementation. 14075 14076Fri Mar 23 17:26:19 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14077 14078 * pack.c (pack_unpack): string from P/p should be tainted. 14079 14080Fri Mar 23 12:18:44 2001 SHIROYAMA Takayuki <psi@fortune.nest.or.jp> 14081 14082 * ext/curses/curses.c: curses on Mac OS X public beta does not 14083 have _maxx etc. 14084 14085Fri Mar 23 10:50:31 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14086 14087 * marshal.c (w_object): should truncate trailing zero short for 14088 bignums. 14089 14090Fri Mar 23 09:49:02 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14091 14092 * object.c (sym_intern): new method. 14093 14094Thu Mar 22 22:15:45 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14095 14096 * ext/Win32API/extconf.rb: add -fno-omit-frame-pointer. 14097 14098Thu Mar 22 18:17:36 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14099 14100 * eval.c (rb_mod_nesting): should not include Object at the 14101 toplevel. 14102 14103Thu Mar 22 17:43:44 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14104 14105 * ruby.h: better inline function support. 14106 14107 * configure.in (NO_C_INLINE): check if inline is available for the 14108 C compiler. 14109 14110Mon Mar 19 11:03:10 2001 Koji Arai <JCA02266@nifty.ne.jp> 14111 14112 * marshal.c (r_object): len calculation patch was wrong for 14113 machines SIZEOF_BDIGITS == SIZEOF_SHORT. 14114 14115 * gc.c: alloca prototype reorganized for C_ALLOCA machine. 14116 14117Wed Mar 21 23:07:45 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14118 14119 * win32/win32.c (win32_stat): WinNT/2k "//host/share" support. 14120 14121Wed Mar 21 08:05:35 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 14122 14123 * win32/dir.h: replace missing/dir.h . 14124 14125 * win32/win32.h: ditto. 14126 14127 * win32/win32.c: ditto. 14128 14129Wed Mar 21 01:26:14 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14130 14131 * gc.c (id2ref): sometimes confused symbol and reference. 14132 14133Tue Mar 20 23:09:33 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14134 14135 * win32/win32.c (win32_stat): UNC support. 14136 14137 * dir.c (extract_path): fix "./*" problem. 14138 14139Tue Mar 20 15:10:00 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14140 14141 * dir.c (glob_helper): breaks loop after calling recursive 14142 glob_helper; all wild cards should be consumed; no need for 14143 further match. 14144 14145 * dir.c (dir_s_glob): gives warning if no match found. 14146 14147Tue Mar 20 14:13:45 2001 Koji Arai <JCA02266@nifty.ne.jp> 14148 14149 * object.c (sym_inspect): did allocate extra byte space. 14150 14151Mon Mar 19 19:14:47 2001 Guy Decoux <decoux@moulon.inra.fr> 14152 14153 * marshal.c (shortlen): shortlen should return number of bytes 14154 written. 14155 14156Mon Mar 19 16:52:23 2001 K.Kosako <kosako@sofnec.co.jp> 14157 14158 * eval.c (ev_const_defined): need not to check if cbase->nd_class 14159 is rb_cObject. 14160 14161 * eval.c (ev_const_get): ditto. 14162 14163Mon Mar 19 17:11:20 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14164 14165 * time.c (time_zone): return "UTC" for UTC time objects. 14166 14167Mon Mar 19 16:27:32 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14168 14169 * eval.c (THREAD_ALLOC): flags should be initialized. 14170 14171 * signal.c (rb_f_kill): should use FIX2INT, not FIX2UINT. 14172 14173Mon Mar 19 10:55:10 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14174 14175 * dir.c (glob_helper): replace lstat() by stat() to follow symlink 14176 in the case like 'symlink/*'. 14177 14178 * dir.c (glob_helper): gave warning too much. 14179 14180Sun Mar 18 08:58:18 2001 Wakou Aoyama <wakou@fsinet.or.jp> 14181 14182 * lib/cgi.rb: // === '' --> //.match('') 14183 14184 * lib/cgi.rb: cgi#header(): improvement for mod_ruby. 14185 14186 * lib/cgi.rb: cgi#rfc1123date(): improvement. 14187 thanks to TADA Tadashi <sho@spc.gr.jp>. 14188 14189 * lib/cgi.rb: cgi#rfc1123date(): document bug fix. 14190 thanks to Kazuhiro NISHIYAMA <zn@mbf.nifty.com>. 14191 14192 * lib/cgi.rb: cgi#header(): bug fix. 14193 thanks to IWATSUKI Hiroyuki <don@na.rim.or.jp>. 14194 14195Sat Mar 17 11:11:24 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14196 14197 * dir.c (glob_helper): * should follow symlink, whereas ** should 14198 not follow. 14199 14200Thu Mar 15 01:28:02 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14201 14202 * dir.c (dir_s_chdir): block form of Dir.chdir. (RCR#U016). 14203 14204Fri Mar 16 17:14:17 2001 Akinori MUSHA <knu@iDaemons.org> 14205 14206 * configure.in: Set SOLIBS properly for all ELF and 14207 FreeBSD/NetBSD/OpenBSD a.out platforms so that the shlib 14208 dependencies are recorded in the libruby shlib. 14209 14210Wed Mar 14 16:41:45 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14211 14212 * eval.c (rb_thread_schedule): raise FATAL just once to 14213 THREAD_TO_KILL. 14214 14215Wed Mar 14 10:41:34 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14216 14217 * eval.c (rb_yield_0): 0 (= Qfalse) is a valid value, so that 14218 default self should be checked by klass == 0. 14219 14220 * bignum.c (rb_cstr2inum): should disallow '++1', '+-1', etc. 14221 14222Tue Mar 13 17:51:09 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14223 14224 * eval.c (ev_const_defined): add new parameter self for special 14225 const fallback. 14226 14227 * eval.c (ev_const_get): ditto. 14228 14229Tue Mar 13 16:39:45 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14230 14231 * dir.c (rb_glob_helper): fix drive letter handling on DOSISH. 14232 14233Tue Mar 13 14:54:39 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 14234 14235 * lib/net/http.rb: add HTTPRequest#basic_auth. 14236 14237 * lib/net/smtp.rb: raise if only account or password is given. 14238 14239 * lib/net/protocol.rb: WriteAdapter#<< returns self. 14240 14241Tue Mar 13 14:41:16 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14242 14243 * io.c (argf_seek_m): wrong calling sequence of rb_io_seek(). 14244 14245Tue Mar 13 09:14:19 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14246 14247 * parse.y (cond0): no special treatment of string literal in 14248 condition. 14249 14250Mon Mar 12 18:59:38 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14251 14252 * lib/mkmf.rb (create_makefile): save/restore $libs and $LIBPATH. 14253 14254Sun Mar 11 18:13:34 2001 Masahiro Tanaka <masa@stars.gsfc.nasa.gov> 14255 14256 * math.c: add acos, asin, atan, conh, sinh, tanh and hypot to Math. 14257 14258 * configure.in: check hypot availability. 14259 14260 * missing/hypot.c: public domain rewrite of hypot. 14261 14262Sun Mar 11 13:21:04 2001 Koji Arai <JCA02266@nifty.ne.jp> 14263 14264 * parse.y (warn_unless_e_option): warning condition was wrong. 14265 14266 * parse.y (warning_unless_e_option): ditto. 14267 14268Sun Mar 11 00:55:31 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14269 14270 * lib/mkmf.rb (install_rb): fix handling of destination path. 14271 14272Sat Mar 10 22:56:44 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14273 14274 * enum.c (enum_all): new method 'all?', which returns true if 14275 block returns true for all elements. 14276 14277 * enum.c (enum_any): new method 'any?', which returns true if 14278 block returns true for any of elements. 14279 14280Sat Mar 10 02:34:18 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14281 14282 * math.c (math_log, math_log10): use nan() instead of 0.0/0.0 on Cygwin. 14283 14284Fri Mar 9 09:56:19 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14285 14286 * marshal.c (marshal_load): do not give warning unless explicitly 14287 set to verbose. 14288 14289Fri Mar 9 02:07:53 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14290 14291 * eval.c (rb_exit): give string value "exit" to SystemExit. 14292 14293 * ruby.c (proc_options): -v should not print version if 14294 proc_options called via moreswitches(). 14295 14296Thu Mar 8 17:45:19 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 14297 14298 * lib/net/protocol.rb: one write(2) per one line. 14299 14300Wed Mar 7 14:26:11 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14301 14302 * math.c (math_log, math_log10): should return NaN if x < 0.0 14303 on Cygwin. 14304 14305Thu Mar 7 10:31:26 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 14306 14307 * parse.y (stmt): while/until modifier must work for empty body. 14308 14309Tue Mar 6 22:53:58 2001 Kazuhiro Yoshida <moriq.kazuhiro@nifty.ne.jp> 14310 14311 * ruby.c (ruby_set_argv): clear ARGV contents before adding args. 14312 14313Tue Mar 6 10:50:29 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14314 14315 * parse.y (primary): rescue and ensure clauses should be allowed 14316 to appear in singleton method body. 14317 14318Mon Mar 5 17:25:13 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14319 14320 * eval.c (proc_eq): compare Procs using blocktag equality. 14321 14322 * eval.c (proc_to_s): stringify according to block tag address. 14323 14324Mon Mar 5 17:19:56 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14325 14326 * win32/win32.c (gettimeofday): use GetLocalTime() instead of ftime() 14327 for high-resolution timing. 14328 14329Sun Mar 4 17:01:09 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14330 14331 * string.c (trnext): support backslash escape in String#tr. 14332 14333Sat Mar 3 16:15:16 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14334 14335 * eval.c (rb_eval): push cbase if ruby_cbase != ruby_class, for 14336 example in the case NODE_DEFN/NODE_DEFS are called within 14337 module_eval. 14338 14339Wed Feb 28 11:02:41 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14340 14341 * string.c (rb_str_delete_bang): delete! should take at least 1 14342 argument. 14343 14344 * ruby.c (load_file): add rb_gc() after loading to avoid 14345 extraordinary memory growth. 14346 14347Wed Feb 28 05:01:40 2001 Koji Arai <JCA02266@nifty.ne.jp> 14348 14349 * dir.c (rb_glob_helper): "./foo" should match "foo", not "./foo". 14350 14351Tue Feb 27 16:38:15 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14352 14353 * eval.c (ev_const_get): retrieve Object's constant if no current 14354 class is available (e.g. defining singleton class for Fixnums). 14355 14356 * eval.c (ev_const_defined): check Object's constant if no current 14357 class is available (e.g. defining singleton class for Fixnums). 14358 14359 * time.c (time_timeval): negative time interval should not be 14360 allowed. 14361 14362 * eval.c (proc_call): ignore block to `call' always, despite of 14363 being orphan or not. 14364 14365Wed Feb 27 10:16:32 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 14366 14367 * eval.c (rb_yield_0): should check based on rb_block_given_p() 14368 and rb_f_block_given_p(). 14369 14370Tue Feb 27 04:13:45 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 14371 14372 * configure.in (frame-address): --enable-frame-address to allow 14373 __builtin_frame_address() to be used. 14374 14375 * eval.c (stack_length): use __builtin_frame_address() based on 14376 the macro USE_BUILTIN_FRAME_ADDRESS. 14377 14378 * gc.c (rb_gc): ditto. 14379 14380 * gc.c (Init_stack): ditto. 14381 14382Mon Feb 26 16:20:27 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14383 14384 * ruby.c (proc_options): call ruby_show_version() just once. 14385 14386 * dir.c (dir_s_open): returns the value from a block (if given). 14387 14388Mon Feb 26 14:29:04 2001 Akinori MUSHA <knu@iDaemons.org> 14389 14390 * ext/extmk.rb.in, lib/mkmf.rb: add C++ rules in addition to C 14391 rules. 14392 14393Mon Feb 26 00:04:52 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14394 14395 * eval.c (proc_call): should not modify ruby_block->frame.iter 14396 based on ruby_frame->iter altered by PUSH_ITER(). 14397 14398Mon Feb 26 05:27:52 2001 Wakou Aoyama <wakou@fsinet.or.jp> 14399 14400 * lib/net/telnet.rb: #telnetmode(), #binmode(): bug fix. 14401 thanks to nobu.nakada@nifty.ne.jp. 14402 14403Mon Feb 26 04:55:50 2001 Wakou Aoyama <wakou@fsinet.or.jp> 14404 14405 * lib/cgi.rb: CGI#form(): bug fix. 14406 thanks to MoonWolf <moonwolf@moonwolf.com>. 14407 14408 * lib/cgi.rb: CGI#rfc1123_date(): improvement. 14409 thanks to Tomoyasu Akita <genzo-@dm4lab.to>. 14410 14411 * lib/cgi.rb: CGI#header(): improvement for mod_ruby. 14412 thanks to Shugo Maeda <shugo@ruby-lang.org>. 14413 14414Sun Feb 25 02:45:30 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14415 14416 * file.c (rb_file_s_rename): avoid Cygwin's bug. 14417 14418Sat Feb 24 23:32:55 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14419 14420 * eval.c (rb_thread_fd_close): should save current context before 14421 raising exception. 14422 14423Sat Feb 24 22:14:00 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14424 14425 * win32/win32.c (myrename): fix error handling. 14426 14427Sat Feb 24 13:58:48 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 14428 14429 * lib/net/http.rb: always close connection on request without 14430 body. 14431 14432 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: change copyright. 14433 14434Sat Feb 24 03:15:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14435 14436 * io.c (set_stdin): preserve original stdin. 14437 14438 * io.c (set_outfile): preserve original stdout/stderr. 14439 14440Fri Feb 23 08:28:58 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 14441 14442 * lib/net/protocol.rb: clear read buffer after reopen. 14443 14444 * lib/net/protocol.rb: refactoring. 14445 14446 * lib/net/http.rb: split module HTTPHeader from HTTPResponse. 14447 14448Tue Feb 20 23:45:35 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14449 14450 * process.c: add W* macro if not available. 14451 14452Tue Feb 20 16:37:58 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14453 14454 * configure.in: add check for negative time_t for gmtime(3). 14455 14456 * time.c (time_new_internal): no positive check if gmtime(3) can 14457 handle negative time_t. 14458 14459 * time.c (time_timeval): ditto. 14460 14461 * bignum.c (rb_big2long): should not raise RangeError for Bignum 14462 LONG_MIN value. 14463 14464Mon Feb 19 17:46:37 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14465 14466 * string.c (rb_str_substr): "a"[1,2] should return ""; need 14467 rubicon upgrade. 14468 14469Mon Feb 19 12:10:36 2001 Triet H. Lai <thlai@mail.usyd.edu.au> 14470 14471 * error.c (rb_sys_warning): new function to give warning with 14472 strerror() message. 14473 14474 * dir.c (rb_glob_helper): better error handling, along with 14475 performance tune. 14476 14477Mon Feb 19 01:55:43 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14478 14479 * eval.c (secure_visibility): visibility check for untainted modules. 14480 14481Mon Feb 19 00:29:29 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 14482 14483 * signal.c (sigpipe): sighandler which does nothing. 14484 14485 * signal.c (trap): set sigpipe function for SIGPIPE. 14486 14487 * signal.c (Init_signal): default SIGPIPE handler should be 14488 sigpipe function. 14489 14490Sun Feb 18 15:42:38 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14491 14492 * ext/curses/extconf.rb: add dir_config. 14493 14494 * missing/flock.c: use fcntl(2) instead of lockf(2). 14495 14496Sun Feb 18 05:46:03 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 14497 14498 * lib/net/http.rb: Response#range_length was not debugged. 14499 14500Sun Feb 18 04:02:03 2001 Yasushi Shoji <yashi@yashi.com> 14501 14502 * array.c (rb_ary_subseq): wrong boundary check. 14503 14504Sun Feb 18 00:09:50 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 14505 14506 * win32/win32.c: make file I/O faster on mswin32/mingw32. 14507 14508 * win32/win32.h: ditto. 14509 14510 * rubysig.h: ditto. 14511 14512Sat Feb 17 23:32:45 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14513 14514 * parse.y (cond0): integer literal in condition should not be 14515 compared to lineno ($.). 14516 14517Fri Feb 16 01:44:56 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14518 14519 * io.c (set_outfile): f should be the FILE* from the assigning value. 14520 14521 * ext/socket/socket.c (tcp_s_open): should not give default value 14522 to local_host. 14523 14524 * time.c (time_s_times): move to Process::times. 14525 14526 * file.c (rb_file_s_lchmod): new method File::lchmod. 14527 14528 * file.c (rb_file_s_lchown): new method File::lchown. 14529 14530Thu Feb 15 11:33:49 2001 Shugo Maeda <shugo@ruby-lang.org> 14531 14532 * lib/cgi/session.rb (close): fixed reversed condition. 14533 14534Thu Feb 15 08:34:14 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14535 14536 * process.c (proc_waitall): new method based on a patch from Brian 14537 Fundakowski Feldman <green@green.dyndns.org>. 14538 14539 * process.c (last_status_set): objectify $? value (Process::Status). 14540 14541Wed Feb 14 17:28:24 2001 Shugo Maeda <shugo@ruby-lang.org> 14542 14543 * lib/net/imap.rb: supports unknown resp_text_code. 14544 14545Wed Feb 14 00:44:17 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14546 14547 * dir.c (dir_s_glob): support backslash escape of metacharacters 14548 and delimiters. 14549 14550 * dir.c (remove_backslases): remove backslashes from path before 14551 calling stat(2). 14552 14553 * dir.c (dir_s_glob): call rb_yield directly (via push_pattern) if 14554 block is given to the method. 14555 14556 * dir.c (push_pattern): do not call rb_ary_push; yield directly. 14557 14558 * eval.c (blk_copy_prev): reduced ALLOC_N too much. 14559 14560 * eval.c (frame_dup): ditto. 14561 14562Tue Feb 13 23:05:38 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14563 14564 * dir.c (lstat): should use rb_sys_stat if lstat(2) is not 14565 available. 14566 14567Tue Feb 13 08:43:10 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14568 14569 * io.c (rb_io_ctl): do not call ioctl/fcntl for f2, if f and f2 14570 have same fileno. 14571 14572Tue Feb 13 01:13:43 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14573 14574 * eval.c (rb_load): raise LocalJumpError if unexpected local jumps 14575 appear during load. 14576 14577 * ext/socket/socket.c (bsock_close_read): don't call rb_thread_fd_close(); 14578 it's supposed to be called by io_io_close(). 14579 14580 * ext/socket/socket.c (bsock_close_read): do not modify f and f2. 14581 14582 * ext/socket/socket.c (bsock_close_write): ditto. 14583 14584 * ext/socket/socket.c (sock_new): avoid dup(2) on sockets. 14585 14586 * parse.y (primary): preserve and clear in_single and in_def using 14587 stack to prevent nested method errors in singleton class bodies. 14588 14589Sun Feb 11 16:00:30 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14590 14591 * eval.c (stack_length): use __builtin_frame_address() only if 14592 GCC and i386 CPU. 14593 14594 * gc.c (rb_gc, Init_stack): ditto. 14595 14596 * configure.in: add ac_cv_func_getpgrp_void=yes on DJGPP. 14597 14598Sat Feb 10 23:43:49 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 14599 14600 * hash.c (rb_any_hash): dumped core on machines sizeof(int) != sizeof(long). 14601 14602Sat Feb 10 23:07:15 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14603 14604 * io.c (rb_io_s_for_fd): IO::for_fd(fd) - new method. 14605 14606 * regex.c (PREV_IS_A_LETTER): should not treat c>0x7f as a word 14607 character if -Kn. 14608 14609Sat Feb 10 00:00:30 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 14610 14611 * win32/win32.c (win32_stat): replace stat to enable when pathname 14612 ends with '/' or '\' for mswin32 on Win9X / Win2k. 14613 14614 * win32/win32.h: ditto. 14615 14616 * ruby.h: ditto. 14617 14618 * dir.c (rb_glob_helper): ditto. 14619 14620 * file.c (rb_stat, rb_file_s_stat, eaccess, check3rdbyte): ditto. 14621 14622Fri Feb 9 22:54:57 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14623 14624 * ruby.c (ruby_init_loadpath): convert '\\' to '/' 14625 before finding executable file path. 14626 14627Fri Feb 9 17:41:53 2001 Triet H. Lai <thlai@mail.usyd.edu.au> 14628 14629 * dir.c (rb_glob_helper): do not follow symbolic links. 14630 14631Thu Feb 8 21:27:24 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14632 14633 * lib/mkmf.rb (install_rb): fix handling of relative path. 14634 14635 * lib/mkmf.rb (create_makefile): add srcdir. 14636 14637Thu Feb 8 02:22:09 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 14638 14639 * lib/net/http.rb: join HTTPReadResponse into HTTPResponse again. 14640 14641 * lib/net/http.rb: move http_version() from HTTPRequest to 14642 HTTPResponse. 14643 14644 * lib/net/protocol.rb: refactoring. 14645 14646Wed Feb 7 16:27:27 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 14647 14648 * lib/net/http.rb: split HTTPResponse into HTTPReadResponse 14649 module. 14650 14651 * lib/net/protocol.rb: add Net::net_private. 14652 14653 * lib/net/protocol.rb: Socket#reopen takes arg, open_timeout. 14654 14655Wed Feb 7 16:05:22 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 14656 14657 * parse.y (parse_quotedwords): %w should allow parenthesis escape. 14658 14659Wed Feb 7 00:57:42 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14660 14661 * parse.y (parse_qstring): %q should allow terminator escape. 14662 14663 * re.c (rb_reg_options): new method to give an option values. 14664 14665 * parse.y (cond0): disable special treating of integer literal in 14666 conditional unless option -e is supplied. changes current 14667 behavior. experimental. 14668 14669 * parse.y (cond0): give warning for string/integer literals and 14670 dot operators in conditionals unless option -e is supplied. 14671 14672 * re.c (rb_reg_equal): all option flags should be same to be equal. 14673 14674Tue Feb 6 21:30:44 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 14675 14676 * lib/net/http.rb: call on_connect() on re-opening socket. 14677 14678 * lib/net/pop.rb: also POP3 can use APOP auth. 14679 14680Tue Feb 6 20:19:10 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 14681 14682 * lib/net/http.rb: add HTTP#request. 14683 14684 * lib/net/http.rb: take HTTP 1.0 server into account (incomplete). 14685 14686 * lib/net/protocol.rb: timeout for open/read. 14687 14688 * lib/net/protocol.rb: add Protocol#on_connect,on_disconnect. 14689 14690Mon Feb 5 23:15:46 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14691 14692 * error.c (Init_Exception): make Interrupt a subclass of 14693 SignalException. 14694 14695Mon Feb 5 00:39:06 2001 KANEKO Naoshi <wbs01621@mail.wbs.ne.jp> 14696 14697 * dir.c: use ISXXX() instead of isxxx(). 14698 14699 * dln.c (aix_loaderror): ditto. 14700 14701 * file.c (rb_file_s_expand_path): ditto. 14702 14703 * string.c (rb_str_upcase_bang): ditto. 14704 14705 * win32/win32.c (do_spawn): ditto. 14706 14707 * win32/win32.c (NtMakeCmdVector): ditto. 14708 14709 * win32/win32.c (opendir): ditto. 14710 14711Sat Feb 3 14:44:53 2001 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 14712 14713 * configure.in (AC_C_INLINE): check inline attribute. 14714 14715 * gc.c (is_pointer_to_heap): use inline rather than __inline__. 14716 14717 * pack.c (hex2num): ditto. 14718 14719 * ruby.h (rb_class_of, rb_type, rb_special_const_p): ditto. 14720 14721 * util.c (rb_class_of, rb_type, rb_special_const_p): defined in 14722 ruby.h. 14723 14724Fri Feb 2 16:14:51 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14725 14726 * array.c (rb_ary_sort_bang): returns self, even if its length is 14727 less than 2. 14728 14729 * eval.c (POP_VARS): propagate DVAR_DONT_RECYCLE, if 14730 SCOPE_DONT_RECYCLE of ruby_scope is set. 14731 14732Wed Jan 31 22:27:29 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14733 14734 * configure.in: gcc-2.95.2-7(Cygwin) support. 14735 add -mwin32 if available. 14736 14737 * cygwin/GNUmakefile: ditto. 14738 14739Tue Jan 30 17:56:48 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14740 14741 * array.c (rb_ary_fetch): new method. 14742 14743Mon Jan 29 17:36:19 2001 TOYOFUKU Chikanobu <toyofuku@juice.or.jp> 14744 14745 * eval.c (rb_eval): nd_iter evaluation should be wrapped by 14746 BEGIN_CALLARGS and END_CALLARGS. 14747 14748Mon Jan 29 14:25:39 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14749 14750 * eval.c (block_pass): return from block jumps directory to 14751 block invoker. 14752 14753Mon Jan 29 01:40:27 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14754 14755 * string.c (str_independent): should not clear str->orig here. 14756 it's too early. 14757 14758Fri Jan 26 01:42:40 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14759 14760 * parse.y: clarify do ambiguity, bit more complex but natural 14761 from my point of view. 14762 14763Wed Jan 24 14:58:08 2001 Akinori MUSHA <knu@ruby-lang.org> 14764 14765 * lib/cgi.rb: fix the problem that when running under mod_ruby 14766 header() outputs only one Set-Cookie line. 14767 14768Wed Jan 24 01:45:49 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14769 14770 * eval.c (POP_BLOCK_TAG): call rb_gc_force_recycle() if block has 14771 not been objectified. 14772 14773 * eval.c (rb_callcc): should nail down block->tag history to avoid 14774 rb_gc_force_recycle(). 14775 14776Tue Jan 23 18:51:57 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14777 14778 * gc.c (rb_gc_call_finalizer_at_exit): should finalize objects in 14779 deferred_final_list too. 14780 14781Tue Jan 23 16:10:12 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14782 14783 * gc.c (os_live_obj): do not list terminated object. 14784 14785 * gc.c (os_obj_of): ditto. 14786 14787 * gc.c (rb_gc_mark): support new T_BLKTAG tag. 14788 14789 * gc.c (obj_free): ditto. 14790 14791 * eval.c (new_blktag): creation of new block tag, which holds 14792 destination of global jump and orphan status. 14793 14794 * eval.c (block_pass): break from orphan Proc object will raise a 14795 LocalJumpError exception. 14796 14797Mon Jan 22 16:33:16 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14798 14799 * mkconfig.rb: autoconf 2.49 support. 14800 14801Mon Jan 22 00:32:44 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14802 14803 * eval.c (block_pass): behavior consistency with proc_call(). do 14804 not propagate `break'. 14805 14806Sat Jan 20 03:54:00 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14807 14808 * parse.y (yylex): fixed serious syntax misbehavior. do's 14809 preceding was too high. a block in `foo bar do .. end' should 14810 be passed to `foo', not `bar'. 14811 14812 * parse.y (block_call): syntax restructure. 14813 14814Thu Jan 18 04:28:14 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14815 14816 * io.c (rb_io_s_read): new method to call IO#read from 14817 pathname. In addition, it accepts third optional argument to 14818 specify starting point. 14819 14820Wed Jan 17 13:28:26 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14821 14822 * configure.in: remove DEFS definition. 14823 14824 * mkconfig.rb: ditto. 14825 14826 * win32/config.status.in: ditto. 14827 14828Tue Jan 16 17:00:50 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 14829 14830 * lib/net/protocol.rb: ignore EOFError for read. 14831 14832 * lib/net/http.rb: user specified header was not used. 14833 14834Mon Jan 15 16:00:07 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14835 14836 * pack.c (pack_unpack): should check associated pointer packed by 14837 pack("P"). Thus pointers can be retrieved only from pointer 14838 packed strings. restriction added. 14839 14840Sun Jan 14 21:49:28 2001 Koji Arai <JCA02266@nifty.ne.jp> 14841 14842 * sprintf.c (rb_f_sprintf): simple typo. binary base should be 2, 14843 not '2'. 14844 14845 * re.c (rb_reg_s_last_match): should explicitly return nth match. 14846 14847Sun Jan 14 18:21:30 2001 Usaku Nakamura <usa@osb.att.ne.jp> 14848 14849 * win32/config.status.in: add some field. 14850 14851 * win32/win32.c (isInternalCmd): ignore case for shell's internal 14852 command. 14853 14854 * win32/win32.c (do_spawn): recognize quoted command line. 14855 14856Sun Jan 14 04:10:27 2001 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 14857 14858 * lib/net/protocol.rb (adding): too few "yield" in case of arg is 14859 not String/File. 14860 14861 * lib/net/http.rb: add http request object. 14862 14863Sat Jan 13 19:39:30 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14864 14865 * re.c (rb_reg_desc): separate RE_OPTION_MULTILINE 14866 14867 * re.c (rb_reg_options): add RE_OPTION_{POSIXLINE,RE_OPTION_MULTILINE, 14868 RE_OPTION_EXTENDED} 14869 14870Thu Jan 11 10:45:04 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14871 14872 * win32/win32.h, win32/config.h.in: move NORETURN from win32.h 14873 to config.h.in. 14874 14875 * win32/config.h.in (inline): renamed from INLINE. 14876 14877 * djgpp/config.hin (INLINE): removed. 14878 14879Thu Jan 11 06:45:55 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14880 14881 * object.c (rb_mod_dup): should propagate FL_SINGLETON. 14882 14883 * object.c (inspect_obj): handles the case of no instance variable. 14884 14885Wed Jan 10 16:15:08 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14886 14887 * ruby.h: NORETURN macro is changed for VC++ 6.0. 14888 14889 * eval.c, intern.h: ditto. 14890 14891 * djgpp/config.hin, win32/win32.h: ditto. 14892 14893 * configure.in: ditto. 14894 14895Wed Jan 10 13:54:53 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14896 14897 * process.c (proc_setuid): use setresuid() if available. 14898 14899 * process.c (proc_setgid): use setresgid() if available. 14900 14901 * configure.in: ditto. 14902 14903Wed Jan 10 01:50:45 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14904 14905 * configure.in (AC_C_INLINE): check inline attribute. 14906 14907 * string.c (rb_str_reverse_bang): forgot to call rb_str_modify(). 14908 14909Tue Jan 9 17:41:40 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14910 14911 * object.c (rb_obj_taint): check frozen status before modifying 14912 taint status. 14913 14914 * object.c (rb_obj_untaint): ditto. 14915 14916Tue Jan 9 16:22:14 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14917 14918 * enum.c (enum_inject): new method. 14919 14920Tue Jan 9 02:16:42 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14921 14922 * gc.c (rb_gc_call_finalizer_at_exit): clear klass member of 14923 terminating object. 14924 14925 * eval.c (rb_call): raise exception for terminated object. 14926 14927Mon Jan 8 21:24:37 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14928 14929 * bignum.c (bigdivrem): t2 might be too big for signed long; do 14930 not use rb_int2big(), but rb_uint2big(). 14931 14932Mon Jan 8 21:35:10 2001 Guy Decoux <decoux@moulon.inra.fr> 14933 14934 * file.c (path_check_1): should restore modified path. 14935 14936Mon Jan 8 03:09:58 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14937 14938 * error.c (rb_load_fail): new func to report LoadError. 14939 14940 * ruby.c (load_file): use rb_load_fail. 14941 14942Sat Jan 6 00:17:18 2001 WATANABE Hirofumi <eban@ruby-lang.org> 14943 14944 * pack.c (pack_pack): avoid infinite loop(pack 'm2'). 14945 14946Fri Jan 5 01:02:17 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14947 14948 * eval.c (ruby_finalize): should enclosed by PUSH_TAG/POP_TAG. 14949 14950 * gc.c (rb_gc_mark): link 2 of NODE_IFUNC should not be explicitly 14951 marked. it may contain non object pointer. 14952 14953Tue Jan 2 00:20:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org> 14954 14955 * re.c (reg_s_last_match): Regexp::last_match(nth) returns nth 14956 substring of the match (alternative for $& and $<digit>). 14957 14958Sun Dec 31 01:39:16 2000 Guy Decoux <decoux@moulon.inra.fr> 14959 14960 * eval.c (rb_mod_define_method): wrong comparison for blocks. 14961 14962Sat Dec 30 19:28:50 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 14963 14964 * gc.c (id2ref): should handle Symbol too. 14965 14966 * gc.c (id2ref): should print original ptr value 14967 14968Sat Dec 30 03:14:22 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 14969 14970 * eval.c (rb_iterate): NODE_CFUNC does not protect its data 14971 (nd_tval), so create new node NODE_IFUNC for iteration C 14972 function. 14973 14974 * eval.c (rb_yield_0): use NODE_IFUNC. 14975 14976 * gc.c (rb_gc_mark): support NODE_IFUNC. 14977 14978Fri Dec 29 11:41:55 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 14979 14980 * gc.c (mem_error): prohibit recursive mem_error(). 14981 (ruby-bugs-ja:PR#36) 14982 14983Fri Dec 29 11:05:41 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 14984 14985 * eval.c (rb_thread_fd_writable): should not switch context if 14986 rb_thread_critical is set. 14987 14988 * eval.c (rb_thread_wait_fd): ditto. 14989 14990 * eval.c (rb_thread_wait_for): ditto. 14991 14992 * eval.c (rb_thread_select): ditto. 14993 14994 * eval.c (rb_thread_join): join during critical section causes 14995 deadlock. 14996 14997Fri Dec 29 00:38:46 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 14998 14999 * m17n.c: new file - core functions of M17N. 15000 15001Tue Dec 26 18:46:41 2000 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp> 15002 15003 * lib/debug.rb: Avoid thread deadlock in debugging stopped thread. 15004 15005 * lib/debug.rb: Uncleared 'finish' state. 15006 15007Tue Dec 26 16:53:55 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15008 15009 * eval.c (rb_yield_0): remove dvar node by rb_gc_force_recycle() 15010 more eagerly. 15011 15012 * eval.c (rb_f_binding): recycling should be stopped for outer 15013 scope too. 15014 15015 * eval.c (proc_new): ditto. 15016 15017Tue Dec 26 15:45:35 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15018 15019 * string.c (rb_str_inspect): should treat multibyte characters 15020 properly. 15021 15022Mon Dec 25 17:49:08 2000 K.Kosako <kosako@sofnec.co.jp> 15023 15024 * string.c (rb_str_replace_m): unexpected string share happens if 15025 replace is done for associated (STR_NO_ORIG) string. 15026 15027Tue Dec 26 15:01:53 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15028 15029 * io.c (rb_f_p): should not call rb_io_flush() if rb_defout is not 15030 a IO (T_FILE). 15031 15032Mon Dec 25 15:52:39 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15033 15034 * stable version 1.6.2 released. 15035 15036Mon Dec 25 05:11:04 2000 Wakou Aoyama <wakou@fsinet.or.jp> 15037 15038 * lib/cgi.rb: version 2.1.2 (some bug fixes). 15039 15040 * lib/cgi.rb: Regexp::last_match[1] --> $1 15041 15042 * lib/net/telnet.rb: ditto. 15043 15044Mon Dec 25 04:43:02 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 15045 15046 * lib/net/http.rb: does not send HEAD on closing socket. 15047 15048Mon Dec 25 00:44:48 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15049 15050 * hash.c (rb_any_cmp): should use rb_str_cmp() if TYPE == T_STRING 15051 and CLASS_OF == rb_cString. 15052 15053 * string.c (rb_str_new4): should copy class of original too. 15054 15055Mon Dec 25 00:04:54 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 15056 15057 * eval.c (rb_thread_schedule): initial value of `max' changed to -1. 15058 15059Mon Dec 25 00:16:14 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15060 15061 * string.c (rb_str_replace_m): copy-on-write replace. 15062 15063 * parse.y (yylex): should handle => after identifier as well as == 15064 and =~. 15065 15066Sat Dec 23 23:55:57 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15067 15068 * bignum.c (rb_cstr2inum): Integer("") should not return 0. 15069 15070Sat Dec 23 11:55:57 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15071 15072 * array.c (rb_ary_and): Array#& should preserve original order. 15073 15074Sat Dec 23 03:44:16 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 15075 15076 * lib/net/protocol.rb: set @closed false in Socket#reopen. 15077 15078 * lib/net/pop.rb: add POP3.foreach, delete_all. 15079 15080 * lib/net/pop.rb: add POP3#delete_all. 15081 15082 * lib/net/http.rb: add HTTP.version_1_1, version_1_2 15083 15084 * lib/net/http.rb: refactoring. 15085 15086Fri Dec 22 23:11:12 2000 Ueno Katsuhiro <unnie@blue.sky.or.jp> 15087 15088 * eval.c (rb_feature_p): ext might be null. 15089 15090Fri Dec 22 17:04:12 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 15091 15092 * win32/win32.c (myselect): avoid busy loop by adjusting fd_count. 15093 15094Fri Dec 22 15:07:55 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15095 15096 * bignum.c (rb_cstr2inum): prefix like '0x' had removed too much. 15097 15098Thu Dec 21 13:01:46 2000 Tanaka Akira <akr@m17n.org> 15099 15100 * lib/net/ftp.rb (makeport): don't use TCPsocket.getaddress. 15101 15102Wed Dec 20 12:00:15 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15103 15104 * bignum.c (rb_big_lshift): should cast up to BDIGIT_DBL. 15105 15106 * parse.y (yylex): disallow trailing '_' for numeric literals. 15107 15108 * bignum.c (rb_cstr2inum): allow `_' within converting string. 15109 15110 * eval.c (specific_eval): should take no argument if block is 15111 supplied. 15112 15113Tue Dec 19 13:44:50 2000 K.Kosako <kosako@sofnec.co.jp> 15114 15115 * io.c (rb_f_p): should flush rb_defout, not stdout. 15116 15117Tue Dec 19 00:57:10 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15118 15119 * time.c (time_minus): usec might overflow. (ruby-bugs-ja:PR#35) 15120 15121 * eval.c (rb_obj_extend): Object#extend should take at least one 15122 argument. 15123 15124 * parse.y (mrhs_basic): should check value_expr($3), not $1. 15125 15126Mon Dec 18 23:18:39 2000 WATANABE Hirofumi <eban@ruby-lang.org> 15127 15128 * util.c (mblen, __crt0_glob_function): add for multibyte 15129 on DJGPP 2.03. 15130 15131Mon Dec 18 18:10:30 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15132 15133 * time.c (time_plus): usec might underflow (ruby-bugs-ja:#PR33). 15134 15135Mon Dec 18 08:11:20 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15136 15137 * hash.c (rb_hash_set_default): should call rb_hash_modify(). 15138 15139Sat Dec 16 02:58:26 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 15140 15141 * eval.c (rb_eval): should clear ruby_errinfo on retry. 15142 15143 * eval.c (rb_rescue2): ditto. 15144 15145Thu Dec 14 13:06:18 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 15146 15147 * class.c (rb_include_module): prohibit frozen class/module. 15148 15149 * eval.c (rb_frozen_class_p): make external. 15150 15151 * intern.h (rb_frozen_class_p): prototyped. 15152 15153 * intern.h (rb_undef): prototyped not but rb_undef_method() 15154 which is also in ruby.h. 15155 15156Thu Dec 14 09:20:26 2000 Wakou Aoyama <wakou@fsinet.or.jp> 15157 15158 * lib/cgi.rb: support -T1 on ruby 1.6.2 15159 15160 * lib/cgi.rb: $1 --> Regexp::last_match[1] 15161 15162 * lib/net/telnet.rb: ditto. 15163 15164Wed Dec 13 23:27:06 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15165 15166 * eval.c (rb_eval): handles case statement without expr, which 15167 looks for any TRUE (non nil, non false) when expression. 15168 15169 * parse.y (primary): case expression should not be compstmt, but 15170 mere expr. 15171 15172 * parse.y (primary): case without following expression is now 15173 separated rule. 15174 15175Wed Dec 13 12:41:27 2000 WATANABE Hirofumi <eban@ruby-lang.org> 15176 15177 * ruby.c (proc_options): accept "--^M" for DOS line endings. 15178 15179Tue Dec 12 15:45:42 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15180 15181 * parse.y (newline_node): cancel newline unification. 15182 15183Mon Dec 11 23:01:57 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15184 15185 * parse.y (yylex): supports cases `?' precedes EOF and newline. 15186 15187Mon Dec 11 12:11:25 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15188 15189 * eval.c (call_end_proc): some frame members were left 15190 uninitialized. 15191 15192Mon Dec 11 01:14:58 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15193 15194 * io.c (rb_io_fptr_finalize): do not fclose stdin, stdout and 15195 stderr at exit. 15196 15197Sat Dec 9 17:34:48 2000 Tachino Nobuhiro <tachino@open.nm.fujitsu.co.jp> 15198 15199 * time.c (time_cmp): should check with kind_of?, not instance_of? 15200 15201 * time.c (time_eql): ditto. 15202 15203 * time.c (time_minus): ditto. 15204 15205Fri Dec 8 17:23:25 2000 Tachino Nobuhiro <tachino@open.nm.fujitsu.co.jp> 15206 15207 * sprintf.c (rb_f_sprintf): proper string precision treat. 15208 15209Fri Dec 8 10:44:05 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15210 15211 * variable.c (rb_mod_remove_cvar): Module#remove_class_variable 15212 added. 15213 15214Thu Dec 7 17:35:51 2000 Shugo Maeda <shugo@ruby-lang.org> 15215 15216 * eval.c (stack_length): don't use __builtin_frame_address() on alpha. 15217 15218Wed Dec 6 18:07:13 2000 WATANABE Hirofumi <eban@ruby-lang.org> 15219 15220 * djgpp/config.sed, win32/Makefile.sub: typo. 15221 15222 * eval.c (rb_mod_define_method): avoid VC4.0 warnings. 15223 15224Wed Dec 6 13:38:08 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15225 15226 * array.c (rb_ary_and): tuning, make hash from shorter operand. 15227 15228Wed Dec 6 01:28:50 2000 SHIROYAMA Takayuki <psi@fortune.nest.or.jp> 15229 15230 * gc.c (rb_gc): __builtin_frame_address() should not be used on 15231 MacOS X. 15232 15233 * gc.c (Init_stack): ditto. 15234 15235Mon Dec 4 13:44:01 2000 WATANABE Hirofumi <eban@ruby-lang.org> 15236 15237 * lib/jcode.rb: consider multibyte. not /n. 15238 15239Mon Dec 4 09:49:36 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15240 15241 * string.c (rb_str_inspect): output whole string contents. no more `...' 15242 15243 * string.c (rb_str_dump): should propagate taintness. 15244 15245 * hash.c (env_inspect): hash like human readable output. 15246 15247 * variable.c (rb_ivar_get): prohibiting instance variable access 15248 is too much restriction. 15249 15250 * class.c (method_list): retrieving information should not be 15251 restricted where $SAFE=4. 15252 15253 * class.c (rb_obj_singleton_methods): ditto. 15254 15255 * eval.c (rb_thread_priority): ditto. 15256 15257 * eval.c (rb_thread_local_aref): ditto. 15258 15259 * variable.c (rb_obj_instance_variables): ditto. 15260 15261 * variable.c (rb_mod_const_at): ditto. 15262 15263 * variable.c (rb_mod_class_variables): ditto. 15264 15265 * eval.c (rb_exec_end_proc): end_proc should be preserved. 15266 15267Sat Dec 2 22:32:43 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15268 15269 * eval.c (rb_yield_0): || should accept exactly zero argument. 15270 15271 * parse.y (stmt): multiple right hand side for single assignment 15272 (e.g. a = 1,2) is allowed. 15273 15274Wed Nov 29 07:55:29 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15275 15276 * marshal.c (w_long): dumping long should be smaller than 32bit max. 15277 15278 * marshal.c (w_long): shorter long format for small integers(-123..122). 15279 15280 * marshal.c (r_long): ditto. 15281 15282Tue Nov 28 18:10:51 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15283 15284 * eval.c (rb_mod_define_method): quick hack to implement 15285 on-the-fly method definition. experimental. 15286 15287Mon Nov 27 17:00:35 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15288 15289 * eval.c (rb_eval): should not redefine builtin classes/modules 15290 from within wrapped load. 15291 15292Mon Nov 27 08:57:33 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15293 15294 * eval.c (call_end_proc): should be isolated from outer block. 15295 15296Mon Nov 27 00:10:08 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15297 15298 * io.c (rb_io_ctl): call ioctl/fcntl for fptr->f2 too. 15299 15300 * process.c (rb_f_fork): call rb_thread_atfork() after creating 15301 child process. 15302 15303 * eval.c (rb_thread_atfork): kill all other threads immediately, 15304 then turn the current thread into the main thread. 15305 15306Sat Nov 25 23:12:22 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15307 15308 * eval.c (ruby_run): move calling point of rb_trap_exit after 15309 cleaning up threads. 15310 15311 * eval.c (ruby_finalize): new function to call EXIT trap, END 15312 procs and GC finalizers. 15313 15314 * eval.c (rb_exec_end_proc): prevent recursion. 15315 15316 * gc.c (rb_gc_call_finalizer_at_exit): ditto. 15317 15318 * signal.c (rb_trap_exit): ditto. made static. 15319 15320 * process.c (rb_f_fork): should swallow all exceptions from block 15321 execution. 15322 15323 * process.c (fork_rescue): should call ruby_finalize(). 15324 15325 * parse.y (yycompile): rb_gc() removed. I don't remember why I put 15326 this here. test code? 15327 15328Fri Nov 24 22:03:48 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15329 15330 * range.c (EXCL): exclusive information is now stored in an 15331 instance variable. this enables proper marshal dump. 15332 15333 * process.c (proc_waitpid): should clear rb_last_status ($?) if 15334 no pid was given by waitpid(2). 15335 15336Thu Nov 23 01:35:38 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15337 15338 * process.c (proc_waitpid2): returns nil if no pid found. 15339 15340Wed Nov 22 23:45:15 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15341 15342 * range.c (range_eq): new method. Compares start and end of range 15343 respectively. 15344 15345Wed Nov 22 11:01:32 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15346 15347 * variable.c (rb_mod_class_variables): should honor singleton 15348 class variable rule defined yesterday. 15349 15350Tue Nov 21 23:24:14 2000 Mitsuteru S Nakao <nakao@kuicr.kyoto-u.ac.jp> 15351 15352 * numeric.c (flodivmod): missing second operand (typo). 15353 15354Tue Nov 21 03:39:41 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15355 15356 * marshal.c (marshal_load): marshal format compatibility check 15357 revised. greater minor revision is UPWARD compatible; 15358 downward compatibility is not assured. 15359 15360 * eval.c (is_defined): clarify class variable behavior for 15361 singleton classes. class variables within singleton class 15362 should be treated like within singleton method. 15363 15364Mon Nov 20 13:45:21 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15365 15366 * eval.c (rb_eval): set ruby_sourceline before evaluating 15367 exceptions. 15368 15369 * gc.c (gc_sweep): defer finalization in GC during compilation or 15370 interrupt prohibit section. 15371 15372 * gc.c (gc_sweep): mark all nodes before sweeping if GC happened 15373 during compilation. 15374 15375 * eval.c (rb_eval): should treat class variables specially in a 15376 method defined in the singleton class. 15377 15378Mon Nov 20 10:20:21 2000 WATANABE Hirofumi <eban@ruby-lang.org> 15379 15380 * dir.c, win32/win32.c, ruby.h: add rb_iglob(). 15381 15382Mon Nov 20 00:18:16 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15383 15384 * array.c (rb_ary_subseq): should return nil for outbound start 15385 index. 15386 15387 * marshal.c (marshal_load): show format versions explicitly when 15388 format version mismatch happens. 15389 15390Sun Nov 19 06:13:24 2000 Kazuhiro NISHIYAMA <zn@mbf.nifty.com> 15391 15392 * marshal.c: use long for string/array length. 15393 15394 * pack.c (swaps): use bit-or(|) instead of plus(+). 15395 15396 * pack.c (swapl): ditto. 15397 15398Sat Nov 18 15:18:16 2000 Kazuhiro NISHIYAMA <zn@mbf.nifty.com> 15399 15400 * array.c (rb_ary_replace): array size should be in long. 15401 15402 * array.c (rb_ary_concat): ditto. 15403 15404 * array.c (rb_ary_hash): ditto. 15405 15406Sat Nov 18 14:07:20 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 15407 15408 * lib/net/http.rb: Socket#readline() reads until "\n", not "\r\n" 15409 15410Fri Nov 17 14:55:18 2000 WATANABE Hirofumi <eban@ruby-lang.org> 15411 15412 * string.c (rb_str_succ): output should be NUL terminated. 15413 15414Fri Nov 17 02:54:15 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15415 15416 * io.c (rb_io_close): need not to flush before closing. 15417 15418 * eval.c (rb_thread_join): should preserve last thread status when 15419 THREAD_TO_KILL. 15420 15421 * eval.c (rb_thread_stop): ditto. 15422 15423 * io.c (io_fflush): wrap fflush by TRAP_BEG, TRAP_END. 15424 15425 * eval.c (rb_eval): method defined within singleton class 15426 definition should behave like singleton method about class 15427 variables. 15428 15429 * eval.c (is_defined): ditto. 15430 15431Thu Nov 16 23:06:07 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 15432 15433 * lib/net/http.rb: can call {old,new}_implementation any times. 15434 15435 * lib/net/http.rb: HTTP#connecting, receive -> 15436 common_oper, connecting. 15437 15438 * lib/net/http.rb: output warning if u_header includes 15439 duplicated header. 15440 15441 * lib/net/http.rb: not check Connection:/Proxy-Connection; 15442 always read until eof. 15443 15444 * lib/net/protocol.rb: detects and catches "break" from block. 15445 15446Thu Nov 16 16:32:45 2000 Masahiro Tanaka <masa@stars.gsfc.nasa.gov> 15447 15448 * bignum.c (bigdivrem): should have incremented ny first. 15449 15450Thu Nov 16 14:58:00 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 15451 15452 * ext/socket/socket.c (sock_new): duplicates file descriptor 15453 with myfddup() on mswin32/mingw32. 15454 15455 * win32/win32.h: uses system original fdopen(). 15456 15457 * win32/win32.c (myfddup): newly added instead of myfdopen(). 15458 15459 * win32/win32.c (mybind, myconnect, mygetsockname, mygetsockopt, 15460 mylisten, mysetsockopt): now accept file descriptor only, not 15461 SOCKET. 15462 15463 * win32/win32.c (myaccept, mysocket): return file descriptor, 15464 instead of SOCKET. 15465 15466Thu Nov 16 10:23:24 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15467 15468 * eval.c (massign): too strict check for nameless rest argument. 15469 15470 * eval.c (method_arity): mere * should return -1. 15471 15472 * eval.c (intersect_fds): should check all FDs in the fd_set. 15473 15474Wed Nov 15 19:33:20 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 15475 15476 * eval.c (rb_attr): should clear method cache before calling hook. 15477 15478 * eval.c (rb_eval): ditto. 15479 15480 * eval.c (rb_mod_modfunc): ditto. 15481 15482Mon Nov 13 22:44:52 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15483 15484 * error.c (rb_bug): print version to stderr. 15485 15486Mon Nov 13 19:02:08 2000 WATANABE Hirofumi <eban@ruby-lang.org> 15487 15488 * win32/win32.c, io.c, process.c: the exit status of program must be 15489 multiplied 256 on mswin32 and msdosdjgpp(system(), ``). 15490 15491Sat Nov 11 22:57:38 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15492 15493 * parse.y (arg): uniformed treatment of -a**b, where a is a 15494 number literal; hacky but behavior appears more consistent. 15495 15496 * parse.y (newline_node): reduce newline node (one per line). 15497 15498 * random.c (rb_f_srand): should be prohibited in safe level 15499 greater than 4. 15500 15501Sat Nov 11 22:37:36 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 15502 15503 * rubysig.h: do not use rb_trap_immediate on win32. 15504 15505 * rubysig.h: new macros, ATOMIC_TEST, ATOMIC_SET, ATOMIC_INC, 15506 ATOMIC_DEC, RUBY_CRITICAL and new definition of TRAP_BEG, 15507 TRAP_END. 15508 15509 * gc.c (ruby_xmalloc): should wrap malloc() by RUBY_CRITICAL. 15510 15511 * signal.c (sighandle): better win32 sig handling. 15512 15513 * win32/win32.c (flock): better implementation. 15514 15515 * win32/win32.c (myselect): ditto. 15516 15517 * win32/win32.c (myaccept): ditto. 15518 15519 * win32/win32.c (waitpid): ditto. 15520 15521 * win32/win32.c (myrename): ditto. 15522 15523 * win32/win32.c (wait_events): support function for win32 signal 15524 handling. 15525 15526Sat Nov 11 08:34:18 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 15527 15528 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.31. 15529 15530 * lib/net/http.rb: initializes header in HTTP, not HTTPCommand. 15531 15532 * lib/net/protocol.rb, http.rb: rewrites proxy code. 15533 15534Fri Nov 10 16:15:53 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15535 15536 * numeric.c (rb_num2long): use to_int, not to_i. 15537 15538 * error.c: T_SYMBOL was misplaced by T_UNDEF. 15539 15540 * parse.y (yylex): eval("^") caused infinite loop. 15541 15542Thu Nov 9 14:22:13 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15543 15544 * io.c (rb_io_taint_check): should check IO taintness; no 15545 operation for untainted IO should be allowed in the sandbox. 15546 15547 * rubyio.h (GetOpenFile): check IO taintness inside using 15548 rb_io_taint_check(). 15549 15550Wed Nov 8 03:08:53 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15551 15552 * io.c (io_fflush): ensure fflush(3) would not block by calling 15553 rb_thread_fd_writable(). 15554 15555Tue Nov 7 20:29:56 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 15556 15557 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.30. 15558 15559 * lib/net/protocol.rb, smtp.rb: Command#critical_ok -> error_ok 15560 15561 * lib/net/http.rb: reads header when also "100 Continue". 15562 15563Tue Nov 7 04:32:19 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15564 15565 * bignum.c (bigdivrem): use bit shift to make y's MSB set. 15566 15567Mon Nov 6 1:22:49 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15568 15569 * error.c (warn_print): do not use err_append(), to ensure output 15570 to stderr. 15571 15572 * error.c (rb_warn): use warn_print() instead of err_print(). 15573 15574 * error.c (rb_warning): ditto. 15575 15576 * error.c (rb_bug): ditto. 15577 15578 * eval.c (rb_load): re-raise exceptions during load. 15579 15580 * time.c (make_time_t): remove useless adjust 15581 15582Thu Nov 2 18:01:16 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15583 15584 * random.c (rb_f_rand): half-baked float support fixed. This fix 15585 was originally proposed by K.Kosako <kosako@sofnec.co.jp>. 15586 15587Tue Oct 31 17:27:17 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15588 15589 * bignum.c: change digit size to `long|int' if long long is 15590 available. 15591 15592 * marshal.c (w_object): support `long|int' digits. 15593 15594 * marshal.c (r_object): ditto. 15595 15596Sat Oct 28 23:54:22 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15597 15598 * parse.y (yylex): allow =end at the end of file (without a 15599 newline at the end). 15600 15601Fri Oct 27 10:00:27 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15602 15603 * bignum.c (rb_cstr2inum): should ignore trailing white spaces. 15604 15605 * bignum.c (rb_str2inum): string may not have sentinel NUL. 15606 15607Fri Oct 27 02:37:22 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15608 15609 * bignum.c (rb_cstr2inum): wrongly assigned base to c before 15610 badcheck check. 15611 15612Thu Oct 26 02:42:50 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 15613 15614 * lib/net/protocol.rb: Command#critical_ok 15615 15616 * lib/net/smtp.rb: clear critical flag before go to SMTP 15617 15618Wed Oct 25 12:30:19 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15619 15620 * array.c (rb_ary_concat): replacing array might be the receiver 15621 itself. do not call rb_ary_push_m. 15622 15623 * array.c (rb_ary_replace): replacing array might be the receiver 15624 itself. use memmove. 15625 15626Fri Oct 20 07:56:23 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15627 15628 * eval.c (rb_eval): ARGSPUSH should not modify args array. 15629 15630Thu Oct 19 14:58:17 2000 WATANABE Tetsuya <tetsu@jpn.hp.com> 15631 15632 * pack.c (NUM2U32): should use NUM2ULONG(). 15633 15634Tue Oct 17 17:30:34 2000 WATANABE Hirofumi <eban@ruby-lang.org> 15635 15636 * eval.c (error_print): ruby_sourcefile may be NULL. 15637 15638Tue Oct 17 16:36:28 2000 Wes Nakamura <wknaka@pobox.com> 15639 15640 * pack.c (NATINT_U32): wrong use of sizeof. 15641 15642Tue Oct 17 12:48:20 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 15643 15644 * eval.c (rb_abort): nil check against ruby_errinfo. 15645 15646 * eval.c (rb_thread_schedule): use FOREACH_THREAD_FROM instead of 15647 FOREACH_THREAD, since curr_thread may be removed from thread ring. 15648 15649 * eval.c (THREAD_ALLOC): errinfo should be Qnil. 15650 15651 * eval.c (rb_callcc): th->prev,th->next are now already 15652 initialized in THREAD_ALLOC. 15653 15654Mon Oct 16 15:37:33 2000 Kazuhiro NISHIYAMA <zn@mbf.nifty.com> 15655 15656 * eval.c (rb_thread_inspect): tag size was shorter than required. 15657 15658 * object.c (rb_obj_inspect): ditto. 15659 15660Mon Oct 16 14:25:18 2000 Shugo Maeda <shugo@ruby-lang.org> 15661 15662 * object.c (sym_inspect): used `name' before initialization. 15663 15664Mon Oct 16 14:06:00 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15665 15666 * pack.c (pack_pack): use NATINT_U32 for 'l', 'L', and 'N'. 15667 15668 * pack.c (I32,U32): 32 bit sized integer. 15669 15670 * pack.c (OFF16,OFF32B): big endian offset for network byteorder. 15671 15672Mon Oct 16 06:39:32 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 15673 15674 * lib/net/http.rb: hex-alpha is not [a-h] but [a-f]. 15675 15676Mon Oct 16 01:02:02 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15677 15678 * eval.c (rb_thread_start_0): should not abort on exception if 15679 $SAFE >= 4. 15680 15681 * parse.y (sym): symbols for class variable names. 15682 15683Sun Oct 15 01:49:18 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15684 15685 * file.c (rb_file_flock): should accept interrupt. 15686 15687 * process.c (rb_waitpid): ditto. 15688 15689 * process.c (rb_waitpid): ditto. 15690 15691 * process.c (proc_wait): ditto. 15692 15693 * process.c (proc_waitpid2): wrong recursion. 15694 15695Sat Oct 14 03:32:13 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15696 15697 * eval.c (rb_thread_alloc): should not link a new thread in the 15698 live thread ring before initialization. 15699 15700Fri Oct 13 17:08:09 2000 Shugo Maeda <shugo@ruby-lang.org> 15701 15702 * lib/net/imap.rb: new file. 15703 15704Thu Oct 12 18:56:28 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 15705 15706 * lib/net/pop.rb: POP3#reset 15707 15708 * lib/net/http.rb: a code for "Switch Protocol" was wrongly 100. 15709 15710Thu Oct 12 01:23:38 2000 Wakou Aoyama <wakou@fsinet.or.jp> 15711 15712 * lib/cgi.rb: bug fix: CGI::html(): PRETTY option didn't work. 15713 15714Thu Oct 12 00:03:02 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15715 15716 * object.c (sym_inspect): should adjust string length. 15717 15718 * struct.c (rb_struct_to_s): ditto. 15719 15720 * struct.c (rb_struct_inspect): ditto. 15721 15722Wed Oct 11 22:15:47 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 15723 15724 * eval.c (rb_thread_inspect): should adjust string length. 15725 15726 * object.c (rb_any_to_s): ditto. 15727 15728 * object.c (rb_obj_inspect): ditto. 15729 15730Wed Oct 11 18:13:50 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15731 15732 * eval.c (rb_thread_start_0): should check insecure exit. 15733 15734Wed Oct 11 14:29:51 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 15735 15736 * lib/net/protocol.rb: 2nd arg for ProtocolError#initialize is 15737 optional. 15738 15739 * lib/net/http.rb: code refining. 15740 15741Wed Oct 11 11:13:03 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15742 15743 * parse.y (primary): setter method (e.g. foo=) should always be 15744 public. 15745 15746 * eval.c (rb_thread_raise): should not raise SecurityError if 15747 exception raised by the interpreter. 15748 15749 * eval.c (rb_thread_cleanup): skip all THREAD_KILLED threads 15750 before FOREACH_THREAD. 15751 15752Tue Oct 10 16:11:54 2000 WATANABE Hirofumi <eban@ruby-lang.org> 15753 15754 * dln.c (dln_load): remove unused code for Cygwin. 15755 15756Tue Oct 10 09:49:23 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15757 15758 * file.c (Init_File): FileTest.size should return 0 (not nil) for 15759 empty files. 15760 15761Sun Oct 8 13:20:26 2000 Guy Decoux <decoux@moulon.inra.fr> 15762 15763 * eval.c (POP_SCOPE): not just set SCOPE_DONT_RECYCLE, but do 15764 scope_dup(). 15765 15766Sat Oct 7 15:10:50 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15767 15768 * string.c (rb_str_reverse_bang): unnecessary ALLOCA_N() was 15769 removed. 15770 15771Fri Oct 6 14:50:24 2000 WATANABE Hirofumi <eban@ruby-lang.org> 15772 15773 * ext/extmk.rb.in, lib/mkmf.rb: remove "DESTDIR =". 15774 15775 * Makefile.in, win32/Makefile.sub, ruby.1: renamed -X to -C. 15776 15777Fri Oct 6 12:50:52 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15778 15779 * array.c (rb_ary_plus): use to_ary(), not Check_Type(). 15780 15781 * array.c (rb_ary_concat): ditto. 15782 15783 * gc.c (rb_gc): use __builtin_frame_address() for gcc. 15784 15785 * eval.c (stack_length): ditto. 15786 15787 * parse.y (assign_in_cond): stop warning till some better warning 15788 condition will be found. 15789 15790Thu Oct 5 18:02:39 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15791 15792 * object.c (rb_obj_dup): should have propagated taint flag. 15793 (ruby-bugs:#PR64,65) 15794 15795Wed Oct 4 00:26:11 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15796 15797 * eval.c (proc_arity): proc{|a|}'s arity should be -1. 15798 15799Mon Oct 2 05:28:58 2000 akira yamada <akira@ruby-lang.org> 15800 15801 * string.c (trnext): minus at the end of pattern. 15802 15803Sun Oct 1 00:43:34 2000 WATANABE Hirofumi <eban@ruby-lang.org> 15804 15805 * configure.in: exp-name was wrong on cygwin and mingw32. 15806 15807Thu Sep 28 14:57:09 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15808 15809 * regex.c (re_compile_pattern): should try must_string calculation 15810 every time. 15811 15812Tue Sep 19 23:47:44 2000 SHIROYAMA Takayuki <psi@fortune.nest.or.jp> 15813 15814 * configure.in, config.guess, config.sub: MacOS X support. 15815 15816Wed Sep 27 18:40:05 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15817 15818 * stable version 1.6.1 released. 15819 15820Wed Sep 27 16:13:05 2000 WATANABE Hirofumi <eban@ruby-lang.org> 15821 15822 * mkconfig.rb: variables should be expanded only if /\$\{?\w+\}?/. 15823 15824Tue Sep 26 18:09:51 2000 WATANABE Hirofumi <eban@ruby-lang.org> 15825 15826 * string.c: include <math.h> 15827 15828Tue Sep 26 15:59:50 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15829 15830 * object.c (rb_mod_dup): metaclasses of class/module should not be 15831 cleared by rb_obj_dup. 15832 15833Tue Sep 26 02:44:54 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15834 15835 * gc.c (GC_MALLOC_LIMIT): size extended. 15836 15837 * regex.c (DOUBLE_STACK): use machine's stack region for regex 15838 stack if its size is small enough. 15839 15840Mon Sep 25 18:13:07 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15841 15842 * regex.c: include <defines.h>. 15843 15844 * eval.c (rb_add_method): cache mismatch by method 15845 definition. need to clear_cache_by_id every time. 15846 15847Mon Sep 25 13:31:45 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 15848 15849 * win32/win32.c (NtCmdGlob): substitute '\\' with '/'. 15850 15851Mon Sep 25 00:35:01 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 15852 15853 * defines.h: #undef HAVE_SETITIMER on cygwin. 15854 15855Sun Sep 24 03:01:53 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 15856 15857 * lib/net/protocol.rb, http.rb: typo. 15858 15859Sat Sep 23 07:33:20 2000 Aleksi Niemela <aleksi.niemela@cinnober.com> 15860 15861 * regex.c (re_compile_pattern): nicer regexp error messages for 15862 invalid patterns. 15863 15864Sat Sep 23 03:06:25 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15865 15866 * variable.c (rb_autoload_load): should not require already 15867 provided features. 15868 15869Fri Sep 22 15:46:21 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 15870 15871 * lib/net/http.rb: too early parameter expansion in string. 15872 15873Fri Sep 22 13:58:51 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 15874 15875 * ext/extmk.rb.in: don't use default $: 15876 15877Fri Sep 22 13:42:50 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 15878 15879 * regex.c (PUSH_FAILURE_COUNT): avoid casting warning on alpha. 15880 15881 * regex.c (PUSH_FAILURE_POINT): ditto. 15882 15883Fri Sep 22 10:16:21 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 15884 15885 * win32/config.h.in: add HAVE_TELLDIR, HAVE_SEEKDIR 15886 15887Thu Sep 21 19:04:34 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 15888 15889 * ext/extmk.rb, lib/mkmf.rb (install_rb): check whether libdir is 15890 directory or not. 15891 15892Thu Sep 21 17:23:05 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15893 15894 * file.c (rb_file_s_symlink): use HAVE_SYMLINK. 15895 15896 * file.c (rb_file_s_readlink): use HAVE_READLINK. 15897 15898 * dir.c (dir_tell): use HAVE_TELLDIR. 15899 15900 * dir.c (dir_seek): use HAVE_SEEKDIR. 15901 15902 * configure.in (AC_CHECK_FUNCS): lstat, symlink, readlink, 15903 telldir, seekdir checks added. 15904 15905 * file.c (lstat): should use stat(2) if lstat(2) is not 15906 available. 15907 15908Thu Sep 21 15:59:23 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 15909 15910 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.29. 15911 15912 * lib/net/http.rb: HTTPReadAdapter -> HTTPResponseReceiver 15913 15914 * lib/net/http.rb (connecting): response is got in receive() 15915 15916Thu Sep 21 15:49:07 2000 Wayne Scott <wscott@ichips.intel.com> 15917 15918 * lib/find.rb (find): should not follow symbolic links; 15919 tuned performance too. 15920 15921Wed Sep 20 23:21:38 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15922 15923 * ruby.c (load_file): two Ctrl-D was required to stop ruby at the 15924 beginning of stdin script read. 15925 15926Wed Sep 20 14:01:45 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15927 15928 * eval.c (rb_provided): detect infinite load loop. 15929 15930 * eval.c (rb_provided): too weak filename comparison. 15931 15932 * eval.c (rb_thread_alloc): avoid recycling still referenced 15933 dvar structures. 15934 15935 * eval.c (rb_callcc): ditto. 15936 15937 * eval.c (THREAD_ALLOC): fill dyna_vars field by ruby_dyna_vars. 15938 15939Tue Sep 19 17:47:03 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15940 15941 * stable version 1.6.0 released. 15942 15943Tue Sep 19 16:24:52 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15944 15945 * marshal.c (Init_marshal): provide marshal.so no more. 15946 15947Tue Sep 19 14:01:01 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 15948 15949 * configure.in, win32/setup.mak: include version number 15950 in RUBY_SO_NAME. 15951 15952Tue Sep 19 13:07:47 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15953 15954 * parse.y (yylex): was confusing $~ and $_. 15955 15956Tue Sep 19 13:06:53 2000 GOTOU Yuuzou <gotoyuzo@notwork.org> 15957 15958 * signal.c (rb_f_kill): signum may be a negative number, should be 15959 treated by signed number. 15960 15961Tue Sep 19 01:14:56 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15962 15963 * eval.c (rb_provide): better feature handling. 15964 15965 * eval.c (rb_f_require): loading ruby library may be partial 15966 state. checks in rb_thread_loading is integrated. 15967 15968 * eval.c (rb_provided): better thread awareness. 15969 15970 * lib/irb/frame.rb: 6 (not 5) parameters for trace_func proc. 15971 15972 * eval.c (error_print): should print error position even if 15973 get_backtrace() failed. 15974 15975Sat Sep 16 03:29:59 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15976 15977 * eval.c (rb_f_require): rb_provided() was called too early; does 15978 not work well with threads. 15979 15980 * parse.y (ensure): should distinguish empty ensure and non 15981 existing ensure. 15982 15983 * file.c (Init_File): extending File by class of FileTest was 15984 serious mistake. 15985 15986Thu Sep 14 02:46:54 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15987 15988 * eval.c (rb_thread_yield): array strip should be done in this 15989 function. 15990 15991Wed Sep 13 17:01:03 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15992 15993 * bignum.c (rb_big_eq): incomplete value comparison of bignums. 15994 15995Wed Sep 13 06:39:54 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 15996 15997 * variable.c (rb_mod_class_variables): Module#class_variables added. 15998 15999Wed Sep 13 06:09:26 2000 Wakou Aoyama <wakou@fsinet.or.jp> 16000 16001 * lib/cgi.rb: bug fix: CGI::header(): output status header. 16002 16003Wed Sep 13 01:09:12 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16004 16005 * parse.y (yylex): allow global variables like '$__a'. 16006 16007Tue Sep 12 22:28:43 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16008 16009 * ext/socket/extconf.rb: avoid using terrible <netinet/tcp.h> 16010 on cygwin 1.1.5. 16011 16012Tue Sep 12 16:01:58 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16013 16014 * array.c (rb_ary_unshift_m): typo. 16015 16016Tue Sep 12 15:37:55 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16017 16018 * eval.c (rb_yield_0): stripped array too much, should remove just 16019 for proc_call(). 16020 16021Tue Sep 12 07:05:24 2000 Wakou Aoyama <wakou@fsinet.or.jp> 16022 16023 * lib/cgi.rb: version 2.0.0: require ruby1.5.4 or later. 16024 16025 * lib/net/telnet.rb: version 1.6.0 16026 16027Tue Sep 12 03:26:07 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16028 16029 * eval.c (massign): use to_ary to get an array if available. 16030 16031 * object.c (rb_Array): ditto. 16032 16033Mon Sep 11 14:24:47 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16034 16035 * hash.c (ruby_setenv): should not free the element of 16036 origenvironment. 16037 16038 * parse.y (command_call): kYIELD moved to this rule to allow 16039 'a = yield b'. (ruby-bugs-ja:#PR15) 16040 16041Mon Sep 11 01:27:54 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16042 16043 * eval.c (rb_yield_0): proc#call([]) should pass single value to 16044 the block. 16045 16046 * eval.c (callargs): reduce array allocation. 16047 16048 * eval.c (massign): precise check for argument number. 16049 16050Fri Sep 8 10:05:17 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16051 16052 * gc.c (STR_NO_ORIG): should be FL_USER2. 16053 16054Thu Sep 7 14:17:51 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16055 16056 * string.c (rb_str_cat): should work even for concatenating same 16057 string. 16058 16059Wed Sep 6 17:06:38 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16060 16061 * variable.c (rb_cvar_declare): should check superclass's class 16062 variable first. 16063 16064Wed Sep 6 10:42:02 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16065 16066 * misc/ruby-mode.el (ruby-calculate-indent): shift continuing line 16067 if previous line ends with modifier keyword. 16068 16069 * misc/ruby-mode.el (ruby-parse-region): should not give up if 16070 modifiers are at the end of line. 16071 16072 * misc/ruby-mode.el (ruby-expr-beg): indented wrongly if modified 16073 statement was size 1. 16074 16075Wed Sep 6 10:41:19 2000 Kenichi Komiya <kom@mail1.accsnet.ne.jp> 16076 16077 * misc/ruby-mode.el (ruby-parse-region): modifier was not handled 16078 well on emacs19. 16079 16080Tue Sep 5 17:10:12 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16081 16082 * time.c (time_to_s): fixed zone string UTC for utc time object. 16083 16084Tue Sep 5 00:26:06 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16085 16086 * regex.c (re_search): range worked wrongly on bm_search(). 16087 16088Mon Sep 4 13:40:40 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16089 16090 * configure.in: renamed libruby.a to libruby.{cygwin,mingw32}.a 16091 on cygwin and mingw32. 16092 16093Sun Sep 3 23:44:04 2000 Noriaki Harada <tenmei@maoh.office.ne.jp> 16094 16095 * io.c (NO_SAFE_RENAME): for BeOS too. 16096 16097Sun Sep 3 11:31:53 2000 Takaaki Tateishi <ttate@jaist.ac.jp> 16098 16099 * parse.y (rescue): no assignment was done if rescue body was 16100 empty. 16101 16102Sat Sep 2 10:52:21 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16103 16104 * parse.y (call_args,aref_args): block_call can be the last 16105 argument. 16106 16107 * parse.y (COND_PUSH,COND_POP): maintain condition stack to allow 16108 kDO2 in parentheses in while/until/for conditions. 16109 16110 * parse.y (yylex): generate kDO2 for EXPR_ARG outside of 16111 while/until/for condition. 16112 16113Fri Sep 1 10:36:29 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16114 16115 * parse.y (aref_args,opt_call_args): add block_call to allow a 16116 method without parentheses and with block as a last argument. 16117 16118 * hash.c (rb_hash_sort): should not return nil. 16119 16120 * re.c (match_aref): should use rb_reg_nth_match(). 16121 16122 * eval.c (POP_SCOPE): recycled scopes too much 16123 16124 * eval.c (Init_eval): extend room for stack allowance. 16125 16126 * eval.c (POP_SCOPE): frees scope too much. 16127 16128Thu Aug 31 14:28:39 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16129 16130 * gc.c (rb_gc_mark): T_SCOPE condition must be more precise. 16131 16132 * eval.c (scope_dup): should not make all duped scope orphan. 16133 16134Thu Aug 31 10:11:47 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16135 16136 * parse.y (stmt): allow stmt_rhs to be right hand side of multiple 16137 assignment. 16138 16139 * time.c (rb_time_timeval): type error should not mention the word 16140 'interval'. 16141 16142Wed Aug 30 23:21:20 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16143 16144 * numeric.c (rb_num2long): use rb_Integer() instead of independent 16145 convert routine. 16146 16147 * eval.c (rb_rescue2): now takes arbitrary number of exception types. 16148 16149 * object.c (rb_convert_type): use rb_rescue2 now to handle NameError. 16150 16151 * object.c (rb_convert_type): better error message. 16152 16153Wed Aug 30 17:09:14 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16154 16155 * ext/Win32API/Win32API.c (Win32API_initialize): AlphaNT support. 16156 16157Wed Aug 30 14:19:07 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16158 16159 * parse.y (node_assign): should support NODE_CVASGN2 too. 16160 16161Wed Aug 30 11:31:47 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 16162 16163 * ext/Win32API/Win32API.c (Win32API_initialize): add the 16164 arguments checking. 16165 16166 * ext/Win32API/Win32API.c (Win32API_initialize): add taint 16167 checking. allow String object in the third argument. 16168 16169Wed Aug 30 10:29:40 2000 Masahiro Tomita <tommy@tmtm.org> 16170 16171 * io.c (rb_f_p): flush output buffer. 16172 16173Tue Aug 29 16:29:15 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16174 16175 * parse.y (assignable): remove NODE_CVASGN3. 16176 16177 * parse.y (gettable): remove NODE_CVAR3. 16178 16179Tue Aug 29 02:02:14 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16180 16181 * lib/mkmf.rb (create_makefile): handles create_makefile("a/b"). 16182 16183 * ext/extmk.rb.in (create_makefile): ditto 16184 16185Mon Aug 28 18:43:54 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16186 16187 * eval.c (is_defined): now handles class variables. 16188 16189 * eval.c (rb_eval): class variable behavior revisited. 16190 16191 * parse.y (assignable): ditto. 16192 16193 * parse.y (gettable): ditto. 16194 16195 * regex.c (PUSH_FAILURE_COUNT): push/pop interval count on failure 16196 stack. this fix is inspired by the Emacs21 patch from Stefan 16197 Monnier <monnier@cs.yale.edu>. 16198 16199Fri Aug 25 15:24:39 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16200 16201 * variable.c (rb_cvar_get): should not follow __attached__. 16202 16203 * variable.c (rb_cvar_set): ditto. 16204 16205 * variable.c (rb_cvar_declare): ditto. 16206 16207 * variable.c (mod_av_set): second class variable assignment at the 16208 toplevel should not give warning. 16209 16210Fri Aug 25 01:18:36 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16211 16212 * io.c (next_argv): prepare path for open file. 16213 16214 * string.c (rb_str_setter): moved from io.c. 16215 16216 * io.c (next_argv): filename should be "-" for refreshed ARGF. 16217 16218Thu Aug 24 15:27:39 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16219 16220 * ext/socket/socketport.h: use `extern int h_errno' if needed. 16221 16222Sat Aug 19 01:34:02 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16223 16224 * ext/sdbm/_sdbm.c (sdbm_prep): flags should be or-ed by O_BINARY on 16225 Win32 too. 16226 16227 * ext/sdbm/_sdbm.c (makroom): fill hole with 0 on Win32 too. 16228 16229Fri Aug 18 13:23:59 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16230 16231 * eval.c (rb_eval): should preserve and clear $! value before 16232 compilation. 16233 16234 * eval.c (eval): ditto. 16235 16236Fri Aug 18 11:06:19 2000 Shugo Maeda <shugo@ruby-lang.org> 16237 16238 * ext/socket/socket.c (s_accept): start GC on EMFILE/ENFILE. 16239 16240Thu Aug 17 16:04:48 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16241 16242 * eval.c (is_defined): should clear ruby_errinfo. 16243 16244Thu Aug 17 04:26:31 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 16245 16246 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.27. 16247 16248 * lib/net/protocol.rb: writing methods returns written byte size. 16249 16250 * lib/net/smtp.rb: send_mail accepts many destinations. 16251 16252Wed Aug 16 00:43:47 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16253 16254 * time.c (time_s_times): use CLK_TCK for HZ if it's defined. 16255 16256Tue Aug 15 17:30:59 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16257 16258 * eval.c (frame_dup): should set flag FRAME_MALLOC after 16259 argv allocation. 16260 16261 * eval.c (blk_free): should not free argv if GC was called before 16262 frame_dup. 16263 16264Tue Aug 15 16:08:40 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16265 16266 * configure.in: add ac_cv_func_times=yes for mingw32. 16267 16268 * win32/win32.c (mytimes): typo. 16269 16270Tue Aug 15 01:45:28 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16271 16272 * io.c (argf_eof): should return true at the end of ARGF without 16273 checking stdout if arguments are given. 16274 16275Mon Aug 14 10:34:32 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16276 16277 * eval.c (rb_thread_status): status should return false for normal 16278 termination, nil for termination by exception. 16279 16280Fri Aug 11 15:43:46 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16281 16282 * eval.c (rb_undef): give warning for undefining __id__, __send__. 16283 16284Thu Aug 10 08:05:03 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16285 16286 * eval.c (rb_callcc): returned current thread instead of 16287 continuation wrongly. 16288 16289Thu Aug 10 05:40:28 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16290 16291 * ext/extmk.rb.in: $CPPFLAGS should be initialized. 16292 16293 * ext/tcltklib/depend: add stubs.o. 16294 16295 * ext/tcltklib/extconf.rb: use $CPPFLAGS instead of $CFLAGS. 16296 16297Wed Aug 9 16:31:48 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16298 16299 * eval.c (rb_callcc): thread status for continuations must be 16300 THREAD_KILLED, otherwise thread_free() breaks other threads. 16301 16302Wed Aug 9 13:24:25 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16303 16304 * win32/win32.[ch]: emulate rename(2). 16305 16306Tue Aug 8 14:01:46 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16307 16308 * ext/tcltklib/tcltklib.c: support --enable-tcltk_stubs 16309 16310 * ext/tcltklib/extconf.rb: ditto. 16311 16312 * ext/tcltklib/stubs.c: created. examine candidate shared libraries. 16313 16314Mon Aug 7 13:59:12 2000 Yukihiro Matsumoto <matz@ruby-lang.org> 16315 16316 * ruby.h (CLONESETUP): should copy flags before any potential 16317 object allocation. 16318 16319 * regex.c (re_match): check for stack depth was needed. 16320 16321Sat Aug 5 16:43:43 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16322 16323 * djgpp/*: convert DOS line endings to UNIX style. 16324 16325 * djgpp/config.status: rename to config.sed for SFN. 16326 16327 * lib/ftools.rb (compare, safe_unlink, chmod): avoid warnings. 16328 16329 * lib/ftools.rb (move): typo. not `tpath', but `to'. 16330 16331Fri Aug 4 23:26:48 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16332 16333 * eval.c (proc_call): gives warning if a block is supplied. 16334 16335 * eval.c (rb_eval): no warning for discarding if an alias for the 16336 method is already made. 16337 16338Fri Aug 4 16:32:29 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16339 16340 * array.c (rb_ary_reject_bang): returns nil if no element removed. 16341 16342 * hash.c (rb_hash_reject_bang): returns nil if no element removed. 16343 16344Thu Aug 3 19:44:26 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16345 16346 * eval.c (rb_thread_fd_writable): should return integer value. 16347 16348 * array.c (rb_ary_assoc): search array element whose length is 16349 longer than 0 (not 1). 16350 16351Wed Aug 2 18:27:47 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16352 16353 * eval.c (rb_thread_wait_fd): prohibit thread context switch 16354 during compilation. 16355 16356 * eval.c (rb_cont_call): prohibit Continuation#call across threads. 16357 16358Wed Aug 2 08:22:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16359 16360 * gc.c (rb_gc): clear malloc_memories to zero, to avoid potential 16361 super frequent GC invocation. (ruby-bugs:#PR48) 16362 16363 * gc.c (rb_gc): only add_heap() if GC trigger condition is 16364 satisfied. 16365 16366Tue Aug 1 16:41:58 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16367 16368 * ruby.c (proc_options): global load path setting moved from 16369 ruby_prog_init(). 16370 16371 * ruby.c (incpush): renamed. push path entry at the END of the 16372 load path array. This makes -I directories sorted in order in 16373 the arguments. 16374 16375Sat Jul 29 23:42:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16376 16377 * dir.c (dir_each): should check whether dir is closed during the 16378 block execution. (ruby-bugs:#PR47) 16379 16380Sat Jul 29 21:57:30 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16381 16382 * ruby.c (rubylib_mangle): provide another buffer for the result. 16383 16384Wed Jul 26 10:09:01 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16385 16386 * configure.in: set SOLIBS to LIBS on Cygwin. 16387 16388 * configure.in: LIBRUBY_SO='$(RUBY_INSTALL_NAME)'.$target_os.dll 16389 on cygwin and mingw32. ruby-cygwin.dll is bad. why? 16390 16391Wed Jul 26 10:04:03 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16392 16393 * gc.c (gc_sweep): avoid full scan during compilation. 16394 16395 * gc.c (rb_gc): add heap during no gc period (including 16396 compilation). 16397 16398Tue Jul 25 19:03:04 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16399 16400 * cygwin/GNUmakefile: use puts instead of print, because 16401 Cygwin DLL's behavior is changed(or bug?). 16402 16403 * configure.in: LIBRUBY_SO='$(RUBY_INSTALL_NAME)'-$target_os.dll 16404 on cygwin and mingw32. 16405 16406 * cygwin/GNUmakefile: ditto. 16407 16408 * Makefile.in: $(SOLIBS) should be put after dmyext.@OBJEXT@. 16409 16410 * instruby.rb: install $(LIBRUBY) to libdir 16411 if $(LIBRUBY) != $(LIBRUBY_A_). 16412 16413Tue Jul 25 15:16:00 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16414 16415 * io.c (rb_p): redirect to $defout. 16416 16417Mon Jul 24 18:52:55 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16418 16419 * win32/win32.c (win32_getenv): should remove `static'. 16420 16421 * ruby.c (rubylib_mangle): support "/hoge;/foo" 16422 16423Mon Jul 24 10:28:55 2000 GOTO Kentaro <gotoken@math.sci.hokudai.ac.jp> 16424 16425 * string.c (rb_str_count): raise exception if no argument is 16426 given. 16427 16428Sun Jul 23 12:55:04 2000 Dave Thomas <Dave@Thomases.com> 16429 16430 * string.c (rb_str_rindex): Support negative end position. 16431 16432Fri Jul 21 17:35:01 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16433 16434 * parse.y (aref_args): command_call now be permitted as 16435 aref_args. 16436 16437 * process.c (proc_getpriority): getpriority(2) may return valid 16438 negative number. use errno to detect error. 16439 16440 * marshal.c (dump_ensure): dumped string should be tainted if 16441 any among target objects is tainted. 16442 16443 * marshal.c (r_regist): restored object should be tainted if and 16444 only if the source is a file or a tainted string. 16445 16446Wed Jul 19 15:14:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16447 16448 * bignum.c (bigdivrem): should use rb_int2big(), not rb_uint2big(). 16449 16450Tue Jul 18 14:58:30 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16451 16452 * eval.c (ruby_options): should treat SystemExit etc. properly. 16453 16454 * parse.y (yycompile): should check compile_for_eval, not 16455 ruby_in_eval. 16456 16457Mon Jul 17 04:29:50 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 16458 16459 * lib/mkmf.rb: converts extension of $objs into $OBJEXT. 16460 16461Sun Jul 16 03:02:34 2000 Dave Thomas <dave@thomases.com> 16462 16463 * lib/weakref.rb: Change to use new ObjectSpace calls. 16464 16465Sat Jul 15 21:59:58 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16466 16467 * eval.c (rb_eval): should not redefine __id__ nor __send__. 16468 16469 * gc.c (define_final): integrate final.rb features into the 16470 interpreter. define_finalizer and undefine_finalizer was 16471 added to ObjectSpace. plus, add_finalizer, remove_finalizer, 16472 and call_finalizer are deprecated now. 16473 16474Sat Jul 15 01:32:34 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16475 16476 * eval.c (rb_mod_method): implements unbound method. 16477 16478 * eval.c (Init_eval): should prohibit `module_function' for class 16479 Class. 16480 16481Fri Jul 14 17:19:59 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16482 16483 * cygwin/GNUmakefile.in: use miniruby instead of sed. 16484 16485Fri Jul 14 12:49:50 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16486 16487 * io.c (argf_eof): need to check stdin, when next_p == -1. 16488 16489 * io.c (read_all): use io_fread() instead of fread(3). 16490 16491 * io.c (io_reopen): should clearerr FILE if fd < 3. 16492 16493 * re.c (rb_reg_match_m): the result is exported, so it should be 16494 declared as busy. 16495 16496 * eval.c (rb_eval): should preserve errinfo even if return, break, 16497 etc. is called in rescue clause. 16498 16499 * instruby.rb: install irb too. 16500 16501Wed Jul 12 15:32:57 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16502 16503 * variable.c (rb_const_get): constants for builtin classes must 16504 have higher priority than constants from included modules at 16505 Object class. 16506 16507 * bignum.c (bigdivrem): small embarrassing typo. 16508 16509Wed Jul 12 15:06:28 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16510 16511 * eval.c (rb_eval): use rb_const_get_at(). 16512 16513 * variable.c (top_const_get): retrieve toplevel constants only, 16514 not ones of Object (and its included modules) in general. 16515 16516Wed Jul 12 15:04:11 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 16517 16518 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.26. 16519 16520 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 16521 add module Net::NetPrivate and its inner classes 16522 {Read,Write}Adapter, Command, Socket, 16523 SMTPCommand, POP3Command, APOPCommand, HTTPCommand 16524 16525Wed Jul 12 13:10:30 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16526 16527 * bignum.c (bigdivrem): defer bignorm(). 16528 16529 * bignum.c (bignorm): accepts accidental fixnums. 16530 16531Tue Jul 11 16:54:17 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16532 16533 * parse.y (yylex): `@<digit>' is no longer a valid instance 16534 variable name. 16535 16536Tue Jul 11 01:51:50 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16537 16538 * bignum.c (rb_big_divmod): should not use Integer(float) for 16539 the right operand. 16540 16541 * bignum.c (rb_big_remainder): ditto. 16542 16543 * bignum.c (rb_big_modulo): ditto. 16544 16545Mon Jul 10 15:27:16 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16546 16547 * io.c (pipe_finalize): should set rb_last_status when pclose(). 16548 16549Mon Jul 10 09:07:54 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16550 16551 * error.c (rb_bug): print version number and such too. 16552 16553Sat Jul 8 23:08:40 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16554 16555 * eval.c (rb_thread_start_0): should copy previous scopes to 16556 prevent rb_gc_force_recycle(). 16557 16558Fri Jul 7 23:36:36 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 16559 16560 * ext/socket/addrinfo.h: move IN_EXPERIMENTAL and IN_LOOPBACKNET 16561 definitions to ext/socket/sockport.h. 16562 16563 * ext/socket/extconf.rb: add getservbyport() and arpa/inet.h check. 16564 16565 * ext/socket/getaddrinfo.c (getaddrinfo): SOCK_RAW may not be 16566 defined (ex. BeOS, Palm OS 2.x or before). 16567 16568 * ext/socket/getnameinfo.c (getnameinfo): getservbyport() may not 16569 exist (ex. BeOS, Palm OS). 16570 16571 * ext/socket/sockport.h: add IN_EXPERIMENTAL, IN_CLASSA_NSHIFT, 16572 IN_LOOPBACKNET, AF_UNSPEC, PF_UNSPEC and PF_INET. 16573 16574Fri Jul 7 03:30:00 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16575 16576 * parse.y (aref_args): should allow Hash[:a=>2] etc. 16577 16578 * numeric.c (fix_aref): convert index by NUM2INT, not FIX2INT. 16579 (ruby-bugs:#PR37) 16580 16581 * time.c (time_localtime): should prohibit for frozen time. 16582 16583 * time.c (time_gmtime): ditto. 16584 16585Thu Jul 6 19:12:12 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16586 16587 * io.c (rb_file_s_open): should not terminate fptr; just clear it. 16588 16589 * ruby.c (proc_options): should not call require_libraries() 16590 twice. 16591 16592 * ruby.c (require_libraries): clear req_list_head.next after 16593 execution. 16594 16595Thu Jul 6 13:51:57 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 16596 16597 * object.c (rb_to_id): name may not be symbol nor fixnum. 16598 16599 * struct.c (rb_struct_s_def): name may be nil. 16600 16601Thu Jul 6 02:09:06 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16602 16603 * bignum.c (bigdivrem): new function to return remainder. 16604 16605 * numeric.c (fixdivmod): now returns modulo, not remainder. 16606 16607 * numeric.c (flodivmod): ditto. 16608 16609 * bignum.c (bigdivmod): ditto. 16610 16611 * numeric.c (num_modulo): new method; alias to '%'. 16612 16613Thu Jul 6 00:51:43 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16614 16615 * win32/win32.c (NtCmdGlob): patterns should be separated and 16616 NUL terminated. 16617 16618Wed Jul 5 22:27:56 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16619 16620 * cygwin/GNUmakefile: use ruby.def to make rubycw.dll. 16621 16622 * ext/extmk.rb.in: create target.def. 16623 16624 * lib/mkmf.rb: ditto. 16625 16626Wed Jul 5 09:47:14 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16627 16628 * time.c (time_arg): Time::local, Time::gm now take 7th optional 16629 argument for usec. 16630 16631 * numeric.c (num_ceil, etc): default ceil, floor, round, truncate 16632 implementation for Numeric, using `to_f'. 16633 16634 * io.c (rb_io_reopen): clear fptr->path after free() to prevent 16635 potential GC crash. 16636 16637 * io.c (rb_file_s_open): terminate fptr unless null. 16638 16639 * io.c (rb_file_initialize): ditto. 16640 16641 * lib/tempfile.rb: specify FILE::CREAT|File::EXCL to open for 16642 better security. 16643 16644 * numeric.c (flo_truncate): new method. 16645 16646Wed Jul 5 01:02:53 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16647 16648 * ext/extmk.rb.in: join ' ' -> join(' '). 16649 16650 * lib/mkmf.rb: ditto. 16651 16652Tue Jul 4 13:51:29 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16653 16654 * ext/dbm/dbm.c: add methods added to Hash in 1.5.x. 16655 16656 * ext/gdbm/gdbm.c: ditto. 16657 16658 * ext/sdbm/init.c: ditto. 16659 16660 * eval.c (proc_call): args may be Qundef (means no argument), do 16661 not call TYPE() for args. 16662 16663Tue Jul 4 13:20:56 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16664 16665 * ext/extmk.rb.in: make command line must be single-quoted. 16666 $(RUBY_INSTALL_NAME) is command substitution in the POSIX sh. 16667 16668Tue Jul 4 13:16:02 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16669 16670 * util.c (rb_type): should add T_UNDEF. 16671 16672Tue Jul 4 09:30:35 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16673 16674 * parse.y (here_document): supports EOF right after terminator. 16675 16676 * random.c (rb_f_rand): argument is now optional (rand(max=0)). 16677 16678Tue Jul 4 01:50:49 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16679 16680 * win32/ruby.def: remove ruby_mktemp. 16681 16682Tue Jul 4 01:27:13 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16683 16684 * eval.c (rb_rescue2): new function to rescue arbitrary exception. 16685 16686 * numeric.c (do_coerce): should catch NameError explicitly. 16687 16688Tue Jul 4 00:15:23 2000 Dave Thomas <Dave@thomases.com> 16689 16690 * numeric.c (Init_Numeric): forgot to register Numeric#remainder. 16691 16692Mon Jul 3 23:46:56 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 16693 16694 * win32/win32.c (myselect, myaccept): disable interrupt while 16695 executing accept() or select() to avoid Ctrl-C causes 16696 "unknown software exception (0xc0000029)". 16697 16698Mon Jul 3 18:35:41 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16699 16700 * lib/mkmf.rb: use null device if it exists for cross-compiling. 16701 16702Mon Jul 3 18:19:51 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 16703 16704 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.26. 16705 16706 * lib/net/protocol.rb (finish): do nothing unless active. 16707 16708 * lib/net/http.rb: HTTP#{get,post}2 again (for new impl). 16709 16710Mon Jul 3 16:47:22 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16711 16712 * cygwin/GNUmakefile: librubys.a -> lib$(RUBY_INSTALL_NAME)s.a 16713 16714 * configure.in: use AC_CANONICAL_{HOST,TARGET,BUILD}. 16715 16716Mon Jul 3 13:15:02 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16717 16718 * numeric.c (fix_divmod): x * d + m = y where d, m = x.divmod(y). 16719 16720 * bignum.c (rb_big_divmod): ditto. 16721 16722 * numeric.c (fixdivmod): does not depend C's undefined % 16723 behavior. adopt to fmod(3m) behavior. 16724 16725 * numeric.c (flo_mod): modulo now reserves fmod(3m) behavior. 16726 16727 * numeric.c (num_remainder): 'deprecated' warning. 16728 16729Mon Jul 3 10:27:28 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16730 16731 * configure.in: use AC_CANONICAL_SYSTEM. 16732 16733Sun Jul 2 21:17:37 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16734 16735 * configure.in: support without --enable-shared for cygwin/mingw32. 16736 16737 * cygwin/GNUmakefile: ditto. 16738 16739 * ext/extmk.rb.in: use null device if it exists for cross-compiling. 16740 16741 * lib/mkmf.rb: ditto. 16742 16743 * util.c (ruby_mktemp): remove unused ruby_mktemp(). 16744 16745Sun Jul 2 14:18:04 2000 Koji Arai <JCA02266@nifty.ne.jp> 16746 16747 * eval.c (TMP_PROTECT_END): tmp__protect_tmp may be NULL. 16748 16749Sun Jul 2 03:37:50 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 16750 16751 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.25. 16752 16753 * lib/net/protocol.rb (each_crlf_line): beg = 0 is needed in adding{} 16754 16755 * lib/net/smtp.rb: allow String for to_addr of SMTP#sendmail 16756 16757Sat Jul 1 15:22:35 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16758 16759 * numeric.c (fix_rshift): should handle shift value more than 16760 sizeof(long). 16761 16762Sat Jul 1 15:22:35 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16763 16764 * eval.c (rb_eval): the value from RTEST() is not valid Ruby 16765 object. result should be either true or false. 16766 16767Sat Jul 1 09:30:06 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 16768 16769 * re.c (rb_reg_initialize): was freeing invalid pointer. 16770 16771Sat Jul 1 03:25:56 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16772 16773 * parse.y (call_args): command_call can be the last argument of 16774 call_args. It had to be the only argument. 16775 16776 * re.c (rb_reg_s_quote): should not dump core even for unsane mbc 16777 string. 16778 16779Fri Jun 30 01:36:20 2000 Aleksi Niemela <aleksi.niemela@cinnober.com> 16780 16781 * parse.y (f_norm_arg): better, nicer error message. 16782 16783Thu Jun 29 07:45:33 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16784 16785 * ext/socket/socket.c (udp_send): destination may be packed 16786 struct sockaddr. 16787 16788 * object.c (rb_Integer): Integer(nil) should be invalid, on the 16789 other hand, nil.to_i is OK. 16790 16791Wed Jun 28 17:26:06 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16792 16793 * ext/socket/socket.c (ip_recvfrom): udp_recvfrom and tcp_recvfrom 16794 is merged and moved to IPSocket#recvfrom. 16795 16796 * ext/socket/socket.c (sock_s_getaddrinfo): family can be a 16797 strings such as "AF_INET" etc. 16798 16799 * ruby.c (require_libraries): . and RUBYLIB added to $load_path 16800 just before -r procedure. 16801 16802 * ruby.c (proc_options): -e, - did not exec -r. 16803 16804Wed Jun 28 14:52:28 2000 Koga Youichirou <y-koga@mms.mt.nec.co.jp> 16805 16806 * config.sub: NetBSD/hpcmips support. 16807 16808Wed Jun 28 10:11:06 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16809 16810 * gc.c: gc trigger threshold changed; GC_NEWOBJ_LIMIT removed, 16811 FREE_MIN is increased to 4096. 16812 16813Tue Jun 27 22:39:28 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 16814 16815 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.24. 16816 16817 * lib/net/protocol.rb: modified each_crlf_line again. 16818 16819 * lib/net/protocol.rb: do_write_beg,do_write_end -> writing{} 16820 do_write_do -> do_write 16821 16822 * lib/net/http.rb: can make proxy connection by passing 16823 addresses to HTTP.new, start. 16824 16825 * lib/net/http.rb: HTTP.new_implementation, old_implementation: 16826 can use 1.2 implementation of head, get, post, put. 16827 (see document) 16828 16829Tue Jun 27 12:05:10 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 16830 16831 * win32.c (myfdclr): new function. 16832 16833 * win32.h: add FD_CLR. 16834 16835Mon Jun 26 23:41:41 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16836 16837 * ruby.h: add cast for ANSI style. 16838 16839 * gc.c (rb_data_object_alloc): use RUBY_DATA_FUNC. 16840 16841Mon Jun 26 22:20:03 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 16842 16843 * win32/win32.c (is_socket, extract_file_fd): New function. 16844 16845 * win32/win32.c (myfdopen): use is_socket(). 16846 16847 * win32/win32.c (myselect): return non socket files immediately 16848 if file and socket handles are mixed. 16849 16850Mon Jun 26 16:21:30 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16851 16852 * eval.c (rb_thread_schedule): wait_for cleared too early. 16853 16854Mon Jun 26 09:15:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16855 16856 * pack.c: remove obsolete 'F', 'D' specifiers. 16857 16858Sun Jun 25 00:55:03 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 16859 16860 * ext/socket/socket.c (sock_s_getnameinfo): `res' would not 16861 be assigned if TYPE(sa) == T_STRING. 16862 16863Sat Jun 24 14:36:29 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16864 16865 * config*.dj, configure.bat, top.sed: move to djgpp/. 16866 16867Sat Jun 24 02:34:17 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16868 16869 * ruby.c (load_file): call require_libraries() here to let 16870 debug.rb work properly. 16871 16872Fri Jun 23 22:34:51 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 16873 16874 * bignum.c (rb_big_lshift): reorder xds assignment to avoid 16875 reusing `x' as `len' by VC++ 6.0 SP3 compiler with -Ox switch. 16876 16877Fri Jun 23 01:11:27 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16878 16879 * string.c (rb_str_substr): should return empty string (""), 16880 if beg == str.size and len == zero, mostly for convenience and 16881 backward compatibility. 16882 16883 * parse.y (new_super): should tweak block_pass node for super too. 16884 16885 * string.c (rb_str_split_m): last split element should not be nil, 16886 but "" when limit is specified. 16887 16888Thu Jun 22 17:27:46 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16889 16890 * string.c (rb_str_substr): str[n,m] now returns nil when n equals 16891 to str.size. 16892 16893Thu Jun 22 13:49:02 2000 Uechi Yasumasa <uechi@ryucom.ne.jp> 16894 16895 * lib/net/ftp.rb: support resuming. 16896 16897Thu Jun 22 13:37:19 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16898 16899 * eval.c (rb_thread_sleep_forever): merge pause() macro. 16900 16901Wed Jun 21 08:49:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16902 16903 * eval.c (rb_eval): should not raise exception just by defining 16904 singleton class. 16905 16906Wed Jun 21 01:18:03 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16907 16908 * ruby.h: two macros RUBY_DATA_FUNC and RUBY_METHOD_FUNC are added 16909 to make writing C++ extensions easier. 16910 16911 * array.c (rb_ary_dup): internal classes should not be shared by dup. 16912 16913 * hash.c (rb_hash_dup): ditto. 16914 16915 * object.c (rb_obj_dup): ditto. 16916 16917 * string.c (rb_str_dup): ditto. 16918 16919 * error.c (Init_Exception): renamed NotImplementError to 16920 NotImplementedError. 16921 16922Tue Jun 20 16:22:38 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16923 16924 * time.c (make_time_t): bug in DST boundary. 16925 16926Tue Jun 20 10:54:19 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16927 16928 * configure.in: add eval sitedir. 16929 16930Tue Jun 20 06:14:43 2000 Wakou Aoyama <wakou@fsinet.or.jp> 16931 16932 * lib/cgi.rb: change: version syntax. old: x.yz, now: x.y.z 16933 16934 * lib/net/telnet.rb: ditto. 16935 16936Tue Jun 20 00:37:45 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16937 16938 * re.c (rb_reg_kcode_m): Regexp#kcode returns nil for code unfixed 16939 regexp object. 16940 16941 * bignum.c (bigdivmod): bignum zero check was wrong. 16942 16943Mon Jun 19 10:48:28 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16944 16945 * variable.c (rb_cvar_set): forgot to add security check for class 16946 variable assignment. 16947 16948Sun Jun 18 22:49:13 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16949 16950 * configure.in: single quoted sitedir. 16951 16952 * mkconfig.rb: add DESTDIR for cross-compiling. 16953 16954 * lib/mkmf.rb: add DESTDIR. 16955 16956 * ruby.c (load_file): force binmode if fname includes ".exe" 16957 on DOSISH. 16958 16959Sat Jun 17 23:22:17 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16960 16961 * sprintf.c (rb_f_sprintf): should ignore negative precision given 16962 by <%.*>. 16963 16964 * sprintf.c (rb_f_sprintf): should allow zero precision. 16965 16966Sat Jun 17 03:13:29 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16967 16968 * time.c (time_localtime): avoid unnecessary call of localtime. 16969 16970 * time.c (time_gmtime): avoid unnecessary call of gmtime. 16971 16972 * process.c (proc_wait2): new method. 16973 16974 * process.c (proc_waitpid): second argument made optional. 16975 16976 * process.c (proc_waitpid2): new method. 16977 16978Sat Jun 17 00:05:00 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16979 16980 * re.c (rb_reg_clone): should initialize member fields. 16981 16982Fri Jun 16 22:49:34 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 16983 16984 * io.c (rb_io_rewind): set lineno to zero. 16985 16986Fri Jun 16 22:47:47 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 16987 16988 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.23. 16989 16990 * lib/net/protocol.rb: too many CRLF in last line. 16991 16992Fri Jun 16 21:23:59 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 16993 16994 * configure.in: add pause(2) checking. 16995 16996 * eval.c: define pause() if missing. 16997 16998Fri Jun 16 18:41:58 2000 Koji Arai <JCA02266@nifty.ne.jp> 16999 17000 * process.c (proc_setsid): BSD-style setpgrp() don't return 17001 process group ID, but 0 or -1. 17002 17003Fri Jun 16 16:23:35 2000 Koji Arai <JCA02266@nifty.ne.jp> 17004 17005 * file.c (rb_stat_inspect): gives detailed information; 17006 compatibility with ruby-1.4.x. 17007 17008Fri Jun 16 05:18:45 2000 Yasuhiro Fukuma <yasuf@bsdclub.org> 17009 17010 * configure.in: FreeBSD: do not link dummy libxpg4 which was 17011 merged into libc. 17012 17013Fri Jun 16 03:17:36 2000 Satoshi Nojo <nojo@t-samukawa.or.jp> 17014 17015 * ext/dbm/dbm.c (fdbm_length): use GetDBM. empty?, [] too. 17016 17017 * ext/gdbm/gdbm.c (fgdbm_length): ditto. 17018 17019 * ext/sdbm/init.c (fsdbm_length): ditto. 17020 17021Fri Jun 16 01:57:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17022 17023 * eval.c (rb_thread_sleep_forever): pause(2) instead of sleep(3). 17024 17025Thu Jun 15 10:46:36 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17026 17027 * string.c (rb_str_sub_bang): should propagate taintness from 17028 replacement string. 17029 17030Wed Jun 14 17:01:41 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 17031 17032 * rubytest.rb: add CONFIG['EXEEXT'] to the executable file name. 17033 17034Wed Jun 14 14:50:00 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17035 17036 * string.c (rb_f_sub): assign to $_ only if modification happens. 17037 17038 * string.c (rb_f_gsub): ditto. 17039 17040 * string.c (rb_f_chop): ditto. 17041 17042 * string.c (rb_f_chomp): ditto. 17043 17044 * io.c (io_reopen): preserve file position by ftell/fseek, if io 17045 is a seekable. 17046 17047 * eval.c (method_arity): wrong arity number for the methods with 17048 optional arguments. 17049 17050 * time.c (make_time_t): opposite timezone shift (should be negative). 17051 17052Wed Jun 14 14:07:38 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 17053 17054 * io.c: typo(ig/if). 17055 17056 * re.c: typo(re/reg). add rb_reg_check(). 17057 17058 * time.c: remove unneeded declare(daylight, timezone). 17059 17060 * configure.in: add include <time.h> when daylight checking. 17061 17062Wed Jun 14 11:36:52 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 17063 17064 * marshal.c (r_object): modified for symbols. 17065 17066 * marshal.c (w_object): ditto. 17067 17068Wed Jun 14 10:04:58 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17069 17070 * re.c (rb_memcmp): should compare according to ruby_ignorecase. 17071 17072 * string.c (rb_str_cmp): use rb_memcmp. 17073 17074 * string.c (rb_str_index): ditto. 17075 17076 * string.c (rb_str_rindex): ditto. 17077 17078 * string.c (rb_str_each_line): ditto. 17079 17080Wed Jun 14 04:58:53 2000 Dave Thomas <dave@thomases.com> 17081 17082 * io.c (rb_io_set_lineno): should have returned VALUE, not 17083 integer. 17084 17085Wed Jun 14 09:29:42 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17086 17087 * string.c (rb_str_dup): dup should always propagate taintness. 17088 17089Wed Jun 14 00:50:14 2000 Wakou Aoyama <wakou@fsinet.or.jp> 17090 17091 * lib/cgi.rb: read_multipart(): if no content body then raise EOFError. 17092 17093Tue Jun 13 11:46:17 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17094 17095 * process.c (proc_setsid): try implement it using setpgrp() and 17096 ioctl(fd, TIOCNOTTY, NULL). 17097 17098 * re.c (rb_reg_prepare_re): magic variable $= should affect regex 17099 pattern match. 17100 17101 * time.c (make_time_t): use tm.tm_gmtoff if possible. 17102 17103 * time.c (time_zone): use tm.tm_zone if available. 17104 17105Tue Jun 13 01:50:57 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 17106 17107 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.22. 17108 17109 * lib/net/http.rb: HTTPResponse#body returns body. 17110 17111Mon Jun 12 23:41:54 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 17112 17113 * configure.in (daylight): avoid GCC optimization. 17114 17115Mon Jun 12 19:02:27 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 17116 17117 * configure.in: cygwin has strange timezone. 17118 17119 * time.c (time_zone): use tzname and daylight. 17120 17121Sat Jun 10 23:10:32 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17122 17123 * io.c (rb_io_seek): whence is optional, default is SEEK_SET. 17124 17125Fri Jun 9 17:00:29 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 17126 17127 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.21. 17128 17129 * lib/net/http.rb: exception is raised with response object. 17130 17131Fri Jun 9 15:11:35 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17132 17133 * time.c (make_time_t): supports daylight saving time. 17134 17135 * eval.c (rb_thread_safe_level): should retrieve current $SAFE 17136 value if a thread is the current thread. 17137 17138Thu Jun 8 14:25:45 2000 Hiroshi Igarashi <iga@ruby-lang.org> 17139 17140 * lib/mkmf.rb: add target `distclean' in Makefile for extlib. 17141 target `clean' doesn't remove Makefile. 17142 17143Thu Jun 8 13:34:03 2000 Dave Thomas <dave@thomases.com> 17144 17145 * numeric.c: add nan?, infinite?, and finite? to Float 17146 17147Thu Jun 8 00:31:04 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 17148 17149 * regex.h: export re_mbctab properly on cygwin. 17150 17151 * dln.c: use dlopen instead of LoadLibrary on cygwin. 17152 17153Thu Jun 8 13:41:34 2000 Tadayoshi Funaba <tadf@kt.rim.or.jp> 17154 17155 * file.c (rb_file_s_basename): might dump core. 17156 17157Tue Jun 6 03:29:12 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17158 17159 * dir.c (dir_foreach): now returns nil for consistency. 17160 17161 * bignum.c (bigdivmod): modulo by small numbers was wrong. 17162 17163Mon Jun 5 00:18:08 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 17164 17165 * bignum.c: avoid conflict with USHORT on mingw32. 17166 17167Mon Jun 5 00:13:35 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 17168 17169 * eval.c (rb_thread_schedule): =/== typo. 17170 17171Sun Jun 4 03:17:36 2000 Wakou Aoyama <wakou@fsinet.or.jp> 17172 17173 * lib/cgi.rb: improve: CGI::pretty() 17174 17175Sun Jun 4 02:01:10 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 17176 17177 * lib/mkmf.rb: do not need to add -L$(topdir) in --enable-shared case. 17178 17179Sat Jun 3 13:50:06 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17180 17181 * parse.y (rb_id2name): should support constant attrset 17182 identifiers. 17183 17184 * bignum.c (rb_big_eq): Bignum#== should not raise exception. 17185 17186Fri Jun 2 11:24:48 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17187 17188 * io.c (rb_io_popen): open with a block returns the value from the 17189 block. old behavior was back. 17190 17191Fri Jun 2 00:42:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17192 17193 17194 * eval.c (rb_thread_cleanup): should clear priority for thread 17195 termination. 17196 17197Thu Jun 1 22:39:41 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 17198 17199 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.20. 17200 17201 * lib/net/http.rb: wrongly closed the socket twice 17202 when no Content-Length: was given. 17203 17204Thu Jun 1 00:59:15 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17205 17206 * eval.c (rb_yield_0): convert Qundef to []. 17207 17208Wed May 31 20:45:59 2000 Dave Thomas <Dave@Thomases.com> 17209 17210 * string.c (rb_str_slice_bang): wrong argument number. 17211 17212Wed May 31 12:37:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17213 17214 * eval.c (rb_exec_end_proc): print error message from END procs. 17215 17216Wed May 31 04:06:41 2000 Wakou Aoyama <wakou@fsinet.or.jp> 17217 17218 * lib/cgi.rb: change: CGI#out() if "HEAD" == REQUEST_METHOD then 17219 output only HTTP header. 17220 17221Wed May 31 01:54:21 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17222 17223 * eval.c (rb_thread_schedule): set main_thread->status to 17224 THREAD_TO_KILL, before raising deadlock error. 17225 17226 * eval.c (rb_thread_deadlock): if curr_thread == main_thread, do 17227 not call rb_thread_restore_context() 17228 17229Tue May 30 23:33:41 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 17230 17231 * lib/mkmf.rb (create_makefile): add $(TARGET).ilk and *.pdb 17232 to cleanup files for mswin32. 17233 17234Mon May 29 10:41:10 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 17235 17236 * file.c (rb_file_s_basename): should propagate taintness. 17237 17238Sun May 28 21:37:13 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 17239 17240 * eval.c: bug fix: DLEXT2. 17241 17242Sun May 28 19:21:43 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 17243 17244 * win32/win32.c: use ruby's glob. 17245 17246 * dir.c: "glob" exported and renamed to "rb_glob". 17247 17248 * ruby.h: ditto. 17249 17250 * main.c: turn off command line mingw32's globbing. 17251 17252Wed May 25 22:25:13 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 17253 17254 * ext/extmk.rb.in: use "ftools" instead of "rm -f". 17255 17256 * lib/mkmf.rb: ditto. 17257 17258Thu May 25 22:01:32 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 17259 17260 * defines.h: mswin32: remove obsolete USHORT definition. 17261 17262 * re.h: mswin32: use EXTERN instead of extern. 17263 17264 * regex.h: mswin32: export re_mbctab properly. 17265 17266 * win32/ruby.def: add ruby_ignorecase and regex.c's exports. 17267 17268Thu May 25 21:28:44 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 17269 17270 * re.c (rb_reg_expr_str): escape un-printable character. 17271 17272Thu May 25 01:35:15 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17273 17274 * parse.y (tokadd_escape): forgot to add `\x' to hexadecimal 17275 escape sequences. 17276 17277 * object.c (rb_obj_dup): dup for normal object (T_OBJECT) copies 17278 instance variables only. 17279 17280Wed May 24 23:49:47 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17281 17282 * object.c (rb_mod_initialize): should provide initialize. 17283 17284Wed May 24 23:17:50 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 17285 17286 * win32/Makefile: remove unnecessary mv and rm command call. 17287 17288Wed May 24 21:01:04 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 17289 17290 * ext/pty/pty.c: use "" instead of <> to include ruby.h and rubyio.h 17291 for BeOS (PowerPC). 17292 17293 * file.c (rb_find_file): should check dln_find_file() result. 17294 17295 * win32/ruby.def: add rb_block_given_p. 17296 17297Wed May 24 16:32:45 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17298 17299 * io.c (rb_io_popen): popen does not take 3rd argument anymore. 17300 17301 * re.c (rb_reg_desc): re may be zero, check before dereferencing. 17302 17303Wed May 24 16:03:06 2000 Wakou Aoyama <wakou@fsinet.or.jp> 17304 17305 * lib/cgi.rb: bug fix: CGI::escape(), CGI::Cookie::new() 17306 17307 * lib/net/telnet.rb: improve: binmode(), telnetmode() interface 17308 17309Wed May 24 13:12:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17310 17311 * misc/ruby-mode.el (ruby-parse-region): support `while .. do' 17312 etc. But corresponding keywords must be at the beginning of 17313 line. 17314 17315Tue May 23 23:50:12 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17316 17317 * re.c (rb_reg_initialize_m): wrong kcode value. 17318 17319 * re.c (rb_reg_s_new): forgot to initialize re->ptr. 17320 17321Tue May 23 08:36:24 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17322 17323 * regex.c (re_compile_pattern): forgot to restore old option 17324 status by (?ix-ix). 17325 17326 * regex.c (re_compile_fastmap): anychar may match newline if 17327 RE_OPTION_MULTILINE or RE_OPTION_POSIXLINE is set. 17328 17329Mon May 22 22:45:06 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 17330 17331 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.19. 17332 17333 * lib/net/http.rb: do not use Regexp "p" option. 17334 17335Mon May 22 21:56:43 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 17336 17337 * struct.c (rb_struct_getmember): should use ID2SYM, not INT2NUM. 17338 17339Mon May 22 15:07:37 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17340 17341 * file.c (rb_find_file): should check if the file really exists. 17342 17343Mon May 22 09:08:12 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17344 17345 * io.c (rb_io_popen): _exit(0) after processing block under the 17346 child process. 17347 17348 * io.c (rb_io_popen): flush stdout/stderr before subprocess 17349 termination. 17350 17351 * eval.c (rb_check_safe_str): insert rb_secure(4); operation 17352 requires untainted string should be prohibited in level 4. 17353 17354Sun May 21 21:17:00 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 17355 17356 * configure.in: add Setup.dj for djgpp cross-compiling. 17357 17358 * Setup.dj: add readline. 17359 17360 * instruby.rb: copy win32/win32.h to archlibdir on mingw32. 17361 17362Sun May 21 20:58:08 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 17363 17364 * pack.c: fix OFF16 and OFF32 definitions for Alpha and IRIX64. 17365 17366Sun May 21 17:31:37 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 17367 17368 * instruby.rb: support "make install" for cross-compiling. 17369 17370 * ext/extmk.rb.in: ditto. 17371 17372Sun May 21 14:22:49 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 17373 17374 * Makefile.in: rename prep.rb to fake.rb. 17375 17376 * configure.in: ditto. 17377 17378Sat May 20 23:29:14 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17379 17380 * dir.c (dir_s_new): does not take block; "open" does. 17381 17382 * io.c (rb_io_s_new): ditto. 17383 17384Fri May 19 07:44:26 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17385 17386 * dir.c (dir_s_open): Dir#open does not returns closed Dir if a 17387 block is given to the method. 17388 17389 * re.c (rb_reg_initialize_m): Regexp::new calls initialize now. 17390 17391 * string.c (Init_String): String#delete_at removed. 17392 17393 * string.c (rb_str_aset_m): should have checked argc != 2. 17394 17395 * eval.c (rb_thread_schedule): select(2) was called too many. 17396 17397 * regex.c (re_compile_pattern): a bug in (?m) support. Pointed 17398 out by Dave Thomas <Dave@thomases.com>. 17399 17400Thu May 18 23:55:26 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 17401 17402 * dln.c (search_undef): st_lookup()'s 3rd parameter should be 17403 a pointer of the variable which has the same size and alignment 17404 as `char *'. 17405 17406 * marshal.c (w_symbol, w_object): ditto. 17407 17408 * parse.y (rb_intern): ditto. 17409 17410Thu May 18 18:00:35 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 17411 17412 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.18. 17413 17414 * lib/net/protocol.rb: Net::Version was removed. 17415 17416 * lib/net/smtp.rb: use Socket.gethostname to get local host name. 17417 17418Thu May 18 13:34:57 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17419 17420 * ext/socket/socket.c (ruby_connect): should not have replaced 17421 thread_write_select() by rb_thread_fd_writable(). 17422 17423Thu May 18 09:01:25 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 17424 17425 * configure.in, ext/extmk.rb.in, lib/mkmf.rb: remove BeOS R3 support. 17426 Make a shared library (libruby.so) only if the --enable-shared 17427 option is specified. 17428 17429 * instruby.rb: no longer use libruby.so.LIB and import.h. 17430 17431 * io.c: fix READ_DATA_PENDING definition for BeOS (PowerPC). 17432 17433Wed May 17 14:14:23 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17434 17435 * re.c (rb_reg_new_1): use /m instead of /p. 17436 17437Wed May 17 02:22:03 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17438 17439 * eval.c (rb_thread_polling): wait 0.06 second to let other 17440 processes run. 17441 17442 * process.c (rb_waitpid): avoid busy wait using rb_thread_polling. 17443 17444 * file.c (rb_thread_flock): ditto. 17445 17446 * parse.y (expr): avoid calling value_expr() twice. 17447 17448Wed May 17 00:45:57 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 17449 17450 * io.c (rb_io_binmode): should check PLATFORMs, not O_BINARY, sigh... 17451 17452Wed May 17 00:40:15 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 17453 17454 * win32/config.h: add DLEXT2, now DLEXT on mswin32 is "so". 17455 17456 * win32/config.status: ditto. 17457 17458 * win32/ruby.def: add symbol "rb_big_divmod". 17459 17460Tue May 16 19:45:32 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 17461 17462 * intern.h: use EXTERN instead of extern. 17463 17464 * win32/ruby.def: add rb_defout, rb_stdout, ruby_errinfo, 17465 ruby_sourceline, ruby_sourcefile to work with eruby 17466 reported by Hiroshi Saito <HiroshiSaito@pob.org>. 17467 Export both ruby_xmalloc and xmalloc etc. 17468 17469Tue May 16 17:00:05 2000 Masaki Fukushima <fukusima@goto.info.waseda.ac.jp> 17470 17471 * eval.c (rb_thread_select): should check whether fds are null. 17472 17473Tue May 16 11:51:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17474 17475 * io.c (pipe_open): synchronize subprocess stdout/stderr. 17476 17477Mon May 15 15:38:09 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17478 17479 * ruby.h: exported symbols should be for xmalloc etc. are now 17480 prefixed by 'ruby_', e.g. ruby_xmalloc(). 17481 17482 * eval.c (rb_thread_select): remove busy wait for select. 17483 17484 * dir.c (glob): trailing path may be null, e.g. glob("**"). 17485 17486Mon May 15 14:48:41 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 17487 17488 * io.c (rb_io_pid): new method; returns nil if no process attached 17489 to the IO. 17490 17491Mon May 15 01:18:20 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17492 17493 * io.c (rb_io_s_popen): _exit after Proc execution. 17494 17495Sun May 14 18:05:59 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 17496 17497 * Makefile.in: missing/nt.c -> win32/win32.c 17498 17499 * configure.in: bug fix; static linking on mingw32. 17500 17501 * cygwin/GNUmakefile.in: remove VPATH. 17502 17503 * ext/extmk.rb.in: Makefile set binmode with mingw32 on cygwin32. 17504 17505 * lib/mkmf.rb: ditto. 17506 17507 * win32/config.h: undef HAVE_SYS_FILE_H. 17508 17509Sun May 14 02:02:48 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 17510 17511 * lib/irb/ruby-lex.rb: '/' should be escaped in character class. 17512 17513Sun May 14 00:54:43 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 17514 17515 * configure.in, ...: support mingw32. 17516 17517 * defines.h: ditto. undef EXTERN for tcl/tk on cygwin. 17518 17519 * ext/*/extconf.rb: replace PLATFORM with RUBY_PLATFORM. 17520 17521 * ext/socket/sockport.h: define IN_MULTICAST for missing IN_MULTICAST. 17522 17523 * ext/tcltklib/tcltklib.c: remove declaration of rb_argv0. 17524 17525 * file.c: should check S_IXGRP, S_ISGID, not NT. 17526 17527 * io.c (rb_io_binmode): should check _IOBIN, O_BINARY, not PLATFORMs. 17528 17529Sat May 13 14:21:15 2000 Koji Arai <JCA02266@nifty.ne.jp> 17530 17531 * io.c (rb_io_s_popen): should check whether a block is given. 17532 17533Fri May 12 17:33:44 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17534 17535 * regex.c (re_compile_pattern): charset_not should not exclude 17536 newline from matching set. 17537 17538Thu May 11 22:51:05 2000 Ryunosuke Ohshima <ryu@jaist.ac.jp> 17539 17540 * pack.c (pack_pack): Bignum support. 17541 17542 * pack.c (pack_unpack): ditto. 17543 17544Thu May 11 21:19:29 2000 Hiroshi Igarashi <iga@ruby-lang.org> 17545 17546 * intern.h: add missing declarations of ruby API functions. 17547 17548 * ruby.h: fix function name in declarations. 17549 17550Thu May 11 22:29:25 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 17551 17552 * ext/md5/depend: add $(topdir)/config.h dependency to md5c.o. 17553 17554 * ext/md5/extconf.rb: new file to add -DHAVE_CONFIG_H flag for Alpha. 17555 17556Thu May 11 10:55:52 2000 Ryunosuke Ohshima <ryu@jaist.ac.jp> 17557 17558 * pack.c (pack_pack): packing BER compressed integer by `w'. 17559 17560 * pack.c (pack_unpack): unpacking BER. 17561 17562Thu May 11 00:37:55 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17563 17564 * parse.y (parse_regx): remove in_brack. 17565 17566Wed May 10 12:51:18 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17567 17568 * ruby.c (proc_options): move adding RUBYLIB and "." to the load 17569 path after #! line parsing. 17570 17571 * parse.y (parse_regx): should parse backslash escape like `\c[' 17572 here to avoid causing `unterminated regexp' error. 17573 17574Wed May 10 00:19:53 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 17575 17576 * MANIFEST, beos/GNUmakefile.in, configure.in: no longer need 17577 beos/GNUmakefile.in to support BeOS R4.5.2 (Intel) as a result 17578 of eban's Makefile.in change. 17579 17580 * io.c: NOFILE is already defined on BeOS R4.5 (Intel) or later. 17581 17582 * lib/matrix.rb: remove debug print. 17583 17584 * regex.c: don't use nested comment. 17585 17586Tue May 9 17:08:43 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17587 17588 * eval.c (massign): no longer convert nil into empty array. 17589 17590 * io.c (rb_io_s_popen): optional 3rd argument to give proc, which 17591 will be executed in spawned child process. 17592 17593Mon May 8 23:47:39 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 17594 17595 * eval.c (rb_callcc): prev & next should be initialized to zero. 17596 17597Mon May 8 23:17:36 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17598 17599 * dln.c (dln_init): remove possible buffer overrun. This is 17600 suggested by Aleksi Niemela <aleksi.niemela@cinnober.com>. 17601 17602 * dln.c (init_funcname): ditto. 17603 17604Sat May 6 23:35:47 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17605 17606 * parse.y (lhs): should allow `obj.Attr = 5' type expression. 17607 17608Sat May 6 15:46:08 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 17609 17610 * ext/socket/extconf.rb: add a new configure option to force use 17611 of the WIDE Project's getaddrinfo(): --enbale-wide-getaddrinfo. 17612 17613Fri May 5 21:19:22 2000 MOROHOSHI Akihiko <moro@remus.dti.ne.jp> 17614 17615 * parse.y (yylex): allow '$1foo' and such. 17616 17617Fri May 5 17:57:24 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 17618 17619 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.17. 17620 17621 * lib/net/http.rb: write also port number in Host: field. 17622 17623 * lib/net/http.rb: see Proxy-Connection: to decide socket connection. 17624 17625Fri May 5 03:25:15 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17626 17627 * regex.c (re_compile_fastmap): charset_not for multibyte 17628 characters excluded too many characters. 17629 17630Tue May 2 13:23:43 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17631 17632 * eval.c (rb_thread_schedule): little bit more impartial context 17633 switching. 17634 17635Tue May 2 09:50:03 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 17636 17637 * configure.in: add DLDLIBS to set platform specific library 17638 for extensions. 17639 17640 * ext/extmk.rb.in: use @DLDLIBS@ instead of RUBY_PLATFORM choice. 17641 17642 * lib/mkmf.rb: use CONFIG["DLDLIBS"] instead of RUBY_PLATFORM choice. 17643 17644 * config_s.dj: add @DLDLIBS@. 17645 17646 * win32/config.status: ditto. 17647 17648 * win32/ruby.def: regular maintenance. 17649 17650Mon May 1 23:42:44 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 17651 17652 * configure.in, eval.c: add DLEXT2. now DLEXT on Cygwin is "so". 17653 17654 * defines.h: use dllimport, dllexport for Cygwin 1.1.x. 17655 17656 * ruby.h: ditto. 17657 17658 * cygwin/GNUmakefile.in: ditto. 17659 17660 * ext/Win32API/Win32API.c: directly "call" in asm statement for 17661 gcc 2.95.x or newer. 17662 17663Sat Apr 29 04:58:12 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 17664 17665 * array.c (rb_ary_unshift_m): performance improvement. 17666 17667Fri Apr 28 00:19:22 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 17668 17669 * array.c (rb_ary_unshift_m): takes items to push. 17670 17671Wed Apr 26 15:23:02 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17672 17673 * string.c (rb_str_succ): insert carrying character just before 17674 the leftmost alpha numeric character. 17675 17676 * string.c (rb_str_succ): proper behavior for "".succ and "\377".succ. 17677 17678 * string.c (rb_str_succ): use realloc and memmove. 17679 17680Tue Apr 25 18:28:45 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 17681 17682 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.16. 17683 17684 * lib/net/smtp.rb: add SMTP AUTH 17685 17686Tue Apr 25 14:30:13 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17687 17688 * io.c (rb_io_gets_internal): shortcut when rs == rb_default_rs. 17689 17690Sat Apr 22 23:14:41 2000 SHIROYAMA Takayuki <psi@fortune.nest.or.jp> 17691 17692 * configure.in: MacOS X support. 17693 17694Sat Apr 22 16:37:10 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 17695 17696 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.15. 17697 17698 * lib/net/http.rb: closing socket by watching both 17699 user header and server response 17700 17701Fri Apr 21 21:44:34 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 17702 17703 * io.c (rb_io_s_pipe): should set FMODE_SYNC. 17704 17705Thu Apr 20 16:59:22 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 17706 17707 * eval.c (massign): `*lvalue = false' should assign `[false]' to 17708 lvalue. 17709 17710Wed Apr 19 08:35:08 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17711 17712 * class.c (rb_singleton_class): generate singleton class for 17713 special constants: nil, true, false. 17714 17715Wed Apr 19 02:09:30 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17716 17717 * class.c (rb_singleton_class): singleton method for nil, true, 17718 false is possible now. 17719 17720 * eval.c (rb_eval): ditto. 17721 17722Tue Apr 18 18:54:25 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 17723 17724 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.14. 17725 17726 * lib/net/http.rb: new method HTTP#head2. 17727 17728 * lib/net/http.rb: get2/post2 does not raise exceptions. 17729 17730Mon Apr 17 15:16:31 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17731 17732 * io.c (rb_io_close): to detect some exceptional status, writable 17733 IO should be flushed before close; 17734 17735Sat Apr 15 18:29:00 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17736 17737 * array.c (rb_ary_collect_bang): Array#filter renamed. 17738 17739Fri Apr 14 19:47:11 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 17740 17741 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.13. 17742 17743 * lib/net/pop.rb: accept illegal timestamp 17744 17745 * lib/net/http.rb: when body was chunked, does not set Content-Length: 17746 17747Tue Apr 11 21:14:42 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 17748 17749 * config_s.dj: add @sitedir@. 17750 * configure.in: add --with-sitedir=DIR option. 17751 * instruby.rb: use CONFIG["sitedir"]. 17752 * lib/mkmf.rb: support 'make site-install'. 17753 * win32/config.status: add @sitedir@. 17754 17755Tue Apr 11 16:25:15 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17756 17757 * bignum.c (rb_big_2comp): unnecessary lvalue cast removed. 17758 17759Tue Apr 11 02:25:53 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17760 17761 * hash.c (env_fetch): new method. 17762 17763 * marshal.c (marshal_dump): accepts depth = nil for unlimited depth. 17764 17765Sun Apr 9 20:49:19 2000 Dave Thomas <Dave@Thomases.com> 17766 17767 * parse.y (str_extend): Allow class variables to be expanded. 17768 17769Fri Apr 7 02:03:54 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17770 17771 * error.c (rb_sys_fail): escape non-printable characters. 17772 17773Thu Apr 6 20:10:47 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 17774 17775 * ext/extmk.rb.in (create_makefile): BeOS --program-suffix support. 17776 * lib/mkmf.rb (create_makefile): ditto. 17777 17778Thu Apr 6 09:55:26 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 17779 17780 * error.c (rb_sys_fail): need rb_exc_new2() call on BeOS. 17781 17782Mon Apr 3 17:22:27 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17783 17784 * io.c (rb_io_reopen): support tempfile. 17785 17786 * eval.c (catch_i): should supply argument. 17787 17788Sat Apr 1 22:50:28 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17789 17790 * marshal.c (r_object): wrong symbol restoration. 17791 17792Sat Apr 1 21:30:53 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 17793 17794 * io.c (rb_io_printf, rb_f_printf): should use rb_io_write. 17795 17796Sat Apr 1 00:16:05 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17797 17798 * gc.c (rb_gc_call_finalizer_at_exit): should be clear flags 17799 before calling finalizers. 17800 17801 * eval.c (specific_eval): can be called without SecurityError, if 17802 $SAFE >= 4. 17803 17804 * object.c (sym_inspect): inspect gives ":sym", to_s gives "sym". 17805 17806Fri Mar 31 22:07:04 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 17807 17808 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.12. 17809 17810 * lib/net/protocol.rb: update Net::Protocol::Proxy#connect 17811 17812 * lib/net/protocol.rb: ReplyCode is not a class 17813 17814 * lib/net/http.rb: header value format was change: 17815 values do not include header name 17816 17817 * lib/net/http.rb: header is not a Hash, but HTTPResponse 17818 17819Thu Mar 30 12:19:44 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 17820 17821 * enum.c (enum_find): rb_eval_cmd() should be called with array. 17822 17823Tue Mar 28 13:57:05 2000 Clemens Hintze <c.hintze@gmx.net> 17824 17825 * ext/dbm/dbm.c (fdbm_invert): should return new hash. 17826 17827 * ext/gdbm/gdbm.c (fgdbm_invert): ditto. 17828 17829Tue Mar 28 00:58:03 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 17830 17831 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.11. 17832 17833 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: does not 17834 dispatch any commands while dispatching command. 17835 17836 * lib/net/protocol.rb: failed to get error class of 17837 inherited ReplyCode 17838 17839 * lib/net/http.rb: change feature of "get2", "post2" 17840 17841Mon Mar 27 01:34:58 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 17842 17843 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.10. 17844 17845 * lib/net/http.rb: return value of 'head' was wrong. 17846 17847Sun Mar 26 17:47:35 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 17848 17849 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.9. 17850 17851 * lib/net/smtp.rb: SMTP#do_ready wrongly took no arguments 17852 17853Sat Mar 25 23:21:10 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17854 17855 * marshal.c (w_object): symbols should be converted to ID before 17856 dumping out. 17857 17858Fri Mar 24 18:26:51 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17859 17860 * file.c (test_check): should have checked exact number of arguments. 17861 17862Fri Mar 24 21:02:11 2000 Koji Arai <JCA02266@nifty.ne.jp> 17863 17864 * signal.c (trap): should treat some symbols as the signal. 17865 17866Fri Mar 24 06:58:03 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 17867 17868 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.8. 17869 17870 * lib/net/http.rb: post, get2, post2, get_body 17871 17872 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: separate 17873 Command/Socket documentation. 17874 17875Thu Mar 23 02:26:14 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17876 17877 * io.c (rb_io_fptr_finalize): fptr may be null. 17878 17879 * io.c (rb_io_s_new): now calls `initialize'. 17880 17881 * io.c (rb_io_initialize): actual open done in this method. 17882 17883 * io.c (rb_file_initialize): ditto. 17884 17885 * eval.c (rb_eval): class variables in singleton class definition 17886 is now handled properly (I hope). 17887 17888Wed Mar 22 21:49:36 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 17889 17890 * st.c (st_delete_safe): skip already deleted entry. 17891 17892 * hash.c (rb_hash_delete): modify brace miss. 17893 17894Wed Mar 22 08:53:58 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17895 17896 * eval.c (exec_under): do not push cbase if ruby_cbase == under. 17897 17898 * node.h (NEW_CREF0): preserve cbase nesting. 17899 17900Tue Mar 21 12:57:50 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17901 17902 * object.c (rb_class_s_new): Class::new should call `inherited'. 17903 17904Sat Mar 18 12:36:09 2000 Nobuyoshi Nakada <nobu.nokada@softhome.net> 17905 17906 * eval.c (rb_backtrace, make_backtrace): removed unused variable 17907 `lev'. 17908 17909 * eval.c (rb_attr): calls `method_added' at attribute definition. 17910 17911 * eval.c (rb_mod_modfunc): calls `singleton_method_added' while 17912 `module_function'. 17913 17914 * eval.c (rb_eval): parameter to `method_added' and 17915 `singleton_method_added' is Symbol. 17916 17917 * eval.c (Init_eval): caches IDs for `method_added' and 17918 `singleton_method_added'. 17919 17920Sat Mar 18 11:25:10 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17921 17922 * parse.y (rescue): allows `rescue Error in foo'. experimental. 17923 which is better this or preparing alias `exception' for `$!'? 17924 17925Fri Mar 17 15:02:45 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17926 17927 * variable.c (rb_autoload_id): defining new autoload should be 17928 prohibited for $SAFE > 4. 17929 17930 * variable.c (rb_autoload_load): autoload should be possible for 17931 $SAFE > 4. 17932 17933 * eval.c (call_trace_func): should handle T_ICLASS properly. 17934 17935Fri Mar 17 14:34:30 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17936 17937 * string.c (str_gsub): forgot to initialize str->orig. 17938 17939Fri Mar 17 01:24:59 2000 Dave Thomas <Dave@thomases.com> 17940 17941 * string.c (rb_str_clone): forgot to copy str->orig if STR_NO_ORIG 17942 is set by Array#pack. 17943 17944Wed Mar 15 21:25:04 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 17945 17946 * array.c (rb_ary_join): 'result' is always duplicated 17947 before concat string. 17948 17949Wed Mar 15 17:26:05 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17950 17951 * hash.c (rb_hash_s_create): unexpected recursive call removed. 17952 this bug was found by Satoshi Nojo <nojo@t-samukawa.or.jp>. 17953 17954Wed Mar 15 13:12:39 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17955 17956 * eval.c (Init_Thread): Thread.join removed finally. 17957 17958 * string.c (rb_str_chomp_bang): forgot to call rb_str_modify(). 17959 17960Mon Mar 13 16:12:13 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17961 17962 * eval.c (block_pass): distinguish real orphan block and still 17963 on-stack block passed by block argument. 17964 17965Mon Mar 13 00:20:25 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17966 17967 * parse.y (f_norm_arg): proper error message when constant comes 17968 in formal argument list. this message is suggested by Muvaw 17969 Pnazte <bugathlon@yahoo.com>. 17970 17971 * eval.c (rb_f_raise): proper error message when the first 17972 argument is not an exception class/object. 17973 17974 * string.c (rb_str_dup): dup now postpone buffer copy as long as 17975 possible. performance improved by lazy copying. 17976 17977Sun Mar 12 13:58:52 2000 Koji Arai <JCA02266@nifty.ne.jp> 17978 17979 * signal.c (rb_f_kill): should treat some symbols as the signal. 17980 17981Sat Mar 11 22:03:03 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17982 17983 * string.c (rb_str_gsub): performance tune by avoiding buffer copy. 17984 17985 * eval.c (rb_f_missing): check if argv[0] is ID. 17986 17987Sat Mar 11 15:49:41 2000 Tadayoshi Funaba <tadf@kt.rim.or.jp> 17988 17989 * struct.c (rb_struct_aref): struct aref by symbol. 17990 17991Sat Mar 11 05:07:11 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17992 17993 * process.c (proc_setpriority): should return 0, not nil. 17994 17995 * process.c (proc_setpgid): ditto. 17996 17997Fri Mar 10 18:14:54 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 17998 17999 * file.c (path_check_1): confusing buf and path. this bug found 18000 by <decoux@moulon.inra.fr>. 18001 18002Fri Mar 10 09:37:49 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 18003 18004 * MANIFEST: add beos/GNUmakefile.in. 18005 * configure.in: support BeOS R4.5.2 (Intel). 18006 * beos/GNUmakefile.in: new file to support BeOS R4.5.2 (Intel). 18007 18008Thu Mar 9 11:13:32 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18009 18010 * regex.c (re_compile_fastmap): fixed embarrassing brace bug. 18011 18012Thu Mar 9 01:36:32 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 18013 18014 * missing/flock.c: emulate missing flock() with fcntl(). 18015 18016Thu Mar 9 00:29:35 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18017 18018 * object.c (sym_to_s): returns ":sym". 18019 18020 * object.c (sym_id2name): separated from to_s; returns "sym". 18021 18022Wed Mar 8 19:16:19 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 18023 18024 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.7. 18025 18026 * lib/net/http.rb (connecting): returns header 18027 18028Wed Mar 8 02:08:43 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18029 18030 * parse.y: escape expansion too early. 18031 18032 * string.c (rb_f_scan): Kernel#scan added. 18033 18034 * regex.c (re_compile_pattern): support \cX et al. 18035 18036Tue Mar 7 01:44:27 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18037 18038 * io.c (set_stdin): simplified procedure, allows $stdin = DATA; 18039 experimental. 18040 18041 * io.c (set_outfile): ditto. 18042 18043 * re.c (Init_Regexp): new method Regexp#last_match added; it's an 18044 alternative for $~. 18045 18046 * configure.in (DEFAULT_KCODE): KCODE_NONE should be the default. 18047 18048 * dir.c (dir_s_rmdir): should return 0 on success. 18049 18050 * signal.c: remove CWGUSI support. 18051 18052Mon Mar 6 12:28:37 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18053 18054 * marshal.c (w_symbol): support symbol object. 18055 18056 * util.c: make symbol as separated class. 18057 18058 * error.c (Init_Exception): new exception RangeError. 18059 18060 * ext/socket/socket.c (ip_addrsetup): should check length of hostname. 18061 18062 * ext/socket/socket.c (ip_addrsetup): check newline at the end of 18063 hostname. These fixes suggested by Muvaw Pnazte <bugathlon@yahoo.com>. 18064 18065Sun Mar 5 20:35:45 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 18066 18067 * ext/Win32API/Win32API.c (Win32API_initialize): should call 18068 LoadLibrary() everytime and should assign the hdll to Win32API 18069 object(protect the hdll from GC). 18070 18071Sun Mar 5 18:49:06 2000 Nakada.Nobuyoshi <nobu.nokada@softhome.net> 18072 18073 * misc/ruby-mode.el (ruby-parse-region): not treat method `begin' 18074 and `end' as reserved words. 18075 18076 * misc/ruby-mode.el (ruby-font-lock-docs): ignore after `=begin' 18077 and `=end'. 18078 18079 * misc/ruby-mode.el (ruby-font-lock-keywords, hilit-set-mode-patterns): 18080 added `yield' to keywords. 18081 18082 * misc/ruby-mode.el (ruby-font-lock-keywords, hilit-set-mode-patterns): 18083 matches keywords at end of buffer. 18084 18085Sun Mar 5 18:08:53 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 18086 18087 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.6. 18088 18089 * lib/net/http.rb: allow to omit 'start' 18090 18091Tue Feb 29 01:08:26 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18092 18093 * range.c (range_initialize): initialization done in `initialize'; 18094 `initialize' should not be called more than once. 18095 18096 * object.c (Init_Object): default `initialize' should take zero 18097 argument. 18098 18099 * time.c (time_s_new): call `initialize' in Time::new. 18100 18101Sat Feb 26 22:39:31 2000 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 18102 18103 * string.c (rb_str_times): fix String#* with huge string. 18104 18105Sat Feb 26 00:14:59 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18106 18107 * dir.c (dir_s_new): call `initialize' in Dir::new. 18108 18109Fri Feb 25 23:01:49 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 18110 18111 * ruby.h: export ruby_safe_level by EXTERN for mswin32. 18112 * win32/ruby.def: regular maintenance. 18113 18114Fri Feb 25 22:12:46 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18115 18116 * io.c (rb_io_reopen): IO#reopen should accept path as well. 18117 18118 * string.c (rb_str_s_new): call `initialize' in String::new. 18119 18120 * hash.c (rb_hash_s_new): call `initialize' in Hash::new. 18121 18122 * array.c (rb_ary_s_new): call `initialize' in Array::new. 18123 18124Fri Feb 25 12:50:20 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18125 18126 * eval.c (rb_thread_start_timer): interval changed to 10ms from 50ms. 18127 18128Fri Feb 25 06:42:26 2000 GOTOU Yuuzou <gotoyuzo@notwork.org> 18129 18130 * ext/socket/socket.c (ip_addrsetup): hostp should remain NULL if 18131 host is nil. 18132 18133Thu Feb 24 16:53:47 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18134 18135 * eval.c (rb_thread_schedule): priority check for sleep expired 18136 threads needed. 18137 18138Wed Feb 23 14:22:32 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18139 18140 * array.c (rb_ary_join): forgot to initialize a local variable 18141 `taint'. 18142 18143Tue Feb 22 07:40:55 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18144 18145 * re.c (Init_Regexp): renamed to MatchData, old name MatchingData 18146 remain as alias. 18147 18148Tue Feb 22 00:20:21 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 18149 18150 * lib/net/protocol.rb, smtp.rb, pop.rb, http.rb: 1.1.5. 18151 18152 * lib/net/session.rb: rename to protocol.rb 18153 18154 * lib/net/protocol.rb: ProtocolSocket -> Net::Socket 18155 18156 * lib/net/protocol.rb: Net::Socket#write, write_pendstr 18157 can take block 18158 18159 * lib/net/smtp.rb: new methods SMTP#ready SMTPCommand#write_mail 18160 18161 * lib/net/pop.rb: POPMail#pop can take block 18162 18163Sat Feb 19 23:58:51 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18164 18165 * regex.c (re_match): pop_loop should not pop at forward jump. 18166 18167Fri Feb 18 17:15:40 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18168 18169 * eval.c (method_clone): method objects are now clonable. 18170 18171Fri Feb 18 00:27:34 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18172 18173 * variable.c (rb_shared_variable_declare): shared variable (aka 18174 class/module variable) introduced. prefix `@@'. experimental. 18175 18176 * class.c (rb_scan_args): new format char '&'. 18177 18178Thu Feb 17 19:09:05 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 18179 18180 * win32/win32.c (mypopen): don't close handle if it is not assigned. 18181 * win32/win32.c (my_open_osfhandle): support O_NOINHERIT flag. 18182 * win32/win32.c (win32_getcwd): rename getcwd to win32_getcwd 18183 in order to avoid using the C/C++ runtime DLL's getcwd. 18184 Use CharNext() to process directory name. 18185 * win32/win32.h: map getcwd to win32_getcwd. 18186 18187Wed Feb 16 00:32:49 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18188 18189 * eval.c (method_arity): nd_rest is -1 for no rest argument. 18190 18191 * process.c (proc_waitpid): returns nil when waitpid(2) returns 0. 18192 18193Tue Feb 15 01:47:00 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18194 18195 * process.c (rb_f_waitpid): pid_t should be signed. 18196 18197Mon Feb 14 13:59:01 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18198 18199 * parse.y (yylex): yylex yields wrong tokens for `:foo=~expr'. 18200 18201 * ruby.c (load_file): exit if reading file is empty. 18202 18203Mon Feb 14 03:34:52 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18204 18205 * parse.y (yylex): `foo.bar=1' should be <foo><.><bar><=><1>, 18206 not <foo><.><bar=><1>. 18207 18208 * eval.c (rb_thread_restore_context): process according to 18209 RESTORE_* is moved after longjmp(). 18210 18211 * eval.c (thread_switch): new function to process RESTORE_*. 18212 18213Sun Feb 13 16:19:49 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 18214 18215 * ruby.c (require_libraries): don't access freed memory. 18216 18217 * ruby.c (add_modules): ditto. 18218 18219Fri Feb 11 12:06:22 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18220 18221 * parse.y (parse_quotedwords): %w() need to split not only by mere 18222 spaces, but by all whitespaces. 18223 18224Thu Feb 10 02:12:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18225 18226 * string.c (rb_str_index_m): did not support negative offset. 18227 18228Wed Feb 9 21:54:26 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 18229 18230 * ext/socket/getaddrinfo.c: gcc --traditional support. 18231 Rearrange headers to work AC_C_CONST. 18232 * ext/socket/getnameinfo.c: ditto. 18233 * ext/socket/socket.c: mswin32: use double instead of long long. 18234 18235Wed Feb 9 16:30:41 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18236 18237 * numeric.c (num_coerce): should return [y, x]. 18238 18239Wed Feb 9 11:07:30 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18240 18241 * ruby.c (ruby_prog_init): loadpath structure changed. 18242 18243Tue Feb 8 02:07:33 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18244 18245 * regex.c (re_search): optimize for \G at top. 18246 18247 * regex.c (re_compile_pattern): \G introduced. 18248 18249 * regex.c (re_match): ditto. 18250 18251 * string.c (str_sub_bang): old behavior restored: bang method 18252 returns nil if string not changed. 18253 18254 * regex.c (re_compile_pattern): support independent subexpression 18255 `(?>pattern)'. 18256 18257 * regex.c (re_match): ditto. 18258 18259Mon Feb 7 15:51:08 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18260 18261 * regex.c (re_match): now understands interrupts under Ruby. 18262 18263Mon Feb 7 07:51:52 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18264 18265 * array.c (rb_ary_uniq_bang): always return an Array. 18266 18267 * array.c (rb_ary_compact_bang): ditto. 18268 18269 * array.c (rb_ary_flatten_bang): ditto. 18270 18271 * hash.c (rb_hash_reject): returns a Hash, not an Array. 18272 18273 * hash.c (env_reject): ditto. 18274 18275Fri Feb 4 10:20:25 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18276 18277 * string.c (scan_once): scan now leaves information about the last 18278 successful pattern match in $&. 18279 18280 * io.c (rb_io_close): should not check closed IO. 18281 18282Fri Feb 4 05:44:01 2000 Kentaro Inagaki <inagaki@tg.rim.or.jp> 18283 18284 * ext/socket/socket.c (s_recv): TRAP_BEG after retry entry. 18285 18286Wed Feb 2 22:33:45 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 18287 18288 * eval.c (rb_thread_start): receives argument from outside, like 18289 `Thread::start(1,2,3){|a,b,c| ... }'. 18290 18291Wed Feb 2 22:14:40 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18292 18293 * re.c (rb_reg_regsub): should check regs->num_regs. 18294 18295 * re.c (rb_reg_search): remove matchcache, use static struct 18296 re_register instead. 18297 18298 * re.c (match_getter): avoid cloning match data. 18299 18300Wed Feb 2 17:12:15 2000 Dave Thomas <Dave@Thomases.com> 18301 18302 * samples/eval.rb: Rescue new ScriptError exception 18303 18304Wed Feb 2 02:06:07 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18305 18306 * string.c (str_gsub_bang): gsub! now leaves information about the 18307 last successful pattern match in $&. 18308 18309Mon Jan 31 15:24:58 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18310 18311 * string.c (str_sub_bang): bang method returns string always. 18312 experimental. 18313 18314Sun Jan 30 17:58:09 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 18315 18316 * eval.c: arrange to use setitimer(2) for BOW, DJGPP 18317 18318 * defines.h: ditto. use random(3) on cygwin b20.1. 18319 18320Sun Jan 30 17:20:16 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 18321 18322 * eval.c: use getrlimit(2) on DJGPP. 18323 18324Thu Jan 27 01:27:10 2000 GOTO Kentaro <gotoken@math.sci.hokudai.ac.jp> 18325 18326 * dir.c (glob): glob pattern "/*" did not match. 18327 18328Wed Jan 26 22:30:47 2000 Shigeo Kobayashi <shigeo@tinyforest.gr.jp> 18329 18330 * numeric.c (flo_modulo): wrong result for negative modulo. 18331 18332Wed Jan 26 02:01:57 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18333 18334 * file.c (test_c): should use S_ISCHR. 18335 18336 * file.c (rb_stat_c): ditto. 18337 18338 * string.c (rb_str_each_line): should propagate tainting. 18339 18340Tue Jan 25 04:01:34 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18341 18342 * object.c (rb_obj_freeze): all objects made freezable. 18343 18344Tue Jan 25 00:37:01 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 18345 18346 * configure.in: use AC_CHECK_TOOL for cross compiling. 18347 18348Mon Jan 24 19:01:54 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 18349 18350 * array.c (rb_protect_inspect): should be checked by id of 18351 objects; not by object themselves. 18352 18353Mon Jan 24 18:48:08 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 18354 18355 * eval.c (rb_eval): too many warnings; warned on every method 18356 overriding. should be on method discarding. 18357 18358Mon Jan 24 02:56:44 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18359 18360 * parse.y (yylex): -2.abs should be `(-2).abs' to accomplish the 18361 principle of less surprise. `+2' too. 18362 18363 * eval.c (rb_eval): when defining class is already there, and 18364 superclass differ, throw away the old class. 18365 18366 * variable.c (rb_const_set): gives warning again on constant 18367 redefinition. 18368 18369 * error.c (Init_Exception): SyntaxError, NameError, LoadError and 18370 NotImplementError are subclasses of ScriptError<Exception, not 18371 StandardError. experimental. 18372 18373Sat Jan 22 00:00:41 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18374 18375 * parse.y (parse_quotedwords): no longer use `String#split'. 18376 and enable space escape within quoted word list. 18377 e.g. %w(a\ b\ c abc) => ["a b c", "abc"]. 18378 18379 * string.c (rb_str_slice_bang): new method `slice!'. 18380 18381Fri Jan 21 21:56:08 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 18382 18383 * lib/net/session.rb, smtp.rb, pop.rb, http.rb: 1.1.4. 18384 18385 * lib/net/http.rb: can receive messages which have 18386 no Content-Length:. 18387 18388Fri Jan 21 16:15:59 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18389 18390 * eval.c (thgroup_s_new): new class ThreadGroup. 18391 18392Tue Jan 18 12:24:28 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18393 18394 * struct.c (Init_Struct): remove Struct's own hash and eql?. 18395 18396Sat Jan 15 22:21:08 2000 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 18397 18398 * eval.c (search_method): argument klass may be 0. 18399 18400Sat Jan 15 15:03:46 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18401 18402 * enum.c (enum_index): remove this method. 18403 18404 * enum.c: remove use of pointers to local variables. find, 18405 find_all, min, max, index, member?, each_with_index, 18406 18407 * eval.c (massign): multiple assignment does not use to_a anymore. 18408 experimental. 18409 18410Fri Jan 14 12:22:04 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18411 18412 * string.c (rb_str_replace): use memmove instead of memcpy for 18413 overwrapping strings (e.g. a[1] = a). 18414 18415Thu Jan 13 11:12:40 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18416 18417 * parse.y (arg_add): use new node, ARGSPUSH. 18418 18419Mon Jan 10 18:32:28 2000 Koji Arai <JCA02266@nifty.ne.jp> 18420 18421 * marshal.c (w_object): forgot an argument to call w_ivar(). 18422 18423Sun Jan 9 18:13:51 2000 Katsuyuki Komatsu <komatsu@sarion.co.jp> 18424 18425 * random.c: first was not defined unless HAVE_RANDOM. 18426 18427Sat Jan 8 19:02:49 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18428 18429 * io.c (rb_io_sysread): raise IOError for buffered IO. 18430 18431 * ext/socket/socket.c (s_recv): ditto. 18432 18433Fri Jan 7 00:59:29 2000 Masahiro Tomita <tommy@tmtm.org> 18434 18435 * io.c (io_fread): TRAP_BEG/TRAP_END added around getc(). 18436 18437Thu Jan 6 00:39:54 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18438 18439 * random.c (rb_f_rand): should be initialized unless srand is 18440 called before. 18441 18442Wed Jan 5 16:59:34 2000 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 18443 18444 * lib/net/session.rb, smtp.rb, pop.rb, http.rb: 1.1.3. 18445 18446 * lib/net/session.rb: Session -> Protocol, ... 18447 18448 * lib/net/http.rb: HTTPCommand implementation was changed. 18449 18450Wed Jan 5 02:14:46 2000 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 18451 18452 * parse.y: Fix SEGV on empty parens with UMINUS or UPLUS. 18453 18454Tue Jan 4 22:25:54 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18455 18456 * parse.y (stmt): `() while cond' dumped core. 18457 18458Tue Jan 4 06:04:14 2000 WATANABE Hirofumi <eban@os.rim.or.jp> 18459 18460 * configure.in: modify for cross-compiling. 18461 use target_* instead of host_*. 18462 use AC_CANONICAL_TARGET. 18463 18464 * Makefile.in: ditto. 18465 18466 * cygwin/GNUmakefile.in: ditto. 18467 18468Sat Jan 1 13:26:14 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18469 18470 * eval.c (rb_yield_0): force_recycle ruby_dyna_vars to gain 18471 performance. 18472 18473 * array.c (rb_ary_delete_at_m): takes same argument pattern with 18474 rb_ary_aref. 18475 18476Sat Jan 1 10:12:26 2000 Nobuyoshi Nakada <nobu.nokada@softhome.net> 18477 18478 * ruby.h,util.c (rb_special_const_p): peep hole optimization. 18479 18480 * ruby.h,util.c (rb_test_false_or_nil): removed. 18481 18482 * ruby.h (RTEST, SPECIAL_CONST_P): peep hole optimization. 18483 18484 * ruby.h (FL_ABLE, FL_SET, FL_UNSET, FL_REVERSE): made expressions 18485 not statements. 18486 18487 * ruby.h (OBJ_INFECT): newly added macro which copies taint from 18488 `s' to `x'. 18489 18490Sat Jan 1 02:04:18 2000 Yukihiro Matsumoto <matz@netlab.co.jp> 18491 18492 * eval.c (rb_thread_safe_level): new method. 18493 18494 * eval.c (rb_yield_0): recycle dyna_var_map to reduce object 18495 allocation. 18496 18497Fri Dec 31 00:52:48 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18498 18499 * eval.c: thread independent trace_func not needed. 18500 18501Thu Dec 30 14:47:31 1999 akira yamada <akira@ruby-lang.org> 18502 18503 * configure.in: specifies -soname in LIBRUBY_DLDFLAGS on linux 18504 platforms. 18505 18506Thu Dec 30 10:51:27 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18507 18508 * array.c,io.c,hash,c,re.c,string.c: `_m' suffix instead of 18509 `_method' for wrapper functions to implement method, 18510 e.g. `rb_str_join_m()'. 18511 18512Thu Dec 30 02:08:02 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18513 18514 * bignum.c (rb_cstr2inum): non-numeric format check added. 18515 currently it works only with base == 0 (i.e. Integer()). 18516 18517 * bignum.c (rb_str2inum): now takes VALUE to 1st argument. null 18518 byte check added. 18519 18520 * array.c (rb_ary_replace): unless replacement is an array, 18521 replacement shall be converted to array by `[replacement]', not 18522 by `replacement.to_a'. 18523 18524 * array.c (rb_ary_plus): right operand must be an array. 18525 18526 * array.c (rb_ary_concat): argument must be an array. 18527 18528Mon Dec 27 12:35:47 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp> 18529 18530 * ext/socket/socket.c (sock_finalize): mswin32: fix socket handle leak. 18531 18532 * win32/win32.c (myfdclose): ditto. 18533 18534Sun Dec 26 23:15:13 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp> 18535 18536 * win32/win32.c (mypopen): raise catchable error instead of rb_fatal. 18537 * win32/win32.c (mypclose): fix process handle leak. 18538 18539Sun Dec 26 16:17:11 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp> 18540 18541 * ext/Win32API/Win32API.c (Win32API_initialize): use UINT2NUM 18542 instead of INT2NUM to set __dll__ and __proc__. 18543 18544Sat Dec 25 00:08:59 1999 KANEKO Naoshi <wbs01621@mail.wbs.ne.jp> 18545 18546 * ext/Win32API/Win32API.c (Win32API_Call): remove 'dword ptr' 18547 from _asm. 18548 18549Fri Dec 24 10:26:47 1999 Koji Oda <oda@bsd1.qnes.nec.co.jp> 18550 18551 * win32/win32.h: use "C++" linkage. 18552 18553Fri Dec 24 02:00:57 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18554 18555 * eval.c (THREAD_ALLOC): should initialize th->trace. 18556 18557Fri Dec 24 00:43:39 1999 KANEKO Naoshi <wbs01621@mail.wbs.ne.jp> 18558 18559 * io.c (pipe_open): check for `fptr->f == NULL'. 18560 * win32/win32.c (mypopen): STDERR does not work during ` function. 18561 18562Wed Dec 22 22:50:40 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 18563 18564 * lib/net/session.rb, smtp.rb, pop.rb, http.rb: 1.1.2. 18565 18566 * lib/net/http.rb: HTTP support is enhanced a little 18567 18568 * lib/net/http.rb: support proxy 18569 18570Tue Dec 21 17:21:28 1999 Koji Oda <oda@bsd1.qnes.nec.co.jp> 18571 18572 * ext/socket/socket.c (sock_finalize): mswin32: fix FILE* leak. 18573 18574Tue Dec 21 05:33:56 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 18575 18576 * lib/net/session.rb, smtp.rb, pop.rb, http.rb: 1.1.1. 18577 18578 * lib/net/http.rb: support HTTP chunk 18579 18580Mon Dec 20 19:08:12 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 18581 18582 * file.c (rb_file_s_expand_path): handle dir separator correctly. 18583 18584Sun Dec 19 22:56:31 1999 KANEKO Naoshi <wbs01621@mail.wbs.ne.jp> 18585 18586 * lib/find.rb: support dosish root directory. 18587 * win32/Makefile: ditto. 18588 * win32/config.status: ditto. 18589 * win32/win32.c (opendir): ditto. 18590 * win32/win32.c (opendir): use CharPrev() to get last character 18591 of the directory name. 18592 18593Sat Dec 18 03:00:01 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18594 18595 * file.c (path_check_1): check should be done by absolute path. 18596 18597 * marshal.c (r_ivar): should restore generic_ivar too. 18598 18599 * marshal.c (w_ivar): should dump generic_ivar too. 18600 18601Fri Dec 17 22:46:46 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 18602 18603 * lib/net/session.rb, smtp.rb, pop.rb, http.rb: 1.1.0. 18604 18605 * lib/net/http.rb: test release 18606 18607 * lib/net/session.rb: support class swapping 18608 18609 * lib/net/session.rb: Socket#flush_rbuf 18610 18611 * lib/net/session.rb: doquote -> Net.quote 18612 18613Fri Dec 17 19:27:43 1999 IWAMURO Motonori <iwa@mmp.fujitsu.co.jp> 18614 18615 * eval.c (rb_load): should initialize ruby_frame->last_class. 18616 18617Wed Dec 15 01:35:29 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18618 18619 * ruby.c (proc_options): option to change directory changed to 18620 `-C' like tar. 18621 18622 * ruby.c (proc_options): argv boundary check for `-X'. 18623 18624Mon Dec 13 15:15:31 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18625 18626 * regex.c (re_adjust_startpos): separate startpos adjustment 18627 because of major performance drawback. 18628 18629 * class.c (rb_singleton_class): tainted status of the singleton 18630 class must be synchronized with the object. 18631 18632 * eval.c (rb_thread_schedule): implement thread priority. 18633 18634Sat Dec 11 03:34:38 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18635 18636 * gc.c (mark_hashentry): key should be VALUE, not ID. 18637 18638 * io.c (argf_eof): should check next_p too. 18639 18640Thu Dec 9 18:09:13 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 18641 18642 * error.c (exc_set_backtrace): forgot to declare a VALUE argument. 18643 18644Thu Dec 9 14:19:31 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18645 18646 * object.c (rb_obj_taint): explicit tainting must be prohibited at 18647 level 4 to prevent polluting trusted object by untrusted code. 18648 18649 * file.c: file operations (stat, lstat, chmod, chown, umask, 18650 truncate, flock) are prohibited in level 2 (was level 4). 18651 18652Wed Dec 8 11:48:23 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18653 18654 * eval.c (rb_f_require): prohibiting require() in the secure mode 18655 cause serious autoloading error. 18656 18657 * variable.c (rb_obj_instance_variables): don't need to prohibit 18658 to get list of instance variable names of untainted objects. 18659 18660 * variable.c (rb_ivar_get): don't need to prohibit to get instance 18661 variables of untainted objects. 18662 18663 * variable.c (rb_mod_remove_const): should prohibit constant 18664 removals too. 18665 18666Wed Dec 8 09:23:01 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18667 18668 * eval.c (rb_eval): should try autoloading before defining 18669 class/module at the toplevel. 18670 18671Tue Dec 7 22:15:30 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 18672 18673 * configure.in: Modified rb_cv_rshift_sign detect routine and 18674 more simple/fast RSHIFT() for hpux-10.x. 18675 18676Tue Dec 7 11:16:30 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18677 18678 * eval.c (Init_eval): calculate stack limit from rlimit where 18679 getrlimit(2) is available. 18680 18681Tue Dec 7 09:57:33 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp> 18682 18683 * file.c (rb_file_ftype): should have removed mode_t. 18684 18685Mon Dec 6 15:55:30 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 18686 18687 * numeric.c (fix_rshift): Fix -1 >> 32 returned 0 (should be -1). 18688 18689 * numeric.c (fix_rshift): Fix 1 >> -1 returned 0 (should be 2). 18690 18691Mon Dec 6 11:47:23 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18692 18693 * sprintf.c (rb_f_sprintf): formatted string must be tainted if 18694 any of parameters is a tainted string. 18695 18696 * file.c (rb_file_s_expand_path): expanded file path need not to 18697 be tainted always. 18698 18699Sun Dec 5 20:25:29 1999 Katsuhiro Ueno <unnie@blue.sky.or.jp> 18700 18701 * eval.c (Init_Proc): simple typo. 18702 18703 * gc.c (add_heap): sizeof(RVALUE*), not sizeof(RVALUE). 18704 18705Sat Dec 4 01:40:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18706 18707 * regex.c (re_search): adjust startpos for multibyte match unless 18708 the first pattern is forced byte match. 18709 18710 * bignum.c (rb_big_rand): should not use rand/random where drand48 18711 may be available. RANDOM_NUMBER should be provided from outside. 18712 18713Fri Dec 3 09:54:59 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18714 18715 * ruby.c (moreswitches): there may be trailing garbage at #! 18716 line. 18717 18718 * eval.c (rb_f_require): should check require 'feature.o' too. 18719 18720Thu Dec 2 11:58:15 1999 Koji Arai <JCA02266@nifty.ne.jp> 18721 18722 * eval.c (rb_thread_loading): should maintain loading_tbl. 18723 18724Thu Dec 2 10:21:43 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18725 18726 * eval.c (rb_thread_loading_done): wrong parameter to st_delete(). 18727 18728Wed Dec 1 11:24:06 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 18729 18730 * ruby.c (process_sflag): process -s properly (should not force `--'). 18731 18732Wed Dec 1 09:47:33 1999 Kazunori NISHI <kazunori@swlab.csce.kyushu-u.ac.jp> 18733 18734 * string.c (rb_str_split_method): should increment end too. 18735 18736Tue Nov 30 18:00:45 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18737 18738 * marshal.c: MARSHAL_MINOR incremented; format version is 4.2. 18739 18740 * marshal.c (w_object): distinguish class and module. 18741 18742 * marshal.c (w_object): save hash's default value. 18743 18744 * marshal.c (r_object): restore hash's default value. 18745 18746Tue Nov 30 01:46:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18747 18748 * re.c (rb_reg_source): generated source string must be tainted if 18749 regex is tainted. 18750 18751 * file.c (rb_file_s_basename): basename should not be tainted 18752 unless the original path is tainted. 18753 18754 * file.c (rb_file_s_dirname): ditto. 18755 18756Mon Nov 29 20:42:13 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 18757 18758 * file.c (stat_new): Struct::Stat -> File::Stat; Stat is no longer 18759 a Struct. 18760 18761Mon Nov 29 15:28:52 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18762 18763 * variable.c (rb_path2class): evaluated value from path should be 18764 module or class. 18765 18766Fri Nov 26 18:12:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18767 18768 * eval.c (rb_exec_end_proc): should remove only end_procs defined 18769 within load wrapper. 18770 18771 * eval.c (rb_load): save and restore ruby_wrapper around loading. 18772 18773 * eval.c (rb_mark_end_proc): mark end procs registered by END{} or 18774 at_exit{}. 18775 18776 * eval.c (rb_set_end_proc): should not call rb_global_variable() 18777 on heap address; it crashed mod_ruby. 18778 18779Mon Nov 22 14:07:24 1999 Koji Arai <JCA02266@nifty.ne.jp> 18780 18781 * ruby.c (proc_options): variable e_script should be visited by 18782 garbage collector. 18783 18784Sat Nov 20 10:10:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18785 18786 * hash.c (inspect_i): value may be nil, check revised. 18787 18788Fri Nov 19 18:06:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18789 18790 * dir.c (glob): recursive wildcard match by `**' ala zsh. 18791 18792Fri Nov 19 11:44:26 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 18793 18794 * variable.c: was returning void value. 18795 18796Fri Nov 19 03:57:22 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 18797 18798 * file.c: add methods Stat struct class to reduce stat(2). 18799 18800Thu Nov 18 16:18:27 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18801 18802 * lib/pstore.rb: mutual lock by flock(2). 18803 18804Thu Nov 18 11:44:13 1999 Masahiro Tomita <tommy@tmtm.org> 18805 18806 * io.c (read_all): should check bytes too. 18807 18808Wed Nov 17 02:40:40 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18809 18810 * io.c (Init_IO): $defout (alias of $>) added. 18811 18812Tue Nov 16 09:47:14 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18813 18814 * lib/pstore.rb: add mutual lock using symlink. 18815 18816Mon Nov 15 16:50:34 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18817 18818 * enum.c (enum_grep): non matching grep returns an empty array, no 18819 longer returns nil. 18820 18821 * enum.c (enum_grep): grep with block returns collection of 18822 evaluated values of block over matched elements. 18823 18824Mon Nov 15 04:50:33 1999 Koji Arai <JCA02266@nifty.ne.jp> 18825 18826 * re.c (rb_reg_source): should not call rb_reg_expr_str() 18827 everytime. 18828 18829Sat Nov 13 07:34:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18830 18831 * variable.c (rb_mod_constants): traverse superclasses to collect 18832 constants. 18833 18834 * eval.c (assign): modified for shared variables. 18835 18836 * eval.c (rb_eval): search nested scope, then superclasses to 18837 assign shared variables within methods. 18838 18839 * eval.c (rb_eval): remove warnings from constants modification, 18840 because they are no longer constants. 18841 18842 * parse.y (node_assign): modified for shared variables. 18843 18844 * parse.y (assignable): allow constant assignment in methods; 18845 constants should be called `shared variable'. 18846 18847Fri Nov 12 23:52:19 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp> 18848 18849 * process.c (rb_f_system): argument check for NT, __EMX__, DJGPP. 18850 18851Wed Nov 10 21:54:11 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 18852 18853 * hash.c (rb_any_cmp): Fixed return without value. 18854 18855Wed Nov 10 17:57:06 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18856 18857 * sprintf.c: incorporate <yasuf@big.or.jp>'s sprintf patch at 18858 [ruby-dev:7754]. 18859 18860Wed Nov 10 08:28:53 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18861 18862 * eval.c (rb_call0): supply class parameter for each invocation. 18863 18864Tue Nov 9 13:21:04 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 18865 18866 * configure.in: AC_MINIX move to before AC_EXEEXT and AC_OBJEXT. 18867 18868Mon Nov 8 19:52:29 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 18869 18870 * configure.in: Renamed AC_CHAR_UNSIGNED to AC_C_CHAR_UNSIGNED. 18871 18872 * configure.in: Added default to AC_CHECK_SIZEOF(). 18873 18874Mon Nov 8 14:28:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18875 18876 * parse.y (stmt): rescue modifier added to the syntax. 18877 18878 * keywords: kRESCUE_MOD added. 18879 18880 * eval.c (rb_f_eval): fake outer scope when eval() called without 18881 bindings. 18882 18883 * eval.c (rb_f_binding): should copy last_class in the outer frame too. 18884 18885Sun Nov 7 18:31:04 1999 Yasuhiro Fukuma <yasuf@big.or.jp> 18886 18887 * eval.c (is_defined): last_class may be 0. 18888 18889Sat Nov 6 19:26:55 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 18890 18891 * Makefile.in: Added depend entry make parse.@OBJEXT@ from parse.c 18892 for UCB make 18893 18894Thu Nov 4 17:41:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18895 18896 * regex.c (re_compile_pattern): \< (wordbeg), \> (wordend) disabled. 18897 18898Wed Nov 3 08:52:57 1999 Masaki Fukushima <fukusima@goto.info.waseda.ac.jp> 18899 18900 * io.c (Init_IO): forgot to use INT2FIX() around SEEK_SET, etc. 18901 18902Wed Nov 3 00:25:20 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18903 18904 * string.c (rb_str_split_method): use mbclen2() to handle kcode 18905 option of regexp objects. 18906 18907Mon Nov 1 14:22:15 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 18908 18909 * eval.c (rb_eval): reduce recursive calls to rb_eval() 18910 case of ||= and &&= . 18911 18912Sun Oct 31 13:12:42 1999 WATANABE Hirofumi <eban@os.rim.or.jp> 18913 18914 * regex.c (re_compile_pattern): wrong [\W] match. 18915 18916Fri Oct 29 16:57:30 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18917 18918 * ext/nkf/lib/kconv.rb: new String methods (kconv, tojis, toeuc, 18919 tosjis). 18920 18921 * time.c (time_s_at): now accepts optional second argument to 18922 specify micro second. 18923 18924Thu Oct 28 13:35:40 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18925 18926 * string.c (rb_str_split_method): should be mbchar aware with 18927 single char separators. 18928 18929Wed Oct 27 12:57:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18930 18931 * random.c (rb_f_srand): random seed should be unsigned. 18932 18933Tue Oct 26 23:58:15 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18934 18935 * array.c (rb_ary_collect): collect for better performance. 18936 18937Tue Oct 26 19:20:54 1999 Koji Arai <JCA02266@nifty.ne.jp> 18938 18939 * marshal.c (r_object): should register class/module objects. 18940 18941Sat Oct 23 15:59:39 1999 Takaaki Tateishi <ttate@jaist.ac.jp> 18942 18943 * process.c (rb_f_system): should require at least one argument. 18944 18945Sat Oct 23 12:42:44 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 18946 18947 * enum.c (enum_collect): collect without block will collect 18948 elements in enumerable. 18949 18950Thu Oct 21 16:14:19 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18951 18952 * ruby.c (moreswitches): function to process string option; 18953 the name is stolen from perl (not implementation). 18954 18955 * ruby.c (proc_options): use RUBYOPT environment variable to 18956 retrieve the default options. 18957 18958 * dir.c (fnmatch): use eban's fnmatch; do not depend on system's 18959 fnmatch (which may have portability problem) anymore. 18960 18961Wed Oct 20 15:14:24 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18962 18963 * marshal.c (marshal_load): should protect the generated object 18964 table (arg->data) from GC. 18965 18966Mon Oct 18 16:15:52 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18967 18968 * ext/nkf/nkf.c (rb_nkf_kconv): output should be NUL terminated. 18969 18970Mon Oct 18 09:03:01 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 18971 18972 * lib/net/session.rb, smtp.rb, pop.rb: 1.0.3 18973 18974 * lib/net/pop.rb: new methods POP3Command#uidl, POPMail#uidl. 18975 18976Sun Oct 17 03:35:33 1999 Masaki Fukushima <fukusima@goto.info.waseda.ac.jp> 18977 18978 * array.c (rb_ary_pop): forgot some freeze checks. 18979 18980Sat Oct 16 12:57:53 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 18981 18982 * array.c (rb_ary_sort): always returns the copied array. 18983 18984Fri Oct 15 22:50:41 1999 WATANABE Hirofumi <eban@os.rim.or.jp> 18985 18986 * error.c (sys_nerr): on CYGWIN, it is _sys_nerr. 18987 18988Fri Oct 15 01:32:31 1999 WATANABE Hirofumi <eban@os.rim.or.jp> 18989 18990 * io.c (rb_io_ctl) :need to use NUM2ULONG, not NUM2INT. 18991 18992 * ext/Win32API/Win32API.c (Win32API_Call): need to use NUM2ULONG, 18993 not NUM2INT. 18994 18995Fri Oct 15 00:22:30 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 18996 18997 * re.c (Init_Regexp): super class of the MatchingData, which was 18998 Data, to be Object. 18999 19000 * eval.c (ruby_run): evaluate required libraries before load & 19001 compiling the script. 19002 19003 * parse.y (lex_getline): retrieve a line from the stream, saving 19004 lines in the table in debug mode. 19005 19006 * eval.c (call_trace_func): treat the case ruby_sourcefile is null. 19007 19008Thu Oct 14 02:00:10 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19009 19010 * parse.y (string): compile time string concatenation. 19011 19012Wed Oct 13 07:28:09 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 19013 19014 * lib/net/session.rb, smtp.rb, pop.rb: 1.0.2 19015 19016 * lib/net/session.rb: new method Session#set_pipe. 19017 19018 * lib/net/session.rb, smtp.rb, pop.rb: add RD documentation. 19019 19020Wed Oct 13 02:17:05 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 19021 19022 * array.c (rb_ary_plus): remove recursion. 19023 19024 * array.c (rb_ary_sort_bang): detect modify attempt. 19025 19026Wed Oct 13 02:17:05 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19027 19028 * eval.c (block_pass): should copy block to prevent modifications. 19029 tag in the structure should be updated from latest prot_tag. 19030 19031 * eval.c (proc_s_new): tag in struct BLOCK should not point into 19032 unused stack. 19033 19034 * dir.c (dir_s_glob): iterate over generated matching filenames if 19035 the block is given to the method. 19036 19037 * array.c (rb_ary_at): new methods; at, first, last. 19038 19039 * hash.c (rb_hash_fetch): raises exception unless the default 19040 value is supplied. 19041 19042 * hash.c (rb_hash_s_create): need not remove nil from value. 19043 19044 * hash.c (rb_hash_aset): setting value to nil does not remove key 19045 anymore. 19046 19047Tue Oct 12 22:29:04 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19048 19049 * io.c (io_read): length may be 0 or negative. 19050 19051Tue Oct 12 13:26:27 1999 Jun-ichiro itojun Hagino <itojun@itojun.org> 19052 19053 * signal.c (posix_signal): RETSIGTYPE may be void. 19054 19055Tue Oct 12 03:28:03 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 19056 19057 * array.c (rb_ary_delete_at): allows negative position. 19058 19059Mon Oct 11 17:42:25 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 19060 19061 * parse.y (rb_intern): should generate distinct ID_ATTRSET symbols 19062 for the name with multiple `='s at the end. 19063 19064 * Makefile.in (CPPFLAGS): separate cpp flags from CFLAGS. 19065 19066Mon Oct 11 07:27:05 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19067 19068 * eval.c (rb_eval): should not execute the `else' clause on the 19069 case the exceptions are handled by the `rescue' clause. 19070 19071 * signal.c (Init_signal): ignore SIGPIPE by default. 19072 19073Wed Oct 6 17:13:19 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 19074 19075 * ruby.c (addpath): rubylib_mangled_path() modified. 19076 19077Mon Oct 4 12:42:32 1999 Kazuhiko Izawa <izawa@erec.che.tohoku.ac.jp> 19078 19079 * pack.c (pack_unpack): % in printf format should be %%. 19080 19081Mon Oct 4 10:01:40 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19082 19083 * variable.c (rb_obj_instance_variables): should always return 19084 array for all object can have instance variables now. 19085 19086Mon Oct 4 00:08:34 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19087 19088 * pack.c (OFF16): need to adjust pointer address to pack/unpack on 19089 64bit machines. 19090 19091Sun Oct 3 03:05:59 1999 WATANABE Hirofumi <eban@os.rim.or.jp> 19092 19093 * time.c (time_arg): mktime y2k problem. 19094 19095Sun Sep 26 16:54:45 1999 WATANABE Hirofumi <eban@os.rim.or.jp> 19096 19097 * parse.y (here_document): `\r' handling for here documents. 19098 19099Wed Sep 22 09:20:11 1999 Masahiro Tomita <tommy@tmtm.org> 19100 19101 * ext/socket/socket.c: SOCKS5 support. 19102 19103Wed Sep 22 07:33:23 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 19104 19105 * lib/net/session.rb, smtp.rb, pop.rb: 1.0.1 19106 19107 * lib/net/pop.rb: APOP did not work. 19108 19109 * lib/net/pop.rb: modify the way to make APOP challenge. 19110 19111Wed Sep 22 00:35:30 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19112 19113 * string.c (rb_str_include): should return boolean value. 19114 19115 * regex.c (re_compile_fastmap): wrong comparison with mbc. 19116 19117 * eval.c (specific_eval): default sourcefile name should be 19118 "(eval)" for module_eval etc. 19119 19120Wed Sep 22 00:06:07 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp> 19121 19122 * win32/Makefile: update rules. 19123 19124 * io.c (io_fread): should not assign in char, it maybe -1. 19125 19126Tue Sep 21 23:57:54 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19127 19128 * eval.c (call_trace_func): should not propagate retval in 19129 trace_func. 19130 19131Mon Sep 20 21:35:39 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp> 19132 19133 * win32/win32.c (myselect): assume non socket files are always 19134 readable/writable. 19135 19136Mon Sep 20 01:08:02 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19137 19138 * io.c (io_fread): should not block other threads. 19139 19140 * io.c (rb_io_synchronized): renamed from rb_io_unbuffered(); do 19141 not call setbuf(NULL) anymore. 19142 19143Sat Sep 18 13:45:43 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19144 19145 * stable version 1.4.2 released. 19146 19147Fri Sep 17 23:24:17 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp> 19148 19149 * eval.c (rb_f_missing): dumped core if no argument given. 19150 19151Fri Sep 17 23:21:06 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp> 19152 19153 * win32/win32.c (myselect): translate WSAEINTR, WSAENOTSOCK into 19154 UNIX errno constants. 19155 19156Fri Sep 17 00:52:27 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19157 19158 * parse.y (arg): assignable() may return 0. 19159 19160Thu Sep 16 20:46:23 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 19161 19162 * eval.c (rb_eval): was doubly evaluating the return expression. 19163 19164Thu Sep 16 18:40:08 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19165 19166 * stable version 1.4.1 released. 19167 19168Thu Sep 16 11:33:22 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 19169 19170 * string.c (rb_str_match): should return nil. 19171 19172Wed Sep 15 22:46:37 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19173 19174 * re.c (rb_reg_s_quote): should quote `-' too. 19175 19176Tue Sep 14 15:23:22 1999 Nobuyoshi Nakada <nobu.nakada@nifty.ne.jp> 19177 19178 * parse.y (yylex): no need to ignore `\r' here. 19179 19180 * parse.y (nextc): strip `\r' from text. 19181 19182 * parse.y (nextc): support `__END__\r\n' type terminator. 19183 19184Mon Sep 13 10:49:19 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 19185 19186 * eval.c (rb_eval): needless RTEST(ruby_verbose) removed. 19187 19188Mon Sep 13 09:10:11 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 19189 19190 * lib/net/session.rb, smtp.rb, pop.rb: 1.0.0 19191 19192Wed Sep 8 11:37:38 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp> 19193 19194 * time.c (make_time_t): bit more strict comparison. 19195 19196Tue Sep 7 00:50:56 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19197 19198 * range.c (range_each): use rb_str_upto() for strings. 19199 19200 * string.c (rb_str_upto): set upper limit by comparing curr <= end. 19201 19202 * range.c (range_each): should check equality to handle magic 19203 increment. 19204 19205Mon Sep 6 22:43:33 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19206 19207 * eval.c (rb_eval): break/next/redo available within -n/-p loop. 19208 19209Fri Sep 3 11:14:31 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19210 19211 * compar.c (cmp_equal): should not raise exception; protect by 19212 rb_rescue(). 19213 19214Thu Sep 2 05:23:05 1999 WATANABE Hirofumi <eban@os.rim.or.jp> 19215 19216 * file.c (rb_file_s_expand_path): use dirsep, instead of character 19217 literal '/'. 19218 19219 * file.c (rb_file_s_expand_path): reduce multiple dirsep at the top. 19220 19221Wed Sep 1 00:28:27 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19222 19223 * eval.c (rb_call): call rb_undefined() if a method appears not to 19224 be exist explicitly from cache. 19225 19226 * eval.c (rb_method_boundp): check method cache before calling 19227 rb_get_method_body(). 19228 19229 * eval.c (rb_get_method_body): store method non-existence 19230 information in the cache. 19231 19232 * random.c (rb_f_srand): use getpid(2) to generate seed. 19233 19234 * regex.c (re_match): do not apply partial mbc match for 19235 charset_not. 19236 19237 * regex.c (re_compile_pattern): put extended literal prefix (0xff) 19238 only before numeric literals, not before all >0x80 char. 19239 19240 * regex.c (re_compile_pattern): put numeric literal in extended 19241 charset region, not normal charset bits. 19242 19243 * regex.c (re_compile_fastmap): calculate fastmap for charset and 19244 charset_not to treat numeric literal (e.g. \246) specially. 19245 19246Fri Aug 28 17:32:55 1999 Yasuhiro Fukuma <yasuf@big.or.jp> 19247 19248 * eval.c (rb_eval): should set return value (nil) explicitly if a 19249 value is omitted for return statement. 19250 19251Sun Aug 26 20:26:40 2001 Koji Arai <JCA02266@nifty.ne.jp> 19252 19253 * ext/readline/readline.c: restore terminal mode 19254 even if readline() interrupted. 19255 19256 * ext/readline/readline.c: returned string need to 19257 be tainted. 19258 19259 * ext/readline/readline.c: fixed memory leak. 19260 19261 * ext/readline/readline.c: allow negative index. 19262 19263 * ext/readline/readline.c: added Readline::HISTORY.size 19264 same as Readline::HISTORY.length 19265 19266 * ext/readline/readline.c: allow conditional parsing 19267 of the ~/.inputrc file by `$if Ruby'. 19268 19269 * ext/readline/extconf.rb: check whether the 19270 libreadline has the variable `rl_completion_append_character' 19271 (this feature was implemented from GNU readline 2.1). 19272 19273Thu Aug 26 15:06:11 1999 Masaki Fukushima <fukusima@goto.info.waseda.ac.jp> 19274 19275 * gc.c (rb_gc): local variables may be placed beyond stack_end, so 19276 use an address from alloca(1) on non C_ALLOCA platforms. 19277 19278Thu Aug 26 01:24:17 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19279 19280 * sprintf.c (rb_f_sprintf): "%%" is legal, but "%3.14%" is not. 19281 19282Mon Aug 23 00:00:54 1999 Tsukada Takuya <tsukada@fminn.nagano.nagano.jp> 19283 19284 * regex.c (re_compile_fastmap): wrong macro caused memory leak. 19285 19286Sat Aug 21 11:30:51 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19287 19288 * eval.c (ADJ): should not adjust addresses to data on heap. 19289 19290Fri Aug 20 20:50:58 1999 Kenji Nagasawa <kenn@hma.att.ne.jp> 19291 19292 * defines.h (PATH_SEP): path separator is ";" for OS/2. 19293 19294Thu Aug 19 10:50:43 1999 WATANABE Tetsuya <tetsu@jpn.hp.com> 19295 19296 * gc.c (rb_gc): add volatile to avoid GCC optimize bug(?). 19297 19298Wed Aug 18 23:48:10 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19299 19300 * due to disk trouble, some change records were lost. several 19301 modification made to eval.c, gc.c, io.c, pack.c, 19302 ext/extmk.rb.in, and lib/mkmf.rb. 19303 19304Fri Aug 13 15:41:39 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19305 19306 * stable version 1.4.0 released. 19307 19308Fri Aug 13 03:16:07 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19309 19310 * io.c (argf_forward): since $stdout may be non-IO, ARGF.file is 19311 not guaranteed to be IO. check and forwarding added to every ARGF 19312 method. 19313 19314 * io.c (set_outfile): $stdout/$stderr may not be IO now. 19315 19316 * io.c (set_stdin): $stdin may not be IO now. 19317 19318 * range.c (rb_range_beg_len): round `end' to length as documented. 19319 19320 * io.c (Init_IO): preserve original stdin/stdout/stderr. 19321 19322Thu Aug 12 13:44:33 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19323 19324 * eval.c (Init_load): require receives 1 argument. 19325 19326 * eval.c (frame_dup): should clear tmp to avoid dangling 19327 references. 19328 19329Wed Aug 11 13:33:13 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp> 19330 19331 * eval.c (rb_eval): no automatic aggregate initialization. 19332 19333 * eval.c (module_setup): ditto. 19334 19335Wed Aug 11 18:18:41 1999 WATANABE Tetsuya <tetsu@jpn.hp.com> 19336 19337 * eval.c (yield_under_i): automatic aggregate initialization is an 19338 ANSI feature. 19339 19340Wed Aug 11 10:10:02 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19341 19342 * parse.y (yylex): parse `[].length==0' as `([].length)==0', not 19343 `([].length=)=0' 19344 19345 * parse.y (yylex): parse `[].length!=0' as `([].length)!=0', not 19346 `([].length!)=0' 19347 19348 * parse.y (peek): peek-in lexical buffer. 19349 19350Wed Aug 11 00:34:05 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19351 19352 * regex.c (re_match): bug on backward jump adjustment concerning 19353 stop_paren. 19354 19355Tue Aug 10 14:54:25 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19356 19357 * ext/nkf/nkf.c (rb_nkf_guess): binary detection was wrong. 19358 19359Tue Aug 10 00:07:36 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19360 19361 * io.c (rb_io_clone): should use CLONESETUP(). 19362 19363Mon Aug 9 23:57:07 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19364 19365 * ruby.h (CLONESETUP): should have copied generic instance 19366 variables too. 19367 19368Mon Aug 9 10:46:54 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp> 19369 19370 * ext/socket/extconf.rb: add check for <arpa/nameser.h> and 19371 <resolv.h>. 19372 19373Sat Aug 7 13:19:06 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 19374 19375 * numeric.c (flo_cmp): comparing NaN should not return value. 19376 raises FloatDomainError. 19377 19378Sat Aug 7 03:09:08 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19379 19380 * eval.c (blk_free): free copied frames too. 19381 19382 * eval.c (frame_dup): should copy previous frames from stack to 19383 heap to preserve frame information. 19384 19385Fri Aug 6 15:01:07 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19386 19387 * version 1.3.7 - version 1.4 beta 19388 19389 * ext/socket/socket.c (s_recv): UDPsocket#recvfrom now returns 19390 IPsocket#addr information. 19391 19392 * array.c (rb_ary_subary): ary[-3,3] should not return nil. 19393 19394Thu Aug 5 10:58:01 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19395 19396 * eval.c (thread_mark): protect old ruby_frame from GC during it 19397 replaced by eval(). 19398 19399 * eval.c (eval): do not modify frame.prev; binding should preserve 19400 information about calling() too. 19401 19402 * eval.c (rb_yield_0): no arity check for mere yield; but only for 19403 Proc#call. 19404 19405Tue Aug 3 22:07:13 1999 Kazuhiro HIWADA <hiwada@kuee.kyoto-u.ac.jp> 19406 19407 * object.c (rb_mod_clone): should check if iv_tbl, m_tbl are 19408 initialized. 19409 19410Tue Aug 3 19:03:02 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19411 19412 * hash.c (rb_any_cmp): use rb_with_disable_interrupt() to ensure 19413 clearance of rb_prohibit_interrupt even on failure. 19414 19415 * eval.c (rb_with_disable_interrupt): new function added. 19416 19417Sat Jul 31 23:23:44 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19418 19419 * eval.c (rb_thread_create_0): set THREAD_RAISED flag on thread 19420 termination by exception. 19421 19422 * eval.c (rb_thread_join): `$!' may not be nil for the threads 19423 created in rescue clause. 19424 19425 * eval.c (rb_thread_status): ditto. 19426 19427 * eval.c (rb_thread_join): should re-raise exception for already 19428 dead threads too. 19429 19430Fri Jul 30 17:56:54 1999 GOTO Kentaro <gotoken@math.sci.hokudai.ac.jp> 19431 19432 * object.c (rb_mod_ge): wrong comparison. 19433 19434Fri Jul 30 12:15:44 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp> 19435 19436 * ext/tcltklib/extconf.rb: win32 support. 19437 19438 * lib/mkmf.rb: use append_library(). 19439 19440 * ext/extmk.rb.in: ditto. 19441 19442Fri Jul 30 02:11:48 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19443 19444 * array.c (rb_ary_delete): should return nil for deleting non 19445 existing item. 19446 19447 * io.c (rb_io_close): call rb_sys_wait() on explicit close. 19448 19449 * io.c (rb_io_fptr_close): do not call rb_sys_wait() on finalize. 19450 19451 * eval.c (yield_under_i): cbase context should be maintained for 19452 Module#module_eval(). suggested by <inaba@st.rim.or.jp>. 19453 19454Wed Jul 28 01:18:28 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 19455 19456 * Makefile.in: add -I$(hdrdir)/lib to install using ftools. 19457 19458 * util.c: use HAVE_FCNTL_H, not HAVE_FCNTL 19459 19460Wed Jul 28 18:24:45 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19461 19462 * version 1.3.6 - version 1.4 alpha 19463 19464Tue Jul 27 09:38:08 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 19465 19466 * eval.c (rb_eval): reduce recursive rb_eval() calls by 19467 NODE_BLOCKs. 19468 19469Tue Jul 27 01:20:40 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 19470 19471 * file.c (rb_file_s_expand_path): drive letter patch. 19472 19473Mon Jul 26 02:36:31 1999 Shugo Maeda <shugo@netlab.co.jp> 19474 19475 * eval.c (rb_load): should clear ruby_nerr. 19476 19477 * eval.c (rb_thread_join): oldbt should not be empty to unshift. 19478 19479Sun Jul 25 12:09:16 1999 Koji Arai <JCA02266@nifty.ne.jp> 19480 19481 * dir.c (push_braces): should treat nested braces. 19482 19483Fri Jul 23 02:49:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19484 19485 * hash.c (rb_hash_clear): dummy argument added; suggested by 19486 <eguchi@shizuokanet.ne.jp>. thanks. 19487 19488Thu Jul 22 19:37:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19489 19490 * eval.c (rb_thread_join): get_backtrace() may return Qnil. 19491 typecheck added. 19492 19493Tue Jul 20 14:36:43 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 19494 19495 * range.c (range_each): do not treat String specially (for future 19496 override). 19497 19498Tue Jul 20 02:28:34 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19499 19500 * io.c (rb_gets): $_ should be nil, when get returns nil. 19501 19502 * io.c (rb_f_gets): ditto. 19503 19504Mon Jul 19 17:13:09 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19505 19506 * regex.c (re_compile_fastmap): should continue fastmap compile 19507 for anychar_repeat, for it's repeat anyway. 19508 19509Mon Jul 26 13:33:45 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 19510 19511 * lib/jcode.rb: replaced by faster code. 19512 19513Mon Jul 19 01:57:28 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19514 19515 * lib/mkmf.rb: no longer use install program. 19516 19517 * ext/extmk.rb.in: use miniruby to install programs. 19518 19519Sat Jul 17 00:06:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19520 19521 * ext/socket/socket.c (ipaddr): don't do reverse lookup if 19522 attribute do_not_reverse_lookup is set for socket classes. 19523 Experimental. Note this is a global attribute. 19524 19525Fri Jul 16 22:18:29 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19526 19527 * io.c (rb_io_eof): use feof() to check EOF already met. 19528 19529 * io.c (read_all): should return nil at EOF. 19530 19531Fri Jul 16 13:39:42 1999 Wakou Aoyama <wakou@fsinet.or.jp> 19532 19533 * lib/telnet.rb: version 0.231. 19534 19535Fri Jul 16 10:58:22 1999 WATANABE Tetsuya <tetsu@jpn.hp.com> 19536 19537 * regex.c (re_match): debug print removed. 19538 19539Fri Jul 16 09:58:15 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp> 19540 19541 * many files: clean up unused variables found by gcc -Wall. 19542 19543 * lib/mkmf.rb: better cygwin support etc. 19544 19545 * ext/extmk.rb.in: ditto. 19546 19547 * instruby.rb: ditto. 19548 19549Fri Jul 16 01:37:50 1999 Koji Arai <JCA02266@nifty.ne.jp> 19550 19551 * string.c (rb_str_squeeze_bang): the type of local variable `c' 19552 should be int, not char. 19553 19554 * string.c (rb_str_reverse): should always return copy. 19555 19556Thu Jul 15 23:25:57 1999 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp> 19557 19558 * lib/debug.rb: better display & frame treatment. 19559 19560Thu Jul 15 21:16:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19561 19562 * array.c (rb_ary_each): returns self for normal termination; 19563 returns nil for break. 19564 19565 * string.c: non bang methods (e.g. String#sub) should always 19566 return copy of the receiver. 19567 19568Thu Jul 15 21:09:15 1999 Masaki Fukushima <fukusima@goto.info.waseda.ac.jp> 19569 19570 * eval.c (find_file): do not add empty string to the path. 19571 19572 * configure.in (with-search-path): should not add empty string if 19573 the option is not supplied. 19574 19575Thu Jul 15 17:49:08 1999 Ryo HAYASAKA <hayasaka@univ21.u-aizu.ac.jp> 19576 19577 * ext/tcltklib/tcltklib.c: move `#include "ruby.h"' forward. 19578 19579Thu Jul 15 16:54:16 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19580 19581 * version 1.3.5 - version 1.4 alpha 19582 19583Wed Jul 14 23:45:33 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp> 19584 19585 * eval.c (ruby_init): initialize for the first time only. 19586 19587Tue Jul 13 00:15:19 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19588 19589 * hash.c (rb_hash_index): re-defined; method to retrieve a key 19590 from the value. 19591 19592 * hash.c (Init_Hash): member? should be re-defined for Hash. 19593 19594Tue Jul 12 13:54:51 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 19595 19596 * io.c (rb_file_sysopen): wrong number of argument. 19597 19598Mon Jul 12 11:52:35 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19599 19600 * eval.c (rb_f_missing): class name included in message. 19601 19602 * eval.c (print_undef): better error message. 19603 19604Sun Jul 11 05:36:17 1999 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp> 19605 19606 * lib/debug.rb: patch to show proper position. 19607 19608Fri Jul 9 23:56:14 1999 WATANABE Hirofumi <eban@os.rim.or.jp> 19609 19610 * dln.c (dln_find_1): path conv. moved to conv_to_posix_path. 19611 19612 * dln.c (conv_to_posix_path): path conv. should be done. 19613 19614Fri Jul 9 10:26:47 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 19615 19616 * random.c (RANDOM_NUMBER): should place parentheses. 19617 19618Fri Jul 8 11:00:51 1999 Shugo Maeda <shugo@netlab.co.jp> 19619 19620 * numeric.c (fix_div): division may be out of fixnum range. 19621 19622 * bignum.c (bigdivmod): proper sign calculation to result. 19623 19624Wed Jul 7 18:27:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19625 19626 * st.c (st_delete_safe): was modifying wrong slot. 19627 19628Mon Jul 5 13:17:46 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19629 19630 * gc.c (rb_gc_call_finalizer_at_exit): close all files at exit. 19631 19632Fri Jul 2 18:00:21 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 19633 19634 * lib/Mail/README: Mail-0.3.0 added to the distribution. 19635 19636Fri Jul 2 01:45:32 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19637 19638 * regex.c (re_compile_fastmap): avoid allocation of register 19639 variables for each invocation of re_match(). Suggested by 19640 Zasukhin Ruslan <ruslan@paradigmasoft.com>. Thanks. 19641 19642Tue Jun 29 20:39:24 1999 Koji Arai <JCA02266@nifty.ne.jp> 19643 19644 * ext/tk/lib/tk.rb (TkVariable): bug fix; should value type check 19645 be added? 19646 19647 * string.c (rb_str_each_line): a bug in paragraph mode. 19648 19649 * ruby.c (load_file): shifted too much to skip #!. 19650 19651Tue Jun 29 06:50:21 1999 Wakou Aoyama <wakou@fsinet.or.jp> 19652 19653 * lib/CGI.rb: 0.30 - cleanup release, incompatible. 19654 19655 * lib/telnet.rb: 0.22 - timeout added. 19656 19657Tue Jun 29 10:49:25 1999 SHIROYAMA Takayuki <psi@fortune.nest.or.jp> 19658 19659 * configure.in: better Rhapsody support. 19660 19661 * lib/mkmf.rb: Rhapsody/NEXTSTEP support. 19662 19663Tue Jun 29 01:42:13 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19664 19665 * ext/pty/pty.c (chld_changed): should use POSIX.1 style wait. 19666 19667Mon Jun 28 21:07:36 1999 KIMURA Koichi <kbk@kt.rim.or.jp> 19668 19669 * ext/extmk.rb.nt: wrong result for have_library(). 19670 19671Mon Jun 28 15:24:05 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19672 19673 * missing/isinf.c: OSF/1 raises SIGFPE on one()/zero(). 19674 19675 * regex.c (re_search): should search til EOS, for patterns may 19676 match beyond the end of range. 19677 19678Mon Jun 28 12:49:12 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19679 19680 * io.c (rb_f_select): should not accept Time objects as an 19681 argument for it is time interval. 19682 19683 * process.c (rb_f_sleep): ditto. 19684 19685 * file.c (test_s): should return nil for false condition. 19686 19687Mon Jun 28 12:23:52 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp> 19688 19689 * bignum.c (rb_dbl2big): typo. 19690 19691 * file.c (rb_f_test): ditto. 19692 19693 * string.c (rb_str_crypt): wrong message. 19694 19695Sun Jun 27 19:50:11 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp> 19696 19697 * eval.c (rb_f_exit): should have treat signed integer status, not 19698 VALUE. 19699 19700 * process.c (rb_f_exit_bang): should work like exit(). 19701 19702Sun Jun 27 16:21:32 1999 WATANABE Hirofumi <eban@os.rim.or.jp> 19703 19704 * string.c (rb_str_rindex): wrong position to search. 19705 19706Sat Jun 26 04:05:30 1999 Takaaki Tateishi <ttate@jaist.ac.jp> 19707 19708 * configure.in (configure_args): --with-search-path to specify 19709 additional ruby search path. 19710 19711 * ruby.c (ruby_prog_init): additional search path. 19712 19713Fri Jun 25 13:09:12 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19714 19715 * pack.c (pack_unpack): needed to initialize natint. 19716 19717 * regex.c (re_compile_pattern): add start_paren to avoid too much 19718 finalization on maybe_finalize_jump. 19719 19720Fri Jun 25 13:07:20 1999 Koji Oda <oda@bsd1.qnes.nec.co.jp> 19721 19722 * missing/isinf.c: include "config.h" added. 19723 19724Fri Jun 25 07:25:05 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp> 19725 19726 * lib/mkmf.rb: initialize $(topdir). 19727 19728 * ext/extmk.rb.in (install_rb): install lib/*.rb properly. 19729 19730 * configure.in (linux): specifies -rpath on --enable-shared. 19731 19732 * configure.in (aix): ruby.imp must reside in $(topdir). 19733 19734Thu Jun 24 19:11:29 1999 Yoshida Masato <yoshidam@yoshidam.net> 19735 19736 * parse.y (rb_str_extend): multi-byte identifier in expression 19737 interpolation in strings. 19738 19739 * parse.y (yylex): support multi-byte char identifiers. 19740 19741Thu Jun 24 15:27:13 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19742 19743 * parse.y (f_arg): check duplicate argument names. 19744 19745 * gc.c (rb_gc_mark): marking wrong member for NODE_ARGS. 19746 19747 * string.c (rb_str_rindex): POSITION specifies start point, not 19748 end point. 19749 19750Thu Jun 24 13:00:17 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19751 19752 * regex.c (print_mbc): wrong boundary. 19753 19754 * pack.c (uv_to_utf8): raises ArgError for too big value. 19755 19756Thu Jun 24 11:02:51 1999 Yoshida Masato <yoshidam@yoshidam.net> 19757 19758 * pack.c (uv_to_utf8): mask needed. 19759 19760Wed Jun 23 21:03:56 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp> 19761 19762 * ruby.h (struct RFile): remove iv_tbl from struct. instance 19763 variables are handled as generic ivs. 19764 19765Wed Jun 23 22:06:26 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp> 19766 19767 * pack.c (utf8_to_uv): pack to 7 bytes sequence. 19768 19769 * pack.c (uv_to_utf8): wrong boundary. 19770 19771 * pack.c (pack_unpack): should treat as unsigned long. 19772 19773Wed Jun 23 15:10:11 1999 Inaba Hiroto <inaba@sdd.tokyo-sc.toshiba.co.jp> 19774 19775 * parse.y (parse_string): failed to parse nested braces. 19776 19777 * parse.y (parse_regx): nested braces within #{} available. 19778 19779Wed Jun 23 11:18:38 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19780 19781 * regex.c (slow_search): wrong shift width for mbcs. 19782 19783 * eval.c (rb_thread_save_context): should not clear th->locals. 19784 19785Wed Jun 23 02:06:14 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19786 19787 * parse.y (yylex): UMINUS binds too tight with digits. changed so 19788 that -2**2 => -4. 19789 19790 * parse.y (close_paren): `do' for expr termination now works it 19791 used to be. 19792 19793Wed Jun 22 18:26:42 1999 Koji Arai <JCA02266@nifty.ne.jp> 19794 19795 * pack.c (pack_pack): should initialize local variable `j'. 19796 19797Wed Jun 22 15:24:59 1999 Koji Arai <JCA02266@nifty.ne.jp> 19798 19799 * parse.y (here_document): a bug for multiline heredoc. 19800 19801Tue Jun 22 15:06:36 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 19802 19803 * ext/socket/socket.c (ruby_socket): forgot to return fd 19804 explicitly. 19805 19806Tue Jun 22 13:34:12 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19807 19808 * rubyio.h (MakeOpenFile): should initialize member `iv_tbl'. 19809 19810Wed Jun 22 10:35:51 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp> 19811 19812 * io.c (rb_io_gets_internal): getc(3) may not set errno on 19813 interrupt. 19814 19815Mon Jun 21 22:39:28 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19816 19817 * eval.c (call_required_libraries): ruby_sourceline should be 19818 cleared before loading libraries. 19819 19820 * io.c (set_stdin): do not use reopen(), so that we don't need to 19821 dup original stdin before assigning $stdin. 19822 19823Mon Jun 21 18:04:27 1999 Ryo HAYASAKA <hayasaka@univ21.u-aizu.ac.jp> 19824 19825 * ext/dbm/dbm.c: include <cdefs.h> for solaris 2.6. 19826 19827Mon Jun 21 15:59:47 1999 Nobuyoshi Nakada <nobu.nokada@softhome.net> 19828 19829 * ext/socket/socket.c (ip_addrsetup): forgot to put `else'. 19830 19831Mon Jun 21 15:38:37 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19832 19833 * io.c (fptr_finalize): remove rb_syswait() invocation to avoid 19834 wait4(2) within GC. rb_syswait() moved to rb_io_fptr_close(). 19835 19836Mon Jun 21 12:05:59 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp> 19837 19838 * dir.c (dir_s_glob): remove MAXPATHLEN restriction. 19839 19840 * ext/md5/md5init.c (md5_hexdigest): should have used "%02x". 19841 19842Sun Jun 20 19:50:38 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 19843 19844 * string.c (rb_str_each_line): should have checked string 19845 boundary. 19846 19847Sat Jun 19 22:24:12 1999 Kenji Nagasawa <kenn@hma.att.ne.jp> 19848 19849 * OS/2 patch improved. 19850 19851Fri Jun 18 08:30:17 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19852 19853 * marshal.c (r_byte): add data length check. 19854 19855 * ext/tcltklib/tcltklib.c (_timer_for_tcl): was doing busy-wait. 19856 19857Tue Jun 15 10:01:21 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp> 19858 19859 * configure.in: remove trailing slash from interpreter embedded 19860 shared library path. 19861 19862 * configure.in (INSTALL_DLLIB): install shared lib with 0555. 19863 19864 * instruby.rb: changed mode for shared library into 0555. 19865 19866Fri Jun 11 23:27:00 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp> 19867 19868 * ext/etc/etc.c (etc_passwd): should return nil, not exception for 19869 call after last passwd entry. 19870 19871Fri Jun 11 15:21:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19872 19873 * gc.c (rb_gc_mark_locations): add safety margin 1. 19874 19875 * eval.c (ruby_run): should protect toplevel node tree. 19876 19877 * ext/etc/etc.c (etc_group): dumps core if there's no more group. 19878 19879Fri Jun 11 01:50:25 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19880 19881 * eval.c (ruby_run): Init_stack() was called too late; local 19882 variables happened to be higher (or lower) than stack_start. 19883 19884Thu Jun 10 16:41:48 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19885 19886 * io.c: do not call `initialize' for IO objects. So with Array, 19887 Hash, Range, and Time objects. 19888 19889 * ext/curses/curses.c (curses_getch): made thread aware using 19890 rb_read_check(). 19891 19892 * ext/curses/curses.c (window_getch): ditto. 19893 19894 * ext/curses/curses.c (curses_getstr): made (partially) thread 19895 aware using rb_read_check(). 19896 19897 * ext/curses/curses.c (window_getstr): ditto. 19898 19899 * io.c (rb_read_check): new function to help making something 19900 (like extension libraries) thread aware. 19901 19902 * eval.c (is_defined): `defined? super' should be true even for 19903 private superclass methods. 19904 19905Fri Jun 10 13:42:10 1999 Koji Arai <JCA02266@nifty.ne.jp> 19906 19907 * pack.c (pack_pack): template `Z' should be allowed. 19908 19909Wed Jun 9 13:26:38 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19910 19911 * eval.c (rb_thread_loading): modified to avoid nested race 19912 condition of require(). 19913 19914 * ext/tcltklib/tcltklib.c (ip_invoke): queue invocation on non 19915 main threads. 19916 19917 * ext/tcltklib/tcltklib.c (lib_mainloop): flush invocation 19918 queues periodically. 19919 19920 * version.c (ruby_show_version): now print the message to stdout. 19921 19922 * version.c (ruby_show_copyright): ditto. 19923 19924Tue Jun 8 00:00:34 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19925 19926 * pack.c (pack_unpack): append sentinel (NUL) to the string. 19927 19928 * ext/md5/md5init.c (md5_hexdigest): new method to obtain 19929 printable hash string. 19930 19931 * ext/md5/md5init.c (md5_update): should return self. 19932 19933 * pack.c (pack_pack): undocumented template 'U' for UTF8. 19934 19935 * pack.c (pack_unpack): ditto. 19936 19937 * marshal.c (r_byte): should replace getc() with rb_getc(). 19938 19939 * io.c (rb_getc): getc() replacement uses READ_DATA_PENDING() and 19940 rb_thread_wait_fd(). 19941 19942Mon Jun 7 23:23:38 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19943 19944 * object.c (rb_mod_clone): should call CLOSESETUP(). 19945 19946 * eval.c (bind_clone): should call CLONESETUP() for new clone. 19947 19948Sat Jun 5 10:32:40 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19949 19950 * string.c (rb_str_oct): binary (e.g. 0b10111) support. 19951 19952 * variable.c (rb_const_set): raise warning, not exception. 19953 19954 * parse.y (yycompile): initialize parser internal variables. 19955 19956 * parse.y (close_paren): set lex_state to EXPR_PAREN after closing 19957 parenthesis. 19958 19959 * parse.y (yylex): returns kDO for `do' right after method_call. 19960 19961Thu Jun 3 11:05:30 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 19962 19963 * regex.c (read_backslash): should decode \b within class. 19964 19965Thu Jun 3 01:06:18 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp> 19966 19967 * dln.c (dln_load): AIX improvement (aix_findmain removed). 19968 19969Wed Jun 2 00:41:31 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19970 19971 * pack.c (pack_unpack): new undocumented template Z which strips 19972 stuff after first null. 19973 19974 * pack.c (pack_pack): should preserve specified length of the 19975 resulting string. 19976 19977Tue Jun 1 15:29:33 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 19978 19979 * ext/socket/socket.c (ruby_socket): retry after GC, if socket(2) 19980 failed on EMFILE or ENFILE. 19981 19982 * ext/socket/socket.c (sock_s_socketpair): ditto. 19983 19984 * eval.c (module_setup): need to add PUSH_VAR/POP_VAR to clear 19985 dyna vars link list. 19986 19987 * version.h (RUBY_RELEASE_CODE): integer macro constant for source 19988 version detection. 19989 19990Sun May 30 22:19:12 1999 Kenji Nagasawa <kenn@tcp-ip.or.jp> 19991 19992 * ext/socket/socket.c: emx/gcc 0.9d now fixes things about 19993 AF_UNIX. 19994 19995 * process.c: OS/2 EMX kludge. 19996 19997 * Makefile.in (strncasecmp.o): added dependency. 19998 19999Mon May 31 16:06:28 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20000 20001 * version 1.3.4 - preliminary release for 1.4 20002 20003Mon May 31 15:57:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20004 20005 * io.c (rb_io_fptr_close): close on IO which main_thread is 20006 waiting cause serious exception, that vanishes the actual fd 20007 closing. Invocation of rb_thread_fd_close() is deferred 20008 a little. 20009 20010Sat May 29 18:27:13 1999 Koji Arai <JCA02266@nifty.ne.jp> 20011 20012 * regex.c (re_match): stack boundary check needed. 20013 20014Sat May 29 12:27:00 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20015 20016 * ext/tcltklib/tcltklib.c (ip_invoke): proper ref count management 20017 to avoid leak. I HATE REF COUNTING!! 20018 20019 * eval.c (ruby_run): moved ruby_require_libraries() to handle `-r' 20020 from ruby_options() to avoid stack corruption for threads 20021 created in libraries. 20022 20023Sat May 29 02:22:12 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20024 20025 * eval.c (rb_yield_0): when `for' appeared in blocks, it 20026 introduced new scope for local variables. 20027 20028Fri May 28 17:16:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20029 20030 * string.c (rb_str_squeeze_bang): squeeze AND of the arguments. 20031 UNDOCUMENTED. 20032 20033 * string.c (rb_str_count): new UNDOCUMENTED method. 20034 20035 * string.c (rb_str_delete_bang): delete AND of the arg ranges. 20036 UNDOCUMENTED FEATURE for 1.3.x. 20037 20038 * ext/socket/socket.c (setipaddr): re-wrote using ip_addrsetup(). 20039 20040 * ext/socket/socket.c (ip_addrsetup): decode symbolic address 20041 <broadcast>. 20042 20043Thu May 27 12:27:42 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20044 20045 * string.c (tr_trans): should handle NUL (\0) within strings. 20046 20047Tue May 25 16:45:11 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20048 20049 * io.c (rb_f_syscall): syscall may return values other than zero 20050 on success. 20051 20052 * regex.c (re_match): handle empty loop properly (hopefully). 20053 20054 * regex.c (re_match): remove empty group check, because it does 20055 not help non-grouping parentheses (?:..). 20056 20057 * regex.c (re_compile_fastmap): treating try_next, finalize_push 20058 wrong way. 20059 20060 * regex.c: remove some obsolete functions such as 20061 group_match_null_string_p(). 20062 20063Mon May 24 14:47:54 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20064 20065 * regex.c (read_backslash): read backslash by regex. 20066 20067Sun May 23 19:44:58 1999 WATANABE Hirofumi <eban@os.rim.or.jp> 20068 20069 * ext/pty/pty.c (getDevice): portability patch. 20070 20071Fri May 21 23:01:26 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp> 20072 20073 * ext/socket/getaddrinfo.c (GET_AI): should set error code. 20074 20075Thu May 20 03:43:44 1999 Jun-ichiro itojun Hagino <itojun@itojun.org> 20076 20077 * ext/socket/socket.c: you should use sockaddr_storage to handle 20078 IPv6 addresses. 20079 20080 * ext/socket/getaddrinfo.c (getaddrinfo): prevent retrieving 20081 AF_INET6 address if hints.ai_flags == AI_PASSIVE. 20082 20083Wed May 19 12:27:07 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20084 20085 * eval.c (exec_end_proc): should protect exceptions. 20086 20087 * gc.c (run_final): ditto. 20088 20089 * parse.y (f_rest_arg): allow just * for rest arg. 20090 20091 * parse.y (mlhs_basic): allow * without formal argument. 20092 20093 * regex.c (re_match): the variable `part' should be initialized. 20094 20095Tue May 18 15:25:45 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20096 20097 * regex.c (re_search): a bug in range adjustment. 20098 20099Tue May 18 11:35:59 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 20100 20101 * dln.c (conv_to_posix_path): path_len argument added. 20102 20103Mon May 17 12:26:31 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20104 20105 * numeric.c (fix_rev): should treat Fixnum as signed long. 20106 20107 * eval.c (massign): add strict number check for yield (and call). 20108 20109 * eval.c (proc_arity): new method to return number of arguments. 20110 20111 * eval.c (method_arity): new method to return number of arguments. 20112 20113 * parse.y (read_escape): char may be unsigned. 20114 20115 * string.c (rb_str_succ): ditto. 20116 20117 * string.c (tr_trans): ditto. 20118 20119 * object.c (Init_Object): methods `&', `|', `^' are added to nil. 20120 20121 * range.c (rb_range_beg_len): it should be OK for [0..-len-1]. 20122 20123 * regex.c (re_search): search for byte literal within mbcs. 20124 20125 * regex.c (is_in_list): parsh 20126 20127 * regex.c (re_compile_fastmap): should have not alter the loop 20128 variable `j' if TRASLATE_P(). 20129 20130 * regex.c (re_compile_pattern): escaped characters should be read 20131 by PATFETCH_RAW(c). 20132 20133Sat May 15 11:23:51 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20134 20135 * regex.c (re_match): endline2 (\Z) should not match at the point 20136 between a newline and end-of-line, like endline ($). 20137 20138 * class.c (include_class_new): should initialize iv_tbl to share 20139 between module and iclass. 20140 20141Fri May 14 08:50:27 1999 Akira Endo <akendo@t3.rim.or.jp> 20142 20143 * regex.c (re_compile_fastmap): it should be k != 0 to skip. 20144 20145Fri May 14 12:46:56 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20146 20147 * time.c (time_load): a bug in old marshal format support. 20148 20149 * instruby.rb: make site_ruby directory. 20150 20151Fri May 14 10:18:02 1999 WATANABE Tetsuya <tetsu@jpn.hp.com> 20152 20153 * regex.c (re_match): a bug in inline `.*' etc. 20154 20155Fri May 14 09:58:46 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp> 20156 20157 * ruby.c (addpath): should have specified string length. 20158 20159Thu May 13 10:40:44 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20160 20161 * eval.c (rb_eval_string_wrap): new function. 20162 20163 * regex.c (re_compile_pattern): POSIX line match should alter 20164 behavior for `^' and `$' to begbuf and endbuf2 respectively. 20165 20166 * ext/pty/pty.c: un-ANSI-fy function arguments. 20167 20168Wed May 12 14:19:38 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20169 20170 * struct.c (iv_get): in case of inheritance of generated struct 20171 class, __member__ and __size__ should also be inherited. 20172 Thanks for Pros Yeboah <yeboah@tu-harburg.de>. 20173 20174 * io.c (rb_f_gets_internal): should check number of arguments 20175 before checking rb_rs == rb_default_rs. Thanks for Koji Arai 20176 <JCA02266@nifty.ne.jp>. 20177 20178Tue May 11 08:29:28 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20179 20180 * regex.c (re_compile_pattern): .?, .+ did not work. 20181 20182Mon May 10 00:59:33 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20183 20184 * lib/jcode.rb: forgot to squeeze on reverse (complement) case. 20185 20186 * string.c (tr_squeeze): should not set modify flag to be honest, 20187 if the string is not modified. 20188 20189 * signal.c (Init_signal): SIGTERM should not be handled. 20190 20191 * regex.c (re_match): seeking for longest match is now optional, 20192 which can be set using RE_OPTION_POSIXMATCH. This satisfies 20193 POSIX longest match as much as Emacs's posix-* functions, which 20194 are known to be incomplete. 20195 20196Sun May 9 13:04:01 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp> 20197 20198 * ext/socket/socket.c (sock_s_getaddrinfo): conversion from 20199 Fixnums to C integers needed. 20200 20201Sun May 9 11:51:43 1999 Koji Arai <JCA02266@nifty.ne.jp> 20202 20203 * range.c (range_eqq): reverse condition. 20204 20205 * range.c (range_s_new): default should be end inclusive. 20206 20207Sat May 8 03:27:51 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20208 20209 * ext/socket/socket.c (thread_connect): replace nasty 20210 rb_thread_fd_writable() with rb_thread_select(). 20211 20212Fri May 7 20:49:00 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp> 20213 20214 * ext/socket/getaddrinfo.c (inet_pton): wrong parameter to 20215 inet_aton(). 20216 20217 * ext/socket/addrinfo.h (__P): silly cut and paste typo. 20218 20219Fri May 7 17:03:57 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20220 20221 * dir.c (glob): removed GPL'ed glob.c completely. 20222 20223Fri May 7 08:17:19 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20224 20225 * ext/sdbm/extconf.rb: sdbm extension added to the distribution. 20226 20227Fri May 7 01:42:20 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20228 20229 * ext/socket/socket.c (tcp_s_gethostbyname): avoid using struct 20230 sockaddr_storage. 20231 20232Thu May 6 13:21:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20233 20234 * array.c (rb_ary_indexes): should not use rb_ary_concat(). 20235 20236Thu May 4 12:34:18 1999 Koji Arai <JCA02266@nifty.ne.jp> 20237 20238 * parse.y (parse_string): there should be newline escape by 20239 backslashes in strings. 20240 20241 * parse.y (parse_qstring): ditto. 20242 20243Mon May 3 04:37:20 1999 Koji Arai <JCA02266@nifty.ne.jp> 20244 20245 * ext/tcltklib/extconf.rb: better search for libX11. 20246 20247 * range.c (range_s_new): embarrassing =/== typo. 20248 20249 * re.c (Init_Regexp): failed to set default kcode. 20250 20251Mon May 3 02:39:55 1999 WATANABE Tetsuya <tetsu@jpn.hp.com> 20252 20253 * ext/socket/socket.c (open_inet): typo (res and res0). 20254 20255Tue May 4 02:07:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20256 20257 * mkconfig.rb: leave undefined $(VARIABLE) unexpanded in the 20258 Config::CONFIG hash table. 20259 20260Mon May 3 09:37:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20261 20262 * regex.c (re_compile_pattern): expand exactn{n} at compile time. 20263 handles stop_paren specially. 20264 20265 * regex.c (re_compile_pattern): expand x{n} at compile time. 20266 20267 * regex.c (re_search): posix line match should be checked. 20268 20269 * regex.c (re_search): a bug in anchor condition. 20270 20271Fri Apr 30 18:57:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20272 20273 * version 1.3.3 20274 20275 * string.c (rb_str_rindex): position should be END point, not 20276 START point. 20277 20278 * re.c (rb_reg_search): pos means end point on reverse now. 20279 20280 * array.c (rb_ary_s_create): should clear ary->ptr to avoid 20281 potential gc crash. 20282 20283Fri Apr 30 15:24:58 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20284 20285 * ext/socket/addrinfo.h: compatibility hack for ipv4. 20286 20287 * ext/socket/socket.c: itojun's ipv6 patches applied. 20288 20289 * ext/socket/extconf.rb: detect ipv6 features based on itojun's 20290 ipv6 patches. 20291 20292 * ext/extmk.rb.in (enable_config): can handle --enable-xxx now. 20293 20294 * lib/mkmf.rb (enable_config): ditto. 20295 20296Fri Apr 30 05:22:23 1999 Shugo Maeda <shugo@netlab.co.jp> 20297 20298 * string.c (rb_str_aset): last index should not append. 20299 20300Thu Apr 29 18:55:31 1999 WATANABE Hirofumi <eban@os.rim.or.jp> 20301 20302 * dln.c (conv_to_posix_path): remove const from args. 20303 20304 * ruby.c (rubylib_mangle): remove Fatal(), the obsolete function. 20305 20306Tue Apr 27 14:11:45 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20307 20308 * parse.y (fname): lazy workaround for keywords did not work well. 20309 20310 * ext/extmk.rb.in: `--with-xxx=yyy' argument configuration. 20311 20312 * lib/mkmf.rb: ditto. 20313 20314 * misc/ruby-mode.el: forgot to handle $`. 20315 20316 * ext/extmk.rb.in: better AIX link support proposed by 20317 <komatsu@sarion.co.jp>. 20318 20319Mon Apr 26 16:46:59 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20320 20321 * ext/extmk.rb.in: AIX shared library support modified. 20322 20323 * ext/aix_mksym.rb: ditto. 20324 20325 * configure.in: ditto. 20326 20327 * sprintf.c (rb_f_sprintf): should allocate proper sized buffer 20328 for float numbers. 20329 20330Sat Apr 24 00:00:16 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20331 20332 * parse.y (operation): syntax like `a.[]=(1,2)' is allowed. 20333 20334Fri Apr 23 23:54:09 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20335 20336 * io.c (argf_binmode): binmode method added to ARGF. 20337 20338Fri Apr 23 13:55:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20339 20340 * string.c (rb_f_chomp): should assign the result to $_. or maybe 20341 sub/gsub/chop/chomp should NOT assign $_ altogether. 20342 20343Thu Apr 22 16:50:54 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20344 20345 * eval.c (rb_callcc): call scope_dup() for all scopes in 20346 the interpreter stack. 20347 20348Tue Apr 20 11:24:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20349 20350 * string.c (rb_str_dump): `#' should be escaped. 20351 20352Tue Apr 20 02:32:42 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20353 20354 * parse.y (parse_regx): option /p for posix match added. 20355 20356 * re.c (rb_reg_desc): did not print options properly. 20357 20358 * io.c (rb_file_s_open): initialize was called twice. 20359 20360Mon Apr 19 18:56:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20361 20362 * configure.in (DEFAULT_KCODE): can specify default code for 20363 $KCODE by --with-default-kcode=(euc|sjis|utf8|none). 20364 20365 * regex.c (IS_A_LETTER): a byte sequence shorter than mbc should 20366 not match with \w etc. 20367 20368Mon Apr 19 13:49:11 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20369 20370 * eval.c (eval): should restore ruby_dyna_vars. 20371 20372Fri Apr 16 21:40:43 1999 Nobuyoshi Nakada <gea02117@nifty.ne.jp> 20373 20374 * io.c (f_backquote): pipe_open may return nil. 20375 20376 * io.c (f_open): rb_io_open may return nil. 20377 20378 * io.c (io_s_foreach): ditto. 20379 20380 * io.c (io_s_readlines): ditto. 20381 20382 * io.c (io_defset): wrong message. 20383 20384Fri Apr 16 15:09:20 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20385 20386 * bignum.c (rb_str2inum): strtoul() returns long, not int. 20387 20388 * eval.c (rb_load): size of VALUE and ID may be different. 20389 20390 * util.c (mmprepare): int is too small to cast from pointers. 20391 20392 * config.guess: avoid 'linux-gnu' for alpha-unknown-linux. 20393 20394Thu Apr 15 23:46:20 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 20395 20396 * ruby.c (rubylib_mangle): mangle path by RUBYLIB_PREFIX. 20397 20398Wed Apr 14 23:52:51 1999 SHIROYAMA Takayuki <psi@fortune.nest.or.jp> 20399 20400 * node.h (NODE_LMASK): should be long to avoid overflow. 20401 20402Wed Apr 14 13:14:35 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp> 20403 20404 * dln.c: AIX dynamic link. 20405 20406 * ext/aix_ld.rb: ditto. 20407 20408Wed Apr 14 12:19:09 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20409 20410 * lib/thread.rb: Queue#{enq,deq} added. 20411 20412Tue Apr 13 17:43:56 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20413 20414 * hash.c (rb_hash_s_create): Hash::[] acts more like casting. 20415 20416Tue Apr 13 00:33:52 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20417 20418 * io.c (rb_io_stdio_set): warning for assignment to the variables 20419 $std{in,out,err}. 20420 20421Mon Apr 12 23:12:32 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20422 20423 * io.c (rb_io_reopen): check for reopening same IO. 20424 20425Fri Apr 9 17:45:11 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20426 20427 * parse.y (rb_compile_string): bug for nested eval(). 20428 20429 * regex.c (re_match): should pop non-greedy stack items on 20430 failure, after best_regs are fixed. 20431 20432Thu Apr 8 17:30:40 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20433 20434 * pack.c (PACK_LENGTH_ADJUST): need to adjust for `*' length. 20435 20436Tue Apr 6 23:28:44 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20437 20438 * parse.y (void_check): add void context checks. 20439 20440Mon Apr 5 12:23:42 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20441 20442 * time.c (time_s_at): should copy gmt-mode. 20443 20444 * eval.c (eval_node): preserve ruby_eval_tree. 20445 20446Fri Apr 2 14:00:34 1999 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp> 20447 20448 * lib/debug.rb: wrong command interpreting. 20449 20450Fri Apr 2 11:46:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20451 20452 * version 1.3.2 20453 20454Fri Apr 2 10:40:04 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20455 20456 * io.c (rb_io_s_pipe): forgot to define IO::pipe. 20457 20458Thu Apr 1 14:40:46 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20459 20460 * eval.c (assign): modified for rhs change. 20461 20462 * parse.y (stmt): unparenthesisized method calls can be right hand 20463 side expression of the assignment. 20464 20465Sat Mar 27 22:42:47 1999 Koji Arai <JCA02266@nifty.ne.jp> 20466 20467 * ext/nkf/nkf.c (rb_nkf_kconv): check size output_ctr before 20468 decrement. 20469 20470Thu Mar 25 09:11:03 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20471 20472 * time.c (time_s_at): preserve gmt-mode for result. 20473 20474 * parse.y (rb_compile_string): do not use cur_mid, use 20475 compile_for_eval instead. 20476 20477 * st.c (PTR_NOT_EQUAL): wrong logical condition. 20478 20479Wed Mar 24 13:06:43 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20480 20481 * parse.y (yycompile): should clear cur_mid after compilation. 20482 20483 * io.c (next_argv): need to check type for ARGV.shift. 20484 20485 * eval.c (blk_copy_prev): need to preserve outer scope as well as 20486 outer frames. 20487 20488 * parse.y (rb_compile_string): return can appear within eval(). 20489 20490Tue Mar 23 10:15:07 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 20491 20492 * configure.in: AC_C_CONST check added. 20493 20494Tue Mar 23 02:07:35 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20495 20496 * time.c (time_plus): preserve gmt-mode for result. 20497 20498Mon Mar 22 01:32:37 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20499 20500 * eval.c (rb_eval): adjust line numbers before expression 20501 interpolation within strings. 20502 20503 * eval.c (rb_eval): defined? returns nil for false condition. 20504 20505 * numeric.c (num_nonzero_p): returns nil for false condition. 20506 20507Sat Mar 20 13:07:43 1999 Keiju Ishitsuka <keiju@rational.com> 20508 20509 * lib/weakref.rb: avoid leak for two weakrefs for one object. 20510 20511Fri Mar 19 11:26:45 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 20512 20513 * eval.c (ruby_run): needed to eval END{} on exit. 20514 20515 * eval.c (rb_exit): ditto. 20516 20517Fri Mar 19 02:17:27 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20518 20519 * signal.c (Init_signal): handles terminating signals HUP, TERM, 20520 QUIT, PIPE, etc. 20521 20522Thu Mar 18 15:47:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20523 20524 * bignum.c (rb_big_and): bug in sign calculation. 20525 20526 * bignum.c (rb_big_or): ditto. 20527 20528 * io.c (rb_f_select): forgot to use to_io to retrieve IO, after 20529 calling select(2). 20530 20531Tue Mar 16 19:54:31 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 20532 20533 * ext/extmk.rb.in: static linking cause infinite make loop. 20534 20535Tue Mar 16 18:50:04 1999 Yoshida Masato <yoshidam@yoshidam.net> 20536 20537 * ext/socket/socket.c (tcp_s_gethostbyname): typo, not NUM2INT(), 20538 but INT2NUM(). 20539 20540 * ext/socket/socket.c (mkhostent): ditto. 20541 20542Tue Mar 16 12:31:44 1999 Ryo HAYASAKA <hayasaka@cheer.u-aizu.ac.jp> 20543 20544 * file.c (utime_internal): suppress warning by const. 20545 20546 * time.c (time_gmtime): ditto. 20547 20548Tue Mar 16 10:23:05 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20549 20550 * time.c (time_clone): Time object can be cloned. 20551 20552Tue Mar 16 03:13:10 1999 Koji Arai <JCA02266@nifty.ne.jp> 20553 20554 * ruby.c (load_file): argv[argc] should be NULL. 20555 20556Mon Mar 15 22:12:08 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp> 20557 20558 * sprintf.c (rb_f_sprintf): typo in arg_num check at exit. 20559 20560Mon Mar 15 16:42:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20561 20562 * array.c (rb_ary_dup): dup2 should copy class too. 20563 20564Mon Mar 15 15:12:53 1999 Yasuhiro Fukuma <yasuf@big.or.jp> 20565 20566 * lib/mkmf.rb: install program relative path check. 20567 20568Mon Mar 15 14:05:25 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20569 20570 * re.c (rb_reg_s_new): 2nd argument is now option. 20571 Regexp::EXTENDED can be specified. 20572 20573Fri Mar 12 10:47:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20574 20575 * string.c (rb_str_index): str.index("") should always match at 20576 offset point. 20577 20578 * string.c (rb_str_upto): can specify end point exclusion. 20579 20580 * string.c (rb_str_index): negative offset. 20581 20582 * regex.c (re_match): begline should not match at the point 20583 between a newline and end-of-string. endline neither. 20584 20585 * regex.c (re_compile_pattern): context_indep_anchors . 20586 20587 * parse.y (parse_regx): need not to push backslashes before 20588 escaped characters. 20589 20590 * eval.c (rb_thread_join): re-raises exception within target. 20591 20592Fri Mar 12 01:09:36 1999 Koji Arai <JCA02266@nifty.ne.jp> 20593 20594 * ext/readline/readline.c (readline_s_vi_editing_mode): wrong 20595 number of arguments. 20596 20597Fri Mar 12 02:12:50 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20598 20599 * pack.c (PACK_ITEM_ADJUST): "a".unpack("C3") => [97, nil, nil] 20600 20601Thu Mar 11 18:23:50 1999 WATANABE Tetsuya <tetsu@jpn.hp.com> 20602 20603 * ext/socket/socket.c (Init_socket): UDPsocket was omitted. 20604 20605Thu Mar 11 16:43:30 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20606 20607 * pack.c (PACK_LENGTH_ADJUST): push fixed number of items per 20608 template to result array. 20609 20610 * pack.c (pack_unpack): I/N/C etc. push nil in the array for "". 20611 20612Tue Mar 9 00:19:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20613 20614 * hash.c (ruby_unsetenv): use ruby_setenv(name, 0). 20615 20616 * hash.c (env_delete): ditto. 20617 20618 * string.c (rb_str_upto): do not check `beg<end' to generate 20619 strings for the pattern like "a".upto("#a"). 20620 20621 * range.c (range_each): treat strings as special case. 20622 20623 * range.c (range_each): no longer use upto for generic cases. 20624 20625Sun Mar 7 14:21:32 1999 IKARASHI Akira <ikarashi@itlb.te.noda.sut.ac.jp> 20626 20627 * string.c (rb_str_index): wrong end point calculation. 20628 20629Sat Mar 6 02:19:12 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20630 20631 * re.c (match_index): MatchingData#index(n) added. 20632 20633 * array.c (rb_ary_subseq): ary[n..-1] returns an sub-array unless 20634 n is too small negative index. 20635 20636 * re.c (rb_reg_match_method): Regexp#match(str) added. 20637 20638 * array.c (rb_ary_indexes): understands ranges as indexes. 20639 20640 * re.c (match_size): MatchingData#size added. 20641 20642Fri Mar 5 01:04:57 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20643 20644 * array.c (rb_ary_fill): modified for range. 20645 20646 * array.c (rb_ary_aset): a[n..m] revisited. 20647 20648Thu Mar 4 14:23:29 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20649 20650 * string.c (rb_str_subseq): a[n..m] revisited. 20651 20652 * parse.y (method_call): allow Const::method{}. 20653 20654 * array.c (rb_ary_replace_method): should replace original array. 20655 20656Thu Mar 4 02:30:22 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20657 20658 * configure.in: remove --disable-thread, thread feature is no 20659 longer optional. 20660 20661Thu Mar 4 00:32:17 1999 Yasuhiro Fukuma <yasuf@big.or.jp> 20662 20663 * parse.y (read_escape): wrong arguments for scan_oct,scan_hex. 20664 20665Wed Mar 3 11:51:53 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20666 20667 * ext/socket/socket.c (Init_socket): rename class names as 20668 TCPsocket -> TCPSocket etc. 20669 20670Tue Mar 2 19:46:42 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 20671 20672 * configure.in (LDSHARED): use gcc -Wl,-G for solaris with gcc. 20673 20674Tue Mar 2 17:04:19 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20675 20676 * parse.y (yylex): backslashes do not concatenate comment lines 20677 anymore. 20678 20679Mon Mar 1 14:05:12 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20680 20681 * eval.c (rb_call0): adjust argv for optional arguments. super 20682 without arguments emit superclass method with the value from 20683 optional arguments. enabled as experiment. 20684 20685Sun Feb 28 14:04:07 1999 WATANABE Hirofumi <eban@os.rim.or.jp> 20686 20687 * parse.y (nextc): backslash at the eof cause infinite loop 20688 20689Sun Feb 28 11:01:26 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp> 20690 20691 * time.c (make_time_t): month range check added. 20692 20693Sat Feb 27 02:36:05 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20694 20695 * re.c (Init_Regexp): add escape as alias of quote. 20696 20697 * re.c (rb_reg_s_quote): char-code can be specified now. 20698 20699Fri Feb 26 18:45:36 1999 Yasuhiro Fukuma <yasuf@big.or.jp> 20700 20701 * eval.c (error_print): bug for error message with newlines. 20702 20703Fri Feb 26 12:00:04 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20704 20705 * time.c (make_time_t): future check modified to allow 1969-12-31 20706 at certain timezone. 20707 20708 * time.c (time_arg): year >= 1000 should be past. 20709 20710 * version.c (Init_version): constant RELEASE_DATE added. 20711 20712Fri Feb 26 01:08:30 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20713 20714 * string.c (rb_str_substr): returns nil for out-of-range access. 20715 20716 * array.c (rb_ary_subseq): returns nil for out-of-range access. 20717 20718 * array.c (rb_ary_store): negative index message has changed. 20719 20720 * string.c (rb_str_aset): reallocation needed. 20721 20722 * string.c (rb_str_aset): allow char append to the string. 20723 20724Thu Feb 25 23:30:17 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp> 20725 20726 * time.c (time_load): tm_year should be packed in 17 bits, not 18. 20727 20728Thu Feb 25 12:50:25 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20729 20730 * missing/dup2.c: replaced by public domain version. 20731 20732 * time.c (make_time_t): add `future check' in loops. 20733 20734 * object.c (rb_num2dbl): forbid implicit conversion from nil, or 20735 strings. thus `Time.now + str' should raise error. 20736 20737 * object.c (rb_Float): convert nil into 0.0. 20738 20739 * object.c (rb_Integer): conversion method improved. 20740 20741Thu Feb 25 03:27:50 1999 Shugo Maeda <shugo@netlab.co.jp> 20742 20743 * eval.c (rb_call): should handle T_ICLASS properly. 20744 20745Thu Feb 25 00:04:00 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20746 20747 * error.c (Init_Exception): global function Exception() removed. 20748 20749 * variable.c (rb_class2name): returns "nil"/"true"/"false" for them. 20750 20751 * time.c (time_dump): time marshaling format compressed size from 20752 11 bytes to 8 bytes. thanx to tadf@kt.rim.or.jp. 20753 20754 * eval.c (rb_obj_call_init): should specify arguments explicitly. 20755 20756Wed Feb 24 15:43:28 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20757 20758 * parse.y (yylex): comment concatenation requires preceding space 20759 before backslash at the end of line. 20760 20761 * io.c (rb_f_pipe): global pipe is obsolete now. 20762 20763 * object.c (Init_Object): remove true.to_i, false.to_i. 20764 20765Tue Feb 23 14:21:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20766 20767 * parse.y (yylex): warn if identifier! immediately followed by `='. 20768 20769Tue Feb 23 12:32:41 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 20770 20771 * eval.c (rb_load): tilde expansion moved to find_file. 20772 20773 * eval.c (find_file): tilde expansion added. 20774 20775Tue Feb 23 10:50:20 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20776 20777 * eval.c (require_method): require can handle multiple fnames. 20778 20779 * hash.c (rb_hash_foreach_iter): hash key may be nil. 20780 20781Mon Feb 22 17:44:02 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20782 20783 * regex.c (re_match): should not pop failure point on success for 20784 non-greedy matches. 20785 20786 * io.c (Init_IO): remove global_functions getc, readchar, ungetc, 20787 seek, tell, rewind. 20788 20789Sat Feb 20 22:54:26 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20790 20791 * numeric.c (rb_num2long): no implicit conversion from boolean. 20792 20793Sat Feb 20 09:58:42 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 20794 20795 * numeric.c (flo_to_s): portable Infinity and NaN support. 20796 20797Sat Feb 20 07:13:31 1999 WATANABE Tetsuya <tetsu@jpn.hp.com> 20798 20799 * io.c (rb_file_sysopen): forgot to initialize a local variable. 20800 20801Fri Feb 19 23:05:07 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20802 20803 * string.c (rb_str_subseq): range check changed. 20804 20805 * marshal.c: increment MARSHAL_MINOR for Time format change. 20806 20807 * time.c (time_old_load): support old marshal format. 20808 20809 * time.c (time_load): changed for new format Y/M/D/h/m/s/usec. 20810 20811 * time.c (time_dump): marshal dump format has changed. 20812 20813Fri Feb 19 00:25:57 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20814 20815 * time.c (time_arg): should reject "sep\0" and such. 20816 20817 * time.c (time_plus): Time#+ should not receive Time object 20818 operand. 20819 20820 * string.c (rb_str_substr): negative length raises exception now. 20821 20822 * array.c (beg_len): if end == -1, it points end of the array. 20823 20824 * array.c (rb_ary_subseq): negative length raises exception now. 20825 20826Thu Feb 18 20:57:04 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp> 20827 20828 * time.c (rb_strftime): strftime() may return 0 on success too. 20829 20830 * time.c (time_strftime): `\0' within format string should not be 20831 omitted in the result. 20832 20833 * time.c (rb_strftime): zero length format. 20834 20835 * time.c (time_to_a): yday start with 1 now. 20836 20837 * time.c (time_zone): support for long timezone name. 20838 20839 * time.c (time_yday): yday start with 1 now. 20840 20841 * time.c (time_minus): minus calculation was wrong. 20842 20843 * time.c (time_minus): sec, usec should be at least `long', maybe 20844 they should be `time_t'. 20845 20846 * time.c (time_plus): addition with float was wrong. 20847 20848 * time.c (time_to_s): support for long timezone name. 20849 20850 * time.c (time_gm_or_local): too far future check moved. 20851 20852 * time.c (time_arg): treat 2 digit year as 69-99 => 1969-1999, 20853 00-68 => 2000-2068 20854 20855Thu Feb 18 03:56:47 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20856 20857 * missing/fnmatch.c: moved to missing directory. 20858 20859Wed Feb 17 16:22:26 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20860 20861 * struct.c (rb_struct_alloc): actual initialization now be done in 20862 `initialize'. 20863 20864Wed Feb 17 09:47:15 1999 okabe katsuyuki <hgc02147@nifty.ne.jp> 20865 20866 * regex.c (re_search): use mbclen() instead of ismbchar(). 20867 20868 * re.c (rb_reg_s_quote): should handle mbchars properly. 20869 20870Wed Feb 17 01:25:26 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20871 20872 * parse.y (yylex): stop comment concatenation by backslash follows 20873 after >= 0x80 char. may cause problem with Latin chars. 20874 20875 * eval.c (error_print): exception in rb_obj_as_string() caused 20876 SEGV. protect it by PUSH_TAG/POP_TAG. 20877 20878 * error.c (exc_exception): `Exception#exception' should return self. 20879 20880Wed Feb 17 01:12:22 1999 Hirotaka Ichikawa <hirotaka.ichikawa@tosmec.toshiba.co.jp> 20881 20882 * configure.in: BeOS patch. 20883 20884Tue Feb 16 14:25:00 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20885 20886 * regex.c (re_compile_pattern): should reallocate mbc space for 20887 character class unless current_mbctype is ASCII. 20888 20889Mon Feb 15 15:48:30 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 20890 20891 * configure.in: specify `-Wl,-E' only for GNU ld. 20892 20893Mon Feb 15 11:43:22 1999 GOTO Kentaro <gotoken@math.sci.hokudai.ac.jp> 20894 20895 * array.c (rb_inspecting_p): should return Qfalse. 20896 20897Sun Feb 14 22:36:40 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 20898 20899 * sprintf.c (rb_f_sprintf): `%G' was omitted. 20900 20901Sun Feb 14 12:47:48 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 20902 20903 * numeric.c (Init_Numeric): allow divide by zero on FreeBSD. 20904 20905 * numeric.c (Init_Numeric): FloatDomainError added. 20906 20907 * configure.in (AC_REPLACE_FUNCS): add checks for functions 20908 isinf, isnan, and finite. 20909 20910Sat Feb 13 01:24:16 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20911 20912 * eval.c (rb_thread_create_0): should protect th->thread. 20913 20914Fri Feb 12 16:16:47 1999 Yasuhiro Fukuma <yasuf@big.or.jp> 20915 20916 * string.c (rb_str_inspect): wrong mbc position. 20917 20918Fri Feb 12 16:21:17 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20919 20920 * eval.c (rb_thread_fd_close): 20921 20922 * io.c (rb_io_fptr_close): tell scheduler that fd is closed. 20923 20924 * io.c (rb_io_reopen): ditto. 20925 20926 * io.c (READ_CHECK): check if closed after thread context switch. 20927 20928 * ext/socket/socket.c (bsock_close_read): do not check 20929 the return value from shutdown(2). 20930 20931 * ext/socket/socket.c (bsock_close_write): ditto. 20932 20933 * ext/socket/socket.c (sock_new): need to dup(fd) for close_read 20934 and close_write. 20935 20936 * parse.y (here_document): handle newlines within #{}. 20937 20938 * regex.h: should replace symbols for ruby. 20939 20940Fri Feb 12 00:46:28 1999 Shugo Maeda <shugo@netlab.co.jp> 20941 20942 * marshal.c (r_object): should update the method name in message. 20943 20944 * marshal.c (w_object): limit should be converted into Fixnum. 20945 20946Wed Feb 10 15:20:03 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20947 20948 * regex.c (re_match): empty pattern should not cause infinite 20949 pattern match loop. 20950 20951 * regex.c (re_compile_pattern): RE_OPTIMIZE_ANCHOR for /.*/, not 20952 for /(.|\n)/. 20953 20954 * numeric.c (fix_pow): `fixnum**nil' should raise TypeError. 20955 20956 * bignum.c (rb_big_pow): need to normalize results. 20957 20958Wed Feb 10 01:42:41 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 20959 20960 * numeric.c (fix_pow): `(5**1).type' should be Integer. 20961 20962Tue Feb 9 01:22:49 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20963 20964 * parse.y (yylex): do not ignore newlines in mbchars. 20965 20966 * io.c (rb_file_s_open): mode can be specified by flags like 20967 open(2), e.g. File::open(path, File::CREAT|File::WRONLY). 20968 20969 * io.c (rb_f_open): bit-wise mode flags for pipes 20970 20971 * io.c (Init_IO): bit flags for open. 20972 20973Sat Feb 6 22:56:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20974 20975 * string.c (rb_str_sub_bang): should not overwrite match data by 20976 regexp match within the block. 20977 20978 * string.c (rb_str_gsub_bang): ditto. 20979 20980Sat Feb 6 03:06:17 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 20981 20982 * re.c (match_getter): accessing $~ without matching caused SEGV. 20983 20984Fri Feb 5 22:11:08 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 20985 20986 * parse.y (yylex): binary literal support, like 0b01001. 20987 20988 * parse.y (yylex): octal numbers can contain `_'s. 20989 20990 * parse.y (yylex): warns if non-octal number follows immediately 20991 after octal literal. 20992 20993 * parse.y (yylex): now need at least one digit after prefix such 20994 as 0x, or 0b. 20995 20996 * bignum.c (rb_str2inum): recognize binary numbers like 0b0101. 20997 20998Fri Feb 5 03:26:56 1999 Yasuhiro Fukuma <yasuf@big.or.jp> 20999 21000 * ruby.c (proc_options): -e without program prints error. 21001 21002Fri Feb 5 00:01:50 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 21003 21004 * parse.y (terms): needed to clear heredoc_end. 21005 21006 * numeric.c (flo_div): allow float division by zero. 21007 21008Thu Feb 4 11:56:24 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 21009 21010 * missing/strtod.c: for compatibility. 21011 21012 * configure.in (strtod): add strtod compatible check. 21013 21014 * numeric.c (rb_num2long): missing/vsnprintf.c does not support 21015 floating points. 21016 21017 * numeric.c (flo_to_s): ditto. 21018 21019Wed Feb 3 23:02:12 1999 Yoshida Masato <yoshidam@yoshidam.net> 21020 21021 * regex.c (re_compile_pattern): use ismbchar() to get next char. 21022 21023 * regex.c (re_search): wrong mbchar shift. 21024 21025 * re.c (rb_reg_search): needed to reset $KCODE after match. 21026 21027 * regex.c (re_compile_fastmap): mbchars should match with \w. 21028 21029Wed Feb 3 22:35:12 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 21030 21031 * parse.y (yylex): too big float raise warning, not error. 21032 21033Tue Feb 2 23:41:42 1999 Yoshida Masato <yoshidam@yoshidam.net> 21034 21035 * regex.c (re_match): wrong boundary. 21036 21037 * regex.c (IS_A_LETTER): re_mbctab[c] may not be 1 for mbc. 21038 21039 * regex.c (re_search): mbchar support for shifting ranges. 21040 21041 * regex.c (MBC2WC): wrong conversion. 21042 21043Wed Feb 3 15:03:16 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 21044 21045 * parse.y (parse_regx): need to escape parens if terminators are 21046 not any kind of parenthesis. 21047 21048 * parse.y (parse_qstring): ditto. 21049 21050 * parse.y (parse_string): ditto. 21051 21052Tue Feb 2 17:11:26 1999 WATANABE Tetsuya <tetsu@jpn.hp.com> 21053 21054 * string.c (rb_str_gsub_bang): too small realloc condition. 21055 21056Mon Feb 1 10:01:17 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 21057 21058 * parse.y (yylex): range check for the float literal. 21059 21060Sat Jan 30 18:34:16 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 21061 21062 * ruby.c (usage): -h option to show brief command description. 21063 21064Sat Jan 30 08:45:16 1999 IKARASHI Akira <ikarashi@itlb.te.noda.sut.ac.jp> 21065 21066 * lib/cgi-lib.rb: cookie support added. 21067 21068Sat Jan 30 13:38:24 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 21069 21070 * regex.c (re_compile_pattern): mbchars should match with \w 21071 within character class. Was matching with \W. 21072 21073 * regex.c (re_match): \w should match with multi byte characters, 21074 not its first byte. 21075 21076Sat Jan 30 10:06:41 1999 Yoshida Masato <yoshidam@yoshidam.net> 21077 21078 * re.c (rb_reg_s_new): UTF-8 flag handle (/u, /U). 21079 21080 * re.c (rb_kcode): $KCODE handle for UTF-8. 21081 21082Sat Jan 30 01:51:16 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 21083 21084 * array.c (rb_ary_delete_if): RTEST() missing. 21085 21086 * hash.c (delete_if_i): ditto. 21087 21088 * enum.c (Init_Enumerable): select (=find_all), detect (=find) 21089 added as aliases. 21090 21091Fri Jan 29 21:32:19 1999 WATANABE Tetsuya <tetsu@jpn.hp.com> 21092 21093 * hash.c (rb_f_setenv): SEGV caused by small typo. 21094 21095Fri Jan 29 00:15:58 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 21096 21097 * lib/parsedate.rb (parsedate): support date format like 21098 23-Feb-93, which is required by HTTP/1.1. 21099 21100 * variable.c (find_class_path): avoid calling rb_iv_set(). 21101 21102 * eval.c (backtrace): do not need to modify $SAFE internally. 21103 21104 * variable.c (classname): inline __classid__ access. 21105 21106 * eval.c (THREAD_ALLOC): needed to initialize wrapper. 21107 21108 * lib/ftools.rb (makedirs): allows slash at the end of the path. 21109 21110 * numeric.c (rb_fix_induced_from): ensure result to be Fixnum. 21111 21112Thu Jan 28 17:31:43 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 21113 21114 * numeric.c (flo_to_s): float format changed to "%16.10g". 21115 21116Thu Jan 28 02:13:11 1999 Yoshinori Toki <toki@freedom.ne.jp> 21117 21118 * array.c (rb_ary_store): expand allocated buffer by 3/2. 21119 21120Wed Jan 27 17:50:02 1999 Kazuhiro HIWADA <hiwada@kuee.kyoto-u.ac.jp> 21121 21122 * bignum.c (dbl2big): raised error if double is too big to cast 21123 into long. check added. 21124 21125Wed Jan 27 03:16:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 21126 21127 * variable.c (rb_mod_const_at): can't list constants of the 21128 untainted objects in safe mode. 21129 21130 * class.c (method_list): can't list methods of untainted objects 21131 in safe mode. 21132 21133Tue Jan 26 02:40:41 1999 GOTO Kentaro <gotoken@math.sci.hokudai.ac.jp> 21134 21135 * prec.c: Precision support for numbers. 21136 21137Thu Jan 21 19:08:14 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 21138 21139 * eval.c (rb_f_raise): calls `exception' method, not `new'. 21140 21141 * error.c (exc_exception): renamed from `new'. 21142 21143Wed Jan 20 03:39:48 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 21144 21145 * parse.y (yycompile): rb_in_compile renamed to ruby_in_compile. 21146 21147 * ruby.c (load_file): define DATA if __END__ appeared in script. 21148 21149Tue Jan 19 14:57:51 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 21150 21151 * parse.y (here_document): need to protect lex_lastline. 21152 21153 * parse.y (yylex): disable %//, %'', %``. 21154 21155Tue Jan 19 05:01:16 1999 Koji Arai <JCA02266@nifty.ne.jp> 21156 21157 * array.c (beg_len): round range value too much. 21158 21159Mon Jan 18 13:02:27 1999 Kuroda Jun <jkuro@dwe.co.jp> 21160 21161 * hash.c (env_keys): strchr() may return NULL. 21162 21163Mon Jan 18 17:51:47 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 21164 21165 * instruby.rb (wdir): install libruby.a in archdir. 21166 21167 * lib/ftools.rb (install): removes file before installing. 21168 21169Mon Jan 18 16:55:31 1999 MAEDA shugo <shugo@aianet.ne.jp> 21170 21171 * eval.c (rb_callcc): experimental continuation support. 21172 21173Sun Jan 17 19:45:37 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 21174 21175 * pack.c (pack_pack): nil packing caused SEGV. 21176 21177Sat Jan 16 13:18:03 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 21178 21179 * string.c (rb_str_concat): character (fixnum) can be append to 21180 strings 21181 21182 * array.c (rb_ary_unshift): unshift returns array. 21183 21184Sat Jan 16 01:39:19 1999 Yoshida Masato <yoshidam@tau.bekkoame.ne.jp> 21185 21186 * string.c (rb_str_split_method): UTF-8 support. 21187 21188 * regex.c: UTF-8 support. 21189 21190Thu Jan 14 00:42:55 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 21191 21192 * string.c (rb_str_gsub_bang): forget to add offset for null match. 21193 21194 * eval.c (rb_thread_local_aset): can't modify in tainted mode. 21195 21196 * hash.c (env_each_key): avoid generating temporary array. 21197 21198Wed Jan 13 23:58:50 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 21199 21200 * hash.c (rb_f_setenv): name and value can be tainted. 21201 21202Wed Jan 6 02:42:08 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 21203 21204 * bignum.c (Init_Bignum): forgot to define Bignum#===. 21205 21206 * gc.c (gc_sweep): if add_heap() is called during GC, objects on 21207 allocated heap page(s) are not marked, should not be recycled. 21208 21209 * gc.c (gc_sweep): should refer latest freelist. 21210 21211 * gc.c (id2ref): modified to support performance patch. 21212 21213 * object.c (rb_obj_id): performance patch (no bignum for id). 21214 21215Tue Jan 5 01:56:18 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 21216 21217 * config.guess: merge up-to-date from autoconf 2.12. 21218 21219 * array.c (rb_ary_join): avoid calling rb_protect_inspect() till 21220 it is really needed. 21221 21222 * object.c (rb_obj_inspect): show detailed information for the 21223 instance variables (infinite loop can avoid now). 21224 21225 * struct.c (rb_struct_inspect): avoid infinite loop. 21226 21227Sun Jan 3 01:37:58 1999 Takao KAWAMURA <kawamura@ike.tottori-u.ac.jp> 21228 21229 * misc/ruby-mode.el (ruby-end-of-defun): moved too much. 21230 21231 * misc/ruby-mode.el (ruby-mode-variables): set paragraph-separator 21232 for the mode. 21233 21234 * misc/ruby-mode.el: proper font-lock for `def' and `nil' etc. 21235 21236Sat Jan 2 17:09:06 1999 Yukihiro Matsumoto <matz@netlab.co.jp> 21237 21238 * eval.c (rb_jump_tag): new api to invoke JUMP_TAG. tag values 21239 can obtained from rb_eval_string_protect()/rb_load_protect(). 21240 21241 * eval.c (rb_rescue): now catches all exceptions but SystemExit. 21242 21243 * eval.c (rb_eval_string_protect): eval string with protection. 21244 21245 * eval.c (rb_load_protect): load file with protection. 21246 21247 * io.c (rb_io_puts): avoid infinite loop for cyclic arrays. 21248 21249 * eval.c (rb_thread_local_aref): thread local hash tables. 21250 21251 * object.c (rb_equal): check exact equal before calling `=='. 21252 21253Thu Dec 31 22:28:53 1998 MAEDA shugo <shugo@aianet.ne.jp> 21254 21255 * eval.c (rb_f_require): feature names should be provided with 21256 DLEXT extension. 21257 21258 * marshal.c (Init_marshal): need to provide `marshal.so'. 21259 21260Wed Dec 30 02:29:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21261 21262 * variable.c (classname): do not call rb_ivar_set(). 21263 21264 * eval.c (ruby_run): finalizers were called too early. 21265 21266Fri Dec 25 12:19:30 1998 Fukuda Masaki <fukuda@wni.co.jp> 21267 21268 * gc.c (rb_gc_mark): should not return on FL_EXIVAR. 21269 21270Fri Dec 25 11:56:51 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21271 21272 * gc.c (gc_mark): proper scanning for temporary region. 21273 21274 * eval.c (TMP_ALLOC): protection for C_ALLOCA was broken. 21275 21276Thu Dec 24 18:26:04 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21277 21278 * development version 1.3 released. 21279 21280Thu Dec 24 00:17:00 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21281 21282 * eval.c (rb_load): top self should be set properly. 21283 21284 * variable.c (classname): check __classpath__ if it is defined. 21285 21286 * variable.c (classname): invalid warning at -v with static linked 21287 ruby interpreter. 21288 21289 * eval.c (is_defined): modified for expr::Const support. 21290 21291 * eval.c (rb_eval): invoke method expr::Const if expr is not class 21292 nor module. 21293 21294 * parse.y (primary): enable expr::identifier as method 21295 invocation. 21296 21297Wed Dec 23 03:04:36 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21298 21299 * regex.c (re_match): avoid too many loop pops for (?:..). 21300 21301Tue Dec 22 18:01:08 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21302 21303 * experimental version 1.1d1 released. 21304 21305Mon Dec 21 01:33:03 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21306 21307 * eval.c (TMP_PROTECT): add volatile to ensure GC protection. 21308 21309 * string.c (rb_str_gsub_bang): calculate buffer size properly. 21310 21311 * parse.y (lex_get_str): needed to return Qnil at EOS. 21312 21313 * eval.c (find_file): check policy modified, raise exception 21314 immediately for tainted load_path. 21315 21316 * hash.c (rb_f_setenv): do not depend on setenv() nor putenv(). 21317 21318Thu Dec 17 06:29:23 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21319 21320 * ext/tk/tkutil.c (tk_s_new): use rb_obj_instance_eval(), instead 21321 of rb_yield_0(). 21322 21323 * eval.c (rb_f_require): forgot to call find_file in some cases. 21324 21325 * eval.c (rb_f_require): `require "feature.so"' to load dynamic 21326 libraries. old `require "feature.o"' is still OK. 21327 21328 * eval.c (rb_eval): yield without value dumped core. 21329 21330Wed Dec 16 16:28:31 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21331 21332 * experimental version 1.1d0 (pre1.2) released. 21333 21334Wed Dec 16 10:43:34 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21335 21336 * regex.c (re_search): bound check before calling re_match(). 21337 21338Tue Dec 15 13:59:01 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21339 21340 * error.c (exc_to_s): returns class name for unset mesg. 21341 21342 * error.c (exc_initialize): do not initialize @mesg by "". 21343 21344 * parse.y (nextc): __END__ should handle CR+LF newlines. 21345 21346Wed Dec 9 13:37:12 1998 MAEDA shugo <shugo@aianet.ne.jp> 21347 21348 * pack.c (encodes): use buffering for B-encoding. 21349 21350 * pack.c (pack_pack): Q-encoding by 'M'. 21351 21352Tue Dec 8 14:10:00 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21353 21354 * variable.c (generic_ivar_get): any object can have instance 21355 variables now. great improvement. 21356 21357 * variable.c (rb_name_class): do not set __classpath__ by default, 21358 use __classid__ instead. 21359 21360Mon Dec 7 22:08:22 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21361 21362 * ruby.h (struct RFile): IO objects can have instance variables now. 21363 21364 * parse.y (primary): allows `def obj::foo; .. end'. 21365 21366Mon Dec 7 18:24:50 1998 WATANABE Tetsuya <tetsu@jpn.hp.com> 21367 21368 * ruby.c (set_arg0): $0 support for HP-UX. 21369 21370Mon Dec 7 01:30:28 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 21371 21372 * dln.c (dln_strerror): better error messages on win32. 21373 21374Sat Dec 5 23:27:23 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21375 21376 * parse.y (here_document): indentable here-doc delimiter by 21377 `<<-'. Proposed by Clemens <c.hintze@gmx.net>. Thanks. 21378 21379Thu Dec 3 16:50:17 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21380 21381 * ext/extmk.rb.in (realclean): trouble on install. 21382 21383Sun Nov 29 22:25:39 1998 Takaaki Tateishi <ttate@jaist.ac.jp> 21384 21385 * process.c (f_exec): check number of argument. 21386 21387Thu Nov 26 17:27:30 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21388 21389 * version 1.1c9 released. 21390 21391Wed Nov 25 13:07:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21392 21393 * string.c (rb_str_dup): do not copy additional data (STR_NO_ORIG). 21394 21395 * parse.y (yycompile): reduce known memory leak (hard to remove). 21396 21397Wed Nov 25 03:41:21 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21398 21399 * st.c (st_init_table_with_size): round size up to prime number. 21400 21401Sat Nov 21 23:27:23 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21402 21403 * hash.c (rb_hash_aset): reduce copying key strings. 21404 21405 * gc.c (looks_pointerp): declare as inline function if possible. 21406 21407 * st.c (PTR_NOT_EQUAL): compare hash values first before calling 21408 comparing function. 21409 21410 * st.c (ADD_DIRECT): save hash value in entries to reduce hash 21411 calculation. 21412 21413 * string.c (rb_str_gsub_bang): avoid rb_scan_args() to speed-up. 21414 21415 * string.c (rb_str_sub_bang): ditto. 21416 21417Sat Nov 21 18:44:06 1998 Masaki Fukushima <fukusima@goto.info.waseda.ac.jp> 21418 21419 * time.c (time_s_now): had memory leak. 21420 21421 * ext/md5/md5init.c (md5_new): had memory leak. 21422 21423 * ext/md5/md5init.c (md5_clone): ditto. 21424 21425Fri Nov 20 23:23:23 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21426 21427 * lib/delegate.rb: do not propagate hash and eql?. 21428 21429Thu Nov 19 01:40:52 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21430 21431 * sample/ruby-mode.el (ruby-expr-beg): failed to find reserved 21432 word boundary. 21433 21434 * eval.c (rb_eval): avoid calling `concat' method. calls 21435 rb_ary_concat() directly for efficiency. 21436 21437 * eval.c (rb_eval): actual rest arguments extended arrays too much. 21438 21439Wed Nov 18 14:30:24 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21440 21441 * class.c (rb_define_global_function): global functions now be 21442 module function of the Kernel. 21443 21444Wed Nov 18 10:48:09 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21445 21446 * io.c (read_all): SEGV on large files. 21447 21448Tue Nov 17 18:11:20 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21449 21450 * version 1.1c8 released. 21451 21452Tue Nov 17 16:58:47 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21453 21454 * parse.y (arg): assignment to attribute name start with capital 21455 should be allowed. 21456 21457 * eval.c (thread_alloc): needed to mark terminated threads too. 21458 21459Tue Nov 17 12:33:48 1998 Motoyuki Kasahara <m-kasahr@sra.co.jp> 21460 21461 * ext/extmk.rb.in (create_makefile): Set `libdir' to `@libdir@', 21462 Set `pkglibdir' to `$libdir/$(RUBY_INSTALL_NAME)'. 21463 21464Tue Nov 17 10:30:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21465 21466 * sprintf.c (f_sprintf): %l%%c -> %%l%c 21467 21468Tue Nov 17 01:08:50 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21469 21470 * parse.y (ret_args): distinguish `a' and `*a' for the arguments 21471 of yield and return. 21472 21473 * eval.c (rb_eval): flip3 should work like sed. 21474 21475 * eval.c (rb_eval): flip{2,3} now have independent state for each 21476 scope to work fine with thread. 21477 21478Mon Nov 16 23:26:29 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21479 21480 * parse.y (primary): exec else clause if no exception raised. 21481 21482Sun Nov 15 15:44:07 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp> 21483 21484 * ext/extmk.rb.in (install): bug in target. 21485 21486Sat Nov 14 11:02:05 1998 Motoyuki Kasahara <m-kasahr@sra.co.jp> 21487 21488 * Makefile.in (install): Give the argument `$(DESTDIR)' to 21489 `instruby.rb'. 21490 21491 * instruby.rb: Recognize ARG[0] as `destdir'. 21492 21493 * instruby.rb: Give the argument `destdir' to `extmk.rb'. 21494 21495 * ext/extmk.rb.in: Recognize ARG[1] as `$destdir'. 21496 21497 * instruby.rb: Create the installation directories (bindir, libdir, 21498 archdir, pkglibdir, archdir, and mandir) under `destdir', and 21499 install all files under there. 21500 21501 * ext/extmk.rb.in: Likewise. 21502 21503Sat Nov 14 10:56:55 1998 Motoyuki Kasahara <m-kasahr@sra.co.jp> 21504 21505 * instruby.rb: Add the variable `pkglibdir'. 21506 21507 * instruby.rb: Set the variable `libdir' to `$(libdir)', not 21508 `$(libdir)/$(ruby_install_name)'. `libruby.so' and `libruby.so.LIB' 21509 are installed at `libdir'. 21510 21511 * instruby.rb: Set the variable `archdir' to `$(pkglibdir)/$(arch)'. 21512 21513Fri Nov 13 19:43:29 1998 KIMURA Koichi <kbk@kt.rim.or.jp> 21514 21515 * missing/nt.c (SafeFree): wrong free offset. 21516 21517Thu Nov 12 20:11:53 1998 Koji Arai <JCA02266@nifty.ne.jp> 21518 21519 * sample/ruby-mode.el: wrong highlight. 21520 21521 * parse.y (parse_regx): newline in regexp was ignored. 21522 21523Wed Nov 11 10:54:57 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21524 21525 * parse.y (here_document): <<'FOO' should not escape anything. 21526 21527 * parse.y (here_document): bare << here-doc available, even though 21528 it's deprecated. 21529 21530 * file.c (rb_file_s_readlink): return value should be tainted. 21531 21532 * ext/etc/etc.c (setup_passwd): information (eg. GCOS name) should 21533 be tainted (modified at Perl Conference). 21534 21535Tue Nov 10 00:22:11 1998 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 21536 21537 * configure.in: elf support for FreeBSD 3.x 21538 21539Tue Nov 10 00:05:43 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21540 21541 * parse.y (yylex): here document available in eval. 21542 21543Mon Nov 9 17:55:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21544 21545 * version 1.1c7 released. 21546 21547Fri Nov 6 19:25:27 1998 Takao KAWAMURA <kawamura@ike.tottori-u.ac.jp> 21548 21549 * sample/ruby-mode.el: font-lock patch. 21550 21551Thu Nov 5 15:42:22 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21552 21553 * sample/README, lib/README: simple description for each file. 21554 21555Wed Nov 4 18:14:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21556 21557 * eval.c (assign): attribute assignment should be called as public. 21558 21559Tue Nov 3 23:36:39 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21560 21561 * string.c (rb_str_dump): dumps core for negative char value. 21562 21563 * regex.c (re_compile_pattern): out of boundary access for empty 21564 regexp. 21565 21566Mon Nov 2 22:54:01 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21567 21568 * string.c (rb_str_aset): `str[str]' replaces first match. 21569 21570Mon Nov 2 18:24:33 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21571 21572 * eval.c (thread_create): was accessing modified status. 21573 21574Sun Nov 1 01:18:52 1998 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 21575 21576 * gc.c (xrealloc): size 0 needs round up to 1. 21577 21578Sat Oct 31 23:18:34 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21579 21580 * string.c (rb_str_split_method): negative LIMIT means number of 21581 split fields are unlimited, as in perl. 21582 21583 * string.c (rb_str_split_method): if LIMIT is unspecified, 21584 trailing null fields are stripped. 21585 21586Sat Oct 31 04:16:14 1998 Inaba Hiroto <inaba@st.rim.or.jp> 21587 21588 * string.c (str_aref): regexp index SEGVed. 21589 21590Fri Oct 30 14:33:47 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21591 21592 * re.c (reg_match): returns nil for unmatch. 21593 21594 * dir.c (dir_entries): new method. 21595 21596 * eval.c (block_pass): do not push block, substitute it. 21597 21598Fri Oct 30 01:28:52 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21599 21600 * range.c (range_check): avoid <=> check for Fixnums. 21601 21602 * array.c (rb_ary_aset): accept negative index. 21603 21604Wed Oct 28 22:00:54 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21605 21606 * regex.c (re_match): access out of boundary fixed. 21607 21608Wed Oct 28 11:37:42 1998 TAMITO <tommy@valley.ne.jp> 21609 21610 * io.c (f_select): fd number comparison bug. 21611 21612Tue Oct 27 23:07:11 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21613 21614 * sample/ruby-mode.el (ruby-parse-region): forgot to support %w() 21615 style array literal. 21616 21617 * eval.c (rb_eval): unused block raises warning. 21618 21619Mon Oct 26 09:37:53 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21620 21621 * eval.c (dvar_asgn_push): dvar pushed too many times if 21622 variable-in-block first appear in loops. 21623 21624Sun Oct 25 22:59:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21625 21626 * regex.c (set_list_bits): was using wrong offset. 21627 21628Thu Oct 22 00:07:11 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21629 21630 * eval.c (rb_obj_method): method retrieved from tainted object 21631 should be tainted too. 21632 21633 * eval.c (method_call): safe_level should be restored during 21634 Method#call. 21635 21636Wed Oct 21 14:21:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21637 21638 * io.c (Init_IO): new constants IO::SEEK_{SET,CUR,END}. 21639 21640 * io.c (rb_f_ungetc): ungetc pushes a char back into STDIN. 21641 21642Mon Oct 19 11:50:00 1998 Motoyuki Kasahara <m-kasahr@sra.co.jp> 21643 21644 * ext/extmk.rb: Load '@top_srcdir@/lib/find.rb', not 21645 '../lib/find.rb'. 21646 21647 * ext/extmk.rb: Distinguish between `top_srcdir' and `topdir'. 21648 21649 * Makefile.in (CFLAGS): Add `-I.'. 21650 21651 * Makefile.in (lex.c): Give `@srcdir@/keywords' to gperf, not 21652 `keywords'. 21653 21654 * instruby.rb: Use `CONFIG["bindir"]', instead of `prefix + "/bin"'. 21655 21656 * instruby.rb: Use `CONFIG["libdir"]', instead of `prefix + "/lib"'. 21657 21658 * instruby.rb Use `CONFIG["mandir"]', instead of `prefix + "/man"'. 21659 21660 * instruby.rb (wdir): Add the variable to preserve the current 21661 working directory. 21662 21663 * instruby.rb: Chdir to wdir before install `config.h' and 21664 `rbconfig.rb'. 21665 21666Mon Oct 19 10:07:01 1998 EGUCHI Osamu <eguchi@shizuokanet.ne.jp> 21667 21668 * eval.c (rb_eval): reduce recursive calls to rb_eval(). 21669 21670Fri Oct 16 15:31:45 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21671 21672 * time.c (time_new_internal): timeval must be positive. 21673 21674Thu Oct 15 13:54:48 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21675 21676 * parse.y (arg): local variables can be accessed within right side 21677 expression in assignment, notably in blocks. 21678 21679Wed Oct 14 00:18:33 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21680 21681 * array.c (Init_Array): Array#=== is now for equal check, not 21682 inclusion check. 21683 21684 * parse.y (when_args): `when a, *b' style new syntax for array 21685 expansion in `case'. 21686 21687Tue Oct 13 14:30:32 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21688 21689 * object.c (rb_obj_untaint): taint marks can be unset. 21690 21691 * eval.c (rb_eval): taint propagation for embedded strings. 21692 21693Mon Oct 12 13:27:15 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21694 21695 * eval.c (rb_call0): check stack depth more frequently. 21696 21697Mon Oct 12 08:08:30 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21698 21699 * io.c (rb_p): can print even in secure mode. 21700 21701Sun Oct 11 22:50:13 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21702 21703 * variable.c (rb_const_set): taint check for modification. 21704 21705 * variable.c (rb_ivar_set): taint check for modification. 21706 21707 * string.c (rb_str_modify): taint check for modification. 21708 21709 * hash.c (rb_hash_modify): taint check for modification. 21710 21711 * array.c (rb_ary_modify): taint check for modification. 21712 21713 * ruby.h (FL_TAINT): taint for all objects, not only strings. 21714 21715Fri Oct 9 17:01:14 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21716 21717 * io.c (read_all): read() returns "" at immediate EOF. 21718 21719 * io.c (io_read): read(nil) read all until EOF. 21720 21721Thu Oct 8 13:32:13 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21722 21723 * time.c (time_dump): marshal can dump Time object now. 21724 21725 * marshal.c (Init_marshal): rename marshal methods `_dump_to' to 21726 `_dump', `_load_from' to `_load'. 21727 21728 * parse.y (rb_intern): "+=".intern generates proper symbol. 21729 21730Mon Oct 5 18:31:53 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21731 21732 * version 1.1c6 released. 21733 21734Fri Oct 2 14:22:33 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21735 21736 * regex.c (re_search): `/\s*(--)$/ =~ "- --"' did not match, 21737 because of wrong optimize condition. 21738 21739Mon Oct 1 01:55:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21740 21741 * parse.y (rb_intern): should not raise exceptions. 21742 21743 * parse.y (yylex): symbol like `:foo?=' should not be allowed. 21744 21745 * ext/extmk.rb.in: makes *.a for static link modules. 21746 21747Wed Sep 30 14:13:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21748 21749 * eval.c (rb_thread_start): supports making a subclass of the 21750 Thread class. 21751 21752Tue Sep 29 17:46:01 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21753 21754 * eval.c (rb_thread_join): join is now an instance method. 21755 21756Fri Sep 25 12:01:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21757 21758 * parse.y (yylex): `@foo!' should be an error. 21759 21760Thu Sep 24 14:55:06 1998 WATANABE Tetsuya <tetsu@jpn.hp.com> 21761 21762 * ext/etc/etc.c (Init_etc): wrong field definition. 21763 21764Thu Sep 17 17:09:05 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21765 21766 * io.c (io_reopen): was creating FILE* for wrong fd. 21767 21768Tue Sep 15 05:28:11 1998 Koji Arai <JCA02266@nifty.ne.jp> 21769 21770 * regex.c (re_compile_pattern): forgot to fixup for the pattern 21771 like (?=(A)|(B)). 21772 21773Tue Sep 15 01:06:08 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21774 21775 * io.c (rb_io_gets_internal): do not set $_ by default, only 21776 gets/readline set the variable. 21777 21778 * eval.c (rb_f_load): load toplevel class is set to anonymous 21779 module if safe_level >= 5, to encapsulate modification. 21780 21781 * eval.c (rb_f_load): set frame properly. 21782 21783 * string.c (rb_str_each_line): do not set $_. 21784 21785Mon Sep 14 14:42:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21786 21787 * regex.c (re_match): beginning and end of the string, do not 21788 automatically match `\b'. 21789 21790 * string.c (scan_once): consume at least on character. 21791 21792 * regex.c (re_search): wrong behavior for negative range. 21793 21794Sat Sep 12 21:21:26 1998 Koji Arai <JCA02266@nifty.ne.jp> 21795 21796 * regex.c (re_search): range value should be maintained. 21797 21798Thu Sep 10 10:55:00 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21799 21800 * parse.y (backref_error): yyerror does not understand formats. 21801 21802Tue Sep 8 18:05:33 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21803 21804 * version 1.1c5 released. 21805 21806Tue Sep 8 10:03:39 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21807 21808 * string.c (str_each_line): wrong line splitting with newline at 21809 top of the string. 21810 21811 * string.c: non bang methods return copied string. 21812 21813 * eval.c (f_END): needed to initialize frame->argc; 21814 21815Fri Sep 4 11:27:40 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21816 21817 * bignum.c (bigadd): proper sign combination. 21818 21819 * regex.c (re_search): wrong return value for \A. 21820 21821Thu Sep 3 14:08:14 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21822 21823 * version 1.1c4 released. 21824 21825Tue Sep 1 10:47:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21826 21827 * regex.c (slow_search): do not compare llen and blen. llen may 21828 be longer than blen, if little contains 0xff. 21829 21830 * regex.c (mbctab_euc): set 0x8e as multibyte character. 21831 21832 * string.c (str_inspect): mask character for octal output. 21833 21834Mon Aug 31 15:32:41 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21835 21836 * regex.c (re_search): use calculated offset if exactn is the 21837 first opcode in the compiled regexp. 21838 21839 * regex.c (bm_search): use Boyer-Moore search for simple search. 21840 21841 * regex.c (must_instr): wrong length check if pattern includes 21842 byte escape by 0xff. 21843 21844 * regex.c (re_compile_pattern): need not to check current_mbctype. 21845 21846Sat Aug 29 16:31:40 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21847 21848 * eval.c (rb_check_safe_str): avoid calling rb_id2name() in normal 21849 cases to speed-up. 21850 21851 * eval.c (thread_raise): do not save context of terminated thread. 21852 21853 * regex.c (re_compile_pattern): mask \nnn over 256. 21854 21855Sat Aug 29 02:09:46 1998 Koji Arai <JCA02266@nifty.ne.jp> 21856 21857 * sprintf.c (f_sprintf): wrong buffer size check. 21858 21859Fri Aug 28 01:57:04 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21860 21861 * regex.c (re_compile_pattern): accepts (?ix-ix) and (?ix-ix:...). 21862 21863Fri Aug 28 12:25:33 1998 Hiroshi Igarashi <igarashi@ueda.info.waseda.ac.jp> 21864 21865 * ruby.c (ruby_require_modules): load modules in appearing order. 21866 21867Fri Aug 28 01:57:04 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21868 21869 * regex.c (re_compile_pattern): accepts (?ix-ix) and (?ix-ix:...). 21870 21871Thu Aug 27 12:54:28 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21872 21873 * version 1.1c3 released. 21874 21875Wed Aug 26 14:40:56 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21876 21877 * eval.c (rb_eval): check whether ruby_class is properly set, 21878 before accessing it. 21879 21880 * eval.c (rb_obj_instance_eval): ruby_class should be Qnil for 21881 special objects like Fixnums. 21882 21883 * ext/tkutil/tkutil.c (Init_tkutil): removes calls to 21884 rb_yield_0(). used instance_eval() instead in the tk.rb. 21885 21886Wed Aug 26 11:47:00 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21887 21888 * regex.c (re_match): pop non-greedy stack elements on success. 21889 21890Wed Aug 26 09:25:35 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 21891 21892 * ruby.h: add #define environ for cygwin32. 21893 21894Tue Aug 25 08:57:41 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21895 21896 * array.c (rb_ary_sort_bang): temporarily freeze sorting array. 21897 21898Mon Aug 24 18:46:44 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 21899 21900 * dln.c (dln_find_1): path check was too strict. 21901 21902Mon Aug 24 15:28:11 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 21903 21904 * parse.y (f_arglist): opt_nl added after f_args. 21905 21906Fri Aug 21 01:06:01 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21907 21908 * ext/socket/socket.c: grand renaming on socket.c. 21909 21910 * ext/socket/socket.c (inet_aton): supply inet_aton for those 21911 systems that do not have it. 21912 21913 * ext/socket/socket.c (setipaddr): use inet_aton instead of 21914 inet_addr. 21915 21916 * ext/socket/socket.c (tcp_s_gethostbyname): new method: works 21917 like Socket.gethostbyname but returning array contains ip-addrs 21918 as octet decimal string format like "127.0.0.1". 21919 21920 * ext/socket/socket.c (mkhostent): return format changed to 21921 [host, aliases, type, ipaddr..] as documented. 21922 21923Wed Aug 19 00:31:09 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21924 21925 * io.c (io_ctl): forgot to place TRAP_END at right position. 21926 21927Fri Aug 14 11:01:47 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21928 21929 * eval.c (call_trace_func): save __FILE__, __LINE__ before 21930 executing trace_func, since trace function should not corrupt 21931 line number information. 21932 21933Thu Aug 13 15:09:02 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21934 21935 * array.c (ary_s_new): was marking unallocated region on GC. 21936 21937Tue Aug 11 11:57:35 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21938 21939 * version 1.1c2 released. 21940 21941Mon Aug 10 14:05:30 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21942 21943 * process.c (f_system): removed fflush(stdin). 21944 21945Fri Aug 7 17:44:44 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21946 21947 * error.c (err_snprintf): replace sprintf for fixed sized buffer, 21948 with snprintf to avoid buffer over-run. For systems which does 21949 dot provide snprintf, missing/snprintf.c added. 21950 21951Wed Aug 5 00:47:35 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21952 21953 * re.c (rb_reg_search): recycle match object. 21954 21955Mon Aug 3 09:17:55 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21956 21957 * string.c (rb_str_gsub_bang): do not allocate temporary string. 21958 21959 * string.c (rb_str_sub_bang): use inline replace. 21960 21961Wed Jul 29 00:36:08 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21962 21963 * hash.c (hash_s_new): the default value can be specified. 21964 21965 * hash.c (hash_default): method to set the default value. 21966 21967 * hash.c (hash_aref): now returns the default value. 21968 21969Tue Jul 28 13:03:25 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21970 21971 * array.c (ary_s_new): argument to specify initial value is added. 21972 21973 * array.c (ary_s_new): specifies size, not capacity. 21974 21975Mon Jul 27 12:39:34 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21976 21977 * string.c (str_replace): zero fill for expansion gap. 21978 21979 * regex.c (mbctab_euc): set flags on for 0xA1-0xFE. suggested by 21980 <inaba@st.rim.or.jp>. 21981 21982 * string.c (str_inspect): consider current_mbctype. 21983 21984Sun Jul 26 15:37:11 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp> 21985 21986 * array.c (ary_s_new): Array.new(1<<30) dumps core. 21987 21988Fri Jul 24 13:40:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21989 21990 * version 1.1c1 released. 21991 21992Fri Jul 24 02:10:22 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 21993 21994 * marshal.c (r_bytes2): allocated buffer size was too short. 21995 21996 * marshal.c (w_object): saves all options, not only casefold flag. 21997 21998 * re.c (reg_clone): now copies options properly. 21999 22000 * re.c (reg_get_kcode): code number was wrong. 22001 22002Thu Jul 23 13:11:32 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22003 22004 * eval.c (rb_attr): argument should be symbol or string. 22005 22006Wed Jul 22 11:59:34 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22007 22008 * regex.c (calculate_must_string): wrong offset added. 22009 22010Wed Jul 22 11:59:59 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22011 22012 * st.c (rehash): still had a GC problem. fixed. 22013 22014Tue Jul 21 13:19:30 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22015 22016 * eval.c (gc_mark_threads): crashed on GC before thread allocation. 22017 22018 * st.c (rehash): GC during rehash caused SEGV. 22019 22020Tue Jul 21 01:25:10 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22021 22022 * sprintf.c (f_sprintf): integer formatter totally re-written. 22023 22024 * sprintf.c (remove_sign_bits): support uppercase hexadecimal. 22025 22026Sat Jul 18 00:14:13 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22027 22028 * sprintf.c (f_sprintf): proper sign position for %X and %O. 22029 22030Fri Jul 17 14:10:20 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22031 22032 * version 1.1c0 released. 22033 22034Fri Jul 17 08:01:49 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp> 22035 22036 * process.c (f_exec): Check_SafeStr() added. 22037 22038 * process.c (f_system): Check_SafeStr() moved before fork(). 22039 22040Thu Jul 16 22:58:48 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22041 22042 * string.c (scan_once): substrings to the block should not be 22043 tainted. use reg_nth_match(), not str_substr(). 22044 22045 * string.c (str_substr): needed to transfer taint. 22046 22047Thu Jul 16 16:15:57 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22048 22049 * gc.c (xmalloc): object allocation count added to GC trigger. 22050 22051 * eval.c (thread_save_context): avoid marking uninitialized stack 22052 in thread_mark. GC may be triggered by REALLOC_N(). 22053 22054Wed Jul 15 15:11:57 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22055 22056 * experimental release 1.1b9_31. 22057 22058Wed Jul 15 15:05:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22059 22060 * eval.c (thread_create): exit() and abort() in threads now 22061 forwarded to main_thread. 22062 22063Tue Jul 14 14:03:47 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22064 22065 * variable.c (obj_instance_variables): list names that is not 22066 instance variables. 22067 22068 * gc.c (GC_MALLOC_LIMIT): choose smaller limit value. 22069 22070Mon Jul 13 12:39:38 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22071 22072 * object.c (str2cstr): should not return NULL. 22073 22074Fri Jul 10 11:51:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22075 22076 * parse.y (gettable): needed to add dyna_in_block() check. 22077 22078Thu Jul 9 17:38:23 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22079 22080 * experimental release 1.1b9_30. 22081 22082Thu Jul 9 16:01:48 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22083 22084 * sprintf.c (fmt_setup): format specifier for long needed. 22085 22086 * sprintf.c (f_sprintf): ditto. 22087 22088 * numeric.c (fix2str): ditto. 22089 22090 * eval.c (thread_create): no more ITIMER_REAL. 22091 22092 * eval.c (thread_create): thread finalization needed before 22093 aborting thread if thread_abort is set. 22094 22095Wed Jul 8 18:17:33 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22096 22097 * bignum.c (big_pow): abandon power by bignum (too big). 22098 22099Tue Jul 7 13:58:43 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22100 22101 * eval.c (rb_catch): add C level catch/throw feature. 22102 22103Mon Jul 6 15:18:09 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22104 22105 * parse.y (arg): proper return values for `||=' and `&&='. 22106 22107Fri Jul 3 16:05:11 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22108 22109 * experimental release 1.1b9_29. 22110 22111Fri Jul 3 11:20:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22112 22113 * marshal.c (r_byte): byte should not extend sign bit. 22114 22115 * numeric.c (fix_mul): use FIX2LONG() instead of FIX2INT() for 22116 64bit architectures. 22117 22118 * marshal.c (r_bytes): remove weird casting between pointer and int. 22119 22120 * process.c (proc_setsid): new method Process#setsid(). 22121 22122Thu Jul 2 12:49:21 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22123 22124 * marshal.c (w_object): remove `write_bignum' label for 64bit 22125 architectures. 22126 22127 * marshal.c (r_bytes): needs int, not long. 22128 22129Wed Jul 1 14:21:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22130 22131 * numeric.c (flo_plus): should not allow addition with strings. 22132 22133Wed Jul 1 13:09:01 1998 Keiju ISHITSUKA <keiju@rational.com> 22134 22135 * numeric.c (num_uminus): wrong coerce direction. 22136 22137Tue Jun 30 10:13:44 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22138 22139 * io.c (f_p): accepts arbitrary number of arguments. 22140 22141 * eval.c (rb_yield_0): there's some case that iterator_p() returns 22142 true even if the_block was not set. check added. 22143 22144Tue Jun 30 01:05:20 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22145 22146 * eval.c (BEGIN_CALLARGS): adjust the_block before evaluating the 22147 receiver's value and the arguments. 22148 22149Fri Jun 26 18:02:50 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22150 22151 * experimental release 1.1b9_28. 22152 22153Fri Jun 26 11:01:26 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 22154 22155 * string.c (str_aset_method): needed to convert to string. 22156 22157Thu Jun 25 02:05:50 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22158 22159 * regex.c (re_search): optimize for `.*' at beginning of the 22160 pattern. 22161 22162 * regex.c (re_search): optimize for character class repeat at 22163 beginning of the pattern. 22164 22165 * regex.c (re_compile_pattern): detect optimization potential for 22166 the compiled patterns. 22167 22168Thu Jun 25 00:02:26 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 22169 22170 * re.c (reg_s_new): flag value was wrong. 22171 22172Wed Jun 24 23:45:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22173 22174 * regex.c (re_search): wrong anchor handling for reverse search. 22175 22176Wed Jun 24 02:18:57 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22177 22178 * parse.y (mlhs): `((a,b)),c = [[1,2]],3' assigns a=1,b=2,c=3. 22179 22180Tue Jun 23 11:46:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22181 22182 * parse.y (yylex): `&&=' and `||=' added. 22183 22184Sat Jun 20 02:53:50 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22185 22186 * parse.y (assignable): nesting local variables should have higher 22187 priority than normal local variables for assignment too. 22188 22189Fri Jun 19 18:28:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22190 22191 * experimental release 1.1b9_27. 22192 22193Fri Jun 19 14:34:49 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22194 22195 * eval.c (assign): support hack for nested multiple assignment. 22196 22197 * parse.y (mlhs): nested multiple assignment. 22198 22199 * eval.c (rb_eval): in-block variables now honors static scope. 22200 22201 * configure.in: RSHIFT check moved to configure. 22202 22203Thu Jun 18 16:46:04 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22204 22205 * experimental release 1.1b9_26. 22206 22207Thu Jun 18 13:37:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22208 22209 * file.c (file_s_ftype): uses lstat(2) instead of stat(2). 22210 22211 * dir.c (dir_s_glob): there can be buffer overrun, check added. 22212 22213 * eval.c (f_binding): handles in-block variables declared after 22214 binding's generation. 22215 22216 * numeric.c (flo_floor): floor, ceil, round added to Float. 22217 22218Wed Jun 17 11:20:00 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22219 22220 * parse.y (gettable): nesting local variables should have higher 22221 priority than normal local variables. 22222 22223Tue Jun 16 12:30:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22224 22225 * bignum.c (str2inum): handles `+ddd'. 22226 22227 * struct.c (make_struct): name parameter can be nil for unnamed 22228 structures. 22229 22230Mon Jun 15 16:30:10 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22231 22232 * object.c (class_s_inherited): prohibiting to make subclass of 22233 class Class. 22234 22235 * object.c (module_s_new): support for making subclass of Module. 22236 22237 * parse.y (yycompile): clear eval_tree before compiling. 22238 22239Fri Jun 12 17:58:18 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22240 22241 * eval.c (eval): write back the_dyna_var into the block. 22242 22243Thu Jun 11 18:19:18 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22244 22245 * experimental release 1.1b9_25. 22246 22247 * eval.c (dvar_add_compiling): register dyna_var at compile time. 22248 22249 * regex.c (re_compile_pattern): RE_DUP_MAX iteration is too big. 22250 22251Wed Jun 10 15:12:04 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22252 22253 * io.c (io_eof): do not block other threads. 22254 22255 * signal.c (trap): reserve SIGALRM for thread. 22256 22257 * eval.c (thread_create): use ITIMER_REAL also to avoid system 22258 call blocking. 22259 22260 * io.c (f_syscall): add TRAP_BEG, TRAP_END around system calls. 22261 22262 * io.c (io_ctl): add TRAP_BEG, TRAP_END around system calls. 22263 22264 * enum.c (enum_collect): did not collect false values. 22265 22266 * array.c (ary_new2): forgot to initialize capa field. 22267 22268Tue Jun 9 18:36:15 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 22269 22270 * string.c (str_split_method): split dumped core for "\xff". 22271 22272Tue Jun 9 16:22:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22273 22274 * experimental release 1.1b9_24. 22275 22276Tue Jun 9 16:04:07 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 22277 22278 * ext/kconv/kconv.c (kconv_guess): more precise decision for EUC, 22279 using jless algorithm (3 sequential EUC hiragana characters). 22280 22281Tue Jun 9 15:12:44 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22282 22283 * ext/kconv/kconv.c (kconv_guess): wrong guess for EUC as SJIS in 22284 some cases (0xe0 - 0xef). 22285 22286 * gc.c (xmalloc): insert size check for big (negative in signed) 22287 allocation size. 22288 22289Tue Jun 9 02:54:51 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22290 22291 * lib/parsedate.rb: wday moved to the last in the return values. 22292 22293Mon Jun 8 10:40:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22294 22295 * string.c (str_split_method): split dumped core for "\0". 22296 22297Sat Jun 6 22:50:52 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22298 22299 * regex.c (calculate_must_string): wrong condition for 22300 {start,stop}_nowidth. 22301 22302 * regex.c (re_match): various features imported from GNU regex.c 22303 0.12, such as nested grouping, avoiding infinite loop with empty 22304 match, etc. 22305 22306 * regex.c (register_info_type): now use union. 22307 22308 * regex.c (re_search): more precise anchor(^) check. 22309 22310Wed Jun 3 18:07:54 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22311 22312 * re.c (reg_raise): check rb_in_compile, not rb_in_eval. 22313 22314Mon Jun 1 05:26:06 1998 WATANABE Tetsuya <tetsu@jpn.hp.com> 22315 22316 * string.c (trnext): casting to signed char* needed. 22317 22318Tue Jun 2 16:00:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22319 22320 * ext/socket/socket.c (udp_addrsetup): error check enhanced. 22321 22322 * ext/socket/socket.c (sock_s_getservbyaname): use strtoul(), if 22323 possible. 22324 22325Sat May 30 07:10:02 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22326 22327 * re.c (reg_prepare_re): no more needless regular expression 22328 recompile on casefold conditions. 22329 22330Thu May 28 18:02:55 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22331 22332 * object.c (nil_plus): no more `+' method for nil. 22333 22334Wed May 27 17:33:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22335 22336 * hash.c (hash_fetch): new method. 22337 22338 * regex.c (re_search): check whether translate table is set. 22339 22340Tue May 26 11:39:50 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22341 22342 * experimental release 1.1b9_23. 22343 22344 * parse.y (yylex): no UPLUS/UMINUS for 1st argument if 22345 parenthesises are omitted. 22346 22347Tue May 26 01:09:55 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22348 22349 * regex.c (re_compile_pattern): (?XI) for turns off the 22350 corresponding option. 22351 22352Mon May 25 12:38:56 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22353 22354 * regex.c (re_compile_pattern): inline i option (?i). 22355 22356 * regex.c (re_compile_pattern): inline x option (?x). 22357 22358 * regex.c (re_compile_pattern): x option for regexp. 22359 22360 * dir.c (dir_s_open): returns block's evaluated value. 22361 22362 * io.c (f_open): returns block's evaluated value. 22363 22364 * ext/curses/curses.c (curses_addstr): nil argument caused SEGV. 22365 22366Fri May 22 11:52:45 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22367 22368 * regex.c (re_compile_pattern): push mark on (?:), so that 22369 laststart check for {a,b} can be done. 22370 22371Thu May 21 17:31:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22372 22373 * regex.c (re_match): wrong match (too non-greedy) for `{a,b}?'. 22374 22375 * io.c (io_lineno): new method IO#lineno, IO#lineno=. 22376 22377Wed May 20 06:04:43 1998 MAEDA shugo <shugo@aianet.ne.jp> 22378 22379 * BeOS patch. 22380 22381Wed May 20 16:32:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22382 22383 * bignum.c (BIGDN): use RSHIFT(), instead of mere `>>'. 22384 22385Tue May 19 16:36:26 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22386 22387 * experimental release 1.1b9_22. 22388 22389Tue May 19 16:31:57 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22390 22391 * parse.y (assignable): specification changed for in-block 22392 variable definition. 22393 22394 * eval.c (dyna_var_asgn): error in in-block variables' compile 22395 time definition. 22396 22397 * parse.y (str_extend): wrong nesting detection. 22398 22399Tue May 19 09:47:55 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 22400 22401 * numeric.c (num2int): re-defined (extensions may use this). 22402 22403Mon May 18 16:40:50 1998 MAEDA shugo <shugo@aianet.ne.jp> 22404 22405 * error.c (get_syserr): BeOS support. 22406 22407 * configure.in: modified for BeOS. 22408 22409 * string.c (str_dump): do not call isascii(). 22410 22411 * sprintf.c (remove_sign_bits): forgot to initialize end pointer. 22412 22413 * glob.c: #include <alloca.h> added. 22414 22415Mon May 18 14:52:21 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22416 22417 * experimental release 1.1b9_21. 22418 22419Mon May 18 03:27:57 1998 MAEDA shugo <shugo@aianet.ne.jp> 22420 22421 * file.c (file_s_expand_path): optional second argument 22422 `default_directory' added. 22423 22424Sat May 16 22:06:52 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 22425 22426 * error.c (RAISE_ERROR): wrong error message 22427 22428Fri May 15 14:43:25 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22429 22430 * experimental release 1.1b9_20. 22431 22432Thu May 14 14:44:21 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 22433 22434 * sun4 cc patches for intern.h and regex.h. 22435 22436Thu May 14 14:03:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22437 22438 * random.c (RANDOM_MAX): guessing proper maximum value for random 22439 numbers. 22440 22441 * random.c (f_rand): use drand48 if possible. 22442 22443Wed May 13 19:05:20 1998 MAEDA shugo <shugo@aianet.ne.jp> 22444 22445 * BeOS patches for io.c, error.c and config.guess. 22446 22447Wed May 13 14:56:23 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22448 22449 * experimental release 1.1b9_19. 22450 22451 * most of the Mac and BeOS patches merged, except path separators. 22452 22453 * error.c (err_append): generated SyntaxError was String. 22454 22455 * ruby.h: xxx2INT, xxx2UINT checks values as int, not long. 22456 22457 * ruby.h: remove typedef's. INT, UINT, UCHAR, USHORT. 22458 22459Tue May 12 17:38:00 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22460 22461 * experimental release 1.1b9_18. 22462 22463Tue May 12 11:38:08 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22464 22465 * error.c (syserr_errno): returns errno of the SystemCallError. 22466 22467 * error.c (rb_sys_fail): saves errno in the Exception. 22468 22469 * error.c (set_syserr): no need to protect syserr_list. 22470 22471 * error.c (rb_sys_fail): no more bufsize limit. 22472 22473 * error.c (set_syserr): integer value of errno can be accessed by 22474 Errno::EXXX::Errno. 22475 22476Sun May 10 03:10:33 1998 WATANABE Tetsuya <tetsu@jpn.hp.com> 22477 22478 * io.c (io_tell etc.): moved from File class to IO class. 22479 22480Fri May 8 12:26:37 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22481 22482 * pack.c (pack_unpack): should be unsigned int (was signed int). 22483 22484Thu May 7 16:34:10 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22485 22486 * pack.c (pack_pack): `V', `N' uses newly created NUM2UINT(). 22487 22488 * ruby.h (NUM2UINT): new macro. 22489 22490 * bignum.c (big2uint): try to convert bignum into UINT. 22491 22492 * re.c (reg_match): needed to return false for match with nil. 22493 22494 * gc.c (obj_free): wrong condition to free string. 22495 22496Wed May 6 21:08:08 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 22497 22498 * ruby.c (ruby_process_options): modified for DJGPP. 22499 22500Wed May 6 15:48:03 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22501 22502 * experimental release 1.1b9_17. 22503 22504Wed May 6 01:37:39 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22505 22506 * eval.c: remove global variable `errat'. 22507 22508 * eval.c (rb_longjmp): embed error position information in the 22509 exception object. 22510 22511Sat May 2 12:20:02 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22512 22513 * re.c (reg_search): supports reverse search. 22514 22515 * string.c (str_index_method): does update $~ etc. 22516 22517 * eval.c (f_load): needed to clear the_dyna_vars. 22518 22519 * eval.c (dyna_var_asgn): do not push dyna_var, which is id == 0. 22520 22521 * error.c (Init_Exception): NotImplementError is no longer 22522 StandardError, which is not handled by default rescue. 22523 22524Fri May 1 00:35:51 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22525 22526 * ruby.c (proc_options): `-d' turns on verbose flag too. 22527 22528 * error.c (exception): last argument may be the superclass of the 22529 defining exception(s). 22530 22531 * io.c (Init_IO): EOFError is now subclass of the IOError. 22532 22533 * io.c (Init_IO): forgot to define IOError. 22534 22535 * error.c (Init_Exception): old Exception class renamed to 22536 StandardError. Exception now replaces old GlobalExit. 22537 22538 * error.c (Init_Exception): Exception is now the root of the 22539 Global Exits. There's no longer GlobalExit class. 22540 22541 * util.c (ruby_mktemp): check TMP, TMPDIR first. 22542 22543Thu Apr 30 01:08:35 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22544 22545 * lib/tk.rb: call 'unknown', if proc not defined. 22546 22547 * eval.c (handle_rescue): default rescue handles `Exceptional' not 22548 only the instance of the `Exception's. 22549 22550 * eval.c (f_raise): exception can be any object. 22551 22552 * time.c (time_gm_or_local): call time_gmtime or time_localtime. 22553 22554 * eval.c (f_raise): raises TypeError if the class which is not a 22555 subclass of String is specified (checked in exc_new()). 22556 22557 * error.c (exc_new): need to check whether invalid class (not a 22558 subclass of String) is specified. 22559 22560Wed Apr 29 21:05:44 1998 WATANABE Hirofumi <eban@os.rim.or.jp> 22561 22562 * ruby.c (proc_options): option '-e' via tempfile. 22563 22564Tue Apr 28 15:27:58 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22565 22566 * experimental release 1.1b9_16. 22567 22568Tue Apr 28 00:07:38 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22569 22570 * eval.c (obj_is_proc): type check predicate. 22571 22572 * eval.c (obj_is_block): ditto. 22573 22574Mon Apr 27 16:59:17 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22575 22576 * ext/gtk/gtk.c (Init_gtk): use timeout, not idle to avoid 22577 consuming CPU too much. 22578 22579 * lib/tk.rb: use tcltklib#_invoke instead of `_eval'. 22580 22581Mon Apr 27 16:59:17 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22582 22583 * array.c (ary_sort): use dup, not clone. 22584 22585Mon Apr 27 13:46:27 1998 Tadahiro Maebashi <maebashi@iij.ad.jp> 22586 22587 * ext/tcltklib/tcltklib.c (ip_invoke): invoke tcl command 22588 directly. need not worry about escaping tcl characters. 22589 22590Mon Apr 27 12:04:43 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22591 22592 * random.c (f_rand): do not call srand() implicitly. 22593 22594Fri Apr 24 14:35:45 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22595 22596 * experimental release 1.1b9_15. 22597 22598 * parse.y (assignable): dyna_var_asgn actually defines nested 22599 local variables in outer context. 22600 22601 * random.c (f_rand): call srand(), if it has not called yet. 22602 22603 * random.c (f_srand): use tv_usec as the default seed. 22604 22605 * eval.c (rb_eval): values of nested local variables should be 22606 independent. 22607 22608 * eval.c (rb_yield_0): local variables wrong nested conditions. 22609 22610Wed Apr 22 23:27:17 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22611 22612 * io.c (select_get_io): get IO object by `to_io'. 22613 22614 * io.c (io_to_io): method to retrieve IO object, from delegating 22615 object for example. 22616 22617Wed Apr 22 16:52:37 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22618 22619 * experimental release 1.1b9_14. 22620 22621 * string.c (str_modify): check for embedded pointer reference. 22622 22623 * gc.c (obj_free): ditto. 22624 22625 * pack.c (pack_pack): p/P template to embed pointers. 22626 22627Wed Apr 22 00:07:10 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp> 22628 22629 * array.c (ary_rindex): embarrassing typo. 22630 22631Tue Apr 21 12:31:48 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22632 22633 * experimental release 1.1b9_13. 22634 22635 * configure.in (RUBY_LIB): supports --program-{prefix,suffix}. 22636 22637 * array.c (ary_rindex): new method. 22638 22639 * io.c (io_binmode): should return self. 22640 22641Tue Apr 21 08:23:04 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp> 22642 22643 * parse.y (here_document): calling parse_string with wrong 22644 arguments. 22645 22646 * struct.c (struct_aset): problem member assignment with name. 22647 22648Mon Apr 20 14:47:49 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22649 22650 * experimental release 1.1b9_12. 22651 22652 * time.c (time_arg): args may be string (support for reduced 22653 implicit type conversion). 22654 22655 * lib/base64.rb: changed to use pack/unpack with `m' template. 22656 22657Mon Apr 20 06:23:20 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22658 22659 * variable.c (mod_remove_const): new method. 22660 22661Sat Apr 18 03:53:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22662 22663 * hash.c (hash_each_with_index): removed. use Enumerable's 22664 each_with_index instead. 22665 22666 * class.c (rb_include_module): check for super modules, since 22667 module's included modules may be changed. 22668 22669Fri Apr 17 21:50:47 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 22670 22671 * marshal.c (r_long): r_byte() may return signed byte. 22672 22673Fri Apr 17 11:58:30 1998 NAGAI Hidetoshi <nagai@dumbo.ai.kyutech.ac.jp> 22674 22675 * ext/tcltklib/tcltklib.c (lib_mainloop): thread and interrupt check. 22676 22677Fri Apr 17 11:06:30 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22678 22679 * eval.c (find_file): try to fopen() to check whether file exists. 22680 22681 * ruby.c (load_file): ditto. 22682 22683 * struct.c (struct_aset): struct member can be set by member name. 22684 22685Fri Apr 17 00:47:19 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 22686 22687 * ext/extmk.rb.in: added m68k-human support 22688 22689 * file.c (LOCK_SH): defines moved. 22690 22691 * array.c (ary_flatten_bang): simplified loop. 22692 22693Thu Apr 16 16:52:01 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22694 22695 * experimental release 1.1b9_11. 22696 22697 * lib/tk.rb: thread support (experimental - maybe slow). 22698 22699 * eval.c (rb_longjmp): trace event on exception in raising 22700 context, just before raising exception. 22701 22702 * struct.c (struct_s_members): forgot to check singletons. 22703 22704 * struct.c (struct_aref): members can be accessed by names too. 22705 22706 * array.c (ary_flatten): new method. 22707 22708 * eval.c (rb_longjmp): prints exception information with `-d'. 22709 22710 * object.c (any_to_s): remove class name restriction. 22711 22712Thu Apr 16 01:38:02 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22713 22714 * file.c (thread_flock): do not block other threads. 22715 22716 * eval.c (thread_trap_eval): signals are now delivered to the 22717 current thread again. In case that the current thread is dead, 22718 signals are forwarded to the main thread. 22719 22720 * string.c (str_new4): need not to duplicate frozen strings. 22721 22722Wed Apr 15 08:33:47 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp> 22723 22724 * struct.c (struct_inspect): remove restriction for struct names. 22725 22726Wed Apr 15 02:55:02 1998 Kazuya 'Sharl' Masuda <sharl@www.ufo.co.jp> 22727 22728 * x68 patches to config.sub, ext/extmk.rb.in 22729 22730Wed Apr 15 01:22:56 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22731 22732 * string.c (str_dup_frozen): do not duplicate frozen strings. 22733 22734 * parse.y (yylex): allow nested parenthesises. 22735 22736 * io.c (obj_displayln): prints newline after `display'ing the 22737 receiver. 22738 22739 * io.c (io_puts): avoid generating "\n" each time. use RS_default 22740 instead. 22741 22742 * io.c (f_p): ditto. 22743 22744Tue Apr 14 22:18:17 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp> 22745 22746 * struct.c (struct_aref): should not subtract negative index. 22747 22748Tue Apr 14 11:34:50 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22749 22750 * experimental release 1.1b9_10. 22751 22752 * parse.y: token names prefixed by `t'. 22753 22754 * struct.c (struct_s_def): supports subclassing of Struct. 22755 22756 * io.c (io_s_new): supports subclassing of IO. 22757 22758Mon Apr 13 11:07:39 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22759 22760 * eval.c (f_binding): need to restore method name. 22761 22762 * eval.c (rb_call0): raises SystemStackError, not Fatal. 22763 22764 * io.c (obj_display): same as `print self'. 22765 22766 * io.c (f_p): can now be called in the method form. 22767 22768 * re.c (reg_regsub): needed to be mbchar aware. 22769 22770Mon Apr 13 13:18:32 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22771 22772 * eval.c (thread_trap_eval): all signals delivered to main_thread. 22773 22774Mon Apr 13 12:47:03 1998 TAKAHASHI Masayoshi <maki@inac.co.jp> 22775 22776 * re.c (kcode_set_option): did not set SJIS on SJIS condition. 22777 22778Sun Apr 12 22:14:07 1998 Kazunori NISHI <kazunori@swlab.csce.kyushu-u.ac.jp> 22779 22780 * array.c (ary_uniq_bang): should be `==', not `='. embarrassing. 22781 22782Sat Apr 11 02:13:30 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22783 22784 * array.c (ary_subseq): SEGVed for `[][1,1]'. 22785 22786Fri Apr 10 21:29:06 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp> 22787 22788 * array.c (ary_subseq): add check for beg larger than array length. 22789 22790Wed Apr 8 17:24:11 1998 MAEDA shugo <shugo@po.aianet.ne.jp> 22791 22792 * dir.c (dir_s_open): can be called with block (like IO#open). 22793 22794 * dir.c (dir_s_chdir): print directory path on error. 22795 22796 * dir.c (dir_s_chroot): ditto 22797 22798 * dir.c (Init_Dir): needed to override `new'. 22799 22800Thu Apr 9 18:24:58 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22801 22802 * experimental release 1.1b9_09. 22803 22804 * string.c (str_cmp): do not depend on sentinel at the end of the 22805 strings. 22806 22807 * string.c (str_chomp_bang): forgot to set the sentinel. 22808 22809Wed Apr 8 00:59:13 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22810 22811 * bignum.c (big2int): converted int may be too big to fit in 22812 signed int. 22813 22814 * parse.y (arg): `foo += 1' should not cause an error. 22815 22816 * variable.c (rb_const_defined): returned false even if the 22817 constant is defined at the top level. 22818 22819 * eval.c (f_local_variables): dyna_var->id may be null. should 22820 have checked before calling str_new2(). 22821 22822Tue Apr 7 01:15:15 1998 Kaneko Naoshi <wbs01621@mail.wbs.or.jp> 22823 22824 * re.c (reg_regsub): need to check string boundary. 22825 22826Tue Apr 7 19:19:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22827 22828 * string.c (str_cmp): returns either 1, 0, -1. 22829 22830 * array.c (ary_cmp): should check array length, too 22831 22832Tue Apr 7 18:50:16 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22833 22834 * experimental release 1.1b9_08. 22835 22836Tue Apr 7 18:31:27 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 22837 22838 * instruby.rb (mandir): dll installation for cygwin32 22839 22840Tue Apr 7 01:16:45 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22841 22842 * config.sub (maybe_os): TOWNS support? 22843 22844 * config.guess: too strict check for libc versions on linuxes. 22845 22846 * experimental release 1.1b9_07. 22847 22848 * array.c (ary_cmp): compare each element using `<=>'. 22849 22850 * hash.c (hash_each_with_index): yields [value, key] pair. 22851 22852 * class.c (class_protected_instance_methods): list protected 22853 method names. 22854 22855 * class.c (ins_methods_i): exclude protected methods. 22856 22857 * eval.c (PUSH_BLOCK): dynamic variables can be accessed from 22858 eval() with bindings. 22859 22860Mon Apr 6 14:49:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22861 22862 * eval.c (thread_yield): must return evaluated value. 22863 22864Fri Apr 3 13:07:29 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22865 22866 * eval.c (thread_schedule): context switch bypassed on wrong 22867 conditions. 22868 22869 * variable.c (rb_name_class): set classname by id before String 22870 class is initialized (1.0 behavior restored). 22871 22872Fri Apr 3 11:25:45 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22873 22874 * numeric.c (num2int): no implicit conversion from string. 22875 22876 * numeric.c (num2int): check whether `to_i' returns an Integer. 22877 22878 * numeric.c (num_zero_p): new method. 22879 22880 * numeric.c (num_nonzero_p): new method. returns the receiver if 22881 it's not zero. 22882 22883 * eval.c (obj_instance_eval): the_class should be the object's 22884 singleton class. 22885 22886 * error.c (exc_s_new): message is converted into a string. 22887 22888Thu Apr 2 18:31:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22889 22890 * eval.c (obj_call_init): every object call `initialize'. 22891 22892Wed Apr 1 08:51:53 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp> 22893 22894 * parse.y (stmt): UNTIL_MOD should be for stmt, not only for expr. 22895 22896Wed Apr 1 01:20:31 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22897 22898 * object.c (true_and): boolean operators &, | and ^. 22899 22900Tue Mar 31 13:23:58 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22901 22902 * array.c (ary_compact_bang): returns nil, if it does not modify 22903 the array like String's bang methods. 22904 22905 * array.c (ary_uniq_bang): new method to remove duplicate items. 22906 22907 * eval.c (bind_s_new): new method. 22908 22909 * numeric.c (num2int): raise exception if Fixnums too big to 22910 convert into `int' in case that sizeof(int) < sizeof(INT). 22911 22912 * string.c (str_center): SEGV on negative width. 22913 22914 * eval.c (eval): forgot to set sourcefile. 22915 22916Mon Mar 30 11:12:29 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22917 22918 * file.c (f_test): raises exception for unknown command. 22919 22920 * eval.c (Init_eval): `class_eval': alias to the module_eval. 22921 22922Mon Mar 30 18:50:42 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp> 22923 22924 * string.c (str_capitalize_bang): did not check string modification. 22925 22926 * string.c (str_delete_bang): wrong conversion. 22927 22928 * string.c (str_intern): typo in error message. 22929 22930Mon Mar 30 01:44:13 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22931 22932 * eval.c (obj_instance_eval): accepts block as evaluation body. 22933 No compilation needed each time. 22934 22935 * eval.c (mod_module_eval): ditto 22936 22937 * file.c (file_s_umask): umask did not return old values, if no 22938 argument given. 22939 22940Sun Mar 29 00:54:23 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22941 22942 * eval.c (f_throw): nil returned always. 22943 22944Sat Mar 28 20:40:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22945 22946 * experimental release 1.1b9_06. 22947 22948Sat Mar 28 16:07:11 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 22949 22950 * io.c (io_closed): should not cause exception for closed IO. 22951 22952 * string.c (str_tr): returned nil for success. 22953 22954Sat Mar 28 00:47:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22955 22956 * eval.c (f_local_variables): new method to return an array of 22957 local variable names. 22958 22959 * variable.c (obj_instance_variables): now returns an array of 22960 variable names, as described in the reference. 22961 22962 * eval.c (rb_attr): honors default method visibility of the 22963 current scope. 22964 22965Fri Mar 27 13:49:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22966 22967 * experimental release 1.1b9_05. 22968 22969 * ruby.c (ruby_prog_init): `site_ruby' added to load_path. 22970 22971 * ruby.c (ruby_prog_init): load-path order changed. Paths in 22972 the RUBYLIB environment variable comes first in non-tainted 22973 mode. 22974 22975Thu Mar 26 11:51:09 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22976 22977 * eval.c (rb_call): new feature: `protected' methods. 22978 22979 * string.c (str_dump): new method. 22980 22981 * eval.c (block_pass): block argument can be nil, which means no 22982 block is supplied for the method. 22983 22984Wed Mar 25 21:20:13 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp> 22985 22986 * string.c (str_reverse_bang): string copied to wrong place. 22987 22988Wed Mar 25 08:12:07 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 22989 22990 * numeric.c (flo_modulo): caused SEGV if left operand is not a 22991 float value. 22992 22993 * eval.c (f_eval): optional third and fourth argument to specify 22994 file-name and line-number. 22995 22996 * eval.c (eval): file-name and line-number set properly. 22997 22998 * parse.y (assign_in_cond): literal assignment is now warning, not 22999 compile error. 23000 23001 * error.c (Warn): Warn() always print message, OTOH Waring() 23002 prints when verbose flag is set. 23003 23004Tue Mar 24 12:50:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23005 23006 * ruby.c (ruby_prog_init): `.' should come last in the load-path. 23007 23008 * eval.c (Init_eval): `__send__', alias for `send'. 23009 23010Mon Mar 23 12:44:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23011 23012 * string.c (str_chomp_bang): now takes `rs' as an argument. 23013 23014 * eval.c (thread_free): main_thread should not be freed. 23015 23016Fri Mar 20 16:40:34 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23017 23018 * string.c (str_chomp_bang): chomp! (and other ! methods) returns 23019 nil if it does not modify the string. 23020 23021 * string.c (str_sub_iter_s): should check last pattern since it 23022 may be matched to null. 23023 23024Thu Mar 19 13:48:55 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23025 23026 * experimental release 1.1b9_04. 23027 23028 * parse.y (yylex): `10e0.9' should cause syntax error. 23029 23030Wed Mar 18 17:46:31 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23031 23032 * ruby.c (load_file): new file object constant DATA. Only 23033 available for the script from the file. 23034 23035 * regex.c (re_match): forwarding failure point popped too much. 23036 23037Tue Mar 17 18:23:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23038 23039 * math.c (math_frexp): newly added. 23040 23041 * math.c (math_ldexp): ditto. 23042 23043 * bignum.c (bigdivmod): calculates modulo. 23044 23045 * numeric.c (fix_remainder): returns reminder, formerly introduced 23046 as modulo. 23047 23048 * numeric.c (fix_modulo): calculates proper `modulo'. 23049 23050 * bignum.c (bigdivmod): wrong sign for reminder. 23051 23052Mon Mar 16 17:07:28 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23053 23054 * experimental release 1.1b9_03. 23055 23056Mon Mar 16 16:33:53 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 23057 23058 * io.c (pipe_finalize): needed to add pipe_finalize to pipes on 23059 cygwin32. 23060 23061Mon Mar 16 14:11:06 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23062 23063 * class.c (ins_methods_i): needed to consider NOEX_UNDEF. 23064 23065Mon Mar 16 13:23:53 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 23066 23067 * io.c (io_check_closed): check for `fptr->f2 == NULL'. 23068 23069 * io.c (io_fptr_close): ditto. 23070 23071Mon Mar 16 11:49:25 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23072 23073 * io.c (pipe_atexit): free()ing referencing pipe_list. 23074 23075 * range.c (range_length): returns zero, if the first is greater 23076 than the last. 23077 23078 * signal.c (trap_restore_mask): restore signal mask before raising 23079 exceptions and throws. 23080 23081Fri Mar 13 13:49:24 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23082 23083 * experimental release 1.1b9_02. 23084 23085 * object.c (mod_clone): need to dups constants and instance 23086 variables. 23087 23088 * eval.c (rb_eval): forgot to initialize body for NODE_DEFS. 23089 23090 * eval.c (rb_eval): retrieve self from calling frame, since self 23091 changes sometimes. 23092 23093 * env.h (FRAME): need to save self in the calling frame. 23094 23095 * io.c (f_gets_method): rs should be initialized by RS. 23096 23097Thu Mar 12 15:33:57 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23098 23099 * experimental release 1.1b9_01. 23100 23101 * range.c (range_s_new): check values by `first <= last'. 23102 23103 * parse.y (lastline_set): fixed offset for $_ and $~ in the local 23104 variable space. 23105 23106Wed Mar 11 02:14:17 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23107 23108 * io.c (io_gets): handle normal case specially for speed. 23109 23110 * eval.c (rb_disable_super): function to disable superclass's 23111 method explicitly. 23112 23113 * eval.c (rb_eval): inherits previous method definition's 23114 NOEX_UNDEF-ness, if exists. 23115 23116 * class.c (rb_define_method): disables superclass's overriding 23117 method by default. 23118 23119Wed Mar 11 01:40:48 1998 MAEDA shugo <shugo@po.aianet.ne.jp> 23120 23121 * numeric.c (flo_gt,etc.): do not depend on `<=>', to handle NaN. 23122 23123Tue Mar 10 00:03:24 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23124 23125 * ruby.c (load_file): understands multiple options in #! line. 23126 23127 * regex.c (re_compile_pattern): support for [:alpha:] etc. 23128 23129Mon Mar 9 16:53:51 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23130 23131 * io.h (GetOpenFile): embed io_check_closed in GetOpenFile. 23132 23133 * sprintf.c (f_sprintf): zero padding failed for negative 23134 integers. 23135 23136 * sprintf.c (remove_sign_bits): failed to remove some bits. 23137 23138Sat Mar 7 21:51:46 1998 MAEDA shugo <shugo@po.aianet.ne.jp> 23139 23140 * class.c (ins_methods_i): body may be NULL for some case. 23141 23142Fri Mar 6 17:23:07 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23143 23144 * regex.c (mbcinit): table driven mbchar detection. 23145 23146 * object.c (obj_alloc): check for allocating instance for the 23147 primitive classes (mostly perfect). 23148 23149 * ext/curses/curses.c (curses_finalize): restore original state at 23150 interpreter termination. 23151 23152 * ext/curses/curses.c (curses_addstr): forgot to check argument 23153 type (caused SEGV). now uses STR2CSTR() macro. 23154 23155Thu Mar 5 13:47:39 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23156 23157 * eval.c (block_pass): accepts method object as block args. 23158 23159 * eval.c (f_missing): use any_to_s() for stringify. 23160 23161Wed Mar 4 01:39:52 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23162 23163 * parse.y (block_arg): new syntax - block argument in the 23164 calling arglist. 23165 23166 * eval.c (rb_call): no module search. simplified a lot. 23167 23168 * eval.c (rb_eval): block arg support. 23169 23170 * parse.y (f_block_arg): new syntax - block argument in the 23171 formal arglist. 23172 23173Tue Mar 3 14:20:15 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23174 23175 * eval.c (obj_method): returns bound method object. 23176 23177 * eval.c (rb_call): argument check for empty methods. 23178 23179 * ruby.h (NUM2CHR): new macro, originally from curses module. 23180 23181Tue Mar 3 13:03:35 1998 MAEDA shugo <shugo@po.aianet.ne.jp> 23182 23183 * io.c (io_putc): new method. 23184 23185Tue Mar 3 11:21:28 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23186 23187 * string.c (str_inspect): more strict charcode detection. 23188 23189 * eval.c (thread_stop): stopping only thread raises ThreadError 23190 exception. 23191 23192Tue Mar 3 08:04:56 1998 Tadayoshi Funaba <tadf@kt.rim.or.jp> 23193 23194 * struct.c (struct_alloc): incomplete struct initialization made 23195 GC to access unallocated addresses. 23196 23197Mon Mar 2 16:28:27 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23198 23199 * eval.c (thread_stop_method): remove Thread#stop. 23200 23201Fri Feb 27 18:16:26 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23202 23203 * version 1.1b9 released. 23204 23205Fri Feb 27 09:36:35 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23206 23207 * hash.c (hash_delete_nil): needed to compare value to nil, since 23208 nil is the valid key for hashes. 23209 23210 * hash.c (hash_foreach_iter): rehashing causes IndexError. 23211 23212 * hash.c (hash_foreach_iter): rehash check by pointer comparison. 23213 23214Thu Feb 26 17:22:13 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23215 23216 * parse.y (fname): convert reswords into symbols. 23217 23218 * parse.y (reswords): reserved words are now embedded in the 23219 syntax (sigh). 23220 23221 * parse.y: now reserved words can be method names safely. 23222 23223Wed Feb 25 15:50:07 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23224 23225 * eval.c (mod_module_eval): clear the_scope's PRIVATE flag before 23226 calling eval(). 23227 23228 * gc.c (gc_call_finalizer_at_exit): run finalizers before any data 23229 object being freed. 23230 23231 * eval.c (rb_eval): needed to keep prot_tag->retval before 23232 evaluating the ensure clause. 23233 23234Tue Feb 24 11:16:32 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23235 23236 * parse.y (yylex): reserved words can be appear as method names at 23237 right after 'def' and `.'(dot), like foo.next. 23238 23239 * eval.c (return_check): checks for return out of thread (formerly 23240 done in return_value). 23241 23242 * eval.c (POP_TAG): copy retval to outer level. 23243 23244 * eval.c (return_value): just set retval, no check, no unwinding. 23245 23246 * parse.y (nextc): line continuation by backslash at end of line. 23247 23248 * regex.c (re_compile_pattern): forgot to clear pending_exact on 23249 closing parentheses. 23250 23251 * parse.y (assignable): should not assign dyna_var to true, if it 23252 is already defined. 23253 23254Mon Feb 23 14:35:03 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23255 23256 * object.c (obj_is_kind_of): no longer accepts true/false/nil. 23257 23258 * object.c ({true,false,nil}_to_i): can be converted into integers. 23259 23260Mon Feb 23 12:11:51 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23261 23262 * re.c (reg_s_quote): needed to be mbchar aware. 23263 23264 * eval.c (proc_s_new): wrong iter mark. 23265 23266Sat Feb 21 22:59:30 1998 MAEDA shugo <shugo@po.aianet.ne.jp> 23267 23268 * io.c (f_syscall): no argument check. 23269 23270Fri Feb 20 10:17:51 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23271 23272 * version 1.1b8 released. 23273 23274 * ext/kconv/kconv.c (kconv_kconv): default output code now be 23275 determined according to the value of $KCODE. 23276 23277 * re.c (rb_get_kcode): can retrieve $KCODE from C code. 23278 23279 * parse.y (stmt): if/unless modifiers returns nil, if condition is 23280 not established. 23281 23282Thu Feb 19 11:06:47 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23283 23284 * ext/kconv/kconv.c (kconv_kconv): charcode can be specified by 23285 code name (JIS, SJIS, EUC like value of $KCODE). 23286 23287 * regex.c (re_compile_pattern): forgot to fixup_jump for (?:..). 23288 23289 * regex.c (re_compile_pattern): needed to clear pending_exact on 23290 non-registering grouping (?:...). 23291 23292Wed Feb 18 19:54:21 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23293 23294 * parse.y (here_document): needed to set lex_state to EXPR_END. 23295 23296Wed Feb 18 18:45:10 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 23297 23298 * patches for cygwin32 applied. 23299 23300Wed Feb 18 00:41:31 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23301 23302 * string.c (str_sub_s): needed to be mbchar aware to increment one 23303 character. 23304 23305 * regex.c (re_match): \Z matches newline just before the end of 23306 the string. 23307 23308Tue Feb 17 00:04:32 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23309 23310 * time.c (time_arg): Time.gm and Time.local now understands 23311 Time#to_a format. 23312 23313 * string.c (str_sub_s): replace happened twice for null pattern. 23314 23315 * regex.c (re_search): null pattern should not match after newline 23316 at the end of string. 23317 23318 * time.c (time_isdst): now returns boolean value. 23319 23320 * error.c (rb_check_type): treat special constants in messages. 23321 23322 * parse.y (yylex): new form `::Const' to see toplevel constants. 23323 23324 * parse.y (cond): SEGV on `if ()'. 23325 23326 * gc.c (obj_free): some data needed explicit free(). 23327 23328Mon Feb 16 23:55:40 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23329 23330 * eval.c (blk_free): release duplicated block informations. 23331 23332 * eval.c (blk_copy_prev): duplicate outer block information into 23333 the heap, when proc/binding created. 23334 23335Mon Feb 16 14:38:25 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23336 23337 * time.c (time_mon): now 1 for January and so on. 23338 23339 * time.c (time_year): year in 19xx (no + 1900 needed anymore). 23340 23341Mon Feb 16 13:28:33 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23342 23343 * regex.c (re_compile_pattern): need to fetch mbchar's second byte 23344 without translation. 23345 23346Mon Feb 16 12:29:27 1998 MAEDA shugo <shugo@po.aianet.ne.jp> 23347 23348 * eval.c (f_pass_block): pass iterator block to other method. 23349 23350Fri Feb 13 08:16:11 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23351 23352 * parse.y (parse_regx): handle \s before read_escape(). 23353 23354 * parse.y (read_escape): `\s' in strings as space. 23355 23356Tue Feb 10 17:29:08 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23357 23358 * version 1.1b7 released. 23359 23360 * string.c (str_aset): string insertion by `str[n] = str2'. 23361 23362 * string.c (str_oct): does recognize `0x'. 23363 23364 * sprintf.c (f_sprintf): use base 10 for conversion from string to 23365 integer. 23366 23367Mon Feb 9 14:51:56 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23368 23369 * numeric.c (do_coerce): proper error message. 23370 23371 * string.c (str_sum): bug - masked by wrong value. (sigh..) 23372 23373Sat Feb 7 15:11:14 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23374 23375 * string.c (str_empty): new method 23376 23377Fri Feb 6 01:42:15 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23378 23379 * time.c (time_asctime): use asctime(3), not strftime(3). 23380 23381Thu Feb 5 18:58:46 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23382 23383 * io.c (io_fptr_close): do not free path on close(). 23384 23385 * array.c (ary_filter): new method. 23386 23387 * enum.c (enum_each_with_index): new method. 23388 23389Thu Feb 5 14:10:35 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23390 23391 * parse.y (primary): singleton class def can be appeared inside 23392 method bodies. 23393 23394 * hash.c (hash_replace): replace content. 23395 23396 * string.c (str_replace_method): replace content. 23397 23398 * array.c (ary_replace_method): replace elements. 23399 23400 * string.c (str_succ_bang): String#succ! 23401 23402Thu Feb 5 18:20:30 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 23403 23404 * string.c (str_upcase_bang): multi byte character support. 23405 23406Wed Feb 4 13:55:26 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23407 23408 * array.c (ary_reverse): SEGV on empty array reverse. 23409 23410Tue Feb 3 12:24:07 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23411 23412 * re.c (match_to_a): non matching element should be nil. 23413 23414 * ruby.c (ruby_load_script): load script after all initialization. 23415 23416 * bignum.c (str2inum): need to interpret prefix `0' of `0x'. 23417 23418Tue Feb 3 10:00:18 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 23419 23420 * numeric.c (fix_rshift): use `sizeof(INT)*8' instead of 32. 23421 23422Mon Feb 2 14:09:24 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23423 23424 * ruby.c (set_arg0): grab environment region too. 23425 23426Thu Jan 29 18:36:25 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 23427 23428 * process.c (rb_proc_exec): check `sh' to be exist. 23429 23430Thu Jan 29 18:18:19 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23431 23432 * io.c (io_stdio_set): assignment to $stdin or $stdout does 23433 reopen() as well as $stderr. 23434 23435Thu Jan 29 14:18:40 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23436 23437 * class.c (mod_ancestors): should not include singleton classes. 23438 23439 * object.c (obj_type): should not return internal class. 23440 23441 * io.c (io_reopen): unwillingly closes stdio streams. 23442 23443Thu Jan 29 11:50:35 1998 Toshihiko SHIMOKAWA <toshi@csce.kyushu-u.ac.jp> 23444 23445 * ext/socket/socket.c (udp_addrsetup): forgot to use htons(). 23446 23447Tue Jan 27 23:15:24 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23448 23449 * keywords: __FILE__, __LINE__ are available again. 23450 23451Fri Jan 23 14:19:28 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23452 23453 * version 1.1b6 released. 23454 23455 * object.c (mod_to_s): need to duplicate classpath. 23456 23457 * error.c (exc_inspect): need to duplicate classpath. 23458 23459Thu Jan 22 00:37:47 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23460 23461 * ruby.h (STR2CSTR): new macro to retrieve char*. 23462 23463 * class.c (rb_define_method): `initialize' should always be 23464 private, even if it defined by C extensions. 23465 23466 * eval.c (rb_eval): `initialize' should always be private. 23467 23468Thu Jan 22 16:21:08 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23469 23470 * eval.c (rb_eval): some singleton class def cause SEGV. 23471 23472 * eval.c (TMP_ALLOC): replace ALLOCA_N, where thread context 23473 switch may happen. 23474 23475Wed Jan 21 01:43:42 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23476 23477 * eval.c (PUSH_FRAME): do not use ALLOCA_N(). crash on some 23478 platforms that use missing/alloca.c. 23479 23480 * regex.c (re_compile_pattern): too many pops for non register 23481 subexpr. 23482 23483 * parse.y (yylex): open parentheses after identifiers are argument 23484 list, even if whitespaces have seen. 23485 23486Tue Jan 20 15:19:59 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23487 23488 * parse.y (terms): quoted word list by %w(a b c). 23489 23490 * ext/tcltklib/extconf.rb: more accurate check for tcl/tk libs. 23491 23492 * file.c (rb_stat): most of the FileTest methods (and function 23493 `test') accept File objects as the argument. 23494 23495Tue Jan 19 18:19:24 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 23496 23497 * ext/extmk.rb.in (install): there should be no newline after install: 23498 23499 * re.c (MIN): renamed from min(). there's a local variable named 23500 min in the file, so that some cpp will raise an error. 23501 23502Mon Jan 19 16:30:05 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23503 23504 * version 1.1b5 released. 23505 23506 * process.c (rb_syswait): no exception raised. 23507 23508Fri Jan 16 00:43:43 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23509 23510 * ruby.h (CLONESETUP): copies its singleton classes too. 23511 23512 * class.c (singleton_class_attached): saves binded object in the 23513 singleton classes. 23514 23515 * eval.c (rb_eval): calls singleton_method_added even in the 23516 singleton class clauses. 23517 23518Fri Jan 15 23:22:43 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 23519 23520 * ruby.c (proc_options): -S does not recognize PATH. 23521 23522Thu Jan 15 02:03:12 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23523 23524 * eval.c (rb_clear_cache_by_id): clear only affected cache 23525 entries. 23526 23527Wed Jan 14 02:14:48 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23528 23529 * ext/socket/socket.c: new UDP/IP socket classes. 23530 23531Tue Jan 13 10:00:18 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23532 23533 * string.c (str_cmp): ignorecase($=) works wrong. 23534 23535Fri Jan 9 13:19:55 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23536 23537 * version 1.1b4 released. 23538 23539 * eval.c (f_missing): class name omitted from the error message. 23540 23541 * error.c (exc_inspect): description changed. 23542 23543 * string.c (Init_String): GlobalExit's superclass did not filled, 23544 since GlobalExit created earlier than String. 23545 23546Thu Jan 8 12:10:09 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23547 23548 * parse.y (aryset): expr in the brackets can be null. 23549 23550Wed Jan 7 21:13:56 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23551 23552 * io.c (io_reopen): keep stderr unclosed. 23553 23554 * io.c (io_errset): keep stderr unclosed. 23555 23556Tue Jan 6 00:27:43 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23557 23558 * parse.y: syntax modified for `while expr do .. end' etc. 23559 23560 * process.c (f_exec,f_system): can supply arbitrary name for the 23561 new process. 23562 23563Mon Jan 5 16:59:13 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 23564 23565 * file.c (file_s_basename): removes any extension by ".*". 23566 23567Sun Jan 4 19:36:22 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 23568 23569 * parse.y (yylex): needed to update lex_p (reading point). 23570 23571Sat Jan 3 19:14:14 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 23572 23573 * class.c,object.c: duplicate defines mKernel and cFinxnum. 23574 23575Fri Jan 2 20:38:59 1998 Yukihiro Matsumoto <matz@netlab.co.jp> 23576 23577 * ext/curses/curses.c (NUM2CHAR): uses the first character for 23578 string arguments. 23579 23580 * array.c (ary_fill): did not extend array for ranges. 23581 23582 * array.c (beg_len): did not return end pos bigger than size. 23583 23584Fri Jan 2 02:09:16 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 23585 23586 * dir.c (dir_s_chdir): bug in nil check. 23587 23588 * array.c (ary_fill): bug in nil check. 23589 23590Tue Dec 30 11:46:23 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23591 23592 * hash.c (env_path_tainted): checks directories in PATH 23593 environment variable are not world writable. 23594 23595 * ruby.c (load_file): invoke specified interpreter if the #! line 23596 does not contain the word `ruby'. 23597 23598Fri Dec 26 03:26:41 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23599 23600 * string.c (uscore_get): type information included in the error 23601 message. 23602 23603 * variable.c (f_untrace_var): does not free trace-data within 23604 trace procedure. 23605 23606Thu Dec 25 02:50:29 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23607 23608 * version 1.1b3 released. 23609 23610 * ruby.h: inlining some functions on gcc 2.x 23611 23612Tue Dec 23 02:47:33 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23613 23614 * eval.c (rb_eval): public/private information kept in the current 23615 scope, to remove undesired state from the class/module. 23616 23617 * time.c (time_strftime): remove hidden limit of 100 bytes of 23618 result string, using malloc'ed buffer. 23619 23620 * hash.c (hash_update): merges the contents of another hash, 23621 overriding existing keys. 23622 23623 * regex.c (must_instr): totally re-written. 23624 23625 * io.c (read_all): try to allocate proper sized buffer using 23626 fstat(2) for speedup. 23627 23628Sat Dec 20 00:27:28 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23629 23630 * regex.c (must_instr): need to skip 2 bytes for mbchars. 23631 23632Fri Dec 19 01:18:29 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23633 23634 * version 1.1b2 released. 23635 23636 * eval.c (check_errat): check and convert (if necessary) traceback 23637 information before assigning to the variable $@. 23638 23639 * eval.c (f_raise): optional third argument to specify traceback 23640 information. 23641 23642 * io.c (f_open): prevent infinite recursive call. 23643 23644Thu Dec 18 19:33:47 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23645 23646 * string.c (str_rindex): now accepts regexp as index. 23647 23648Thu Dec 18 18:42:50 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 23649 23650 * ext/socket/extconf.rb: modified to detect win32 socket lib. 23651 23652Thu Dec 18 00:25:03 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23653 23654 * re.c (reg_equal): checks for source and casefold and kcode matching. 23655 23656 * marshal.c: became built-in module. 23657 23658 * ext/marshal/marshal.c (r_object): displays struct name for 23659 non-compatible struct. 23660 23661 * string.c (str_index_method): now searches character (fixnum) in 23662 the string. 23663 23664 * string.c (str_include): redefine `include?'. 23665 23666 * regex.c (re_match): start_nowidth saves current stack position 23667 to stop_nowidth. 23668 23669 * regex.c (re_compile_pattern): add space to stop_nowidth to save 23670 runtime stack position. 23671 23672Tue Dec 16 14:57:43 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23673 23674 * string.c (scan_once): wrong exception for regexp that match with 23675 null string (use substr instead of subseq). 23676 23677Sat Dec 13 00:13:32 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23678 23679 * parse.y (expr): remove bare assocs from expr rule. 23680 23681 * rbconfig.rb: renamed from config.rb (it was too generic name). 23682 23683Fri Dec 12 00:50:25 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23684 23685 * parse.y (expr): warns if BEGIN or END appear in the method 23686 bodies. 23687 23688 * string.c (str_match): calls y =~ x if y is neither String nor 23689 Regexp so that eregex.rb works. 23690 23691 * eval.c (f_at_exit): to register end proc. 23692 23693 * class.c (rb_define_module_function): define 'function' method 23694 for the Module, not private method. 23695 23696 * class.c (rb_define_function): function to define `function' method. 23697 23698 * eval.c (rb_eval): inherit visibility from superclass's method 23699 except when it is set to `function' 23700 23701 * eval.c (rb_eval): new visibility status `function'. 23702 23703 * parse.y (yycompile): do not clear eval_tree. thus enable multiple 23704 command line script by option `-e'. 23705 23706 * eval.c (rb_eval): END execute just once. 23707 23708 * parse.y (expr): BEGIN/END built in the syntax. 23709 23710Thu Dec 11 13:14:35 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23711 23712 * object.c (mod_le): Module (or Class) comparison. 23713 23714 * eval.c (rb_remove_method): raises NameError if named method does 23715 not exist. 23716 23717 * ext/curses/curses.c: remove CHECK macro for BSD curses. 23718 23719Thu Dec 11 12:44:01 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 23720 23721 * pack.c: sun4 cc patch 23722 23723Wed Dec 10 15:21:36 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23724 23725 * ext/marshal/marshal.c (marshal_load): can supply evolution proc 23726 object as optional second argument. 23727 23728 * re.c (reg_source): get source string of the regular expression. 23729 23730Tue Dec 9 10:05:17 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23731 23732 * version 1.1b1 released. 23733 23734 * parse.y (tokadd): token buffer overrun. 23735 23736 * ruby.c (ruby_prog_init): forgot to protect rb_argv0 from gc. 23737 23738 * eval.c (ruby_run): call finalizers at process termination. 23739 23740 * gc.c (gc_call_finalizer_at_exit): call free proc for every Data 23741 Wrapper, and finalizer for specified objects at termination. 23742 23743 * version.c (show_version): version format changed. 23744 23745 * regex.c (re_match): wrong match with non-greedy if they appear 23746 more than once in regular expressions. 23747 23748 * sample/ruby-mode.el (ruby-expr-beg): forgot to handle modifiers. 23749 23750Mon Dec 8 19:00:15 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23751 23752 * io.c (io_puts): just put a newline if no argument given. 23753 23754 * ext/tcltklib/tcltklib.c (lib_mainloop): thread-aware tk handle 23755 when $tk_thread_safe is set. 23756 23757 * ext/tcltklib/tcltklib.c (lib_mainloop): use Tcl_DoOneEvent() 23758 instead of Tk_MainLoop(). 23759 23760Mon Dec 6 07:11:16 1997 MAEDA shugo <shugo@po.aianet.ne.jp> 23761 23762 * io.c (io_puts): core dumped without any argument. 23763 23764Fri Dec 5 18:17:17 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23765 23766 * eval.c (mod_remove_method): remove (not undef) a method from the 23767 class/module. 23768 23769 * variable.c (obj_remove_instance_variable): method to remove 23770 instance variables. 23771 23772Thu Dec 4 13:50:29 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23773 23774 * version 1.1b0 released. 23775 23776 * string.c (str_aref): called str_index for regexp. 23777 23778Mon Dec 1 15:24:41 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23779 23780 * compar.c (cmp_between): wrong comparison made. 23781 23782Wed Nov 26 18:18:05 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23783 23784 * lib/mkmf.rb: generate Makefile for extension modules out of ruby 23785 source tree. use like `ruby -r mkmf extconf.rb'. 23786 23787 * numeric.c (fix2str): enlarge buffer to prevent overflow on some 23788 machines. 23789 23790 * parse.y (here_document): wrong line number generated after here-doc. 23791 23792Fri Nov 21 13:17:12 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23793 23794 * parse.y (yylex): skip multibyte characters in comments. 23795 23796Wed Nov 19 17:19:20 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23797 23798 * object.c (nil_to_a): nil.to_a => []. 23799 23800 * parse.y (call_args): wrong node generation. 23801 23802Tue Nov 18 10:13:08 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23803 23804 * array.c (Init_Array): Array#=== works as Array#include? 23805 23806 * regex.c (re_compile_pattern): insert initialize code for jump_n, 23807 before entering loops. 23808 23809 * re.c (reg_search): does not save registers unless $& etc appear 23810 in the script. 23811 23812Mon Nov 17 13:01:43 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23813 23814 * eval.c (is_defined): add defined? check for receivers and 23815 arguments for calls. 23816 23817 * re.c (reg_search): cache last match object. 23818 23819 * re.c (match_aref): $[0] etc. are available. 23820 23821Sat Nov 15 00:11:36 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 23822 23823 * io.c (io_s_popen): "rb" detection 23824 23825Fri Nov 14 18:28:40 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23826 23827 * string.c (scan_once): returns whole match if the pattern does 23828 not contain any parentheses. 23829 23830Thu Nov 13 14:39:06 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23831 23832 * string.c (str_sub): returns copy of the receiver string, even if 23833 any substitution occurred. 23834 23835 * regex.c (re_compile_pattern): no-width match by (?=..), (?!..). 23836 23837Wed Nov 12 13:44:47 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23838 23839 * time.c: remove coerce from Time class. 23840 23841 * regex.c (re_match): non-greedy match by ??, *? +?, {n,m}?. 23842 23843Mon Nov 10 11:24:51 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23844 23845 * regex.c (re_compile_pattern): non-registering parens (?:..). 23846 23847 * regex.c (re_compile_pattern): new meta character \< (wordbeg) 23848 and \> (wordend). 23849 23850 * regex.c (re_compile_pattern): embedded comment for regular 23851 expression by (?#...). 23852 23853Fri Nov 7 16:58:24 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23854 23855 * regex.c (re_compile_pattern): perl5 regexp \A and \Z available. 23856 23857 * regex.c (re_compile_pattern): can expand compile stack dynamically. 23858 23859 * regex.c (PUSH_FAILURE_POINT): wrong compare condition. 23860 23861Wed Nov 2 16:00:00 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 23862 23863 * string.c (str_sub_s): "".sub! "", "" => "\000" 23864 23865Fri Oct 31 15:52:10 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23866 23867 * parse.y (assoc): keyword assoc like {fg->"black"}. 23868 23869Thu Oct 30 17:33:38 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23870 23871 * io.c (io_println): print with newline, which is not affected by 23872 the values of $/ and $\. 23873 23874Thu Oct 30 16:54:01 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 23875 23876 * string.c (str_chop_bang): "".chop caused SEGV. 23877 23878 * string.c (str_chomp_bang): method to chop out last newline. 23879 23880Mon Oct 27 13:49:13 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23881 23882 * ext/extmk.rb.in: library may have pathname contains `.' 23883 23884 * eval.c (rb_rescue): should not protect SystemError. 23885 23886Fri Oct 24 10:58:53 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23887 23888 * io.c (io_s_with_open_stream): ensures to close stream. 23889 23890Thu Oct 23 11:17:44 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23891 23892 * io.c (io_errset): value of $stderr can be changed (to any IO 23893 object). 23894 23895 * io.c (next_argv): $< can be anything that responds to `write'. 23896 23897 * file.c (file_s_with_open_file): ensures to close file. 23898 23899 * error.c (exception): create error under the current class/module. 23900 23901 * range.c (range_eqq): fixnum check for last needed too. 23902 23903Wed Oct 22 12:52:30 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23904 23905 * ext/socket/socket.c: Socket::Constants added. 23906 23907 * file.c: File::Constants added for inclusion. 23908 23909 * array.c (ary_join): call ary_join() recursively for the 1st 23910 array element. 23911 23912Mon Oct 20 12:18:29 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 23913 23914 * ruby.c (load_file): wrong condition for #! check with -x. 23915 23916 * file.c (file_s_dirname): did return "" for "/a". 23917 23918Fri Oct 17 14:29:09 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23919 23920 * ruby.c: now works on alpha-linux. 23921 23922 * bignum.c (bigadd): some undefined side effect order assumed. 23923 23924Wed Oct 15 17:49:24 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23925 23926 * intern.h: function prototypes added. 23927 23928Mon Oct 13 16:54:18 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23929 23930 * class.c (rb_define_class_id): call superclass's `inherited' 23931 method when making subclasses. 23932 23933 * parse.y (nextc): clear lex_lastline at the end of file. 23934 23935 * object.c (Init_Object): need to undef Class#append_features. 23936 23937 * eval.c (rb_eval): no warning on extending classes or modules. 23938 23939Thu Oct 9 11:17:50 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23940 23941 * eval.c (error_print): the exception name follows after the error 23942 message. 23943 23944 * eval.c (compile_error): error message slightly changed. 23945 23946 * parse.y (nextc): script parsing will be terminated by __END__ at 23947 beginning of line. 23948 23949 * eval.c (compile_error): `__END__' is no longer a keyword. 23950 23951 * parse.y (nextc): protect lastline read from script stream. 23952 23953Tue Oct 7 14:06:06 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23954 23955 * version 1.1 alpha9 released. 23956 23957 * eval.c (mod_append_features): renamed from extend_class. 23958 23959 * eval.c (rb_eval): defining method calls `method_added'. 23960 23961 * eval.c (ruby_options): exception while processing options must 23962 terminate the interpreter. 23963 23964 * error.c (Init_Exception): wrong method configuration. `new' 23965 should have been a singleton method. 23966 23967Mon Oct 6 18:55:38 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23968 23969 * ext/kconv/kconv.c (kconv_guess): code to guess character code 23970 from string. 23971 23972Mon Oct 6 18:38:17 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 23973 23974 * pack.c: now encode/decode base64 by `m' template. 23975 23976Fri Oct 3 10:51:10 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23977 23978 * MANIFEST: needed to include lex.c in the distribution. 23979 23980 * eval.c (ruby_options): f_require() called too early. 23981 23982 * eval.c (rb_provide): module extensions should always be `.o'. 23983 23984Thu Oct 2 11:38:31 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23985 23986 * version 1.1 alpha8 released. 23987 23988 * ext/marshal/marshal.c (r_object): remove temporal regist for 23989 structs. (caused problem if structs form cycles.) 23990 23991 * parse.y (match_gen): static binding for match(=~) calls 23992 with regexp literals. 23993 23994Wed Oct 1 15:26:55 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 23995 23996 * eval.c: protect retval in struct tag from GC for C_ALLOCA. 23997 23998 * eval.c: no more pointer value from setjmp/longjmp. 23999 24000Wed Oct 1 14:01:49 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 24001 24002 * ext/marshal/marshal.c (w_byte): argument must be char. 24003 24004Wed Oct 1 10:30:22 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24005 24006 * variable.c (mod_const_at): global constants now belongs to the 24007 class Object. 24008 24009 * object.c (Init_Object): new global constant NIL. 24010 24011 * ext/marshal/marshal.c (marshal_dump): try to set binmode. 24012 24013 * ext/marshal/marshal.c (r_object): forgot to re-regist structs in 24014 the object table. 24015 24016 * eval.c (ruby_options): call Init_ext() before any require() 24017 calls by `-r'. 24018 24019Fri Sep 30 14:29:22 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 24020 24021 * ext/marshal/marshal.c (w_object): marshal dumped core. 24022 24023Tue Sep 30 10:27:39 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24024 24025 * sample/test.rb: bignum test suits added. 24026 24027 * eval.c (rb_eval): new pseudo variable `true' and `false'. 24028 24029 * parse.y: new keywords `true' and `false' added. 24030 24031Mon Sep 29 13:37:58 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24032 24033 * ruby.c (forbid_setid): forbid some options in suid mode. 24034 24035 * ruby.h (NUM2DBL): new macro to convert into doubles. 24036 24037Mon Sep 27 09:53:48 1997 EGUCHI Osamu <eguchi@shizuokanet.or.jp> 24038 24039 * bignum.c: modified for speeding. 24040 24041Fri Sep 26 18:27:59 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 24042 24043 * sample/from.rb: some extensions. 24044 24045Mon Sep 29 13:15:56 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24046 24047 * parse.y (lhs): no more syntax error on `obj.CONSTANT = value'. 24048 24049Fri Sep 26 14:41:46 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24050 24051 * eval.c (ruby_run): deferred calling Init_ext() just before eval_node. 24052 24053Fri Sep 26 13:27:24 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 24054 24055 * io.c (io_isatty): forgot to return TRUE value. 24056 24057Fri Sep 25 11:10:58 1997 EGUCHI Osamu <eguchi@shizuokanet.or.jp> 24058 24059 * eval.c: use _setjmp/_longjmp instead of setjmp/longjmp on some 24060 platforms. 24061 24062Wed Sep 24 17:43:13 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24063 24064 * string.c (Init_String): String#taint and String#taint? added. 24065 24066 * class.c (mod_ancestors): ancestors include the class itself. 24067 24068Wed Sep 24 00:57:00 1997 Katsuyuki Okabe <HGC02147@niftyserve.or.jp> 24069 24070 * X68000 patch. 24071 24072Tue Sep 23 20:42:30 1997 EGUCHI Osamu <eguchi@shizuokanet.or.jp> 24073 24074 * parse.y (node_newnode): SEGV on null node setup. 24075 24076Mon Sep 22 11:22:46 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24077 24078 * ruby.c (ruby_prog_init): wrong safe condition check. 24079 24080Sun Sep 21 14:46:02 1997 MAEDA shugo <shugo@po.aianet.ne.jp> 24081 24082 * error.c (exc_inspect): garbage added to classpath. 24083 24084Fri Sep 19 11:49:23 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24085 24086 * parse.y (newtok): forgot to adjust buffer size when shrinking 24087 the token buffer. 24088 24089 * enum.c (enum_find): rb_eval_cmd() does not return value. 24090 24091 * io.c (pipe_open): close fds on pipe exec. fcntl(fd, F_SETFD, 1) 24092 no longer used. 24093 24094Tue Sep 16 17:54:25 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24095 24096 * file.c (f_test): problem if wrong command specified. 24097 24098 * ruby.c (ruby_prog_init): close stdaux and stdprn for MSDOS. 24099 24100 * ruby.c (ruby_prog_init): should not add path from environment 24101 variable, if ruby is running under setuid. 24102 24103 * process.c (init_ids): check suid check for setuid/seteuid etc. 24104 24105Mon Sep 15 00:42:04 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 24106 24107 * regex.c (re_compile_pattern): \w{3} and \W{3} did not work. 24108 24109Thu Sep 11 10:31:48 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24110 24111 * version 1.1 alpha7 released. 24112 24113 * ext/socket/socket.c (sock_new): no setbuf() for NT. 24114 24115 * io.c (rb_fopen,rb_fdopen): set close-on-exec for every fd. 24116 24117Wed Sep 10 15:55:31 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24118 24119 * ext/marshal/marshal.c (r_bytes0): extra big length check. 24120 24121Tue Sep 9 16:27:14 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24122 24123 * io.c (pipe_fptr_atexit): clean up popen()'ed fptr. 24124 24125 * error.c (set_syserr): some system has error code that is bigger 24126 than sys_nerr. grrr. 24127 24128Mon Sep 8 18:33:33 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24129 24130 * io.c (io_s_new): dereferenced nil for optional mode. 24131 24132Fri Sep 5 10:26:03 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24133 24134 * class.c (class_instance_methods): do not include methods which 24135 are changed to private in subclasses. 24136 24137Thu Sep 4 12:38:53 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24138 24139 * variable.c (f_global_variables): list name of the global 24140 variables. 24141 24142 * object.c (obj_id): returns unique integer. 24143 24144Wed Sep 3 14:05:16 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24145 24146 * version 1.1 alpha6 released. 24147 24148 * eval.c (mod_s_constants): context sensitive constant list. 24149 24150 * variable.c (mod_constants): no more `all' option. 24151 24152 * variable.c (mod_const_of): the values for autoload classes are 24153 their name strings. 24154 24155 * class.c (class_instance_methods): no special treatment for 24156 singleton classes. 24157 24158 * object.c (obj_singleton_methods): returns list of singleton 24159 method names. 24160 24161 * parse.y (yylex): no here document after `class' keyword. 24162 24163 * eval.c (f_load): expand path if fname begins with `~'. 24164 24165Tue Sep 2 13:19:48 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24166 24167 * class.c (ins_methods_i): do not list undef'ed methods. 24168 24169Mon Sep 1 13:42:48 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24170 24171 * version 1.1 alpha5 released. 24172 24173 * object.c (mod_attr_reader): create methods to define attribute 24174 reader/write/accessor. 24175 24176 * class.c (rb_define_attr): always defines accessors. 24177 24178 * eval.c (rb_call): alias occurred in the module body caused SEGV. 24179 24180 * parse.y: did not generate here document strings properly. 24181 24182Mon Sep 1 11:43:57 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 24183 24184 * parse.y (yylex): heredoc dropped an extra character. 24185 24186Fri Aug 29 11:10:21 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24187 24188 * class.c (class_instance_methods): same method names should not 24189 appear more than once. 24190 24191 * parse.y (yylex): spaces can follow =begin/=end. 24192 24193 * variable.c (find_class_path): look for class_tbl also for 24194 unnamed fundamental classes, such as Object, String, etc. 24195 24196 * variable.c (rb_name_class): can't name class before String class 24197 is initialized. 24198 24199 * inits.c (rb_call_inits): unrecognized dependency from GC to 24200 Array. 24201 24202 * variable.c (find_class_path): could not find class if Object's 24203 iv_tbl is NULL. 24204 24205Thu Aug 28 13:12:05 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24206 24207 * version 1.1 alpha4 released. 24208 24209 * variable.c (mod_constants): wrong condition for singleton 24210 class. 24211 24212 * parse.y (yylex): revised `=begin' skip code. 24213 24214 * parse.y (here_document): forgot to free(eos). 24215 24216 * parse.y (yylex): spaces after `<<' prohibited for here 24217 documents to avoid confusing with operator `<<'. 24218 24219 * eval.c (is_defined): separated from rb_eval(). 24220 24221Wed Aug 27 11:32:42 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24222 24223 * version 1.1 alpha3 released. 24224 24225 * variable.c (mod_name): returns name of the class/module. 24226 24227 * parse.y (here_document): finally here document available now. 24228 24229 * variable.c (fc_i): some classes/modules does not have iv_tbl. 24230 24231 * variable.c (find_class_path): avoid infinite loop. 24232 24233Tue Aug 26 13:43:47 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24234 24235 * eval.c (rb_eval): undef'ing non-existing method will raise 24236 NameError exception. 24237 24238 * object.c (class_s_new): needed to create metaclass too. 24239 24240 * eval.c (error_print): no class name print for anonymous class. 24241 24242 * eval.c (rb_longjmp): proper exception raised if raise() called 24243 without arguments, with $! or $@ set. 24244 24245 * object.c (Init_Object): superclass()'s method argument setting 24246 was wrong again. 24247 24248 * class.c (mod_ancestors): list superclasses and included modules 24249 in priority order. 24250 24251Mon Aug 25 11:53:11 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24252 24253 * version 1.1 alpha2 released. 24254 24255 * sample/ruby-mode.el (ruby-parse-region): auto-indent now 24256 supports "\\" in the strings. 24257 24258 * struct.c (struct_getmember): new API to get member value from C 24259 language side. 24260 24261Sat Aug 23 21:39:05 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24262 24263 * parse.y (assignable): remove unnecessary local variable 24264 initialize by nil. 24265 24266Fri Aug 22 14:26:40 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24267 24268 * eval.c (error_print): modified exception print format. 24269 24270Thu Aug 21 16:10:58 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24271 24272 * sample/ruby-mode.el (ruby-calculate-indent): wrong indent level 24273 calculated with keyword operators. 24274 24275Thu Aug 21 11:36:58 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 24276 24277 * parse.y (arg): ary[0] += 1 cause SEGV 24278 24279Wed Aug 20 17:28:50 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24280 24281 * ruby.c (ruby_process_options): require() all modules after 24282 processing all options 24283 24284 * process.c (rb_proc_exec): more security checks added. 24285 24286 * process.c (rb_proc_exec): insecure path on exec. 24287 24288 * hash.c (f_getenv): PATH modification security check. 24289 24290Tue Aug 19 00:15:38 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24291 24292 * version 1.1 alpha1 released. 24293 24294 * eval.c (mod_eval): work as normal eval() if second binding 24295 argument given. 24296 24297 * eval.c (rb_call): did not raise ArgumentError if too many 24298 arguments more than optional arguments (without rest arg). 24299 24300 * eval.c (rb_eval): did not work well for op_asgn2 (attribute 24301 self assignment). 24302 24303 * eval.c (Init_Thread): returns main thread. 24304 24305Mon Aug 18 09:25:56 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24306 24307 * object.c (inspect_i): did not display T_DATA instance variables. 24308 24309 * parse.y: provides more accurate line number information. 24310 24311 * eval.c (thread_value): include value's backtrace information in 24312 the variable `$@'. 24313 24314 * eval.c (f_abort): print backtrace and exit. 24315 24316Sat Aug 16 00:17:44 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24317 24318 * eval.c (class_new_instance): do not make instance from virtual 24319 classes. 24320 24321 * object.c (class_s_new): do not make subclass of singleton class. 24322 24323Fri Aug 15 15:49:46 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24324 24325 * eval.c (call_trace_func): block context switch in the trace 24326 function. 24327 24328 * eval.c (rb_eval): clear method cache at class extension. 24329 24330 * object.c (obj_type): returns object's class even if it defines 24331 singleton methods. 24332 24333Fri Aug 15 19:40:43 1997 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp> 24334 24335 * ext/socket/socket.c (Init_socket): small typo caused SEGV. 24336 24337Wed Aug 13 17:51:46 1997 Yukihiro Matsumoto <matz@netlab.co.jp> 24338 24339 * version 1.1 alpha0 released. 24340 24341Local variables: 24342add-log-time-format: (lambda () 24343 (let* ((time (current-time)) 24344 (diff (+ (cadr time) 32400)) 24345 (lo (% diff 65536)) 24346 (hi (+ (car time) (/ diff 65536)))) 24347 (format-time-string "%a %b %e %H:%M:%S %Y" (list hi lo) t))) 24348indent-tabs-mode: t 24349tab-width: 8 24350end: 24351