if enable-shared.
(ruby_setjmp): call FUNCTION_CALL_MAY_RETURN_TWICE after getcontext
too.
reported by Pav Lucistnik and Marius Strobl.
http://lists.freebsd.org/pipermail/freebsd-sparc64/2006-January/003739.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
flag to search ancestors, which is defaulted to true.
fixed: [ruby-talk:175899]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
should output complex key mark even if map's key is empty seq/map.
[ruby-core:7129]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- properly quote bare element attributes
- terminates dangling elements (e.g. <img>, <br>, <link>, etc)
- converts "CVS" to the more HTML-friendly acronym element
- adds missing type attributes to style elements
based on Paul Duncan's patch <pabs@pablotron.org> [ruby-core:7028]
* lib/rdoc/generators/html_generator.rb: ditto.
* lib/rdoc/generators/template/html/hefss.rb: ditto.
* lib/rdoc/generators/template/html/html.rb: ditto.
* lib/rdoc/generators/template/html/kilmer.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
which is constructed with TkComposite module.
[new feature] support 'command' option which is called just before
popping up the balloon help.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
if an exception is raised in a finalizer called by
rb_gc_call_finalizer_at_exit, ruby_set_current_source may use
collected ruby_current_node and mark_source_filename may corrupt
memory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ruby 1.8.3/1.8.4. [ruby-core:6115]
* lib/yaml/rubytypes.rb (Numeric): Subclass of Numeric could not
be dumped properly. [ruby-core:7047]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
(gc_stress_get): new function for GC.stress.
(gc_stress_set): new function for GC.stress=.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
(VisualC++6) so use -O2b2xg- if $(MSC_VER) < 1400. [ruby-core:7040]
* lib/webrick/httpservlet/filehandler.rb: fixed typo. (Kero van Gelder)
[ruby-core:7075]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
avoid BSD bug. BSD defines FD_ISSET as just a bitmap of unsigned
long. So returning the value from rb_fd_isset discards upper
32bits on LP64 environment.
http://www.freebsd.org/cgi/query-pr.cgi?pr=ia64/91421
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c (ruby_setjmp): add an argument for just before getcontext.
(THREAD_SAVE_CONTEXT): call rb_thread_save_context just
before getcontext.
[ruby-dev:28205]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
"extern int isinf(double);" to
"extern int ((sizeof(double)==sizeof(float))?_Isinff(double):_Isinf(double));" on
HP-UX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e