akr
3707fd4941
* test/dl/test_cptr.rb (test_free=): test SEGV at first.
...
[ruby-dev:39269]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-10 12:22:59 +00:00
akr
5ced9a4395
* test/ruby/envutil.rb (assert_normal_exit): Don't use
...
AssertionMessage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-10 12:21:48 +00:00
svn
a87ce30453
* 2009-09-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-10 07:00:47 +00:00
naruse
83b76913d8
Warn unknown escaped chars in regexp.
...
* regparse.c (UNKNOWN_ESC_WARN): added.
* regparse.c (conv_backslash_value): Warn unknown
escaped chars in regexp. [ruby-dev:39104]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-10 07:00:44 +00:00
nobu
ee647e1b96
* lib/fileutils.rb (FileUtils::Entry_#copy_file): open the source
...
file first to ensure it can be copied. [ruby-core:25498]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 13:02:04 +00:00
nobu
7bac09fc26
* ext/bigdecimal/bigdecimal.c (BigDecimal_data_type): typed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 12:20:51 +00:00
nobu
c754c0b237
* ext/dl/cfunc.c (dlcfunc_data_type): typed.
...
* ext/dl/cptr.c (dlptr_data_type): ditto.
* ext/dl/handle.c (dlhandle_data_type): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 12:19:28 +00:00
nobu
098d8d11e1
* test/dl/test_dl2.rb (test_call_double, test_sin): fixed argument
...
order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 12:04:29 +00:00
naruse
ba6e61d6f5
Only 1 kcode effects options [ruby-core:25411]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 08:19:06 +00:00
nobu
481a6476ce
* test/ruby/test_require.rb (test_relative): tests for require_relative.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 07:21:49 +00:00
nobu
31a6d50863
* load.c (rb_feature_provided): fixed for autoloading extension
...
library without suffix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 06:46:31 +00:00
takano32
bc664b878c
Wed Sep 9 15:24:32 2009 TAKANO Mitsuhiro (takano32) <tak@no32.tk>
...
* include/ruby/st.h : revert previous commit.
* ext/objspace/objspace.c : remove st_memsize declare.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 06:27:35 +00:00
takano32
103b471075
Wed Sep 9 14:07:19 2009 TAKANO Mitsuhiro (takano32) <tak@no32.tk>
...
* include/ruby/st.h : fix duplicate st_memsize declare.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 05:08:45 +00:00
nobu
ed02d584a3
* variable.c (rb_autoload): initialize typed data.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 04:33:13 +00:00
nobu
78ab4258ff
* st.c (st_free_table): constified.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 04:10:42 +00:00
nobu
fb532ac7a9
* variable.c (autoload_data_type): typed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 04:09:09 +00:00
nobu
fe963a4510
* time.c (rb_time_timeval, rb_time_timespec): typed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 04:06:37 +00:00
nobu
913fdf25bc
* transcode.c (econv_data_type): typed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 03:56:58 +00:00
nobu
5c0a8e947a
* time.c (time_data_type): typed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 03:43:48 +00:00
nobu
1a7221035a
* thread.c (thgroup_data_type, mutex_data_type, barrier_data_type):
...
typed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 03:21:14 +00:00
nobu
23c95ef6c7
* file.c (stat_data_type): typed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 03:01:37 +00:00
nobu
355047fb49
* error.c (name_err_mesg_data_type): typed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 02:55:09 +00:00
nobu
9c1e2b4fb7
* enumerator.c (enumerator_data_type): typed.
...
(yielder_data_type, generator_data_type): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 02:46:00 +00:00
nobu
44110c88e7
* dir.c (dir_data_type): typed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 02:28:21 +00:00
nobu
af4a989a98
* cont.c (cont_memsize, fiber_memsize): constified.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 02:26:06 +00:00
nobu
cd4fc5be39
* include/ruby/ruby.h (rb_data_type_struct): constified dsize.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 02:22:08 +00:00
nobu
b46cd0e400
* include/ruby/ruby.h (rb_data_type_struct): constified dsize.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 02:11:35 +00:00
nobu
85cc4ff62a
* cont.c (cont_memsize): fixed wrong expression on IA64.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 02:07:50 +00:00
nobu
f7f3f9bf76
* cont.c (cont_restore_1, rb_cont_call): should be Fiber.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-09 01:51:49 +00:00
nobu
055fb06700
* cont.c (cont_data_type, fiber_data_type): typed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-08 15:27:31 +00:00
nobu
032a314c50
* lib/tempfile.rb, lib/tmpdir.rb (Tmpname): extracted new module.
...
[ruby-dev:39197]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-08 13:38:01 +00:00
nobu
e6dd856d73
* st.c (st_init_*table_with_size): use st_index_t.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-08 13:18:13 +00:00
nobu
bbd9c406d6
* re.c (rb_reg_hash): must calculate hash.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-08 13:11:32 +00:00
nobu
31b7ae00c0
* include/ruby/st.h (st_hash_func): use st_index_t.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-08 13:10:04 +00:00
nobu
034414741e
* iseq.c (iseq_mark): use preprocessor.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-08 12:50:13 +00:00
nobu
4fb9d7ffee
* vm.c (rb_thread_mark): mark callers iseqs. [ruby-core:25474]
...
[Bug #2062 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-08 12:48:17 +00:00
nobu
488024dfcf
* tool/compile_prelude.rb: reverted.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-08 12:41:05 +00:00
nobu
c6b3a96fbb
* tool/compile_prelude.rb: evaluates in the main context.
...
[ruby-core:25474]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-08 09:10:49 +00:00
ko1
a31c632299
* iseq.c (iseq_mark): no need to mark inline cache entries.
...
* insns.def (onceinlinecache, setinlinecache): save a value
to mark cached value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-08 02:57:39 +00:00
nobu
922bc54adb
* test/dl/test_{cfunc,ptr}.rb: added tests from Aaron Patterson.
...
see [ruby-dev:39249].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-07 23:32:32 +00:00
nobu
c95cbc0cc5
* vm.c (sdr, nsdr): nodoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-07 22:32:31 +00:00
nobu
a5c2f8843f
* io.c (rb_io_tell): adjustment for ungotten data.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-07 08:23:00 +00:00
nobu
5a12fb5fb8
* io.c (io_encname_bom_p): removed magic number.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-07 08:13:55 +00:00
nobu
f64949e276
* io.c (Init_IO): added rdocs for constants.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-07 08:12:32 +00:00
matz
f69dff0ed1
* lib/irb/inspector.rb (IRB::INSPECTORS.def_inspector): support
...
object without #inspect defined. a patch from Daniel
Bovensiepen. [ruby-core:25200]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-07 03:28:41 +00:00
ko1
b82db5251c
* insns.def (opt_*): add IC operands.
...
* vm_insnhelper.h (CALL_SIMPLE_METHOD): add a version which
use an inline cache. USE_IC_FOR_SPECIALIZED_METHOD macro
switchs the behaviour. This change also removes
CALL_SIMPLE_METHOD_IC() macro.
* tool/instruction.rb: fix elimination process to ignore
variable "ic".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-06 20:42:50 +00:00
ko1
cea5aeb795
* Makefile.in, common.mk: move a id.h generation rule.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-06 20:22:18 +00:00
ko1
dd7f5639a9
* benchmark/driver.rb: remove RUBY_VERSION output.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-06 20:08:57 +00:00
ko1
3463db3068
* vm_insnhelper.c: rename macro name ENABLE_IC_FOR_IVAR
...
to USE_IC_FOR_IVAR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-06 20:08:00 +00:00
svn
e5e04d45de
* 2009-09-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-06 18:24:56 +00:00