akr
5197f6773a
* lib/open-uri.rb: abolish mod === tempfile to avoid a problem
...
[ruby-dev:26967].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-07 03:58:39 +00:00
nobu
17a4e4b1ad
* eval.c (rb_thread_switch): convert all exceptions to
...
SystemExit. fixed: [ruby-core:05724]
* eval.c (rb_thread_terminated): show backtrace before propagate
exceptions to main thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-07 01:45:40 +00:00
ocean
8955a2d930
* win32/win32.[hc] (rb_w32_utime): constified.
...
* win32/win32.h (rb_w32_stat): added prototype.
* win32/win32.[hc] (rb_w32_argv_size,rb_w32_join_argv,rb_w32_aspawn):
changed `char *const *' to `const char *const *'. (constify string)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-07 00:37:53 +00:00
nobu
757c6fa4c9
* lib/mkmf.rb (what_type?): guesstimate type.
...
* ext/etc/etc.c (setup_passwd), ext/etc/extconf.rb: pw_age might be
char*. fixed: [ruby-core:05470]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-06 23:35:31 +00:00
nobu
f6892cba23
* Makefile.in, configure.in (MINIOBJS): miniruby on HP-UX can not load
...
extension libraries.
* bignum.c (bignew_1, bigadd): K&R style argument actually can't be
defined as char.
* missing/vsnprintf.c: ANSI compiler supports const keyword.
* ext/digest/sha2/extconf.rb: reject platforms which has inttypes.h
but no 64bit integer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-06 23:23:04 +00:00
nobu
d302364b50
2005-09-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-06 23:22:57 +00:00
akr
d5a2954d5e
fix.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-06 06:18:41 +00:00
akr
535b2911cf
add a test to parse files by ripper.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-06 06:17:56 +00:00
akr
e27c6fdd7e
2005-09-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-05 15:02:12 +00:00
akr
fe13de2096
document a blocking behavior of IO#eof?.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-05 15:02:10 +00:00
nobu
768e6c1328
* parse.y (stmt, mlhs_node, lhs, arg, method_call): aref_args might be
...
nothing. fixed: [ruby-dev:26952]
* ext/ripper/eventids2.c: added new tokens. fixed: [ruby-dev:26952]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-05 13:29:01 +00:00
matz
df27d91fc4
* lib/observer.rb: a patch from nornagon <nornagon@gmail.com>
...
merged to allow arbitrary names for update methods.
[ruby-core:05416]
* eval.c (rb_f_fcall): new method to avoid inefficiency of
obj.instance_eval{send(...)} tricks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-05 08:40:27 +00:00
matz
48653d5ef0
* lib/ostruct.rb: a patch from Florian Gross <florgro@gmail.com>
...
merged to allow recursive inspect (and to_s) for OpenStruct.
[ruby-core:05532]
* lib/observer.rb: a patch from nornagon <nornagon@gmail.com>
merged to allow arbitrary names for update methods.
[ruby-core:05416]
* eval.c (rb_f_fcall): new method to avoid inefficiency of
obj.instance_eval{send(...)} tricks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-05 08:29:52 +00:00
matz
f5ac36f1a3
* lib/observer.rb: a patch from nornagon <nornagon@gmail.com>
...
merged to allow arbitrary names for update methods.
[ruby-core:05416]
* eval.c (rb_f_fcall): new method to avoid inefficiency of
obj.instance_eval{send(...)} tricks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-05 07:22:55 +00:00
gotoyuzo
d2847d92cd
* ext/openssl/openssl/lib/openssl/buffering.rb (Buffering#do_write):
...
should clear data from the buffer which already been output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-04 22:03:24 +00:00
gotoyuzo
bc81591be4
2005-09-05
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-04 22:03:19 +00:00
aamine
c75ba02566
2005-09-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-04 06:01:54 +00:00
aamine
9c16d334db
* parse.y (f_arg): Ripper should not do semantic check. [ruby-dev:26948]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-04 06:01:51 +00:00
akr
ed353ff1bb
* lib/pathname.rb (Pathname#descend): Pathname.new("./a/b/c").descend
...
didn't yield "."
(Pathname#ascend): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-03 05:02:13 +00:00
akr
83cf0b613e
2005-09-03
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-03 05:02:10 +00:00
nobu
cd5c822ac8
* lib: do not use __send__ to access private methods. [ruby-dev:26935]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-02 14:53:02 +00:00
nobu
c6cdbda54f
2005-09-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-02 14:51:23 +00:00
nobu
0c83f23272
* parse.y (f_arg): f_norm_arg is a VALUE in ripper, not an ID.
...
fixed: [ruby-dev:26942]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-02 14:51:19 +00:00
matz
c3f0592267
* eval.c (rb_call0): wrong condition for $SAFE restoration.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-01 08:13:30 +00:00
nagai
804054e672
* ext/tk/lib/multi-tk.rb: On Tcl8.5, MultiTkIp#invoke_hidden doesn't
...
work (gives wrong order of arguments).
* ext/tk/lib/multi-tk.rb: add MultiTkIp#invoke_hidden_on_namespace
to support '-namespace' option of 'interp invokehidden' command
on Tcl8.5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-01 05:15:19 +00:00
nagai
f1755966cc
2005-09-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-01 05:15:16 +00:00
usa
7706418a4e
* win32/Makefile.sub (OPTFLAGS): default global optimization to
...
disabled for all VC++ versions. fixed: [ruby-dev:26897]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-31 05:43:51 +00:00
ocean
76d6f560c9
* process.c (proc_detach, proc_setmaxgroups): missing argument type
...
declaration. (I recomment ANSI-style function)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-31 01:40:56 +00:00
nobu
8dcf7f931f
* string.c (rb_str_scan): already String#scan behaves differently
...
regarding if block is given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-30 21:59:12 +00:00
matz
47bc0b9013
2005-08-31
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-30 15:35:21 +00:00
matz
69ba229546
* enum.c (enum_count): new method. [ruby-dev:26895]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-30 15:35:18 +00:00
nobu
74433fd300
* array.c, dir.c, enum.c, hash.c, io.c, range.c, string.c, struct.c:
...
let enumerable methods return Enumerator. [ruby-dev:26924]
* intern.h (RETURN_ENUMERATOR): utility macro for enumerable methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-30 14:49:51 +00:00
nahi
87e8b14cc4
* lib/debug.rb: no need to restart at exit.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-30 14:26:38 +00:00
nobu
624842f6a0
* lib/mkmf.rb (xsystem, xpopen): no longer expand by Config.
...
* lib/mkmf.rb (link_command, cc_command, cpp_command): expand
variables at once, and quote hdrdir. fixed: [ruby-core:05680]
* lib/mkmf.rb (libpathflag): quote paths.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-30 14:21:18 +00:00
nobu
aae7040cd0
* eval.c (rb_rescue2): intialization miss. fixed: [ruby-dev:26917]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-30 14:06:55 +00:00
gotoyuzo
3b18462de7
* ext/digest/md5/md5ossl.h, ext/digest/rmd160/rmd160ossl.h,
...
ext/digest/sha1/sha1ossl.h: include <stddef.h> to avoid
error in compilation with OpenSSL-0.9.8. [ruby-list:41068]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-30 10:43:36 +00:00
keiju
d14de3ecc7
* lib/irb/init.rb: bug fix. [ruby-dev: 26920]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-30 07:22:06 +00:00
ocean
da7d6381c9
* lib/drb/ssl.rb (SSLConfig#accept) sorry, self[:verbose] is inner class's method.
...
so reverted...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-30 04:38:14 +00:00
ocean
0bbbb77d1a
* lib/drb/ssl.rb (SSLConfig#accept) fixed "Undefined method verbose"
...
[ruby-Bugs:1701]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-30 04:32:50 +00:00
matz
fbf6744823
2005-08-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-30 04:27:44 +00:00
matz
10ebbcadd9
* eval.c (rb_f_send): do not call private methods if the receiver
...
is specified. [ruby-talk:153672]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-30 04:27:41 +00:00
ocean
0b7f8eef40
* lib/rdoc/usage.rb: supress warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-29 11:07:10 +00:00
ocean
7c755d4174
* lib/rdoc/usage.rb: improper exceptions. [ruby-dev:26870]
...
* lib/rdoc/usage.rb: support the case when non-ruby code exists before
shebang. (this is needed when ri.bat is executed on windows)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-29 10:56:05 +00:00
keiju
6f23ba054a
* lib/irb/init.rb: make IRB -I option that is same befavior for ruby.
...
[ruby-dev:26872]
* lib/irb/locale.rb: support to print help message when OS locale is
ja_JP.utf-8. [ruby-dev:26872]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-29 10:00:27 +00:00
akr
cd7cc246d2
* lib/pathname.rb (Pathname#descend): new method.
...
(Pathname#ascend): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-28 16:45:11 +00:00
akr
50e604172e
* lib/time.rb: require 'date/format' instead of 'parsedate'.
...
(Time.parse): extract fractional seconds using Date._parse.
(Time.strptime): extract fractional seconds using Date._strptime.
[ruby-talk:153859]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-28 15:40:28 +00:00
akr
97fce772a3
2005-08-29
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-28 15:40:25 +00:00
ocean
fb46cf1d7a
* ext/curses/curses.c ({curses,window}_clrtoeol): added. suggested
...
by Reyn Vlietstra.
* ext/curses/curses.c: chtype in curses is not `char', rahter `long'.
[ruby-Bugs:2298]
* ext/curses/view.rb: String =~ String is deprecated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-27 11:21:30 +00:00
ocean
ca3d6e72bf
2005-08-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-27 11:21:25 +00:00
keiju
45695650a6
2005-08-26
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-08-26 05:36:25 +00:00