summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 2002-09-07eban2002-09-071-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use Enumerable#all? to optimize a bit.knu2002-09-071-5/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb: Disallow Set.new(false). Add even more tests.knu2002-09-072-4/+38
| | | | | | | [Submitted by: "Christoph" <chr_news@gmx.net>] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb: Fix a bug in flatten()'s recursive set detection.knu2002-09-072-292/+332
| | | | | | | | | | | [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: http://svn.ruby-lang.org/repos/ruby/trunk@2813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_gc_mark_parser): ruby_eval_tree is marked in eval.c.aamine2002-09-062-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb ($CC): command to compile C source.nobu2002-09-062-13/+82
| | | | | | | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@2811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (ruby_xmalloc): remove MALLOC_LIMIT to avoid frequentmatz2002-09-066-24/+13
| | | | | | | garabage collection. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-06eban2002-09-061-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_gc_mark_parser): should mark lex_input and ruby_debug_lines.aamine2002-09-062-3/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_gc_mark_parser): should mark parse.y global variables.aamine2002-09-062-5/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_puts): RSTRING(line)->ptr might be NULL.aamine2002-09-062-1/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: should not use non-NODE VALUEs in the semantic stack.aamine2002-09-062-21/+21
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_path_check): nothing to check under DOSISH.nobu2002-09-052-1/+10
| | | | | | | [ruby-list:35772] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* modify function name.aamine2002-09-051-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_sweep): should mark parser.aamine2002-09-054-0/+19
| | | | | | | | * parse.y (rb_gc_mark_parser): new function. * intern.h (rb_gc_mark_parser): added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_path2class): should not use rb_eval_string().matz2002-09-055-49/+120
| | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@2799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix mem leaks (ruby-core:405, ruby-core:407)michal2002-09-052-14/+25
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-05nobu2002-09-051-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): overriding false constant with class/modulenobu2002-09-052-6/+5
| | | | | | | definition should be error. (PR#327) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (xsystem): mkmf.log.eban2002-09-051-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* = should be ==matz2002-09-051-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * extmk.rb (create_makefile): add macro MAKEDIRS, INSTALL_PROG,eban2002-09-043-30/+37
| | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@2792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* refined.arai2002-09-041-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Opt for Array in rb_gc_mark_children() (ruby-core:410)michal2002-09-041-4/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix rb_digest_base_become (ruby-core:428)michal2002-09-041-3/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* - ==(o) should be aware of all the Set variant instances, not justknu2002-09-041-2/+2
| | | | | | | | | | | those of its subclasses. - Fix eql?(). Submitted by: "Christoph" <chr_news@gmx.net> git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_make_metaclass): obj.meta.super.meta should be equalmatz2002-09-048-66/+68
| | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@2787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rb_check_frozen has been added (ruby-core:412)michal2002-09-031-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * extmk.rb: require mkmf.rb. remove duplicate methods.eban2002-09-033-419/+126
| | | | | | | | use Config::CONFIG["FOO"] instead of @FOO@. * mkmf.rb: extmk.rb support. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_copy_generic_ivar): remove old generic instancematz2002-09-0322-239/+277
| | | | | | | | | | variable table if it existes. * class.c (rb_make_metaclass): metaclass of a metaclass is a metaclass itself. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_search): MatchData must be rb_cMatch. (ruby-bugs-ja:PR#319)nobu2002-09-022-6/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_sweep): does reclaim nodes in also compile time, if we can.aamine2002-09-025-3/+29
| | | | | | | | | * ruby.c (load_file): omit GC if we can. * parse.y (ruby_parser_stack_on_heap): new function. * intern.h (ruby_parser_stack_on_heap): added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-09-02eban2002-09-021-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* read_all ftello (instead ftell) (ruby-core:392)michal2002-09-021-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix mem leak in rb_file_s_readlink() (ruby-core:394)michal2002-09-021-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32ole.c(fole_each) : ensure to release IEnumVARIANT interface.suke2002-09-011-11/+28
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * config.guess: fixed for Linux/PPC.eban2002-09-012-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/socket/socket.c (sock_s_getaddrinfo): add strcmp.eban2002-08-301-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add set.rb.knu2002-08-303-0/+786
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/Win32API/Win32API.c (Win32API_Call): typo.H_Konishi2002-08-302-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2002-08-30nobu2002-08-301-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_const_assign): st_delete() takes pointer to key.nobu2002-08-302-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit miss.nobu2002-08-301-5/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/Win32API/Win32API.c (Win32API_Call): RSTRING()->ptr may benobu2002-08-306-14/+22
| | | | | | | | | | | | | | | | | NULL. * ext/nkf/nkf.c (rb_nkf_guess): ditto. * ext/readline/readline.c (readline_s_set_completion_append_character): ditto. * ext/socket/socket.c (sock_s_getaddrinfo, sock_s_getnameinfo): ditto. * ext/tcltklib/tcltklib.c (ip_toUTF8, ip_fromUTF8): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* re.c: match_become based on (ruby-core:382, :386, :389)michal2002-08-301-36/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bcc32/MakeFile.sub (sitearch): add.H_Konishi2002-08-292-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merged Nakada's patch [ruby-dev:18097].ttate2002-08-291-5/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_become): should not free ptr if it's shared.matz2002-08-2914-164/+203
| | | | | | | | | | | * eval.c (rb_alias): prohibit making an alias named "allocate" if klass is a metaclass. * string.c (rb_string_value_ptr): StringValuePtr() should never return NULL pointer. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (read_all): should use off_t instead of long.eban2002-08-293-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* (ruby-bugs-ja:PR#296)nobu2002-08-281-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e