summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2009-04-22* eval.c (proc_invoke): shares dmethod scope local variables.nobu
a patch from coderrr at [ruby-core:23050] * gc.c (obj_free): do not free cloned scope local variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-19* ext/openssl/ossl_ssl.c: revert incomplete read_nonblockakr
implemenatation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-17* lib/pathname.rb (Pathname#sub): set $~ in block.binding.akr
[ruby-dev:38173] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-12* test/openssl/test_ssl.rb (OpenSSL#test_client_session):kazu
Debian's openssl 0.9.8g-13 failed at assert(ssl.session_reused?), when use default SSLContext. [ruby-dev:36167] backported r19268 from trunk. [ruby-core:22843] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01* test/ruby/test_path.rb (test_extname): test for r19596.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-01* test/ruby/test_path.rb (test_basename): test for r19595.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-18* file.c (rb_file_s_extname): fix for spaces before extention.nobu
[ruby-dev:38044] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17* test/ostruct/test_ostruct.rb (test_frozen): added assertions.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-15* lib/ostruct.rb (OpenStruct#new_ostruct_member): checks if frozen.nobu
[ruby-talk:328195], [ruby-core:22142] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-15* lib/ostruct.rb (OpenStruct#inspect): fixed the recursion check.nobu
Patch by Kornelius Kalnbach. [ruby-core:20992]. * test/ostruct/test_ostruct.rb: test for inspect. Patch by Kornelius Kalnbach. [ruby-core:20992]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-07a test removed.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-03* ext/thread/thread.c (rb_queue_pop, rb_queue_push): should not locknobu
mutex if got an exception while waiting, and should ensure unlocked after signaled. [ruby-dev:37545] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@22011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-31* io.c (io_getpartial): fflush after read for updating pos in FILE.akr
not portable, I guess. [ruby-core:21561] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-25* ext/openssl/ossl_ssl.c: Server Name Indication support.technorama
new methods SSLContext#server_name_cb=, SSLSocket#hostname=. * test/openssl/test_ssl.rb: Tests for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-21pass the trim_mode [Feature #1032]seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-12* ext/socket/socket.c (sock_s_unpack_sockaddr_in): check too shortakr
sockaddr. (sock_s_unpack_sockaddr_un): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-11remove PercentScanner. fixed % after %> bug. [ruby-dev:37751] [Bug #997]seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-26* lib/optparse.rb (OptionParser::List#summarize): gives prioritynobu
to latter switches. [ruby-dev:36692] * lib/optparse.rb (OptionParser#summarize): do not append unnecessary line terminator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@21066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-21* lib/optparse.rb (SPLAT_PROC): fix for regexp. [ruby-dev:37514]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-18 * test warning cleanups.nahi
* lib/webrick/https.rb, lib/soap/attachment.rb, test/xsd/test_xsd.rb: uninitialized instance variables. * lib/xsd/datatypes.rb: use Date#new! instead of Date#new0 according to deprecation message. * lib/webrick/httpservlet/cgihandler.rb, lib/xsd/codegen/gensupport.rb, lib/soap/property.rb, lib/soap/mimemessage.rb, test/webrick/test_cgi.rb: use String#each_line and String#lines.to_a instead of String#each according to deprecation message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-11* lib/rss/maker.rb, lib/rss/maker/0.9.rb, lib/rss/maker/base.rb:kou
RSS::Maker.[] returns a maker class corresponds to passed version. * test/rss/test_maker_*.rb: add tests for RSS::Maker.[]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-11* test/ruby/test_enumerator.rb: Add tests for the recently addedknu
features. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-08* pack.c (pack_pack): fixed length for odd length string.nobu
[ruby-dev:37283] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-04* ext/openssl/ossl_ssl.c (ossl_ssl_read_nonblock):matz
OpenSSL::SSL::SSLSocket should implement read_nonblock. a patch from Aaron Patterson in [ruby-core:20277]. fix: #814 [ruby-core:20241] * ext/tk/lib/tk/menu.rb: TkOptionMenubutton.new fails to treat git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03* pack.c (rb_utf8_to_uv), intern.h: Rename utf8_to_uv toknu
rb_utf8_to_uv and export. * re.c (str_ord): Backport String#ord from 1.9 (sort of); requested by Shinichiro Hamaji in [ruby-dev:37247]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03* string.c (rb_str_getbyte, rb_str_setbyte): Add String#getbyteknu
and String#setbyte for the forward compatibility with 1.9, where the behavior of String#[] and String#[]= have changed; based on a patch from Shinichiro Hamaji in [ruby-dev:37247]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-24 * lib/logger.rb: imported upstream version (logger/1.2.7)nahi
* do not raise an exception even if log writing failed. * do not raise ShiftingError if an aged file already exists. (no ShiftingError will be raised from 1.2.7, just warn() instead) * test/logger/test_logger.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18fixed fails occasionally [ruby-dev:37119]. thanks, shinichiro.h.seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18* lib/logger.rb (ProgName): fixed for svn, based on a patch fromnobu
Nobuhiro IMAI at [ruby-dev:37108]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-10* ext/dbm/dbm.c (fdbm_key): Rename #index to #key. Emit a warningknu
when #index is called. (fdbm_indexes): Emit a deprecation warning. * ext/gdbm/gdbm.c: Ditto. * ext/sdbm/init.c: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-06* lib/rexml/entity.rb (unnormalized): do not callshugo
document.record_entity_expansion if document is nil. see <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502535>. Thanks, Naohisa Goto. backported from trunk. * test/rexml/test_document.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-21Fixed test failures [ruby-dev:36837].seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@19877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-14* lib/net/pop.rb: check for invalid APOP timestamp. (CVE-2007-1558)kazu
[ruby-dev:36631] * test/net/pop/test_pop.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@19774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-15* test/matrix/test_matrix.rb (setup): typo.yugui
(test_equality): [BUG] misdefinition of the expected working. Reported by an anonymous user. (test_hash): added. * test/matrix/test_vector.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@19353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-14* lib/matrix.rb (Vector#eql?): typo of the method name as "eqn?".yugui
(Vector#eqn?): removed. Defined by mistake. Fixes [ruby-dev:36294]. Reported by weda <weda AT issp.u-tokyo.ac.jp> and an anonymous user. * test/matrix/test_matrix.rb: added. * test/matrix/test_vector.rb: added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@19339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-13* lib/rexml/document.rb: limit entity expansion. Thanks, Lukashugo
Treiber, Mitja Kolsek, and Michael Koziarski. backported from trunk r19033, r19317, r19318. * lib/rexml/entity.rb: ditto. * test/rexml/test_document.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@19320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-09-03* gc.c (rb_mark_set): new function to mark keys.nobu
* marshal.c (struct dump_arg, struct load_arg): added wrappers to mark data entries. backport from trunk r13527,r13528,r13961,r16533. [ruby-dev:36082] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@19078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-19* enumerator.c (Init_Enumerator): Rename Enumerable::Enumerator toknu
just Enumerator and redefine the former as an alias for backward compatibility. * lib/set.rb (TC_Set#test_each), test/ruby/test_enumerator.rb (TestEnumerator#test_initialize): Enumerable::Enumerator is now called Enumerator. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@18705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-17* lib/webrick/cgi.rb (WEBrick::CGI::Socket#eof?): added lacked method.gotoyuzo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@18676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-30* win32/win32.c (rb_w32_select): recalc the rest of timeout for eachnobu
iterations. [ruby-core:18015] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@18262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-28* test/rss/: use PNG instead of zlib as binary data. [ruby-dev:35666]kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@18246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-10* test/ruby/test_string.rb (test_succ, test_succ!): reverted stalenobu
tests. [ruby-core:17704] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-08* string.c (rb_str_succ): alphabets or numerics mutually enclosingnobu
non-alphanumeric characters can carry up. e.g., "1.999".succ should be "2.000". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-07* string.c (rb_str_succ): limit carrying in an alphanumeric region ifnobu
exists. [ruby-dev:35094] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-04fix %% line bug. [ruby-core:17491]seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-03* include/ruby/ruby.h (POSFIXABLE): use FIXNUM_MAX+1 instead ofakr
FIXNUM_MAX to make it possible to convert to double accurately. It assumes FLT_RADIX is 2. fix RubyForge bug #14102. backported from 1.9. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-29* NEWS: add an entry for rss.kou
* lib/rss/, test/rss/: merge from trunk. - 0.2.4 -> 0.2.5. - RSS::Maker.make raise an exception not returns nil for invalid feed making. - RSS::Maker.make requires block. - don't use instance_variable to initialize variables. (speed up) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-27* time.c: fix rounding negative float.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19wrong commit; sorrymatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-19* lib/mathn.rb (Rational::power2): typo fixed. [ruby-core:17293]matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@17449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e