ser
d15f41b0eb
* Non-String attributes are now converted to Strings; this means code such as
...
elem.attributes["a"] = 1
will not cause an error when dumping the XML. It also means that:
elem.attributes["a"] # => "1", not 1
* Transitive indenting has been cleaned up.
* Fixed a potential bug in parsing non-ASCII encoded streams
* Fixed a bug where trying to fill in ParseException data was causing an
IO error (stream closed)
* Changes to Text mean that Element (and Text) can be used outside of a
Document context.
* In some rare cases, the base parser wasn't reading enough bytes from the
stream for the parsing algorithm to work properly. This has been fixed
(this was Ruby bug #48426 )
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-23 15:44:30 +00:00
nobu
7792d9026a
* lib/mkmf.rb: $hdrdir should not contain macros, for backward
...
compatibility. [bruby-dev:28]
* lib/mkmf.rb (create_makefile): in the case of extout, just copy
script files, without comparison.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-23 14:24:51 +00:00
akr
cd322e0403
* lib/pathname.rb: sync taint/freeze flag between
...
a pathname object and its internal string object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-23 07:40:50 +00:00
akr
f2f93023c8
* lib/resolv.rb: don't use Regexp#source to embed regexps.
...
[ruby-dev:23432]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-23 05:22:25 +00:00
seki
fb3c76a225
check hash tuple size
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-21 14:05:40 +00:00
akr
317547dc5d
* lib/open-uri.rb (URI::HTTP#proxy_open): set Host: field explicitly.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-21 11:11:40 +00:00
aamine
51ef45c6f3
* lib/net/smtp.rb: merge SMTP-TLS patch. This patch is contributed by Daniel Hob. [ruby-core:02789]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-21 09:40:48 +00:00
aamine
ef36d75472
* lib/net/smtp.rb: change coding style: def m( a ) -> def m(a).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-21 09:23:56 +00:00
aamine
6562d8732d
* lib/net/pop.rb: do not use class variables.
...
* lib/net/pop.rb (do_start): ensure to clean up connection when authentication failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-21 09:02:04 +00:00
aamine
d4f7c8ccef
* lib/net/http.rb (connect): CONNECT must precede SSL connect. [ruby-dev:23379]
...
* lib/net/http.rb (HTTP.new): class variables are not inherited now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-21 08:26:33 +00:00
nobu
97a557bdf9
* lib/test/unit/ui/console/testrunner.rb (test_started): restore $0
...
after changing process title. [ruby-talk:97426]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-21 06:56:48 +00:00
nobu
92f0be2037
* dln.c, io.c, pack.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb,
...
lib/date.rb, lib/ftools.rb, lib/getoptlong.rb, lib/logger.rb,
lib/matrix.rb, lib/monitor.rb, lib/set.rb, lib/thwait.rb,
lib/timeout.rb, lib/yaml.rb, lib/drb/drb.rb, lib/irb/workspace.rb,
lib/net/ftp.rb, lib/net/http.rb, lib/net/imap.rb, lib/net/pop.rb,
lib/net/telnet.rb, lib/racc/parser.rb, lib/rinda/rinda.rb,
lib/rinda/tuplespace.rb, lib/shell/command-processor.rb,
lib/soap/rpc/soaplet.rb, lib/test/unit/testcase.rb,
lib/test/unit/testsuite.rb: typo fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-18 23:19:47 +00:00
dave
e5eb459089
Allow for HAVE_PROTOTYPES macro
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-18 23:15:30 +00:00
dave
902c0e2c57
Change :enddoc: to terminate processing of current file
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-17 03:23:10 +00:00
nobu
03f06115a6
* lib/drb/drb.rb (DRb::DRbUnknown::initialize): Exception#to_str is
...
deprecated.
* lib/drb/drb.rb (DRb::DRbServer::InvokeMethod::perform): multiple
value class changed.
* lib/drb/invokemethod.rb (DRb::DRbServer::InvokeMethod18Mixin::block_yield):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-16 03:38:53 +00:00
seki
dae0bfcf37
change pattern matching [druby-ja:98]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-13 14:06:50 +00:00
aamine
a4e80a024d
* lib/net/http.rb (begin_transport): should not overwrite HTTP request header. [ruby-list:39543]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-13 08:55:55 +00:00
aamine
500e181e20
* lib/net/pop.rb: merge POP3S patch. This patch is contributed by Daniel Hobe.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-13 07:48:14 +00:00
akr
15d2b80c8a
enable document for Kernel.open.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-12 10:17:46 +00:00
dave
7e9f3d2934
Forgot to check special case at top level
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-11 01:49:10 +00:00
dave
5d716f9303
Fix :enddoc"
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-10 14:51:58 +00:00
dave
1f3819adc8
Fixed problem with \_cat_<b>dog</b>
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-09 15:01:53 +00:00
nobu
fa7a5d5477
* ext/extmk.rb (extmake): skip uncompiled extensions.
...
* lib/mkmf.rb (create_makefile): emit no rules for static library if
$static is nil, e.g., outside of ext/.
* lib/test/unit/ui/console/testrunner.rb (test_started): show test
name via $0.
* runruby.rb: set environments to use the compiled binary.
* test/runner.rb: do nothing while cross-compiling.
* test/drb/drbtest.rb, test/soap/calc/test_calc_cgi.rb: use envutil to
know ruby binary.
* test/ruby/envutil.rb: give priority to RUBY environment variable to
use just compiled binary and libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-08 10:45:21 +00:00
ser
8586deca95
REXML CHANGES
...
The previous bug fixing the behavior of Element::text= introduced a bug that
occurred when calling (el.text = nil) to delete the first text node.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-07 14:14:46 +00:00
akr
ae8dfe8626
update the document for to_path.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-07 05:33:19 +00:00
kou
8dfa6fb0a8
* lib/rss/parser.rb, lib/rss/1.0.rb: accepted rdf:resource or
...
resource attribute in rdf:li.
* test/rss/test_parser.rb: added test for above change.
* lib/rss/dublincore.rb: reverted style.
* lib/rss/xmlparser.rb: normalized XMLParser class hierarchy.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-07 03:36:38 +00:00
matz
4ded52b623
* file.c (rb_get_path): get path string via "to_path" method if
...
path object is not a string. [Ruby2]
* gc.c (rb_gc_call_finalizer_at_exit): do not free threads in the
exit finalizers.
* io.c (rb_io_reopen): should use rb_io_check_io().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-07 02:51:05 +00:00
seki
3d359cecd8
fix hash tuple bug
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-06 15:26:25 +00:00
matz
ce44928d2b
* error.c (Init_Exception): remove Exception#to_str. [Ruby2]
...
* eval.c (error_print): should no call "to_str" anymore use
"message" method instead.
* io.c (rb_f_open): Kernel#open() calls "to_open" if the first
argument responds to it. [Ruby2]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 15:55:09 +00:00
seki
cded3d5c93
add require "drb/drb"
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 15:14:20 +00:00
dave
f02159637a
Remove leading ./ from filenames so that cross references work OK
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-04 23:19:58 +00:00
akr
5e59422f41
comments modified.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-04 07:57:39 +00:00
dave
440c26186c
Allow multiple --exclude options to RDoc
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-04 05:03:00 +00:00
ser
d1a2925eee
* Fixed a bug in the evaluation of XPath's 'or'
...
* deprecated #type changed to class.name
* XPath's union was was being incorrectly interpreted
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-03 02:22:38 +00:00
why
28b79f3957
* ext/syck/lib/gram.c: allow root-level inline collections.
...
[ruby-talk:94922]
* lib/yaml/rubytypes.rb (Symbol#to_yaml): emit symbols as implicits.
[ruby-talk:94930]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 23:31:14 +00:00
nobu
5c51ccc35c
* ext/extmk.rb (extmake): extract necessary variables for static link
...
from Makefile.
* lib/mkmf.rb (create_makefile): save preload and libpath for next
compile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 09:00:12 +00:00
ser
c7138f1656
REXML changes
...
* The main purpose for this change is to get a fix in for nasty bug in XPath.
In the new code for the descendant-or-self axis, the document order code
was calling the wrong method to do node comparisons, causing a terrible
overhead that slowed the axis down to the point where it was unusable.
This is a common axis, also known as '//', so this fix is critical.
* Using Element#text= on a non-Text, non-String argument caused an error.
This has been changed so that the behavior is like puts() -- to_s() is
called on the object first.
* Refactored the pretty-printing code a little.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 03:53:58 +00:00
aamine
6dcbfbc525
* eval.c (Init_load): make $LOADED_FEATURES built-in. [ruby-dev:23299]
...
* ruby.c (ruby_prog_init): make $PROGRAM_NAME built-in.
* lib/English.rb: remove $LOADED_FEATURES and $PROGRAM_NAME.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 02:36:48 +00:00
dave
695fe49de9
checked in debug version in error
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 01:20:59 +00:00
dave
ef38efca9f
Fix parse bug with toplevel methods. Allow RDoc in =begin rdoc/=end comments (experimental)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 01:20:58 +00:00
nahi
b37f4923e5
* lib/soap/mapping/{factory.rb,registry.rb}: fixed illegal mapped URI
...
object with soap/marshal.
added URIFactory class for URI mapping. BasetypeFactory checks
instance_variables when original mapping is not allowed (ivar must
be empty). Instance of URI have instance_variables but it must be
llowed whenever original mapping is allowed or not.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-01 10:58:17 +00:00
nobu
d3bb9ea112
* lib/delegate.rb (DelegateClass): define internal methods of the
...
result class, but not metaclass of the caller.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-31 02:52:44 +00:00
matz
919f456de8
* exception message clean-up by Ian Macdonald <ian@caliban.org>.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-29 07:54:38 +00:00
ser
6a738f2265
Documentation fixes and a patch to fix whitespace handling.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-28 22:36:15 +00:00
akr
adb4439f85
fix typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-28 14:10:39 +00:00
aamine
b81df5d837
* lib/net/pop.rb: def m( arg ) -> def m(arg).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-28 05:23:13 +00:00
aamine
0cf429ce82
* lib/net/pop.rb (auth): failed when account/password include "%". [ruby-talk:95933]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-28 05:17:13 +00:00
aamine
277839dc81
* lib/net/pop.rb: revert to rev1.63. 1.64 wrongly contains POPS code.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-28 05:13:12 +00:00
aamine
111b11703d
* lib/net/pop.rb (auth): failed when account/password include "%". [ruby-talk:95933]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-28 05:09:26 +00:00
akr
c451c56b10
* (lib/open-uri.rb): permit extra semicolon in content-type field.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-27 12:43:02 +00:00
akr
4d664a098d
* (lib/pp.rb, lib/prettyprint.rb): define seplist in PP::PPMethods
...
instead of PrettyPrint.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-27 01:46:05 +00:00
nahi
223d1cb77b
* lib/logger.rb: trim tail space of each line. no user visible change.
...
* lib/rss/dublincore.rb: fixed class definition mismatch.
* sample/openssl/gen_csr.rb: fixed wrong usage text.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-26 16:47:16 +00:00
dave
d6dc168b22
Missing trailing "$"
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 14:19:23 +00:00
dave
4cdf253e4d
Add --version option to ri
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 14:19:22 +00:00
dave
e147632bff
Add the --list-names option
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 19:17:42 +00:00
dave
16040850af
Must now use "::" to separate nested classes. This fixes bug where "ri Kernel.Array" was looking for a class called Array
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 18:59:27 +00:00
dave
154c29be3a
Get --one-page working with C code
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 17:01:11 +00:00
dave
9d84c89464
Move "y" documentation to correct place
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 16:52:49 +00:00
gsinclair
42ad5216ec
* lib/uri.rb: Documented (thanks Dmitry V. Sabanin).
...
* lib/uri/common.rb: Ditto.
* lib/uri/ftp.rb: Ditto.
* lib/uri/generic.rb: Ditto.
* lib/uri/http.rb: Ditto.
* lib/uri/https.rb: Ditto.
* lib/uri/ldap.rb: Ditto.
* lib/uri/mailto.rb: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 11:53:31 +00:00
nobu
5e23ff603f
* lib/mkmf.rb ($ruby, $topdir, $hdrdir): should not be affected by
...
DESTDIR after installed.
* lib/mkmf.rb (dummy_makefile): default file lists to be cleaned.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 09:48:09 +00:00
matz
d5158a0833
* lib/tempfile.rb: fixed a stupid bug. [ruby-talk:95680]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 09:27:15 +00:00
dave
91faa496b3
Don't be as eager to invent classes to document
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 03:35:24 +00:00
dave
124a20d3d2
Allow templates to be specified outside the RDoc tree
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 02:14:18 +00:00
matz
a43eeaef75
* lib/tempfile.rb (Tempfile::_close): should not clear @tmpname
...
until the file is really removed. [ruby-core:02684]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 01:08:20 +00:00
matz
4f0ef242cc
* object.c (rb_mod_cvar_get): new method Module#class_variable_get.
...
* object.c (rb_mod_cvar_set): ditto (Module#class_variable_set).
* eval.c (rb_thread_atfork): 1.9 warns no more for thread
termination. [ruby-dev:23212]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-23 19:14:16 +00:00
nobu
52a67fe60d
* Makefile.in, */Makefile.sub, common.mk (clean-local, distclean-local):
...
separate files under directories due to directory separator.
* */Makefile.sub (MKFILES): common.mk and */Makefile.sub should not be
removed.
* win32/Makefile.sub, wince/Makefile.sub: $* cannot appear in explicit
rules.
* cygwin/GNUmakefile.in: some mingw stuffs were missed.
* lib/mkmf.rb (create_makefile): Borland make wrongly removes braces
from command lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-23 05:32:01 +00:00
gotoyuzo
48dde6f3e6
* lib/webrick/httpserver.rb (WEBrick::HTTPServer#virtual_host):
...
sort @virtual_hosts in address, port, host order.
* lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server):
hostname should not be match if :ServerAlias is not given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 13:17:24 +00:00
keiju
06d1cbb926
* lib/shell/*: bug fix for Shell#system(command_line_string).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 12:21:11 +00:00
kou
cfbe158fae
* lib/rss/{rss,dublincore,syndication}.rb: handled W3CDTF correctly.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 09:54:07 +00:00
kou
7ead69e5b3
* test/rss/test_xml-stylesheet.rb: added tests for xml-stylesheet.
...
* lib/rss/xml-stylesheet.rb: added xml-stylesheet parsing
function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 09:20:47 +00:00
matz
aab1ba1365
* eval.c (rb_require_safe): preserve old ruby_errinfo.
...
[ruby-talk:95409]
* eval.c (rb_f_raise): should not clear backtrace information if
exception object already have one.
* parse.y (assoc_list): allow {sym: val} style Hash. [Ruby2]
this change is done by Nobuyoshi Nakada <nobu@ruby-lang.org>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-20 16:45:41 +00:00
dave
a42fb7a811
Force RDoc html background to white
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-20 06:26:57 +00:00
tadf
f2d983cb8d
synchronized with date2 3.6.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-20 00:48:19 +00:00
usa
5af30c19a4
* lib/mkmf.rb ($beos, $solaris): add OS flags.
...
* lib/mkmf.rb (RUBY): / is not recognized as path separator on
nmake/bmake. [ruby-list:39388]
* lib/mkmf.rb (CLEANLIBS, CLEANOBJS): should remove *.exp with *.so.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-19 02:35:27 +00:00
matz
c223709c3b
* eval.c (proc_eq): avoid false positive by using scope and
...
dyna_vars. no longer use frame.uniq.
* eval.c (proc_arity): arity is now defined as number of
parameters that would not be ignored. i.e. Proc.new{}.arity
returns zero. update test suites too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-18 10:09:43 +00:00
nobu
311fdfdfea
* mkconfig.rb: no longer embed srcdir and compile_dir into
...
rbconfig.rb.
* ext/extmk.rb, lib/mkmf.rb: obtain top_srcdir and topdir from library
paths.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-18 09:50:14 +00:00
seki
29696a1738
stop undef DRbObject#to_a
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-18 08:48:37 +00:00
matz
bfb47068b0
* eval.c: remove specialized version of rb_Array(). use simple
...
one defined in object.c.
* object.c (Init_Object): remove Kernel#to_a.
* enum.c (enum_zip): use "to_a" instead of "to_ary".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-18 06:59:04 +00:00
nobu
21410f4dfe
* configure.in (rb_cv_noreturn): default for platforms not support
...
prototypes.
* ruby.c (ruby_init_loadpath): buffer for path name should have
MAXPATHLEN.
* lib/mkmf.rb (configuration): include topdir and hdrdir in VPATH.
* lib/mkmf.rb (create_makefile): default dependency rule.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-12 11:19:22 +00:00
gotoyuzo
0d8a0904d9
* lib/webrick/config.rb (WEBrick::Config::General): add
...
:DoNotReverseLookup.
* lib/webrick/server.rb (WEBrick::GenericServer#accept): call
do_not_reverse_lookup for each socket if :DoNotReverseLookup
is set. [ruby-code:02357]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-11 22:36:11 +00:00
aamine
fb9d31c327
* lib/fileutils.rb (remove_dir): should handle symlink correctly. This patch is contributed by Christian Loew. [ruby-talk:94635]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-10 13:26:38 +00:00
matz
7c097dc891
* struct.c (rb_struct_s_def): Struct::new executes block with
...
generated struct class. [ruby-talk:02606]
* io.c (rb_io_ungetc): raise IOError instead of calling
rb_sys_fail(). [ruby-talk:23181]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-10 07:05:19 +00:00
aamine
2cb1399c8f
* lib/net/http.rb: HTTPHeader did not initialized correctly.
...
* lib/net/http.rb (connect): does same debug output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-08 14:16:21 +00:00
aamine
14371fce68
* lib/net/http.rb (add_header): remove warning. [ruby-dev:23170]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-08 12:40:34 +00:00
akira
80a0920f5f
* lib/uri/common.rb (URI::REGEXP::PATTERN::HOSTPORT): (?:#{PORT})
...
-> (?::#{PORT}). [ruby-dev:23170]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-08 10:36:50 +00:00
gotoyuzo
9b11fc8032
* lib/webrick/config.rb (WEBrick::Config::HTTP): rename :RequestHander
...
to :RequestCallback and add new option :ServerAlias.
* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): use
:RequestCallback and warn if :RequestHandler is in server's option.
* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): should print
error message for WEBrick::HTTPSataus::Error.
* lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server):
lookup for hostname from :ServerAlias if the req.host is not match
to :ServerName.
* lib/webrick/httpservlet.rb (WEBrick::HTTPServlet::CGIHandler#do_GET):
use $?.exitstatus and refine log message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-07 16:06:43 +00:00
eban
4774e8fda5
* lib/pstore.rb (commit_new): use FileUtils.copy_stream for Cygwin.
...
[ruby-dev:23157]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-07 13:37:52 +00:00
aamine
39848fe845
* lib/net/http.rb: HTTPHeader keeps its header fields as an array.
...
* lib/net/http.rb: new method HTTPHeader#add_header, get_fields.
* lib/net/http.rb: new method HTTPHeader#content_length=.
* lib/net/http.rb: new method HTTPHeader#content_type, main_type, sub_type, type_params, content_type=, set_content_type.
* lib/net/http.rb (HTTPHeader#basic_encode): result of pack(m) may contain multiple LFs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-06 20:35:19 +00:00
aamine
316bf4e67b
* lib/net/http.rb: new method Net::HTTPRequest#body(=).
...
* lib/net/http.rb: new method Net::HTTPRequest#body_stream(=).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-06 18:11:40 +00:00
aamine
3eedf9156c
* lib/net/http.rb: spin off https code again.
...
* lib/net/https.rb: new file.
* ext/openssl/lib/net/https.rb: removed. moved to net/https with modifications.
* ext/openssl/lib/net/protocol.rb: removed. merged with net/http.
* lib/net/protocol.rb: new class BufferedIO.
* lib/net/protocol.rb: InternetMessageIO < BufferedIO.
* lib/net/protocol.rb: BufferedIO.new takes an IO.
* lib/net/smtp.rb: follow InternetMessageIO's change.
* lib/net/pop.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-06 17:08:21 +00:00
aamine
dd53813e38
* lib/net/protocol.rb: remove method: InternetMessageIO#address, port, ip_address, read_timeout(=), socket.
...
* lib/net/protocol.rb: simplify code.
* lib/net/protocol.rb: apply latest coding style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-06 15:55:23 +00:00
dblack
ad5c34fa0c
refixed the previous fix in IO#block_scanf
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-06 02:14:33 +00:00
dblack
ac9845a16c
Fixed a logic glitch in IO#block_scanf
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-06 01:49:40 +00:00
aamine
fc188d3827
* lib/net/http.rb: net/https is merged.
...
* ext/openssl/lib/net/https.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-05 17:00:51 +00:00
aamine
33a06e4aca
* lib/net/http.rb: support WebDAV methods, PROPPATCH, LOCK, UNLOCK, OPTIONS, PROPFIND, DELETE, MOVE, COPY, MKCOL. This patch is contributed by Tatsuki Sugiura.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-05 14:13:31 +00:00
aamine
a60a899eeb
* lib/net/http.rb: Net::HTTPResponse#response is obsolete. [ruby-core:02592]
...
* lib/net/http.rb: Net::HTTPResponse#header is obsolete.
* lib/net/http.rb: Net::HTTPResponse#read_header is obsolete.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-05 11:59:09 +00:00
aamine
87275504ab
* lib/net/http.rb (HTTPResponse#to_ary): should return an object which does not respond to #to_ary. It causes infinite loop in puts. [ruby-core:02578]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-05 10:42:43 +00:00
dave
1c1a61a436
Move RDoc comments for Test::Unit
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-04 15:54:39 +00:00
nobu
de4d3af245
* lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command):
...
detach server processes to get rid of zombies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-04 02:46:37 +00:00
nobu
9778625be8
* ext/syck/rubyext.c: get rid of warnings.
...
* lib/rss/taxonomy.rb: ditto.
* lib/rdoc/ri/ri_formatter.rb: ditto.
* test/ruby/test_assignment.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-03 23:08:45 +00:00
nobu
5dfa7cacd1
* lib/rdoc/ri/ri_display.rb (DefaultDisplay::page): wait until the
...
pager terminates.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-03 16:17:32 +00:00
nobu
57cbecdb4f
* lib/rdoc/ri/ri_display.rb (DefaultDisplay::setup_pager): ensure
...
pager closes and stdout is restored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-03 09:58:25 +00:00
nobu
1184dd33d5
* lib/mkmf.rb ($topdir): use compile_dir only when not installed yet.
...
[ruby-talk:94098]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-03 00:52:10 +00:00
kou
40daca4a87
* lib/rss/converter.rb: handled Uconv::Error.
...
* lib/rss/dublincore.rb: DublincoreModel -> DublinCoreModel
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-02 16:21:11 +00:00
dblack
24aac11a56
* soak_up_spaces only ungetc's non-space last character
...
* IO#block_scanf now returns partial last iteration
array if format string matches partly
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-02 15:59:30 +00:00
nobu
5aad820604
* io.c (pipe_open): erred program name should be reported by
...
exceptions, instead of the first argument.
* process.c (rb_spawn): ditto.
* process.c (proc_spawn_v): use first argument as program name.
* win32/win32.c (rb_w32_aspawn): ditto.
* win32/win32.c (CreateChild): search executable file if no program
name given.
* lib/drb/extservm.rb (invoke_service_command): use Process.spawn.
[ruby-dev:23103]
* lib/rdoc/ri/ri_display.rb (setup_pager): use IO.popen.
[ruby-dev:23086], [ruby-dev:23103]
* lib/rdoc/diagram.rb (convert_to_png): ditto.
* lib/rdoc/generators/chm_generator.rb (compile_project): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-02 07:30:35 +00:00
dblack
2e9663f152
Fixed Kernel#scanf to propagate code block
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-01 21:23:14 +00:00
dblack
b0c388896a
Partial fix so STDIN#scanf works with new STDIN#pos behavior
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-01 14:25:40 +00:00
dave
b84917766d
Allow aliases to have parentheses
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-01 03:26:05 +00:00
dave
43d483d41d
Handle :nodoc: om singleton classes
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-29 14:16:33 +00:00
seki
c85e310795
* MANIFEST: add test_erb.rb
...
* lib/erb.rb, test/erb/test_erb.rb: don't forget filename,
if both filename and safe_level given. [ruby-dev:23050]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-28 01:52:14 +00:00
seki
52e0246b61
require drb/eq.rb by default
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-26 15:56:40 +00:00
dave
3632100c64
Doug Kearns's doc. patch
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-26 13:50:40 +00:00
nobu
8f2057e33d
* lib/cgi-lib.rb, lib/getopts.rb, lib/importenv.rb, lib/parsearg.rb:
...
warn with caller position.
* test/rss/test_content.rb, test/rss/test_dublincore.rb,
test/rss/test_syndication.rb, test/rss/test_trackback.rb: use cgi
instead of cgi-lib.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-25 11:44:58 +00:00
dave
d22ade523f
Improve heuristic for which files to include. See ChangeLog
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-24 04:24:02 +00:00
dave
47d12ab8d0
Deal with case where first file processed contains a :stopdoc:
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-24 04:07:46 +00:00
dave
810854455d
Handle class vars in code listings
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-23 21:41:14 +00:00
dave
a928cfed87
Handle aliases in C files
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-23 21:34:01 +00:00
dave
dc03b05a7e
Check opdir _before_ parsing files
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-23 21:17:26 +00:00
dave
74d704c263
Fix constant value extraction. Escape HTML in constant values
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-23 21:10:42 +00:00
nobu
e10564a578
* lib/mkmf.rb (init_mkmf): $INCFLAGS also should be lazy-evaluated.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-22 05:58:10 +00:00
akira
329b4782ff
* lib/uri/mailto.rb (URI::MailTo::to_s): should include fragment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-22 04:06:09 +00:00
nobu
33e064afff
* lib/ostruct.rb (OpenStruct#initialize_copy): should not share
...
members. [ruby-dev:22966]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-20 10:11:25 +00:00
matz
50b775851a
* lib/irb/init.rb (IRB::IRB.parse_opts): add -I option to
...
irb. [ruby-dev:39243]
* sprintf.c (rb_f_sprintf): sign bit extension should not be done
if FPLUS flag is specified. [ruby-list:39224]
* sprintf.c (rb_f_sprintf): do not prepend dots for negative
numbers if FZERO is specified. [ruby-dev:39218]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-20 10:03:47 +00:00
dave
ba3a872a68
Support visibility modifiers for attributes
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-19 14:26:05 +00:00
gsinclair
0425463a3d
* lib/ostruct.rb: documented
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-19 13:42:30 +00:00
nahi
b61d1549d4
* lib/soap/mapping/rubytypeFactory.rb: should not dump singleton class.
...
[ruby-dev:22588]
c = class << Object.new; class C; self; end; end; SOAPMarshal.dump(c)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-19 13:26:56 +00:00
dave
23d081b993
Fix typos (Doug Kearns)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-19 03:23:51 +00:00
gsinclair
1399c1bca0
* lib/cgi-lib.rb: deprecated after 1.8.1
...
* lib/getopts.rb: ditto
* lib/importenv.rb: ditto
* lib/parsearg.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-18 15:27:06 +00:00
dave
847fd91e32
Strip extraneous spaces from included filename
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-18 15:12:55 +00:00
seki
926a6fb194
remove O_NONBLOCK, thanks ay
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-18 13:55:22 +00:00
gsinclair
e81b38b6d3
* lib/rinda/rinda.rb: added documentation (from Hugh Sasse)
...
* lib/rinda/tuplespace.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-17 22:29:07 +00:00
matz
4b41d18b6c
* sprintf.c (rb_f_sprintf): preserve original val for
...
format_integer. [ruby-talk:92975]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-17 15:26:03 +00:00
nobu
bab1372a33
* ext/extmk.rb (extmake): $extout_prefix doesn't vary for libraries.
...
* ext/extmk.rb (extmake): remove compile directory if empty.
* ext/extmk.rb (parse_args) lib/mkmf.rb (create_makefile): move
initialization of $extout_prefix from lib/mkmf.rb. [ruby-dev:22928]
* ext/extmk.rb: clear ext and extout directory when cleaning.
* lib/mkmf.rb (CLEANLIBS): should be under $(arch) directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-17 10:34:31 +00:00
nobu
33f78212ce
* ext/extmk.rb (parse_args): delay expanding $(extout) until invoking
...
make.
* lib/mkmf.rb (CLEANLIBS): should remove files have specific
extensions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-17 03:12:53 +00:00
nobu
dcb796c8d5
should escape dot.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-17 02:41:02 +00:00
nobu
53f6129bbe
* lib/rss/rexmlparser.rb: REXML version may be 4 digits.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-17 02:33:34 +00:00
nobu
bd00e2118c
* lib/rexml/encodings/SHIFT_JIS: wrong library name.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-16 22:48:25 +00:00
ser
511dceec5c
Issue11: null context causing indentation crash
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-16 22:24:45 +00:00
ser
b84ebdcb05
Fixed Issue7: DocType with external IDs was not being quoted.
...
SHIFT_JIS now merely includes Shift-JIS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-16 21:42:10 +00:00
aamine
b1772b8c40
* lib/fileutils.rb: new module FileUtils::DryRun.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-16 16:23:07 +00:00
nahi
dd03a2ff20
* lib/csv.rb: document reduction. [ruby-core:02429]
...
* test/yaml/test_yaml.rb: added 0..1 test with "0".."1" on display.
it should be defined that the specification about what kind of Range
is supported in ruby's custom type in YAML.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-16 14:41:49 +00:00
gsinclair
0dea051ea1
* lib/generator.rb: corrected doc format
...
* lib/rinda/rinda.rb: added documentation (from Hugh Sasse)
* lib/rinda/tuplespace.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-16 13:24:07 +00:00
usa
cab6d2dadd
* win32/Makefile.sub (config.status): should create *.pdb on ext/,
...
not .ext/.
* win32/Makefile.sub (config.status): convert the name of import
library.
* lib/mkmf.rb (create_makefile): now don't need to remove
$(TARGET).lib.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-16 09:39:48 +00:00
aamine
3bc0f22fce
* lib/racc/parser.rb: add note for Racc full package.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-16 06:19:54 +00:00
seki
c77eca4354
raise RequestExpiredError if timeout
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-15 10:07:18 +00:00
gotoyuzo
19cb7ffd6c
* lib/mkmf.rb: absolute path of ruby is assigned to $(RUBY).
...
[ruby-dev:22870]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-14 16:51:12 +00:00
eban
e8262c8f04
* lib/un.rb: use OptionParser instead of getopts.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-14 14:27:43 +00:00
gsinclair
6ebba7be60
* lib/ftools.rb: documented
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-14 07:10:21 +00:00
seki
0562a84558
add pretty_print
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-14 02:16:05 +00:00
ser
95be40a06d
@@ Fix for the XPath descendant* result set ordering bug @@
...
@@ SAX2 listener bug fixes @@
@@ Undid a code change that caused a 10x speed regression @@
@@ Indentation fixes, and a new word wrapping feature for text nodes
was contributed by Devin Bayer (documentation forthcoming; see the
change logs for now) @@
The XPath bug fix is really ugly and inefficient, but I spent two days hacking
at it and this was the best I could come up with.
The SAX2 listener fixes had to do with crashes in certain conditions, like when
there was a carriage return at the end of a document
Several people submitted patches for the speed regression; it is embarrassing
how long it took me to get around to looking at this. To this day, I don't
know where the offending code came from.
Encoding fixes
Added a contributed word wrapping option for text formatting. Devin Bayer
contributed this. Here's his comment:
"Setting :wordwrapping to :all, wordwraps all text nodes longer than 60
characters.
Setting :indentstyle to aString, make aString used as indentation,
instead of the default ' '.
And as long as :respect_whitespace isn't set for the element,
multiline text nodes will be indented."
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-13 22:40:14 +00:00
eban
be3b9b1c5c
lib/cgi.rb: commit miss.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-13 16:15:54 +00:00
matz
829a44822d
* re.c (KR_REHASH): wrong hash value on sizeof(long) > sizeof(int).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-13 16:03:15 +00:00
gsinclair
be1de4f8db
* lib/fileutils.rb: slighly improved documentation (sync with 1.8)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-13 12:53:42 +00:00
kou
c0306157d9
* test/rss/test_trackback.rb: added tests for TrackBack with RSS
...
2.0.
* test/rss/common.rb: added methods make RSS 2.0.
* lib/rss/trackback.rb: TrackBack API is decided.
* lib/rss/rss.rb: RSS::VERSION 0.0.7 -> 0.0.8
* lib/rss/parser.rb, lib/rss/rss.rb: replaced $DEBUG by RSS::DEBUG.
* lib/rss/2.0.rb: removed RSS 2.0 URI. Because RSS 2.0 doesn't
have URI.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-13 11:02:03 +00:00
gsinclair
2facb107c4
* lib/base64.rb: added and tidied documentation
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-12 12:22:18 +00:00
aamine
d589b366bc
* lib/net/protocol.rb (WriteAdapater#puts): must append "\n" to the string, don't prepend. (ruby-bugs:PR#1280)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-12 11:45:28 +00:00
nobu
8bc9475793
* lib/mkmf.rb (create_tmpsrc): cpp32 of Borland C++ ignores #error
...
directives in DOS line-ending files at all.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-12 11:31:52 +00:00
akr
166b3957e0
* lib/pathname.rb: use assert_raise instead of assert_raises.
...
* lib/pp.rb: ditto.
* lib/time.rb: ditto.
* lib/tsort.rb: ditto.
use TSortHash and TSortArray instead of Hash and Array in test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-11 17:36:37 +00:00
nobu
3d4b83aaba
* ext/extmk.rb, lib/mkmf.rb: rename $outdir to $extout.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-09 09:20:52 +00:00
nobu
ff9c34b3f4
* Makefile.in, bcc32/Makefile.sub, win32/Makefile.sub, configure.in,
...
runruby.rb: run rdoc, test and so on with compiled extension
libraries. [ruby-dev:22688]
* ext/extmk.rb, lib/mkmf.rb: make extension libraries in separated
directory, similar to the actual directory structure.
* lib/fileutils.rb (FileUtils.copy_file): use the mode of the original
file to create new file.
* lib/rdoc/ri/ri_paths.rb (RI::Paths::SYSDIR): get rid of unexpected
influence by envirionment variable.
* bcc32/configure.bat, win32/configure.bat: add install-doc options.
* win32/win32.c, win32/win32.h (rb_w32_fstat): fix Borland C runtime
bug which returns wrong mode. [ruby-dev:22846]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-09 08:48:55 +00:00
nobu
216a505751
wrong commit.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-08 07:54:34 +00:00
nobu
5e947e2d03
* lib/pp.rb (PP::PPMethods::object_address_group): suppress negative
...
sign for higher heap areas.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-08 07:46:18 +00:00
aamine
992d2749ac
* lib/net/http.rb (HTTP#request): should not overwrite Connection header. (ruby-bugs:PR#1274)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-08 05:24:47 +00:00
nobu
776206b3e7
* lib/irb/init.rb (IRB.rc_files): yield possible rc file names.
...
* lib/irb/input-method.rb (IRB::ReadlineInputMethod::initialize):
load and save history automatically. [ruby-core:02352]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-07 10:56:16 +00:00
dave
7f55b0c39e
Support https in hyperlinks
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-06 13:49:54 +00:00
nahi
8fc2fa55f9
* lib/pp.rb (PPInspectTest#test_to_s_with_iv): rollback the previous
...
commit. [ruby-dev:22813]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-06 13:42:15 +00:00
nahi
c47d29da45
* lib/pp.rb (PPInspectTest#test_to_s_with_iv): remove instance
...
variable which is defined in the test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-06 13:24:17 +00:00
nobu
0e692c450b
* lib/irb/extend-command.rb: add irb_help command. [ruby-talk:91610]
...
* lib/irb/cmd/help.rb (IRB::ExtendCommand::Help): show RDoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-06 00:16:50 +00:00
akr
7011dce58e
* lib/prettyprint.rb (PrettyPrint#first?): obsoleted.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-05 15:50:43 +00:00
akr
0c792a32b7
* lib/prettyprint.rb (PrettyPrint#seplist): added.
...
* lib/pp.rb (PPMethods#pp_object): use seplist.
(PPMethods#pp_hash): ditto.
(Array#pretty_print): ditto.
(Struct#pretty_print): ditto.
(MatchData#pretty_print): ditto.
* lib/set.rb (Set#pretty_print): use seplist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-05 14:59:46 +00:00
kou
1a235738a8
* lib/rss/2.0.rb, lib/rss/content.rb, lib/rss/dublincore.rb,
...
lib/rss/rss.rb, lib/rss/syndication.rb: removed warnings.
* lib/rss/converter.rb: removed handling load error of nkf.
* test/rss/test_syndication.rb, test/rss/test_trackback.rb,
test/rss/test_dublincore.rb, test/rss/test_content.rb: replaced
'require "rss/parser"' by 'require "rss/1.0"'.
* test/rss/test_parser.rb, test/rss/test_accessor.rb: removed
'require "rss/parser"'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-03 14:01:42 +00:00
akr
05172c4211
* lib/pp.rb (Struct#pretty_print_cycle): follow 1.8 style.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-02 23:09:38 +00:00
akr
2e11b3262a
exception message changed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-01 17:42:08 +00:00
akr
d837280dc8
* lib/pp.rb (Struct#pretty_print): make it 1.8 style.
...
(Numeric#pretty_print, FalseClass#pretty_print)
(TrueClass#pretty_print, Module#pretty_print): fix pp for objects
with instance variables. [ruby-talk:91157]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-01 16:57:47 +00:00
akr
678e4ea5b4
* lib/open-uri.rb (URI::Generic#find_proxy): return nil on loopback
...
address.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-01 15:31:59 +00:00
akr
c9c51009cf
* lib/resolv-replace.rb (BasicSocket#send): don't replace because
...
it has no hostname argument.
(IPSocket.getaddress): raise SocketError instead of
Resolv::ResolvError for errors.
(TCPSocket#initialize, UDPSocket#bind, UDPSocket#connect)
(SOCKSSocket#initialize): use IPSocket.getaddress instead of
Resolv.getaddress.
(UDPSocket#send): recognize 3 arguments form. try all addresses on
4 arguments form.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-01 15:21:24 +00:00
gsinclair
9670d71ba9
From ruby_1_8 branch:
...
* lib/test/unit.rb: rearranged documentation for RDoc's sake.
* lib/matrix.rb: improved documentation.
* lib/net/http.rb: slight documentation formatting improvement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-01 09:27:17 +00:00
akr
4d1dafdd95
* lib/open-uri.rb (OpenURI::Buffer#<<): make a tempfile binmode.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-31 20:33:33 +00:00
akr
192eb734bf
lib/open-uri.rb (URI::Generic#find_proxy): warn HTTP_PROXY.
...
raise an errror on non-http proxy URI.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-31 18:11:55 +00:00
kou
976226b5de
* lib/rss/parser.rb (RSS::Parser): added @@default_parser. Used
...
XML parser became selectable.
* test/rss/test_parser.rb: added tests for RSS::Parser.default_parser.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-31 16:10:53 +00:00
nahi
06a45a663c
* lib/logger.rb: leading 0 padding of timestamp usec part.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-30 16:10:36 +00:00
dave
6dbf1140a4
Allow link: in Tidylinks
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-29 13:44:04 +00:00
aamine
784360a978
* lib/net/http.rb (Request#initialize): reject only when a path is empty. [ruby-dev:22771]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-29 10:28:39 +00:00
why
877408163a
* ext/syck/rubyext.c: usec round-tripping skew. [ruby-core:2305]
...
* lib/yaml/rubytypes.rb: character Range now round-trips. [ruby-core:2306]
* test/yaml/test_yaml.rb: add Time and Range tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-28 16:59:00 +00:00
kou
46f6b20268
* lib/rss: rss/parser.rb is always required.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-28 15:19:56 +00:00
matz
8640f16308
* lib/rss: rss library imported. [ruby-dev:22726]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-28 03:46:13 +00:00
matz
51e6d9061d
* misc/ruby-mode.el: better support for general delimited
...
strings. [ruby-dev:22695]
* lib/weakref.rb (WeakRef::initialize): set up @__id before
calling "super".
* lib/delegate.rb (Delegator::initialize): preserve
singleton_method_added method [ruby-dev:22685]
* lib/delegate.rb (Delegator::initialize): use Kernel::raise
instead of mere raise. [ruby-dev:22681]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-27 06:05:04 +00:00
gotoyuzo
d82950f400
* lib/webrick/httputils.rb (WEBrick:HTTPUtils::parse_header):
...
refine regex for header-name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-26 17:31:53 +00:00
dave
c88e3627cf
Add one_page_html
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-25 20:19:16 +00:00
gotoyuzo
327182cada
* lib/webrick/httpserver.rb (WEBrick::HTTPServer#run): support
...
virtual host.
* lib/webrick/httpserver.rb (WEBrick::HTTPServer#virtual_host): add
new method to register virtual hosting server.
* lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server): add
new method to lookup virtual hosting server.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-24 16:48:52 +00:00
shugo
edddc36970
* lib/net/imap.rb (BEG_REGEXP): allow 8-bit characters in quoted strings for Novell GroupWise Internet Agent.
...
* lib/net/imap.rb (DATA_REGEXP): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-22 14:01:15 +00:00
eban
e06502f3a4
* lib/e2mmap.rb (VERSION): remove unnecessary version checking.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-22 09:37:24 +00:00
matz
002517aba8
* parse.y (newline_node): do not use NODE_NEWLINE node anymore,
...
use NEWLINE flag instead.
* ext/socket/socket.c (sock_gethostbyname): returns host if
ai_canonname is NULL. (ruby-bugs PR#1243)
* parse.y (block_append): update nd_end for "real" head node.
[ruby-list:39058]
* marshal.c (w_class): should not dump singleton class.
[ruby-dev:22631]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 16:47:23 +00:00
dave
cb3cf6cfea
:nodoc: the "Deprecated" module
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 15:11:02 +00:00
seki
27e4c2fc27
remove O_NONBLOCK
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 14:06:21 +00:00
seki
6010ca65fa
typo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 14:05:09 +00:00
shugo
a2f60e923e
* lib/net/imap.rb (envelope): allow NIL.
...
* lib/net/imap.rb (body): ditto.
* lib/net/imap.rb (number): ditto.
* lib/net/imap.rb (ensure_nz_number): show a detailed error
message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 09:01:23 +00:00
nobu
f3e0252e5e
* lib/mkmf.rb (merge_libs): squeeze successive same libraries.
...
[ruby-dev:22652]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 07:44:24 +00:00
nobu
b89f4520e5
* lib/base64.rb: enclosed in a module. [ruby-core:02285]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-21 07:10:41 +00:00
dave
fb24225154
Tidy benchmark.rb documentation a tad
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-20 06:20:59 +00:00
dave
66186dd081
Document base64
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-20 05:44:56 +00:00
dave
e10e26d329
RDoc abbrev
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-20 05:27:23 +00:00
dave
f8c7b41165
Document lib/English. Add top-level aliases to rdoc html output
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-20 05:04:31 +00:00
eban
939e7877d3
* lib/rdoc/parsers/parse_c.rb: escape '{' and '}' to avoid warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-19 14:05:55 +00:00
matz
22c005569b
* variable.c (rb_set_class_path): do not set path if
...
* lib/cgi.rb (CGI::QueryExtension): give extended string, not a
delegater object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-19 09:19:31 +00:00
tadf
720a23df0a
synchronized with date2 3.5.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-18 22:01:12 +00:00
nahi
290034fde8
* lib/soap/wsdlDriver.rb, lib/wsdl/soap/operation.rb: add support of
...
"parts" attribute of soap:body element in WSDL.
* lib/wsdl/xmlSchema/schema.rb: friendly warning message for
simpleType element which is not supported for now.
* test/wsdl/soap/{soapbodyparts.wsdl,test_soapbodyparts.wsdl}: new
files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-18 11:10:18 +00:00
usa
f9c2dcec4e
check ArgumentError by Time.at(-1) instead of by test itself.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-17 13:13:42 +00:00
usa
3dea3d810f
* lib/test.rb (test_rfc2822, test_rfc3339, test_encode_xmlschema):
...
should not expect that all platforms handle negative time_t value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-17 12:51:39 +00:00
matz
6760a5ed9f
* parse.y (primary): allow no "when" case. [ruby-dev:22578]
...
* ruby.h (rb_class_of): reduce branch. [ruby-dev:22577]
* ruby.h (rb_type): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-13 05:48:59 +00:00
nobu
47c7c5bac6
* lib/test/unit/ui/testrunnerutilities.rb (TestRunnerUtilities):
...
moved run method which allows output level. [ruby-dev:22554]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-13 05:27:24 +00:00
dave
84c0dcfca2
Display full name in class list
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-12 19:32:24 +00:00
dave
c8b7862e86
Checked in wrong version... :(
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-12 16:10:52 +00:00
dave
6cea9bc904
Try to use DESTDIR when installing
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-12 16:06:35 +00:00
matz
a739d26d0a
* file.c (test_wr, test_ww): New functions implementing new
...
methods (File::world_readable?, File::world_writable?).
* file.c (S_IRUGO, S_IGUGO): New macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-12 13:34:26 +00:00
dave
a1d3a8e861
Add explicit line breaks in method signatures for ri. Fixup some comments in object.c. Support changes comments for "in xxx.c"
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-12 03:11:25 +00:00
dave
b4d94277bb
Add HTML formatter to ri
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-11 17:34:05 +00:00
dave
60c8435e1f
ri now accepts options via RI environment variable
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-10 17:10:19 +00:00
nobu
482b9c2ce7
* configure.in (LIBPATHFLAG, RPATHFLAG): enclose paths with single
...
quotes. [ruby-dev:22564]
* lib/mkmf.rb (libpathflag): do not enclose with quotes always.
* {bcc32,win32,wince}/Makefile.sub (LIBPATHFLAG): quoted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-10 14:01:50 +00:00
nahi
f34ce620a7
* lib/test/unit/collector/dir.rb: do not ignore exceptions(LoadError
...
and SystemExitError) while loading a testcase. smell of bug.
* test/testunit/collector/test_dir.rb: add new test of the LoadError.
* test/drb/{test_drbssl.rb,test_drbunix.rb}: do not define testcase if
openssl is not installed.
* test/testunit/collector/test_dir.rb: assert_raises -> assert_raise.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-09 04:26:05 +00:00
nobu
bafe6d8504
* ext/extmk.rb (extmake): should not reduce necessary libraries.
...
[ruby-dev:22440]
* lib/mkmf.rb (merge_libs): merge libraries according to
dependency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-09 02:20:28 +00:00
nobu
6f69b2b00a
* lib/mkmf.rb (libpathflag): use single quotes. [ruby-dev:22440]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-09 01:05:27 +00:00
gotoyuzo
250cfdc0aa
* lib/webrick/cgi.rb (WEBrick::CGI#initialize): should create
...
@config[:Logger] if it was not given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-07 19:37:36 +00:00
aamine
7050611cf9
* lib/net/http.rb (HTTPHeader#content_length): should return nil unless header exists. [ruby-dev:22519]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-07 11:42:21 +00:00
akr
6abca35457
fix typos.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-07 11:31:21 +00:00
nahi
cd97e6e333
* lib/soap/{attachment.rb,mimemessage.rb}: added from soap4r/1.5.2.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-07 05:28:02 +00:00
dave
305cc5d2d9
Fix problem with agreesive name matching (see ChangeLog)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-07 04:05:25 +00:00
nahi
796ca6f201
* lib/debug.rb: revert command parse regexps. [ruby-list:39014] by
...
Shirai,Kaoru.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-07 03:42:00 +00:00
dave
0ea74ce4e7
Check for shebang line in file that would otherwise be treated as plain text
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-06 23:26:42 +00:00
nahi
77cb3aeba1
* lib/logger.rb(Logger#msg2str): no special treatment for the object
...
which responds to :to_str.
* lib/logger.rb(LogDevice#initialize): remove type checking if the
given object is a String. Kernel.open handles it correctly.
* test/logger/test_logger.rb: follow above change (ArgumentError ->
TypeError.)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-06 11:55:08 +00:00
dave
96ff9b04c1
Split out ri display code and make pluggable
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-06 05:59:31 +00:00
nahi
ff1b89a96d
* import soap4r/1.5.2;
...
* lib/soap/{attachment.rb,baseData.rb,encodingstyle/soapHandler.rb}:
introduce SOAPExternalReference class as a referenct to SOAPEnvelope
external content.
* lib/soap/{attachment.rb,mimemessage.rb}: great SwA (SOAP messages
with Attachments) support code by Jamie Herre.
* lib/soap/{element.rb,marshal.rb,parser.rb,processor.rb,
streamHandler.rb,wsdlDriver.rb}: SwA support.
* lib/soap/rpc/{cgistub.rb,driver.rb,element.rb,proxy.rb,router.rb,
soaplet.rb}: SwA support and refactoring.
* lib/soap/generator.rb, lib/soap/mapping/mapping.rb: follow
SOAPReference#initialize signature change.
* lib/soap/mapping/factory.rb: deleted unused methods.
* lib/soap/mapping/rubytypeFactory.rb: do no ignore case while xsi:type
string <-> Ruby class name matching.
* lib/xsd/datatypes.rb: check the smallest positive non-zero
single-precision float exactly instead of packing with "f".
[ruby-talk:88822]
* test/soap/test_basetype.rb, test/xsd/test_xsd.rb: use 1.402e-45, not
1.4e-45. 1.4e-45 is smaller than 2 ** -149...
* test/soap/test_basetype.rb, test/soap/marshal/test_marshal.rb,
test/xsd/test_xsd.rb: use "(-1.0 / (1.0 / 0.0))" instead of "-0.0".
* test/soap/test_streamhandler.rb: revert to the previous test that
warns "basic_auth unsupported under net/http".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-06 02:20:51 +00:00
dave
1b31d09edd
Add RDoc to build. Add --ri-system to RDoc
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-05 21:48:16 +00:00
gsinclair
51826a7b81
* lib/logger.rb: enhanced documentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-05 13:33:48 +00:00
dave
7336cf5424
Add --ri-system option
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-05 04:52:50 +00:00
usa
d110f97055
* lib/mkmf.rb (create_makefile): remove duplicated object files
...
from $objs on DOSISH platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-04 16:48:45 +00:00
matz
59dbfa3e4c
* dir.c: merge tuning from H.Yamamoto <ocean@m2.ccsnet.ne.jp>.
...
[ruby-dev:22476]
* io.c (argf_eof): ARGF.eof? should not have any side effect.
[ruby-dev:22469]
* io.c (argf_each_byte): should return self. [ruby-dev:22465]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-02 16:21:26 +00:00
dave
88c127c19b
Finish documenting internal stuff. See Changelog for other details
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-01-02 06:01:12 +00:00
gsinclair
bd45695886
* lib/pathname.rb: Corrected small coding error.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-31 06:09:22 +00:00
gsinclair
29b7f2efca
* lib/pathname.rb: Completed documentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-31 05:47:45 +00:00
dave
f5b7214548
Make file in '// in sss.c' relative
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-31 02:24:10 +00:00
dave
e9a7fd1c92
Fix problem with private alias to public method
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-31 02:21:07 +00:00
dave
349f4e7db7
Add RDoc for kernel functions, and tidy up
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-30 16:38:32 +00:00
gsinclair
5e6d81e717
Re-applied revision 1.21 as its changes were lost on the way to 1.22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-30 10:13:54 +00:00
dave
5b76f13a89
Fix problem when class and method names the same
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-30 03:33:35 +00:00
dave
e9b667daef
Fix HTML generated for .chm post-processing
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-30 03:10:30 +00:00
dave
1da4596b0f
Fix parse problem with complex yields
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-29 23:38:09 +00:00
gsinclair
db93a78e63
* lib/pathname.rb: Added documentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-29 22:31:55 +00:00
aamine
ef70baa40a
* lib/net/http.rb (GenericRequest#initialize): check if path begins with '/'.
...
* lib/net/http.rb: def m( arg ) -> def m(arg)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-29 11:08:47 +00:00