13 Commits

Author SHA1 Message Date
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +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
dbaron%fas.harvard.edu
524406b7fd Remove |#ifdef|s around |#include|s since they're a recipe for build bustage (see the portability guidelines). b=91237 r=jag sr=waterson
git-svn-id: svn://10.0.0.236/trunk@99888 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 05:16:32 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
kin%netscape.com
4e48be6712 Fixes from kin@netscape.com and brade@netscape.com
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.

r=kin@netscape.com,brade@netscape.com sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@99185 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-13 13:38:10 +00:00
jaggernaut%netscape.com
51b17b5bf0 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 :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
dbaron%fas.harvard.edu
88810ef1eb Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@97540 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 03:27:48 +00:00
mkaply%us.ibm.com
a3560a47c2 #80164
r=mkaply, sr=kin@netscape.com
Code from simon@softel.co.il - enable proper reversing for clipboard


git-svn-id: svn://10.0.0.236/trunk@95636 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 23:39:49 +00:00
dbaron%fas.harvard.edu
e3706c4c82 Fix double-addref leak of pres shell. (Leaking the pres shell without leaking the doc viewer causes us to leak the frame tree while deleting the view tree, which causes crashes after leaving pages with animated images. Fix for that problem coming soon.) b=80203 r=sspitzer sr=ben
git-svn-id: svn://10.0.0.236/trunk@95392 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-18 11:36:54 +00:00
erik%netscape.com
08d052a062 bug 75066; author=simon@softel.co.il; r=jst; sr=erik; this change addresses
a comment made during the review of 75066 (nsBidiOptions -> PRUint32)


git-svn-id: svn://10.0.0.236/trunk@92234 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 22:09:44 +00:00
brade%netscape.com
1cb353f0fe only add flavors when we have data in that flavor; r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@91044 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 14:11:01 +00:00
erik%netscape.com
d294fedda9 bug 71314; author=simon@softel.co.il; r=mjudge,anthonyd; sr=erik; changes
from IBM bidi project (Arabic, Hebrew, etc); some in ifdef for now


git-svn-id: svn://10.0.0.236/trunk@89949 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 01:16:22 +00:00
jfrancis%netscape.com
c905838848 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


git-svn-id: svn://10.0.0.236/trunk@87098 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 13:22:26 +00:00