summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ext/tk/lib/extconf.rb: bug fix and ignore invalid Tcl/Tk libraries.nagai2009-07-274-170/+327
| | | | | | | | * ext/tk/lib/config_list.in: bug fix and add a new option. * ext/tk/lib/README.tcltklib: update for a new option. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h (rb_*str_new_cstr, rb_str_buf_new_cstr),nobu2009-07-272-10/+15
| | | | | | | (rb_str_buf_cat2, rb_str_cat2, rb_exc_new2): suppress warnings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser.rb (RDoc::Parser.binary?): fix for empty files.nobu2009-07-273-5/+12
| | | | | | | [ruby-dev:38848] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: forgotten ML ref, [ruby-core:24561].nobu2009-07-272-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (argf_eof): go to the next file if called after ARGF.closenobu2009-07-263-0/+18
| | | | | | | or ARGF.skip. [ruby-core:24561] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: removed extra spaces.nobu2009-07-261-28/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_call_method): __send__ can call protectednobu2009-07-263-2/+29
| | | | | | | methods. [ruby-core:24500] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_call_method): fixed indent.nobu2009-07-261-37/+36
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/defines.h [__SYMBIAN32__]: defined TRUE and FALSE to match ↵azav2009-07-251-1/+1
| | | | | | | | changes in bignum.c and array.c. * ext/bigdecimal.c: moved BASE_FIG definition before it is used first time. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/defines.h [__SYMBIAN32__]: defined TRUE and FALSE to match ↵azav2009-07-251-0/+8
| | | | | | | | changes in bignum.c and array.c. * ext/bigdecimal.c: moved BASE_FIG definition before it is used first time. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/defines.h [__SYMBIAN32__]: defined TRUE and FALSE to match ↵azav2009-07-251-0/+5
| | | | | | changes in bignum.c and array.c. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-07-26svn2009-07-251-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal.c: moved BASE_FIG definition before it is used first time.azav2009-07-251-18/+18
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (argf_eof): should not have reached EOF before trying tonobu2009-07-253-5/+11
| | | | | | | | read. based on a patch by Heesob Park <phasis AT gmail.com> at [ruby-core:24559]. [ruby-core:24557] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (nucomp_hash), rational.c (nurat_hash): not to usenobu2009-07-255-8/+19
| | | | | | | | hash value of class so that equality against subclasses can work. [ruby-dev:38850] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/big5.c: not executable.nobu2009-07-251-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-07-25svn2009-07-241-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/big5.c: Fix EncLen_BIG5 for Big5-HKSCS. see [ruby-core:24390]naruse2009-07-242-18/+39
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/big5.trans, big5-hkscs-tbl.rb:duerst2009-07-246-1/+18474
| | | | | | | | | | | | | | | | new Chinese BIG5-HKSCS transcoding (with Tatsuya Mizuno) * test/ruby/test_transcode.rb: added tests for the above (with Tatsuya Mizuno) * enc/big5.c: Added BIG5-HKSCS as a replicate encoding of BIG5 (short term solution, needs more work; with Tatsuya Mizuno) * tool/transcode-tblgen.rb: made 'pat' directly accessible in class StrSet git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (idle): leaves IDLE in a ensure clause. a patchshugo2009-07-243-10/+116
| | | | | | | | | from Eric Hodel. * test/net/imap/test_imap.rb (setup, teardown): turn on Socket.do_not_reverse_lookup in tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-07-24svn2009-07-231-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (resp_text_code): accepts response codes withoutshugo2009-07-233-5/+130
| | | | | | | | | | | text. [ruby-core:24194] * lib/net/imap.rb (idle, idle_done): new methods for the IMAP4 IDLE command (RFC 2177). Thanks, Eric Hodel. * lib/net/imap.rb (format_date, format_datetime): new method to format IMAP-style date/datetime. Thanks, Eric Hodel. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ruby-lex.rb: make irb be able to parsekeiju2009-07-232-1/+44
| | | | | | | | string_dvar. [ruby-core: 24051] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/extconf.rb: should not create "config_list" in a $srcdir.nagai2009-07-232-8/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_{open,wopen}): fixed typos. these conditionsusa2009-07-232-2/+7
| | | | | | | | mean to call runtime's open() if textmode. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove useless extra directory. Bug #1343drbrain2009-07-221-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (random_{state,left}): internal/debug use.nobu2009-07-222-5/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_module.rb (TestModule#test_alias): warningmatz2009-07-222-1/+6
| | | | | | message updated. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_enum.rb (TestEnumerable#each): recursive join nowmatz2009-07-222-2/+7
| | | | | | raises ArgumentError. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (class.o): depends on vm_core.h.nobu2009-07-222-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (init_leap_second_info): checks the result of gmtime tonobu2009-07-222-0/+6
| | | | | | | suppress warnings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fixed a typo.nobu2009-07-222-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h (struct rb_iseq_t): add a new field line_no. This fieldmame2009-07-226-51/+64
| | | | | | | | | | | | | | | | represents line number from which the original code of the iseq starts. [ruby-dev:38698] * iseq.c, compile.c: ditto. * parse.y: line number hack (for Proc#source_location) is no longer needed. * test/ruby/test_settracefunc.rb: line number of set_trace_func is now compatible with 1.8's. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * method.h : Commas at end of enum list not allowed as of C89shyouhei2009-07-224-4/+15
| | | | | | | | | * vm_method.c (rb_add_method): avoid C++ comment * vm_insnhelper.c (vm_call_cfunc): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: define IPPROTO_IPV6 macro for recent Windowsusa2009-07-222-0/+8
| | | | | | | | SDK. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb: define IPV6_* constants only when INET6usa2009-07-222-1/+6
| | | | | | | | is defined. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: ipv6 support is disabled by default on mswin.usa2009-07-222-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ipsocket.c (init_inetsock_internal): drop IPv6 addressesusa2009-07-222-0/+9
| | | | | | | | if INET6 is not defined. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: enable ipv6 support for win32.usa2009-07-222-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (Hash::[]): rdoc. patch by Marc-Andre Lafortune.yugui2009-07-222-7/+16
| | | | | | #1385. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (WSABUF): get rid of compile error on VC9 and mingw.usa2009-07-222-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rand.rb (test_big_seed): tests also instance methods.nobu2009-07-211-2/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb.rb: forget svn commit.keiju2009-07-212-2/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_io.rb: block write may block for long time.matz2009-07-212-14/+20
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-07-22svn2009-07-211-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb.rb, lib/irb/init.rb, lib/irb/ext/save-history.rb: addkeiju2009-07-213-19/+40
| | | | | | | | IRB::irb_at_exit. no use finalizer saving history. [ruby-dev-38563] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (rand_init): array length of random seed was broken, whichmame2009-07-213-4/+14
| | | | | | | | | causes memory error with srand(2**1000000-1). * test/ruby/test_rand.c: test for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/cmd/help.rb: fixed irb's "help" command. [ruby-core:22310].keiju2009-07-212-4/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tracer.rb: no show lines unkonwn line number. [ruby-core:22096],keiju2009-07-212-25/+59
| | | | | | | | no trace display c-call and c-return as default. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (vtdate2rbtime): VT_DATE variant object suke2009-07-213-143/+75
| | | | | | | | | | | | | is converted to Time object now. * test/win32ole/test_win32ole_variant.rb (test_s_new_with_nil, test_conversion_time2date, test_conversion_str2date, test_conversion_vt_date, test_set_value): ditto. * ext/win32ole/win32ole.c (rbtime2vtdate): refactoring. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e