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

18035 Коммитов

Автор SHA1 Сообщение Дата
svn 3eb37951b6 * 2009-09-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-21 16:12:49 +00:00
marcandre cf69eeab9c * ossl_config.c (ossl_config_add_value_m, ossl_config_set_section): Check if frozen (or untrusted for $SECURE >= 4) [ruby-core:18377]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-21 16:12:46 +00:00
nobu 2d8a79fa47 * cont.c, proc.c: added rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-21 11:06:32 +00:00
nobu f331b5584e * proc.c (proc_binding): allow proc from method. [ruby-core:25589]
* vm.c (collect_local_variables_in_env): block iseq can be NULL.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-21 08:12:12 +00:00
nobu 3a7c1e25c4 * cont.c (cont_new, cont_capture, fiber_t_alloc): needs already
running thread.  cf. [ruby-core:25681]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-21 01:13:24 +00:00
nobu cd4f59bc5e * ext/bigdecimal/lib/bigdecimal/math.rb (sin, cos, atan, exp, log):
improved precision and performance.  based on a patch from Makoto
  Yamashita in [ruby-core:25600] and [ruby-core:25602].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-20 15:07:38 +00:00
nobu 970ec9c02d * lib/cgi/cookie.rb: fixed indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-20 07:27:41 +00:00
svn 7e41fabc7e * 2009-09-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-20 02:14:05 +00:00
marcandre 0ebfc1348b * struct.c (rb_struct_equal, rb_struct_eql): Handle comparison of recursive structures [ruby-core:24759]
* range.c (range_eq, range_eql):  ditto for ranges

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-20 02:14:02 +00:00
nobu 8892dd7257 * vm_core.h (ENABLE_VM_OBJSPACE): socklist needs st_table in
rb_w32_sysinit(), before object space initialization.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-19 08:46:48 +00:00
nobu a1485dbea0 * dir.c (GlobPathValue), file.c (rb_get_path_check): path names
must be ASCII compatible.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-19 08:33:01 +00:00
nobu bdde51172c * string.c: added rdocs for symbol.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-18 15:42:59 +00:00
nobu ffcd041c7a * string.c: fixed types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-18 15:17:17 +00:00
svn 01826ed8d5 * 2009-09-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-18 15:02:23 +00:00
nobu 21367ae077 * include/ruby/ruby.h (rb_type): forward declaration to suppress a
warning.  a patch from Naohisa Goto at [ruby-dev:39350]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-18 15:02:21 +00:00
nobu 06e52ba57b * dir.c (GlobPathValue): adjust return types. based on a patch
from Naohisa Goto at [ruby-dev:39350].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-18 14:59:29 +00:00
nobu 1aa21e630f * marshal.c (r_object0): entry regexp object before its encoding
name.  [ruby-core:25625]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-18 14:51:18 +00:00
nobu d36c76dc71 * common.mk (eval.o): needs vm.h.
* eval.c (ruby_cleanup): destruct current VM before exit.

* gc.c (rb_objspace_free): free object space.

