Search the web
Sign In
New User? Sign Up
ydn-javascript · Yahoo! User Interface Library Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Announcing YUI 2.5.1   Message List  
Reply | Forward Message #27689 of 52113 |
The YUI team has posted a new release today. YUI 2.5.1 is now available for download.

In addition to fixes to over 60 bug reports filed by members of the YUI community,  the 2.5.1 release contains the following additions:

Improved Adobe AIR Support: The Rich Text Editor and DataSource components of the library have been updated for better AIR support.
Fix for JSON Parsing in FireFox:  Incorporated Douglas Crockford's fix for a security vulnerability where the parser could be tricked into processing an unquoted string as quoted which could allow unsafe scripts to be evaled.
YUI Configurator: New functionality on the YUI website that automatically generates a correct list of file includes based on selections made from a dashboard of YUI components.
• New aggregate file — yuiloader-dom-event.js: This new aggregate file is the ideal baseline roll up to use when you want to be able to lazy-load any part of YUI on-demand

Please refer to the README files included with the components that you use in your development for the full details of the changes and bug fixes that were made, or to the README digest attached for a summary of all of the 2.5.1 changes.

As always, a big "Thank you!" goes out to all of members of the YUI community for your feedback in the form of the bug reports, patches, and feature requests submitted to the YUI tracker components in Source Forge. We greatly appreciate your participation in the continued enhancement of YUI and look forward to receiving your feedback. YDN-javascript@yahoogroups.com continues to be the preferred forum for general comments and questions. However, if you find a bug, please log the details along with a page link or sample code in the YUI bug tracker on Source Forge

Best regards,
george puckett
on behalf of the YUI development team: Adam Moore, Dav Glass, Eric Miraglia, Jenny Han Donnelly, Luke Smith, Matt Sweeney, Nate Koechley, Satyen Desai, Thomas Sha, and Todd Kloots; and contributers: Josh Tynjala, Matt Mlinac, Allen Rabinovich, and Nicholas Zakas


Wed Mar 19, 2008 10:04 pm

george.puckett
Offline Offline
Send Email Send Email

YUI Release 2.5.1 README Digest

 

This document is a summary of the 2.5.1 update information that has been added to the respective

README files included within each component folder.  Please refer the README files for the

components you are using for a full change history of each component.

 

 

Animation

- No changes

           

AutoComplete

- No changes

           

Base

- No changes

           

Button

- No changes

           

Calendar

- Bug Fixes

- Fixed bug with mindate, maxdate being applied incorrectly if

  set to a day on which time change took place (DST, E.U Summertime)

  and the day is not the first day of the week.

 

- Fixed DateMath.getWeekNumber implementation to return correct

  week numbers. The older implementation would return Week 0 for

  certain weeks (e.g. the week starting Sun Dec 28th 2008)

 

  To suppor the fix, DateMath.getWeekNumber has a signature

  change in 2.5.1 and can now support U.S Week calculations based

  on Jan 1st identifying the first week of the year, as well as

  ISO8601 week calculations based on Jan 4th identifying the first

  week of the year

 

  The arguments which the method expected prior to 2.5.1 were not

  being used in calculating the week number. The new signature is:

 

  DateMath.getWeekNumber(Date dt, Number firstDayOfWeek, Number janDate)

 

  Where:

 dt is the date for which week number is required

 

    firstDayOfWeek is the day index identifying the first

    day of the week. Default is 0 (Sunday).

 

    janDate is the date in the first week of January, which

    identifies the first week of the year.

    Default is YAHOO.widget.DateMath.WEEK_ONE_JAN_DATE (1)

 

  NOTE: Calendar instances themselves do not currently expose a

  configuration property to change the week numbering system

  used. A "janDate" value is not passed to the getWeekNumber

  method, when used by Calendar, resulting in it using the default value.

 

  Therefore, ISO8601 week numbering can be generated for Calendars

  by setting the value of YAHOO.widget.DateMath.WEEK_ONE_JAN_DATE

  to 4.

 

Charts

- No changes

 

Color Picker

- No changes

 

Connection

- No changes

 

Container

- Bug Fixes

- Module.setBody, setHeader and setFooter methods now accept

  DocumentFragments. This feature was implicitly available

  in versions prior to 2.5.0 and is now officially supported.

 

- Enhancements

