Commit Graph

4102 Commits

Author SHA1 Message Date
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
aaronr@us.ibm.com
651fb411a6 change nsIAttribute so it can be used by extensions 390480, r+sr=bz a=jst 2007-08-07 16:01:57 -07:00
cbiesinger@gmx.at
952d1075d3 Bug 390385 make sure that plugins don't get instantiated before the first Reflow of the objectframe, so that the first NPP_SetWindow call contains the right dimensions r+sr=bz 2007-08-06 17:32:14 -07:00
cbiesinger@gmx.at
fff6a94d8f 364235 don't instantiate plugins for URLs with unknown schemes unless we also have a type specified r+sr=bz 2007-08-06 11:02:14 -07:00
jwalden@mit.edu
a709e174c7 Fix Thunderbird/--disable-svg bustage from bug 379178. rs=jwatt 2007-08-06 11:00:01 -07:00
bzbarsky@mit.edu
56c4215580 Hoist the code for handling class and id up from nsGenericHTMLElement to the newly-created nsStyledElement so that it can be reused by MathML and to some extent by SVG. Bug 379178, patch by Daniel Kraft <domob@daniel-kraft.net>, r=jwatt for the SVG changes, r+sr=sicking for the rest, a=dsicore 2007-08-06 08:27:19 -07:00
benjamin@smedbergs.us
5fb457dd7e Bug 386025 - Expose cycle-collection symbols, r=graydon 2007-08-06 07:34:02 -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
Olli.Pettay@helsinki.fi
262f32eef7 Backout bug 378866, the patch doesn't handle all testcases :( 2007-08-03 06:06:05 -07:00
Olli.Pettay@helsinki.fi
9823360a13 Bug 378866, r+sr=bz, a=sicking 2007-08-02 23:53:01 -07:00
cbiesinger@gmx.at
b29067127d 382378 call NotifyContentObjectWrapper after the plugin has been instantiated so that scriptable plugins work correctly r+sr=bz 2007-08-02 14:15:05 -07:00
cbiesinger@gmx.at
c3c505c04b 322170 ignore errors from OnStartRequest (NPP_NewStream) for Shockwave on the Mac r=jst sr=bz 2007-08-02 13:16:49 -07:00
bzbarsky@mit.edu
e27bf19d9a Flush layout before starting to pump data into plug-ins if we started the data
load ourselves.  Fixes various issues with a number of plug-ins that expect
NPP_SetWindow() to have been called before NPP_WriteReady or NPP_Write.  Bug
381512, r=biesi, sr=jst
2007-08-02 10:54:36 -07:00
jonas@sicking.cc
36be3b3b16 Remove tests accessing remote server 2007-07-30 18:16:24 -07:00
jonas@sicking.cc
2c1c80b6e6 Bug 389508: Fix regressions and bugs in the new Cross Site XMLHttpRequest support. r/sr=jst a=roc 2007-07-30 17:42:16 -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
mattwillis@gmail.com
0e445bd4c6 reverting 1.34 - meant for trunk 2007-07-26 17:21:01 -07:00
mattwillis@gmail.com
ec15d0b006 bug 389739 - Add IDL constants for XMLHttpRequest readyStates. r/sr=bzbarsky 2007-07-26 17:12:58 -07:00
jonas@sicking.cc
5784b0a2f5 backout due to orange 2007-07-26 16:34:22 -07:00
jonas@sicking.cc
333d1b3dd8 'extra ;'? Quit your whining gcc\! 2007-07-26 15:34:32 -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
Olli.Pettay@helsinki.fi
bd0b7ea6d7 Backing out bug 275196, xml:id, to fix tp regression 2007-07-26 07:16:19 -07:00
Olli.Pettay@helsinki.fi
e8dba5a1b4 Bug 275196, xml:id, r=sicking, sr=dbaron 2007-07-26 05:22:01 -07:00
tor@cs.brown.edu
c9776f2873 Bug 383184 - Implement SVG lighting filters.
Style portion r+sr=dbaron, rest r=longsonr, sr=roc.
2007-07-25 23:57:42 -07:00
jst@mozilla.org
83c8471b91 Adding support for cut, copy, paste events. Patch by mfenniak-moz@mathieu.fenniak.net, r=Olli.Pettay@gmail.com, sr=jst@mozilla.org,jonas@sicking.cc 2007-07-25 21:14:33 -07:00
roc+@cs.cmu.edu
a28eeaaafd Bug 379349. Add support for 'overflow containers' --- special frame continuations that do not map any content of their own, but serve only as containers for laying out children that overflowed their parents' content height. patch by fantasai, r+sr=eli,roc 2007-07-25 21:03:29 -07:00
jonas@sicking.cc
69dab05626 Bug 259332: Improve support for document.all such that we can deal with multiple elements with the same id and/or name. r/sr=jst 2007-07-25 17:36:19 -07:00
bzbarsky@mit.edu
5fda0c5d00 Add a flag that allows protocol handlers to indicate that they don't return any
data.  Bug 379819, patch by Ryan Jones <sciguyryan@gmail.com>, r=me, sr=biesi
2007-07-25 10:21:41 -07:00
dcamp@mozilla.com
5e7a58ed01 move the offline cache update logic from the content sink and prefetch service into an nsOfflineCacheUpdate object. bug=388839, r=biesi, sr=jst 2007-07-24 22:35:39 -07:00
dcamp@mozilla.com
c367b9d568 add a sendAsBinary() method to XMLHttpRequest (for sending data from an <input type=file> element, among other things). b=371432, r+sr=jonas 2007-07-24 21:53:21 -07:00
dcamp@mozilla.com
21b4c8ea53 Add an API to access <input type="file"> data. r=smontagu (for charset stuff), r+sr=jonas 2007-07-24 21:29:47 -07:00
masayuki@d-toybox.com
1d5c234ab1 Bug 388602 ###!!! ASSERTION: invalid array index: 'i < Length()' when loading some webpages r+sr=roc 2007-07-24 04:47:22 -07:00
asqueella@gmail.com
2604465594 fix bug 388709 - "ASSERTION: Please remove this from the document properly: '!IsInDoc()'" with :after, floating :first-letter
Store the generated content as a nsCOMArray<nsIContent>* property on frames to make its clean-up on frame destruction less fragile.

