matz
8db864c999
* io.c (rb_f_open): create copy of popen specifier. [ruby-dev:24656]
...
* string.c (rb_str_locktmp): lock string temporarily.
* string.c (str_independent): add tmplock check.
* io.c (io_write): lock output string temporarily.
[ruby-dev:24649]
* io.c (io_write): use rb_str_locktmp().
* io.c (read_all): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-31 17:37:52 +00:00
naruse
b7e13d8677
process.c: on NetBSD don't use setruid() and setrgid().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-31 15:04:15 +00:00
naruse
a8966861e8
On NetBSD don't use setruid() and setrgid().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-31 14:37:08 +00:00
eban
ac0fc7798d
* ext/ripper/MANIFEST: typofix(src.rb -> src_rb).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-31 14:24:29 +00:00
eban
b16206503c
* MANIFEST:
...
Added files:
ruby/lib/rss/maker:
0.9.rb 1.0.rb 2.0.rb base.rb content.rb dublincore.rb
syndication.rb trackback.rb
ruby/test/rss:
test_maker_0.9.rb test_maker_1.0.rb test_maker_2.0.rb
test_maker_content.rb test_maker_dc.rb test_maker_sy.rb
test_maker_trackback.rb test_maker_xml-stylesheet.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-31 14:21:11 +00:00
kou
d58d59b0a4
* lib/rss/maker/*.rb: added RSS Maker.
...
* test/rss/test_maker_*.rb: added tests for RSS Maker.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-31 14:14:21 +00:00
suke
c6cf2e24fe
add WIN32OLE.codepage, WIN32OLE.codepage=
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-31 07:59:58 +00:00
eban
6d63dce6cb
* ext/nkf/nkf-utf8/nkf.c: add "\075?UTF-8?Q?" for Gmail.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-31 05:37:09 +00:00
eban
97d9e12e07
* 2004-10-31
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-31 05:33:15 +00:00
aamine
cf49a01eae
* parse.y [ripper]: emit lexer-event values to the parser.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-31 05:22:58 +00:00
eban
1c0b6e5829
* ext/win32ole/MANIFEST: added tests/testOLETYPELIB.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-30 08:17:40 +00:00
eban
1263b69762
* 2004-10-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-30 08:16:19 +00:00
matz
3e9e2bd4ed
* eval.c (rb_eval): NODE_XSTR should pass copy of literal string.
...
* array.c (rb_ary_update): a[n,m]=nil no longer works as element
deletion.
* enum.c (enum_sort_by): protect continuation jump in.
[ruby-dev:24642]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-30 06:56:18 +00:00
suke
ad2c05f1c0
ext/win32ole/win32ole.c: add WIN32OLE_TYPELIB class. add
...
WIN32OLE#ole_typelib method.
ext/win32ole/tests/testOLETYPELIB.rb: add WIN32OLE_TYPELIB class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-30 06:25:00 +00:00
akr
7dc3169658
add a test for a problem of [ruby-talk:116455]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-29 23:22:57 +00:00
akr
1bc4363c5e
add test for [ruby-dev:24643].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-29 22:45:13 +00:00
nobu
9f5f676d82
* io.c (rb_io_check_initialized): new function to check uninitialized
...
object. [ruby-talk:118234]
* file.c (rb_file_path), io.c (rb_io_closed): check if initialized.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-29 12:28:32 +00:00
naruse
b99f22f196
obsoleted by nkf-utf8/nkf.c.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-29 10:59:34 +00:00
naruse
bf31fe3ed0
* ext/nkf: follow nkf2.0.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-29 10:11:22 +00:00
nobu
6b8e5b303f
* CR stripped.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-29 08:43:10 +00:00
usa
61edd31bf6
* parse.y (ripper_s_allocate): add prototype for Microsoft compiler.
...
* range.c (range_step, range_each): need cast.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-29 08:19:50 +00:00
matz
7c04db1d3c
* eval.c (rb_thread_start_0): forget to free some memory chunks.
...
[ruby-core:03611]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-29 08:08:16 +00:00
naruse
6d25a97ca0
from nkf 2.0.4
...
http://sourceforge.jp/projects/nkf/
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-29 06:55:08 +00:00
naruse
35b917f3ee
follow to nkf 2.0.4
...
:new constants
NKF::VERSION
NKF::ASCII
NKF::UTF8
NKF::UTF16
NKF::UTF32
:new methods
NFK.guess1 (guess)
NKF.guess2 (from nkf2)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-29 06:51:33 +00:00
naruse
640fad68cc
follow to nkf 2.0.4
...
:new constants
NKF::VERSION
NKF::ASCII
NKF::UTF8
NKF::UTF16
NKF::UTF32
:new metHods
NFK.guess1 (guess)
NKF.guess2 (from nkf2)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-29 06:51:33 +00:00
nobu
1b66559c66
* parse.y (rb_parser_append_print, rb_parser_while_loop): body node
...
can be empty. [ruby-dev:24628]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-29 02:35:11 +00:00
eban
e954bfb6ef
* 2004-10-29
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-29 02:13:36 +00:00
matz
b0dee8f90d
* eval.c (ruby_cleanup): ruby_finalize_1 may cause exception,
...
should be wrapped by PUSH_TAG/POP_TAG(). [ruby-dev:24627]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-29 01:06:37 +00:00
eban
80e9b8f295
* 2004-10-28
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-27 16:42:43 +00:00
nobu
4fabf11840
* string.c (str_gsub): use STR_NOCAPA.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-27 15:23:16 +00:00
matz
018837b84f
* node.h (NODE_TYPESHIFT): allow 4 more bits for line numbers.
...
[ruby-talk:117841]
* ruby.h (FL_ABLE): nodes are not subject for flag operations.
* io.c (ARGF_FORWARD): should have specified argv explicitly,
since we no longer have frame->argv saved. [ruby-dev:24602]
* string.c (RESIZE_CAPA): check string attribute before modifying
capacity member of string structure. [ruby-dev:24594]
* ext/zlib/zlib.c (gzreader_gets): use memchr() to to gain
performance. [ruby-talk:117701]
* sprintf.c (rb_f_sprintf): raise ArgumentError for extra
arguments, unless (digit)$ style used.
* io.c (rb_io_fptr_finalize): leave stdin/stdout/stderr open in
interpreter termination. [ruby-dev:24579]
* eval.c (frame_free): Guy Decoux solved the leak problem.
Thanks. [ruby-core:03549]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-27 09:29:26 +00:00
nobu
6ffdbac5ed
* 2004-10-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-27 00:19:40 +00:00
nobu
ee51d0f9fd
* string.c (str_gsub): use a string object for exception safeness.
...
[ruby-dev:24601]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-27 00:18:08 +00:00
eban
c7b31b0048
* 2004-10-26
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-26 14:59:41 +00:00
dave
3ecf38f376
Restore correct :nodoc: behavior with nested classes
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-26 14:33:17 +00:00
eban
b088595db7
* win32/win32.c (isUNCRoot): should check NUL after '.'.
...
[ruby-dev:24590]
* win32/win32.c (isUNCRoot): fixed buffer overrun.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-25 09:40:55 +00:00
nobu
cdb66dc248
2004-10-25
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-25 00:03:22 +00:00
nobu
da1265564a
* eval.c (get_backtrace): ignore illegal backtrace. [ruby-dev:24587]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-24 23:04:04 +00:00
nagai
9f196e03cb
* ext/tk/sample/tkextlib/bwidget/tree.rb: bug fix
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-24 13:13:12 +00:00
eban
eba5641496
* 2004-10-24
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-23 15:43:25 +00:00
nobu
d0c2e3c7c9
* eval.c (rb_load, search_required, rb_require_safe, rb_require): use
...
frozen shared string to avoid outside modification. [ruby-dev:24580]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-23 15:41:17 +00:00
matz
9c65d88c0e
* ext/zlib/zlib.c (zstream_append_input): clear klass for z->input
...
to avoid potential vulnerability.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-23 06:53:11 +00:00
eban
a0f6bcf93f
* 2004-10-23
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-23 06:21:26 +00:00
ttate
0748ee8b90
Use NUM2INT to convert short values.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-23 06:05:15 +00:00
matz
3377aebed4
* ext/zlib/zlib.c (zstream_run): always use zstream_append_input()
...
to avoid SEGV. [ruby-dev:24568]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-22 15:28:13 +00:00
matz
1419b789ab
* eval.c (rb_alias): was warning for wrong condition.
...
[ruby-dev:24565]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-22 03:05:10 +00:00
gotoyuzo
e7a1207dcd
* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#meta_vars):
...
should check if path_info is not nil. [webrickja:126]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-22 01:38:42 +00:00
matz
d9d60e8c12
* ext/zlib/zlib.c (zstream_shift_buffer): should restore class
...
field of a buffer. [ruby-dev:24562]
* eval.c (rb_alias): should warn on method discarding.
[ruby-dev:24546]
* ext/zlib/zlib.c (zstream_expand_buffer_into): hide internal
string buffer by clearing klass. [ruby-dev:24548]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-21 16:13:32 +00:00
eban
9cd654ea26
* 2004-10-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-21 15:23:57 +00:00
nobu
0f3decb071
* string.c (rb_str_include): should not treat char as negative value.
...
[ruby-dev:24558]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-21 15:21:08 +00:00