summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/timeout.rb: add optional exception argument for compatibilityakr2003-07-031-0/+5
| | | | | | | function. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_values_at): extract common procedure frommatz2003-07-031-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rb_ary_values_at. follow DRY principle. * re.c (match_values_at): values_at should understand ranges. * struct.c (rb_struct_values_at): ditto. * struct.c (inspect_struct): inspect format changed; add "struct " at the top. * sprintf.c (rb_f_sprintf): "%p" specifier for inspect output. (RCR#68) * eval.c (rb_mod_undef_method): allow "undef_method" to accept multiple arguments. (RCR#146) * lib/timeout.rb: put timeout in Timeout module. (RCR#121) [ruby-talk:61028] * re.c (match_groups): new method added. (RCR#139) * variable.c (rb_mod_const_of): should exclude constant defined in Object, unless retrieving constants of Object. * string.c (rb_str_new4): do not allocate new string if original is frozen or already have copy-on-write entry. [ruby-talk:74940] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (VPATH): convert from Windows form to Unix form oneban2003-07-031-0/+5
| | | | | | | MinGW. This fixes the build with GNU make 3.80-1 for Cygwin. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_shared_replace): clear flags before copy.matz2003-07-021-0/+9
| | | | | | | | | | * string.c (rb_str_replace): ditto. * eval.c (rb_yield_0): override visibility mode for module_eval etc. (ruby-bugs-ja PR#505) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb: synchronize document with source code.aamine2003-07-021-0/+6
| | | | | | | * lib/net/pop.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb: unify SMTP and SMTPCommand.aamine2003-07-021-0/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/net/smtp.rb: new exception class SMTPError. * lib/net/smtp.rb: new exception class SMTPAuthenticationError. * lib/net/smtp.rb: new exception class SMTPServerBusy. * lib/net/smtp.rb: new exception class SMTPSyntaxError. * lib/net/smtp.rb: new exception class SMTPFatalError. * lib/net/smtp.rb: new exception class SMTPUnknownError. * lib/net/smtp.rb: change critical section protect algorithm. * lib/net/smtp.rb (SMTP#do_start): check authentication args before all. * lib/net/smtp.rb: new method send_message (alias send_mail). * lib/net/smtp.rb: new method open_message_stream (alias ready). * lib/net/pop.rb: POPBadResponse is a POPError. * lib/net/pop.rb (POPMail#pop): ban ReadAdapter. * lib/net/pop.rb (POPMail#top): ditto. * lib/net/pop.rb (POP3Command): change critical section protect algorithm. * lib/net/pop.rb (POP3Command#auth): USER and PASS should be one critical block. * lib/net/pop.rb (POP3Command#retr): ban `dest' argument using iterator. * lib/net/pop.rb (POP3Command#top): ditto. * lib/net/protocol.rb: #read_message_to -> #each_message_chunk * lib/net/protocol.rb: #D -> #LOG * lib/net/protocol.rb: #D_off -> #LOG_off * lib/net/protocol.rb: #D_on -> #LOG_on git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: set old class aliases for backward compatibility. ↵aamine2003-07-021-0/+7
| | | | | | | | | [ruby-talk:74863] * lib/net/protocol.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb (Net::POP3#start): typofix.eban2003-07-011-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_intern): should use mbclen instead of mblen.eban2003-07-011-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_define_class, rb_define_module): also set constant undernobu2003-07-011-0/+11
| | | | | | | | | | | | | Object. [ruby-dev:20445] * object.c (boot_defclass): ditto. * variable.c (rb_const_get_at, rb_const_get_0, rb_mod_const_at, rb_const_defined, mod_av_set, rb_const_assign): toplevel constants are now under Object, rb_class_tbl remains for GC. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (mnew): ignore metaclasses have no influence, for rklass.nobu2003-06-301-0/+5
| | | | | | | [ruby-talk:74706] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* import drb-2.0.4 (use LocalJumpeError#reason)seki2003-06-281-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (rb_cv_stack_grow_dir): check stack growing direction.nobu2003-06-281-0/+14
| | | | | | | | | | | | | | | * eval.c (rb_thread_restore_context): prior configuration macro. * gc.c (ruby_stack_length): always return the address of lower edge. * gc.c (rb_gc_mark_locations): remove margin. [ruby-dev:20462] * gc.c (rb_gc, Init_stack): prior configuration macro. * gc.c (Init_stack): add safety margin. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_split_m): remove white spaces on the head ofnobu2003-06-271-0/+5
| | | | | | | the last element, when limit is specified. [ruby-talk:74506] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_fflush): need to check if closed after thread switch.nobu2003-06-261-0/+10
| | | | | | | | | | | | [ruby-dev:20351] * io.c (fptr_finalize): ditto. * string.c (rb_str_rindex_m): fixed wrong fix. should move backward first only when matching from the end. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (class_instance_method_list): get rid of warning aboutnobu2003-06-261-0/+6
| | | | | | | | arguement type mismatch, and inline method_list(). [ruby-core:01198] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_generic_class_instance_methods): merge argumentmatz2003-06-251-0/+6
| | | | | | | | check (and warning) into one function; following DRY principle. [ruby-core:01193] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (autoload_delete): should delete Qundef from iv_tbl.matz2003-06-251-2/+7
| | | | | | | (ruby-bugs-ja PR#504) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/types.rb: replaced Kernel::Hash reference with Object::Hashwhy2003-06-241-0/+5
| | | | | | | from [ruby-talk:74270] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_yield_0): show yielded block position not only yieldingnobu2003-06-241-0/+5
| | | | | | | point. [ruby-dev:20441] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (HTTPHeader#proxy_basic_auth): missing `@'.aamine2003-06-241-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * config.guess: have wrongly returned "alphaev56-unknown-linux-" on Linux/Alpha.aamine2003-06-241-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: always add -mieee for gcc/alpha. [ruby-dev:20429]aamine2003-06-231-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_unshift_m): need to check number of arguments.nobu2003-06-231-0/+5
| | | | | | | [ruby-talk:74189] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_close): missing prototype.aamine2003-06-231-0/+11
| | | | | | | | | * ext/socket/socket.c (bsock_do_not_rev_lookup_set): ditto. * ext/win32ole/win32ole.c (foletype_guid, foletype_progid): ditto. * error.c (syserr_initialize): length argument of sprintf() is an int. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add wince files.eban2003-06-231-0/+6
| | | | | | | * ext/tk/MANIFEST: add sample/tkmenubutton.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (find_dirsep): get rid of warnings.nobu2003-06-231-0/+18
| | | | | | | | | | | | | | | | | | | * eval.c (error_print): temporary value might be disposed by GC. * hash.c (env_has_value, env_index): should not increment NULL. * io.c (io_read, rb_io_sysread): not read when length is 0. * io.c (rb_io_reopen): ensure initialized IO. * io.c (rb_io_init_copy): sychronize file pointer. * io.c (rb_io_s_pipe): make exception proof. * string.c (rb_str_rindex_m): Fixnum 0 matched end of string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_open_file): initialize flags.akr2003-06-231-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_upto): generate sequence according to "succ"matz2003-06-231-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | order. formerly check was done by dictionary order. [ruby-talk:74138] * string.c (rb_string_value): fill constant empty string along with setting ELTS_SHARED if str->ptr is NULL. [ruby-core:01179] * string.c (rb_string_value_ptr): ditto. * string.c (rb_check_string_type): ditto. * string.c (str_gsub): move END(0) check before mbclen2(). * string.c (scan_once): reduce END(0) check. * io.c (rb_io_initialize): accept fixnum mode. * eval.c (error_print): replace strchr() by memchr(), einfo may contain "\0". * pack.c (pack_unpack): range check for "@" move; initialize check for "m". * error.c (syserr_initialize): avoid buffer overflow. * file.c (rb_file_s_readlink): expand buffer until readlink succeed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_arg): initialize v[6] even when argc is 10 toakr2003-06-231-0/+5
| | | | | | | avoid valgrind error. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* typo in date, reported by daz.nobu2003-06-221-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (proc_invoke): should not propagate distination tag ifmatz2003-06-211-0/+3
| | | | | | | tag is already handled in this level. (ruby-bugs-ja PR#501) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (str_to_id): check for empty string before intern.matz2003-06-211-3/+3
| | | | | | | [ruby-talk:74006] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_to_id): use rb_str_intern() instead of rb_intern()nobu2003-06-211-0/+5
| | | | | | | directly, for sanity check. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * wince/Makefile.sub: undefine HAVE__SETJMP.uema22003-06-211-0/+6
| | | | | | | * wince/resource.rb: include winver.h in wince3.0. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (proc_invoke): should not propagate TAG_BREAK andmatz2003-06-201-0/+5
| | | | | | | TAG_RETURN from orphan Proc object. [ruby-core:01148] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (new_yield): distinguish "yield 1,2" and "yield [1,2]".matz2003-06-201-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | [ruby-dev:20360] * eval.c (rb_eval): support new_yield() change. * variable.c (rb_const_get_0): warn for Foo::BAR when BAR is a toplevel constant (i.e. a constant defined under Object). [ruby-list:36935] * parse.y (no_blockarg): separate no block argument check and ret_args argument processing. * range.c (rb_range_beg_len): out_of_range check after adjusting end point. [ruby-dev:20370] * parse.y (call_args): the first argument to arg_cancat() should be NODE_LIST. [ruby-core:01151] * eval.c (rb_eval): should dispatch based on ID type. * eval.c (rb_yield_0): should restore scope_vmode during yield. [ruby-dev:20361] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * defines.h (PATH_ENV): name of PATH environment. [new].usa2003-06-201-0/+14
| | | | | | | | | | | | | | | * defines.h (ENV_IGNORECASE): define for case insensitive platforms to access environment variables. * dln.c (dln_find_exe): use PATH_ENV instead of "PATH". * hash.c (env_delete, rb_f_getenv, env_fetch, rb_env_path_tainted, env_aset): ditto. * ruby.c (proc_options): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: Import csv module.nahi2003-06-191-13/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* import from drb-2.0.4b3seki2003-06-191-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rubytest.rb: add library path to include standard libraries.eban2003-06-191-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (env_delete, rb_f_getenv, env_fetch): case insensitive tousa2003-06-191-0/+5
| | | | | | | access environment variables on DOSISH platforms. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* added changelogs about zlibkatsu2003-06-181-2/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (rb_syck_load_handler): merge key implemented.why2003-06-181-0/+13
| | | | | | | | | | | | | | * ext/syck/rubyext.c (transfer_find_i): removed use of String#=~ in favor of Regexp#match. * lib/yaml.rb: YAML::try_implicit returns. * lib/yaml/rubytypes.rb: Regexps added for type matching. * lib/yaml/emitter.rb: fix String + nil error. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/gram.c: added grammar for certain empty sequence entries.why2003-06-171-0/+12
| | | | | | | | | | | | | * ext/syck/handler.c, ext/syck/syck.c, ext/syck/syck.h: track bad anchors. * ext/syck/token.c: added pause token, tag possible circular references. * lib/yaml/rubytypes.rb: parsing YMD time as Date instance. * ext/syck/rubyext.c: ditto. DomainType, PrivateType, BadAlias classes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_opendir): need to set errno. [ruby-talk:73761]usa2003-06-171-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c: remove rb_cBlock.matz2003-06-171-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (rb_fix2uint): renamed from rb_fix2int on IA64.eban2003-06-161-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (proc_invoke): format the message for localjump_error().nobu2003-06-161-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/dl.c (rb_dl_callback): use rb_block_proc() instead ofusa2003-06-161-0/+7
| | | | | | | | | rb_block_new(). * ext/win32ole/win32ole.c (ev_on_event): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e