matz
e4de8e7566
* string.c: use StringValueCStr to retrieve paths to system calls.
...
* string.c (rb_string_value_cstr): check null byte in the string
before retrieving C ptr. accessed via macro StringValueCStr.
* file.c (sys_fail2): raise error for two operand system calls
such as rename, link, symlink. (ruby-bugs PR#1047)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-20 17:17:52 +00:00
katsu
6a867d33b5
* ext/zlib/zlib.c (gzfile_read_header): gz->z.input may be nil after finishing reading a gzip header.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-20 02:06:15 +00:00
matz
fe4de8b4b8
* string.c (rb_str_match2): add warning to "~string".
...
[ruby-list:37751]
* lib/net/ftp.rb (Net::FTP::open): takes block. suggested by Gavin
Sinclair in [ruby-core:01237].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-19 17:26:04 +00:00
eban
3f39e3e2a0
* MANIFEST: add lib/scanf.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-19 14:12:35 +00:00
dblack
e3556affad
Initial commit of scanf.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-19 12:34:45 +00:00
matz
d675dbc279
* lib/xmlrpc: import.
...
* eval.c (thgroup_add): should return group for terminated thread
case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-19 10:05:54 +00:00
uema2
c7d2ebd71e
* wince/stdlib.c: add bsearch().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-19 10:02:57 +00:00
eban
6d696136d5
2003-07-19
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-19 03:40:16 +00:00
matz
5b7d908752
* eval.c (thgroup_add): typo again. sorry.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-19 03:23:05 +00:00
matz
91d6fe9a02
* eval.c (thgroup_add): typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-19 03:19:36 +00:00
matz
adec8b726c
* eval.c (thgroup_add): do not raise ThreadError on terminated
...
thread addition for compatibility. just warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-19 03:18:44 +00:00
nobu
3b1e7ac785
* ext/iconv/charset_alias.rb, ext/iconv/extconf.rb: make wrapper
...
script which maps charset names. [ruby-dev:20625]
* ext/iconv/iconv.c (charset_map): charset name map.
* ext/iconv/iconv.c (iconv_dfree): no exception while
finalization.
* ext/iconv/iconv.c (iconv_s_conv): new method Iconv.conv.
[ruby-dev:20588]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18 19:51:42 +00:00
usa
c88efe5fa2
* ext/Win32API/lib/win32/registry.rb (Win32::Registry::Error):
...
inherit StandardError instead of SystemCallError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18 18:11:45 +00:00
nobu
d087821480
* eval.c (rb_attr): extra calls of method_added. [ruby-talk:76361]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18 17:00:43 +00:00
shigek
1bb3071bde
As discussed in ruby-dev ML:
...
lib directory moved.
util.rb created instead of bigdecimal-rational.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18 15:26:37 +00:00
shigek
e242cf9def
More pathes from Tadasi Saito.
...
As discussed in ruby-dev ML:
E,PI, etc are disabled.
BigDecimal op String disabled.
to_f changed.
lib directory moved.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18 15:24:25 +00:00
shigek
b10272dc37
More pathes from Tadasi Saito.
...
As discussed in ruby-dev ML:
E,PI, etc are disabled.
BigDecimal op String disabled.
to_f changed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18 15:23:23 +00:00
nobu
b31bca1b45
* lib/mkmf.rb (init_mkmf): clear $INSTALLFILES. [ruby-dev:20727]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18 09:44:28 +00:00
nobu
c1c86a37df
* lib/mkmf.rb (rm_f): use FileUtils.
...
* lib/mkmf.rb (modified?): return mtime of the target if
it exists and newer than times.
* lib/mkmf.rb (install_files): add a current directory
file even if it does not exist yet.
* lib/mkmf.rb (configuration): do not add $LDFLAGS to
DLDFLAGS.
* ext/extmk.rb (extmake): check whether Makefile is newer
than depend and MANIFEST.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18 08:34:45 +00:00
nobu
e06379839c
removed garbage
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18 06:34:49 +00:00
usa
5b1008a005
* win32/win32.c (make_cmdvector): recognize quote within string.
...
based on Nobu's patch ([ruby-win32:450]). [ruby-talk:75853]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18 06:00:24 +00:00
eban
8654ce809b
2003-07-18
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18 05:43:05 +00:00
matz
909c2274f9
* eval.c (rb_f_missing): VCALL is called only for LOCAL_ID. no
...
check required.
* parse.y (primary): pritmary:tFID generates NODE_FCALL.
[ruby-dev:20641]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-18 05:29:46 +00:00
matz
2d28a9b130
* re.c (match_captures): rename from "groups".
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-17 09:53:16 +00:00
matz
8cee72d5c6
* eval.c (rb_clear_cache_by_class): check both klass and origin.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-17 08:58:16 +00:00
nagai
9a27cf9499
tk.rb :
...
* recover and fix typo : Tk.chooseDirectory (Tk8.4 feature)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-17 06:40:28 +00:00
eban
81cb5de20b
2003-07-17
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-17 05:29:25 +00:00
matz
46bf621737
* eval.c (ruby_init): set ruby_running to true after
...
initialization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-17 05:23:54 +00:00
eban
06f82d3883
* lib/ftools.rb (File::makedirs): do not handle "//" as a directory.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-17 04:56:09 +00:00
matz
0eb5a42b91
* eval.c (rb_proc_new): call svalue_to_avalue for yield argument.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-16 09:23:33 +00:00
eban
1d3b7cfd74
2003-07-16
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-16 07:12:46 +00:00
matz
7406260aed
* eval.c (rb_disable_super, rb_enable_super): deprecate.
...
* eval.c (thgroup_s_alloc): re-implement group struct.
* eval.c (thgroup_add): add check for enclose and frozen status.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-16 07:11:30 +00:00
nobu
0caa77e7bc
* eval.c (rb_add_method, rb_alias): need to clear cache by
...
ID when method defined in parent class is cached for
grand child classes. [ruby-dev:20672]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-15 10:50:54 +00:00
eban
9a3da66892
* ext/syck/emitter.c (syck_emitter_start_obj): cast to avoid warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-15 07:56:21 +00:00
eban
5a38061f45
2003-07-15
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-15 07:46:34 +00:00
matz
9ef8a2a5db
* lib/matrix.rb: remove elements conversion to_f, to_i, to_r.
...
* lib/cgi/session/pstore.rb: add new file.
* process.c (proc_getgroups, proc_setmaxgroups): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-15 07:35:14 +00:00
why
bdfce148a7
* ext/syck/rubyext.c (syck_mark_emitter): forgot to rb_gc_mark the
...
outgoing IO object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-14 20:35:07 +00:00
nobu
40f7baddde
commit miss
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-14 02:32:04 +00:00
usa
dbb2e33eef
* struct.c (struct_entry): add prototype to avoid VC++ warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-12 08:02:26 +00:00
why
a706d6ddac
BaseEmitter left out as well.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-11 23:56:42 +00:00
why
d3a43fcca0
Missed MANIFEST change and addition of ext/syck/emitter.c.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-11 23:44:37 +00:00
why
a1e257ec48
* ext/syck/emitter.c: new emitter code.
...
* ext/syck/rubyext.c: Emitter class.
* lib/yaml.rb: Load Syck emitter, if available.
* lib/yaml/stream.rb: ditto.
* lib/yaml/baseemitter.rb: underlying class for all emitters.
* lib/yaml/rubytypes.rb: use BaseEmitter abstraction.
* lib/yaml/emitter.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-11 22:52:14 +00:00
nobu
30399f6c75
*** empty log message ***
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-11 19:23:13 +00:00
nobu
c649dcc857
addition
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-11 16:37:05 +00:00
nobu
b2ffc1fcab
* eval.c (avalue_to_svalue): typo.
...
* eval.c (rb_load): rb_prohibit_interrupt should not underflow.
* parse.y (NODE_STRTERM, tokadd_string, parse_string): moved string
nest level from a static variable to NODE_STRTERM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-11 16:22:01 +00:00
nobu
bc7a97c826
* configure.in (aix): needs ruby.imp even with gcc.
...
(ruby-bugs:PR#1007)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-11 13:37:22 +00:00
eban
b2d25f72c8
* ChangeLog: typo fix.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-11 09:40:53 +00:00
eban
3ed23a541f
* instruby: do not handle directories. [ruby-dev:20613]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-11 09:39:09 +00:00
eban
37f26903b0
2003-07-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-11 07:29:33 +00:00
nagai
7a89869340
tk.rb :
...
* not create a Tcl/Tk interpreter if already defined TkCore::INTERP
* bugfix on TkWindow#configure
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-11 07:17:46 +00:00