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
troy%netscape.com
c9c3afc746
Fixed compiler warning
...
git-svn-id: svn://10.0.0.236/trunk@56710 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-04 03:04:56 +00:00
bryner%uiuc.edu
4402af7a65
Fix a warning. r=mcafee.
...
git-svn-id: svn://10.0.0.236/trunk@56573 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-28 20:26:56 +00:00
nisheeth%netscape.com
5a813189e9
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.
...
git-svn-id: svn://10.0.0.236/trunk@56476 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 03:47:02 +00:00
nisheeth%netscape.com
4a66a03de0
Attempt to fix Mac bustage.
...
git-svn-id: svn://10.0.0.236/trunk@56475 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 03:08:57 +00:00
nisheeth%netscape.com
43d584b730
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.
git-svn-id: svn://10.0.0.236/trunk@56473 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 02:02:33 +00:00
tbogard%aol.net
b5cb13131e
Fixing some places when talking to the webshell object to start talking through the new docshell interfaces.
...
git-svn-id: svn://10.0.0.236/trunk@56167 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-18 02:09:29 +00:00
mjudge%netscape.com
45a19c261d
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.
...
git-svn-id: svn://10.0.0.236/trunk@56105 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 22:48:02 +00:00
mjudge%netscape.com
4704ff3a85
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.
...
git-svn-id: svn://10.0.0.236/trunk@56028 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-15 03:54:52 +00:00
mjudge%netscape.com
78a1c7b0e7
massive changes a=jar.hoffman, r=akkana
...
git-svn-id: svn://10.0.0.236/trunk@55878 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-11 00:02:08 +00:00
evaughan%netscape.com
7773253d6f
Fix for PDP+ bug #20712
...
-r beard
git-svn-id: svn://10.0.0.236/trunk@55533 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 05:28:32 +00:00
troy%netscape.com
c42e11df4b
b=20873. Switched to using underlying NSPR arena for frame memory allocation,
...
and reduced the recycler array.
git-svn-id: svn://10.0.0.236/trunk@55527 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 04:36:08 +00:00
nisheeth%netscape.com
3785d66606
Fix for bugs 16709, 20771. Frame state is stored before frame hierarchies are deleted and restored when the frame hierarchies are reconstructed.
...
git-svn-id: svn://10.0.0.236/trunk@55409 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 07:44:18 +00:00
hyatt%netscape.com
7e24c61109
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +00:00
sspitzer%netscape.com
d53721b599
fix warning.
...
git-svn-id: svn://10.0.0.236/trunk@55313 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 21:37:38 +00:00
akkana%netscape.com
f6184abf8e
18046: IDL implementation of nsISelectionController from sford4@netscape.net,
...
and the infrastructure to hook it up.
This also changes the spelling from nsISelectionControler. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@55083 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 21:45:21 +00:00
dougt%netscape.com
0c53e29d87
fix for 18078. r=mstoltz,warren
...
git-svn-id: svn://10.0.0.236/trunk@54648 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:32:43 +00:00
tbogard%aol.net
ae5a81e394
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
...
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
troy%netscape.com
3f61543a91
WillReflow/DidReflow changes and changes to the way view positioning
...
and sizing works
git-svn-id: svn://10.0.0.236/trunk@53998 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 15:33:29 +00:00
beard%netscape.com
9a5f66247d
pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov
...
git-svn-id: svn://10.0.0.236/trunk@53444 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-14 02:51:25 +00:00
karnaze%netscape.com
c82a2a497c
disabled delayed handling of reflow commands (pre rev 3.208). r=nisheeth
...
git-svn-id: svn://10.0.0.236/trunk@53320 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 04:41:34 +00:00