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

2442 Коммитов

Автор SHA1 Сообщение Дата
ko1 79b62da9b4 * thread.c: rename functions which require a parameter
"rb_thread_t *", the prefix to be rb_threadptr_ instead of
  rb_thread_.
* thread.c (rb_thread_add_event_hook(), rb_thread_remove_event_hook):
  change the parameter type from rb_thread_t * to VALUE.
* eval.c, eval_error.c, eval_intern.h, signal.c, vm_core.h, vm_eval.c:
  ditto.
* include/ruby/intern.h: remove decl of rb_thread_signal_raise() and
  rb_thread_signal_exit().



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-08 16:14:06 +00:00
ko1 0cdfbc9446 * thread_pthread.c (rb_thread_create_timer_thread): print fatal error
message to stderr instead of using rb_bug().
* KNOWNBUGS.rb, bootstraptest/test_fork.rb: move a fixed test.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-07 23:59:58 +00:00
svn 2a0342a442 * 2009-06-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-07 10:05:16 +00:00
svn 8376d7cca0 * 2009-06-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-04 22:15:11 +00:00
svn dd9338bc66 * 2009-06-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-03 17:26:42 +00:00
svn 6eaf79f39a * 2009-06-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-02 15:24:30 +00:00
svn 8b362c8a23 * 2009-06-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-02 04:29:36 +00:00
svn cfacda1a9f * 2009-06-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-31 22:46:51 +00:00
nobu d6d8d973c8 * file.c (istrailinggarbage): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-31 14:26:40 +00:00
nobu 82f2e90d07 * enum.c (collect_all): checks interrupts. [ruby-core:23594]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-29 00:30:02 +00:00
svn 72f4e2c709 * 2009-05-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-27 15:56:21 +00:00
naruse 9aaa2da65b * ext/readline/readline.c (readline_getc): the function for
rl_getc_function must be a byte function.
  so use getbyte method. [ruby-dev:38535]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-26 17:39:42 +00:00
nobu 5ac1389aea * string.c (rb_str_each_char, rb_str_each_codepoint): string
length must be long.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-25 18:38:46 +00:00
svn 74c7141705 * 2009-05-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-24 20:34:32 +00:00
svn 803c055043 * 2009-05-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-23 15:59:14 +00:00
svn 5220b19b3e * 2009-05-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-22 15:22:23 +00:00
svn 8d8a31bd7a * 2009-05-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-21 20:08:12 +00:00
nobu 060f433f48 * include/ruby/ruby.h (rb_long2int, RARRAY_LENINT): check long to
cast to int.  [ruby-dev:38508]

* struct.c, vm_eval.c, vm_insnhelper.c: use RARRAY_LENINT.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-20 16:43:41 +00:00
svn 2510c468ff * 2009-05-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-19 15:07:52 +00:00
svn 6009d184ff * 2009-05-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-18 22:53:13 +00:00
svn 5a83cfaef5 * 2009-05-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-18 12:41:15 +00:00
nobu 214e725334 * ruby.c (set_arg0): get rids of overrun.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-16 23:55:46 +00:00
nobu 60a5a54e17 * configure.in (ruby_version): now version.h includes
include/ruby/version.h, so need to tell to cpp to see
  $(srcdir)/include.  [ruby-core:23468]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-16 00:03:31 +00:00
svn ad9959c951 * 2009-05-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-15 02:20:55 +00:00
nobu 1c05712d43 * sample/test.rb (valid_syntax?): defaults to us-ascii.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-14 01:17:49 +00:00
nobu 8265f3125e * include/ruby/version.h: extracted the extensions interface and
the never-changable info.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-13 06:23:20 +00:00
svn 41167eaf20 * 2009-05-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-12 18:00:29 +00:00
svn fab2a85c45 * 2009-05-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-12 09:24:18 +00:00
svn 81cf906bbd * 2009-05-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-10 23:56:29 +00:00
svn 3fd6cac52c * 2009-05-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-10 01:40:10 +00:00
nobu 8864383839 * vm_eval.c (rb_f_catch): gets rid of issue with gcc 4.4. a patch
from Alexey Froloff in [ruby-core:23398].  [ruby-core:22924]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-09 02:14:52 +00:00
svn f6ac12f7be * 2009-05-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-07 17:32:55 +00:00
nobu defd374aae * io.c (pipe_open): should be rb_pid_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-07 04:10:27 +00:00
nobu e6c0a7836c * configure.in (CFLAGS, CXXFLAGS): strips extra spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-05 20:34:05 +00:00
svn 1735892962 * 2009-05-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-05 00:05:18 +00:00
nobu 1f6f4e6b59 * array.c: fixed types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-02 00:13:45 +00:00
svn 02ecc990a2 * 2009-05-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-30 16:34:06 +00:00
naruse f7bfe5f2df * encoding.c (rb_filesystem_encoding): Change filesystem_encoding of
Mac OS X to UTF-8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-30 02:38:47 +00:00
nobu fea2ebff1a * file.c (rb_file_join): recursive array has no meaning as path
name.  [ruby-core:23329]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-29 06:22:29 +00:00
nobu 46f23b51f6 * lib/pp.rb (Struct#pretty_print): coerce to a string since
anonymous class has name no longer.  [ruby-dev:38349]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-27 22:13:50 +00:00
svn c362380d9f * 2009-04-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 15:47:27 +00:00
svn cde360334d * 2009-04-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-26 00:45:20 +00:00
svn df4cd06d49 * 2009-04-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25 06:04:44 +00:00
svn 6b7cda3fd5 * 2009-04-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-23 17:48:02 +00:00
svn 1ce1b7e8df * 2009-04-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-22 16:31:13 +00:00
svn 7618e3b5ad * 2009-04-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-21 15:11:51 +00:00
svn 7a2a815037 * 2009-04-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-20 15:04:25 +00:00
svn df8ff329bb * 2009-04-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-18 16:04:42 +00:00
svn 1196098343 * 2009-04-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-18 09:06:39 +00:00
svn 5e1cb6cbc6 * 2009-04-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-16 15:48:31 +00:00