222 Commits

Author SHA1 Message Date
rods%netscape.com
1bc8d28b4e added two additional methods for capturing and dumping of reflow stats
git-svn-id: svn://10.0.0.236/trunk@67582 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 23:31:13 +00:00
mjudge%netscape.com
24b8f29c46 ender lite checkin.
git-svn-id: svn://10.0.0.236/trunk@67387 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 07:37:12 +00:00
joki%netscape.com
8aabc79a05 fixes for 5995, 7304, 10573, 22832, and 9668.
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.


git-svn-id: svn://10.0.0.236/trunk@66958 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 04:41:27 +00:00
rods%netscape.com
fbf8aca833 Add ifdef'ed Performance Reflow Counting code
git-svn-id: svn://10.0.0.236/trunk@66719 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 14:59:47 +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
mjudge%netscape.com
6384655e67 changing bitflags for selection types. well they are bitflags now
git-svn-id: svn://10.0.0.236/trunk@64715 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:14:39 +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
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
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
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
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
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
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
rods%netscape.com
4195d0064d Added new flag for scrolling a frame if it isn't visible
r=troy b=18649


git-svn-id: svn://10.0.0.236/trunk@58587 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 14:31:41 +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
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
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
nisheeth%netscape.com
7ad60e4687 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.
git-svn-id: svn://10.0.0.236/trunk@52989 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-09 03:23:26 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
ftang%netscape.com
908e81fe11 change the input method highligh code from 2 style to 4 styles. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@51427 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-21 22:01:18 +00:00
nisheeth%netscape.com
3a74e6a56a - 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.


git-svn-id: svn://10.0.0.236/trunk@45350 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 14:35:50 +00:00
nisheeth%netscape.com
ab1926c3ac Added get/set document state API for use by session history.
git-svn-id: svn://10.0.0.236/trunk@45214 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 22:38:58 +00:00
kin%netscape.com
ea9db112f9 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.


git-svn-id: svn://10.0.0.236/trunk@45163 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 21:54:40 +00:00
troy%netscape.com
db679bfa7c Changed frame construction code to use frame manager when modifying frame
model


git-svn-id: svn://10.0.0.236/trunk@42257 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 03:09:22 +00:00
buster%netscape.com
132773aaab added GetCaretEnabled
cleaned up caret APIs according to coding convention


git-svn-id: svn://10.0.0.236/trunk@42196 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 20:46:16 +00:00
troy%netscape.com
1b2f63b41f Now uses frame manager
git-svn-id: svn://10.0.0.236/trunk@42101 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 04:02:40 +00:00
akkana%netscape.com
d7bd1caa92 Move non-idlc generated stuff from nsIDOMSelection.h to nsIPresShell.h
git-svn-id: svn://10.0.0.236/trunk@40382 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 00:12:23 +00:00
troy%netscape.com
523733902b Changed semantics for ScrollFrameIntoView()
git-svn-id: svn://10.0.0.236/trunk@40112 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 18:38:02 +00:00
mjudge%netscape.com
85212ff436 sorry bad capitalization of file name
git-svn-id: svn://10.0.0.236/trunk@39972 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 02:59:09 +00:00
mjudge%netscape.com
329d39ba11 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.
git-svn-id: svn://10.0.0.236/trunk@39971 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 02:27:19 +00:00
troy%netscape.com
3be19d2ceb Added NotifyDestroyingFrame() function to nsIPresShell
git-svn-id: svn://10.0.0.236/trunk@39784 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 23:25:15 +00:00
troy%netscape.com
f1588e6197 Work-in-progress for having GetPrimaryFrameFor() use a hash table
git-svn-id: svn://10.0.0.236/trunk@37514 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 04:42:26 +00:00
mjudge%netscape.com
ff933f4f73 adding in selection of non text frames in editor only
git-svn-id: svn://10.0.0.236/trunk@31872 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-17 00:21:18 +00:00
kipp%netscape.com
3176a7056a Added CancelReflowCommand
git-svn-id: svn://10.0.0.236/trunk@28922 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 19:57:03 +00:00
mcafee%netscape.com
260321b6df Removing NEW_CLIPBOARD_SUPPORT ifdef.
git-svn-id: svn://10.0.0.236/trunk@28681 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 07:03:14 +00:00
mcafee%netscape.com
d98f8fccf1 Finishing clipboard ifdef so we can remove the old clipboard.
git-svn-id: svn://10.0.0.236/trunk@26678 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 03:56:07 +00:00
sfraser%netscape.com
6bed169daa Added a method to the pres shell to control enabling clients to turn the caret on and off.
git-svn-id: svn://10.0.0.236/trunk@25954 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 23:58:11 +00:00
troy%netscape.com
a64f391177 Changed CantRenderReplacedElement() to handle APPLET as well
git-svn-id: svn://10.0.0.236/trunk@24937 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 01:13:59 +00:00
scc%netscape.com
817f56596f rename |IID()| --> |GetIID()|
git-svn-id: svn://10.0.0.236/trunk@22744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 19:48:57 +00:00
mjudge%netscape.com
4bb2e93aeb updates and fixes for CTRL left arrow and right arrow. also fixes for releasing the presshell correctly. the selection code was leaking it. updates for PREV and NEXT in nsFrameTraversal
git-svn-id: svn://10.0.0.236/trunk@22673 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 01:51:21 +00:00
akkana%netscape.com
303a2467a4 Move bulk of DoCopy code from nsBrowserWindow.cpp into nsPresShell
git-svn-id: svn://10.0.0.236/trunk@22460 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 19:21:01 +00:00
buster%netscape.com
a200933a99 added GetStyleContextFor
git-svn-id: svn://10.0.0.236/trunk@21971 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-25 19:55:06 +00:00
buster%netscape.com
72dbac31c5 added ScrollFrameIntoView(), which forces the given frame to be visible in the current view.
git-svn-id: svn://10.0.0.236/trunk@21221 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-18 22:51:46 +00:00
sfraser%netscape.com
1e8e639c11 Add an accessor for the caret, RefreshCaret, and a couple of other private caret methods in nsPresShell.
git-svn-id: svn://10.0.0.236/trunk@20655 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-13 04:45:44 +00:00
kipp%netscape.com
9b917419dc COMized nsIPresShell and nsIPresContext
git-svn-id: svn://10.0.0.236/trunk@20570 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 17:45:58 +00:00
troy%netscape.com
946499d8d7 Added GoToAnchor()
git-svn-id: svn://10.0.0.236/trunk@20531 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 05:39:33 +00:00