1577 Commits

Author SHA1 Message Date
jonas%sicking.cc
dc89ea1f2d Bug 18333: Make the XML content sink incremental. Patch by Henri Sivonen<hsivonen@iki.fi>. r=peterv sr=sicking
git-svn-id: svn://10.0.0.236/trunk@219201 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 21:21:06 +00:00
cvshook%sicking.cc
ccd1d6884d Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
sayrer%gmail.com
10f7224bb4 Bug 368531. add content/html/document/test to the automatic run. r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@219129 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-29 17:56:19 +00:00
bzbarsky%mit.edu
52ceba246f Adding test for bug 172261 and bug 301510
git-svn-id: svn://10.0.0.236/trunk@218957 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 04:41:46 +00:00
bzbarsky%mit.edu
c1c504e712 When going back or forward to wyciwyg pages, make sure to correctly restore
their principal from session history.  Bug 172261 and bug 301510, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@218955 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 04:37:16 +00:00
sayrer%gmail.com
c35a6ec1ea Bug 366993. HTML doctype should always be capitalized. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@218776 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 01:16:27 +00:00
bzbarsky%mit.edu
c663dd69d7 Don't inherit the charset from the parent document if it comes from a different
origin.  Bug 356280, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@218267 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-13 03:28:00 +00:00
graydon%mozilla.com
84186f595b Bug 366063: better fix to critical crasher, replacing band-aid submitted in 333078.
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@218043 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 01:33:02 +00:00
graydon%mozilla.com
dea01bf08e Bug 333078, Temporary band-aid for nsImageDocument cycle collection crashers.
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217906 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-06 22:09:38 +00:00
mrbkap%gmail.com
e81b436e63 Only do this security check if we don't already have a parser, since this call
won't do anything anyway. bug 364309, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@217852 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 22:02:22 +00:00
timeless%mozdev.org
c778d21502 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org
3c6623d408 Don't forget to assign to rv. b=340554 r=sayrer
git-svn-id: svn://10.0.0.236/trunk@217367 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 17:28:48 +00:00
dbaron%dbaron.org
9332796f42 Eliminate nsStyleBorderPadding and add margin/padding/content rect APIs to nsIFrame. b=332922 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@217223 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 01:23:45 +00:00
cst%yecc.com
4dc1cb5575 Bug 301477 image zoom cursor does not change after resizing browser window
r=bz sr=jst


git-svn-id: svn://10.0.0.236/trunk@216971 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-14 02:06:49 +00:00
bzbarsky%mit.edu
6dda4a3840 Allow subframes that come from a different domain to document.write/open
themselves.  Bug 362837, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@216498 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 19:36:40 +00:00
bzbarsky%mit.edu
25c459209d Move GetCompatibilityMode() to nsIDocument. Bug 362797, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@216479 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 15:46:18 +00:00
bzbarsky%mit.edu
9cac9633d9 Fix bug 277724 -- make <select>, <textarea>, <button> restore disabled state. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@215950 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-28 03:17:03 +00:00
bzbarsky%mit.edu
8de5291c41 This wasn't supposed to land
git-svn-id: svn://10.0.0.236/trunk@215692 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:52:32 +00:00
peterv%propagandism.org
104eb64087 Fix for bug 47903 (WRONG_DOCUMENT_ERR not being thrown). r=sicking, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@215687 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:35:05 +00:00
bzbarsky%mit.edu
43d470b66b Make the redirect check get principals the same way we get them elsewhere.
Clean up some code to use the new security manager method.  Bug 354693,
r=dveditz, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@215685 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 18:27:54 +00:00
cvshook%sicking.cc
2b2f4b6167 Don't return nsDerivedSafe when .get() is explicitly used on nsCOMPtr and nsRefPtr. r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@215584 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-21 21:28:14 +00:00
bzbarsky%mit.edu
3f520eaa49 Make it possible for protocol handlers to configure how CheckLoadURI should
treat them via their protocol flags.  Remove the protocol list we used before.
Bug 120373, r=dveditz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@215130 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 23:49:08 +00:00
cvshook%sicking.cc
e1f3f66c5b Bug 359657: Fix crash due to wrong signature in overload. Patch by bz. r/sr=sicking
git-svn-id: svn://10.0.0.236/trunk@214838 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-07 01:05:15 +00:00
cvshook%sicking.cc
7d41db9309 Bug 359490: Put BeginUpdate call before FlushText call in FlushTags. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@214834 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-06 23:50:33 +00:00
cvshook%sicking.cc
0b9688294e Bug 343730: Don't execute scripts synchronously from BindToTree. Instead we wait until the last EndUpdate has been called. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@214702 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-04 05:45:02 +00:00
cvshook%sicking.cc
e48041a41d Bug 330872: Make nsGenericDOMDataNode::AppendData send out proper notifications and add nsIContent::AppendText to allow appending text without sending out notifications. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@214281 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-28 01:22:53 +00:00
cst%yecc.com
fa7000c4ab Bug 351969 nsImageDocument image scaling should never scale a dimension to 0px
r=biesi sr=jst


