summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * parse.y (block_append): eliminate unused literal nodes.nobu2002-09-203-125/+83
| | | | | | | * parse.y (literal_concat): refined literal concatination. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb: Merge rough/lib/set.rb rev.1.5-1.15.knu2002-09-202-36/+398
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* No exception report when the exception is not specified to catch.nahi2002-09-181-1/+1
| | | | | | | [ruby-talk:50330] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* move struct timeval to missing.hmichal2002-09-176-54/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_die): put thread dead state.nobu2002-09-172-6/+18
| | | | | | | * eval.c (rb_thread_atfork): free stack buffer at fork too. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-17eban2002-09-171-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_mod_nesting): load wrapping module should appear inmatz2002-09-174-7/+20
| | | | | | | | | Module#nesting list. (ruby-bugs-ja:PR#328) * eval.c (rb_thread_remove): free stack buffer on remove. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c: add parameter prototype.aamine2002-09-163-4/+10
| | | | | | | * re.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_opendir): Corresponds to the unjust path containing ".H_Konishi2002-09-152-18/+30
| | | | | | | (rb_w32_stat) : ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (OUTFLAG, CPPOUTFILE): moved from lib/mkmf.rb.eban2002-09-157-17/+72
| | | | | | | | | | | | | check whether ${CPP} accepts the -o option. * win32/Makefile.sub (OUTFLAG, CPPOUTFILE): ditto. * bcc32/Makefile.sub (OUTFLAG, CPPOUTFILE): ditto. * djgpp/config.sed (OUTFLAG, CPPOUTFILE): ditto. * lib/mkmf.rb (OUTFLAG, CPPOUTFILE): use CONFIG. make easy to understand log. * mkconfig.rb (val): should not strip. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c(rb_sys_fail): remove case EPIPE on bcc32 .H_Konishi2002-09-142-3/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_func_caller): add prototype to get rid of warning.nobu2002-09-132-4/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-13nobu2002-09-131-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): avoid uninitialized global/class variablenobu2002-09-133-3/+15
| | | | | | | | | warnings at `||='. [ruby-dev:18278] * parse.y (stmt, arg): ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix-Addons [ruby-core:483] with corrections from [ruby-core:484]michal2002-09-131-8/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($INSTALLFILES): avoid warning when $VERBOSE mode.eban2002-09-132-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/setup.mak : Control of a message.H_Konishi2002-09-123-13/+22
| | | | | | | * bcc32/makefile.sub : include resource. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): should pass matched path. (ruby-bugs-ja:PR#333)nobu2002-09-122-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): fixed freeing buffer. (ruby-bugs-ja:PR#332)nobu2002-09-122-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): prevent memory leak using rb_protect().matz2002-09-124-83/+158
| | | | | | | | | | | | | | | | | | | | | * string.c (rb_str_associate): no need to check freeze flag. * string.c (rb_str_resize): should honor STR_ASSOC flag on resize. * string.c (rb_str_resize): proper STR_ASSOC handling. pointed out by Michal Rokos. * string.c (rb_str_buf_cat): ditto. * string.c (rb_str_cat): ditto. * string.c (rb_str_buf_append): ditto. * string.c (rb_str_append): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-12knu2002-09-111-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_trap_eval): preserve thread status and so on.nobu2002-09-112-24/+84
| | | | | | | [ruby-talk:40337], [ruby-core:00019] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pp.rb (ARGF.pretty_print): implemented.akr2002-09-115-17/+36
| | | | | | | (PP.pp): arguments reordered. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (proc_to_s): refined format. [ruby-dev:18215]nobu2002-09-112-4/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c, win32/win32.h (rb_w32_getpid): negate pid under Win9x.usa2002-09-113-1/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (get_pat): Add an extra argument "quote".knu2002-09-112-17/+26
| | | | | | | | * string.c (rb_str_match_m): Do not bother to convert if a regexp is given. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub: remove unnecessary `.dll' from filename ofusa2002-09-115-14/+25
| | | | | | | | | | | | | dll's resource file. * cygwin/GNUmakefile.in: ditto. [ruby-dev:17103] * win32/Makefile.sub: ditto. [ruby-dev:17103] * win32/resource.rb: ditto. [ruby-dev:17103] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-11nobu2002-09-111-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* retry on EINTR, ERESTART and EWOULDBLOCK. [ruby-dev:17855], ↵nobu2002-09-112-21/+107
| | | | | | [ruby-dev:17878], [ruby-core:00444] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (ext): make directory `ext' on compile dir.usa2002-09-112-2/+9
| | | | | | | [ruby-dev:18255] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/configure.bat: add CR to end of line.usa2002-09-111-32/+32
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_mod_define_method): initialize orig_func too.nobu2002-09-102-0/+6
| | | | | | | (ruby-bugs-ja:PR#330) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-10nobu2002-09-101-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (nextc): restore line number after here documents.nobu2002-09-102-0/+15
| | | | | | | | | (ruby-bugs-ja:PR#331) * parse.y (heredoc_restore): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: $hdrdir is $top_srcdir if invoked from extmk.rbeban2002-09-101-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb, lib/mkmf.rb ($INCFLAGS): new var for -I$(topdir).eban2002-09-103-9/+22
| | | | | | | | * lib/mkmf.rb: add #define WIN32_LEAN_AND_MEAN to improve compile times. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: specify the source.usa2002-09-101-3/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (miniruby): shouldn't link $(EXTOBJS).usa2002-09-105-59/+108
| | | | | | | | | | | | | * win32/Makefile.sub ($(LIBRUBY_A), $(LIBRUBY)): avoid lib.exe's warning. * win32/Makefile.sub: remove unnecessary rules. * win32/configure.bat, win32/setup.mak, win32/README.win32: enable to pass some arguments to configure. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.h (S_I?USR): define only if not mingw32.eban2002-09-092-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* capa field in RString, and RArray is now LONG (ruby-lang:458)michal2002-09-091-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_set_string): reinitializenobu2002-09-092-11/+36
| | | | | | | | | | | | properly. * ext/stringio/stringio.c (strio_become): added self-assign check and experimental auto-conversion to StringIO. * ext/stringio/stringio.c (strio_reopen): added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_free): prototype; struct time_object -> void *.eban2002-09-084-12/+17
| | | | | | | | avoid GCC warnings. * lib/mkmf.rb, ext/extmk.rb ($LINK, $CPP): move to lib/mkmf.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-08eban2002-09-081-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: prototype; invoke_queue_handler() to avoidusa2002-09-082-0/+4
| | | | | | | VC++ warning. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c: prototype; time_free() to avoid VC++ warnings.usa2002-09-084-2/+49
| | | | | | | | | | * win32/win32.c (rb_w32_stat): remove S_IWGRP and S_IWOTH bits from st_mode. * win32/win32.h (S_I*): define if not defined. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (have_struct_member): moved from ext/socket/extconf.rb.eban2002-09-085-94/+76
| | | | | | | | | * ext/socket/extconf.rb: use macro_defined? instead of egrep_cpp. * ext/etc/extconf.rb: use have_struct_member. * ext/etc/etc.c: add prefix HAVE_ST_ to PW_ macros. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* removed.eban2002-09-081-544/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: modify program_prefix only if specifiedeban2002-09-0835-60/+679
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | --program-prefix. * configure.in: don't generate ext/extmk.rb. * Makefile.in: execute directly $(srcdir)/ext/extmk.rb. remove -Cext option, "Dir::chdir 'ext'" in ext/extmk.rb. * {win32,bccwin32}/Makefile.sub: ditto. * instruby.rb: ditto. * ext/extmk.rb: renamed from ext/extmk.rb.in. * lib/mkmf.rb (module Logging): create log files (mkmf.log) in each extension module directories. * ext/extmk.rb: ditto. * lib/mkmf.rb (macro_defined?): new method. * ext/.cvsignore: remove extmk.rb. * ext/*/.cvsignore: add "*.def". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bcc32/configure.bat : Control of a message.H_Konishi2002-09-085-4/+11
| | | | | | | | | bcc32/makefile.sub : @(sitearch) typo. ext/extmk.rb.in : [bccwin32] libdir is added to a library path. lib/mkmf.rb : ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/inf-ruby.el (inferior-ruby-error-regexp-alist): regexpnobu2002-09-072-15/+48
| | | | | | | | | | | | | alist for error message from ruby. * misc/inf-ruby.el (inferior-ruby-mode): fixed for Emacs. * misc/inf-ruby.el (ruby-send-region): compilation-parse-errors doesn't parse first line, so insert separators before each evaluations. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e