Commit Graph

345 Commits

Author SHA1 Message Date
Neil Deakin
594c36bac2 Bug 467775, ensure GetMayProcessChildren is called for all recursive template checks, r=smaug,sr=jonas 2008-12-30 08:31:00 -05:00
L. David Baron
23d4f4d4b2 Stop using nsAreaFrame for anything other than xul:label, which is the only thing for which it does anything different from nsBlockFrame, and rename it accordingly. (Bug 471356) r+sr=roc
--HG--
rename : layout/generic/nsAreaFrame.cpp => layout/xul/base/src/nsXULLabelFrame.cpp
rename : layout/generic/nsAreaFrame.h => layout/xul/base/src/nsXULLabelFrame.h
2008-12-29 10:07:38 -05:00
L. David Baron
43923a2427 DeCOMtaminate nsIPresShell::GetDidInitialReflow. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:36 -05:00
Neil Deakin
4ed141a6e6 Bug 321180, better space-separated string parsing, r+sr=jonas 2008-12-19 08:43:24 -05:00
Neil Deakin
f5177ae51d Bug 321175, change nsTemplateRule::GetAction to return nsIContent, r+sr=jonas 2008-12-19 08:43:24 -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
Neil Rashbrook
6ec101ab9e Bug 465998 Protect nsXULContentUtils against layout init failure r=Enn sr=sicking 2008-12-13 17:15:48 +00:00
Boris Zbarsky
513fd26538 Adding test 2008-12-03 12:30:22 -05: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
Olli Pettay
865f72a9f1 Bug 464009, patch2, r+sr=sicking 2008-12-03 12:39:21 +02:00
Johnny Stenback
becb9748e5 Fixing bug 425153. Fix script filenames such that our wrapper automation story is more consistent. r=jonas@sicking.cc, sr=bzbarsky@mit.edu, a=b2 blocker 2008-11-13 16:00:11 -08:00
Neil Deakin
3364fc83f0 Bug 461422 Menulists should not be generated lazily r=Neil sr=bz 2008-11-04 07:58:36 +00:00
Boris Zbarsky
e48472e60d Bug 462803. Remove dead code. r=enn 2008-11-03 11:02:25 -05: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
Masayuki Nakano
1679cb3528 Bug 453617 right-click on windowless plugins shows Firefox context menu r=enndeakin, sr=neil 2008-10-28 10:59:17 +09: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
Boris Zbarsky
187abdc558 Bug 450990. Address review comments too 2008-10-10 14:21:29 -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
Boris Zbarsky
f819f89b7d Backed out changeset 4e7a2d27d636: relanding Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc 2008-10-04 13:00:09 -07:00
L. David Baron
ba09bf22bc Backed out changeset c1f6a55626be (bug 433616, part 2) because it probably caused a Windows XP performance regression. 2008-09-30 09:51:26 -07:00
Robert O'Callahan
016f579354 Relanding bug 433616 part 2 to see if it's the cause of a Tp regression 2008-09-30 14:45:02 +13:00
Taras Glek
86d427158c bug 457303: make nsXULPopupListener::FireFocusOnTargetContent windows-only r=Enn 2008-09-29 16:44:28 -07:00
Boris Zbarsky
012ae72fd1 Backing out changesets 2ea77fa990af, 7d2d8869e73c, 93441e4f521e, 43d2ee100f3b, a2d84821ea71 to see whether they're causing the Windows Txul or Mac Tp regressions 2008-09-29 08:51:29 -04:00
Honza Bambas
5ec8229c7c Bug 398289 - persist="selectedIndex" no longer working for tabbox elements; v2; r=bzbarsky 2008-09-28 23:30:27 +02:00
Boris Zbarsky
f15bf80fc3 Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc 2008-09-28 15:15: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
Jesse Ruderman
18ed57ce3a Add crashtests for XUL leak bugs 2008-09-13 18:45:42 -07:00
Taras Glek
c26ce8e1ab bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst 2008-09-12 15:32:18 -07:00
Boris Zbarsky
284e2ff6c9 Bug 454317. Improve GetClasses to not do virtual calls when not needed. r=smaug, sr=jst 2008-09-10 23:22:20 -04: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
Mike Kaplinskiy
92f94d420d Bug 441785 - "crash when closing open rdf files or right click on tree after opening rdf files [@ nsXULTemplateQueryProcessorRDF::CheckIsSeparator]" [r=Enn sr=jst] 2008-08-19 23:16:46 -05:00
Jonas Sicking
9fb7b3415e Bug 447917: Implement the Implement ElementTraversal. Also implements a .children property that is a NodeList of all element children. This is a subset of the IE property with the same name. r=smaug sr=peterv 2008-08-04 17:58:16 -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
baa891763c Bug 113934. Backend and some minimal front end for dragging tabs between windows. r=gavin, r+sr=jst 2008-08-11 09:38:43 +01:00
Dave Townsend
3af4f7166c Backed out changeset eb6fda3be5bb 2008-08-10 17:15:00 +01:00
Boris Zbarsky
1b9a4caf46 Bug 113934. Backend and some minimal front end for dragging tabs between windows. r=gavin, r+sr=jst 2008-08-07 19:15:40 -04: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
L. David Baron
2c2f6ed495 Change the binding parent for native anonymous content to work like the binding parent for XBL anonymous content, and be the parent of the anonymous content subtree rather than the root of the anonymous content subtree. (Bug 436453) r=bzbarsky,smaug,surkov sr=bzbarsky 2008-07-22 21:50:20 -07:00
ginn@localhost
176aec0dbf Bug 440724 Folder tree couldn't open/close Thunderbird compiling with Sun Studio 12 x86, r=enndeakin sr=neil 2008-07-18 18:03:04 +08:00
Benjamin Smedberg
c72d3edaa5 Bug 441608 - Make nsAssignment members const and get rid of the unnecessary empty constructor and copy-assignment operators, r=Enn 2008-07-15 07:06:54 -04:00
Boris Zbarsky
5c5b4e41fc Add a faster method for iterating the nsIContent children of an
nsINode if we know that there will be no DOM mutations of any sort
during the iteration.  Bug 429744, r+sr=jst
2008-07-11 16:42:19 -04:00
Benjamin Smedberg
ec69c9db81 Bug 442735 - Annotate classes in dom/content which only appear on the stack, r+sr=jst 2008-06-30 21:03:50 -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
bc9ead0ab1 Bug 434251, r+sr=jst 2008-06-04 23:23:37 +03:00
jst@mozilla.org
a9312493fa Fixing bug 432591. Only register event handlers on inner windows. r+sr=jonas@sicking.cc, a=dsicore 2008-05-07 21:57:21 -07:00
roc+@cs.cmu.edu
38e56fa13d Bug 406730. Track window activation status and set an 'active' attribute on the XUL root so we can style window contents based on activation status. Also provide active+inactive colors to Cocoa chrome drawing and use them based on 'main' state. Patch by Markus Strange, r=josh,sr=roc,a=mconnor 2008-05-02 04:32:50 -07:00
jonas@sicking.cc
c7c8c617b2 Change reftest and crashtest in preparation for bug 379959 to not use data-urls for -moz-binding. r=dholbert. Test changes only. 2008-04-23 21:41:33 -07:00
roc+@cs.cmu.edu
ac52ed39ff Bug 312225. When we flip a menu vertically to keep it off the bottom of the screen, we need to reverse the 2px vertical offset from the mouse cursor that we introduce for context menus. 2008-04-23 14:25:34 -07:00
jonas@sicking.cc
ea7b3dfeb2 Bug 423269: Don't add scriptblockers around StartUpdate/EndUpdate batches as script is likely to execute at the last EndUpdate. Also for now, restore full functionality to scripts running while there are scriptblockers. r/sr=bz a=beltzner 2008-04-18 10:20:11 -07: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
enndeakin@sympatico.ca
522a7aa5c1 Bug 422121, crash sorting xml built templates, add some null checks, r=smaug,sr=jonas,a=beltzner 2008-04-17 09:19:30 -07:00
jonas@sicking.cc
e639cf9471 Bug 423355: Make sure that we never remove removable blockers more than once. Also make sure to never fire mutation events when it's not safe to run script. r/sr=bz/roc a=beltzner 2008-04-14 16:59:21 -07:00
bent.mozilla@gmail.com
7e4ac1fa4a Bug 425551 - "Fix async DOM events from keeping link elements alive past unlink". r+sr=sicking, a=beltzner. 2008-04-11 10:29:06 -07:00
jonas@sicking.cc
b8a008856b Backing out due to test failures 2008-04-08 20:20:39 -07:00
jonas@sicking.cc
5e5ddf5b3f Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking 2008-04-08 19:06:27 -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
jonas@sicking.cc
cbc8074656 Bug 408268: Don't crash when closing a window while customize toolbar palette is open. r=Neil Deakin, sr=jst 2008-04-07 16:26:56 -07:00
gavin@gavinsharp.com
aaac62d073 Back out patch for bug 423355 due to unit test failures 2008-04-04 18:11:50 -07:00
jonas@sicking.cc
7b0e38bbed Bug 423355: Fix bug in blocker unnesting code. Also make sure to never fire mutation events when it's not safe to run script, even if the event isn't catchable by content. r/sr=bz 2008-04-04 17:06:36 -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
bent.mozilla@gmail.com
0c0f3177d5 Bug 421150 - "XUL template leak (was: Firefox leaks on first start with Adblock Plus installed)". r=enn, sr=bz, a=blocking1.9+. 2008-03-28 12:39:28 -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
enndeakin@sympatico.ca
d300f74f33 Bug 424482, full keyboard access setting not respected regression, add test as well, r=smaug,sr=neil 2008-03-27 09:19:05 -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
Olli.Pettay@helsinki.fi
8ef915d47c Bug 395609, r=roc+sicking, sr=sicking, a=beltzner 2008-03-21 04:18:10 -07:00
Olli.Pettay@helsinki.fi
0201fb1fef Bug 421366, [@ nsContentUtils::IsEventAttributeName] r+sr=peterv 2008-03-19 12:44:08 -07:00
dbaron@dbaron.org
537f2f5b13 Add knowledge of edge names to cycle collector, ifdef DEBUG_CC. b=420514 r+sr=peterv a=damons 2008-03-17 16:11:08 -07:00
jonas@sicking.cc
da4cab3b75 Bug 401155: Make it safe to create a wrapper for an object at any time by making sure wrapping doesn't write script. Also set up a service that tries to keep track of when it's safe to execute script. r=bz sr=jst 2008-03-14 16:08: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
enndeakin@sympatico.ca
0cadd7ce0d Bug 421810, focus not shifting to browser, only check the focus model for controls, r=smaug,sr=neil 2008-03-13 07:07:23 -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
enndeakin@sympatico.ca
fe6d7b2a9c Bug 415704, treat tabindex and focusability as separate, so Full Keyboard Access setting doesn't affect things incorrectly, fixes More Info button in identity panel, r=smaug,sr=neil 2008-03-07 08:33:38 -08: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