Commit Graph

12637 Commits

Author SHA1 Message Date
bzbarsky@mit.edu
5e66b80452 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
2931d10719 Don't apply user stylesheets to native anonymous content. Bug 286895, r+sr=dbaron 2007-05-04 23:47:09 -07:00
bzbarsky@mit.edu
5a139c8a8d Propagate a stylesheet's principal to the URI and Image CSSValues derived fromthat sheet. Bug 377091, r+sr=dbaron 2007-05-02 18:15:53 -07:00
masayuki@d-toybox.com
3d8a57b83a 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
48cbd7d72e 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
32d3d359f4 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
0677644242 Don't throw from attribute sets if we can't find a script global to compile anevent handler attribute on. This happens; just don't compile it. Bug 379120,r+sr=peterv 2007-05-01 12:08:08 -07:00
bzbarsky@mit.edu
e83c55e645 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
mats.palmgren@bredband.net
7af6f06f71 Make nsWindow methods assume the caller holds a strong ref on 'this'. b=378273 r+sr=roc 2007-04-29 17:46:47 -07:00
gavin@gavinsharp.com
78b03c6869 Bug 233643: clone XUL element prototype inline style rules before they can be modified by script 2007-04-29 10:58:52 -07:00
gavin@gavinsharp.com
daff80acb4 Bug 377295: remove dependence on the binding constructor running before onload for the test from bug 366770, r=martijn 2007-04-29 10:29:19 -07:00
dbaron@dbaron.org
394f44d6ff Reduce #include dependencies on style system headers: reduce what nsRuleData.h pulls in. b=379089 r+sr=bzbarsky 2007-04-28 09:01:24 -07:00
asqueella@gmail.com
8b13adb4c2 Bug 375909 - nsCanvasRenderingContext2d incorrectly calculates some coordinates (has appunits * appunits, not appunits/appunits)p=Jeremy Lea <reg@freebsd.org>r+sr=roc 2007-04-27 07:45:21 -07:00
tor@cs.brown.edu
469ca7336a Bug 378508 - convert svg gradients to thebes. r=longsonr, sr=roc 2007-04-27 07:28:39 -07:00
asqueella@gmail.com
f6efd70be4 378327 - minor cleanup/simplification of ForwardReferences code in nsXULDocument- move AddForwardReference and ResolveForwardReferences from nsIXULDocument tonsXULDocument, make them non-virtual.- make mForwardReferences an nsTArray<nsAutoPtr<nsForwardReference> > insteadof nsAutoVoidArray.r=smaug, sr=roc 2007-04-27 07:15:25 -07:00
longsonr@gmail.com
e1a49a1bec Bug 378857 - Simplify clipPath frame access to units. r=tor,sr=roc 2007-04-27 01:42:51 -07:00
bzbarsky@mit.edu
1a863b611c Fix long-standing XBL bug where we didn't update insertion points correctly insome cases. Bug 375299, r+sr=sicking 2007-04-26 21:06:45 -07:00
bzbarsky@mit.edu
ff1caef5dc 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
a11e2edb3f 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
enndeakin@sympatico.ca
446a76e214 Bug 377423, MemoryElements not removed from the pool properly, fixes topcrash, r=peterv,sr=sicking 2007-04-26 06:03:55 -07:00
ted.mielczarek@gmail.com
467c001632 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
24c328d268 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
jruderman@hmc.edu
9a4a508274 Remove bogus assertions. Bug 344888, r+sr=tor. 2007-04-25 17:24:28 -07:00
asqueella@gmail.com
f9b2a89c07 Bug 368700 - Using TLDs in document.domain should not be allowedp=Wladimir Palant <trev.moz@adblockplus.org>r=bz, sr=dveditz 2007-04-25 13:48:28 -07:00
bzbarsky@mit.edu
3cfe7cdfcc Don't drop the old sheet when "rel" changes from one value that contains"stylesheet" to anoher. Bug 360746, r+sr=sicking 2007-04-25 11:48:18 -07:00
peterv@propagandism.org
f61971e016 Fix for bug 378595 (Improve cycle collection QI performance). r/sr=sicking. 2007-04-25 09:35:27 -07:00
bzbarsky@mit.edu
1bd6d423f6 Back out. This actually hurts Tp2, the mac reftests are _still_ orange 2007-04-24 00:33:58 -07:00
bzbarsky@mit.edu
484674884d Another peformance test for bug 378480. Will back out in a few cycles. 2007-04-23 22:46:11 -07:00
Olli.Pettay@helsinki.fi
78227c5b37 Bug 378369, Crash [@ nsEventListenerManager::FixContextMenuEvent] when firing contextmenu event in display: none iframe, r+sr=jst 2007-04-23 20:13:52 -07:00
benjamin@smedbergs.us
2e25a321f8 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
longsonr@gmail.com
5a09e35207 Bug 378023 - Fix build warnings compiling nsSVGGlyphFrame. r+sr=tor 2007-04-23 01:39:54 -07:00
bzbarsky@mit.edu
d4cb1b7d7b 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
sayrer@gmail.com
f21ac0b126 bug 378336. nsCanvasRenderingContext2D::GetInputStream uses wrong allocator. r+sr=roc 2007-04-22 21:11:04 -07:00
Olli.Pettay@helsinki.fi
74bd5a6654 Bug 378247, nsXTFElementWrapper::PostHandleEvent no longer checks NOTIFY_HANDLE_DEFAULT, p=ajvincent@gmail.com, r=me, sr=bz 2007-04-21 00:35:37 -07:00
bzbarsky@mit.edu
dd9c587591 Followup to bug 84582 to restore the old error-handling behavior here. Fixesone of the reftests. 2007-04-20 16:43:28 -07:00
bzbarsky@mit.edu
c585c92179 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
f7b1a69686 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
8df77090be Bug 378102, Remove nsIDOMEventReceiver::HandleEvent r+sr=jst 2007-04-19 16:20:29 -07:00
neil@parkwaycc.co.uk
1e5179b1b2 Bug 377577 Allow templates to generate arbitrarily nested treeitems r=Enn sr=roc 2007-04-19 12:27:11 -07:00
Olli.Pettay@helsinki.fi
87770d8f70 Bug 373998, Use inner global window as the event target in the event target chain, but outer global as DOM event target, r+sr=jst 2007-04-17 02:18:36 -07:00
philringnalda@gmail.com
55c09af394 Bug 370561 - Make nsIFormSubmitObserver scriptable, patch by Justin Dolske <dolske@mozilla.com>, r+sr=jst 2007-04-16 21:06:12 -07:00
tor@cs.brown.edu
b3c5a03a7b Bug 376929 - Remove direct use of cairo from SVG path generation.r=jwatt, sr=roc 2007-04-16 13:57:09 -07:00
sayrer@gmail.com
d7d1c2bc07 Bug 311681 xhtml tests pass now that we have an incremental XML content sink. 2007-04-16 08:53:04 -07:00
sayrer@gmail.com
0ce8af1698 Bug 368994. move mochitests near the code they test. round 7. r=bzbarsky 2007-04-16 08:18:50 -07:00
Olli.Pettay@helsinki.fi
f8dc235d9d Bug 350334, Core XBL widgets used in web pages can't listen to their own events, r+sr=jst+sicking 2007-04-15 09:28:53 -07:00
masayuki@d-toybox.com
9737b98f68 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
51fd920a47 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
41bb6169ac 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
martijn.martijn@gmail.com
9f26445a44 Mochikit test for bug 371724, r=sayrer 2007-04-12 09:10:42 -07:00
enndeakin@sympatico.ca
ff764a00c6 Bug 362906, assertion when root node in a template isn't XUL, r=smaug,sr=sicking 2007-04-12 08:55:54 -07:00
enndeakin@sympatico.ca
c3b7befff3 Bug 368721, issues with conditions on simple rules in templates,r=smaug,sr=sicking 2007-04-12 08:47:44 -07:00
bzbarsky@mit.edu
4ea7f3126e Adding testcase. 2007-04-11 23:40:27 -07:00
enndeakin@sympatico.ca
708500fbb3 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
8b6667e253 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
65e1a1fadf 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
a96b0154ec 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
peterv@propagandism.org
5be4000455 Fix for bug 372713 (Add cycle collection to RDF datasources). r=bsmedberg, sr=dbaron. 2007-04-10 15:05:41 -07:00
bzbarsky@mit.edu
51ae229c59 Make sure to end our update before we decrement mSink->mInNotification. Bug373669, r+sr=sicking 2007-04-06 17:20:09 -07:00
mats.palmgren@bredband.net
8086139084 Workaround a docshell bug by searching the child list instead of indexing with GetChildOffset(). b=162283 r=Olli.Pettay sr=roc 2007-04-04 15:21:33 -07:00
enndeakin@sympatico.ca
1bc747f685 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
longsonr@gmail.com
600eebbc4b Bug 375696 - target attribute ignored on links. r=jwatt,sr=tor 2007-04-03 01:59:11 -07:00
enndeakin@sympatico.ca
532ad7a5c9 Bug 366478 - consolidate lists of onX event attributes, r=smaug,jwatt,sr=sicking 2007-04-02 10:17:36 -07:00
Olli.Pettay@helsinki.fi
7060971da5 Bug 373483, Crash [@ nsHTMLButtonElement::PostHandleEvent] when right-clicking on the button in this testcase, r+sr=jst 2007-04-02 09:13:45 -07:00
Olli.Pettay@helsinki.fi
2ac9d63c5d Bug 374547, regression: unable to repeat xbl bound element inside another with the same binding r=jst,sr=bz 2007-04-01 05:19:44 -07:00
bzbarsky@mit.edu
2fd17c94d8 Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
longsonr@gmail.com
86ec89aeff Bug 373624 - Support transparent as a gradient and filter stop-color. r=jwatt,sr=tor 2007-03-29 01:59:06 -07:00
bzbarsky@mit.edu
78dbcf82f4 Don't look for random JS contexts; if our target doesn't have one, just bailout. Bug 349467, r=peterv, sr=jst 2007-03-28 13:37:03 -07:00
bzbarsky@mit.edu
5c510e3130 Adding test, bug 371375. 2007-03-28 13:25:20 -07:00
longsonr@gmail.com
86bb049926 Bug 374882. r+sr=tor 2007-03-28 01:54:39 -07:00
roc+@cs.cmu.edu
f21e61b37c 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
a7d9802f77 Remove GetKeyPointer method from nsTHashtable key types. b=374906 r=bsmedberg 2007-03-27 08:34:59 -07:00
dbaron@dbaron.org
20ccc7a91d Remove GetKey callbacks from nsDoubleHashtable users. b=374906 r=bsmedberg 2007-03-27 08:34:14 -07:00
dbaron@dbaron.org
85eb65ced4 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
masayuki@d-toybox.com
8eb84cfb3e 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
jwatt@jwatt.org
c82c6a087a Fixing bug 372098. HTML links with target="" should use the base target. r=Olli.Pettay@gmail.com, sr=jonas@sicking.cc 2007-03-26 06:19:33 -07:00
Olli.Pettay@helsinki.fi
cf1ccace7f 375196, r+sr=roc 2007-03-25 22:38:22 -07:00
asqueella@gmail.com
782392a877 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
asqueella@gmail.com
bde08ec16b fix bug 369828 - html/svg:style sheets don't work in XUL documents(the fix is to special-case these elements in nsXULDocument::ResumeWalkand manually call UpdateStylesheet on them after the element and its subtreeis fully constructed and inserted into the document)r=bz, sr=peterv 2007-03-24 22:20:29 -07:00
asqueella@gmail.com
b8c797ca40 Bug 373614 - remove nsIXULContentSink interface, use the underlying class directly.r=smaug, sr=roc 2007-03-24 22:02:10 -07:00
Olli.Pettay@helsinki.fi
056e66fd0c Bug 288392, DOMSubtreeModified event, r=peterv, sr=jst 2007-03-24 05:18:02 -07:00
Olli.Pettay@helsinki.fi
31ed919c5c Bug 359113, Crashes [@ nsEventStateManager::ShiftFocusInternal], r+sr=jst 2007-03-24 04:47:28 -07:00
roc+@cs.cmu.edu
29a2c959bb No bug. A variety of fixes to fix various reftest failures. Not Part Of The Build. 2007-03-24 04:07:36 -07:00
Olli.Pettay@helsinki.fi
a04e1d18ae Bug 374584, r=peterv, sr=jst 2007-03-24 03:53:07 -07:00
mats.palmgren@bredband.net
662ee970c3 Fix comment nit. b=374229 r=emaijala sr=roc 2007-03-24 02:48:17 -07:00
mats.palmgren@bredband.net
a8f510b62f Only assert that we have a non-null frame if this event requires a frame. b=374229 r=emaijala sr=roc 2007-03-24 02:45:01 -07:00
roc+@cs.cmu.edu
9878eceb62 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
465265d0d4 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