sqlpostgres 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile +8 -0
- data/Gemfile.lock +22 -0
- data/LICENSE.md +23 -0
- data/README.rdoc +59 -0
- data/Rakefile +32 -0
- data/VERSION +1 -0
- data/doc/BUGS +2 -0
- data/doc/examples/README +6 -0
- data/doc/examples/connection.rb +16 -0
- data/doc/examples/connection_auto.rb +22 -0
- data/doc/examples/connection_ctor.rb +18 -0
- data/doc/examples/connection_default.rb +15 -0
- data/doc/examples/connection_exec.rb +18 -0
- data/doc/examples/connection_manual.rb +12 -0
- data/doc/examples/connection_wrapped_new.rb +13 -0
- data/doc/examples/connection_wrapped_open.rb +13 -0
- data/doc/examples/cursor.rb +38 -0
- data/doc/examples/include_module.rb +9 -0
- data/doc/examples/include_module2.rb +12 -0
- data/doc/examples/insert.rb +30 -0
- data/doc/examples/insert2.rb +36 -0
- data/doc/examples/insert_bytea.rb +16 -0
- data/doc/examples/insert_bytea_array.rb +17 -0
- data/doc/examples/insert_default_values.rb +16 -0
- data/doc/examples/insert_insert.rb +16 -0
- data/doc/examples/insert_insert_default.rb +16 -0
- data/doc/examples/insert_insert_select.rb +20 -0
- data/doc/examples/insert_select.rb +20 -0
- data/doc/examples/interval.rb +17 -0
- data/doc/examples/savepoint.rb +38 -0
- data/doc/examples/select.rb +33 -0
- data/doc/examples/select2.rb +36 -0
- data/doc/examples/select_cross_join.rb +18 -0
- data/doc/examples/select_distinct.rb +18 -0
- data/doc/examples/select_distinct_on +19 -0
- data/doc/examples/select_for_update.rb +18 -0
- data/doc/examples/select_from.rb +17 -0
- data/doc/examples/select_from_subselect.rb +20 -0
- data/doc/examples/select_group_by.rb +19 -0
- data/doc/examples/select_having.rb +20 -0
- data/doc/examples/select_join_on.rb +18 -0
- data/doc/examples/select_join_using.rb +18 -0
- data/doc/examples/select_limit.rb +19 -0
- data/doc/examples/select_natural_join.rb +18 -0
- data/doc/examples/select_offset.rb +19 -0
- data/doc/examples/select_order_by.rb +20 -0
- data/doc/examples/select_select.rb +30 -0
- data/doc/examples/select_select_alias.rb +30 -0
- data/doc/examples/select_select_expression.rb +31 -0
- data/doc/examples/select_select_literal.rb +24 -0
- data/doc/examples/select_union.rb +21 -0
- data/doc/examples/select_where_array.rb +18 -0
- data/doc/examples/select_where_in.rb +18 -0
- data/doc/examples/select_where_string.rb +18 -0
- data/doc/examples/simple.rb +34 -0
- data/doc/examples/transaction.rb +30 -0
- data/doc/examples/transaction_abort.rb +30 -0
- data/doc/examples/transaction_commit.rb +34 -0
- data/doc/examples/translate_substitute_values.rb +17 -0
- data/doc/examples/update.rb +32 -0
- data/doc/examples/update2.rb +44 -0
- data/doc/examples/update_only.rb +17 -0
- data/doc/examples/update_set.rb +17 -0
- data/doc/examples/update_set_array.rb +16 -0
- data/doc/examples/update_set_bytea.rb +16 -0
- data/doc/examples/update_set_expression.rb +16 -0
- data/doc/examples/update_set_subselect.rb +20 -0
- data/doc/examples/update_where.rb +17 -0
- data/doc/examples/use_prefix.rb +8 -0
- data/doc/examples/use_prefix2.rb +11 -0
- data/doc/index.html +31 -0
- data/doc/insertexamples.rb +9 -0
- data/doc/makemanual +4 -0
- data/doc/makerdoc +5 -0
- data/doc/manual.dbk +622 -0
- data/lib/sqlpostgres/Connection.rb +198 -0
- data/lib/sqlpostgres/Cursor.rb +157 -0
- data/lib/sqlpostgres/Delete.rb +67 -0
- data/lib/sqlpostgres/Exceptions.rb +15 -0
- data/lib/sqlpostgres/Insert.rb +279 -0
- data/lib/sqlpostgres/NullConnection.rb +22 -0
- data/lib/sqlpostgres/PgBit.rb +73 -0
- data/lib/sqlpostgres/PgBox.rb +37 -0
- data/lib/sqlpostgres/PgCidr.rb +21 -0
- data/lib/sqlpostgres/PgCircle.rb +75 -0
- data/lib/sqlpostgres/PgInet.rb +21 -0
- data/lib/sqlpostgres/PgInterval.rb +208 -0
- data/lib/sqlpostgres/PgLineSegment.rb +37 -0
- data/lib/sqlpostgres/PgMacAddr.rb +21 -0
- data/lib/sqlpostgres/PgPath.rb +64 -0
- data/lib/sqlpostgres/PgPoint.rb +65 -0
- data/lib/sqlpostgres/PgPolygon.rb +56 -0
- data/lib/sqlpostgres/PgTime.rb +77 -0
- data/lib/sqlpostgres/PgTimeWithTimeZone.rb +98 -0
- data/lib/sqlpostgres/PgTimestamp.rb +93 -0
- data/lib/sqlpostgres/PgTwoPoints.rb +54 -0
- data/lib/sqlpostgres/PgType.rb +34 -0
- data/lib/sqlpostgres/PgWrapper.rb +41 -0
- data/lib/sqlpostgres/Savepoint.rb +98 -0
- data/lib/sqlpostgres/Select.rb +855 -0
- data/lib/sqlpostgres/Transaction.rb +120 -0
- data/lib/sqlpostgres/Translate.rb +436 -0
- data/lib/sqlpostgres/Update.rb +188 -0
- data/lib/sqlpostgres.rb +67 -0
- data/test/Assert.rb +72 -0
- data/test/Connection.test.rb +246 -0
- data/test/Cursor.test.rb +190 -0
- data/test/Delete.test.rb +68 -0
- data/test/Insert.test.rb +123 -0
- data/test/MockPGconn.rb +62 -0
- data/test/NullConnection.test.rb +32 -0
- data/test/PgBit.test.rb +98 -0
- data/test/PgBox.test.rb +108 -0
- data/test/PgCidr.test.rb +61 -0
- data/test/PgCircle.test.rb +107 -0
- data/test/PgInet.test.rb +61 -0
- data/test/PgInterval.test.rb +180 -0
- data/test/PgLineSegment.test.rb +108 -0
- data/test/PgMacAddr.test.rb +61 -0
- data/test/PgPath.test.rb +106 -0
- data/test/PgPoint.test.rb +100 -0
- data/test/PgPolygon.test.rb +95 -0
- data/test/PgTime.test.rb +120 -0
- data/test/PgTimeWithTimeZone.test.rb +117 -0
- data/test/PgTimestamp.test.rb +134 -0
- data/test/RandomThings.rb +25 -0
- data/test/Savepoint.test.rb +286 -0
- data/test/Select.test.rb +930 -0
- data/test/Test.rb +62 -0
- data/test/TestConfig.rb +21 -0
- data/test/TestSetup.rb +13 -0
- data/test/TestUtil.rb +92 -0
- data/test/Transaction.test.rb +275 -0
- data/test/Translate.test.rb +354 -0
- data/test/Update.test.rb +227 -0
- data/test/roundtrip.test.rb +565 -0
- data/test/test +34 -0
- data/tools/exampleinserter/ExampleInserter.rb +177 -0
- data/tools/rdoc/ChangeLog +796 -0
- data/tools/rdoc/EXAMPLE.rb +48 -0
- data/tools/rdoc/MANIFEST +58 -0
- data/tools/rdoc/Makefile +27 -0
- data/tools/rdoc/NEW_FEATURES +226 -0
- data/tools/rdoc/README +390 -0
- data/tools/rdoc/ToDo +6 -0
- data/tools/rdoc/contrib/Index +6 -0
- data/tools/rdoc/contrib/xslfo/ChangeLog +181 -0
- data/tools/rdoc/contrib/xslfo/README +106 -0
- data/tools/rdoc/contrib/xslfo/TODO +10 -0
- data/tools/rdoc/contrib/xslfo/convert.xsl +151 -0
- data/tools/rdoc/contrib/xslfo/demo/README +21 -0
- data/tools/rdoc/contrib/xslfo/demo/rdocfo +99 -0
- data/tools/rdoc/contrib/xslfo/fcm.xsl +54 -0
- data/tools/rdoc/contrib/xslfo/files.xsl +62 -0
- data/tools/rdoc/contrib/xslfo/labeled-lists.xsl +66 -0
- data/tools/rdoc/contrib/xslfo/lists.xsl +44 -0
- data/tools/rdoc/contrib/xslfo/modules.xsl +152 -0
- data/tools/rdoc/contrib/xslfo/rdoc.xsl +75 -0
- data/tools/rdoc/contrib/xslfo/source.xsl +66 -0
- data/tools/rdoc/contrib/xslfo/styles.xsl +69 -0
- data/tools/rdoc/contrib/xslfo/tables.xsl +67 -0
- data/tools/rdoc/contrib/xslfo/utils.xsl +21 -0
- data/tools/rdoc/debian/changelog +33 -0
- data/tools/rdoc/debian/compat +1 -0
- data/tools/rdoc/debian/control +20 -0
- data/tools/rdoc/debian/copyright +10 -0
- data/tools/rdoc/debian/dirs +2 -0
- data/tools/rdoc/debian/docs +2 -0
- data/tools/rdoc/debian/rdoc.1 +252 -0
- data/tools/rdoc/debian/rdoc.manpages +1 -0
- data/tools/rdoc/debian/rdoc.pod +149 -0
- data/tools/rdoc/debian/rules +9 -0
- data/tools/rdoc/dot/dot.rb +255 -0
- data/tools/rdoc/etc/rdoc.dtd +203 -0
- data/tools/rdoc/install.rb +137 -0
- data/tools/rdoc/markup/install.rb +43 -0
- data/tools/rdoc/markup/sample/sample.rb +42 -0
- data/tools/rdoc/markup/simple_markup/fragments.rb +323 -0
- data/tools/rdoc/markup/simple_markup/inline.rb +348 -0
- data/tools/rdoc/markup/simple_markup/lines.rb +147 -0
- data/tools/rdoc/markup/simple_markup/preprocess.rb +68 -0
- data/tools/rdoc/markup/simple_markup/to_html.rb +281 -0
- data/tools/rdoc/markup/simple_markup.rb +474 -0
- data/tools/rdoc/markup/test/AllTests.rb +2 -0
- data/tools/rdoc/markup/test/TestInline.rb +151 -0
- data/tools/rdoc/markup/test/TestParse.rb +411 -0
- data/tools/rdoc/rdoc/code_objects.rb +536 -0
- data/tools/rdoc/rdoc/diagram.rb +331 -0
- data/tools/rdoc/rdoc/generators/chm_generator.rb +112 -0
- data/tools/rdoc/rdoc/generators/html_generator.rb +1268 -0
- data/tools/rdoc/rdoc/generators/template/chm/chm.rb +86 -0
- data/tools/rdoc/rdoc/generators/template/html/html.rb +705 -0
- data/tools/rdoc/rdoc/generators/template/html/kilmer.rb +377 -0
- data/tools/rdoc/rdoc/generators/template/xml/rdf.rb +110 -0
- data/tools/rdoc/rdoc/generators/template/xml/xml.rb +110 -0
- data/tools/rdoc/rdoc/generators/xml_generator.rb +130 -0
- data/tools/rdoc/rdoc/options.rb +451 -0
- data/tools/rdoc/rdoc/parsers/parse_c.rb +287 -0
- data/tools/rdoc/rdoc/parsers/parse_f95.rb +118 -0
- data/tools/rdoc/rdoc/parsers/parse_rb.rb +2311 -0
- data/tools/rdoc/rdoc/parsers/parse_simple.rb +37 -0
- data/tools/rdoc/rdoc/parsers/parserfactory.rb +75 -0
- data/tools/rdoc/rdoc/rdoc.rb +219 -0
- data/tools/rdoc/rdoc/template.rb +234 -0
- data/tools/rdoc/rdoc/tokenstream.rb +25 -0
- data/tools/rdoc/rdoc.rb +9 -0
- metadata +291 -0
|
@@ -0,0 +1,796 @@
|
|
|
1
|
+
2004 Wayne Conrad: Custom modification to allow one-line #** comments
|
|
2
|
+
|
|
3
|
+
2003-03-09 Dave Thomas <pragdave@wireless_5.local.thomases.com>
|
|
4
|
+
|
|
5
|
+
* install.rb: Fix problem where install script thought Darwin
|
|
6
|
+
was a Windows box.
|
|
7
|
+
|
|
8
|
+
2003-03-08 Dave Thomas <pragdave@wireless_5.local.thomases.com>
|
|
9
|
+
|
|
10
|
+
* markup/simple_markup/inline.rb: Undo experiment of 1/24 -
|
|
11
|
+
allowing additional characters breaks escaping of inline
|
|
12
|
+
sequences.
|
|
13
|
+
|
|
14
|
+
2003-02-27 Dave Thomas <pragdave@wireless_5.local.thomases.com>
|
|
15
|
+
|
|
16
|
+
* markup/sample/sample.rb: Forgot to change the sample when I
|
|
17
|
+
changed the interface. Thanks to Barrie Stott for
|
|
18
|
+
pointing this out.
|
|
19
|
+
|
|
20
|
+
2003-02-20 Dave Thomas <Dave@Thomases.com>
|
|
21
|
+
|
|
22
|
+
* markup/simple_markup/to_html.rb: Add smart quotes, but then
|
|
23
|
+
comment it out because many browsers seem not to support the
|
|
24
|
+
characters. Gie it a couple of months...
|
|
25
|
+
|
|
26
|
+
2003-02-19 Dave Thomas <pragdave@wireless_6.local.thomases.com>
|
|
27
|
+
|
|
28
|
+
* rdoc/parsers/parse_rb.rb: support :nodoc: for alias
|
|
29
|
+
|
|
30
|
+
2003-02-16 Dave Thomas <pragdave@thomases.com>
|
|
31
|
+
|
|
32
|
+
* rdoc/parsers/parse_rb.rb: support :nodoc" for attr and attr_xxx
|
|
33
|
+
|
|
34
|
+
2003-02-10 Dave Thomas <Dave@Thomases.com>
|
|
35
|
+
|
|
36
|
+
* rdoc/tgenerators/template/html.rb Fixup spacing if headlines
|
|
37
|
+
|
|
38
|
+
2003-02-05 Dave Thomas <Dave@Thomases.com>
|
|
39
|
+
|
|
40
|
+
* rdoc/parsers/parse_rb.rb: Generate better error for "class
|
|
41
|
+
fred".
|
|
42
|
+
|
|
43
|
+
Add Nathaniel Talbott's patch to preserve comments across
|
|
44
|
+
'private', 'protected', and 'public'.
|
|
45
|
+
|
|
46
|
+
2003-01-27 Dave Thomas <Dave@Thomases.com>
|
|
47
|
+
|
|
48
|
+
* rdoc/parsers/parse_rb.rb: Be cleverer about class << Constant,
|
|
49
|
+
correctly appending to an existing class if it can find one.
|
|
50
|
+
|
|
51
|
+
2003-01-27 Nobu Nokada <nobu.nokada@softhome.net>
|
|
52
|
+
|
|
53
|
+
* rdoc/parsers/parse_rb.rb:
|
|
54
|
+
- here document without terminator hangs rdoc up.
|
|
55
|
+
- should not truncate input content at __END__, it can appear\
|
|
56
|
+
in literals.
|
|
57
|
+
- anything after =end should be ignored.
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
2003-01-24 Dave Thomas <Dave@Thomases.com>
|
|
61
|
+
|
|
62
|
+
* rdoc/parsers/parse_rb.rb: Change handling of symbols. This now
|
|
63
|
+
strips off the leading ':', so that attributes now display as just
|
|
64
|
+
their names. This also fixes #673996 (private :name not working).
|
|
65
|
+
|
|
66
|
+
* markup/simple_markup/inline.rb: As an experiment, allow any
|
|
67
|
+
non-whitespace between *'s, +'s, and _'s, so that *thx1138* will
|
|
68
|
+
embolden the word, and _&^%&^%$_ will swear in italic.
|
|
69
|
+
|
|
70
|
+
2003-01-20 Dave Thomas <Dave@Thomases.com>
|
|
71
|
+
|
|
72
|
+
* rdoc/parsers/parse_c.rb: As a temporary move towards handling
|
|
73
|
+
commented out methods, we now ignore those whose rb_defines follow
|
|
74
|
+
a '//'. Also, be more liberal in the names of methods we recognize
|
|
75
|
+
|
|
76
|
+
* rdoc/parsers/parse_rb.rb: Now ignores class << <something>
|
|
77
|
+
unless <something> is 'self' _or_ the exact name of the enclosing class.
|
|
78
|
+
|
|
79
|
+
* rdoc/options.rb: Ensure help text goes to stdout.
|
|
80
|
+
|
|
81
|
+
2003-01-13 Dave Thomas <Dave@Thomases.com>
|
|
82
|
+
|
|
83
|
+
* (Changelog,README,NEW_FEATURE): Update spelling of show_hash and
|
|
84
|
+
inline_source to be show-hash and inline-source respectively
|
|
85
|
+
(thanks to Hugh Sasse for pointing these out)
|
|
86
|
+
|
|
87
|
+
2002-12-25 Dave Thomas <Dave@Thomases.com>
|
|
88
|
+
|
|
89
|
+
* rdoc/generators/html_generator.rb: Add support for aliases.
|
|
90
|
+
|
|
91
|
+
2002-12-23 Dave Thomas <Dave@Thomases.com>
|
|
92
|
+
|
|
93
|
+
* rdoc/parsers/parse_rb.rb: Add :args: method modifier
|
|
94
|
+
|
|
95
|
+
2002-12-17 Dave Thomas <Dave@Thomases.com>
|
|
96
|
+
|
|
97
|
+
* rdoc/generators/html_generator.rb: Add --include-line-numbers
|
|
98
|
+
command line option
|
|
99
|
+
|
|
100
|
+
2002-11-30 Matt Armstrong <matt@lickey.com>
|
|
101
|
+
|
|
102
|
+
* rdoc/parsers/parse_rb.rb
|
|
103
|
+
(RDoc::RubyParser::read_documentation_modifiers): don't
|
|
104
|
+
call sub! on nil.
|
|
105
|
+
|
|
106
|
+
2002-10-28 Dave Thomas <Dave@Thomases.com>
|
|
107
|
+
|
|
108
|
+
* rdoc/generators/template/html/html.rb (HEADER): Remove spurious
|
|
109
|
+
<html> tag
|
|
110
|
+
|
|
111
|
+
2002-10-21 Dave Thomas <Dave@Thomases.com>
|
|
112
|
+
|
|
113
|
+
* rdoc/parsers/parse_rb.rb: Expand tabs, and add the --tab-width
|
|
114
|
+
command line option.
|
|
115
|
+
|
|
116
|
+
2002-10-16 Dave Thomas <Dave@Thomases.com>
|
|
117
|
+
|
|
118
|
+
* rdoc/generators/template/html/html.rb (STYLE): Fix line-heigth
|
|
119
|
+
spelling.
|
|
120
|
+
|
|
121
|
+
2002-10-15 Dave Thomas <Dave@Thomases.com>
|
|
122
|
+
|
|
123
|
+
* rdoc.rb: No longer check output directory when outputing to
|
|
124
|
+
stdout.
|
|
125
|
+
|
|
126
|
+
2002-10-14 Dave Thomas <Dave@Thomases.com>
|
|
127
|
+
|
|
128
|
+
* rdoc/parsers/parse_rb.rb: Add :title: and :main: top-level
|
|
129
|
+
modifiers
|
|
130
|
+
|
|
131
|
+
* rdoc/code_objects.rb: Add #:doc: modifier to force documentation
|
|
132
|
+
of otherwise undocumented methods.
|
|
133
|
+
|
|
134
|
+
* rdoc/generators/html_generator.rb: Add new special for labeled
|
|
135
|
+
hyperlinks.
|
|
136
|
+
|
|
137
|
+
* rdoc/options.rb: Help output now goe to stdout.
|
|
138
|
+
|
|
139
|
+
* markup/simple_markup.rb: If you have lists whose only content is
|
|
140
|
+
headings, the fragment decoder was getting confused. Removed all
|
|
141
|
+
non-list list entries for now.
|
|
142
|
+
|
|
143
|
+
2002-09-26 Dave Thomas <Dave@Thomases.com>
|
|
144
|
+
|
|
145
|
+
* rdoc/parsers/parse_c.rb: Fix to parsing of RB_METHOD_FUNC
|
|
146
|
+
suggested by Patrick Bennet.
|
|
147
|
+
|
|
148
|
+
2002-09-22 Dave Thomas <Dave@Thomases.com>
|
|
149
|
+
|
|
150
|
+
* rdoc/generators/template/html/html.rb: Fially start implementing
|
|
151
|
+
-1 option for html.
|
|
152
|
+
|
|
153
|
+
2002-09-18 Werner Neubauer <werner_n@gmx.de>
|
|
154
|
+
* rdoc/parsers/parse_rb.rb: parameter &proc is removed if directive
|
|
155
|
+
:yield: or :yields: was given for a method.
|
|
156
|
+
|
|
157
|
+
2002-09-18 Dave Thomas <Dave@Thomases.com>
|
|
158
|
+
|
|
159
|
+
* rdoc/generators/template/html/html.rb et al: Add missing </html>
|
|
160
|
+
tags.
|
|
161
|
+
|
|
162
|
+
2002-07-28 Dave Thomas <Dave@Thomases.com>
|
|
163
|
+
|
|
164
|
+
* rdoc/parsers/parserfactory.rb etc...: Add various resets to
|
|
165
|
+
allow the api version to be called multiple times.
|
|
166
|
+
|
|
167
|
+
* rdoc/rdoc.rb (document): Use 'require' rather than load to load
|
|
168
|
+
in the generator.
|
|
169
|
+
|
|
170
|
+
2002-07-22 Dave Thomas <Dave@Thomases.com>
|
|
171
|
+
|
|
172
|
+
* rdoc/options.rb: Ease up the test for 'dot' version, as the
|
|
173
|
+
1.8.6 required is only available in CVS right now.
|
|
174
|
+
|
|
175
|
+
* beta-2
|
|
176
|
+
|
|
177
|
+
2002-07-16 Bil Kleb <TheKlebs@Yahoo.Com>
|
|
178
|
+
|
|
179
|
+
* rdoc/rdoc.rb: Add require for Fortran 95 parser.
|
|
180
|
+
* rdoc/parsers/parse_f95.rb: Tracer bullet Fortran 95 parser.
|
|
181
|
+
* rdoc/generators/template/html/hefss.rb: Fortran 95-specific
|
|
182
|
+
template similar to kilmer.rb.
|
|
183
|
+
|
|
184
|
+
2002-07-15 Dave Thomas <Dave@Thomases.com>
|
|
185
|
+
|
|
186
|
+
* rdoc/parsers/parse_rb.rb: Handle "class << 'string'" and other
|
|
187
|
+
cases where the token following the '<<' doesn't respond to .name.
|
|
188
|
+
|
|
189
|
+
2002-07-09 Dave Thomas <Dave@Thomases.com>
|
|
190
|
+
|
|
191
|
+
* rdoc/parsers/parse_rb.rb: Fix problem with symbols being added
|
|
192
|
+
twice to listeners, which messed up source code listings
|
|
193
|
+
|
|
194
|
+
2002-07-03 Dave Thomas <Dave@Thomases.com>
|
|
195
|
+
|
|
196
|
+
* rdoc/diagram.rb: Add a patch from Werner.
|
|
197
|
+
|
|
198
|
+
* rdoc/options.rb: Remove dot version test under Windows, and
|
|
199
|
+
require dot version 1.8.
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
2002-07-02 Dave Thomas <Dave@Thomases.com>
|
|
203
|
+
|
|
204
|
+
* rdoc/diagram.rb: Werner Neubauer
|
|
205
|
+
<Werner.Ex.Neubauer@mchp.siemens.de> added a whole lot of new
|
|
206
|
+
diagramming support, so it now draws module relationships. He also
|
|
207
|
+
fixed a number of bugs in my code
|
|
208
|
+
|
|
209
|
+
2002-06-30 Dave Thomas <Dave@Thomases.com>
|
|
210
|
+
|
|
211
|
+
* code_objects/parse_c/parse_rb: (Bil Kleb) Remove causes of some
|
|
212
|
+
warnings, and fix Dave's notoriously bad grammar/spelling.
|
|
213
|
+
|
|
214
|
+
2002-06-27 Dave Thomas <Dave@Thomases.com>
|
|
215
|
+
|
|
216
|
+
* rdoc/parsers/parse_rb.rb: Ignore stuff after __END__. Remove
|
|
217
|
+
warning if argument to 'include' isn't a constant.
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
* rdoc/code_objects.rb: Don't overwrite existing comments with a
|
|
221
|
+
blank one.
|
|
222
|
+
|
|
223
|
+
* dot/dot.rb: s/heigth/height/ (Bil Kleb)
|
|
224
|
+
|
|
225
|
+
2002-06-20 Dave Thomas <Dave@Thomases.com>
|
|
226
|
+
|
|
227
|
+
* install.rb (files): Glob out some common files.
|
|
228
|
+
|
|
229
|
+
* rdoc/parsers/parserfactory.rb: Eliminate the need for rdoc.rb to
|
|
230
|
+
know the actual extensions of files.
|
|
231
|
+
|
|
232
|
+
* rdoc/parsers/parse_c.rb: Fix problem with lexical state not
|
|
233
|
+
being correct if a function definition containing an operator
|
|
234
|
+
immediately followed an alias ending in an operator.
|
|
235
|
+
|
|
236
|
+
* rdoc/rdoc.rb: Fixed problem where RDoc didn't expand ~'s in $:
|
|
237
|
+
when looking for generators (Massimiliano Mirra)
|
|
238
|
+
|
|
239
|
+
2002-06-11 Dave Thomas <Dave@Thomases.com>
|
|
240
|
+
|
|
241
|
+
* rdoc/parsers/parse_c.rb: Patches from Mike Witrant to support
|
|
242
|
+
.cc files, and to fix some bugs in C parsing. Added experimental
|
|
243
|
+
code for extracting C method bodies.
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
2002-06-05 Dave Thomas <Dave@Thomases.com>
|
|
247
|
+
|
|
248
|
+
* rdoc/parsers/parse_rb.rb: Allow parentheses around the name of
|
|
249
|
+
an included module
|
|
250
|
+
|
|
251
|
+
* rdoc/code_objects.rb: I checked in a partial change which broke
|
|
252
|
+
class hierarchies. Fortunately some anonymous person came up with
|
|
253
|
+
a fix for me :)
|
|
254
|
+
|
|
255
|
+
2002-05-20 Dave Thomas <Dave@Thomases.com>
|
|
256
|
+
|
|
257
|
+
* rdoc/parsers/parserfactory.rb: Now prepend new parsers to the
|
|
258
|
+
list, so the last ones added are the first ones found. This
|
|
259
|
+
enables user-written parsers to override built-in ones.
|
|
260
|
+
|
|
261
|
+
2002-05-13 Dave Thomas <Dave@Thomases.com>
|
|
262
|
+
|
|
263
|
+
* rdoc/parsers/parserfactory.rb: Wasn't thinking straight when I
|
|
264
|
+
coded the default handling for returning a SimpleParser for
|
|
265
|
+
unknown file types.
|
|
266
|
+
|
|
267
|
+
2002-05-09 Dave Thomas <Dave@Thomases.com>
|
|
268
|
+
|
|
269
|
+
* all: Reorganize parsers to make it easier to add new ones
|
|
270
|
+
|
|
271
|
+
2002-05-01 Dave Thomas <Dave@Thomases.com>
|
|
272
|
+
|
|
273
|
+
* install.rb (template): Use the correct installed name for the
|
|
274
|
+
Ruby interpreter (previously assumed it was always 'ruby'). Patch
|
|
275
|
+
from Kazuhiro NISHIYAMA (znz).
|
|
276
|
+
|
|
277
|
+
2002-04-11 Dave Thomas <Dave@Thomases.com>
|
|
278
|
+
|
|
279
|
+
* rdoc/generators/html_generator.rb: We were generating files for
|
|
280
|
+
:nodoc: classes, even though they weren't referenced from anywhere.
|
|
281
|
+
|
|
282
|
+
2002-03-31 Dave Thomas <Dave@Thomases.com>
|
|
283
|
+
|
|
284
|
+
* rdoc/c_parse.rb: c_parse wasn't handling
|
|
285
|
+
define_class|module_under correctly.
|
|
286
|
+
|
|
287
|
+
2002-03-30 Dave Thomas <Dave@Thomases.com>
|
|
288
|
+
|
|
289
|
+
* rdoc/template.rb: If you have >2 sub directories, the
|
|
290
|
+
template system was getting confused by the substitution
|
|
291
|
+
of %2f's for /'s. Also fix bug where template lines containing
|
|
292
|
+
HREFs were getting overwritten.
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
* beta-1
|
|
296
|
+
|
|
297
|
+
2002-03-29 Dave Thomas <Dave@Thomases.com>
|
|
298
|
+
|
|
299
|
+
* rdoc/generators/xxx_generator.rb: Oops - fell into the old trap
|
|
300
|
+
of assuming ctime was time of creation. Removed all ctime
|
|
301
|
+
references.
|
|
302
|
+
|
|
303
|
+
* rdoc/parse.rb: We weren't picking up the documentation modified
|
|
304
|
+
for classes if the superclass was an expression.
|
|
305
|
+
|
|
306
|
+
* rdoc/options.rb: Fix stupid bug with 'generators' being
|
|
307
|
+
undefined if 'fot' is missing.
|
|
308
|
+
|
|
309
|
+
2002-03-20 <dave@thomases.com>
|
|
310
|
+
|
|
311
|
+
* rdoc\generators\html_generator.rb: Fix the href for methods when
|
|
312
|
+
we generate a single file. It used to contain the class name, but
|
|
313
|
+
this isn't needed in one file.
|
|
314
|
+
|
|
315
|
+
2002-03-12 Dave Thomas <Dave@Thomases.com>
|
|
316
|
+
|
|
317
|
+
* rdoc/generators/chm_generator.rb: Include NaHi's patch to allow
|
|
318
|
+
cygwin to run hhc if there are spaces in the path.
|
|
319
|
+
|
|
320
|
+
* rdoc/rdoc.rb: Make the error about writing to an existing output
|
|
321
|
+
directory more explicit.
|
|
322
|
+
|
|
323
|
+
* rdoc/template.rb: Rewrite totally. Templates now resolve
|
|
324
|
+
symbol names using scopes, so we no longer have the problem
|
|
325
|
+
with resolving inner names in nested constructs. Fix up the
|
|
326
|
+
various templates accordingly. While we're in there, reduce the
|
|
327
|
+
space after a method name in the standard HTML template.
|
|
328
|
+
|
|
329
|
+
2002-03-11 Dave Thomas <Dave@Thomases.com>
|
|
330
|
+
|
|
331
|
+
* rdoc/parse.rb: The character following a '\' in strings was
|
|
332
|
+
being swallowed if it wasn't a recognized escape character.
|
|
333
|
+
|
|
334
|
+
2002-03-07 <dave@pragprog.com>
|
|
335
|
+
|
|
336
|
+
* rdoc\generators\chm_generator.rb: Add support for .chm file
|
|
337
|
+
generation
|
|
338
|
+
|
|
339
|
+
2002-03-05 Dave Thomas <Dave@Thomases.com>
|
|
340
|
+
|
|
341
|
+
* alpha-c released
|
|
342
|
+
|
|
343
|
+
2002-03-04 Dave Thomas <Dave@Thomases.com>
|
|
344
|
+
|
|
345
|
+
* rdoc/generators/rdf_generator.rb: Add initial RDF support.
|
|
346
|
+
|
|
347
|
+
* rdoc/options.rb: Add --opname option.
|
|
348
|
+
|
|
349
|
+
* rdoc/generators/xml_generator.rb: Now write xml to stdout.
|
|
350
|
+
|
|
351
|
+
2002-03-03 Dave Thomas <Dave@Thomases.com>
|
|
352
|
+
|
|
353
|
+
* dot/dot.rb: Fix warnings
|
|
354
|
+
|
|
355
|
+
* rdoc/generators/html_generator.rb: Fixed problem with failing to
|
|
356
|
+
escape method names containing < and & (reported by DAB).
|
|
357
|
+
|
|
358
|
+
2002-03-03 Sean Russell <ser@germane-software.com>
|
|
359
|
+
|
|
360
|
+
* rdoc/options.rb (options): Add --exclude option
|
|
361
|
+
|
|
362
|
+
2002-03-02 Dave Thomas <Dave@Thomases.com>
|
|
363
|
+
|
|
364
|
+
* rdoc/generators/html_generator.rb: Add support for link: hyperlinks.
|
|
365
|
+
|
|
366
|
+
* etc/rdoc.dtd: Make 'name' an attribute of <attribute>
|
|
367
|
+
|
|
368
|
+
* rdoc.rb: Added support for SimpleMarkup-only files (any file
|
|
369
|
+
not .rb or .c) which contain just a block comment.
|
|
370
|
+
|
|
371
|
+
2002-02-28 Dave Thomas <Dave@Thomases.com>
|
|
372
|
+
|
|
373
|
+
* rdoc/code_objects.rb: Comments were being lost on attributes
|
|
374
|
+
|
|
375
|
+
* rdoc/rdoc.rb: Add xml support. Reorganize the template
|
|
376
|
+
directories. Add the -one-file option.
|
|
377
|
+
|
|
378
|
+
2002-02-21 Dave Thomas <Dave@Thomases.com>
|
|
379
|
+
|
|
380
|
+
* rdoc/parse.rb: Add :notnew: modifier to methods. This stops
|
|
381
|
+
#initialize being mapped automatically to ::new.
|
|
382
|
+
|
|
383
|
+
* rdoc/options.rb: Add --inline-source to allow source code to be
|
|
384
|
+
included in the body of the document, and not in popups.
|
|
385
|
+
|
|
386
|
+
2002-02-19 Dave Thomas <Dave@Thomases.com>
|
|
387
|
+
|
|
388
|
+
* markup/simple_markup.rb: Limit == header depth to 6
|
|
389
|
+
|
|
390
|
+
* rdoc/generators/html_template/standard.rb (BODY): Thanks to
|
|
391
|
+
MoonWolf for the --charset patch.
|
|
392
|
+
|
|
393
|
+
2002-02-17 Dave Thomas <Dave@Thomases.com>
|
|
394
|
+
|
|
395
|
+
* rdoc/parse.rb: Force auto-generated ::new method to be public.
|
|
396
|
+
|
|
397
|
+
2002-02-15 Sergey Yanovitsky <Sergey.Yanovitsky@itgrp.net>
|
|
398
|
+
|
|
399
|
+
* rdoc/options.rb (options): Add ability to choose output image
|
|
400
|
+
format.
|
|
401
|
+
|
|
402
|
+
2002-02-15 Dave Thomas <Dave@Thomases.com>
|
|
403
|
+
|
|
404
|
+
* rdoc/parse.rb: Fixed yet another bug with optional 'do' after
|
|
405
|
+
'while'.
|
|
406
|
+
|
|
407
|
+
2002-02-12 Dave Thomas <Dave@Thomases.com>
|
|
408
|
+
|
|
409
|
+
* rdoc/rdoc.rb: Fix silly bug with leading ./ on file names.
|
|
410
|
+
|
|
411
|
+
* rdoc/generators/html_template/standard.rb (STYLE): Drop the font
|
|
412
|
+
size of <pre> down to 1.1em.
|
|
413
|
+
|
|
414
|
+
* rdoc/generators/html_generator.rb: Sort list of classes and
|
|
415
|
+
modules in the summary page.
|
|
416
|
+
|
|
417
|
+
* rdoc/c_parse.rb: Add support for parsing C extensions.
|
|
418
|
+
|
|
419
|
+
2002-02-11 Dave Thomas <Dave@Thomases.com>
|
|
420
|
+
|
|
421
|
+
* rdoc/parse.rb: Handle case of "a = 2*(1+yield)", where
|
|
422
|
+
previously the ')' was being picked up as part of the yield
|
|
423
|
+
parameter. I don't think I can do much more without going for a
|
|
424
|
+
full parse.
|
|
425
|
+
|
|
426
|
+
2002-02-10 Dave Thomas <Dave@Thomases.com>
|
|
427
|
+
|
|
428
|
+
* rdoc/diagram.rb: Make diagrams honor --quiet.
|
|
429
|
+
|
|
430
|
+
* MANIFEST: Separated out the main driver program from rdoc.rb,
|
|
431
|
+
so that it's now easier to embed.
|
|
432
|
+
|
|
433
|
+
2002-02-08 Dave Thomas <Dave@Thomases.com>
|
|
434
|
+
|
|
435
|
+
* rdoc/parse.rb: Christoph Rippel sent in a patch to remove the
|
|
436
|
+
messy eval and use Class.new instead. This also fixes a
|
|
437
|
+
compatibility problem with the latest 1.7 Ruby.
|
|
438
|
+
|
|
439
|
+
2002-02-07 Dave Thomas <Dave@Thomases.com>
|
|
440
|
+
|
|
441
|
+
* rdoc/parse.rb: We need to build symbols as a single token,
|
|
442
|
+
otherwise :module and :class will confuse the parse.
|
|
443
|
+
|
|
444
|
+
* rdoc/diagram.rb: Integrate change to diagrams from Sergey - it
|
|
445
|
+
can now optionally draw boxes on diagrams to show what files
|
|
446
|
+
classes are in.
|
|
447
|
+
|
|
448
|
+
2002-02-06 Dave Thomas <Dave@Thomases.com>
|
|
449
|
+
|
|
450
|
+
* rdoc/parse.rb: Try to fix a bug in the parsing of
|
|
451
|
+
while/until. The optional 'do' parameter was being taken as a
|
|
452
|
+
block start, and increasing the nesting. Skipping it is a bit
|
|
453
|
+
difficult, so we'll see if this works in all cases the old
|
|
454
|
+
fashioned way--by releasing it and seeing if anyone screams :)
|
|
455
|
+
|
|
456
|
+
2002-02-05 Dave Thomas <Dave@Thomases.com>
|
|
457
|
+
|
|
458
|
+
* rdoc/generators/html_generator.rb: Remove characters from
|
|
459
|
+
filenames that might not be supported under DOS
|
|
460
|
+
|
|
461
|
+
2002-02-01 Dave Thomas <Dave@Thomases.com>
|
|
462
|
+
|
|
463
|
+
* rdoc/generators/html_generator.rb: Add the --show-hash option.
|
|
464
|
+
|
|
465
|
+
* rdoc/parse.rb: Ignore \r characters in 'gets', so that chomp
|
|
466
|
+
works under Windows with \r\n line endings.
|
|
467
|
+
|
|
468
|
+
* rdoc/options.rb: Change from using backticks to using IO.popen
|
|
469
|
+
to avoid cygwin bug.
|
|
470
|
+
|
|
471
|
+
2002-01-31 Dave Thomas <Dave@Thomases.com>
|
|
472
|
+
|
|
473
|
+
* rdoc/generators/html_generator.rb: Thanks to Niklas Frykolm,
|
|
474
|
+
Gunnar Andersson, and Thomas Hurst, we're now closer to generating
|
|
475
|
+
conformant HTML.
|
|
476
|
+
|
|
477
|
+
2002-01-30 Dave Thomas <Dave@Thomases.com>
|
|
478
|
+
|
|
479
|
+
* rdoc/generators/html_template/kilmer.rb: Add diagram support
|
|
480
|
+
|
|
481
|
+
2002-01-29 Dave Thomas <Dave@Thomases.com>
|
|
482
|
+
|
|
483
|
+
* rdoc/diagram.rb: Add support for client-side imagemaps, based on
|
|
484
|
+
a method from Tony Smith.
|
|
485
|
+
|
|
486
|
+
* rdoc/generators/html_generator.rb: Add method and class name as
|
|
487
|
+
title to source popup. Also there was a bug if you tried to run
|
|
488
|
+
RDoc from the installation directory, rather than installing
|
|
489
|
+
it. Output templates weren't being found, as the search path was
|
|
490
|
+
relative to the starting dir, but the directory got changed during
|
|
491
|
+
processing.
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
2002-01-28 Dave Thomas <Dave@Thomases.com>
|
|
495
|
+
|
|
496
|
+
* rdoc/parse.rb: Bil Kleb sent in patches for some typos.
|
|
497
|
+
|
|
498
|
+
2002-01-26 Dave Thomas <Dave@Thomases.com>
|
|
499
|
+
|
|
500
|
+
* rdoc/parse.rb: Change handling of initial comment. Now a blank
|
|
501
|
+
line will terminate the initial comment. This means that if you
|
|
502
|
+
have
|
|
503
|
+
|
|
504
|
+
# Comment a
|
|
505
|
+
|
|
506
|
+
# Comment b
|
|
507
|
+
class Fred ...
|
|
508
|
+
|
|
509
|
+
"Comment a" will be the file comment and "Comment b" the class
|
|
510
|
+
comment. Previously the two comments were concatenated, and the
|
|
511
|
+
result was both the file and the class comment.
|
|
512
|
+
|
|
513
|
+
* MANIFEST: Added EXAMPLE.rb, and include it in the rdoc.rb
|
|
514
|
+
header.
|
|
515
|
+
|
|
516
|
+
2002-01-25 Dave Thomas <Dave@Thomases.com>
|
|
517
|
+
|
|
518
|
+
* rdoc/parse.rb: Fix bug that failed to interpret '<<' as a method
|
|
519
|
+
name.
|
|
520
|
+
|
|
521
|
+
* rdoc/generators/html_template/standard.rb: Add support for
|
|
522
|
+
generation of arbitrary files to output templates.
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
* rdoc/options.rb (options): Add check for the existence of files
|
|
526
|
+
on the command line.
|
|
527
|
+
|
|
528
|
+
* rdoc/generators/html_template/kilmer.rb (STYLE): Remove padding
|
|
529
|
+
on srclink to make it work with NS4.7
|
|
530
|
+
|
|
531
|
+
2002-01-24 Dave Thomas <Dave@Thomases.com>
|
|
532
|
+
|
|
533
|
+
* rdoc/rdoc.rb: Fix Java-style 'new RDocError'
|
|
534
|
+
|
|
535
|
+
* alpha-9: released
|
|
536
|
+
|
|
537
|
+
* rdoc/options.rb: added --help option.
|
|
538
|
+
|
|
539
|
+
* rdoc/diagram.rb: Jah of Enticla added wonderful support for
|
|
540
|
+
diagramming classes and modules. Added new -d option to turn it
|
|
541
|
+
on, and renamed the debug option -D.
|
|
542
|
+
|
|
543
|
+
* rdoc/generators/html_template/kilmer.rb (INDEX): Add support for
|
|
544
|
+
generating the blank page needed as the initial src= in the source
|
|
545
|
+
frame.
|
|
546
|
+
|
|
547
|
+
2002-01-21 Dave Thomas <Dave@Thomases.com>
|
|
548
|
+
|
|
549
|
+
* rdoc/parse.rb: Incorporate patch from Leslie A Hensley: we
|
|
550
|
+
weren't correctly parsing superclasses that contained '::'s
|
|
551
|
+
|
|
552
|
+
* rdoc/parse.rb: Fix bug that incorrectly complained about "yield
|
|
553
|
+
outside block" in nodoc'd classes.
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
2002-01-19 Dave Thomas <Dave@Thomases.com>
|
|
557
|
+
|
|
558
|
+
* markup/simple_markup.rb: Allow the body of labeled lists
|
|
559
|
+
to start on the line following the label, thus avoiding those
|
|
560
|
+
hideously indented blocks.
|
|
561
|
+
|
|
562
|
+
* rdoc/parse.rb: Make $+ and other backref's into Id's, so they
|
|
563
|
+
can be used in aliases. Allow argument to 'require' to have
|
|
564
|
+
parentheses. Record name of singleton classes as '<<xx' (not
|
|
565
|
+
ideal--anyone think of a better way?).
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
2002-01-18 Dave Thomas <Dave@Thomases.com>
|
|
569
|
+
|
|
570
|
+
* rdoc/generators/html_template/kilmer.rb (BODY): Add dummy 'src='
|
|
571
|
+
to source frame.
|
|
572
|
+
|
|
573
|
+
2002-01-17 Dave Thomas <Dave@Thomases.com>
|
|
574
|
+
|
|
575
|
+
* rdoc/generators/html_template/standard.rb: Fix up cross
|
|
576
|
+
reference link colors. Make titles of index windows hyperlinks to
|
|
577
|
+
the main page.
|
|
578
|
+
|
|
579
|
+
* markup/simple_markup/to_html.rb: The #wrap method was fairly
|
|
580
|
+
expensive, and had a bug if a chunk of non-space text was >
|
|
581
|
+
linelen, so let's rewrite it.
|
|
582
|
+
|
|
583
|
+
* rdoc/generators/html_generator.rb: Add --template option and the
|
|
584
|
+
ability to switch html output templates.
|
|
585
|
+
|
|
586
|
+
2002-01-16 Dave Thomas <Dave@Thomases.com>
|
|
587
|
+
|
|
588
|
+
* rdoc-alpha-8 released
|
|
589
|
+
|
|
590
|
+
2002-01-15 Dave Thomas <Dave@Thomases.com>
|
|
591
|
+
|
|
592
|
+
* rdoc/parse.rb: Method parameters lists are going to be the death
|
|
593
|
+
of me. Continue to try to work on determining exactly when a
|
|
594
|
+
parameter list ends by testing for the lexical state, rather than
|
|
595
|
+
just the continue flag.
|
|
596
|
+
|
|
597
|
+
* rdoc/parse.rb: Fix lexing bug: '<<' wasn't setting the state to
|
|
598
|
+
EXPR_BEG.
|
|
599
|
+
|
|
600
|
+
* rdoc/generators/html_generator.rb: No support :nodoc: at the
|
|
601
|
+
file level too.
|
|
602
|
+
|
|
603
|
+
2002-01-14 Dave Thomas <Dave@Thomases.com>
|
|
604
|
+
|
|
605
|
+
* rdoc/parse.rb: Add #++ flag to allow commenting to be
|
|
606
|
+
switched back on after a #--.
|
|
607
|
+
|
|
608
|
+
* rdoc/rdoc.rb: Michael Granger (perlmage) provided a patch to let
|
|
609
|
+
RDoc detect third-party output generators.
|
|
610
|
+
|
|
611
|
+
* rdoc/options.rb: Add --title option, and ensure that class pages
|
|
612
|
+
now have the correct title.
|
|
613
|
+
|
|
614
|
+
* rdoc-alpha-7 released
|
|
615
|
+
|
|
616
|
+
2002-01-13 Dave Thomas <Dave@Thomases.com>
|
|
617
|
+
|
|
618
|
+
* rdoc/rdoc.rb: Support :include: directive and the --include
|
|
619
|
+
command line option.
|
|
620
|
+
|
|
621
|
+
2002-01-12 <Dave@Thomases.com>
|
|
622
|
+
|
|
623
|
+
* rdoc\rdoc.rb: Add and document the :nodoc: modifier.
|
|
624
|
+
|
|
625
|
+
2002-01-12 Dave Thomas <Dave@Thomases.com>
|
|
626
|
+
|
|
627
|
+
* rdoc/parse.rb: Start implementing documentation modifiers.
|
|
628
|
+
|
|
629
|
+
2002-01-11 Dave Thomas <Dave@Thomases.com>
|
|
630
|
+
|
|
631
|
+
* markup/simple_markup.rb: Support horizontal rules (indicated
|
|
632
|
+
using three or more hyphens).
|
|
633
|
+
|
|
634
|
+
* rdoc/code_objects.rb: Patch from Alan Chen to fix a warning
|
|
635
|
+
about an uninitialized instance variable.
|
|
636
|
+
|
|
637
|
+
2002-01-10 Dave Thomas <Dave@Thomases.com>
|
|
638
|
+
|
|
639
|
+
* rdoc/generators/html_generator.rb: Hyperlinks to the web (http,
|
|
640
|
+
mailto, and ftp) are recognized. Links to images become inline
|
|
641
|
+
<img> tags.
|
|
642
|
+
|
|
643
|
+
2002-01-09 Dave Thomas <Dave@Thomases.com>
|
|
644
|
+
|
|
645
|
+
* rdoc/html_pages.rb: Work on browser compatibility. This ended up
|
|
646
|
+
being pretty much a complete rewrite of the output. It ended up
|
|
647
|
+
being a lot simpler.
|
|
648
|
+
|
|
649
|
+
* rdoc/README.rb: added.
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
2002-01-08 Dave Thomas <Dave@Thomases.com>
|
|
653
|
+
|
|
654
|
+
* rdoc/parse.rb: Fix problem with lexing of numbers starting with
|
|
655
|
+
a '0' which caused an extra character to be eaten. If this happens
|
|
656
|
+
at the end of a line, the NL gets swallowed, and the lexer is left
|
|
657
|
+
in the wrong state.
|
|
658
|
+
|
|
659
|
+
* rdoc\html_pages.rb (CLASS_PAGE): The Parent class is now shown
|
|
660
|
+
as a hyperlink if possible.
|
|
661
|
+
|
|
662
|
+
* rdoc\parse.rb: Allow "def Fred::barney" (previously only
|
|
663
|
+
supported "def Fred.barney"
|
|
664
|
+
|
|
665
|
+
* rdoc\rdoc.rb: RDoc can now be invoked conveniently from a program
|
|
666
|
+
|
|
667
|
+
* rdoc\options.rb (options): Add --quiet option
|
|
668
|
+
|
|
669
|
+
2002-01-07 Dave Thomas <Dave@Thomases.com>
|
|
670
|
+
|
|
671
|
+
* rdoc/parse.rb: Fix bug where we sometimes swallowed the first
|
|
672
|
+
token of the method body. If this was an 'if', 'while', or 'case',
|
|
673
|
+
we got out of sync with the nesting level.
|
|
674
|
+
|
|
675
|
+
* rdoc/parse.rb: Add line numbers to warnings and errors.
|
|
676
|
+
|
|
677
|
+
* markup/simple_markup/inline.rb: Fix bug which caused last
|
|
678
|
+
character in markup to be missed if it followed a Special sequence.
|
|
679
|
+
|
|
680
|
+
* rdoc/generators/html_generator.rb: When generating cross
|
|
681
|
+
references in comments for class and module names, we first check
|
|
682
|
+
for classes and modules local to the current module before looking
|
|
683
|
+
for global names.
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
* rdoc/rdoc.rb: RDoc now stops processing comments when it sees a
|
|
687
|
+
line containing '#--'. This allows you to have internal comments
|
|
688
|
+
and external comments in one block.
|
|
689
|
+
|
|
690
|
+
* rdoc/parse.rb: Fix problem reading yield parameters. Also fix
|
|
691
|
+
problem where the 'yields: a,b' comment following a method
|
|
692
|
+
definition wasn't being picked up correctly if the definition had
|
|
693
|
+
'()'
|
|
694
|
+
|
|
695
|
+
* rdoc/generators/html_generator.rb: Add titles to the index frames.
|
|
696
|
+
|
|
697
|
+
* rdoc: alpha-6 released.
|
|
698
|
+
|
|
699
|
+
* rdoc: Numerous changes to support the accumulation of
|
|
700
|
+
multiple definitions for the same class and module into one place.
|
|
701
|
+
|
|
702
|
+
* rdoc/parse.rb: Report source file and line number in code
|
|
703
|
+
samples, and indent first line correctly.
|
|
704
|
+
|
|
705
|
+
2002-01-06 Dave Thomas <Dave@Thomases.com>
|
|
706
|
+
|
|
707
|
+
* markup/simple_markup/inline.rb: Rewrite the attribute
|
|
708
|
+
parsing/handling code to get rid of the ugly inline
|
|
709
|
+
substitutions. It's still pretty ugly, but now it's easier to
|
|
710
|
+
combine attributes.
|
|
711
|
+
|
|
712
|
+
2002-01-05 Dave Thomas <Dave@Thomases.com>
|
|
713
|
+
|
|
714
|
+
* markup/simple_markup/inline.rb: Allow special sequences to be
|
|
715
|
+
marked up as well. For example, previously, +String+ was not
|
|
716
|
+
converted because 'String' was recognized as a potential hyperlink
|
|
717
|
+
and this stopped the +..+ recognition thinking it was a
|
|
718
|
+
word. Fixes bug 499564.
|
|
719
|
+
|
|
720
|
+
* rdoc/rdoc.rb: Add support for pluggable output formatters (still
|
|
721
|
+
only supply HTML)
|
|
722
|
+
|
|
723
|
+
2002-01-03 Dave Thomas <Dave@Thomases.com>
|
|
724
|
+
|
|
725
|
+
* markup/simple_markup/inline.rb: Following change to allow
|
|
726
|
+
internal underscores in word-based markup, we can now support
|
|
727
|
+
things like *cat_and_dog*.
|
|
728
|
+
|
|
729
|
+
* rdoc/html_pages.rb (BODY): Make popups resizable and scrollable.
|
|
730
|
+
|
|
731
|
+
2002-01-02 Dave Thomas <Dave@Thomases.com>
|
|
732
|
+
|
|
733
|
+
* markup/simple_markup/inline.rb: Change interpretation of
|
|
734
|
+
word-based inline markup so that "cat_and_dog" is now literally
|
|
735
|
+
"cat_and_dog" and not "cat<em>and</em>dog".
|
|
736
|
+
|
|
737
|
+
* rdoc/html_generator.rb: Fix problem where squeeze was removing
|
|
738
|
+
_all_ duplicate characters, not just spaces.
|
|
739
|
+
|
|
740
|
+
* rdoc/rdoc.rb (files): Add a simple progress meter
|
|
741
|
+
|
|
742
|
+
* rdoc/parse.rb: Detect and skip require when the argument is a
|
|
743
|
+
dynamic string.
|
|
744
|
+
|
|
745
|
+
* rdoc/parse.rb: Fix parsing of method parameters so that
|
|
746
|
+
def fred() @a end
|
|
747
|
+
no longer returns @a and 'end' as part of the parameter string.
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
2001-12-20 Dave Thomas <Dave@Thomases.com>
|
|
751
|
+
|
|
752
|
+
* rdoc/html_generator.rb: Fix up problem with bad cross references
|
|
753
|
+
if outputting to a non-standard directory
|
|
754
|
+
|
|
755
|
+
* install.rb,markup/install.rb (sitedir): Tidy up - we were
|
|
756
|
+
creating bindirs and the like that we didn't need.
|
|
757
|
+
|
|
758
|
+
2001-12-19 Dave Thomas <Dave@Thomases.com>
|
|
759
|
+
|
|
760
|
+
* rdoc/parse.rb: Fix problem if file doesn't end with a
|
|
761
|
+
newline. (The input code in the lexer needs refactoring)
|
|
762
|
+
|
|
763
|
+
2001-12-18 Dave Thomas <Dave@Thomases.com>
|
|
764
|
+
|
|
765
|
+
* rdoc/parse.rb: Add support for documenting the block associated
|
|
766
|
+
with a method by detecting the parameters to yield and allowing
|
|
767
|
+
an explicit '# yields: x,y' comment
|
|
768
|
+
|
|
769
|
+
* rdoc/rdoc.rb: Allow '-' to introduce bulleted lists
|
|
770
|
+
|
|
771
|
+
* parse.rb: Fix problem with -@ and +@ in method names
|
|
772
|
+
|
|
773
|
+
2001-12-17 Dave Thomas <Dave@Thomases.com>
|
|
774
|
+
|
|
775
|
+
* rdoc/parse.rb: Terminate search for method parameters on a
|
|
776
|
+
semicolon
|
|
777
|
+
|
|
778
|
+
* rdoc/html_generator.rb: Fix problem with cross-references of the
|
|
779
|
+
form '#abc_def' (i.e., with an internal underscore). They were
|
|
780
|
+
getting matched by two rules, and hence getting substituted twice.
|
|
781
|
+
|
|
782
|
+
2001-12-16 Dave Thomas <Dave@Thomases.com>
|
|
783
|
+
|
|
784
|
+
* rdoc/parse.rb: Parse :<op> as a function name in alias and
|
|
785
|
+
visibility constraints.
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
* rdoc/parse.rb: Fix token type for %= to TkOPASGN
|
|
789
|
+
|
|
790
|
+
* rdoc/parse.rb: Allow expressions after class <<
|
|
791
|
+
|
|
792
|
+
* rdoc/parse.rb: parse_alias. Set lex state to EXPR_FNAME so that
|
|
793
|
+
alias :a :b
|
|
794
|
+
recognizes :b correctly. Allow arbitrary IDs (including names
|
|
795
|
+
such as 'next' and global variables) as parameters for 'alias'
|
|
796
|
+
|