1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

4332 commits

Author SHA1 Message Date
nobu
216a505751 wrong commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-08 07:54:34 +00:00
nobu
5e947e2d03 * lib/pp.rb (PP::PPMethods::object_address_group): suppress negative
sign for higher heap areas.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-08 07:46:18 +00:00
akira
ebb7ed1864 * test/yaml/test_yaml.rb (YAML_Unit_Tests::test_range_cycle):
added tests.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-08 07:21:03 +00:00
akira
4ca30a130d * test/ruby/test_file.rb (TestFile::test_fnmatch): added tests for
File.fnmatch. [ruby-dev:22815][ruby-dev:22819]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-08 06:52:45 +00:00
akira
54d612c27f * test/yaml/test_yaml.rb (YAML_Unit_Tests::test_range_cycle):
added tests. [ruby-core:02306] [ruby-core:02311]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-08 06:43:53 +00:00
aamine
992d2749ac * lib/net/http.rb (HTTP#request): should not overwrite Connection header. (ruby-bugs:PR#1274)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-08 05:24:47 +00:00
ocean
c5c6516c2d Added ruby-dev number
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-08 01:46:38 +00:00
nobu
0a96aa5adb 2004-02-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-08 01:33:52 +00:00
ocean
75fa29e4d0 * dir.c (glob_helper): Dir.glob('**/') did not work.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-08 01:14:33 +00:00
ocean
3a8647ea9f * dir.c (glob_helper): Dir.glob('**/') did not work.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-08 01:07:09 +00:00
ocean
208adf5c1f * dir.c (fnmatch):
File.fnmatch('*?', 'a') should return true. [ruby-dev:22815]
  File.fnmatch('\[1\]' , '[1]') should return true. [ruby-dev:22819]

* dir.c
  Did some styles (no change to behavior)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-07 15:44:58 +00:00
nobu
f232710cb8 2004-02-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-07 15:06:40 +00:00
ocean
c887d20966 Did some styles (no change to behavior)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-07 14:22:33 +00:00
ocean
d7f46e29f2 * dir.c (fnmatch):
File.fnmatch('*?', 'a') should return true. [ruby-dev:22815]
  File.fnmatch('\[1\]' , '[1]') should return true. [ruby-dev:22819]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-07 12:55:33 +00:00
ocean
b839a4d720 * dir.c (fnmatch):
File.fnmatch('\[1\]' , '[1]') should return true. [ruby-dev:22815]
  File.fnmatch('*?', 'a') should return true. [ruby-dev:22819]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-07 12:51:57 +00:00
nobu
776206b3e7 * lib/irb/init.rb (IRB.rc_files): yield possible rc file names.
* lib/irb/input-method.rb (IRB::ReadlineInputMethod::initialize):
  load and save history automatically.  [ruby-core:02352]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-07 10:56:16 +00:00
dave
7f55b0c39e Support https in hyperlinks
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-06 13:49:54 +00:00
nahi
8fc2fa55f9 * lib/pp.rb (PPInspectTest#test_to_s_with_iv): rollback the previous
commit.  [ruby-dev:22813]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-06 13:42:15 +00:00
nahi
c47d29da45 * lib/pp.rb (PPInspectTest#test_to_s_with_iv): remove instance
variable which is defined in the test.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-06 13:24:17 +00:00
akira
9ab9489da4 * test/ruby/test_proc.rb (TestProc::test_eq): added a
test.  [ruby-dev:22599]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-06 09:55:43 +00:00
akira
4d94e3ec48 * test/ruby/test_proc.rb (TestProc::test_eq): added tests for
Proc#==.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-06 09:27:53 +00:00
nobu
77a16f0200 2004-02-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-06 01:16:08 +00:00
nobu
87d5530af3 * ext/socket/socket.c (bsock_do_not_reverse_lookup): control reverse
lookup for every instance.  [ruby-core:02346]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-06 01:12:11 +00:00
nobu
0e692c450b * lib/irb/extend-command.rb: add irb_help command. [ruby-talk:91610]
* lib/irb/cmd/help.rb (IRB::ExtendCommand::Help): show RDoc.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-06 00:16:50 +00:00
akr
7011dce58e * lib/prettyprint.rb (PrettyPrint#first?): obsoleted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-05 15:50:43 +00:00
nobu
ed12430398 2004-02-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-05 15:26:11 +00:00
akr
0c792a32b7 * lib/prettyprint.rb (PrettyPrint#seplist): added.
* lib/pp.rb (PPMethods#pp_object): use seplist.
  (PPMethods#pp_hash): ditto.
  (Array#pretty_print): ditto.
  (Struct#pretty_print): ditto.
  (MatchData#pretty_print): ditto.

* lib/set.rb (Set#pretty_print): use seplist.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-05 14:59:46 +00:00
nobu
90d8cbb1ee * file.c (rb_stat_mode): should not sign-expand, so backout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-04 13:39:49 +00:00
eban
0388819018 2004-02-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-04 04:16:51 +00:00
akr
40f9219a8b * file.c (test_l): fix wrong method name in document.
(test_S): ditto.
  (test_b): ditto.
  (test_c): ditto.
  (test_suid): ditto.
  (test_sgid): ditto.
  (test_sticky): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-03 17:20:08 +00:00
kou
1a235738a8 * lib/rss/2.0.rb, lib/rss/content.rb, lib/rss/dublincore.rb,
lib/rss/rss.rb, lib/rss/syndication.rb: removed warnings.

* lib/rss/converter.rb: removed handling load error of nkf.

* test/rss/test_syndication.rb, test/rss/test_trackback.rb,
  test/rss/test_dublincore.rb, test/rss/test_content.rb: replaced
	'require "rss/parser"' by 'require "rss/1.0"'.

* test/rss/test_parser.rb, test/rss/test_accessor.rb: removed
  'require "rss/parser"'.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-03 14:01:42 +00:00
gsinclair
7376af3092 Retrofit entry (there was conflict):
From ruby_1_8 branch:
  * lib/test/unit.rb: rearranged documentation for RDoc's sake.
  * lib/matrix.rb: improved documentation.
  * lib/net/http.rb: slight documentation formatting improvement.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-03 10:42:39 +00:00
usa
486e68ea9a 2004-02-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-03 02:30:30 +00:00
nobu
3f19bbb094 * parse.y (reduce_nodes): remove tail returns. [ruby-talk:90934]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-03 02:23:20 +00:00
akr
05172c4211 * lib/pp.rb (Struct#pretty_print_cycle): follow 1.8 style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-02 23:09:38 +00:00
nobu
847d01a7c3 * parse.y (block_append, new_evstr, void_expr0): remove no longer used
labels.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-02 13:06:35 +00:00
eban
f57217cc52 * dln.c (dln_load): don't specify RTLD_GLOBAL on Interix,
because it caused SEGV when running runner.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-02 10:01:57 +00:00
eban
9ba59c3e52 2004-02-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-02 02:31:01 +00:00
akr
2e11b3262a exception message changed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-01 17:42:08 +00:00
akr
d837280dc8 * lib/pp.rb (Struct#pretty_print): make it 1.8 style.
(Numeric#pretty_print, FalseClass#pretty_print)
  (TrueClass#pretty_print, Module#pretty_print): fix pp for objects
  with instance variables.  [ruby-talk:91157]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-01 16:57:47 +00:00
akr
678e4ea5b4 * lib/open-uri.rb (URI::Generic#find_proxy): return nil on loopback
address.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-01 15:31:59 +00:00
akr
c9c51009cf * lib/resolv-replace.rb (BasicSocket#send): don't replace because
it has no hostname argument.
  (IPSocket.getaddress): raise SocketError instead of
  Resolv::ResolvError for errors.
  (TCPSocket#initialize, UDPSocket#bind, UDPSocket#connect)
  (SOCKSSocket#initialize): use IPSocket.getaddress instead of
  Resolv.getaddress.
  (UDPSocket#send): recognize 3 arguments form.  try all addresses on
  4 arguments form.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-01 15:21:24 +00:00
shigek
0967d72815 Bug in BigDecimal("1e#{n}").add BigDecimal('.5'),n) reported and fixed by Javier Goizueta.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-01 14:01:23 +00:00
eban
81d1f5f866 MANIFEST:
Removed files:
    ruby/sample/rss:
      articles.rss content.xml index.rdf.ja news.rss php.rss
      raa-rdf10.xml rnn.rdf rss.xml rss2dc.xml
      rssMarkPilgrimExample.xml rssTwoExample.xml sampleRss.xml
      slashdot.rdf slashdotorg.rdf w3c.rdf wiliki.rss
    ruby/test/rss:
      each_parser.rb test.rb


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-01 13:59:53 +00:00
eban
6a4d5aaae4 2004-02-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-01 13:55:26 +00:00
gsinclair
9670d71ba9 From ruby_1_8 branch:
* lib/test/unit.rb: rearranged documentation for RDoc's sake.
 * lib/matrix.rb: improved documentation.
 * lib/net/http.rb: slight documentation formatting improvement.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-01 09:27:17 +00:00
akr
4d1dafdd95 * lib/open-uri.rb (OpenURI::Buffer#<<): make a tempfile binmode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-31 20:33:33 +00:00
akr
192eb734bf lib/open-uri.rb (URI::Generic#find_proxy): warn HTTP_PROXY.
raise an errror on non-http proxy URI.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-31 18:11:55 +00:00
kou
976226b5de * lib/rss/parser.rb (RSS::Parser): added @@default_parser. Used
XML parser became selectable.
* test/rss/test_parser.rb: added tests for RSS::Parser.default_parser.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-31 16:10:53 +00:00
eban
35d62eb6a5 * configure.in (RPATHFLAG): set to -Wl,-R like NetBSD on Interix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-30 17:39:04 +00:00