Commit Graph

184 Commits

Author SHA1 Message Date
evaughan@netscape.com
0d3c689d27 fix for bug #54049 (tree stability)
r=bryner, a=hyatt
2000-10-07 00:49:08 +00:00
nisheeth@netscape.com
5d7a509395 r=reviewers@netscape.com (buster, waterson). Fix for nsbeta3+ bug . Turning on async reflow during doc load by default. This can be turned off by setting the "layout.reflow.async.duringDocLoad" pref to false in prefs.js. 2000-09-20 07:20:23 +00:00
heikki@netscape.com
0172e8c80d Fixed bug 52526, the cause was that image load event was bubbling even though the specs say it should not. Previously we were not even sending the load event on image load. I also fixed bug 50478 by fixing the logic in GetBubbles and GetCancelable of the DOMEvent. This helps in testing the first bug. I also fixed several cases where we had wrong combination of event class and event struct type. a=waterson, r=joki,rods. 2000-09-19 21:47:04 +00:00
mjudge@netscape.com
ab294f3f8f small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575 2000-09-14 11:45:01 +00:00
hyatt@netscape.com
f415771c0c Fix for 43467. r=bryner 2000-07-13 23:00:59 +00:00
pollmann@netscape.com
e13007a40e Bug 41013: Prevent event passing from frames to content during document destruction r=joki 2000-06-29 02:02:43 +00:00
joki@netscape.com
7599ab51fe Part of fix for 42418, patch up event target from PresShell after re-entrant events to avoid null targets. r:nisheeth 2000-06-24 03:58:13 +00:00
jdunn@netscape.com
82098fe7a8 fix for hp bustage. the last entry in enum can't have a ',' 2000-06-23 13:21:57 +00:00
evaughan@netscape.com
c57c6efaec Autoscrolling menus feature landing #32730
-r hyatt, saari
2000-06-23 05:15:04 +00:00
mjudge@netscape.com
f49e84e6c9 fix for 42188,42347 r=akkana . use selection controller to tell the doc if it should display non-text-selection. 2000-06-23 04:01:19 +00:00
pollmann@netscape.com
24fe57b83b Bug 32770: Save scroll position in session history r=nisheeth 2000-06-15 00:35:46 +00:00
buster@netscape.com
098026c4db adding constants for reflow notification, from Thomas Lendacky (toml@us.ibm.com)
r=buster
2000-05-15 03:36:34 +00:00
rods@netscape.com
ea729c514c added two additional methods for capturing and dumping of reflow stats 2000-04-28 23:31:13 +00:00
mjudge@netscape.com
2e85db0702 ender lite checkin. 2000-04-27 07:37:12 +00:00
joki@netscape.com
79133e59a9 fixes for 5995, 7304, 10573, 22832, and 9668.
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.
2000-04-24 04:41:27 +00:00
rods@netscape.com
526976891e Add ifdef'ed Performance Reflow Counting code 2000-04-21 14:59:47 +00:00
nisheeth@netscape.com
9b73f043d0 Fix for bug 30958: Reflow commands are now processed asynchronously all the time. The semantics of the API for queuing and processing reflow commands has changed. Now, AppendReflowCommand() initiates an asynchronous reflow event and all reflow command processing happens when that event fires. It is no longer possible for consumers outside the presentation shell to call ProcessReflowCommands() synchronously. Because of this change, reflow locks are no longer needed and have been removed. 2000-04-17 07:13:57 +00:00
mjudge@netscape.com
05c6b4fb58 changing bitflags for selection types. well they are bitflags now 2000-03-31 07:14:39 +00:00
evaughan@netscape.com
74c65e34ee box skinnablility changes.
-r Hyatt
2000-03-31 07:02:06 +00:00
pollmann@netscape.com
e7508586d3 Bug 32702: Rename GetHistoryState to CaptureHistoryState (as it is), and add GetHistoryState method, r=nisheeth 2000-03-24 03:36:58 +00:00
troy@netscape.com
62177eeed5 Adding back changes that were backed out because they broke the Win32
clobber build. The problem building TestAttributes.exe is fixed
2000-03-23 00:34:54 +00:00
buster@netscape.com
a88207dcc0 bug 29595 (and others)
fixes layout of pages where a single line is impacted by 2 or more floaters
r=troy
2000-03-22 23:19:10 +00:00
granrose@netscape.com
a734555a31 backing out troy. 2000-03-22 17:28:54 +00:00
troy@netscape.com
9b938b7336 New code that isn't being used 2000-03-22 15:15:48 +00:00
buster@netscape.com
f59e63482e fixed bug 27161 by adding interfacs onto nsIPresShell to get/set the "subshell" for an nsIContent
r=travis
a=jar
2000-03-03 23:15:29 +00:00
kmcclusk@netscape.com
08010069e2 Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
nisheeth@netscape.com
8482b5c79d Fix for bug 10818. r=troy. Add reflow batching APIs to the pres shell. 2000-01-28 00:48:02 +00:00
nisheeth@netscape.com
2d05ef65c2 r=vidur. Add support for a new pref "layout.reflow.async.afterDocLoad" that enables async reflow in the pres shell only after the document is done loading. Cleaned up ExitReflowLock() so that it uses preferences to decide whether to do async reflow, not a parameter. 2000-01-25 16:00:44 +00:00
rods@netscape.com
b68e02aad8 Added new flag for scrolling a frame if it isn't visible
r=troy b=18649
2000-01-25 14:31:41 +00:00
nisheeth@netscape.com
13630ef92f Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me. 2000-01-24 06:43:15 +00:00
nisheeth@netscape.com
bd43d81d01 r=troy. Reflow commands are now coalesced by block and inline frames. This fixes bug 985 in which we now generate 6 reflow commands instead of 257. 2000-01-12 08:28:24 +00:00
nisheeth@netscape.com
aafbc5d74c Fix for bugs 16709, 20771. Frame state is stored before frame hierarchies are deleted and restored when the frame hierarchies are reconstructed. 1999-12-06 07:44:18 +00:00
hyatt@netscape.com
9a7a1b27f7 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy
1999-12-04 23:49:50 +00:00
nisheeth@netscape.com
29ad59e0ac r=vidur. a=chofmann. Post a reflow event instead of doing reflow command processing synchronously. Currently this only happens on content appended and content inserted notificaitions in the pres shell. 1999-11-09 03:23:26 +00:00
dmose@mozilla.org
796280940b updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
ftang@netscape.com
ecfc25ef0d change the input method highligh code from 2 style to 4 styles. r=mjudge 1999-10-21 22:01:18 +00:00
nisheeth@netscape.com
d09bc57dbb - Added setter for history state to nsIPresShell
- Added capture/restore frame state methods to nsIFrameManager
- Added a getter for state type to nsIStatefulFrame.
- Changed the save/restore method parameters  in nsIStateful frame
  so that only the frame state gets passed to the stateful frame.
