summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * 2006-01-10eban2006-01-101-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (gc_stress): renamed from always_gc and enabled by default.akr2006-01-094-13/+50
| | | | | | | | (gc_stress_get): new function for GC.stress. (gc_stress_set): new function for GC.stress=. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/extconf.rb: zlib compiled DLL version 1.2.3 distributed byocean2006-01-092-1/+6
| | | | | | | http://www.zlib.net/ has zdll.lib. [ruby-dev:28209] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-01-09eban2006-01-091-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (OPTFLAGS): I have experienced trouble on y- flag,ocean2006-01-093-1/+13
| | | | | | | | | | (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: http://svn.ruby-lang.org/repos/ruby/trunk@9809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* comment FreeBSD PR number.akr2006-01-081-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (GCC_VERSION_BEFORE): check __INTEL_COMPILER.akr2006-01-082-1/+7
| | | | | | | | Intel C++ Compiler defines __GNUC__. http://www.intel.com/software/products/compilers/clin/docs/ug_cpp/lin1077.htm git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-01-08eban2006-01-081-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* the bug was FreeBSD specific.akr2006-01-082-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-01-07eban2006-01-071-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (singleton): get rid of segfault on syntax error.nobu2006-01-072-1/+6
| | | | | | | fixed: [ruby-core:07070] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_fd_isset): compare the result of FD_ISSET with 0 toakr2006-01-062-1/+9
| | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@9802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-01-06eban2006-01-051-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* avoid "left-hand operand of comma expression has no effect" warnings.akr2006-01-051-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: don't force getcontext on IA64.akr2006-01-053-7/+17
| | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@9797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-01-05eban2006-01-051-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ANSI styledocean2006-01-052-18/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-01-03eban2006-01-031-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* some more typos fixed.akr2006-01-031-8/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos.akr2006-01-031-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2006-01-01eban2006-01-011-5/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix.akr2006-01-011-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing.h (isnan): avoid macro expantionakr2006-01-012-4/+13
| | | | | | | | | "extern int isinf(double);" to "extern int ((sizeof(double)==sizeof(float))?_Isinff(double):_Isinf(double));" on HP-UX. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_seekdir): should not segfault even if passedocean2006-01-014-19/+83
| | | | | | | | | | | | the location which rb_w32_telldir didn't return. (and should change `bits' position) [ruby-core:7035] * win32/dir.h: ditto. (stores `loc' instead of `bitpos') * test/ruby/test_dir.rb: added. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_thread_save_context): should not recycle scope object usednobu2005-12-312-0/+6
| | | | | | | in a thread. fixed: [ruby-dev:28177] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c: attribute name was truncated with Rev1.64.ocean2005-12-312-12/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-12-31eban2005-12-311-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/generator.rb: (Generator#initialize): should kill @loop_threadocean2005-12-312-0/+8
| | | | | | | | before starting new thread. (occurs when called via Generator#rewind) [ruby-dev:28184] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Sorry again, incorrent exception propagation.ocean2005-12-301-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Sorry, reverted. Mutex is damn slow.....ocean2005-12-302-36/+30
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/generator.rb: uses Mutex instead of Thread.critical.ocean2005-12-302-30/+36
| | | | | | | [ruby-dev:28184] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub: VC++8 support.nobu2005-12-302-3/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (garbage_collect): mark objects refered from aborting threads.nobu2005-12-302-9/+16
| | | | | | | [ruby-dev:28190] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/generator.rb: (Generator#initialize) ensured to stop @loop_thread.ocean2005-12-302-3/+8
| | | | | | | Mr. Tanaka pointed out one Thread.pass is not enough. [ruby-dev:28185] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/generator.rb: (Generator#initialize) fixed dead lock. this occuredocean2005-12-302-0/+6
| | | | | | | when end? was called before @loop_thread was stopped. [ruby-core:7029] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* declare rb_gc_abort_threads.akr2005-12-291-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* unused function uscore_get removed.akr2005-12-291-13/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* avoid a GC problem with RUBY_ALWAYS_GC= ./ruby -e ''.akr2005-12-291-0/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/generator.rb: should work with another thread. (more robust code)ocean2005-12-292-7/+17
| | | | | | | [ruby-dev:28177] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-12-30eban2005-12-291-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_gc_mark_threads): keep unmarked threads which won't wakenobu2005-12-293-0/+43
| | | | | | | | | | up alone, and mark threads in the loading table. [ruby-dev:28154] * eval.c (rb_gc_abort_threads), gc.c (gc_sweep): kill unmarked threads. [ruby-dev:28172] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix "-e:1: undefined method `sub' for main:Object (NoMethodError)"akr2005-12-291-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_mod_define_method): should save safe_level in thematz2005-12-2913-366/+338
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | proc object. [ruby-dev:28146] * test/drb/drbtest.rb (DRbService::self.ext_service): increase timeout limit. a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com>. [ruby-dev:28132] * eval.c (ev_const_get): fixed a bug in constant reference during instance_eval. [yarv-dev:707] * eval.c (ev_const_defined): ditto. * lib/yaml.rb (YAML::add_domain_type): typo fixed. a patch from Joel VanderWerf <vjoel at path.berkeley.edu>. [ruby-talk:165285] [ruby-core:6995] * ext/digest/sha2/sha2.c (ULL): support AIX C. a patch from Kailden <kailden at gmail.com>. [ruby-core:06984] * ext/syck/rubyext.c (rb_syck_compile): avoid potential memory leak. * ext/syck/rubyext.c (syck_set_ivars): avoid potential memory leak by explicit symbol allocation. * lib/delegate.rb (Delegator::method_missing): should delegate block as well. * lib/cgi.rb (CGI::QueryExtension::MorphingBody): fix criteria to use Tempfile. A fix from Zev Blut <rubyzbibd at ubit.com>. [ruby-core:06076] * string.c: remove global functions work on $_. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_mod_define_method): should save safe_level in thematz2005-12-291-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | proc object. [ruby-dev:28146] * test/drb/drbtest.rb (DRbService::self.ext_service): increase timeout limit. a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com>. [ruby-dev:28132] * eval.c (ev_const_get): fixed a bug in constant reference during instance_eval. [yarv-dev:707] * eval.c (ev_const_defined): ditto. * lib/yaml.rb (YAML::add_domain_type): typo fixed. a patch from Joel VanderWerf <vjoel at path.berkeley.edu>. [ruby-talk:165285] [ruby-core:6995] * ext/digest/sha2/sha2.c (ULL): support AIX C. a patch from Kailden <kailden at gmail.com>. [ruby-core:06984] * ext/syck/rubyext.c (rb_syck_compile): avoid potential memory leak. * ext/syck/rubyext.c (syck_set_ivars): avoid potential memory leak by explicit symbol allocation. * lib/delegate.rb (Delegator::method_missing): should delegate block as well. * lib/cgi.rb (CGI::QueryExtension::MorphingBody): fix criteria to use Tempfile. A fix from Zev Blut <rubyzbibd at ubit.com>. [ruby-core:06076] * string.c: remove global functions work on $_. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb (EnvUtil.rubybin): search "ruby" instead ofakr2005-12-292-4/+9
| | | | | | | "miniruby". [ruby-dev:28140] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-12-29eban2005-12-291-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/generator.rb: reimplemented Generator class with Thread instead ofocean2005-12-292-45/+45
| | | | | | | callcc, in order to fix memory leak. [ruby-dev:28142] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ia64.s: remove .pred.safe_across_calls directive.akr2005-12-282-1/+5
| | | | | | | reported by WATANABE Tetsuya. [ruby-dev:28141] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (struct thread): add bstr_max.akr2005-12-272-4/+19
| | | | | | | | (rb_thread_save_context): use realloc instead of REALLOC_N to avoid GC. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2005-12-28eban2005-12-271-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e