592 Commits

Author SHA1 Message Date
troy%netscape.com
339afcce8a Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references


git-svn-id: svn://10.0.0.236/trunk@20222 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 05:38:18 +00:00
troy%netscape.com
3635a7c72c Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&


git-svn-id: svn://10.0.0.236/trunk@20212 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 02:25:01 +00:00
troy%netscape.com
2af2ec249b Changed GetParent() to use ** instead of *&
git-svn-id: svn://10.0.0.236/trunk@20205 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 01:36:30 +00:00
troy%netscape.com
8934624982 Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters


git-svn-id: svn://10.0.0.236/trunk@20199 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 00:42:56 +00:00
kipp%netscape.com
ede9d759c2 Implement tree diffing and dumping of regression data
git-svn-id: svn://10.0.0.236/trunk@20003 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-08 17:55:29 +00:00
troy%netscape.com
3e41dda406 Cleaned the code up a bit
git-svn-id: svn://10.0.0.236/trunk@19918 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-06 04:24:47 +00:00
vidur%netscape.com
88bfa91fc7 implemented nsHTMLDocument::GetElementsByName
git-svn-id: svn://10.0.0.236/trunk@19762 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 23:23:07 +00:00
troy%netscape.com
1fa43367bb Work-in-progress for replaced elements that can't be rendered
git-svn-id: svn://10.0.0.236/trunk@19703 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 17:03:46 +00:00
kipp%netscape.com
35bd6ce005 Make dtor virtual to quite down compilers
git-svn-id: svn://10.0.0.236/trunk@19694 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 16:26:42 +00:00
kipp%netscape.com
379ca7eb4c Implement ReadFrameRegressionData
git-svn-id: svn://10.0.0.236/trunk@19693 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-04 16:26:19 +00:00
vidur%netscape.com
1349b5dad4 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
git-svn-id: svn://10.0.0.236/trunk@19537 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 19:38:16 +00:00
peterl%netscape.com
caaefbe34c Fixed windows build bustage
git-svn-id: svn://10.0.0.236/trunk@19400 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 02:53:25 +00:00
akkana%netscape.com
c65c79999a Bug fixes for Collapse() and Extend().
Now single-character deletion works much better.


git-svn-id: svn://10.0.0.236/trunk@19390 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-03 02:13:15 +00:00
peterl%netscape.com
dda3c38f63 made visible an int instead of bool
git-svn-id: svn://10.0.0.236/trunk@19279 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 03:24:23 +00:00
peterl%netscape.com
8593007767 removed default html namespace prefix
git-svn-id: svn://10.0.0.236/trunk@19278 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 03:23:36 +00:00
sfraser%netscape.com
2a038800f6 Add method to nsIDOMSelection to get focus and anchor nodes and offsets, and implemenations for these in nsRangeList.cpp
git-svn-id: svn://10.0.0.236/trunk@19266 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 02:13:09 +00:00
mjudge%netscape.com
1b0340eba8 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.
git-svn-id: svn://10.0.0.236/trunk@19246 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-02 00:23:40 +00:00
mcafee%netscape.com
69a43fa2f3 Removing unnecessary rules, cleaning this up a bit
git-svn-id: svn://10.0.0.236/trunk@19117 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-31 09:39:09 +00:00
peterl%netscape.com
ee35562351 made attribute accessors respect unknown namespace for getters (wildcard)
git-svn-id: svn://10.0.0.236/trunk@19076 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 06:20:39 +00:00
akkana%netscape.com
b589837c36 Add IsCollapsed; add collapsed case to DeleteFromDocument
git-svn-id: svn://10.0.0.236/trunk@19064 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-30 01:02:44 +00:00
akkana%netscape.com
52b18e6064 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


git-svn-id: svn://10.0.0.236/trunk@19029 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-29 18:57:56 +00:00
jfrancis%netscape.com
373d464054 fixed implementation of IsDone()
git-svn-id: svn://10.0.0.236/trunk@18966 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 23:55:53 +00:00
kostello%netscape.com
91f739386d Fixed bug: dereferencing a null in nsMarkupDocument
Suppressed creation of STYLE leaf tag in the XIF encoding
until style sheet output is fixed.


git-svn-id: svn://10.0.0.236/trunk@18779 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 16:35:32 +00:00
troy%netscape.com
00c1f554bc Added nsLayoutAtoms::fixedList for specifying the name of the additional
child list for 'fixed' elements