- Implemented all the new interface methods in the respective implementation classes.
1999-08-31 14:35:50 +00:00
nisheeth@netscape.com
d66a640714 Added get/set document state API for use by session history. 1999-08-30 22:38:58 +00:00
kin@netscape.com
2206ab56b9 Fix for bugs #7153, #10673, #12066, #12067, and #12793.
editor/base/nsEditorEventListeners.cpp
editor/base/nsEditorEventListeners.h

  - Added code to scroll the selection into view
    after processing key events.
  - Commented out the hack that redraws the entire
    view when the focus is gained and lost. Replaced
    the hack code with calls to RepaintSelection().

layout/base/public/nsIFrameSelection.h
layout/base/public/nsIPresShell.h
layout/html/base/src/nsPresShell.cpp
   - Added ScrollSelectionIntoView() and RepaintSelection() methods.

layout/base/src/nsRangeList.cpp
   - Added implementation for ScrollSelectionIntoView() and
     RepaintSelection().
   - Check for NULL primary frame in GetFocusNodeRect()
     to fix bug #12793.
1999-08-30 21:54:40 +00:00
troy@netscape.com
d2e28c48a0 Changed frame construction code to use frame manager when modifying frame
model
1999-08-05 03:09:22 +00:00
buster@netscape.com
ab00c39760 added GetCaretEnabled
cleaned up caret APIs according to coding convention
1999-08-04 20:46:16 +00:00
troy@netscape.com
3fa043f0ab Now uses frame manager 1999-08-04 04:02:40 +00:00
akkana@netscape.com
52f01b7e7f Move non-idlc generated stuff from nsIDOMSelection.h to nsIPresShell.h 1999-07-21 00:12:23 +00:00
troy@netscape.com
3fad561799 Changed semantics for ScrollFrameIntoView() 1999-07-19 18:38:02 +00:00
mjudge@netscape.com
087b379a1b sorry bad capitalization of file name 1999-07-18 02:59:09 +00:00
mjudge@netscape.com
8e4c13fcd1 massive checkin for selection. adjusting nsIDOMSelection api and nsIFrameSelection. many "small" changes. this is not as bad as it looks. layout will not be affected other than "getter" calls for selection. and all consumers of selection should be in good shape. 1999-07-18 02:27:19 +00:00
troy@netscape.com
e0a7b14080 Added NotifyDestroyingFrame() function to nsIPresShell 1999-07-16 23:25:15 +00:00
troy@netscape.com
78f05971c4 Work-in-progress for having GetPrimaryFrameFor() use a hash table 1999-06-30 04:42:26 +00:00
mjudge@netscape.com
d1520ed3dc adding in selection of non text frames in editor only 1999-05-17 00:21:18 +00:00
kipp@netscape.com
e5ec509bfb Added CancelReflowCommand 1999-04-23 19:57:03 +00:00