summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2009-10-06* io.c (io_reopen): avoid close if possible.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-06* struct.c (rb_struct_select): Struct#select should returnmatz
enumerator when no block given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-05* ext/tk/lib/tk/canvas.rb: *** POTENTIALLY INCOMPATIBLE ***nagai
'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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-05* array.c (rb_ary_{times, shuffle_bang, sample}): reducing macromatz
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-04* vm_method.c (basic_obj_respond_to): should not callmatz
#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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-04* lib/cgi/cookie.rb: add default value to @@accept_charsetxibbar
if have not defined. [ruby-dev:38987] * lib/cgi/util.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-04* marshal.c (struct {dump,load}_arg): manage with dfree, insteadnobu
of using local variable which may be moved by context switch. [ruby-dev:39425] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-04* pack.c (NATINT_LEN, pack_pack): suppressed warnings.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-04* lib/rubygems.rb (Gem::binary_mode): binary mode uses binarynobu
encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-03* enum.c (slicebefore_ii): use id_eqq.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-03* symbian/setup (ruby.mmp): added macro RUBY_EXPORT to match the change in dln.cazav
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-03* ext/tk/lib/tk/variable.rb: add TkVariable#to_hash,to_proc,to_int,to_str,to_arynagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-03* lib/cgi/core.rb: fix command-line option ofxibbar
non-interactive terminal. [ruby-core:23016] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-03* lib/rake/contrib: added. [ruby-core:25918]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-03* parse.y (bv_decls, bvar): fix for block variables.nobu
[ruby-dev:39423] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-03* vm_method.c (rb_add_method_def): no redefinition warning onnobu
undef. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-03* object.c (rb_f_integer): now Integer() takes optional basematz
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-02* parse.y (assignable_gen): parser_yyerror takes two arguments.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-02* lib/rake: updated to rake code to rake-0.8.7 source code base.nobu
* lib/rake/loaders/makefile.rb (Rake::MakefileLoader#process_line): respace dependencies too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-02* parse.y (assignable_gen): get rid of macro collision.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-02* array.c (ary_make_shared): should count frozen array itself.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-02* lib/rake: updated to rake code to rake-0.8.7 source code base.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-02* enc/unicode/name2ctype.h: Updated to Unicode 5.2.0.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-02* configure.in: workaround for regexp metacharacters of expr innobu
prefix path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-02* test/ripper/dummyparser.rb (DummyParser): improvement by Magnusnobu
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-02* method.h (rb_method_type_t): remove a comma at end ofnaruse
enumerator list. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-02* range.c (discrete_object_p): needs the argument type to get ridnobu
of truncation on platforms where VALUE is larger than int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-02Updated to Unicode 5.2.0.naruse
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-02* enum.c (enum_slice_before): take a pattern if no block given.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-02* parse.y (ripper_yylval_id, ripper_get_{id,value}): wrap ID bynobu
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@25187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-02* thread.c (ruby_suppress_tracing): get rid of clobbering bynobu
longjmp. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-02* eval.c (rb_origenviron): remove unused old variable.usa
[ruby-dev:39412] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-01* win32/{setup.mak,Makefile.sub,win32.c},include/ruby/win32.h (RT_VER):usa
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-01* win32/win32.c (rb_w32_getpid): simply call GetCurrentProcessId()usa
instead of calling MSVCRT's getpid(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-30* time.c (rb_time_succ): make Time#succ obsolete since time is notmatz
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
2009-09-30* vm_method.c (rb_add_method_def): show the location wherenobu
overwritten method was defined. [ruby-dev:39400] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29* enumerator.c (enumerator_block_call): extracted.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29Escape as \x{XXXX} other than Unicode chars.naruse
* 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
2009-09-29* configure.in (THREAD_MODEL): modified message when no threadnobu
model is available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29* io.c (rb_scan_open_args): rb_utf8mac_encoding is undefined.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29fix typos.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29* include/ruby/intern.h (rb_struct_iv_get): deprecated because it isakr
not used and access internal structure. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29* lib/test/unit/assertions.rb (assert_equal): use Time#subsec if nsecakr
is not enough to distinguish arguments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29* io.c (rb_scan_open_args): add UTF8-MAC to no-convertion encoding.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29* configure.in (--enable-pthread): deprecated.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29* add a reference.mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29* lib/pp.rb (Kernel#pp): returns its arguments, like Kernel#p.mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29* ext/json/lib/json/common.rb (recurse_proc): removed needlessnobu
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
2009-09-29* vm_method.c (rb_method_definition_eq): non-null definition isnobu
not equal to null definition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-29* vm_method.c (rb_add_method_def): nothing to do if old method hadnobu
same definition. [ruby-dev:39397] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e