Граф коммитов

3296 Коммитов

Автор SHA1 Сообщение Дата
dave 5d716f9303 Fix :enddoc"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-10 14:51:58 +00:00
dave 1f3819adc8 Fixed problem with \_cat_<b>dog</b>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-09 15:01:53 +00:00
ocean ae9512fcf6 * dir.c (has_magic, find_dirsep): incomplete '[' matches no character
in Dir.glob. (follows File.fnmatch's behavior)

* dir.c (fnmatch_helper): incomplete escape is ignored in File.fnmatch.
  (follows Dir.glob's behavior)

* dir.c (find_dirsep): '/' between '[' and ']' is ignored in Dir.glob.
  (follows File.fnmatch with File::FNM_PATHNAME 's behavior)

* dir.c (find_dirsep): escaped slash '\/' loses its meaning as
  directory separator in Dir.glob.

[ruby-dev:23291]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-09 08:06:01 +00:00
nobu d9420d0568 commit miss. _no
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-08 11:37:25 +00:00
nobu eb1fa257b5 * test/drb/drbtest.rb, test/soap/calc/test_calc_cgi.rb: restore $:
after require.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-08 11:25:24 +00:00
nobu fa7a5d5477 * ext/extmk.rb (extmake): skip uncompiled extensions.
* lib/mkmf.rb (create_makefile): emit no rules for static library if
  $static is nil, e.g., outside of ext/.

* lib/test/unit/ui/console/testrunner.rb (test_started): show test
  name via $0.

* runruby.rb: set environments to use the compiled binary.

* test/runner.rb: do nothing while cross-compiling.

* test/drb/drbtest.rb, test/soap/calc/test_calc_cgi.rb: use envutil to
  know ruby binary.

* test/ruby/envutil.rb: give priority to RUBY environment variable to
  use just compiled binary and libraries.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-08 10:45:21 +00:00
nobu 4732bf25f5 * io.c (rb_io_binmode): inverted condition. [ruby-dev:23349]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-08 10:03:38 +00:00
nobu 51c8d62bff * ext/iconv/iconv.c (iconv_s_list): return encoding list if no block
is given.  [ruby-dev:23063]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-08 09:22:04 +00:00
matz df84c64be9 * pack.c (pack_pack): use NUM2INT() instead of num2i32().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-07 06:30:15 +00:00
kou 8dfa6fb0a8 * lib/rss/parser.rb, lib/rss/1.0.rb: accepted rdf:resource or
resource attribute in rdf:li.
* test/rss/test_parser.rb: added test for above change.
* lib/rss/dublincore.rb: reverted style.
* lib/rss/xmlparser.rb: normalized XMLParser class hierarchy.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-07 03:36:38 +00:00
matz 4ded52b623 * file.c (rb_get_path): get path string via "to_path" method if
path object is not a string. [Ruby2]

* gc.c (rb_gc_call_finalizer_at_exit): do not free threads in the
  exit finalizers.

* io.c (rb_io_reopen): should use rb_io_check_io().


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-07 02:51:05 +00:00
nobu 43db576e61 * Makefile.in, common.mk, */Makefile.sub (ext/extinit.o): OUTFLAG
doesn't work for object files on VC.

* */Makefile.sub (config.h): need SIZEOF_TIME_T now.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-07 01:43:27 +00:00
seki 3d359cecd8 fix hash tuple bug
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-06 15:26:25 +00:00
akr 383964bc30 * configure.in: check the size of time_t.
* time.c (time_add): new function.
  (time_plus): use time_add.
  (time_minus): use time_add.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-06 07:48:38 +00:00
usa 3f56949401 * ext/socket/socket.c (raise_socket_error): never return.
* ext/socket/socket.c (make_hostent): must return value.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-06 04:13:24 +00:00
matz ce44928d2b * error.c (Init_Exception): remove Exception#to_str. [Ruby2]
* eval.c (error_print): should no call "to_str" anymore use
  "message" method instead.

* io.c (rb_f_open): Kernel#open() calls "to_open" if the first
  argument responds to it. [Ruby2]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 15:55:09 +00:00
seki cded3d5c93 add require "drb/drb"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 15:14:20 +00:00
akr 2f8c9ce629 * test/zlib/test_zlib.rb: new file.
(TestZlibGzipWriter#test_new_nil): test for [ruby-dev:23228].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 13:27:45 +00:00
aamine e5af80c697 * parse.y (assoc_list): {a: 1, b: 2} should be allowed. [ruby-dev:23328]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 13:16:40 +00:00
ksaito d0dec9337b * regexec.c: imported Oni Guruma 2.2.6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 10:44:44 +00:00
ksaito 62a7fde33b * regparse.c, oniguruma.h: imported Oni Guruma 2.2.6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 10:40:54 +00:00
usa 5acb4437c7 * ext/socket/socket.c (raise_socket_error): some platforms don't have
EAI_SYSTEM.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 03:14:05 +00:00
akr 2ca96a332b fix reference to ML: [ruby-dev:39475] to [ruby-list:39475].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 01:33:45 +00:00
dave f02159637a Remove leading ./ from filenames so that cross references work OK
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-04 23:19:58 +00:00
dave 440c26186c Allow multiple --exclude options to RDoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-04 05:03:00 +00:00
why 08cd3453b2 * ext/syck/syck.h: version 0.43.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-03 00:35:06 +00:00
why 28b79f3957 * ext/syck/lib/gram.c: allow root-level inline collections.
[ruby-talk:94922]

* lib/yaml/rubytypes.rb (Symbol#to_yaml): emit symbols as implicits.
  [ruby-talk:94930]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 23:31:14 +00:00
nobu 6ebad07ea1 * bcc32/Makefile.sub (OUTFLAG): needed for static-linked-ext.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 10:28:53 +00:00
nobu 5c51ccc35c * ext/extmk.rb (extmake): extract necessary variables for static link
from Makefile.

* lib/mkmf.rb (create_makefile): save preload and libpath for next
  compile.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 09:00:12 +00:00
matz c0ab40c785 * eval.c (top_include): include in the wrapped load is done for
the wrapper, not for a singleton class for wrapped main.
  [ruby-dev:23305]

* bignum.c (rb_big_eq): use temporary double variable to save the
  result (internal float register may be bigger than 64 bits, for
  example, 80 bits on x86).  [ruby-dev:23311]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 08:35:32 +00:00
matz 6c70639e7b * eval.c (block_pass): should increment unique identifier of the
block.  [ruby-talk:96363]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 05:38:07 +00:00
aamine 6dcbfbc525 * eval.c (Init_load): make $LOADED_FEATURES built-in. [ruby-dev:23299]
* ruby.c (ruby_prog_init): make $PROGRAM_NAME built-in.
* lib/English.rb: remove $LOADED_FEATURES and $PROGRAM_NAME.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 02:36:48 +00:00
matz b7552a5535 * ext/socket/socket.c: mistakingly removed do_not_reverse_lookup.
[ruby-dev:39475]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 02:15:25 +00:00
dave ef38efca9f Fix parse bug with toplevel methods. Allow RDoc in =begin rdoc/=end comments (experimental)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 01:20:58 +00:00
matz 64ec09d456 * ext/socket/socket.c (make_hostent): fix memory leak, based on
the patch from HORIKAWA Hisashi <vzw00011@nifty.ne.jp>.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-01 23:13:39 +00:00
nahi b37f4923e5 * lib/soap/mapping/{factory.rb,registry.rb}: fixed illegal mapped URI
object with soap/marshal.
          added URIFactory class for URI mapping.  BasetypeFactory checks
          instance_variables when original mapping is not allowed (ivar must
          be empty).  Instance of URI have instance_variables but it must be
          llowed whenever original mapping is allowed or not.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-01 10:58:17 +00:00
akr 9bf44e389e * time.c (year_leap_p): new function.
(timegm_noleapsecond): ditto.
  (search_time_t): use timegm_noleapsecond instead of
  mktime for first guess.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-31 10:27:58 +00:00
nobu 111d2ad8c5 * intern.h: provide proper prototypes. [ruby-core:02724]
* ruby.h: missing.h is now prerequisite to intern.h.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-31 03:05:22 +00:00
matz 189febdf24 * pack.c (pack_pack): raises RangeError if uv is out of UTF8 value
range.  [ruby-dev:23281]

* io.c (rb_io_binmode): stdio buffer should be empty when calling
  IO#binmode.  [ruby-talk:96155]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-31 02:59:57 +00:00
nobu d3bb9ea112 * lib/delegate.rb (DelegateClass): define internal methods of the
result class, but not metaclass of the caller.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-31 02:52:44 +00:00
akr 85000ef0be * time.c (search_time_t): limit guess range by mktime if it is
available.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-30 11:41:39 +00:00
akr 7bb7e17675 * time.c (search_time_t): limit guess range by mktime if it is
availabe.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-30 11:31:44 +00:00
nobu 058fd11019 * eval.c (rb_eval): fix SEGV at retry in iterator's receiver.
[ruby-dev:23227]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-30 09:19:06 +00:00
nobu 846f087a07 * process.c (rb_exec): follow older behavior if close-on-exec is not
available.

* process.c (rb_fork): protect from exceptions while waiting failed
  process, if status is given.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-29 11:17:21 +00:00
nobu 47f86aae0a * cygwin/GNUmakefile.in (clean-local, distclean-local): remove
work files.

* win32/Makefile.sub (clean-local): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-28 07:25:42 +00:00
aamine b81df5d837 * lib/net/pop.rb: def m( arg ) -> def m(arg).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-28 05:23:13 +00:00
aamine 111b11703d * lib/net/pop.rb (auth): failed when account/password include "%". [ruby-talk:95933]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-28 05:09:26 +00:00
akr c451c56b10 * (lib/open-uri.rb): permit extra semicolon in content-type field.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-27 12:43:02 +00:00
akr 4d664a098d * (lib/pp.rb, lib/prettyprint.rb): define seplist in PP::PPMethods
instead of PrettyPrint.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-27 01:46:05 +00:00
nahi 223d1cb77b * lib/logger.rb: trim tail space of each line. no user visible change.
* lib/rss/dublincore.rb: fixed class definition mismatch.

        * sample/openssl/gen_csr.rb: fixed wrong usage text.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-26 16:47:16 +00:00
dave 4cdf253e4d Add --version option to ri
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 14:19:22 +00:00
shigek aa9d57c873 Bug in + and - reported by Bret Jolly fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 12:50:21 +00:00
nobu ec37ab2efe * version.c (ruby_show_copyright): obtain copyright year from
RUBY_RELEASE_YEAR.

* win32/resource.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 12:01:41 +00:00
nobu b47d416046 * win32/resource.rb: default rubyw icon to ruby.ico, and let DLL also
include them.

* win32/resource.rb: include winver.h for older WindowsCE.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 10:37:39 +00:00
nobu 3b79d34d99 * common.mk, */Makefile.sub (lib, dll): phony targets.
* configure.in (ruby, miniruby): ditto.

* cygwin/GNUmakefile.in (rubyw): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 05:01:15 +00:00
dave e147632bff Add the --list-names option
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 19:17:42 +00:00
dave 16040850af Must now use "::" to separate nested classes. This fixes bug where "ri Kernel.Array" was looking for a class called Array
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 18:59:27 +00:00
dave 154c29be3a Get --one-page working with C code
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 17:01:11 +00:00
gsinclair 42ad5216ec * lib/uri.rb: Documented (thanks Dmitry V. Sabanin).
* lib/uri/common.rb: Ditto.
 * lib/uri/ftp.rb: Ditto.
 * lib/uri/generic.rb: Ditto.
 * lib/uri/http.rb: Ditto.
 * lib/uri/https.rb: Ditto.
 * lib/uri/ldap.rb: Ditto.
 * lib/uri/mailto.rb: Ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 11:53:31 +00:00
nobu 5e23ff603f * lib/mkmf.rb ($ruby, $topdir, $hdrdir): should not be affected by
DESTDIR after installed.

* lib/mkmf.rb (dummy_makefile): default file lists to be cleaned.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 09:48:09 +00:00
dave 91faa496b3 Don't be as eager to invent classes to document
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 03:35:24 +00:00
dave fdef713db1 Allow templates to be specified outside the RDoc tree
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 02:14:19 +00:00
dave 124a20d3d2 Allow templates to be specified outside the RDoc tree
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 02:14:18 +00:00
matz a43eeaef75 * lib/tempfile.rb (Tempfile::_close): should not clear @tmpname
until the file is really removed. [ruby-core:02684]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 01:08:20 +00:00
matz 4f0ef242cc * object.c (rb_mod_cvar_get): new method Module#class_variable_get.
* object.c (rb_mod_cvar_set): ditto (Module#class_variable_set).

* eval.c (rb_thread_atfork): 1.9 warns no more for thread
  termination.  [ruby-dev:23212]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-23 19:14:16 +00:00
nobu 9356e8d177 * bcc32/Makefile.sub: needs bcc32/mkexports.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-23 05:46:14 +00:00
nobu 52a67fe60d * Makefile.in, */Makefile.sub, common.mk (clean-local, distclean-local):
separate files under directories due to directory separator.

* */Makefile.sub (MKFILES): common.mk and */Makefile.sub should not be
  removed.

* win32/Makefile.sub, wince/Makefile.sub: $* cannot appear in explicit
  rules.

* cygwin/GNUmakefile.in: some mingw stuffs were missed.

* lib/mkmf.rb (create_makefile): Borland make wrongly removes braces
  from command lines.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-23 05:32:01 +00:00
nobu 71f46f0724 * Makefile.in, */Makefile.sub, common.mk: extract common portions.
* Makefile.in, cygwin/GNUmakefile.in, */Makefile.sub (RBCONFIG):
  separated time stamp file for rbconfig.rb.

* configure.in: append common.mk to Makefile.

* mkconfig.rb: keep mtime of rbconfig.rb if unchanged.

* win32/rm.bat: remove multiple files.

* wince/mkconfig_wce.rb: use fake.rb instead.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 23:21:31 +00:00
gotoyuzo 48dde6f3e6 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#virtual_host):
sort @virtual_hosts in address, port, host order.

* lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server):
  hostname should not be match if :ServerAlias is not given.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 13:17:24 +00:00
keiju 06d1cbb926 * lib/shell/*: bug fix for Shell#system(command_line_string).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 12:21:11 +00:00
eban b9c8bcafdc * ruby.1: add -width option to .Bl for old groff.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 12:08:02 +00:00
kou abe876ed4e * test/rss/*: Test::Unit::TestCase -> RSS::TestCase and
Test::Unit::Assertions -> RSS::Assertions.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 10:03:17 +00:00
kou cfbe158fae * lib/rss/{rss,dublincore,syndication}.rb: handled W3CDTF correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 09:54:07 +00:00
kou 7ead69e5b3 * test/rss/test_xml-stylesheet.rb: added tests for xml-stylesheet.
* lib/rss/xml-stylesheet.rb: added xml-stylesheet parsing
  function.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 09:20:47 +00:00
matz aab1ba1365 * eval.c (rb_require_safe): preserve old ruby_errinfo.
[ruby-talk:95409]

* eval.c (rb_f_raise): should not clear backtrace information if
  exception object already have one.

* parse.y (assoc_list): allow {sym: val} style Hash. [Ruby2]
  this change is done by Nobuyoshi Nakada <nobu@ruby-lang.org>.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-20 16:45:41 +00:00
eban 38fc76574a * ext/extmk.rb: rm -rf $extout, not extout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-20 12:22:48 +00:00
dave a42fb7a811 Force RDoc html background to white
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-20 06:26:57 +00:00
tadf f2d983cb8d synchronized with date2 3.6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-20 00:48:19 +00:00
matz 610b5d7975 * variable.c (rb_cvar_set): class variables become private to the
particular class/module. [Ruby2]

* variable.c (rb_cvar_get): ditto.

* io.c (rb_io_sync): need not to check writable. [ruby-core:02674]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-19 07:13:01 +00:00
usa 5af30c19a4 * lib/mkmf.rb ($beos, $solaris): add OS flags.
* lib/mkmf.rb (RUBY): / is not recognized as path separator on
   nmake/bmake. [ruby-list:39388]

* lib/mkmf.rb (CLEANLIBS, CLEANOBJS): should remove *.exp with *.so.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-19 02:35:27 +00:00
eban 006e8d2e71 * instruby.rb, rubytest.rb: do not depend on srcdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-18 10:49:20 +00:00
matz c223709c3b * eval.c (proc_eq): avoid false positive by using scope and
dyna_vars.  no longer use frame.uniq.

* eval.c (proc_arity): arity is now defined as number of
  parameters that would not be ignored. i.e. Proc.new{}.arity
  returns zero.  update test suites too.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-18 10:09:43 +00:00
nobu 311fdfdfea * mkconfig.rb: no longer embed srcdir and compile_dir into
rbconfig.rb.

* ext/extmk.rb, lib/mkmf.rb: obtain top_srcdir and topdir from library
  paths.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-18 09:50:14 +00:00
seki 29696a1738 stop undef DRbObject#to_a
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-18 08:48:37 +00:00
matz bfb47068b0 * eval.c: remove specialized version of rb_Array(). use simple
one defined in object.c.

* object.c (Init_Object): remove Kernel#to_a.

* enum.c (enum_zip): use "to_a" instead of "to_ary".


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-18 06:59:04 +00:00
matz ab6963043d * error.c (exc_initialize): calling 'to_str' each time just for
type checking is too heavy.  [ruby-core:02661]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-16 23:03:17 +00:00
ksaito dbfe25c939 * oniguruma.h, regparse.c: imported Oniguruma 2.2.5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-16 15:25:28 +00:00
ocean e1124ffa21 Fix ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-16 04:12:50 +00:00
ocean 3210044a2b Fix ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-16 02:32:32 +00:00
ocean bbe76ca313 Fix ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-16 02:29:49 +00:00
ocean 7307c01906 * dir.c (fnmatch_helper): File.fnmatch('\.', '.') should return true.
(Rev1.112 lost compatiblity)

* dir.c (fnmatch_helper): File.fnmatch('\/', '/', File::FNM_PATHNAME)
  should return true. (Rev1.112 lost compatiblity)

* dir.c (fnmatch): '**/' shouldn't match leading period unless
  File::FNM_DOTMATCH is set.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-16 02:24:47 +00:00
matz 2fab242f66 * eval.c (rb_yield_0): should not re-submit TAG_BREAK if this
yield is not break destination. [ruby-dev:23197]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-15 02:27:29 +00:00
gotoyuzo 5bf9610130 * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SocketForwarder):
add do_not_reverse_lookup.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-15 01:14:51 +00:00
nobu 2baa02ec9b * eval.c (rb_thread_raise): err at unstarted thread. (PR#1302)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-14 13:07:42 +00:00
seki c12e0136dc use druby://localhost:0, [ruby-dev:23078]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-13 05:58:00 +00:00
ocean c6e5374aae * dir.c (fnmatch):
directory recursion '**/' can be used with File::FNM_PATHNAME.
  [ruby-dev:22901]

* dir.c (fnmatch_helper):
  only '/' is accepted as path separator even in DOSISH environment.
  [ruby-dev:22974] [ruby-list:39337]

* dir.c (fnmatch_helper):
  faster '*' matching.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-12 15:00:39 +00:00
nobu 21410f4dfe * configure.in (rb_cv_noreturn): default for platforms not support
prototypes.

* ruby.c (ruby_init_loadpath): buffer for path name should have
  MAXPATHLEN.

* lib/mkmf.rb (configuration): include topdir and hdrdir in VPATH.

* lib/mkmf.rb (create_makefile): default dependency rule.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-12 11:19:22 +00:00
gotoyuzo 0d8a0904d9 * lib/webrick/config.rb (WEBrick::Config::General): add
:DoNotReverseLookup.

* lib/webrick/server.rb (WEBrick::GenericServer#accept): call
  do_not_reverse_lookup for each socket if :DoNotReverseLookup
  is set.  [ruby-code:02357]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-11 22:36:11 +00:00
aamine fb9d31c327 * lib/fileutils.rb (remove_dir): should handle symlink correctly. This patch is contributed by Christian Loew. [ruby-talk:94635]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-10 13:26:38 +00:00
matz 8818447867 * eval.c (return_jump): set return value to the return
destination.  separated from localjump_destination().

* eval.c (break_jump): break innermost loop (or thread or proc).

* eval.c (rb_yield_0): set exit_value for block break.

* eval.c (eval): Only print backtrace if generating the backtrace
  doesn't generate an exception.  [ruby-core:02621]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-10 07:32:37 +00:00
matz 7c097dc891 * struct.c (rb_struct_s_def): Struct::new executes block with
generated struct class. [ruby-talk:02606]

* io.c (rb_io_ungetc): raise IOError instead of calling
  rb_sys_fail().  [ruby-talk:23181]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-10 07:05:19 +00:00
usa f2b4e71013 * ruby.c (opt_W_getter): get rid of warning.
* bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:
  fixed dependency.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-10 01:17:12 +00:00
usa 8829aa4995 * bcc32/Makefile.sub, win32/Makefile.sub, wince/Makefile.sub:
replaced regex.c entry with Oniguruma files.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-09 01:05:12 +00:00
ksaito e51bf1c605 * Makefile.in: replaced regex.c entry with Oniguruma files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-08 16:22:56 +00:00
aamine 2cb1399c8f * lib/net/http.rb: HTTPHeader did not initialized correctly.
* lib/net/http.rb (connect): does same debug output.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-08 14:16:21 +00:00
aamine 14371fce68 * lib/net/http.rb (add_header): remove warning. [ruby-dev:23170]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-08 12:40:34 +00:00
ocean f34d501658 * dir.c (range): Cancel change for incomplete '['. More discussion
is needed.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-08 12:14:49 +00:00
akira 80a0920f5f * lib/uri/common.rb (URI::REGEXP::PATTERN::HOSTPORT): (?:#{PORT})
-> (?::#{PORT}).  [ruby-dev:23170]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-08 10:36:50 +00:00
ocean 6901d03914 * dir.c (range): treat incomplete '[' as ordinary character (like
has_magic does). fix buffer overrun at incomplete escape like '[\'.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-08 06:10:22 +00:00
eban 945ae5eb59 * oniguruma.h (ONIG_EXTERN): check __GNUC__ instead of __CYGWIN__.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-08 05:46:19 +00:00
eban 30c77c8e90 * regparse.c (parse_exp): need to separate initialization for bcc32.
[ruby-dev:23169]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-08 04:40:39 +00:00
gotoyuzo 9b11fc8032 * lib/webrick/config.rb (WEBrick::Config::HTTP): rename :RequestHander
to :RequestCallback and add new option :ServerAlias.

* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): use
  :RequestCallback and warn if :RequestHandler is in server's option.

* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): should print
  error message for WEBrick::HTTPSataus::Error.

* lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server):
  lookup for hostname from :ServerAlias if the req.host is not match
  to :ServerName.

* lib/webrick/httpservlet.rb (WEBrick::HTTPServlet::CGIHandler#do_GET):
  use $?.exitstatus and refine log message.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-07 16:06:43 +00:00
eban 4774e8fda5 * lib/pstore.rb (commit_new): use FileUtils.copy_stream for Cygwin.
[ruby-dev:23157]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-07 13:37:52 +00:00
eban 81096d395c * Makefile.in (lex.c): use $? instead of $<.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-07 07:28:10 +00:00
aamine 39848fe845 * lib/net/http.rb: HTTPHeader keeps its header fields as an array.
* lib/net/http.rb: new method HTTPHeader#add_header, get_fields.
* lib/net/http.rb: new method HTTPHeader#content_length=.
* lib/net/http.rb: new method HTTPHeader#content_type, main_type, sub_type, type_params, content_type=, set_content_type.
* lib/net/http.rb (HTTPHeader#basic_encode): result of pack(m) may contain multiple LFs.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-06 20:35:19 +00:00
aamine 316bf4e67b * lib/net/http.rb: new method Net::HTTPRequest#body(=).
* lib/net/http.rb: new method Net::HTTPRequest#body_stream(=).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-06 18:11:40 +00:00
aamine 3eedf9156c * lib/net/http.rb: spin off https code again.
* lib/net/https.rb: new file.
* ext/openssl/lib/net/https.rb: removed.  moved to net/https with modifications.
* ext/openssl/lib/net/protocol.rb: removed.  merged with net/http.
* lib/net/protocol.rb: new class BufferedIO.
* lib/net/protocol.rb: InternetMessageIO < BufferedIO.
* lib/net/protocol.rb: BufferedIO.new takes an IO.
* lib/net/smtp.rb: follow InternetMessageIO's change.
* lib/net/pop.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-06 17:08:21 +00:00
aamine dd53813e38 * lib/net/protocol.rb: remove method: InternetMessageIO#address, port, ip_address, read_timeout(=), socket.
* lib/net/protocol.rb: simplify code.
* lib/net/protocol.rb: apply latest coding style.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-06 15:55:23 +00:00
nobu 3b16f66bf7 * ext/strscan/strscan.c (strscan_init_copy): struct re_registers must
not be bitwise copied.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-06 06:15:11 +00:00
nobu 50c4555072 * ext/strscan/depend: depends on re.h and regex.h.
* ext/strscan/strscan.c: no version check needed.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-06 05:27:37 +00:00
dblack 11229973f4 scanf.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-06 02:15:52 +00:00
dblack eddd3b4158 lib/scanf.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-06 01:53:09 +00:00
aamine fc188d3827 * lib/net/http.rb: net/https is merged.
* ext/openssl/lib/net/https.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-05 17:00:51 +00:00
ksaito f353d89d82 * oniggnu.h: imported from Oniguruma library.
* oniguruma.h: ditto.
* regcomp.c: ditto.
* regenc.c: ditto.
* regenc.h: ditto.
* regerror.c: ditto.
* regex.c: ditto.
* regexec.c: ditto.
* reggnu.c: ditto.
* regint.h: ditto.
* regparse.c: ditto.
* regparse.h: ditto.
* ascii.c: ditto.
* euc_jp.c: ditto.
* sjis.c: ditto.
* utf8.c: ditto.

* MANIFEST: added Oniguruma files listed above.

* LEGAL: added Oniguruma license.

* regex.h: now includes oniggnu.h.

* re.c: applied Oniguruma patch.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-05 15:40:36 +00:00
aamine 33a06e4aca * lib/net/http.rb: support WebDAV methods, PROPPATCH, LOCK, UNLOCK, OPTIONS, PROPFIND, DELETE, MOVE, COPY, MKCOL. This patch is contributed by Tatsuki Sugiura.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-05 14:13:31 +00:00
aamine a60a899eeb * lib/net/http.rb: Net::HTTPResponse#response is obsolete. [ruby-core:02592]
* lib/net/http.rb: Net::HTTPResponse#header is obsolete.
* lib/net/http.rb: Net::HTTPResponse#read_header is obsolete.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-05 11:59:09 +00:00
aamine 492dfc7c08 * ext/strscan/strscan.c: new method StringScanner#initialize_copy to allow #dup and #clone.
* test/strscan/test_strscan.rb: test StringScanner#dup.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-05 11:20:12 +00:00
aamine 87275504ab * lib/net/http.rb (HTTPResponse#to_ary): should return an object which does not respond to #to_ary. It causes infinite loop in puts. [ruby-core:02578]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-05 10:42:43 +00:00
dave 1c1a61a436 Move RDoc comments for Test::Unit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-04 15:54:39 +00:00
nobu d6ad092f0e * Makefile.in: miniruby is not needed for cross compile.
* configure.in (PREP): miniruby for native compile.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-04 13:31:45 +00:00
nobu de4d3af245 * lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command):
detach server processes to get rid of zombies.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-04 02:46:37 +00:00
nobu 9778625be8 * ext/syck/rubyext.c: get rid of warnings.
* lib/rss/taxonomy.rb: ditto.

* lib/rdoc/ri/ri_formatter.rb: ditto.

* test/ruby/test_assignment.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-03 23:08:45 +00:00
nobu 5dfa7cacd1 * lib/rdoc/ri/ri_display.rb (DefaultDisplay::page): wait until the
pager terminates.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-03 16:17:32 +00:00
nobu 57cbecdb4f * lib/rdoc/ri/ri_display.rb (DefaultDisplay::setup_pager): ensure
pager closes and stdout is restored.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-03 09:58:25 +00:00
matz 54a0407425 * eval.c (method_hash): new method. [ruby-talk:93968]
* eval.c (proc_eq): do not compare dyna_vars.

* eval.c (proc_hash): new method.

* eval.c (rb_yield_0): protect break/return from within orphan (or
  lambda) Proc object.

* parse.y (yylex): should not allow symbol for invalid global
  variable (e.g. `:$-)`). [ruby-core:02518]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-03 04:55:35 +00:00
nobu 1184dd33d5 * lib/mkmf.rb ($topdir): use compile_dir only when not installed yet.
[ruby-talk:94098]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-03 00:52:10 +00:00
kou 40daca4a87 * lib/rss/converter.rb: handled Uconv::Error.
* lib/rss/dublincore.rb: DublincoreModel -> DublinCoreModel


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-02 16:21:11 +00:00
dblack a5e13ce5ff scanf.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-02 16:08:17 +00:00
nobu 5aad820604 * io.c (pipe_open): erred program name should be reported by
exceptions, instead of the first argument.

* process.c (rb_spawn): ditto.

* process.c (proc_spawn_v): use first argument as program name.

* win32/win32.c (rb_w32_aspawn): ditto.

* win32/win32.c (CreateChild): search executable file if no program
  name given.

* lib/drb/extservm.rb (invoke_service_command): use Process.spawn.
  [ruby-dev:23103]

* lib/rdoc/ri/ri_display.rb (setup_pager): use IO.popen.
  [ruby-dev:23086], [ruby-dev:23103]

* lib/rdoc/diagram.rb (convert_to_png): ditto.

* lib/rdoc/generators/chm_generator.rb (compile_project): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-02 07:30:35 +00:00
usa 95ce90a87e * wince/Makefile.sub (config.h): shouldn't check defined? NORETURN.
[ruby-dev:23100]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-02 03:31:05 +00:00
usa 8e89487675 * win32/Makefile.sub (config.h): shouldn't check defined? NORETURN.
[ruby-dev:23100]

* ChangeLog: typo.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-02 03:26:09 +00:00
nobu 06953dceed * test/ruby/test_iterator.rb (test_ljump): cannot use
assert_nothing_raised due to passing block.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-02 02:28:44 +00:00
dblack 4bea8f3ce2 scanf.rb fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-01 21:26:25 +00:00
dblack e5f6e2c8b8 scanf.rb note
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-01 14:37:52 +00:00
ocean cac6f19906 Fix ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-01 10:58:33 +00:00
ocean ed694e74ff * bcc32/setup.mak: configure's default is "--enable-install-doc"
* win32/setup.mak: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-01 10:56:26 +00:00
dave b84917766d Allow aliases to have parentheses
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-01 03:26:05 +00:00
dave 43d483d41d Handle :nodoc: om singleton classes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-29 14:16:33 +00:00
ocean 8a5dba33b2 * bcc32/Makefile.sub, bcc32/README.bcc32, bcc32/configure.bat,
bcc32/setup.mak: new configure scheme. use ``configure --prefix=dir''
  instead of ``make DESTDIR=dir install''.
  --with-static-linked-ext support on mswin32. [ruby-dev:23034]
  (by Nakada. Thanks.)

* bcc32/setup.mak: "configure --disable-install-doc" is now working.

* win32/setup.mak: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-29 08:22:48 +00:00
ocean e5670724c5 * bcc32/configure.bat: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-28 06:21:20 +00:00
ocean 3b7c2e1286 * bcc32/configure.bat: append missing label ":exit".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-28 06:13:11 +00:00
seki c85e310795 * MANIFEST: add test_erb.rb
* lib/erb.rb, test/erb/test_erb.rb: don't forget filename,
          if both filename and safe_level given. [ruby-dev:23050]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-28 01:52:14 +00:00
matz bf08067ded * eval.c (proc_invoke): no orphan block check is needed when pcall
is true.

* eval.c (localjump_destination): update localjump condition.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-27 13:30:00 +00:00
matz aba4666e19 * eval.c (localjump_destination): lambda should not interfere
return from the yielded block.

* hash.c (delete_if_i): use st_delete_safe() (via
  rb_hash_delete()) instead of returning ST_DELETE.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-26 17:15:00 +00:00
seki 52e0246b61 require drb/eq.rb by default
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-26 15:56:40 +00:00
nobu 0ff6bcae35 * win32/win32.c (make_cmdvector): adjust successive double-quote
handling.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-26 03:15:08 +00:00
nobu 1eafe8b157 * process.c (rb_f_exec): get rid of SEGV when exec failed for command
in single string.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-25 17:35:13 +00:00
nobu 56e2c5243f * process.c (rb_f_exec): get rid of SEGV when exec failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-25 17:19:16 +00:00
nobu b0e0f45571 * gc.c (obj_free), io.c (rb_io_fptr_finalize), rubyio.h (OpenFile):
sharing OpenFile.

* io.c (rb_io_initialize): accept IO instance.  [ruby-dev:22195]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-25 12:17:39 +00:00
nobu 61deeb3741 * instruby.rb (with_destdir): should return the given argument if no
DESTDIR is given.

* instruby.rb: use path name expansion of cmd.exe.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-25 12:16:30 +00:00
nobu 8f2057e33d * lib/cgi-lib.rb, lib/getopts.rb, lib/importenv.rb, lib/parsearg.rb:
warn with caller position.

* test/rss/test_content.rb, test/rss/test_dublincore.rb,
  test/rss/test_syndication.rb, test/rss/test_trackback.rb: use cgi
  instead of cgi-lib.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-25 11:44:58 +00:00
ocean 9418d16cbb Add ruby-dev number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-24 10:06:46 +00:00
ocean b381815014 * dir.c (glob_helper): '**/' should not match leading period
unless File::FNM_DOTMATCH is set. (like '*/')


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-24 09:49:59 +00:00
nobu 9af2f9e0da * test/ruby/test_file.rb (test_fnmatch): test for dir.c:1.108.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-24 09:03:19 +00:00
ocean 77d7ff7cbe * dir.c (fnmatch): File.fnmatch with FNM_PATHNAME was broken
for the pattern including '*' followed by '/'.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-24 08:17:10 +00:00
dave d22ade523f Improve heuristic for which files to include. See ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-24 04:24:02 +00:00
dave 47d12ab8d0 Deal with case where first file processed contains a :stopdoc:
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-24 04:07:46 +00:00
dave 810854455d Handle class vars in code listings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-23 21:41:14 +00:00
dave a928cfed87 Handle aliases in C files
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-23 21:34:01 +00:00
dave dc03b05a7e Check opdir _before_ parsing files
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-23 21:17:26 +00:00
dave 74d704c263 Fix constant value extraction. Escape HTML in constant values
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-23 21:10:42 +00:00
gotoyuzo 2d0e62faf1 * ext/openssl/ossl_config.c (ossl_config_each): add new method
OpenSSL::Config#each. it iterates with section name, field name
  and value.

* ext/openssl/ossl_config.c (Init_ossl_config): include Enumerable.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-23 18:45:41 +00:00
nobu d178414875 * instruby.rb (parse_args): use optparse instead of getopts.
* instruby.rb (DOSISH): embedded path in batch files should not be
  prefixed by DESTDIR.  [ruby-core:02186]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-23 00:09:48 +00:00
nobu e10564a578 * lib/mkmf.rb (init_mkmf): $INCFLAGS also should be lazy-evaluated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-22 05:58:10 +00:00
nobu d65d5e7661 * Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub: terminate options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-22 05:44:35 +00:00
nobu 0990e0e8fc * ext/extmk.rb: $extstatic is Array or nil now. [ruby-talk:93383]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-22 05:33:36 +00:00
akira 329b4782ff * lib/uri/mailto.rb (URI::MailTo::to_s): should include fragment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-22 04:06:09 +00:00
nobu 883857d842 * ext/extmk.rb: use optparse instead of getopts.
* Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-22 03:58:44 +00:00
gsinclair ac19769719 * re.c: corrected documentation format (rb_reg_initialize_m)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-22 00:52:38 +00:00
gsinclair 84e968f06c * ext/zlib/zlib.c: documented, but needs more effort.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-21 13:49:40 +00:00
nobu cf8cd080e4 * ext/extmk.rb: prefer relative path. [ruby-talk:93037]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-21 05:33:24 +00:00
nobu 59e3a0679e * missing/os2.c, missing/x68.c: typo fix. pointed out by greentea.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-21 02:12:21 +00:00
nobu 33e064afff * lib/ostruct.rb (OpenStruct#initialize_copy): should not share
members.  [ruby-dev:22966]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-20 10:11:25 +00:00
matz 50b775851a * lib/irb/init.rb (IRB::IRB.parse_opts): add -I option to
irb. [ruby-dev:39243]

* sprintf.c (rb_f_sprintf): sign bit extension should not be done
  if FPLUS flag is specified.  [ruby-list:39224]

* sprintf.c (rb_f_sprintf): do not prepend dots for negative
  numbers if FZERO is specified.  [ruby-dev:39218]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-20 10:03:47 +00:00
nobu f9bad7bf18 commit miss. _no
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-20 04:00:09 +00:00
nobu fc421cf6ac * io.c (pipe_open): fix typo.
* win32/win32.c (CreateChild): first argument to CreateProcess() must
  have path, not just basename.

diff -U2 io.c io.c
--- io.c	20 Feb 2004 01:02:56 -0000
+++ io.c	20 Feb 2004 02:56:08 -0000
@@ -2696,5 +2697,5 @@
 	    rb_thread_sleep(1);
 	    break;
-	  defined:
+	  default:
 	    rb_sys_fail(pname);
 	    break;
only in patch2:
--- win32/win32.c	19 Feb 2004 09:08:23 -0000	1.112
+++ win32/win32.c	20 Feb 2004 02:49:04 -0000
@@ -14,2 +14,3 @@
 #include "rubysig.h"
+#include "dln.h"
 #include <fcntl.h>
@@ -903,3 +904,14 @@
     if (prog) {
-	shell = prog;
+	char *p = dln_find_exe(prog, NULL);
+	if (!p) {
+	    shell = prog;
+	}
+	else {
+	    shell = p;
+	    while (*p) {
+		if ((unsigned char)*p == '/')
+		    *p = '\\';
+		p = CharNext(p);
+	    }
+	}
     }


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-20 03:55:29 +00:00
dave ba3a872a68 Support visibility modifiers for attributes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-19 14:26:05 +00:00
gsinclair 0425463a3d * lib/ostruct.rb: documented
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-19 13:42:30 +00:00
nahi 464fbf7b4f * test/rinda/test_rinda.rb: DRb.start_service only once in testsuites.
DRb.start_service could handle this.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-19 13:40:42 +00:00
nahi b61d1549d4 * lib/soap/mapping/rubytypeFactory.rb: should not dump singleton class.
[ruby-dev:22588]
          c = class << Object.new; class C; self; end; end; SOAPMarshal.dump(c)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-19 13:26:56 +00:00
gsinclair a077e7cec4 * ext/strscan/strscan.c: improved documentation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-19 12:32:09 +00:00
nobu ea5679c979 * win32/win32.c, win32/win32.h: fixed prototypes.
* win32/win32.c (wait): same as waitpid() with -1.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-19 09:08:23 +00:00
dave 23d081b993 Fix typos (Doug Kearns)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-19 03:23:51 +00:00
aamine b06f1fb429 * ext/strscan/strscan.c: StringScanner#restsize is obsolete; use #rest_size instead.
* ext/strscan/strscan.c: StringScanner#matchedsize is obsolete; use #matched_size instead.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-18 18:06:14 +00:00
aamine e55e640a6f * ext/strscan/strscan.c: don't use rb_eval_string, it defines classes under the module when required in module clauses. [ruby-dev:22951]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-18 17:42:54 +00:00
aamine 6f77e4b4ba * ext/strscan/strscan.c: merge documentation from 1.8 branch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-18 17:38:33 +00:00
gsinclair fbac5a54a1 removed conflict indicator
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-18 15:28:18 +00:00
gsinclair 1399c1bca0 * lib/cgi-lib.rb: deprecated after 1.8.1
* lib/getopts.rb:   ditto
 * lib/importenv.rb: ditto
 * lib/parsearg.rb:  ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-18 15:27:06 +00:00
dave 847fd91e32 Strip extraneous spaces from included filename
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-18 15:12:55 +00:00
seki 926a6fb194 remove O_NONBLOCK, thanks ay
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-18 13:55:22 +00:00