Граф коммитов

498 Коммитов

Автор SHA1 Сообщение Дата
sfraser%netscape.com c4ec54057e Comment out useless assert. 1999-06-10 21:43:08 +00:00
mjudge%netscape.com 1e4bbda958 fixing table selection again. also adding parameter to nsIFocusTracker that allows us to get the current caret location. I am also stopping nsTableRowFrame from putting blue border around itself since cells are a high enough granularity. made a change to nsIFrame GetPosition to remove some useless parameters ect. this caused me to change nsDOMEvent.cpp and some other places.
MJ
1999-06-10 21:08:17 +00:00
peterl%netscape.com e4693f9f9a added code to ignore unknown namespace prefix for attributes
(actually the parser should've rejected it before here)
1999-06-10 05:18:46 +00:00
peterl%netscape.com 5af713b6eb removed equals and hashvalue methods 1999-06-10 05:17:27 +00:00
kostello%netscape.com 30d8323d5c Fix build bustage: changed include to be the right case 1999-06-10 01:06:35 +00:00
kostello%netscape.com af8311bbc4 Akkana set up a service for encoding a document.
This checkin adds the implementations for encoding
HTML and plain text:

nsTextEncoder::EncodeToString(..)
nsHTMLEncoder::EncodeToStream(..)

Hooked these services into the nsHTMLEditor implemenation

We probably want to update the clipboard code to
use the same pattern as in nsHTMLEditor.cpp
1999-06-10 00:35:02 +00:00
akkana%netscape.com 411b9335fd Add Init method to pass in the document and mime type 1999-06-08 00:01:55 +00:00
akkana%netscape.com b6db890d57 Split document encoder's Encode() method into a stream method and a string method 1999-06-07 19:32:36 +00:00
sspitzer%netscape.com 099c1e995a fix build breakage on UNIX. tindebox builds with --enable-pedantic, which
catches stuff like this.
1999-06-04 23:57:35 +00:00
akkana%netscape.com 365b822bb1 attempt to fix win build bustage 1999-06-04 23:45:25 +00:00
akkana%netscape.com a6d85f64a3 cast away constness for a temporary fix to windows build bustage 1999-06-04 22:58:47 +00:00
akkana%netscape.com 3d54e784c0 XIF Document Encoder; and partial fix for XIF-to-html conversion of comments 1999-06-04 22:22:53 +00:00
nisheeth%netscape.com d258a2fb2b Fix for bug 6892. We should not set focus each time a document viewer creates a new window but leave it to the embedding application to decide when to set focus. 1999-06-04 01:48:38 +00:00
akkana%netscape.com 7eb99ffcd0 Checking in the non-dangerous parts of the XIF document/html encoder 1999-06-04 01:04:08 +00:00
akkana%netscape.com 8b73938c4d Vidur's initial implementation of Insert HTML Fragment 1999-06-03 22:38:38 +00:00
warren%netscape.com 856c122c19 Left over from mozilla/base/src. 1999-06-03 21:50:54 +00:00
alecf%netscape.com 1e37044d42 first cut at scriptifying nsISupportsArray - remove constness from all methods, add new XPCOM compatible methods and fix layout code to handle lack of const methods 1999-06-02 02:06:32 +00:00
jfrancis%netscape.com 7dd79a4cfd fix for subtree iter Init - now works when inited over a single textnode 1999-06-02 00:41:45 +00:00
beard%netscape.com 49aa6c81c8 make sure mScriptContextOwner isn't NULL (apologies to sspitzer, made the test consistent with line #2283, hope you don't mind) 1999-05-29 21:43:24 +00:00
sspitzer%netscape.com 9cea6738a5 fix for #7344. check for nsnull before dereferencing. 1999-05-29 20:55:48 +00:00
vidur%netscape.com 2206692fcd Fix for bug 6125. DOMImplementation::hasFeature() now works better 1999-05-28 00:22:47 +00:00
hyatt%netscape.com 25c31fd9a3 (1) The document now checks the window for capture.
(2) Frames and iframes now know their nearest enclosing chrome shells.
1999-05-27 21:04:52 +00:00
peterl%netscape.com bd656c4fbd added assertion to resolve style 1999-05-26 23:44:56 +00:00
peterl%netscape.com 7a42466c4f changed style rule API to use array 1999-05-26 23:44:32 +00:00
jfrancis%netscape.com cb89b3b4db fixed dom range gravity error 1999-05-26 22:28:04 +00:00
peterl%netscape.com d393ad5352 fixed change hint for border style 1999-05-18 23:03:29 +00:00
peterl%netscape.com bfcbb2a606 added insert style sheet
fixed some observer notifications
1999-05-18 23:03:04 +00:00
peterl%netscape.com 7f1229b1e3 added insert style sheet method 1999-05-18 23:02:25 +00:00
jfrancis%netscape.com aa15dffa7a collapsed ranges now result in empty iterators over them 1999-05-18 11:11:14 +00:00
vidur%netscape.com 802d7b19c1 Propagate visibility style across table boundaries. 1999-05-17 21:17:21 +00:00
dcone%netscape.com 0664263319 added a webshell parameter to the PrintContent call, unhooked the PresShell from the
document before deletion.  Fixed a leak.
1999-05-14 14:40:59 +00:00
jfrancis%netscape.com acc4de704d fixing overly noisy asserts 1999-05-14 06:18:07 +00:00
neeti%netscape.com ab090b8c08 Fixed SetEnableRendering() in nsDocumentViewer.cpp
Initialized mEnableRendering in constructors of nsDocumentViewer.cpp and nsPlugin.cpp to a default value of PR_TRU
Do EnableRefresh only if mEnableRendering is set to true in nsHTMLContentSink.cpp,nsXMLContentSink.cpp,
nsXMLContentSink.h
1999-05-13 20:27:47 +00:00
warren%netscape.com 7a41ef7d73 Fixed nsICollection (and Count in particular) to be xpidl friendly. 1999-05-13 04:56:04 +00:00
jfrancis%netscape.com e932a88dbf better error handling 1999-05-13 02:43:30 +00:00
sspitzer%netscape.com 86e67dfa23 make destructor virtual 1999-05-13 02:23:33 +00:00
sspitzer%netscape.com 09cb39095d make destructors virtual 1999-05-13 02:11:25 +00:00
vidur%netscape.com dc6ade4570 Backing out unintentional checkin 1999-05-13 00:24:45 +00:00
vidur%netscape.com 6c2b9ed431 Fixed uninitialized variable problem. 1999-05-13 00:21:50 +00:00
sfraser%netscape.com 4dbf2e2517 IncrementModCount now takes a PRInt32 (this fixes broken builds). 1999-05-12 22:55:29 +00:00
dcone%netscape.com 926c742d61 added a PrintContent() method to these classes 1999-05-12 13:32:09 +00:00
alecf%netscape.com ea69080f6a remove const-ness from nsICollection::Count() so that it can be represented with XPIDL 1999-05-12 02:53:37 +00:00
vidur%netscape.com b4df3c05f2 Added IsValidFragment and CreateRange implementations. Added GetContentType method to nsIDocument interface. 1999-05-11 20:22:35 +00:00
jfrancis%netscape.com 2886b029de better error detection/handling + some cleanup 1999-05-10 23:29:01 +00:00
kipp%netscape.com 14994be14d Added a reminder comment 1999-05-10 22:29:34 +00:00
kipp%netscape.com 9e31b5ad32 Implement support for SetEnableRendering/GetEnableRendering 1999-05-07 19:26:23 +00:00
sfraser%netscape.com 9faece0add Implement nsIDiskDocument interface for editable documents. 1999-05-07 04:59:23 +00:00
alecf%netscape.com 8e9aea9fe5 don't dereference aContext without checking for null 1999-05-07 03:08:02 +00:00
vidur%netscape.com e33e50f6d1 Fix for bug 6069. The ownerDocument for a Document node is now null. 1999-05-07 01:30:30 +00:00
vidur%netscape.com dfe2f556f7 Implemented GetOwnerDocument. 1999-05-07 00:06:48 +00:00
vidur%netscape.com 38bb0a90e0 Added new content implementation macro 1999-05-07 00:06:29 +00:00
kipp%netscape.com 8b0757f313 Moved from webshell/src 1999-05-06 19:25:40 +00:00
kipp%netscape.com bac6d20dba Moved from webshell directory 1999-05-06 19:25:10 +00:00
vidur%netscape.com 49c983940a Fixed non-ANSII compliant code. 1999-05-04 20:53:44 +00:00
vidur%netscape.com 0089d292a7 Bug fix from Citec for clearing out parameter when an attribute doesn't exist 1999-05-04 20:51:42 +00:00
vidur%netscape.com e21aa6cc98 Added nsIContent implementation macro with SetParent defined locally 1999-05-04 20:50:43 +00:00
pinkerton%netscape.com 7b8852653a added GetIID() method. 1999-04-30 08:59:11 +00:00
sfraser%netscape.com 61b1a8f6f2 Fix nil parent crasher. 1999-04-28 06:37:51 +00:00
vidur%netscape.com b9b65f2d8a Added nsIDOMNSRange method with InsertFragment method. Stub implementation for now. 1999-04-27 22:16:04 +00:00
kipp%netscape.com 4bc35ca479 Removed compiler warnings 1999-04-27 22:14:17 +00:00
kipp%netscape.com 6de379d3e8 Added more info to the list output 1999-04-27 22:08:48 +00:00
ftang%netscape.com 1301749405 change S/GetDocumentCharacterSet method for nsIDocument interface. 1999-04-27 21:49:25 +00:00
kostello%netscape.com 09c3f2e1b1 Added Encoding of charset information
Encoded < and > as LT and GT character entities to fix bug #4709
1999-04-26 06:10:47 +00:00
kipp%netscape.com 074ac7f80d Work around crash by not assuming we have an owner 1999-04-23 19:57:26 +00:00
scc%netscape.com c1ef45e70e Added required GetIID methods 1999-04-23 16:48:32 +00:00
rickg%netscape.com 4437e6d937 update to sync with nsString2 1999-04-22 05:39:24 +00:00
rickg%netscape.com 90347b75f9 updates to sync with nsString2 api 1999-04-21 23:12:55 +00:00
peterl%netscape.com 54b128c5f6 widened content state change api
added test for state dependent style
1999-04-20 00:02:22 +00:00
vidur%netscape.com 15e7e2c335 Fix for bug 5141. The parentNode of a standalone Node is no longer a DocumentFragment, but is now, according to the spec, just null. 1999-04-17 00:56:25 +00:00
peterl%netscape.com b352defc23 split font style mapping from regular style mapping 1999-04-15 21:23:05 +00:00
sfraser%netscape.com c0ae174df0 Implement the ScriptObjectOwner interface, and adapt to fixed selection interfaces. 1999-04-15 20:19:26 +00:00
sfraser%netscape.com f2f067e736 Fix QI failure return value (!NS_OK is bad!) 1999-04-15 20:18:47 +00:00
sfraser%netscape.com 8cf89e7efb File Removed. 1999-04-13 01:18:25 +00:00
sfraser%netscape.com bbe5a4f210 Removal of nsSelectionRange, nsSelectionPoint, and fixing up resulting include problems. 1999-04-13 01:15:16 +00:00
waterson%netscape.com 8736393378 Added GetIID() method so this can be used with nsCOMPtr. 1999-04-12 18:08:43 +00:00
jfrancis%netscape.com 70eff1b903 fix for another range gravity bug; rvwd and apprd kostello; appr chofmann 1999-04-08 06:00:44 +00:00
jfrancis%netscape.com 2f9527c569 fix for range gravity bug 1999-04-06 19:57:01 +00:00
kipp%netscape.com 2f7af4d702 Fixed an oopsie that prevented enumerating the override and backstop sheets 1999-04-03 18:56:45 +00:00
peterl%netscape.com baea51d075 added nsStyleContent 1999-04-02 18:48:55 +00:00
vidur%netscape.com f6f2f989a9 Added epilog and prolog to document. Added processing instructions and CDATASections for XML. Completed document Node methods. 1999-03-31 20:49:25 +00:00
joki%netscape.com 393a3e937e Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements) 1999-03-28 22:22:54 +00:00
peterl%netscape.com 0edbf3ac86 added support for outline, border corner radius, transparent border
tweaked opacity
1999-03-28 04:28:22 +00:00
kipp%netscape.com 121eee5513 Implement new method 1999-03-27 01:20:15 +00:00
kipp%netscape.com f656ef3fb2 Added a new method 1999-03-27 01:20:02 +00:00
ftang%netscape.com 1a935f9498 add Set/GetWordBreaker to nsIDocument. Reviewed and approved by kipp 1999-03-27 00:58:41 +00:00
peterl%netscape.com e9d8cae711 made opacity inherit by default 1999-03-25 06:34:57 +00:00
jfrancis%netscape.com 340553bc93 exposing on-the-fly switchability between pre and post order iterors in the interface. exposing PositionAt in the interface. 1999-03-23 11:54:52 +00:00
jfrancis%netscape.com c13ae60c0a phase one of on-the-fly support for switching between pre and post order iteration. needed by text services. 1999-03-23 10:30:24 +00:00
vidur%netscape.com 60c2b1e433 Implemented ID targetting for HTML in XML documents. Changed name of GetNameSpacePrefix to avoid clash. 1999-03-20 01:51:00 +00:00
nisheeth%netscape.com eb359710f6 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.
1999-03-19 01:41:09 +00:00
vidur%netscape.com bb1650ee77 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 1999-03-10 01:17:49 +00:00
jfrancis%netscape.com 05bff338bd fixed refcounting bugs 1999-03-09 19:21:30 +00:00
jfrancis%netscape.com 9ccfd6ca94 fixed refcounting bugs plus a little cleanup 1999-03-09 19:21:04 +00:00
jfrancis%netscape.com 7ea09100f6 bug fixes + changing broken "dont_QueryInterface" additions to "do_QueryInterface" 1999-03-08 01:20:02 +00:00
scc%netscape.com 31ff626ae9 rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
brade%netscape.com a08b6b708b reduce compiler warnings on Macintosh by adding comparison in loop (around assignments) 1999-03-03 14:50:41 +00:00
joki%netscape.com c401b7142e Adding new tab handling and focus support. 1999-03-02 19:19:24 +00:00
vidur%netscape.com 5c71c0ce21 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. 1999-03-01 16:57:35 +00:00
rods%netscape.com 372194e11f Change it to do a QueryInterface, is this right? 1999-03-01 15:27:55 +00:00
mcafee%netscape.com 20a05193e2 Backing out my last change, breaks Win32 & Mac. 1999-03-01 10:57:20 +00:00