v4.0.7
This should be revised/checked after updating to the next ExtJS ver.
Code token used: v4.0.7



1.
Where: js\sencha\bootstrap.js , Lines 40, 44, 73.
What:
a) Tweaked to ignore ?1.0.1.185 at the end of bootstap.js.
b) Tweaked to load "-debug-w-comments" Ext version.

2. 4.0.2, fixed in 4.0.7
Why: UI glitches in TreeGreed in IE9 when row text too long.
Where: js\sencha\resources\css\*.css
What:
white-space:normal to white-space:nowrap in .x-ie .x-tree-panel .x-grid-row .x-grid-cell-inner{white-space:nowrap}

3. sencha.patches

4. Removed @ 10.10.1012. Class copy patch (http://www.sencha.com/forum/showthread.php?141754-4.0.2a-Class-inheritance-keeps-references-to-original-fields&p=630158#post630158).

5.
Why: tree nodes cannot be disabled
Where the problem is: ext-4.0.2a\src\tree\View.js
What: Added a plugin, which can be injected into the tree: App.views.controls.misc.TreePanelNodeDisablePlugin
See: http://www.sencha.com/forum/showthread.php?138173-TreeNode-disabled-not-available

6.
Why: JSONWriter cannot serialize complex structures
Where: ext-4.0.2a\src\data\writer\Writer.js , getRecordData()
What: App.model.base.EnhancedWriter that overrides getRecordData() (new impl).

7.
Why: Ext.data.Model is too naive sometimes
Where: ext-4.0.2a\src\data\Model.js
What: see App.model.base.EnhancedModel comments.

8. 4.0.2 - revisit for 4.1
Why: ExtDirect proxy is buggy
Where: ext-4.0.2a\src\data\proxy\Direct.js
What: see App.model.base.EnhancedModel.EnhancedDirectProxy

9.
Why: remote site access
Where: *.css with "http://www.sencha.com/s.gif" line
What: http://www.sencha.com/s.gif to /js/sencha/s.gif

10. 4.0.2, 4.0.7
Why: ExtDirect does not know about Model serialization. So, doing Remoting.Service.doit(model) results in an endless loop.
Where: ext-all-debug-w-comments.js, #8265. ext*.js.
What:  added
        var fields;
	    if (o instanceof Ext.data.Model) {
            fields = o.fields;
		    o = o.data;
        }
as the first line of encodeObject, and
            if (fields && fields.map[i] && fields.map[i].persist === false) {
                continue;
            }
to the "for (i in o) {" loop.

11. 4.0.7
Why: too much darkness for disabled items
Where: ext-all-gray.css
What:
remove
 filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=30);
from
 .x-item-disabled{filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=30);

12. 4.0.7
Why: wrong bg in IE
Where: sencha\resources\themes\images\gray\tab-bar\tab-bar-default-bg.gif
What: copypaster the right bg gradient from FF

13.
Why: scroll breaks for trees, as extjs uses virtual scrolling.
Where: trees
What: added this.scroll = false; &         this.viewConfig = { style: { overflow: "auto", overflowX: "hidden" }, // TODO: this should be rechecked for ExtJS4.1


14. 4.0.7
Why: wrong behaviour of tree.expandChildren(recursive) when immediate children are already expanded BUT some _deep_ children are still collapsed (and may not not loaded).
This usually happens when the part of the tree is loaded with pre-expanded nodes. Shouldn't happen for other trees.
Where: ext-all #75357
What: replaced the whole function. It will ALWAYS expand non-leaf children now, even if they're expanded.
expandChildren: function(recursive, callback, scope) {
                    var me = this,
                        i = 0,
                        nodes = me.childNodes,
                        ln = nodes.length,
                        node,
                        expanding = 0, nonLeafs = 0;

                    for (; i < ln; ++i) {
			if (!nodes[i].isLeaf()) {
				nonLeafs++;
				expanding++;
			}
		    }

                    for (i=0; i < ln; ++i) {
                        node = nodes[i];
                        if (!node.isLeaf()) {
                            nodes[i].expand(recursive, function () {
                                expanding--;
                                if (callback && !expanding) {
                                    Ext.callback(callback, scope || me, [me.childNodes]);
                                }
                            });
                        }
                    }

                    if (!expanding && callback && nonLeafs == 0) {
                        Ext.callback(callback, scope || me, [me.childNodes]);                    }
                },

15. 4.0.7
Why: getPath() was missing in NodeInterface (bug)
Where: ext-all-debug-w-comments, ext-all
What: copied getPath() from sencha sources (NodeInterface.js).

16.
Why: deferred layout processing has bugs
Where: performDeferredLayout
What: created App.views.controls.misc.FixedContainer

18.
Why: password field & empty text does not work in IE8
Where: ~textfield
What: created App.views.controls.form.PasswordField

19.
Why: security warning pops up in IE8 each time the page reloads
Where: sencha.patches.js
What: new Ext.removeNode impl.

20.
Why: different locale names in java & ExtJS
Where: sencha/locales
What: 5 locale files were renamed, e.g. ext-lang-es.js -> ext-lang-es_ES.js.

21.
Why: me.loadMask.bindStore(null) fails during combobox destroy.
Where: ext-all-debug-w-comments, ext-all: search for "bindStore(null)" - 2 places, load mask & picker.
What: added a check for "&& loadMask.bindStore".