r+sr=roc
2007-07-23 16:31:11 -07:00
roc+@cs.cmu.edu
6ac430a20e Bug 336959. Use Pango to break inside Thai/Lao runs. Patch by Theppitak Karoonboonyanan, r+sr=roc 2007-07-18 20:26:51 -07:00
cbiesinger@gmx.at
bfc2a045f1 385118 make sure to set mInstantiating to false again before returning
r+sr=jst,bzbarsky
2007-07-18 17:28:39 -07:00
cbiesinger@gmx.at
18ff50031c bug 309523 remove now-addressed XXX comment
r+sr=bz
2007-07-18 15:02:04 -07:00
bzbarsky@mit.edu
d074804c35 Propagate stylesheet principals through to XBL binding loads; streamline load
security checks in the XBL code (so that all the security checks are gated
through LoadBindingDocumentInfo).  Bug 204140, r=dbaron for the CSS changes,
r=sicking for the XBL changes, sr=sicking.

In particular, this change allows user stylesheets loaded from local files to
link to local files.
2007-07-18 14:56:57 -07:00
cbiesinger@gmx.at
20d3101b1a bug 347736 instantiate <embed> plugins by extension if we don't have a MIME type
r+sr=bz
2007-07-18 14:48:18 -07:00
cbiesinger@gmx.at
0fdb87f45b Bug 382113 make sure to add the request to the new loadgroup before removing it
from the old one so that onload doesn't fire before it should
Also make nsLoadGroup::AddRequest assert that the request isn't in the loadgroup yet
Finally, reenable the reftest that tests the <object> onload behaviour
r+sr=bz
2007-07-18 14:37:39 -07:00
bzbarsky@mit.edu
d8a5bd6455 More consistent handling of principals for loads across docshell type
boundaries.  Bug 388121, r+sr=jst
2007-07-17 18:47:07 -07:00
Olli.Pettay@helsinki.fi
84740b3540 Bug 386599, Recursive <object> with border hangs Firefox, r=biesi, sr=bz 2007-07-17 00:43:36 -07:00
flamingice@sourmilk.net
4b132ab64f Bug 330511, Plugin-in blocklisting, r+sr=jst 2007-07-13 17:28:05 -07:00
longsonr@gmail.com
43a7c5805c Bug 384409 - Create a common GetContextForContent method in nsContentUtils and use it in nsScriptElement and svg. r=tor,r+sr=jonas 2007-07-13 01:49:07 -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
masayuki@d-toybox.com
cc8e0a3bd5 Bug 255990 Characters below U+0100 are not subject to line-breaking rules at all r+sr=roc 2007-07-12 08:52:51 -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
neil@parkwaycc.co.uk
10de8387c8 Followup to bug 348748 to fix the alignment of trailing backslashes in macros
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]
2007-07-11 01:46:44 -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
bzbarsky@mit.edu
31d22a4f33 Notify before firing mutation events. Bug 387460, r+sr=sicking 2007-07-10 18:14:55 -07:00
jwalden@mit.edu
a60dd8c5cc Bug 387503 - Convert nsINode bits to an anonymous enum, and make a macro into an inline function for better debugging. rs=sicking 2007-07-10 15:49:42 -07:00
bzbarsky@mit.edu
adeb9f3d40 Eliminate some uses of CheckSameOriginPrincipal in favor of Subsumes/Equals.
Bug 387204, r+sr=jst
2007-07-09 21:11:11 -07:00
dcamp@mozilla.com
c164c6d8ce implement navigator.pendingOfflineLoads. b=372969, r=biesi, r+sr=jst 2007-07-08 23:19:27 -07:00
philringnalda@gmail.com
765b50b310 Bug 382947 - XMLHttpRequest should only set the charset in the Content-Type request header if we know the charset, patch by Ryan Jones <sciguyryan@gmail.com>, r=bzbarsky, sr=peterv 2007-07-08 19:33:07 -07:00
philringnalda@gmail.com
34b24eca93 Bug 386854 - Bustage build fix MOX_XUL disabled, patch by romaxa <romaxa@gmail.com>, r+sr=bzbarsky 2007-07-08 17:58:15 -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
dbaron@dbaron.org
e3aee21664 Initialize mPendingInstantiateEvent to null. b=386889 r+sr=biesi 2007-07-05 15:44:27 -07:00
Olli.Pettay@helsinki.fi
bdca2685a3 Bug 386802, Mutation events always fired during setting of innerHTML, r+sr=bz 2007-07-04 13:39:10 -07:00
enndeakin@sympatico.ca
59c3596049 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 2007-07-04 08:49:38 -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
peterv@propagandism.org
4aea5fea8f Fix for bug 386656 (Security Error: Content at moz-nullprincipal:{8c0f4edc-0aac-45cc-8471-895f07bb1bb2} may not load or link to resource://gre/res/hiddenWindow.html during install of latest NTT Build). r/sr=jst. 2007-07-04 00:27:36 -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
sharparrow1@yahoo.com
f8eb726afe Bug 386141: Switch NS_FRAME_IS_BOX to use IsFrameOfType. Patch by fantasai, r+sr=roc. 2007-07-03 15:11:28 -07:00
bzbarsky@mit.edu
e332256c63 Fixing build bustage 2007-07-03 12:15:26 -07:00
bzbarsky@mit.edu
31793a2838 Propagate the principal responsible an image load all the way to
CanLoadImage/LoadImage in nsContentUtils, and use it for security checks
there.  Bug 310165, r=sicking, sr=dbaron
2007-07-03 11:45:39 -07:00
roc+@cs.cmu.edu
f0d093fb48 Bug 386548. Remove nsTextTransformer. r+sr=mats 2007-07-02 16:36:59 -07:00
peterv@propagandism.org
206dd7d6e0 Fix for bug 326337 (XMLHttpRequest.responseXML permission denied if document.domain set). r=jst, sr=bz. 2007-07-02 06:20:01 -07:00
dbaron@dbaron.org
7a505fc44a Fix leak of nsJSRuntime due to unbalanced calls of HoldScriptObject (with null argument). b=386294 r+sr=jst 2007-06-29 20:06:04 -07:00
dbaron@dbaron.org
47eecdb023 Add nsCycleCollector_shouldBeFreed calls for elements. b=385549 r+sr=jst 2007-06-29 20:00:51 -07:00
enndeakin@sympatico.ca
ea7b8f15ff Bug 279703, backing out the popup changes due to performance regressions. sigh. 2007-06-29 15:39:50 -07:00
enndeakin@sympatico.ca
8a87437d5f Bug 279703, backing out the popup changes due to performance regressions. sigh. 2007-06-29 15:15:59 -07:00
enndeakin@sympatico.ca
534c14e326 Bug 279703, rework XUL popups to use asynchronous opening, plus many other fixes, r=bz,neil,sr=bz 2007-06-29 12:04:45 -07:00
peterv@propagandism.org
6662efd338 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 19:48:16 -07:00
peterv@propagandism.org
90c374d7c3 Backing out to fix orange. 2007-06-27 16:21:05 -07:00
peterv@propagandism.org
7bf2741259 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 15:29:45 -07:00
tor@cs.brown.edu
3972c28dd8 Bug 375846 - implement feConvolveMatrix filter primitive. r=longsonr, sr=roc 2007-06-27 12:02:58 -07:00
dveditz@cruzio.com
66253fb571 bug 381264 nix 'track' method; r=biesi, sr=sicking 2007-06-26 02:28:38 -07:00
kherron@fmailbox.com
ddcb8c5b18 Disabling two tests by request of Christian Biesinger. Related to bug 382113. 2007-06-24 17:52:06 -07:00
cbiesinger@web.de
3267d4e8d0 bug 382113 make the test pass for now (mark it as todo). will be reenabled
once the additional patch from the bug is checked in.
2007-06-23 07:31:37 -07:00
cbiesinger@web.de
41a142ff4f bug 382113 set LOAD_DOCUMENT_URI for <object> loads that load a document
so that things like onload events work correctly
r+sr=bz
2007-06-23 01:44:27 -07:00
timeless@mozdev.org
b8a0469143 Bug 383901 having two different gNameSpaceManagers is confusing (at least to debuggers)
r=bz sr=bz
2007-06-19 22:23:50 -07:00
bzbarsky@mit.edu
11cd15d771 Make the ranges used by find code able to span anonymous content. Bug 384706,
r+sr=sicking
2007-06-18 20:01:03 -07:00
jonas@sicking.cc
ac44cecea7 Backing out previous checkin since leaks went up 2007-06-18 16:21:28 -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
9d0c915718 Bug 348156: Don't rely on UnbindFromTree to break cycles since that puts us in an inconsistent state. r/sr=jst 2007-06-18 15:27:27 -07:00
Olli.Pettay@helsinki.fi
df557c69c7 Bug 384663, r+sr=bz 2007-06-18 08:43:40 -07:00
kherron@fmailbox.com
4f3b4ab01c Bug 375314 - discriminate ping and xmlhttprequests in content policy check. Patch by Wladimir Palant <trev.moz@adblockplus.org>, r=jst, sr=peterv. 2007-06-17 06:50:50 -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
kherron@fmailbox.com
d04e5ca122 Bug 381329 - Build fails with GCC-4.3 due to extra semi-colons and '-pedantic' flag. Patch by Art Haas <ahaas@airmail.net>. r+sr=roc. 2007-06-16 12:53:59 -07:00
enndeakin@sympatico.ca
439d43e8b3 Bug 321171 - support XML sources in XUL templates, r=smaug,sr=peterv CVS: ---------------------------------------------------------------------- 2007-06-15 08:03:44 -07:00
jonas@sicking.cc
66651c69a1 Bug 379959: Add checks to loadBindingDocument. r/sr=jst 2007-06-12 14:56:06 -07:00
jst@mozilla.org
02e59960a3 Fixing bug 383424. Make the context pusher use the owner document. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2007-06-12 14:16:58 -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
roc+@cs.cmu.edu
72daeacf01 Not Really Part Of The Build. Update nsLineBreaker interface to allow aSink to be null, in which case the computed linebreaks are just discarded. We use this to optimize cases where no breaking is enabled and the results of linebreaking are not required. Also exposes IsSpace and IsComplexChar methods that the linebreaker specification relies on. Renamed CJK stuff to ComplexChar because it's going to include Thai and probably other languages. 2007-06-06 21:17:55 -07:00
roc+@cs.cmu.edu
0450fa102e Bug 380538. Allow both ononline and onoffline to be specified in the body element. patch by Chris Double, r=Olli.Pettay,sr=jonas 2007-06-06 20:28:04 -07:00
bzbarsky@mit.edu
0981859a09 When serializing a <q> as plaintext, put in quotes even if we're not doingformatted output. Bug 378407, r=glazman, sr=sicking 2007-06-05 12:24:55 -07:00
jonas@sicking.cc
4e9f5cf70c Bug 373756. Don't execute XBL ctors on the last EndUpdate if there were queued ctors when we got the first BeginUpdate. Patch by bz. r/sr=me 2007-05-30 18:36:06 -07:00
roc+@cs.cmu.edu
1a4430de8a Not (Really) Part Of The Build. Fix embarrassing error in nsLineBreaker... 2007-05-30 17:06:31 -07:00
roc+@cs.cmu.edu
eedac9e03a Fixing bustage 2007-05-30 15:36:30 -07:00
roc+@cs.cmu.edu
e34c7dff59 Bug 174397. Support getClientRects and getBoundingClientRect on DOM elements. r=jonas,dbaron; sr=tor, plus help from Anne van Kesteren and Martijn Wargers 2007-05-30 15:32:54 -07:00
roc+@cs.cmu.edu
e6c0113640 Not part of the build. Change nsLineBreaker so that breaks at element boundaries are always governed by the white-space property on the element that's the nearest common ancestor of the DOM nodes on each side of the break point --- fixes bug 382289. Also, pass NBSP through to textruns so that whitespace trimming doesn't trim NBSP. Also, count trimmed spaces correctly when updating mClusterCount. 2007-05-30 15:27:27 -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
bclary@bclary.com
e5257241b2 Bug 382182 - script tag should support version 1.8, r=jonas,sr=brendan 2007-05-29 22:55:55 -07:00
roc+@cs.cmu.edu
1e64c60d76 Bug 372970. Implement navigator.offlineResources. patch by Dave Camp, r+sr=jst 2007-05-29 02:45:30 -07:00
neil@parkwaycc.co.uk
a1aa08371b Bug 380364 Fix regressions from bug 236546 r+sr=jst 2007-05-25 13:47:30 -07:00
Olli.Pettay@helsinki.fi
6bb0d59236 Bug 381153, r+sr=roc 2007-05-25 03:09:29 -07:00
jonas@sicking.cc
9d24ba6b07 Fix yet more regressions from the don't-flag-clone-xul-nodes-indocument landing. b=380872 r/sr=bz 2007-05-24 17:28:20 -07:00
peterv@propagandism.org
5acbaf5478 Fix for bug 368774 (Make cycle collector work with refcounted non-XPCOM objects). r=dbaron, sr=sicking. 2007-05-24 07:10:02 -07:00
roc+@cs.cmu.edu
a1def44ba1 Backing out to fix bustage :-( 2007-05-23 22:16:52 -07:00
roc+@cs.cmu.edu
674855e8dd Bug 336959. Reland update to use Pango for linebreaking of Thai and CJK text on Linux. patch by Theppitak Karoonboonyanan, r+sr=roc 2007-05-23 20:16:16 -07:00
bzbarsky@mit.edu
6b859eef41 Make sure we flush out content before we try to set up the plug-in, sincethat's going to perform DOM access that can flush. Bug 377070, r+sr=biesi 2007-05-23 12:53:31 -07:00
roc+@cs.cmu.edu
0a85d8402c Backing out due to bustage. 2007-05-22 21:26:42 -07:00
roc+@cs.cmu.edu
f303dbe9c8 Bug 336959. Use Pango to break lines for CJK and Thai. r+sr=roc, patch by Theppitak Karoonboonyanan. 2007-05-22 21:06:20 -07:00
roc+@cs.cmu.edu
d22fec8e76 Not Part Of The Build. Update nsTextFrameThebes whitespace handling; allow line breaking only at the end of a run of whitespace. 2007-05-22 16:45:47 -07:00
jonas@sicking.cc
3721d8cc9f Bug 380872: Bind nodes in insertion points directly under <children>. r/sr=bz 2007-05-22 15:41:32 -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
Olli.Pettay@helsinki.fi
2390b0efe2 Bug 380674, Move nsTObserverArray from content/* to xpcom/*, r=bsmedberg 2007-05-22 12:39:14 -07:00
jonas@sicking.cc
78aa6a8979 Bug 380872: Forgot to address bzs review comment to remove this assertion. r/sr=bz 2007-05-21 17:08:05 -07:00
mrbkap@gmail.com
6a6101e0b6 Don't assume that the parser is still enabled after we've returned to the event loop. bug 380590, r+sr=sicking 2007-05-21 15:40:59 -07:00
jonas@sicking.cc
070e2f3286 Bug 380872: Call BindToTree on anonymous children too when BindToTree is called on an element. r/sr=bz 2007-05-21 15:26:48 -07:00
jonas@sicking.cc
77e416f2bb Bug 53901: Make sure to also release controllers when unbinding xul elements from the DOM. r/sr=bz 2007-05-21 15:22:51 -07:00
roc+@cs.cmu.edu
af01fb8e0e Bug 381130. Small changes to layout to fix an inline reflow bug and add a new API to nsLineLayout to support tab stops. r+sr=dbaron 2007-05-20 20:44:26 -07:00
Olli.Pettay@helsinki.fi
66b98ebaff Bug 380716, Crash [@ nsContentUtils::ContentIsDescendantOf], r+sr=jst 2007-05-18 03:23:45 -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
benjamin@smedbergs.us
57fb6d92d8 Bug 319934 - Prevent shutdown crashes by having XMLHttpRequest objects hold the layout module alive, r+sr=dbaron 2007-05-16 10:05:47 -07:00
jonas@sicking.cc
495c95a7a4 Bug 53901: Don't set is-in-doc flag on cloned XUL nodes. r/sr=jst 2007-05-15 18:13:47 -07:00
ginn.chen@sun.com
7ba9ae2d81 Bug 357969 container xul element which doesn't have a xbl def under a deck frame has no accessible objectpatch by nian.liu at sun.com r=surkov.alexander sr=neil 2007-05-15 02:46:06 -07:00
Olli.Pettay@helsinki.fi
5767c4440b Remove rest of nsIDOMEventReceivers, Bug 363089, r+sr=jst 2007-05-15 01:50:33 -07:00
cbiesinger@web.de
383c82c5d9 Bug 370195 – sql device for the offline cachepatch by Dave Camp <dcamp@mozilla.com> r=jst (content part) r=biesi (rest) 2007-05-14 13:09:20 -07:00
Olli.Pettay@helsinki.fi
7ae8ead8c6 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:29:22 -07:00
Olli.Pettay@helsinki.fi
7817abfbca Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
bzbarsky@mit.edu
2704d6350d Process XBL constructors right after the frame construction inInitialReflow(). Bug 377119, r+sr=sicking 2007-05-13 20:52:48 -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
asqueella@gmail.com
5b30c0b558 Bug 362043 - XMLHttpRequest should set a charset in the Content-Type request headerp=Ryan Jones <sciguyryan@gmail.com>r+sr=peterv 2007-05-13 09:41:46 -07:00
Olli.Pettay@helsinki.fi
817e004adc Bug 369644, make mouseover/out handle native anonymous content properly, r=jst, sr=sicking 2007-05-13 06:59:00 -07:00
peterv@propagandism.org
01725954b0 Fix for bug 324871 (UserData can cause reference cycles). r/sr=sicking. 2007-05-12 08:36:28 -07:00
Olli.Pettay@helsinki.fi
ba885ad99c Bug 378390, Use a bit to track whether the binding manager has a pointer to an element, r+sr=peterv 2007-05-11 11:34:12 -07:00
Olli.Pettay@helsinki.fi
40178e46a3 backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
7faf1d64cc windows bustage fix 2007-05-11 04:33:17 -07:00
Olli.Pettay@helsinki.fi
e1fb8b073b Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
jonas@sicking.cc
233450d9b8 Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst 2007-05-10 13:21:12 -07:00
jst@mozilla.org
eedb90c553 Backing out Jonas' last changes due to tinderbox orange, per Jonas' request. 2007-05-09 17:42:33 -07:00
jonas@sicking.cc
de64d03178 Relanding bug 378987. Don't try to collect windows, documents or elements of actively viewed pages. r=bz/jst sr=jst 2007-05-09 16:33:28 -07:00
bzbarsky@mit.edu
2dac207d0b Store the charset we had when we were written into when document.open()happens. Then restore that as the document charset when loading from a wyciwygchannel, instead of just claiming to be UTF-16. Bug 255820, r+sr=jst 2007-05-08 19:47:58 -07:00
jonas@sicking.cc
594d259432 back out last patch since leaks went through the roof 2007-05-07 18:03:08 -07:00
jonas@sicking.cc
c2c495c2ef Don't attempt to cycle collect documents, windows and elements that are currently being viewed. r=bz, sr=jst b=378987 2007-05-07 16:45:25 -07:00
bzbarsky@mit.edu
a0a79dfb62 Make the sync loader handle streams that close on EOF (e.g. data: URLs). Bug379957, r=biesi, sr=peterv 2007-05-07 15:11:53 -07:00
bzbarsky@mit.edu
3fffd1fdc3 Don't apply user stylesheets to native anonymous content. Bug 286895, r+sr=dbaron 2007-05-04 23:47:09 -07:00
masayuki@d-toybox.com
ce5fb69d8c Bug 378752 Mnemonic of Menu doesn't work if an editor has focus and IME is on r+sr=roc 2007-05-02 08:34:35 -07:00
joshmoz@gmail.com
30d491a760 Remove nsINativeScrollbar and nsNativeScrollbarFrame. patch by Colin Barrett. b=379319 r=enn sr=dbaron 2007-05-02 00:46:50 -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
79c66b8a27 Make InitialReflow just post a reflow event instead of doing a synchronousreflow. Bug 378975, r=dbaron and Eli Friedman, sr=dbaron 2007-05-01 10:15:08 -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
bzbarsky@mit.edu
e1db306445 Flush tags before calling StartLayout; otherwise we might end updouble-constructing frames for whatever content we hadn't notified on yet. Bug378559, r+sr=sicking 2007-04-26 11:57:58 -07:00
ted.mielczarek@gmail.com
9b1616bf41 bug 373181 - onload doesn't fire for XHTML documents that contain a script tag (Firefox's RSS preview is broken) - add mochikit test. r=sicking 2007-04-26 04:39:15 -07:00
bzbarsky@mit.edu
7b162c96d2 Fix the vertical scrollbar guessing in nsHTMLScrollFrame to do better for aninitial reflow if we're doing that initial reflow a ways into the documentload. Bug 378480, r+sr=roc 2007-04-25 19:29:21 -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
a935465109 Back out. This actually hurts Tp2, the mac reftests are _still_ orange 2007-04-24 00:33:58 -07:00
bzbarsky@mit.edu
d35b8816a8 Another peformance test for bug 378480. Will back out in a few cycles. 2007-04-23 22:46:11 -07:00
benjamin@smedbergs.us
baab01ada6 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -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
enndeakin@sympatico.ca
92a8a8cf5c Bug 377663, <titlebar> should move popup if inside one instead of the window, r+sr=roc 2007-04-20 03:56:49 -07:00
Olli.Pettay@helsinki.fi
17ba873b3d Bug 378102, Remove nsIDOMEventReceiver::HandleEvent r+sr=jst 2007-04-19 16:20:29 -07:00
sayrer@gmail.com
b80cfd9871 Bug 368994. move mochitests near the code they test. round 7. r=bzbarsky 2007-04-16 08:18:50 -07:00
masayuki@d-toybox.com
ad3d268bbe Bug 358899 [Cocoa] Improve nsIKBStateControl implementation r=josh+ere+masaki.katakai+roc, sr=roc 2007-04-15 06:43:55 -07:00
sayrer@gmail.com
045ddc70c2 Bug 368994. Move mochitests near the code they test, round 6. r=bzbarsky 2007-04-14 10:46:36 -07:00
neil@parkwaycc.co.uk
af293ef660 Bug 376802 Use one global tooltip listener instead of creating one for each XUL element that needs one r=Smaug sr=jst 2007-04-12 13:59:01 -07:00
bzbarsky@mit.edu
3bd7eb7ed8 Adding testcase. 2007-04-11 23:40:27 -07:00
enndeakin@sympatico.ca
09da4ae19d Bug 375681, missed this file, add what-wg drag events, r=smaug,sr=roc 2007-04-11 22:56:13 -07:00
enndeakin@sympatico.ca
932380f594 Bug 375681, use drag event names from what-wg spec, also implement new drag and dragend events, r=smaug,sr=roc 2007-04-11 21:37:39 -07:00
bzbarsky@mit.edu
55f8e63858 Don't block the parser on scripts we'll never execute. Bug 371743, r+sr=sicking 2007-04-11 13:18:11 -07:00
joshmoz@gmail.com
6169494daa Draw native scrollbars using nsITheme on Mac OS X. Don't use a cocoa control. Fixes a whole host of clipping and visibility bugs and bugs 339447, 369293, 370439. r=josh sr=roc 2007-04-10 17:25:11 -07:00
enndeakin@sympatico.ca
491dee3f8f Bug 376428, don't parse onpageshow/onpagehide as events on xul elements, fixes regression in update window, r=sr=sicking 2007-04-04 11:31:56 -07:00
enndeakin@sympatico.ca
7bf55f72a1 Bug 366478 - consolidate lists of onX event attributes, r=smaug,jwatt,sr=sicking 2007-04-02 10:17:36 -07:00
roc+@cs.cmu.edu
f4f5ffd56c Bug 374988. MSVC doesn't pack PRPackedBool bitfields properly, and PRBool field:1 means that the value for 'true' is -1, so use PRUint32 instead. r+sr=sicking 2007-03-27 20:57:36 -07:00
dbaron@dbaron.org
e7bb1b1c38 Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg 2007-03-27 08:34:59 -07:00
dbaron@dbaron.org
d98d9fdec5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
masayuki@d-toybox.com
b692fe6629 Bug 236546 newlines not added when copying table into clipboard with CTRL+mouse. patch by Jeff Schiller<codedread@gmail.com> r+sr=jst 2007-03-27 08:10:23 -07:00
Olli.Pettay@helsinki.fi
a1dca72a56 375196, r+sr=roc 2007-03-25 22:38:22 -07:00
asqueella@gmail.com
2da152ddf7 Bug 371123 - XMLHttpRequest should trigger content policies
p=Wladimir Palant <trev@gtchat.de>r=jst, sr=sicking
2007-03-24 22:35:39 -07:00
Olli.Pettay@helsinki.fi
bd6edd6ac3 Bug 288392, DOMSubtreeModified event, r=peterv, sr=jst 2007-03-24 05:18:02 -07:00
roc+@cs.cmu.edu
c193edd10b No bug. A variety of fixes to fix various reftest failures. Not Part Of The Build. 2007-03-24 04:07:36 -07:00
roc+@cs.cmu.edu
6e752fb3b8 Bug 333659. nsLineBreaker fixes. Not Part Of The Build, used by new-textframe only. 2007-03-22 16:45:02 -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
8d3c347199 Fix for bug 374449 (Most callers of nsIDocument::RemoveReference leak). r/sr=jst. 2007-03-20 17:39:25 +00:00
enndeakin%sympatico.ca
6ccc9fa0b8 Bug 178513, support translucent drag feedback when dragging nodes and selections on Mac and GTK, r=vlad,josh,roc,sr=roc 2007-03-20 12:14:52 +00:00
dbaron%dbaron.org
405d600298 When drawing images, track full source and dest regions (unclipped) or use floats, to avoid rounding problems with advanced image resizing algorithms. b=371434 r=vlad r+sr=roc 2007-03-20 00:58:20 +00: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
peterv%propagandism.org
1d3cbe3dc2 Fix for bug 373417 (slots->mControllers only exist for XUL nodes). Patch by sicking, r/sr=peterv. 2007-03-18 18:16:33 +00:00
roc+%cs.cmu.edu
81867edd87 Bug 367447. Support <link rel="offline-resource">. Patch by Dave Camp, r+sr=biesi 2007-03-14 01:52:07 +00:00
roc+%cs.cmu.edu
314f2ab5fd Bug 336682. Fix online/offline events to target and bubble propertly, and so that <body ononline= onoffline=> works. Patch by Chris Double, r+sr=jst,r=dbaron 2007-03-14 01:42:42 +00:00
jruderman%hmc.edu
856b7c03be Bug 373464, Shutdown crash [@ nsContentUtils::DropScriptObject]. r+sr=peterv. 2007-03-11 10:46:06 +00:00
tor%cs.brown.edu
eaeda066b9 Bug 373089 - add a ParentChainChanged notification to nsIMutationObserver.
r+sr=sicking
2007-03-10 13:49:43 +00:00
jonas%sicking.cc
4189274b26 back out unintended parts 2007-03-10 03:25:48 +00:00
jonas%sicking.cc
989b3a3171 Bug 371846: Kill unneccesary ownership management code in nsBindingManager::SetAnonymousNodesFor. r=smaug sr=jst 2007-03-10 03:25:47 +00:00
dbaron%dbaron.org
b61792905e Add include to fix bustage. 2007-03-10 00:12:56 +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
dbaron%dbaron.org
e19b9e8e92 Add debugging code to cycle collector to give information about objects it has been told ought to be freed. b=372766 r=graydon sr=peterv 2007-03-09 23:00:14 +00:00
peterv%propagandism.org
a267e57680 Fix for bug 373219 (ASSERTION: Fault in cycle collector: null XPCOM pointer returned (ptr: 0)). r/sr=dbaron. 2007-03-09 13:14:06 +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