summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * ruby.h: fixed prototype.ocean2006-02-033-6/+13
| | | | | | | * ext/syck/rubyext.c: defined symbol ID as global variable as others. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c: unify ruby_class (for method definition) and ruby_cbasematz2006-02-0327-587/+653
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (for constant reference). * eval.c (rb_call0): use TMP_ALLOC() instead of allocating a temporary array object. * eval.c (eval): need not to protect $SAFE value. [ruby-core:07177] * error.c (Init_Exception): change NameError to direct subclass of Exception so that default rescue do not handle it silently. * struct.c (rb_struct_select): update RDoc description. [ruby-core:7254] * numeric.c (int_upto): return an enumerator if no block is attached to the method. * numeric.c (int_downto): ditto. * numeric.c (int_dotimes): ditto. * enum.c (enum_first): new method Enumerable#first to take first n element from an enumerable. * enum.c (enum_group_by): new method Enumerable#group_by that groups enumerable values according to their block values. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/syck.c (syck_move_tokens): should reset p->cursor or etcocean2006-02-032-3/+6
| | | | | | | | even if skip == 0. This causes buffer overrun. (ex: YAML.load('--- "..' + '\x82\xA0' * 511 + '"')) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-02-03eban2006-02-021-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/emitter.c (syck_emitter_write): should not set '\0' onocean2006-02-022-1/+6
| | | | | | | | emitter's marker. if marker points to the end of buffer, this is buffer overrun. (ex: YAML.dump("." * 12288)) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser#get_tk): addedusa2006-02-022-2/+11
| | | | | | | support of :'string' style Symbol. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-02-02eban2006-02-021-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: The isinf is not regognized by autoconfocean2006-02-022-0/+8
| | | | | | | library guesser on solaris 10. [ruby-core:7138] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-02-01eban2006-02-011-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, hash.c (ruby_setenv): use setenv(3) and unsetenv(3)ocean2006-02-014-7/+21
| | | | | | | | | | | where they are supported. modifing environ variable seems to segfault solaris 10. [ruby-core:7276] [ruby-dev:28270] * ruby.c (set_arg0): if use setenv(3), environ space cannot be used for altering argv[0]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: add MultiTkIp#eval and bg_eval.nagai2006-01-313-4/+114
| | | | | | | | * ext/tk/lib/tk/namespace.rb: TkNamespace#eval was enbugged at the last commit. Now it will return a proper object. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-01-31eban2006-01-301-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (syck_resolver_transfer): workaround for SEGV.ocean2006-01-302-0/+9
| | | | | | | ex: YAML.load("!map:B {}"). [ruby-core:7217] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-01-28eban2006-01-281-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/usage.rb: support "a:0:33" style caller[-1]. In this caseocean2006-01-272-1/+7
| | | | | | | | file name is "a:0". I don't know this really happens though... [ruby-Bugs:3344] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-01-26eban2006-01-261-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c: turn on do_not_reverse_lookup by default.matz2006-01-262-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-01-25nobu2006-01-251-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, dln.c, file.c, intern.h, missing.h (eaccess): usenobu2006-01-256-4/+12
| | | | | | | system routine if provided. fixed: [ruby-core:07195] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/autorunner.rb (process_args): ignore arguments afternobu2006-01-222-2/+7
| | | | | | | '--' so that test scripts can handle them. fixed: [ruby-dev:28258] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot to commit too.akr2006-01-222-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot to commit.akr2006-01-221-5/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (POST_GETCONTEXT): define separately from PRE_GETCONTEXT onakr2006-01-222-44/+58
| | | | | | | IA64 to avoid reusing variable address. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-01-22eban2006-01-221-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_setjmp): workaround for FreeBSD/i386akr2006-01-223-26/+40
| | | | | | | | getcontext/setcontext bug. [ruby-dev:28263] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (mv): should remove file after copying. [ruby-dev:28223]aamine2006-01-192-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-01-19eban2006-01-181-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (FUNCTION_CALL_MAY_RETURN_TWICE): don't clobber %l7 of SPARCakr2006-01-182-1/+24
| | | | | | | | | | | if enable-shared. (ruby_setjmp): call FUNCTION_CALL_MAY_RETURN_TWICE after getcontext too. reported by Pav Lucistnik and Marius Strobl. http://lists.freebsd.org/pipermail/freebsd-sparc64/2006-January/003739.html git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-01-18eban2006-01-171-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_mod_method_defined): ditto.nobu2006-01-172-6/+24
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_mod_const_get, rb_mod_const_defined): added optionalnobu2006-01-172-14/+43
| | | | | | | | flag to search ancestors, which is defaulted to true. fixed: [ruby-talk:175899] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/setup.mak (MAKE): workaround for nmake 8.usa2006-01-172-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-01-17usa2006-01-171-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: invoke .bat via shell. workaround for nmake 8.usa2006-01-172-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-01-16eban2006-01-161-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/emitter.c (syck_emit_seq, syck_emit_map, syck_emit_item):ocean2006-01-163-21/+40
| | | | | | | | should output complex key mark even if map's key is empty seq/map. [ruby-core:7129] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-01-14eban2006-01-141-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_chmod): avoid warning where sizeof(int) !=ocean2006-01-132-2/+7
| | | | | | | sizeof(void*). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-01-13eban2006-01-131-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/diagram.rb:ocean2006-01-137-60/+75
| | | | | | | | | | | | | | | | | - properly quote bare element attributes - terminates dangling elements (e.g. <img>, <br>, <link>, etc) - converts "CVS" to the more HTML-friendly acronym element - adds missing type attributes to style elements based on Paul Duncan's patch <pabs@pablotron.org> [ruby-core:7028] * lib/rdoc/generators/html_generator.rb: ditto. * lib/rdoc/generators/template/html/hefss.rb: ditto. * lib/rdoc/generators/template/html/html.rb: ditto. * lib/rdoc/generators/template/html/kilmer.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-01-12eban2006-01-121-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/tkballoonhelp.rb: [bug fix] couldn't add to a widgetnagai2006-01-122-2/+111
| | | | | | | | | which is constructed with TkComposite module. [new feature] support 'command' option which is called just before popping up the balloon help. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-01-11eban2006-01-101-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* (ERB::Compiler): add instance variable @insert_cmd to change <%='s behavior.seki2006-01-102-4/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bit more explanation for previous change.akr2006-01-101-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (garbage_collect): mark ruby_current_node.akr2006-01-102-0/+10
| | | | | | | | | | if an exception is raised in a finalizer called by rb_gc_call_finalizer_at_exit, ruby_set_current_source may use collected ruby_current_node and mark_source_filename may corrupt memory. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Sorry, commit miss.ocean2006-01-101-4/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (syck_resolver_transfer): should be able to loadocean2006-01-102-5/+19
| | | | | | | | !ruby/object:Bignum syntax 1.8.3 dumped. [ruby-core:6159] (written by akira yamada) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb (Fixnum): Bignum could not be loaded inocean2006-01-103-10/+37
| | | | | | | | | | ruby 1.8.3/1.8.4. [ruby-core:6115] * lib/yaml/rubytypes.rb (Numeric): Subclass of Numeric could not be dumped properly. [ruby-core:7047] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb (Symbol#yaml_new): YAML loading of quotedocean2006-01-103-2/+20
| | | | | | | Symbols broken. [ruby-Bugs:2535] (written by Aaron Schrab) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e