aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * string.c (rb_str_buf_cat_ascii): use rb_enc_cr_str_buf_cat.akr2008-01-251-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (version.$(OBJEXT)): depends on $(srcdir)/revision.h.nobu2008-01-251-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (revision.h): extracts revision number with ``svn info''.nobu2008-01-251-0/+13
| | | | | | | | | | | | | | * common.mk (up): target to update from the repository. * Makefile.in, {win,bcc}32/Makefile.sub (IFCHANGE): tool to update a file if changed. * tool/ifchange: for unixen. * win32/ifchange.bat: some fix git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (load_file): set default to ASCII-8BIT explicitly if -Knobu2008-01-251-0/+5
| | | | | | | option is not given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h (rb_str_buf_cat_ascii): declared.akr2008-01-251-0/+9
| | | | | | | | | | * string.c (rb_str_buf_cat_ascii): defined. * re.c (rb_reg_s_union): use rb_str_buf_cat_ascii to support ASCII incompatible encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (process_options, load_file, rb_load_file): propagates scriptnobu2008-01-251-0/+5
| | | | | | | encoding by -K to libraries. [ruby-dev:33156] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (process_options): set encoding of -e option from -E optionnobu2008-01-251-1/+1
| | | | | | | if they are compatible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (cmdline_arguments): split argc and argv from cmdline_options.nobu2008-01-251-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (process_options): not set encoding of -e option from -Enobu2008-01-251-0/+5
| | | | | | | option if they are not compatible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options, process_options, load_file): shouldn't effectusa2008-01-251-0/+5
| | | | | | | | --encoding to script encoding. [ruby-dev:33169] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fixed format.nobu2008-01-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * */*.bat: set svn:mime-type to text/batch.nobu2008-01-251-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_one, enum_take_while, enum_drop_while): fix documents.mame2008-01-241-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (reg_fragment_setenc_gen): associate ASCII-8BIT only ifakr2008-01-241-0/+5
| | | | | | | str has only ASCII characters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_m17n.rb: follow to the following changes.usa2008-01-241-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parser.y (parser_str_new): automatically update string literal'susa2008-01-241-0/+11
| | | | | | | | | | | | | | encoding from US-ASCII to ASCII-8BIT when script encoding is US-ASCII and the string includes non-ascii bytes. [ruby-dev:33348] * parser.y (reg_fragment_check_gen, reg_compile_gen): automatically update regexp literal's encoding from US-ASCII to ASCII-8BIT when script encoding is US-ASCII, the regexp has no kcode option and the regexp includes non-ascii bytes. [ruby-dev:33353] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb (URI::Generic::inspect): use Kernel#to_s insteadnobu2008-01-241-0/+5
| | | | | | | object_id with printf. [ruby-dev:33347] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (remove_sign_bits): returns pointer to the first char tonobu2008-01-241-0/+8
| | | | | | | | | | be used, instead of copying. * sprintf.c (rb_str_format): negative indicator dots should come before sign digits always. [ruby-dev:33224] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/encoding.h (rb_enc_is_newline): parenthesized arguments.nobu2008-01-241-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_fixed_encoding_p): no need to treat ASCII-8BIT specially.usa2008-01-241-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_initialize): 7bit clean regexp should be US-ASCII.usa2008-01-241-0/+5
| | | | | | | | [ruby-dev:33346] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_getline_fast): the end point of left_char_head()matz2008-01-241-0/+5
| | | | | | must be the last character. [ruby-cvs:22445] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (reg_fragment_setenc_gen): recognize regexp with option n asusa2008-01-241-0/+5
| | | | | | | | as ASCII-8BIT instead of US-ASCII. [ruby-dev:33339] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (sort_1): remove ary_sort_check(). in-place sort keepmatz2008-01-241-1/+6
| | | | | | | | original elements even when it's modified. * array.c (sort_2): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (collect_bang_i): use rb_ary_store() to avoid potentialmatz2008-01-241-0/+8
| | | | | | | | | memory corruption. a patch from Yusuke Endoh <mame@tsg.ne.jp> in [ruby-dev:33328]. * array.c (ITERATE): remove unnecessary macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (make_time_t): revert round trip test. [ruby-dev:33058]akr2008-01-241-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_enc_cr_str_buf_cat): ASCII incompatible encoding isakr2008-01-241-0/+5
| | | | | | | not compatible with any other encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (STR_NEW0): set encoding as US-ASCII.naruse2008-01-231-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/text.rb, lib/rubygems/open-uri.rb, lib/open-uri.rb,naruse2008-01-231-0/+6
| | | | | | | test/logger/test_logger.rb, test/ruby/test_regexp.rb: fix tests. [ruby-dev:33336] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_each_line): use memchr(3) for faster newlinematz2008-01-231-0/+9
| | | | | | | | | | search. * io.c (appendline): remove unused arguments * io.c (rb_io_getline_fast): make much simpler (and faster). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (expandarray): fix stack inc.mame2008-01-231-0/+5
| | | | | | | * bootstraptest/test_knownbug.rb, test_massign.rb: move a fixed test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_optionc): -Kn means ASCII-8BIT.naruse2008-01-231-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_str_new, rb_intern3): ascii only string literal is US-ASCII.naruse2008-01-231-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.{c, h} (rb_usascii_encoding): added.naruse2008-01-231-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c: fix comment. [ruby-dev:33275]mame2008-01-231-0/+5
| | | | | | | * math.c: fix comment. [ruby-dev:33276] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_struct.rb: add tests to achieve over 90% testmame2008-01-231-0/+7
| | | | | | | | | coverage of struct.c. * test/ruby/test_sprintf.rb: ditto for sprintf.c. * test/ruby/test_math.rb: ditto for math.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/japanese.c (rb_from_Windows_31J, rb_to_Windows_31J):nobu2008-01-231-0/+5
| | | | | | | provisional workaround for Windows-31J. [ruby-dev:33320] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_strftime): copy encoding from format. [ruby-dev:33303]nobu2008-01-231-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_make_independent): should set length.nobu2008-01-231-0/+11
| | | | | | | | | | | | * string.c (rb_str_associate): hide associated array from ObjectSpace. * string.c (rb_str_associated): return associated array with freezing instead of false. [ruby-dev:33282] * string.c (rb_str_freeze): freeze associated array together. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_prepare_re): fix SEGV byakr2008-01-231-0/+5
| | | | | | | /a/ =~ "aa".force_encoding("utf-16be"). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_mod_check, str_nth, str_offset): consitfied.nobu2008-01-231-0/+6
| | | | | | | * string.c (rb_str_dump): dump in ASCII-8BIT always. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_method.c (rb_export_method): set ruby_vm_redefined_flag formatz2008-01-231-0/+6
| | | | | | | visibility change as well. reported by K.Kosako in http://d.hatena.ne.jp/kkos/20080122#1201012720. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_bignum.rb: change some tests because rationalmame2008-01-221-0/+5
| | | | | | | redefines Bignum#quo and Bignum#**. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): need to output sodir rule.usa2008-01-221-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): lib files shoudn't depend on installusa2008-01-221-0/+6
| | | | | | | | | dir because if the dir is newer than lib files, lib files will be always copied. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Tue Jan 22 17:52:52 2008 Martin Duerst <duerst@it.aoyama.ac.jp>duerst2008-01-221-0/+5
| | | | | | | | | * enc/trans/utf_16_32.c: Streamline parentheses, add more 'static' qualifiers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_compatible): wrong compatibility condition.matz2008-01-221-0/+3
| | | | | | [ruby-dev:33273] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (MINIRUBY): remove -I$(EXTOUT)/$(arch) frommatz2008-01-221-0/+14
| | | | | | | | | | | | | | | MINIRUBY since miniruby might not be able to load DLL. * test/ruby/test_m17n.rb: move tests from bootstrap test. * encoding.c (enc_find): should check name if ASCII compatible. * string.c (rb_str_end_with): should check character boundary. * encoding.c (rb_enc_compatible): encoding must be ASCII compatible before checking ENC_CODERANGE_7BIT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_each_char): iterates over a shadow.nobu2008-01-221-0/+5
| | | | | | | [ruby-dev:33243] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/formatter.rb: Indent labeled lists like note lists.drbrain2008-01-221-0/+8
| | | | | | | | | | * test/rdoc/test_rdoc_ri_overstrike_formatter.rb: Added. * test/rdoc/test_rdoc_ri_formatter.rb: Added tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e