usa
13a79948fe
* signal.c (register_sigaltstack): no need to define on non-sigaltstack
...
platform.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-01 06:49:34 +00:00
nobu
a918afe05e
* cont.c (rb_fiber_start): calls with exact argument number.
...
[ruby-core:20088]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-01 03:00:48 +00:00
yugui
4586802dff
* man/rake.1: new manual page
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-30 12:42:01 +00:00
yugui
1fe2fae259
* test/ruby/test_regexp.rb (TestRegexp#test_parse_curly_brace):
...
now accepts quantifier on anchrs agian by r20391.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-30 09:04:51 +00:00
yugui
56d19a9e8b
* man/irb.1 (EXAMPLES): new section
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-29 15:00:48 +00:00
matz
f7692a3373
* regparse.c (is_invalid_quantifier_target): Perl and old Ruby
...
accepts quantifier on anchors. [ruby-core:20161]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-29 10:55:51 +00:00
matz
23e6fc744e
* ext/socket/socket.c (sock_getaddrinfo): should have updated for
...
Mac OS X. a patch from Shumpei Akai in [ruby-dev:37234]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-29 09:30:46 +00:00
matz
776af67b28
* cont.c (fiber_alloc): separate allocation and initialization.
...
allow subclass to override #initialize. [ruby-core:20086]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-28 15:23:09 +00:00
matz
46e431e3eb
* ext/socket/socket.c (sock_s_getaddrinfo): refactored to remove
...
code duplication regarding getaddrinfo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-28 09:32:20 +00:00
keiju
3c6b1bfbe4
* ChangLog: spell miss.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-28 09:00:31 +00:00
keiju
157ed5c674
* lib/foerwardable.rb: should be usable def_single_delegator for
...
Class and Module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-28 08:59:20 +00:00
nobu
46e3b0fe7b
* iseq.c (simple_default_value): extracts simplest default
...
argument value.
* iseq.c (rb_iseq_parameters): returns parameter list.
* proc.c (get_proc_iseq, get_method_iseq): handles ifunc and
bmethod.
* proc.c (rb_proc_parameters, rb_method_parameters): added
Proc#parameters and Method#parameters. [ruby-core:19759]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-28 04:19:37 +00:00
matz
4d3f3af836
* ext/bigdecimal/bigdecimal.c (BigDecimal_DoDivmod): bigdecimal
...
division (including modulo) should raise ZeroDivisionError as
integer division. [incompatible]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-27 17:20:08 +00:00
matz
90add5db45
* numeric.c (flodivmod): floating point division should raise
...
ZeroDivisionError as integer division. [incompatible]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-27 16:01:54 +00:00
matz
ce5063c283
* gc.c (gc_mark): still needs to check stack depth during GC.
...
* gc.c (stack_check): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-27 14:55:45 +00:00
tadf
24a6416355
* strftime.c (rb_strftime): should add padding for %%.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-27 12:43:05 +00:00
nobu
ab9fd5dbf7
* signal.c (register_sigaltstack): stores alt stack for debug
...
purpose.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-27 07:32:56 +00:00
nobu
079505c040
* signal.c (ALT_STACK_SIZE): default minimum size is insufficient
...
for method calls.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-27 06:59:19 +00:00
matz
5337b9b5f6
* ext/bigdecimal/bigdecimal.c (BigDecimal_div2): should return
...
Integer for #div operation.
* ext/bigdecimal/bigdecimal.c (BigDecimal_div2): should raise
ZeroDivisionError if divisor is zero. [ruby-dev:37207]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-27 01:43:14 +00:00
matz
b0f3bd5d25
* strftime.c (STRFTIME): use rb_strftime() recursively, instead of
...
platform's strftime().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-26 14:30:25 +00:00
matz
0434b0f098
* ext/bigdecimal/bigdecimal.c (VpException): bigdecimal zero
...
division should raise FloatDomainError if mode
VP_EXCEPTION_ZERODIVIDE is set. [ruby-dev:37204]
* ext/bigdecimal/bigdecimal.c (BigDecimal_mode): should handle
VP_EXCEPTION_ZERODIVIDE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-26 14:04:58 +00:00
kazu
27e3cc841c
* ext/gdbm/gdbm.c (rb_gdbm_nextkey): fix memory leak.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-26 06:39:14 +00:00
matz
93283e7552
* ext/bigdecimal/bigdecimal.c (BigDecimal_to_r): raise exception
...
for nan/inf conversion. [ruby-dev:37187] fix #793
* ext/bigdecimal/bigdecimal.c (BigDecimal_to_i): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-25 18:19:07 +00:00
matz
a426373520
* ext/bigdecimal/bigdecimal.c (VpAlloc): avoid ALLOCA_N() to avoid
...
segmentation fault caused by (insanely) long decimal values.
[ruby-dev:37189] fix #794
* ext/bigdecimal/bigdecimal.c (BigDecimal_dump, BigDecimal_to_i,
BigDecimal_to_f, BigDecimal_to_s, BigDecimal_split,
BigDecimal_inspect): ditto.
* ext/bigdecimal/bigdecimal.c (VpToString): small performance
improvement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-25 18:02:42 +00:00
matz
6099790621
* strftime.c (STRFTIME): should add padding for %[xXrR] etc.
...
[ruby-dev:37185] fix : #792
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-25 15:28:22 +00:00
matz
405b527276
* array.c (rb_ary_times): taint (and untrust) status should be
...
inherited by "ary * 0". [ruby-dev:37024]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-25 14:29:39 +00:00
matz
446ea127c3
* strftime.c (rb_strftime): should not swallow incomplete
...
formatter, e.g. "%E". [ruby-dev:37170] fix : #787
* strftime.c (rb_strftime): clear flags before processing unknown
formatter, e.g. "%i". [ruby-dev:37180]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-25 14:24:47 +00:00
matz
a689e57283
* strftime.c (rb_strftime): "%^P" should convert to upper case.
...
[ruby-dev:37180]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-25 04:42:11 +00:00
matz
15b183c218
* strftime.c (FMT): use "%0d" formatter for zero padding, not "%.d".
...
[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
2008-11-25 00:24:01 +00:00
nagai
9a206a8039
* ext/tk/lib/tkextlib/blt/tabset.rb, ext/tk/lib/tkextlib/blt/tabnotebook.rb:
...
fix many bugs. Now, those work properly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-24 18:49:43 +00:00
matz
012fee9476
* numeric.c (num_step): treat infinite step specially.
...
[ruby-dev:37157] fix : #781 .
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-24 18:40:07 +00:00
tadf
4671724697
* lib/date/format.rb (strftime): ignores '_' flag for %[LN].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-24 16:26:00 +00:00
nobu
4d6d0a933e
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-24 15:08:24 +00:00
shugo
361a713f96
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-24 14:29:37 +00:00
matz
3380a05bd6
* signal.c (register_sigaltstack): should not add external
...
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
2008-11-24 14:25:45 +00:00
shugo
bf1d53e2e0
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-24 14:01:47 +00:00
shugo
aa498028b2
* strftime.c (rb_strftime): The precision of %0N should be 9.
...
[ruby-dev:37156]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-24 13:10:07 +00:00
shugo
32aed81046
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-24 12:42:45 +00:00
tadf
1537855833
* lib/date.rb (inspect): changed again.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-24 10:55:00 +00:00
matz
66041e3e23
* lib/time.rb: r20251 reverted. The patched behavior do not round
...
trip. [ruby-core:19988]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-24 09:38:00 +00:00
yugui
0abd67ea19
* signal.c (default_handler, Init_signal): compile error if
...
USE_SIGALTSTACK is not defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-23 07:07:34 +00:00
yugui
7c9a77f880
* signal.c (ALT_STACK_SIZE): 4KB is not enough on Mac OS X.
...
Uses SIGSTKSZ. this fixes [ruby-core:20040].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-23 04:17:52 +00:00
yugui
ab8114f481
* test/ruby/test_method.rb (test_default_accessiblity): test case for
...
[ruby-dev:37124].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-22 12:34:21 +00:00
matz
c5ce3ea019
* file.c (rb_file_world_writable_p): should return nil for non
...
world-writable files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-22 09:28:43 +00:00
nagai
2e1ee398a4
* ext/tk/lib/tkextlib/blt.rb, ext/tk/lib/tkextlib/blt/vector.rb:
...
fix NameError bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-22 01:37:58 +00:00
matz
1e1d2b2639
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-21 18:45:01 +00:00
matz
5640227231
address tweaked
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-21 18:35:52 +00:00
matz
137b5ecd8d
* ext/curses/curses.c (curses_escdelay_set): support ESCDELAY. a
...
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
2008-11-21 18:35:11 +00:00
matz
b58ed03759
* ruby.c (usage): -W description updated. [ruby-core:19858]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-21 18:34:03 +00:00
matz
68a75f19e9
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-21 18:27:33 +00:00
matz
3cdd85813c
* vm.c (thread_free): th->vm may be NULL when pthread_create
...
failed for ENOMEM. [ruby-dev:37095]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-21 11:46:14 +00:00
matz
29927214d4
* lib/logger.rb (Logger): should handle the case that cvs/svn do
...
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-19 22:35:40 +00:00
matz
edcb875942
* lib/minitest/unit.rb (MiniTest::Assertions#capture_io): adjust
...
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
2008-11-19 22:28:24 +00:00
matz
d37f45cef9
* ext/syck/rubyext.c (rb_syck_mktime): return DateTime for a value
...
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
2008-11-19 08:49:51 +00:00
matz
b44d5711e8
* node.h (NOEX_MODFUNC): should be include NOEX_PRIVATE.
...
[ruby-dev:37124]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-19 05:15:44 +00:00
nobu
82493874a2
* ChangeLog: fixed date format.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-19 00:29:12 +00:00
seki
84f142a1fb
ChangeLog: correct file name
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18 18:18:41 +00:00
seki
9b3e241bfc
fixed fails occasionally [ruby-dev:37119]. thanks, shinichiro.h.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18 18:05:28 +00:00
nobu
1da55b38fa
* error.c (Init_syserr): moved function definition itself from
...
template/known_errors.inc.tmpl.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18 17:39:33 +00:00
seki
2d549dcfbd
fixed NoMethodError problem from NaHi [ruby-dev:37110].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18 16:24:22 +00:00
mame
5ecc2ee022
* cont.c (cont_mark, cont_capture, cont_restore_1): speed up
...
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-18 16:19:37 +00:00
matz
6ce0058aeb
* lib/time.rb: according to RFC2822, -0000 means local time, +0000
...
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
2008-11-18 15:12:02 +00:00
matz
256e8b9afc
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18 14:31:15 +00:00
matz
e606e7e32b
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18 12:29:25 +00:00
nobu
b7ac5b1262
* lib/logger.rb (ProgName): fixed for svn, based on a patch from
...
Nobuhiro IMAI at [ruby-dev:37108].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18 07:18:29 +00:00
matz
9d2ecf3d90
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18 06:58:55 +00:00
matz
4ccfa1e9f8
* re.c (rb_reg_desc): re might be NULL.
...
* 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
2008-11-18 06:51:19 +00:00
nobu
ad5ff1c237
* lib/optparse.rb (OptionParser::make_switch): makes default
...
conversion to splat. [ruby-list:45645]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18 00:42:18 +00:00
nobu
8e6ad88737
* enc/depend (LIBS): fixed for disable-shared. [ruby-dev:37103]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-17 09:05:19 +00:00
seki
56228b4da6
remove -K option.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-17 02:14:24 +00:00
nobu
5c759e6b1c
* configure.in (LIBRUBYARG_STATIC): fixed for --enable-rpath.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-16 17:19:05 +00:00
nobu
316b78a56d
* re.c (rb_reg_regsub): returns -1 unless ascii as well as
...
rb_enc_ascget(). [ruby-dev:37097]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-15 13:46:52 +00:00
nobu
1bd83c1fe0
* configure.in (LDSHARED): do not suppress debug info if higher debug
...
level is given, on cygwin and mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-15 13:24:06 +00:00
mame
e1a2fec2bb
* README.EXT, README.EXT.ja, vm_exec.c, vm_insnhelper.c: update
...
filenames.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-14 11:31:10 +00:00
nobu
5136031055
* thread.c (rb_barrier_wait): gets rid of recursive deadlock.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-13 02:31:16 +00:00
nobu
31f16d7729
* thread.c (rb_barrier_{new,wait,release,destroy}): use Mutex so that
...
circular requires fail with deadlock. [ruby-core:19821]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-12 21:08:47 +00:00
davidflanagan
2228f91851
ruby.c (set_internal_encoding_once): fix typo in error string
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 22:18:21 +00:00
nobu
cc7ff9d2f9
* include/ruby/intern.h (rb_{external,locale}_str_new_cstr): optimized
...
versions for literal strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 18:31:06 +00:00
nobu
99cd3c512b
* load.c (rb_require_safe): destroys barrier after successfully
...
loaded, to get rid of loading same library again. [ruby-core:19798]
* thread.c (rb_barrier_wait): can not wait destroyed barrier.
* thread.c (rb_barrier_destroy): destroys barrier so that no longer
waited.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 18:28:47 +00:00
matz
8bc28d82b4
* lib/uri/generic.rb (URI::Generic#check_path): REL_PATH should a
...
symbol. [ruby-core:19805]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 17:39:52 +00:00
yugui
43463a5cb6
* man/ruby.1 (RUBYOPT): wrote which option can appear.
...
(--yydebug): wrote "do not use".
(--dump): wrote "do not use".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 14:14:29 +00:00
kazu
e087f9ed6a
* configure.in: fix SEGV on Mac OS X 10.5.3 with pthread.
...
a patch from Wataru Kimura in Bug #193 [ruby-core:17333].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 11:50:57 +00:00
tadf
b0e3af4922
* lib/date.rb (inspect): reverted the previous change.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 11:42:46 +00:00
matz
e644398bc6
* ext/bigdecimal/bigdecimal.c (BigDecimal_to_r): moved from
...
bigdecimal/util, converted into C. [ruby-dev:36805]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 10:45:21 +00:00
usa
d544a3d6c7
* win32/win32.c (rb_w32_accept): secure fd before accept because if
...
error causes in securing, cannot restore the state of accepted
socket.
fixed [ruby-core:19728]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 08:54:07 +00:00
duerst
0d93d8125e
* test/ruby/test_transcode.rb: unnecessary setup method
...
(setup_really_needed?) removed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 05:42:49 +00:00
duerst
831e804388
* enc/trans/single_byte.trans, macgreek-tbl.rb, macroman-tbl.rb,
...
macromania-tbl.rb, macturkish-tbl.rb, macukraine-tbl.rb,
ibm437-tbl.rb, ibm852-tbl.rb, ibm855-tbl.rb, ibm857-tbl.rb,
ibm860-tbl.rb, ibm861-tbl.rb, ibm862-tbl.rb, ibm863-tbl.rb,
ibm865-tbl.rb, ibm866-tbl.rb, ibm869-tbl.rb, ibm775-tbl.rb:
new single-byte transcodings (from Yoshihiro Kambayashi)
* test/ruby/test_transcode.rb: added tests for the above
(from Yoshihiro Kambayashi)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 05:26:20 +00:00
tadf
e8c67503ea
* lib/date.rb (inspect): changed the format.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-10 22:57:01 +00:00
knu
fd93c80482
* test/sdbm/test_sdbm.rb (TestSDBM#test_index): Reflect the method
...
name change from #index to #key and remove a duplicated test
method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-10 08:38:20 +00:00
matz
504abcc00f
* lib/delegate.rb (Delegator.delegating_block): should not refer
...
DelegateClass specific @delegate_dc_obj. a patch from Erik
Hollensbe in [ruby-core:19671].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-10 01:52:46 +00:00
usa
703c1825eb
* win32/win32.c (ifs_open_socket): should retry without proto_buffer
...
if cannot find the suitable protocol. a patch from Heesob Park.
fixed [ruby-core:19713]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-10 00:57:49 +00:00
matz
d87e2d811a
* struct.c (rb_struct_initialize_m): avoid unnecessary array
...
allocation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-10 00:51:14 +00:00
nobu
7991c5e66e
* vm_dump.c (control_frame_dump): suppresses finished method name.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 19:10:36 +00:00
nobu
641f43de97
* thread_pthread.c (thread_timer): checks working flags again.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 15:31:05 +00:00
xibbar
f22aabbaee
* lib/cgi/session/pstore.rb: fix indentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 15:03:42 +00:00
xibbar
26862c00e9
* lib/cgi/session.rb (FileStore): use marshalized data.
...
* test/cgi/session_dir: add a session directory in test.
* test/cgi/test_cgi_session.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 14:52:59 +00:00
xibbar
274c3b94bf
* lib/cgi/session.rb: remove debug code.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 12:57:50 +00:00
xibbar
b4890b598b
* lib/cgi/session.rb: fix indentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 12:36:50 +00:00
matz
877ac7236a
* lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#do_CONNECT):
...
use #bytesize instead of #size. a patch submitted from
raspberry lemon in [ruby-core:18571].
* lib/webrick/httpauth/digestauth.rb, lib/webrick/httpproxy.rb,
lib/webrick/httprequest.rb, lib/webrick/httpservlet/cgi_runner.rb,
lib/webrick/httpservlet/abstract.rb, lib/webrick/httpresponse.rb,
lib/webrick/httpservlet/cgihandler.rb, lib/webrick/utils.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 09:41:24 +00:00
matz
75fcee4a23
* ext/stringio/stringio.c (strio_ungetc): ungetc position should
...
not be changed from 1.8. [ruby-core:19632]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 08:32:55 +00:00