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

4866 Коммитов

Автор SHA1 Сообщение Дата
ser 0d04057aad ------------------------------------------------------------------------
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 18:42:58 +00:00
ser fcc9c6eab3 ------------------------------------------------------------------------
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 17:35:51 +00:00
why 620549da3f * lib/yaml/baseemitter.rb (indent_text): was forcing a mod value
of zero at times, which kept some blocks from getting indentation.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 15:29:30 +00:00
eban 246b33d108 2004-05-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 15:23:12 +00:00
ser 36c32728b2 Forgot to update the manifest with the new files :-/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 15:20:47 +00:00
ser ac4bee6fc3 Added support for CP-1252 and ISO-8859-15 encodings for non-iconv systems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 15:19:22 +00:00
ser 8fd29e2019 ------------------------------------------------------------------------
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 15:17:31 +00:00
gsinclair ac1d9e7c2d * lib/drb/drb.rb: Cosmetic documentation changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 15:09:52 +00:00
akr eeb5c7e18e * 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/trunk@6326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 12:03:23 +00:00
ocean a694dea2d8 * test/ruby/test_float.rb(test_strtod): Add test for signed 0.000...1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-15 08:54:23 +00:00
eban 18e3d54e92 * ext/syck/depend: commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-15 05:29:30 +00:00
eban bbfad2ba7c * ext/syck/depend: add ruby's headers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-15 05:22:54 +00:00
nobu 79133371e8 * ext/syck/MANIFEST, ext/syck/depend: new file.
* lib/yaml/rubytypes.rb: range of exponential floats.  [ruby-core:02824]

* test/yaml/test_yaml.rb: tests for strings start with colon and some
  round trip.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-15 04:38:39 +00:00
eban 36de1f6acb 2004-05-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-15 03:31:55 +00:00
why c474911e5b * lib/yaml.rb: removed fallback to pure Ruby parser.
* 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.

* 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/trunk@6315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-15 03:11:28 +00:00
matz 094290e68f * 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/trunk@6314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-14 16:45:40 +00:00
matz 6a60393280 * 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]

* time.c (time_mdump): preserve GMT bit in the marshal data.
  [ruby-talk:100213]

* eval.c (is_defined): do not protect exception during receiver
  evaluation.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-14 16:39:15 +00:00
eban 35ae7c9045 ChangeLog: typo fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-14 14:13:24 +00:00
nagai d3a8f9b361 * 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/trunk@6309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-14 09:41:59 +00:00
ocean dca0de4191 * test/ruby/test_float.rb: Add test for util.c revision 1.42.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-14 04:34:07 +00:00
eban bc8fe41cca 2004-05-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-14 03:32:34 +00:00
ocean 91da320a9b * util.c (ruby_strtod): strtod("0", &end); => end should point '\0'.
[ruby-dev:23498]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-14 03:17:50 +00:00
akira 793b2e8795 * 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/trunk@6305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-13 07:02:18 +00:00
why 25aa9e6969 * ext/syck/rubyext.c (yaml_org_handler): some empty strings were
loaded as symbols.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-13 05:15:54 +00:00
eban 63719ed2e8 2004-05-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-13 02:05:00 +00:00
nobu 67ffc9d9e1 * 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/trunk@6298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-13 02:04:20 +00:00
nobu 93472ba0ed * lib/mkmf.rb (have_type, check_sizeof): replace unusable characters.
[ruby-talk:99788]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-12 10:59:52 +00:00
akr fbb8f1964a * 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/trunk@6296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-12 08:44:11 +00:00
gotoyuzo 10b01eddac * 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/trunk@6295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-12 05:38:20 +00:00
nagai 6e0085b137 * 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/trunk@6294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-12 04:24:55 +00:00
eban 3b3b856669 2004-05-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-12 02:54:32 +00:00
dave 227ec51ff2 fix rdoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-12 02:51:54 +00:00
shigek f55d6c9298 Fix for 'incomplete bug fix' for 1.41.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-11 14:30:05 +00:00
aamine 373747ab10 * lib/net/protocol.rb (each_crlf_line): remove junk line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-10 13:28:26 +00:00
dave 58ec532ac9 Change symbol lookup scheme in HTML generation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-10 12:46:18 +00:00
matz ae3241dcfe * 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/trunk@6288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-10 08:23:13 +00:00
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