Changes from 1.0 to 1.0.1

  • These are the changes to the code from Ext 1.0 to Ext 1.0.1. It doesn't include any of the stylesheet changes, but changes were pretty minor.

    examples/form/dynamic.js
    - Moved loading from an XmlReader to be a plain JSON implementation

    examples/form/xml-form.js
    - Rearranged example for clarity and a few improvements

    examples/grid/custom-grid.html
    - Now shows how to implement the PropertyGrid

    examples/locale/languages.js
    - Improved the locale information to include the charset as well as added a few languages

    examples/locale/multi-lang.html
    - Now shows how to use the urlDecode() functionality

    examples/locale/multi-lang.js
    - Now uses the urlDecode() functionality

    examples/tree/organizer.js
    - Bug fix for the node that's being edited having the wrong identifier

    source/debug.js
    - init() - Bug fix to correct the resize overlay

    source/adapter/jquery-bridge.js
    - getY(), getX(), getXY() - Added config options to the offsets to turn off scrolling
    - formRequest() - Bug fix to check the form's method instead of blindly setting the method to POST
    - scroll() - Bug fix to set args.scroll.to instead of args.to for the scrollLeft and scrollTop items

    source/adapter/prototype-bridge.js
    - formRequest() - Bug fix to check the form's method instead of blindly setting the method to POST

    source/adapter/yui-bridge.js
    - formRequest() - Bug fix to check the form's method instead of blindly setting the method to POST

    source/core/DomHelper.js
    - createDom() - Bug fix to repair a defect in the createDom() call
    - insertHtml() - Minor refactor for afterbegin and beforeend placement

    source/core/Element.js
    - query() -
    - down() - New function that looks for the first child node not including this node matching the selector
    - getViewSize() - New function to return the size of the current view
    - getConstrainToXY() - New reusable function to constrain layout to a specific element or view
    - update() - Bug fix to use the type= tag of a javascript file if it's loaded through the update manager
    - getBox() - Bug fix for not applying the box layout properly
    - createShim() - Minor refactoring for slight performance improvement
    - createChild() - Minor functionality improvement to allow overwriting the element in addition to insert or append
    - Class level - Added a boxMarkup a property to wrap elements
    - El.uncache() - Iteratively removes an element from the element cache
    - Element now hooks the unload event for the window and removes El.cache and El._flyweights when the window unloads

    source/core/EventManager.js
    - fireDocReady() - Now sets Ext.isReady to true prior to firing events
    - initDocReady() - Minor refactoring for dealing with deferred loading
    - stopListening() - Bug fix for improper global variable scoping

    source/core/Ext.js
    - New Ext variable, isSecure, is set of it's an SSL connection
    - New Ext variable, isReady, is set to false by default. Is set to true when the document is completely loaded
    - addBehaviors() - New function to apply listeners to elements when the document is ready. See documentation for Ext
    - extend() - Minor variable name changes
    - urlDecode() - Bug fix to decode the URI components instead of blindly using them
    - getCmp() - New shorthand function to Ext.ComponentMgr.get()
    - destroy() - New function that destroys all object arguments passed to it including functions, listeners, and the object itself
    - Added Ext.layout to the namespace

    source/core/Fx.js
    - afterFx() - Minor fix to deal with classes

    source/core/Template.js
    - insertFirst() - New function to insert a template item first in the list. See documentation
    - insertBefore() - Refactored to use doInsert()
    - append() - Refactored to use doInsert()
    - doInsert() - new function to insert a node into the dom (private)

    source/data/Connection.js
    - All new documentation

    source/data/HttpProxy.js
    - All new documentation

    source/data/JsonReader.js
    - Documentation now provides a new example of usage with the Record class

    source/data/MemoryProxy.js
    - Added documentation tag so it gets auto documented. Should show docs in the doc tree now

    source/data/Record.js
    - All new documentation

    source/data/ScriptTagProxy.js
    - Added documentation tag so it gets auto documented. Should show docs in the doc tree now

    source/data/Store.js
    - clearFilter() - Now allows for suppressing events

    source/dd/DDCore.js
    - constrainTo() - Minor bug fix for view constraining
    - handleMouseMove() - Additional sanity checks
    - Added 2 new default handlers for beforeMove and afterDrag

    source/dd/DragSource.js
    - startDrag() - Minor refactoring to use x,y instead of an object
    - onInitDrag() - Minor refactoring to use x,y instead of an object

    source/dd/DragZone.js
    - onInitDrag() - Minor refactoring to use x,y instead of an object

    source/dd/Registry.js
    - constructor now uses the 'extdd' prefix for ids instead of 'yddgen'

    source/util/Observable.js
    - Added some top level documentation for the class

    source/util/BasicDialog.js
    - Fixed a peekaboo bug in IE when the dialog was closed and reopened. This should make some folks happy
    - destroy() - Now calls Ext.destroy()
    - orderDialogs() - Minor sanity check for zindex reordering

    source/widgets/BoxComponent.js
    - New class for box layout. Undocumented, so test at your leisure

    source/widgets/Button.js
    - render() - Now sets a default event handler for focus and blur
    - The class now allows listening or not listening for mouse events

    source/widgets/ColorPalette.js
    - onRender() - Minor bug fix to deal with positioning
    - afterRender() - Now calls the superclass afterRender() before finishing

    source/widgets/Component.js
    - Saves the original configuration passed in, presumably to allow for reverting back to a baseline or duplicating
    - render() has been completely refactored
    - Lots of minor changes for clarity

    source/widgets/Container.js
    - Removed

    source/widgets/DatePicker.js
    - Constructor now checks if a 'value' property is passed in, and if so uses that instead of the current date/time

    source/widgets/Layer.js
    - Lots of changes here. Heavily rewritten to provide functionality for upcoming releases

    source/widgets/MenuButton.js
    - The class now allows listening or not listening for mouse events

    source/widgets/MessageBox.js
    - Tag fix for XHTML compliance

    source/widgets/QuickTips.js
    - show() - Sanity check on the width parameter not being an int when it's passed in

    source/widgets/Resizable.js
    - No clue because I still can't read MacIntosh files properly. :)

    source/widgets/Shadow.js
    - show() - Now uses MS specific stuff to display transparency
    - realign() - Several sanity checks added. Also added IE specific code to deal with IE oddities
    - Ext.Shadow.Pool - Removed a redundant IE opacity issue that's repaired in show() for PNGs

    source/widgets/SplitBar.js
    - Added a new event, beforeapply, that allows you to invalidate a splitter resizing

    source/widgets/TabPanel.js
    - added a default mousdown event handler

    source/widgets/Toolbar.js
    - Refactored to split the creation functionality from the rendering functionality

    source/widgets/View.js
    - JsonView removed from file

    source/widgets/Action.js
    - failure() - Added the response to the object
    - success() - Fixed a bug in which no event would fire in certain cases

    source/widgets/form/BasicForm.js
    - waitMsgTarget - New property that allows you to specify your wait target
    - updateRecord() - Bug fix (typo)
    - beforeAction() - Loading message handling for new property
    - afterAction() - Loading message handling for new property
    - getValues() - Now allows you to pass in a boolean that says you want to return the values in raw format

    source/widgets/form/Combo.js
    - expand() - The control cannot be expanded and must have the focus before it will expand the combo box now

    source/widgets/form/DateField.js
    - onTriggerClick() - Bug to to apply the config to the correct widget

    source/widgets/form/Field.js
    - Added new config parameter, validateOnBlur, that validates a field when its blur event is fired
    - onRender() - Styles are no longer applied during the rendering process
    - afterRender() - Now calls the superclass first
    - onBlur() - Now deals with the new validateOnBlur property
    - isValid() - Additional sanity checks added
    - validate() - Now checks for a field being disabled and skips validation if it is

    source/widgets/form/Form.js
    - Sanity checks added to quite a few places
    - startMonitoring(), stopMonitoring(), bindHandler() - All new functions to handle form monitoring

    source/widgets/form/NumberField.js
    - validateValue() - Now checks for a decimal separator

    source/widgets/form/TextArea.js
    - autoSize() - Does some additional sanity checks

    source/widgets/form/TextField.js
    - initEvents() - Code cleanup for efficiency
    - reset() - Code cleanup for efficiency
    - applyEmptyText() - New function to put empty text in a textfield
    - postBlur() - Code cleanup for efficiency

    source/widgets/form/TriggerField.js
    - Several bug fixes related to IE focusing and blurring

    source/widgets/form/VTypes.js
    - email RE changed

    source/widgets/grid/ColumnDD.js
    - Ext.grid.HeaderDragZone - Added sanity checks
    - Ext.grid.HeaderDragZone.afterValidDrop(), afterInvalidDrop() - New functions for handling header drops

    source/widgets/grid/ColumnModel.js
    - Lots of documentation added

    source/widgets/grid/EditorGrid.js
    - onEditComplete() - Bug fix for a missing event prefix

    source/widgets/grid/Grid.js
    - Lots of documentation added

    source/widgets/grid/GridView.js
    - Added a small layer of backward compatibility
    - focusCell() - Now focuses the cell properly in FF
    - Default context menu for headers no longer places a separator at the end by default
    - render() - dd added to the object instead of the function scope
    - layout() - Checks for display:none

    source/widgets/layout/BorderLayout.js
    - updateBox() - Bug fix to apply the size to the proper panel
    - setActivePanel() - No longer sets the style for left/right. It now updates the dom directly
    - add() - Sanity check for activating the region. It must exist before activating it
    - addRegion() - Split into addRegion() and bindRegion(), probably for future functionality
    - layout() - hideOnLayout is no longer a supported property

    source/widgets/layout/ContentPanels.js
    - setSize() - Now uses autoHeight, if told to do so. Otherwise it uses the previous standard height

    source/widgets/layout/LayoutManager.js
    - Additional sanity checks in constructor

    source/widgets/layout/LayoutRegion.js
    - Titlebar options will only be applied if the titlebar property is set in the config
    - Code rearranged for clarity
    - updateBody() - Now really does apply the adjustments passed in through the config properties
    - setActivePanel() - Bug fix for close buttons appearing when they shouldn't in some cases

    source/widgets/layout/ReaderLayout.js
    - Fully documented now

    source/widgets/menu/MenuMgr.js
    - Additional sanity checks throughout the code
    - onMouseDown() - Now now hides after 50 ticks. This is a private function.

    source/widgets/tree/TreeEditor.js
    - fitToTree() - Does some additional calculations for fitting the tree into the space


  • thanks dfenwick! :)

    the source/locale directory seems to be missing from the 1.0.1 download (http://extjs.com/deploy/ext-1.0.1.zip) however... :-/

    [edit]
    even the new Localization with Ext (http://extjs.com/deploy/ext/examples/locale/dutch-form.html) example is missing the directory...


  • source/experimental/ and source/locale/ are missing in download.


  • Thanks again dfenwick!







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Changes from 1.0 to 1.0.1 , Please add it free.