Commit Graph
162 Commits
Author SHA1 Message Date
Randell Jesup 3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari 243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor 6b3ee254ff Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor 8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
David Zbarsky 9050aef271 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Aryeh Gregor 03044d1f28 Bug 599983 part 2 - Don't emit or process _moz_dirty more than necessary; r=ehsan,bz 2012-04-24 09:06:11 +03:00
Henri Sivonen 3708cc55e5 Bug 731896 - Export plain text from the DOM selection directly without an intermediate HTML serialization. r=smaug. 2012-03-31 17:10:34 +03:00
Ehsan Akhgari 478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu 0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Ms2ger 2cecbb3535 Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar 2011-08-11 15:29:58 +02:00
Henri Sivonen 2fa0fb46af Bug 596182 - Make fragment parsers global. Remove resulting dead code. r=Olli.Pettay, r=bzbarsky. 2011-08-01 10:48:24 +03:00
Henri Sivonen b04626cfbe Bug 650001 - Make the HTML serializer pay attention to namespaces. r=bzbarsky. 2011-05-09 09:48:46 +03:00
Ms2ger 02b67af84b Bug 601590 - Make AppendElementStart, AppendElementEnd take Element. r=bzbarsky 2010-10-22 23:25:22 +02:00
Benjamin Smedberg 5df6295f23 Bug 617539 - Remove branch interfaces, nsIHTMLEditor_MOZILLA_2_0_BRANCH, straight backout of revision e9d979b4b4a0, r=ehsan 2011-03-25 11:03:33 -04:00
Ehsan Akhgari 0574f89c64 Bug 551704 - Part 5: Move breakIsVisible to nsIHTMLEditor_MOZILLA_2_0_BRANCH to make sure that nsIHTMLEditor does not change for Gecko 2.0; r=bzbarsky a=blocking-betaN+
This patch should be backed out on trunk when Gecko 2.0 has been branched.
2010-11-09 21:00:26 -05:00
Ehsan Akhgari 3723ad8a60 Bug 551704 - Part 3: Don't copy invisible BR nodes to the clipboard for editable elements, to make us more compatible with WebKit and Opera; r=bzbarsky a=blocking-betaN+ 2010-11-06 18:49:26 -04:00
Olli Pettay c4d052bc09 Bug 599982 - Optimize nsHTMLContentSerializer::AppendAndTranslateEntities, r=sicking, a=sicking 2010-10-17 17:15:54 +03:00
Olli Pettay a8a6295864 Bug 575374 - Optimize ::GetInnerHTML (part 2), r=jst 2010-07-19 13:35:02 +03:00
Olli Pettay 9542d14529 Bug 563711 - Optimize nsHTMLContentSerializer::AppendAndTranslateEntities, [email protected]+smaug, r=sicking 2010-05-14 13:18:27 +03:00
Olli Pettay f8891e7937 Bug 562321 - De-nsIDOM* nsIContentSerializer methods, r=sicking 2010-05-04 16:19:54 +03:00
Olli Pettay 09cfa1b335 backout Bug 562321 2010-05-04 12:46:37 +03:00
Olli Pettay 9615b7051a De-nsIDOM* nsIContentSerializer methods, r=sicking 2010-05-04 11:39:47 +03:00
Laurent Jouanneau 059796c310 Bug 545644 - Regression: HTML 'nbsp' entity is not handled correctly in xHTML mode. r=Olli sr=Jonas 2010-03-18 17:07:32 +01:00
Jonas Sicking 6b5d698011 Bug 534136 Part 3: Optimize atom-using code for the fact that atoms store 16bit strings. Also take advantage of new nsAtomString API. r=bz 2010-03-08 07:45:00 -08:00
Jonas Sicking 6859a5ac8e Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Henri Sivonen e808207344 Bug 520581 - HTML5 parser reverses attributes on some elements. r=bzbarsky. 2009-12-23 10:32:39 +02:00
Henri Sivonen 83c57e7db7 Bug 500937 - Make the output of XMLSerializer more HTML-friendly. r=laurent, sr=jst. 2009-09-28 10:59:52 +03:00
Laurent Jouanneau 6c28946331 bug 513647: fixed a compil warning on nsHTMLContentSerializer::SerializeAttributes. r=Olli.Pettay, sr=bzbarsky 2009-09-01 16:31:05 +02:00
David Zbarsky 7ab92a587e Bug 487023. Refactor IsCaseSensitive() into non-virtual inline IsHTML(). r=hsivonen, sr=jst 2009-08-25 13:15:55 -04:00
Henri Sivonen 3cb3b0a9bc Bug 501015 - Address code style comments from timeless. r+sr=mrbkap 2009-07-15 14:30:33 +03:00
Henri Sivonen 2f19c38b3b Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-29 00:44:22 +02:00
Johnny Stenback 64cf7ea628 Backed out changeset 168dd0eb7283 2009-06-28 11:47:11 -07:00
Henri Sivonen 508b65c98e Bug 497865 - Make serializer not reverse attributes when HTML5 parser used (patch by Mats Palmgren) 2009-06-22 12:16:37 +03:00
Laurent Jouanneau 5e19a56585 Bug 494103 - nsXMLContentSerializer UMR during update.mar tests; r+sr=peterv 2009-06-13 15:27:35 +02:00
db0e4875f7 Bug 422403 - improvements to the XML and XHTML serializers, r=smaug, sr=sicking 2009-04-25 12:00:14 +03:00
Arpad Borsos fdd8468cd9 Bug 481881 - use better template arguments for nsTArray<T> after bug 474369, content part; r+sr=sicking 2009-03-26 09:29:49 +01:00
Arpad Borsos 217d822aab Bug 474369 - get rid of nsVoidArray, content part; r=jwatt, sr=sicking 2009-03-20 09:15:35 +01:00
Daniel Holbert 95c7c3ce55 Bug 458167 - Fix bad usage of "it's" in comments: patch for content folder. r+sr=jst 2009-01-23 01:02:09 -08:00
Laurent Jouanneau cb5a277b4b Bug 424359. Fix OutputBodyOnly to not output a stray </html> and fix newline stuff for doctypes, comments, and the entire XML serializer. Now with even better passing tests. Third time is the charm! r=smaug, sr=bzbarsky 2008-10-21 16:30:09 -04:00
Brad Lassey eaceccb723 Backed out changeset 9fde2bdd93ef 2008-10-16 14:09:08 -04:00
Laurent Jouanneau bcad6f8b11 Bug 424359. Fix OutputBodyOnly to not output a stray </html> and fix newline stuff for doctypes, comments, and the entire XML serializer. Now with passing tests. r=smaug, sr=bzbarsky 2008-10-16 11:16:52 -04:00
Boris Zbarsky 5a209e675f Backing out changeset 43d8e57c41e9 2008-10-13 14:21:31 -04:00
Laurent Jouanneau 0a04cd996b Bug 424359. Fix OutputBodyOnly to not output a stray </html> and fix newline stuff for doctypes, comments, and the entire XML serializer 2008-10-13 12:49:14 -04:00
83eb850c55 Bug 431233: Remove printf that shouldn't have been left in. r+sr=jst a1.9=beltzner 2008-05-01 14:33:11 -07:00
eecfa4bfb3 Landing fix for bug 380668. Fix problems with newlines around meta elements when serializing. Patch by [email protected], [email protected] 2007-12-28 16:23:58 -08:00
98325f4fdc Fix leak by making currNode an nsCOMPtr (bug 407818). r+sr=dbaron, a=schrep. 2007-12-11 17:37:51 -08:00
c21b08f9b3 Don't play games with the <meta> tag when not serializing an entire document. Bug 390735, patch by Ryan Jones <[email protected]>, r+sr=bzbarsky, a=jst 2007-08-10 17:38:53 -07:00
d2f0aae457 Don't be confused by misleading tag names. bug 386794, r+sr=sicking 2007-07-04 00:45:04 -07:00
10fc619c61 Bug 380668 - Extra newlines added after a meta element that already has them before and after. Patch by Ryan Jones <[email protected]>. r+sr=bzbarsky. 2007-06-17 04:41:03 -07:00