naruse
53e667a9eb
Remove duplicated definition.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-09 19:11:06 +00:00
tadf
aef7007477
* internal.h: rb_rational_reciprocal is defined in rational.c.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-09 11:06:43 +00:00
tadf
bc11aa72d3
* internal.h: added declarations.
...
* complex.c: followed the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-09 10:50:51 +00:00
tadf
88b6d5050b
* NEWS: bigdecimal is not a builtin.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-09 08:25:35 +00:00
tadf
057e0a373c
* ext/date/date_core.c: some improvements for performance.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-09 08:18:57 +00:00
nobu
2a8a9d1def
* atomic.h (ATOMIC_OR): _InterlockedOr is unavailable in VC6.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-09 07:56:04 +00:00
nobu
03c618daf0
* numeric.c (ULLONG_MAX): fallback definition.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-09 07:54:38 +00:00
nobu
63ab190151
* win32/win32.c (rb_w32_{read,write}): should be signed.
...
Bug #5001
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-09 06:59:23 +00:00
xibbar
7fd78fad3e
* lib/cgi/core.rb: fix multipart form parsing bug. [Bug #3866 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-09 05:32:19 +00:00
kosaki
57da3d94aa
comment clarification. Only Leopard or earlier has ENOTSUPP
...
issue if my kernel code reading is correct.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-09 04:18:09 +00:00
marcandre
1e696acc7e
* lib/matrix.rb: Add Vector#normalize [ruby-dev:43829]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-09 02:41:14 +00:00
drbrain
d137810d3a
* enumerator.c: Remove "enumeration sequenced by".
...
[Ruby 1.9 - Bug #4757 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-09 00:25:27 +00:00
drbrain
0c3833ec5a
* io.c: Note that methods other than IO#gets may increase IO#lineno.
...
[Ruby 1.9 - Bug #4902 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-09 00:21:44 +00:00
nobu
dd2dfc71e7
* common.mk (RUN_OPT): disable gems.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 23:39:42 +00:00
svn
01d18fe016
* 2011-07-09
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 23:37:12 +00:00
nobu
dc3697f62f
* io.c (rb_io_close): close(2) on a fd which is being read by
...
another thread causes deadlock on Mac OS X 10.5
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 23:37:08 +00:00
naruse
e33183acca
* addr2line.c: use USE_ELF instead of __ELF__ because Solaris
...
doesn't define it. USE_ELF is already provided by configure.
patched by Naohisa Goto. [ruby-dev:44066] [Bug #4998 ]
* addr2line.h: ditto.
* vm_dump.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 12:23:10 +00:00
nobu
29e497d231
* ext/json/{generator/generator.c,parser/parser.rl}: fix indent.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 09:00:54 +00:00
nobu
bc1fd9458d
* ext/json/parser/parser.rl (JSON_parse_object): add missing parens.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 09:00:51 +00:00
nobu
4902ef7d59
* ext/json/parser/parser.rl (convert_encoding): should not modify
...
the argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 07:40:41 +00:00
nobu
b16fd08622
* ext/json/parser/parser.rl (convert_encoding): no needs to use
...
force_encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 07:39:09 +00:00
nobu
b0f8bda2da
* common.mk: add dependencies for EXT_SRCS.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 07:39:07 +00:00
nobu
c23dea553e
* ext/json/parser/prereq.mk: remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 07:01:16 +00:00
nobu
837e73ab6d
* thread.c (cmp_tv, subtract_tv): no longer used on Win32.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 07:01:12 +00:00
nobu
9878d2199c
* error.c (rb_bug): get rid of segfault after all threads
...
disposed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 06:53:33 +00:00
usa
8de18f9cda
* ext/openssl/ossl.h: include openssl/e_os2.h before checking the
...
defition of OPENSSL_SYS_WIN32.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 06:03:17 +00:00
usa
fc22563658
* win32/win32.c (wunlink): reverted a part of r32426. it was mistakenly
...
mixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 05:41:52 +00:00
nari
c3e0526269
* configure.in: can't subtract void *.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 05:39:50 +00:00
usa
b4582e79d7
* win32/Makefile.sub (config.h): define GC_MARK_STACKFRAME_WORD.
...
fixed build problem of r32438. the value (30) is temporary value.
maybe it's enough by 20~24 according to my observation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 05:36:57 +00:00
kosaki
8739bb305d
add test for [ruby-dev:44049].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 04:57:27 +00:00
kosaki
554a33d838
* thread.c (rb_mutex_unlock_all): folded into
...
rb_threadptr_unlock_all_locking_mutexes.
* thread.c (rb_threadptr_unlock_all_locking_mutexes) ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 04:50:25 +00:00
kosaki
8741274529
* thread.c (thread_unlock_all_locking_mutexes): rename to
...
rb_threadptr_unlock_all_locking_mutexes and remove static.
* vm_core.h: add rb_threadptr_unlock_all_locking_mutexes declaration.
* thread.c (thread_start_func_2): adjust the above rename.
* eval.c (ruby_cleanup): call rb_threadptr_unlock_all_locking_mutexes
again after finalizer. [Bug #4988 ] [ruby-dev:44049]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 04:40:01 +00:00
kosaki
4ad2d02a49
* cont.c (FIBER_MACHINE_STACK_ALLOCATION_SIZE): Fiber stack size
...
don't need to keep multiple number of sizeof(VALUE).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 04:09:00 +00:00
nobu
b43b6cf71f
* common.mk (sudo-precheck): true command is not standard on
...
Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 02:39:15 +00:00
nobu
4837d6d5b5
* ext/-test-/string/enc_associate.c: needs ruby/encoding.h for
...
rb_to_encoding(). fixed #4993 .
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 02:08:29 +00:00
kosaki
affa47ae4d
* thread_pthread.c (gvl_destroy): fix cond_t leak.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 01:40:54 +00:00
drbrain
50b64ee7de
* gc.c: Improve documentation
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-08 00:18:39 +00:00
svn
ba64040e9a
* 2011-07-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-07 15:23:47 +00:00
kazu
f90739e22b
fix typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-07 15:23:39 +00:00
nari
17bb77fd77
* gc.c: change water_mark value value that may call
...
gc_mark(lev <= GC_LEVEL_MAX) in gc_mark().
In ruby_stack_check(), water_mark is a value that may call some
C function. Fixes Bug #3781
* configure.in: define GC_MARK_STACKFRAME_WORD that approximate
size of gc_mark() and gc_mark_children() stackframes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-07 14:59:09 +00:00
kosaki
68a0d412dd
add a comment why FreeBSD can't use MAP_STACK.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-07 09:09:44 +00:00
usa
1a1c95404f
* test/testunit/test_parallel.rb (TestParallelWorker#teardown): wait
...
the child process even if the communition pipe is broken.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-07 08:56:12 +00:00
nobu
cfa0035962
* encoding.c (rb_enc_set_index, rb_enc_associate_index): should
...
check if frozen.
* parse.y (rb_intern3), ruby.c (process_options, ruby_script):
defer freezing after associating encodings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-07 06:44:46 +00:00
nobu
f4ca906d5c
* ext/-test-/string/modify.c: split from init.c.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-07 06:40:33 +00:00
naruse
136c117fc1
* numeric.c (rb_num2ull): use own switch sentense.
...
Current implementation can't convert 18446744073709551615.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-07 06:23:40 +00:00
naruse
a259db72b7
* cont.c (FIBER_STACK_FLAGS): workaround fix for r32420 on FreeBSD.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-06 21:57:16 +00:00
drbrain
1744815935
Hide bmlog files from subversion
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-06 21:50:58 +00:00
drbrain
789b288d10
* benchmark/driver.rb: Add difference column to report that averages
...
across all runs of a benchmark. [Ruby 1.9 - Feature #4982 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-06 21:47:56 +00:00
drbrain
0e7da28c98
* lib/rubygems.rb: Reduce requires to improve `make benchmark`.
...
[#4962 ]
* lib/rubygems/specification.rb: Delay initialization of rubygems
until require is called.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-06 21:19:59 +00:00
nobu
c1d84bfcdb
* parse.y (arg): rescue_mod is in inverse order from other
...
modifiers. patched by michael.j.edgar AT dartmouth.edu at
[ruby-core:36248]. fixed #4716 .
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-07-06 19:31:33 +00:00