139 Commits

Author SHA1 Message Date
akkana%netscape.com
8cdd3b1e3e Fix selection bustage from yesterday
git-svn-id: svn://10.0.0.236/trunk@40686 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 19:42:21 +00:00
bienvenu%netscape.com
a79e5cdd6d fix windows build bustage for Akkana
git-svn-id: svn://10.0.0.236/trunk@40531 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 22:17:20 +00:00
akkana%netscape.com
cf7c8e5dac Add a working implementation for nsDOMSelection::ContainsNode, and use it in nsDocument::IsInSelection for XIF conversion
git-svn-id: svn://10.0.0.236/trunk@40518 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 21:29:29 +00:00
warren%netscape.com
1ec5f066a6 Added missing addref.
git-svn-id: svn://10.0.0.236/trunk@40305 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 20:03:11 +00:00
warren%netscape.com
f1dfc48c58 Changed around load group insertion/removal to happen on mozilla thread.
git-svn-id: svn://10.0.0.236/trunk@40266 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 08:46:33 +00:00
akkana%netscape.com
7e6d908926 Try to fix windows build bustage
git-svn-id: svn://10.0.0.236/trunk@40198 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 00:24:11 +00:00
akkana%netscape.com
4ab5c89c92 Use the Range methods instead of homebrew stuff to determine when a point is contained in a range; eliminate code duplication
git-svn-id: svn://10.0.0.236/trunk@40176 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 22:41:49 +00:00
joki%netscape.com
065c158182 Updating DOM event apis and changing behavior to properly respect capturing, bubbling, and cancellation methods.
git-svn-id: svn://10.0.0.236/trunk@40134 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 19:54:34 +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
peterl%netscape.com
217ac4c011 removed unused imports
git-svn-id: svn://10.0.0.236/trunk@39931 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:15:03 +00:00
warren%netscape.com
84a03567fa Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome).
git-svn-id: svn://10.0.0.236/trunk@39678 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 11:14:36 +00:00
sspitzer%netscape.com
1a634cefc1 back this out. causes build bustage. sorry
git-svn-id: svn://10.0.0.236/trunk@39519 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 07:13:06 +00:00
sspitzer%netscape.com
e57e2fad89 fix warning
git-svn-id: svn://10.0.0.236/trunk@39516 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 06:58:53 +00:00
akkana%netscape.com
a878369d02 Restructure the editor output routines to allow passing in
a mime type and a flag argument.  Also fix the following bugs:
9746: get rid of bogus empty <style> in head.
8143: save wrap column in editor shell in case it's set before the
      editor is created.
9470, 9488: allow explicit specification of formatted output.


git-svn-id: svn://10.0.0.236/trunk@39332 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 18:54:29 +00:00
peterl%netscape.com
a139f3c208 cleanup
git-svn-id: svn://10.0.0.236/trunk@38535 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 01:19:31 +00:00
vidur%netscape.com
c0f7351823 Switched to using NS_WITH_SERVICE as per bug 5403
git-svn-id: svn://10.0.0.236/trunk@37497 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 23:43:46 +00:00
warren%netscape.com
fdf6c938bb Necko ifdefs for layout and rdf.
git-svn-id: svn://10.0.0.236/trunk@37005 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-26 06:36:26 +00:00
warren%netscape.com
b870de7299 Renamed nsIURLGroup to nsILoadGroup in preparation for necko.
git-svn-id: svn://10.0.0.236/trunk@36818 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 02:17:37 +00:00
warren%netscape.com
411f68d823 More necko changes.
git-svn-id: svn://10.0.0.236/trunk@36817 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 01:53:22 +00:00
akkana%netscape.com
2787dec93c 5924: Fix XIF handling of HTML comments, and also pass through the document's original formatting whitespace
git-svn-id: svn://10.0.0.236/trunk@36697 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 20:15:52 +00:00
warren%netscape.com
06d707be48 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
akkana%netscape.com
f8788ed37c Remove selection methods from nsIDocument -- they were bogus anyway, real selection lives in the pres shell
git-svn-id: svn://10.0.0.236/trunk@36352 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 21:47:45 +00:00
sfraser%netscape.com
d10cf0b444 Comment out useless assert.
git-svn-id: svn://10.0.0.236/trunk@34651 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:43:08 +00:00
peterl%netscape.com
6d72b15356 added code to ignore unknown namespace prefix for attributes
(actually the parser should've rejected it before here)


git-svn-id: svn://10.0.0.236/trunk@34560 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:18:46 +00:00
beard%netscape.com
d4e201e366 make sure mScriptContextOwner isn't NULL (apologies to sspitzer, made the test consistent with line #2283, hope you don't mind)
git-svn-id: svn://10.0.0.236/trunk@33252 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 21:43:24 +00:00
sspitzer%netscape.com
160a1a5c12 fix for #7344. check for nsnull before dereferencing.
git-svn-id: svn://10.0.0.236/trunk@33244 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 20:55:48 +00:00
vidur%netscape.com
3de7a62b23 Fix for bug 6125. DOMImplementation::hasFeature() now works better
git-svn-id: svn://10.0.0.236/trunk@33050 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-28 00:22:47 +00:00
hyatt%netscape.com
ba4d048748 (1) The document now checks the window for capture.
(2) Frames and iframes now know their nearest enclosing chrome shells.


