Commit graph

5108 commits

Author SHA1 Message Date
nobu
280ee0095f * process.c (pst_success_p): new method Process::Status#success?.
[ruby-dev:23385]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-15 14:21:55 +00:00
eban
8f7d69291d 2004-04-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-15 13:19:29 +00:00
akr
384b0a994b add test/gdbm/test_gdbm.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-15 09:40:40 +00:00
akr
e08a4cc70c add a gdbm test for [ruby-dev:23381]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-15 09:39:39 +00:00
akr
a3a7cd1e65 * ext/gdbm/gdbm.c (Init_gdbm): define GDBM::READER, GDBM::WRITER,
GDBM::WRCREAT and GDBM::NEWDB.
  (fgdbm_initialize): use specified read/write flag.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-15 08:15:27 +00:00
eban
3a9fcc9a96 * numeric.c (flo_eq): workaround for bcc32's bug.
(ruby-bugs-ja:PR#594)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-14 06:05:41 +00:00
nobu
da011c8311 * array.c, enum.c, eval.c, file.c, io.c, numeric.c, object.c, prec.c,
process.c, re.c, string.c: typos in RDoc comments.  [ruby-core:02783]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-14 04:06:52 +00:00
eban
b75df4ec9f 2004-04-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-14 02:10:45 +00:00
ocean
24238e424f * defines.h: include <net/socket.h> to get fd_set definition in BeOS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-14 02:03:41 +00:00
seki
44f586505f change pattern matching [druby-ja:98]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-13 14:06:50 +00:00
aamine
d938ed8875 * lib/net/http.rb: should not overwrite HTTP request header. [ruby-list:39543]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-13 10:54:41 +00:00
eban
4cb5136223 2004-04-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-13 01:36:08 +00:00
gsinclair
636ba8c00d * ext/iconv/iconv.c: RDoc documentation (from RD; nearly finished).
* ext/iconv/charset_alias.rb: Prevent from RDoc'ing.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-12 16:34:12 +00:00
akr
25d94babd5 enable document for Kernel.open.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-12 10:17:46 +00:00
nobu
69ad78e282 * gc.c (rb_gc_copy_finalizer): typo. [ruby-core:02774]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-12 10:11:34 +00:00
gotoyuzo
86faa72cde * ext/openssl/ossl_x509name.c (ossl_x509name_init_i): should return a value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-12 09:53:14 +00:00
eban
50c8868eca 2004-04-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-12 01:48:57 +00:00
ocean
842fb05b94 Fixed function list.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-12 01:46:53 +00:00
ocean
2bf168affc * dir.c (rb_glob2, rb_glob, push_globs, push_braces, rb_push_glob):
fix memory leak to occur when block is interrupted in Dir.glob.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-12 01:45:27 +00:00
ocean
3463a11129 * bcc32/Makefile.sub: backport SIZEOF_TIME_T definition from 1.9.
* win32/Makefile.sub: ditto.

* wince/Makefile.sub: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-12 01:30:15 +00:00
nobu
b26cb2ed82 2004-04-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-11 10:13:20 +00:00
nobu
6a14cf11f7 * ruby.c (require_libraries): restore source file/line after
statically linked extensions initialized.  [ruby-dev:23357]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-11 10:12:39 +00:00
dave
63d71ac0c6 Forgot to check special case at top level
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-11 01:49:10 +00:00
eban
c8dbd6261d 2004-04-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-10 14:58:40 +00:00
dave
2be6b7f166 Fix :enddoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-10 14:52:30 +00:00
dave
38b49f65a7 Fixed problem with \_cat_<b>dog</b>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-09 15:01:53 +00:00
ser
daed03f7ec REXML CHANGES
The previous bug fixing the behavior of Element::text= introduced a bug that
occurred when calling (el.text = nil) to delete the first text node.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-07 14:14:46 +00:00
eban
6740e1ff5c 2004-04-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-06 15:31:59 +00:00
seki
027d0af0d0 fix hash tuple bug
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-06 15:26:25 +00:00
akr
efa746c6bd * 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/branches/ruby_1_8@6110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-06 08:02:56 +00:00
(no author)
5923a2c0e7 This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-06 08:02:56 +00:00
usa
8e773df6d3 * ext/socket/socket.c (make_hostent): must return value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-06 04:22:05 +00:00
eban
5443c0f803 2004-04-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-06 03:03:23 +00:00
seki
08a57a86e2 add require "drb/drb"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 15:14:20 +00:00
matz
849bc0234a * 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]

* eval.c (block_pass): should generate unique identifier of the
  pushing block.  [ruby-talk:96363]

* 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/branches/ruby_1_8@6092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 07:45:32 +00:00
eban
1b33576053 2004-04-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 01:18:11 +00:00
dave
4eda6b6057 Remove leading ./ from filenames so that cross references work OK
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-04 23:19:58 +00:00
aamine
ad07498d94 * 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/branches/ruby_1_8@6087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-04 11:34:24 +00:00
akr
36275950a3 comments modified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-04 07:57:39 +00:00
eban
fcc5dff1d2 2004-04-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-04 05:08:18 +00:00
dave
c2e07a5219 Allow multiple --exclude options to RDoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-04 05:03:00 +00:00
why
1ba2a61687 * ext/syck/syck.h: version 0.43.
* 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]

* ext/syck/bytecode.c: turn off default implicit typing.

* ext/syck/implicit.c: detect base60 integers.

* ext/syck/rubyext.c: handle base60, as well as hex and octal
  with commas.  implicit typing of ruby symbols.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-03 08:13:22 +00:00
eban
7c67e3f978 2004-04-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-03 02:33:54 +00:00
ser
e04fdbb500 * Fixed a bug in the evaluation of XPath's 'or'
* deprecated #type changed to class.name
* XPath's union was was being incorrectly interpreted


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-03 02:22:38 +00:00
eban
293efd9fc0 2004-04-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 03:58:55 +00:00
ser
0bb5cc28e4 REXML changes
* The main purpose for this change is to get a fix in for nasty bug in XPath.
  In the new code for the descendant-or-self axis, the document order code
  was calling the wrong method to do node comparisons, causing a terrible
  overhead that slowed the axis down to the point where it was unusable.
  This is a common axis, also known as '//', so this fix is critical.
* Using Element#text= on a non-Text, non-String argument caused an error.
  this has been changed so that the behavior is like puts() -- to_s() is
  called on the object first.
* refactored the pretty-printing code a little.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 03:57:03 +00:00
ser
7a07ba45a0 REXML changes backported from the 1.9 branch:
* Minor source documentation changes
* Changes to the pretty-printing code, including the addition of the word-
  wrap submission.
* Bug fix for missing quotations in NOTATION DTD items
* Bug fixes and improvements to whitespace handling in text nodes
* Refactoring and bug fixes in encoding support
* Minor speed optimizations in the core parser
* Bug fixes in the SAX2 parserthe core parser
* Copyright fixes
* Version bump to REXML 3.0.0
* A change that caused speed degredation has been reversed
* Addition of a value=() method in Text, for replacing the contents of
  a text node
* Fixed the document order of the descendant-or-self axis in XPath


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 03:26:19 +00:00
dave
354d68f80b Fix parse bug with toplevel methods. Allow RDoc in =begin rdoc/=end comments (experimental)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 01:20:58 +00:00
nahi
88e1120249 2004-04-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-01 11:41:21 +00:00
akr
12ac007a26 add test_symmetry_bignum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-01 11:32:17 +00:00