summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * variable.c (rb_mod_const_at): use hash table as internalmatz2001-06-051-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | data. [new] * variable.c (rb_mod_const_of): ditto. * variable.c (rb_const_list): new function to convert internal data (hash table) to array of strings. * eval.c (rb_mod_s_constants): data handling scheme has changed. * eval.c (rb_add_method): should not call rb_secure(), for last_func may not be set. * io.c (rb_io_ctl): ioctl should accept any integer within C long range. * marshal.c (r_object): wrong type check for modules. * marshal.c (w_object): should not dump anonymous classes/modules. * io.c (rb_open_file): use rb_file_sysopen_internal() if the 3rd argument (permission flags) is given. [new, should be backported?] * io.c (rb_io_mode_binmode): mode string (e.g. "r+") to flags to open(2). * eval.c (rb_eval): NODE_REXPAND expand an array of 1 element as the element itself. [new, should be backported?] * parse.y (ret_args): should treat "*[a]" in rhs expression as "a", not "[a]". * regex.c (re_compile_pattern): should push option modifier at the right place. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/etc/extconf.rb: use egrep_cpp.eban2001-06-051-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/shellwords.rb: don't destroy argument.wakou2001-06-031-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb: don't use module_function for Class.shugo2001-06-021-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * irb messages: fix typos.keiju2001-06-011-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (replace_i): ignore when key == Qundef.matz2001-06-011-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (call_args2): confusion with list_append() andmatz2001-06-011-0/+5
| | | | | | | list_concat() was fixed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yylex): fixed 'print CGI::bar() {}, "\n"' syntaxmatz2001-06-011-0/+13
| | | | | | | | | | | breakage, adding new lex_state status. sigh. [new] * file.c (rb_file_s_unlink): should not allow if $SAFE >= 2. * range.c (Init_Range): define "to_ary". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: use waitpid on mingw32.eban2001-06-011-0/+6
| | | | | | | * ext/dbm/extconf.rb: include <ndbm.h>, not <gdbm.h>. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb, ext/configsub.rb: VERSION -> RUBY_VERSION.eban2001-05-311-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/dir.h: re-add.usa2001-05-301-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: default --with-libc_r to `no' until the problem isknu2001-05-301-0/+5
| | | | | | | fixed. (FreeBSD only) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): unexpected SecurityError happens when -T4.matz2001-05-301-0/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * regex.c (re_compile_pattern): * \1 .. \9 should be backreferences always. * regex.c (re_match): backreferences corresponding to unclosed/unmatched parentheses should fail always. * string.c (rb_str_cat): use rb_str_buf_cat() if possible. [new] * string.c (rb_str_append): ditto. * string.c (rb_str_buf_cat): remove unnecessary check (type, taint, modify) to gain performance. * string.c (rb_str_buf_append): ditto. * string.c (rb_str_buf_new): buffering string function. [new] * string.c (rb_str_buf_append): ditto. * string.c (rb_str_buf_cat): ditto. * time.c (make_time_t): local time adjustment revised. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: remove unnecessary AC_CANONICAL_BUILDeban2001-05-281-3/+21
| | | | | | | | | | | | | * defins.h: #define HAVE_SETITIMER on Cygwin(bug fixed). * ruby.c: use relative path from LIBRUBY_SO. * ruby.c: don't use -mwin32 option on Cygwin. * cygwin/GNUmakefile.in: ditto. * ext/sdbm/_sdbm: ditto. * ext/tcltklib/extconf.rb: ditto. * ext/tcltklib/stubs.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extconf.rb.in: make the priority of the make rule of .c higher than .C .usa2001-05-281-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): teach has_magic() to handle flags and getknu2001-05-271-0/+8
| | | | | | | | | | glob_helper to properly support FNM_NOESCAPE. * dir.c (fnmatch): fix a bug when FNM_PATHNAME and FNM_PERIOD are specified at the same time. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add win32/dir.h .usa2001-05-251-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sha1/sha1-ruby.c (sha1_hexdigest): fix buffer overflow. Theknu2001-05-241-0/+5
| | | | | | | buffer for a SHA-1 hexdigest needs to be 41 bytes in length. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: update the entries I forgot to add or remove.knu2001-05-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix the previous ChangeLog entry.knu2001-05-241-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sha1/sha1-ruby.c (md5i_new): separate initialize() fromknu2001-05-241-0/+7
| | | | | | | | | new(). * ext/md5/md5init.c (sha1_new): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dbm/extconf.rb: fix support for *BSD and set $CFLAGSknu2001-05-241-0/+5
| | | | | | | properly. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: autoconf 2.50 support.eban2001-05-241-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_yield_0): need argument adjustment for C definedmatz2001-05-241-0/+14
| | | | | | | blocks too. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_alias_variable): should not allow variablematz2001-05-221-0/+20
| | | | | | | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@1441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big2str): t should be protected from GC.matz2001-05-211-0/+13
| | | | | | | | * process.c (rb_proc_times): need not to check retrun value from times(2). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in (xsystem): backout the previous fix which wasknu2001-05-171-0/+5
| | | | | | | bogus. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (xsystem): make a temporary fix to get $(...) macrosknu2001-05-171-0/+7
| | | | | | | | | properly expanded on a command execution. * ext/extmk.rb.in (xsystem): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: unbreak "make install". lib/* must be installedknu2001-05-171-0/+5
| | | | | | | under $rubylibdir, not under $libdir. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sha1/sha1-ruby.c (sha1_new): get rid of an unneededknu2001-05-171-0/+5
| | | | | | | rb_obj_call_init() call. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sha1/sha1.txt, ext/sha1/sha1.txt.jp: fix typos.knu2001-05-171-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Adjust indents and blank lines.knu2001-05-171-44/+58
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/shell.rb, lib/shell/process-controller.rb,knu2001-05-171-0/+6
| | | | | | | | lib/shell/command-processor.rb: translate Japanese comments into English. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/shell.rd.jp: RD'ify and make some fixes.knu2001-05-171-0/+7
| | | | | | | | * doc/shell.rd: RD'ify, delete Japanese leftovers, make overall English fixes, and sync with doc/shell.rd.jp. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call0): address of local_vars might change during eval.matz2001-05-171-9/+23
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add a missed ChangeLog entry.knu2001-05-161-0/+5
| | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@1414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/md5/md5.txt.jp, ext/sha1/sha1.txt.jp: s/SuperClass/Superclass/.knu2001-05-161-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/Setup.dj, ext/Setup.emx, ext/Setup.nt, ext/Setup.x68:knu2001-05-161-0/+7
| | | | | | | | | compile sha1 in as well as md5. * ext/Setup: put sha1 in a comment. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sha1/sha1.txt.jp: add the Japanese version derived fromknu2001-05-161-0/+10
| | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@1410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sha1/extconf.rb, ext/sha1/sha1.c: use WORDS_BIGENDIAN toknu2001-05-161-0/+5
| | | | | | | detect the platform's endian. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/md5/md5.txt: make wording fixes, and mention the newly addedknu2001-05-161-0/+7
| | | | | | | | | method: "<<". * ext/md5/md5.txt.jp: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add a missed entry.knu2001-05-161-0/+5
| | | | | | | | * ext/md5/md5init.c: add an instance method "<<" as an alias for "update". (inspired by Steve Coltrin's ruby-sha1) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_and): should not push frozen key string.matz2001-05-161-0/+23
| | | | | | | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@1399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/resource.rb: Modify copyright in resource script.usa2001-05-131-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (kill): add support of signal 9 on mswin32/mingw32.usa2001-05-121-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Put some missed entries to the ChangeLog.knu2001-05-111-0/+38
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h (rb_string_value): add volatile to avoid compiler warning.eban2001-05-111-0/+6
| | | | | | | * string.c (rb_string_value): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bigdivrem): access boundary bug.matz2001-05-111-0/+24
| | | | | | | | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@1389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (arg): "||=" should not warn for uninitialized instancematz2001-05-071-0/+18
| | | | | | | | | | | variables. * eval.c (rb_eval): ditto. * eval.c (eval): preserve and restore ruby_cref as well. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ftools.rb (syscopy): chmod destination file only ifeban2001-05-071-0/+5
| | | | | | | it does not exist. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e