Граф коммитов

18035 Коммитов

Автор SHA1 Сообщение Дата
usa 4a21a410d6 * win32/Makefile.sub: typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 07:27:58 +00:00
nobu 99b41f3858 * configure.in (CAPITARGET): enable iff doxygen is available.
* configure.in (INSTALLDOC): enable if rdoc or doxygen are enabled.

* common.mk (docs): target to make documents.

* Makefile.in, win32/Makefile.sub (install-{all,nodoc}): trigger
  by $(INSTALLDOC) from install.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 07:20:19 +00:00
marcandre 193a7db4e2 * lib/matrix.rb: fix previous optimization
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 07:17:22 +00:00
marcandre 52c3721af3 * lib/matrix.rb (determinant): Bug fix where determinant failed on some matrices [ruby-core:23597]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 04:39:51 +00:00
marcandre c3db24a4dc * lib/matrix.rb: Fix typos in doc and indent
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 04:39:37 +00:00
marcandre 9d3638448e * lib/matrix.rb: trivial optimizations
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 04:36:37 +00:00
usa af424b17a0 * template/Doxyfile.tmpl: RbConfig::CONFIG['DOT'] is sometimes nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 04:16:19 +00:00
nobu 43be7b67c8 * README.EXT, README.EXT.ja (rb_protect, rb_jump_tag): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 01:14:56 +00:00
nobu e0976d1a6d * common.mk (main): makes also encs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 01:12:58 +00:00
marcandre 1796522f10 * thread.c (rb_exec_recursive_outer, rb_exec_recursive): Added method to short-circuit to the outermost level in case of recursion
* test/ruby/test_thread.rb (test_recursive_outer): Test for above

* hash.c (rb_hash_hash): Return a sensible hash for in case of recursion [ruby-core:24648]

* range.c (rb_range_hash): ditto

* struct.c (rb_struct_hash): ditto

* array.c (rb_array_hash): ditto

* test/ruby/test_array.rb (test_hash2): test for above

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-15 21:30:50 +00:00
marcandre 6a54d4b6fe * vm_eval.c (rb_catch_obj, rb_catch, rb_f_catch): No longer use the obsolete function rb_iterate.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-15 21:18:04 +00:00
svn dad5135d26 * 2009-09-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-15 15:42:42 +00:00
marcandre 1e69e441cd * README.ext: fine tuning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-15 15:42:41 +00:00
akr 2c7d6b50e4 * configure.in (--enable-frame-address): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-15 12:48:54 +00:00
usa 840fd72f33 * win32/{configure.bat,Makefile.sub} (RDOCTARGET): the meaning of this
macro was changed at r24923.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-15 06:30:07 +00:00
nobu 4d3dac97ad * common.mk (install-rdoc), configure.in (RDOCTARGET): removed
circular dependency.  [ruby-dev:39339]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-15 06:16:16 +00:00
usa e455e85f72 * win32/configure.bat: need a space before a tab to output the tab by
echo.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-15 06:11:13 +00:00
naruse a8154060ab Use rb_isspace for ASCII-incompatible strings.
* string.c (rb_str_split_m): use rb_isspace when the string
  may be ASCII-incompatible.
  (rb_str_lstrip_bang): ditto.
  (rb_str_rstrip_bang): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-15 05:27:29 +00:00
nobu c59abe419d * configure.in (RUBY_USE_BUILTIN_FRAME_ADDRESS): check after real
target CPU is set.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-15 03:12:28 +00:00
nobu f9b71b888c * configure.in (RUBY_UNIVERSAL_ARCH): check real target CPU after
AC_PROG_CC.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-15 03:01:28 +00:00
nobu 3c4380ad25 * tool/rbinstall.rb (parse_args): show help message and exit if
rbconfig could not load.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-14 21:43:00 +00:00
nobu 68d8a2a474 * common.mk (install-all): target to install all.
* tool/rbinstall.rb (parse_args): accept all install targets.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-14 21:24:39 +00:00
nobu 6b34fa44aa * configure.in (RDOCTARGET): use install-all. [ruby-dev:39334]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-14 19:25:05 +00:00
svn 4fadea5aa4 * 2009-09-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-14 18:10:04 +00:00
matz 5860ba548e * string.c (rb_str_lstrip_bang): use ascii_isspace(). [ruby-dev:39322]
* string.c (rb_str_rstrip_bang): ditto.

* string.c (rb_str_split_m): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-14 18:10:00 +00:00
nobu 9f5870b23e * svn:ignore, .gitignore: ignore id.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-14 07:57:36 +00:00
nobu 4f041dafbe * debug.c, parse.y: fixed types.
* node.h (nd_line): limit to int.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-14 07:39:16 +00:00
nobu 3ab03a234d * configure.in, common.mk, */configure.bat (rdoc): make before
install if rdoc is enabled.  [ruby-dev:39325]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-14 02:23:47 +00:00
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