r=rods@netscape.com
also did some associated performance work, factoring code and collapsing multiple listener
objects down to 1. This saves a few allocations and about 60 bytes per text control.
bug 11803 Need new event for text value changing
r=hyatt@netscape.com
not dogfood approved, but the fix has been sitting in my tree for 2 weeks
2. Cleaned up ugly JS_GC_Flag typedef name and put XXXbe comment in there for
next time: someone seems to have patched around a deadlock that has since
bit chouck@geocast.com.
3. Fixed gcDisabled by moving it from cx to rt and updating it atomically.
4. Fixed ECMA violation where for (var i, j in o) ... was permitted; only one
variable is allowed.
(Item 4 was a bug on rogerl's list, since closed? r=shaver@mozilla.org.)
now, mailbox:// urls work.
change the logic of LocateMessageFolder() to be:
if (the target folder is not "anyfolder://") then {
find the folder and return it if your find it.
if you can't find it, create it in the datasource and return the folder. see bug #14591
}
else {
look for the default folder in any server associated with the current identity.
if you find it, return it.
}
r=troy@netscape.com,kipp@netscape.com,evaughan@netscape.com,beard@netscape.com
layout/html/base/src/nsGfxScrollFrame.cpp
- Renamed all occurrences of ScrollPositionChanged() to
to ScrollPositionDidChange() to match changes made
to nsIScrollPositionListener.
- Added ScrollPositionWillChange() stub method.
layout/html/base/src/nsPresShell.cpp
- Added PresShellViewEventListener class that implements the
nsIScrollPositionListener and nsICompositeListener view
interfaces. This allows us to turn caret rendering on and off
when scrolling and repainting to prevent leaving caret cruft
on the screen.
- PresShellViewEventListener is created in InitialReflow(), and
released in ~PresShell().
view/public/Makefile.in
view/public/makefile.win
view/public/MANIFEST
- Added nsICompositeListener to list of files to be exported.
view/public/nsICompositeListener.h
- New file. Implementers of this interface can register themselves
with the view manager to receive notification before and after
a view is composited/refreshed.
view/public/nsIScrollPositionListener.h
- Added a ScrollPositionWillChange() method.
- Changed ScrollPositionChanged() to ScrollPositionDidChange().
view/public/nsIViewManager.h
- Added AddCompositeListener() and RemoveCompositeListener methods.
view/src/nsScrollingView.cpp
view/src/nsScrollingView.h
- Added NotifyScrollPositionWillChange() and
NotifyScrollPositionDidChange() methods.
- Modified HandleScrollEvent() to call NotifyScrollPositionWill/DidChange()
methods. Added temporary offsetX and offsetY variables to allow us
to calculate new offsets without changing mOffsetX and mOffsetY before
notifications are sent out.
view/src/nsScrollPortView.cpp
- Changed ScrollPositionChanged() to ScrollPositionDidChange().
- Modified ScrollTo() to call the listener's ScrollPositionWillChange()
method.
view/src/nsViewManager.cpp
view/src/nsViewManager.h
- Added AddCompositeListener() and RemoveCompositeListener() methods.
- Added support for CompositeListener notifications in the Refresh()
methods for regions and rects.
- Fix for bug #15901: [DOGFOOD] Selected text does not clear when you type
Modified UpdateView() so that rects with zero width and height are
no longer added to our damage region.
r=beard@netscape.com
Part of a fix for crash when expanding/collapsing toolbars. Change to
DeletingFrameSubtree() to make sure it examines the additional child
list as well as the principal child list
- Fixed two similar cases where code was missing one level of
pointer dereference in terminating a copied string. Was trashing
data further up the stack.
- Use 'nsAllocator::Free' in two similar cases where 'delete' was
mistakenly used. Error pointed out by Purify.
Re-implemented DST code to use separate objects for leaf nodes and
internal nodes. This reduces the per node size from 16 bytes to (on
average) 13 bytes per node