aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * strftime.c (FMT): use "%0d" formatter for zero padding, not "%.d".matz2008-11-252-2/+10
| | | | | | | | | [ruby-dev:37168] fix: #768 * strftime.c (rb_strftime): %s to use zero padding by default. [ruby-dev:37180] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/blt/tabset.rb, ext/tk/lib/tkextlib/blt/tabnotebook.rb: nagai2008-11-245-18/+189
| | | | | | | | fix many bugs. Now, those work properly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (num_step): treat infinite step specially.matz2008-11-242-4/+14
| | | | | | [ruby-dev:37157] fix: #781. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date/format.rb (strftime): ignores '_' flag for %[LN].tadf2008-11-243-0/+24
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_fork): stops the timer thread during fork.nobu2008-11-244-7/+18
| | | | | | | | | | [ruby-dev:37117] * thread.c (rb_thread_start_timer_thread): timer thread needs system_working to be set. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c (rb_strftime): The # flag should work with %a, %A, %b,shugo2008-11-243-0/+30
| | | | | | | | %B, and %h. [ruby-dev:37162] * test/ruby/test_time.rb (test_strftime): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (register_sigaltstack): should not add externalmatz2008-11-242-8/+15
| | | | | | variable (with some cosmetic changes). [ruby-dev:37158] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c (rb_strftime): A width specifier for %t and %n shouldshugo2008-11-243-10/+32
| | | | | | | | work. [ruby-dev:37160] * test/ruby/test_time.rb (test_strftime): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c (rb_strftime): The precision of %0N should be 9.shugo2008-11-243-3/+9
| | | | | | | [ruby-dev:37156] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c (rb_strftime): The default precision should be 1, notshugo2008-11-243-4/+16
| | | | | | | | 0. [ruby-dev:37155] * test/ruby/test_time.rb (test_strftime): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date.rb (inspect): changed again.tadf2008-11-244-5/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-11-24svn2008-11-241-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb: r20251 reverted. The patched behavior do not roundmatz2008-11-242-28/+33
| | | | | | trip. [ruby-core:19988] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (default_handler, Init_signal): compile error ifyugui2008-11-232-0/+9
| | | | | | | USE_SIGALTSTACK is not defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-11-23svn2008-11-231-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (ALT_STACK_SIZE): 4KB is not enough on Mac OS X.yugui2008-11-232-0/+9
| | | | | | Uses SIGSTKSZ. this fixes [ruby-core:20040]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_method.rb (TestMethod#test_default_accessibility):yugui2008-11-221-4/+4
| | | | | | fixed a wrong expectation in the test case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r20309 from ruby_1_9_1 to trunk.yugui2008-11-221-9/+8
| | | | | | | | * test/cgi/test_cgi_session.rb (setup, teardown): uses a temporary directory for testing session stores. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_method.rb (test_default_accessiblity): test case foryugui2008-11-222-0/+21
| | | | | | | | [ruby-dev:37124]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_world_writable_p): should return nil for nonmatz2008-11-222-1/+6
| | | | | | world-writable files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/version.rb, ext/tk/ChangeLog.tkextlib: update.nagai2008-11-222-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tkextlib/blt.rb, ext/tk/lib/tkextlib/blt/vector.rb: nagai2008-11-223-8/+13
| | | | | | | fix NameError bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (get_device_once): abandon asynchronous exceptionmatz2008-11-212-71/+56
| | | | | | | | | | | that might cause serious problem if a program terminated early. asynchronous exception is a very bad thing anyway. use Process.waitpid(pid) or PTY.check(pid) to poll program termination. if PTY.check is called with optional second argument being true, it raises an exception same as one from previous behavior. [incompatible] fix: [ruby-core:19583] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* address tweakedmatz2008-11-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c (curses_escdelay_set): support ESCDELAY. amatz2008-11-213-0/+31
| | | | | | | patch from Giancarlo F Bellido <support@coaxialhost.com> in [ruby-core:19961]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (usage): -W description updated. [ruby-core:19858]matz2008-11-212-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-11-22svn2008-11-211-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (register_sigaltstack): use alternative stack formatz2008-11-213-2/+43
| | | | | | | | SIGSEGV to avoid uncaught stack overflow. based on a patch from Hiro Yoshioka <hyoshiok at miraclelinux.com> in [ruby-dev:37134]. [ruby-dev:36993] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-11-21svn2008-11-211-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (thread_free): th->vm may be NULL when pthread_creatematz2008-11-212-1/+6
| | | | | | failed for ENOMEM. [ruby-dev:37095] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb (Logger): should handle the case that cvs/svn domatz2008-11-192-1/+12
| | | | | | not expand $Id keyword. [ruby-core:19991] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-11-20svn2008-11-191-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/minitest/unit.rb (MiniTest::Assertions#capture_io): adjustmatz2008-11-192-5/+10
| | | | | | indentation to shut up warning. [ruby-core:19993] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (rb_syck_mktime): return DateTime for a valuematz2008-11-193-3/+43
| | | | | | out of range of Time. [ruby-core:19919] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * node.h (NOEX_MODFUNC): should be include NOEX_PRIVATE. matz2008-11-192-1/+6
| | | | | | [ruby-dev:37124] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fixed date format.nobu2008-11-191-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_exec.h (RUBY_VM_EXEC_H): fixed include guard.nobu2008-11-191-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: correct file nameseki2008-11-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fixed fails occasionally [ruby-dev:37119]. thanks, shinichiro.h.seki2008-11-182-10/+17
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (Init_syserr): moved function definition itself fromnobu2008-11-183-3/+9
| | | | | | | template/known_errors.inc.tmpl. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fixed NoMethodError problem from NaHi [ruby-dev:37110].seki2008-11-182-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (cont_mark, cont_capture, cont_restore_1): speed upmame2008-11-182-1/+31
| | | | | | | continuation by copying only valid YARV stack. [ruby-dev:37106] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-11-19svn2008-11-181-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/time.rb: according to RFC2822, -0000 means local time, +0000matz2008-11-182-28/+33
| | | | | | means UTC. a patch from Chun Wang. [ruby-core:19578] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (proc_eq): equivalence check should not done by pointermatz2008-11-182-3/+11
| | | | | | comparison, but should be based on iseq contents. [ruby-dev:37101] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (Net::FTP#open_socket): SOCKSsocket is obsolete.matz2008-11-182-2/+8
| | | | | | | a patch from Alan Johnson <alan.wayne.johnson at gmail.com> in [ruby-core:19982]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb (ProgName): fixed typo.nobu2008-11-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/logger.rb (ProgName): fixed for svn, based on a patch fromnobu2008-11-183-2/+11
| | | | | | | Nobuhiro IMAI at [ruby-dev:37108]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httprequest.rb (WEBrick::HTTPRequest#read_request_line): matz2008-11-182-1/+7
| | | | | | | use possessive match for path retrieval to avoid huge recursion for insanely long path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_reg_desc): re might be NULL.matz2008-11-183-2/+8
| | | | | | * regerror.c (onig_error_code_to_format): message updated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e