Commit graph

5108 commits

Author SHA1 Message Date
(no author)
d88b373dc9 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@6353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-18 04:02:24 +00:00
ocean
47b8d61aab Add ruby-dev number to ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-17 07:27:04 +00:00
matz
dcae18de82 * ext/socket/socket.c (setup_domain_and_type): honor duck typing.
[ruby-dev:23522]

* ext/socket/socket.c (sock_s_getnameinfo): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-17 07:18:29 +00:00
ocean
36b02b16a1 * numeric.c (flo_to_s): p 0.0 should be '0.0' not '0.0e+00'.
* numeric.c (flo_to_s): the number of significand is correctly handled,
  there is assumption that DBL_DIG == 15 though.
  (p 0.00000000000000000001 was '9.999999999999999e-21', now is
  '1.0e-20')


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-17 07:14:45 +00:00
nagai
bdf7670452 * add a new sample script
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 21:43:38 +00:00
(no author)
d21195813e 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@6344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 21:43:38 +00:00
nagai
33622d4083 * add a new sample script
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 21:43:37 +00:00
ser
bc3608671c REXML version bump.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 19:21:04 +00:00
ser
84c9f59853 Fixed REXML bug #14: StreamParser reports doctype events to listeners again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 19:17:08 +00:00
ser
abe1214b3d Cross-ported the REXML changes (3.0.8) from the development branch to the
stable branch.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 19:08:03 +00:00
ser
db0fac0266 Back-ported the new encodings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 19:05:49 +00:00
(no author)
16136e224a 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@6337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 19:05:49 +00:00
why
b02b4bb048 * lib/yaml.rb: removed fallback to pure Ruby parser.
* lib/yaml/baseemitter.rb (indent_text): was forcing a mod value
  of zero at times, which kept some blocks from getting indentation.

* lib/yaml/baseemitter.rb (node_text): rewriting folded scalars.

* ext/syck/syck.h: reports style of scalars now, be they plain, block
  single-, or double-quoted.

* ext/syck/syck.c: ditto.

* ext/syck/gram.c: ditto.

* ext/syck/node.c: ditto.

* ext/syck/token.c: ditto.

* ext/syck/rubyext.c (yaml_org_handler): symbols loaded only
  if scalar style is plain.

* ext/syck/rubyext.c (yaml_org_handler): some empty strings were
  loaded as symbols.

* test/yaml/test_yaml.rb (test_perl_regexp): updated test to
  match new regexp serialization.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 16:09:41 +00:00
eban
c16bdcc5e1 2004-05-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 15:23:12 +00:00
gsinclair
bcdaac433f * lib/drb/drb.rb: Cosmetic documentation changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 15:09:52 +00:00
gsinclair
a631216cb6 * lib/text/unit.rb: Removed :nodoc: directive (it prevented effective
RDoc operation), and added file-level comment.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 13:39:58 +00:00
akr
4769fb9d12 * ext/dbm/dbm.c (fdbm_initialize): accept optional 3rd argument to
specify an open flag.
  (Init_dbm): define open flags: DBM::READER, DBM::WRITER, DBM::WRCREAT
  and DBM::NEWDB.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 12:03:23 +00:00
eban
c303f0407e lib/test/unit/assertions.rb: remove "all" that it has forgotten to remove.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 04:54:02 +00:00
eban
445090b29f 2004-05-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 04:39:31 +00:00
gsinclair
e4ac02cd8d * lib/test/unit/**/*.rb: Removed :nodoc: directives (many were
generating warnings, many were on private methods).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 04:16:39 +00:00
akira
c62564616d * fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-15 06:18:14 +00:00
eban
cc2b0331b1 2004-05-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-15 03:37:17 +00:00
matz
40afc4a565 * eval.c (eval): forgot to restore $SAFE value before evaluating
compiled node.  [ruby-core:02872]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-14 16:45:40 +00:00
matz
58f3410e53 * range.c (range_each_func): terminates loop if generating value
is same to @end.  [ruby-talk:100269]

* string.c (rb_str_new4): should not reuse frozen shared string if
  the original is not an instance of String. [ruby-talk:100193]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-14 16:35:30 +00:00
