nobu
23288f8674
* eval.c (assign): convert mrhs to mvalue.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-16 00:02:49 +00:00
nobu
7edb39fbfa
2002-04-15
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-15 09:29:47 +00:00
matz
9a24232fd2
* pack.c (pack_unpack): should treat 'U' in character unit, not in
...
byte unit.
* error.c (exc_initialize): should clear backtrace information.
* io.c (rb_io_fptr_cleanup): should close IO created by IO.new(fd).
* rubyio.h: remove FMODE_FDOPEN
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-15 07:48:47 +00:00
ttate
cb944528b6
Correct.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-14 17:19:44 +00:00
ttate
66484faf1b
Edit the documentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-14 15:21:23 +00:00
matz
cd948e4600
* struct.c (rb_struct_select): fix typo.
...
* io.c (io_write): check error if written data is less than
specified size to detect EPIPE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-12 08:45:02 +00:00
eban
29b36962fe
* configure.in: add check for initstate(3).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-12 04:05:08 +00:00
usa
1ba42d4508
* win32/Makefile.sub: use missing/acosh.c.
...
* win32/config.h.in: define HAVE_COSH, HAVE_SINH, and HAVE_TANH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-12 03:55:04 +00:00
nobu
b289435872
2002-04-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-12 03:32:52 +00:00
nobu
be5524ae41
/tmp/log
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-12 03:24:52 +00:00
nobu
1aa67cb1d3
should be HAVE_TANH
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-11 11:39:25 +00:00
eban
07c69983ac
* random.c (rand_init): add check for initstate(3).
...
* configure.in: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-11 11:00:02 +00:00
eban
65a269376f
* io.c (remain_size): IO#read returns "" if file.size == 0.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-11 10:11:53 +00:00
eban
2628f376c9
2002-04-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-11 10:06:01 +00:00
matz
5527b3b961
* eval.c (assign): ruby_verbose should be surrounded by RTEST().
...
* object.c (rb_str2cstr): ditto.
* parse.y (void_expr): ditto.
* parse.y (void_stmts): ditto.
* variable.c (rb_ivar_get): ditto.
* variable.c (rb_cvar_set): ditto.
* variable.c (rb_cvar_get): ditto.
* dir.c (glob_helper): should have proceed link when link->path
was non existing symbolic link.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-11 10:03:01 +00:00
ttate
3a202ff2b4
raise() -> rb_raise(). (Thanks Tetsuya Watanabe)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-11 09:38:26 +00:00
ttate
3bd7404423
Add DL::Importable::Internal::Struct#alloc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-11 08:07:01 +00:00
ttate
2990a00153
Add dl.txt instead of README.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-11 07:09:33 +00:00
ttate
27a30bbf18
remove README and README.html
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-11 06:55:12 +00:00
ttate
96d0ef6670
Support "unsigned short".
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-11 06:35:48 +00:00
ttate
38698dbbe3
Add "unsigned short".
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-11 05:32:22 +00:00
ttate
1ee89595bc
define alias "struct" and "union" in the module Importable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-11 03:06:33 +00:00
wakou
bd074c1f03
* lib/cgi/session.rb: support for multipart form.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-10 17:02:47 +00:00
ttate
061ed0d389
Add/Fix types.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-10 14:45:22 +00:00
ttate
8bd818494d
Implement the substitution for structure members.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-10 14:13:39 +00:00
matz
b010cccc90
* dir.c (glob_helper): should have proceed link when link->path
...
was non existing symbolic link.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-10 09:58:39 +00:00
matz
19c42c0740
* variable.c (rb_obj_remove_instance_variable): raise NameError if
...
specified instance variable is not defined.
* variable.c (generic_ivar_remove): modified to check ivar
existence.
* file.c (rb_file_s_extname): new method based on the proposal
(and patch) from Mike Hall. [new]
* eval.c (error_handle): default to 1 unless status is set.
* eval.c (ruby_options): guard error_handle() with PROT_NONE.
* eval.c (ruby_stop): ditto.
* math.c (math_acosh): added. [new]
* math.c (math_asinh): ditto.
* math.c (math_atanh): ditto.
* struct.c (rb_struct_each_pair): method added. [new]
* class.c (rb_singleton_class): wrong condition; was creating
unnecessary singleton class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-10 08:45:26 +00:00
nobu
ff0abdc55e
* misc/ruby-mode.el (ruby-font-lock-keywords): fontify symbols for
...
unary operators and aset.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-10 05:24:47 +00:00
nobu
afc4cd48d1
* lib/mkmf.rb (try_link0): need expand macro in command, sync with
...
ext/extmk.rb.in.
* lib/mkmf.rb (try_cpp): ditto.
* lib/mkmf.rb (egrep_cpp): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-09 04:43:12 +00:00
nobu
e223518948
* ext/stringio/stringio.c (check_modifiable): performance
...
improvement. avoid calling rb_str_modify() twice.
* ext/stringio/stringio.c (strio_ungetc): ditto.
* ext/stringio/stringio.c (strio_putc): ditto.
* ext/stringio/stringio.c (strio_write): ditto, and use
rb_str_cat() as possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-09 03:52:39 +00:00
knu
f240fc637c
* re.c (match_select): fix index references and make
...
MatchData#select actually work.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-08 20:21:14 +00:00
nobu
2a255514a1
2002-04-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-08 07:09:58 +00:00
nobu
7c96563256
* eval.c (error_handle): default to 1 unless status is set.
...
* eval.c (ruby_options): guard error_handle() with PROT_NONE.
* eval.c (ruby_stop): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-08 07:09:45 +00:00
ttate
dbdde236cb
improve the prototype parser.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-05 17:12:48 +00:00
ttate
f027ab80dc
"extern" and "[]" of the module Importable returns a symbol.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-05 16:33:01 +00:00
ttate
8d08d9f513
Add dl/struct.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-05 05:11:11 +00:00
ttate
289fe2b8ee
Get rid of ineffective encoding/decoding procedures.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-04 14:17:19 +00:00
ttate
5f8d02cbbc
DLSTR(argv[i]) => DLSTR(RSTRING(argv[i])->ptr)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-04 11:29:56 +00:00
ttate
556556e450
bugfix (a few bugs seems to be remaining yet.)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-04 11:17:23 +00:00
nobu
07e54ed140
2002-04-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-04 09:22:13 +00:00
ttate
1502ea7c0c
Patch [ruby-dev:16747] (Thanks Nakada)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-04 08:27:48 +00:00
ttate
b5856f738a
Add ext/dl/lib/dl/types.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-03 15:43:12 +00:00
ttate
74b4c81396
Merge Nakada's patch and define StringValuePtr for ruby-1.6.
...
CV ----------------------------------------------------------------------
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-03 11:59:01 +00:00
nobu
493c57f65a
* ext/extmk.rb.in (enable_config): follow lib/mkmf.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02 17:04:33 +00:00
ttate
e34e13c0c4
Add entries to each Setup.* and remove Changes files.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02 13:16:00 +00:00
ttate
736b081e92
Get rid of the RUBY, and use CPPFLAGS="$(CPPFLAGS) -DDEBUG"
...
in the debug phase. (Thanks Nakada)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02 12:06:23 +00:00
ttate
bb092343b4
Append a message for dl.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02 11:10:12 +00:00
ttate
688c3836a4
Add ruby-dl.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02 10:58:19 +00:00
ttate
7d711b817e
Add ruby-dl
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02 10:56:13 +00:00
nobu
64b6406445
2002-04-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-04-02 08:52:55 +00:00