430 Commits

Author SHA1 Message Date
buster%netscape.com
2fa9ad90e8 bug 588 (text justification) for Robert O'Callahan <roc+moz@cs.cmu.edu>
r=buster

bug 18545 ([FLOAT] Problem Centering <TABLE> with <DIV> tag)
r=troy

bugs 18827, 19579, 22327 24782, 26512, 30124, 31849, 32846 (floater behavior wrong)
The primary change here is to determine if a block is impacted by a floater, and if so
mark the block's lines dirty when appropriate.
r=troy

no bug number.  performance work.  reduced the size of some reflow data structures by
collapsing multiple fields into a single bit field.
r=troy


git-svn-id: svn://10.0.0.236/trunk@66201 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 14:40:46 +00:00
nisheeth%netscape.com
68adc31658 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.
git-svn-id: svn://10.0.0.236/trunk@66183 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 07:13:57 +00:00
pinkerton%netscape.com
ad03ebaa03 new clipboard interfaces for unix selection clipboard.
git-svn-id: svn://10.0.0.236/trunk@65931 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 02:52:38 +00:00
mjudge%netscape.com
c25a8377d7 fix for setcapture. passes events to the nsHTMLFrame's areaframe when events are trapped to a given frame's view.
git-svn-id: svn://10.0.0.236/trunk@65649 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 03:04:11 +00:00
scc%netscape.com
2255fe399e making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65030 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 11:39:09 +00:00
evaughan%netscape.com
995d26d6bc 1) viewmanager2 optimizations -r troy, kevin
2) box fixes for Rod's gfx listbox
3) memory leak fixes
4) box fixes in prep for grid widget


git-svn-id: svn://10.0.0.236/trunk@64995 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 03:55:38 +00:00
cls%seawood.org
0220b2d70f HP-UX's compiler doesn't like calling delete on a void*. Use PR_Malloc & PR_Free instead. Bug #34040 r=jdunn,evaughan a=leaf
git-svn-id: svn://10.0.0.236/trunk@64858 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 08:35:40 +00:00
mjudge%netscape.com
30a7d8a091 changing troys generated content SUB iterator with changes that he sent me personally. these will allow us to have iterators over generated tables or just plain before or after nodes.
git-svn-id: svn://10.0.0.236/trunk@64721 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:22:38 +00:00
evaughan%netscape.com
82b44e2844 box skinnablility changes.
-r Hyatt


git-svn-id: svn://10.0.0.236/trunk@64707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:02:06 +00:00
troy%netscape.com
46036dc8cc Increase the size of the underlying arenas from 2K to 4K. After looking
at a veriety of pages that seems to be a better choice


git-svn-id: svn://10.0.0.236/trunk@64691 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 04:11:28 +00:00
pollmann%netscape.com
d5064110de Bug 32702: Rename GetHistoryState to CaptureHistoryState (as it is), and add GetHistoryState method, r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@63982 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-24 03:36:58 +00:00
troy%netscape.com
75d3e8bd33 Adding back changes that were backed out because they broke the Win32
clobber build. The problem building TestAttributes.exe is fixed


git-svn-id: svn://10.0.0.236/trunk@63795 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 00:34:54 +00:00
buster%netscape.com
f57e02d7a3 fixed optimized vs. debug build problem.
git-svn-id: svn://10.0.0.236/trunk@63791 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 00:10:26 +00:00
buster%netscape.com
bf63049426 bug 29595 (and others)
fixes layout of pages where a single line is impacted by 2 or more floaters
r=troy


git-svn-id: svn://10.0.0.236/trunk@63783 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 23:19:10 +00:00
granrose%netscape.com
8c63097a16 backing out troy.
git-svn-id: svn://10.0.0.236/trunk@63748 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 17:28:54 +00:00
troy%netscape.com
ef085d6975 New code that isn't being used
git-svn-id: svn://10.0.0.236/trunk@63744 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 15:15:48 +00:00
dbaron%fas.harvard.edu
0936aaafab 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.
git-svn-id: svn://10.0.0.236/trunk@63689 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:43:08 +00:00
buster%netscape.com
bd79e065d4 fixed VerifyReflow, an important debugging tool for the layout team
no bug number
r=troy


git-svn-id: svn://10.0.0.236/trunk@63232 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 01:50:54 +00:00
troy%netscape.com
00091b65e3 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


git-svn-id: svn://10.0.0.236/trunk@63049 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:16:03 +00:00
buster%netscape.com
e44a40eb6a fixed PDT+ bug 30738
r=troy, vidur
a=rickg


git-svn-id: svn://10.0.0.236/trunk@62384 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 05:33:15 +00:00
vidur%netscape.com
232a5dbda7 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
git-svn-id: svn://10.0.0.236/trunk@62275 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-07 00:28:33 +00:00
warren%netscape.com
d100457780 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
buster%netscape.com
fa156ab99b fixed bug 27161 by adding interfacs onto nsIPresShell to get/set the "subshell" for an nsIContent
r=travis
a=jar


git-svn-id: svn://10.0.0.236/trunk@62169 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 23:15:29 +00:00
tbogard%aol.net
495826cccc 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
git-svn-id: svn://10.0.0.236/trunk@62038 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 07:13:02 +00:00
evaughan%netscape.com
d40b1bea18 bugs fixes for: 28460, 27242, 29462
-r hyatt, -a jar


