зеркало из https://github.com/github/ruby.git
Wed Sep 9 15:24:32 2009 TAKANO Mitsuhiro (takano32) <tak@no32.tk>
* include/ruby/st.h : revert previous commit. * ext/objspace/objspace.c : remove st_memsize declare. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
103b471075
Коммит
bc664b878c
680
ChangeLog
680
ChangeLog
|
@ -1,3 +1,8 @@
|
|||
Wed Sep 9 15:24:32 2009 TAKANO Mitsuhiro (takano32) <tak@no32.tk>
|
||||
|
||||
* include/ruby/st.h : revert previous commit.
|
||||
* ext/objspace/objspace.c : remove st_memsize declare.
|
||||
|
||||
Wed Sep 9 14:07:19 2009 TAKANO Mitsuhiro (takano32) <tak@no32.tk>
|
||||
|
||||
* include/ruby/st.h : fix duplicate st_memsize declare.
|
||||
|
@ -124,6 +129,118 @@ Sun Sep 6 18:13:54 2009 Koichi Sasada <ko1@atdot.net>
|
|||
* vm_insnhelper.h (CALL_SIMPLE_METHOD_IC): make a macro
|
||||
invoke simple method with inline cache entry.
|
||||
|
||||
* insns.def (opt_length, opt_size): fix to use inline method cache.
|
||||
|
||||
Sun Sep 6 17:47:21 2009 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* template/id.h.tmpl: fix this.
|
||||
|
||||
* id.h: removed. Because this file is generated automatically.
|
||||
|
||||
Sun Sep 6 17:31:28 2009 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* compile.c (iseq_specialized_instruction), insns.def (opt_size):
|
||||
optimize #size methods (by specialized instruction).
|
||||
|
||||
* id.c, id.h, vm.c, vm_insnhelper.h: ditto.
|
||||
|
||||
Sun Sep 6 16:13:06 2009 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* insns.def (setinstancevariable), vm_insnhelper.c (vm_setivar):
|
||||
fix to use inline cache (trivial optimization).
|
||||
|
||||
Sun Sep 6 10:34:19 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* io.c: fixed rdoc, a patch from Nobuhiro IMAI at [ruby-core:25433].
|
||||
|
||||
Sun Sep 6 05:19:09 2009 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* io.c: Add rdoc for ARGF.
|
||||
contributed by Run Paint Run Run. [ruby-core:23854]
|
||||
|
||||
Sat Sep 5 15:21:13 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* compile.c (iseq_compile_each): op_asgn to aref should return rhs.
|
||||
[ruby-core:25387]
|
||||
|
||||
Sat Sep 5 10:38:46 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* compile.c (iseq_compile_each): &&= and ||= should return rhs.
|
||||
[ruby-dev:39163] (#1996), [ruby-core:25143]
|
||||
|
||||
Sat Sep 5 08:51:43 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* re.c (update_char_offset): position should be long.
|
||||
|
||||
* re.c (match_hash, match_equal): new methods. [ruby-core:24748]
|
||||
|
||||
* re.c (reg_match_pos, rb_reg_eqq, rb_reg_s_quote): get rid of use
|
||||
VALUE as int.
|
||||
|
||||
Fri Sep 4 20:40:57 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* numeric.c (round): added declaration. [ruby-dev:39222]
|
||||
|
||||
Fri Sep 4 06:15:39 2009 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* dir.c (Init_Dir): alias Dir#path to Dir#to_path. [ruby-core:25326]
|
||||
|
||||
Fri Sep 4 04:49:39 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* random.c (random_rand): fixed rdoc. [ruby-core:25332]
|
||||
|
||||
Fri Sep 4 04:46:08 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/webrick/httpservlet/abstract.rb (do_OPTIONS): method names
|
||||
are symbols now. [ruby-core:24580]
|
||||
|
||||
Thu Sep 3 17:56:40 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* parse.y (literal_concat_gen): concat body from dstr instead of
|
||||
nd_next. [ruby-core:25284]
|
||||
|
||||
Wed Sep 2 16:49:53 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* math.c (math_gamma): get rid of direct comparison between too
|
||||
big double and integer, with gcc on x86_64. [ruby-core:25257]
|
||||
|
||||
Wed Sep 2 13:47:30 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* math.c (domain_check): simplified.
|
||||
|
||||
Wed Sep 2 11:32:24 2009 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* gc.c (obj_free): fix to free method table (fix memory leak).
|
||||
|
||||
Wed Sep 2 07:42:15 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* tool/instruction.rb (RubyVM::InstructionsLoader#make_stackcaching_insns):
|
||||
simplified.
|
||||
|
||||
Wed Sep 2 02:32:46 2009 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* ext/json/lib/json/common.rb (NaN): Change definition
|
||||
of NaN to 0.0/0 for 1.8/1.9 compatibility.
|
||||
|
||||
Wed Sep 2 01:16:32 2009 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* ext/json: Update to JSON 1.1.9.
|
||||
|
||||
Tue Sep 1 19:56:28 2009 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* vm_eval.c (eval_string_with_cref): fix to check local_table_size.
|
||||
[ruby-dev:39205] [Bug #2024]
|
||||
|
||||
Mon Aug 31 16:20:41 2009 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
||||
|
||||
* class.c (make_singleton_class): variable name changed.
|
||||
removed an unnecessary conditional.
|
||||
|
||||
Mon Aug 31 14:17:09 2009 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
||||
|
||||
* class.c: refactored singleton class related matters.
|
||||
Handles eigenclasses and plain classes transparently.
|
||||
|
||||
(make_metaclass): renamed from make_metametaclass.
|
||||
(METACLASS_OF): new utility macro
|
||||
(META_CLASS_OF_CLASS_CLASS): ditto.
|
||||
|
@ -28691,6 +28808,233 @@ Tue Feb 12 10:25:02 2008 Eric Hodel <drbrain@segment7.net>
|
|||
|
||||
Tue Feb 12 10:15:14 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* ruby.c (load_file): enc must effect source encoding.
|
||||
[ruby-core:15496]
|
||||
|
||||
Tue Feb 12 10:16:47 2008 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* lib/rdoc/ri/paths.rb: Restore require rubygems check.
|
||||
|
||||
Tue Feb 12 02:42:27 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* range.c (range_include): specialize single character string
|
||||
case (e.g. (?a ..?z).include(?x)) for performance.
|
||||
[ruby-core:15481]
|
||||
|
||||
* string.c (rb_str_upto): specialize single character case.
|
||||
|
||||
* string.c (rb_str_hash): omit coderange scan for performance.
|
||||
|
||||
* object.c (rb_check_to_integer): check Fixnum first.
|
||||
|
||||
* object.c (rb_to_integer): ditto.
|
||||
|
||||
* string.c (rb_str_equal): inline memcmp to avoid unnecessary
|
||||
rb_str_comparable().
|
||||
|
||||
* parse.y (rb_intern2): use US-ASCII encoding.
|
||||
|
||||
* parse.y (rb_intern_str): ditto.
|
||||
|
||||
Mon Feb 11 17:21:18 2008 Kouhei Sutou <kou@cozmixng.org>
|
||||
|
||||
* lib/rss/rss.rb (RSS::VERSION), test/rss/test_version.rb:
|
||||
0.2.3 -> 0.2.4.
|
||||
|
||||
* lib/rss/maker.rb, lib/rss/maker/, test/rss/test_maker_2.0.rb:
|
||||
fixed a bug that RSS::Maker.make("0.9")'s item doesn't make some
|
||||
elements if description is missed.
|
||||
Reported by Michael Auzenne. Thanks!!!
|
||||
|
||||
* lib/rss/maker/0.9.rb, test/rss/test_maker_0.9.rb:
|
||||
RSS::Maker.make("0.9") generates RSS 0.92 not RSS 0.91.
|
||||
|
||||
Mon Feb 11 10:43:31 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* ruby.c (load_file): the encoding of DATA follows the source
|
||||
file encoding. [ruby-dev:33693]
|
||||
|
||||
Mon Feb 11 06:50:42 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* test/ruby/test_pack.rb: fix tests for 64bit CPU.
|
||||
|
||||
* test/ruby/test_bignum.rb: ditto.
|
||||
|
||||
* test/ruby/test_file_exhaustive.rb: ditto.
|
||||
|
||||
* test/ruby/test_integer.rb: ditto.
|
||||
|
||||
* test/ruby/test_time.rb: ditto.
|
||||
|
||||
* test/ruby/test_numeric.rb: ditto.
|
||||
|
||||
* test/ruby/test_fixnum.rb: ditto.
|
||||
|
||||
Mon Feb 11 00:18:57 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* lib/benchmark.rb (Job::Benchmark#item): fix typo.
|
||||
|
||||
Sun Feb 10 21:58:32 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* common.mk (encdb, transdb): depend on $(PREP).
|
||||
|
||||
Sun Feb 10 16:58:20 2008 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* lib/rubygems*, test/rubygems*, gem_prelude.rb: Import RubyGems
|
||||
r1601. [ruby-core:15381]
|
||||
|
||||
Sun Feb 10 15:07:23 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* {bcc32,win32,wince}/Makefile.sub (MISSING): added cbrt.obj.
|
||||
|
||||
Sun Feb 10 12:58:33 2008 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* lib/rdoc/code_objects.rb: Make some attributes accessible for reuse.
|
||||
* lib/rdoc/generator/html.rb: Pull out ContextUser classes and related
|
||||
methods for reuse.
|
||||
* lib/rdoc/generator.rb: Move ContextUser classes to
|
||||
RDoc::Generator::Context for reuse.
|
||||
* lib/rdoc/rdoc.rb: Make RDoc::RDoc initialization a little easier.
|
||||
* lib/rdoc/options.rb: Make RDoc::Options easier to use without
|
||||
parsing an ARGV.
|
||||
* lib/rdoc/markup/to_*.rb: Subclass RDoc::Markup::Formatter.
|
||||
* lib/rdoc/markup/formatter.rb: Add RDoc::Markup::Formatter to make
|
||||
RDoc markup conversion easier.
|
||||
* lib/rdoc/markup/fragments.rb: Make RDoc::Markup::ListItem easier to
|
||||
test.
|
||||
* lib/rdoc/markup/to_html_hyperlink.rb: Pulled out of the HTML
|
||||
generator for easier reusability.
|
||||
* lib/rdoc/markup.rb: Fix bug with labeled lists containing bullet
|
||||
lists.
|
||||
* lib/rdoc/generators/html/html.rb: Fix Constant display.
|
||||
|
||||
Sat Feb 9 23:44:29 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* missing/tgamma.c (tgamma): use lgamma_r if available.
|
||||
|
||||
Sat Feb 9 23:22:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/bigdecimal/extconf.rb: simplified the condition.
|
||||
|
||||
Sat Feb 9 21:20:28 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* test/ruby/test_math.rb: add tests for Math.gamma, Math.lgamma and
|
||||
Math.cbrt, and use assert_in_delta instead of assert.
|
||||
|
||||
Sat Feb 9 18:34:45 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* math.c (math_cbrt): new method Math.cbrt.
|
||||
|
||||
* configure.in (cbrt): check for replacement functions.
|
||||
|
||||
* missing/cbrt.c: new file.
|
||||
|
||||
Sat Feb 9 17:51:24 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): use strtod() for more
|
||||
precision. [ruby-talk:290296]
|
||||
|
||||
* ext/bigdecimal/bigdecimal.c (BASE_FIG): made constant.
|
||||
|
||||
* ext/bigdecimal/extconf.rb: ditto. [ruby-dev:33658]
|
||||
|
||||
Sat Feb 9 12:06:45 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* missing/tgamma.c (tgamma): add error check.
|
||||
|
||||
Sat Feb 9 11:47:03 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* math.c (math_gamma): add error check.
|
||||
(math_lgamma): ditto.
|
||||
|
||||
Sat Feb 9 11:09:26 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* missing/lgamma_r.c (lgamma_r): return HUGE_VAL for non-positive
|
||||
integers.
|
||||
|
||||
Sat Feb 9 10:03:07 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* string.c (rb_str_new4): copy encoding from orig, instead of shared
|
||||
one.
|
||||
|
||||
Sat Feb 9 01:01:38 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* file.c (lchmod_internal): fix warning cast from pointer to integer of
|
||||
different size.
|
||||
|
||||
Sat Feb 9 00:44:52 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/irb.rb (IRB::Irb::eval_input): rescues Interrupt and other than
|
||||
SystemExit and SignalException. [ruby-core:15359]
|
||||
|
||||
Fri Feb 8 23:51:36 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* missing/lgamma_r.c (lgamma_r): use smaller argument for sin function.
|
||||
|
||||
Fri Feb 8 22:10:36 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* lib/open-uri.rb (OpenURI.open_http): rescue URI::InvalidURIError by
|
||||
URI.parse for location URI.
|
||||
|
||||
Fri Feb 8 19:22:13 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/iconv/iconv.c (rb_str_derive): uses rb_str_subseq() for byte
|
||||
length. [ruby-dev:33653]
|
||||
|
||||
* ext/iconv/iconv.c (iconv_convert): added toidx argument to set
|
||||
encoding of successfully converted string. [ruby-dev:33221]
|
||||
|
||||
Fri Feb 8 15:09:21 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/mkmf.rb (xsystem): expand macros like as make.
|
||||
|
||||
Fri Feb 8 09:27:57 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* lib/rdoc/ri/driver.rb (read_yaml): remove SM* for compatibility.
|
||||
|
||||
Fri Feb 8 00:07:24 2008 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* test/ruby/test_hash.rb: follow the change of Hash#flatten.
|
||||
|
||||
* test/ruby/test_time.rb: add tests to achieve over 70% test coverage
|
||||
of time.c.
|
||||
|
||||
* test/ruby/test_prec.rb: ditto over 90% for prec.c.
|
||||
|
||||
Thu Feb 7 19:11:39 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* string.c (rb_str_dup): reverted unneeded change. [ruby-dev:33634]
|
||||
|
||||
* string.c (rb_str_replace): makes frozen shared string before
|
||||
sharing.
|
||||
|
||||
Thu Feb 7 16:33:51 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* io.c (io_reopen): don't change access mode for stdin, stdout and
|
||||
stderr. [ruby-core:15360]
|
||||
|
||||
Thu Feb 7 16:33:48 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* string.c (str_replace_shared): replaces string with sharing.
|
||||
|
||||
* string.c (rb_str_new4, rb_str_associate, rb_str_associated): allows
|
||||
associated strings shared.
|
||||
|
||||
* string.c (rb_str_dup, rb_str_substr, rb_str_replace): shares memory.
|
||||
[ruby-core:15400]
|
||||
|
||||
Thu Feb 7 15:42:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* string.c (rb_str_end_with): compares with the suffix.
|
||||
|
||||
Thu Feb 7 15:03:15 2008 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* enc/trans/korean.c: add support for CP949 by Park Ji-In.
|
||||
[ruby-dev:33626]
|
||||
|
||||
Thu Feb 7 11:11:02 2008 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* missing/lgamma_r.c (lgamma_r): some compilers don't permit dividing
|
||||
by literal 0.0. use const variable instead.
|
||||
|
||||
* {bcc32,win32,wince}/Makefile.sub (MISSING): add lgamma_r.obj and
|
||||
|
@ -57102,6 +57446,342 @@ Mon Nov 29 15:59:05 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
|
|||
|
||||
* lib/ostruct.rb (OpenStruct::initialize): ditto.
|
||||
|
||||
Mon Nov 29 15:22:28 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* test/io/nonblock/test_flush.rb: abandon tests when io/nonblock is
|
||||
not supported.
|
||||
|
||||
Mon Nov 29 13:37:54 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* io.c (fptr_finalize): must not use FILE after fclose().
|
||||
[ruby-dev:24985]
|
||||
|
||||
Mon Nov 29 13:13:13 2004 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* win32/win32.c (CreateChild): push back the last space before next
|
||||
loop because CharNext() eats it.
|
||||
|
||||
Mon Nov 29 03:08:30 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* 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.
|
||||
|
||||
Mon Nov 29 01:18:18 2004 Tanaka Akira <akr@m17n.org>
|
||||
|
||||
* io.c (rb_io_check_writable): call io_seek regardless of
|
||||
NEED_IO_SEEK_BETWEEN_RW. [ruby-dev:24986]
|
||||
|
||||
Sun Nov 28 15:57:58 2004 Kouhei Sutou <kou@cozmixng.org>
|
||||
|
||||
* 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.
|
||||
|
||||
Sun Nov 28 15:51:40 2004 Kouhei Sutou <kou@cozmixng.org>
|
||||
|
||||
* 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. [ruby-talk:120061]
|
||||
|
||||
* test/rss/test_maker_{1.0,0.9,2.0}.rb: changed tests to check RSS
|
||||
Maker raises or not.
|
||||
|
||||
Sun Nov 28 12:14:47 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
|
||||
|
||||
* regparse.c (fetch_token): fixed test failure on HP-UX ia64
|
||||
([ruby-dev:24859]).
|
||||
|
||||
Sun Nov 28 12:08:15 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
|
||||
|
||||
* regparse.c, test/ruby/test_regexp.rb: fixed problem with UTF-8
|
||||
characters that have U+00FE or invalid characters.
|
||||
|
||||
Sun Nov 28 12:07:04 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
|
||||
|
||||
* regexec.c, test/ruby/test_regexp.rb: fixed segmentation fault
|
||||
([ruby-dev:24887]).
|
||||
|
||||
Sun Nov 28 12:05:48 2004 Kazuo Saito <ksaito@uranus.dti.ne.jp>
|
||||
|
||||
* regcomp.c, regint.h: fixed PLATFORM_UNALIGNED_WORD_ACCESS
|
||||
problem ([ruby-dev:24802] and [ruby-core:3733])
|
||||
|
||||
Sat Nov 27 23:43:39 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* io.c (rb_io_initialize): [ruby-dev:24972]
|
||||
|
||||
Sat Nov 27 21:43:39 2004 Tanaka Akira <akr@m17n.org>
|
||||
|
||||
* io.c: avoid data lost 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.
|
||||
|
||||
Sat Nov 27 17:43:21 2004 Kouhei Sutou <kou@cozmixng.org>
|
||||
|
||||
* 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.
|
||||
|
||||
Sat Nov 27 17:41:35 2004 Kouhei Sutou <kou@cozmixng.org>
|
||||
|
||||
* 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.
|
||||
|
||||
Sat Nov 27 17:21:30 2004 Kouhei Sutou <kou@cozmixng.org>
|
||||
|
||||
* sample/rss/list_description.rb: untabified.
|
||||
|
||||
* sample/rss/rss_recent.rb: ditto.
|
||||
|
||||
Sat Nov 27 14:44:15 2004 Kent Sibilev <ksibilev@bellsouth.net>
|
||||
|
||||
* lib/cgi/session.rb (CGI::Session::initialize): [ruby-core:03832]
|
||||
|
||||
Sat Nov 27 09:41:21 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* io.c (io_fread): old rb_io_fread with file closing checking.
|
||||
(rb_io_fread): wrapper for io_fread now.
|
||||
[ruby-dev:24964]
|
||||
|
||||
Fri Nov 26 18:02:44 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* 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
|
||||
|
||||
Fri Nov 26 14:29:39 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* io.c (rb_io_initialize): uninitialized fd was checked to see open
|
||||
mode. [ruby-dev:24963]
|
||||
|
||||
* io.c (rb_io_initialize): uninitialized fd was used. [ruby-dev:24962]
|
||||
|
||||
Fri Nov 26 13:49:06 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* 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: add RDoc by James Edward Gray II. [ruby-core:03786]
|
||||
|
||||
Fri Nov 26 13:29:02 2004 Dave Thomas <dave@pragprog.com>
|
||||
|
||||
* lib/rdoc/parsers/parse_rb.rb (RDoc::RubyParser::look_for_directives_in): Break
|
||||
out of preprocessing when we find a :section: directive (previously cleared out the
|
||||
comment, but this apparently now generates an error in gsub!)
|
||||
|
||||
Fri Nov 26 00:17:40 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* io.c (io_read): move StringValue() check before GetOpenFile().
|
||||
[ruby-dev:24959]
|
||||
|
||||
Thu Nov 25 20:14:57 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* lib/thwait.rb (ThreadsWait#join_nowait): abnormally terminated
|
||||
threads should be also processed. [ruby-talk:121320]
|
||||
|
||||
Thu Nov 25 18:06:37 2004 Tanaka Akira <akr@m17n.org>
|
||||
|
||||
* configure.in: AC_CHECK_SIZEOF(rlim_t) to include stdio.h to fix
|
||||
problem with autoconf 2.52 or earlier.
|
||||
revert AC_PREREQ to 2.50.
|
||||
[ruby-core:3809]
|
||||
|
||||
Thu Nov 25 07:59:41 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* configure.in: AC_PREREQ(2.53) [ruby-core:03800]
|
||||
|
||||
* io.c (read_all): stringify non-nil buffer argument, and always
|
||||
taint the result. [ruby-dev:24955]
|
||||
|
||||
Wed Nov 24 01:01:31 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* io.c (io_read): integer conversion should be prior to
|
||||
GetOpenFile(). [ruby-dev:24952]
|
||||
|
||||
* configure.in, io.c: cancel [ ruby-Patches-1074 ].
|
||||
|
||||
Tue Nov 23 08:09:50 2004 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>
|
||||
|
||||
* ext/tk/lib/tk/menu.rb: improve usability of TkOptionMenubutton
|
||||
|
||||
Tue Nov 23 02:00:21 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* file.c (rb_file_chown): integer conversion should be prior to
|
||||
GetOpenFile(). [ruby-dev:24949]
|
||||
|
||||
Tue Nov 23 00:10:48 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* 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]
|
||||
|
||||
Mon Nov 22 22:33:02 2004 Dave Thomas <dave@pragprog.com>
|
||||
|
||||
* lib/rdoc/parsers/parse_rb.rb (RDoc::parse_require): Don't use names
|
||||
of variables or constants when parsing 'require'
|
||||
|
||||
Mon Nov 22 00:13:35 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* dir.c (dir_seek): should retrieve dir_data after NUM2INT().
|
||||
[ruby-dev:24941]
|
||||
|
||||
Sat Nov 20 23:57:33 2004 Dave Thomas <dave@pragprog.com>
|
||||
|
||||
* lib/rdoc/README (et al): Add a new directive, :section:, and
|
||||
change the output format to accommodate. :section: allows to to
|
||||
group together methods, attributes, constants, etc under
|
||||
headings in the output. If used, a table of contents is
|
||||
generated.
|
||||
|
||||
Sat Nov 20 23:56:54 2004 Dave Thomas <dave@pragprog.com>
|
||||
|
||||
* lib/rdoc/options.rb (Options::parse): Force --inline-source if
|
||||
--one-file option given
|
||||
|
||||
Sat Nov 20 23:55:19 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* string.c (rb_str_splice): should place index wrapping after
|
||||
possible modification. [ruby-dev:24940]
|
||||
|
||||
Sat Nov 20 23:25:12 2004 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* io.c (rb_io_getline): f.gets("") did not work. [ruby-core:03771]
|
||||
|
||||
* test/ruby/test_io.rb (test_gets_rs): test it.
|
||||
|
||||
Sat Nov 20 22:55:09 2004 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* test/runner.rb (CROSS_COMPILING): need to require rbconfig.rb before
|
||||
using CROSS_COMPILNG.
|
||||
|
||||
Sat Nov 20 20:42:42 2004 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* ext/ripper/depend: fix ripper.o dependency.
|
||||
|
||||
Sat Nov 20 17:48:29 2004 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* io.c (io_reopen): work around problem with Cygwin fseeko
|
||||
returning ESPIPE.
|
||||
|
||||
Sat Nov 20 05:34:24 2004 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* ext/nkf/nkf-utf8/nkf.c: original nkf.c rev:1.40
|
||||
|
||||
* ext/nkf/test.rb: add test for mime encode/decode
|
||||
|
||||
Sat Nov 20 01:45:04 2004 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* test/xmlrpc/test_webrick_server.rb: move `requrie "webrick/https"'
|
||||
into #setup_http_server method to avoid soap test errors.
|
||||
|
||||
Sat Nov 20 01:37:34 2004 Johan Holmberg <holmberg@iar.se>
|
||||
|
||||
* eval.c (error_print): nicer traceback at interrupt.
|
||||
[ruby-core:03774]
|
||||
|
||||
Sat Nov 20 00:07:16 2004 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* string.c (str_gsub): internal buffer should not be listed by
|
||||
ObjectSpace.each_object() by String#gsub. [ruby-dev:24931]
|
||||
|
||||
Fri Nov 19 22:44:43 2004 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* lib/test/unit/collector/dir.rb: better support for -p/-x option.
|
||||
|
||||
Fri Nov 19 17:46:56 2004 Kouhei Sutou <kou@cozmixng.org>
|
||||
|
||||
* lib/rss/maker/0.9.rb (RSS::Maker::RSS09::Image#have_required_values):
|
||||
changed /rss/channel/image to be optional. [ruby-Bugs:1047]
|
||||
|
||||
* test/rss/test_maker_0.9.rb: added tests for the above.
|
||||
|
||||
Fri Nov 19 17:18:17 2004 Kouhei Sutou <kou@cozmixng.org>
|
||||
|
||||
* lib/rss/rss.rb (RSS::VERSION): 0.1.0 -> 0.1.1.
|
||||
|
||||
* lib/rss: #to_s used #tag.
|
||||
|
||||
* test/rss/test_to_s.rb: added.
|
||||
|
||||
* lib/rss/maker.rb (RSS::Maker.make): changed API. It's not
|
||||
received modules which is used as the second argument.
|
||||
|
||||
* lib/rss/xml-stylesheet.rb (RSS::XMLStyleSheet#alternate):
|
||||
changed return value type which is not String but Boolean.
|
||||
|
||||
* lib/rss/2.0.rb (RSS::Rss::Channel#ttl): changed return value
|
||||
type which is not String but Integer.
|
||||
|
||||
* lib/rss/0.9.rb (RSS::Rss::Channel): <skipDays> has <day>s and
|
||||
<skipHours> has <hour>s.
|
||||
|
||||
* lib/rss/maker/0.9.rb (RSS::Maker::RSS09::Channel): ditto.
|
||||
|
||||
* lib/rss/0.9.rb (RSS::Rss::Channel::Item): <item> has <category>s.
|
||||
|
||||
* lib/rss/maker/2.0.rb (RSS::Maker::Rss20::Channel::Item): ditto.
|
||||
|
||||
* lib/rss/2.0.rb (RSS::Rss::Channel): <channel> has <category>s.
|
||||
|
||||
* lib/rss/maker/2.0.rb (RSS::Maker::RSS20::Channel): ditto.
|
||||
|
||||
* lib/rss/trackback.rb: parent element has <trackback:about>s.
|
||||
|
||||
* lib/rss/maker/trackback.rb: ditto.
|
||||
|
||||
Fri Nov 19 11:10:16 2004 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* lib/test/unit/collector/dir.rb: add support for directory name
|
||||
with -p/-x options.
|
||||
|
||||
* test/testunit/collector/test_dir.rb: ditto.
|
||||
|
||||
* lib/xmlrpc/datetime.rb (XMLRPC::DateTime#==): should use Array()
|
||||
instead of to_a.
|
||||
|
||||
Fri Nov 19 10:32:36 2004 Shugo Maeda <shugo@ruby-lang.org>
|
||||
|
||||
* ext/readline/readline.c (readline_s_set_completion_append_character):
|
||||
accept nil. [ruby-core:03765]
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
|
||||
size_t rb_str_memsize(VALUE);
|
||||
size_t rb_ary_memsize(VALUE);
|
||||
size_t st_memsize(st_table *);
|
||||
size_t rb_io_memsize(rb_io_t *);
|
||||
size_t onig_memsize(regex_t *);
|
||||
size_t rb_generic_ivar_memsize(VALUE);
|
||||
|
|
|
@ -107,6 +107,7 @@ int st_numcmp(st_data_t, st_data_t);
|
|||
st_index_t st_numhash(st_data_t);
|
||||
int st_strcasecmp(const char *s1, const char *s2);
|
||||
int st_strncasecmp(const char *s1, const char *s2, size_t n);
|
||||
size_t st_memsize(const st_table *);
|
||||
|
||||
#if defined(__cplusplus)
|
||||
#if 0
|
||||
|
|
Загрузка…
Ссылка в новой задаче