summaryrefslogtreecommitdiffstats
path: root/version.h
Commit message (Collapse)AuthorAgeFilesLines
* * ext/json/ext/generator/generator.c (Init_generator): requiresnobu2007-12-251-3/+3
| | | | | | | | json/common.rb for GeneratorError, when static linked. a patch from Kenta Murata <muraken AT gmail.com> in [ruby-dev:32789]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/encoding.h (rb_enc_left_char_head): new utility macro.matz2007-12-241-3/+3
| | | | | | | | | | | | | * include/ruby/encoding.h (rb_enc_right_char_head): ditto. * io.c (appendline): does multibyte RS search in the function. * io.c (prepare_getline_args): RS may be nil. * io.c (rb_io_getc): should process character based on external encoding, when transcoding required. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_s_read): encoding argument reverted.matz2007-12-231-4/+4
| | | | | | | | * io.c (mode_enc): independent function to share code. * io.c (rb_io_internal_encoding): new method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.h: use patchlevel if revision is not set.nobu2007-12-221-1/+1
| | | | | | | * {bcc32,win{32,ce}}/setup.mak (-version-): skip including revision.h. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_mode_enc): do not set encoding unless explicitlymatz2007-12-221-3/+3
| | | | | | | | | | | | specified. * io.c (rb_io_check_readable): fill fptr->enc by default_external if it's empty. * io.c (io_enc_str): fptr->enc is always set for reading IO (by rb_io_check_readable(fptr)). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* version.h corruptedmatz2007-12-221-0/+38
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (syck_genericresolver_node_import): shouldmatz2007-12-221-38/+0
| | | | | | | not set instance variable "@kind" before initializing it. [ruby-dev:32677] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (encs, ext/ripper/ripper.c): needs MFLAGS.nobu2007-12-221-0/+38
| | | | | | | | | | | | | | * configure.in (STRINGIZE): stringizing macro. * include/ruby/defines.h (STRINGIZE): fallback. * tool/make-snapshot: new file. * version.c (ruby_description, ruby_copyright): string constants for -v option. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/test.rb (valid_syntax): force_encoding input script.matz2007-12-211-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (tr_trans): wrong encoding check for tree strings.matz2007-12-201-3/+3
| | | | | | | * test/ruby/test_m17n.rb (TestM17N::test_tr_s): "invalid mbstring sequence" is not an error to be tested. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): should handle upper level eval iseqnobu2007-12-191-3/+3
| | | | | | | | from break/next, and COMPILE_ERROR() breaks only one block. [ruby-dev:31372] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_cstr_to_inum): wrong radix check. a patch frommatz2007-12-181-3/+3
| | | | | | | | Yusuke ENDOH <mame AT tsg.ne.jp> in [ruby-dev:32628]. * bignum.c (big2str_find_n1): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_initialize): raise error if non-Unicode fixedmatz2007-12-171-3/+3
| | | | | | | | | | encoding option is specified for regexp literals with \u{} escapes. * string.c (rb_str_squeeze_bang): should squeeze multibyte characters as well. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* for undefined conversions.matz2007-12-171-3/+3
| | | | | | | | | | | | * transcode_data_iso_8859.c: Changed from character constants ('\xC2') to integer contants (0xC2) for shorter files and better readability; eliminated duplicated tables; changed from -1 offset to actual UNDEF entry (not yet distinguishing UNDEF and ILLEGAL correctly). * test/ruby/test_transcode.rb: added a test for UNDEF conversion. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (MAKEFILES): should be enc/Makefile, not GNUmakefile.nobu2007-12-151-3/+3
| | | | | | | [ruby-dev:32609] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/options.rb (Options::parse): do not access $KCODE anymatz2007-12-141-3/+3
| | | | | | | | | | longer. [ruby-core:14079] * lib/irb/init.rb (IRB::IRB.parse_opts): ditto. * lib/cgi.rb (CGI::CGI): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_initialize): embedded string may override encodingmatz2007-12-131-3/+3
| | | | | | | | | of the regular expression. * re.c (rb_reg_initialize): fix encoding of regular expression if embedded string has its own encoding specified. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (read_all): should associate default external encoding.matz2007-12-121-3/+3
| | | | | | * io.c (io_read): should NOT associate default external encoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_regsub): should copy encoding.nobu2007-12-121-3/+3
| | | | | | | | * string.c (rb_str_sub_bang, str_gsub): should check and copy encoding to be replaced. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (shadowing_lvar_gen): no duplicate error for "_".matz2007-12-101-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (expr): redefinable not (!) operator.matz2007-12-091-3/+3
| | | | | | | | | | | | * parse.y (arg): ditto. * object.c (rb_obj_not): new method "!". * object.c (rb_obj_not_equal): new method "!=". * object.c (rb_obj_not_match): new method "!~". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-12-09nobu2007-12-091-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (arg): tUPLUS no longer works as identity operation anymatz2007-12-071-3/+3
| | | | | | more. inspired by [ruby-talk:265532]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c (i_apply_case_fold): fix for negative character class. anobu2007-12-051-3/+3
| | | | | | | patch from Yusuke ENDOH <mame AT tsg.ne.jp> in [ruby-core:13884]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yycompile): get rid of tracing while parsing.nobu2007-12-051-3/+3
| | | | | | | | | | [ruby-dev:31351] * thread.c (ruby_suppress_tracing): added a new parameter, which directs to call func always. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_cstr_to_inum): trailing spaces may exist at sqeezingnobu2007-12-041-3/+3
| | | | | | | preceeding 0s. [ruby-core:13873] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/Win32API/*: removed or moved to ext/dl/win32.usa2007-12-031-3/+3
| | | | | | | | * ext/dl/win32/*: new. [ruby-dev:32387] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insnhelper.ci (vm_callee_setup_arg): fix error message.ko12007-12-021-3/+3
| | | | | | | | [ruby-dev:32430] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (newline_node): always remove NODE_BEGIN.nobu2007-11-301-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_eql): recursive comparison should be based onmatz2007-11-301-3/+3
| | | | | | eql? [ruby-core:13803] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (stmt): remove unnecessary NODE_BEGIN. [ruby-core:13814]nobu2007-11-291-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-11-28nobu2007-11-271-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def, compile.c: fix to allow dsym for alias/undef.ko12007-11-271-3/+3
| | | | | | | | | [ruby-dev:32355] * bootstraptest/test_method.rb: add tests for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_f_global_variables): variable names should notmatz2007-11-261-3/+3
| | | | | | duplicate. [ruby-dev:32344] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@14014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (defined_expr): defined(method(x)) dumped core. amatz2007-11-231-3/+3
| | | | | | patch from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:32335] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insnhelper.ci (vm_search_normal_superclass): rename function.matz2007-11-221-3/+3
| | | | | | | | * insnhelper.ci (vm_search_superclass): ditto. * proc.c (struct METHOD): rename rklass -> rclass. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (nil_plus): remove unused function. [ruby-core:13737]matz2007-11-201-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/win32.h win32/win32.c (rb_w32_pipe_exec): use dual fdusa2007-11-201-3/+3
| | | | | | | | | | | | instead of socketpair when mode is RDWR. * io.c (pipe_open): pass &write_fd to rb_w32_pipe_exec(). * io.c (popen_redirect): define only when HAVE_FORK. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_read_escape): disallow control and meta modifiersnobu2007-11-181-3/+3
| | | | | | | for non-ASCII characters. [ruby-core:13685] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (String#tr_cpp): make preprocessor identifiers.nobu2007-11-181-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/win32ole/win32ole.c (ole_invoke): bug fix. [ruby-talk:279100]suke2007-11-171-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb (String#is_binary_data?): use Integer#fdiv.nobu2007-11-161-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile_prelude.rb (c_esc): need to escape closing brace.matz2007-11-151-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/ytab.sed: get rid of GNU sed feature. a patch from Laurentnobu2007-11-131-3/+3
| | | | | | | Sansonetti <laurent.sansonetti AT gmail.com> in [ruby-core:13470]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_divmod): round to the nearest integer. [ ruby-Bugs-14540 ]shyouhei2007-11-121-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-parse-partial): handle stringifiedmatz2007-11-121-3/+3
| | | | | | symbols properly using ruby-forward-string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32}/Makefile.sub: vendor_ruby support.nobu2007-11-101-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c: update MT URL.[ruby-core:13305].matz2007-11-081-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_read_escape): remove C99/gcc-ism.usa2007-11-081-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/encodings/SHIFT-JIS.rb (REXML::Encoding): place -x formatz2007-11-061-3/+3
| | | | | | | nkf conversion. a patch from <moonwolf AT moonwolf.com>. [ruby-dev:32183] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e