git-svn-id: svn://10.0.0.236/trunk@32961 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 21:04:52 +00:00
peterl%netscape.com
48831354ab added insert style sheet
fixed some observer notifications


git-svn-id: svn://10.0.0.236/trunk@32135 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:03:04 +00:00
sfraser%netscape.com
5bfaa2834f IncrementModCount now takes a PRInt32 (this fixes broken builds).
git-svn-id: svn://10.0.0.236/trunk@31309 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-12 22:55:29 +00:00
vidur%netscape.com
5ed31d3cbe Added IsValidFragment and CreateRange implementations. Added GetContentType method to nsIDocument interface.
git-svn-id: svn://10.0.0.236/trunk@31128 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 20:22:35 +00:00
sfraser%netscape.com
eea6214816 Implement nsIDiskDocument interface for editable documents.
git-svn-id: svn://10.0.0.236/trunk@30664 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 04:59:23 +00:00
vidur%netscape.com
d3101412a1 Fix for bug 6069. The ownerDocument for a Document node is now null.
git-svn-id: svn://10.0.0.236/trunk@30646 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 01:30:30 +00:00
ftang%netscape.com
93bada68b4 change S/GetDocumentCharacterSet method for nsIDocument interface.
git-svn-id: svn://10.0.0.236/trunk@29531 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 21:49:25 +00:00
kostello%netscape.com
17d6c2ea7a Added Encoding of charset information
Encoded < and > as LT and GT character entities to fix bug #4709


git-svn-id: svn://10.0.0.236/trunk@29161 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 06:10:47 +00:00
rickg%netscape.com
3cfaab928f update to sync with nsString2
git-svn-id: svn://10.0.0.236/trunk@28667 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 05:39:24 +00:00
peterl%netscape.com
47bf3e319c widened content state change api
added test for state dependent style


git-svn-id: svn://10.0.0.236/trunk@28162 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:02:22 +00:00
vidur%netscape.com
fe0a023b26 Added epilog and prolog to document. Added processing instructions and CDATASections for XML. Completed document Node methods.
git-svn-id: svn://10.0.0.236/trunk@25744 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-31 20:49:25 +00:00
joki%netscape.com
58d63da788 Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements)
git-svn-id: svn://10.0.0.236/trunk@25418 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-28 22:22:54 +00:00
ftang%netscape.com
f630cec648 add Set/GetWordBreaker to nsIDocument. Reviewed and approved by kipp
git-svn-id: svn://10.0.0.236/trunk@25283 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-27 00:58:41 +00:00
nisheeth%netscape.com
b18288c5e8 Fix for bug 3584.
Change coded by vidur.  Reviewed by me.  Document.written documents now get
a default "about:blank" url assigned to them.  This fixes crash bugs associated
with other code assuming that all documents have non-null urls.

Approved by chofmann.


git-svn-id: svn://10.0.0.236/trunk@24397 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-19 01:41:09 +00:00
vidur%netscape.com
2cf6b40bda Added CreateElementWithNameSpace to proprietary document interface. Fixed GetTagName for HTML to uppercase tag names. Hooked up style rule addition and deletion to reconstruct frames. Fixed DOM generation problem
git-svn-id: svn://10.0.0.236/trunk@23441 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-10 01:17:49 +00:00
joki%netscape.com
e62bbe65fe Adding new tab handling and focus support.
git-svn-id: svn://10.0.0.236/trunk@22599 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-02 19:19:24 +00:00
vidur%netscape.com
83118f458a Fixed MAP elements to conform to HTML 4.0. Hooked up attribute changes for MAP, AREA and ANCHOR elements. Added RECONSTRUCT_ALL as a style hint for attribute changes. Modified nsCSSFrameConstructor's ReconstructFrame to only reconstruct the document element hierarchy.
git-svn-id: svn://10.0.0.236/trunk@22445 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-01 16:57:35 +00:00
peterl%netscape.com
46ee5bae96 added content state changed
git-svn-id: svn://10.0.0.236/trunk@22333 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-27 07:15:09 +00:00
ftang%netscape.com
0c167bb377 add S/GetLineBreaker to nsIDocument.h. Reviewed by kipp and waterson
git-svn-id: svn://10.0.0.236/trunk@21558 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-23 03:31:26 +00:00
troy%netscape.com
04d445235f Fixed some compile errors using nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@20574 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 18:15:02 +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
akkana%netscape.com
0ebe0a4652 Rename nsISelection to nsIFrameSelection
git-svn-id: svn://10.0.0.236/trunk@20457 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 23:12:28 +00:00
mjudge%netscape.com
2a9e445535 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
git-svn-id: svn://10.0.0.236/trunk@20274 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-10 18:55:25 +00:00