* vm.c (ruby_vm_destruct): destruct and free VM struct.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-18 07:29:17 +00:00
nobu 8686840960 * compile.c (iseq_compile_each), parse.y (stmt, arg): arg_concat()
on op_asgn was inversed.  [ruby-core:25629] [Bug #2050]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-18 07:15:06 +00:00
nobu 6200f424a7 * dir.c (GlobPathValue): glob allows null bytes as separators.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-18 07:06:29 +00:00
nobu f2b68df43e * test/fileutils/test_fileutils.rb: fixed indent by splitting methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-18 02:20:39 +00:00
nobu d7f76f84d9 * doc/re.rdoc: use rdoc mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-18 01:11:55 +00:00
nobu 96ac194811 * misc/rdoc-mode.el: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-18 01:11:30 +00:00
nobu 2f2d213f7e * lib/rdoc/rdoc.rb (RDoc::RDoc#parse_files): don't branch by
RUBY_VERSION.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-18 00:03:18 +00:00
nobu 0e62186da2 * lib/rdoc/rdoc.rb (RDoc::RDoc#parse_files): don't branch by
RUBY_VERSION.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-18 00:02:51 +00:00
nobu 70f03998c0 * lib/rdoc/rdoc.rb (RDoc::RDoc#parse_files): emacs local variables
are delimited by a semicolon.  supported Vim style.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-18 00:02:35 +00:00
kazu 263abf2963 * test/fileutils/test_fileutils.rb: add a test for [ruby-dev:39345]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-17 22:08:32 +00:00
kazu 44cbd89f7c fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-17 22:08:27 +00:00
nobu 12fc299a84 * dir.c (push_glob): str should be a string always.
* dir.c (rb_push_glob, dir_globs): use #to_path to convert non-
  string values.  cf. [ruby-dev:39345]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-17 21:47:14 +00:00
nobu 80464f8f2a * lib/mkmf.rb (rm_f, rm_rf): FileUtils.rm can take an array.
[ruby-dev:39345]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-17 21:36:53 +00:00
nobu 9312426c1e * lib/mkmf.rb (create_header): open in binmode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-17 21:34:24 +00:00
nobu 0cb17717fe * gc.c (vm_xrealloc): free as like standard free if size is zero.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-17 09:34:20 +00:00
ko1 c8c6fde56f * eval_intern.h: use rb_node_newnode() directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-17 06:44:28 +00:00
ko1 554e9a83e0 * blockinlining.c: removed.
* README.EXT: ditto.
* README.EXT.ja: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-17 06:03:39 +00:00
nobu 76fa0d6615 * thread.c: added rdocs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-17 04:51:33 +00:00
nobu a289f7a4b1 * thread.c (rb_thread_s_debug_set): set level, not only boolean.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-17 04:50:52 +00:00
nobu c922e50804 * lib/rdoc/parser/ruby.rb (RDoc::Parser::Ruby): parse also rdoc
files.

* doc/re.rdoc: renamed from re.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-17 04:12:38 +00:00
nobu 5a45c08ef2 * doc/re.rb (Regexp): not under Doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-17 04:06:18 +00:00
nobu 43a0a6816a * doc/re.rb: property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-17 03:40:44 +00:00
naruse 63c7ca40d8 * doc/re.rb: New document for Ruby's fork of Oniguruma.
written by Run Paint Run Run [ruby-core:25420]

* re.c: import document in doc/re.rb.

* .document: add doc/re.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-17 00:40:49 +00:00
marcandre 6023a79deb * lib/matrix.rb (Matrix#rank): Two bug fixes. One made Matrix[[0,0],[0,0],[1,0]].rank raise a NoMethodError while the other one had Matrix[[0,1],[0,0],[1,0]].rank raise a TypeError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 21:04:07 +00:00
marcandre d09cde1861 * lib/matrix.rb: Optimizations
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 21:02:54 +00:00
svn 56070dbb56 * 2009-09-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 15:36:33 +00:00
akr 87105a7da4 * time.c (time_mdump): error message refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 15:36:30 +00:00
matz 5529a03271 * test/ruby/test_thread.rb (TestThread#test_recursive): remove
implementation dependent test.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 10:33:14 +00:00
usa 89c3fbd1ab * ChangeLog: commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 08:43:07 +00:00
usa 2b222204a3 * win32/Makefile.sub (config.status): install-capi needs docdir. And,
mandir, infodir and ridir are also depend on datadir like docdir.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 08:42:48 +00:00
marcandre 405cfda0d2 * lib/matrix.rb (Matrix#/): Fix obvious bug
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 08:24:15 +00:00
usa e353346e14 * win32/Makefile.sub: sorry, typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 08:06:24 +00:00
usa 8b70b92841 * win32/Makefile.sub (DOCTARGETS): rdoc is default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-16 08:00:07 +00:00