aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * common.mk (help): show major targets.naruse2008-01-272-0/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf.c: raise error when no output encoding is given.naruse2008-01-274-14/+31
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_succ): don't increment/decrement codepoint.akr2008-01-273-93/+171
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby-trunk.naruse2008-01-273-1/+6
| | | | | | | * lib/irb/ruby-lex.rb (RubyLex#buf_input): use chars.to_a. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkt-utf8: update nkf.naruse2008-01-276-3399/+3498
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_source): set encoding as regexp encoding.naruse2008-01-272-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tests refined.akr2008-01-271-16/+30
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2008-01-261-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests.akr2008-01-261-9/+139
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for chomp.akr2008-01-261-0/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_preprocess): force fixed encoding when ASCIIakr2008-01-263-1/+18
| | | | | | | incompatible source string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos.akr2008-01-261-19/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* make combination recursionless.akr2008-01-261-8/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_str_format): zero-precision zero should be empty.nobu2008-01-262-6/+14
| | | | | | | | | | [ruby-dev:33363] * sprintf.c (rb_str_format): not prepend octal prefix to negative or zero value. [ruby-dev:33363], [ruby-dev:33367] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (assignable_gen, keyword_to_name): __ENCODING__ was missing.nobu2008-01-262-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for [ruby-dev:33377].akr2008-01-261-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for [ruby-dev:33406].akr2008-01-261-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): dump string encoding in USERDEF.akr2008-01-263-1/+17
| | | | | | | [ruby-dev:33401] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): validate argument expr of "next"ko12008-01-263-0/+16
| | | | | | | | | statement. * bootstraptest/test_syntax.rb: add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c, compile.h: fix to calculate correct stack depthko12008-01-263-56/+103
| | | | | | | | at each instruction. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix test_too_long_string.akr2008-01-261-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/doctype.rb, test/rss/test_maker_itunes.rb: replacenaruse2008-01-265-2/+12
| | | | | | | | | multi-byte string. * test/json/{test_json.rb, test_json_unicode.rb}: add magic comment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/encoding.h (rb_usascii_encindex): added prototype.nobu2008-01-263-0/+10
| | | | | | | | * include/ruby/intern.h (rb_usascii_str_new, rb_usascii_str_new2): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_new): set US-ASCII and ENC_CODERANGE_7BIT whennaruse2008-01-262-1/+6
| | | | | | | empty string (len == 0). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_initialize): set default script encoding as US-ASCII.usa2008-01-253-25/+20
| | | | | | | | | | | | | | * ruby.c (load_file): ditto. * ruby.c (process_options): set script encoding of -e from locale except when -K is specified. * ruby.c (load_file): set script encoding of stdin from locale except when -K is specified. [ruby-dev:33375] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c, compile.h: fix stack pointer issues.ko12008-01-257-107/+143
| | | | | | | | | | | calculate correct stack depth at compile time. * insns.def (emptstack): remove it and add a new insn "adjuststack". * bootstraptest/test_knownbug.rb: move/remove fixed test. * bootstraptest/test_syntax.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_usascii_new{,2}: defined.naruse2008-01-2510-33/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (rb_str_new): set US-ASCII and ENC_CODERANGE_7BIT when empty string. * encoding.c (rb_usascii_encoding, rb_usascii_encindex): defined. (rb_enc_inspect, enc_name, rb_locale_charmap, rb_enc_name_list_i): use rb_str_ascii_new. * array.c (recursive_join, inspect_ary): ditto. * object.c (nil_to_s, nil_inspect, true_to_s, false_to_s, rb_mod_to_s): ditto. * hash.c (inspect_hash, rb_hash_inspect, rb_f_getenv, env_fetch, env_clear, env_to_s, env_inspect): ditto. * numeric.c (flo_to_s, int_chr, rb_fix2str): ditto. * bignum.c (rb_big2str): ditto. * file.c (rb_file_ftype, rb_file_s_dirname, rb_file_s_extname, file_inspect_join, Init_file): ditto. * test/ruby/test_ruby_m17n.rb: add checks for encoding of string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_byte): use getbyte instead of getc.akr2008-01-252-4/+10
| | | | | | | | (marshal_load): ditto. [ruby-dev:33264] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos.akr2008-01-251-23/+23
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_getline_fast): don't care ASCII incompatible encoding.akr2008-01-252-33/+44
| | | | | | | | | | (prepare_getline_args): generate a newline according to IO encoding when necessary. (rb_io_getline_1): call rb_io_getline_fast only for ASCII compatible encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-01-26usa2008-01-251-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2008-01-251-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_buf_cat_ascii): use rb_enc_cr_str_buf_cat.akr2008-01-252-20/+28
| | | | 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-252-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/ifchange: commit miss.nobu2008-01-251-0/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (revision.h): extracts revision number with ``svn info''.nobu2008-01-256-20/+65
| | | | | | | | | | | | | | * 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-252-4/+7
| | | | | | | 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-254-1/+34
| | | | | | | | | | * 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-252-1/+11
| | | | | | | 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-252-1/+4
| | | | | | | 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-252-9/+18
| | | | 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-252-2/+23
| | | | | | | option if they are not compatible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* combinational tests for printf.akr2008-01-251-0/+300
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options, process_options, load_file): shouldn't effectusa2008-01-252-17/+44
| | | | | | | | --encoding to script encoding. [ruby-dev:33169] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test for Regexp.union.akr2008-01-251-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15225 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: changed to text/plain.nobu2008-01-250-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * */*.bat: set svn:mime-type to text/batch.nobu2008-01-252-3/+7
| | | | 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-242-5/+10
| | | | 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-242-4/+18
| | | | | | | str has only ASCII characters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e