zzak
762aa293ca
* ext/zlib/zlib.c (Zlib::GzipFile): Fix typo by zed_0xff
...
[Fixes Github #229 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-01 18:10:34 +00:00
zzak
663613a993
* hash.c (rb_hash_update): Revert documentation from r38672
...
See: https://github.com/ruby/ruby/pull/228#issuecomment-11791013
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-01 17:28:47 +00:00
svn
98b1b387f2
* 2013-01-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-01 17:17:33 +00:00
zzak
1290747cfb
* hash.c (rb_hash_update): Documentation for Hash#merge and shallow
...
copies Patch by Yorick Peterse [Fixes Github #228 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-01 17:17:28 +00:00
nobu
10c8aa81fb
* bootstraptest/test_thread.rb: get rid of confusing ruby-mode.el
...
indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-01 14:42:52 +00:00
nobu
4136f8ce89
* bootstraptest/test_thread.rb: get rid of "invalid nest" error in
...
ruby-mode.el.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-01 14:42:50 +00:00
nobu
5c7027d227
test_tmpdir.rb: remove tmpdir
...
* test/test_tmpdir.rb (TestTmpdir#test_no_homedir): remove created
tmpdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-01 14:35:04 +00:00
svn
56554d12a5
* 2013-01-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-01 09:24:20 +00:00
kazu
78ac68e8aa
fix typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-01-01 09:24:15 +00:00
zzak
7e62b6cccf
* vm_backtrace.c: Add documentation for Kernel#caller_locations,
...
Kernel#caller, and Thread::Backtrace::Location
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-31 06:09:57 +00:00
svn
534d99ec31
* 2012-12-31
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-31 04:03:59 +00:00
zzak
e4be7f9772
* test/ruby/test_backtrace.rb: Add test for r37957 [Feature #7434 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-31 04:03:55 +00:00
nobu
77df5bb1b5
parse.y: escaped closing parenthsis
...
* parse.y (simple_re_meta): escaped closing parenthsis has different
meaning. [Bug #7610 ] [ruby-core:51088]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-30 14:33:38 +00:00
nobu
a6c637f013
vm_method.c: idRespond_to_missing
...
* vm_method.c (respond_to_missing): use idRespond_to_missing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-30 14:01:37 +00:00
nobu
afa4770aa6
Makefile.in: ignore CDPATH
...
* Makefile.in (CDPATH): ignore and force to chdir from cwd.
http://stackoverflow.com/questions/12885548/unable-to-build-ruby-1-9-3-on-lion
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-30 12:57:25 +00:00
charliesome
c56eee05c6
* configure.in: use 4 argument form of AC_CHECK_HEADERS to force
...
autoconf to use compiler's result
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-30 03:11:17 +00:00
svn
64e36b0efc
* 2012-12-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-30 02:06:35 +00:00
ktsj
2a4e4d8673
* test/ruby/test_keyword.rb: add a test for passing hash
...
as a last argument. [ruby-dev:46712] [Bug #7529 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-30 02:06:32 +00:00
ktsj
371c07f2a2
* vm_insnhelper.c: set keyword hash on Proc/block calls.
...
[ruby-core:51172] [Bug #7630 ]
* test/ruby/test_keyword.rb: add tests for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-30 02:06:28 +00:00
keiju
b0767cf8c0
* lib/irb/completion.rb: treat rightly comletion for symbol on irb
...
[Bug #7632 ].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-29 12:59:06 +00:00
shugo
cdabc58f8e
* ext/curses/curses.c (window_cury, window_curx, window_maxy,
...
window_maxx, window_begy, window_begx): use RB_UNUSED_VAR()
to suppress unused-but-set-variable warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-29 12:54:41 +00:00
nobu
be7bf5aa0c
adjust style
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-29 12:22:04 +00:00
nobu
e878df745c
use RB_TYPE_P
...
* enumerator.c (enumerator_initialize), eval.c (rb_using_refinement),
(add_activated_refinement), numeric.c (num_interval_step_size),
parse.y (arg, match_op_gen, cond0), range.c (range_bsearch),
vm_insnhelper.c (vm_get_iclass): use RB_TYPE_P() to optimize.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-29 12:22:01 +00:00
nobu
eb56c1084d
compile.c: no semicolon
...
* compile.c (ADD_TRACE): putting a semicolon at the last of a macro
let do/while make no sense.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-29 12:21:58 +00:00
zzak
fd636ef99b
* iseq.c (RubyVM::InstructionSequence): rdoc formatting
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-29 07:44:54 +00:00
zzak
1ddf183353
* iseq.c (RubyVM::InstructionSequence): Add rdoc for new iseq features
...
added from r38085, this includes ::of, #path, #absolute_path,
#label, #base_label, #first_lineno, and #inspect
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-29 06:29:47 +00:00
zzak
4706171d27
* iseq.c (rb_iseq_line_trace_all, rb_iseq_line_trace_specify): Add
...
rdoc for experimental C level api of iseq, from r38076
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-29 05:09:18 +00:00
nobu
ad6f06aed8
object.c: singleton class clone
...
* object.c (rb_obj_clone): attach clone to its singleton class during
cloning singleton class so that singleton_method_added will be called
on it. based on the patch by shiba (satoshi shiba)[Bug #5283 ] in
[ruby-dev:44477]. [Bug #5283 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-29 02:37:47 +00:00
nobu
1180302200
* test/ruby/test_class.rb (test_cannot_reinitialize_class_with_initialize_copy),
...
(test_invalid_superclass): get rid of confusing ruby-mode.el.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-29 01:13:53 +00:00
svn
df158322cf
* 2012-12-29
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-29 01:10:47 +00:00
nobu
2eb92b143a
configure.in: AC_CHECK_HEADERS
...
* configure.in (crt_externs.h): use standard macro AC_CHECK_HEADERS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-29 01:10:41 +00:00
charliesome
af35f2a61d
* configure.in: check for the whether crt_externs.h is present when compiling
...
for darwin (this header is missing in the iOS SDK)
* eval_intern.h: check HAVE_CRT_EXTERNS_H before including crt_externs.h, if
not defined, include missing/crt_externs.h instead
* hash.c: ditto
* missing/setproctitle.c: ditto
* missing/crt_externs.h: declare _NSGetEnviron() function and define environ
for iOS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-28 14:23:25 +00:00
keiju
80b0c6ca3b
* lib/irb/context.rb: IRB::Context#new: Check from JobManager
...
inside IRB namespace [Bug #7628 ]. Thanks rafaelfranca for bug
report and its patch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-28 12:49:19 +00:00
knu
7bc4cfe479
ruby-electric.el (ruby-electric-curlies): Automatically indent "}".
...
* misc/ruby-electric.el (ruby-electric-curlies): Automatically
indent closing curly brackets when
ruby-electric-newline-before-closing-bracket is true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-28 08:10:01 +00:00
kazu
7c7a3c4d96
fix typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-28 03:34:12 +00:00
nobu
d00b1a7687
vm.c: suppress warning
...
* vm.c (check_machine_stack_size): ifdef a variable which is unused on
non-pthread platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-28 03:03:19 +00:00
nobu
0ea1e43174
vm_insnhelper.c: no splat single opt arg
...
* vm_insnhelper.c (vm_yield_setup_block_args): pass single argument to
single optional parameter unchanged without splatting. [Bug #7621 ]
[ruby-dev:46801]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-28 02:50:57 +00:00
shugo
d5a39c0aa8
* proc.c (method_eq): fix the documentation to refer to owner.
...
[ruby-core:51105] [Bug #7613 ]
* test/ruby/test_method.rb (test_alias_onwer): new test to confirm
that `a == b' returns false if owners of a and b are different.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-28 02:23:11 +00:00
nobu
bab92f0fea
* ChangeLog: fix indent broen at r38633 and tabify.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-28 00:19:03 +00:00
naruse
8654730aa8
* def/id.def: use split(/^/) instead of String#lines to support
...
Ruby 1.8.5 as BASERUBY.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-27 22:08:41 +00:00
naruse
109d71ac71
* variable.c (rb_mod_remove_const): fix segv caused by r38558.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-27 16:45:36 +00:00
svn
3e81553a1e
* 2012-12-28
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-27 16:15:59 +00:00
jeg2
93030d0e4d
* lib/csv.rb: Added more Hash methods to CSV::Row.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-27 16:15:53 +00:00
keiju
7b34c2f81a
* lib/irb/ruby-lex.rb: make lex_state to EXPR_END when next token
...
is an operator after SYMBEG [Bug #6378 ].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-27 14:48:42 +00:00
keiju
8f4d0c4526
* lib/irb/ruby-lex.rb: allow to handle recursive heredocs on
...
irb[Bug #5648 ].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-27 12:35:28 +00:00
glass
89182621d9
* ext/stringio/stringio.c (strio_getline): fix not to raise TypeError
...
when limit is nil.
[Bug #7232 ] [ruby-core:48531]
* test/stringio/test_stringio.rb: a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-27 12:21:17 +00:00
charliesome
22691e7f6b
* vm_core.h (VM_DEFINECLASS_TYPE): explicit cast to enum type to avoid 64->32
...
shorten warning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-27 12:09:33 +00:00
glass
cd453f16b4
* ext/stringio/stringio.c (strio_ungetc): raise IOError instead of RuntimeError
...
if the string is frozen.
[Bug #7231 ] [ruby-core:48530]
* ext/stringio/stringio.c (strio_ungetbyte): ditto.
* test/stringio/test_stringio.rb: a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-27 11:43:02 +00:00
svn
90833dd452
* 2012-12-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-26 15:43:31 +00:00
zzak
8f54e81dbb
fix typo from r38623
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-12-26 15:43:26 +00:00