- Optimized addition of Modality focus handlers on masked

  elements (which are used to enforce modality) and added

  ability to disable feature, to avoid timeout script errors

  in IE if your page contains a very large number of focusable

  elements.

 

  Additionally changes to Event in 2.5.1 should allow

  for increased scalability, when using Modal panels containing

  large numbers of focusable elements on the page.

 

  Added a YAHOO.widget.Panel.FOCUSABLE property, defining

  the set of elements which should have focus handlers applied

  when covered by the Modal mask.

 

  If you wish to disable the addition of focus handlers to all

  focusable elements on the page when a Modal Panel is displayed,

  the property can be set to an empty array:

 

        YAHOO.widget.Panel.FOCUSABLE = [];

 

  NOTE: This will mean that elements under mask may still be

  accessible using the keyboard, however the mask will still

  prevent mouse access to elements.

 

Cookie Utility

- Bug Fixes

- Fixed bug preventing cookies with numbers or non-alphanumeric

    characters in the cookie name from working correctly.

 

Data Source

- Enhancements

- Replaced custom function parsing with parsed/walked value locators for

    responseSchema.resultsList, .fields, etc

- Added metaFields to responseSchema to capture arbitrary response data

 

Data Table

- Enhancements

- Only split THEAD from TBODY markup for scrollable tables.

- columnResizeEvent sends new width value.

- Improved performance for adding, deleting, and updating rows dynamically.

 

Dom

- Bug Fixes

- getStyle fix for getting computedStyle across documents

 

Drag and Drop

- No changes

 

Editor

- Bug Fixes

- Adobe AIR Support

        - 1763867 - Adobe AIR: iFrame document open

        - 1763869 - Adobe AIR: Blank Image insertion fails

        - 1763872 - Adobe AIR: Setting font-family fails

        - 1763880 - Adobe AIR: Image Editor should show copy/paste note

 

    - Internet Explorer

        - 1556954 - [SF 1816784 ] tabbing troubles...

        - 1776579 - [SF 1873881 ] IE Bulleting Behavior

 

    - Safari

        - 1775802 - [SF 1899803] Links in safari are treated as regular links...

        - 1777918 - [SF 1898878 ] Safari uses <span> instead of <strong> tags...

 

    - All

        - 1776107 - ToolbarButton doesn't have a destroy method

        - 1776117 - Editor Accessibility Enhancements

        - 1776539 - [SF 1874009 ] Greedy Regex in RTE Eats embed and other tags

        - 1777925 - [SF 1878976 ] Regex matches both <i> and <iframe>

        - 1764038 - [SF 1898886 ] Problem with handleSubmit after move to 2.5.0

        - 1693686 - [SF 1869619] Image Modification Dialog

 

Element

- No changes

 

Event

- Bug Fixes

- Arrays are once again resized when a listener is removed.

- onAvailable/onContentReady stop polling when there is nothing to look for.

 

Fonts

- No changes

 

Get

- Enhancements

    - onFailure callback receives a second parameter containing an error message.

    - Added 'charset' configuration option for inserted nodes.  Default is utf-8.

    -  Added 'insertBefore' configuration to specify a node or node id to insert before.

      This can be used to position CSS nodes before any overriding styles.

 

Grids

- Bug Fixes

- Added more specific selectors to allow nesting on "yui-gd" grids

    within "yui-ge" for Bugzilla #1779582, Sourceforge #1897741

  - Modified Page Width and Template Preset values for IE

 

- Enhancements

  - Reordered several rules; formatted file and added more comments

  - Modified width and margin values for "thirds" nesting grid

  - Combined and optimized several selectors and rules

 

History Manager

- Bug Fixes

- While BHM still does not work with current versions of Opera, we

    are no longer throwing an exception in Opera -- which, if uncaught,

    causes execution to stop.  Instead, we're messaging the unsupported

    browser issue via YAHOO.log.  This will allow other aspects of a BHM-

    managed script to continue executing in Opera.

 - Fixed issue with case-sensitive tagName comparisons

    (SourceForge bug 1868730).

 

 

Image Cropper

- Bug Fixes

- Fixed Issues dealing with mask resize and keeping crop interface inside of crop region

- 1770394 - [SF 1900953 ] Ratio doesn't work

- 1776164 - [SF 1903193 ] Several issues with the crop window

- 1779430 - [SF 1904258 ] Initial CSS size isn't checked

 

Image Loader

- No changes

 

JSON

- Enhancements

- Added support for native toJSON method

- Updated special characters RegExp

- Changed stringification to account for odd responses to typeof

 

Layout Manager

- Bug fixes

- 1756637 - handling of scrollbar on panel resize is inconsistent

- 1767234 - [SF 1900012] LayoutUnit loses scrolled state on resize

