summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * test/dl/test_callback.rb (**): using DL::Function to test callbackstenderlove2009-12-041-3/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-12-04svn2009-12-031-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (compile_cpath, iseq_compile_each): revertedshugo2009-12-0310-22/+105
| | | | | | | | | | | | | | 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-033-2/+48
| | | | | | | | | | (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
* * 2009-12-03svn2009-12-031-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_callback.rb (**): testing return values of dl callbackstenderlove2009-12-031-0/+23
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-12-02svn2009-12-021-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c: initialize @hostname of SSLSocket to avoid nahi2009-12-022-0/+8
| | | | | | | 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-012-2/+84
| | | | 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-012-28/+49
| | | | | | | 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-302-2/+5
| | | | | | | [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-304-41/+77
| | | | | | | | 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
* * test/yaml/test_{boolean,null,omap}.rb: eol-style.nobu2009-11-300-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (command_output): $makeflags are already quoted.nobu2009-11-302-1/+5
| | | | 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-305-4/+25
| | | | | | | | | | 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
* Adding tests for YAML typestenderlove2009-11-303-0/+113
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_yylex): suppress an extra error message afternobu2009-11-303-4/+21
| | | | | | | | 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
* * 2009-11-30svn2009-11-291-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25961 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-292-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eol-style.nobu2009-11-290-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-29svn2009-11-281-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/formatters/default.rb (write_attribute): fix antenderlove2009-11-283-1/+28
| | | | | | | 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
* * 2009-11-28svn2009-11-281-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (check_funcall_failed): should rescue user raisedmatz2009-11-282-3/+8
| | | | | | | 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
* rdoc update.akr2009-11-261-0/+28
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_complex.rb (@unify): fix the detection if mathyugui2009-11-263-2/+12
| | | | | | | | | 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-262-0/+15
| | | | | | 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-262-0/+20
| | | | | | 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-263-0/+72
| | | | | | | | | 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-262-26/+33
| | | | | | | 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-264-1/+20
| | | | | | | | option ``--with-ntver''. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * removed spaces just before tabs.nobu2009-11-2615-35/+35
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test: eol-style.nobu2009-11-260-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/base.rb: use $INCFLAGS to add -I option. [Bug#2387]nobu2009-11-262-2/+5
| | | | 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-252-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-26svn2009-11-251-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/digest/test_digest_extend.rb: Added tests for current digestnahi2009-11-252-0/+72
| | | | | | | framework. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (rb_search_method_entry): refine error message.akr2009-11-252-9/+18
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/digest.c (rb_digest_instance_method_unimpl): Do notknu2009-11-252-4/+19
| | | | | | | | | call rb_inspect() on an object that does not implement necessary methods; reported by NaHi. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c: Added a check for an internal errorduerst2009-11-252-0/+7
| | | | | | | (with Tatsuya Mizuno) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-11-25svn2009-11-251-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootsraptest/test_io.rb: skip the test of io/nonblock on Windows.usa2009-11-251-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb (EnvUtil.invoke_ruby): raise Timeout::Errorakr2009-11-242-1/+6
| | | | | | | instead of flunk. reported by Yusuke Endoh. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (ruby_vm_destruct, thread_memsize): fix argument type to makemame2009-11-242-4/+8
| | | | | | RUBY_MARK_FREE_DEBUG available. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c: include errno.h at beginning.akr2009-11-242-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c: %Y format a year with 4 digits at least.akr2009-11-244-7/+28
| | | | | | | | * lib/time.rb: format a year with 4 digits at least. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * defs/known_errors.def: more errors.akr2009-11-242-0/+27
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (rb_bug_errno): declared.akr2009-11-246-25/+52
| | | | | | | | | | | | | | | | * include/ruby/intern.h (rb_strerrno): declaration removed. * error.c (rb_strerrno): make it static. return NULL for unknown errors. (rb_bug_errno): defined. * thread_pthread.c: use rb_bug_errno. * signal.c (ruby_signal): use rb_bug_errno. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_thread.rb: propagate the exception within a thread tousa2009-11-241-1/+6
| | | | | | | outer. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e