summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-09-10* eval.c (rb_mod_define_method): initialize orig_func too.nobu
(ruby-bugs-ja:PR#330) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-102002-09-10nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-10* parse.y (nextc): restore line number after here documents.nobu
(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
2002-09-10* lib/mkmf.rb: $hdrdir is $top_srcdir if invoked from extmk.rbeban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-10* ext/extmk.rb, lib/mkmf.rb ($INCFLAGS): new var for -I$(topdir).eban
* 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
2002-09-10* ChangeLog: specify the source.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-10* win32/Makefile.sub (miniruby): shouldn't link $(EXTOBJS).usa
* 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
2002-09-09* win32/win32.h (S_I?USR): define only if not mingw32.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-09capa field in RString, and RArray is now LONG (ruby-lang:458)michal
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-09* ext/stringio/stringio.c (strio_set_string): reinitializenobu
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
2002-09-08* time.c (time_free): prototype; struct time_object -> void *.eban
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
2002-09-082002-09-08eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-08* ext/tcltklib/tcltklib.c: prototype; invoke_queue_handler() to avoidusa
VC++ warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-08* time.c: prototype; time_free() to avoid VC++ warnings.usa
* 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
2002-09-08* lib/mkmf.rb (have_struct_member): moved from ext/socket/extconf.rb.eban
* 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
2002-09-08removed.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-08* configure.in: modify program_prefix only if specifiedeban
--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
2002-09-08bcc32/configure.bat : Control of a message.H_Konishi
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
2002-09-07* misc/inf-ruby.el (inferior-ruby-error-regexp-alist): regexpnobu
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
2002-09-072002-09-07eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-07Use Enumerable#all? to optimize a bit.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-07* lib/set.rb: Disallow Set.new(false). Add even more tests.knu
[Submitted by: "Christoph" <chr_news@gmx.net>] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-07* lib/set.rb: Fix a bug in flatten()'s recursive set detection.knu
[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
2002-09-06* parse.y (rb_gc_mark_parser): ruby_eval_tree is marked in eval.c.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-06* lib/mkmf.rb ($CC): command to compile C source.nobu
* 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
2002-09-06* gc.c (ruby_xmalloc): remove MALLOC_LIMIT to avoid frequentmatz
garabage collection. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-062002-09-06eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-06* parse.y (rb_gc_mark_parser): should mark lex_input and ruby_debug_lines.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-06* parse.y (rb_gc_mark_parser): should mark parse.y global variables.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-06* io.c (rb_io_puts): RSTRING(line)->ptr might be NULL.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-06* parse.y: should not use non-NODE VALUEs in the semantic stack.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-05* file.c (rb_path_check): nothing to check under DOSISH.nobu
[ruby-list:35772] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-05modify function name.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-05* gc.c (gc_sweep): should mark parser.aamine
* parse.y (rb_gc_mark_parser): new function. * intern.h (rb_gc_mark_parser): added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-05* variable.c (rb_path2class): should not use rb_eval_string().matz
* marshal.c (w_extended): should allow marshaling of object which is extended by named module. * class.c (rb_make_metaclass): super may be T_ICLASS, need to skip. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-05fix mem leaks (ruby-core:405, ruby-core:407)michal
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-052002-09-05nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-05* eval.c (rb_eval): overriding false constant with class/modulenobu
definition should be error. (PR#327) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-05* lib/mkmf.rb (xsystem): mkmf.log.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-05= should be ==matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-04* extmk.rb (create_makefile): add macro MAKEDIRS, INSTALL_PROG,eban
INSTALL_DATA. * extmk.rb (create_makefile): support for building to any directory. * extmk.rb (xsystem): move to mkmf.rb. * mkmf.rb (xsystem): support for extmk.rb * mkmf.rb ($CPP): remove '-E' option. add CPPFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-04refined.arai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-04Opt for Array in rb_gc_mark_children() (ruby-core:410)michal
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-04Fix rb_digest_base_become (ruby-core:428)michal
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-04- ==(o) should be aware of all the Set variant instances, not justknu
those of its subclasses. - Fix eql?(). Submitted by: "Christoph" <chr_news@gmx.net> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-04* class.c (rb_make_metaclass): obj.meta.super.meta should be equalmatz
to obj.meta.meta.super (ruby-bugs-ja:PR#324). * parse.y (yylex): the warning message "invalid character syntax" was never issued. * marshal.c (r_bytes): do not use alloca (ruby-bugs:PR#382). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-03rb_check_frozen has been added (ruby-core:412)michal
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-03* extmk.rb: require mkmf.rb. remove duplicate methods.eban
use Config::CONFIG["FOO"] instead of @FOO@. * mkmf.rb: extmk.rb support. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-03 * variable.c (rb_copy_generic_ivar): remove old generic instancematz
variable table if it existes. * class.c (rb_make_metaclass): metaclass of a metaclass is a metaclass itself. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-09-02* re.c (rb_reg_search): MatchData must be rb_cMatch. (ruby-bugs-ja:PR#319)nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e