aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* fix ChangeLog.ko12007-02-241-2/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: change vm_macro.def -> vm_macro.inc rule.ko12007-02-242-3/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/racc/cparse/cparse.c (cparse_params_mark): remove useless rb_gc_mark. ↵aamine2007-02-242-4/+5
| | | | | | Thanks Tomoyuki Chikanaga. [ruby-dev:30405] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: add WIN32OLE_VARIANT.array, suke2007-02-234-87/+456
| | | | | | | | | | WIN32OLE_VARIANT#value=, refactoring. * test/win32ole/test_win32ole_variant.rb: add some test for WIN32OLE_VARIANT.array, WIN32OLE_VARIANT#value=. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_yield.rb: new test.aamine2007-02-233-207/+73
| | | | | | | * yarvtest/test_yield.rb: removed (moved to test_yield.rb). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_polling): check interrupts here.usa2007-02-235-136/+61
| | | | | | | | | | | | | | | * thread_win32.ci (w32_wait_events): rename from w32_wait_event(), and now receive multiple event handles. * win32/win32.c (wait_events, rb_w32_main_context): removed. * thread_win32.ci (rb_w32_wait_events): new function. * thread_win32.ci, win32/win32.c (rb_w32_sleep, rb_w32_Sleep): move from win32/win32.c to thread_win32.ci, and use w32_wait_events(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_optimization.rb: new test (merges test_opts.rb).aamine2007-02-233-118/+201
| | | | | | | * yarvtest/test_opts.rb: removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_assignment.rb: merge yarvtest/test_massign.aamine2007-02-233-424/+94
| | | | | | | * yarvtest/test_massign.rb: removed (merged to test_assignment.rb). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (sighandler): need to re-install sighandler on someusa2007-02-232-0/+9
| | | | | | | platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_primitive.rb: new test.aamine2007-02-232-585/+397
| | | | | | | * yarvtest/test_bin.rb: removed (altered by test/ruby/test_{literal,primitive}.rb). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (set_pioinfo_extra): simplified.usa2007-02-232-40/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_literal.rb: new test.aamine2007-02-232-0/+188
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix creditknu2007-02-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/xmlrpc/client.rb (XMLRPC::Client::do_rpc): Make theknu2007-02-233-2/+12
| | | | | | | | | | | | Content-Length parameter optional for responses in xmlrpc/client.rb; suggested by Daniel Berger <Daniel.Berger@qwest.com> and approved by the maintainer. * lib/xmlrpc/create.rb (XMLRPC::Create::conv2value): Add DateTime support to xmlrpc; approved by the maintainer. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (lambda): add ripper event. This fixes bus error on "make test-all".aamine2007-02-233-13/+18
| | | | | | | * ext/ripper/extconf.rb: do not stop build. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: remove dyna_check_gen() prototype.matz2007-02-232-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y, compile.c, gc.c, insns.def, intern.h, iseq.c, node.h,matz2007-02-2313-160/+25
| | | | | | | | | | | object.c, string.c, variable.c, vm_macro.def: revert private instance variable feature, which is postponed until next major release. * marshal.c: TYPE_SYMBOL2 removed; MARSHAL_MINOR reverted back to 8th version. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ignore *.dylib (shared library on Mac OS X)aamine2007-02-230-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.ci (native_mutex_lock): do not callshugo2007-02-232-7/+7
| | | | | | | pthread_mutex_trylock(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c: use dlopen on Mac OS X 10.3 or later.aamine2007-02-232-5/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_ord): need not to check string length; ordmatz2007-02-233-8/+8
| | | | | | returns a codepoint for the first character in the string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (fix_equal): A bit more optimization.knu2007-02-212-3/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (fix_equal): remove FIX2LONG() to optimize. suggestedmatz2007-02-212-17/+15
| | | | | | | | | in http://t-a-w.blogspot.com/2007/02/making-ruby-faster.html. [ruby-talk:240223] * numeric.c (fix_cmp): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_load.c (rb_require_safe): should restore safe level.nobu2007-02-213-3/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (installed_code_page_proc, suke2007-02-202-5/+11
| | | | | | | ole_variant2val): small refactoring. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fixknu2007-02-201-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update the distribution information.knu2007-02-202-13/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c, vm.c, yarvcore.h: move definition of rb_call_super() toko12007-02-204-8/+12
| | | | | | | | vm.c from eval.c. change th_call_super() to static function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/io/nonblock/test_flush.rb: YARV doesn't raise any errors ifko12007-02-202-0/+7
| | | | | | | | another thread close IO object which current thread is blocking with. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (do_select, rb_thread_wait_fd_rw): raise sys error ifko12007-02-203-7/+13
| | | | | | | | errno is not 0 and EBADF. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* just a minor changetadf2007-02-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* just a minor changetadf2007-02-191-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_REPLACE_TYPE): cache convertible type info.nobu2007-02-193-36/+49
| | | | | | | | | | * intern.h (rb_detach_process): use rb_pid_t instead of pid_t. * ruby.h (PIDT2NUM, NUM2PIDT, UIDT2NUM, NUM2UIDT, GIDT2NUM, NUM2GIDT): defaulted to conversion using long. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_REPLACE_TYPE): cache convertible type info.nobu2007-02-191-0/+9
| | | | | | | | | | * intern.h (rb_detach_process): use rb_pid_t instead of pid_t. * ruby.h (PIDT2NUM, NUM2PIDT, UIDT2NUM, NUM2UIDT, GIDT2NUM, NUM2GIDT): defaulted to conversion using long. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (unix_peeraddr): wrong syscall name in errormatz2007-02-193-4/+10
| | | | | | | message for #peeraddr. a patch from Sam Roberts <sroberts at uniserve.com>. [ruby-core:10366] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/etc/etc.c (etc_getgrgid): missed to replace a macro.nobu2007-02-182-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2007-02-18eban2007-02-181-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 4.0.3.tadf2007-02-182-9/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (pid_t, uid_t, gid_t): check if defined.nobu2007-02-185-29/+16
| | | | | | | | | | | * intern.h, process.c, rubyio.h, ext/etc/etc.c, ext/pty/pty.c: use rb_{pid,uid,gid}_t instead of plain int. [ruby-dev:30376] * ext/etc/extconf.rb (PIDT2NUM, NUM2PIDT, UIDT2NUM, NUM2UIDT, GIDT2NUM, NUM2GIDT): moved to configure.in. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (pid_t, uid_t, gid_t): check if defined.nobu2007-02-185-147/+218
| | | | | | | | | | | * intern.h, process.c, rubyio.h, ext/etc/etc.c, ext/pty/pty.c: use rb_{pid,uid,gid}_t instead of plain int. [ruby-dev:30376] * ext/etc/extconf.rb (PIDT2NUM, NUM2PIDT, UIDT2NUM, NUM2UIDT, GIDT2NUM, NUM2GIDT): moved to configure.in. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_obj_ivar_set/get/defined): fix to check :@_v/C id.ko12007-02-163-5/+12
| | | | | | | | | * test/testunit/test_testcase.rb: fix to use instance_variable_get() to access @_result. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * intern.h: add a prototype of rb_sym_to_s().ko12007-02-162-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (math_log): update document to mention second optionalmatz2007-02-162-0/+8
| | | | | | argument for logarithm base. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (mrhs): need to append by arg_append().matz2007-02-163-4/+9
| | | | | | [ruby-talk:239385] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/.document: Apply patch for irb, e2mmap and README by Hugh Sassedrbrain2007-02-163-6/+15
| | | | | | | | <hgs at dmu.ac.uk> from [ruby-core:10135] * lib/prettyprint.rb: Suppress RDoc for PrettyPrint test suite. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (get_pioinfo_extra): new function for VC++8 SP1usa2007-02-153-2/+59
| | | | | | | | | workaround. [ruby-core:10259] * win32/win32.c (NtInitialize): call above function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb (URI::Generic::userinfo): Considering howknu2007-02-152-6/+13
| | | | | | | | | `scheme://user:@...', `scheme://:password@...' and `scheme://:@...' are parsed, an empty user name or password should be allowed and represented as it is. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.(c|h), yarvcore.(c|h) (yarvGlobalStateVersion): rename toko12007-02-145-7/+9
| | | | | | | | ruby_vm_global_state_version. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils/test_fileutils.rb (check_singleton): fix to useko12007-02-144-3/+10
| | | | | | | | | | symbole instead of string. * test/io/nonblock/test_flush.rb: enable tests. * test/xmlrpc/test_webrick_server.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb: catch up with class local variable (@_v) spec.ko12007-02-144-23/+29
| | | | | | | | * lib/singleton.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e