/[cvs]/nfo/php/libs/com.newsblob.phphtmllib/doc/ric_CHANGELOG.html
ViewVC logotype

Annotation of /nfo/php/libs/com.newsblob.phphtmllib/doc/ric_CHANGELOG.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Wed Sep 24 13:03:58 2003 UTC (20 years, 11 months ago) by jonen
Branch: MAIN
Changes since 1.1: +187 -30 lines
File MIME type: text/html
+ updated whole phphtmllib to v2.3.0

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

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed