nobu
8009794c09
rake.1: removed
...
* man/rake.1: rake has been gemified. [Feature #11025 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-23 07:58:56 +00:00
usa
7ceb9ecc31
* win32/win32.c (rb_w32_write_console): should return the count of
...
actually eaten characters, include escape sequences.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-22 18:13:32 +00:00
usa
3f4aab1621
* win32/win32.c (constat_apply): fixed comment. [skip ci]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-22 17:37:15 +00:00
svn
a1147b911f
* 2015-05-23
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-22 15:26:25 +00:00
kazu
511a9f79aa
fix indent (tabify) [ci skip]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-22 15:26:23 +00:00
kazu
9bab9d5092
fix a typo [ci skip]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-22 15:26:11 +00:00
marcandre
2c686723fe
* lib/matrix.rb: Styling
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-22 13:37:02 +00:00
marcandre
d2487ed475
* lib/prime.rb: Remove obsolete Prime.new
...
patch by Ajay Kumar. [Fixes GH-891]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-22 13:36:39 +00:00
nobu
3a08b7e204
intern.h: move rb_sym_all_symbols
...
* include/ruby/intern.h (rb_sym_count): move `rb_sym_all_symbols`
to a symbol.c specific section. a part of patch by Lourens
Naudé.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-22 12:13:14 +00:00
nobu
c7b63ec872
test_parse.rb: move assertions
...
* test/ruby/test_module.rb (test_remove_class_variable): move an
assertion for Module#remove_class_variable from test_parse.rb.
* test/ruby/test_symbol.rb (test_intern, test_all_symbols): move
assertions for Symbol#intern and Symbol.all_symbols from
test_parse.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-22 12:10:52 +00:00
usa
b53d547f38
* complex.c (f_complex_polar): simple bug reproduced only when y is
...
a float but x is not a float.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-22 11:57:43 +00:00
nobu
46c64caff6
process.c: do not discard status
...
* process.c (rb_spawn_process): do not discard global escape
status. [ruby-core:69304] [Bug #11166 ]
* process.c (rb_execarg_spawn): extract the start procedure in a
parent process with ensuring the end procedure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-22 10:42:09 +00:00
hsbt
224172757e
* NEWS: added news for net-telnet and rake
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-22 07:48:39 +00:00
svn
524e5307f6
* 2015-05-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-21 16:14:58 +00:00
ktsj
20fe5da889
* doc/maintainers.rdoc: [DOC] net/telnet is no more in the stdlib.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-21 16:14:39 +00:00
ko1
c722f8ad1d
fix indent
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-21 11:52:21 +00:00
naruse
d1a3f716e9
* configure.in (RUBY_DTRACE_POSTPROCESS): cmp -b is GNU extension.
...
darwin uses GNU cmp, and FreeBSD and Solaris are not.
Note that accidentally equals to expected result.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-21 11:39:15 +00:00
nobu
4a17c5aa19
test_method.rb: add assertion
...
* test/ruby/test_method.rb (test_to_proc_binding): assertion for
dynamically set variable names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-21 11:28:55 +00:00
ko1
7239111ef5
* iseq.c: constify.
...
* iseq.h: ditto.
* method.h: ditto.
* proc.c: ditto.
* vm_method.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-21 09:01:44 +00:00
ko1
928d89c77b
* proc.c: fix issues caused by binding created from Method#to_proc.
...
[Bug #11163 ]
* vm.c (vm_cref_new_toplevel): export as rb_vm_cref_new_toplevel().
* test/ruby/test_method.rb: add some assersions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-21 08:45:57 +00:00
hsbt
e398e64ad7
* lib/matrix.rb: added documentation for Matrix#empty and Matrix#/
...
[Feature #10070 ][ruby-dev:48433] Patch by @gogotanaka
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-21 08:29:32 +00:00
ko1
f6e9524026
* proc.c: rename functions.
...
* method_get_def() -> method_def()
* method_get_iseq() -> method_def_iseq()
* method_get_cref() -> method_cref()
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-21 08:03:58 +00:00
ko1
1cc326a351
fix ChangeLog, too
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-21 08:02:31 +00:00
ko1
c0ce9a7227
commit miss. iseq.h should be commit with last commit.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-21 08:01:59 +00:00
ko1
0dba10a47f
* proc.c (rb_method_get_iseq): rename to rb_method_iseq.
...
* iseq.c: catch up this fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-21 07:54:44 +00:00
hsbt
0b5ecba435
* lib/net/telnet.rb: gemify net-telnet.
...
[Feature #11083 ]
* gems/bundled_gems: added net-telnet to bundled gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-21 06:46:14 +00:00
zzak
32a5a098e3
* vm_method.c: Remove private attribute warning [Bug #10967 ]
...
Patch by @spastorino [Fixes GH-849]
https://github.com/ruby/ruby/pull/849
* test/ruby/test_module.rb: Update test for changes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-21 06:40:27 +00:00
nobu
ac9d6b050b
digest.c: GC guard
...
* ext/digest/digest.c (hexencode_str_new, rb_digest_base_update):
prevent argument strings from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-21 05:03:55 +00:00
ko1
8147bd1e49
* proc.c (method_proc): rename to method_to_proc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-21 02:00:31 +00:00
nobu
cac2c6d331
Fixes for grammar and style [ci skip]
...
* io.c (rb_f_select): [DOC] Fixes for grammar and style.
[Fix GH-906]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-21 01:51:51 +00:00
normal
4b0987a629
variable.c: generic_iv_tbl is unavoidable
...
Even miniruby creates one generic ivar (plain "ruby" creates 9),
so there's no point in lazily allocating the table.
I dumped generic ivar counts with the following trivial patch:
--- a/variable.c
+++ b/variable.c
@@ -24,6 +24,10 @@ static void check_before_mod_set(VALUE, ID, VALUE, const char *);
static void setup_const_entry(rb_const_entry_t *, VALUE, VALUE, rb_const_flag_t);
static int const_update(st_data_t *, st_data_t *, st_data_t, int);
static st_table *generic_iv_tbl;
+__attribute__((destructor)) static void count_genivar(void)
+{
+ fprintf(stderr, "genivars: %zu\n", (size_t)generic_iv_tbl->num_entries);
+}
void
Init_var_tables(void)
* variable.c (Init_var_tables): init generic_iv_tbl
(rb_generic_ivar_table, generic_ivar_get, generic_ivar_set,
generic_ivar_defined, generic_ivar_remove,
rb_mark_generic_ivar, givar_i, rb_mark_generic_ivar_tbl,
rb_free_generic_ivar, rb_copy_generic_ivar, rb_ivar_foreach,
rb_ivar_count): remove checks for uninitialize generic_iv_tbl
[ruby-core:69155] [Feature #11146 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-21 00:15:00 +00:00
nobu
ca61b4c4e0
vm.c: vm_invoke_bmethod
...
* vm.c (vm_invoke_bmethod): bmethod does not need EXEC_TAG as it
does not set safe level.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-20 22:03:06 +00:00
svn
a65ee87bf2
* 2015-05-21
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-20 19:12:19 +00:00
ko1
08f923bdc1
* iseq.c (exception_type2symbol): show correct bug message.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-20 19:11:47 +00:00
mame
7fc7651fc6
* lib/base64.rb: Fix rdoc-formatting for padding argument.
...
[fix GH-905][ci skip] Patch by @davydovanton
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-20 14:24:58 +00:00
nobu
fdb957925f
ruby.h: warn old names
...
* include/ruby/ruby.h (rb_data_typed_object_alloc),
(rb_data_object_alloc): warn use of old names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-20 05:09:00 +00:00
nobu
68426106a9
ruby.h: DEPRECATED_BY
...
* include/ruby/ruby.h (DEPRECATED_BY): fallback definition without
additional messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-20 04:21:08 +00:00
nobu
408885c891
configure.in: DEPRECATED_BY
...
* configure.in (DEPRECATED_BY): deprecate warning with preferable
alternative.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-20 04:16:46 +00:00
nobu
814b83918e
configure.in: attribute arguments
...
* configure.in (RUBY_FUNC_ATTRIBUTE): allow attribute arguments in
the macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-20 04:15:40 +00:00
nobu
50732b7b6e
configure.in: pop macro
...
* configure.in (RUBY_FUNC_ATTRIBUTE): pop definition of macro
`attrib_code`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-20 04:13:05 +00:00
naruse
dd9265ecf3
* vm_dump.c (rb_print_backtrace): return value of libexec's backtrace
...
is size_t, so simply cast as int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-20 02:24:17 +00:00
svn
9e80fb0751
* 2015-05-20
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-20 00:51:16 +00:00
hsbt
360c741abe
added contributor name
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-20 00:50:30 +00:00
nobu
87e2c106a8
ChangeLog: fix typo
...
* ChangeLog: fix typo, "srouce" to "source".
[ruby-core:69219] [Bug #11159 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-19 09:56:16 +00:00
nobu
b813198627
iseq.c: check srouce type
...
* iseq.c (rb_iseq_compile_with_option): check srouce type, must be
an IO or a String. [ruby-core:69219] [Bug #11159 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-19 09:54:44 +00:00
hsbt
cdea1553b3
* lib/benchmark.rb: Update Benchmark documentation and formatting.
...
[fix GH-903][ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-19 08:15:07 +00:00
nobu
59b089bd09
numeric.c: return true
...
* numeric.c (num_positive_p): return true instead of Fixnum 0.
[ruby-core:69173] [Feature #11151 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-19 04:13:22 +00:00
nobu
b4e5bff89d
numeric.c: Bignum 0 is not positive
...
* numeric.c (num_positive_p): should false on Bignum 0.
http://twitter.com/rafaelfranca/status/600509783427391488
[ruby-core:69173] [Feature #11151 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-19 04:10:12 +00:00
naruse
8c7310e713
* lib/uri/rfc2396_parser.rb (initialize_pattern):
...
URI::Generic.build should accept port as a string.
pattern[:PORT] is not defined for long.
by Dave Slutzkin <daveslutzkin@fastmail.fm>
https://github.com/ruby/ruby/pull/804 fix GH-804
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-19 02:34:47 +00:00
nobu
1443776cc9
ruby.h: add old names
...
* include/ruby/ruby.h (rb_data_typed_object_alloc),
(rb_data_object_alloc): add old names for source level backward
compatibilities.
* gc.c (rb_data_object_alloc, rb_data_typed_object_alloc): add
aliases for binary level backward compatibilities.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-05-19 02:18:49 +00:00