Commit Graph

23 Commits

Author SHA1 Message Date
pinkerton%netscape.com
15d277370a Make CF_HTML a different flavor and return it to editor w/out any
modification. Bulletproof the data we get from the OS by always null
terminating it. r=brade/sr=kin bug# 69566.


git-svn-id: svn://10.0.0.236/trunk@120952 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 19:45:58 +00:00
dbaron%fas.harvard.edu
ac6b721449 Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag
git-svn-id: svn://10.0.0.236/trunk@114693 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:18:13 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
jaggernaut%netscape.com
173b301199 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106325 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 04:24:06 +00:00
pinkerton%netscape.com
f8df04c373 fix for strlen being called on a null string when there is no text to convert to the platform charset. r=pchen/sr=sfraser/a=asa. bug# 92755.
git-svn-id: svn://10.0.0.236/trunk@101645 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 22:21:43 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
nhotta%netscape.com
ffaf244f57 Added an attribute for the charset conversion so that it fallback to a question mark in case of conversion error,
bug 83218, r=pinkerton, sr=blizzard, a=asa.


git-svn-id: svn://10.0.0.236/trunk@96361 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-05 00:02:29 +00:00
pinkerton%netscape.com
31a30a3d08 make linebreak converter not specific about what kind of linebreaks we're dealing with on a paste. Insulates us from changes to what kind of linebreaks the DOM gives us. r=saari, a=sfraser, bug# 63563.
git-svn-id: svn://10.0.0.236/trunk@84757 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-11 00:08:28 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
pavlov%netscape.com
b605aca85a fir for bug 46729. convert things like smart quotes to normal quotes when pasting as plain text r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@76582 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 21:37:09 +00:00
scc%mozilla.org
fd1efd70c8 fix type equivalence between |PRUnichar| and |jschar| now that |PRUnchar| may be |wchar_t| on select platforms
git-svn-id: svn://10.0.0.236/trunk@72073 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:52:31 +00:00
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
nhotta%netscape.com
b0f78eb251 Added the encoder function to substitute not converted characters with question mark instead of abort the conversion, bug 31797.
git-svn-id: svn://10.0.0.236/trunk@68124 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:27:25 +00:00
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
nhotta%netscape.com
a8d39e0f11 Changed to use do_GetService instead of CreateInstance, bug 30210, r=cata.
git-svn-id: svn://10.0.0.236/trunk@62965 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:35:02 +00:00
rickg%netscape.com
1bd57cb94b removed calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 09:14:14 +00:00
pinkerton%netscape.com
c3f43e5f26 native clipboard/d&d impls now handle text/plain internally, always providing text/unicode to a client. fixes bugs 8427 and 24010. r=scc.
git-svn-id: svn://10.0.0.236/trunk@59409 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 22:26:21 +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
2d93e7b4bb added nsLinebreakHelper class so clipboard and d&d can easily convert linefeeds from native to DOM. bug 18409, r=sfraser
git-svn-id: svn://10.0.0.236/trunk@55014 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 03:39:41 +00:00
pinkerton%netscape.com
f4bcc3e32f fix for bug #19571, where we assumed text from the drag manager or clipboard was null terminated when placing it into a nsISupportsPrimitive, when it obviously wasn't. r=sfraser.
git-svn-id: svn://10.0.0.236/trunk@54772 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 22:07:29 +00:00
sspitzer%netscape.com
a22048c5dc fix warning.
git-svn-id: svn://10.0.0.236/trunk@53670 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 19:24:35 +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
pinkerton%netscape.com
a798bbca2b First Checked In.
git-svn-id: svn://10.0.0.236/trunk@48432 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 00:08:25 +00:00