darin%meer.net
42edf059cf
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
...
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
dbaron%dbaron.org
9911a9b756
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
bzbarsky%mit.edu
14903561f3
Add comments describing some more files.
...
git-svn-id: svn://10.0.0.236/trunk@193306 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 08:00:42 +00:00
Olli.Pettay%helsinki.fi
b6cdf7cb60
Bug 234455, Centralize event dispatch r=jst, sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@191900 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 17:08:51 +00:00
cbiesinger%web.de
aa80ec3c74
bug 314453 Rename ImageURIChanged and ObjectURIChanged to LoadImage and
...
LoadObject, respectively, in order to make it clear what they do rather than
prescribing when they should be called. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@186776 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-01 11:25:43 +00:00
gerv%gerv.net
f8d1f365ca
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@186771 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-31 16:02:07 +00:00
cbiesinger%web.de
8cc8c8248a
bug 314091 Fix users of mozAutoDocUpdate to actually declare a local variable,
...
so that the destructor doesn't get called immediately
r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@183237 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-29 12:54:24 +00:00
bzbarsky%mit.edu
1333cae14e
Try fixing bug 288064 again. r=biesi, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@182350 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 00:50:39 +00:00
bzbarsky%mit.edu
29198e38f2
Backing out bug 288064 because of the Tp hit.
...
git-svn-id: svn://10.0.0.236/trunk@181383 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 01:35:56 +00:00
bzbarsky%mit.edu
d81aa0e274
Implement a LOADING state, have a :-moz-loading selector to match on it, use it
...
for images. Bug 288064, r=biesi, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@181371 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 00:34:03 +00:00
peterv%propagandism.org
5b98a9db45
Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null), remove some includes. Patch by sicking, updated by peterv, r=bz, sr=peterv.
...
git-svn-id: svn://10.0.0.236/trunk@180960 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-26 14:37:29 +00:00
cbiesinger%web.de
054912c09e
bug 1156
...
- Make object frames have no children
- Make the frame constructor construct a subdocumentframe, object frame or
image frame as appropriate
- start the load of <applet>, <embed> and <object> in content code
- fallback to alternate rendering correctly
NOTE: This checkin will break the plugin finder. This will be fixed soon.
r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@180762 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-21 19:14:30 +00:00
bzbarsky%mit.edu
f0ab1ca805
Make sure to update state properly for nsGenConImageContent. Bug 309141,
...
r=biesi, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@180629 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-20 02:05:48 +00:00
bzbarsky%mit.edu
50ca774ea9
More Tp regression-fixing for bug 11011. r=biesi, pending sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@180521 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 21:06:19 +00:00
bzbarsky%mit.edu
26af641d58
Implement :-moz-broken, :-moz-user-disabled, and :-moz-suppressed
...
pseudo-classes to allow styling of broken/blocked/disabled images, applets,
objects, embeds. Bug 11011, r=biesi and roc, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@180509 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-18 18:05:40 +00:00
peterv%propagandism.org
b64b04886f
Fix for bug 306363 (Clean up nsContentUtils service getters). r/sr=bz.
...
git-svn-id: svn://10.0.0.236/trunk@179982 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-11 10:08:43 +00:00
bzbarsky%mit.edu
525a6b3082
Cache the event queue service in nsContentUtils instead of having every single
...
presshell caching it. Bug 305689, r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@178852 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 21:01:51 +00:00
bzbarsky%mit.edu
d7497a616e
Go back to having UnblockOnload firing onload sync in cases where it's safe.
...
Attempting to address Tp fallout from bug 294114, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@178750 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 23:24:30 +00:00
bzbarsky%mit.edu
b327d4361b
Remove nsDummyLayoutRequest and use the nsIDocument onload-blocking API
...
instead. Bug 294114, r=dbaron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@178656 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 01:29:02 +00:00
bzbarsky%mit.edu
d1afb179ba
Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
...
param. Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@178642 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 22:24:29 +00:00
bzbarsky%mit.edu
1815bcf181
Make sure that non-image inputs don't claim to have a useful image via
...
nsIImageLoadingContent. Bug 301635, r=biesi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@178241 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-19 14:55:07 +00:00
jst%mozilla.jstenback.com
5db7b4597b
Fixing bug 269125. Make image.onerror fire for non-existent files. Patch by trev@gtchat.de, r=jst@mozilla.org, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@178003 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-17 23:01:09 +00:00
bzbarsky%mit.edu
b0ce4094bf
Add a document api to prevent onload from firing too early. Bug 293818,
...
r=darin, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@173388 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-13 19:54:28 +00:00
jst%mozilla.jstenback.com
ebed1ee784
Fixing bug 289940. Make chrome event handlers only receive trusted events by default. r=jonas@sicking.cc, sr=peterv@propagandism.org, a=chofmann@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@172848 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-28 23:48:28 +00:00
bzbarsky%mit.edu
f14f7e0cb1
If our image was previously blocked and we're asked to maybe reload it, don't
...
check whether the URI changed; just try loading (since this time we may not be
blocked). Bug 251354 followup, r=sicking, sr=shaver, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@171981 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-11 16:37:27 +00:00
bzbarsky%mit.edu
532112b17b
Only do a new image load if we're forced to or if the URI really changed. Bug
...
285428, r=biesi, sr=jst (note: sr was given in bug 286000 as part of the patch
there).
git-svn-id: svn://10.0.0.236/trunk@171771 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 02:55:02 +00:00
bzbarsky%mit.edu
b545c9a067
Add a method to ask a content node whether it may have a frame in some
...
presentation. Bug 225941, r=dbaron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@171033 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-23 03:07:10 +00:00
bzbarsky%mit.edu
54df69c399
Use the content policy REJECT reason as a basis for our "whether to show alt
...
text" decision instead of reading prefs ourselves. Bug 202906, r=mvl, sr=jst
git-svn-id: svn://10.0.0.236/trunk@170075 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-02 04:05:12 +00:00
jst%mozilla.jstenback.com
eddb05cf73
Fixing bug 279945. Prevent drag n' drop of images whose extensions don't map to image mimetypes. r=caillon@gmail.com, sr=dveditz@cruzio.com
...
git-svn-id: svn://10.0.0.236/trunk@168753 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 17:23:35 +00:00
bryner%brianryner.com
e1daca3ce3
Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin.
...
git-svn-id: svn://10.0.0.236/trunk@165757 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 22:48:45 +00:00
bzbarsky%mit.edu
fa206da134
Switch more callers who were begging for it over to GetOwnerDoc(). Bug 255337,
...
r+sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@163530 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-11 16:29:42 +00:00
bzbarsky%mit.edu
0931032595
Make sure to addref out param. Bugs 258121 and 247712, r+sr=peterv
...
git-svn-id: svn://10.0.0.236/trunk@162304 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 15:06:56 +00:00
bryner%brianryner.com
2dbfb983b1
Remove refcounting version of nsIPresShell::GetPresContext. Bug 253889, r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@161072 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-20 20:34:37 +00:00
bryner%brianryner.com
865734bf2f
Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
...
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
fe80e9ca1c
Send the stylesheet as the HTTP Referer header for images loaded from CSS stylesheets. b=249168 r=bzbarsky sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@159195 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-14 21:56:23 +00:00
peterv%propagandism.org
0a98e68e54
Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@158468 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 12:26:02 +00:00
cbiesinger%web.de
ff1bd6473d
bug 196380
...
o) move nsCopySupport into content (from layout), it belongs there better
o) add an |currentURI| attribute to nsIImageLoadingContent which allows access to the URI that is currently being displayed
o) use that from the image uri copy code
xpfe part: r=neil.parkwaycc.co.uk sr=bz rest: r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@157435 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-05 17:57:00 +00:00
roc+%cs.cmu.edu
bdc7e5f59b
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
...
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
mvl%exedo.nl
c0b2e4667b
Make content policy api (nsIContentPolicy) not suck.
...
bug 191839. Original patch and hard work by Tim <riceman+bmo@mail.rit.edu>, r=bzbarsky (on backend stuff), r=neil (on the tabbrowser stuff), sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@156366 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 18:34:18 +00:00
tor%cs.brown.edu
66f9a5f6a8
Bug 236313 - handle javascript URLs as img src. r=pavlov, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@156007 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-05 21:17:31 +00:00
bzbarsky%mit.edu
e7ad4f7000
Load background images from style instead of from painting. This makes us
...
start loading the background images when we resolve style on an object that
needs them instead of when we scroll down and see it for the first time. Bug
57607, r=pavlov, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153725 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 03:57:51 +00:00
peterv%propagandism.org
94b69cb574
Miscellaneous cleanup. r/sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@151493 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 10:45:26 +00:00
bryner%brianryner.com
3d8a7179f8
Improve the way in which nsEvent and its subclasses are initialized. Commonly-used members can now be initialized via an inline constructor, and all other members are initialized to zero. eventStructType is set automatically. This also fixes some cases where an eventStructType was doubling as a message -- NS_TEXT_EVENT is now only used as an eventStructType, with a message of NS_TEXT_TEXT. NS_COMPOSITION_* events get an eventStructType of NS_COMPOSITION_EVENT, and ditto for NS_RECONVERSION_*. NS_DRAGDROP_EVENT is no longer an eventStructType since it is not a unique type of struct. There is also some miscellaneous cleanup to nsDOMEvent. Bug 220228, r=jst, sr=blizzard.
...
git-svn-id: svn://10.0.0.236/trunk@151191 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-12 08:25:18 +00:00
jst%mozilla.jstenback.com
803e4eb910
General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
...
git-svn-id: svn://10.0.0.236/trunk@151115 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 23:54:21 +00:00
bzbarsky%mit.edu
e145168a0f
Be a little smarter about handling the mess that is broken images. Only look
...
for a frame if we've had a frame at some point in the past; this should keep us
from calling GetPrimaryFrameFor quite so much during pageload. Bug 225848,
r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@149399 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-16 07:34:25 +00:00
uid502
e56ed2443c
Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +00:00
bryner%brianryner.com
eeddf02bde
deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
darin%meer.net
bc1bb52b19
fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@147597 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-06 01:46:31 +00:00
jst%mozilla.jstenback.com
ef67a47aab
Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
...
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
bzbarsky%mit.edu
0147d8d4a6
DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@145284 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:09:56 +00:00