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
sspitzer@netscape.com
e3cde9765e
fix warning.
1999-12-04 21:37:38 +00:00
akkana@netscape.com
46baaab2a4
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
1999-12-02 21:45:21 +00:00
dougt@netscape.com
15861e6442
fix for 18078. r=mstoltz,warren
1999-11-30 00:32:43 +00:00
tbogard@aol.net
617bb737a6
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
troy@netscape.com
3b67f2f17c
WillReflow/DidReflow changes and changes to the way view positioning
...
and sizing works
1999-11-19 15:33:29 +00:00
beard@netscape.com
7f3709df3b
pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov
1999-11-14 02:51:25 +00:00
karnaze@netscape.com
2d2bd16486
disabled delayed handling of reflow commands (pre rev 3.208). r=nisheeth
1999-11-12 04:41:34 +00:00
jdunn@netscape.com
6e45bc00de
removing ';' from the end of the macros, since the macro in nsTimer.h
...
already handles the trailing ';'.
NOTE: trying to compile a ';' fails on AIX
1999-11-11 21:35:34 +00:00
nisheeth@netscape.com
05f085a4b1
a=sdagley. Move over to new timing macros...
1999-11-10 03:41:09 +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
mcafee@netscape.com
c3d89d39a9
Switching to use NS_WITH_SERVICE macro as specified in (5403); removing spurious clipboard service instance in nsEditorEventListeners.cpp. r=akkana, a=chofmann.
1999-11-05 01:29:49 +00:00
joki@netscape.com
fcd931fdb6
Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur
1999-11-03 07:11:45 +00:00
troy@netscape.com
bf2283fba6
Moved a bunch of stuff out to a nsIFrameDebug interface
1999-11-01 22:12:45 +00:00
troy@netscape.com
5e5f240649
Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
...
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
nisheeth@netscape.com
ca5e503e02
Fix for bug 17540. Uncommented the call to nsFrameManager::CantRenderReplacedElement().
1999-10-30 01:31:49 +00:00
kipp@netscape.com
90fd6e23a2
r=troy; fixed code to properly remove reflowc ommands when cancelling
1999-10-29 01:53:56 +00:00
nisheeth@netscape.com
57c18c0e2d
r=dp. Fix for bug 17411. Commenting out the call to nsFrameManager::CantRenderReplacedElement for now. This should let us open up the tree while dp and pnunn figure out the right fix.
1999-10-28 01:20:34 +00:00
troy@netscape.com
b8ef6465be
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
mjudge@netscape.com
3b59f273bf
massive checkin for underlying implementation of key handling from javascript and home/end breakage and.. selecting around NON-text frames. like arrowing around an image for example. 16636,16655 and another i cannot find. r=kin r=hyatt a=me
1999-10-22 00:19:18 +00:00
kipp@netscape.com
b6f4b6557f
moved debug logic for dumping reflow commands so that we can dump them without requiring the incremental reflow verification logic to run
1999-10-21 20:45:39 +00:00
nisheeth@netscape.com
c5c03a7c1b
Changes should not affect the build. Renaming the RAPTOR_PERF_METRICS ifdef to MOZ_PERF_METRICS.
1999-10-19 22:27:20 +00:00
troy@netscape.com
8e4e35d00b
r=kipp@netscape.com Moved ownership of root frame (and frame hierarchy) over to
...
the frame manager
1999-10-18 22:20:37 +00:00
troy@netscape.com
765238374e
b=16652, r=troy@netscape.com
...
Patch from Johnny Stenback that breaks a weak link reference
1999-10-18 19:00:49 +00:00
peterl@netscape.com
419e62fca8
Added namespace ID to the AttributeChanged notification
...
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00