25 Commits

Author SHA1 Message Date
jst%netscape.com
17e33bbc26 Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).

Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst


git-svn-id: svn://10.0.0.236/trunk@80681 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 10:57:30 +00:00
mjudge%netscape.com
dd4523397c changing nsXifconverter to nsIXifConverter
git-svn-id: svn://10.0.0.236/trunk@69548 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-13 08:11:29 +00:00
dbaron%fas.harvard.edu
cce89251da Fixed miscellaneous leaks exposed to tinderbox leak stats by brade%netscape.com's JS checkin (rev 1.150 of navigator.js, 2000-04-28).
git-svn-id: svn://10.0.0.236/trunk@67689 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 00:26:37 +00:00
scc%netscape.com
8a7f53cc88 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66101 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 20:15:37 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
cls%seawood.org
3e1a9ca95a Removed unused NECKO ifdefs.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +00:00
rickg%netscape.com
ba693215ad replaced calls to deprecated nsString API
git-svn-id: svn://10.0.0.236/trunk@41075 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 00:37:24 +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
peterl%netscape.com
1c36262ef6 removed old include
git-svn-id: svn://10.0.0.236/trunk@39943 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:23:08 +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
0d16957c47 cleanup
git-svn-id: svn://10.0.0.236/trunk@38545 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 01:27:29 +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
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
peterl%netscape.com
9465779a16 sync to style sheet api change
added support for detecting other css rule types


git-svn-id: svn://10.0.0.236/trunk@34562 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:21:22 +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
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
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
peterl%netscape.com
1708b522be sync css selector output to new selector syntax
git-svn-id: svn://10.0.0.236/trunk@16215 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:48:00 +00:00
peterl%netscape.com
383116acf6 style change notification support
git-svn-id: svn://10.0.0.236/trunk@15337 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:34:53 +00:00
troy%netscape.com
c2f93fd8d3 Temp hack to fix Linux circular linkage problem
git-svn-id: svn://10.0.0.236/trunk@11750 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-02 04:32:11 +00:00
peterl%netscape.com
b2413c6722 sync css declaration to xif with new api
git-svn-id: svn://10.0.0.236/trunk@9701 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 01:16:25 +00:00
kipp%netscape.com
29e64a354f XPCOM'ized nsIContent and nsIHTMLContent
git-svn-id: svn://10.0.0.236/trunk@8824 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-29 20:20:38 +00:00
kipp%netscape.com
101913b9b5 Remove most compiler warnings on IRIX
git-svn-id: svn://10.0.0.236/trunk@6756 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-29 20:19:08 +00:00
kostello%netscape.com
8835c76c61 Added support for the copy command (converting the selection to XIF)
Changed XIF interface


git-svn-id: svn://10.0.0.236/trunk@6544 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-27 18:11:14 +00:00
kostello%netscape.com
8a1b7e11ba 1) Move the CSS dependent methods out of nsDocument and placed them
in a new class nsMarkupDocument. The point of nsMarkupDocument is
to hold methods which are common to HTML and XML but not relevant
to the base nsDocument class.

2) Added Selection support methods for Rod.

3) Added LookupProperty to nsCSSProperty:
Given a property ID and Property Index returns back the string representation
of the property. This was need to convert CSSValues back to strings for saving.
TODO: Make sure that our URL Information stored in a CSSDeclaration contains
enough information to return it to it's original form on output.


git-svn-id: svn://10.0.0.236/trunk@5855 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-17 23:00:54 +00:00