knu
4e7c81084e
* ext/sha1/sha1-ruby.c (sha1_hexdigest): fix buffer overflow. The
...
buffer for a SHA-1 hexdigest needs to be 41 bytes in length.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-24 20:41:51 +00:00
knu
10f407b84b
* MANIFEST: update the entries I forgot to add or remove.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-24 16:49:08 +00:00
knu
922a7182d8
Fix the previous ChangeLog entry.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-24 16:19:37 +00:00
knu
d6e985ad0b
* ext/sha1/sha1-ruby.c (md5i_new): separate initialize() from
...
new().
* ext/md5/md5init.c (sha1_new): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-24 16:00:54 +00:00
knu
dcd6223c64
* ext/dbm/extconf.rb: fix support for *BSD and set $CFLAGS
...
properly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-24 15:55:40 +00:00
eban
79f2ee2f04
* mkconfig.rb: autoconf 2.50 support.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-24 07:13:56 +00:00
matz
0fb0d42369
* eval.c (rb_yield_0): need argument adjustment for C defined
...
blocks too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-24 06:10:36 +00:00
matz
2287c526be
* eval.c (rb_yield_0): need argument adjustment for C defined
...
blocks too.
* ext/dbm/extconf.rb: header search added. [new]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-24 05:28:15 +00:00
matz
315cd83418
* variable.c (rb_alias_variable): should not allow variable
...
aliasing if $SAFE >= 4.
* parse.y (expr): "break" and "next" to take optional expression,
which is used as a value for termination. [new, experimental]
* eval.c (rb_eval): "break" can give value to terminating method.
* eval.c (rb_eval): "break" and "next" to take optional expression.
* eval.c (rb_yield_0): "next" can give value to terminating "yield".
* eval.c (rb_iterate): "break" can give value to terminating method.
* eval.c (proc_call): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-22 08:28:11 +00:00
matz
ed6a2bd29f
* bignum.c (rb_big2str): t should be protected from GC.
...
* process.c (rb_proc_times): need not to check retrun value from
times(2).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-21 04:22:54 +00:00
knu
4a14c9ceb9
* ext/extmk.rb.in (xsystem): backout the previous fix which was
...
bogus.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-17 20:37:25 +00:00
knu
0eea0bf571
* lib/mkmf.rb (xsystem): make a temporary fix to get $(...) macros
...
properly expanded on a command execution.
* ext/extmk.rb.in (xsystem): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-17 20:23:08 +00:00
knu
156b183551
* lib/mkmf.rb: unbreak "make install". lib/* must be installed
...
under $rubylibdir, not under $libdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-17 18:50:50 +00:00
knu
98e79eccdf
* ext/sha1/sha1-ruby.c (sha1_new): get rid of an unneeded
...
rb_obj_call_init() call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-17 16:13:34 +00:00
knu
7a140a3cb0
* ext/sha1/sha1.txt, ext/sha1/sha1.txt.jp: fix typos.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-17 16:05:49 +00:00
knu
7c3df3e99e
Adjust indents and blank lines.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-17 11:04:15 +00:00
knu
491c26f3ef
* lib/shell.rb, lib/shell/process-controller.rb,
...
lib/shell/command-processor.rb: translate Japanese comments into
English.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-17 10:19:45 +00:00
knu
4578a096d1
Yay, shell.rb is back!
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-17 10:12:10 +00:00
knu
d9a07d5506
* doc/shell.rd.jp: RD'ify and make some fixes.
...
* doc/shell.rd: RD'ify, delete Japanese leftovers, make overall
English fixes, and sync with doc/shell.rd.jp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-17 10:09:49 +00:00
knu
d9350f5600
Initial revision
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-17 10:02:47 +00:00
matz
c2fa753f7d
* eval.c (rb_call0): address of local_vars might change during eval.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-17 08:49:44 +00:00
knu
ddb81a78f3
Add .cvsignore to let CVS ignore Makefile which is automatically
...
generated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-17 07:13:18 +00:00
eban
929f31409e
* ext/sha1/MANIFEST: Added.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-17 05:28:39 +00:00
knu
8d1201cc55
Add a missed ChangeLog entry.
...
Tue May 8 18:28:19 2001 Keiju Ishitsuka <keiju@ishitsuka.com>
* lib/irb.rb lib/irb/multi-irb.rb lib/irb/ruby-lex.rb
lib/irb/version.rb resolve ctrl-c problem
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-16 23:39:28 +00:00
knu
43f76f99b7
* ext/md5/md5.txt.jp, ext/sha1/sha1.txt.jp: s/SuperClass/Superclass/.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-16 22:28:40 +00:00
knu
23423d7d03
* ext/Setup.dj, ext/Setup.emx, ext/Setup.nt, ext/Setup.x68:
...
compile sha1 in as well as md5.
* ext/Setup: put sha1 in a comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-16 22:25:02 +00:00
knu
a57dc21ef0
* ext/sha1/sha1.txt.jp: add the Japanese version derived from
...
ext/md5/md5.txt.jp.
* ext/sha1/sha1.txt: revise the copyright info and reduce the
difference from ext/md5/md5.txt.
* ext/md5/md5.txt: reduce the difference from ext/sha1/sha1.txt.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-16 22:19:30 +00:00
knu
ca841613cd
* ext/sha1/extconf.rb, ext/sha1/sha1.c: use WORDS_BIGENDIAN to
...
detect the platform's endian.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-16 22:14:01 +00:00
knu
5348fd7d4a
Initial revision
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-16 22:07:28 +00:00
knu
4202ff1a9f
* ext/md5/md5.txt: make wording fixes, and mention the newly added
...
method: "<<".
* ext/md5/md5.txt.jp: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-16 21:34:18 +00:00
knu
b7d38617e3
(This is a forced commit to put the log entry for the previous commit)
...
* ext/md5/md5init.c: add an instance method "<<" as an alias for
"update". (inspired by Steve Coltrin's ruby-sha1)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-16 21:16:02 +00:00
knu
8bd77e8db4
Add a missed entry.
...
* ext/md5/md5init.c: add an instance method "<<" as an alias for
"update". (inspired by Steve Coltrin's ruby-sha1)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-16 21:14:27 +00:00
matz
f84f4aa6b3
* array.c (rb_ary_and): should not push frozen key string.
...
* array.c (rb_ary_or): ditto.
* eval.c (rb_thread_schedule): should save context before raising
deadlock, saved context for current thread might be obsolete.
* time.c (make_time_t): non DST timezone shift supported (hopefully).
* time.c (make_time_t): strict range detection for negative time_t.
* signal.c: SIGINFO added.
* eval.c (rb_ensure): should not SEGV when prot_tag is NULL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-16 09:05:54 +00:00
usa
59d82a928a
* win32/resource.rb: Modify copyright in resource script.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-13 14:51:45 +00:00
usa
0f55389d96
* win32/win32.c (kill): add support of signal 9 on mswin32/mingw32.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-12 06:47:24 +00:00
knu
fd379cd7f0
Put some missed entries to the ChangeLog.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-11 17:16:54 +00:00
eban
84eff7b142
* ruby.h (rb_string_value): add volatile to avoid compiler warning.
...
* string.c (rb_string_value): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-11 06:13:45 +00:00
matz
cc043890f8
* bignum.c (bigdivrem): access boundary bug.
...
* marshal.c (w_object): prohibit dumping out singleton classes.
* object.c (rb_mod_to_s): distinguish singleton classes.
* variable.c (rb_class2name): it's ok to reveal NilClass,
TrueClass, FalseClass.
* eval.c (rb_yield_0): preserve and restore ruby_cref as well.
* eval.c (is_defined): core dumped during instance_eval for
special constants.
* eval.c (rb_eval): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-11 05:24:59 +00:00
knu
076ef717ac
* Document find_library(), with_config() and dir_config().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-10 18:38:11 +00:00
knu
a403487cb3
* Remove the description of find_header() because such a function does
...
not actually exist.
* Update the description of dir_config().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-10 18:37:52 +00:00
knu
3f20c804bc
Fix CVS access and mailing lists info.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-10 17:42:40 +00:00
keiju
3c1264113e
*** empty log message ***
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-08 09:28:19 +00:00
knu
6ea8746048
Hit =begin' and
=end' in proper places so rd2 can format them
...
without a problem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-07 23:52:57 +00:00
knu
32d17e265c
Initial revision
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-07 23:38:52 +00:00
knu
6bbab099c0
Convert from JIS to EUC.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-07 23:35:09 +00:00
knu
dbe06b680b
Obsoleted by IRB.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-07 18:46:39 +00:00
eban
581f7b863b
* ext/dbm/extconf.rb: fix for FreeBSD and GDBM.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-07 10:56:01 +00:00
matz
13cbec33c1
* parse.y (arg): "||=" should not warn for uninitialized instance
...
variables.
* eval.c (rb_eval): ditto.
* eval.c (eval): preserve and restore ruby_cref as well.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-07 09:26:29 +00:00
eban
075169f071
* lib/ftools.rb (syscopy): chmod destination file only if
...
it does not exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-07 06:57:40 +00:00
eban
e9d89f20a9
rb_eGDBMFatalErrors -> rb_eGDBMFatalError
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2001-05-06 16:37:38 +00:00