summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* * io.c (argf_to_io): should prefetch argv.matz2003-02-213-1/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_f_require): do not need to abort if a DLEXT fileeban2003-02-213-6/+8
| | | | | | | is not found. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * mdoc2man.rb: New file. A mdoc to man converter ported fromknu2003-02-204-6/+74
| | | | | | | | | | | | | | | | | Perl. [merged from 1.8] * configure.in (MANTYPE): Detect if the system's nroff(1) groks mdoc. Provide a new option --with-mantype={doc|man} in case the check does not work as expected. [merged from 1.8] * Makefile.in (MANTYPE): Define MANTYPE and pass it to instruby.rb. [merged from 1.8] * instruby.rb: Convert mdoc manpages to man for systems which nroff(1) does not grok mdoc. [merged from 1.8] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb, lib/uri/ldap.rb, lib/uri/mailto.ldap: all foo=()akira2003-02-146-10/+33
| | | | | | | | | | | | | | returns arguments passed by caller. * lib/uri/generic.rb (Generic#to_str, Generic#to_s): removed to_str. Suggested by Tanaka Akira <akr@m17n.org> at [ruby-dev:19475]. * lib/uri/generic.rb (Generic#==): should not generate an URI object from argument. Suggested by Tanaka Akira <akr@m17n.org> at [ruby-dev:19475]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): script argument is in effect only when -e is not given.nobu2003-02-132-11/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-02-13nobu2003-02-131-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (ruby_init_loadpath): ensures buffer terminatednobu2003-02-132-9/+16
| | | | | | | | | | before use strncpy(). * ruby.c (proc_options): avoid SEGV at -S with no arguments. (ruby-bugs-ja:PR#391) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-02-08knu2003-02-071-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/context.rb, lib/irb/multi-irb.rb, lib/irb/workspace.rb,knu2003-02-0710-35/+43
| | | | | | | | | | lib/irb/lc/error.rb, lib/irb/lc/help-message, lib/irb/lc/ja/error.rb, lib/shell/command-processor.rb, lib/shell/error.rb, lib/shell/filter.rb: Fix typos and grammos. [approved by: keiju] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-02-04eban2003-02-041-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (get_syserr): typo fix.eban2003-02-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (argf_getline): should not increment lineno at EOF.matz2003-02-048-7/+24
| | | | | | | * error.c (set_syserr): should preserve duplicated error names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-01-27eban2003-01-271-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (get_syserror): use snprintf() instead of sprintf(). pointedusa2003-01-262-2/+8
| | | | | | | out by knu. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (get_syserror): some Windows' errno have 5 digits.usa2003-01-262-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_6'.(no author)2003-01-201-0/+465
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/shellwords.rb (shellwords): A backslash ('\') in singleknu2003-01-192-2/+7
| | | | | | | | quotes should not be regarded as meta character. This bug or maybe feature was inherited from Perl's shellwords.pl. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-01-17knu2003-01-161-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_f_sprintf): Fix a bug caused by an uninitializedknu2003-01-162-11/+40
| | | | | | | | | | | | | variable v, that a bignum unexpectedly gets converted into a string with its higher figures all filled with ./f/7/1, depending on the base. This bug seems to have been introduced in rev.1.11.2.4, before the 1.6.8 release. * sprintf.c (rb_f_sprintf): Use switch instead of a sequence of else-if's. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_f_require): do not search adding .rb/.so suffixes ifnobu2003-01-142-3/+13
| | | | | | | | the suffix specifiched. [ruby-dev:18702] http://moonrock.jp/~don/d/200211.html#d08_t1 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-01-14eban2003-01-141-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (next_argv): not always set binmode.nobu2003-01-132-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * commit miss.eban2003-01-130-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was manufactured by cvs2svn to create branch 'ruby_1_6'.(no author)2003-01-131-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (next_argv): inherit binmode from $defout.eban2003-01-125-4/+24
| | | | | | | | * configure.in: better DJGPP support. add GNUmakefile. * djgpp/GNUmakefile: new. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (DLDLIBS): do not add "-lc" on DJGPP.eban2003-01-112-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-01-11eban2003-01-111-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_CHECK_IO_NEED): added more tests.nobu2003-01-103-17/+28
| | | | | | | * io.c (rb_io_check_readable): seek after synchronized write. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-font-lock-syntactic-keywords): syntaxnobu2003-01-092-4/+10
| | | | | | | | classes are not allowed inside character classes. [ruby-talk:60996] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: AC_MSG_FAILURE is a new macro in 2.54b or later.nobu2003-01-092-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* also rb_io_putc().nobu2003-01-092-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_write): set FMODE_WBUF flag unless flushed.nobu2003-01-092-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-01-09eban2003-01-091-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_find_file_ext): sync with Ruby 1.8. ([ruby-talk:56407])eban2003-01-092-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_CHECK_IO_NEED): check whether fseek() andnobu2003-01-095-13/+126
| | | | | | | | | | | | | | | | | | fflush() are needed. * io.c (flush_before_seek): flush before seek if buffered data may remain. * io.c (rb_io_check_readable): seek if the last operation was write. * io.c (rb_io_check_writable): seek if the last operation was read. * rubyio.h (FMODE_RBUF, FMODE_WBUF): added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * struct.c (make_struct): needs meta class.nobu2003-01-052-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-01-05nobu2003-01-051-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (ruby_init_loadpath): under Windows, get the modulenobu2003-01-054-7/+15
| | | | | | | | | | | path from an internal address instead of hard coded library name. * cygwin/GNUmakefile.in, win32/Makefile.sub (CPPFLAGS): removed LIBRUBY_SO macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * defines.h (FLUSH_REGISTER_WINDOWS): Make the flushw call anknu2003-01-041-1/+1
| | | | | | | | | | | | inline function so it can be used as an expression. * eval.c (EXEC_TAG, THREAD_SAVE_CONTEXT): Consistently call FLUSH_REGISTER_WINDOWS before calling setjmp(). (I suspect that every setjmp() implementation should take care of register windows, though) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * defines.h (FLUSH_REGISTER_WINDOWS): Make the flushw call anknu2003-01-043-9/+25
| | | | | | | | | | | | inline function so it can be used as an expression. * eval.c (EXEC_TAG, THREAD_SAVE_CONTEXT): Consistently call FLUSH_REGISTER_WINDOWS before calling setjmp(). (I suspect that every setjmp() implementation should take care of register windows, though) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dbm/extconf.rb (-DDBM_HDR): substitute ' with " to avoideban2003-01-013-2/+11
| | | | | | | | a error on Win32. * win32/win32.h: better MinGW support. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix typos I made.knu2002-12-311-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-01-01nobu2002-12-311-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (init_funcname): get rid of gcc-3 -O3 warning.nobu2002-12-319-18/+40
| | | | | | | | | | | | | | | | | | | | | * eval.c (copy_node_scope): ditto. * error.c (err_snprintf): ditto. * file.c (rb_file_s_chmod): ditto. * hash.c (delete_if_i, each_value_i, each_key_i, each_pair_i, envix): ditto. * io.c (rb_sysopen, rb_file_sysopen_internal): ditto. * process.c (security): ditto. * ext/socket/socket.c (tcp_s_gethostbyname, ip_s_getaddress): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix a typo.knu2002-12-311-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Improve OpenBSD support. [obtained from: OpenBSDknu2002-12-315-30/+37
| | | | | | | | | | | | | | | | | ports] * dln.c (FUNCNAME_PATTERN): Ditto. * ext/tcltklib/extconf.rb (find_tcl, find_tk): Look for both lib{tcl,tk}M.N and lib{tcl,tk}MN on all platforms. *BSD have Tcl/Tk libraries named this way. * ext/socket/addrinfo.h (NI_MAXHOST): Define NI_MAXHOST and NI_MAXHOST only if they are not defined yet. This fixes build on such platforms as OpenBSD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * defines.h (FLUSH_REGISTER_WINDOWS): Add support forknu2002-12-312-1/+8
| | | | | | | FreeBSD/sparc64. Now ruby builds fine and make test passes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mdoc'ify.knu2002-12-302-254/+273
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sample/rename.rb does not exist any more.knu2002-12-241-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 021224matz2002-12-242-6/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e