Commit Graph

2844 Commits

Author SHA1 Message Date
Craig Topper
ef96f55ca1 Convert some callers of methods that changed from returning already_AddRefed<T> to returning T* away from using unneeded nsCOMPtrs. (Bug 239008) r=dbaron 2010-05-17 21:00:40 -07:00
Peter Van der Beken
dff32db5c4 Fix for bug 560462 (Use fast unwrapping for more quickstubs) - add non-addrefing GetElementById and GetBody, add nsContentList-returning GetElementsByTagName(NS) and GetElementsByName. r=jst. 2010-04-19 17:41:38 +02:00
Boris Zbarsky
8ccd3c1fea Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
Dave Townsend
20d106ddba Bug 565610: Allow XUL overlays to apply to documents loaded from about: URIs. r=bz 2010-06-18 20:57:53 -07:00
Boris Zbarsky
e59068ace2 Bug 479655 part 2. Add element restyle flags. r=dbaron, sr=jst 2010-06-18 12:23:04 -04:00
Boris Zbarsky
a7fe40c015 Bug 479655 part 1. Add some assertions to catch it if we add too many flags. r=jst 2010-06-18 12:23:04 -04:00
Neil Deakin
f70fb88780 Bug 379745, add some additional template sort hint options to sort case-insensitive, sort by integers, and skip natural sort order, r=neil,sr=sicking 2010-06-16 13:09:51 -04:00
Chris Jones
bd6bf48e7a Merged m-c 2010-04-27 01:53:06 -05:00
Ben Newman
bd232d2cb8 Replace direct instantiations of nsRunnableMethod with calls to the templatized NS_NewRunnableMethod function (part 3/3 of bug 558498). r=dwitte sr=dbaron 2010-04-20 16:21:35 -07:00
Oleg Romashin
b729e295a5 Merged with mozilla-central 2010-04-22 20:22:26 -04:00
Neil Deakin
b627649b3d Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
Chris Jones
8cd39f1f00 Merge mozilla-central 2010-04-16 01:34:35 -05:00
Oleg Romashin
8cafa44858 Merged with mozilla-central 2010-04-07 06:59:04 -04:00
Doug Turner
19845bed4d merge from m-c. manually merging modules/plugin/test/testplugin/nptest.cpp dom/plugins/PluginModuleChild.cpp. 2010-03-26 14:22:48 -07:00
Olli Pettay
9f27b8433c Bug 571390 - classList is always empty on xul elements, r=bz
--HG--
extra : rebase_source : 00d58d4fa7e0bffe2bf6b60b4d8a74fd0e27eebe
2010-06-14 10:29:54 +03:00
Craig Topper
fd9001c409 Bug 554253 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : d828daca07188864d055f3d1a72f5217632eb358
2010-03-25 14:17:11 +01:00
Robert Sayre
39676ac642 Merge tracemonkey to mozilla-central. 2010-05-06 08:50:41 -04:00
Boris Zbarsky
fb534f9674 Bug 562971. Include Element.h as mozilla/dom/Element.h and don't use 'using namespace' quite as much. r=jst 2010-05-05 14:18:05 -04:00
Jeff Walden
23aeebc511 Bug 552560 - Remove support for __parent__. r=mrbkap 2010-04-11 13:51:00 -07:00
Craig Topper
bd3c6ba927 DeCOMtaminate nsIStyleSheet method signatures. (Bug 239008) r=dbaron 2010-05-12 13:18:47 -07:00
Craig Topper
b08d6c5ef5 Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
Craig Topper
25d5518e18 Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
Peter Van der Beken
85c9e641b0 Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst.
--HG--
extra : rebase_source : 9a7823b365cfca04bb08c5be94eab29d218f1e61
2010-01-12 14:08:43 +01:00
Mitchell Field
0fd15d94da Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
Ben Newman
bb75ed49d1 Bug 516522 - CPOW: Cross-Process (JavaScript) Object Wrapper. r=mrbkap r=bent sr=jst 2009-11-06 12:43:39 -08:00
Markus Stange
00fbecd8b0 Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst 2010-03-17 18:10:57 +01:00
Serge Gautherie
db883dd7ea Bug 553807 - "ASSERTION: Value of subject is not set: 'subjectValue', file .../nsRDFBinding.cpp, line 286"; (Av1) Remove silly assertion.
r=enndeakin.
2010-03-20 18:45:32 +01:00
Neil Deakin
7bd824158e Better logging for errors in xul template tests, no bug 2010-03-19 07:51:11 -04:00
Peter Van der Beken
e1c6294f66 Fix for bug 552716 (Remove NS_INTERFACE_MAP_ENTRY_CONTENT_CLASSINFO). r=jst.
--HG--
extra : rebase_source : 8e03b54ff6117dcac27188b296c59dcafbb6db78
2010-03-17 16:09:05 +01:00
Markus Stange
d0207d99c6 Backed out changeset e17c076aceea, bug 508482 (:-moz-window-inactive pseudoclass) because of test_righttoleft.xul test failures. 2010-03-17 20:03:53 +01:00
Markus Stange
4a7a64bc2e Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst 2010-03-17 18:10:57 +01:00
Olli Pettay
98f8512c04 Bug 538195, null check JSObject when creating XULProtos, r=peterv 2010-06-09 19:10:49 +03:00
felipc@gmail.com
e376a5e6f1 Bug 547996 - Be able to tell when a click was generated by a tap on the screen, r=smaug,jimm, sr=jst 2010-04-06 15:59:24 +03:00
Daniel Holbert
6219dad190 Bug 551298, patch D: Use NS_INLINE_DECL_REFCOUNTING in /content/ directory. r=sicking 2010-04-01 11:05:40 -07:00
Daniel Holbert
9a588376e3 Backed out changeset 13819d2e9bd8 (Bug 551298) due to Linux debug mochitest-5 orange 2010-04-01 09:37:26 -07:00
Daniel Holbert
ca50c7092d Bug 551298, patch D: Use NS_INLINE_DECL_REFCOUNTING in /content/ directory. r=sicking 2010-04-01 08:08:51 -07:00
Daniel Holbert
5732abd0d7 Bug 556005: Remove unused variable 'rv' from nsXULDocument.cpp. r=bz 2010-04-01 08:07:22 -07:00
Craig Topper
b37453ff6d Bug 555888 - Convert nsCOMPtr<nsPresContext> to nsRefPtr<nsPresContext>. r=roc
--HG--
extra : rebase_source : fd3a575d23d76c0adeed53ae6b83268484988014
2010-03-31 13:09:11 +02:00
Laurent Jouanneau
d6faf3a8df Bug 543710 - Logging for XUL template based on storage; The patch to commit.
r=enndeakin sr=neil.
2010-03-09 01:02:27 +01:00
Jonas Sicking
0e6d5d8188 Bug 534136 Part 3: Optimize atom-using code for the fact that atoms store 16bit strings. Also take advantage of new nsAtomString API. r=bz 2010-03-08 07:45:00 -08:00
Jonas Sicking
c7c7514f75 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Chris Jones
a7ca970622 Bug 441324, part 1: Shuffle around includes to avoid problems with #define malloc et al. r=bsmedberg 2010-03-03 23:02:55 -06:00
Zack Weinberg
6ce13b76a5 Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
2010-03-02 13:00:53 -08:00
Zack Weinberg
1fdb0388ba Bug 523496: DeCOMtaminate nsCSSParser. r=bzbarsky sr=dbaron
--HG--
rename : layout/style/nsICSSParser.h => layout/style/nsCSSParser.h
2010-03-02 12:59:32 -08:00
Jesse Ruderman
ff8208a031 Add crashtests 2010-02-27 13:04:34 -08:00
Boris Zbarsky
a0bacc22e3 Bug 534526 part 1. Remove a SetAttrAndNotify caller by making XUL inherit from nsStyledElement. r=sicking 2010-02-23 23:37:46 -05:00
Neil Deakin
3cb7c0acf7 Bug 528491, combine nsFocusController and nsWindowRoot, r=jst,sr=smaug 2010-02-20 11:07:03 -05:00
Boris Zbarsky
1f5e3f44d1 Bug 547342 attempted fix. Since scrollToRow doesn't flush layout, and since layout is what sets up the tree view, and since scrollToRow bails out early if there's no view, make sure to flush layout before calling scrollToRow. But we should really consider fixing scrollToRow instead. 2010-02-19 23:35:17 -05:00
Timothy Nikkel
895e60343d Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc 2010-02-18 13:23:23 -06:00
Timothy Nikkel
0483c805d9 Backed out changeset 93c7b23284b8 (Bug 545593) for causing Md oth failures on linux. 2010-02-12 16:46:04 -06:00
Timothy Nikkel
4f8c3bd548 Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
--HG--
extra : rebase_source : 963053b0f3d5712308b53c665dddcedae08a2b21
2010-02-11 18:14:59 -06:00
Jae-Seong Lee-Russo
082e12c87c Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05:00
Peter Van der Beken
e0badab2b6 Fix for bug 540443 (Change one argument of nsContentUtils::CheckSameOrigin from nsIDOMNode to nsINode). r=bz. 2010-01-12 14:08:44 +01:00
Neil Deakin
451c9fc14a Bug 543821, iterate a bit more and wait for the xml datasource to load in this test, should fix intermittent orange 2010-02-04 09:12:41 -05:00
Neil Deakin
16dc90226c Bug 543634, fix intermittent orange in template test by waiting until data is loaded before adding expected error messages 2010-02-02 12:18:37 -05:00
Neil Deakin
b23667db1f Bug 321169, add logging facility to xul templates, r=sicking,sr=neil 2010-02-01 13:09:47 -05:00
Boris Zbarsky
b11e1b25ea 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
88696f1094 Bug 526394. Part 9: More conversion for nsEventStateManager and nsImageDocument. r=smaug 2010-01-12 10:45:04 +13:00
Olli Pettay
c0f0d7e3a5 Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc 2010-01-07 12:36:11 +02:00
Nochum Sossonko
2738155859 backout changeset dfc79d02e945, bug 530374 due to build failure 2009-12-30 19:04:52 -05:00
Jae-Seong Lee-Russo
58cdd43a57 Bug 530374 - Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in xslt, r=jonas 2009-12-30 18:27:30 -05:00
Ms2ger@gmail.com
91560b026e Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Boris Zbarsky
c58001cbc4 Bug 500882 part 4. Switch content module to using the new GetPrimaryFrame API. r=smaug, sr=roc 2009-12-24 16:20:05 -05:00
Simon Montagu
9da073015b 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
Neil Deakin
0ae60a4b04 Bug 321177, use recursive algorithm to find member variable, r=jonas 2009-12-15 11:07:50 -05:00
Boris Zbarsky
b694bf4f11 Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron 2009-12-10 14:36:04 -08:00
Jesse Ruderman
38f061b3b9 Add crashtests for a few bugs 2009-12-06 17:53:38 -08:00
enndeakin@gmail.com
263703657b Bug 525856 - White-space in source code affects how link receive focus from keyboard (tab key), r=smaug, sr=roc 2009-11-20 14:09:33 +02:00
Blair McBride
b325aad4d2 Bug 528792 - :-moz-lwtheme incorrectly depends on the lwthemetextcolor attribute. r=dbaron 2009-11-16 09:27:44 +01:00
Mats Palmgren
a91ff35e31 Crash test for bug 497875. 2009-11-07 04:28:26 +01:00
Mats Palmgren
998928868a 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
Gijs Kruitbosch
35639a9061 Followup fix for bug 524995, r=gavin 2009-10-30 10:57:36 +01:00
Boris Zbarsky
4c55c31dc5 Bug 467005. Be smarter about our removable script blockers. r=sicking 2009-10-29 21:48:38 -04:00
Gijs Kruitbosch
c888c1980e Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995
--HG--
extra : rebase_source : d8414b8de165cf2fa534719c36416d82d21872c6
2009-10-29 14:44:10 +01:00
Taras Glek
3ee5c41dde Bug 524313: crash [@ RaiseException ] nsFastLoadFileReader::ReadFooter r=brendan
--HG--
extra : rebase_source : d9f2f41d0c2dfc0e7a2d90c97789e66a38c3f43f
2009-10-26 12:35:12 -07:00
timeless@mozdev.org
5077192f39 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
Benjamin Smedberg
3ff2200833 Bug 523438 - make nsFrameLoader* available to content/layout, r=bz
--HG--
extra : rebase_source : 60958c8e1cfeb150f8f48f549b2043637c910e99
2009-10-20 17:33:59 -04:00
Markus Stange
6c3dfba67c Bug 515880 - Add drawintitlebar attribute to XUL root elements and sync it to the window widget. r=neil, sr=roc 2009-10-21 09:05:34 +02:00
Daniel Holbert
1d3e960d2d 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
54fdd39340 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
0192baad2a Bug 412796: Optimize fastload system (mmap fileIO) r=brendan
--HG--
extra : rebase_source : 425e1c4254b8e5c7c3b9fc98efb91c06805d1f02
2009-10-08 10:30:21 -07:00
Jonas Sicking
243d32f0ea 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
0f5b5ba5ba 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
2151b59798 Merge backout 2009-10-02 18:09:39 -05:00
Chris Jones
708e2e04ae Backed out changeset 8cbc47eee659 2009-10-02 18:09:08 -05:00
Chris Jones
f2df9d3504 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
6c269632c9 Bug 513461 - Implement pseudo classes for lightweight theme handling. r=dao,dbaron 2009-10-02 08:22:18 +02:00
Jonas Sicking
b41c433cea Bug 562791: Add NS_TIME_FUNCTION and friends to content code. r=jst 2010-04-30 12:40:59 -07:00
Boris Zbarsky
b398d9af92 Bug 562688 part 15. Remove the eELEMENT bit. r=jst 2010-04-30 09:12:06 -04:00
Boris Zbarsky
5c10ea255d Bug 562688 part 8. Change broadcasters to use Element. r=jst 2010-04-30 09:12:06 -04:00
Boris Zbarsky
7accfbd87e Bug 562688 part 7. Eliminate eELEMENT users in the rest of content/. r=jst 2010-04-30 09:12:06 -04:00
Boris Zbarsky
7baad57df7 Bug 562688 part 5. Change the document id and named item table APIs to use Element. r=jst 2010-04-30 09:12:05 -04:00
Boris Zbarsky
9c2ad4b2aa Bug 562688 part 4. Change GetRootContent and the like to return Elements. r=jst, sr=sicking 2010-04-30 09:12:05 -04:00
Mitchell Field
f544d71a9d Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
David Zbarsky
3d96b7b4a7 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
David Zbarsky
c16525f18a Bug 507762: Parse CSS style sheets independently of case-sensitivity, and instead check case correctly when using the stylesheets. r=dbaron 2009-09-28 23:07:45 -07:00
Mats Palmgren
edb58eb3cb Bug 494617. r=Olli.Pettay sr=jst 2009-09-22 06:21:09 +02:00
Neil Deakin
dc9b8b8573 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
Neil Deakin
b01608f3d8 Bug 510335, add support for right/bottom attributes in stack, remove left/top css property support, r=neil,sr=bz 2009-09-13 17:13:54 -04:00
Daniel Holbert
1b7ae528d3 Bug 474049: (first patch) Add SMILOverrideStyle rule & accessors on nsIContent/nsGenericElement, to store SMIL-animated style values. r=dbaron r=bz 2009-09-02 17:28:37 -07:00
Johnny Stenback
7dfc767546 Backed out changeset 105d89f1a33b due to test failures. 2009-08-31 15:03:53 -07:00
Johnny Stenback
abda1a2206 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
5b8cb3a36c Bug 506212 - UI elements inside XBL are drawn incorrectly when initialized with broadcasters, r=sicking 2009-08-29 18:39:51 +03:00
Peter Van der Beken
cf46d66dc3 Fix for bug 510677 (Avoid XPCCallContext for WrapNativeToJSVal). r/sr=jst.
--HG--
extra : rebase_source : 647f360f5603a2f9ade579a9911ba51af1db91b5
2009-08-14 21:00:24 +02:00
Benjamin Smedberg
ba372f3a4c 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
Boris Zbarsky
8f435d226b Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
0aa6350041 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Olli Pettay
733f25a2d0 Bug 495883 - ASSERTION: Unable to get an nsIScriptGlobalObject from the ScriptGlobalObjectOwner, r=sicking
--HG--
extra : rebase_source : 7e0670c8165de7e761ed5adec653dac676e00982
2009-08-19 12:09:26 +03:00
Timothy Nikkel
cb4adb8fa2 Bug 508927 minor cleanup. In debug listing of XUL content get rid of the leading '<' so that angle brackets balance. r=bzbarsky, a=beltzner for CLOSED TREE 2009-08-13 11:38:23 -04:00
Jesse Ruderman
e38b0056c7 Make crashtests.list point to a file that actually exists 2009-08-09 12:00:47 -07:00
Jesse Ruderman
7a7e78b40f 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
e0d7c72252 Add crashtests for bug 468211 2009-08-08 16:48:15 -07:00
Olli Pettay
16d049ed6b Bug 477071, r=enndeakin, sr=neil
--HG--
extra : rebase_source : d19ed0f318958f9905c77e22c257737cdbc7bb6b
2009-08-06 17:35:07 +03:00
Robert O'Callahan
2c969d8724 Backed out changeset 60add17e8ed3 2009-08-05 16:44:03 +12:00
Yu-Hsun Lin
c5041f44f7 Bug 486081. Remove unused nsTime class. r=roc
--HG--
extra : rebase_source : 582694b45d1d56759a619a4243abfc5a05453d8a
2009-08-05 14:39:05 +12:00
Olli Pettay
70ed89fb1b Bug 506081 - dataTransfer.setData makes scrollbars draggable off of themselves on dragstart events, r=enndeakin, sr=neil 2009-08-03 10:55:35 +03:00
Neil Deakin
69bd6c8514 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
dfd2b373c7 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
Olli Pettay
80837507f7 Bug 496567 - Remove nsXULCommandEvent and nsIDOMXULListener, r=neil, sr=sicking 2009-06-30 10:56:40 +03:00
David Bolter
047c8ca2a3 Bug 467144 - nsIMutationObserver::AttributeChanged should provide old attribute value; r=bzbarsky, r+sr=sicking 2009-06-29 14:36:25 -04:00
Henri Sivonen
8803c27a7f Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-29 00:44:22 +02:00
Johnny Stenback
87138ce673 Backed out changeset 168dd0eb7283 2009-06-28 11:47:11 -07:00
Henri Sivonen
fb74340ed2 Merge trunk into HTML5 repo 2009-06-26 18:22:48 +03:00
Neil Deakin
65d8462672 Bug 455590, use new drag and drop api with trees, r=neil,sr=smaug 2009-06-24 13:12:33 -04:00
Henri Sivonen
4108e0ae0f Merge trunk into HTML5 repo 2009-06-16 12:18:59 +03:00
Neil Deakin
d430acae31 Bug 497562, accesskeys on radio don't focus properly, r+sr=neil 2009-06-15 11:08:41 -04:00
Ben Newman
be66be8cc9 Bug 484121 (2/6) - Add nsIDTD::GetMode to eliminate heinous const_cast. r+sr=mrbkap 2009-06-23 14:22:16 -07:00
Olli Pettay
3c487cc506 Bug 497178 - Make nsPIDOMEventTarget::GetListenerManager to return nsIEventListenerManager*, r+sr=peterv
--HG--
extra : rebase_source : e92146a2236fe857aff7b2a9b1516b30174b8d83
2009-06-23 14:23:52 +03:00
Olli Pettay
5c69014ee8 Bug 486990 - Context Menu can be disabled by stopping propagation, r=enn, sr=neil 2009-06-23 13:07:39 +03:00
Olli Pettay
8fc5865bba Bug 499667 - Remove nsIDOMDragListener, r+sr=sicking 2009-06-23 12:13:01 +03:00
Henri Sivonen
5cad7e2a33 Merge trunk into HTML5 repo 2009-06-11 17:00:20 +03:00
Neil Deakin
15df29db77 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
Henri Sivonen
34a9141081 Merge trunk into HTML5 repo 2009-06-05 14:52:43 +03:00
Henri Sivonen
5f070d1f64 Bug 484988 - Make HTML5 parser-performed removals notify but not fire mutation events 2009-05-28 20:42:26 +03:00
Olli Pettay
861ae41fba Bug 492037 - EndUpdateBatch not being called for tree builders in some cases, r=neil,kairo,mossop
--HG--
extra : rebase_source : 165c6eac689cbffc2007519d5202711017f49edd
2009-05-22 12:04:02 +03:00
Olli Pettay
ca454dd82e backout Bug 492037 2009-05-21 22:35:49 +03:00
enndeakin@gmail.com
668663815c Bug 492037 - EndUpdateBatch not being called for tree builders in some cases, r+sr=smaug
--HG--
extra : rebase_source : 1fe10dd0ee2b7af313f80bdeb8241cd0d7757141
2009-05-20 13:57:01 +03:00
Olli Pettay
acbff4f66d Bug 495444, r=enn,sr=neil
--HG--
extra : rebase_source : a4eaa6a8c816630456381b78f436447159bd44a8
2009-06-15 12:46:39 +03:00
Phil Ringnalda
cbc3c0c493 Bug 495025 - content/xul/content builds its tests unconditionally, r=ted 2009-06-13 11:53:37 -07:00
Neil Deakin
b8523ccc63 Bug 494113, wait for datasources to load in test for bug 441785, r=smaug
--HG--
rename : content/xul/templates/src/crashtests/441785-1.rdf => content/xul/templates/tests/bug441785-1.rdf
rename : content/xul/templates/src/crashtests/441785-2.rdf => content/xul/templates/tests/bug441785-2.rdf
rename : content/xul/templates/src/crashtests/441785-1.xul => content/xul/templates/tests/test_bug441785.xul
2009-06-12 14:23:15 -04:00
Neil Deakin
9820b08314 Bug 378893, fix template tests so that they wait for the datasource to load first, r=smaug 2009-06-12 14:23:14 -04:00
Peter Van der Beken
b64b14221a 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
a13d3e8fd0 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
Robert O'Callahan
9d60c52786 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
Arpad Borsos
e6fe766c98 Bug 497068: Fix "will be initialized after" warnings; r=dbaron 2009-06-09 18:03:59 +02:00
Olli Pettay
4e1d24ee7e backout Bug 486990
--HG--
extra : rebase_source : 5947dd5fcc29bfb333c53cc2f60a00895910e9bb
2009-06-17 16:22:37 +03:00
Olli Pettay
6e6975e220 Bug 486990 - Context Menu can be disabled by stopping propagation, r=enn, sr=neil
--HG--
extra : rebase_source : a425f116d1350ff1204f1b031754a262ec73f8b1
2009-06-17 13:26:21 +03:00
Jonas Sicking
3e25d2e548 Merge backout 2009-05-12 17:03:04 -07:00
Jonas Sicking
2394ad2b7d Backed out changeset 888aff8f57d2. Bug 492037 2009-05-12 17:00:53 -07:00
Shawn Wilsher
c113205dde Bug 490833 - mozIStorageStatement::getParameterIndex should only accept :-named parameters
This change makes the XUL template builder work with the API change.
r=enn
2009-05-12 17:08:49 -04:00
Neil Deakin
a6c07d5e6a Bug 492037, EndUpdateBatch not properly being called for tree builders in some cases, r+sr=smaug 2009-05-12 16:07:28 -04:00
Neil Deakin
c50a8b7bda Bug 433014, xml templates not loading from file urls, r+sr=smaug 2009-05-12 16:07:25 -04:00
Peter Van der Beken
913de0f878 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
Neil Deakin
716aa890fa Bug 378893, sigh, disable template tests on all platforms 2009-05-05 10:14:37 -04:00
Neil Deakin
9607636d34 Tests are failing on linux, I suspect some form of asynchronous loading issue, but will investigate more later, so disable them for now 2009-05-04 13:39:18 -04:00
Neil Deakin
13f2fd1f72 Bug 378893, actully add the xul template test files 2009-05-04 11:27:09 -04:00
Neil Deakin
473b9cecef Bug 378893, xul template tests, r=smaug 2009-05-04 10:55:44 -04:00
Olli Pettay
c4264c7353 backout Bug 486990 2009-04-28 06:42:59 -07:00
Jesse Ruderman
175b7d536e Add tests 2009-04-26 23:32:41 -07:00
Olli Pettay
0880b44b86 Bug 486990, move contextmenu listener to system event group, r=enn, sr=neil 2009-04-25 11:45:30 +03:00
Bob Clary
b90837186d bug 384877 - crash test by Martijn Wargers. 2009-04-24 10:08:25 -07:00
Bob Clary
f286639b62 bug 431906 - crash test by Martijn Wargers. 2009-04-24 10:08:24 -07:00
Bob Clary
0054c881ef bug 386914 - crash test by Martijn Wargers. 2009-04-24 10:08:20 -07:00
Bob Clary
5325a82a9a bug 326644 - crash test by Martijn Wargers. 2009-04-24 10:08:11 -07:00
L. David Baron
800fa5292f Fix miscellaneous typos in comments that I've had in my tree for ages. 2009-04-22 10:13:48 -07:00
Neil Deakin
a1a5f2113b 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
Arpad Borsos
8415a2fae1 Bug 485782 - get rid of nsSupportsArray; r=sicking, sr=bsmedberg 2009-04-14 10:02:58 +02:00
Neil Deakin
2af36de97f Bug 483607, sorting template integers does not work, r=laurent,sr=jonas 2009-04-13 09:00:29 -04:00
Neil Deakin
94f7488b73 Bug 468773, remove silly assertion, r+sr=smaug 2009-04-13 09:00:29 -04:00
Boris Zbarsky
973f44492a 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
L. David Baron
437c4c67f4 Remove nsCSSOMFactory/nsICSSOMFactory. (Bug 376111) r+sr=bzbarsky 2009-04-08 13:52:37 -07:00
Robert O'Callahan
3eae3e3a65 Bug 340571. Removing getBoxObjectFor from non-XUL documents. r+sr=bzbarsky
--HG--
extra : rebase_source : a57cb7c4ebee2149a2cdc009400c133d4904409d
2009-03-30 13:44:48 +13:00
Arpad Borsos
6e2bb93fad Bug 481881 - use better template arguments for nsTArray<T> after bug 474369, content part; r+sr=sicking 2009-03-26 09:29:49 +01:00
Boris Zbarsky
227c077f37 Bug 481440. Make our id table always live. r=jst, sr=roc 2009-03-23 10:04:40 -04:00
Wladimir Palant
e29d8ab4e4 Bug 477979 - Add CheckLoadURI checks for more script loads. r+sr=jst 2009-02-11 15:51:37 +01:00
Boris Zbarsky
19f39c20dc Backing out bug 481440 (revision 8fddfa5d2748) 2009-03-23 13:32:06 -04:00
Boris Zbarsky
823c113aa0 Bug 481440. Make our id table always live. r=jst, sr=roc 2009-03-23 10:04:40 -04:00
Arpad Borsos
d10c4f864e Bug 474369 - get rid of nsVoidArray, content part; r=jwatt, sr=sicking 2009-03-20 09:15:35 +01:00
Ben Turner
d962874347 Bug 482306 - "Several deadlocks related to nested requests and nsJSContext::CompileEventHandler". r+sr=mrbkap, a=blocking1.9.1+. 2009-03-14 20:42:50 -07:00
Olli Pettay
ebc7af93d9 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
Boris Zbarsky
cf5d79b19f Fixing test 2009-02-20 00:28:41 -05:00
Dave Townsend
089a44401b Bug 476634: Storage template builder can't handle 64 bit integers. r=enn 2009-02-12 15:09:03 +00:00
Peter Van der Beken
6740ce42ec Fix for bug 391448 (Force layout/dom/content code to use classinfo macros that don't use the service manager.). r/sr=jst. 2009-02-17 15:08:08 +01:00
Olli Pettay
daac901327 Bug 477237, r+sr=peterv 2009-02-17 11:48:31 +02:00
Neil Rashbrook
1dd09e631a Bug 475344 Need a cancellation code to indicate successful load from cache r+sr=bz 2009-02-16 11:27:22 +00:00
Jesse Ruderman
ea905567dc Add crashtests 2009-02-13 14:54:17 -08:00
Jesse Ruderman
e6ffd994a3 Add some crashtests 2009-02-10 16:36:04 -08:00
Olli Pettay
920f9ee1fb Bug 468211, r+sr=sicking 2009-01-31 14:56:15 +02:00
Olli Pettay
b3d63f9e91 Bug 471166, r+sr=sicking 2009-01-31 14:53:01 +02:00
Neil Rashbrook
1967d2484b Excise nsCachedChromeChannel fixing bug 206691 amongst others r=bsmedberg sr=bz 2009-01-29 23:34:24 +00:00
Jesse Ruderman
daac235263 Add crashtests for bug 466585 and bug 451311 2009-01-24 23:24:53 -08:00
Daniel Holbert
4301671b45 Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Fred Jendrzejewski
d8f1bff747 Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Markus Stange
525dabc829 Fix test for bug 398289 that broke because of bug 206636 2009-01-18 13:47:51 +01:00
Robert O'Callahan
804cc7ee91 Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
065bde22f3 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
timeless@mozdev.org
649763f2c3 Bug 209598 - Crash opening link from other applications [@ nsXULDocument::InsertElement], r+sr=bz 2009-01-15 20:02:22 -08:00
Olli Pettay
123c00756f Bug 470687, try to prevent broadcaster loops, r=enndeakin, sr=neil 2009-01-07 15:25:29 +02:00
Olli Pettay
252b14a591 Bug 436965, r+sr=sicking 2009-01-02 17:41:43 +02:00
Olli Pettay
fa80d4e86f Back out bug 436965 2009-01-02 16:31:13 +02:00
Olli Pettay
29dcd98c48 Bug 436965, r+sr=sicking 2009-01-02 14:40:43 +02:00
Jesse Ruderman
e7ff093116 Add 19 crashtests 2009-01-01 14:18:58 -08:00
Ben Turner
f2b256530b Bug 470334 - 'Workers: relative urls for XHR are incorrect'. r+sr=jst, a=blocking1.9+ 2008-12-30 16:24:58 -06:00
Neil Deakin
eea7b9969e 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
4690547534 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
5380efc5c3 DeCOMtaminate nsIPresShell::GetDidInitialReflow. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:36 -05:00
Neil Deakin
a1f1faa131 Bug 321180, better space-separated string parsing, r+sr=jonas 2008-12-19 08:43:24 -05:00
Neil Deakin
b40a5ac885 Bug 321175, change nsTemplateRule::GetAction to return nsIContent, r+sr=jonas 2008-12-19 08:43:24 -05:00
Olli Pettay
2840513314 Bug 468176, r=enn, sr=neil 2008-12-19 14:49:28 +02:00
Robert O'Callahan
ac055fa4bb 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
586e8a3c8c 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
b6a0016517 Bug 465998 Protect nsXULContentUtils against layout init failure r=Enn sr=sicking 2008-12-13 17:15:48 +00:00
Boris Zbarsky
514c8e5fd5 Adding test 2008-12-03 12:30:22 -05:00
Olli Pettay
31502d65d8 Bug 430214, patch3, r=enn,sr=neil 2008-12-03 13:12:54 +02:00
Olli Pettay
30c4bc161a Bug 461053, r=enndeakin, sr=neil 2008-12-03 12:59:07 +02:00
Olli Pettay
cb15ff06b9 Bug 464009, patch2, r+sr=sicking 2008-12-03 12:39:21 +02:00
Johnny Stenback
ebb6d556fe 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
9acf5d118f Bug 461422 Menulists should not be generated lazily r=Neil sr=bz 2008-11-04 07:58:36 +00:00
Boris Zbarsky
a943277999 Bug 462803. Remove dead code. r=enn 2008-11-03 11:02:25 -05:00
Peter Van der Beken
d30dca0b1b 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
61503583ca 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
896d5b70b0 bug 461395 - add support for PARALLEL_DIRS to build system, parallelize content. r=bsmedberg 2008-10-30 13:02:14 -04:00
Masayuki Nakano
c93ba89fab 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
5edd93b6c8 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
931e5b83f0 Bug 295994 - [r+sr=sicking] 2008-10-18 20:21:28 -05:00
Boris Zbarsky
7322a5a429 Backing out bug 450990 to try to fix leaks 2008-10-10 15:45:32 -04:00
Boris Zbarsky
f6f6df4601 Bug 450990. Address review comments too 2008-10-10 14:21:29 -04:00
Neil Deakin
fc80f06707 Bug 450990. Kill off EnsureContentsGenerated. r=peterv, sr=bzbarsky, sicking helped write the patch 2008-10-10 13:44:43 -04:00
Arpad Borsos
c72ef7d248 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
dc3b2b01ec Bug 457716 - XUL shouldn't always traverse all the prototypes, r+sr=peterv 2008-10-08 14:41:52 +03:00
Boris Zbarsky
e295957544 Bug 455540. Eliminate the non-OOM-failures-possible version of GetNodInfo. r+sr=jst 2008-10-07 14:53:22 -04:00
Boris Zbarsky
ead0309499 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
171a2b46ae 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
4f0fd7d2cb 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
b6741dbcab bug 457303: make nsXULPopupListener::FireFocusOnTargetContent windows-only r=Enn 2008-09-29 16:44:28 -07:00
Boris Zbarsky
9599df476b 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
ffc9dcf511 Bug 398289 - persist="selectedIndex" no longer working for tabbox elements; v2; r=bzbarsky 2008-09-28 23:30:27 +02:00
Boris Zbarsky
72a7d1cba0 Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc 2008-09-28 15:15:22 -04:00
Taras Glek
ba02fffe86 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
d51b893cc7 Bug 445177, delay broadcaster sync, r+sr=bz 2008-09-16 11:53:30 +03:00
Jesse Ruderman
f4443040cf Add crashtests for XUL leak bugs 2008-09-13 18:45:42 -07:00
Taras Glek
74132a5585 bug 450777:deCOMtaminate nsNodeInfoManager::GetNodeInfo r+sr=jst 2008-09-12 15:32:18 -07:00
Boris Zbarsky
215e95380a 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
ff7706a544 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
aa6c716712 Bug 442227, p=arenevier@fdn.fr, r=smaug,enndeakin, sr=neil 2008-09-09 13:07:35 +03:00
Peter Van der Beken
36d56d6620 Fix for bug 443415 (Name more CC edges). r/sr=jst. 2008-09-08 20:26:46 +02:00
Eli Friedman
292d9bb8eb Bug 453531: Remove dead mIsPopup member from nsXULDocument. r+sr=sicking. 2008-09-04 02:24:21 -07:00
Mike Kaplinskiy
87b6a79ede 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
241ffa78ec 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
fb7a994159 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