1 |
$Id: CHANGELOG,v 1.60 2003/07/31 23:06:54 hemna Exp $ |
2 |
|
3 |
++ Major change or new feature. |
4 |
+ fairly large change |
5 |
- minor change |
6 |
|
7 |
Version 2.3.0 - July 31, 2003 |
8 |
- pulled a small issue from FormProcessor. $this->_message never used. |
9 |
- changed FormProcessor::set_render_form_after_succes() to accept a flag, |
10 |
instead of just setting it to TRUE always. |
11 |
- Added some tests in the FormContent element access methods, to help |
12 |
developing a form. It traps for invalid FormElement labels. |
13 |
+ Added FEFile FormElement from Dave Brondsema <dave@brondsema.net> |
14 |
+ Started work on the FormWizard |
15 |
- cleanup of some warnings for the DataList widgets. |
16 |
- Fixed a problem with doing some queries in the PEARSQLDataListSource |
17 |
- added HTMLPageClass::set_language() as a request from |
18 |
Davide "Design" Muzzarelli. |
19 |
- fixed DefaultGUIDataList alignment blowing up. |
20 |
- small change to the TABLEtag::add_row method to be cleaner in how |
21 |
we check for TR or TD objects |
22 |
+ Added the ability to check the status of the FormProcessor state |
23 |
after the constructor processes the form. Now you can find out |
24 |
if the form was confirmed and action was processed successfully |
25 |
so you can do something besides show the form. |
26 |
- added the ability to find out what action was taken by the form |
27 |
engine with FormProcessor::get_action() |
28 |
+ Added the ability to automagically set a character limit in the |
29 |
FETextArea element |
30 |
+ Added the ability to not automatically show the errors in the |
31 |
FormProcessor. This allows you to show the errors somewhere else |
32 |
+ Added the ability to set the FormContent error table title and width |
33 |
to something besides the default. |
34 |
+ Added FormContent::get_error_array() and FormProcessor::get_error_array() |
35 |
|
36 |
++ Changed the parameter list to FETextArea(). the rows, cols attributes |
37 |
for a textarea tag are required. |
38 |
- changed htmlentities call in HTMLTagClass to htmlspecialchars so we don't |
39 |
nuke unicode/multibyte chars. |
40 |
++ Added FormContent::javascript() and FormElement::javascript() that |
41 |
automatically get called by the FormProcessor. This allows you to include |
42 |
some raw javascript into a form or a form element, and it will automatically |
43 |
get wraped in a script tag and added rendered with the form. |
44 |
- fixed a lame error in the exmaple7.php source. |
45 |
- fixed a few warnings in example8.php |
46 |
- define the HTML_RENDER_TYPE var in SVGDocumentClass so we don't get php warnings. |
47 |
+ Added the ability to filter rows out of the DataListSource object. |
48 |
just define DataListSource::row_filter() and return TRUE to allow the row or FALSE |
49 |
to drop the row. |
50 |
+ Added FEYesNoListBox, and added the ability to change the yes/no values |
51 |
for the FEYesNoRadioGroup |
52 |
- don't validate FormElements that are disabled. |
53 |
|
54 |
+ added the ability in the FormContent and FormElement to have more then 1 error |
55 |
+ added FEConfirmActionButton |
56 |
+ added FENumber to validate an int |
57 |
+ added FENumberInRage to validate an int in a range. |
58 |
+ added FEHostnameWithPort to show a hostname and a Port |
59 |
+ added FEIPAddressWithPort |
60 |
- fixed annoying problem with the form_active_checkbox,form_active_radio and |
61 |
FECheckBoxList links causing mozilla to jump to the top of the page when clicked. |
62 |
- removed some of the newlines from the generated output for HTMLPageClass. |
63 |
+ Added HTMLRedirectPage |
64 |
- cleaned up the use of a define for HTML_RENDER_TYPE. It's now a global var, |
65 |
so it can be changed on the fly. |
66 |
- fixed some small warnings in the examples |
67 |
(thanks Pierre) |
68 |
- fixed some warnings in the DefaultGUIDataList object. |
69 |
+ Added a DataList::do_action() method that allows you to do whatever |
70 |
prior to get_data_source() being called. You can pre-massage data in |
71 |
do_action(). By default, it does nothing. |
72 |
+ Added ArrayDataListSource class that pulls data out of an array |
73 |
+ Added XMLTagClass::set_cdata_flag() to toggle the CDATA wrapper flag |
74 |
+ Added xml_ctag(), which is the same as xml_tag(), but sets the bit to |
75 |
automatically wrap all tag content in the CDATA wrapper. |
76 |
|
77 |
|
78 |
|
79 |
|
80 |
|
81 |
Version 2.2.4 - April 3, 2003 |
82 |
- fixed a small documentation issue w/ the DataList::add_header_item() |
83 |
method. |
84 |
- pulled out missing development files in the form_elements/includes.inc |
85 |
D'oh. |
86 |
- fixed small warnings from HTMLTagClass |
87 |
|
88 |
Version 2.2.3 - April 2, 2003 |
89 |
- fixed a problem with the FormContent errors table width. |
90 |
- fixed an error in the form1 example. |
91 |
- fixed an error with Form Confirmation pages with the |
92 |
FECheckBox Form Element. |
93 |
- fixed a minor problem with the TABLEtag object, and adding |
94 |
a BaseWidget child class. It doesn't have a _tag member, so |
95 |
folks that have MAX errors on, got a warning. |
96 |
- Fixed a potential issue with XML attributes. There was a chance |
97 |
that an XML tag's attribute could be empty, which would build |
98 |
an invalid XML tag. DOCTYPE is now an HTMLTagClass child, because |
99 |
it needs attributes w/o values. |
100 |
- Changed FormProcessor to use "post" instead of "POST" so that we |
101 |
build valid XHTML |
102 |
- changed the FormElement rendering of onClick, onChange, etc. to use |
103 |
all lowercase, to build valid XHTML. |
104 |
- added HTMLPageClass::add_js_link() to replace push_js_link() |
105 |
- small fix in the DefuaultGUIDataList::_checkbox_javascript() to |
106 |
be more flexible. Thanks Nils Droge <ndroege@haba-ag.de> |
107 |
- made sure the DataList object's form name is set. |
108 |
- let the user set the DataList form method to post or POST. |
109 |
- Don't do indentation on a PREtag |
110 |
- Added FEDataList::set_list_data() method, to allow folks to set the |
111 |
list of items at any time. |
112 |
+ Some cleanup of the FormProcessor attributes, and added some |
113 |
easy access methods for setting/getting them. |
114 |
- fixed the FormContent::add_image_action() method. Can't use onclick |
115 |
with a input type="image". bogus. |
116 |
+ Added the ability to override the FormValidation and FormErrors classes |
117 |
used by the FormProcessor, so folks can get their errors and text from |
118 |
any method. This helps folks create their own i18n FormErrors class. |
119 |
|
120 |
Version 2.2.2 - March 10, 2003 |
121 |
- Aris Basic <aris.basic@silencesoftware.com> added a new |
122 |
PGSQLDataListSource object, to allow folks to use the |
123 |
PHP built in PostgreSQL native functions for talking to |
124 |
a DB. This avoids the depenancy on PEAR or ADODB. |
125 |
- Added the xhtml_strict_attributes array to the FORMtag |
126 |
declaration. the attributes 'name' and 'target' are not |
127 |
allowed while in XHTML STRICT mode |
128 |
(thanks to Philipp Morger <morger@dolphins.ch> ) |
129 |
- fixed a minor issue in the DataList object that Richard Greene |
130 |
found. |
131 |
- cleaned up the old 'test' scripts in test. |
132 |
- made a small fix to the ADODBSQLDataListSource::count() method when |
133 |
handling a DB error. Thanks to Nils Droge <ndroege@haba-ag.de> |
134 |
- fixed a problem of not being able to search fo '0' in the DataList |
135 |
Thanks to Nils Droge <ndroege@haba-ag.de>. |
136 |
- made a small change to the DefaultGUIDataList to make the search area |
137 |
text be localizable. |
138 |
- Added support to change the encoding type for XHTML pages in the |
139 |
HTMLPageClass::set_encoding() method. |
140 |
- fixed a PHP NOTICE error output in the XMLTagClass. |
141 |
- fixed a problem with XML tags that have no content. It now |
142 |
automatically drops the close tag. |
143 |
- fixed a problem with HTML tags with no content. it no longer |
144 |
renders a newline after the open tag. |
145 |
- fixed a the DOCTYPE tag attributes for XHTML mode. It now gives |
146 |
the full url path to the DTD's on the W3C site. |
147 |
(thanks to Philipp Morger <morger@dolphins.ch> ) |
148 |
- fixed a small indenting problem with XMLTagClass::render_content() |
149 |
- Moved the SVG, WML, XML widgets into their own dirs under widgets. |
150 |
|
151 |
+ Added new SVG Graphing classes. You can now graph a line graph |
152 |
with SVGXYLineGraph |
153 |
|
154 |
Version 2.2.1 - February 21, 2003 |
155 |
- fixed problems with the simple search capability for the |
156 |
DefaultGUIDataList object. |
157 |
- Fixed the count problem with the ADODBDataListSource object |
158 |
- fixed some api calls in the examples/widget8 for form_active_radio |
159 |
and form_active_checkbox |
160 |
* Thanks to Aris "PhanLord" Basic for the heads up on the bugs. |
161 |
|
162 |
|
163 |
Version 2.2.0 - February 20, 2003 |
164 |
- added attributes array as the last parameter to form_select. |
165 |
the attributes are for the select tag. |
166 |
+ Added the new RoundTitleTable widget. It looks like the |
167 |
NavTable widget, but can contain anything. |
168 |
- fixed a minor issue with Container::reset_content() It used to |
169 |
accept new content to automagically add. This has been re-added. |
170 |
Thanks to Freddy from Germany. :) |
171 |
- fixed another duplicated method in SQLDataListSource. arg. |
172 |
+ Added the CSSContainer widget |
173 |
+ changed all of the themed css building scripts to use the |
174 |
new CSSContainer widget. This is handy for site wide |
175 |
themeing. |
176 |
- Fixed a minor php notice in XMLTagClass::prepare_flags() |
177 |
- Added the ability to set the overall alignment for the |
178 |
DefaultGUIDataList object with set_align() |
179 |
- added some code to the ActiveTab to enable going to a |
180 |
specific tab when coming from another page |
181 |
- Added the ability to preselect a specific tab in the ActiveTab |
182 |
widget by passing the selected tab's name in the constructor |
183 |
- fixed the count issue with the ADODBSQLDataListSource |
184 |
- Made the urls in the DataList object W3C happy. & -> & |
185 |
- fixed potential content issues with InfoTable. Now you can |
186 |
call add_row() with a TR or TD tag. |
187 |
|
188 |
++ MAJOR cleanup of all class member variables in ContainerClass, |
189 |
XMLTagClass and HTMLTagClass. I nuked ALL of the flag variables |
190 |
and made them all into 1 bitmask. 13 variables -> 1. This should |
191 |
keep the memory footprint to a minimum. There should be NO |
192 |
compatibility issues. |
193 |
|
194 |
++ Added the new Form Processing classes, for easily building complex |
195 |
forms and automagic validation, as well as automagic confirmation. |
196 |
|
197 |
Version 2.1.3 - November 25, 2002 |
198 |
- fixed a duplicated method in ActiveTab. |
199 |
|
200 |
Version 2.1.2 - November 23, 2002 |
201 |
- fixed a problem with html_map(), it was returning a LEGENDtag. |
202 |
- added $width to ActiveTab::add_tab() so you can change the width |
203 |
of the tab for long titles. |
204 |
- Fixed my mistake with the add/push_reference() methods. |
205 |
According to the php spec, you have to declare the parameter |
206 |
as a reference in the function declaration now, which is |
207 |
counter-intuitive (for us C folks) |
208 |
- Fixed a problem with the XMLDocumentClass' add_reference() method. |
209 |
|
210 |
Version 2.1.1 - November 12, 2002 |
211 |
- Suren Fixed a bad bug in HTMLPageClass::add_head_content() |
212 |
|
213 |
|
214 |
Version 2.1.0 - November 12, 2002 |
215 |
- Added the ActiveTab widget |
216 |
- fixed a problem with the DefaultGUIDataList object comparing |
217 |
the old style tag name of TD. all tags are now lowercase |
218 |
- changed the use of id to class to prevent W3C validation errors |
219 |
when using a widget multiple times on a page. |
220 |
- added form_active_radio() and form_active_checkbox() |
221 |
+ Did some major code cleanup in the _render_tag_* functions |
222 |
between the XMLTagClass and the HTMLTagClass classes. Just had |
223 |
some legacy code living in the HTMLTagClass methods that was |
224 |
now living in the XMLTagClass methods |
225 |
- changed DOCTYPEtag to an XMLTag child |
226 |
- cleaned up the constructor for the DOCTYPEtag and XMLtag |
227 |
+ Did some minor tweaks here and there in the base classes |
228 |
for performance improvements thanks to the adp profiler tool |
229 |
(http://pear.php.net/package-info.php?pacid=118) |
230 |
+ Added xml_doctype() as a helper function for creating a |
231 |
DOCTYPE tag |
232 |
+ added build_doctype() for the HTMLPageClass, so you can modify |
233 |
the DOCTYPE attributes for the document before render() is called. |
234 |
This is good for folks that want to tweak the link1 and link2 |
235 |
attributes to put mozilla/IE into standards compliant mode. |
236 |
SEE: |
237 |
http://mozilla.org/docs/web-developer/quirks/doctypes.html |
238 |
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/doctype.asp |
239 |
+ Did a major reworking of the XMLDocumentClass. Added a lot of features |
240 |
to make it easier to output a valid XML document. |
241 |
+ Added the WMLTagClass (extends XMLTagClass) as the base class for all WML tags. |
242 |
+ Added the WMLDocumentClass widget to build and render valid WML Documents. |
243 |
+ Added the SVGDocumentClass widget to build and render valid SVG Documents. |
244 |
+ Made the BaseWidget a child of the Container to eliminate redunancy in |
245 |
the push/add methods. |
246 |
- added XMLSTYLESHEETtag |
247 |
- updated HTMLPageClass::add_head_content() to allow n params of content |
248 |
+ Added the ADODBSQLDataListSource object, to support ADODB DB objects. |
249 |
- updated examples/widget6.php to show the same list of data from the DB |
250 |
coming from 2 different sources. One source is a PEAR DB object, the |
251 |
2nd source is from an ADODB DB Object. |
252 |
+ Added a CSVFILEDataListSource object, to read data from a CSV formatted file. |
253 |
- Added the CDATAtag, which is used for escaping a tag's contents in XML, so |
254 |
the xml parser reading the xml doesn't parse the data. |
255 |
+ added the full set of W3C's 1.0 recommendation of SVG (Scalable Vector |
256 |
Graphics) tags. |
257 |
+ Added the svg_utils.inc which contains the helper functions for constructing |
258 |
commonly used SVG tags with some help from Charlie Killian. |
259 |
|
260 |
|
261 |
|
262 |
Version 2.0.1 - October 18, 2002 |
263 |
- Fixed a problem with html_small() |
264 |
- got the max_rows functionality working in the DataList widget |
265 |
|
266 |
|
267 |
Version 2.0.0 - October 16, 2002 |
268 |
- Added the title attribute to both html_img_href() and |
269 |
html_img() |
270 |
- created a css dir to hold the css files |
271 |
- Added some new features to XMLDocumentClass, and brought the API |
272 |
up to 2.x standards (add() instead of push() ) |
273 |
- Added the new DataList object widget set. |
274 |
|
275 |
Version 2.0.0-RC1 - October 2,2002 |
276 |
MAJOR CHANGES/FEATURES |
277 |
- Completely rewrote the base HTMLTagClass. It is now |
278 |
based off of XMLTagClass which is a child of the |
279 |
Container class (formerly known as ContainerWidget ) |
280 |
|
281 |
- Changed all push_reference() calls to require a reference to |
282 |
be passed in. call time pass by reference is depricated, and |
283 |
is going away soon, so this had to get changed. |
284 |
|
285 |
- Removed 2nd and 3rd parameter declarations from the |
286 |
HTMLTagClass constructor. It now accepts any number |
287 |
of arguments. The first argument is always an array |
288 |
of the tag attributes. |
289 |
|
290 |
- Added a lot of missing html_* helper/wrapper functions. |
291 |
Some of which have special parameters for most commonly |
292 |
used features of the specific tag. |
293 |
|
294 |
- changed html_td() parameters. It now accepts |
295 |
function html_td($class="", $align=""). 3rd param to |
296 |
n is content for the tag. |
297 |
|
298 |
- added class as the first param to the html_div() function. |
299 |
|
300 |
- Added add() and add_reference() calls. These replace |
301 |
the old style push() and push_reference() calls. |
302 |
All push(), push_reference() and push_row() calls are |
303 |
depricated. |
304 |
|
305 |
- Completely changed the css functionality in the widgets. |
306 |
The widgets now contain the css required for the widget |
307 |
|
308 |
- HTMLPageClass automatically imports javascript and css |
309 |
from a widget, if it is based off of the BaseWidget class |
310 |
|
311 |
- Added the ability to tell the PageWidget and HTMLPageClass |
312 |
the style of indenting of the html output you want. |
313 |
Nice or left justified. |
314 |
|
315 |
|
316 |
MINOR CHANGES/FEATURES |
317 |
- changed all tag declarations to lower case. HTML 4.01 |
318 |
spec recommends using lower case tags. |
319 |
- Added set_class(), set_style() and set_id() for the HTMLTagClass. |
320 |
- Added 1st param to html_span() to be the class value. |
321 |
- added some new functionality to form_select() so it can |
322 |
handle multiple selection boxes. |
323 |
- Added a bunch of missing html/xhtml tags. |
324 |
- Added some new params to html_mailto() to support |
325 |
subject, body, cc |
326 |
- fixed newline problem with the META tag |
327 |
- added html_small() (Suren Markossian) |
328 |
- Added set_collapse() to let you collapse a tag and it's |
329 |
content on 1 line (no newlines or indenting) |
330 |
- Added html_* functions for all the supported Tag Classes. |
331 |
- removed the html_nobr(), since this really isn't a valid |
332 |
w3c tag. If you HAVE to use it...don't. It's DEPRICATED. |
333 |
- removed SPACERtag. its not a real tag. |
334 |
- cleaned out almost all the comments in the ALLTAGS.inc file |
335 |
for a small speed up. |
336 |
- Added font_utils.inc which holds various span/div tag |
337 |
objects with css classes for fonts, which are defeined in |
338 |
css/fonts.css |
339 |
- Added title parameter to the NavTable widget->add(), and made |
340 |
the target param last. |
341 |
- Moved the widget css files to /css |
342 |
|
343 |
|
344 |
|
345 |
|
346 |
Version 1.1.0 - May 7, 2002 |
347 |
- Removed <> symbols from the $_tag variables since it is not a part |
348 |
of an HTML tag. This should reduce the usage of str_replace() in |
349 |
render() functions and make things a little bit faster. |
350 |
- Added html_div_small(), which can be used instead of the |
351 |
spacer.gif trick. |
352 |
- Fixed a bug with form_radio(). Thanks (Tim Moloney) |
353 |
- Added container(), a ContainerWidget helper function. |
354 |
- Fixed a w3c validation bug with the <HR> tag. Can't |
355 |
have a close tag for it. Thanks (James Dingwall) |
356 |
- Fixed a problem with XHTML_STRICT no rendering the |
357 |
<!doctype> attributes correctly. Thanks (Ricardo Pardini) |
358 |
- Added HTMLPageClass::get_html_attributes() and |
359 |
HTMLPageClass::set_html_attributes(), which lets the user |
360 |
of the class get/set the specific attributes to use |
361 |
for the <html> tag. |
362 |
|
363 |
NOTE: |
364 |
- Moved all files from .php to .inc. make sure you change |
365 |
you includes to reflect this change. |
366 |
|
367 |
|
368 |
Version 1.0.3 - April 8, 2002 |
369 |
- Fixed a potential formatting issue w/ tags that don't |
370 |
automatically newline after the opentag. thanks to the |
371 |
Zend debugger. |
372 |
- Added misc_utils.php which holds new push_args() function. |
373 |
- set newline_after_opentag for OPTIONtag to FALSE by default. |
374 |
- Added target to NavTable::push(); |
375 |
- Changed InfoTable's css to a php file, so we can dynamically |
376 |
change the colors. |
377 |
- Made the default cellspacing 0 for InfoTable. |
378 |
- Fixed a small problem with NavTable widget. If there was no |
379 |
subtitle, it would render an empty table for the title, |
380 |
causing old Mozilla's to puke. |
381 |
- Changed the size of the TextNav text to 10pt instead of 8pt. |
382 |
- Added FRAMEtag, FRAMESETtag, NOFRAMEStag classes. |
383 |
- Added support in HTMLPageClass widget for framesets. |
384 |
- Added some frame* utility functions. |
385 |
- Combined all of the tag_classes files into 1 file to avoid |
386 |
lots of repetetive includes. |
387 |
- Added the new ContainerWidget, which is nothing but a |
388 |
wrapper object that contains tags/widgets, and knows how to |
389 |
render the content with the appropriate indentation level. |
390 |
- added the feature of automatically trying to collapse a |
391 |
tag and its content to 1 line. This happens if a tag |
392 |
only has 1 content entry and its a string w/o a \n in it. |
393 |
- Added new html_input() wrapper function which automatically |
394 |
will call htmlspecialchars() on the data for the value |
395 |
attribute. This helps prevent problems with |
396 |
<input value="foo""> -> <input value="foo""> |
397 |
- Fixed a problem with the form_select() helper function. |
398 |
The selected item wasn't working. |
399 |
- Added container(), which is a helper function to build |
400 |
a ContainerWidget and populate it. |
401 |
|
402 |
|
403 |
|
404 |
Version 1.0.2 - November 30,2001 |
405 |
- added 3rd parameter to the HTMLTagClass constructor. It |
406 |
accepts the $newline_after_opentag setting. This helps |
407 |
to keep the nice formatting on certain tags that you want |
408 |
to override the default behaviour. |
409 |
|
410 |
- fixed HTMLPageClass character encoding bug. It wasn't |
411 |
outputing a proper meta tag. |
412 |
- changed doctype for 4.0 to 4.01 |
413 |
- added target param for the html_a() helper function. |
414 |
- changed the default parameters to html_img_href, and |
415 |
html_img. We were forcing the width and height of an image |
416 |
to 1x1 if nothing was passed in. We now don't add them to |
417 |
the tags if they aren't set, which is the desired result. |
418 |
|
419 |
- Changed the FooterNav class to add the ability to show a |
420 |
"webmaster" mailto link. I also cleaned up the formatting |
421 |
of it a bit as well. |
422 |
|
423 |
- fixed source formatting issue with html_img_href() |
424 |
- changed html_a() to always force no newline after opentag |
425 |
- added $target to html_img_href() |
426 |
- added html_th() helper function. |
427 |
- Changed html_textarea. Added a new parameter of Value |
428 |
so you can prepopulate the text area field with data. |
429 |
- Fixed a bug with InfoTable's render() method. It wasn't |
430 |
properly handling the output_debug param. |
431 |
- Added TODO file. |
432 |
- Added a new feature to automatically htmlentities() for |
433 |
tag attribute values if we are rendering in XHTML_STRICT |
434 |
mode. This prevents the w3c validator from complaining |
435 |
about the & char. |
436 |
|
437 |
|
438 |
Version 1.0.1 - August 25, 2001 |
439 |
- added html_div(), and html_td() |
440 |
- added html_div(), and html_td() |
441 |
- fixed w3c validation bug for the TextNav class. |
442 |
We can't put a background image in a td. It Has |
443 |
to be in a css. |
444 |
- Fixed a <TD colspan> issue for a blank entry in the |
445 |
NavTable class. |
446 |
- reorganized html_utils.php so the functions are in |
447 |
alphabetical order. Should be easier to find them |
448 |
as a reference. |
449 |
- added usemap attribute support to html_img() and |
450 |
html_img_href() |
451 |
- updated the online API docs (javadoc output) in the |
452 |
doc directory. |
453 |
|