matz
0cf6e773be * eval.c (eval): warning during eval should not cause deadlock.
[ruby-talk:98651]

* eval.c (rb_eval): raise TypeError exception for superclass
  mismatch.  [ruby-dev:39567]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-14 12:26:22 +00:00
nagai
7268344d38 * ext/tk/lib/tk/canvas.rb: improve coords support for canvas items.
Now, supports all of the followings.
    TkcLine.new(c, 0, 0, 100, 100, :fill=>'red')
    TkcLine.new(c, [0, 0, 100, 100], :fill=>'red')
    TkcLine.new(c, [0, 0], [100, 100], :fill=>'red')
    TkcLine.new(c, [[0, 0], [100, 100]], :fill=>'red')
    TkcLine.new(c, :coords=>[0, 0, 100, 100], :fill=>'red')
    TkcLine.new(c, :coords=>[[0, 0], [100, 100]], :fill=>'red')


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-14 09:41:59 +00:00
eban
dc5fbe7c3c 2004-05-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-14 03:32:34 +00:00
ocean
0a3d13ba98 * util.c (ruby_strtod): strtod("0", &end); => end should point '\0'.
[ruby-dev:23498]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-14 03:17:50 +00:00
akira
3c103830d7 * lib/net/telnet.rb (Net::Telnet::login): "options" can specify
regexps for login prompt and/or password prompt.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-13 07:02:18 +00:00
eban
30a9fd3f17 * hash.c (delete_if_i): use st_delete_safe() (via
rb_hash_delete()) instead of returning ST_DELETE.
  backport from HEAD.  [ruby-dev:23487]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-13 05:27:24 +00:00
eban
32d051b692 lib/drb/observer.rb: remove debug print.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-13 05:16:39 +00:00
eban
fef8609cbd 2004-05-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-13 04:43:09 +00:00
akira
693bd39aa1 * lib/uri/mailto.rb (URI::MailTo::to_s): should include fragment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-13 04:03:33 +00:00
nobu
f667eda104 * pack.c (pack_pack): always add with null for 'Z'.
* pack.c (pack_unpack): terminated by null for 'Z'.  [ruby-talk:98281]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-13 02:04:20 +00:00
nobu
f061990c15 * lib/mkmf.rb (have_type, check_sizeof): replace unusable characters.
[ruby-talk:99788]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-12 10:59:52 +00:00
akr
664dbfbf2a * lib/resolv.rb (Resolv::DNS::Config): make it configurable without
external file such as /etc/resolv.conf.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-12 08:44:11 +00:00
gotoyuzo
a472b97810 * ext/openssl/ossl_x509name.c: attribute value of DC (short name of
domainComponent) should be IA5String.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-12 05:38:20 +00:00
nagai
d1dc51319f * ext/tk/lib/tk/composite.rb: improve configure methods. (based on the proposal of [ruby-talk:99671])
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-12 04:24:55 +00:00
eban
d67a447c38 2004-05-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-12 02:54:32 +00:00
dave
abecb52a71 fix rdoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-12 02:51:54 +00:00
shigek
833fd60878 Fix for 'incomplete bug fix' for 1.41.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-11 14:30:05 +00:00
dave
7b8641ce88 Change symbol lookup scheme in HTML generation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-10 12:46:18 +00:00
eban
c0639a7d3f 2004-05-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-10 03:48:10 +00:00
dave
698ef52266 Search parent for unqualified constants
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-10 03:14:35 +00:00
eban
b33cb58606 2004-05-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-09 13:54:07 +00:00
gsinclair
d31210ccbd * lib/net/ftp.rb: improved documentation
* lib/net/imap.rb: ditto
 * lib/net/pop.rb: ditto
 * lib/net/smtp.rb: ditto
 * lib/net/telnet.rb: ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-09 13:42:05 +00:00
dave
3dbd32a214 Allow multiple arguments to include
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-07 13:14:58 +00:00
aamine
6d84972bd5 * lib/fileutils.rb (fu_list): Array() breaks pathes including "\n". [ruby-core:02843]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-07 12:32:31 +00:00
eban
33370f60c2 2004-05-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-07 10:05:05 +00:00
akr
57636f80f2 add freeze test for dbm and gdbm.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-07 09:39:13 +00:00