aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * string.c (rb_enc_cr_str_buf_cat, rb_str_buf_append): deal with selfnobu2008-01-092-5/+12
| | | | | | | appending. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_prepare): set parser->enc from lex_input for ripper.usa2008-01-092-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/server.rb (WEBrick::HTTPServer#start):gotoyuzo2008-01-092-0/+6
| | | | | | | :DoNotReverseLookup option had not been performed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_enc_cr_str_buf_cat): do not recalculate coderangematz2008-01-093-5/+12
| | | | | | value if it's given from outside. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c: Updating the documentation of Enumrable#zip to reflectjeg22008-01-082-6/+12
| | | | | | | the recent changes Matz made to the method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/Makefile.in (BUILTIN_ENCS): UTF-{16,32}{BE,LE} are not builtin.naruse2008-01-082-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_init): UTF-{16,32}{BE,LE} are not builtin.naruse2008-01-082-8/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c, Makefile.in, include/ruby/oniguruma.h,naruse2008-01-085-11/+25
| | | | | | | enc/Makefile.in: fix rules for UTF-{16,32}{BE,LE}. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win{32,ce}/Makefile.sub: merged.nobu2008-01-083-541/+172
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Speed up Marshal load, fix bug with nested classes' methodsdrbrain2008-01-082-3/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Clean up namespacing of RI's classesdrbrain2008-01-0820-1402/+1362
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_zip): honor length of the receiver, not thematz2008-01-084-16/+128
| | | | | | | | | | | | | shortest length. [ruby-core:14738] * enum.c (enum_zip): returns array not enumerator for no block form. [ruby-core:14738] * enumerator.c (next_ii): do not ignore multiple values yielded. * array.c (rb_ary_zip): faster version without creating generators. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * set properties.nobu2008-01-080-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Replace ri with Ryan Davis' cached ridrbrain2008-01-0811-579/+531
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/utf_{16,32}{be,le}.c: renamed to match with encoding names.nobu2008-01-084-869/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/utf_{16,32}{be,le}.c: renamed to match with encoding names.nobu2008-01-084-0/+869
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/utf{16,32}_{be,le}.c: use &OnigEncodingName(*) instead ofusa2008-01-085-11/+24
| | | | | | | | ONIG_ENCODING_*. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regenc.c (onigenc_strlen_null, onigenc_str_bytelen_null): suppressednobu2008-01-088-9/+18
| | | | | | | | | | | | warnings. * regenc.h, enc/unicode.c (onigenc_unicode_ctype_code_range): added encoding argument. * enc/utf{16,32}_{be,le}.c: added init functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/utf{16,32}_{be,le}.c: imported from Oniguruma 5.9.1.nobu2008-01-085-0/+865
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_gsub): avoid appending empty pre-match substr.akr2008-01-082-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_build_from_ary), iseq.c (iseq_load): fix for format change.nobu2008-01-083-20/+25
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-01-08usa2008-01-081-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_buf_append): fix append itself.akr2008-01-073-1/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* set properties.nobu2008-01-070-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add additional information to RDoc template valuesdrbrain2008-01-071-36/+38
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (STR_ENC_GET): defined. same as rb_enc_get withoutakr2008-01-072-102/+93
| | | | | | | | | | | | | | | | enc_capable. (coderange_scan): ASCII-8BIT test refined. (rb_enc_cr_str_buf_cat): new internal function to accumulate strings with encoding. (rb_enc_str_buf_cat): use rb_enc_cr_str_buf_cat. (rb_str_buf_append): ditto (str_gsub): use rb_str_buf_append. (rb_str_hash): use ENCODING_GET. (rb_str_comparable): ditto. (rb_str_cmp): compare encoding index, not rb_encoding address. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2008-01-072-0/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/cgihandler.rb: external encoding ofgotoyuzo2008-01-072-0/+7
| | | | | | | tempfiles is set to "ASCII-8BIT". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use ERB instead of custom template language for RDoc.drbrain2008-01-0711-1573/+688
| | | | | | | | Remove old_html template. Convert all templates to ERB. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (Init_String): sym_match arity spec was wrong. a patchmatz2008-01-073-2/+7
| | | | | | from Hiroyuki Iwatsuki <don at na.rim.or.jp> in [ruby-dev:32957]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test_knownbug [ruby-core:14813]matz2008-01-071-0/+23
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_gsub): move rb_enc_get(str) to out of loop.akr2008-01-072-4/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/oniguruma.h (OnigEncodingType): new memberakr2008-01-074-16/+15
| | | | | | | | | | | | | ruby_encoding_index to avoid linear search in rb_enc_to_index. * include/ruby/encoding.h (rb_enc_to_index): macro defined to use ruby_encoding_index. * encoding.c (rb_enc_to_index): removed. (enc_register_at): initialize ruby_encoding_index member. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Namespace TokenStream under RDoc.drbrain2008-01-072-9/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test_knowbug [ruby-core:14813]matz2008-01-071-0/+25
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Namespace RDoc::DOT. Clean up formatting of RDoc::Diagrams.drbrain2008-01-073-74/+83
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Convert RDoc to OptionParser, clean up -h output, namespace Options under RDoc.drbrain2008-01-0713-594/+635
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk, Makefile.in, */Makefile.sub (distclean-local): moveusa2008-01-076-1/+10
| | | | | | | | | removing rule of ext/ripper/y.output from common.mk to Makefiles that depend on platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/generators.rb: set properties.nobu2008-01-070-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_preprocess): fix fixed_enc condition.akr2008-01-072-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge documentation from the same class on ri generation.drbrain2008-01-073-10/+27
| | | | | | | | Fixes bug where documentation could disappear. Fix typo in lib/rdoc/options.rb git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_internal_get_index): extracted fromakr2008-01-078-24/+88
| | | | | | | | | | | | | | | | | | | | | rb_enc_get_index. (rb_enc_internal_set_index): extracted from rb_enc_associate_index * include/ruby/encoding.h (ENCODING_SET): work over ENCODING_INLINE_MAX. (ENCODING_GET): ditto. (ENCODING_IS_ASCII8BIT): defined. (ENCODING_CODERANGE_SET): defined. * re.c (rb_reg_fixed_encoding_p): use ENCODING_IS_ASCII8BIT. * string.c (rb_enc_str_buf_cat): use ENCODING_IS_ASCII8BIT. * parse.y (reg_fragment_setenc_gen): use ENCODING_IS_ASCII8BIT. * marshal.c (has_ivars): use ENCODING_IS_ASCII8BIT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add test_knonbugmatz2008-01-071-0/+25
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Collapse namespaces and refactor requires in RDocdrbrain2008-01-076-366/+352
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Clean up comments and whitespace in RDoc generatorsdrbrain2008-01-074-262/+248
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-01-07usa2008-01-071-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML ref.akr2008-01-061-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (coderange_scan): avoid rb_enc_to_index.akr2008-01-062-6/+13
| | | | | | | | | (rb_enc_str_buf_cat): ditto. (str_cat_char): use rb_enc_str_buf_cat. (rb_str_inspect): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (coderange_scan): optimize ASCII-8BIT string.akr2008-01-062-5/+31
| | | | | | | (rb_enc_str_buf_cat): don't call coderange_scan if possible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/erb.rb (ERB::Revision): cut off locale dependent string in Dateakr2008-01-062-1/+6
| | | | | | | keyword. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e