Commit Graph

6923 Commits

Author SHA1 Message Date
rods%netscape.com
6ff5998968 Move code to handle focus event into the correct switch statement
r=kmcclusk, bug 7133
1999-10-18 21:47:31 +00:00
troy%netscape.com
092e7de2fb Removed delete operators (they had no implementation, they were private so
they wern't accidently called), because HP compiler generated an error if
new operator was public but delete operator was private
1999-10-18 20:16:49 +00:00
troy%netscape.com
d1f8db9147 b=16615. Two line change. Added check for case of root node being a leaf.
The rest of the changes are NOT yet in use. They willbe reviewed by Kipp before
they're turned on
1999-10-18 19:02:09 +00:00
akkana%netscape.com
acf13df96b Remove two ifdef DEBUG_akkana lines that were left in when someone
changed the implementation of ConvertContentToXIF, so that I can
compile again.  This won't affect anyone but me.  r=kipp
1999-10-18 19:01:56 +00:00
troy%netscape.com
fef6b481ea b=16652, r=troy@netscape.com
Patch from Johnny Stenback that breaks a weak link reference
1999-10-18 19:00:49 +00:00
karnaze%netscape.com
80a50d6b37 added #ifdef for debug printing. 1999-10-18 13:48:19 +00:00
karnaze%netscape.com
d660d6c031 bug 15958(partial) - uses mComputedWidth instead of availableSize.width. r=buster; asked hook for permission, got no response. 1999-10-18 13:47:01 +00:00
karnaze%netscape.com
633c13eced bug 15993 - in quirks mode allocates space for a 1 pixel border if the content is empty and the table has a border. It was incorrectly, doing this even if the content was not empty. r=buster; asked permission from hook and got no response. 1999-10-18 13:45:41 +00:00
rickg%netscape.com
5024910c2a forgot to check this in for viewsource; bug13536; r=harish 1999-10-18 00:46:33 +00:00
karnaze%netscape.com
23f1fe363d new regression tests. does not affect build. 1999-10-17 23:26:02 +00:00
karnaze%netscape.com
c76b947fb2 new regression test, doesn't affect build. 1999-10-17 21:46:13 +00:00
shaver%netscape.com
472e4cae46 Added support for type="radio" (pick-one) XP menus.
Cleaned up nsFrame class declaration a bit.
Added some API entries to nsIMenuFrame in support of type="radio"'s
pick-one behaviour.
Renamed UpdateMenuChecked to UpdateMenuSpecialState.
Removed stale string-splitting code in CreateAnonymousContent.
(r=hyatt,mcafee)
1999-10-17 21:37:37 +00:00
karnaze%netscape.com
7d036bca8e new regression test. does not affect code. 1999-10-17 05:17:41 +00:00
karnaze%netscape.com
6696ec08a1 new regression test 1999-10-17 03:42:37 +00:00
troy%netscape.com
502629f011 r=karnaze@netscape.com Cc'd hyatt@netscape.com
Space optimization. mBorderEdges is no longer an embedded object. Now it's
allocated when needed (for collapsing border model tables only). This saves
80 bytes per table cell frame for the normal HTML case of adjacent border
model
1999-10-17 03:30:11 +00:00
karnaze%netscape.com
a196cb1d40 bug 11321 - Renamed kidMaxElementSize to localKidMaxElementSize and renamed pKidMaxElementSize to kidMaxElementSize and fixed the incorrect usage. 1999-10-17 03:17:53 +00:00
karnaze%netscape.com
47f30fca03 bug 11321 - the frame constructor sets the primary frame when an anonymous table or row group frame is involved. 1999-10-17 03:15:13 +00:00
rickg%netscape.com
84c387e814 WIP bug13536; r=peterl; this code is not used yet 1999-10-16 18:22:24 +00:00
troy%netscape.com
5ab2223218 Space optimization, r=karnaze@netscape.com Cc'd hyatt@netscape.com
Save 4 bytes by eliminating the mCalculated data member which wasn't being used
1999-10-16 16:17:07 +00:00
karnaze%netscape.com
b65c354b80 added 2 additional file lists to regression tests to work around new javascript bug. 1999-10-16 05:26:22 +00:00
peterl%netscape.com
ed18a01643 Added new style data accessors.
Added nsIMutableStyleContext interface.
Made style rules work against nsIMutableStyleContext
r=troy
1999-10-16 04:05:59 +00:00
troy%netscape.com
bc981fba0d Added some new code that's not in use yet 1999-10-16 00:55:48 +00:00
rickg%netscape.com
c64ecde1b8 WIP for bug13536; r=plinss 1999-10-16 00:39:24 +00:00
kipp%netscape.com
15a0ec26fa r=troy; revised nsITextContent api to simplify it and the consumers; this is done as prep work for bug 9101 1999-10-15 23:36:07 +00:00
kipp%netscape.com
6b86a5034c r=troy; fixed bug 7093 by carefully pre-computed the collapsed top margin before reflowing the child block and then using that value to properly acquire the available space; In addition, I had to fix an incremental reflow bug associated with this problem 1999-10-15 23:35:10 +00:00
kipp%netscape.com
bf91cebfba Wiped out another warning 1999-10-15 23:29:21 +00:00
kipp%netscape.com
0c2e36f8c8 new 1999-10-15 23:25:02 +00:00
peterl%netscape.com
a6adfea707 Added namespace ID to the AttributeChanged notification
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
peterl%netscape.com
27d06db43a Changed reported namespace of attributes from HTML to None.
r=vidur
Also added namespace ID to the AttributeChanged method
Part of the fix for Bug 15153
r=troy
1999-10-15 23:15:17 +00:00
peterl%netscape.com
2429e3f7e5 Added code to detect generated content that depends on attributes and reflow when the attribute changes
Fix for Bug 15153
r=pierre
Also added namespace ID to the AttributeChanged method
r=troy
1999-10-15 23:14:44 +00:00
troy%netscape.com
ff3811524a Added some new code that isn't being used 1999-10-15 22:53:24 +00:00
waqar%netscape.com
46cc304d11 #9777
r vidur@netscape.com
d The issue was resolved by DOM commitie to allow SplitText to give an error
only on if the start of split is larger than the length. If it is same lenght
it is allowed.
1999-10-15 22:18:23 +00:00
kipp%netscape.com
5b80d4a004 Nuke some more warnings 1999-10-15 21:18:32 +00:00
shaver%netscape.com
074e7c8a5a Add support for type="checkbox" in <menuitem>.
Converted small pile of PRBool to PRPackedBool for space savings.
r=hyatt
1999-10-15 21:13:24 +00:00
kipp%netscape.com
2dc743e6b1 Eliminate need for networked loaded images 1999-10-15 19:44:09 +00:00
kipp%netscape.com
8c7b0d7b3b nuked 1999-10-15 16:58:21 +00:00
buster%netscape.com
a23754e4b6 bug 12221 [Dogfood] Gfx text controls need to notify on mouse events
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
1999-10-15 13:38:29 +00:00
buster%netscape.com
9c89a6b52d 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
1999-10-15 13:37:06 +00:00
buster%netscape.com
102c1fb55e bug 11803 Need new event for text value changing
r=hyatt@netscape.com
not dogfood, but the fix has been sitting in my tree for 2 weeks
1999-10-15 13:36:23 +00:00
buster%netscape.com
a13fc42067 no bug number, part of webshell cleanup. nsIWebShell.h was needlessly included, so I removed it
trivial change, no reviewer.
1999-10-15 13:34:45 +00:00
rods%netscape.com
7130df81ee Fixed focus processing, this new code is very close to version 1.54 but more robust,
this fixes bug #7133. It has been compiled and tested on Win, Mac, and Linux.
r=buster,dcone
1999-10-15 13:20:32 +00:00
hyatt%netscape.com
80d4dd9246 Fix for 16479. r=waterson 1999-10-15 07:54:43 +00:00
kin%netscape.com
6762dd27f5 Fix for bug #15360: Drag Selecting, Clicking, then Clicking leaves caret cruft.
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
1999-10-15 04:29:30 +00:00
karnaze%netscape.com
f42c7bef25 new regression test. 1999-10-15 04:29:09 +00:00
karnaze%netscape.com
bb627081c7 pass2 reflow doesn't request max element sizes to help with bug 14855. Reviewers didn't respond. 1999-10-15 04:09:22 +00:00
troy%netscape.com
98ee25447f Patch from jst@citec.fi r=troy@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
1999-10-15 03:37:10 +00:00
troy%netscape.com
bf8c6d860d Space savings. r=kipp@netscape.com
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
1999-10-15 03:18:28 +00:00
troy%netscape.com
f80550c400 Space savings. r=karnaze@netscape.com Cc'd hyatt@netscape.com
Eliminated member data mIsContentEmpty and now we use a frame state bit
instead. This saves 4 bytes of space per table cell frame
1999-10-15 03:14:59 +00:00
peterl%netscape.com
670703db1c moved toggle and tri-state from user-modify to user-select to stay in sync with CSS3
no bug #
r=pierre
1999-10-15 02:11:09 +00:00
kipp%netscape.com
bb62374419 Removed two more warnings 1999-10-15 00:29:28 +00:00