summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * eval.c (proc_alloc): re-unification of Block and Proc. Blockmatz2003-06-1619-177/+162
| | | | | | | class is no longer available. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub: undefine HAVE_GETGROUPS.eban2003-06-162-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/quickpath.rb: escape '[' to avoid warning.eban2003-06-161-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-06-16eban2003-06-161-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regex.c (calculate_must_string): should handle option_setmatz2003-06-162-2/+13
| | | | | | | | | | properly. [ruby-talk:73481] * regex.c (re_compile_fastmap): a bug in flag manipulation. [ruby-talk:73549] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* REXML hadn't been tested with Ruby 1.8.0, which was really, really,ser2003-06-155-26/+28
| | | | | | | | | unbelievably stupid of me. There were a lot of warnings and some errors that were caused by Block vs. Proc differences; these have been fixed. REXML passes all of the tests under Ruby 1.8.0. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-06-14eban2003-06-141-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (method_arity): should handle NODE_BMETHOD andmatz2003-06-142-7/+15
| | | | | | | NODE_DMETHOD. [ruby-core:01138] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (storebinary): seek correctly. Thanks, William Webber.shugo2003-06-132-1/+14
| | | | | | | * lib/net/ftp.rb (putbinaryfile): rescue FTPPermError. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tk.rb : add 'no_create' option to widget initialize method.nagai2003-06-123-8/+28
| | | | | | | | | | It allows to create ruby objects for widgets created on Tcl/Tk. (e.g. TkButton.new('widgetname'=>'.bbb', 'no_create'=>true) ) It is useful for some Tcl/Tk Mega Widgets. MANIFEST, README : forgot to commit when added tkmacpkg.rb and tkwinpkg.rb git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tk.rb : widget configure returns self (for method call chain)nagai2003-06-123-0/+135
| | | | | | | | tkmacpkg.rb : Mac resource (not new but not included untill now) tkwinpkg.rb : Win DDE and registry (not new but not included untill now) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/token.c: preserve newlines prepended to a block.why2003-06-107-1175/+1227
| | | | | | | | | | | | | | | | * ext/syck/implicit.c (syck_match_implicit): added !merge and !default. * lib/yaml/constants.rb: remove '\z' escape. * lib/yaml/emitter.rb: ensure reset of @seq_map shortcut flag. * lib/yaml/encoding.rb: remove Unicode translation methods. * lib/yaml/rubytypes.rb: improved round-tripping of Strings. [ruby-core:1134] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/test.rb: add block to proc to avoid warning.eban2003-06-101-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/cdata.rb,lib/rexml/quickpath.rb,lib/rexml/parsers/baseparser.rb:eban2003-06-103-4/+4
| | | | | | | avoid warnings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-06-10eban2003-06-101-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ruby-lex.rb: typo.matz2003-06-101-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/slex.rb: small cleanups. (ruby-bugs-ja PR#492)matz2003-06-102-10/+11
| | | | | | | * lib/irb/ruby-lex.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb.rb (IRB::Irb::eval_input): warn and exit if $SAFE >=3matz2003-06-106-11/+30
| | | | | | | | | | | | | | after input evaluation. * lib/irb.rb (IRB::Irb::eval_input): untaint input string. now irb works for levels 1 and 2. * ext/syck/rubyext.c (syck_loader_transfer): should not use rb_cProc directly, since type_proc may be Proc, Block, or Method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* The versions on the import were messed up; I imported an untranslatedser2003-06-101-3/+3
| | | | | | | source tree. This fixes that. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added the REXML files to the MANIFEST.ser2003-06-101-0/+53
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionser2003-06-1053-0/+6674
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix : 100% CPU problem of Tk.mainloopnagai2003-06-091-6/+27
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* renew Tk.mainloopnagai2003-06-091-24/+66
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-06-09eban2003-06-091-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: checks presence of grp.h and setgroups().nobu2003-06-093-5/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (proc_getgroups, proc_setgroups): raisenobu2003-06-092-0/+17
| | | | | | | NotImplementedError unless available. [ruby-talk:73014] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * wince/setup.mak: set SUBSYSTEM in each platform.uema22003-06-083-6/+14
| | | | | | | * wince/stdlib.c: fix mblen() bug. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (value_expr0): class and module statements should not bematz2003-06-078-61/+175
| | | | | | | | | | | | | | | | | warned for "void value expression". [ruby-talk:72989] * gc.c (add_final): should determine type by respond_to? * gc.c (define_final): ditto. * io.c (rb_io_ctl): should not depend on respond_to? * range.c (range_step): rb_check_string_type(). * process.c (proc_setgroups): new functions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-06-06nobu2003-06-061-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (error_print): needs to be exception proof.nobu2003-06-063-25/+74
| | | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@3916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (define_final): eliminate rb_f_lambda() call.matz2003-06-0611-36/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@3915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_cleanup): $SAFE is turned off in the finalization.matz2003-06-066-31/+104
| | | | | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@3914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: define Net::HTTPResponse#to_ary for backward ↵aamine2003-06-063-7/+24
| | | | | | | | | compatibility. [ruby-talk:72927] * lib/net/protocol.rb: add warning. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (syck_parser_mark): was a bit heavy on the GC.why2003-06-055-63/+76
| | | | | | | * lib/yaml.rb (YAML::transfer): added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * wince/stdlib.c: add mblen().uema22003-06-052-0/+21
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.subusa2003-06-056-8/+111
| | | | | | | | | | | (MISSING): link with missing/erf.c. * missing.h (erf, erfc): fix prototype. * missing/erf.c: new. [ruby-list:37753] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c (window_s_allocate,curses_finalize):eban2003-06-052-3/+7
| | | | | | | avoid VC++ warnings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-06-05eban2003-06-051-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (math_erf,math_erfc): new function. [ruby-list:37753]matz2003-06-057-2/+36
| | | | | | | | * eval.c (ruby_finalize): no longer need to turn off $DEBUG in the finalizer. (ruby-bugs-ja PR#473) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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