summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-06-062003-06-06nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-06* eval.c (error_print): needs to be exception proof.nobu
* eval.c (error_handle, rb_longjmp): bails out when exception reentered. (ruby-bugs-ja:PR#487), [ruby-core:01119], [ruby-core:01122] * eval.c (Init_Proc): pre-allocates critical error objects. * parse.y (cmd_brace_block, do_block, brace_block): initialize block variables at the beginning of the block. [ruby-talk:72521] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-06* gc.c (define_final): eliminate rb_f_lambda() call.matz
* class.c (rb_scan_args): ditto. * signal.c (sig_trap): ditto. * hash.c (rb_hash_initialize): ditto. * variable.c (rb_f_trace_var): ditto. * ext/dl/dl.c (rb_dl_callback): ditto. * ext/win32ole/win32ole.c (ev_on_event): ditto. * eval.c (ruby_cleanup): $SAFE is turned off in the finalization. Each END proc should preserve its own $SAFE level. [ruby-core:01119] * marshal.c (marshal_load): remove unused variable "hash". [ruby-core:01120] * hash.c (env_str_new): freeze strings from ENV. [ruby-talk:72860] * array.c (rb_ary_first): optional argument to retrieve first n elements. * array.c (rb_ary_last): optional argument to retrieve last n elements. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-06* eval.c (ruby_cleanup): $SAFE is turned off in the finalization.matz
Each END proc should preserve its own $SAFE level. [ruby-core:01119] * marshal.c (marshal_load): remove unused variable "hash". [ruby-core:01120] * hash.c (env_str_new): freeze strings from ENV. [ruby-talk:72860] * array.c (rb_ary_first): optional argument to retrieve first n elements. * array.c (rb_ary_last): optional argument to retrieve last n elements. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-06* lib/net/http.rb: define Net::HTTPResponse#to_ary for backward ↵aamine
compatibility. [ruby-talk:72927] * lib/net/protocol.rb: add warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-05* ext/syck/rubyext.c (syck_parser_mark): was a bit heavy on the GC.why
* lib/yaml.rb (YAML::transfer): added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-05* wince/stdlib.c: add mblen().uema2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-05* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.subusa
(MISSING): link with missing/erf.c. * missing.h (erf, erfc): fix prototype. * missing/erf.c: new. [ruby-list:37753] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-05* ext/curses/curses.c (window_s_allocate,curses_finalize):eban
avoid VC++ warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-052003-06-05eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-05* math.c (math_erf,math_erfc): new function. [ruby-list:37753]matz
* eval.c (ruby_finalize): no longer need to turn off $DEBUG in the finalizer. (ruby-bugs-ja PR#473) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-05* ext/syck/rubyext.c: using GC nodes caused segfault. [ruby-core:1071]why
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-05* ext/syck/token.c: directives choked on a period.why
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-03* eval.c (rb_call_super): should search superclass method based onmatz
orig_func, not last_func. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-032003-06-03eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-03* eval.c (rb_call): typo.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-03* eval.c (rb_call_super): inheritance line adjustment moved frommatz
rb_call(). [ruby-core:01113] * eval.c (rb_eval): use rb_call_super() to follow DRY principle. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-022003-06-02eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-02* array.c (push_values_at): Array#values_at should work withmatz
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-01context.rb typo, thank rubikichi-sankeiju
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-01* ext/digest/defs.h: better support for old Cygwin, again.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-01* ext/digest/defs.h: better support for old Cygwin.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-01* ext/digest/defs.h: avoid warnings on Cygwin.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-01* configure.in: should not use def file, use ld witheban
--export-all-symbols option on Cygwin/MinGW. * defines.h: ditto. * cygwin/GNUmakefile.in: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-01* wince/string_wce.c: add strpbrk() for hpcpro support.uema2
* wince/setup.mak: add hpcpro(CE2.11) & armv4t(CE.NET) support. * wince/resource.rb: ditto. * wince/Makefile.sub: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-012003-06-01nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-06-01* variable.c (rb_autoload_load): autoloaded constants under a modulenobu
belong to the module. [ruby-core:01094], [ruby-dev:20309] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-31* parse.y (rb_intern): should handle multibyte name.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-30* ext/syck/rubyext.c (rb_syck_mktime): seconds calculated wrong.why
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-30remove conflictnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-302003-05-31eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-30* io.c (rb_f_syscall): type dispatch should be based onmatz
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-30* numeric.c (rb_num2uint, rb_fix2int): new function to convertnobu
values over INT_MAX. [ruby-core:01099] * ruby.h (NUM2UINT, FIX2INT): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-30* eval.c (rb_Array): exclude Kernel#to_a instead of Object#to_a.nobu
(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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-302003-05-30eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-29* ext/syck/token.c: preserve any indentation passed an explicitwhy
indentation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-29* ext/syck/handler.c, ext/syck/syck.h: removed syck_fold_format().why
* ext/syck/gram.c: flexibility for aliases and anchors. * ext/syck/token.c: folding now handled in the tokenizer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-29backoutnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-29* variable.c (rb_autoload_load): should delete autoloadednobu
symbol itself before load. [ruby-core:01097] * variable.c (rb_mod_remove_const): must not return Qundef. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-29* win32/win32.c (_CRTIMP): redefine _CRTIMP on MinGW.eban
* configure.in: remove '-D__USE_CRTIMP' from XCFLAGS on MinGW. * win32/win32.c (NtMakeCmdVector): handle quotes only if not instring. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-292003-05-29nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-29commit missnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-29* eval.c (ev_const_defined, ev_const_get), variable.cnobu
(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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-272003-05-27eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-27* eval.c, util.c: removed duplicated includes/defines.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-27* ext/socket/socket.c (sock_addrinfo): get rid of SEGV at NULL ptrnobu
String. increase buffer size for 64bit platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-26* lib/mkmf.rb, lib/optparse.rb, lib/tracer.rb: use Method#to_blocknobu
instead of deprecated Method#to_proc. (ruby-bugs-ja:PR#477) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-262003-05-26eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-26* lib/optparse.rb (OptionParser::Switch::parse,nobu
OptionParser::order): use {Block,Proc}#call instead of deprecated #yield. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-05-26* eval.c (Init_Proc): Block/Proc separation. [huge change]matz
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@3867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e