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

9388 Коммитов

Автор SHA1 Сообщение Дата
akr 4ba1c80b9a * lib/securerandom.rb: documente updated.
suggested by NaHi.  [ruby-dev:30966]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-14 05:40:16 +00:00
matz 68c6bb997d * gc.c (garbage_collect): update IA64 register stack code.
[ruby-dev:30971]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-13 13:42:02 +00:00
matz 89c2418467 * parse.y (call_args): no allow splat after assocs. takes
consistency over compatibility.

* parse.y (call_args2): ditto

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-13 13:25:39 +00:00
nobu 0e62875433 * configure.in (darwin): prohibit loading extension libraries to
miniruby.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-12 21:04:07 +00:00
shyouhei 1cc502b9f4 resurrection of improperly deleted ChangeLog entry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-12 07:55:25 +00:00
nobu 13349fd176 * lib/mkmf.rb (Logging.quiet, Logging.message): added quiet flag and
use it.  [ruby-core:10909]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-12 05:52:19 +00:00
nobu 8cc8c9f9a1 * lib/mkmf.rb (find_header): use header names in the message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-12 05:43:06 +00:00
usa 3cf184ce6f * 2007-06-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-12 04:09:12 +00:00
ryan 8964a01bae Fixed [UG]ID::eid=. Fixes bug # 10370
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-12 02:32:28 +00:00
ryan 73d64b9811 Fixed typo in code. Fixes bug #10420
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-12 00:38:57 +00:00
akr 54a816cfdf fix wrong date.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-11 13:02:30 +00:00
nobu 0c57bf4b61 * ext/probeprofiler/probeprofiler.c: clean warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-10 09:35:42 +00:00
nobu 2cb9ebd55d * missing/isinf.c, missing/dup2.c, missing/strtod.c, missing/x68.c,
missing/alloca.c: use "ruby/config.h".


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-10 09:30:55 +00:00
nobu 79a74f5ec1 * instruby.rb (install_recursive): should check parent directoris of
the destination.  [ruby-dev:30947]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-10 08:47:49 +00:00
nobu 30dbd2a6ba * parse.y (do_block, brace_block): fix line numbers. [ruby-dev:30831]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-10 07:58:09 +00:00
nobu 5dc9bf105a * instruby.rb (ext-comm): make header directory first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-10 07:55:49 +00:00
nobu 4d2421d58b * instruby.rb (install_recursive): add :glob option rather than
using FNM_DOTMACH.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-10 07:34:51 +00:00
usa 8e8a3a07b1 * test/ruby/test_beginendblock.rb: typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-10 07:10:56 +00:00
nobu cfb6b44bde * instruby.rb (install_recursive): skip .svn directories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-10 07:05:39 +00:00
nobu 8782d3d977 * win32/Makefile.sub (config.status): rubyhdrdir was missing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-10 06:43:12 +00:00
akr cd67b62289 * Makefile.in: use --output-file for gperf to not leave lex.c.tmp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-10 06:26:24 +00:00
nobu 6b95829d71 * ext/extmk.rb: prepend also topdir to mflags at last.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-10 06:09:40 +00:00
nobu c389b3bb63 * Makefile.in, win32/Makefile.sub (XCFLAGS): -I. is needed for *.inc.
* ext/extmk.rb (parse_args): add also topdir to mflags.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-10 05:47:12 +00:00
nobu 7d8743d5c5 * test/ruby/test_beginendblock.rb (test_should_propagate_signaled):
get rid of invoking shell.  [ruby-dev:30942]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-10 04:46:17 +00:00
nobu d4d7164a9b * instruby.rb (install_recursive): skip backup files.
* instruby.rb (ext-comm): install only current platform headers.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-10 03:55:15 +00:00
nobu 2b592580bf * include/ruby: moved public headers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-10 03:06:15 +00:00
akr 1b8a677b23 add document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-10 02:47:41 +00:00
akr 52ec7cc543 * lib/securerandom.rb: renamed from lib/secrand.rb.
suggested by NaHi.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-10 01:42:51 +00:00
akr e3dbf4cebd add ML ref. for lex.c change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-09 15:01:27 +00:00
akr 7d061438f1 * lib/secrand.rb: rename SecRand() to SecRand.random_number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-08 21:40:05 +00:00
akr 3a868301ea * ext/zlib/zlib.c (gzfile_s_open): use FilePathValue to support
to_path.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-08 07:33:59 +00:00
ko1 3a6860058e * eval_jump.h: th->errinfo should clear with nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-08 07:10:50 +00:00
akr bfe9063990 documented.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-08 06:12:49 +00:00
matz 4d43632852 * parse.y (call_args): allow splat argument after unpacked
assocs like 1.8 does.

* parse.y (call_args): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-08 05:58:06 +00:00
akr b1cd416c1a * lib/cgi/session.rb: use secrand for generating cookies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-08 05:39:13 +00:00
akr 94fdd87fdd * lib/secrand.rb: new file for secure random interface.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-08 05:26:20 +00:00
usa 250a29cc6b * {win32,wince}/Makefile.sub: add lex.c rule.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-08 03:49:07 +00:00
akr 1a8d5ed8cb follow previous lex.c change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-08 03:47:16 +00:00
akr c571d4702e * lex.c.blt: moved from lex.c.
* Makefile.in: use lex.c.blt if gperf is not available.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-08 02:56:12 +00:00
ko1 72734ac154 * thread.c (rb_thread_execute_interrupts): invoke ensure when
main thread exits.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-07 12:41:30 +00:00
akr 6f9ded1fb0 * lib/pp.rb: call original "method" method instead of redefined one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-07 10:02:58 +00:00
ko1 d7d85f9ecd * iseq.c (prepare_iseq_build): freeze filename and name string.
* variable.c: freeze class name string.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-07 08:21:01 +00:00
ko1 8620de6b04 * cont.c (cont_restore_1): fix to check root fiber [ruby-dev:30911].
* test/ruby/test_fiber.rb: add a test.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-07 03:48:13 +00:00
naruse b60d64b001 * lib/json/common.rb: Ponder offering parse\! method.
* lib/json/editor.rb: be a bit more robust while loading data.
* ext/json/ext/{generator,parser}/extconf.rb:
  add a have_header directive for st.h
* test/json: fix some tests.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-06 22:38:42 +00:00
ko1 6d2dee14f3 * test_fiber.rb: add a test (Continuation and Fiber).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-06 18:30:14 +00:00
ko1 d80e7373cf * cont.c (cont_new): add debug message.
* cont.c (cont_restore_1): copy stack information from fiber.
* cont.c (rb_fiber_s_new): fix to mark created fiber.
* test/ruby/test_fiber.rb: add some tests around Thread and Fiber.
* yarvcore.c (thread_free): fix to skip freeing stack if root fiber
  is available.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-06 18:19:42 +00:00
ko1 ed88975237 * eval_intern.h, eval.c (ruby_init): remove POP_TAG_INIT().
* cont.c (rb_fiber_start): remove zero-clearing tag.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-06 16:04:02 +00:00
ko1 6c5a50ff33 * insns.def (invokeblock): fix of splat argument.
(splat same as normal method dispatch)



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-06 11:24:42 +00:00
usa 7e5b2304c5 * insns.def: fixed indentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-06 07:26:27 +00:00
nobu ea05b809b5 * lib/json/pure: set properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-06 05:30:25 +00:00