Commit graph

7022 commits

Author SHA1 Message Date
dave
4eda6b6057 Remove leading ./ from filenames so that cross references work OK
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-04 23:19:58 +00:00
aamine
ad07498d94 * 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/branches/ruby_1_8@6087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-04 11:34:24 +00:00
akr
36275950a3 comments modified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-04 07:57:39 +00:00
eban
fcc5dff1d2 2004-04-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-04 05:08:18 +00:00
dave
c2e07a5219 Allow multiple --exclude options to RDoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-04 05:03:00 +00:00
why
1ba2a61687 * ext/syck/syck.h: version 0.43.
* 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]

* ext/syck/bytecode.c: turn off default implicit typing.

* ext/syck/implicit.c: detect base60 integers.

* ext/syck/rubyext.c: handle base60, as well as hex and octal
  with commas.  implicit typing of ruby symbols.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-03 08:13:22 +00:00
eban
7c67e3f978 2004-04-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-03 02:33:54 +00:00
ser
e04fdbb500 * 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/branches/ruby_1_8@6081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-03 02:22:38 +00:00
eban
293efd9fc0 2004-04-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 03:58:55 +00:00
ser
0bb5cc28e4 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/branches/ruby_1_8@6073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 03:57:03 +00:00
ser
7a07ba45a0 REXML changes backported from the 1.9 branch:
* Minor source documentation changes
* Changes to the pretty-printing code, including the addition of the word-
  wrap submission.
* Bug fix for missing quotations in NOTATION DTD items
* Bug fixes and improvements to whitespace handling in text nodes
* Refactoring and bug fixes in encoding support
* Minor speed optimizations in the core parser
* Bug fixes in the SAX2 parserthe core parser
* Copyright fixes
* Version bump to REXML 3.0.0
* A change that caused speed degredation has been reversed
* Addition of a value=() method in Text, for replacing the contents of
  a text node
* Fixed the document order of the descendant-or-self axis in XPath


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 03:26:19 +00:00
dave
354d68f80b Fix parse bug with toplevel methods. Allow RDoc in =begin rdoc/=end comments (experimental)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-02 01:20:58 +00:00
nahi
88e1120249 2004-04-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-01 11:41:21 +00:00
akr
12ac007a26 add test_symmetry_bignum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-01 11:32:17 +00:00
nahi
68a12b55fc * 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.

        * lib/xsd/datatypes.rb: check the smallest positive non-zero
          single-precision float exactly instead of packing with "f".
          [ruby-talk:88822]

        * 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/branches/ruby_1_8@6062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-01 11:02:34 +00:00
akr
86203a88ae * time.c (year_leap_p): new function.
(timegm_noleapsecond): ditto.
  (search_time_t): use timegm_noleapsecond instead of
  mktime for first guess.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-31 10:27:58 +00:00
nobu
45842e2536 2004-03-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-31 03:05:48 +00:00
nobu
33f89dbaf8 * intern.h: provide proper prototypes. [ruby-core:02724]
* ruby.h: missing.h is now prerequisite to intern.h.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-31 03:05:22 +00:00
nobu
fbbdeb9b57 * 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/branches/ruby_1_8@6053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-31 02:52:44 +00:00
akr
bbf04edb38 * time.c (search_time_t): limit guess range by mktime if it is
available.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-30 11:41:39 +00:00
akr
b36b50a83c fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-28 14:10:39 +00:00
nobu
c59b106740 2004-03-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-28 12:12:31 +00:00
aamine
0f158ab387 * lib/net/pop.rb (auth): failed when account/password include "%". [ruby-talk:95933]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-28 05:17:13 +00:00
akr
4e38b50c5e * (lib/open-uri.rb): permit extra semicolon in content-type field.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-27 12:43:02 +00:00
eban
7b45634ae1 2004-03-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-27 12:18:25 +00:00
akr
3184af1a89 * (lib/pp.rb, lib/prettyprint.rb): define seplist in PP::PPMethods
instead of PrettyPrint.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-27 01:51:37 +00:00
dave
4efc91fbfa Add --version option to ri
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 14:19:22 +00:00
eban
f8271aa3ab 2004-03-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 02:01:38 +00:00
dave
3ae6e3ccbf Add the --list-names option
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 19:17:42 +00:00
dave
aa8658f7b1 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/branches/ruby_1_8@6019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 18:59:27 +00:00
dave
05473329e4 Get --one-page working with C code
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 17:01:11 +00:00
dave
a37f3aaae1 Move "y" documentation to correct place
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 16:52:49 +00:00
gsinclair
30d4c49b46 * 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.
 (All backported from 1.9)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 12:20:32 +00:00
nobu
87d0ac02d4 2004-03-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 09:50:09 +00:00
nobu
6d8b7691a7 * lib/mkmf.rb ($ruby, $topdir, $hdrdir): should not be affected by
DESTDIR after installed.

* lib/mkmf.rb (RUBY): / is not recognized as path separator on
  nmake/bmake. [ruby-list:39388]

* lib/mkmf.rb (init_mkmf): $INCFLAGS also should be lazy-evaluated.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 09:48:31 +00:00
dave
c14a860044 Don't be as eager to invent classes to document
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 03:35:24 +00:00
dave
45eeeb1691 Allow templates to be specified outside the RDoc tree
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 02:14:18 +00:00
eban
6c3676442a 2004-03-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-22 07:20:43 +00:00
eban
7912392ceb * ruby.1: add -width option to .Bl for old groff.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-22 07:20:24 +00:00
eban
83fe340d25 2004-03-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 12:23:10 +00:00
keiju
62f061a2cd * lib/shell/*: bug fix for Shell#system(command_line_string).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 12:21:11 +00:00
dblack
8e4dc2626f lib/scanf.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-20 11:59:54 +00:00
dblack
dbbb3e1239 Backported 1.9 branch modifications/corrections to 1.8 branch
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-20 11:57:10 +00:00
dave
24f368db63 Force RDoc html background to white
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-20 06:26:57 +00:00
eban
84e6e2c034 2004-03-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-20 03:29:48 +00:00
tadf
87f9d9e0c1 synchronized with date2 3.6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-20 00:56:08 +00:00
usa
55a14a8116 2004-03-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-19 09:38:02 +00:00
matz
a8646bdce1 * io.c (rb_io_sync): need not to check writable. [ruby-core:02674]
* eval.c (proc_eq): avoid false positive by using scope and
  dyna_vars.  no longer use frame.uniq.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-19 07:14:56 +00:00
seki
e9d04752f6 backport drb.rb 1.16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-18 12:45:38 +00:00
nobu
6d88a0884f 2004-03-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-17 20:47:25 +00:00