nobu
d937bbe9ce
* win32/configure.bat: keep old makefile with renamed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-14 02:05:17 +00:00
nobu
976c4de363
* common.mk (check-ruby): run all test of ruby itself.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-14 01:56:41 +00:00
nobu
e4259b7cc5
* include/ruby/ruby.h (RB_TYPE_P): should not use BUILTIN_TYPE for
...
special constants.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-14 01:44:48 +00:00
naruse
011776b4a6
* string.c (rb_str_inspect): use rb_enc_mbc_to_codepoint
...
because we already knew char is found and got length.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-14 01:11:05 +00:00
usa
d8e8849e35
* include/ruby/ruby.h (NUM2INT, NUM2LL, INT2NUM, UINT2NUM),
...
(LONG2NUM, ULONG2NUM, NUM2CHR): get rid of backward references of
macros. the code couldn't compile by VC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-14 01:01:19 +00:00
marcandre
b09845fa70
* lib/net/http.rb (each_*): return enumerator if no block present. Patch by Arthur Schreiber [ruby-core:18310]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 23:35:09 +00:00
marcandre
5904f64dbf
* lib/cgi/cookie.rb (value): Keep CGI::Cookie#value in sync with the cookie itself. Based on a patch by Arthur Schreiber [ruby-core:17634]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 22:36:45 +00:00
marcandre
a0c569a378
* lib/net/http.rb (fetch): Handle properly default values; a patch by Arthur Schreiber [ruby-core:18308]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 20:30:46 +00:00
marcandre
8ef3af646f
* lib/set.rb (==): Optimization; patch by Arthur Schreiber [ruby-core:17203]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 19:09:36 +00:00
akr
242e2aaec2
remove temporally files explicitly.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 17:59:49 +00:00
azav
119e97479d
* symbian/pre-build: added rule to generate id.h for Symbian build.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 17:37:51 +00:00
azav
b2f8eaa444
* symbian/pre-build: added rule to generate id.h for Symbian build.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 17:37:14 +00:00
svn
367ec2f8c9
* 2009-09-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 17:36:46 +00:00
azav
2cd7b07fdc
* symbian/configure.bat: fixed harmless error message.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 17:36:44 +00:00
nobu
283189807c
* variable.c (rb_mod_remove_const): do not change VM state when an
...
exception will occur.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 13:18:35 +00:00
suke
476a0355db
* ext/win32ole/win32ole.c (oletypelib_get_libattr): some refactoring
...
by adding oletypelib_get_libattr
-This line, and those below, will be ignored--
M ChangeLog
M ext/win32ole/win32ole.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 12:28:00 +00:00
suke
6f0b0701d0
* ext/win32ole/win32ole.c (oletypelib_get_typelib): some refactoring
...
by adding oletypelib_get_typelib.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 11:58:52 +00:00
nobu
a39f4e5cf6
* ruby.c (process_sflag, proc_options, load_file_internal): fixed
...
types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 11:18:51 +00:00
suke
1c75c0e28c
ext/win32ole/win32ole.c: some refactoring.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 10:42:24 +00:00
nobu
bc832b8e5b
* ruby.c (load_file_internal): no need to define DATA when error.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 10:38:36 +00:00
nobu
04d1998ff8
* signal.c (interrupt_init): nodoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 10:34:35 +00:00
nobu
6b60792135
* signal.c (rb_f_kill): added rdoc about exceptions.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 09:51:04 +00:00
nobu
231fdd86ae
* configure.in (XLDFLAGS): link startup code with ObjC support.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 09:48:45 +00:00
akr
98697d3617
make tempfile prefix more descriptive.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 05:46:38 +00:00
nobu
60f545e2ac
* thread.c (thread_list_access): prototyped.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 05:09:15 +00:00
marcandre
8b0cb325f5
* thread.c (recursive_*): refactored the access to the inspect table used by
...
rb_exec_recursive_*. The functions recursive_push, pop and check now assume
a valid hash table as their first argument. Added documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 04:45:54 +00:00
nobu
b516046d8e
* bignum.c (bigmul1_single): suppress a warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 04:15:06 +00:00
nobu
df3ae4e2b5
* include/ruby/ruby.h (rb_special_const_p): fixed typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 03:10:24 +00:00
nobu
8d0bcdb016
* include/ruby/ruby.h (SYM2ID): needs parens.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 03:07:51 +00:00
nobu
73b86a9be9
* include/ruby/ruby.h (NUM2INT, NUM2LL, INT2NUM, UINT2NUM),
...
(LONG2NUM, ULONG2NUM, NUM2CHR, rb_type_p, rb_special_const_p):
GCC specific optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 03:04:53 +00:00
nobu
35e17cbe21
* test/ruby/test_process.rb (test_rlimit_value): rlim_max may be
...
higher than rlim_cur.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 02:43:52 +00:00
akr
0cde80d36a
* lib/open-uri.rb (OpenURI::Meta#content_type_parse): strip quotes.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 02:29:47 +00:00
nobu
a8998030fb
* lib/prime.rb (EratosthenesGenerator#initialize): call super.
...
(TrialDivisionGenerator, Generator23): ditto. [ruby-core:25539]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 00:38:07 +00:00
nobu
63b231cea0
* vm_method.c (rb_add_method_def): no warning for inherited
...
method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-13 00:34:11 +00:00
suke
831396217a
* ext/win32ole/win32ole.c: fix WIN32OLE_TYPELIB.new when the 1st
...
argument is the non-registered file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-12 23:36:29 +00:00
ko1
6f817b6dd2
* vm_core.h: change members of iseq_inline_cache_entry.
...
make cache value members to one union member "ic_value".
* insns.def: ditto.
* vm_insnhelper.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-12 17:16:27 +00:00
naruse
6bbed0e31b
* test: use require_relative.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-12 17:00:51 +00:00
akr
945b604e3a
extra commas removed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-12 16:33:44 +00:00
akr
0466f33486
test read_timeout.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-12 16:26:05 +00:00
akr
db2be749b4
* lib/open-uri.rb (URI::FTP#buffer_open): fix the %2F handling.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-12 16:18:03 +00:00
nobu
c8f6174008
* test/ruby/test_require.rb (test_relative): test without current
...
directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-12 15:52:03 +00:00
nobu
97c3bad478
* vm_method.c (CALL_METHOD_HOOK): refined with macro.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-12 15:46:42 +00:00
akr
33d5c13775
test invalid redirect location.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-12 15:34:35 +00:00
nobu
a5971a1282
* vm_method.c (remove_method): typo fixed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-12 15:31:43 +00:00
nobu
2fcdd7e080
* vm_method.c (rb_remove_method_id): no definition body is
...
undefined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-12 15:27:59 +00:00
akr
0ab4b21d81
fix tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-12 15:22:44 +00:00
nobu
efa4ed8cce
* vm_method.c (rb_alias): hooks are called from rb_add_method_def.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-12 15:21:03 +00:00
nobu
d7feab06cc
* vm_method.c (rb_add_method, rb_add_method_me): call method added
...
hook after definition. [ruby-core:25536]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-12 15:03:02 +00:00
akr
797749c219
test ftp over http proxy.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-12 14:19:58 +00:00
akr
188e9667dc
* lib/open-uri.rb (URI::FTP#buffer_open): use the port specified in
...
the URI.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-12 13:49:07 +00:00