1087 Commits

Author SHA1 Message Date
jwalden%mit.edu
970dfaf24a Bug 199692 - Add support for document.elementFromPoint(x, y). Patch by Ben Karel <web+moz@eschew.org>, r+sr=roc, a=jst
git-svn-id: svn://10.0.0.236/trunk@233340 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-29 20:38:46 +00:00
bent.mozilla%gmail.com
f2ae8240e8 Bug 394042 - "Dangling pointer in nsXULPDGlobalObject leads to mem corruption/crash". r+sr+a=jst.
git-svn-id: svn://10.0.0.236/trunk@233252 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-28 23:20:57 +00:00
masayuki%d-toybox.com
4a791f4b57 Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@232841 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 11:13:55 +00:00
dbaron%dbaron.org
8c961874af Fix leak when two documents race to load the same script (but leave for later fixing that we load the same script twice). b=392542 r=enndeakin sr=bzbarsky a=roc
git-svn-id: svn://10.0.0.236/trunk@232460 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-21 16:47:48 +00:00
neil%parkwaycc.co.uk
fb37368b54 Don't stomp on observers when we're not expecting it b=391614 r+sr=bz a=dbaron
git-svn-id: svn://10.0.0.236/trunk@232241 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-16 23:07:39 +00:00
neil%parkwaycc.co.uk
10a8900e4c Backout of unapproved patch to bug 391614
git-svn-id: svn://10.0.0.236/trunk@232112 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-15 13:45:24 +00:00
neil%parkwaycc.co.uk
b4cc2c257f Don't let observers observe the observes (or command) attribute b=391614 r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@231890 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-11 11:42:16 +00:00
jst%mozilla.org
4abaf2e122 Fixing bug 389911. Removing nsIScriptGlobalObject::Get/SetGlobalObjectOwner() as it's not needed any more. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@231758 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-09 22:30:30 +00:00
bzbarsky%mit.edu
3811c88532 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


git-svn-id: svn://10.0.0.236/trunk@231622 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-08 01:16:12 +00:00
ginn.chen%sun.com
7103fbf947 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest
r=benjamin a=dsicore


git-svn-id: svn://10.0.0.236/trunk@231518 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-06 03:22:43 +00:00
Olli.Pettay%helsinki.fi
bd9a96d5b9 Backing out bug 275196, xml:id, to fix tp regression
git-svn-id: svn://10.0.0.236/trunk@231054 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 14:16:21 +00:00
Olli.Pettay%helsinki.fi
76bd637ef6 Bug 275196, xml:id, r=sicking, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@231049 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 12:22:17 +00:00
bzbarsky%mit.edu
b5b433a6b7 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.


