akr
d98a362c1a
* lib/open-uri.rb (URI::Generic#find_proxy): use ENV.to_hash to access
...
http_proxy environment variable to avoid case insensitive
environment search.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-13 07:59:40 +00:00
nobu
b53224b493
* lib/mkmf.rb (link_command, cc_command, cpp_command): do not expand
...
::CONFIG which is an alias of MAKEFILE_CONFIG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-13 01:10:48 +00:00
naruse
322003ef8f
* lib/json.rb, lib/json/, ext/json/:
...
import JSON 1.1.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-07 17:15:30 +00:00
akr
acbffce267
* lib/pp.rb (PP::PPMethods#pp_hash): sort condition changed:
...
all keys have a same class which is kind of Comparable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-07 13:02:35 +00:00
akr
174b77b280
* lib/pp.rb (PP::PPMethods#pp_hash): sort if
...
all keys are strings, symbols or integers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-07 06:39:56 +00:00
keiju
7756f1df18
* lib/irb.rb: typo. Thanks, Giles Bowkett.
...
* lib/irb/completion.rb: support Ruby1.9 changing return value
String to Symbol for Object#methods, etc. [ruby-dev:31148].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-06 11:09:38 +00:00
nahi
151d11b5b1
* lib/webrick/httpauth/authenticator.rb
...
(WEBrick::HTTPAuth::Authenticator#check_scheme): auth-scheme must be
treated as a case-insensitive token according to RFC 2617 section 1.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-04 14:51:22 +00:00
ko1
9c708baa2d
* eval_intern.h, yarvcore.h: move declaration of sysstack_error
...
to yarvcore.h.
* iseq.c: fix symbol name (:toplevel -> :top).
* lib/vm/instruction.rb, template/vm.inc.tmpl: replacable
current file name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-07-01 23:57:04 +00:00
akr
c43511cd89
* lib/cgi/session.rb (create_new_id): don't cut off md5.hexdigest to
...
follow Ruby 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-29 11:52:17 +00:00
matz
71f8ca8bc4
* parse.y (assoc_list): remove expanded hash literal (no splat).
...
* lib/webrick/httpstatus.rb (WEBrick::HTTPStatus::EOFError): adapt
to new syntax.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-29 06:27:49 +00:00
nobu
453f64fa47
* lib/vm/instruction.rb: set properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-29 06:02:00 +00:00
ko1
ca9b486294
* tool/insns2vm.rb, lib/vm/instruction.rb: move process body
...
to lib/vm/instruction.rb.
* common.mk: fix aotc rule.
experimental. bin/ruby2cext is not added yet.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-29 05:52:18 +00:00
nobu
942a54302d
* parse.y (yycompile): disable trace while creating ruby_debug_lines.
...
[ruby-talk:253586]
* thread.c (ruby_suppress_tracing): new function to call a function
with suppressing trace.
* lib/debug.rb, lib/tracer.rb: for YARV.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-18 07:55:45 +00:00
akr
38f9878b59
fix typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-16 13:30:58 +00:00
nobu
0dc3a071d3
* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser): handle more
...
extensions. [ruby-dev:30972]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-14 08:08:13 +00:00
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
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
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
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
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
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
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
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
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
nobu
a96aacb08c
* ext/json, lib/json, test/json: set properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-06 01:54:44 +00:00
matz
8ef2289a49
* lib/pp.rb (PP::PPMethods::seplist): revert last change to work
...
around wrapper bug. [ruby-dev:30840]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-05 05:48:45 +00:00
naruse
af1c416728
* lib/json.rb, lib/json, ext/json, test/json:
...
import JSON library.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-06-04 12:31:26 +00:00
nobu
44475bb208
* lib/benchmark.rb (Benchmark::Job::item): avoid modifying the
...
argument unintentionally. [ruby-talk:253676]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-31 08:26:31 +00:00
shugo
426fcba891
* lib/net/imap.rb (ResponseParser#next_token): fixed
...
error message.
* lib/net/imap.rb (ResponseParser#parse_error): fixed
the condition not to refer @token.symbol unexpectedly.
Thanks, Dick Monahan.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-30 04:39:07 +00:00
shugo
3306e785b5
* lib/net/ftp.rb (Net::FTP#transfercmd): skip 2XX
...
responses for some FTP servers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-30 04:25:32 +00:00
matz
f7575739f9
* lib/cgi.rb (CGI#[]): get rid of exceptions being raised.
...
[ruby-dev:30740], Thanks Kentaro KAWAMOTO.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-23 01:45:37 +00:00
nobu
80a0e2f753
* ext/extmk.rb, ext/purelib.rb, lib/mkmf.rb, runruby.rb: clear default
...
load path to get rid of load pre-installed extensions/libraries.
[ruby-core:11017]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-22 20:48:34 +00:00
aamine
696cbbd7a6
* lib/net/smtp.rb: CRAM-MD5 authentication did not work. [ruby-dev:30770]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-20 18:33:25 +00:00
tadf
8bf9e0829f
* lib/date/format.rb (Date._parse): detects some OFX dates
...
(Of course not fully).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-19 01:27:53 +00:00
nahi
dfc0ac4298
* lib/logger.rb (Logger::Application): remove meaningless logdev
...
attribute and added logger attribute instead. [ruby-core:11143]
also added Logger#formatter rdoc comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-16 12:52:52 +00:00
aamine
22d6ff16d3
* lib/net/http.rb (tokens): forgot to add strip. [ruby-core:11120]
...
* test/net/http/test_http.rb: test Net::HTTP.post_form.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-12 09:25:56 +00:00
tadf
147f75c3ab
* lib/date/format.rb (Date._parse): revised treatment of
...
hyphend/separatorless dates.
* lib/date/format.rb: some trivial adjustments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-08 14:41:28 +00:00
tadf
6bc8bcbc7f
* lib/date/format.rb: reverted.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-08 11:23:38 +00:00
keiju
721eb816c9
* lib/rational.rb: fix high-precision Rationals cannot be
...
converted to Floats. [ruby-Bugs:10502], [ruby-core:11069],
[ruby-dev:30743]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-08 10:36:45 +00:00
kou
1548542f21
* lib/rss/image.rb, test/rss/test_image.rb: fixed Image module
...
namespace URI. reported by Dmitry Borodaenko. Thanks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-07 02:02:50 +00:00
aamine
9f1c215f5a
* lib/net/http.rb (Net::HTTP.post_form): allow an Array of String for pairs argument. [ruby-Bugs:10340]
...
* lib/net/http.rb (Net::HTTP#set_form_data): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-06 09:43:26 +00:00
aamine
094d3b1d7c
* lib/net/http.rb: Connection header field might include both of "keep-alive" token and "close" token. [ruby-core:10818]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-06 08:53:51 +00:00
nobu
84daaed844
* lib/date/format.rb (Format::Bag#method_missing): get rid of
...
modifying orginal argument. [ruby-core:11090]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-05-05 07:25:35 +00:00
nobu
692010a235
* lib/mkmf.rb (libpathflag): not to append RPATHFLAG to current
...
directory.
* lib/mkmf.rb (init_mkmf): add current directory to default
library path with highest priority. [ruby-core:10960]
* lib/mkmf.rb (LINK_SO): LIBPATH to be placed before DLDFLAGS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-23 13:08:29 +00:00
nobu
dc8147bca9
* lib/optparse.rb: fix to override conv proc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-20 03:26:19 +00:00
ko1
2dd91facca
* lib/optparse.rb: fix to override conv proc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-04-19 08:48:03 +00:00