- 1770567 - [SF 1901621] Left Unit Disappears on Expand

- 1778721 - [SF 1904062] Layout Manager documentation error

- 1781653 - Don't assume element with id "doc" is the body

- Removed the requirement for the collapse config option in order to programatically  

   collapse a unit.  

 

Logger

- Enhancements

- Support object introspection to Firebug.

- Better performance when rendering messages to LogReader.

 

Menu

- Bug fixes

- The "url" configuration property of YAHOO.widget.MenuItem now returns the exact value of the

  "href" attribute of its anchor element in Internet Explorer.

- Clicking on an item in a Menu will no longer cause Firefox to scroll to the top of the window.

 

- Enhancements

- Improved Menu's viewport boundary awareness.

 

Profiler

- No changes

 

Profiler Viewer

- No changes

 

Reset

- No changes

 

Resize

- Bug fixes

- 1766923 - [SF 1899888] Resize.destroy() not removing status

- 1784371 - Status div tracks on resize cancel

 

Selector

- Bug fixes

- query() returns null when firstOnly and no result

- correctly handle quoted attributes

                                                     

Slider

- No changes

 

Tab View

- No changes

 

Tree View

- No changes

 

Uploader

- Enhancements

- Added Adobe AIR detection

 

YAHOO Global

- Bug fixes

- Fix to ensure UploadCancel event fires as expected.

 

YUI Loader

- Enhancements

- Updated metadata for 2.5.1.

- Added the get utility's support for 'insertBefore'.

- Added the get utility's support for 'charset'.

- Increased rollup threshold for reset-fonts-grids so reset-fonts will be

   selected when appropriate.

- yuiloader supersedes yahoo and get.

