summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * numeric.c (flo_eq): alway check if operands are NaN.matz2004-05-201-0/+10
| | | | | | | | | | [ruby-list:39685] * lib/cgi/session.rb: use LOCK_SH to read, and a few other improvements. [ruby-core:02328] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* At Ryan Davis' suggestion, honor visibility modifers if guarded by a ↵dave2004-05-201-0/+6
| | | | | | statement modifier git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (have_type): do not check pointer to incomplete type,nobu2004-05-201-0/+6
| | | | | | | | which always get compiled. [ruby-list:39683] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb (EnvUtil::rubybin): give priority tonobu2004-05-191-2/+4
| | | | | | | environment variable. [ruby-dev:23538] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert mis-edited entrynobu2004-05-191-5/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/inlinetest.rb (InlineTest::loadtest): requiring library withnobu2004-05-191-7/+13
| | | | | | | | replaced $0 can make $0 == __FILE__ block be evaluated twice. [ruby-dev:23538] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: change permition of TkObject#tk_send from private to publicnagai2004-05-191-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: support TRACE.aamine2004-05-181-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: do not use class variables.aamine2004-05-181-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: writes lines with "\n" when row separator is not given.nahi2004-05-181-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | formerly it was "\r\n". * lib/csv.rb: [CAUTION] API change * CSV::Row removed. a row is represented as just an Array. since CSV::Row was a subclass of Array, it won't hurt almost all programs except one which depended CSV::Row#match. * CSV::Cell removed. a cell is represented as just a String or nil(NULL). this change will cause widespread destruction. CSV.open("foo.csv", "r") do |row| row.each do |cell| if cell.is_null # Cell#is_null p "(NULL)" else p cell.data # Cell#data end end end must be just; CSV.open("foo.csv", "r") do |row| row.each do |cell| if cell.nil? p "(NULL)" else p cell end end end * lib/csv.rb: [CAUTION] record separator(CR, LF, CR+LF) behavior change. CSV.open, CSV.parse, and CSV,generate now do not force opened file binmode. formerly it set binmode explicitly. with CSV.open, binmode of opened file depends the given mode parameter "r", "w", "rb", and "wb". CSV.parse and CSV.generate open file with "r" and "w". setting mode properly is user's responsibility now. * lib/csv.rb: accepts String as a fs (field separator/column separator) and rs (record separator/row separator) * lib/csv.rb: added CSV.foreach(path, rs = nil, &block). CSV.foreach now does not handle "| cmd" as a path different from IO.foreach. needed? * test/csv/test_csv.rb: updated. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: added rdoc to beginning of lib.why2004-05-181-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * node.h (NEW_DSTR): adjust list length.nobu2004-05-181-0/+6
| | | | | | | * parse.y (literal_concat): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_method_node): search cache entry first.matz2004-05-181-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add ruby-dev number to ChangeLogocean2004-05-171-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (setup_domain_and_type): honor duck typing.matz2004-05-171-0/+7
| | | | | | | | | [ruby-dev:23522] * ext/socket/socket.c (sock_s_getnameinfo): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_to_s): p 0.0 should be '0.0' not '0.0e+00'.ocean2004-05-171-0/+9
| | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@6346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/baseemitter.rb (indent_text): was forcing a mod valuewhy2004-05-161-0/+5
| | | | | | | of zero at times, which kept some blocks from getting indentation. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/drb/drb.rb: Cosmetic documentation changes.gsinclair2004-05-161-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dbm/dbm.c (fdbm_initialize): accept optional 3rd argument toakr2004-05-161-0/+7
| | | | | | | | | specify an open flag. (Init_dbm): define open flags: DBM::READER, DBM::WRITER, DBM::WRCREAT and DBM::NEWDB. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_float.rb(test_strtod): Add test for signed 0.000...1ocean2004-05-151-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/depend: add ruby's headers.eban2004-05-151-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/MANIFEST, ext/syck/depend: new file.nobu2004-05-151-1/+10
| | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@6318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml.rb: removed fallback to pure Ruby parser.why2004-05-151-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@6315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (eval): forgot to restore $SAFE value before evaluatingmatz2004-05-141-0/+5
| | | | | | | compiled node. [ruby-core:02872] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_each_func): terminates loop if generating valuematz2004-05-141-0/+20
| | | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@6313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: typo fix.eban2004-05-141-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/canvas.rb: improve coords support for canvas items.nagai2004-05-141-0/+11
| | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@6309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_float.rb: Add test for util.c revision 1.42.ocean2004-05-141-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtod): strtod("0", &end); => end should point '\0'.ocean2004-05-141-0/+5
| | | | | | | [ruby-dev:23498] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/telnet.rb (Net::Telnet::login): "options" can specifyakira2004-05-131-0/+5
| | | | | | | regexps for login prompt and/or password prompt. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (yaml_org_handler): some empty strings werewhy2004-05-131-0/+5
| | | | | | | loaded as symbols. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): always add with null for 'Z'.nobu2004-05-131-0/+6
| | | | | | | * pack.c (pack_unpack): terminated by null for 'Z'. [ruby-talk:98281] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (have_type, check_sizeof): replace unusable characters.nobu2004-05-121-3/+8
| | | | | | | [ruby-talk:99788] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::DNS::Config): make it configurable withoutakr2004-05-121-0/+5
| | | | | | | external file such as /etc/resolv.conf. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_x509name.c: attribute value of DC (short name ofgotoyuzo2004-05-121-0/+5
| | | | | | | domainComponent) should be IA5String. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/composite.rb: improve configure methods. (based on the ↵nagai2004-05-121-0/+5
| | | | | | proposal of [ruby-talk:99671]) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix rdocdave2004-05-121-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/protocol.rb (each_crlf_line): remove junk line.aamine2004-05-101-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Change symbol lookup scheme in HTML generationdave2004-05-101-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (eval): warning during eval should not cause deadlock.matz2004-05-101-0/+8
| | | | | | | | | | [ruby-talk:98651] * eval.c (rb_eval): raise TypeError exception for superclass mismatch. [ruby-dev:39567] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Search parent for unqualified constantsdave2004-05-101-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/pop.rb (loggin): append "\n".aamine2004-05-091-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb: ported documentation improvement from 1.8 branchgsinclair2004-05-091-0/+8
| | | | | | | | | | * lib/net/imap.rb: ditto * lib/net/pop.rb: ditto * lib/net/smtp.rb: ditto * lib/net/telnet.rb: ditto git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_float.rb: added test_strtod to test Float("0").nahi2004-05-091-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/store.rb: use FileUtils::copy.eban2004-05-091-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regex.c : removed unused file.ksaito2004-05-091-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_f_open): open should not ignore block when "to_open"matz2004-05-081-0/+9
| | | | | | | | | method is used. [ruby-dev:23478] * ext/dbm/dbm.c (fdbm_modify): typo fixed. [ruby-dev:23473] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (mv): new option `force'. [ruby-talk:99457]aamine2004-05-071-0/+12
| | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@6271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow multiple arguments to includedave2004-05-071-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (fu_list): Array() breaks pathes including "\n". ↵aamine2004-05-071-0/+7
| | | | | | | | | [ruby-core:02843] * test/fileutils/test_fileutils.rb (mkdir): test "\n" in path. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e