matz
9d2ecf3d90
* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#read_request_line):
...
use possessive match for path retrieval to avoid huge recursion
for insanely long path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18 06:58:55 +00:00
matz
4ccfa1e9f8
* re.c (rb_reg_desc): re might be NULL.
...
* regerror.c (onig_error_code_to_format): message updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18 06:51:19 +00:00
nobu
ad5ff1c237
* lib/optparse.rb (OptionParser::make_switch): makes default
...
conversion to splat. [ruby-list:45645]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-18 00:42:18 +00:00
nobu
8e6ad88737
* enc/depend (LIBS): fixed for disable-shared. [ruby-dev:37103]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-17 09:05:19 +00:00
seki
56228b4da6
remove -K option.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-17 02:14:24 +00:00
nobu
5c759e6b1c
* configure.in (LIBRUBYARG_STATIC): fixed for --enable-rpath.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-16 17:19:05 +00:00
nobu
316b78a56d
* re.c (rb_reg_regsub): returns -1 unless ascii as well as
...
rb_enc_ascget(). [ruby-dev:37097]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-15 13:46:52 +00:00
nobu
1bd83c1fe0
* configure.in (LDSHARED): do not suppress debug info if higher debug
...
level is given, on cygwin and mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-15 13:24:06 +00:00
svn
1bd032b7a3
* 2008-11-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-14 11:31:20 +00:00
mame
e1a2fec2bb
* README.EXT, README.EXT.ja, vm_exec.c, vm_insnhelper.c: update
...
filenames.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-14 11:31:10 +00:00
nobu
5136031055
* thread.c (rb_barrier_wait): gets rid of recursive deadlock.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-13 02:31:16 +00:00
nobu
31f16d7729
* thread.c (rb_barrier_{new,wait,release,destroy}): use Mutex so that
...
circular requires fail with deadlock. [ruby-core:19821]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-12 21:08:47 +00:00
davidflanagan
2228f91851
ruby.c (set_internal_encoding_once): fix typo in error string
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 22:18:21 +00:00
nobu
cc7ff9d2f9
* include/ruby/intern.h (rb_{external,locale}_str_new_cstr): optimized
...
versions for literal strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 18:31:06 +00:00
nobu
99cd3c512b
* load.c (rb_require_safe): destroys barrier after successfully
...
loaded, to get rid of loading same library again. [ruby-core:19798]
* thread.c (rb_barrier_wait): can not wait destroyed barrier.
* thread.c (rb_barrier_destroy): destroys barrier so that no longer
waited.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 18:28:47 +00:00
matz
8bc28d82b4
* lib/uri/generic.rb (URI::Generic#check_path): REL_PATH should a
...
symbol. [ruby-core:19805]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 17:39:52 +00:00
svn
b91220fbd5
* 2008-11-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 15:09:24 +00:00
yugui
f2077294f1
* lib/rubygems/timer.rb: removed svn:executable.
...
* lib/rubygems/validator.rb: ditto
* test/cgi/test_cgi_modruby.rb: ditto
* test/cgi/test_cgi_multipart.rb: ditto
* test/cgi/test_cgi_session.rb: ditto: ditto
* test/cgi/testdata/file1.html: ditto
* test/cgi/testdata/small.png: ditto
* test/cgi/testdata/large.png: ditto
* test/cgi/test_cgi_core.rb: ditto
* test/cgi/test_cgi_header.rb: ditto
* test/cgi/test_cgi_cookie.rb: ditto
* test/cgi/test_cgi_tag_helper.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 15:09:21 +00:00
yugui
43463a5cb6
* man/ruby.1 (RUBYOPT): wrote which option can appear.
...
(--yydebug): wrote "do not use".
(--dump): wrote "do not use".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 14:14:29 +00:00
kazu
e087f9ed6a
* configure.in: fix SEGV on Mac OS X 10.5.3 with pthread.
...
a patch from Wataru Kimura in Bug #193 [ruby-core:17333].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 11:50:57 +00:00
tadf
b0e3af4922
* lib/date.rb (inspect): reverted the previous change.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 11:42:46 +00:00
matz
e644398bc6
* ext/bigdecimal/bigdecimal.c (BigDecimal_to_r): moved from
...
bigdecimal/util, converted into C. [ruby-dev:36805]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 10:45:21 +00:00
usa
d544a3d6c7
* win32/win32.c (rb_w32_accept): secure fd before accept because if
...
error causes in securing, cannot restore the state of accepted
socket.
fixed [ruby-core:19728]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 08:54:07 +00:00
duerst
0d93d8125e
* test/ruby/test_transcode.rb: unnecessary setup method
...
(setup_really_needed?) removed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 05:42:49 +00:00
duerst
831e804388
* enc/trans/single_byte.trans, macgreek-tbl.rb, macroman-tbl.rb,
...
macromania-tbl.rb, macturkish-tbl.rb, macukraine-tbl.rb,
ibm437-tbl.rb, ibm852-tbl.rb, ibm855-tbl.rb, ibm857-tbl.rb,
ibm860-tbl.rb, ibm861-tbl.rb, ibm862-tbl.rb, ibm863-tbl.rb,
ibm865-tbl.rb, ibm866-tbl.rb, ibm869-tbl.rb, ibm775-tbl.rb:
new single-byte transcodings (from Yoshihiro Kambayashi)
* test/ruby/test_transcode.rb: added tests for the above
(from Yoshihiro Kambayashi)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-11 05:26:20 +00:00
tadf
524c766d19
trivial changes.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-10 22:59:47 +00:00
svn
a3b9e005fd
* 2008-11-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-10 22:57:05 +00:00
tadf
e8c67503ea
* lib/date.rb (inspect): changed the format.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-10 22:57:01 +00:00
knu
fd93c80482
* test/sdbm/test_sdbm.rb (TestSDBM#test_index): Reflect the method
...
name change from #index to #key and remove a duplicated test
method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-10 08:38:20 +00:00
matz
504abcc00f
* lib/delegate.rb (Delegator.delegating_block): should not refer
...
DelegateClass specific @delegate_dc_obj. a patch from Erik
Hollensbe in [ruby-core:19671].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-10 01:52:46 +00:00
usa
703c1825eb
* win32/win32.c (ifs_open_socket): should retry without proto_buffer
...
if cannot find the suitable protocol. a patch from Heesob Park.
fixed [ruby-core:19713]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-10 00:57:49 +00:00
svn
b916aa3ff8
* 2008-11-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-10 00:51:19 +00:00
matz
d87e2d811a
* struct.c (rb_struct_initialize_m): avoid unnecessary array
...
allocation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-10 00:51:14 +00:00
nobu
017769b199
* test/cgi/test_cgi_session.rb: properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 21:06:53 +00:00
nobu
7991c5e66e
* vm_dump.c (control_frame_dump): suppresses finished method name.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 19:10:36 +00:00
xibbar
9b139fe589
fix test for 1.8
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 15:38:48 +00:00
nobu
641f43de97
* thread_pthread.c (thread_timer): checks working flags again.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 15:31:05 +00:00
svn
b2390fb1cc
* 2008-11-09
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 15:03:46 +00:00
xibbar
f22aabbaee
* lib/cgi/session/pstore.rb: fix indentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 15:03:42 +00:00
xibbar
4b9e885000
fix debug code
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 14:56:38 +00:00
xibbar
26862c00e9
* lib/cgi/session.rb (FileStore): use marshalized data.
...
* test/cgi/session_dir: add a session directory in test.
* test/cgi/test_cgi_session.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 14:52:59 +00:00
xibbar
274c3b94bf
* lib/cgi/session.rb: remove debug code.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 12:57:50 +00:00
xibbar
b4890b598b
* lib/cgi/session.rb: fix indentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 12:36:50 +00:00
yugui
16285e768e
merges r20050 from ruby_1_9_1 into trunk.
...
* array.c (rb_ary_sort_bang): refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 11:09:20 +00:00
matz
877ac7236a
* lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#do_CONNECT):
...
use #bytesize instead of #size. a patch submitted from
raspberry lemon in [ruby-core:18571].
* lib/webrick/httpauth/digestauth.rb, lib/webrick/httpproxy.rb,
lib/webrick/httprequest.rb, lib/webrick/httpservlet/cgi_runner.rb,
lib/webrick/httpservlet/abstract.rb, lib/webrick/httpresponse.rb,
lib/webrick/httpservlet/cgihandler.rb, lib/webrick/utils.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 09:41:24 +00:00
matz
75fcee4a23
* ext/stringio/stringio.c (strio_ungetc): ungetc position should
...
not be changed from 1.8. [ruby-core:19632]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 08:32:55 +00:00
matz
6a638cc196
* lib/optparse.rb (OptionParser#make_switch): 1.9 Symbols respond
...
to :match. a patch from keith cascio, <keith at ucla.edu>.
[ruby-core:19730]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 08:17:20 +00:00
matz
703fb3d9be
* ext/gdbm/gdbm.c (fgdbm_index): make #index warn like Hash.
...
[ruby-dev:37039]
* ext/sdbm/init.c (Init_sdbm): typo fixed. [ruby-dev:37039]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-08 03:15:28 +00:00
matz
0042ccef2c
* configure.in: detect stdio buffer pointers for uClibc. a patch
...
from Brian Candler <B.Candler at pobox.com> in [ruby-core:12020].
[ruby-core:19713]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-07 22:10:58 +00:00
matz
c82769f227
* ext/dbm/dbm.c (fdbm_index): make #index warn like Hash.
...
* ext/dbm/dbm.c (fdbm_key): new method.
* ext/sdbm/init.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-07 22:07:05 +00:00