Commit Graph

886 Commits

Author SHA1 Message Date
masayuki@d-toybox.com
a20d56bd8d Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
bzbarsky@mit.edu
e51e8403e6 Make sure to process style updates before reflow, and both before painting. Bug 375436, r+sr=roc, a=dbaron 2007-08-21 19:57:06 -07:00
bzbarsky@mit.edu
bd826c03d9 Make NS_CheckContent(Load|Process)Policy only take a principal, not a principal and a uri. Get the URI from the principal. Bug 391438, r+sr+a=sicking 2007-08-09 22:35:08 -07:00
bzbarsky@mit.edu
16e6040261 Use the principal doing the load to decide on the URI to pass to content policies. This will help do the right thing for data:/javascript:/about:blank, as well as allow us to skip content policies altogether if the caller is system. Bug 388597, r+sr=sicking 2007-08-07 18:16:09 -07:00
ginn.chen@sun.com
d0ed3cca65 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
jonas@sicking.cc
23898aef7e Bug 389508: Cross site XMLHttpRequest. r=jst/biesi sr/dveditz/biesi 2007-07-26 19:49:18 -07:00
jonas@sicking.cc
5784b0a2f5 backout due to orange 2007-07-26 16:34:22 -07:00
jonas@sicking.cc
1d3132db39 Bug 389508: Implement Cross site XMLHttpRequest. r=jst sr=dveditz,biesi 2007-07-26 15:20:29 -07:00
asqueella@gmail.com
48d17203d7 Bug 342487 - XSLT should use CheckLoadURIWithPrincipal
p=Ryan Jones <sciguyryan@gmail.com>
r+sr=jonas
2007-07-17 14:15:49 -07:00
bzbarsky@mit.edu
4d53ccf996 Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
peterv@propagandism.org
f7ff5666a6 Fix for bug 386496 (Clicking on link in designMode document does follow that link now). r/sr=bz. 2007-07-11 06:05:05 -07:00
bzbarsky@mit.edu
7f47643f52 Don't start layout for XML just because the root has been opened. And don't
start layout until <html:head> closes if <html:head> gets opened.  For XHTML
documents, this should prevent flashes of unstyled content.

Also, don't flush tags unless forced to if a sheet is pending.

