Commit Graph

554 Commits

Author SHA1 Message Date
valeski%netscape.com
6ee521a3aa yanked some function redefinitions if NECKO was defined 1999-07-15 15:17:43 +00:00
dcone%netscape.com
56e7a48d52 Fixed printing to make sure all URL's are loaded before print.
Fixed the background tile render'er to save and restore clip.
1999-07-15 14:23:40 +00:00
sspitzer%netscape.com
af8f0ad20d back this out. causes build bustage. sorry 1999-07-15 07:13:06 +00:00
sspitzer%netscape.com
e4c9dbea9b use NS_DEFINE_CID instead of NS_DEFINE_CID where appropriate. fix warning 1999-07-15 07:00:22 +00:00
sspitzer%netscape.com
17366d87c0 fix warning 1999-07-15 06:58:53 +00:00
akkana%netscape.com
a3fb11b98f 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.
1999-07-14 18:54:29 +00:00
akkana%netscape.com
67a0559e7f 9180: add content comment, not XIF comment. r=chofmann 1999-07-07 22:43:46 +00:00
warren%netscape.com
0efef3c3f9 Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods. 1999-07-07 08:19:38 +00:00
peterl%netscape.com
704fe7a511 added color name string value 1999-07-07 01:31:34 +00:00
peterl%netscape.com
1ff58450ba better fixed font handling 1999-07-07 01:22:04 +00:00
peterl%netscape.com
600982b67a better memory handling 1999-07-07 01:20:43 +00:00
peterl%netscape.com
b845295513 propogate quirk mode into child contexts 1999-07-07 01:20:21 +00:00
peterl%netscape.com
af351c6728 cleanup 1999-07-07 01:19:31 +00:00
peterl%netscape.com
35831e358b changed attribute impact api 1999-07-07 01:18:59 +00:00
akkana%netscape.com
5c1253edca Fix formatted plaintext output -- it wasn't following prettyprint or wrap length 1999-07-06 23:13:15 +00:00
andreas.otte%primus-online.de
001ff1afea NECKO only: replacing GetBuffer with ToNewCString and some error checking 1999-07-06 23:08:16 +00:00
kipp%netscape.com
7128c4ecd7 Made direction inheritable by tables in nav-quirks mode; cleaned up some linux specific compiler warning noise 1999-07-05 18:43:38 +00:00
radha%netscape.com
59223b8a6c Don't use the values returned by NS_MakeAbsURL to pass it to link handler, when
a mailto: url is clicked. This is because netlib doesn't understand mailto: urls yet.
This will be fixed the right way after NECKO lands
1999-07-04 23:48:06 +00:00
andreas.otte%primus-online.de
029524c65d NECKO only: fixing MakeAbsolute when loading images, cleanup 1999-07-04 22:23:38 +00:00
andreas.otte%primus-online.de
4cb2c169f8 NECKO only: fixing MakeAbsolute when using link 1999-07-04 20:56:29 +00:00
jfrancis%netscape.com
a79218c7e4 thread safety comes to nsRange 1999-07-03 11:14:08 +00:00
jfrancis%netscape.com
41de7e84ee fix for bug 8024 1999-07-03 06:19:11 +00:00
akkana%netscape.com
51406266dd Fix DoPrettyPrint -- turning off prettyprinting was broken 1999-07-02 19:41:40 +00:00
troy%netscape.com
5b550f3d8a Added function FindPrimaryFrameFor() 1999-07-02 04:46:19 +00:00
jfrancis%netscape.com
bcfb7de2e5 fixed bug in CompareEndPoints() 1999-07-01 13:40:09 +00:00
jfrancis%netscape.com
3d89e1b5ac a little neatening 1999-07-01 08:39:24 +00:00
waterson%netscape.com
a9e63d1095 Add GetIID(). 1999-06-30 19:28:16 +00:00
akkana%netscape.com
66024861e2 - New dialog and editor shell API for Insert HTML Source
- Add wrapcolumn setting to document encoders, and use it in the editor
- Fix numbered lists in the html to text sink stream.
1999-06-30 19:26:08 +00:00
vidur%netscape.com
bb53422b38 Switched to using NS_WITH_SERVICE as per bug 5403 1999-06-29 23:43:46 +00:00
scc%netscape.com
4973918df6 Added |GetIID()| 1999-06-29 20:28:56 +00:00
warren%netscape.com
ef2fbe9982 Necko cleanup. 1999-06-29 00:37:14 +00:00
warren%netscape.com
45b706bd8c Fixed necko ifdef. 1999-06-29 00:25:46 +00:00
warren%netscape.com
fbd6d1dc57 Necko ifdefs for layout and rdf. 1999-06-26 06:36:26 +00:00
akkana%netscape.com
77de9e4f9c - 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.
1999-06-26 00:01:11 +00:00
warren%netscape.com
4001aade80 Renamed nsIURLGroup to nsILoadGroup in preparation for necko. 1999-06-25 02:17:37 +00:00
warren%netscape.com
bde10cf3a0 More necko changes. 1999-06-25 01:53:22 +00:00
akkana%netscape.com
8acb7e9e08 5924: Fix XIF handling of HTML comments, and also pass through the document's original formatting whitespace 1999-06-24 20:15:52 +00:00
warren%netscape.com
1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
akkana%netscape.com
c91c3d0b61 Remove selection methods from nsIDocument -- they were bogus anyway, real selection lives in the pres shell 1999-06-22 21:47:45 +00:00
peterl%netscape.com
3df4e1bece better protection against bad calls in resolve style 1999-06-22 19:16:40 +00:00
peterl%netscape.com
17693c2f37 added fixed font flag support 1999-06-22 19:16:16 +00:00
jfrancis%netscape.com
9d7fc58091 care and feeding of the compiler... 1999-06-20 23:32:22 +00:00
jfrancis%netscape.com
8531cceb6e spring cleaning of interfaces 1999-06-20 23:02:48 +00:00
jfrancis%netscape.com
d7a49fad32 fixing bug that broke selection in docs with generated content 1999-06-20 00:12:59 +00:00
sspitzer%netscape.com
2c44b3b132 safety checks to prevent dereferencing null 1999-06-19 21:18:13 +00:00
mjudge%netscape.com
f94cf28089 oops forgot one 1999-06-19 20:50:20 +00:00
mjudge%netscape.com
f98938bdfd up/down selection BRFrames dont allow selecting upon them for now. horizontal bars are now drawn selected. ect. 1999-06-19 20:36:44 +00:00
valeski%netscape.com
e23b3c673c 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. 1999-06-18 17:34:08 +00:00
jfrancis%netscape.com
39fd84cbfe bug 8287; rvd sfraser; aprvd buster; aprvd chofmann 1999-06-16 21:38:51 +00:00
sfraser%netscape.com
c464dfe7ba Don't release the selection that you didn't addref, mister document encoder. 1999-06-15 23:58:41 +00:00
peterl%netscape.com
a7811ef149 use new medium testing api
use enumeration func for faster rule matching
1999-06-15 06:15:51 +00:00
peterl%netscape.com
93a3dcc5f3 added create child namespace by id 1999-06-15 06:14:59 +00:00
peterl%netscape.com
61dec32772 added UseForMedium (for faster medium testing) 1999-06-15 06:14:31 +00:00
peterl%netscape.com
e5916cf43f added new create child namespace 1999-06-15 06:14:09 +00:00
buster%netscape.com
a9f36a0958 added support for style contexts getting background and font defaults from
the pres context.
1999-06-12 22:31:15 +00:00
vidur%netscape.com
1aa9f07f1b Fix for bug 6785. Incorrect reinitializing of mData. 1999-06-12 00:37:36 +00:00
sfraser%netscape.com
1d5f5e549a Comment out useless assert. 1999-06-10 21:43:08 +00:00
mjudge%netscape.com
225111bf33 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
784f0c9bee 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
fa94e3b67e removed equals and hashvalue methods 1999-06-10 05:17:27 +00:00
kostello%netscape.com
9e423a7b8c Fix build bustage: changed include to be the right case 1999-06-10 01:06:35 +00:00
kostello%netscape.com
683648b5be 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
2b9b55f748 Add Init method to pass in the document and mime type 1999-06-08 00:01:55 +00:00
akkana%netscape.com
b80a790741 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
9deb82c07a 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
02d2da5839 attempt to fix win build bustage 1999-06-04 23:45:25 +00:00
akkana%netscape.com
e562ae82cb cast away constness for a temporary fix to windows build bustage 1999-06-04 22:58:47 +00:00
akkana%netscape.com
5185a8d0a0 XIF Document Encoder; and partial fix for XIF-to-html conversion of comments 1999-06-04 22:22:53 +00:00
nisheeth%netscape.com
3530c1e1a6 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
fdb319aff9 Checking in the non-dangerous parts of the XIF document/html encoder 1999-06-04 01:04:08 +00:00
akkana%netscape.com
b0031e0a99 Vidur's initial implementation of Insert HTML Fragment 1999-06-03 22:38:38 +00:00
warren%netscape.com
c777f81791 Left over from mozilla/base/src. 1999-06-03 21:50:54 +00:00
alecf%netscape.com
c5bb0477e4 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
a1af08bb72 fix for subtree iter Init - now works when inited over a single textnode 1999-06-02 00:41:45 +00:00
beard%netscape.com
05df83a633 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
6d51ce25da fix for #7344. check for nsnull before dereferencing. 1999-05-29 20:55:48 +00:00
vidur%netscape.com
41a99f7b2f Fix for bug 6125. DOMImplementation::hasFeature() now works better 1999-05-28 00:22:47 +00:00
hyatt%netscape.com
d2c9f8ec14 (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
dee7ea6722 added assertion to resolve style 1999-05-26 23:44:56 +00:00
peterl%netscape.com
f645149863 changed style rule API to use array 1999-05-26 23:44:32 +00:00
jfrancis%netscape.com
54c1e78d86 fixed dom range gravity error 1999-05-26 22:28:04 +00:00
peterl%netscape.com
0f7452cec5 fixed change hint for border style 1999-05-18 23:03:29 +00:00
peterl%netscape.com
c5e8d8d634 added insert style sheet
fixed some observer notifications
1999-05-18 23:03:04 +00:00
peterl%netscape.com
3a5019cbfb added insert style sheet method 1999-05-18 23:02:25 +00:00
jfrancis%netscape.com
d03618e5a5 collapsed ranges now result in empty iterators over them 1999-05-18 11:11:14 +00:00
vidur%netscape.com
9d805ae9c6 Propagate visibility style across table boundaries. 1999-05-17 21:17:21 +00:00
dcone%netscape.com
364c17da3c 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
51f0d561ab fixing overly noisy asserts 1999-05-14 06:18:07 +00:00
neeti%netscape.com
41dc3a3222 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
87b26617d5 Fixed nsICollection (and Count in particular) to be xpidl friendly. 1999-05-13 04:56:04 +00:00
jfrancis%netscape.com
cc913f3c67 better error handling 1999-05-13 02:43:30 +00:00
sspitzer%netscape.com
46116a798a make destructor virtual 1999-05-13 02:23:33 +00:00
sspitzer%netscape.com
39efa1c7f8 make destructors virtual 1999-05-13 02:11:25 +00:00
vidur%netscape.com
557e18dc79 Backing out unintentional checkin 1999-05-13 00:24:45 +00:00
vidur%netscape.com
11e0af38bb Fixed uninitialized variable problem. 1999-05-13 00:21:50 +00:00
sfraser%netscape.com
ee19d4ead5 IncrementModCount now takes a PRInt32 (this fixes broken builds). 1999-05-12 22:55:29 +00:00
dcone%netscape.com
c71e1f8097 added a PrintContent() method to these classes 1999-05-12 13:32:09 +00:00
alecf%netscape.com
a4c1fbdaa8 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
26a71e3928 Added IsValidFragment and CreateRange implementations. Added GetContentType method to nsIDocument interface. 1999-05-11 20:22:35 +00:00
jfrancis%netscape.com
4c04eec96b better error detection/handling + some cleanup 1999-05-10 23:29:01 +00:00