bzbarsky%mit.edu
d9324798ba
This wasn't supposed to land...
...
git-svn-id: svn://10.0.0.236/trunk@166126 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-02 02:17:54 +00:00
bzbarsky%mit.edu
d0f825c874
Refix copy/paste of XHTML to treat it like it does XML -- as plaintext-only
...
content, since we can't actually copy/paste XML usefully. Bug 270145, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@166104 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 22:43:56 +00:00
cbiesinger%web.de
6486659657
Bug 254278 remove some *WithConversion in layout/content
...
r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@160355 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-04 17:33:30 +00:00
roc+%cs.cmu.edu
0b0fa89131
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu
bdc7e5f59b
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
...
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
jst%mozilla.jstenback.com
b91a41077c
Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
...
git-svn-id: svn://10.0.0.236/trunk@156106 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 20:55:17 +00:00
gerv%gerv.net
98831918fc
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
darin%meer.net
af98e4f306
landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@153357 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 22:34:07 +00:00
jst%mozilla.jstenback.com
5cc38e16d9
Fixing bug 170416. Make sure strings are null-terminated before passing them to nsIOutputStream::Write(). r+sr=dbaron@dbaron.org
...
git-svn-id: svn://10.0.0.236/trunk@153308 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-27 00:28:29 +00:00
bzbarsky%mit.edu
38098b967a
Make the plaintext serializer properly handle CDATA nodes. Bug 234427, patch
...
by Sebastian Redl <wasti.redl@gmx.net>, r=akkana, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152985 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 00:10:36 +00:00
jst%mozilla.jstenback.com
2affc5b4f0
Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
...
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +00:00
sicking%bigfoot.com
ff5093b729
Bug 222667: Add newlines between root-nodes in serializer rather then encoder.
...
r=peterv sr=jst
git-svn-id: svn://10.0.0.236/trunk@148328 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-23 22:24:21 +00:00
sicking%bigfoot.com
832241db81
Bug 199613: Don't put textnodes in the root of the document when parsing XML and XUL since the DOM doesn't allow that.
...
r=peterv sr=jst
git-svn-id: svn://10.0.0.236/trunk@147995 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-15 20:10:47 +00:00
jst%mozilla.jstenback.com
ef67a47aab
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
...
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
bzbarsky%mit.edu
0147d8d4a6
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@145284 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:09:56 +00:00
jaggernaut%netscape.com
40f122a577
Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@144991 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:40:43 +00:00
brade%netscape.com
b54ffdc41d
reduce string usage by using atom version of method; r/sr=dbaron, bug=213101
...
git-svn-id: svn://10.0.0.236/trunk@144966 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-19 08:34:31 +00:00
jkeiser%netscape.com
64ac997a95
Make NOSCRIPT show up normally when script disabled (bug 77296), r=bzbarsky@mit.edu, sr=dbaron@dbaron.org
...
git-svn-id: svn://10.0.0.236/trunk@144183 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-26 06:10:03 +00:00
alecf%flett.org
71e5d724e5
fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
...
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +00:00
caillon%returnzero.com
0a6d1ae509
Bug 209087
...
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
alecf%flett.org
1c89787dc0
fix for bug 206379:
...
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
git-svn-id: svn://10.0.0.236/trunk@143589 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 18:16:03 +00:00
heikki%netscape.com
ef316f5e01
Bug 186554 XMLSerializer does not serialize documentElement correctly. Extended document encoder API to make it possible to seriaalize a node. r=jfrancis, sr=bzbarsky.
...
git-svn-id: svn://10.0.0.236/trunk@141188 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 18:13:13 +00:00
dbaron%dbaron.org
30879d2c9e
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@135991 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:24:38 +00:00
peterv%netscape.com
3a3c75b9f7
Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@135128 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:24:49 +00:00
bratell%lysator.liu.se
d8c86a7ceb
Bug 165893 - use cached nsParserService pointer instead of looking up the service everywhere. r=jst, sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@134326 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 12:20:05 +00:00
jfrancis%netscape.com
fa9c16961e
fix for 167893: ordered list not pasted properly. r=cmanske, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@130101 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-20 02:27:19 +00:00
dougt%netscape.com
e289284076
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
jfrancis%netscape.com
2755c336bb
imprved fix for 78676: fixed evilness that caused 166056 crash. r=sfraser, sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@128738 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 21:55:03 +00:00
jfrancis%netscape.com
c6af66d4bb
backing out 78676 to unblock tree (bug 166056)
...
git-svn-id: svn://10.0.0.236/trunk@128726 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 20:36:26 +00:00
jfrancis%netscape.com
17f612fd87
fix for Bug 105761: pasting partial link loses linkiness
...
r=cmanske; sr=kin
git-svn-id: svn://10.0.0.236/trunk@128700 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 10:46:53 +00:00
jfrancis%netscape.com
c191b484aa
fix for Bug 78676: selection inside a single <li> shouldn't include bullet.
...
r=fm; sr=kin
git-svn-id: svn://10.0.0.236/trunk@128638 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-01 07:43:35 +00:00
shanjian%netscape.com
b01fc25353
#137657 html content serializer and nsISaveAsCharset does not handle surrogate correctly
...
handle surrogate pair
r=ftang, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@128144 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:23:14 +00:00
heikki%netscape.com
fbe40219c9
Bug 63558, we now store XML declaration in the document and can serialize it. There is fix for 158617 as well, newlines behave properly around doctype. r=bzbarsky, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@127185 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 18:41:16 +00:00
dbaron%fas.harvard.edu
7e821aaa94
Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
...
git-svn-id: svn://10.0.0.236/trunk@124073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:38:55 +00:00
caillon%returnzero.com
fd710e312e
Speed up and move the helper functions in nsRange to nsContentUtils and make compareTreePosition() faster.
...
Bug 144014 r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@124012 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 20:03:06 +00:00
jfrancis%netscape.com
c722c5651b
fix for bug 133735: copying anything inside a list pastes as an entire list. This is backing out part of fix for 62188. r=akkana; sr=kin; a=asa; adt=jaime
...
git-svn-id: svn://10.0.0.236/trunk@118387 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-06 18:59:28 +00:00
heikki%netscape.com
d18deb1faa
Bug 126669, we need to pass in aHasChildren parameter to the start tag serializing function because the node that is passed in may be a shallow copy, thereby making it impossible to determine if it originally had children, in the method itself. This fixes case where saving XHTML produces non-wellformed output. r=akkana,tmutreja, sr=jst, a=asa,ADT.
...
git-svn-id: svn://10.0.0.236/trunk@117951 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-02 21:12:51 +00:00
dbaron%fas.harvard.edu
c43a97f1d5
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117353 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 23:54:46 +00:00
jfrancis%netscape.com
7897ddf7d9
fix for 98622: <big>/<small> not copied if partially selected
...
r=glazman; sr=kin; a=asa
git-svn-id: svn://10.0.0.236/trunk@117108 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 23:31:26 +00:00
alecf%netscape.com
f4ad21ae3a
a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc
...
git-svn-id: svn://10.0.0.236/trunk@116842 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 06:46:56 +00:00
badami%netscape.com
9bb0081936
Support start number for lists in plain text output
...
bug 62188 r=bratell sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@116380 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 08:21:51 +00:00
heikki%netscape.com
e015e1f82d
Bug 98788, document.load() needs to do better reset on the document before starting to load new content. Also fixed a couple of bogus comments and unneeded document reset in document creation. r=mstoltz, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@113849 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 00:24:09 +00:00
bzbarsky%mit.edu
ad1fb22926
Change users of Length() to IsEmpty() where the code really cares about
...
the latter in content/. Bug 100649, r=jag, sr=jst
git-svn-id: svn://10.0.0.236/trunk@112623 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 02:03:19 +00:00
rjesup%wgate.com
15d98882e8
Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
...
assertions for bad voidarray indexes. r=jst, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:10:07 +00:00
jaggernaut%netscape.com
576ec93128
Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@110611 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 07:14:49 +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
9e8f600926
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@106460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 06:44:19 +00:00
heikki%netscape.com
c883dddafc
Bug 103250, attempting to fix topcrasher with a null check. Crash happens when you select text while page loading. r=harishd, sr=vidur.
...
git-svn-id: svn://10.0.0.236/trunk@104834 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 21:51:43 +00:00
peterv%netscape.com
b20e06b90f
Fix for bug 97687 ([serializer]cs/gecko: copying using keyboard shortcuts>paste>source pasted {Country=US}) r=heikki, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@104412 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 10:02:07 +00:00
gerv%gerv.net
ed9b258739
License changes, take 2. Bug 98089. mozilla/content/.
...
git-svn-id: svn://10.0.0.236/trunk@103682 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:32:19 +00:00