akr
03226ec1a6
* common.mk (capi): use -b option for doxygen. It disables stdout
...
buffering and prevents wrong reordering between stdout and stderr
even when the output of "make" is redirected.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-16 08:46:53 +00:00
shyouhei
29b30b66f3
merge revision(s) 28997:
...
* lib/webrick/httpresponse.rb (WEBrick::HTTPResponse#set_error):
Fix for possible cross-site scripting (CVE-2010-0541).
Found by Apple, reported by Hideki Yamane.
Patch by Hirokazu Nishio <nishio.hirokazu AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-16 03:41:12 +00:00
nobu
966532cc40
* Makefile.in, win32/Makefile.sub (test-rubyspec-precheck): split
...
from test-rubyspec.
* common.mk (test-rubyspec): moved from Makefile.in.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-16 03:29:08 +00:00
svn
7a80e95edd
* 2010-08-16
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-16 01:02:26 +00:00
usa
8eb121d812
* ext/bigdecimal/bigdecimal.h (llabs): never never never never never
...
use "long long".
* ext/bigdecimal.bigdecimal.c (BigDecimal_to_i): get rid of a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-16 01:02:23 +00:00
mrkn
56d3b926ce
* ext/bigdecimal/bigdecimal.c (BigDecimal_dump, BigDecimal_inspect, VPrint, VpToString, VpVarCheck): use PRIuSIZE, PRIdSIZE, PRIdVALUE, and PRIxVALUE.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-15 09:20:44 +00:00
usa
5dde183d0a
* lib/mkmf.rb (Logging.postpone): close @log only when it's available.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-15 07:22:57 +00:00
mrkn
1148f6a327
* ext/bigdecimal/bigdecimal.h (VpVtoD): fix a type of e.
...
* ext/bigdecimal/bigdecimal.c (BigDecimal_dump, BigDecimal_inspect): fix format for size_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-15 04:32:40 +00:00
akr
b167f42ca3
fix typos.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-15 02:37:51 +00:00
mrkn
d86da0fcf1
* ext/bigdecimal/extconf.rb, ext/bigdecimal/bigdecimal.h (labs, llabs): support environments missing labs and llabs.
...
* ext/bigdecimal/bigdecimal.h (vabs): added.
* ext/bigdecimal/extconf.rb, ext/bigdecimal/bigdecimal.h, ext/bigdecimal/bigdecimal.c, test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_new): replace U_LONG, S_LONG, S_INT, and U_INT with appropreate standard or ruby-provided types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-14 15:22:43 +00:00
svn
01e3f613d7
* 2010-08-15
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-14 15:16:22 +00:00
akr
5c55715c08
* ext/pathname/pathname.c (path_utime): Pathname#utime translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-14 15:16:19 +00:00
nobu
f214490d90
* thread.c (rb_gc_mark_threads): deprecated.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-14 12:04:31 +00:00
nobu
78b10588bf
* test/coverage/test_coverage.rb: added.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-14 11:59:35 +00:00
nobu
9f41782ec8
* ext/{coverage,objspace}/extconf.rb ($INCFLAGS): explicitly add
...
topdir and top_srcdir. [ruby-dev:42031]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-14 10:12:13 +00:00
nari
e573186407
* test/objspace/test_objspace.rb: added test for objspace.
...
* ext/objspace/objspace.c: considers T_ZOMBIE by lazy sweep GC.
* gc.c: considers that dsize was 0. [ruby-dev:42022]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-14 09:01:12 +00:00
nobu
dccf9e0c45
* configure.in, include/ruby/defines.h (RUBY_FUNC_EXPORTED): macro
...
to declare exported function.
* array.c (rb_ary_memsize), string.c (rb_str_memsize),
variable.c (rb_objspace_data_type_memsize): used in
objspace. [ruby-dev:42022]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-14 06:33:06 +00:00
nobu
a23b1f7450
* io.c (rb_io_memsize): constified.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-14 06:19:57 +00:00
nobu
a979eb4548
* regcomp.c (onig_memsize): constified.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-14 06:17:38 +00:00
nobu
23b1a3d3fa
* gc.h (rb_objspace_each_objects): used in objspace.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-14 06:11:03 +00:00
nobu
a33fdc4ec0
* vm_core.h (rb_{get,set,reset}_coverages): used in coverage.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-14 05:58:19 +00:00
nobu
92cb7d0ad4
* include/ruby/intern.h (rb_time_interval): used in io/wait.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-14 04:23:31 +00:00
svn
6fe403b0d7
* 2010-08-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-14 04:21:04 +00:00
nobu
3bf1afbdd8
* include/ruby/intern.h (rb_make_backtrace, rb_make_exception):
...
used in ripper.
* node.h (rb_parser_{malloc,realloc,calloc,free}): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-14 04:20:59 +00:00
akr
87da8f0a29
* ext/pathname/pathname.c (path_truncate): Pathname#truncate translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-13 13:49:24 +00:00
nobu
d7d361a316
* lib/test/unit.rb (MiniTest::Unit.new): extend before initialize.
...
[ruby-dev:41970]
* lib/test/unit.rb (MiniTest::Unit.autorun): use Test::Unit::Mini.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-13 07:12:18 +00:00
akr
05d9fabda1
* ext/pathname/pathname.c (path_make_symlink): Pathname#make_symlink
...
translated from pathname.rb.
-- この行以は下無視されます --
M ChangeLog
M ext/pathname/lib/pathname.rb
M ext/pathname/pathname.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-12 14:39:46 +00:00
akr
98f53d5db2
* ext/pathname/pathname.c (path_lstat): Pathname#lstat translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-12 12:18:44 +00:00
nobu
2b1f8574c7
* include/ruby/encoding.h (rb_char_to_option_kcode): used in
...
ripper.
* node.h (rb_reserved_word): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-11 20:58:11 +00:00
nobu
73f5b841d4
* ChangeLog: adjust indentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-11 20:56:23 +00:00
nobu
a21ebb4d50
* test/test_cmath.rb: property.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-11 20:47:17 +00:00
akr
9229d998b5
wait a process.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-11 17:16:20 +00:00
svn
8caba237da
* 2010-08-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-11 15:21:12 +00:00
akr
3583c42c71
* test/ruby/test_rubyoptions.rb (test_script_from_stdin): disable
...
echo. [ruby-dev:41966]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-11 15:21:09 +00:00
mrkn
9b0b9ac237
* lib/cmath.rb (CMath.sqrt): use floating-point value. [ruby-core:31672] [Bug #3678 ]
...
* test/test_cmath.rb: added for testing lib/cmath.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-11 14:30:47 +00:00
kazu
c89bdea7c9
* NEWS: merge from branches/ruby_1_9_2, and move io/console.
...
[ruby-dev:41924]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-11 12:00:42 +00:00
shyouhei
988b2ae95e
reverted revision r28961; which breaks test-all
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-11 07:04:46 +00:00
nobu
676d0641d8
* node.h (rb_parser_{get,set}_yydebug): used in ripper.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-11 03:18:03 +00:00
mrkn
f2c65c0a33
* ext/bigdecimal/bigdecimal.c: don't use // comment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-11 02:02:16 +00:00
svn
6d6a31f135
* 2010-08-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-10 21:19:09 +00:00
akr
e5215bfdc5
* ext/pathname/pathname.c (path_stat): Pathname#stat translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-10 21:19:01 +00:00
tadf
bbb5a6d6f7
* complex.c (nucomp_to_[ifr]): don't allow complex with in-exact
...
imaginary zero to be converted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-10 12:20:49 +00:00
akr
e6f6033b16
* lib/optparse.rb: suppress a warning.
...
* test/test_mutex_m.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-10 12:02:52 +00:00
tadf
2f8ddcd8cd
* lib/date/format.rb (Date::Format::Bag): use Struct.
...
as an experimental.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-10 11:58:21 +00:00
akr
45bfb5318f
* ext/pathname/pathname.c (path_rename): Pathname#rename translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-10 11:45:57 +00:00
usa
f89a50b62c
* ext/dl/win32/lib/win32/resolv.rb (get_info): get rid of a warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-10 11:17:00 +00:00
tadf
f635d1b041
[ruby-core:31658]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-10 10:59:17 +00:00
usa
d4c63f862b
* README.EXT.ja: rb_tainted_str_new_cstr() is an alias of
...
rb_tainted_str_new2().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-10 08:25:23 +00:00
mrkn
7694956ef7
* ext/bigdecimal/bigdecimal.c, ext/bigdecimal/bigdecimal.h, ext/bigdecimal/extconf.rb: BASE and BASE_FIG are defined based on the size of BDIGIT and renamed.
...
* ext/bigdecimal/bigdecimal.c, ext/bigdecimal/bigdecimal.h: use BDIGIT for Real#frac.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-10 06:25:27 +00:00
mrkn
678af70ce8
* ext/bigdecimal/bigdecimal.h, ext/bigdecimal/bigdecimal.c: add extern declaration of rb_cBigDecimal.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-10 06:25:23 +00:00