- Modules now can have an 'after' property that can be used to specify

   a list of modules that are not dependencies, but need to be included

   above the module if they are present.

 - base will always be included after reset, fonts, and grids. Skin css

   will be included after all of the above.

 - Added a new rollup: yuiloader-dom-event (yuiloader includes yahoo and get as well).

 - utilities.js now includes yuiloader and get.

 - loaded modules which supersede other modules but don't allow automatic

   rollup work correctly (the superseded modules won't load).

- The filter property can be set on the instance.

 - Custom css modules are always sorted below YUI css.

 - The loader will not attempt to rollup the skin css for custom skinnable modules.

 

- Bug fixes

- Fixed profilerviewer's dependency list.

- Addessed a source order issue when logger is included after a component

   which tries to instantiate it at load time.

 

YUI Test

- Enhancements

- Added ability to include framework assertion message in addition to custom assertion

     message.

 

- Bug fixes

  - Fixed ObjectAssert.hasProperty() so that is correctly identifies declared properties with a     

    value of undefined.

  - Fixed DateAssert documentation errors.

 



Source Forge Bugs Fixed in YUI 2.5.1
Source Forge ID Summary Submitted By
1895696 [#1778973] Week 53 displays as Week 0 altearius
1802145 [#1517626] not resizing internal listener array-poor perform. bigwebguy
1900016 [#1777759] Certain widths cause runtime error in IE7 bltcoder
1904062 [#1778721] Layout Manager documentation error bobprime
1904416 [#1780654] Non-hyperlink items in dynamically positioned menu brianking_ch
1900696 [#1770756] updateRow slow on IE7 in 2.5.0 chivinou
1898886 [#1764038] Problem with handleSubmit after move to 2.5.0 christaggart
1899803 [#1775802] Links in safari treated as regular links w/CSS christaggart
1902445 [#1773373] :DT collapses message Tbody w/empty resultset corporatedog
1902973 [#1776138] YUI Loader and YUI styles curran_chris
1902256 [#1773422] Links fail when method and event have same name devasatyam
1828132 [#1699193] parseJsonData fails on valid field names devasatyam
1855447 [#1692376] CSS files don't obey dependencies devasatyam
1899614 [#1766994] Docs for DataTable shows in Courier font devasatyam
1904581 [#1781874] Doc:_generateRequest refers to "generateParameter" devasatyam
1889468 [#1741695] All beforeXXXXChangeEvent documented wrong devasatyam
1904568 [#1781883] formatDropdown doesn't select current value devasatyam
1845568 [#1637042] filter property ignored devasatyam
1910231 [#1798972] isSelected reports wrong on TR elements devasatyam
1889974 [#1779621] YUI Test Keep Stack Information dhtmlkitchen
1900446 [#1770385] bad link to example dschultz1
1906684 [#1791683] Width is incorrect if no rows exists dsdart
1902715 [#1775183] DT w/scrolling&pagination makes unwanted scrollbar eddified
1835984 [#1692400] Error with minDate/maxDate on DST dates frsantos
1910714 [#1798932] hideOnSubmit still referenced on website garthbrown
1901343 [#1770767] Selector.query has wrong return value gerbenjorna
1914999 CSS files loaded in the wrong order iobe
1904258 [#1779430] Initial CSS size isn't checked ifland
1908498 [#1793511] selecting menu item jumps viewport to top of page jablko
1816784 [#1556954] tabbing trubles... jacobfogg
1899888 [#1766923] Resize.destroy() not removing status jeffreybell
1901621 [#1770567] Left Unit Disappears on Expand jhillacre
1904755 [#1790273] X and Y values in initialXY are reversed jon
1898909 [#1764028] Introspect startIndex, sort from JSON data jsshirley
1898464 [#1763201] IE6: Datatable "Invalid argument" in hidden div k2crow
1908202 [#1791545] Safari: Get util require "charset=utf-8" k2crow
1903592 [#1777703] Second column masks input field in IE6 karls
1899824 [#1766940] myDataTable addRows VERY slow in FF and Safari 3 kdijkman
1580315 [#1231491] TreeView depth cells should be fixed width kun1he2
1874009 [#1776539] Greedy Regex in RTE Eats embed and other tags matheny
1868730 [#1691659] 2.4.1 BHM: Firefox >=2.0.0.9 Initialization Error matriarktervel
1898858 [#1764072] get fails when using numbers as cookie name mattberg
1890594 [#1777857] click event not prevented effectively memorathoner
1899994 [#1767376] Quoted attribute values incorrectly parsed nesetril
1914414 [#1812130] ArrayAssert.containsItems causes error ntfr182
1912572 Wrong behaviour of server side pagination ruslan_y
1900012 [#1767234] LayoutUnit loses scrolled state on resize rybesh
1804491 [#1517622] Loader doesn't include LogWriter in Debug mode salamanders
1831510 [#1699214] Datatable date editor's cal not show well in IE7 taol
1899250 [#1765830] DataTable._cloneObject cannot handle null value taol
1878976 [#1777925] Regex matches both <i> and <iframe> ugly-kid-joe
1908070 [#1791665] DT Empty data received from datasource veselu
1873881 [#1776579] IE Bulleting Behavior zannalov
1873966 [#1776581] fs_button default selection zannalov
1898573 [#1764044] DataTable: Complex Ex - IE6 Crashes! zmische
1898656 [#1764054] Doubled source Files for YUITest zmische
1904231 [#1779418] Resizing a nested table doesn't work in IE nobody
1897741 [#1779582] Nesting of YUI-GD withing YUI-GE not working nobody
1898172 [#1762545] Type casting in DataTable for JSON payloads nobody
1903193 [#1776164] Several issues with the ImageCropper nobody
1898305 [#1763220] Flickr on FF 2.x after sorting nobody
1807010 [#1517264] _tryPreloadAttach's tryAgain nobody
1900953 [#1770394] Ratio doesn't work nobody
1881188 [#1777840] DataSource doesnt allow json data starting w/array nobody
1869619 [#1693686] Image Modification Dialog nobody
1904208 [#1779450] Unwanted table scroll bar on Firefox nobody
1901284 [#1763201] DataTable fails when created in hidden container nobody
1883014 [#1778729] Improvements to onDOMReady nobody


Forward
Message #27689 of 52113 |
Expand Messages Author Sort by Date

The YUI team has posted a new release today. YUI 2.5.1 <http://yuiblog.com/blog/2008/03/19/yui-251/> is now available for download...
georgiann puckett
george.puckett
Offline Send Email
Mar 19, 2008
10:04 pm

Hi! Nice work! I really love YUI! One question: When the Carousel Control for YUI will be released? Thank you! Fernando georgiann puckett wrote: The YUI team...
Fernando Santos
topet05
Offline Send Email
Mar 20, 2008
1:05 am

Hey Fernando, ... Eric Miraglia, YUI's project lead, send an Roadmap Update last week included this snippet: "YUI 2.x will go through at least one more...
Nate Koechley
nate.koechley
Offline Send Email
Mar 20, 2008
1:56 am

I've been out of town this past week, when this announcement came. Needless to say, I tried it as soon as I got a chance and the brief mention of the changes...
Satyam
satyamutsa
Offline Send Email
Mar 23, 2008
6:30 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help