nobu
08046447bb
* 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/branches/ruby_1_8@10580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-21 03:12:45 +00:00
nobu
ae441f7a52
2006-07-21
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-21 03:12:38 +00:00
matz
980326f6f1
* ruby.h: export classes/modules to implement sandbox.
...
[ruby-core:08283]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-20 07:04:17 +00:00
keiju
3cc5299a2b
* lib/irb/completion.rb: support for completion of numeric
...
number. [ruby-dev: 29038]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-19 15:08:56 +00:00
keiju
ac414df6fa
2006-07-20
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-19 15:08:48 +00:00
kou
3e621acadc
* lib/rss/parser.rb, lib/rss/utils.rb: added documents.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-19 14:54:52 +00:00
kou
4996531a14
2006-07-19
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-19 14:54:46 +00:00
matz
620bb29f49
* 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/branches/ruby_1_8@10563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-18 14:36:15 +00:00
usa
45b085a0b2
* 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/branches/ruby_1_8@10562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-18 14:13:07 +00:00
matz
3aae5bef4d
* test/ruby/test_float.rb (TestFloat::test_strtod): update test to
...
conform strtod change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-18 09:18:45 +00:00
matz
a15fda8267
* 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/branches/ruby_1_8@10558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-18 07:02:35 +00:00
matz
226bf50f8e
* 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/branches/ruby_1_8@10556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-18 05:53:33 +00:00
matz
564d84aaae
* 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/branches/ruby_1_8@10554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-18 05:08:37 +00:00
nobu
7b0c9cf2e2
* 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/branches/ruby_1_8@10553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-18 01:55:15 +00:00
nobu
1c08471a41
* 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/branches/ruby_1_8@10551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-17 16:19:19 +00:00
nobu
8b341cb27a
* 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/branches/ruby_1_8@10550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-17 15:43:47 +00:00
nobu
4d56c1de6f
* ext/extmk.rb: remove LIBRUBY_SO if static linked extensions exist.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-17 15:03:19 +00:00
nobu
f64c02a830
2006-07-18
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-17 15:03:12 +00:00
nobu
bc3fe18226
* 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/branches/ruby_1_8@10547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-17 14:32:02 +00:00
matz
fd3690d34b
* pack.c (define_swapx): should not use plain malloc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-17 13:55:04 +00:00
eban
f2cfba1410
* configure.in: should use ac_cv_lib_dl_dlopen=no on MinGW.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-17 04:22:46 +00:00
eban
67156f73e0
2006-07-17
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-17 04:04:17 +00:00
eban
3ab5593de9
* configure.in: set ac_cv_func_dlopen=no on MinGW.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-17 04:04:15 +00:00
nobu
9b3e810057
* eval.c (rb_require_safe): wait for another thread requiring the same
...
feature. fixed: [ruby-core:08229]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-15 14:50:49 +00:00
matz
ad723e6f24
* st.c (malloc): use xmalloc/xcalloc instead of plain
...
malloc/calloc, to detect memory allocation failure. see
<http://www.nongnu.org/failmalloc/ >.
* gc.c (rb_memerror): should not raise empty nomem_error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-14 17:12:47 +00:00
matz
17c3319958
* st.c (malloc): use xmalloc/xcalloc instead of plain
...
malloc/calloc, to detect memory allocation failure. see
<http://www.nongnu.org/failmalloc/ >.
* gc.c (rb_memerror): should not raise nomem_error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-14 17:11:39 +00:00
nobu
d024c9f5de
2006-07-15
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-14 16:27:55 +00:00
nobu
6e2de67565
* dir.c (has_magic): glob names contain alphabets to enable case fold
...
search also for directories. fixed: [ruby-talk:201917]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-14 16:27:51 +00:00
nagai
aae4100998
* 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/branches/ruby_1_8@10531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-14 04:10:51 +00:00
drbrain
c1bdf7d87b
Add monitor.rb
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-13 19:07:19 +00:00
matz
cbc0ede661
* 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/branches/ruby_1_8@10528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-13 17:33:04 +00:00
matz
45d5c467b3
* parse.y (then): error in warning action.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-13 16:17:05 +00:00
matz
b268c7309e
* array.c (rb_ary_pop): may cause realloc oscillation. a patch
...
from MORITA Naoyuki <mlgetter at kidou.sakura.ne.jp>.
[ruby-dev:29028]
* parse.y (then): we'd like to reserve colon here for the future.
warning added.
* ruby.h: export rb_cMethod. [ruby-talk:201259]
* ext/bigdecimal/bigdecimal.c: Allows '_' to appear within
digits. [ruby-dev:28872]
* ext/bigdecimal/lib/bigdecimal/util.rb: Bug in to_r reported by
[ruby-list:42533] fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-13 15:43:02 +00:00
matz
3f6444f71d
2006-07-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-13 15:42:51 +00:00
nagai
6e95dc1430
* 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/branches/ruby_1_8@10522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-13 13:27:20 +00:00
kou
36237de137
* lib/rss/parser.rb: updated documents by a patch from
...
Hugh Sasse <hgs at dmu.ac.uk>. [ruby-core:8194]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-13 11:35:17 +00:00
kou
d2206600ae
2006-07-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-13 11:35:09 +00:00
nagai
1949d2393d
* ext/tk/lib/multi-tk.rb: remove restriction on the class of
...
pseudo-toplevel.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-11 10:15:47 +00:00
nagai
8a4c1e5001
* ext/tk/lib/multi-tk.rb: security fix.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-11 09:04:00 +00:00
usa
322fd25cc3
2006-07-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-11 08:34:31 +00:00
usa
f940a107ee
* string.c (rb_str_dump): need to extend len for \b.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-11 08:34:28 +00:00
akr
fb5ff37bae
* gc.c (gc_sweep): expand heap earlier.
...
reported by MORITA Naoyuki. [ruby-dev:28960]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-10 10:26:45 +00:00
nagai
6a33016778
* ext/tk/lib/tk/font.rb: sorry. mistaken to patch.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-10 10:01:36 +00:00
nagai
6e0e4baf29
* ext/tk/tcltklib.c: make SEGV risk lower at exit.
...
* ext/tk/lib/tk.rb: ditto.
* ext/tk/lib/multi-tk.rb: fail to call function-style methods on slave
interpreters. The strategy (MultiTkIp_PseudoToplevel_Evaluable) to
fix the problem is a little tricky. You may have to take care of
conflicting with it.
* ext/tk/lib/tk.rb: a little change for the pseudo-toplevel strategy.
* ext/tk/lib/tk/font.rb: ditto.
* ext/tk/lib/tk/msgcat.rb: ditto.
* ext/tk/lib/tkextlib/itk/incr_tk.rb: ditto.
* ext/tk/sample/demos-en/widget: fail to call function-style methods
on sample scripts. To fix it, a strategy which similar to the way
on MultiTiIp is used. Please take care when re-write and re-run a
demo script on the Widget-Demo code viewer.
* ext/tk/sample/demos-jp/widget: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-10 09:52:30 +00:00
nagai
5ed246f1d3
* signal.c (ruby_nativethread_signal, posix_nativethread_signal,
...
sigsend_to_ruby_thread, install_nativethread_sighandler):
nativethread-support on signal handler. RE-backport from 1.9.
* ruby.h (HAVE_NATIVETHREAD_KILL): ditto.
* eval.c (ruby_native_thread_kill): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-10 05:02:00 +00:00
ryan
09ac765b2f
Merged my changes from HEAD
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-10 01:57:22 +00:00
matz
40ca06cb4b
* st.h (st_data_t): use pointer sized integer for st_data_t.
...
[ruby-dev:28988]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-10 01:30:14 +00:00
nobu
9dde6bd829
2006-07-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-10 00:30:46 +00:00
nobu
010de8e28c
* eval.c (rb_clear_cache_for_undef): clear entries for included
...
module. fixed: [ruby-core:08180]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-10 00:30:40 +00:00
nobu
50102f21cd
* lib/mkmf.rb (create_makefile): prevent substitution of macro
...
definition. fixed: http://www.yotabanana.com/lab/20060624.html#p02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-09 09:07:42 +00:00