1 |
+ major change |
2 |
- minor change |
3 |
|
4 |
Version 2.1.3 - Walt A. Boring IV <waboring@buildabetterweb.com> |
5 |
- fixed a duplicated method in ActiveTab. |
6 |
|
7 |
Version 2.1.2 - Walt A. Boring IV <waboring@buildabetterweb.com> |
8 |
- fixed a problem with html_map(), it was returning a LEGENDtag. |
9 |
- added $width to ActiveTab::add_tab() so you can change the width |
10 |
of the tab for long titles. |
11 |
- Fixed my mistake with the add/push_reference() methods. |
12 |
According to the php spec, you have to declare the parameter |
13 |
as a reference in the function declaration now, which is |
14 |
counter-intuitive (for us C folks) |
15 |
- Fixed a problem with the XMLDocumentClass' add_reference() method. |
16 |
|
17 |
Version 2.1.1 - Walt A. Boring IV <waboring@buildabetterweb.com> |
18 |
- Suren Fixed a bad bug in HTMLPageClass::add_head_content() |
19 |
|
20 |
|
21 |
Version 2.1.0 - Walt A. Boring IV <waboring@buildabetterweb.com> |
22 |
- Added the ActiveTab widget |
23 |
- fixed a problem with the DefaultGUIDataList object comparing |
24 |
the old style tag name of TD. all tags are now lowercase |
25 |
- changed the use of id to class to prevent W3C validation errors |
26 |
when using a widget multiple times on a page. |
27 |
- added form_active_radio() and form_active_checkbox() |
28 |
+ Did some major code cleanup in the _render_tag_* functions |
29 |
between the XMLTagClass and the HTMLTagClass classes. Just had |
30 |
some legacy code living in the HTMLTagClass methods that was |
31 |
now living in the XMLTagClass methods |
32 |
- changed DOCTYPEtag to an XMLTag child |
33 |
- cleaned up the constructor for the DOCTYPEtag and XMLtag |
34 |
+ Did some minor tweaks here and there in the base classes |
35 |
for performance improvements thanks to the adp profiler tool |
36 |
(http://pear.php.net/package-info.php?pacid=118) |
37 |
+ Added xml_doctype() as a helper function for creating a |
38 |
DOCTYPE tag |
39 |
+ added build_doctype() for the HTMLPageClass, so you can modify |
40 |
the DOCTYPE attributes for the document before render() is called. |
41 |
This is good for folks that want to tweak the link1 and link2 |
42 |
attributes to put mozilla/IE into standards compliant mode. |
43 |
SEE: |
44 |
http://mozilla.org/docs/web-developer/quirks/doctypes.html |
45 |
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/doctype.asp |
46 |
+ Did a major reworking of the XMLDocumentClass. Added a lot of features |
47 |
to make it easier to output a valid XML document. |
48 |
+ Added the WMLTagClass (extends XMLTagClass) as the base class for all WML tags. |
49 |
+ Added the WMLDocumentClass widget to build and render valid WML Documents. |
50 |
+ Added the SVGDocumentClass widget to build and render valid SVG Documents. |
51 |
+ Made the BaseWidget a child of the Container to eliminate redunancy in |
52 |
the push/add methods. |
53 |
- added XMLSTYLESHEETtag |
54 |
- updated HTMLPageClass::add_head_content() to allow n params of content |
55 |
+ Added the ADODBSQLDataListSource object, to support ADODB DB objects. |
56 |
- updated examples/widget6.php to show the same list of data from the DB |
57 |
coming from 2 different sources. One source is a PEAR DB object, the |
58 |
2nd source is from an ADODB DB Object. |
59 |
+ Added a CSVFILEDataListSource object, to read data from a CSV formatted file. |
60 |
- Added the CDATAtag, which is used for escaping a tag's contents in XML, so |
61 |
the xml parser reading the xml doesn't parse the data. |
62 |
+ added the full set of W3C's 1.0 recommendation of SVG (Scalable Vector |
63 |
Graphics) tags. |
64 |
+ Added the svg_utils.inc which contains the helper functions for constructing |
65 |
commonly used SVG tags with some help from Charlie Killian. |
66 |
|
67 |
|
68 |
|
69 |
|
70 |
Version 2.0.1 - Walt A. Boring IV <waboring@buildabetterweb.com> |
71 |
- Fixed a problem with html_small() |
72 |
- got the max_rows functionality working in the DataList widget |
73 |
|
74 |
|
75 |
Version 2.0.0 - Walt A. Boring IV <waboring@buildabetterweb.com> |
76 |
- Added the title attribute to both html_img_href() and |
77 |
html_img() |
78 |
- created a css dir to hold the css files |
79 |
- Added some new features to XMLDocumentClass, and brought the API |
80 |
up to 2.x standards (add() instead of push() ) |
81 |
- Added the new DataList object widget set. |
82 |
|
83 |
Version 2.0.0-RC1 - Walt A. Boring IV <waboring@buildabetterweb.com> |
84 |
MAJOR CHANGES/FEATURES |
85 |
- Completely rewrote the base HTMLTagClass. It is now |
86 |
based off of XMLTagClass which is a child of the |
87 |
Container class (formerly known as ContainerWidget ) |
88 |
|
89 |
- Changed all push_reference() calls to require a reference to |
90 |
be passed in. call time pass by reference is depricated, and |
91 |
is going away soon, so this had to get changed. |
92 |
|
93 |
- Removed 2nd and 3rd parameter declarations from the |
94 |
HTMLTagClass constructor. It now accepts any number |
95 |
of arguments. The first argument is always an array |
96 |
of the tag attributes. |
97 |
|
98 |
- Added a lot of missing html_* helper/wrapper functions. |
99 |
Some of which have special parameters for most commonly |
100 |
used features of the specific tag. |
101 |
|
102 |
- changed html_td() parameters. It now accepts |
103 |
function html_td($class="", $align=""). 3rd param to |
104 |
n is content for the tag. |
105 |
|
106 |
- added class as the first param to the html_div() function. |
107 |
|
108 |
- Added add() and add_reference() calls. These replace |
109 |
the old style push() and push_reference() calls. |
110 |
All push(), push_reference() and push_row() calls are |
111 |
depricated. |
112 |
|
113 |
- Completely changed the css functionality in the widgets. |
114 |
The widgets now contain the css required for the widget |
115 |
|
116 |
- HTMLPageClass automatically imports javascript and css |
117 |
from a widget, if it is based off of the BaseWidget class |
118 |
|
119 |
- Added the ability to tell the PageWidget and HTMLPageClass |
120 |
the style of indenting of the html output you want. |
121 |
Nice or left justified. |
122 |
|
123 |
|
124 |
MINOR CHANGES/FEATURES |
125 |
- changed all tag declarations to lower case. HTML 4.01 |
126 |
spec recommends using lower case tags. |
127 |
- Added set_class(), set_style() and set_id() for the HTMLTagClass. |
128 |
- Added 1st param to html_span() to be the class value. |
129 |
- added some new functionality to form_select() so it can |
130 |
handle multiple selection boxes. |
131 |
- Added a bunch of missing html/xhtml tags. |
132 |
- Added some new params to html_mailto() to support |
133 |
subject, body, cc |
134 |
- fixed newline problem with the META tag |
135 |
- added html_small() (Suren Markossian) |
136 |
- Added set_collapse() to let you collapse a tag and it's |
137 |
content on 1 line (no newlines or indenting) |
138 |
- Added html_* functions for all the supported Tag Classes. |
139 |
- removed the html_nobr(), since this really isn't a valid |
140 |
w3c tag. If you HAVE to use it...don't. It's DEPRICATED. |
141 |
- removed SPACERtag. its not a real tag. |
142 |
- cleaned out almost all the comments in the ALLTAGS.inc file |
143 |
for a small speed up. |
144 |
- Added font_utils.inc which holds various span/div tag |
145 |
objects with css classes for fonts, which are defeined in |
146 |
css/fonts.css |
147 |
- Added title parameter to the NavTable widget->add(), and made |
148 |
the target param last. |
149 |
- Moved the widget css files to /css |
150 |
|
151 |
|
152 |
|
153 |
|
154 |
Version 1.1.0 - Walt A. Boring IV <waboring@buildabetterweb.com> |
155 |
- Removed <> symbols from the $_tag variables since it is not a part |
156 |
of an HTML tag. This should reduce the usage of str_replace() in |
157 |
render() functions and make things a little bit faster. |
158 |
- Added html_div_small(), which can be used instead of the |
159 |
spacer.gif trick. |
160 |
- Fixed a bug with form_radio(). Thanks (Tim Moloney) |
161 |
- Added container(), a ContainerWidget helper function. |
162 |
- Fixed a w3c validation bug with the <HR> tag. Can't |
163 |
have a close tag for it. Thanks (James Dingwall) |
164 |
- Fixed a problem with XHTML_STRICT no rendering the |
165 |
<!doctype> attributes correctly. Thanks (Ricardo Pardini) |
166 |
- Added HTMLPageClass::get_html_attributes() and |
167 |
HTMLPageClass::set_html_attributes(), which lets the user |
168 |
of the class get/set the specific attributes to use |
169 |
for the <html> tag. |
170 |
|
171 |
NOTE: |
172 |
- Moved all files from .php to .inc. make sure you change |
173 |
you includes to reflect this change. |
174 |
|
175 |
|
176 |
Version 1.0.3 - Walt A. Boring IV <waboring@buildabetterweb.com> |
177 |
- Fixed a potential formatting issue w/ tags that don't |
178 |
automatically newline after the opentag. thanks to the |
179 |
Zend debugger. |
180 |
- Added misc_utils.php which holds new push_args() function. |
181 |
- set newline_after_opentag for OPTIONtag to FALSE by default. |
182 |
- Added target to NavTable::push(); |
183 |
- Changed InfoTable's css to a php file, so we can dynamically |
184 |
change the colors. |
185 |
- Made the default cellspacing 0 for InfoTable. |
186 |
- Fixed a small problem with NavTable widget. If there was no |
187 |
subtitle, it would render an empty table for the title, |
188 |
causing old Mozilla's to puke. |
189 |
- Changed the size of the TextNav text to 10pt instead of 8pt. |
190 |
- Added FRAMEtag, FRAMESETtag, NOFRAMEStag classes. |
191 |
- Added support in HTMLPageClass widget for framesets. |
192 |
- Added some frame* utility functions. |
193 |
- Combined all of the tag_classes files into 1 file to avoid |
194 |
lots of repetetive includes. |
195 |
- Added the new ContainerWidget, which is nothing but a |
196 |
wrapper object that contains tags/widgets, and knows how to |
197 |
render the content with the appropriate indentation level. |
198 |
- added the feature of automatically trying to collapse a |
199 |
tag and its content to 1 line. This happens if a tag |
200 |
only has 1 content entry and its a string w/o a \n in it. |
201 |
- Added new html_input() wrapper function which automatically |
202 |
will call htmlspecialchars() on the data for the value |
203 |
attribute. This helps prevent problems with |
204 |
<input value="foo""> -> <input value="foo""> |
205 |
- Fixed a problem with the form_select() helper function. |
206 |
The selected item wasn't working. |
207 |
- Added container(), which is a helper function to build |
208 |
a ContainerWidget and populate it. |
209 |
|
210 |
|
211 |
|
212 |
Version 1.0.2 - Walt A. Boring IV <waboring@buildabetterweb.com> |
213 |
- added 3rd parameter to the HTMLTagClass constructor. It |
214 |
accepts the $newline_after_opentag setting. This helps |
215 |
to keep the nice formatting on certain tags that you want |
216 |
to override the default behaviour. |
217 |
|
218 |
- fixed HTMLPageClass character encoding bug. It wasn't |
219 |
outputing a proper meta tag. |
220 |
- changed doctype for 4.0 to 4.01 |
221 |
- added target param for the html_a() helper function. |
222 |
- changed the default parameters to html_img_href, and |
223 |
html_img. We were forcing the width and height of an image |
224 |
to 1x1 if nothing was passed in. We now don't add them to |
225 |
the tags if they aren't set, which is the desired result. |
226 |
|
227 |
- Changed the FooterNav class to add the ability to show a |
228 |
"webmaster" mailto link. I also cleaned up the formatting |
229 |
of it a bit as well. |
230 |
|
231 |
- fixed source formatting issue with html_img_href() |
232 |
- changed html_a() to always force no newline after opentag |
233 |
- added $target to html_img_href() |
234 |
- added html_th() helper function. |
235 |
- Changed html_textarea. Added a new parameter of Value |
236 |
so you can prepopulate the text area field with data. |
237 |
- Fixed a bug with InfoTable's render() method. It wasn't |
238 |
properly handling the output_debug param. |
239 |
- Added TODO file. |
240 |
- Added a new feature to automatically htmlentities() for |
241 |
tag attribute values if we are rendering in XHTML_STRICT |
242 |
mode. This prevents the w3c validator from complaining |
243 |
about the & char. |
244 |
|
245 |
|
246 |
Version 1.0.1 - Walt A. Boring IV <waboring@buildabetterweb.com> |
247 |
- added html_div(), and html_td() |
248 |
- added html_div(), and html_td() |
249 |
- fixed w3c validation bug for the TextNav class. |
250 |
We can't put a background image in a td. It Has |
251 |
to be in a css. |
252 |
- Fixed a <TD colspan> issue for a blank entry in the |
253 |
NavTable class. |
254 |
- reorganized html_utils.php so the functions are in |
255 |
alphabetical order. Should be easier to find them |
256 |
as a reference. |
257 |
- added usemap attribute support to html_img() and |
258 |
html_img_href() |
259 |
- updated the online API docs (javadoc output) in the |
260 |
doc directory. |
261 |
|