Commit Graph

247 Commits

Author SHA1 Message Date
Boris Zbarsky
8c09ee17b6 Bug 537507. Make sure to flag XUL documents as allowing InitialReflow to be called on the presshell even if there are no presshells around when StartLayout is called on the document. r=jst 2010-01-13 11:30:11 -05:00
Robert O'Callahan
dd13d8b675 Bug 526394. Part 9: More conversion for nsEventStateManager and nsImageDocument. r=smaug 2010-01-12 10:45:04 +13:00
Olli Pettay
63fd91b1fa Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc 2010-01-07 12:36:11 +02:00
Simon Montagu
09e84c09b6 Bug 224547: Change the organization of the window title bar for RTL XUL windows. Part 1, refactoring, r=enndeakin 2009-12-21 12:21:52 +02:00
Boris Zbarsky
cc6eb188e6 Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron 2009-12-10 14:36:04 -08:00
Blair McBride
8f2043ae0f Bug 528792 - :-moz-lwtheme incorrectly depends on the lwthemetextcolor attribute. r=dbaron 2009-11-16 09:27:44 +01:00
Mats Palmgren
7da2fe4fcf Crash test for bug 497875. 2009-11-07 04:28:26 +01:00
Mats Palmgren
6ebcd4414c Null-check mCurrentPrototype (it's set to null when loading an overlay fails). b=497875 r=neil 2009-11-06 22:52:00 +01:00
Taras Glek
0f83b72143 Bug 524313: crash [@ RaiseException ] nsFastLoadFileReader::ReadFooter r=brendan
--HG--
extra : rebase_source : d9f2f41d0c2dfc0e7a2d90c97789e66a38c3f43f
2009-10-26 12:35:12 -07:00
timeless@mozdev.org
11b6d8a3b1 Bug 270042 - Crash on startup [@ nsXULDocument::OnStreamComplete(nsIStreamLoader*, nsISupports*, unsigned int, unsigned int, unsigned char const*)], r=neil 2009-10-26 18:39:23 -07:00
Daniel Holbert
ced586e10b Bug 513461 follow-up: reorder initializer list in nsXULDocument constructor, to fix build warning. r=dbaron 2009-10-18 20:10:58 -07:00
Neil Rashbrook
93a2435dba Bug 519049 Wrong value broadcast when setting attribute twice while script blocker active r=smaug sr=bz 2009-10-13 11:11:17 +01:00
Taras Glek
bfe943ded9 Bug 412796: Optimize fastload system (mmap fileIO) r=brendan
--HG--
extra : rebase_source : 425e1c4254b8e5c7c3b9fc98efb91c06805d1f02
2009-10-08 10:30:21 -07:00
Jonas Sicking
0d2f92b52e Bug 518104 - Implement HTML5 changes to <script defer>. r=hsivonen, sr=mrbkap. (Tests fixed and code merged to tip by hsivonen.) 2009-10-02 14:13:59 +03:00
Johnny Stenback
123b209635 Fixing bug 504862. Sanitize modal dialog argument handling. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2009-10-06 17:09:16 -07:00
Chris Jones
d215e057fe Merge backout 2009-10-02 18:09:39 -05:00
Chris Jones
08de77b6a4 Backed out changeset 8cbc47eee659 2009-10-02 18:09:08 -05:00
Chris Jones
3e5fef214c bug 441324: implement infallible ::operator new(), malloc() and friends. make |new Foo()| infallible, but leave |malloc()| fallible for the time being. r=blassey sr=bsmedberg,vlad 2009-10-01 21:50:09 -05:00
Nochum Sossonko
33de430128 Bug 513461 - Implement pseudo classes for lightweight theme handling. r=dao,dbaron 2009-10-02 08:22:18 +02:00
Mats Palmgren
7a8db79bf2 Bug 494617. r=Olli.Pettay sr=jst 2009-09-22 06:21:09 +02:00
Neil Deakin
22715396a4 Bug 516076, pass a contextual window to focus controller methods, so that it retrieves the controller for the right window, r=neil,sr=smaug 2009-09-21 13:39:44 -04:00
Johnny Stenback
8127d8695e Backed out changeset 105d89f1a33b due to test failures. 2009-08-31 15:03:53 -07:00
Johnny Stenback
29b20051c6 Fixing bug 504862. Sanitize modal dialog argument handling. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2009-08-31 14:35:58 -07:00
Olli Pettay
2aa0b4e4e8 Bug 506212 - UI elements inside XBL are drawn incorrectly when initialized with broadcasters, r=sicking 2009-08-29 18:39:51 +03:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Jesse Ruderman
56d3eef776 Bug 509269 - reftest should deal with missing root. r=dbaron. May fix 468211-3 orange, too. 2009-08-08 17:50:50 -07:00
Jesse Ruderman
b18643ee81 Add crashtests for bug 468211 2009-08-08 16:48:15 -07:00
Neil Deakin
5303f25260 Bug 478416, replace chromedir attribute with :moz-locale-dir pseudoclass, r=neil,dao,dbaron,sr=dbaron 2009-07-29 14:33:53 -04:00
L. David Baron
9a8d97752d Make some of the DEBUG_CC code accessible to code in non-debug builds so it can be used by memory tools for Web developers. (Bug 500233) r+sr=peterv 2009-07-08 18:10:29 -07:00
David Bolter
281b227c46 Bug 467144 - nsIMutationObserver::AttributeChanged should provide old attribute value; r=bzbarsky, r+sr=sicking 2009-06-29 14:36:25 -04:00
Ben Newman
94f19e102d Bug 484121 (2/6) - Add nsIDTD::GetMode to eliminate heinous const_cast. r+sr=mrbkap 2009-06-23 14:22:16 -07:00
Neil Deakin
79321ef1f8 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Robert O'Callahan
d1aef5f21c Bug 495635. Don't register overlay content in the ID-map etc if it hasn't actually ended up in the document. r+sr=bzbarsky
--HG--
extra : rebase_source : 983d21b9331fac8057bd56606f91cbe20e3a62fa
2009-06-02 10:50:22 +12:00
Peter Van der Beken
98633d5f16 Fix for bug 490592 (Possible to GC way too much during shutdown due to XUL and XBL prototypes). r/sr=bz. 2009-05-07 11:19:41 -07:00
Peter Van der Beken
a45851d286 Backed out changeset 5e867032abe5 (Fix for bug 490592 (Possible to GC way too much during shutdown due to XUL and XBL prototypes).) to try to fix Tshutdown regression. 2009-05-15 14:49:21 +02:00
Peter Van der Beken
1ec8d2bfcb Fix for bug 490592 (Possible to GC way too much during shutdown due to XUL and XBL prototypes). r/sr=bz.
--HG--
extra : rebase_source : 8a05db1e4aab7dde3b38c7613488314dde05f163
2009-05-07 11:19:41 -07:00
Bob Clary
f528eded62 bug 386914 - crash test by Martijn Wargers. 2009-04-24 10:08:20 -07:00
L. David Baron
200ef7b5a1 Fix miscellaneous typos in comments that I've had in my tree for ages. 2009-04-22 10:13:48 -07:00
Neil Deakin
a6df0afb93 Bug 404798, assertions when root element is removed from xul document during inline script, r+sr=smaug 2009-04-22 08:55:54 -04:00
Boris Zbarsky
35edb04b3a Bug 485012. Allow passing a charset hint (e.g. the element's 'charset' attribute for preloads) to nsICSSLoader::LoadSheet. r+sr=peterv 2009-04-10 10:29:08 -04:00
Robert O'Callahan
d0c58fb22f Bug 340571. Removing getBoxObjectFor from non-XUL documents. r+sr=bzbarsky
--HG--
extra : rebase_source : a57cb7c4ebee2149a2cdc009400c133d4904409d
2009-03-30 13:44:48 +13:00
Boris Zbarsky
1d325109b3 Bug 481440. Make our id table always live. r=jst, sr=roc 2009-03-23 10:04:40 -04:00
Wladimir Palant
982be663a1 Bug 477979 - Add CheckLoadURI checks for more script loads. r+sr=jst 2009-02-11 15:51:37 +01:00
Boris Zbarsky
dceb36b6b7 Backing out bug 481440 (revision 8fddfa5d2748) 2009-03-23 13:32:06 -04:00
Boris Zbarsky
d8b2b9193c Bug 481440. Make our id table always live. r=jst, sr=roc 2009-03-23 10:04:40 -04:00
Arpad Borsos
8dc04b2fe9 Bug 474369 - get rid of nsVoidArray, content part; r=jwatt, sr=sicking 2009-03-20 09:15:35 +01:00
Olli Pettay
486b27fd0a Bug 480956 - HTMLDocument and some other dom objects traverse member variables even if the document is in 'nsCCUncollectableMarker::InGeneration' r+sr=peterv 2009-03-03 14:14:13 +02:00
Neil Rashbrook
2b7a424a9b Bug 475344 Need a cancellation code to indicate successful load from cache r+sr=bz 2009-02-16 11:27:22 +00:00
Olli Pettay
68e8d4d04a Bug 468211, r+sr=sicking 2009-01-31 14:56:15 +02:00
Olli Pettay
b9593d2535 Bug 471166, r+sr=sicking 2009-01-31 14:53:01 +02:00
Neil Rashbrook
249e4914e7 Excise nsCachedChromeChannel fixing bug 206691 amongst others r=bsmedberg sr=bz 2009-01-29 23:34:24 +00:00
timeless@mozdev.org
a6c651e0d3 Bug 209598 - Crash opening link from other applications [@ nsXULDocument::InsertElement], r+sr=bz 2009-01-15 20:02:22 -08:00
Olli Pettay
86970fbe9a Bug 470687, try to prevent broadcaster loops, r=enndeakin, sr=neil 2009-01-07 15:25:29 +02:00
L. David Baron
43923a2427 DeCOMtaminate nsIPresShell::GetDidInitialReflow. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:36 -05:00
Olli Pettay
016928536d Bug 468176, r=enn, sr=neil 2008-12-19 14:49:28 +02:00
Robert O'Callahan
22fce0cd91 Bug 468991. Move GetVisibleArea call to avoid using a stale visible area. r+sr=dbaron 2008-12-18 14:21:12 +13:00
Robert O'Callahan
50bd83420a Bug 469247. Implement 'canPlayType' API for video/audio elements. r=doublec,r+sr=bzbarsky
--HG--
extra : rebase_source : 06b14571546a763ee4f4b8641e8582bfff2caf8d
2008-12-17 15:11:07 +13:00
Olli Pettay
9937ff0bcb Bug 430214, patch3, r=enn,sr=neil 2008-12-03 13:12:54 +02:00
Olli Pettay
4ab4c6e4c8 Bug 461053, r=enndeakin, sr=neil 2008-12-03 12:59:07 +02:00
Peter Van der Beken
e743beb9c4 Fix for bug 457897 (Remove QI on 'this' object when calling from JS to C++). Patch by jorendorff and me, r/sr=jst. 2008-11-03 11:31:47 +01:00
Blake Kaplan
b91e4a69a6 Bug 461031 - Bring a little more sanity to parser notifications of the content sink. This should help increase responsiveness, especially on pages with lots of inline scripts. r+sr=jst 2008-10-30 14:31:00 -07:00
Ted Mielczarek
26dab6f284 bug 461395 - add support for PARALLEL_DIRS to build system, parallelize content. r=bsmedberg 2008-10-30 13:02:14 -04:00
Neil Deakin
912ddd5424 Bug 450990, make template generate recursive instead of lazy, improves performance as well, r=peterv,sr=bz 2008-10-20 11:36:05 -04:00
Honza Bambas
58b2f9a115 Bug 295994 - [r+sr=sicking] 2008-10-18 20:21:28 -05:00
Boris Zbarsky
12d064dd87 Backing out bug 450990 to try to fix leaks 2008-10-10 15:45:32 -04:00
Neil Deakin
ba78ad380e Bug 450990. Kill off EnsureContentsGenerated. r=peterv, sr=bzbarsky, sicking helped write the patch 2008-10-10 13:44:43 -04:00
Arpad Borsos
8b11d938d2 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Olli Pettay
3309372c23 Bug 457716 - XUL shouldn't always traverse all the prototypes, r+sr=peterv 2008-10-08 14:41:52 +03:00
Boris Zbarsky
4f3a824bf4 Bug 455540. Eliminate the non-OOM-failures-possible version of GetNodInfo. r+sr=jst 2008-10-07 14:53:22 -04:00
Taras Glek
390adbe464 bug 455536: s/NS_ERROR_FAILURE/NS_ERROR_OOM/ outparamdelled nsNodeInfoManager::GetNodeInfo r+sr=jsr 2008-09-25 15:46:52 -07:00
Olli Pettay
20b0d73d4e Bug 445177, delay broadcaster sync, r+sr=bz 2008-09-16 11:53:30 +03:00
Taras Glek
c26ce8e1ab bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst 2008-09-12 15:32:18 -07:00
Ted Mielczarek
468a3823fc bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
Olli Pettay
2698015dae Bug 442227, p=arenevier@fdn.fr, r=smaug,enndeakin, sr=neil 2008-09-09 13:07:35 +03:00
Peter Van der Beken
79f9a72d30 Fix for bug 443415 (Name more CC edges). r/sr=jst. 2008-09-08 20:26:46 +02:00
Eli Friedman
f3146c2988 Bug 453531: Remove dead mIsPopup member from nsXULDocument. r+sr=sicking. 2008-09-04 02:24:21 -07:00
Robert O'Callahan
1499813be0 Bug 118704. Get the document title from the DOM instead of storing it in the document object. Relanding with hopeful leak fix. r+sr=jst 2008-08-18 14:10:28 +12:00
Robert O'Callahan
65a0e17d1b Backing out bug 118704 to try to fix Windows leak orange 2008-08-16 23:27:40 +12:00
Robert O'Callahan
21fbc52690 Bug 118704. Get the document title from the DOM instead of storing it as a string in the document. r+sr=jst 2008-08-16 21:01:52 +12:00
Olli Pettay
9dd97370f8 Bug 449457, Setting xuldocument.tooltipNode may leak, r+sr=jst 2008-08-12 16:21:21 +03:00
Boris Zbarsky
1dafcd35c7 Bug 431701. Fix our inputEncoding handling to comply with the DOM spec, and fix XHR of a in-memory-only document to follow the XHR spec and send it as UTF-8. r+sr=sicking 2008-08-06 16:59:37 -04:00
Neil Deakin
25dedfa43a Bug 437640, ability to disable and remove <keyset> elements, r+sr=neil 2008-08-06 10:32:09 -04:00
Mats Palmgren
e70086744c Remove the element from the id map when it's removed from the document. b=441994 r+sr=roc 2008-06-27 16:04:19 +02:00
Robert O'Callahan
78ea2ef42a Bug 344258. Create nsReferencedElement to track which element is associated with a given ID. r+sr=jst 2008-06-25 13:55:01 +12:00
Robert O'Callahan
f6abfdb137 Removing nsElementMap 2008-06-23 17:16:18 +12:00
Robert O'Callahan
c4187f5254 Bug 344258. Make XUL use the shared ID-element map. r+sr=jst 2008-06-23 13:48:05 +12:00
Olli.Pettay@helsinki.fi
bb465783ef Bug 425814, delay xul frame loading, r=sicking,sr=bz,a=beltzner 2008-04-18 01:58:06 -07:00
jst@mozilla.org
54ae1d2978 Landing fix for bug 419716. Make us consistently deal how we're pass param tags to object tags when parsing XHTML. Patch by mrbkap@gmail.com and bent.mozilla@gmail.com, r+sr=jonas@sicking.cc, a=beltzner 2008-04-17 15:30:51 -07:00
gavin@gavinsharp.com
0ab8b765bb Back out patch for bug 295994 2008-04-08 13:50:00 -07:00
reed@reedloden.com
dce1fd1773 Bug 423833 - "Show Only This Frame code uses about: url for error pages, instead of original site url" [p=johnath@mozilla.com (Johnathan Nightingale [johnath]) r=Mano a=blocking-firefox3+] 2008-04-08 11:48:34 -07:00
johnath@mozilla.com
ff4747c23c Backing out 295994 as likely cause of reftest failure. 2008-04-04 04:09:20 -07:00
reed@reedloden.com
ba1367b3bb Bug 295994 - [p=honzab@allpeers.com (Honza Bambas [mayhemer]) r+sr=sicking a1.9=schrep] 2008-04-04 02:15:30 -07:00
reed@reedloden.com
5f9e65ed6e Bug 423787 - "XUL test template has typo in comment" [p=manish@flock.com (Manish Singh) r=sayrer] 2008-03-28 23:45:45 -07:00
peterv@propagandism.org
14a390a55a Fix for bug 415192 (Crash (within nsCycleCollector::Shutdown and nsXBLBinding::RemoveInsertionParent) with <xul:wizard>, cloneNode). r/sr=sicking. 2008-03-28 07:09:00 -07:00
bzbarsky@mit.edu
d8684248ba Just drop loads of scripts that are not signed if the loading page is. Bug 424426, r+sr=jst, a=beltzner 2008-03-24 16:58:42 -07:00
bzbarsky@mit.edu
5da89d1096 Treat <xul:script> more like <html:script>. Bug 424188, r+sr=sicking, a=dsicore 2008-03-21 22:03:57 -07:00
jst@mozilla.org
1fc6a07d2a Fixing bug 419846. Only let chrome documents load scripts from the fastload files. r=enndeakin@gmail.com, sr=bzbarsky@mit.edu 2008-03-13 15:49:45 -07:00
roc+@cs.cmu.edu
ea712ce519 Bug 413027. The XUL pref and min height for a CSS block should be its height when reflowed at its preferred width, NOT the height of the tallest line. r+sr=dbaron. Relanding with extra instrumentation in the strangely-failing mochitest test_bug199692.xul 2008-03-11 18:05:26 -07:00
neil@parkwaycc.co.uk
19e40f6f05 Fire dynamic overlay load observers in more cases b=419452 r+sr=jst a=beltzner 2008-03-05 13:32:27 -08:00
sayrer@gmail.com
98745b7529 Bug 383939. RDF datasources must implement cycle collection. r/sr=bsmedberg 2008-03-05 12:07:55 -08:00