eban
a54f1be716
* mkconfig.rb: setup library paths before requiring library.
...
[ruby-core:03892]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-04 15:56:34 +00:00
aamine
95a5b4e9a4
* lib/fileutils.rb: (In previous commit) new method chown.
...
* lib/fileutils.rb: (In previous commit) new method chown_R.
* lib/fileutils.rb: (In previous commit) new method chmod_R wrongly added. Removed now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-04 12:29:55 +00:00
aamine
7c0370dcaf
* lib/fileutils.rb (mkdir, mkdir_p): should chmod explicitly. [ruby-core:03881]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-04 11:46:24 +00:00
kou
500bd1f033
* lib/rss/rss.rb: removed empty lines from output.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-04 09:55:29 +00:00
kou
636e37fcb9
* lib/rss/rss.rb (RSS::VERSION): 0.1.1 -> 0.1.2
...
* lib/rss/rss.rb: #item=/#set_item and so on are obsolete.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-04 09:53:01 +00:00
dave
5d8d975434
Ignore leading and trailing lines in :section: blocks
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-04 05:38:17 +00:00
matz
405a50a594
* eval.c (proc_invoke): prepare to pass a block from "call" method
...
to a Proc generated by Method#to_proc. [ruby-dev:25031]
* eval.c (rb_yield_0): actually passes a block given to "call".
* object.c (convert_type): use rb_respond_to() again. this fix is
based on [ruby-dev:25021]
* eval.c (rb_respond_to): funcall respond_to? if it's redefined.
[ruby-dev:25021]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-03 04:56:25 +00:00
nobu
da4884e2d4
* st.h: fix prototype for C++.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-03 03:25:29 +00:00
nagai
697908d0d4
* ext/tk/lib/tk.rb: widget configuration by TkWindow#method_missing
...
returns proper object. "widget.option = val" returns val, and
"widget.option(val)" returns self.
* ext/tk/lib/tk/font.rb: TkFont#replace accepts only one font argument.
* ext/tk/lib/tk/radiobutton.rb: add TkRadiobutton#value and value=(val).
* ext/tk/lib/tk/spinbox.rb: callback substitution support on command option.
* ext/tk/sample/demos-en/widget: bug fix (wrong image height)
* ext/tk/sample/demos-jp/widget: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-02 16:59:02 +00:00
mneumann
4c10b035ef
* test/xmlrpc/test_parser.rb, test/xmlrpc/data/*.expected: Expected
...
values are now stored in YAML instead of using #inspect. This fixes
false hash order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-02 15:22:23 +00:00
matz
5847fadf7b
* io.c (rb_file_initialize): [ruby-dev:25032]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-02 15:17:35 +00:00
nobu
dd1510eddc
* eval.c (rb_protect): prevent continuations created inside from being
...
called from the outside. [ruby-dev:25003]
* eval.c (rb_callcc, rb_cont_call): prohibit calling from different
signal contexts. [ruby-dev:25022]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-02 07:41:50 +00:00
shugo
c741090753
* test/readline/test_readline.rb: fix for NetBSD.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-02 01:54:13 +00:00
nobu
fc0fcec74e
* eval.c (thread_mark): mark thread group. [ruby-dev:25020]
...
* eval.c (thgroup_add): check whether the argument is really a Thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-02 00:31:17 +00:00
matz
aa997fca3e
* io.c (rb_io_ctl): [ruby-dev:25019]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-02 00:27:27 +00:00
naruse
c1b036033b
* ext/nkf/nkf.c: add constant NKF::VERSION
...
* ext/nkf/nkf.c(guess): this becomes an alias of guess2
* ext/nkf/test.rb: add --no-cp932
* ext/nkf/nkf-utf8/nkf.c: original nkf2 revision 1.47
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-12-01 22:44:46 +00:00
matz
1b4f379ba3
* signal.c (sighandler): call handler immediately only for default
...
handlers. [ruby-dev:25003]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-30 17:28:17 +00:00
nobu
6f1b13de99
* io.c (pipe_open): errno should be preserved for rb_sys_fail() when
...
fork failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-30 14:49:18 +00:00
matz
e6e84eab64
* io.c (io_fread): need not to null terminate. [ruby-dev:24998]
...
* io.c (read_all): remove unnecessary rb_str_resize().
[ruby-dev:24996]
* io.c (io_readpartial): ditto.
* io.c (io_read): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-30 09:36:39 +00:00
matz
ee6869c8d6
* eval.c (rb_eval): should check previous frame for ZSUPER.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-30 09:33:50 +00:00
matz
c079ee2bce
* eval.c (PUSH_FRAME): flags should have been initialized.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-30 06:10:53 +00:00
eban
9556d9333a
* instruby.rb (install): add arguments explicitly to "super".
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-30 06:01:58 +00:00
matz
38ada9fe87
* eval.c (rb_eval): [ruby-core:03856]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-30 04:01:17 +00:00
matz
c0acb3ce17
* io.c (rb_io_sysread): use temporary lock. [ruby-dev:24992]
...
* lib/ostruct.rb (OpenStruct::method_missing): check method
duplication for -d.
* lib/ostruct.rb (OpenStruct::initialize): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29 15:58:18 +00:00
ksaito
cb32ebe81c
* regparse.c: now handles many alternatives (over 500000) in regexp. [ruby-dev:24773]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29 15:16:20 +00:00
nobu
af7418e5c4
* 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/trunk@7417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29 07:06:21 +00:00
nobu
37eb7502db
* test/io/nonblock/test_flush.rb: abandon tests when io/nonblock is
...
not supported.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29 06:22:42 +00:00
matz
83cb605d69
* 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29 06:09:40 +00:00
nobu
fa69f28eb5
* io.c (fptr_finalize): must not use FILE after fclose().
...
[ruby-dev:24985]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29 04:38:08 +00:00
usa
0412ddfd24
* 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/trunk@7408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-29 04:17:05 +00:00
akr
a8f25ded9c
don't use READ_DATA_PENDING in previous change
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-28 17:02:14 +00:00
akr
da9166cc19
add ML ref.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-28 16:46:04 +00:00
akr
06646d1b4e
* 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/trunk@7404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-28 16:31:12 +00:00
kou
44b9ca6696
* added reference.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-28 07:02:36 +00:00
kou
0c616db7ff
* lib/rss/rss.rb (RSS::Element#tag): not use block_given? for
...
working with ruby 1.6 again.
* lib/rss/{0.9,2.0,trackback}.rb, lib/rss/maker/base.rb:
undef -> remove_method for working with ruby 1.6 again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-28 06:59:34 +00:00
kou
b684f87574
* lib/rss/rss.rb (RSS::NotSetError): added.
...
* lib/rss/maker/{1.0,0.9,2.0}.rb: changed RSS Maker to raise
RSS::NotSetError if required values of maker.channel are not
set.
* test/rss/test_maker_{1.0,0.9,2.0}.rb: changed tests to check RSS
Maker raises or not.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-28 06:53:41 +00:00
ksaito
aa01c73689
* regparse.c (fetch_token): fixed test failure on HP-UX ia64 ([ruby-dev:24859]).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-28 03:16:16 +00:00
ksaito
09542e3269
* regparse.c, test/ruby/test_regexp.rb: fixed problem with UTF-8 characters that have U+00FE or invalid characters.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-28 03:09:13 +00:00
ksaito
5fb312bd18
* regexec.c, test/ruby/test_regexp.rb: fixed segmentation falut ([ruby-dev:24887]).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-28 03:07:48 +00:00
ksaito
7eac88ecd5
* regcomp.c, regint.h: fixed PLATFORM_UNALIGNED_WORD_ACCESS problem ([ruby-dev:24802] and [ruby-core:3733])
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-28 03:06:39 +00:00
akr
0abc28742a
typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-27 13:08:11 +00:00
akr
b70e88a123
* 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/trunk@7392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-27 13:05:46 +00:00
kou
2572d5e20e
* lib/rss/{0.9,1.0,2.0,trackback,xml-stylesheet}.rb: added
...
#setup_maker.
* test/rss/test_setup_maker_*.rb: added tests for #setup_maker.
* lib/rss/maker/base.rb(RSS::Maker::Items#max_size=): supported
output item size limitation.
* sample/rss/blend.rb: added sample for RSS Maker.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-27 08:47:28 +00:00
kou
0a93165e16
* lib/rss/maker/0.9.rb: supported RSS::Maker.make("0.91"). Now,
...
"0.9" is just alias of "0.91."
* test/rss/test_maker_0.9.rb: make("0.9") -> maker("0.91").
* test/rss/test_to_s.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-27 08:43:18 +00:00
kou
b325d73c13
* sample/rss/list_description.rb: untabified.
...
* sample/rss/rss_recent.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-27 08:41:32 +00:00
matz
65445b53ca
* io.c (io_fread): [ruby-dev:24964]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-27 02:21:53 +00:00
nagai
27c24b0f3b
* 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/trunk@7386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-26 09:07:25 +00:00
matz
6d0f22ebc6
* io.c (rb_io_initialize): [ruby-dev:24963]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-26 06:27:45 +00:00
matz
c97c359053
* io.c (rb_io_initialize): [ruby-dev:24962]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-26 05:30:45 +00:00
matz
9e5c4cde2f
* io.c (rb_io_initialize): should retrieve flags from copying file
...
descriptor. [ruby-dev:24961]
* 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/trunk@7382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-26 04:50:36 +00:00