summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-05-20* lib/mkmf.rb (check_sizeof): define result size. [ruby-core:02911]nobu
* lib/mkmf.rb (create_header): macro name should not include equal sign. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-20* ext/socket/socket.c: check SCM_RIGHTS macro addition toakr
the msg_control field to test existence of file descriptor passing by msg_control. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-20* ext/socket/socket.c (make_hostent_internal): remove debug print.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-20* numeric.c (flo_eq): alway check if operands are NaN.matz
[ruby-list:39685] * lib/cgi/session.rb: use LOCK_SH to read, and a few other improvements. [ruby-core:02328] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-202004-05-20eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-20At Ryan Davis' suggestion, honor visibility modifers if guarded by a ↵dave
statement modifier git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-20* lib/mkmf.rb (have_type): do not check pointer to incomplete type,nobu
which always get compiled. [ruby-list:39683] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-19* rescue LoadError. [ruby-dev:23539]gotoyuzo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-19* test/ruby/envutil.rb (EnvUtil::rubybin): give priority tonobu
environment variable. [ruby-dev:23538] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-19revert mis-edited entrynobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-19* test/inlinetest.rb (InlineTest::loadtest): requiring library withnobu
replaced $0 can make $0 == __FILE__ block be evaluated twice. [ruby-dev:23538] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-192004-05-19eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-19* ext/tk/lib/tk.rb: change permition of TkObject#tk_send from private to publicnagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-18* lib/net/http.rb: support TRACE.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-18* lib/net/http.rb: do not use class variables.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-18 * lib/csv.rb: writes lines with "\n" when row separator is not given.nahi
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@6359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-18* lib/yaml.rb: added rdoc to beginning of lib.why
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-18* lib/yaml.rb: added rdoc to beginning of lib.why
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-18* node.h (NEW_DSTR): adjust list length.nobu
* parse.y (literal_concat): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-182004-05-18eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-18* eval.c (rb_method_node): search cache entry first.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-17* test for OpenSSL::X509gotoyuzo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-17Add ruby-dev number to ChangeLogocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-17parse.y: typo fix(tWORD_BEG -> tWORDS_BEG).eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-17* ext/socket/socket.c (setup_domain_and_type): honor duck typing.matz
[ruby-dev:23522] * ext/socket/socket.c (sock_s_getnameinfo): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-17* numeric.c (flo_to_s): p 0.0 should be '0.0' not '0.0e+00'.ocean
* 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/trunk@6346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16* add a new sample scriptnagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16Cross-ported fix for REXML bug #14, StreamParser and doctype events.ser
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16------------------------------------------------------------------------ser
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16------------------------------------------------------------------------ser
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16* lib/yaml/baseemitter.rb (indent_text): was forcing a mod valuewhy
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-162004-05-17eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16Forgot to update the manifest with the new files :-/ser
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16Added support for CP-1252 and ISO-8859-15 encodings for non-iconv systems.ser
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16------------------------------------------------------------------------ser
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16 * lib/drb/drb.rb: Cosmetic documentation changes.gsinclair
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-16* ext/dbm/dbm.c (fdbm_initialize): accept optional 3rd argument toakr
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-15* test/ruby/test_float.rb(test_strtod): Add test for signed 0.000...1ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-15* ext/syck/depend: commit miss.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-15* ext/syck/depend: add ruby's headers.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-15* ext/syck/MANIFEST, ext/syck/depend: new file.nobu
* 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-152004-05-15eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-15* lib/yaml.rb: removed fallback to pure Ruby parser.why
* 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-14* eval.c (eval): forgot to restore $SAFE value before evaluatingmatz
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* range.c (range_each_func): terminates loop if generating valuematz
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-14ChangeLog: typo fix.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-14* ext/tk/lib/tk/canvas.rb: improve coords support for canvas items.nagai
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* test/ruby/test_float.rb: Add test for util.c revision 1.42.ocean
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-142004-05-14eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-05-14* util.c (ruby_strtod): strtod("0", &end); => end should point '\0'.ocean
[ruby-dev:23498] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e