sfraser%netscape.com
dc69b753a1
Add method to nsIDOMSelection to get focus and anchor nodes and offsets, and implemenations for these in nsRangeList.cpp
1999-02-02 02:13:09 +00:00
mjudge%netscape.com
d8dc98b1ba
commas trailing on enum illegal even if vc50 says its ok
1999-02-02 01:16:57 +00:00
mjudge%netscape.com
cd2d3d137c
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
kipp%netscape.com
64610329f0
Cleaned up comments; removed ReplaceFrame from the API
1999-02-01 17:25:30 +00:00
mcafee%netscape.com
94fe9213e9
Removing unnecessary rules, cleaning this up a bit
1999-01-31 09:39:09 +00:00
peterl%netscape.com
77e6eb5115
made attribute accessors respect unknown namespace for getters (wildcard)
1999-01-30 06:20:39 +00:00
akkana%netscape.com
6db99a172d
Add IsCollapsed; add collapsed case to DeleteFromDocument
1999-01-30 01:02:44 +00:00
akkana%netscape.com
1f23bcc408
Fixing my build horkage ... forgot this file. Very sorry!
1999-01-29 20:08:38 +00:00
akkana%netscape.com
eb4fd64caa
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
jfrancis%netscape.com
32034efe71
fixed implementation of IsDone()
1999-01-28 23:55:53 +00:00
harishd%netscape.com
82420c7328
Changing the variable aElementColor to aBorderColor in Painborder(),
...
PaintBorderEdge(), DrawSide(), and MakeBevelColor().
The computed colors for all the border style should be based on
the actual 'border-side-color' not the element's color after all.
1999-01-28 00:31:47 +00:00
kostello%netscape.com
f4cb89a986
Fixed bug: dereferencing a null in nsMarkupDocument
...
Suppressed creation of STYLE leaf tag in the XIF encoding
until style sheet output is fixed.
1999-01-27 16:35:32 +00:00
troy%netscape.com
fd60d0f87e
Added helper function IsAbsolutelyPositioned() to nsStylePosition
1999-01-27 05:35:54 +00:00
troy%netscape.com
303956b39c
Added nsLayoutAtoms::fixedList for specifying the name of the additional
...
child list for 'fixed' elements
1999-01-27 03:48:39 +00:00
mjudge%netscape.com
db58635679
Must allow for the fact that content may be nsnull in ALL cases.
1999-01-27 02:15:38 +00:00
vidur%netscape.com
995b47b08a
First pass implementation of document.implementation
1999-01-27 00:12:33 +00:00
mjudge%netscape.com
82a538fe8c
Fixing rangelist to look at frame content not the frame hierarchy do decide if you clicked on the background frame.
1999-01-26 23:49:17 +00:00
rickg%netscape.com
e53c0df266
missed this API change
1999-01-26 01:45:40 +00:00
mjudge%netscape.com
91be934323
oops ifdef 0 is bad should be if 0
1999-01-26 01:01:56 +00:00
mjudge%netscape.com
bec224216c
turning off printf debug statements in debug to speed up resizing
1999-01-26 00:40:39 +00:00
troy%netscape.com
ff3d3b60b5
Changed scrolling so it happens on the viewport instead of the HTML
...
element
1999-01-26 00:05:21 +00:00
mjudge%netscape.com
16720c497b
keeping the selection code pure by not knowing anything about the graphic representation of the selection. just offset to offset. adding code to reselect the anchor and focus frame in the nsIFocusTracker by passing it to the nsIFrame setselectedcontent method.
1999-01-25 23:28:59 +00:00
mjudge%netscape.com
5ac012630e
adding parameters to setselectedcontent. This will keep down overhead of the nsIFrame implementation and still not allow outsiders to talk to their presshell. so please forgive this grown method. this extra parameter will maintain the anchor and focus point after reflow
1999-01-25 23:28:23 +00:00
vidur%netscape.com
8bab99aac5
Implemented nsIDOMElement::Normalize
1999-01-25 22:17:15 +00:00
ftang%netscape.com
3759b987f5
change nsCharSetID into nsString type
1999-01-25 16:05:04 +00:00
mjudge%netscape.com
55f9005e7a
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
mjudge%netscape.com
58db313754
Focus tracker needs to send the tracker to the implementation of selection so that it can update the tracker as to which frame(s) should be considered the focus frames ect. This is not yet working fully. Everything I am checking in will stay, I simply have a decision to make as to exactly what to do next. RangeList also had some modifications to better selection
1999-01-25 01:42:34 +00:00
mjudge%netscape.com
cb811b7c69
This checkin will stop the double addref to the incomming ranges. The problem was that the changing of the old array of voids and the nsVoidPtr array do NOT addref whereas the nsISupportsArray DOES! I suspected as much. I have removed the offending code and I believe this should make selection much cleaner.
1999-01-23 20:43:13 +00:00
peterl%netscape.com
62bc285367
added helper methods for selecting & querying alternate style sheets
1999-01-23 07:03:46 +00:00
peterl%netscape.com
7597321ac7
fixed case of media atoms
1999-01-23 07:02:10 +00:00
peterl%netscape.com
6adda0ee50
set now manages order of doc style sheets
1999-01-23 07:01:57 +00:00
peterl%netscape.com
119785d7c2
added header data accessors
...
cleaned up style sheet ordering
1999-01-23 07:01:40 +00:00
peterl%netscape.com
0a224a2382
simplified setting doc style sheets (set now manages ordering)
1999-01-23 07:01:02 +00:00
peterl%netscape.com
50635cc188
added accessors to get & set alternate style sheets
1999-01-23 07:00:39 +00:00
peterl%netscape.com
b8cf627e7d
added header data accesors
1999-01-23 07:00:10 +00:00
troy%netscape.com
efc7c95a53
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
581ab7e058
remove some verbose debugging messages
1999-01-23 00:38:54 +00:00
troy%netscape.com
3cca5e2907
Turned off debug message that was outputing to the console
1999-01-23 00:20:58 +00:00
vidur%netscape.com
f7657749c8
Implemented splitText for text nodes
1999-01-23 00:10:08 +00:00
akkana%netscape.com
56752ba2ed
2028: Get selection highlighting working on Linux
1999-01-23 00:00:46 +00:00
vidur%netscape.com
ae6e5a8019
Comments added to content model. Comments and text content now have a special tagname
1999-01-22 22:48:00 +00:00
harishd%netscape.com
abbf50e310
Got stylecontext info into PaintBorder() for displaying
...
CSS borders.
1999-01-22 22:24:05 +00:00
harishd%netscape.com
69aa3480e6
Modified the PaintBorder(), MakeBevelColor(), DrawSide(),
...
PaintBorderEdge() methods.
1999-01-22 22:22:26 +00:00
mjudge%netscape.com
ee295b609b
selection rocks ass
1999-01-22 22:04:54 +00:00
mjudge%netscape.com
769d4b5a86
chagnes for selection to work
1999-01-22 18:58:14 +00:00
jfrancis%netscape.com
87e977ff11
efficiency improvement to ComparePointToRange()
1999-01-22 08:59:26 +00:00
kostello%netscape.com
20ddd08b9c
Updated XIF code to match the new selection work.
1999-01-21 21:45:17 +00:00
vidur%netscape.com
22a8cb9919
Fix to get default namespaces to work. Cleanup of DOM handling of character data.
1999-01-21 19:33:03 +00:00
danm%netscape.com
e90a90f02e
build XUL
1999-01-21 03:40:21 +00:00
buster%netscape.com
c0c0ab4bbb
put in Mike's change to Clear the selection when we take focus
...
this fixes the bug that the collection of ranges was monotonically increasing to infinity
as you clicked around in the document.
1999-01-20 23:23:28 +00:00