git-svn-id: svn://10.0.0.236/trunk@214146 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-26 01:49:38 +00:00
cvshook%sicking.cc
5c401232e7 Fix assertion from bug 355451 rs=jst
git-svn-id: svn://10.0.0.236/trunk@213725 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-16 21:43:08 +00:00
ted.mielczarek%gmail.com
51fffcb118 bug 296237, remove assert in getElementById, use the console service to provide feedback. patch by asqueella@gmail.com, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@213642 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-14 19:14:24 +00:00
cvshook%sicking.cc
411a4ba687 Bug 355451: Be more efficient when creating HTML elements. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@213625 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-13 22:54:12 +00:00
bzbarsky%mit.edu
b3b4b573a0 Remove nsIHTMLDocument::WasDomainSet. Use the principal instead, Luke! Bug
355948, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@213385 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-10 01:07:45 +00:00
cvshook%sicking.cc
c88ca333bc Bug 355433: Add an array of cached nodeinfos to the html content sinks. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@213124 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-04 22:02:17 +00:00
peterv%propagandism.org
4095896649 Fix for bug 351823 (Consider copying more properties when changing ownerDocument). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@211854 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-16 17:15:38 +00:00
bzbarsky%mit.edu
98edc48be7 Remove unneeded notification on node creation. Bug 351910, r+sr=sicking
git-svn-id: svn://10.0.0.236/trunk@209835 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-12 04:48:12 +00:00
pkasting%google.com
6069428d8f Bug 348981: Crash toggling designMode.
This reverts the patch from bug 347200 and instead fixes that problem a
different way to avoid exposing crashes.
r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@207804 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-18 02:38:40 +00:00
bzbarsky%mit.edu
36b317d733 Implement the :default CSS3 pseudo-class. Bug 302186, patch by Allan Beaufour
<allan@beaufour.dk> and jpl24 <jlurz24@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@207539 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-16 03:20:19 +00:00
bzbarsky%mit.edu
0583386559 Remove special-casing of about:blank for security purposes; give about:blank
pages the principal of whoever is responsible for loading them, when possible.
Bug 332182, r=mrbkap, sr=jst


git-svn-id: svn://10.0.0.236/trunk@207471 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 17:31:16 +00:00
timeless%mozdev.org
c16dc8b542 Bug 330331 Building with option --disable-xul failed
patch by romaxa@gmail.com r=timeless r=biesi sr=bz
Removing last traces of RDF dependency from HTMLDocument (bug 101995)

Only build toolkit download ifdef MOZ_RDF
Only build windowdatesource and the charset menu ifdef MOZ_RDF

Enable nsExternalHelperAppService to build w/o RDF.
Enable nsDirectoryViewer to build, this is enables geckos to work around bug 347782
Don't build nsHTTPIndex at all.


git-svn-id: svn://10.0.0.236/trunk@207383 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-14 22:36:15 +00:00
sayrer%gmail.com
95b0f24a09 Bug 340554. Provide sanitizing fragment sinks for use with feeds. r=mrbkap. sr=jst
git-svn-id: svn://10.0.0.236/trunk@207207 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-12 04:46:43 +00:00
pkasting%google.com
b7991a9493 Bug 347200: Designmode documents aren't spellchecked by default.
r=brettw
sr=bryner


git-svn-id: svn://10.0.0.236/trunk@206794 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 00:32:43 +00:00
mrbkap%gmail.com
3b3e656905 Protect document.open and document.close against some potential problems. bug 343168, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@206341 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-01 21:48:03 +00:00
pkasting%google.com
0f0eee34d2 Bug 339127: Add "spellcheck" attribute to control spellchecking.
r=brettw
sr=sicking


git-svn-id: svn://10.0.0.236/trunk@205107 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-29 00:04:40 +00:00
cvshook%sicking.cc
365266c686 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@203078 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 04:36:36 +00:00
bzbarsky%mit.edu
0d9cbd7ca3 Go back to creating an inconsistent DOM and add a null-check elsewhere, because
the little mind of the focus code is blown by having no documentElement,
apparently.  Bug 341730, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@202270 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 00:18:19 +00:00
cvshook%sicking.cc
aba7c6ff77 Bug 342062: Add nsIMutationObserver which has the ability to get notifications for just mutations happening in a subtree under a given node. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@201460 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-02 07:23:10 +00:00
mats.palmgren%bredband.net
c9f10be5a1 Don't create ALT attribute for standalone image that was found in the cache. b=177747 r=bzbarsky sr=neil
git-svn-id: svn://10.0.0.236/trunk@201189 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-29 02:42:27 +00:00
enndeakin%sympatico.ca
ed636c9217 Bug 333038, support inline spellchecking for designmode, r=brettw, sr=bz
CVS: ----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@201064 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-28 03:39:41 +00:00
mrbkap%gmail.com
42ab54090e Clear mWyciwygChannel even if the loadgroup tells us there was an error since the call succeeds anyway. bug 342191, r=jst sr=darin
git-svn-id: svn://10.0.0.236/trunk@200868 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 16:50:09 +00:00
mrbkap%gmail.com
17e58c9b0c Close shouldn't send any real text for the parser to parse, since there might
be elements open that make the text appear in the final content model. bug 342223, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@200484 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-21 00:39:24 +00:00
mrbkap%gmail.com
abc730764f Prevent assertions when a document that has had document.open called is closed
suddenly (without an intervening document.close call). bug 332896, r=bzbarsky, sr=sicking


git-svn-id: svn://10.0.0.236/trunk@200375 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 23:51:32 +00:00