summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * util.c (freedtoa): made static to get rid of name clash. a patch bynobu2008-10-243-3/+10
| | | | | | | | | Tadashi Saito <shiba AT mail2.accsnet.ne.jp> at [ruby-dev:36913] * util.c (ruby_dtoa): added prefix, ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (lambda): need to adjust lpar_beg for both of the parser andnobu2008-10-242-1/+6
| | | | | | | ripper. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/mathn/rational/rational.c: undef duplicated macro definitionmatz2008-10-242-1/+11
| | | | | | | | | first to shut up the warning. * ext/mathn/rational/rational.c (rb_rational_new_mathn): specify omitted return value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_sample): fixed sizes and randomness.nobu2008-10-243-20/+22
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (sitedir): considers --program-prefix andyugui2008-10-246-19/+38
| | | | | | | | | | | | | | | | --program-suffix. (vendordir): ditto. (rubyhdrdir): ditto. * mkconfig.rb (CONFIG["rubylibdir"]): ditto. * win32/Makefile.sub: ditto. * instruby.rb (:rdoc): ditto. * lib/rdoc/ri/paths.rb (RDoc::RI::Paths): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_array.rb (test_sample): add tests for size ofmame2008-10-242-0/+22
| | | | | | | returned array and randomness. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * id.h, template/id.h.tmpl (enum ruby_method_ids): reordered.nobu2008-10-243-10/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/mathn/rational.c: change several global functions.keiju2008-10-242-11/+23
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/html.rb: allow symbolized key. xibbar2008-10-243-2/+9
| | | | | | | * test/cgi/test_cgi_tag_helper.rb: add a test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (exts): renamed to get rid of the existent directory.nobu2008-10-242-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* properties.nobu2008-10-240-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/mathn/rational.c: change several global functions to statickeiju2008-10-242-0/+23
| | | | | | | | function. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix test for 1.8xibbar2008-10-241-3/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_dump): should have removed commented outmatz2008-10-242-3/+3
| | | | | | unnecessary code. [ruby-cvs:27131] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_dump): do not use C++ comment.shyouhei2008-10-242-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * id.h (enum ruby_method_ids): ISO C forbids comma at end ofshyouhei2008-10-242-3/+8
| | | | | | | | enumerator list git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mathn.rb: moved into ext/mathn/rational/rational.c andkeiju2008-10-246-95/+3123
| | | | | | | | | ext/mathn/complex/complex.c. * ext/mathn: new mathn ext-libralies. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_array.rb (TestArray#test_join): should restorematz2008-10-243-2/+12
| | | | | | | | global variable after the test. [ruby-dev:36896] * test/ruby/test_hash.rb (TestHash#test_to_s): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: adjust indent.matz2008-10-241-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (lambda): need to adjust lpar_beg for ripper as well. matz2008-10-242-2/+7
| | | | | | [ruby-dev:36702] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoxibbar2008-10-241-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/core.rb (read_multipart): change field value as Stringxibbar2008-10-243-7/+53
| | | | | | | | | | from StringIO of Tempfile when multipart parse without file field. add files method that can uploaded files. [ruby-dev:36547] * test/cgi/test_cgi_multipart.rb: fix the test for core.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (ext): split out the target for extension library.nobu2008-10-242-2/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (encs): depends on enc and trans.nobu2008-10-242-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-10-24svn2008-10-241-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_signal.rb (TestSignal#test_exit_action): Threadkazu2008-10-242-1/+6
| | | | | | | may terminate before sysread. [ruby-dev:36835] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * distruby.rb: removed. "make dist" uses tool/make-snapshot for the 1.9yugui2008-10-232-59/+5
| | | | | | series. distruby.rb has been no longer used. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_class_instance_methods): rdoc fixed. [ruby-core:19458]matz2008-10-232-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/init.rb (IRB.load_modules): catch LoadError explicitly.matz2008-10-232-2/+8
| | | | | | | a patch from Daniel Berger <Daniel.Berger at qwest.com> in [ruby-core:19451]. fix [ruby-core:19450] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_s_getservbyport): check if the port range.nobu2008-10-232-0/+9
| | | | | | | [ruby-core:19460] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_dump): use \u{ff} escape for UTF-8 encodingmatz2008-10-232-9/+38
| | | | | | string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_s_getservbyname): unuse unnecessarynobu2008-10-232-8/+11
| | | | | | | object. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_s_getservbyport): the port should benobu2008-10-232-4/+12
| | | | | | | | converted before the proto so that the #to_int of the former cannot alter the latter. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_s_getservbyport): cast to get rid ofusa2008-10-232-1/+6
| | | | | | | | warning. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sock_s_getservbyport): port should bematz2008-10-222-1/+6
| | | | | | network byte order. a patch from Dave Thomas in [ruby-core:19454]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_conv_enc_opts): new function to convert withmatz2008-10-223-26/+103
| | | | | | | | | | | | | | | specifying ecflags and ecopts. * ext/zlib/zlib.c (gzfile_newstr): specify ecflags and ecopts for conversion using above function. * ext/zlib/zlib.c (gzfile_newstr): use own rb_econv_t for dummy encoding to handling stateful encoding (e.g. iso-2022-jp). [ruby-dev:36857] * ext/zlib/zlib.c (gzfile_getc): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_tmpsrc): get rid of side effects.nobu2008-10-222-2/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c: separate data structure between rb_fiber_t andko12008-10-223-71/+161
| | | | | | | | | rb_context_t (rb_fiber_t includes rb_context_t). rb_fiber_t has double linked list of fibers in same threads. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Described -E external:internal and -U.yugui2008-10-221-8/+72
| | | | | | | | * formatted some texts. * added BUGS and SEE ALSO sections. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_open): remove unnecessary flush before fork.matz2008-10-222-2/+6
| | | | | | | a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com> in [ruby-dev:36840]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_yield_setup_args): should not drop argumentsnobu2008-10-222-2/+8
| | | | | | | corresponding to default paramters. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (f_larglist): should not allow semicolon separated localmatz2008-10-222-1/+8
| | | | | | | | variable declarations if formal argument list is not surrounded by parentheses, mostly because semicolon outside of parentheses appears to terminate the expression. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_external_str_new_with_enc): no implicit strlen call.matz2008-10-226-27/+51
| | | | | | | | | | | | | | | | | | [ruby-dev:36854] * string.c (rb_external_str_new_cstr): new function to create string from external NUL terminated C string. * string.c (rb_locale_str_new_cstr): ditto. * ext/readline/readline.c: now use rb_locale_str_new_cstr(). * test/sdbm/test_sdbm.rb (TestSDBM#test_delete_with_block): deleted key to the block may be a copy of specified key. * test/dbm/test_dbm.rb (TestDBM#test_delete_with_block): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (unescape_escaped_nonascii): back out the last change onmatz2008-10-222-6/+7
| | | | | | the function. [ruby-dev:36818] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (rb_gzreader_ungetc): should be able to ungetmatz2008-10-213-3/+34
| | | | | | | | | | | Fixnum. * ext/stringio/stringio.c (strio_ungetc): should convert unget string. * ext/stringio/stringio.c (strio_ungetbyte): new method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/vm.h: write a comment.ko12008-10-214-9/+21
| | | | | | | | | | * common.mk: remove vm.h from any rules. vm.h is not needed on this version. * vm_core.h: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update ChangeLog for last check in.ko12008-10-211-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (arg_concat_gen): concat target node should be NODE_ARRAY.ko12008-10-212-3/+18
| | | | | | | | | [ruby-core:19413] * bootstraptest/test_method.rb: add tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_external_str_new_with_enc): wrong condition tomatz2008-10-213-25/+37
| | | | | | | | calculate strlen(). * ext/readline/readline.c: add encoding support. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-10-22svn2008-10-211-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e