git-svn-id: svn://10.0.0.236/trunk@229833 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 20:05:49 +00:00
bzbarsky%mit.edu
6522f5db39 Pass through loader principal and URI to LoadSheet(). Bug 387317, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@229735 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 19:44:27 +00:00
jwalden%mit.edu
dda6ff3c99 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.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
Olli.Pettay%helsinki.fi
8eebb046a9 Bug 386914, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@229415 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-06 08:01:44 +00:00
enndeakin%sympatico.ca
66f6fed78b Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, attempt 2 with creating widgets later, r=bz,neil,roc,sr=bz
git-svn-id: svn://10.0.0.236/trunk@229322 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 15:49:46 +00:00
enndeakin%sympatico.ca
31eeecce7d Bug 279703, backing out the popup changes due to performance regressions. sigh.
git-svn-id: svn://10.0.0.236/trunk@229020 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-29 22:16:06 +00:00
enndeakin%sympatico.ca
bc283952f4 Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, r=bz,neil,sr=bz
git-svn-id: svn://10.0.0.236/trunk@229013 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-29 19:04:52 +00:00
gavin%gavinsharp.com
712995ad48 Bug 381031: make JS1.8 the default for <xul:script>, and add a JSVERSION_LATEST #define to simplify future changes, patch by Nickolay Ponomarev <asqueella@gmail.com>, r+sr=brendan
git-svn-id: svn://10.0.0.236/trunk@227676 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-07 22:50:13 +00:00
peterv%propagandism.org
cae5ba4341 Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@226949 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-24 14:10:04 +00:00
sharparrow1%yahoo.com
b64088b1a1 Bug 365189 document.width/document.height flush layout too late. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@226847 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 03:52:53 +00:00
Olli.Pettay%helsinki.fi
8b4c3d38dd Bug 378776, Need safe way to iterate a document's presshells, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@226813 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-22 21:45:07 +00:00
Olli.Pettay%helsinki.fi
7a1f7182a1 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226373 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 09:13:09 +00:00
bzbarsky%mit.edu
fa937acf1d Process XBL constructors right after the frame construction in
InitialReflow().  Bug 377119, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@226371 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 03:52:49 +00:00
Olli.Pettay%helsinki.fi
74bedad7b0 backout Bug 363089
git-svn-id: svn://10.0.0.236/trunk@226300 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi
174896a945 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@226293 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 11:15:20 +00:00
bzbarsky%mit.edu
d2d337437c Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
GetShellAt(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


git-svn-id: svn://10.0.0.236/trunk@225416 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 22:24:25 +00:00
asqueella%gmail.com
eb79b493fe 378327 - minor cleanup/simplification of ForwardReferences code in nsXULDocument
- move AddForwardReference and ResolveForwardReferences from nsIXULDocument to
nsXULDocument, make them non-virtual.
- make mForwardReferences an nsTArray<nsAutoPtr<nsForwardReference> > instead
of nsAutoVoidArray.

r=smaug, sr=roc


git-svn-id: svn://10.0.0.236/trunk@225148 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 14:15:25 +00:00
peterv%propagandism.org
4d197ac7f6 Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking.
git-svn-id: svn://10.0.0.236/trunk@225011 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 16:35:31 +00:00
benjamin%smedbergs.us
7262cdad6d Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +00:00
bzbarsky%mit.edu
dca6202cd6 Followup to bug 84582 to restore the old error-handling behavior here. Fixes
one of the reftests.


git-svn-id: svn://10.0.0.236/trunk@224816 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-20 23:43:28 +00:00
bzbarsky%mit.edu
9b9e29922e Stop blocking the parser on CSS stylesheet loads. We still block script
execution on them, however.  Bug 84582, r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@224813 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-20 22:59:18 +00:00
sayrer%gmail.com
4aec4dcf7d Bug 368994. move mochitests near the code they test. round 7. r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@224573 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-16 15:18:50 +00:00
dbaron%dbaron.org
30f83072c5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@222462 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-27 15:33:45 +00:00
asqueella%gmail.com
43e4b76e36 fix bug 369828 – html/svg:style sheets don't work in XUL documents
(the fix is to special-case these elements in nsXULDocument::ResumeWalk
and manually call UpdateStylesheet on them after the element and its subtree
is fully constructed and inserted into the document)

r=bz, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@222338 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-25 05:20:29 +00:00
asqueella%gmail.com
03e63625ae Bug 373614 - remove nsIXULContentSink interface, use the underlying class directly.
r=smaug, sr=roc


git-svn-id: svn://10.0.0.236/trunk@222337 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-25 05:02:10 +00:00
Olli.Pettay%helsinki.fi
034c38c2b7 Bug 374584, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@222314 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-24 10:53:07 +00:00
asqueella%gmail.com
81e3a0b9ee decomtaminate nsIXULPrototypeCache (bug 364329)
r=smaug, sr=roc


git-svn-id: svn://10.0.0.236/trunk@221763 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-12 05:53:33 +00:00
peterv%propagandism.org
fbe71aa7e3 Fix for bug 373219 (ASSERTION: Fault in cycle collector: null XPCOM pointer returned (ptr: 0)). r/sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@221603 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 13:14:06 +00:00
peterv%propagandism.org
4fff00b28c Fix for bug 368773 (Add a bunch of DOM objects to cycle collection). r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@221534 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-08 11:17:16 +00:00
peterv%propagandism.org
ebfd67f7ed Fix for bug 370265 (nsDOMScriptObjectHolder/NS_DropScriptObject tries to get service while shutting down). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@221226 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-02 13:34:14 +00:00
jonas%sicking.cc
fa54a7bcf5 Bug 371083: Second installment in our exiting series 'deCOMtaminate the XBL code'. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@220967 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-27 00:14:01 +00:00
peterv%propagandism.org
17816def0d Fix assertions (followup to fix for bug 368369).
git-svn-id: svn://10.0.0.236/trunk@220736 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 15:20:20 +00:00
peterv%propagandism.org
e3e0240f6a Fix for bug 368369 (nsIScriptContextOwner looks unused). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@220731 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 13:33:50 +00:00
jonas%sicking.cc
465b8fad66 Bug 370230: unbreak --enable-perf-metrics. Patch by me and Mats Palmgren. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@220080 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-13 21:18:25 +00:00
sharparrow1%yahoo.com
4e50607a9e Bug 370185: clean up view header includes (trivial). rs=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@219987 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-12 19:17:33 +00:00
sharparrow1%yahoo.com
dd459d0a71 Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
sayrer%gmail.com
4b956025f4 Bug 357450. Implement getElementsByClassName. r=jst, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@219322 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 15:14:00 +00:00
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