[email protected]
5c8ab4acf0
Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
2001-10-27 06:44:19 +00:00
[email protected]
c2470b4690
Bug 103250, attempting to fix topcrasher with a null check. Crash happens when you select text while page loading. r=harishd, sr=vidur.
2001-10-08 21:51:43 +00:00
[email protected]
a244dafd15
Fix for bug 97687 ([serializer]cs/gecko: copying using keyboard shortcuts>paste>source pasted {Country=US}) r=heikki, sr=jst.
2001-10-02 10:02:07 +00:00
[email protected]
5ba3ff1a0d
License changes, take 2. Bug 98089. mozilla/content/.
2001-09-25 01:32:19 +00:00
[email protected]
63a3bd792d
Bug 92575: voidarray->autovoidarray changes in content/*, minus mChildren
...
changes in nsXULContentSink.cpp and nsGenericElement.cpp as per jst.
r=hyatt r=pierre sr=jst
2001-09-06 19:16:03 +00:00
[email protected]
1fc88a4abc
Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
...
Bug #20860 [email protected] [email protected]
2001-08-14 07:59:59 +00:00
[email protected]
051ac60d69
Fixes from [email protected] and [email protected]
...
for bug #86450 : pasting plaintext into text area loses significant whitespace
content/base/src/nsDocumentEncoder.cpp
- Look for -moz-pre-wrap in the correct attribute ("style").
editor/base/nsHTMLDataTransfer.cpp
editor/base/nsPlaintextDataTransfer.cpp
- Set the correct mime-type on the encoder and transfer data.
- Pass correct init flags to encoder.
layout/base/src/nsCopySupport.cpp
layout/base/src/nsCopySupport.h:
- Added IsPlainTextContext() method.
- Modified HTMLCopy() to pass correct init flags and
mime-type to the encoder during plaintext copy.
[email protected] ,[email protected] [email protected]
2001-07-13 13:38:10 +00:00
[email protected]
baba14c5c8
Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
...
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.
nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
[email protected]
4fefd8c7b8
fix for 74991: nsDocumentEncoder::SerializeRangeToString() reverses order of ancestors. r=anthonyd; sr=sfraser
2001-04-10 12:37:23 +00:00
[email protected]
4e56e9386c
landing string branch; see bug #73786
2001-04-02 19:40:52 +00:00
[email protected]
43aba80317
Changed to output '?' for unmapped characters if text/plain, bug 72155, r=ftang, sr=jst.
2001-03-23 23:39:04 +00:00
[email protected]
5197e93c42
fix Bug 70989 Clean up lots of "shadows" and other common warnings
...
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
2001-03-21 05:32:22 +00:00
[email protected]
f98c02fd7f
bug 57863: pasting multiple table cells outside of table doens't work. r=cmanske;sr=kin
2001-03-09 01:36:38 +00:00
[email protected]
82d8a439a8
Change implicit conversion from
...
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|
to explicit |get()|.
Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).
Bug=53057, r=alecf, sr=scc
2001-03-08 08:05:05 +00:00
[email protected]
e9399ed474
Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
2001-03-02 09:26:57 +00:00
[email protected]
5487688c31
bug 50497: plaintext copy loses newlines on paste
bug 57292: copy of table cell contents shouldn't copy cell
bug 57170: some inline style not preserved across copy paste
for all above: r=akkana; sr=sfraser
2001-02-15 13:22:26 +00:00
[email protected]
21e6da8f3e
Changed to control entity (CER) generation by a document charset, bug 65324, r=jst, sr=vidur.
2001-02-13 01:00:14 +00:00
[email protected]
23e9055667
Fix hotaix bustage, also see bug 67961.
2001-02-07 13:02:11 +00:00
[email protected]
378f68f510
fix for text widget copy -> html composer paste giving you a seperate pre block for each paste. (bugzilla refuses to cough up the bug number right now).
2001-02-07 10:34:17 +00:00
[email protected]
0fc7e8b111
always absolutize urls in html copy encoder (doing the right thing is covered in bug #32768 )
2001-01-24 14:59:57 +00:00
[email protected]
780b86e64a
Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 [email protected] [email protected]
2000-12-09 04:46:08 +00:00
[email protected]
f71dd12f36
New encoder fixup helper interface. b=57996, r=jst
2000-11-30 01:08:22 +00:00
[email protected]
574305823a
Fixing rtm++ bug 56212. The new serializers were a bit too eager about what characters to encode as entities, this caused bad things when sending email that contained double quotes and also when writing a message containing quotes in AIM. sr=vidur, r=nisheeth.
2000-10-13 11:06:05 +00:00
[email protected]
2f23300ef7
Rolling in the last of the NOXIF changes from the Netscape 6 branch, code mostly written by jfrancis. Fixes bugs 50742, 55806, 56000 and 55669. sr=kin, scc. r=kandrot, jst.
2000-10-11 22:50:14 +00:00
[email protected]
ac4808dda8
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
2000-10-07 10:57:30 +00:00
[email protected]
ab294f3f8f
small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575
2000-09-14 11:45:01 +00:00
[email protected]
3ba32f670e
DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
2000-08-23 17:27:06 +00:00
[email protected]
73cfb8980b
making string conversions explicit
2000-04-03 11:20:35 +00:00
[email protected]
a09a9c5b56
small changes to clients of string converting APIs
2000-03-26 10:06:21 +00:00
[email protected]
baf799923b
Converting ::GetIID() into NS_GET_IID(). Bug #20232 . r=scc, r=mozbot
2000-02-02 22:24:56 +00:00
[email protected]
4d242c4fbc
fixing bug 21414 the right way, reverting api's to their previous ways.
2000-01-10 23:04:24 +00:00
[email protected]
35b2fae697
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.
2000-01-08 01:48:39 +00:00
[email protected]
fa9a014602
force rebuild of this file
1999-11-14 08:41:36 +00:00
[email protected]
796280940b
updated license boilerplate to xPL 1.1, [email protected] ,[email protected]
1999-11-06 03:40:37 +00:00
[email protected]
820ad70dab
15777: Don't declare the same function-static symbol twice in the same file, because some versions of gcc can't deal with it. r=mcafee
1999-10-20 20:20:38 +00:00
[email protected]
66100de2fb
Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur
1999-10-12 03:05:10 +00:00
[email protected]
ea36a75c90
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
1999-10-08 20:41:19 +00:00
[email protected]
2910b3ba0e
Set default wrap column to 72 instead of 0
1999-09-14 21:32:06 +00:00
[email protected]
7987678b71
Fix UMRs
1999-09-10 19:12:46 +00:00
[email protected]
3e07a8f1d8
Remove some redundant logic
1999-09-07 19:13:04 +00:00
[email protected]
22f4dc3b43
No longer need a pres shell for the document encoder; remove it.
1999-08-25 21:42:20 +00:00
[email protected]
c359aafe41
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.
1999-08-24 18:30:19 +00:00
[email protected]
1a2b8751c6
was neglecting to initialize a member
1999-08-08 02:06:31 +00:00
[email protected]
91e204def6
Add a working implementation for nsDOMSelection::ContainsNode, and use it in nsDocument::IsInSelection for XIF conversion
1999-07-21 21:29:29 +00:00
[email protected]
3fd1dc7c68
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
[email protected]
ea44445873
Fix formatted plaintext output -- it wasn't following prettyprint or wrap length
1999-07-06 23:13:15 +00:00
[email protected]
7cafb19141
Fix DoPrettyPrint -- turning off prettyprinting was broken
1999-07-02 19:41:40 +00:00
[email protected]
c88a4fee5a
- 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
[email protected]
5fa969968e
- 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
[email protected]
4710f19bb0
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