| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r20117, r20123, r20124, r20127, r20132-r20134, r20138, r20140, r20141
and r20160 - from trunk into ruby_1_9_1.
* thread_pthread.c (thread_timer): checks working flags again.
* thread_pthread.c (rb_thread_create_timer_thread): do not wait never
coming signal if failed to create tiemr thread.
* thread_pthread.c (native_cond_timedwait): returns error code.
* thread_pthread.c (thread_timer, rb_thread_create_timer_thread):
handshakes properly.
* thread_pthread.c (thread_timer): initializes mutex each time.
* thread_win32.c (thread_start_func_1): use already gotten stack info.
* thread.c (thread_timer): pthread_cond_timedwait returns ETIMEDOUT
when timed out.
* thread_pthread.c (thread_timer): uses pthread_cond_timedwait always
instead of pthread_kill.
* thread.c (thread_timer): uses timedwait on cygwin.
* thread.c (rb_thread_stop_timer_thread): terminates timer thread
immediately.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
|
|
|
| |
* process.c (rb_fork): stops the timer thread during fork.
[ruby-dev:37117]
* thread.c (rb_thread_start_timer_thread): timer thread needs
system_working to be set.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
|
| |
* strftime.c (rb_strftime): The # flag should work with %a, %A, %b,
%B, and %h. [ruby-dev:37162]
* test/ruby/test_time.rb (test_strftime): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
| |
* signal.c (register_sigaltstack): should not add external
variable (with some cosmetic changes). [ruby-dev:37158]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
|
| |
* strftime.c (rb_strftime): A width specifier for %t and %n should
work. [ruby-dev:37160]
* test/ruby/test_time.rb (test_strftime): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
| |
* strftime.c (rb_strftime): The precision of %0N should be 9.
[ruby-dev:37156]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
|
| |
* strftime.c (rb_strftime): The default precision should be 1, not
0. [ruby-dev:37155]
* test/ruby/test_time.rb (test_strftime): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
| |
* lib/time.rb: r20251 reverted. The patched behavior do not round
trip. [ruby-core:19988]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
| |
USE_SIGALTSTACK is not defined.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
| |
* file.c (rb_file_world_writable_p): should return nil for non
world-writable files.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
| |
* ext/tk/lib/tkextlib/blt.rb, ext/tk/lib/tkextlib/blt/vector.rb:
fix NameError bug.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* ext/pty/pty.c (get_device_once): abandon asynchronous exception
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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
| |
* ruby.c (usage): -W description updated. [ruby-core:19858]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
| |
Uses SIGSTKSZ.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
|
|
| |
* signal.c (register_sigaltstack): use alternative stack for
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: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
| |
* vm.c (thread_free): th->vm may be NULL when pthread_create
failed for ENOMEM. [ruby-dev:37095]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
| |
* lib/logger.rb (Logger): should handle the case that cvs/svn do
not expand $Id keyword. [ruby-core:19991]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
| |
* lib/minitest/unit.rb (MiniTest::Assertions#capture_io): adjust
indentation to shut up warning. [ruby-core:19993]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
| |
* ext/syck/rubyext.c (rb_syck_mktime): return DateTime for a value
out of range of Time. [ruby-core:19919]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
| |
fixed a wrong expectation in the test case.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
|
| |
[ruby-dev:37124].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
| |
* node.h (NOEX_MODFUNC): should be include NOEX_PRIVATE.
[ruby-dev:37124]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
| |
* ChangeLog: fixed date format.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
| |
* vm_exec.h (RUBY_VM_EXEC_H): fixed include guard.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
| |
fixed fails occasionally [ruby-dev:37119]. thanks, shinichiro.h.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
| |
* error.c (Init_syserr): moved function definition itself from
template/known_errors.inc.tmpl.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
| |
directory for testing session stores.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
| |
fixed NoMethodError problem from NaHi [ruby-dev:37110].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
| |
* cont.c (cont_mark, cont_capture, cont_restore_1): speed up
continuation by copying only valid YARV stack. [ruby-dev:37106]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
| |
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
| |
* lib/time.rb: according to RFC2822, -0000 means local time, +0000
means UTC. a patch from Chun Wang. [ruby-core:19578]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
| |
* proc.c (proc_eq): equivalence check should not done by pointer
comparison, but should be based on iseq contents. [ruby-dev:37101]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
|
| |
* lib/net/ftp.rb (Net::FTP#open_socket): SOCKSsocket is obsolete.
a patch from Alan Johnson <alan.wayne.johnson at gmail.com> in
[ruby-core:19982].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
| |
* lib/logger.rb (ProgName): fixed for svn, based on a patch from
Nobuhiro IMAI at [ruby-dev:37108].
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
|
| |
* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#read_request_line):
use possessive match for path retrieval to avoid huge recursion
for insanely long path.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
|
| |
* re.c (rb_reg_desc): re might be NULL.
* regerror.c (onig_error_code_to_format): message updated.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
|
| |
parsing for OptionParser.
* lib/optparse.rb (OptionParser::make_switch): makes default
conversion to splat. [ruby-list:45645]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
| |
* enc/depend (LIBS): fixed for disable-shared. [ruby-dev:37103]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
| |
remove -K option from erb.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
| |
* configure.in (LIBRUBYARG_STATIC): fixed for --enable-rpath.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
| |
* re.c (rb_reg_regsub): returns -1 unless ascii as well as
rb_enc_ascget(). [ruby-dev:37097]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
| |
* configure.in (LDSHARED): do not suppress debug info if higher debug
level is given, on cygwin and mingw.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
|
| |
* thread.c (rb_barrier_{new,wait,release,destroy}): use Mutex so that
circular requires fail with deadlock. [ruby-core:19821]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
| |
|
|
|
|
| |
ruby.c (set_internal_encoding_once): fix typo in error string
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@20262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|