1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test
matz 70bbad3cfd * array.c: replace rb_protect_inspect() and rb_inspecting_p() by
rb_exec_recursive() in eval.c.

* eval.c (rb_exec_recursive): new function.

* array.c (rb_ary_join): use rb_exec_recursive().

* array.c (rb_ary_inspect, rb_ary_hash): ditto.

* file.c (rb_file_join): ditto.

* hash.c (rb_hash_inspect, rb_hash_to_s, rb_hash_hash): ditto.

* io.c (rb_io_puts): ditto.

* object.c (rb_obj_inspect): ditto

* struct.c (rb_struct_inspect): ditto.

* lib/set.rb (SortedSet::setup): a hack to shut up warning.
  [ruby-talk:132866]

* lib/time.rb (Time::strptime): add new function.  inspired by
  [ruby-talk:132815].

* lib/parsedate.rb (ParseDate::strptime): ditto.

* regparse.c: move st_*_strend() functions from st.c.  fixed some
  potential memory leaks.

* exception error messages updated.  [ruby-core:04497]

* ext/socket/socket.c (Init_socket): add bunch of Socket
  constants.  Patch from Sam Roberts <sroberts@uniserve.com>.
  [ruby-core:04409]

* array.c (rb_ary_s_create): no need for negative argc check.
  [ruby-core:04463]

* array.c (rb_ary_unshift_m): ditto.

* lib/xmlrpc/parser.rb (XMLRPC::FaultException): make it subclass
  of StandardError class, not Exception class.  [ruby-core:04429]

* parse.y (fcall_gen): lvar(arg) will be evaluated as
  lvar.call(arg) when lvar is a defined local variable. [new]

* object.c (rb_class_initialize): call inherited method before
  calling initializing block.

* eval.c (rb_thread_start_1): initialize newly pushed frame.

* lib/open3.rb (Open3::popen3): $? should not be EXIT_FAILURE.
  fixed: [ruby-core:04444]

* eval.c (is_defined): NODE_IASGN is an assignment.

* ext/readline/readline.c (Readline.readline): use rl_outstream
  and rl_instream.  [ruby-dev:25699]

* ext/etc/etc.c (Init_etc): sGroup needs HAVE_ST_GR_PASSWD check
  [ruby-dev:25675]

* misc/ruby-mode.el: [ruby-core:04415]

* lib/rdoc/generators/html_generator.rb: [ruby-core:04412]

* lib/rdoc/generators/ri_generator.rb: ditto.

* struct.c (make_struct): fixed: [ruby-core:04402]

* ext/curses/curses.c (window_color_set): [ruby-core:04393]

* ext/socket/socket.c (Init_socket): SO_REUSEPORT added.
  [ruby-talk:130092]

* object.c: [ruby-doc:818]

* parse.y (open_args): fix too verbose warnings for the space
  before argument parentheses.  [ruby-dev:25492]

* parse.y (parser_yylex): ditto.

* parse.y (parser_yylex): the first expression in the parentheses
  should not be a command.  [ruby-dev:25492]

* lib/irb/context.rb (IRB::Context::initialize): [ruby-core:04330]

* object.c (Init_Object): remove Object#type.  [ruby-core:04335]

* st.c (st_foreach): report success/failure by return value.
  [ruby-Bugs-1396]

* parse.y: forgot to initialize parser struct.  [ruby-dev:25492]

* parse.y (parser_yylex): no tLABEL on EXPR_BEG.
  [ruby-talk:127711]

* document updates - [ruby-core:04296], [ruby-core:04301],
  [ruby-core:04302], [ruby-core:04307]

* dir.c (rb_push_glob): should work for NUL delimited patterns.

* dir.c (rb_glob2): should aware of offset in the pattern.

* string.c (rb_str_new4): should propagate taintedness.

* env.h: rename member names in struct FRAME; last_func -> callee,
  orig_func -> this_func, last_class -> this_class.

* struct.c (rb_struct_set): use original method name, not callee
  name, to retrieve member slot.  [ruby-core:04268]

* time.c (time_strftime): protect from format modification from GC
  finalizers.

* object.c (Init_Object): remove rb_obj_id_obsolete()

* eval.c (rb_mod_define_method): incomplete subclass check.
  [ruby-dev:25464]

* gc.c (rb_data_object_alloc): klass may be NULL.
  [ruby-list:40498]

* bignum.c (rb_big_rand): should return positive random number.
  [ruby-dev:25401]

* bignum.c (rb_big_rand): do not use rb_big_modulo to generate
  random bignums.  [ruby-dev:25396]

* variable.c (rb_autoload): [ruby-dev:25373]

* eval.c (svalue_to_avalue): [ruby-dev:25366]

* string.c (rb_str_justify): [ruby-dev:25367]

* io.c (rb_f_select): [ruby-dev:25312]

* ext/socket/socket.c (sock_s_getservbyport): [ruby-talk:124072]

* struct.c (make_struct): [ruby-dev:25249]

* dir.c (dir_open_dir): new function.  [ruby-dev:25242]

* io.c (rb_f_open): add type check for return value from to_open.

