aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * variable.c (rb_mod_const_at): use hash table as internalmatz2001-06-0510-228/+399
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@1504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in, lib/mkmf.rb (xsystem): write log file.eban2001-06-052-19/+9
| | | | | | | print command line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/etc/extconf.rb: use egrep_cpp.eban2001-06-052-11/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add doc/NEWS.eban2001-06-041-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add NEWS, in which we describe the changes that affect users.knu2001-06-041-0/+261
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/shellwords.rb: don't destroy argument.wakou2001-06-032-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/session.rb: don't use module_function for Class.shugo2001-06-022-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * irb messages: fix typos.keiju2001-06-015-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (replace_i): ignore when key == Qundef.matz2001-06-012-1/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (call_args2): confusion with list_append() andmatz2001-06-012-4/+9
| | | | | | | list_concat() was fixed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yylex): fixed 'print CGI::bar() {}, "\n"' syntaxmatz2001-06-015-12/+30
| | | | | | | | | | | 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@1485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2001-06-01eban2001-06-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: use waitpid on mingw32.eban2001-06-013-2/+9
| | | | | | | * ext/dbm/extconf.rb: include <ndbm.h>, not <gdbm.h>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb, ext/configsub.rb: VERSION -> RUBY_VERSION.eban2001-05-313-5/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/dir.h: re-add.usa2001-05-302-0/+24
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: default --with-libc_r to `no' until the problem isknu2001-05-302-1/+6
| | | | | | | fixed. (FreeBSD only) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): unexpected SecurityError happens when -T4.matz2001-05-3024-420/+922
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@1476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): unexpected SecurityError happens when -T4.matz2001-05-308-29/+1415
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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_finish): removed. * string.c (rb_str_buf_new): buffering string function. [new] * string.c (rb_str_buf_append): ditto. * string.c (rb_str_buf_cat): ditto. * string.c (rb_str_buf_finish): ditto. * time.c (make_time_t): local time adjustment revised. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: remove unnecessary AC_CANONICAL_BUILDeban2001-05-288-20/+43
| | | | | | | | | | | | | * 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: svn+ssh://ci.ruby-lang.org/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-282-17/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2001-05-28eban2001-05-281-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): teach has_magic() to handle flags and getknu2001-05-272-17/+30
| | | | | | | | | | 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@1468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revise more.knu2001-05-261-5/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Sync with reality.knu2001-05-261-21/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Synchronize MANIFEST with reality. Add missing files.knu2001-05-265-47/+584
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add win32/dir.h .usa2001-05-252-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: typo.eban2001-05-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sha1/sha1-ruby.c (sha1_hexdigest): fix buffer overflow. Theknu2001-05-242-1/+6
| | | | | | | 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
* * MANIFEST: update the entries I forgot to add or remove.knu2001-05-242-4/+33
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix the previous ChangeLog entry.knu2001-05-241-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sha1/sha1-ruby.c (md5i_new): separate initialize() fromknu2001-05-243-12/+43
| | | | | | | | | 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
* * ext/dbm/extconf.rb: fix support for *BSD and set $CFLAGSknu2001-05-242-5/+8
| | | | | | | properly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: autoconf 2.50 support.eban2001-05-242-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_yield_0): need argument adjustment for C definedmatz2001-05-247-143/+224
| | | | | | | blocks too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_yield_0): need argument adjustment for C definedmatz2001-05-241-9/+28
| | | | | | | | | 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
* * variable.c (rb_alias_variable): should not allow variablematz2001-05-226-48/+88
| | | | | | | | | | | | | | | | | | | | 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
* * bignum.c (rb_big2str): t should be protected from GC.matz2001-05-215-21/+34
| | | | | | | | * 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
* * ext/extmk.rb.in (xsystem): backout the previous fix which wasknu2001-05-172-1/+5
| | | | | | | bogus. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (xsystem): make a temporary fix to get $(...) macrosknu2001-05-173-0/+9
| | | | | | | | | 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
* * lib/mkmf.rb: unbreak "make install". lib/* must be installedknu2001-05-172-2/+7
| | | | | | | under $rubylibdir, not under $libdir. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sha1/sha1-ruby.c (sha1_new): get rid of an unneededknu2001-05-172-1/+5
| | | | | | | rb_obj_call_init() call. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sha1/sha1.txt, ext/sha1/sha1.txt.jp: fix typos.knu2001-05-173-4/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Adjust indents and blank lines.knu2001-05-171-44/+58
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/shell.rb, lib/shell/process-controller.rb,knu2001-05-174-30/+30
| | | | | | | | 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
* Yay, shell.rb is back!knu2001-05-171-0/+273
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * doc/shell.rd.jp: RD'ify and make some fixes.knu2001-05-173-410/+535
| | | | | | | | * 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
* Initial revisionknu2001-05-179-0/+1890
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_call0): address of local_vars might change during eval.matz2001-05-173-13/+31
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add .cvsignore to let CVS ignore Makefile which is automaticallyknu2001-05-171-0/+1
| | | | | | | generated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/sha1/MANIFEST: Added.eban2001-05-171-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e