summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * transcode_data.h, transcode.c, tool/transcode-tblgen.rb: Addedduerst2009-12-101-0/+10
| | | | | | | | | | | | support for new transcoding instruction FUNsio (with Tatsuya Mizuno) * enc/trans/gb18030.trans: Significantly reduced GB18030 conversion table footprint using FUNsio and differences (with Tatsuya Mizuno) * test/ruby/test_transcode.rb: Minor name fix (from Tatsuya Mizuno) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (yield_under): yields self the same as 1.8.shugo2009-12-101-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (native_mutex_reinitialize_atfork): release andnobu2009-12-101-0/+5
| | | | | | | re-acquire the lock at re-initialization. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (enc_replicate): add Encoding#replicate(name).naruse2009-12-101-0/+10
| | | | | | | | | | * encoding.c (enc_replicate_with_index): renamed from old enc_replicate. * encoding.c (rb_enc_from_encoding_index): split from rb_enc_from_encoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_inspect): CHAR_ESC_LEN should be 13.naruse2009-12-101-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (dyna_pop_gen): pop dvars. [ruby-dev:39861]nobu2009-12-091-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * node.c (dump_node): fixed for long members.nobu2009-12-091-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * node.c: node management added. Currently, only pretty-dumper ismame2009-12-091-0/+9
| | | | | | | | | | implemented. [ruby-dev:39853] * ruby.c: --dump=parsetree and --dump=parsetree_with_comment options added. This is just for debug or research purpose. Note that the compatibility of these options are not supported at all. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_justify): fixed the case a fill size is anobu2009-12-091-0/+5
| | | | | | | multiple of the length of the padding. [ruby-dev:39856] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/configure.bat: now recognize --with-*-{dir,include,lib} optionsusa2009-12-081-0/+11
| | | | | | | | | | | | | | and pass them to mkmf. * win32/configure.bat: general conversion from ``/'' to ``\'' of configure_args is not necessary any longer. * win32/setup.mak: BASERUBY is used as command, so always need to convert ``/'' to ``\'' within it. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_eq): supress a warning on VC++ for x64.usa2009-12-081-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems: update to 1.3.5.nobu2009-12-081-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/defaults.rb (Gem::default_dir): removed a clausenobu2009-12-081-0/+5
| | | | | | | doing nothing. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_f_test): use string form in unknown command errorakr2009-12-071-0/+5
| | | | | | | message. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): reverted r26007. [ruby-dev:39845]nobu2009-12-071-0/+6
| | | | | | | * test/test_delegate.rb (test_marshal): moved from test_marshal.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_justify): CVE-2009-4124.yugui2009-12-071-0/+7
| | | | | | | | | Fixes a bug reported by Emmanouel Kellinis <Emmanouel.Kellinis AT kpmg.co.uk>, KPMG London; Patch by nobu. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c: %l should be 1..12 instead of 0..12 [ruby-core:27072]naruse2009-12-061-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/find.rb (Find.find): reduce stat system call.akr2009-12-061-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpservlet/filehandler.rb: escape filename of index.naruse2009-12-061-0/+5
| | | | | | [ruby-dev:37768] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * symbian/setup (config.h): EXECUTABLE_EXTS moved from dln.c:dln_find_1().azav2009-12-051-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object): dump instance variables when usingnobu2009-12-051-0/+7
| | | | | | | | | marshal_dump. [ruby-core:24211] * variable.c (rb_ivar_count): added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: default ac_cv_prog_CC to CC.nobu2009-12-051-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@26005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/extend-command.rb (def_extend_command): fixed argumentnobu2009-12-051-0/+5
| | | | | | | number for negative arity. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (defined): should respect #respond_to_missing? asmatz2009-12-041-0/+5
| | | | | | #respond_to? does. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (k_def): adjust the location of method definition to thenobu2009-12-041-0/+5
| | | | | | | line of def. [Bug #2427] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (num_exact): should not accept strings as operands, evenmatz2009-12-041-0/+7
| | | | | | | | though they respond to #to_r. ideally, strict rational conversion should be done by a method like #to_rational, not #to_r. [ruby-core:23729] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* added a ChangeLog entry.shugo2009-12-041-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (ungetc): RDoc updated. trunk allowsnahi2009-12-041-0/+5
| | | | | | | pushing back behind the beginning of the pseudo stream. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (compile_cpath, iseq_compile_each): revertedshugo2009-12-031-0/+19
| | | | | | | | | | | | | | constant/class variable lookup in instance_eval etc. to the behavior of 1.8. * eval.c (rb_mod_nesting): ditto. * insns.def (putspecialobject, defineclass): ditto. * node.h (NODE_FL_CREF_PUSHED_BY_EVAL): ditto. * vm_core.h (VM_SPECIAL_OBJECT_CONST_BASE): ditto. * vm_eval.c (yield_under, eval_under): ditto. * vm_insnhelper.c (vm_cref_push, vm_get_const_base, vm_get_ev_const, vm_get_cvar_base): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/gb18030-tbl.rb: Fix omission of C1 region in code tableduerst2009-12-031-0/+8
| | | | | | | | | | (from Tatsuya Mizuno) * test/ruby/test_transcode.rb: Added test for converting full range of Unicode codepoints from/to GB18030 (from Tatsuya Mizuno) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c: initialize @hostname of SSLSocket to avoid nahi2009-12-021-0/+5
| | | | | | | warning at SSLSocket#connect. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/digest/test_digest_extend.rb: added tests for digest framework.nahi2009-12-011-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (dyna_push_gen, dyna_pop_gen): no needs to save both ofnobu2009-12-011-1/+4
| | | | | | | args and vars. [ruby-core:26961] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (dyna_push_gen): use rb_node_newnode() for ripper.nobu2009-11-301-1/+4
| | | | | | | [ruby-core:26961] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (dyna_push_gen, dyna_pop_gen): adjust local vtable levelnobu2009-11-301-0/+6
| | | | | | | | for the case of syntax errors in method name or argument inside do block. [ruby-core:26961] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (command_output): $makeflags are already quoted.nobu2009-11-301-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, win32/Makefile.sub (EXECUTABLE_EXTS): moved fromnobu2009-11-301-0/+8
| | | | | | | | | | dln.c:dln_find_1(). * lib/mkmf.rb (def find_executable0): use EXECUTABLE_EXTS, not only EXEEXT. [ruby-core:26821] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_yylex): suppress an extra error message afternobu2009-11-301-0/+6
| | | | | | | | numeric literal without digits. based on a patch from ujihisa . in [ruby-dev:39811]. [ruby-dev:39798] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixing the ChangeLog to point to [ruby-core:26837]tenderlove2009-11-291-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (check_funcall_failed): pass ID. [ruby-core:26934]nobu2009-11-291-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/formatters/default.rb (write_attribute): fix antenderlove2009-11-281-0/+6
| | | | | | | exception when printing a document when duplicate namespaced attributes exist. Thanks, Alexey Froloff [ruby-core:2389] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (check_funcall_failed): should rescue user raisedmatz2009-11-281-0/+6
| | | | | | | NoMethodError. rescue all NoMethodError if receiver does not respond to the method name. [ruby-dev:39796] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_complex.rb (@unify): fix the detection if mathyugui2009-11-261-0/+8
| | | | | | | | | loaded. This makes test_complex.rb work fine with the previous commit. * test/ruby/test_rational.rb (@unify): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_mathn.rb (TestMathn): new test case.yugui2009-11-261-0/+5
| | | | | | test for r25067. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_config.rb (OpenSSL::TestConfig): new test case.yugui2009-11-261-0/+5
| | | | | | test for r25017. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_range.rb (TestRange#test_comparison_when_recursive):yugui2009-11-261-0/+8
| | | | | | | | | test for r25010. * test/ruby/test_struct.rb (TestStruct#test_comparison_when_recursive): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gem_prelude.rb (Gem.set_home): must dup before force_encodingnaruse2009-11-261-24/+30
| | | | | | | and must force_encoding before gsub. cf. Yen Sign problem of SJIS [ruby-core:26910] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/{configure.bat, setup.mak, Makefile.sub}: add new configureusa2009-11-261-0/+5
| | | | | | | | option ``--with-ntver''. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/base.rb: use $INCFLAGS to add -I option. [Bug#2387]nobu2009-11-261-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (mark_dump_arg): mark str. see also [ruby-dev:39735]wanabe2009-11-251-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e