git-svn-id: svn://10.0.0.236/trunk@62022 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 03:01:30 +00:00
saari%netscape.com
35cfc92cb4 28467 fix, a=jar, r=hyatt
git-svn-id: svn://10.0.0.236/trunk@61713 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 01:02:31 +00:00
hyatt%netscape.com
5d47c37c68 Moving previous 9701 fix out of frame constructor and into presshell. r=troy
git-svn-id: svn://10.0.0.236/trunk@60620 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-13 06:07:38 +00:00
nisheeth%netscape.com
907a57920f r=hyatt. Partial fix for PDT+ bug 13537. Session history captures frame state now.
git-svn-id: svn://10.0.0.236/trunk@60527 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 22:54:37 +00:00
vidur%netscape.com
f1a9c3f401 Fix for bug 9140. Area elements now have event fired for them. r=joki
git-svn-id: svn://10.0.0.236/trunk@60399 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:24:59 +00:00
attinasi%netscape.com
c0556bcafb Enabling and Disabling the Style-Timer to bound it to the Frame Creation context. r=nisheeth b=25406
git-svn-id: svn://10.0.0.236/trunk@60384 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:21:05 +00:00
tbogard%aol.net
330b980016 Removed unused include.
git-svn-id: svn://10.0.0.236/trunk@60377 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-11 01:16:30 +00:00
nisheeth%netscape.com
1ece5d5eba r=vidur. Fix for bug . We now revoke pending reflow events in the pres shell's destructor.
git-svn-id: svn://10.0.0.236/trunk@60301 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-10 07:27:43 +00:00
kmcclusk%netscape.com
31beeacc3d 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


git-svn-id: svn://10.0.0.236/trunk@60242 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 15:48:01 +00:00
dbaron%fas.harvard.edu
22c80ea3f0 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


git-svn-id: svn://10.0.0.236/trunk@59610 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 02:49:58 +00:00
nisheeth%netscape.com
cdc51db942 Enabling async reflow after the document has loaded.
git-svn-id: svn://10.0.0.236/trunk@59443 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 00:19:52 +00:00
sfraser%netscape.com
e3af49b9d0 Fix for crash loading bugzilla pages (infinite reflow recursion). by vidur, r=smfr, a=leaf
git-svn-id: svn://10.0.0.236/trunk@59094 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 22:58:17 +00:00
nisheeth%netscape.com
56e559d918 Fix for bug 10818. r=troy. Add reflow batching APIs to the pres shell.
git-svn-id: svn://10.0.0.236/trunk@58975 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 00:48:02 +00:00
kmcclusk%netscape.com
5f7ac3effb 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


git-svn-id: svn://10.0.0.236/trunk@58838 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 23:04:40 +00:00
rods%netscape.com
f25bb8eb63 impls the new flag to only scroll when not visible
b 18649 r=troy


git-svn-id: svn://10.0.0.236/trunk@58617 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 20:36:24 +00:00
nisheeth%netscape.com
d23c598d3c 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.
git-svn-id: svn://10.0.0.236/trunk@58611 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 16:00:44 +00:00
nisheeth%netscape.com
1f351b9156 r=Vidur. Always default mDocumentIsLoading to PR_TRUE for now. This stops us from crashing when we hit backspace in the editor.
git-svn-id: svn://10.0.0.236/trunk@58488 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 19:11:02 +00:00
nisheeth%netscape.com
26ad5f5255 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.
git-svn-id: svn://10.0.0.236/trunk@58465 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 06:43:15 +00:00
troy%netscape.com
60471abd92 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.


git-svn-id: svn://10.0.0.236/trunk@58373 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 01:16:50 +00:00
nisheeth%netscape.com
990dc941ec r=troy. Changed block, inline, and text frames to call the parent's ReflowDirtyChild() method instead of generating reflow commands.
git-svn-id: svn://10.0.0.236/trunk@58221 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 03:58:05 +00:00
hyatt%netscape.com
8f6502ffb7 Fixes for bugs 17460 and 21656. r=travis
git-svn-id: svn://10.0.0.236/trunk@57811 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 09:28:54 +00:00
nisheeth%netscape.com
a7972696d1 The timers used by the asynchronous reflow code were not compiling on the Mac earlier. Fixed them so that they compile on all platforms.
git-svn-id: svn://10.0.0.236/trunk@57629 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 04:27:05 +00:00
nisheeth%netscape.com
59dbaae9fb 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.
git-svn-id: svn://10.0.0.236/trunk@57522 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 08:28:24 +00:00
sspitzer%netscape.com
82a785e528 fixes to turn bug #22916 into a blank window bug (instead of a crasher)
r=troy


git-svn-id: svn://10.0.0.236/trunk@57443 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 22:15:20 +00:00
jst%citec.fi
3331782727 Fixing bug 12181 (removing static IID's). r=troy@netscape.com
git-svn-id: svn://10.0.0.236/trunk@56741 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 20:24:09 +00:00
troy%netscape.com
adf7e5ae40 Fixed three more compiler warnings
git-svn-id: svn://10.0.0.236/trunk@56713 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 03:09:32 +00:00