Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Changes from 1.0 to 1.0.1

  1. #1
    Ext JS Premium Member
    Join Date
    Mar 2007
    Location
    Virginia, USA
    Posts
    220
    Vote Rating
    0
      0  

    Lightbulb 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

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Location
    Toronto, ON, CA
    Posts
    202
    Vote Rating
    0
      0  

    Default

    Thanks again dfenwick!

  3. #3
    Sencha User mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    5
      0  

    Default

    thanks dfenwick!

    the source/locale directory seems to be missing from the 1.0.1 download however...

    [edit]
    even the new Localization with Ext example is missing the directory...

  4. #4
    Ext User
    Join Date
    Mar 2007
    Posts
    64
    Vote Rating
    0
      0  

    Default

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

  5. #5
    Ext User
    Join Date
    Mar 2007
    Posts
    64
    Vote Rating
    0
      0  

    Default

    Following is my test for Ext.Layer, it's work on 1.0, but not work on 1.0.1. What's differents for Ext.Layer?

    Thanks.


    <html>
    <head>
    <title>My Layer Test</title>
    <link rel="stylesheet" type="text/css" href="../resources/css/ext-all.css" />
    <link rel="stylesheet" type="text/css" href="../resources/css/ytheme-aero.css" />
    <script type="text/javascript" src="../adapter/yui/yui-utilities.js"></script>
    <script type="text/javascript" src="../adapter/yui/ext-yui-adapter.js"></script>
    <script type="text/javascript" src="../ext-all.js"></script>
    <style type="text/css">
    .x-layout-panel-hd-tools {
    position:absolute;
    top:2px;
    padding-right:0px;
    z-index:6;
    width:55px;
    cursor:default;
    height:16px;
    background:transparent;
    }

    .x-layout-panel-hd-text {
    padding:4px;
    }
    </style>
    <script type="text/javascript">
    var Example = function () {
    return {
    init: function () {
    var el = new Ext.Layer({cls:"x-layout-panel", shadow:"sides", shim: false, constrain:true});
    el.fxDefaults = {stopFx: false};
    el.update('<div class="x-layout-panel-hd"><div class="x-layout-panel-hd-text"></div><div class="x-layout-panel-hd-tools"></div></div>');
    title = Ext.get(el.dom.firstChild);
    titleText = Ext.get(el.dom.firstChild.firstChild);
    tools = Ext.get(el.dom.firstChild.lastChild);
    panelBody = el.createChild({tag:"div", cls:"x-layout-panel-body"});

    titleText.update("Hello");
    panelBody.update("This is body");
    el.setStyle("visibility", "visible");
    el.setStyle("left", "10px");
    el.setStyle("top", "100px");
    el.setSize(600,200);
    el.show();
    }
    };
    }();
    Ext.EventManager.onDocumentReady(Example.init, Example, true);
    </script>
    </head>
    <body>

    </body>
    </html>

  6. #6
    Ext JS Premium Member
    Join Date
    Mar 2007
    Location
    Virginia, USA
    Posts
    220
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by kitepad View Post
    source/experimental/ and source/locale/ are missing in download.
    Yeah, I did my diff on my copy from SVN. I was working on it before Jack did the push. We had coordinated on the changelog. I've crossed some things off that aren't relevant in the final push.

    Sorry for the confusion.

  7. #7
    Ext JS Premium Member
    Join Date
    Mar 2007
    Location
    Virginia, USA
    Posts
    220
    Vote Rating
    0
      0  

    Default

    kitepad: Could you post your question in the Help forum please? There were a lot of changes to Layer that I haven't worked through, but if I comment out your show() call, the layer shows fine. I'd have to work through the whole thing though.

  8. #8
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Redwood City
    Posts
    30,626
    Vote Rating
    56
      0  

    Default

    The doc generator isn't "seeing" a lot of the additional documentation.

    Especially the new @cfg config documentation, so the Grid doc page doesn't have all that useful info. There were some mistakes in the comment syntax, but the generator just misses a lot of options.

  9. #9
    Ext User
    Join Date
    Apr 2007
    Posts
    1
    Vote Rating
    0
      0  

    Default tanks

    tanks so much

  10. #10
    Ext User
    Join Date
    Mar 2007
    Posts
    64
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by dfenwick View Post
    kitepad: Could you post your question in the Help forum please? There were a lot of changes to Layer that I haven't worked through, but if I comment out your show() call, the layer shows fine. I'd have to work through the whole thing though.
    Ok. It's work now. Very thanks.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •