Commit Graph
157 Commits
Author SHA1 Message Date
[email protected] 9d1684be63 Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz. 2005-09-11 10:08:43 +00:00
[email protected] 72dfb1acdd get rid of XP_MAC macros from mozilla/content. no bug. r+sr=dbaron 2005-08-13 00:20:46 +00:00
[email protected] af5c8b9c83 Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa. 2005-06-16 13:10:58 +00:00
[email protected] af6a630c10 Bug 278702 Init method of nsIDocumentEncoder does not reset member variables
[email protected] r=dean_tessman sr=jst
2005-01-20 23:20:59 +00:00
[email protected] 68ec627871 This wasn't supposed to land... 2004-12-02 02:17:54 +00:00
[email protected] 10ac134c64 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
2004-12-01 22:43:56 +00:00
[email protected] 06a9136297 Bug 254278 remove some *WithConversion in layout/content
r+sr=bz
2004-08-04 17:33:30 +00:00
[email protected] d9edea9d71 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
[email protected] 6b0210f601 Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
[email protected] 3ab9c6162d Fixing bug 242734. deCOMtaminate nsITextContent. [email protected] 2004-05-07 20:55:17 +00:00
[email protected] cf0b0c064a Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
[email protected] 33f7ab6e0c landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
[email protected] 1c0eb4831a Fixing bug 170416. Make sure strings are null-terminated before passing them to nsIOutputStream::Write(). [email protected] 2004-02-27 00:28:29 +00:00
[email protected] 614dfcba12 Make the plaintext serializer properly handle CDATA nodes. Bug 234427, patch
by Sebastian Redl <[email protected]>, r=akkana, sr=bzbarsky
2004-02-20 00:10:36 +00:00
[email protected] d47517f6dc 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(). [email protected], [email protected]. 2003-11-19 01:20:56 +00:00
[email protected] e1bd07aeeb Bug 222667: Add newlines between root-nodes in serializer rather then encoder.
r=peterv sr=jst
2003-10-23 22:24:21 +00:00
[email protected] c5e5977eef 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
2003-10-15 20:10:47 +00:00
[email protected] c11c6bf27e Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. [email protected], [email protected]. 2003-09-27 04:18:26 +00:00
[email protected] d50c24024f DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst 2003-07-28 21:09:56 +00:00
[email protected] a69df1d82d Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:40:43 +00:00
[email protected] 9247ffc1ac reduce string usage by using atom version of method; r/sr=dbaron, bug=213101 2003-07-19 08:34:31 +00:00
[email protected] ee2a67dca3 Make NOSCRIPT show up normally when script disabled (bug 77296), [email protected], [email protected] 2003-06-26 06:10:03 +00:00
[email protected] aa24a7bb8e 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 [email protected]
2003-06-17 16:40:34 +00:00
[email protected] c8a200d763 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
[email protected]
2003-06-13 20:10:01 +00:00
[email protected] d870ddc132 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
2003-06-11 18:16:03 +00:00
[email protected] 6a4bb1d6db Bug 186554 XMLSerializer does not serialize documentElement correctly. Extended document encoder API to make it possible to seriaalize a node. r=jfrancis, sr=bzbarsky. 2003-04-15 18:13:13 +00:00
[email protected] 47922f2a26 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag 2003-01-08 19:24:38 +00:00
[email protected] a286b2a9ae Fix for bug 183999 (Modernize content). r=caillon, sr=bz. 2002-12-11 14:24:49 +00:00
[email protected] b71cc47d5a Bug 165893 - use cached nsParserService pointer instead of looking up the service everywhere. r=jst, sr=bzbarsky 2002-11-22 12:20:05 +00:00
[email protected] 1b9e4049a5 fix for 167893: ordered list not pasted properly. r=cmanske, sr=kin 2002-09-20 02:27:19 +00:00
[email protected] 46ce738546 166917. Clean up xpcom SDK includes. [email protected], [email protected], [email protected] 2002-09-07 17:13:19 +00:00
[email protected] 29e035dc69 imprved fix for 78676: fixed evilness that caused 166056 crash. r=sfraser, sr=kin 2002-09-03 21:55:03 +00:00
[email protected] f009fb6bd0 backing out 78676 to unblock tree (bug 166056) 2002-09-03 20:36:26 +00:00
[email protected] 6fcedd1945 fix for Bug 105761: pasting partial link loses linkiness r=cmanske; sr=kin 2002-09-03 10:46:53 +00:00
[email protected] b2026fc9d3 fix for Bug 78676: selection inside a single <li> shouldn't include bullet. r=fm; sr=kin 2002-09-01 07:43:35 +00:00
[email protected] b2abba4495 #137657 html content serializer and nsISaveAsCharset does not handle surrogate correctly
handle surrogate pair
r=ftang, sr=blizzard
2002-08-26 20:23:14 +00:00
[email protected] 20254caaf7 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. 2002-08-13 18:41:16 +00:00
[email protected] cedf05843b 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 2002-06-26 03:38:55 +00:00
[email protected] 8c9294b167 Speed up and move the helper functions in nsRange to nsContentUtils and make compareTreePosition() faster.
Bug 144014 r=bzbarsky sr=jst
2002-06-25 20:03:06 +00:00
[email protected] b1ab207c0e 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 2002-04-06 18:59:28 +00:00
[email protected] 7a7d73ce4d 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. 2002-04-02 21:12:51 +00:00
[email protected] dd791070de Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 23:54:46 +00:00
[email protected] 5ef62cc790 fix for 98622: <big>/<small> not copied if partially selected
r=glazman; sr=kin; a=asa
2002-03-21 23:31:26 +00:00
[email protected] 8d696d0600 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 2002-03-19 06:46:56 +00:00
[email protected] 83edd2b46a Support start number for lists in plain text output
bug 62188 r=bratell sr=jst a=asa
2002-03-12 08:21:51 +00:00
[email protected] 0243e1dc20 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. 2002-02-07 00:24:09 +00:00
[email protected] 13c031b53f Change users of Length() to IsEmpty() where the code really cares about
the latter in content/.  Bug 100649, r=jag, sr=jst
2002-01-24 02:03:19 +00:00
[email protected] 33e3e06f9e Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
[email protected] a1c9cb1d53 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst 2001-12-17 07:14:49 +00:00
[email protected] 0467433db5 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00