summaryrefslogtreecommitdiff
path: root/version.h
AgeCommit message (Collapse)Author
2007-12-24* include/ruby/encoding.h (rb_enc_left_char_head): new utility macro.matz
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-23* io.c (rb_io_s_read): encoding argument reverted.matz
* io.c (mode_enc): independent function to share code. * io.c (rb_io_internal_encoding): new method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22* version.h: use patchlevel if revision is not set.nobu
* {bcc32,win{32,ce}}/setup.mak (-version-): skip including revision.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22* io.c (rb_io_mode_enc): do not set encoding unless explicitlymatz
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22version.h corruptedmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22* ext/syck/rubyext.c (syck_genericresolver_node_import): shouldmatz
not set instance variable "@kind" before initializing it. [ruby-dev:32677] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-22* common.mk (encs, ext/ripper/ripper.c): needs MFLAGS.nobu
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-21* sample/test.rb (valid_syntax): force_encoding input script.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-20* string.c (tr_trans): wrong encoding check for tree strings.matz
* test/ruby/test_m17n.rb (TestM17N::test_tr_s): "invalid mbstring sequence" is not an error to be tested. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-19* compile.c (iseq_compile_each): should handle upper level eval iseqnobu
from break/next, and COMPILE_ERROR() breaks only one block. [ruby-dev:31372] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-18* bignum.c (rb_cstr_to_inum): wrong radix check. a patch frommatz
Yusuke ENDOH <mame AT tsg.ne.jp> in [ruby-dev:32628]. * bignum.c (big2str_find_n1): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-17* re.c (rb_reg_initialize): raise error if non-Unicode fixedmatz
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-17for undefined conversions.matz
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-15* configure.in (MAKEFILES): should be enc/Makefile, not GNUmakefile.nobu
[ruby-dev:32609] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-14* lib/rdoc/options.rb (Options::parse): do not access $KCODE anymatz
longer. [ruby-core:14079] * lib/irb/init.rb (IRB::IRB.parse_opts): ditto. * lib/cgi.rb (CGI::CGI): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-13* re.c (rb_reg_initialize): embedded string may override encodingmatz
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-12* io.c (read_all): should associate default external encoding.matz
* io.c (io_read): should NOT associate default external encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-12* re.c (rb_reg_regsub): should copy encoding.nobu
* string.c (rb_str_sub_bang, str_gsub): should check and copy encoding to be replaced. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-10* parse.y (shadowing_lvar_gen): no duplicate error for "_".matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-09* parse.y (expr): redefinable not (!) operator.matz
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@14162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-09* 2007-12-09nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-07* parse.y (arg): tUPLUS no longer works as identity operation anymatz
more. inspired by [ruby-talk:265532]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-05* regparse.c (i_apply_case_fold): fix for negative character class. anobu
patch from Yusuke ENDOH <mame AT tsg.ne.jp> in [ruby-core:13884]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-05* parse.y (yycompile): get rid of tracing while parsing.nobu
[ruby-dev:31351] * thread.c (ruby_suppress_tracing): added a new parameter, which directs to call func always. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-04* bignum.c (rb_cstr_to_inum): trailing spaces may exist at sqeezingnobu
preceeding 0s. [ruby-core:13873] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-03 * ext/Win32API/*: removed or moved to ext/dl/win32.usa
* ext/dl/win32/*: new. [ruby-dev:32387] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-02* insnhelper.ci (vm_callee_setup_arg): fix error message.ko1
[ruby-dev:32430] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-30* parse.y (newline_node): always remove NODE_BEGIN.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-30* hash.c (rb_hash_eql): recursive comparison should be based onmatz
eql? [ruby-core:13803] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-29* parse.y (stmt): remove unnecessary NODE_BEGIN. [ruby-core:13814]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-27* 2007-11-28nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-27* insns.def, compile.c: fix to allow dsym for alias/undef.ko1
[ruby-dev:32355] * bootstraptest/test_method.rb: add tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-26* variable.c (rb_f_global_variables): variable names should notmatz
duplicate. [ruby-dev:32344] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-23* compile.c (defined_expr): defined(method(x)) dumped core. amatz
patch from Yusuke ENDOH <mame AT tsg.ne.jp>. [ruby-dev:32335] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-22* insnhelper.ci (vm_search_normal_superclass): rename function.matz
* insnhelper.ci (vm_search_superclass): ditto. * proc.c (struct METHOD): rename rklass -> rclass. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-20* object.c (nil_plus): remove unused function. [ruby-core:13737]matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-20 * include/ruby/win32.h win32/win32.c (rb_w32_pipe_exec): use dual fdusa
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@13978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-18* parse.y (parser_read_escape): disallow control and meta modifiersnobu
for non-ASCII characters. [ruby-core:13685] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-18* lib/mkmf.rb (String#tr_cpp): make preprocessor identifiers.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-17ext/win32ole/win32ole.c (ole_invoke): bug fix. [ruby-talk:279100]suke
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-16* lib/yaml/rubytypes.rb (String#is_binary_data?): use Integer#fdiv.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-15* tool/compile_prelude.rb (c_esc): need to escape closing brace.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-13* tool/ytab.sed: get rid of GNU sed feature. a patch from Laurentnobu
Sansonetti <laurent.sansonetti AT gmail.com> in [ruby-core:13470]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-12* numeric.c (flo_divmod): round to the nearest integer. [ ruby-Bugs-14540 ]shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-12* misc/ruby-mode.el (ruby-parse-partial): handle stringifiedmatz
symbols properly using ruby-forward-string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-10* {bcc32,win32}/Makefile.sub: vendor_ruby support.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-08* random.c: update MT URL.[ruby-core:13305].matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-08 * parse.y (parser_read_escape): remove C99/gcc-ism.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-06* lib/rexml/encodings/SHIFT-JIS.rb (REXML::Encoding): place -x formatz
nkf conversion. a patch from <moonwolf AT moonwolf.com>. [ruby-dev:32183] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-06* eval_load.c (rb_feature_p): check if the feature is loading withnobu
load path. [ruby-dev:31932] * eval_load.c (load_lock): check the result of barrier waiting. * thread.c (rb_barrier_wait): check if owned by the current thread. * thread.c (rb_barrier_release): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e