Commit Graph

367 Commits

Author SHA1 Message Date
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
dbaron@fas.harvard.edu
0db3c15533 Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161. 2000-03-22 02:43:08 +00:00
buster@netscape.com
0cf057c7a1 fixed VerifyReflow, an important debugging tool for the layout team
no bug number
r=troy
2000-03-17 01:50:54 +00:00
troy@netscape.com
eeaae96b5e b=24343 r=karnaze@netscape.com Changes so we properly lay out after changing
the font using the pref UI. Block and table code changed to handle
eReflowReason_StyleChange
2000-03-15 15:16:03 +00:00
buster@netscape.com
df13e6473c fixed PDT+ bug 30738
r=troy, vidur
a=rickg
2000-03-08 05:33:15 +00:00
vidur@netscape.com
5d0eb8e8d7 Temporary fix for bug 26926. Added state to nsPresShell to deal with the case where the ContentViewer (and ViewManager) went away before it. The ownership model should be sorted out post beta1. r=troy, a=jar 2000-03-07 00:28:33 +00:00
warren@netscape.com
90e6ffd47b Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +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
tbogard@aol.net
1c7bf629cf nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg 2000-03-02 07:13:02 +00:00
evaughan@netscape.com
892dcb04a1 bugs fixes for: 28460, 27242, 29462
-r hyatt, -a jar
2000-03-02 03:01:30 +00:00
saari@netscape.com
591f10b15a 28467 fix, a=jar, r=hyatt 2000-02-26 01:02:31 +00:00
hyatt@netscape.com
0f327b94cd Moving previous 9701 fix out of frame constructor and into presshell. r=troy 2000-02-13 06:07:38 +00:00
nisheeth@netscape.com
eb44e636dc r=hyatt. Partial fix for PDT+ bug 13537. Session history captures frame state now. 2000-02-11 22:54:37 +00:00
vidur@netscape.com
399eb274c1 Fix for bug 9140. Area elements now have event fired for them. r=joki 2000-02-11 01:24:59 +00:00
attinasi@netscape.com
934465e333 Enabling and Disabling the Style-Timer to bound it to the Frame Creation context. r=nisheeth b=25406 2000-02-11 01:21:05 +00:00
tbogard@aol.net
5b074da5ec Removed unused include. 2000-02-11 01:16:30 +00:00
nisheeth@netscape.com
dad0c7cb20 r=vidur. Fix for bug . We now revoke pending reflow events in the pres shell's destructor. 2000-02-10 07:27:43 +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
dbaron@fas.harvard.edu
a0a4251632 Event Target Debugging (b=18175), a debugging feature to help with fixing bugs where events are going to the wrong elements. It shows (like Visual Debugging) which frame is receiving events, and one can therefore move the mouse over the page to see what frame gets events. All the code is #ifdef NS_DEBUG. However, it is not yet hooked up to the viewer menu (to be checked in later).
r=joki
2000-02-03 02:49:58 +00:00
nisheeth@netscape.com
ba7f116c05 Enabling async reflow after the document has loaded. 2000-02-02 00:19:52 +00:00
sfraser@netscape.com
90914007d0 Fix for crash loading bugzilla pages (infinite reflow recursion). by vidur, r=smfr, a=leaf 2000-01-28 22:58:17 +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
kmcclusk@netscape.com
eaa60c1852 Added support for widgetless viewmanager. Changed code pattern that assumed the root view
always has a nsIWidget instance to call viewmanager to get widget instance. b=22069; r=rods@netscape.com
2000-01-26 23:04:40 +00:00
rods@netscape.com
85d7bf26db impls the new flag to only scroll when not visible
b 18649 r=troy
2000-01-25 20:36:24 +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
nisheeth@netscape.com
25228f291c r=Vidur. Always default mDocumentIsLoading to PR_TRUE for now. This stops us from crashing when we hit backspace in the editor. 2000-01-24 19:11:02 +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
troy@netscape.com
67f034175a b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
nisheeth@netscape.com
81aed40d97 r=troy. Changed block, inline, and text frames to call the parent's ReflowDirtyChild() method instead of generating reflow commands. 2000-01-19 03:58:05 +00:00
hyatt@netscape.com
4445e32213 Fixes for bugs 17460 and 21656. r=travis 2000-01-14 09:28:54 +00:00
nisheeth@netscape.com
fd37381acf The timers used by the asynchronous reflow code were not compiling on the Mac earlier. Fixed them so that they compile on all platforms. 2000-01-13 04:27:05 +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
sspitzer@netscape.com
243a77b614 fixes to turn bug #22916 into a blank window bug (instead of a crasher)
r=troy
2000-01-11 22:15:20 +00:00
jst@citec.fi
737694e2fc Fixing bug 12181 (removing static IID's). r=troy@netscape.com 2000-01-04 20:24:09 +00:00
troy@netscape.com
44f339c183 Fixed three more compiler warnings 2000-01-04 03:09:32 +00:00
troy@netscape.com
def9cc7f00 Fixed compiler warning 2000-01-04 03:04:56 +00:00
bryner@uiuc.edu
7195b25788 Fix a warning. r=mcafee. 1999-12-28 20:26:56 +00:00
nisheeth@netscape.com
247251a68f PRTime is a struct on the Mac. I'm going to need to time to make changes so that everything works on the Mac. Commenting out the offending code for now as it is not used in the default case. 1999-12-23 03:47:02 +00:00
nisheeth@netscape.com
f246541155 Attempt to fix Mac bustage. 1999-12-23 03:08:57 +00:00
nisheeth@netscape.com
e1d3f81e71 a=donm, r=vidur.
- Added support for two prefs:
a) a boolean pref "layout.reflow.async" that turns asynchronous reflow on/off.  The default is off.
b) an integer pref "layout.reflow.timeslice" that specifies a reflow timeslice, in microseconds.  When asynchronous reflow is on, the reflow command processing loop in ProcessReflowCommands() tries to return to the event loop if the time spent processing reflow commands exceeds this timeslice.  The default value is 1 second.
1999-12-23 02:02:33 +00:00
tbogard@aol.net
75823eb78c Fixing some places when talking to the webshell object to start talking through the new docshell interfaces. 1999-12-18 02:09:29 +00:00
mjudge@netscape.com
ce1e7462b9 Precursor change to akkana and hyatts fix for platform dependent key-bindings. HOME and END will now implement the scroll to top and scroll to bottom for mac. Scroll and Move for pageup/pagedown and CTRL-HOME and CTRL-END on windows will not work until m13. This is ok for now and will hurry up completion of M12. r=akkana. simple fix like 10 lines really. 1999-12-16 22:48:02 +00:00
mjudge@netscape.com
020966f5bc adding in nsISelectioncontroller idl for line up/down. fixing editor controller usage for input and textareas. changin nsGfxTextControlFrame.cpp to add editor controllers at the time we need them, not when the control is created due to the delay of the nsEditor creation. nsPresShell implements the new nsISelectionController interfaces. changed makefiles to reflect missing nsEditorController also. 1999-12-15 03:54:52 +00:00
mjudge@netscape.com
7c63f70297 massive changes a=jar.hoffman, r=akkana 1999-12-11 00:02:08 +00:00
evaughan@netscape.com
bac34cf1a3 Fix for PDP+ bug #20712
-r beard
1999-12-07 05:28:32 +00:00
troy@netscape.com
71df55fc17 b=20873. Switched to using underlying NSPR arena for frame memory allocation,
and reduced the recycler array.
1999-12-07 04:36:08 +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