Commit graph

1799 commits

Author SHA1 Message Date
matz
dafff6db59 * lib/rdoc/ri/ri_formatter.rb (RI::TextFormatter::wrap): removed
space before argument parenthesis.  [ruby-talk:183630]

* ruby.1: a clarification patch from David Lutterkort
  <dlutter at redhat.com>.  [ruby-core:7508]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-11 08:27:43 +00:00
matz
6834f57ba0 * lib/rdoc/ri/ri_paths.rb (RI::Paths): adding paths from rubygems
directories.  a patch from Eric Hodel <drbrain at segment7.net>.
  [ruby-core:07423]

* eval.c (rb_thread_fd_writable): should not re-schedule output
  from KILLED thread (must be error printing).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-03-03 17:39:28 +00:00
ocean
0c344f2b59 * lib/rdoc/parsers/parse_rb.rb (read_escape): could not handle /\^/.
merged Mr. Ishizuka's lib/irb/ruby-lex.rb 's patch rev 1.29.
  [ruby-talk:181631] [ruby-dev:28404]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-28 15:27:24 +00:00
usa
a0d7cc1b8d * lib/drb/extservm.rb (invoke_service_command): cannot invoke command
if command name is quoted on mswin32. [ruby-dev:28400]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-28 00:34:05 +00:00
matz
80914afa47 * lib/rational.rb (Integer::gcd): small typo fix. [ruby-core:07395]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-20 04:13:10 +00:00
matz
c519ca9500 * lib/rational.rb (Integer::gcd): replaced by gcd4 in
[ruby-core:07390].  [ruby-core:07377]

* eval.c: initial value for block_unique must be 1.
  [ruby-talk:180420]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-20 00:55:49 +00:00
matz
729bafdf3a * lib/tracer.rb (Tracer::Tracer.add_filter): turn on tracer mode
only when caller() level size is one.  [ruby-core:07389]

* lib/rdoc/parsers/parse_rb.rb: need not to require "tracer".
  [ruby-core:07389]

* sample/rtags.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-18 15:38:56 +00:00
matz
c26dff9396 * lib/fileutils.rb (FileUtils::fu_world_writable): make it
private.  [ruby-core:07383]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-18 03:23:16 +00:00
matz
8ba6fcc70c * lib/tracer.rb: merged a minor clarification patch from Daniel
Berger <Daniel.Berger at qwest.com>.  [ruby-core:07376]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-17 15:26:34 +00:00
seki
44e28f3c6e add instance variable @insert_cmd to change <%='s behavior. (backported 1.15 - 1.16)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-12 15:09:25 +00:00
aamine
661268aba7 * lib/net/http.rb: imported from trunk, rev 1.129
* lib/net/http.rb (add_field, get_fields): keep 1.8.2 backward compatibility.
* lib/net/https.rb: imported from trunk, rev 1.3.
* lib/net/https.rb: #use_ssl? definition moved from net/http.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-05 09:56:34 +00:00
ocean
c44118b8a0 * lib/pstore.rb: should return default value if name is not found.
[ruby-core:7304]

* lib/pstore.rb: should raise PStore::Error if not in transaction.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-02-05 05:28:11 +00:00
ocean
40f9da0873 * lib/rdoc/usage.rb: support "a:0:33" style caller[-1]. In this case
file name is "a:0". I don't know this really happens though...
  [ruby-Bugs:3344]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-27 22:58:07 +00:00
nobu
26dd7b1d68 * lib/test/unit/autorunner.rb (process_args): ignore arguments after
'--' so that test scripts can handle them.  fixed: [ruby-dev:28258]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-22 14:28:02 +00:00
aamine
52c0bca7fb * lib/fileutils.rb (mv): should remove file after copying. [ruby-dev:28223]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-19 13:22:13 +00:00
ocean
1383c1eb2d * lib/rdoc/diagram.rb:
- properly quote bare element attributes
    - terminates dangling elements (e.g. <img>, <br>, <link>, etc)
    - converts "CVS" to the more HTML-friendly acronym element
    - adds missing type attributes to style elements

  based on Paul Duncan's patch <pabs@pablotron.org> [ruby-core:7028]

* lib/rdoc/generators/html_generator.rb: ditto.
* lib/rdoc/generators/template/html/hefss.rb: ditto.
* lib/rdoc/generators/template/html/html.rb: ditto.
* lib/rdoc/generators/template/html/kilmer.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-13 10:27:52 +00:00
ocean
7e0fd1ecca * lib/yaml/rubytypes.rb (Fixnum): Bignum could not be loaded in
ruby 1.8.3/1.8.4. [ruby-core:6115]

