Commit Graph

721 Commits

Author SHA1 Message Date
akkana%netscape.com
2300ca567a - Add a prettyprint flag to the html-to-text sink (false by default).
When prettyprinting is on, we will attempt to make the plaintext
  mimic the look of the html; when off (as for copy/paste), we just
  dump the text with no formatting information.


git-svn-id: svn://10.0.0.236/trunk@36966 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-26 00:01:11 +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
peterl%netscape.com
e34e6f0b60 better protection against bad calls in resolve style
git-svn-id: svn://10.0.0.236/trunk@36301 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 19:16:40 +00:00
peterl%netscape.com
8710e9037c added fixed font flag support
git-svn-id: svn://10.0.0.236/trunk@36300 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 19:16:16 +00:00
jfrancis%netscape.com
33b54daf18 care and feeding of the compiler...
git-svn-id: svn://10.0.0.236/trunk@36007 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-20 23:32:22 +00:00
jfrancis%netscape.com
c905921f4d spring cleaning of interfaces
git-svn-id: svn://10.0.0.236/trunk@36005 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-20 23:02:48 +00:00
jfrancis%netscape.com
2a4f8f3946 fixing bug that broke selection in docs with generated content
git-svn-id: svn://10.0.0.236/trunk@35951 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-20 00:12:59 +00:00
sspitzer%netscape.com
62333c3c30 safety checks to prevent dereferencing null
git-svn-id: svn://10.0.0.236/trunk@35912 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-19 21:18:13 +00:00
mjudge%netscape.com
ac94f8e4e0 oops forgot one
git-svn-id: svn://10.0.0.236/trunk@35904 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-19 20:50:20 +00:00
mjudge%netscape.com
571f2a1a16 up/down selection BRFrames dont allow selecting upon them for now. horizontal bars are now drawn selected. ect.
git-svn-id: svn://10.0.0.236/trunk@35903 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-19 20:36:44 +00:00
valeski%netscape.com
4fa4e2e84d NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061.
git-svn-id: svn://10.0.0.236/trunk@35863 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-18 17:34:08 +00:00
jfrancis%netscape.com
a84649ba07 bug 8287; rvd sfraser; aprvd buster; aprvd chofmann
git-svn-id: svn://10.0.0.236/trunk@35735 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-16 21:38:51 +00:00
sfraser%netscape.com
ecfb2ed35b Don't release the selection that you didn't addref, mister document encoder.
git-svn-id: svn://10.0.0.236/trunk@35553 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 23:58:41 +00:00
peterl%netscape.com
eb90ef2c8a use new medium testing api
use enumeration func for faster rule matching


git-svn-id: svn://10.0.0.236/trunk@35389 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:15:51 +00:00
peterl%netscape.com
8b5a5bc0d9 added create child namespace by id
git-svn-id: svn://10.0.0.236/trunk@35388 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:14:59 +00:00
peterl%netscape.com
1721617943 added UseForMedium (for faster medium testing)
git-svn-id: svn://10.0.0.236/trunk@35387 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:14:31 +00:00
peterl%netscape.com
1e96c5e167 added new create child namespace
git-svn-id: svn://10.0.0.236/trunk@35386 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 06:14:09 +00:00
buster%netscape.com
a450d1bfba added support for style contexts getting background and font defaults from
the pres context.


git-svn-id: svn://10.0.0.236/trunk@35042 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 22:31:15 +00:00
vidur%netscape.com
1746b524c7 Fix for bug 6785. Incorrect reinitializing of mData.
git-svn-id: svn://10.0.0.236/trunk@34929 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 00:37:36 +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
mjudge%netscape.com
21a15def92 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


git-svn-id: svn://10.0.0.236/trunk@34640 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 21:08:17 +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
peterl%netscape.com
a9ba7b2cdd removed equals and hashvalue methods
git-svn-id: svn://10.0.0.236/trunk@34559 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 05:17:27 +00:00
kostello%netscape.com
e3bdb359ea Fix build bustage: changed include to be the right case
git-svn-id: svn://10.0.0.236/trunk@34525 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 01:06:35 +00:00
kostello%netscape.com
e69948ccbb 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


git-svn-id: svn://10.0.0.236/trunk@34518 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-10 00:35:02 +00:00
akkana%netscape.com
ee09a04094 Add Init method to pass in the document and mime type
git-svn-id: svn://10.0.0.236/trunk@34129 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 00:01:55 +00:00
akkana%netscape.com
3db80acc76 Split document encoder's Encode() method into a stream method and a string method
git-svn-id: svn://10.0.0.236/trunk@34033 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:32:36 +00:00
sspitzer%netscape.com
c06b81c34c fix build breakage on UNIX. tindebox builds with --enable-pedantic, which
catches stuff like this.


git-svn-id: svn://10.0.0.236/trunk@33864 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:57:35 +00:00
akkana%netscape.com
3e01b3f572 attempt to fix win build bustage
git-svn-id: svn://10.0.0.236/trunk@33862 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 23:45:25 +00:00
akkana%netscape.com
bb6848ffbf cast away constness for a temporary fix to windows build bustage
git-svn-id: svn://10.0.0.236/trunk@33842 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:58:47 +00:00
akkana%netscape.com
0e075a7b80 XIF Document Encoder; and partial fix for XIF-to-html conversion of comments
git-svn-id: svn://10.0.0.236/trunk@33807 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:22:53 +00:00
nisheeth%netscape.com
c16e04df1f 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.
git-svn-id: svn://10.0.0.236/trunk@33689 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 01:48:38 +00:00
akkana%netscape.com
5199693c7c Checking in the non-dangerous parts of the XIF document/html encoder
git-svn-id: svn://10.0.0.236/trunk@33681 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 01:04:08 +00:00
akkana%netscape.com
5731d83f36 Vidur's initial implementation of Insert HTML Fragment
git-svn-id: svn://10.0.0.236/trunk@33637 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:38:38 +00:00
warren%netscape.com
7351c02659 Left over from mozilla/base/src.
git-svn-id: svn://10.0.0.236/trunk@33601 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:50:54 +00:00
alecf%netscape.com
78af0740c9 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
git-svn-id: svn://10.0.0.236/trunk@33395 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 02:06:32 +00:00
jfrancis%netscape.com
bf4871f469 fix for subtree iter Init - now works when inited over a single textnode
git-svn-id: svn://10.0.0.236/trunk@33372 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 00:41:45 +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
56971cfe55 added assertion to resolve style
git-svn-id: svn://10.0.0.236/trunk@32796 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:44:56 +00:00
peterl%netscape.com
2c1e117763 changed style rule API to use array
git-svn-id: svn://10.0.0.236/trunk@32794 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:44:32 +00:00
jfrancis%netscape.com
4c900f0761 fixed dom range gravity error
git-svn-id: svn://10.0.0.236/trunk@32758 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 22:28:04 +00:00
peterl%netscape.com
38d391cd8b fixed change hint for border style
git-svn-id: svn://10.0.0.236/trunk@32136 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:03:29 +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