aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/mkmf.rb (libpathflag): restore ENV['LIB'] when some error occured.usa2002-09-251-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (appendline): forget to terminate with nul.matz2002-09-251-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * eval.c (ruby_run): should set toplevel visibility again here. * eval.c (rb_eval): should not rely on ruby_class == rb_cObject check. Besides allow implicit publicity for attribute set methods. * parse.y (primary): need not to check class_nest, just set whether method is an attrset or not. * string.c (rb_str_each_line): p might be at the top of the string. * class.c (rb_make_metaclass): class of metaclass should be metaclass of superclass, unless class itself is a metaclass; class of metaclass of metaclass should point back to self. eh, confusing, isn't it. * class.c (rb_singleton_class): check if its class is singleton AND attached to self. * eval.c (rb_eval): should define class/module under ruby_cbase. * eval.c (rb_eval): should set class/module path based on ruby_cbase, not ruby_class. * eval.c (module_setup): use ruby_cbase instead of ruby_class. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call0): must not clear ruby_current_node, ornobu2002-09-231-0/+15
| | | | | | | | | | | | | | | | | backtrace cannot be genetated. * intern.h (ruby_yyparse): rather than yyparse(). * parse.y (yylex): nextc() returns -1 at end of input, not 0. * parse.y (newline_node): reduce deplicated newline node. * parse.y (literal_concat): get rid of warning. * parse.y (new_evstr): fixed junk code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_MINGW32): new macro. check for the MinGWeban2002-09-231-0/+7
| | | | | | | | compiler envionment. * lib/mkmf.rb: refactoring. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (call_trace_func): should not call trace function whilenobu2002-09-221-0/+12
| | | | | | | | | | | | | | compilation. * eval.c (rb_call0): also inside c-func. * parse.y (yycompile): ditto. * ruby.c (require_libraries): preserve source file/line for each require. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit missnobu2002-09-211-4/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_raise): no need to save dead thread context.nobu2002-09-211-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (block_append): eliminate unused literal nodes.nobu2002-09-201-0/+6
| | | | | | | * parse.y (literal_concat): refined literal concatination. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb: Merge rough/lib/set.rb rev.1.5-1.15.knu2002-09-201-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_die): put thread dead state.nobu2002-09-171-0/+6
| | | | | | | * eval.c (rb_thread_atfork): free stack buffer at fork too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_mod_nesting): load wrapping module should appear inmatz2002-09-171-0/+7
| | | | | | | | | Module#nesting list. (ruby-bugs-ja:PR#328) * eval.c (rb_thread_remove): free stack buffer on remove. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c: add parameter prototype.aamine2002-09-161-2/+8
| | | | | | | * re.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_opendir): Corresponds to the unjust path containing ".H_Konishi2002-09-151-0/+5
| | | | | | | (rb_w32_stat) : ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (OUTFLAG, CPPOUTFILE): moved from lib/mkmf.rb.eban2002-09-151-0/+16
| | | | | | | | | | | | | 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@2867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c(rb_sys_fail): remove case EPIPE on bcc32 .H_Konishi2002-09-141-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_func_caller): add prototype to get rid of warning.nobu2002-09-131-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): avoid uninitialized global/class variablenobu2002-09-131-0/+7
| | | | | | | | | warnings at `||='. [ruby-dev:18278] * parse.y (stmt, arg): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($INSTALLFILES): avoid warning when $VERBOSE mode.eban2002-09-131-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/setup.mak : Control of a message.H_Konishi2002-09-121-0/+6
| | | | | | | * bcc32/makefile.sub : include resource. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): should pass matched path. (ruby-bugs-ja:PR#333)nobu2002-09-121-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): fixed freeing buffer. (ruby-bugs-ja:PR#332)nobu2002-09-121-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): prevent memory leak using rb_protect().matz2002-09-121-0/+20
| | | | | | | | | | | | | | | | | | | | | * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@2856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_trap_eval): preserve thread status and so on.nobu2002-09-111-0/+5
| | | | | | | [ruby-talk:40337], [ruby-core:00019] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pp.rb (ARGF.pretty_print): implemented.akr2002-09-111-0/+5
| | | | | | | (PP.pp): arguments reordered. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (proc_to_s): refined format. [ruby-dev:18215]nobu2002-09-111-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c, win32/win32.h (rb_w32_getpid): negate pid under Win9x.usa2002-09-111-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (get_pat): Add an extra argument "quote".knu2002-09-111-0/+7
| | | | | | | | * string.c (rb_str_match_m): Do not bother to convert if a regexp is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/Makefile.sub: remove unnecessary `.dll' from filename ofusa2002-09-111-0/+11
| | | | | | | | | | | | | 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@2843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* retry on EINTR, ERESTART and EWOULDBLOCK. [ruby-dev:17855], ↵nobu2002-09-111-0/+21
| | | | | | [ruby-dev:17878], [ruby-core:00444] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (ext): make directory `ext' on compile dir.usa2002-09-111-0/+5
| | | | | | | [ruby-dev:18255] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_mod_define_method): initialize orig_func too.nobu2002-09-101-0/+5
| | | | | | | (ruby-bugs-ja:PR#330) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (nextc): restore line number after here documents.nobu2002-09-101-0/+7
| | | | | | | | | (ruby-bugs-ja:PR#331) * parse.y (heredoc_restore): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb, lib/mkmf.rb ($INCFLAGS): new var for -I$(topdir).eban2002-09-101-0/+7
| | | | | | | | * lib/mkmf.rb: add #define WIN32_LEAN_AND_MEAN to improve compile times. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: specify the source.usa2002-09-101-3/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (miniruby): shouldn't link $(EXTOBJS).usa2002-09-101-0/+12
| | | | | | | | | | | | | * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@2832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.h (S_I?USR): define only if not mingw32.eban2002-09-091-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_set_string): reinitializenobu2002-09-091-0/+11
| | | | | | | | | | | | 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@2827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_free): prototype; struct time_object -> void *.eban2002-09-081-0/+7
| | | | | | | | avoid GCC warnings. * lib/mkmf.rb, ext/extmk.rb ($LINK, $CPP): move to lib/mkmf.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/tcltklib.c: prototype; invoke_queue_handler() to avoidusa2002-09-081-0/+3
| | | | | | | VC++ warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c: prototype; time_free() to avoid VC++ warnings.usa2002-09-081-0/+9
| | | | | | | | | | * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@2822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (have_struct_member): moved from ext/socket/extconf.rb.eban2002-09-081-0/+8
| | | | | | | | | * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@2821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: modify program_prefix only if specifiedeban2002-09-081-0/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | --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: svn+ssh://ci.ruby-lang.org/ruby/trunk@2819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bcc32/configure.bat : Control of a message.H_Konishi2002-09-081-0/+7
| | | | | | | | | bcc32/makefile.sub : @(sitearch) typo. ext/extmk.rb.in : [bccwin32] libdir is added to a library path. lib/mkmf.rb : ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/inf-ruby.el (inferior-ruby-error-regexp-alist): regexpnobu2002-09-071-0/+11
| | | | | | | | | | | | | 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@2817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb: Disallow Set.new(false). Add even more tests.knu2002-09-071-0/+5
| | | | | | | [Submitted by: "Christoph" <chr_news@gmx.net>] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb: Fix a bug in flatten()'s recursive set detection.knu2002-09-071-0/+17
| | | | | | | | | | | [Submitted by: "Christoph" <chr_news@gmx.net>] Some tests against the bug are added. * lib/set.rb: Resurrect the test suite by putting it after __END__ and executing `eval DATA.read'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_gc_mark_parser): ruby_eval_tree is marked in eval.c.aamine2002-09-061-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($CC): command to compile C source.nobu2002-09-061-0/+19
| | | | | | | | | | | | | | | | | | * lib/mkmf.rb (try_compile): added. * lib/mkmf.rb (egrep_cpp): use internal grep when pattern is Regexp, otherwise use external egrep command but get rid of pipe of command.com. * lib/mkmf.rb (have_func): local variable should be volatile not to be eliminated by optimization. * lib/mkmf.rb (create_makefile): link with CONFIG["LIBS"]. * lib/mkmf.rb (create_makefile): emit .SUFFIXES:. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (ruby_xmalloc): remove MALLOC_LIMIT to avoid frequentmatz2002-09-061-0/+5
| | | | | | | garabage collection. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_gc_mark_parser): should mark lex_input and ruby_debug_lines.aamine2002-09-061-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e