* lib/yaml/rubytypes.rb (Numeric): Subclass of Numeric could not
  be dumped properly. [ruby-core:7047]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10 03:50:28 +00:00
ocean
9ee62cee66 * lib/yaml/rubytypes.rb (Symbol#yaml_new): YAML loading of quoted
Symbols broken. [ruby-Bugs:2535] (written by Aaron Schrab)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-10 03:05:40 +00:00
ocean
c16cbe386a * win32/Makefile.sub (OPTFLAGS): I have experienced trouble on y- flag,
(VisualC++6) so use -O2b2xg- if  $(MSC_VER) < 1400. [ruby-core:7040]

* lib/webrick/httpservlet/filehandler.rb: fixed typo. (Kero van Gelder)
  [ruby-core:7075]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-01-09 05:27:43 +00:00
ser
f8d68a2482 All of the tickets and issues mentioned in this log can be found at:
http://www.germane-software.com/projects/rexml/ticket/#

where '#' is the issue or ticket number.

* Fixes ticket:3 (Issue38 in Roundup.) However, this needs further testing.
* Fixed a couple of bugs in the SAX2 parser, plus a bunch of other changes I
  don't remember.
* More XPath ordering testing added
* Fixed the documentation WRT the raw mode of text nodes (ticket:4)
* Fixes roundup issue 43: substring-after bug.
  See: http://www.germane-software.com/cgi-bin/roundup/rexml/issue43
* Fixed issue44, Element#xpath
* Patch submitted by an anonymous doner to allow parsing of Tempfiles.  I was
  hoping that, by now, that whole Source thing would have been changed to use
  duck typing and avoid this sort of issue... but in the meantime, the patch
  has been applied.
* Fixes ticket:30, XPath default namespace bug.  The fix was provided
  by Lucas Nussbaum.
* Aliases #size to #length, as per zdennis's request.
* Fixes typo from previous commit
* Fixes ticket #32 (and adds a unit test)
* Merges a user-contributed patch for issue #40
* Changes Date, Version, and Copyright to upper case, to avoid conflicts with
  the Date class.
* Minor, yet incomplete, documentation changes.
* Resolves issue #34 (SAX parser change makes it impossible to parse IO feeds.)
* Moves parser.source.position() to parser.position()
* Improves the build script (less work for me to package a distribution)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-30 16:35:45 +00:00
matz
ccf3fff6ed * eval.c (ev_const_get): fixed a bug in constant reference during
instance_eval.  [yarv-dev:707]

* eval.c (ev_const_defined): ditto.

* lib/yaml.rb (YAML::add_domain_type): typo fixed.  a patch from
  Joel VanderWerf <vjoel at path.berkeley.edu>.
  [ruby-talk:165285] [ruby-core:6995]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-26 08:18:33 +00:00
akr
3144d2a492 * lib/pathname.rb (test_kernel_open): use File.identical?.
[ruby-talk:171804]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-21 05:54:08 +00:00
matz
e25feba67b * signal.c (Init_signal): revert C++ style comment.
[ruby-dev:28041]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-15 15:57:06 +00:00
(no author)
0ce7e7a99a This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-11 14:59:50 +00:00
nobu
c9e950b7b8 * lib/rexml/encoding.rb (encoding=): give priority to particular
conversion to iconv.  [ruby-core:06520]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-09 14:31:47 +00:00
ocean
dc751e5860 * lib/mkmf.rb (create_makefile): should not change sodir with
dir.gsub!. (bccwin32 failed to install third party exntesions)
  [ruby-dev:27834]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-28 00:22:53 +00:00
nahi
182a95f96b * lib/wsdl/xmlSchema/complexContent.rb: missing
ComplexContent#elementformdefault method.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-26 16:01:31 +00:00
nobu
d1f1aa820f * lib/optparse.rb: match incomplete (in current enconding) multibyte
string.  http://inamode6.tokuhirom.dnsalias.org/show/1551


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-22 14:53:16 +00:00
ocean
9958d9509f * lib/fileutils.rb (FileUtils::ln): ln documentation fix.
[ruby-core:06661]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-20 01:23:41 +00:00
matz
b30b46d139 * lib/find.rb (Find::find): should not ignore symbolic links to
non-existing files.  [ruby-talk:165866]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-15 14:50:14 +00:00
ocean
ed5aa48436 * lib/drb/ssl.rb (DRb::SSLConfig#accept): fixed typo.
[ruby-dev:27560] [ruby-core:4627]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-08 06:42:15 +00:00
ocean
394d995569 * lib/yaml.rb: removed :nodoc: to generate Kernel doc. [ruby-core:6324]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-06 15:09:06 +00:00
matz
90509da425 * eval.c (rb_call_super): should call method_missing if super is
called from Kernel method.

* eval.c (exec_under): frame during eval should preserve external
  information.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-01 13:45:00 +00:00
gotoyuzo
da8a797335 * lib/webrick/httpservlet/cgihandler.rb
(WEBrick::HTTPServlet::CGIHandler#do_GET): the value of Set-Cookie:
  header field should be splited into each cookie.  [ruby-Bugs:2199]

* lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookie): new method
  to parse the value of Set-Cookie: header field.

* test/webrick/test_cookie.rb, test/webrick/test_cgi.rb,
  test/webrick/webrick.cgi: add some test for cookie.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-30 20:40:05 +00:00
matz
673dcd5ae2 * 1.8.3 preview1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-28 17:08:03 +00:00
matz
b66202465a * string.c (scan_once): wrong condition to use mbclen2().
[ruby-dev:27535]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-27 08:19:20 +00:00
matz
7514584b70 * lib/rational.rb: applied documentation patch from Gavin Sinclair
<gsinclair@gmail.com>.  [ruby-core:06364]

* lib/irb.rb (IRB::Irb::eval_input): handle prompts with newlines
  in irb auto-indentation mode.  [ruby-core:06358]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-25 06:38:26 +00:00
nobu
e8871610c9 * lib/rdoc/markup/simple_markup.rb (SM::SimpleMarkup::LABEL_LIST_RE):
reduce redundant backtrack.  [ruby-talk:161771]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-24 17:13:42 +00:00
seki
ee59278a23 RDoc documentation from Eric Hodel <Drbrain@segment7.net> added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-24 15:31:30 +00:00
nobu
2e4c479a6b * ext/extmk.rb, lib/mkmf.rb (with_config): support --with-extension
options.  [ruby-dev:27449]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-22 14:55:07 +00:00
ocean
e4a7a42fd5 * lib/mkmf.rb (create_makefile): Borland make seems not to allow
empty dependency list. If this change is not good, please correct
  it.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-20 00:42:43 +00:00
nobu
55787e8271 * lib/mkmf.rb (create_makefile): get rid of a restriction
of Borland make.  fixed: [ruby-dev:27460]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-19 22:56:38 +00:00
nobu
5d26338a80 * lib/mkmf.rb (create_makefile): do not create unnecessary empty
directories. fixed: [ruby-dev:27451]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-19 14:58:57 +00:00
seki
a65756ce9f check remote hash tuple
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-16 05:36:26 +00:00
gotoyuzo
773b94b087 * lib/webrick/config.rb (Config::FileHandler): :UserDir should be nil.
It is harmful to permit the access to ~/public_html by default.
  suggested by Hiroyuki Iwatsuki.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-14 07:58:39 +00:00
matz
aefba51a4a * lib/cgi.rb (CGI::Cookie::parse): Cookies from Nokia devices may
not be parsed correctly.  A patch from August Z. Flatby
  (augustzf) in [ruby-Patches-2595].  [ruby-core:06183]

* pack.c (EXTEND16): [ruby-dev:27383]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-07 01:01:22 +00:00
gotoyuzo
94e5e30529 * lib/xmlrpc/server.rb (XMLRPC::Server#initialize): should mount the
servlet on "/".


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-04 19:46:35 +00:00
gotoyuzo
a32094a896 * lib/xmlrpc/server.rb (XMLRPC::Server#serve): delete wrong call
of "join".


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-10-04 19:09:56 +00:00
matz
74e81f5ed7 * lib/delegate.rb: document update from James Edward Gray II
<james@grayproductions.net>.  [ruby-core:06027]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-28 14:23:24 +00:00
gotoyuzo
74b0a54e38 * lib/webrick/cgi.rb (WEBrick::CGI#start): req.query_string should
refer the value of QUERY_STRING. [ruby-list:41186]

* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#query_string=):
  add new method.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-09-28 06:16:59 +00:00