* lib/pstore.rb (PStore#transaction): Use the empty content when a
  file is not found.  [ruby-dev:24561]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-03-04 06:47:45 +00:00
..
csv * test/csv/test_csv.rb: illegal require module name (../lib/csv.rb). 2004-05-27 02:26:15 +00:00
dbm * hash.c (rb_f_getenv): prohibit for $SAFE=4. [ruby-dev:24908] 2004-11-18 08:11:12 +00:00
digest * lib/drb/drb.rb (DRbServer.default_safe_level): fix typo. 2005-02-17 11:16:57 +00:00
drb (DRbObject#respond_to?) take two arguments. [ruby-dev:25722] 2005-02-19 10:00:33 +00:00
erb * MANIFEST: add test_erb.rb 2004-02-28 01:52:14 +00:00
fileutils * test/fileutils/test_fileutils.rb (setup): support BSD style directory group inheritance (again). 2005-01-26 15:13:03 +00:00
gdbm * hash.c (rb_f_getenv): prohibit for $SAFE=4. [ruby-dev:24908] 2004-11-18 08:11:12 +00:00
io/nonblock * test/io/nonblock/test_flush.rb (TestIONonblock#test_flush): write 2004-12-07 18:26:12 +00:00
logger * array.c: replace rb_protect_inspect() and rb_inspecting_p() by 2005-03-04 06:47:45 +00:00
monitor
net * lib/net/imap.rb (decode_utf7): use pack("U*") to encode UTF-8. 2005-01-21 08:15:56 +00:00
nkf * ext/nkf/nkf-utf8/nkf.c (reinit): should initialize all static 2004-12-28 06:49:04 +00:00
openssl * test/openssl/ssl_server.rb: get rid of race condition. 2005-02-16 14:58:25 +00:00
optparse * lib/optparse.rb (OptionParser::Completion#complete): new parameter 2004-12-05 10:39:58 +00:00
ostruct
readline * test/readline/test_readline.rb: fix for NetBSD. 2004-12-02 01:54:13 +00:00
rinda improved keeper thread 2005-02-28 15:41:14 +00:00
ripper * test/ripper/test_scanner_events.rb: fix test. 2005-02-04 17:25:09 +00:00
rss * lib/rss/dublincore.rb (RSS::DublicCoreModel#date{,=}): added 2005-02-13 14:21:21 +00:00
ruby * array.c: replace rb_protect_inspect() and rb_inspecting_p() by 2005-03-04 06:47:45 +00:00
scanf Fixed to work with Ruby test suite (patch from Nobu) 2004-03-02 11:21:32 +00:00
soap * lib/soap/*, test/soap/*, sample/soap/authheader/*: eval cleanup. 2004-12-21 15:08:56 +00:00
socket * ext/socket/socket.c (sock_listen): get OpenFile just before calling 2004-12-09 23:39:57 +00:00
stringio * ext/stringio/stringio.c (strio_write): insufficiently filled string 2004-11-29 07:06:21 +00:00
strscan * ext/strscan/strscan.c: new method StringScanner#initialize_copy to allow #dup and #clone. 2004-03-05 11:20:12 +00:00
testunit * lib/test/unit.rb: use standalone runner for -e. 2004-12-19 02:01:59 +00:00
uri * lib/uri/generic.rb (split_userinfo): should split ":pass" into "" 2005-02-23 06:08:29 +00:00
webrick * test/webrick/utils.rb: resuce LoadError. 2005-01-10 07:58:55 +00:00
wsdl * added files: 2004-12-20 13:50:15 +00:00
xmlrpc * lib/xmlrpc/client.rb: use "" instead of "." if prefix argument is 2004-12-21 16:23:33 +00:00
xsd * added files: 2004-12-20 13:50:15 +00:00
yaml * ext/syck/MANIFEST, ext/syck/depend: new file. 2004-05-15 04:38:39 +00:00
zlib don't modify $/ 2004-09-07 07:11:06 +00:00
inlinetest.rb * test/inlinetest.rb (InlineTest::loadtest): requiring library with 2004-05-19 09:00:48 +00:00
runner.rb * lib/test/unit/collector.rb (collect_file): now deletes paths added 2005-02-17 04:50:49 +00:00
test_generator.rb * test/test_*.rb: Pathname#parent -> Pathname#dirname. 2004-01-13 04:06:31 +00:00
test_ipaddr.rb * test/test_*.rb: Pathname#parent -> Pathname#dirname. 2004-01-13 04:06:31 +00:00
test_pathname.rb * test/test_*.rb: Pathname#parent -> Pathname#dirname. 2004-01-13 04:06:31 +00:00
test_pp.rb * test/test_*.rb: Pathname#parent -> Pathname#dirname. 2004-01-13 04:06:31 +00:00
test_prettyprint.rb * test/test_*.rb: Pathname#parent -> Pathname#dirname. 2004-01-13 04:06:31 +00:00
test_set.rb * test/test_*.rb: Pathname#parent -> Pathname#dirname. 2004-01-13 04:06:31 +00:00
test_time.rb * test/test_*.rb: Pathname#parent -> Pathname#dirname. 2004-01-13 04:06:31 +00:00
test_tsort.rb * test/test_*.rb: Pathname#parent -> Pathname#dirname. 2004-01-13 04:06:31 +00:00