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