aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ext/pty/pty.c (pty_finalize_syswait): join (using Thread#value)matz2003-05-1910-68/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | before detach pid. [ruby-talk:71519] * eval.c (PUSH_FRAME): save outer ruby_block. [ruby-list:37677], [ruby-dev:20202] * eval.c (BEGIN_CALLARGS): restore outer block by using ruby_block->outer. * eval.c (block_pass): do not alter block->prev, but block->outer. * array.c (get_inspect_tbl): warning on wrong condition. * eval.c (localjump_xvalue): renamed exitstatus to exit_value since it's not exit "status" after all. * eval.c (localjump_error): add reason to LocalJumpError. * compar.c (rb_cmpint): raise error via rb_cmperr(), if cmp value is nil. now take new 2 arguments. * time.c (time_cmp): 2003-05-16 fix was incomplete. (ruby-bugs-ja:PR#458) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c: add #include "version.h".aamine2003-05-194-0/+11
| | | | | | | | * hash.c: ditto. * string.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_mod_cmp): stupid comparison fixed.matz2003-05-193-2/+9
| | | | | | | | * io.c (Init_IO): ARGF.path added (alias to ARGF.filename). [ruby-dev:20197] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (init_copy): rename copy_object as initialize_copy,matz2003-05-1912-55/+61
| | | | | | | | | | since it works as copy constructor. * eval.c (rb_add_method): initialize_copy should always be private, like initialize. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* modify ChangeLog.aamine2003-05-191-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-05-19eban2003-05-191-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (get_inspect_tbl): check whether inspect_tbl value is amatz2003-05-194-10/+49
| | | | | | | | | | | | | | | | | valid array. (ruby-bugs-ja PR#65) * array.c (inspect_ensure,rb_protect_inspect,rb_inspecting_p): use get_inspect_tbl(). * eval.c (rb_f_abort): call exit(1) if exception is raised. This patch was made by Nobuyoshi Nakada <nobu.nokada@softhome.net> on 2002-05-30. (ruby-bugs-ja PR#236) * signal.c: disable Ruby's interrupt handler at the beginning. (ruby-bugs-ja PR#236) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_quote): \n \r \f \v quoting was wrong.aamine2003-05-192-6/+13
| | | | | | | * re.c (rb_reg_quote): rb_reg_quote(" ") should be "\\ ", not "\\s". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use warn() instead of $stderr.puts().tadf2003-05-183-9/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use $deferr instead of $stderr.tadf2003-05-182-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add WIN32OLE_TYPE#to_s method.suke2003-05-176-3/+38
| | | | | | | | | add WIN32OLE_VARIABLE#to_s method. add WIN32OLE_METHOD#to_s method. add WIN32OLE_PARAM#to_s method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-05-17eban2003-05-171-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_class_allocate_instance): singleton class checkmatz2003-05-164-10/+47
| | | | | | | | | | moved to rb_obj_alloc(). (ruby-bugs-ja PR#345) * re.c (rb_reg_quote): should escape white space characters, \t, \f, \n, \r. (ruby-bugs-ja PR#231) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rational.rb (Integer::denominator): fixed typo. (ruby-bugs-ja:PR#466)nobu2003-05-162-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (ruby_connect): connect() after EINPROGRESSnobu2003-05-162-15/+42
| | | | | | | | returns EINVAL on some platforms, need to check true error status. [ruby-core:01037] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (block_pass): chain previous block to the pushing block.matz2003-05-163-16/+19
| | | | | | | | * time.c (time_cmp): does not compare with numbers for interchangeability. (ruby-bugs-ja PR#458) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/gram.c: fixes to one-line documents and end of stream documents.why2003-05-156-172/+197
| | | | | | | | * lib/syck.c, lib/syck.h: add root_on_error to parser struct, specifying the symbol to be returned on a parse error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* re-indented & tabifiednobu2003-05-151-145/+145
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/open-uri.rb (OpenURI::Redirect#initialize): call super toakr2003-05-152-0/+19
| | | | | | | | | | initialize mesg. * lib/open-uri.rb (OpenURI::Meta#charset): call block to guess charset if block is given and charset is not given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_mod_le): returns nil if two classes/modules are notmatz2003-05-153-19/+35
| | | | | | | | | in class-superclass relationship. * object.c (rb_mod_cmp): uses new rb_mod_le() behavior. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/ruby/ext/syck/rubyext.c, lib/implicit.re: timestamp repairs towhy2003-05-154-580/+603
| | | | | | | | | timezone and milliseconds. * lib/syck.c (syck_parser_reset_levels): duplicate string literal to avoid warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-05-15usa2003-05-151-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (set_stdio): better message.matz2003-05-152-2/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (set_stdio): $stdin, $stdout, $stderr now became read-only.matz2003-05-153-92/+14
| | | | | | | * variable.c (readonly_setter): message changed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/syck.c (syck_parser_pop_level): add prototype.usa2003-05-152-0/+9
| | | | | | | * ext/syck/syck.c (syck_strndup): should return value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (kill): fix typo and add signal 0 support.usa2003-05-152-6/+30
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/gram.c: sequence-in-map shortcut, transfer methods onwhy2003-05-148-115/+198
| | | | | | | | | | | sequence-in-sequence, memory leak in mapping merge. [0.28] * ext/syck/syck.c: memory leak in domain anchoring. [0.28] * lib/yaml/rubytypes.rb, lib/yaml/types.rb: eliminated 1.6.x code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-05-14eban2003-05-141-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c: add prototypes to avoid VC++ warnings.usa2003-05-142-1/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regex.c (re_match_exec): \Z changed to be consistent with new $matz2003-05-143-3/+7
| | | | | | | (endbuf) behavior. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTP#start): should check whether HTTP session is ↵aamine2003-05-142-1/+6
| | | | | | opened before finishing. (ruby-bugs-ja:PR#463) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: reduce warning. (ruby-bugs-ja:PR#462)aamine2003-05-142-30/+24
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb, lib/yaml/types.rb: using Object#object_idwhy2003-05-1310-18/+75
| | | | | | | | | | | rather than deprecated Object#id. * ext/token.c: changed ASCII escapes to octal notation. * ext/Setup*: added entries for static linking of Syck extension. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/syck/handler.c (syck_hdlr_add_alias): add cast to avoid warning.eban2003-05-131-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/handler.c: add proper casts.eban2003-05-133-6/+10
| | | | | | | * ext/syck/syck.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add '--Wl,--enable-auto-import' to DLDFLAGSeban2003-05-132-1/+9
| | | | | | | | | on Cygwin/MinGW. * configure.in: add '-D_USE_CRTIMP' to XCFLAGS on MinGW. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, bcc32/Makefile.sub, win32/Makefile.sub: defineusa2003-05-135-0/+11
| | | | | | | | HAVE_FSYNC. * win32/win32.h (fsync): define as _commit(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb: object and struct loadingwhy2003-05-1310-401/+435
| | | | | | | | | * lib/yaml.rb: YAML::detect_implicit will discover typing for a Ruby string * ext/syck/: Fixed portable comments, misuse of NULL and methods without return VALUEs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-05-13eban2003-05-131-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (error_pos): use $deferr for output instead of stderrmatz2003-05-136-57/+127
| | | | | | | | | | | | | | | | | | | | | directly. * eval.c (error_print,error_handle,rb_longjmp,rb_thread_schedule): ditto. * io.c (Init_IO): new variable $deferr which is default output port of error messages. * io.c (rb_warn_m): new method "warn". [new] * error.c (warn_print): use $deferr. * error.c (rb_bug): ditto. * error.c (err_append): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/implicit.c, ext/syck/rubyext.c: transfer methods applied to ↵why2003-05-114-91/+121
| | | | | | | | | | | native loading * ext/syck/token.c: fix for transfer methods on same indentation as nested mapping * lib/yaml/rubytypes.rb: all type names in lowercase git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb: refine to_s test.akr2003-05-113-12/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb (PP::ObjectMixin#pretty_print): refine to_s handling.akr2003-05-102-5/+28
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/gram.c ext/syck/handler.c ext/syck/implicit.cwhy2003-05-108-149/+1000
| | | | | | | | | | | | ext/syck/node.c ext/syck/rubyext.c ext/syck/syck.c ext/syck/syck.h ext/syck/token.c: updated to Syck 0.27 * lib/yaml/loader.rb: new YAML::Loader class * lib/yaml.rb: loading of type families leverages YAML::DefaultLoader git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Sat May 10 19:01:00 2003 Takaaki Uematsu <uema2x@jcom.home.ne.jp>uema22003-05-103-71/+28
| | | | | | | | | * wince/string.c: file removed. * wince/stdlib.c: file added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/yaml/ypath.rb: escape '['.eban2003-05-101-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/MANIFEST: new file.eban2003-05-102-0/+14
| | | | | | | * ext/syck/.cvsignore: new file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * net/imap.rb: use DataFormatError in u16tou8/u8tou16.shugo2003-05-101-9/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (decode_utf7): new method.shugo2003-05-102-0/+151
| | | | | | | * lib/net/imap.rb (encode_utf7): new method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial checkin of YAML substances.why2003-05-0925-0/+7962
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e