matz
93d5566170
* eval.c (rb_call0): revert last change. [ruby-dev:29112]
...
[ruby-core:08374]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-24 07:02:20 +00:00
akr
77146ae7cb
* ext/readline/readline.c (readline_readline): rl_deprep_term_function
...
may be NULL with libedit. reported by Ryan Davis. [ruby-dev:29070]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-24 06:55:26 +00:00
akr
b8b993c182
2006-07-24
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-24 06:54:53 +00:00
akr
fd7f570cb2
* test/socket/test_unix.rb: disabled on cygwin.
...
reported by Kouhei Yanagita. [ruby-dev:29080]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-23 14:03:28 +00:00
akr
9ca1b5fc8e
2006-07-23
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-23 14:03:22 +00:00
nobu
b4f1270f6d
* ruby.c (proc_options): script is never used while recursing.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-21 14:58:18 +00:00
matz
7265bd401d
* object.c (rb_cstr_to_dbl): "9_e8" should consider "_e8" as
...
trailing garbage so that it should return 9.0. [ruby-dev:29088]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-21 14:53:11 +00:00
nobu
252d273832
* eval.c (rb_call0): include funcalled methods in caller list.
...
fixed: [ruby-core:08290]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-21 12:22:08 +00:00
nobu
53f6b89e7e
* ext/extmk.rb, lib/mkmf.rb (with_destdir): remove drive letter before
...
prepending destdir on DOSISH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-21 03:12:45 +00:00
matz
58f09b0916
* eval.c (rb_call): try local method look-up first for fcall, then
...
normal method look-up. [ruby-talk:202564]
* eval.c (rb_get_method_body): save local method cache separately.
* eval.c (search_method): export info whether method is local or
not.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-20 19:20:31 +00:00
matz
c09cea5e1b
* object.c (rb_mod_attr): make Module#attr to be an alias to
...
attr_reader. [RCR#331]
* ruby.h: export classes/modules to implement sandbox.
[ruby-core:08283]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-20 17:36:36 +00:00
matz
b5d9cbe8e8
* object.c (rb_mod_attr): make Module#attr to be an alias to
...
attr_reader. [RCR#331]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-20 17:30:01 +00:00
matz
8eb21778d8
* test/ruby/test_float.rb (TestFloat::test_strtod): update test to
...
conform strtod change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-20 17:26:32 +00:00
matz
0a7abb6a6c
2006-07-21
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-20 17:25:53 +00:00
keiju
3cd703f160
* lib/irb/completion.rb: support for completion of numeric
...
number. [ruby-dev: 29038]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-19 14:18:20 +00:00
matz
cb3e51e712
* eval.c (rb_yield_0): should check args_args before lambda
...
argument check. [ruby-dev:29029]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-19 13:52:03 +00:00
ryan
f724560996
2006-07-19
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-18 18:28:20 +00:00
ryan
491d4412a8
patch was misapplied. fixed. sorry
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-18 18:28:16 +00:00
usa
553bba0b47
* process.c (rb_f_system): shouldn't block SIGCHLD if it's not
...
exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-18 14:55:28 +00:00
matz
6b87ac68db
* process.c (rb_f_system): block SIGCHLD during the process
...
execution, like glibc system(3) does. [ruby-talk:202361]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-18 14:36:15 +00:00
usa
1921fbce45
* win32/win32.c (open_ifs_socket): should not use plain malloc.
...
* win32/win32.c (rb_w32_opendir): should not use plain realloc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-18 14:13:07 +00:00
matz
7318a6db76
* eval.c (yield_under_i): argument should be passed in avalue
...
from. [ruby-dev:29044]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-18 07:54:26 +00:00
matz
df80a7b4bb
* pack.c (pack_unpack): propagate association array to copied
...
string. [ruby-core:08223]
* pack.c (pack_unpack): return referenced string itself if it has
same length as specified. a patch from <nobu at ruby-lang.org>
in [ruby-core:08225].
* pack.c (pack_pack): taint 'p' packed strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-18 07:02:35 +00:00
usa
9d6e1cdb73
* intern.h (st_foreach_safe): fix prototype.
...
* node.h (NODE_LMASK): bigger than long on LLP64.
* missing/vsnprintf.c (BSD__uqtoa): new function to support LLP64.
all changes are derived from [ruby-dev:29045]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-18 06:22:28 +00:00
matz
ddbebabd25
* process.c (rb_f_system): call rb_sys_fail(0) if rb_last_status
...
is nil. [ruby-talk:202361]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-18 05:48:01 +00:00
matz
e7d8263f77
* lib/webrick/httpserver.rb (WEBrick::HTTPServer::unmount): remove
...
inpect argument from sprintf. [ruby-dev:29039]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-18 05:08:37 +00:00
nobu
4a1513e2fb
* object.c (rb_cstr_to_dbl): limit out-of-range message.
...
* util.c (ruby_strtod): return end pointer even if ERANGE occurred.
fixed: [ruby-dev:29041]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-18 01:55:15 +00:00
drbrain
575f1320d4
RD to RDoc conversion by Hugh Sasse.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-17 18:22:16 +00:00
nobu
894c9e5e45
* util.c (ruby_strtod): stop at dot not followed by digits.
...
fixed: [ruby-dev:29035]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-17 16:19:19 +00:00
nobu
3687809c6a
* util.c (ruby_strtod): stop at dot not followed by digits.
...
fixed: [ruby-dev:29035]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-17 15:43:47 +00:00
nobu
99f9ac64a7
* ext/extmk.rb: remove LIBRUBY_SO if static linked extensions exist.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-17 15:03:19 +00:00
nobu
1427f340b1
2006-07-18
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-17 15:03:12 +00:00
nobu
c993c31c54
* configure.in (rb_cv_msvcrt): defaulted to msvcrt. Workaround for a
...
bug of cygwin 1.5.20.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-17 14:32:02 +00:00
matz
13556ea5ee
* ext/io/wait/wait.c (io_ready_p): protoize.
...
* pack.c (define_swapx): should not use plain malloc.
* ext/curses/curses.c (curses_getmouse): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-17 13:59:09 +00:00
eban
0227035dd3
* configure.in: should use ac_cv_lib_dl_dlopen=no on MinGW.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-17 04:22:46 +00:00
eban
92a6541a3f
* configure.in: set ac_cv_func_dlopen=no on MinGW.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-17 04:04:15 +00:00
usa
14824b5084
2006-07-17
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-17 02:49:05 +00:00
usa
c5aae656e5
* st.c: still need to include config.h on some platforms.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-17 02:49:01 +00:00
akr
b3fd4cf833
// comment removed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-15 02:38:26 +00:00
matz
59f6a1a5d4
2006-07-15
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-14 16:13:45 +00:00
matz
434c9e7b9f
* st.c (malloc): use xmalloc/xcalloc instead of plain
...
malloc/calloc, to detect memory allocation failure. see
<http://www.nongnu.org/failmalloc/ >.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-14 16:13:41 +00:00
nagai
89e1e19083
* ext/tk/lib/tk.rb: add methods for new features of latest Tcl/Tk8.5
...
* ext/tk/lib/tk/namespace.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-14 04:10:51 +00:00
drbrain
58f761cf82
Add monitor.rb
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-13 19:00:52 +00:00
matz
1378251dc1
* lib/monitor.rb: document patch from Hugh Sasse <hgs at dmu.ac.uk>.
...
[ruby-core:08205]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-13 17:33:04 +00:00
matz
7faec1fb72
2006-07-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-13 15:13:00 +00:00
matz
05a34a764d
* array.c (rb_ary_pop): may cause realloc oscillation. a patch
...
from MORITA Naoyuki <mlgetter at kidou.sakura.ne.jp>.
[ruby-dev:29028]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-13 15:12:56 +00:00
nagai
5d11f0072c
* ext/tk/lib/tk/composite.rb: improve handling of the classname on the
...
option database for the widget class which includes TkComposite.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-13 13:27:20 +00:00
matz
0c699701ff
2006-07-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-12 15:54:57 +00:00
matz
d50b2d8d49
* ruby.h (FIX2LONG): returns integer of size of VALUE.
...
[ruby-dev:29024]
* ruby.h (FIX2ULONG): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-12 15:54:53 +00:00
matz
04b473c5cd
2006-07-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-12 11:10:26 +00:00