summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * eval.c (rb_thread_save_context): prohibit rb_gc_force_recycle()matz2003-05-202-0/+7
| | | | | | | on thread saved ruby_dyna_vars. [ruby-dev:20236] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (init_copy): call initialize_copy at the end of copymatz2003-05-202-2/+7
| | | | | | | process. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (syserr_initialize): use Errno constants as defaultnobu2003-05-202-2/+13
| | | | | | | errno for subclasses. [ruby-dev:20241] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.h: define ST_DATA_T_DEFINED for portability.eban2003-05-204-5/+25
| | | | | | | | | | | | | | | | * ext/syck/syck.h: add typedef, st_data_t for Ruby 1.6. * ext/syck/syck.c (syck_st_free_nodes): return int. * ext/syck/syck.c (syck_add_sym): cast the data to st_data_t to avoid error on bcc32. * ext/syck/syck.c (syck_lookup_sym): ditto. * ext/syck/syck.c (syck_free_parser): NULL is not integer. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_yield_0): give warning for multiple values for amatz2003-05-208-28/+83
| | | | | | | | | | | | | | | | | | | | | | | | | block parameter. * eval.c (rb_yield_values): a function to yield multiple values. * array.c (sort_1): use rb_yield_values. * enum.c (min_ii, max_ii): ditto. * hash.c (rb_hash_update_block_i, delete_if_i, select_i, each_pair_i, env_each, env_reject_bang, env_select, env_update_i): ditto. * struct.c (rb_struct_each_pair): ditto. * eval.c (top_include): should include module in the current self, not ruby_top_self. [ruby-dev:20198] * eval.c (top_include): stop inclusion to ruby_wrapper; give warning. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (kill): set errno after calling raise().usa2003-05-202-11/+22
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_f_missing): create exception instance by ordinalnobu2003-05-203-36/+100
| | | | | | | | | | | | | | | | method. * error.c (rb_name_error, rb_sys_fail): ditto. * error.c (exc_to_s, exit_status, name_err_name, nometh_err_args, syserr_errno, syserr_eqq): access attributes. * error.c (name_err_initialize, nometh_err_initialize, syserr_initialize): initialize attributes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/token.c, lib/implicit.c: expanded character set to allow UTF-8,why2003-05-193-1488/+3181
| | | | | | | other Ruby encodings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/syck.c, lib/syck.h, lib/token.c, lib/gram.c: count line numberswhy2003-05-195-69/+77
| | | | | | | only if line pointer has increased. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-05-20eban2003-05-191-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (push_braces): do not push_braces() unless rbrace is found.matz2003-05-192-1/+6
| | | | | | | (ruby-bugs-ja:PR#469) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@3820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* modify ChangeLog.aamine2003-05-191-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-05-19eban2003-05-191-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@3816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use warn() instead of $stderr.puts().tadf2003-05-183-9/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use $deferr instead of $stderr.tadf2003-05-182-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@3813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-05-17eban2003-05-171-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@3807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* re-indented & tabifiednobu2003-05-151-145/+145
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@3801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-05-15usa2003-05-151-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (set_stdio): better message.matz2003-05-152-2/+19
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@3795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-05-14eban2003-05-141-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@3784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-05-13eban2003-05-131-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e