aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * win32/{setup.mak,Makefile.sub,win32.c},include/ruby/win32.h (RT_VER):usa2009-10-015-16/+25
| | | | | | | | | | | split compiler specification and runtime library specification. * win32/Makefile.sub (LD_SHARED*, config.status): no need to embbed manifest if not exist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-10-01svn2009-10-011-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_getpid): simply call GetCurrentProcessId()usa2009-10-012-2/+6
| | | | | | | | instead of calling MSVCRT's getpid(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (rb_time_succ): make Time#succ obsolete since time is notmatz2009-09-303-9/+26
| | | | | | | | | | a discrete value. * range.c (discrete_object_p): treat time objects specially to determine discrete values, since time objects have #succ yet are discrete (for now at least). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_add_method_def): show the location wherenobu2009-09-305-3/+37
| | | | | | | overwritten method was defined. [ruby-dev:39400] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (last_match): add "thread and method" to the scope.naruse2009-09-301-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (last_match): Added note to the doc that last_match is local to ↵marcandre2009-09-291-0/+3
| | | | | | current scope [ruby-core:25833] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_block_call): extracted.nobu2009-09-292-36/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Escape as \x{XXXX} other than Unicode chars.naruse2009-09-293-10/+24
| | | | | | | * string.c (rb_str_inspect): escape as \x{XXXX} when the encoding is other than Unicode. [ruby-dev:39388] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (THREAD_MODEL): modified message when no threadnobu2009-09-293-2/+10
| | | | | | | model is available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_scan_open_args): rb_utf8mac_encoding is undefined.nobu2009-09-292-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos.akr2009-09-291-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h (rb_struct_iv_get): deprecated because it isakr2009-09-292-1/+6
| | | | | | | | not used and access internal structure. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb (assert_equal): use Time#subsec if nsecakr2009-09-292-2/+15
| | | | | | | is not enough to distinguish arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_scan_open_args): add UTF8-MAC to no-convertion encoding.naruse2009-09-292-3/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (--enable-pthread): deprecated.nobu2009-09-292-5/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add a reference.mame2009-09-291-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb (Kernel#pp): returns its arguments, like Kernel#p.mame2009-09-292-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/lib/json/common.rb (recurse_proc): removed needlessnobu2009-09-292-1/+5
| | | | | | | module_function, since visibility is already module_function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_class.rb (test_method_redefinition): commit miss.nobu2009-09-291-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_{class,module}.rb (test_method_redefinition): includenobu2009-09-292-2/+32
| | | | | | | warned line number. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_{class,module}.rb (test_method_redefinition): refined.nobu2009-09-293-20/+71
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_module.rb: suppress warnings.nobu2009-09-291-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_method_definition_eq): non-null definition isnobu2009-09-292-4/+6
| | | | | | | not equal to null definition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_add_method_def): nothing to do if old method hadnobu2009-09-293-2/+22
| | | | | | | same definition. [ruby-dev:39397] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_method_entry_eq): fixed a message.nobu2009-09-291-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_class.rb (test_module_function): tests for warnings.nobu2009-09-291-0/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Refine tests arround String#inspect.naruse2009-09-291-35/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_inspect): dump as \uXXXX when thenaruse2009-09-293-33/+59
| | | | | | string is in Unicode. [ruby-dev:39388] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_unicode_p): defined.naruse2009-09-293-0/+16
| | | | | | | Returns 1 when the encoding is Unicode series other than UTF-7 else 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/gauntlet_rubygems.rb: out of place.nobu2009-09-281-50/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_filesystem_encoding): On Unix systems,naruse2009-09-282-1/+7
| | | | | | | filesystem encoding should be locale encoding. [ruby-dev:39393] and see also [ruby-dev:35617] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_f_getenv): use rb_filesystem_str_new_cstrnaruse2009-09-284-2/+34
| | | | | | | | | | | | | | | | | | | instead of rb_str_new2. ENV['PATH'].encoding should be Filesystem Encoding because its content is related to filesystem. see [ruby-dev:39393] * hash.c (env_fetch): ditto. * string.c (rb_filesystem_str_new): defined. * string.c (rb_filesystem_str_new_cstr): ditto. * include/ruby/intern.h (rb_filesystem_str_new): added. * include/ruby/intern.h (rb_filesystem_str_new_cstr): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/st.h: include inttypes.h and stdint.h.naruse2009-09-282-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_f_getenv, env_fetch): env string may be overwritten.nobu2009-09-283-5/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (load_lib, dln_find_exe_r): env string may be overwritten.nobu2009-09-282-3/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (dln_{exit,loaderror,memerror,notimplement}): renamed asnobu2009-09-282-19/+44
| | | | | | | independent names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (aix_loaderror): needs format string.nobu2009-09-282-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/wini32.c (LK_ERR): with overlapped I/O, LockFileEx() returnsusa2009-09-282-1/+6
| | | | | | | | ERROR_IO_PENDING if the file is locked. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* include/ruby/st.h: aligned prototype of st_hash_uint32 with functionduerst2009-09-282-1/+6
| | | | | | definition (fixing compiling problem on cygwin) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fixed wrong translation.nobu2009-09-281-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* missing changelog entries added for r25128.matz2009-09-281-0/+18
| | | | | | | | | | | | | | | | | | | | | * method.h (enum): new method type VM_METHOD_TYPE_MISSING. * vm_eval.c (vm_call0): invoking VM_METHOD_TYPE_MISSING method objects. * vm_insnhelper.c (vm_call_method): invoking method defined from VM_METHOD_TYPE_MISSING. * proc.c (rb_method_entry_arity): ditto. * vm_method.c (rb_method_entry_eq): two method object wraps method_missing with same symbol should be equal. [ruby-core:25755] * proc.c (mnew): should always return method object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25129 ↵matz2009-09-286-18/+43
| | | | b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_tokadd_string): the byte after ``\'' may be a part ofusa2009-09-282-0/+7
| | | | | | | | multibyte character, so pushback it. [ruby-list:46416] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * stringio/stringio.c (strio_read): set ASCII-8BIT encodingnaruse2009-09-283-4/+12
| | | | | | when length argument is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (miniruby): suppress duplication warning on AIX.kanemoto2009-09-272-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-09-28svn2009-09-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (ruby.imp): add text section [Bug #2064].kanemoto2009-09-272-1/+9
| | | | | | | * common.mk (ruby.imp): do not export Init_*. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-09-271-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb (PP:ObjectMixin#pretty_print): delegates has no inspectakr2009-09-273-2/+34
| | | | | | | method. [ruby-core:25804] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e