Bug 380028, r+sr=sicking
2007-07-10 20:42:11 -07:00
jwalden@mit.edu
6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
mats.palmgren@bredband.net
42a227c78a Cleanup implementations of QueryInterface. b=385750 r+sr=dbaron r+sr=jst 2007-07-03 19:15:31 -07:00
Olli.Pettay@helsinki.fi
1ed587d4b9 Bug 385315, Remove unused parameters from XML/XBL/RDFContentSink::FlushText, r+sr=peterv 2007-06-26 21:22:35 -07:00
sayrer@gmail.com
5939f50f17 bug 384507. nsContentSink.h contains static non-member functions and globals. r+sr=jst 2007-06-18 15:44:11 -07:00
jonas@sicking.cc
66651c69a1 Bug 379959: Add checks to loadBindingDocument. r/sr=jst 2007-06-12 14:56:06 -07:00
peterv@propagandism.org
0325f29bba Mochitest for bug 343870. 2007-06-11 06:17:44 -07:00
peterv@propagandism.org
ce767c86cc Fix for bug 383951 (nsXMLContentSink:: ReportError should ignore NS_ERROR_HTMLPARSER_INTERRUPTED). r/sr=bz. 2007-06-11 03:15:17 -07:00
peterv@propagandism.org
fc80057431 Fix for bug 343870 (Line breaks normalized twice). r/sr=bz. 2007-06-11 02:15:23 -07:00
bzbarsky@mit.edu
1a0dfc58b9 Add an API to observe all loads in a CSSLoader. Change XML prettyprinting tonot start layout till after the prettyprinter stylesheet is loaded, so we don'treflow and reconstruct the whole thing twice. Bug 380612, r+sr=sicking 2007-05-30 18:42:48 -07:00
jonas@sicking.cc
e8b9b78604 Bug 366417: Set up scriptloader in the nsDocument ctor to ensure that the blocker-count stays in sync with the notification depth. r/sr=bz 2007-05-30 13:43:41 -07:00
bzbarsky@mit.edu
a85f778bf5 SVG Load events shouldn't need a presshell to fire. Bug 380417, r=jwatt andsmaug, sr=tor 2007-05-23 13:05:53 -07:00
Olli.Pettay@helsinki.fi
b0100770e3 Bug 378776, Need safe way to iterate a document's presshells, r+sr=bz 2007-05-22 14:45:03 -07:00
mrbkap@gmail.com
f101b9d312 Update our child counts if notifying on our children caused more updates. bug 376761, r=bzbarsky sr=sicking 2007-05-17 16:54:35 -07:00
bzbarsky@mit.edu
687c24bfdb Fix bug introduced into collapsing of long PIs and comments. Bug 379683followup, r+sr=sicking. 2007-05-15 19:52:30 -07:00
bzbarsky@mit.edu
66cd05d7b8 Push the new content on the stack before calling BindToTree, since someBindToTree implementations apparently flush out the sink (!). Bug 372323,r+sr=sicking. 2007-05-15 19:21:55 -07:00
bzbarsky@mit.edu
19e507ab3e Make use of the wonders of inline-block to produce a much smaller DOM for XMLprettyprinting (fewer nodes, fewer frames, etc). Speeds up prettyprinting by afactor of 2 or so over here, with a 25% memory usage decrease. Bug 379683,r+sr=sicking 2007-05-13 20:00:14 -07:00
bzbarsky@mit.edu
086c2eb0c0 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me 2007-05-01 15:24:20 -07:00
bzbarsky@mit.edu
b93abe4bf4 Don't unblock onload on the document if we no longer have a parser. Bug375051, r=mbkap, sr=sicking 2007-04-26 21:05:08 -07:00
peterv@propagandism.org
f091506c2b Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking. 2007-04-25 09:35:27 -07:00
bzbarsky@mit.edu
bcfbc64387 Set the status bar before actually handling the DOM event. That way if theevent is canceled, we'll still show the right status bar text. Bug 40838,patch by Florian Quèze <f.qu@queze.net, r=smaug, sr=bzbarsky 2007-04-23 00:31:21 -07:00
bzbarsky@mit.edu
75d0ec2b2f Stop blocking the parser on CSS stylesheet loads. We still block scriptexecution on them, however. Bug 84582, r+sr=sicking 2007-04-20 15:59:18 -07:00
bzbarsky@mit.edu
3cbd119e85 Make sure to end our update before we decrement mSink->mInNotification. Bug373669, r+sr=sicking 2007-04-06 17:20:09 -07:00
Olli.Pettay@helsinki.fi
a1dca72a56 375196, r+sr=roc 2007-03-25 22:38:22 -07:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
peterv%propagandism.org
e5d3f5db52 Fix for bug 373035 (Make content/dom code get nsDOMClassInfo without going through nsIDOMScriptObjectFactory). r/sr=jst. 2007-03-19 09:19:16 +00:00
bzbarsky%mit.edu
098348b001 Relanding bug 267833. Let's see what Txul does now. Still r+sr=sicking 2007-03-09 23:43:50 +00:00
peterv%propagandism.org
12f2917956 Fix for bug 368773 (Add a bunch of DOM objects to cycle collection). r=sicking, sr=jst. 2007-03-08 11:17:16 +00:00
bzbarsky%mit.edu
372e1553c0 Back out bug 267833 to test performance effect. 2007-03-06 21:12:49 +00:00
bzbarsky%mit.edu
448ba1fa30 Fire XBL constructors asynchronously after binding attachment, unless we're in
the middle of an update.  In that case, fire them at the end of the update.
Bug 267833, r+sr=sicking, fingers-crossed=me
2007-03-06 19:36:36 +00:00
bzbarsky%mit.edu
4407b113f5 Add testcase for bug 232004 2007-03-02 07:39:53 +00:00
tor%cs.brown.edu
cc98317542 Bug 370210 - SVG onload attribute broken since incremental XML landing.
r=hsivonen, sr=sicking
2007-02-28 17:28:17 +00:00
jonas%sicking.cc
073b1fd3fe Bug 370332: Kill nsIBindingManager and nsIStyleRuleSupplier. r=dbaron for the layout/style parts, r/sr=jst for the rest. 2007-02-16 23:02:08 +00:00
jonas%sicking.cc
ccd6aa3575 Bug 370230: unbreak --enable-perf-metrics. Patch by me and Mats Palmgren. r/sr=jst 2007-02-13 21:18:25 +00:00
sharparrow1%yahoo.com
d19f64369b Bug 370185: clean up view header includes (trivial). rs=bzbarsky. 2007-02-12 19:17:33 +00:00
Olli.Pettay%helsinki.fi
d56070112f Bug 369753, remove nsIXMLContent, r+sr=bz 2007-02-09 00:15:14 +00:00
bzbarsky%mit.edu
e13ee4cb9b Make sure to process any pending exceptions the security manager has set if
we're not called from JS.  Bug 369157, r+sr=brendan.
2007-02-04 22:06:49 +00:00
bzbarsky%mit.edu
6587f6e68c Add test for bug 355213. 2007-02-03 01:37:48 +00:00
bzbarsky%mit.edu
0b8624e346 Hoist the ref-scrolling stuff up to nsContentSink. Bug 369015, r+sr=sicking 2007-02-03 00:48:29 +00:00