Commit graph

160 commits

Author SHA1 Message Date
Aryeh Gregor
c81630fddb Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
David Zbarsky
d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Aryeh Gregor
143bcd05b7 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
dc86834ec3 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
92064e6d3f 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
d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ms2ger
3fea5b3901 Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar 2011-08-11 15:29:58 +02:00
Henri Sivonen
21d32e82f3 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
239a65c6f7 Bug 650001 - Make the HTML serializer pay attention to namespaces. r=bzbarsky. 2011-05-09 09:48:46 +03:00
Ms2ger
49e15a42f4 Bug 601590 - Make AppendElementStart, AppendElementEnd take Element. r=bzbarsky 2010-10-22 23:25:22 +02:00
Benjamin Smedberg
6d442e547b 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
291032cb14 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
45318ab728 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
c140da2e12 Bug 599982 - Optimize nsHTMLContentSerializer::AppendAndTranslateEntities, r=sicking, a=sicking 2010-10-17 17:15:54 +03:00
Olli Pettay
d7b69df7fe Bug 575374 - Optimize ::GetInnerHTML (part 2), r=jst
--HG--
extra : rebase_source : 6e1574ed157561540b74d9f19b61f6292a42367e
2010-07-19 13:35:02 +03:00
Olli Pettay
d4851a986d Bug 563711 - Optimize nsHTMLContentSerializer::AppendAndTranslateEntities, p=laurent@xulfr.org+smaug, r=sicking
--HG--
extra : rebase_source : 592c5262c031e6d52fa753e8ae1f659bb4985a3c
2010-05-14 13:18:27 +03:00
Olli Pettay
114e4d4772 Bug 562321 - De-nsIDOM* nsIContentSerializer methods, r=sicking 2010-05-04 16:19:54 +03:00
Olli Pettay
ac454a233f backout Bug 562321 2010-05-04 12:46:37 +03:00
Olli Pettay
5f229468c1 De-nsIDOM* nsIContentSerializer methods, r=sicking 2010-05-04 11:39:47 +03:00
Laurent Jouanneau
77a81eb337 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
0e6d5d8188 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
c7c7514f75 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Henri Sivonen
1c5a4d21e9 Bug 520581 - HTML5 parser reverses attributes on some elements. r=bzbarsky.
--HG--
extra : rebase_source : 2018b107ac2e508a20e245d49d396e7c1ea7230d
2009-12-23 10:32:39 +02:00
Henri Sivonen
a83be4db5b Bug 500937 - Make the output of XMLSerializer more HTML-friendly. r=laurent, sr=jst. 2009-09-28 10:59:52 +03:00
Laurent Jouanneau
32d07c5cca bug 513647: fixed a compil warning on nsHTMLContentSerializer::SerializeAttributes. r=Olli.Pettay, sr=bzbarsky 2009-09-01 16:31:05 +02:00
David Zbarsky
d02ac4482c Bug 487023. Refactor IsCaseSensitive() into non-virtual inline IsHTML(). r=hsivonen, sr=jst 2009-08-25 13:15:55 -04:00
Henri Sivonen
00382e3718 Bug 501015 - Address code style comments from timeless. r+sr=mrbkap 2009-07-15 14:30:33 +03:00
Henri Sivonen
8803c27a7f Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-29 00:44:22 +02:00
Johnny Stenback
87138ce673 Backed out changeset 168dd0eb7283 2009-06-28 11:47:11 -07:00
Henri Sivonen
21e6dfb226 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
5cd51dca4d Bug 494103 - nsXMLContentSerializer UMR during update.mar tests; r+sr=peterv 2009-06-13 15:27:35 +02:00
laurent@xulfr.org
517fa34903 Bug 422403 - improvements to the XML and XHTML serializers, r=smaug, sr=sicking
--HG--
extra : rebase_source : ead8a81eb95c4aec6122850ca58c20399f94758b
2009-04-25 12:00:14 +03:00
Arpad Borsos
6e2bb93fad 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
d10c4f864e Bug 474369 - get rid of nsVoidArray, content part; r=jwatt, sr=sicking 2009-03-20 09:15:35 +01:00
Daniel Holbert
3dc6c6a6d7 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
47057f685a 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
e4bae015bb Backed out changeset 9fde2bdd93ef 2008-10-16 14:09:08 -04:00
Laurent Jouanneau
9f3ec1013a 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
5dcfaadf33 Backing out changeset 43d8e57c41e9 2008-10-13 14:21:31 -04:00
Laurent Jouanneau
88b266ffc2 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
stuart.morgan@alumni.case.edu
992d7014b9 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
jst@mozilla.org
97176ab9ad Landing fix for bug 380668. Fix problems with newlines around meta elements when serializing. Patch by jonas@sicking.cc, r+sr=jst@mozilla.org 2007-12-28 16:23:58 -08:00
jruderman@hmc.edu
5da8357591 Fix leak by making currNode an nsCOMPtr (bug 407818). r+sr=dbaron, a=schrep. 2007-12-11 17:37:51 -08:00
bzbarsky@mit.edu
4560e08469 Don't play games with the <meta> tag when not serializing an entire document. Bug 390735, patch by Ryan Jones <sciguyryan@gmail.com>, r+sr=bzbarsky, a=jst 2007-08-10 17:38:53 -07:00
mrbkap@gmail.com
ab34751bae Don't be confused by misleading tag names. bug 386794, r+sr=sicking 2007-07-04 00:45:04 -07:00
kherron@fmailbox.com
f8ceaa8535 Bug 380668 - Extra newlines added after a meta element that already has them before and after. Patch by Ryan Jones <sciguyryan@gmail.com>. r+sr=bzbarsky. 2007-06-17 04:41:03 -07:00
bzbarsky@mit.edu
4e891807f5 Remove duplicated "is this an event attr?" code. Bug 383714, patch by RyanJones <sciguyryan@gmail.com>, r+sr=bzbarsky 2007-06-10 12:27:57 -07:00
asqueella@gmail.com
cb574d2844 Bug 331991 - Save as "Web Page, Complete" for HTML should include meta charset or encode all non-ASCII characters as entitiesp=Ryan Jones <sciguyryan@gmail.com>r=glazou, sr=peterv 2007-05-13 09:44:06 -07:00