aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * dln.c: use dlopen on Mac OS X 10.3 or later.aamine2007-02-231-0/+4
| | | | 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-231-0/+5
| | | | | | 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-211-0/+4
| | | | 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-211-0/+8
| | | | | | | | | 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-211-0/+4
| | | | 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-201-0/+5
| | | | | | | ole_variant2val): small refactoring. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c, vm.c, yarvcore.h: move definition of rb_call_super() toko12007-02-201-0/+5
| | | | | | | | 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-201-0/+5
| | | | | | | | 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-201-0/+5
| | | | | | | | errno is not 0 and EBADF. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11795 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-191-0/+6
| | | | | | | 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-181-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 4.0.3.tadf2007-02-181-0/+4
| | | | 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-181-0/+10
| | | | | | | | | | | * 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-161-0/+7
| | | | | | | | | * 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-161-0/+4
| | | | 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-161-0/+5
| | | | | | 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-161-0/+5
| | | | | | [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-161-0/+7
| | | | | | | | <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-151-0/+7
| | | | | | | | | 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-151-0/+7
| | | | | | | | | `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-141-0/+5
| | | | | | | | 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-141-0/+9
| | | | | | | | | | 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-141-0/+6
| | | | | | | | * lib/singleton.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_variant2val): VC++6 does not suke2007-02-141-0/+5
| | | | | | | | support VT_I8, VT_UI8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: change stack limit to 2MB from 32MB.ko12007-02-141-0/+6
| | | | | | | | * win32/Makefile.sub: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/lib/digest.rb (Digest::self.const_missing): Dropknu2007-02-141-0/+6
| | | | | | | | autoloads for sha2 classes in favor of handling in const_missing(), to work around a problem exposed on OS X. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.ci (native_thread_create): adjust 4KB (page size)ko12007-02-141-1/+3
| | | | | | | | alignment. (missed at last commit) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.ci (native_thread_create): adjust 4KB (page size)ko12007-02-141-0/+8
| | | | | | | | | | alignment. * thread_pthread.ci (CHECK_ERR): call rb_bug() instead of printf() and exit(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb (Date::Format::Bag::method_missing): need notmatz2007-02-141-0/+6
| | | | | | | to use instance variables corresponding each method; use Hash instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (reg_operand): allow symbols to be operands for regularmatz2007-02-141-0/+10
| | | | | | | | | | | expression matches. * string.c (Init_String): allow Symbol#===. * lib/date/format.rb (Date::Format::Bag::to_hash): string added prefixes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (do_select): fix to iterate select().ko12007-02-141-0/+8
| | | | | | | | | | on cygwin/mswin32, iterate in unblocking region. * thread.c (rb_thread_select): don't iterate on this function. (iterate in do_select). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (set_unblock_function): fix function interface.ko12007-02-141-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_load.c, yarvcore.h: use rb_vm_t#loaded_features instead ofko12007-02-141-0/+7
| | | | | | | | | rb_features (global variable). * yarvcore.c: mark rb_vm_t#loaded_features. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (defined_expr): no longer distinguish ordinary localmatz2007-02-141-0/+5
| | | | | | variables and in-block local variables in defined? value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (struct local_vars): no need to warn out-of-scopematz2007-02-131-0/+5
| | | | | | variables; remove dnames member from struct. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y: RVarmap no longer used as yytype; removed.matz2007-02-131-0/+10
| | | | | | | | | | * parse.y (dyna_push_gen): no longer need return value. * parse.y (dyna_pop_gen): no longer need argument. * parse.y (local_push_gen): initialize nofree. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb (URI::Generic::userinfo): should supportmatz2007-02-131-0/+8
| | | | | | | | | empty password. [ruby-core:10290] * lib/uri/generic.rb (URI::Generic::set_password): password can be cleared by nil. [ruby-core:10290] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb (Date::Format::Bag::method_missing): addmatz2007-02-131-0/+5
| | | | | | prefix to avoid making t class-local instance variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (init_unixsock): path may contain NUL formatz2007-02-131-0/+5
| | | | | | abstract unix sockets. [ruby-core:10288] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_f_syscall): Fix buffer overflow with syscallknu2007-02-131-0/+5
| | | | | | | arguments. [ruby-bugs:PR#8541] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_variant2val): support VT_I8, VT_UI8.suke2007-02-121-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/dublincore.rb, lib/rss/maker/dublincore.rb: dc_rightseskou2007-02-121-0/+7
| | | | | | | | | -> dc_rights_list. dc_rightses still exists for backward compatibility. [ruby-core:8350] * test/rss/test_maker_dc.rb: added tests for dc_rights_list. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_ptrtype2val): ole_type, ole_type_detailsuke2007-02-111-0/+5
| | | | | | | should not return "VARIANT,VARIANT". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/xml-stylesheet.rb (RSS::XMLStyleSheet#initialize):kou2007-02-111-1/+6
| | | | | | | kept backward compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/parser.rb (RSS::ListenerMixin::start_else_element): usedkou2007-02-111-0/+5
| | | | | | | const_defined? instead of constants.include?. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_val2olevariantdata): suke2007-02-111-0/+9
| | | | | | | | | | | WIN32OLE_VARIANT#new accepts nil when variant type is VT_ARRAY. * test/win32ole/test_win32ole_variant.rb: ditto. * ext/win32ole/win32ole.c: small refactoring. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::QueryExtension::read_multipart): Properly parseknu2007-02-101-0/+5
| | | | | | | a quoted-string in a Content-Disposition value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c: add WIN32OLE#ole_query_interface.suke2007-02-101-0/+7
| | | | | | | | | thanks to Mikael Pahmp. * test/win32ole/test_win32ole.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: targets which depend on yarvcore.h now depend onnobu2007-02-101-0/+7
| | | | | | | | | rubysig.h too. * yarvcore.h (rb_vm_t): use rb_atomic_t instead of int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e