git-svn-id: svn://10.0.0.236/trunk@18714 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 03:48:39 +00:00
mjudge%netscape.com
72e99c7c16 Must allow for the fact that content may be nsnull in ALL cases.
git-svn-id: svn://10.0.0.236/trunk@18694 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 02:15:38 +00:00
vidur%netscape.com
bd2f738058 First pass implementation of document.implementation
git-svn-id: svn://10.0.0.236/trunk@18668 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 00:12:33 +00:00
mjudge%netscape.com
ce3006450c Fixing rangelist to look at frame content not the frame hierarchy do decide if you clicked on the background frame.
git-svn-id: svn://10.0.0.236/trunk@18653 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 23:49:17 +00:00
rickg%netscape.com
0ee8c3c05f missed this API change
git-svn-id: svn://10.0.0.236/trunk@18562 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:45:40 +00:00
mjudge%netscape.com
8df9a54c9b oops ifdef 0 is bad should be if 0
git-svn-id: svn://10.0.0.236/trunk@18545 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 01:01:56 +00:00
mjudge%netscape.com
8856b10b58 turning off printf debug statements in debug to speed up resizing
git-svn-id: svn://10.0.0.236/trunk@18542 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-26 00:40:39 +00:00
mjudge%netscape.com
4bcd16ae84 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.
git-svn-id: svn://10.0.0.236/trunk@18524 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 23:28:59 +00:00
vidur%netscape.com
d804a8f7f9 Implemented nsIDOMElement::Normalize
git-svn-id: svn://10.0.0.236/trunk@18511 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 22:17:15 +00:00
ftang%netscape.com
48e0a7b1ab change nsCharSetID into nsString type
git-svn-id: svn://10.0.0.236/trunk@18491 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 16:05:04 +00:00
mjudge%netscape.com
2cf43972e0 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
git-svn-id: svn://10.0.0.236/trunk@18461 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 01:42:34 +00:00
mjudge%netscape.com
e5e6535f63 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.
git-svn-id: svn://10.0.0.236/trunk@18449 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 20:43:13 +00:00
peterl%netscape.com
3ed30608b4 fixed case of media atoms
git-svn-id: svn://10.0.0.236/trunk@18424 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:02:10 +00:00
peterl%netscape.com
9a51691424 set now manages order of doc style sheets
git-svn-id: svn://10.0.0.236/trunk@18423 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:01:57 +00:00
peterl%netscape.com
d1a8b01386 added header data accessors
cleaned up style sheet ordering


git-svn-id: svn://10.0.0.236/trunk@18422 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 07:01:40 +00:00
akkana%netscape.com
3ba704ef6d remove some verbose debugging messages
git-svn-id: svn://10.0.0.236/trunk@18380 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:38:54 +00:00
troy%netscape.com
456f4bc464 Turned off debug message that was outputing to the console
git-svn-id: svn://10.0.0.236/trunk@18378 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:20:58 +00:00
vidur%netscape.com
af97890612 Implemented splitText for text nodes
git-svn-id: svn://10.0.0.236/trunk@18377 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-23 00:10:08 +00:00
vidur%netscape.com
ea2adbea24 Comments added to content model. Comments and text content now have a special tagname
git-svn-id: svn://10.0.0.236/trunk@18362 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:48:00 +00:00
mjudge%netscape.com
549eaa4d7f selection rocks ass
git-svn-id: svn://10.0.0.236/trunk@18337 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 22:04:54 +00:00
mjudge%netscape.com
06c5902e82 chagnes for selection to work
git-svn-id: svn://10.0.0.236/trunk@18322 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 18:58:14 +00:00
jfrancis%netscape.com
8f3f641ccb efficiency improvement to ComparePointToRange()
git-svn-id: svn://10.0.0.236/trunk@18276 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-22 08:59:26 +00:00
kostello%netscape.com
75d16ce80a Updated XIF code to match the new selection work.
git-svn-id: svn://10.0.0.236/trunk@18198 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 21:45:17 +00:00
vidur%netscape.com
7908dffae7 Fix to get default namespaces to work. Cleanup of DOM handling of character data.
git-svn-id: svn://10.0.0.236/trunk@18189 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-21 19:33:03 +00:00
buster%netscape.com
48e612895f 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.


git-svn-id: svn://10.0.0.236/trunk@18089 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-20 23:23:28 +00:00
mjudge%netscape.com
54b82849bb fiximg text selection for frames in frames
git-svn-id: svn://10.0.0.236/trunk@18035 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 23:36:06 +00:00
vidur%netscape.com
fdfa2b0b22 Completion of document as node - specifically, the childNodes array. Completion of nodeName, nodeValue and attributes properties for different types of nodes.
git-svn-id: svn://10.0.0.236/trunk@18031 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-19 23:07:33 +00:00