37 Commits

Author SHA1 Message Date
scc%netscape.com
ad149b30bf making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66185 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 08:21:30 +00:00
akkana%netscape.com
f74b43d420 23980: convert relative href= and src= to absolute. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@63677 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:33:59 +00:00
nhotta%netscape.com
a0461c8114 Changed to use do_GetService instead of CreateInstance, bug 30210, r=cata.
git-svn-id: svn://10.0.0.236/trunk@62968 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:41:38 +00:00
pinkerton%netscape.com
01e5181fab remove un-necessary stream stuff.
git-svn-id: svn://10.0.0.236/trunk@60170 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 01:29:10 +00:00
pp%ludusdesign.com
637edb15e8 Conversion of ::GetIID() to NS_GET_IID(). Bug #20232, r=scc@netscape.com
git-svn-id: svn://10.0.0.236/trunk@59703 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 00:39:15 +00:00
scc%netscape.com
11bee2e856 removed errant |QueryInterface()|s in favor of appropriate macros, as part of bug#23737. Changed |NS_DEFINE_IID| to |NS_DEFINE_CID| where appropriate; or else removed it, and fixed up clients to use |NS_GET_IID| in the appropriate spots. Built and ran pre-checkin tests. r=pavlov ... who claims this shouldn't effect other platforms; but I'm watching anyway
git-svn-id: svn://10.0.0.236/trunk@59312 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:43:56 +00:00
pinkerton%netscape.com
a1c08d261d Make it such that clients of the clipboard/d&d only need to work with the text/unicode flavor and not text/plain. The conversion to text/plain for the native OS (in the correct charset encoding for the platform) is now done w/in the native clipboard/d&d implementations.
git-svn-id: svn://10.0.0.236/trunk@59199 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 20:24:50 +00:00
pinkerton%netscape.com
de2ec36049 Fix for 24260, crash trying to put the AOLMAIL flavor on the clipboard. I messed up and didn't totally remove it so we promised it was there but then the conversion didn't happen and trying to free the zero-length data didn't work too well. r=sdagley
git-svn-id: svn://10.0.0.236/trunk@58200 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 01:44:48 +00:00
colin%theblakes.com
4e1db28df6 My preprocessor needs directives to start on column 1. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@58057 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-18 00:45:29 +00:00
pinkerton%netscape.com
a68745d0e6 Fixes for 23716. Remove AOLMAIL as a flavor we advertise through the converter to improve performance. Don't do the charset conversion when we want text/unicode.
git-svn-id: svn://10.0.0.236/trunk@57600 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-13 02:02:47 +00:00
pinkerton%netscape.com
28c3b87687 fixing bug 21414 the right way, reverting api's to their previous ways.
git-svn-id: svn://10.0.0.236/trunk@57303 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-10 23:04:24 +00:00
pinkerton%netscape.com
f4e554070e Added a new param to the HTML->Text sink stream to take the charset so that we can convert to plain text with the correct charset for the platform. Enhanced the XIFFormatConverter to take advantage of this, fixing bug 21414. r=akkana, nhotta.
git-svn-id: svn://10.0.0.236/trunk@57149 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 01:48:39 +00:00
pinkerton%netscape.com
74f8ac5ecb fix bug #20610 where we were always placing xif on the clipboard twice. r=shaver a=sdagley.
git-svn-id: svn://10.0.0.236/trunk@56288 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-21 19:26:10 +00:00
akkana%netscape.com
cbd61feda9 21208: Fix pasting of unicode. r=pinkerton, a=brendan
git-svn-id: svn://10.0.0.236/trunk@55785 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 01:35:48 +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
pinkerton%netscape.com
9cbdc1b888 add case for unicode flavor, which i guess was forgotten before. now apps that request unicode get unicode. bug# 16267 r=hyatt/pav. thanks to VYV03354@nifty.ne.jp for pointing this out.
git-svn-id: svn://10.0.0.236/trunk@51874 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 20:33:30 +00:00
scc%netscape.com
0d129de64e eliminate warnings, r=shaver
git-svn-id: svn://10.0.0.236/trunk@51271 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-20 18:59:00 +00:00
vidur%netscape.com
821ff07d1c Converted parser into a module. Removed static linkage of parser.
git-svn-id: svn://10.0.0.236/trunk@49503 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 22:08:24 +00:00
bruce%cybersight.com
de50afc8c5 Use nsCRT::free() instead of delete[] for char* data.
git-svn-id: svn://10.0.0.236/trunk@45886 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 14:08:47 +00:00
pinkerton%netscape.com
065a5254fb try not to copy the data so much. still working on this.
git-svn-id: svn://10.0.0.236/trunk@45673 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 06:57:38 +00:00
pinkerton%netscape.com
441d183083 new clipboard apis and trying to reduce the number of copies we do in clipboard/d&d code.
git-svn-id: svn://10.0.0.236/trunk@45493 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-01 20:14:48 +00:00
pinkerton%netscape.com
22973a932d fix QI lameness and use macros.
git-svn-id: svn://10.0.0.236/trunk@44539 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 22:04:02 +00:00
pinkerton%netscape.com
2d43935d4d toString -> ToString idl change.
git-svn-id: svn://10.0.0.236/trunk@44477 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 09:15:18 +00:00
pinkerton%netscape.com
6eb3a21da9 IDL-ifying nsITransferable, nsIDragService, nsIDragSession, nsIFormatConverter.
git-svn-id: svn://10.0.0.236/trunk@44476 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 08:35:06 +00:00
akkana%netscape.com
131d318ad4 Revise the doc encoder and content sink APIs yet again to make it easier
to add new flags (pass a flag in the constructor, rather than specific
booleans.  This in order to fix:
11249: Add flag to write only the body in html output.


git-svn-id: svn://10.0.0.236/trunk@44308 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 18:30:19 +00:00
rods%netscape.com
88f9544400 added Unicode support and multiply the length now by 2 because and changed it to put Unicode on the clipboard for HTML
git-svn-id: svn://10.0.0.236/trunk@43505 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-18 14:56:39 +00:00
rods%netscape.com
34fe243aec Need to multiple the number of incoming chars by two because they are double byte.
git-svn-id: svn://10.0.0.236/trunk@40778 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 02:27:09 +00:00
rods%netscape.com
6cd75979a6 XIF data is now assumed to be double byte
git-svn-id: svn://10.0.0.236/trunk@39692 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 14:20:49 +00:00
rods%netscape.com
8a2eeb9780 Added nsISupports to QueryInterface
git-svn-id: svn://10.0.0.236/trunk@37247 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 22:03:15 +00:00
mcafee%netscape.com
dcc46434a3 Adding case for BeOS.
git-svn-id: svn://10.0.0.236/trunk@36886 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 13:29:49 +00:00
rods%netscape.com
8665f709bd moved nsITransferable include from header to impl
git-svn-id: svn://10.0.0.236/trunk@31482 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 22:32:49 +00:00
rods%netscape.com
089a8e7024 removed reference to nsIDataFlavor and merged nsITransferable and nsIGenericTransferable
git-svn-id: svn://10.0.0.236/trunk@31462 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 21:53:57 +00:00
kostello%netscape.com
99f54db9e8 Changed to match new API for the nsHTMLContentSinkStream
git-svn-id: svn://10.0.0.236/trunk@29968 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 18:49:59 +00:00
rods%netscape.com
57c9e2b2fc Removed the adding of an additional 1 to the length on conversions.
git-svn-id: svn://10.0.0.236/trunk@28380 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 00:03:01 +00:00
pinkerton%netscape.com
ad7623d610 changes to get mac to build. same as unix for now.
git-svn-id: svn://10.0.0.236/trunk@25875 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 18:37:19 +00:00
rods%netscape.com
e98ccd3f65 removed nsIXIFConverter include
git-svn-id: svn://10.0.0.236/trunk@25864 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 15:23:03 +00:00
mcafee%netscape.com
e6e75a2b5d First checkin. Converts text/HTML selection to XIF format.
git-svn-id: svn://10.0.0.236/trunk@25768 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 01:05:43 +00:00