Loading…
|
shirosaki |
test_unicode_escape.rb: fix test for Windows
…
* test/ruby/test_unicode_escape.rb (TestUnicodeEscape#test_basic): echo command doesn't work properly against non-ascii character on Windows with chcp 437. Instead we use ruby. [ruby-core:47709] [Bug #7076] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
b5de8fc
|
|
|
shirosaki |
* test/ruby/test_unicode_escape.rb (TestUnicodeEscape#test_basic):
…
Use ruby only on Windows since the test fails on Unix with LANG=C. [ruby-core:47709] [Bug #7076] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
93731ef
|
|
![]() |
svn |
* 2012-09-29
…
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
039e2a3
|
|
|
shugo |
* vm_insnhelper.c (rb_vm_using_modules): use using_modules before
…
klass to fix method lookup order, and use klass even if klass is not a module to make refinements in class_eval invoked on classes work. * eval.c (rb_using_module): accept a class as the second argument. * eval.c (rb_mod_using, f_using): raise a TypeError if the argument is not a module. * test/ruby/test_refinement.rb: add new tests for the above changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
0954607
|
|
|
shirosaki |
test_unicode_escape.rb: set script encoding
…
* test/ruby/test_unicode_escape.rb (TestUnicodeEscape#test_basic): set script encoding to work with LANG=C. It would work on both Windows and Unix. Refix of r37051. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
6d1220b
|
|
|
shirosaki |
drbtest.rb: use :KILL on Windows
…
* test/drb/drbtest.rb (DRbCore#teardown): Use Process.kill :KILL on Windows because Process.kill :INT silently fails on Windows 7 and raises EINVAL on Windows XP for spawned process with new_pgroup: false. * test/drb/drbtest.rb (DRbAry#teardown): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
d0df054
|
|
|
shirosaki |
test_http.rb: clear environment variables
…
* test/net/http/test_http.rb (TestNetHTTP#test_proxy_address): clear environment variables. If http_proxy environment variable was set, the test failed. * test/net/http/test_http.rb (TestNetHTTP#test_proxy_port): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
e453cc7
|
|
|
shirosaki |
envutil.rb: kill child process when timeout
…
* test/ruby/envutil.rb (EnvUtil#invoke_ruby): kill child process before Timeout::Error is raised. rmdir of mktmpdir fails with EACCES if child process is alive on Windows. * test/thread/test_queue.rb (TestQueue): increase timeout. This test takes long time on Windows XP. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
4d4800a
|
|
|
nurse |
* string.c (rb_str_concat): use memcpy to copy a string which contains
…
NUL characters. [ruby-core:47751] [Bug #7090] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
64989fa
|
|
![]() |
svn |
* 2012-09-30
…
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
ab5545e
|
|
|
nagachika |
* test/ruby/test_enumerator.rb (enum_test, test_inspect): remove unused
…
variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
173aacf
|
|
|
mrkn |
* vm_dump.c (rb_vm_bugreport): add /Library/Logs/DiagnosticReports
…
in the list of locations of crash reports. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
0d3cd41
|
|
|
knu |
* configure.in (--with-opt-dir): Make this also work on DLDFLAGS
…
so LIBRUBY_SO links fine with libexecinfo installed in a non-system directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
1d695c3
|
|
![]() |
svn |
* 2012-10-01
…
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
a0f43fa
|
|
|
shugo |
* eval.c (identify_hash_new): new function to create a new identity
…
hash. * eval.c (rb_overlay_module, rb_mod_using, rb_mod_refine): use identify_hash_new(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
e56eb1b
|
|
|
nagachika |
* ChangeLog: fix typos of r37064.
…
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
39ef471
|
|
|
nobu |
eval.c: hide internal hash
…
* eval.c (identity_hash_new): hide internal hashes for refinements. * eval.c (rb_mod_refine): no default value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
a416367
|
|
![]() |
svn |
* 2012-10-02
…
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
a63bde6
|
|
|
shugo |
* error.c (exc_to_s, name_err_to_s, name_err_mesg_to_str): do not
…
taint messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
a1ed68b
|
|
![]() |
svn |
* 2012-10-03
…
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
a0ead9f
|
|
|
drbrain |
* ext/openssl/ossl_x509store.c (ossl_x509store_add_file): Added
…
documentation * ext/openssl/ossl_x509store.c (ossl_x509store_set_default_paths): ditto * ext/openssl/ossl_x509store.c (ossl_x509store_add_cert): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
48af304
|
|
|
nobu |
io.c: improved IO#reopen
…
* io.c (rb_io_reopen): improvement to accept optional arguments. a patch by Glass_saga (Masaki Matsushita) in [ruby-core:47806]. [Feature #7103] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
5c677a8
|
|
|
nobu |
thread_pthread.c: init stack with ulimit
…
* thread_pthread.c (ruby_init_stack): use getrlimit() for the main thread on Mac OS X, since pthread_get_stack{addr,size}_np() and return the default value always, but not the ulimit value. [ruby-dev:46174] [Bug #7084] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
54c17dc
|
|
|
nobu |
depend: dependency
…
* ext/json/generator/depend: fix missing dependency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
396903d
|
|
|
nobu |
ChangeLog: fix typo.
…
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
f6d0cb4
|
|
|
authorNari |
* gc.c: Use the non-recursive marking instead of recursion. The
…
recursion marking of CRuby needs checking stack overflow and the fail-safe system, but these systems not good at partial points, for example, marking deep tree structures. [ruby-dev:46184] [Feature #7095] * configure.in (GC_MARK_STACKFRAME_WORD): removed. It's used by checking stack overflow of marking. * win32/Makefile.sub (GC_MARK_STACKFRAME_WORD): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
8d53a08
|
|
|
nobu |
gc.c: unused function
…
* gc.c (free_stack_chunks): it is used only when per-VM object space is enabled. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
4336caf
|
|
![]() |
xibbar |
* lib/cgi/html5.rb: Add html5 tag maker.
…
* lib/cgi/core.rb: ditto. [Feature #6637] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
aeca965
|
|
![]() |
svn |
* 2012-10-04
…
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
6ed3628
|
|
|
nobu |
* thread_pthread.c (RUBY_STACK_MIN_LIMIT): name magic number.
…
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
cbe3646
|
|
|
nobu |
thread_pthread.c: precise stack size
…
* thread_pthread.c (ruby_init_stack): round stack limit to page size boundary to calculate stack size more precisely. [ruby-dev:46174] [Bug #7084] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
fab7e66
|
|
|
nobu |
* gc.c: use enum for debugging.
…
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
6fa2980
|
|
|
nobu |
gc.c: self-referencing finalizers
…
* gc.c (rb_objspace_call_finalizer): mark self-referencing finalizers before run finalizers, to fix SEGV from btest on 32bit. * gc.c (gc_mark_stacked_objects): extract from gc_marks(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
6aa2aab
|
|
|
authorNari |
* gc.c (rb_objspace_call_finalizer): call gc_mark_stacked_objects
…
at suitable point. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
2f9f17a
|
|
|
ko1 |
* test/ruby/test_settracefunc.rb (test_tracepoint):
…
remove unused test case. (this test case is redefined by newer tests) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
b1ad797
|
|
|
ko1 |
* vm.c (VM_COLLECT_USAGE_DETAILS): make new VM usage analysis
…
hooks (old macro name is COLLECT_USAGE_ANALYSIS). This feature is only for VM developers. (I'm not sure I can use `VM developers' (the plural form) in this sentence). If VM_COLLECT_USAGE_DETAILS is not 0, VM enables the following usage collection features: (1) insntruction: collect intruction usages. (2) operand: collect operand usages. (3) register: collect register usages. The results are stored in RubyVM::USAGE_ANALYSIS_INSN for (1, 2), RubyVM::USAGE_ANALYSIS_INSN_BIGRAM for (1) and RubyVM::USAGE_ANALYSIS_REGS for (3). You can stop collecting usages with RubyVM::USAGE_ANALYSIS_INSN_STOP(), RubyVM::USAGE_ANALYSIS_OPERAND_STOP(), RubyVM::USAGE_ANALYSIS_REGISTER_STOP() for (1), (2), (3) respectively. You can also change the hook functions by setting C level global variables `ruby_vm_collect_usage_func_(insn|operand|register)' for (1), (2), (3) respectively. See codes for more details. * tool/instruction.rb: fix macro names. * iseq.c (insn_operand_intern): make it export (used in vm.c). fix to skip several processes if not needed (pointer is 0). * vm_dump.c: move codes for collection features to vm.c. * vm_exec.h: rename macro and function names. * vm_insnhelper.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
23dc0db
|
|
|
ko1 |
* vm.c (vm_analysis_insn|operand|register): use st_insert
…
instead of using rb_hash_aset() because rb_hash_aset() check $SAFE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
326e22e
|
|
|
ko1 |
* insns.def (getlocal, setlocal): remove old getlocal/setlocal
…
instructions and rename getdaynmic/setdynamic instructions to getlocal/setlocal. * compile.c: ditto. * iseq.c: remove TS_DINDEX. * vm_exec.h (dindex_t): remove type definition of `dindex_t'. * tool/instruction.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
08c8605
|
|
|
authorNari |
* gc.c (init_heap): call init_mark_stack before to allocate
…
altstack. This change avoid the stack overflow at the signal handler on 32bit, but I don't understand reason... [Feature #7095] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
ec62e30
|
|
|
nobu |
depend: missing dependency
…
* ext/date/depend: all source files need ruby.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
e2220d1
|
|
![]() |
svn |
* 2012-10-05
…
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
42fcb80
|
|
|
authorNari |
* gc.c (chain_finalized_object): remove to check a mark flag and
…
marking since all objects are certainly unmarked with rest_sweep. * gc.c (rb_objspace_call_finalizer): remove to mark finalizable objects. The sweeping doesn't push T_ZOMBIE objects to the freelist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
271f069
|
|
|
authorNari |
ChangeLog: fix a miss
…
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
c38ee00
|
|
|
nobu |
common.mk: gdb-ruby
…
* Makefile.in (RUNRUBY_COMMAND): split from RUNRUBY. * common.mk (gdb-ruby): use runruby.rb to set up library path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
7cc6bfa
|
|
|
ko1 |
* ext/objspace/objspace.c: add ObjectSpace#reachable_objects_from.
…
This method returns an array of objects referenced by given object. If given object is special objects such as true/false/nil/Fixnum etc then it returns nil. See rdoc for details. [ruby-core:39772] * test/objspace/test_objspace.rb: add a test for this method. * gc.c: add rb_objspace_reachable_objects_from(). To make this function, add several member `mark_func_data' to rb_objspace_t. If mark_func_data is not null, then gc_mark() calls mark_func_data::mark_func. * gc.h: export rb_objspace_reachable_objects_from(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
e03d6d9
|
|
![]() |
takano32 |
* template/Doxyfile.tmpl: remove SHOW_DIRECTORIES and
…
HTML_ALIGN_MEMBERS lines. They have been obsolete in Doxygen version 1.8.2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
ae114a8
|
|
|
authorNari |
revert r37091
…
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
4c0f022
|
|
|
authorNari |
fix comments
…
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
3376ea8
|
|
|
nobu |
encoding.c: unicode_p
…
* encoding.c (rb_enc_unicode_p): oniguruma provides Unicode flag. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
d5ac3f7
|
|
![]() |
svn |
* 2012-10-06
…
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
f6848bf
|
|
|
tenderlove |
Adding a test for initialize_clone and initialize_dup. From Github:
…
ruby#190 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
5d316e7
|
|
|
nobu |
encoding.c: unicode_p
…
* enc/encdb.c, enc/utf_16_32.h (ENC_DUMMY_UNICODE): endian-less wide UTF encodings are dummy but Unicode. * encoding.c (rb_encdb_set_unicode): set Unicode flag. * template/encdb.h.tmpl: allow ENC_DUMMY variants. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
928d1a5
|
|
|
nobu |
test_objspace.rb: refine
…
* test/objspace/test_objspace.rb (test_reachable_objects_from): use proper assertions, and show messages than comments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
122de73
|
|
|
nobu |
gc.c: use markable_object_p
…
* gc.c (gc_mark_children): use markable_object_p() and reduce duplicated code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
b1058ef
|
|
|
nurse |
Revert r37098
…
This reverts * encoding.c (rb_enc_unicode_p): oniguruma provides Unicode flag. because UTF-16 and UTF-32 is also treated as unicode in this context. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
a9497d5
|
|
|
shugo |
* vm_method.c (search_method): check omod only once for performance.
…
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
c29c44c
|
|
|
shugo |
* vm_opts.h (OPT_GLOBAL_METHOD_CACHE): new build option to
…
enable/disable global method caching. [ruby-dev:46203] [Bug #7111] * vm_method.c (rb_method_entry_get_with_omod): don't use global method cache if OPT_GLOBAL_METHOD_CACHE is 0. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
e943396
|
|
|
nobu |
reapply r37098
…
UTF-16 and UTF-32 are also treated as unicode since r37101. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
678c8c6
|
|
|
nobu |
* test/openssl/test_config.rb (OpenSSL#test_constants): skip only when
…
DEFAULT_CONFIG_FILE does not exist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
f056778
|
|
|
zzak |
* string.c (rb_str_match):
…
Clarify behavior for captured strings and local variable assignment Patch by Marcus Stollsteimer [ruby-dev:47668] [Bug #7062] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
133e0ec
|
|
![]() |
svn |
* 2012-10-07
…
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
b48d8a0
|
|
|
zzak |
* string.c (rb_str_match):
…
Clarify behavior for captured strings and local variable assignment Patch by Marcus Stollsteimer [ruby-dev:47668] [Bug #7062] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
12bedee
|
|
|
zzak |
* thread.c (rb_thread_aref):
…
Grammar in Thread documentation. Patch by Steve Klabnik [ruby-dev:47799] [Bug #7099] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
86430d7
|
|
|
zzak |
* lib/abbrev.rb: Documentation examples for Abbrev.
…
[ruby-dev:47442] [Bug #6985] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
5b1dc57
|
|
|
znz |
fix ML ref
…
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
ff87012
|
|
![]() |
svn |
* 2012-10-08
…
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
ff6dee4
|
|
|
znz |
fix typos
…
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
cac424c
|
|
|
shugo |
* eval.c, gc.c, iseq.c, node.h, vm_insnhelper.c, vm_insnhelper.h,
…
vm_method.c: rename omod and overlaid modules to refinements. * eval.c (hidden_identity_hash_new): renamed from identity_hash_new. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
40d3e3c
|
|
|
shugo |
* eval.c (rb_mod_refinements): new method Module#refinements.
…
* test/ruby/test_refinement.rb: add new tests for the above changes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
662408c
|
|
|
nagachika |
* ext/zlib/zlib.c (zstream_run_func): don't call inflate() when
…
z->stream.avail_in == 0. it return Z_BUF_ERROR. but deflate() could be called with z->stream->avail_in == 0 because it has hidden buffer in z->stream->state (opaque structure). fix for gem install error. [ruby-dev:46149] [Bug #7040] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
19e3042
|
|
![]() |
svn |
* 2012-10-09
…
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
5a4a3ba
|
|
|
ko1 |
* vm_core.h (rb_call_info_t): add new type `rb_call_inf_t'.
…
This data structure contains information including inline method cache. After that, `struct iseq_inline_cache_entry' does not need to contain inline cache for method invocation. Other information will be added to this data structure. * vm_core.h (rb_iseq_t): add `callinfo_entries' and `callinfo_size' members to `rb_iseq_t'. * insns.def, compile.c: Use CALL_INFO instead of IC. * tool/instruction.rb: support CALL_INFO as operand type. * vm_insnhelper.c, vm_insnhelper.h: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
3039df3
|
|
|
ko1 |
* iseq.c (iseq_free): fix memory leak.
…
rb_iseq_t::callinfo_entries should be freed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
e25f585
|
|
|
nobu |
* ChangeLog: fix typo.
…
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
42238b3
|
|
|
nobu |
process.c: uid gid exec options
…
* process.c (rb_execarg_addopt, rb_execarg_run_options): add :uid and :gid options. [ruby-core:47414] [Feature #6975] |
9962f01
|
|
|
nobu |
process.c: uid gid exec options
…
* process.c (rb_execarg_addopt, rb_execarg_run_options): add :uid and :gid options. [ruby-core:47414] [Feature #6975] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |
faaf582
|
|
|
nobu |
.travis.yml: run test_thread.rb only.
|
fc7c8f9
|
|
|
nobu |
.travis.yml: seems working with clangs, btest does not need exts.
|
1850398
|
|
|
nobu |
.travis.yml: irc notification.
|
b7b9bab
|
test_unicode_escape.rb: fix test for Windows …
* test/ruby/test_unicode_escape.rb (TestUnicodeEscape#test_basic): echo command doesn't work properly against non-ascii character on Windows with chcp 437. Instead we use ruby. [ruby-core:47709] [Bug #7076] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/test_unicode_escape.rb (TestUnicodeEscape#test_basic): …
Use ruby only on Windows since the test fails on Unix with LANG=C. [ruby-core:47709] [Bug #7076] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_insnhelper.c (rb_vm_using_modules): use using_modules before …
klass to fix method lookup order, and use klass even if klass is not a module to make refinements in class_eval invoked on classes work. * eval.c (rb_using_module): accept a class as the second argument. * eval.c (rb_mod_using, f_using): raise a TypeError if the argument is not a module. * test/ruby/test_refinement.rb: add new tests for the above changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
test_unicode_escape.rb: set script encoding …
* test/ruby/test_unicode_escape.rb (TestUnicodeEscape#test_basic): set script encoding to work with LANG=C. It would work on both Windows and Unix. Refix of r37051. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbtest.rb: use :KILL on Windows …
* test/drb/drbtest.rb (DRbCore#teardown): Use Process.kill :KILL on Windows because Process.kill :INT silently fails on Windows 7 and raises EINVAL on Windows XP for spawned process with new_pgroup: false. * test/drb/drbtest.rb (DRbAry#teardown): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
test_http.rb: clear environment variables …
* test/net/http/test_http.rb (TestNetHTTP#test_proxy_address): clear environment variables. If http_proxy environment variable was set, the test failed. * test/net/http/test_http.rb (TestNetHTTP#test_proxy_port): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
envutil.rb: kill child process when timeout …
* test/ruby/envutil.rb (EnvUtil#invoke_ruby): kill child process before Timeout::Error is raised. rmdir of mktmpdir fails with EACCES if child process is alive on Windows. * test/thread/test_queue.rb (TestQueue): increase timeout. This test takes long time on Windows XP. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c (rb_str_concat): use memcpy to copy a string which contains …
NUL characters. [ruby-core:47751] [Bug #7090] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/test_enumerator.rb (enum_test, test_inspect): remove unused …
variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_dump.c (rb_vm_bugreport): add /Library/Logs/DiagnosticReports …
in the list of locations of crash reports. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* configure.in (--with-opt-dir): Make this also work on DLDFLAGS …
so LIBRUBY_SO links fine with libexecinfo installed in a non-system directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c (identify_hash_new): new function to create a new identity …
hash. * eval.c (rb_overlay_module, rb_mod_using, rb_mod_refine): use identify_hash_new(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ChangeLog: fix typos of r37064. …
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c (identity_hash_new): hide internal hashes for refinements. * eval.c (rb_mod_refine): no default value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* error.c (exc_to_s, name_err_to_s, name_err_mesg_to_str): do not …
taint messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/openssl/ossl_x509store.c (ossl_x509store_add_file): Added …
documentation * ext/openssl/ossl_x509store.c (ossl_x509store_set_default_paths): ditto * ext/openssl/ossl_x509store.c (ossl_x509store_add_cert): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* io.c (rb_io_reopen): improvement to accept optional arguments. a patch by Glass_saga (Masaki Matsushita) in [ruby-core:47806]. [Feature #7103] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
thread_pthread.c: init stack with ulimit …
* thread_pthread.c (ruby_init_stack): use getrlimit() for the main thread on Mac OS X, since pthread_get_stack{addr,size}_np() and return the default value always, but not the ulimit value. [ruby-dev:46174] [Bug #7084] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/json/generator/depend: fix missing dependency. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c: Use the non-recursive marking instead of recursion. The …
recursion marking of CRuby needs checking stack overflow and the fail-safe system, but these systems not good at partial points, for example, marking deep tree structures. [ruby-dev:46184] [Feature #7095] * configure.in (GC_MARK_STACKFRAME_WORD): removed. It's used by checking stack overflow of marking. * win32/Makefile.sub (GC_MARK_STACKFRAME_WORD): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c (free_stack_chunks): it is used only when per-VM object space is enabled. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/cgi/html5.rb: Add html5 tag maker. …
* lib/cgi/core.rb: ditto. [Feature #6637] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread_pthread.c (RUBY_STACK_MIN_LIMIT): name magic number. …
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
thread_pthread.c: precise stack size …
* thread_pthread.c (ruby_init_stack): round stack limit to page size boundary to calculate stack size more precisely. [ruby-dev:46174] [Bug #7084] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c: use enum for debugging. …
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
gc.c: self-referencing finalizers …
* gc.c (rb_objspace_call_finalizer): mark self-referencing finalizers before run finalizers, to fix SEGV from btest on 32bit. * gc.c (gc_mark_stacked_objects): extract from gc_marks(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c (rb_objspace_call_finalizer): call gc_mark_stacked_objects …
at suitable point. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby/test_settracefunc.rb (test_tracepoint): …
remove unused test case. (this test case is redefined by newer tests) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm.c (VM_COLLECT_USAGE_DETAILS): make new VM usage analysis …
hooks (old macro name is COLLECT_USAGE_ANALYSIS). This feature is only for VM developers. (I'm not sure I can use `VM developers' (the plural form) in this sentence). If VM_COLLECT_USAGE_DETAILS is not 0, VM enables the following usage collection features: (1) insntruction: collect intruction usages. (2) operand: collect operand usages. (3) register: collect register usages. The results are stored in RubyVM::USAGE_ANALYSIS_INSN for (1, 2), RubyVM::USAGE_ANALYSIS_INSN_BIGRAM for (1) and RubyVM::USAGE_ANALYSIS_REGS for (3). You can stop collecting usages with RubyVM::USAGE_ANALYSIS_INSN_STOP(), RubyVM::USAGE_ANALYSIS_OPERAND_STOP(), RubyVM::USAGE_ANALYSIS_REGISTER_STOP() for (1), (2), (3) respectively. You can also change the hook functions by setting C level global variables `ruby_vm_collect_usage_func_(insn|operand|register)' for (1), (2), (3) respectively. See codes for more details. * tool/instruction.rb: fix macro names. * iseq.c (insn_operand_intern): make it export (used in vm.c). fix to skip several processes if not needed (pointer is 0). * vm_dump.c: move codes for collection features to vm.c. * vm_exec.h: rename macro and function names. * vm_insnhelper.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm.c (vm_analysis_insn|operand|register): use st_insert …
instead of using rb_hash_aset() because rb_hash_aset() check $SAFE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* insns.def (getlocal, setlocal): remove old getlocal/setlocal …
instructions and rename getdaynmic/setdynamic instructions to getlocal/setlocal. * compile.c: ditto. * iseq.c: remove TS_DINDEX. * vm_exec.h (dindex_t): remove type definition of `dindex_t'. * tool/instruction.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c (init_heap): call init_mark_stack before to allocate …
altstack. This change avoid the stack overflow at the signal handler on 32bit, but I don't understand reason... [Feature #7095] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/date/depend: all source files need ruby.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c (chain_finalized_object): remove to check a mark flag and …
marking since all objects are certainly unmarked with rest_sweep. * gc.c (rb_objspace_call_finalizer): remove to mark finalizable objects. The sweeping doesn't push T_ZOMBIE objects to the freelist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Makefile.in (RUNRUBY_COMMAND): split from RUNRUBY. * common.mk (gdb-ruby): use runruby.rb to set up library path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/objspace/objspace.c: add ObjectSpace#reachable_objects_from. …
This method returns an array of objects referenced by given object. If given object is special objects such as true/false/nil/Fixnum etc then it returns nil. See rdoc for details. [ruby-core:39772] * test/objspace/test_objspace.rb: add a test for this method. * gc.c: add rb_objspace_reachable_objects_from(). To make this function, add several member `mark_func_data' to rb_objspace_t. If mark_func_data is not null, then gc_mark() calls mark_func_data::mark_func. * gc.h: export rb_objspace_reachable_objects_from(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* template/Doxyfile.tmpl: remove SHOW_DIRECTORIES and …
HTML_ALIGN_MEMBERS lines. They have been obsolete in Doxygen version 1.8.2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* encoding.c (rb_enc_unicode_p): oniguruma provides Unicode flag. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Adding a test for initialize_clone and initialize_dup. From Github: …
ruby#190 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enc/encdb.c, enc/utf_16_32.h (ENC_DUMMY_UNICODE): endian-less wide UTF encodings are dummy but Unicode. * encoding.c (rb_encdb_set_unicode): set Unicode flag. * template/encdb.h.tmpl: allow ENC_DUMMY variants. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/objspace/test_objspace.rb (test_reachable_objects_from): use proper assertions, and show messages than comments. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c (gc_mark_children): use markable_object_p() and reduce duplicated code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This reverts * encoding.c (rb_enc_unicode_p): oniguruma provides Unicode flag. because UTF-16 and UTF-32 is also treated as unicode in this context. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_method.c (search_method): check omod only once for performance. …
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_opts.h (OPT_GLOBAL_METHOD_CACHE): new build option to …
enable/disable global method caching. [ruby-dev:46203] [Bug #7111] * vm_method.c (rb_method_entry_get_with_omod): don't use global method cache if OPT_GLOBAL_METHOD_CACHE is 0. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
UTF-16 and UTF-32 are also treated as unicode since r37101. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/openssl/test_config.rb (OpenSSL#test_constants): skip only when …
DEFAULT_CONFIG_FILE does not exist. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Clarify behavior for captured strings and local variable assignment Patch by Marcus Stollsteimer [ruby-dev:47668] [Bug #7062] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Clarify behavior for captured strings and local variable assignment Patch by Marcus Stollsteimer [ruby-dev:47668] [Bug #7062] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* thread.c (rb_thread_aref): …
Grammar in Thread documentation. Patch by Steve Klabnik [ruby-dev:47799] [Bug #7099] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/abbrev.rb: Documentation examples for Abbrev. …
[ruby-dev:47442] [Bug #6985] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c, gc.c, iseq.c, node.h, vm_insnhelper.c, vm_insnhelper.h, …
vm_method.c: rename omod and overlaid modules to refinements. * eval.c (hidden_identity_hash_new): renamed from identity_hash_new. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c (rb_mod_refinements): new method Module#refinements. …
* test/ruby/test_refinement.rb: add new tests for the above changes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ext/zlib/zlib.c (zstream_run_func): don't call inflate() when …
z->stream.avail_in == 0. it return Z_BUF_ERROR. but deflate() could be called with z->stream->avail_in == 0 because it has hidden buffer in z->stream->state (opaque structure). fix for gem install error. [ruby-dev:46149] [Bug #7040] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* vm_core.h (rb_call_info_t): add new type `rb_call_inf_t'. …
This data structure contains information including inline method cache. After that, `struct iseq_inline_cache_entry' does not need to contain inline cache for method invocation. Other information will be added to this data structure. * vm_core.h (rb_iseq_t): add `callinfo_entries' and `callinfo_size' members to `rb_iseq_t'. * insns.def, compile.c: Use CALL_INFO instead of IC. * tool/instruction.rb: support CALL_INFO as operand type. * vm_insnhelper.c, vm_insnhelper.h: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* iseq.c (iseq_free): fix memory leak. …
rb_iseq_t::callinfo_entries should be freed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
process.c: uid gid exec options …
* process.c (rb_execarg_addopt, rb_execarg_run_options): add :uid and :gid options. [ruby-core:47414] [Feature #6975]
process.c: uid gid exec options …
* process.c (rb_execarg_addopt, rb_execarg_run_options): add :uid and :gid options. [ruby-core:47414] [Feature #6975] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@37124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
.travis.yml: irc notification.
No description provided.