nobu
a70f475dbb
* ext/stringio/stringio.c (strio_write): insufficiently filled string
...
being extended when overwriting. [ruby-core:03836]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29 07:06:21 +00:00
nobu
a229d2e740
* test/io/nonblock/test_flush.rb: abandon tests when io/nonblock is
...
not supported.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29 06:22:42 +00:00
(no author)
9a851dc157
This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29 06:22:42 +00:00
matz
f6348ca0ea
* object.c (convert_type): [ruby-core:03845]
...
* eval.c (rb_funcall_rescue): new function.
* object.c (rb_Array): avoid using rb_respond_to().
* object.c (rb_Integer): ditto.
* eval.c (get_backtrace): no conversion for nil.
* parse.y (reduce_nodes): empty body should return nil.
* lib/cgi/session.rb (CGI::Session::initialize): [ruby-core:03832]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29 06:13:52 +00:00
usa
c56fa330b2
* win32/win32.c (CreateChild): search executable file if no program
...
name given. (backported from CVS HEAD)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29 05:00:29 +00:00
nobu
9247eb133b
* io.c (fptr_finalize): must not use FILE after fclose().
...
[ruby-dev:24985]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29 04:38:08 +00:00
usa
518c3a3479
* win32/win32.c (CreateChild): push back the last space before next
...
loop because CharNext() eats it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29 04:17:05 +00:00
usa
4192b873cc
* 2004-11-29
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29 00:24:01 +00:00
akr
07899e989a
don't use READ_DATA_PENDING in previous change
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-28 17:02:14 +00:00
akr
92cabdfde6
add ML ref.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-28 16:46:04 +00:00
akr
4c97d89957
* io.c (rb_io_check_writable): restrict io_seek by
...
READ_DATA_PENDING because io_seek(fptr, 0, SEEK_CUR) is
meaningful only if read buffer is not empty.
call io_seek regardless of NEED_IO_SEEK_BETWEEN_RW.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-28 16:31:12 +00:00
akr
3c5b1c7110
io.c (rb_io_fwrite): set path to NULL
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-27 14:08:45 +00:00
akr
2964c16f38
String::IO -> StringIO
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-27 13:33:34 +00:00
akr
d24eed07b9
typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-27 13:08:11 +00:00
akr
9233c9a14c
* io.c: avoid avoid data loss with nonblocking fd and
...
stdio buffering in sync mode. [ruby-dev:24966]
based on matz's patch [ruby-dev:24967]
(io_fwrite): new primitive writing function which writes
directly if sync mode.
(rb_io_fwrite): wrapper for io_fwrite now.
(io_write): call io_fwrite instead of rb_io_fwrite.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-27 13:05:46 +00:00
eban
88df4b1580
* 2004-11-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-27 02:25:54 +00:00
matz
e8fe520ecd
* io.c (io_fread): [ruby-dev:24964]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-27 02:21:53 +00:00
nagai
f798721334
* ext/tk/lib/tk.rb: Tk.destroy uses TkWindow#epath
...
* ext/tk/lib/tk/image.rb: bug fix
* ext/tk/lib/tk/wm.rb: add 'iconphoto' method(Windows only)
* ext/tk/lib/tkextlib/*: some methods uses TkWindow#epath
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-26 09:07:25 +00:00
matz
13e9c5ed18
* eval.c (method_missing): raise TypeError for classes do not
...
have allocators. [ruby-core:03752]
* lib/erb.rb: [ruby-core:03786]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-26 05:01:13 +00:00
dave
8d68de2482
Fix problem with :section: and new 1.9
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-26 04:32:11 +00:00
eban
3288671d82
* lib/erb.rb: CR stripped.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25 16:04:24 +00:00
eban
349fa4d37d
* 2004-11-26
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25 15:59:14 +00:00
matz
0d39336f6c
* io.c (io_read): move StringValue() check before GetOpenFile().
...
[ruby-dev:24959]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25 15:50:18 +00:00
nobu
87ebe411a6
* lib/thwait.rb (ThreadsWait#join_nowait): abnormally terminated
...
threads should be also processed. [ruby-talk:121320]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25 11:15:33 +00:00
ttate
c0b17e006c
bugfix for [ruby-talk:121309].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25 08:39:31 +00:00
ttate
bf6f327fb2
Use 'P' instead of 'p' in types.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25 08:15:29 +00:00
nobu
a460a366f8
descriptions.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25 02:24:02 +00:00
matz
7d783091a2
* io.c (read_all): [ruby-dev:24955]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25 01:26:49 +00:00
usa
35eac123de
* 2004-11-25
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25 01:19:24 +00:00
nobu
6e368fcc3c
* dir.c (push_braces): do not reuse buffer strings. [ruby-core:03806]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-25 01:14:35 +00:00
ttate
086b1b67eb
Improved encode_type() in types.rb for [ruby-talk:121175].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-24 16:41:16 +00:00
eban
12c3fa641a
* 2004-11-24
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-24 01:36:59 +00:00
matz
f175b8114c
* io.c (io_read): [ruby-dev:24952]
...
* configure.in, io.c: cancel [ ruby-Patches-1074 ].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-23 17:37:51 +00:00
nagai
81c1375c98
* ext/tk/lib/tk/menu.rb: improve usability of TkOptionMenubutton
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-22 23:12:37 +00:00
matz
4e979c77e5
* file.c (rb_file_chown): [ruby-dev:24949]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-22 17:02:45 +00:00
usa
51ffc4f881
* 2004-11-23
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-22 15:37:28 +00:00
matz
39080991ab
* file.c (rb_file_chown): integer conversion should be prior to
...
GetOpenFile(). [ruby-dev:24947]
* file.c (rb_file_truncate): ditto.
* file.c (rb_file_s_truncate): ditto.
* dir.c (dir_seek): use NUM2OFFT().
* misc/ruby-mode.el (ruby-non-block-do-re): [ruby-core:03719]
* dir.c (dir_seek): should retrieve dir_data after NUM2INT().
[ruby-dev:24941]
* string.c (rb_str_splice): should place index wrapping after
possible modification. [ruby-dev:24940]
* eval.c (error_print): nicer traceback at interrupt.
[ruby-core:03774]
* string.c (str_gsub): internal buffer should not be listed by
ObjectSpace.each_object() by String#gsub. [ruby-dev:24931]
* lib/cgi/session.rb (CGI::Session::FileStore::initialize): raise
exception if data corresponding to session specified from the
client does not exist.
* string.c (str_gsub): internal buffer should not be listed by
ObjectSpace.each_object(). [ruby-dev:24919]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-22 15:29:52 +00:00
usa
e2242e7e2a
* 2004-11-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-22 14:01:36 +00:00
dave
02942d87b9
Don't include 'require's with variable arguments
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-22 13:37:39 +00:00
eban
6d8c3c55b5
* 2004-11-21
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20 15:05:19 +00:00
dave
3635edac9d
1. Force --inline-source if --one-file given
...
2. Add new :section: directive which starts a new section in the output.
The title following :section: is used as the section heading, and the
remainder of the comment containing the section is used as
introductory text. Subsequent methods, aliases, attributes,
and classes will be documented in this section.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20 15:02:57 +00:00
eban
228b72b7a0
* string.c (rb_str_splice, rb_str_upcase_bang): cleanups.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20 14:37:35 +00:00
eban
4b992c1341
* ChangeLog: add ML reference.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20 14:07:46 +00:00
eban
e2aea7a236
* test/ruby/test_stringchar.rb (test_bang): added.
...
* string.c (rb_str_upcase_bang, rb_str_capitalize_bang)
(rb_str_swapcase_bang): missing rb_str_modify().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20 14:04:10 +00:00
naruse
346b582c02
* ext/nkf/nkf-utf8/utf8tbl.c: original revision 1.7
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20 04:36:07 +00:00
naruse
ee44b3a1fc
* original revision 1.7
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20 04:26:03 +00:00
usa
d071145cb8
* 2004-11-20
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-20 03:02:27 +00:00
naruse
8971be8f24
* ext/nkf/nkf-utf8/nkf.c: original nkf.c rev:1.40
...
* ext/nkf/test.rb: add test for mime encode/decode
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-19 20:54:15 +00:00
naruse
c4d301e4a7
* add and change mime encode/decode tests
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-19 20:52:35 +00:00
naruse
02f6ed66b7
* original nkf.c rev:1.40
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-19 20:52:01 +00:00