summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * ext/extmk.rb.in: Use -F and -T for mswin32 because cl.exe doesn't support ↵usa2001-06-095-75/+142
| | | | | | | | | | | -o officially and cl.exe considers that *.cc and *.cxx are OBJs. * lib/mkmf.rb: ditto. * win32/Makefile.sub: Use del instead of rm. All these changes are derived from Nobuyoshi Nakada's patch. Thanks. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add an entry.knu2001-06-091-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove debug printfmatz2001-06-081-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (Init_stack): avoid __builtin_frame_address(2) to retrievematz2001-06-089-21/+170
| | | | | | | | | | | | | | | stack bottom line. * st.c (numhash): should shuffle bits by dividing by prime number. * eval.c (rb_eval): multiple assignment behavior fixed, which results "*a = nil" makes "a == []" now. * eval.c (rb_f_require): should set SCOPE_PUBLIC before calling dln_load(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yylex): incomplete fix.matz2001-06-071-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yylex): exclude kDO_BLOCK too much by false condition.matz2001-06-073-7/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/sync.rb: bug fix if obj.initialize has parameters whenkeiju2001-06-063-53/+54
| | | | | | | | | obj.extend(Sync_m) * lib/mutex_m.rb: modified bit git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bug fix for obj.extend(Mutex_m).keiju2001-06-061-8/+21
| | | | | | | This is patched by akira yamada. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_load): should check if tainted even when wrap ismatz2001-06-064-23/+12
| | | | | | | | | | specified. * regex.c (re_compile_pattern): too much optimization for the cases like /(.|a)b/. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (aref_args): "*arg" should always be expanded by REXPAND.matz2001-06-065-55/+82
| | | | | | | * variable.c (fc_i): removed vast string allocation. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update.knu2001-06-051-0/+32
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (Init_Exception): NameError went under StandardError,matz2001-06-054-12/+33
| | | | | | | | | | and NoMethodError went under NameError. * parse.y (rb_intern): non identifier symbols should be categorized as ID_JUNK. [new] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@1502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/etc/extconf.rb: use egrep_cpp.eban2001-06-052-11/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add doc/NEWS.eban2001-06-041-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@1492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/shellwords.rb: don't destroy argument.wakou2001-06-032-1/+5
| | | | 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-022-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * irb messages: fix typos.keiju2001-06-015-4/+8
| | | | 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-012-1/+8
| | | | 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-012-4/+9
| | | | | | | 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-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: http://svn.ruby-lang.org/repos/ruby/trunk@1485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2001-06-01eban2001-06-011-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@1481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb, ext/configsub.rb: VERSION -> RUBY_VERSION.eban2001-05-313-5/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/dir.h: re-add.usa2001-05-302-0/+24
| | | | 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-302-1/+6
| | | | | | | 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-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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: 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-282-17/+19
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2001-05-28eban2001-05-281-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@1468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revise more.knu2001-05-261-5/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Sync with reality.knu2001-05-261-21/+27
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Synchronize MANIFEST with reality. Add missing files.knu2001-05-265-47/+584
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add win32/dir.h .usa2001-05-252-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mkconfig.rb: typo.eban2001-05-251-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: 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-242-4/+33
| | | | 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-243-12/+43
| | | | | | | | | 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-242-5/+8
| | | | | | | 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-242-2/+6
| | | | 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-247-143/+224
| | | | | | | blocks too. git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: 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-215-21/+34
| | | | | | | | * 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-172-1/+5
| | | | | | | bogus. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e