5580 Commits

Author SHA1 Message Date
eban
4b9e46d95d 2004-05-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-10 03:48:10 +00:00
dave
9b7b6016ce Search parent for unqualified constants
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-10 03:14:35 +00:00
aamine
c9d3f3dd8a * lib/net/pop.rb (loggin): append "\n".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-09 16:19:35 +00:00
gsinclair
d9c41de9cc * lib/net/ftp.rb: ported documentation improvement from 1.8 branch
* 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/trunk@6284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-09 14:42:43 +00:00
nahi
0603e040b2 * test/ruby/test_float.rb: added test_strtod to test Float("0").
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-09 14:38:11 +00:00
eban
9c61c44fba * lib/yaml/store.rb: use FileUtils::copy.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-09 04:25:15 +00:00
eban
f0a523c45a 2004-05-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-09 03:40:21 +00:00
eban
2026c934a6 MANIFEST: remove regex.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-09 03:40:18 +00:00
ksaito
8e65234086 * regex.c : removed unused file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-09 03:37:53 +00:00
matz
2c247e3d6b * io.c (rb_f_open): open should not ignore block when "to_open"
method is used.  [ruby-dev:23478]

* ext/dbm/dbm.c (fdbm_modify): typo fixed. [ruby-dev:23473]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-08 08:12:08 +00:00
eban
8d7d25a054 2004-05-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-08 05:33:38 +00:00
suke
3a8d8654f7 * win32ole.c: add RDoc style comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-08 03:54:51 +00:00
akr
ac5f6e0a60 add a test for Kernel.open(Pathname.new(...)) { ... }.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-07 23:22:28 +00:00
aamine
97391920d3 * lib/fileutils.rb (mv): new option `force'. [ruby-talk:99457]
* lib/fileutils.rb: new method for command option reflection: FileUtils.commands, .options, .have_option?, .options_of, .collect_methods.
* lib/fileutils.rb: module Verbose, NoWrite, DryRun do not have option flags @fileutils_verbose and @fileutils_noop, they make no sense.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-07 13:08:12 +00:00
dave
6bb2e55d0c Allow multiple arguments to include
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-07 12:51:18 +00:00
aamine
876aa19435 * lib/fileutils.rb (fu_list): Array() breaks pathes including "\n". [ruby-core:02843]
* test/fileutils/test_fileutils.rb (mkdir): test "\n" in path.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-07 12:04:19 +00:00
eban
58860e0d64 2004-05-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-07 10:05:05 +00:00
akr
d92f10ac06 add freeze test for dbm and gdbm.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-07 09:39:12 +00:00
matz
1b0f90ca33 * parse.y (string_content): turn off NODE_NEWLINE flag to avoid
unnecessary line trace for inlined expression.
  (ruby-bugs PR#1320)

* numeric.c (flo_to_s): tweak output string based to preserve
  decimal point and to remove trailing zeros.  [ruby-talk:97891]

* string.c (rb_str_index_m): use unsigned comparison for T_FIXNUM
  search.  [ruby-talk:97342]

* hash.c (rb_hash_equal): returns true if two hashes have same set
  of key-value set.  [ruby-talk:97559]

* hash.c (rb_hash_eql): returns true if two hashes are equal and
  have same default values.

* string.c (rb_str_equal): always returns true or false, never
  returns nil. [ruby-dev:23404]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-07 08:44:24 +00:00
ocean
c4216a26e2 * util.c (ruby_strtod): 0.0000000000000000001 == 0.0 should be false.
[ruby-talk:99318] [ruby-dev:23465]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-07 02:26:19 +00:00
seki
175f3b2d7a use numerichost if cannot resolve hostname
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-06 13:28:23 +00:00
nagai
fb019df11e * ext/tk/tkutil.c (get_eval_string_core): bug fix. [ruby-dev:23466]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-06 13:12:12 +00:00
eban
c4bb9c0308 2004-05-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-06 07:29:46 +00:00
eban
acfe0a7006 MANIFEST: add lib/xmlrpc/README.txt.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-06 07:27:18 +00:00
why
2fa9a0b08c * lib/yaml/rubytypes.rb (to_yaml): added instance variable handling
for Ranges, Strings, Structs, Regexps.

* lib/yaml/rubytypes.rb (to_yaml_fold): new method for setting a
  String's flow style.

* lib/yaml.rb (YAML::object_maker): now uses Object.allocate.

* ext/syck/gram.c: fixed transfer methods on structs, broke it
  last commit.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-06 06:29:56 +00:00
ocean
f77db2ed9c * dir.c (rb_push_glob): simplified code (not change behavior)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-06 05:42:48 +00:00
nobu
b21aa86d5c * ext/extmk.rb: get rid of side effect of Config.expand, patched by
<tttt01@infoseek.jp>  (ruby-bugs:PR#597)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-06 04:32:49 +00:00
shugo
7cb6dfb8fc * lib/net/imap.rb (string): accept NIL.
* lib/net/imap.rb (body_type_basic): allow body-fields omissions.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-06 02:47:37 +00:00
dave
3d33a14369 Don't include &block if we have yield parameters
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-05 17:02:47 +00:00
seki
6776688a2d use recv instead of recvfrom
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-04 18:53:26 +00:00
gsinclair
898a1e7197 * lib/gserver.rb: documented
* lib/xmlrpc/README.txt: introduced for documentation purposes


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-04 15:42:39 +00:00
dave
fb0878b310 Fix parsing problem with yield within block
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-03 00:49:33 +00:00
aamine
bd4dc9f671 * test/fileutils/test_fileutils.rb (rm_f, rm_r): test :force flag.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-02 12:57:31 +00:00
eban
a9e658faf0 2004-05-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-02 12:54:12 +00:00
nagai
4c4631c2da * renewal Ruby/Tk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-01 16:09:54 +00:00
eban
ce23680755 2004-04-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-30 11:11:04 +00:00
eban
76546b5489 * time.c (SIZEOF_TIME_T): support SIZEOF_TIME_T == SIZEOF_INT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-30 11:10:51 +00:00
ksaito
ce4078d5bd * oniguruma.h, regparse.c: imported Oni Guruma 2.2.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-27 16:37:56 +00:00
ksaito
803279135c This commit was generated by cvs2svn to compensate for changes in r6231,
which included commits to RCS files with non-trunk default branches.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-27 16:20:02 +00:00
ksaito
4e85c0322a * oniguruma.h, regparse.c: imported Oni Guruma 2.2.7.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-27 16:18:06 +00:00
ksaito
aa1fe3248f This commit was generated by cvs2svn to compensate for changes in r6227,
which included commits to RCS files with non-trunk default branches.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-27 16:04:30 +00:00
ksaito
653fbad628 This commit was generated by cvs2svn to compensate for changes in r6225,
which included commits to RCS files with non-trunk default branches.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-27 15:53:16 +00:00
nobu
315b3e1906 * common.mk: LIBURUBY_A is needed for extconf.rb even when
cross-compiling.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-27 05:43:36 +00:00
usa
912254c29c 2004-04-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-27 01:40:19 +00:00
why
a7524e343c * lib/yaml/rubytypes.rb: passing Range tests.
* ext/syck/syck.h: version 0.44.

* ext/syck/gram.c: transfers no longer open an indentation.
  fixed transfers which precede blocks.

* ext/syck/token.c: ditto.

* ext/syck/syck.c: fixed segfault if an anchor has been released already.

* ext/syck/node.c (syck_free_members): organized order of free'd nodes.

* ext/syck/rubyext.c (syck_emitter_write_m): test for proper string with
  StringValue.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-26 23:24:46 +00:00
akr
10b598499b add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-26 16:27:57 +00:00
nobu
f63ff3acd5 2004-04-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-26 15:15:40 +00:00
nobu
aeae3aa4bb * README.EXT, README.EXT.ja: fixed wrong function signature.
[ruby-talk:98349]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-26 14:56:58 +00:00
dave
04aa9a8f7d Alias alias to instance methods
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-26 12:42:01 +00:00
eban
269d1e9f0d 2004-04-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-25 09:28:13 +00:00