summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * array.c (ary_make_shared): should count frozen array itself.nobu2009-10-022-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rake: updated to rake code to rake-0.8.7 source code base.nobu2009-10-021-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/unicode/name2ctype.h: Updated to Unicode 5.2.0.naruse2009-10-022-821/+1578
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: workaround for regexp metacharacters of expr innobu2009-10-022-1/+6
| | | | | | | prefix path. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ripper/dummyparser.rb (DummyParser): improvement by Magnusnobu2009-10-023-448/+59
| | | | | | | | | | Holm in [ruby-core:25884]. * remove scanner events which simply returned the first argument. * all parser events are now automatically generated. * simplify blocks. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * method.h (rb_method_type_t): remove a comma at end ofnaruse2009-10-022-1/+6
| | | | | | enumerator list. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (discrete_object_p): needs the argument type to get ridnobu2009-10-023-6/+10
| | | | | | | of truncation on platforms where VALUE is larger than int. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Updated to Unicode 5.2.0.naruse2009-10-026-22660/+3766
| | | | | | | | | | | | | | | | * enc/unicode/name2ctype.h.blt, enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src: Updated to Unicode 5.2.0. NOTE: when you update these data, download UnicodeData.txt and Scripts.txt from http://www.unicode.org/Public/UNIDATA/ and run ruby1.9 tool/enc-unicode.rb UnicodeData.txt Scripts.txt \ > enc/unicode/name2ctype.kwd * enc/unicode/Scripts.txt: removed. * enc/unicode/UnicodeData.txt: removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* get rid of unused keywords from svn:keywords.akr2009-10-020-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_slice_before): take a pattern if no block given.akr2009-10-023-18/+48
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (ripper_yylval_id, ripper_get_{id,value}): wrap ID bynobu2009-10-024-173/+331
| | | | | | | | | | | | | | | NODE to track local variable assignment. * parse.y (lvar_defined_gen, assignable_gen): enable local variable check. [ruby-core:24923] * parse.y (validate): use value only. * test/ripper/test_parser_events.rb (test_local_variables): tests based on a patch from Magnus Holm in [ruby-core:25885]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update rdoc.akr2009-10-021-0/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* unused svn:keywords property deleted.akr2009-10-020-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (ruby_suppress_tracing): get rid of clobbering bynobu2009-10-022-1/+7
| | | | | | | longjmp. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-10-02svn2009-10-021-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_origenviron): remove unused old variable.usa2009-10-022-9/+5
| | | | | | | | [ruby-dev:39412] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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: http://svn.ruby-lang.org/repos/ruby/trunk@25173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-10-01svn2009-10-011-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@25165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_block_call): extracted.nobu2009-09-292-36/+26
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@25161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos.akr2009-09-291-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@25157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (--enable-pthread): deprecated.nobu2009-09-292-5/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add a reference.mame2009-09-291-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@25150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_module.rb: suppress warnings.nobu2009-09-291-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@25145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Refine tests arround String#inspect.naruse2009-09-291-35/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@25142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/gauntlet_rubygems.rb: out of place.nobu2009-09-281-50/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@25138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e