summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * ext/tk/lib/tk/canvas.rb: *** POTENTIALLY INCOMPATIBLE ***nagai2009-10-051-0/+10
| | | | | | | | | | 'tags' option of a TkcItem object gives a list of TkcTag objects. * ext/tk/lib/tkextlib/vu/dial.rb: fix logical bug. * ext/tk/lib/tk/canvas.rb, ext/tk/lib/tkextlib/blt/component.rb: lack of support for methodcall_optkeys. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_{times, shuffle_bang, sample}): reducing macromatz2009-10-051-0/+12
| | | | | | | | | | | | | calls inside of the loop by keeping pointers in local variables. a patch from Masahiro Kanai (CanI) in [ruby-dev:39406]. It was found and fixed at Security and Programming camp 2009. * string.c (rb_str_{times, split_m}): ditto. * struct.c (rb_struct_{getmember, set, aref_id, aset_id}, {make, inspect}_struct, recursive_{equal, hash, eql}): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (basic_obj_respond_to): should not callmatz2009-10-041-0/+12
| | | | | | | | | | | | | #respond_to_missing? for not implemented methods. [ruby-core:25909] * vm_method.c (rb_method_boundp): returns exceptional value 2 for not-implemented methods when called from #respond_to? (specifies by new contant NOEX_RESPONDS). * method.h (enum): new constant NOEX_RESPONDS added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/cookie.rb: add default value to @@accept_charsetxibbar2009-10-041-0/+7
| | | | | | | if have not defined. [ruby-dev:38987] * lib/cgi/util.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (struct {dump,load}_arg): manage with dfree, insteadnobu2009-10-041-0/+6
| | | | | | | | of using local variable which may be moved by context switch. [ruby-dev:39425] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (NATINT_LEN, pack_pack): suppressed warnings.nobu2009-10-041-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems.rb (Gem::binary_mode): binary mode uses binarynobu2009-10-041-1/+7
| | | | | | | encoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (slicebefore_ii): use id_eqq.akr2009-10-031-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * symbian/setup (ruby.mmp): added macro RUBY_EXPORT to match the change in dln.cazav2009-10-031-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/variable.rb: add TkVariable#to_hash,to_proc,to_int,to_str,to_arynagai2009-10-031-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/core.rb: fix command-line option ofxibbar2009-10-031-0/+5
| | | | | | non-interactive terminal. [ruby-core:23016] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rake/contrib: added. [ruby-core:25918]nobu2009-10-031-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (bv_decls, bvar): fix for block variables.nobu2009-10-031-0/+5
| | | | | | | [ruby-dev:39423] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_add_method_def): no redefinition warning onnobu2009-10-031-0/+5
| | | | | | | undef. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_f_integer): now Integer() takes optional basematz2009-10-031-0/+9
| | | | | | | | | | argument. base will be ignored for non string values. suggested by Sam Carr at RubyFoo Lounge at London. * test/ruby/test_integer.rb (TestInteger#test_Integer): test updated. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (assignable_gen): parser_yyerror takes two arguments.nobu2009-10-021-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rake: updated to rake code to rake-0.8.7 source code base.nobu2009-10-021-0/+7
| | | | | | | | * lib/rake/loaders/makefile.rb (Rake::MakefileLoader#process_line): respace dependencies too. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (assignable_gen): get rid of macro collision.nobu2009-10-021-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (ary_make_shared): should count frozen array itself.nobu2009-10-021-2/+2
| | | | 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-021-0/+4
| | | | 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-021-0/+5
| | | | | | | 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-021-0/+8
| | | | | | | | | | 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-021-0/+5
| | | | | | 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-021-0/+5
| | | | | | | 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-021-0/+14
| | | | | | | | | | | | | | | | * 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
* * enum.c (enum_slice_before): take a pattern if no block given.akr2009-10-021-0/+4
| | | | 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-021-0/+13
| | | | | | | | | | | | | | | 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
* * thread.c (ruby_suppress_tracing): get rid of clobbering bynobu2009-10-021-0/+5
| | | | | | | longjmp. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_origenviron): remove unused old variable.usa2009-10-021-0/+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-011-0/+8
| | | | | | | | | | | 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
* * win32/win32.c (rb_w32_getpid): simply call GetCurrentProcessId()usa2009-10-011-0/+5
| | | | | | | | 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-301-0/+9
| | | | | | | | | | 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-301-0/+5
| | | | | | | overwritten method was defined. [ruby-dev:39400] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_block_call): extracted.nobu2009-09-291-0/+4
| | | | 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-291-0/+5
| | | | | | | * 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-291-0/+5
| | | | | | | 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-291-0/+4
| | | | 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-291-0/+5
| | | | | | | | 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-291-0/+5
| | | | | | | 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-291-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (--enable-pthread): deprecated.nobu2009-09-291-0/+4
| | | | 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-291-0/+4
| | | | 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-291-0/+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
* * vm_method.c (rb_method_definition_eq): non-null definition isnobu2009-09-291-1/+4
| | | | | | | 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-291-0/+5
| | | | | | | same definition. [ruby-dev:39397] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_inspect): dump as \uXXXX when thenaruse2009-09-291-0/+5
| | | | | | 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-291-0/+6
| | | | | | | 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