nobu
6d9cd4840d
* template/ruby.pc.in (arch, sitearch): reordered.
...
* configure.in: keep failed file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-05 22:24:06 +00:00
nobu
340c3b4638
* process.c (rb_fork_err): save errinfo before fdopen.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-05 22:03:54 +00:00
svn
a7188103fd
* 2010-11-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-05 15:49:44 +00:00
tenderlove
2b620bec12
* ext/openssl/ossl_ocsp.c (ossl_ocspcid_initialize): an optional
...
parameter may be used to specify the OpenSSL::OCSP::CertificateId on
initialization. Thanks Elise Huard! [ruby-core:32460]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-05 15:49:38 +00:00
nobu
6c9e95df88
* test/ruby/test_{process,system}.rb (test_fallback_to_sh):
...
meaningless and wrong tests where /bin/sh does not exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-05 03:23:10 +00:00
nobu
1cf7194e0c
* process.c (proc_spawn_v): should spawn, not exec.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-05 03:18:03 +00:00
kazu
12ae5bb892
fix typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-05 02:58:39 +00:00
nobu
d0553ffbb5
* process.c (proc_exec_v, proc_spawn_v): try to execute with sh if
...
no shebang. [ruby-core:32745] [EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-04 16:21:38 +00:00
nobu
ee388f6ee2
* io.c (rb_io_readlines, rb_io_each_line): limit must not be zero.
...
a patch from Tomoyuki Chikanaga at [ruby-dev:42538]. #4024
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-04 15:39:07 +00:00
nobu
e2a62c218c
* common.mk (ext/ripper/ripper.c): RUBY needs to be set.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-04 15:26:18 +00:00
svn
2ff0537493
* 2010-11-05
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-04 15:15:42 +00:00
tenderlove
8c196cfba8
* ext/fiddle/extconf.rb: fixing ffi library location on windows.
...
Thanks Usa! [ruby-core:32930]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-04 15:15:39 +00:00
ko1
71603f3f01
* gc.c (rb_newobj): force garbage_collect() if GC.stress == true.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-04 12:06:08 +00:00
ko1
be4eee217c
* ChangeLog: missed to write a last ChangeLog.
...
* gc.c (gc_finalize_deferred): removed.
* gc.c (rb_gc_finalize_deferred): Do not invoke a free_unused_heaps().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-04 11:51:11 +00:00
ko1
ad3427002c
* gc.c (run_final): do not need argument obj.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-04 11:48:01 +00:00
ko1
e95b72a1f1
* gc.c (run_final): do not need argument obj.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-04 11:46:26 +00:00
ko1
ba0143b591
* gc.c (before_gc_sweep): fix commit miss.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-04 11:27:09 +00:00
ko1
3ff23bf926
* gc.c (after_gc_sweep, before_gc_sweep):
...
invoke rb_sweep_method_entry() as soon as possilbe.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-04 11:21:44 +00:00
ko1
08db452620
* gc.c (after_gc_sweep, slot_sweep): finalizers should be invoked
...
as soon as possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-04 11:15:36 +00:00
shyouhei
eb691b7cf1
* configure.in (--with-valgrind): Now this option is default on.
...
You can still explicitly disable this feature by specifying
--without-valgrind.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-04 01:34:35 +00:00
mame
d433ec574a
* cont.c (fiber_t_alloc): raise an error when fiber is going to be
...
initialized twice. [ruby-dev:42524]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-03 17:08:35 +00:00
svn
ea3c50885d
* 2010-11-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-03 17:08:30 +00:00
mame
a9afb7e5c6
* cont.c (rb_fiber_resume): raise an "double resume" error when root
...
fiber is going to be resumed. [ruby-dev:42523]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-03 17:08:25 +00:00
nobu
5098e6f7df
* common.mk (INSTRUBY): run via $(SUDO) if given.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-03 05:24:02 +00:00
nobu
81567892d0
* lib/irb/ruby-lex.rb (RubyLex#identify_string): use charclass.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-03 05:23:56 +00:00
nobu
4ec86dcc57
* lib/ostruct.rb (OpenStruct#delete_field): also undefine
...
accessor methods. [ruby-core:33010]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-03 05:17:25 +00:00
nobu
742d440cba
* string.c (rb_enc_cr_str_buf_cat): concatenation of valid
...
encoding string and invalid encoding string should result
invalid encoding. [ruby-core:33027]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-03 05:13:54 +00:00
ko1
f6b2490fdb
* gc.c, vm.c, vm_core.h: remove USE_VALUE_CACHE option.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-03 01:01:12 +00:00
matz
2d189f672b
* lib/irb/ruby-lex.rb (RubyLex#identify_string): parse multiple
...
regex options. a patch from Heesob Park in [ruby-core:32988].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-02 22:50:31 +00:00
akr
d295957957
* vm_method.c (rb_clear_cache_by_class): just return if the class has
...
no method. reported by Eric Wong. [ruby-core:32689]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-02 22:37:08 +00:00
tenderlove
3d2e701396
* ext/psych/lib/psych/visitors/visitor.rb (initialize): push accessor
...
methods to subclass that actually uses them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-02 21:25:27 +00:00
svn
d5b2de3af1
* 2010-11-03
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-02 21:25:15 +00:00
tenderlove
ad9aa5368f
* ext/psych/lib/psych/visitors/visitor.rb (accept): switch to
...
a dispatch cache rather than case / when statement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-02 21:24:54 +00:00
kou
8114da9e6b
* NEWS: fix a typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-02 12:47:18 +00:00
arton
76bce610c7
fix bug#3990, rake/test_tasks
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-02 11:13:47 +00:00
svn
39f3eb153b
* 2010-11-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-01 15:27:01 +00:00
usa
f6150aa7df
* ext/socket/extconf.rb: win64 is just same with win32 about socket.
...
notice: but wince is not same.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-01 15:26:58 +00:00
shyouhei
83c5219287
* main.c: <stdlib.h> is needed, to introduce the getenv(3)
...
prototype declaration. Without it a C compiler shall infer
the getenv type as "int getenv(...);", but this is totally
wrong, especially when your machine's sizeof(int) and
sizeof(char*) differs. On such environment a return value
of getenv(3), which is in fact a char*, might first casted
into a int (loses data here), and then casted back to char*
by automatic integral promotion fo fit to the prototype of
ruby_set_debug_option().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-01 12:43:59 +00:00
svn
93880659c0
* 2010-11-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-31 15:41:16 +00:00
ko1
7b0d48c1fa
* gc.c (finalizer_table, objspace->final.table):
...
Create finalizer_table at Init_heap().
Remove all null checks of finalizer_table.
* gc.c (mark_tbl): skip if no table entries.
* gc.c (slot_swee): remove useless need_call_final check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-31 15:41:14 +00:00
nobu
5eced07cd7
* gc.c (rb_objspace_free): finalizers should be called separately
...
from freeing objspace. [ruby-dev:42479]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-31 13:32:13 +00:00
nobu
a2c4b890be
* eval.c (ruby_cleanup): free current VM and its objspace even
...
when exiting by SystemExit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-31 13:24:19 +00:00
nobu
f6003894b9
* compile.c (new_child_iseq): adjust argument types.
...
* iseq.c (prepare_iseq_build, rb_iseq_new),
(rb_iseq_new_with_bopt_and_opt, rb_iseq_new_with_opt),
(rb_iseq_new_with_bopt): ditto.
* compile.c (iseq_set_exception_table): suppress warnings.
* insns.def (putspecialobject, defined): ditto.
* iseq.c (iseq_load): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-31 13:11:02 +00:00
svn
fa98c5752d
* 2010-10-31
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-31 01:42:58 +00:00
ko1
b76fd8283a
* vm_core.h: some refactoring.
...
- move decl. of rb_compile_option_struct to iseq.h.
- define enum iseq_type.
- define enum vm_special_object_type.
* compile.c: some refactoring.
- apply above changes.
- (struct iseq_link_element): change value of type.
- remove unused decl.
- fix comment.
- rename iseq_build_body and iseq_build_exception to
iseq_build_from_ary_body and iseq_build_from_ary_exception.
* iseq.h: define enum catch_type and enum defined_type.
* insns.def: apply above changes.
* iseq.c: define ISEQ_MAJOR_VERSION and ISEQ_MINOR_VERSION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-31 01:42:54 +00:00
kou
2b82e06aaf
* lib/rexml/encoding.rb: untabify.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30 14:39:20 +00:00
kou
5d670c376e
* ./: add *.pc to svn:ignore.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30 12:13:02 +00:00
kou
994f066f76
* lib/rexml/encoding.rb: use Ruby native encoding mechnism. [ruby-dev:42464]
...
* lib/rexml/encodings/: remove.
* lib/rexml/document.rb, lib/rexml/formatters/default.rb,
lib/rexml/output.rb, lib/rexml/parseexception.rb,
lib/rexml/parsers/baseparser.rb, lib/rexml/source.rb,
lib/rexml/xmldecl.rb: use Ruby's native Encoding object.
* test/rexml/, test/rss/: follow the above encoding chagnes.
* NEWS: add REXML's incompatible change about encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30 12:10:56 +00:00
nobu
767fe5170d
* util.c (ruby_strtod): get rid of overflow/underflow as possible.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30 08:23:40 +00:00
nobu
bd7daa5ac5
* util.c (ruby_strtod): fix indent.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30 06:39:53 +00:00