sqlpostgres 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- 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,48 @@
|
|
1
|
+
# The program takes an initial word or phrase from
|
2
|
+
# the command line (or in the absence of a
|
3
|
+
# parameter from the first line of standard
|
4
|
+
# input). In then reads successive words or
|
5
|
+
# phrases from standard input and reports whether
|
6
|
+
# they are angrams of the first word.
|
7
|
+
#
|
8
|
+
# Author:: Dave Thomas (mailto:dave@x.y)
|
9
|
+
# Copyright:: Copyright (c) 2002 The Pragmatic Programmers, LLC
|
10
|
+
# License:: Distributes under the same terms as Ruby
|
11
|
+
|
12
|
+
# This class holds the letters in the original
|
13
|
+
# word or phrase. The is_anagram? method allows us
|
14
|
+
# to test if subsequent words or phrases are
|
15
|
+
# anagrams of the original.
|
16
|
+
|
17
|
+
class Anagram
|
18
|
+
|
19
|
+
# Remember the letters in the initial word
|
20
|
+
def initialize(text)
|
21
|
+
@initial_letters = letters_of(text)
|
22
|
+
end
|
23
|
+
|
24
|
+
# Test to see if a new word contains the same
|
25
|
+
# letters as the original
|
26
|
+
def is_anagram?(text)
|
27
|
+
@initial_letters == letters_of(text)
|
28
|
+
end
|
29
|
+
|
30
|
+
# Determine the letters in a word or phrase
|
31
|
+
#
|
32
|
+
# * all letters are converted to lower case
|
33
|
+
# * anything not a letter is stripped out
|
34
|
+
# * the letters are converted into an array
|
35
|
+
# * the array is sorted
|
36
|
+
# * the letters are joined back into a string
|
37
|
+
|
38
|
+
def letters_of(text)
|
39
|
+
text.downcase.delete('^a-z').split('').sort.join
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
|
44
|
+
tester = Anagram.new(ARGV.shift || gets)
|
45
|
+
|
46
|
+
ARGF.each do |text|
|
47
|
+
puts "Anagram! " if tester.is_anagram? text
|
48
|
+
end
|
data/tools/rdoc/MANIFEST
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
ChangeLog
|
2
|
+
EXAMPLE.rb
|
3
|
+
MANIFEST
|
4
|
+
Makefile
|
5
|
+
NEW_FEATURES
|
6
|
+
README
|
7
|
+
ToDo
|
8
|
+
contrib/Index
|
9
|
+
contrib/xslfo/tables.xsl
|
10
|
+
contrib/xslfo/ChangeLog
|
11
|
+
contrib/xslfo/TODO
|
12
|
+
contrib/xslfo/convert.xsl
|
13
|
+
contrib/xslfo/fcm.xsl
|
14
|
+
contrib/xslfo/files.xsl
|
15
|
+
contrib/xslfo/source.xsl
|
16
|
+
contrib/xslfo/styles.xsl
|
17
|
+
contrib/xslfo/utils.xsl
|
18
|
+
contrib/xslfo/README
|
19
|
+
contrib/xslfo/labeled-lists.xsl
|
20
|
+
contrib/xslfo/lists.xsl
|
21
|
+
contrib/xslfo/modules.xsl
|
22
|
+
contrib/xslfo/rdoc.xsl
|
23
|
+
contrib/xslfo/demo/README
|
24
|
+
contrib/xslfo/demo/rdocfo
|
25
|
+
dot/dot.rb
|
26
|
+
etc/rdoc.dtd
|
27
|
+
install.rb
|
28
|
+
markup/install.rb
|
29
|
+
markup/sample/sample.rb
|
30
|
+
markup/simple_markup.rb
|
31
|
+
markup/simple_markup/fragments.rb
|
32
|
+
markup/simple_markup/inline.rb
|
33
|
+
markup/simple_markup/lines.rb
|
34
|
+
markup/simple_markup/preprocess.rb
|
35
|
+
markup/simple_markup/to_html.rb
|
36
|
+
markup/test/AllTests.rb
|
37
|
+
markup/test/TestInline.rb
|
38
|
+
markup/test/TestParse.rb
|
39
|
+
rdoc.rb
|
40
|
+
rdoc/code_objects.rb
|
41
|
+
rdoc/diagram.rb
|
42
|
+
rdoc/generators/chm_generator.rb
|
43
|
+
rdoc/generators/html_generator.rb
|
44
|
+
rdoc/generators/template/chm/chm.rb
|
45
|
+
rdoc/generators/template/html/html.rb
|
46
|
+
rdoc/generators/template/html/kilmer.rb
|
47
|
+
rdoc/generators/template/xml/xml.rb
|
48
|
+
rdoc/generators/template/xml/rdf.rb
|
49
|
+
rdoc/generators/xml_generator.rb
|
50
|
+
rdoc/options.rb
|
51
|
+
rdoc/parsers/parserfactory.rb
|
52
|
+
rdoc/parsers/parse_f95.rb
|
53
|
+
rdoc/parsers/parse_rb.rb
|
54
|
+
rdoc/parsers/parse_c.rb
|
55
|
+
rdoc/parsers/parse_simple.rb
|
56
|
+
rdoc/rdoc.rb
|
57
|
+
rdoc/template.rb
|
58
|
+
rdoc/tokenstream.rb
|
data/tools/rdoc/Makefile
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# -*- Makefile -*-
|
2
|
+
# Release must have VERSION variable set
|
3
|
+
#
|
4
|
+
# make VERSION=0.1 release
|
5
|
+
#
|
6
|
+
|
7
|
+
release: clean stamp tar
|
8
|
+
|
9
|
+
stamp:
|
10
|
+
ruby -pi -e 'sub!(/".*?"/, %{"$(VERSION)"}) if /RDOC_VERSION/' rdoc/rdoc.rb
|
11
|
+
cvs commit
|
12
|
+
cvs rtag `echo V$(VERSION) | sed s/\\\\./_/g` rdoc
|
13
|
+
|
14
|
+
tar:
|
15
|
+
-rm ../rdoc-$(VERSION)
|
16
|
+
ln -fs rdoc ../rdoc-$(VERSION)
|
17
|
+
tar --directory=.. \
|
18
|
+
--create \
|
19
|
+
--dereference \
|
20
|
+
--file=rdoc-$(VERSION).tgz \
|
21
|
+
--compress \
|
22
|
+
`ruby -pe 'print "rdoc-$(VERSION)/"' ../rdoc-$(VERSION)/MANIFEST`
|
23
|
+
rm ../rdoc-$(VERSION)
|
24
|
+
|
25
|
+
clean:
|
26
|
+
@-find . -name '*~' | xargs rm
|
27
|
+
@-find . -name doc -type d | xargs rm -rf
|
@@ -0,0 +1,226 @@
|
|
1
|
+
2003-03-09 V0.9
|
2
|
+
* Prepare for V1.0
|
3
|
+
|
4
|
+
* Fix problem where install script thought Darwin was a
|
5
|
+
Windows box.
|
6
|
+
|
7
|
+
* Add smart quotes, but then comment it out because many
|
8
|
+
browsers seem not to support the characters. Give it a
|
9
|
+
couple of months...
|
10
|
+
|
11
|
+
* Support :nodoc: for alias and attrs
|
12
|
+
|
13
|
+
* Comments are now preserved across 'private', 'protected',
|
14
|
+
and 'public'
|
15
|
+
|
16
|
+
* "class << Constant" now appends to an existing class if it
|
17
|
+
can find one.
|
18
|
+
|
19
|
+
* Alises are now supported
|
20
|
+
|
21
|
+
* The new :args: method modifier allows you to override the
|
22
|
+
argument list
|
23
|
+
|
24
|
+
* new --include-line-numbers command line option
|
25
|
+
|
26
|
+
* Support tabs. Add --tab-width command line option.
|
27
|
+
|
28
|
+
* The :title: and :main: top-level modifiers allow you to set
|
29
|
+
options from inside source files
|
30
|
+
|
31
|
+
* The :doc: modifier forces documentation of otherwise
|
32
|
+
undocumented methods.
|
33
|
+
|
34
|
+
* Various bug fixes
|
35
|
+
|
36
|
+
|
37
|
+
2002-07-22 beta-2
|
38
|
+
|
39
|
+
* Bil Kleb has started work on a Fortran 95 parser.
|
40
|
+
|
41
|
+
* Patches from Mike Witrant to support .cc files, and to fix
|
42
|
+
some bugs in C parsing. Added experimental code for
|
43
|
+
extracting C method bodies.
|
44
|
+
|
45
|
+
* Werner Neubauer added a whole lot of new diagramming
|
46
|
+
support, so it now draws module relationships. He also fixed
|
47
|
+
a number of bugs in my code
|
48
|
+
|
49
|
+
* Reorganized parsers to make it easier to add new ones
|
50
|
+
|
51
|
+
* Bug fixes:
|
52
|
+
|
53
|
+
- see Changelog...
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
2002-03-30 beta-1
|
58
|
+
|
59
|
+
* Templates now resolve symbol names using scopes, so we no
|
60
|
+
longer have the problem with resolving inner names in nested
|
61
|
+
constructs. Fix up the various templates accordingly. While
|
62
|
+
we're in there, reduce the space after a method name in the
|
63
|
+
standard HTML template.
|
64
|
+
|
65
|
+
* Add support for .chm file generation
|
66
|
+
|
67
|
+
|
68
|
+
2002-03-03 alpha-c (alpha-b was a faulty release)
|
69
|
+
|
70
|
+
* Add xml support (--fmt xml). Reorganize the template
|
71
|
+
directories. Add the -one-file option (currently only
|
72
|
+
useful for XML).
|
73
|
+
|
74
|
+
* Add RDF generation.
|
75
|
+
|
76
|
+
* Add support for parsing C extensions.
|
77
|
+
|
78
|
+
* Add support for SimpleMarkup-only files (any file not .rb
|
79
|
+
or .c) which contain just a block comment.
|
80
|
+
|
81
|
+
* Add contrib/ directory. Currently contains David Alan
|
82
|
+
Black's alpha release of Formatting Object support, allowing
|
83
|
+
RDoc to generate PDF, Postscript etc.
|
84
|
+
|
85
|
+
* New options:
|
86
|
+
|
87
|
+
o Add --exclude option, which prevents file and directories
|
88
|
+
matching a pattern from being included in the
|
89
|
+
documentation.
|
90
|
+
|
91
|
+
o Add --inline-source option to allow source code to be
|
92
|
+
included in the body of the document, and not in popups.
|
93
|
+
|
94
|
+
o Added --charset option.
|
95
|
+
|
96
|
+
o Diagram image format now selectable using the
|
97
|
+
--image_format option.
|
98
|
+
|
99
|
+
o --opname sets the name of the output (for formatters that
|
100
|
+
need it)
|
101
|
+
|
102
|
+
* Add support for link: hyperlinks. These are hyperlinks to
|
103
|
+
local files, assumed tobe relative to the --op directory.
|
104
|
+
|
105
|
+
* Force auto-generated ::new method to be public, and added
|
106
|
+
:notnew: directive to prevent automatic conversion of
|
107
|
+
#initialize into ::new.
|
108
|
+
|
109
|
+
* Drop the font size of <pre> down to 1.1em.
|
110
|
+
|
111
|
+
* Sort list of classes and modules in the summary page.
|
112
|
+
|
113
|
+
* Fixed various parsing issues (see ChangeLog).
|
114
|
+
|
115
|
+
|
116
|
+
2002-02-10 alpha-a
|
117
|
+
|
118
|
+
* Fixed compatibility problem with latest 1.7
|
119
|
+
|
120
|
+
* Diagram feature now draws fileboxes (optionally, see --filebox
|
121
|
+
parameter). Thanks to Sergey
|
122
|
+
|
123
|
+
* If a comment contains a '#fred' cross reference, we now
|
124
|
+
remove the '#' unless the new --show-hash option is given
|
125
|
+
|
126
|
+
* Thanks to Niklas Frykolm, Gunnar Andersson, and Thomas
|
127
|
+
Hurst, we're now closer to generating conformant HTML.
|
128
|
+
|
129
|
+
* added diagram support to kilmer template
|
130
|
+
|
131
|
+
* Add support for client-side imagemaps in class diagrams, based on
|
132
|
+
a method from Tony Smith.
|
133
|
+
|
134
|
+
* Method and classe name title added to source popup window.
|
135
|
+
|
136
|
+
* Change handling of initial comment. Now a blank line will
|
137
|
+
terminate the initial comment.
|
138
|
+
|
139
|
+
* Arbitrary files can not be generated from templates. This
|
140
|
+
means that is a template needs to write (say) a .css file,
|
141
|
+
or a bitmap, the process can be encapsulated within the
|
142
|
+
template itself.
|
143
|
+
|
144
|
+
* Numerous bug fixes:
|
145
|
+
- parsing of symbols whose names are reserved words
|
146
|
+
- parsing of while/until with a 'do'
|
147
|
+
- made all filesnames valid under DOS
|
148
|
+
- fix end of line handling under DOS
|
149
|
+
- use IO.popen to validate 'dot', avoiding a cygwin bug
|
150
|
+
- fix finding templates when RDoc is run without being
|
151
|
+
installed
|
152
|
+
- fixed bug that failed to interpret '<<' as a method name
|
153
|
+
- Bil Kleb fixed _many_ typos
|
154
|
+
- fixed some formatting problems with NS4.7
|
155
|
+
|
156
|
+
|
157
|
+
2002-01-24 alpha-9
|
158
|
+
|
159
|
+
* added --help option.
|
160
|
+
|
161
|
+
* Jah of Enticla added wonderful support for diagramming
|
162
|
+
classes and modules. Added new -d option to turn it on, and
|
163
|
+
renamed the debug option -D.
|
164
|
+
|
165
|
+
* Added support for generating the blank page needed as the
|
166
|
+
initial src= in the source frame.
|
167
|
+
|
168
|
+
* The body of labeled lists can now start on the line
|
169
|
+
following the label, thus avoiding those hideously indented
|
170
|
+
blocks. This means you can write:
|
171
|
+
|
172
|
+
This is my very long label::
|
173
|
+
And this is the body of the list entry. See it
|
174
|
+
glisten in the noon-day sun.
|
175
|
+
|
176
|
+
* Added --template option and the ability to switch html
|
177
|
+
output templates. Included the 'kilmer' template from
|
178
|
+
Rich Kilmer.
|
179
|
+
|
180
|
+
|
181
|
+
2002-01-16 alpha-8
|
182
|
+
|
183
|
+
|
184
|
+
* :nodoc: in the file-level comment turns off documentation
|
185
|
+
for the file (but classes and modules in the file are still
|
186
|
+
documented).
|
187
|
+
|
188
|
+
* The sequence '#++' turns documentation back on after a '#--'
|
189
|
+
turns it off.
|
190
|
+
|
191
|
+
* Added --title option.
|
192
|
+
|
193
|
+
|
194
|
+
2002-01-13 alpha-7
|
195
|
+
|
196
|
+
* :include: directive and the --include command line option
|
197
|
+
allows text from other files to be inserted incomment blocks:
|
198
|
+
|
199
|
+
# and the it outputs the result.
|
200
|
+
# :include: copyright
|
201
|
+
|
202
|
+
* The :nodoc: modifier can appear after class, module, and
|
203
|
+
method declarations. It stops information from that
|
204
|
+
syntactic unit appearing in the output. With the 'all'
|
205
|
+
option, it also prevents the output of included sub modules
|
206
|
+
and classes.
|
207
|
+
|
208
|
+
* Horizontal rules (denoted by three or more hyphens) are
|
209
|
+
supported. The more hyphens, the thicker the rule.
|
210
|
+
|
211
|
+
* Hyperlinks to the web (http,mailto, and ftp) are
|
212
|
+
recognized. Links to images become inline <img> tags.
|
213
|
+
|
214
|
+
* The generated HTML is now simpler and more compact. The
|
215
|
+
output is cleaner.
|
216
|
+
|
217
|
+
* The Parent class is now shown as a hyperlink if possible.
|
218
|
+
|
219
|
+
* RDoc can now be invoked conveniently from a program
|
220
|
+
|
221
|
+
* Add --quiet option
|
222
|
+
|
223
|
+
* RDoc now stops processing comments when it sees a line
|
224
|
+
containing '#--'. This allows you to have internal comments
|
225
|
+
and external comments in one block.
|
226
|
+
|