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

5271 Коммитов

Автор SHA1 Сообщение Дата
usa 8783ed5ab0 2004-08-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-12 01:56:47 +00:00
usa 564538541e * rubyio.h (rb_eof_error): should mark as NORETURN.
* win32/win32.c (make_cmdvector): adjust escaped successive
  double-quote handling.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-12 01:56:25 +00:00
akr 0e104131b8 add test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-11 16:59:31 +00:00
akr 8f8de7782e * io.c (read_buffered_data): extracted from rb_io_fread.
(io_readpartial): new method IO#readpartial.
  [ruby-dev:24055]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-11 16:57:14 +00:00
eban 9492165db2 2004-08-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-11 08:22:14 +00:00
eban 39516ae717 * configure.in (RPATHFLAG): stop setting RPATHFLAG on Interix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-11 08:21:39 +00:00
ocean 1a79a3139a no message
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-09 14:00:58 +00:00
ocean 18e9500afc no message
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-09 09:10:25 +00:00
gotoyuzo 461bbe2f45 * lib/webrick/httpservlet/erbhandler.rb
(WEBrick::HTTPServlet::ERBHandler#do_GET): should select media type
  by suffix of script filename.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-09 06:04:59 +00:00
dave 541d9d3536 Roll in Austin Ziegler's patch
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-09 03:54:15 +00:00
ocean 072985c0f8 no message
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-09 02:34:02 +00:00
ocean d47f2458ad 2004-08-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-09 02:27:45 +00:00
aamine 18c0a86cc6 * lib/fileutils.rb (cp_r): copies symlink to symlink, except cp_r root.
* lib/fileutils.rb: new method FileUtils.copy_entry.
* test/fileutils/test_fileutils.rb: more cp_r tests.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-08 21:35:11 +00:00
ocean ab8f2ed967 no message
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-08 06:53:04 +00:00
ocean ee102ea192 no message
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-08 06:43:53 +00:00
ocean 8364780988 2004-08-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-08 02:33:31 +00:00
why e3619768b1 * lib/implicit.c: added sexagecimal float#base60.
* ext/syck/rubyext.c (yaml_org_handler): ditto.

* lib/token.c: indentation absolutely ignored when processing flow
  collections.  plain scalars are trimmed if indentation follows in
  an ambiguous flow collection.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-07 15:34:39 +00:00
eban 5190564b68 2004-08-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-06 16:32:16 +00:00
akr a3a55eb550 * ext/zlib/zlib.c: Zlib::GzipReader#read(0) returns "" instead of nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-06 16:01:02 +00:00
ocean b15e66669f Add ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-05 01:20:00 +00:00
eban 06c0305e1b 2004-08-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-03 05:11:20 +00:00
nagai 7fc53294f2 * ext/tk/lib/tk/namespace.rb: bug fix
* ext/tk/lib/tkextlib/treectrl/tktreectrl.rb: add Tk::TreeCtrl.loupe


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-03 04:49:20 +00:00
ocean 84fddcff2f * test/ruby/test_file.rb (test_fnmatch): added more tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-02 14:35:06 +00:00
nagai b259fddba8 * ext/tk/lib/msgcat.rb (set_translation): bug fix (fail to set
trans_str to the same as src_str when trans_str is not given.)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-02 09:06:18 +00:00
matz c267d34070 * eval.c (blk_free): fixed serious memory leak. [ruby-dev:24013]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-02 08:52:53 +00:00
usa 82c39d5579 2004-08-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-02 03:02:27 +00:00
dave ee580a5a92 Bugfix: looping on some toplevel symbols. Added SWIG support
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-08-02 02:59:17 +00:00
matz fd404f03cb * eval.c (is_defined): stupid mistakes fixed. [ruby-dev:24006]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-31 14:13:30 +00:00
nobu cd110140db * misc/ruby-mode.el (ruby-expr-beg, ruby-parse-partial,
ruby-calculate-indent, ruby-move-to-block, ruby-forward-sexp,
  ruby-backward-sexp): keywords must match word-wise.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-31 08:40:24 +00:00
matz 021b336535 * eval.c (is_defined): avoid unnecessary method invocations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-31 04:40:11 +00:00
why 45942bdbc6 * lib/yaml/rubytypes.rb: exceptions were using an older
YAML.object_maker. [ruby-core:03080]

* ext/syck/token.c (sycklex_yaml_utf8): using newline_len to
  handline CR-LFs.  "\000" was showing up on folded blocks which
  stopped at EOF.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-30 20:31:09 +00:00
eban 4bcb334a5c 2004-07-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-30 16:40:14 +00:00
matz d21727bdc5 * eval.c (is_defined): call is_defined() before invoking
rb_eval().  [ruby-talk:107867]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-30 16:38:03 +00:00
ocean b079f859b9 2004-07-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-30 09:05:39 +00:00
nagai bfab094512 * ext/tcltklib/tcltklib.c(lib_fromUTF8_core): raise ArgumentError when
the unknown encoding name is given.
* ext/tcltklib/tcltklib.c(lib_toUTF8_core): ditto.
* ext/tk/lib/tk.rb(Tk::Encoding.encoding_convertfrom): bug fix.
* ext/tk/lib/tk.rb(Tk::Encoding.encoding_convertto): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-30 07:13:55 +00:00
usa 30de361409 2004-07-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-29 06:27:53 +00:00
nagai 73472b4b7b * ext/tk/lib/tkextlib/pkg_checker.rb: improve the check process
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-29 03:09:38 +00:00
matz 3a43b8429f * lib/cgi.rb (CGI::initialize): remove at_exit code for CGI_PARAMS
and CGI_COOKIES.  they will no longer be used.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-28 13:15:47 +00:00
akr 51c61416d7 fix a reference to ruby-dev.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-28 11:03:35 +00:00
matz 1bd47bf0bc * eval.c (rb_call0): should call rb_call_super() directly for
visibility overriding.  [ruby-dev:23989]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-28 09:05:08 +00:00
nagai 3f1f17c8c5 * ext/tk/lib/validate.rb: accept a Method object for the validatecommand option
* ext/tk/lib/tkextlib/winico.rb: add winico extension support


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-28 08:29:53 +00:00
nagai 92e7fccf41 * for backward compatibility (see [ruby-talk:107510], [ruby-talk:107647])
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-28 05:58:49 +00:00
eban 6d83f3afbd 2004-07-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-28 02:15:22 +00:00
matz 9531aef9eb * env.h: remove argv from ruby_frame.
* eval.c (rb_eval): no more copy on write.

* eval.c (assign): ditto.

* eval.c (rb_call0): can receive *rest by specifying negative
  argc.  (-1 means 0 arg and *rest, -2 means 1 arg and *rest...)

* eval.c (rb_call0): properly set frame's argc counter.

* gc.c (rb_gc_mark_frame): need not to mark frame's argv

* gc.c (run_final): wrong order of data. [ruby-dev:23948]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-28 01:22:49 +00:00
matz 7b5b448a1e * eval.c (rb_call0): update ruby_frame->argv with the default
value used for the optional arguments.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-27 08:34:28 +00:00
eban 457bc261c5 2004-07-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-27 08:14:58 +00:00
matz bc667633d0 * eval.c (rb_eval): copy on write for argument local variable
assignment.

* eval.c (assign): ditto.

* eval.c (rb_call0): update ruby_frame->argv with the default
  value used for the optional arguments.

* object.c (Init_Object): "===" calls rb_obj_equal() directly.
  [ruby-list:39937]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-27 08:11:36 +00:00
eban ae7d870923 2004-07-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-26 02:53:14 +00:00
gotoyuzo 36adf323b6 * lib/webrick/httputils.rb (WEBrick::HTTPUtils.escape): should
escape space.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-26 02:50:18 +00:00
eban 18789d6b5d 2004-07-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-07-25 02:55:02 +00:00