Commit Graph

367 Commits

Author SHA1 Message Date
sfraser@netscape.com
064c9732f5 Add an accessor for the caret, RefreshCaret, and a couple of other private caret methods in nsPresShell. 1999-02-13 04:45:44 +00:00
troy@netscape.com
602de2f255 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
kipp@netscape.com
74b2988510 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
troy@netscape.com
f15059d004 Added GoToAnchor() 1999-02-12 05:39:33 +00:00
sfraser@netscape.com
bcf2111e43 Fix selection bustage, which was a post-merge error on my part. 1999-02-12 00:27:44 +00:00
sfraser@netscape.com
19362784f6 Add code to show a caret (#ifdeffed out for now) 1999-02-12 00:02:56 +00:00
akkana@netscape.com
0e46889822 Rename nsISelection to nsIFrameSelection 1999-02-11 23:12:28 +00:00
buster@netscape.com
74d4afe300 added GetLayoutObjectFor for getting a layout object as an nsISupports
while not exposing nsIFrame.
1999-02-10 23:21:22 +00:00
mjudge@netscape.com
ec19bd6e4d Keyboard navigation, removing nsICollection(not used) adding PeekOffset to have the nsIFrame tell us where to go when moving a character ect. adding nsFrameTraversal to traverse frames, based on nsIEnumerator. mjudge x4661 1999-02-10 18:55:25 +00:00
troy@netscape.com
87805c7a92 Changed GetNextSibling() to use a pointer argument instead of a reference 1999-02-10 06:13:38 +00:00
troy@netscape.com
655e2cab93 Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references
1999-02-10 05:38:18 +00:00
troy@netscape.com
c63560927c Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&
1999-02-10 02:25:01 +00:00
troy@netscape.com
48040900a7 Changed GetParent() to use ** instead of *& 1999-02-10 01:36:30 +00:00
troy@netscape.com
b4f8c0fbbe Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
troy@netscape.com
4f83afd500 Fixed ContentRemoved() to also remove the shell's mapping from absolutely
positioned element to its placeholder
1999-02-06 17:10:42 +00:00
troy@netscape.com
4a92feab77 Fixed a bad #ifdef 1999-02-06 04:26:30 +00:00
troy@netscape.com
dda0d95bf5 #ifdef CantRenderReplacedElement() to be _WIN32 for the time being until
the Mac problems with the thread event queue are straightened out
1999-02-06 03:41:14 +00:00
troy@netscape.com
437edc8c62 Added CantRenderReplacedElement() to nsIPresShell and changed the image frame
code to use it
1999-02-05 18:25:29 +00:00
vidur@netscape.com
eff87ba281 Added additional key argument to string parsing routine. Improved Reset handling for document to include style sets and frame construction. Modified root frame construction. Got out-of-line document.write to work 1999-02-03 19:38:16 +00:00
mjudge@netscape.com
ae1818857e keyboard navigation of selection. adding API for nsIFrame. fixing nsFrame and nstextframe to reflect the implementations of the nsIFrame API. nsRangeList implements the handlekeyevent now. 1999-02-02 00:23:40 +00:00
akkana@netscape.com
934c5ca07d Implement a new interface, nsIDOMSelection, intended to become the
external interface for selection (to be IDL-ified later).

Fix some editor bugs:
- Advance the cursor on text insert (so text is inserted in the right order)
- Make DeleteSelection in the editor call the actual selection
- Make DeleteSelection update the frames' notion of the selection
1999-01-29 18:57:56 +00:00
troy@netscape.com
74814c1fb9 Changed scrolling so it happens on the viewport instead of the HTML
element
1999-01-26 00:05:21 +00:00
mjudge@netscape.com
d9346800ef ok I am changing nsPresShell to "do the right thing". The virtual methods to support nsIFocusTracker needed to use the MACROS the same as the rest of the methods. I also moved the growing inline methods to their own method declarations. pres shell also needs to send itself as a focus tracker to "reset selection" to allow a callback to reset the frames that will be the focus and anchor frames for the future. getting frames from content is easy, getting the exact frame with an offset as well is difficult. nsTextFrame does some funny things with whitespaces that was throwing off the selection code. one minute the beginning of a word is offset 1 then it grows to 2 if the whitespace on the previous line wraps. I also put limits on the selection drawing. the drawing was happening after reflow, but before reset selection. this made the selection drawing extend beyond the legal limits of the "textlength". P.S. since the paint unicode and paint ascii are so similar, is it better to make a helper func to do the common things? or maybe make another method just to save namespace? 1999-01-25 01:48:01 +00:00
peterl@netscape.com
dd7147cbce added helper methods for selecting & querying alternate style sheets 1999-01-23 07:03:46 +00:00
troy@netscape.com
9456e1e315 Added XXX comment indicating that the #if 0 code in Init() is causing
a memory leak...
1999-01-23 02:38:16 +00:00
akkana@netscape.com
5c9ae6a6fa 2028: Get selection highlighting working on Linux 1999-01-23 00:00:46 +00:00
mjudge@netscape.com
4643533332 chagnes for selection to work 1999-01-22 18:58:14 +00:00
mjudge@netscape.com
87e36c7a0a selection should work now more or less 1999-01-19 06:42:39 +00:00
mjudge@netscape.com
4c5f15ec01 Files for selection across frames. 1999-01-18 22:57:12 +00:00
kipp@netscape.com
b1fe154193 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
troy@netscape.com
1194b48510 Re-committing my fucking changes... 1999-01-13 00:38:29 +00:00
cltbld@netscape.com
b5ff2d2926 backing out changes made against a red tree 1999-01-13 00:00:57 +00:00
troy@netscape.com
b342a1a079 Moved a NS_RELEASE to a different point so we're less likely to have a non-local exit
miss the release
1999-01-12 23:17:20 +00:00
troy@netscape.com
c9a63b8268 Fixed FindFrameWithContent() to do a better job of recognizing placeholder
frames and skipping them
1999-01-07 04:47:43 +00:00
troy@netscape.com
a49e5f80af Changed some of the member functions to conform to XP-COM conventions for
returning a nsresult
1998-12-29 04:56:31 +00:00
troy@netscape.com
54df92ac77 Renamed FindFrameWithContent() to GetPrimaryFrameFor() 1998-12-29 04:45:18 +00:00
troy@netscape.com
6f9192bec1 Moved logic that deals with moving absolutely positioned frames out of the
flow to the frame construction code
1998-12-29 03:38:16 +00:00
kipp@netscape.com
1e10a83138 Revised frame Paint API 1998-12-18 15:54:23 +00:00
mjudge@netscape.com
b345e3cc96 adding in selection 1998-12-14 18:34:14 +00:00
kipp@netscape.com
3c9143a3bf When verify-reflow-all is enabled, update the display after each reflow and pause for a while 1998-12-12 19:21:05 +00:00
mjudge@netscape.com
e0338002ea chagnes to selection 1998-12-08 18:26:06 +00:00
troy@netscape.com
d636e1bb65 Added support for printing multiple pages 1998-12-07 03:43:02 +00:00
buster@netscape.com
6c0a64a320 added atoms for table pseudo style contexts 1998-12-03 18:00:42 +00:00
wtc@netscape.com
50476c767e This checkin (under mozilla/layout) is all about 'const'. Digital Unix's
C++ compiler is strict about getting 'const' right.  Most of the changes
are to add 'const' to the type casts for the second argument of the
GetStyleData method, which wants a const reference.
1998-12-02 16:45:20 +00:00
kipp@netscape.com
03b42cae89 Fixed verify reflow to avoid creating reflow commands during a verify reflow 1998-11-26 18:11:02 +00:00
peterl@netscape.com
b3f287d4fe style change notification support 1998-11-26 01:34:53 +00:00
kipp@netscape.com
7e9fca9774 Brought verify-reflow back to life 1998-11-25 18:41:02 +00:00
joki@netscape.com
1cafe6a870 Add click event support for every element and initial keypress event support 1998-11-24 07:46:58 +00:00
joki@netscape.com
961dde5654 Fixing a submit/reset event bug, frame destruction reentrancy bug, and an imagemap bug. 1998-11-21 00:19:36 +00:00
troy@netscape.com
bb2b449c86 Added temporary workaround to image frame code to compensate for the fact
that HandleEvent() and GetCursor() are being called with the point not being
translated to the frame's local coordinate space
1998-11-20 06:31:55 +00:00