summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * ext/syck/rubyext.c: using GC nodes caused segfault. [ruby-core:1071]why2003-06-053-15/+45
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/token.c: directives choked on a period.why2003-06-057-193/+326
| | | | | | | | | | * ext/syck/gram.y: anchors work above a collection. [ruby-core:1071] * ext/syck/handler.c, ext/syck/syck.c: ensure a fresh strtable between parser iterations. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call_super): should search superclass method based onmatz2003-06-032-10/+13
| | | | | | | orig_func, not last_func. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-06-03eban2003-06-031-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call): typo.matz2003-06-031-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call_super): inheritance line adjustment moved frommatz2003-06-039-50/+62
| | | | | | | | | rb_call(). [ruby-core:01113] * eval.c (rb_eval): use rb_call_super() to follow DRY principle. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-06-02eban2003-06-021-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (push_values_at): Array#values_at should work withmatz2003-06-0212-56/+113
| | | | | | | | | | | | ranges too. * range.c (rb_range_beg_len): length calculation was wrong. * eval.c (rb_call): should set T_ICLASS in the frame->last_class. [ruby-core:01110] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* context.rb typo, thank rubikichi-sankeiju2003-06-011-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/defs.h: better support for old Cygwin, again.eban2003-06-011-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/defs.h: better support for old Cygwin.eban2003-06-011-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/defs.h: avoid warnings on Cygwin.eban2003-06-012-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: should not use def file, use ld witheban2003-06-014-22/+27
| | | | | | | | | --export-all-symbols option on Cygwin/MinGW. * defines.h: ditto. * cygwin/GNUmakefile.in: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * wince/string_wce.c: add strpbrk() for hpcpro support.uema22003-06-015-14/+57
| | | | | | | | | | | * wince/setup.mak: add hpcpro(CE2.11) & armv4t(CE.NET) support. * wince/resource.rb: ditto. * wince/Makefile.sub: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-06-01nobu2003-06-011-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_autoload_load): autoloaded constants under a modulenobu2003-06-012-10/+5
| | | | | | | belong to the module. [ruby-core:01094], [ruby-dev:20309] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_intern): should handle multibyte name.usa2003-05-312-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (rb_syck_mktime): seconds calculated wrong.why2003-05-305-282/+417
| | | | | | | | | | | | * ext/syck/gram.c: flexibility to anchors and transfer methods on collections. * ext/syck/token.c: hex escapes. * lib/yaml/basenode.rb: YamlNode references changed to YAML::BaseNode. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove conflictnobu2003-05-301-12/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-05-31eban2003-05-301-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_f_syscall): type dispatch should be based onmatz2003-05-306-31/+69
| | | | | | | | | | | | | | | | | | | rb_check_string_type(), not FIXNUM_P(), because values may be a bignum. [ruby-talk:72257] * eval.c (rb_call0): should pass the current klass value to block_invoke, which may be called via "super". [ruby-core:01077] * eval.c (block_invoke): now takes 4th argument "klass". * eval.c (block_alloc): should propagate BLOCK_PROC to ruby_block. * marshal.c (r_object0): should not use "yield" method, use "call" instead. (ruby-bugs-ja PR#476) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (rb_num2uint, rb_fix2int): new function to convertnobu2003-05-303-8/+60
| | | | | | | | | values over INT_MAX. [ruby-core:01099] * ruby.h (NUM2UINT, FIX2INT): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_Array): exclude Kernel#to_a instead of Object#to_a.nobu2003-05-303-22/+40
| | | | | | | | | | | | | | | (ruby-bugs-ja:PR#483) * lib/optparse.rb (OptionParser::Switch#parse_arg): not splat. * lib/optparse.rb (OptionParser::Switch#conv_arg): splat if no conversion supplied. * lib/optparse.rb (OptionParser::Switch::PlacedArgument#parse): override next switch after argument conversion. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-05-30eban2003-05-301-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/token.c: preserve any indentation passed an explicitwhy2003-05-292-63/+66
| | | | | | | indentation. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/handler.c, ext/syck/syck.h: removed syck_fold_format().why2003-05-295-561/+477
| | | | | | | | | * ext/syck/gram.c: flexibility for aliases and anchors. * ext/syck/token.c: folding now handled in the tokenizer. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* backoutnobu2003-05-291-5/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_autoload_load): should delete autoloadednobu2003-05-292-2/+22
| | | | | | | | | symbol itself before load. [ruby-core:01097] * variable.c (rb_mod_remove_const): must not return Qundef. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (_CRTIMP): redefine _CRTIMP on MinGW.eban2003-05-294-7/+15
| | | | | | | | * configure.in: remove '-D__USE_CRTIMP' from XCFLAGS on MinGW. * win32/win32.c (NtMakeCmdVector): handle quotes only if not instring. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-05-29nobu2003-05-291-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit missnobu2003-05-291-2/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ev_const_defined, ev_const_get), variable.cnobu2003-05-296-156/+287
| | | | | | | | | | | | | | | | | | | | | | | | | | | (rb_const_get_at, rb_const_get, rb_mod_remove_const): use Qundef as autoload marker. [ruby-dev:18103], [ruby-dev:18184] * eval.c (rb_mod_autoload, rb_mod_autoload_p): new method; Module#autoload, Module#autoload?. * variable.c (rb_autoload, rb_autoload_load, rb_autoload_p): manage autoload constants per classes/modules. * variable.c (rb_const_defined_at, rb_const_defined): return false for autoloading constants. * class.c (rb_define_class, rb_define_module), eval.c (rb_eval), variable.c (rb_mod_const_at, rb_const_assign): removed autoload stuff. * intern.h: prototypes; rb_autoload, rb_autoload_load, rb_autoload_p. * lib/optparse.rb (OptionParser::Switch::PlacedArgument::parse): do not treat unmatched argument as an option. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-05-27eban2003-05-271-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c, util.c: removed duplicated includes/defines.nobu2003-05-273-13/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_addrinfo): get rid of SEGV at NULL ptrnobu2003-05-272-2/+7
| | | | | | | String. increase buffer size for 64bit platforms. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb, lib/optparse.rb, lib/tracer.rb: use Method#to_blocknobu2003-05-264-5/+10
| | | | | | | instead of deprecated Method#to_proc. (ruby-bugs-ja:PR#477) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-05-26eban2003-05-261-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser::Switch::parse,nobu2003-05-262-3/+9
| | | | | | | | OptionParser::order): use {Block,Proc}#call instead of deprecated #yield. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (Init_Proc): Block/Proc separation. [huge change]matz2003-05-267-166/+337
| | | | | | | | | | | | | | * eval.c (block_arity): returns exact arity number for Procs out of methods. also gives 1 for {|a|..}. * string.c (rb_str_match): revert use of String#index for invocation like string =~ string. * eval.c (rb_Array): move Object#to_a exclusion hack from splat_value(). need to be in eval.c for a while. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-05-25nobu2003-05-251-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_quad_pack): should negate negative bignum.nobu2003-05-252-0/+6
| | | | | | | (ruby-bugs-ja:PR#474) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb: support LOGIN authentication. The patch is contributed ↵aamine2003-05-242-10/+45
| | | | | | by Kazuhiko Izawa. [ruby-talk:78981] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * wince/Makefile.sub: add eMbedded Visual C++ 4.0 support.uema22003-05-246-16/+64
| | | | | | | | | | | | | * wince/resource.rb: ditto. * wince/setup.mak: ditto. * wince/configure.bat: ditto. * wince/mkexports.rb: delete japanese comments. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_longjmp): wrong jump.nobu2003-05-231-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_longjmp): get rid of reentering while debug warning.nobu2003-05-232-5/+35
| | | | | | | (ruby-bugs-ja:PR473) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_finalize): turn off ruby_debug flag before callingmatz2003-05-234-5/+12
| | | | | | | | | | at_exit procs and finalizers. (ruby-bugs-ja:PR473) * ext/tcltklib/tcltklib.c (lib_mainloop_core): OK to block if there's no other thread. (ruby-bugs:PR#861) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_unpack): sign-extend if sizeof long is bigger thannobu2003-05-232-0/+23
| | | | | | | 32. (ruby-bugs-ja:PR#472) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* removed trailing white spaces.nobu2003-05-231-180/+178
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/token.c: single- and double-quoted root-level fix.why2003-05-224-51/+100
| | | | | | | | | | * lib/yaml.rb (YAML::object_maker): can create object attributes (such as found in Exception class) * lib/yaml/rubytypes.rb: roundtripping of Exception and subclasses. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-05-23eban2003-05-221-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e