Граф коммитов

911 Коммитов

Автор SHA1 Сообщение Дата
Jeff Walden b5e57820bf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden d0532c3e95 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden 0f30b277bf Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Peter Van der Beken 9fe2ac6cc5 Stop including nsDOMClassInfo.h all over the place.
--HG--
extra : rebase_source : 24bd6a84238834f8ca50990a91849dff2c5040ba
2011-10-03 21:11:31 +02:00
Ed Morley e9329ec38b Bug 689884 - Deleted the now unused Makefiles from the tree; r=khuey 2011-10-06 17:15:07 +01:00
Ed Morley e5ead17a8f Bug 689884 - Skip Makefiles that are no-op or else only |DIRS = a_single_subdir|; r=khuey 2011-10-06 17:15:07 +01:00
Michael Wu d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
David Zbarsky 98b91d54fa Bug 682367 - Call nsINode::GetChildAt less. r=smaug 2011-09-27 09:54:58 +02:00
Ms2ger 09c97f4a38 Bug 649603 - Make nsIScriptContext::GetNativeContext return JSContext; r=jst 2011-09-18 11:22:17 +02:00
Ehsan Akhgari f41d89e051 Bug 686342 - Uninitialize the XUL template builder when XPCOM is being destroyed; r=bzbarsky 2011-09-13 12:49:59 -04:00
David Zbarsky 3cba444615 Bug 682366 - Remove nsINode::ChildIterator r=smaug 2011-08-27 00:23:02 +01:00
Marco Castelluccio 59b2b657f4 Bug 650494 - Remove nsIXULPrototypeCache; r=khuey,smaug 2011-08-26 20:50:23 +01:00
Olli Pettay b3a4be3d45 Bug 680687, Follow COM rules - keep strong ref to object, r=jst 2011-08-23 15:57:29 +03:00
Malini Das ea71db787e Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Ms2ger 4ca9cbc0f3 Bug 677101, part b - Remove nsContentUtils.h includes from headers; r=volkmar 2011-08-11 15:29:50 +02:00
arno renevier 8ed39834bd Bug 669299 - Remove unneeded nsPrintfCString.h includes. r=bsmedberg 2011-07-21 04:37:31 +02:00
Neil Deakin 7618552aa5 Bug 663728, use ids of nodes in xml datasources, r=jonas 2011-07-04 10:39:06 -04:00
Olli Pettay c8b469ea2c Bug 664452, unlink XUL some more, r=peterv
--HG--
extra : rebase_source : e17e5ed7c6a5d6565758ce2835df559b6abdcf32
2011-07-01 17:02:04 +03:00
Jonas Sicking 0cd6950325 Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz 2011-06-14 00:56:49 -07:00
Ms2ger e369dd9f77 Bug 664123 - Backout bugs 659053 and 659539 (changesets 9c49f69d8bab-1b11c64ffcdf) 2011-06-14 16:25:51 +02:00
Jonas Sicking e3e6dd6825 Bug 659539 Part 1: Give nsINodeInfos a nodeType, nodeName and localName. r=bz 2011-06-14 00:56:49 -07:00
Joel Maher af1836d76e Bug 659263 - move content/xul/*.xul tests from mochitest-plain to mochitest-chrome. r=bzbarsky, a=test-only
--HG--
rename : content/xul/templates/tests/bug441785-1.rdf => content/xul/templates/tests/chrome/bug441785-1.rdf
rename : content/xul/templates/tests/bug441785-2.rdf => content/xul/templates/tests/chrome/bug441785-2.rdf
rename : content/xul/templates/tests/test_bug441785.xul => content/xul/templates/tests/chrome/test_bug441785.xul
rename : content/xul/templates/tests/test_sortservice.xul => content/xul/templates/tests/chrome/test_sortservice.xul
2011-06-09 11:10:12 -04:00
Gavin Sharp d5b5b1022e Bug 650244: adjust template console tests to avoid failing when other things happen to spam the console; r=ehsan 2011-05-26 13:22:27 -04:00
Daniel Holbert 7c96f3c728 Bug 308590 patch 5: Clean up QIs to nsIURL that are really checks for "Does this support GetRef/SetRef", now that nsIURI supports GetRef/SetRef too. r=bz 2011-05-21 18:12:46 -07:00
Jacek Caban 9eafb62034 Bug 651887 - Use macro for NodeWillBeDestroyed in nsXULTreeBuilder
r=bzbarsky

--HG--
extra : rebase_source : 261c3e5a407009cc0a72f27c4a645d9360e9b289
2011-04-26 11:45:23 +00:00
Ms2ger 473cebda59 Bug 589894 - Fix a number of build warnings in content/; r=smaug 2011-04-14 14:04:12 +02:00
Peter Van der Beken 75ba54d84d Fix for bug 584048 (Clean up cycle collection code) - remove NS_IMPL_CYCLE_COLLECTING_ADDREF_AMBIGUOUS/NS_IMPL_CYCLE_COLLECTING_RELEASE_AMBIGUOUS. r=bent. 2011-03-06 12:11:31 +01:00
Shawn Wilsher 4f15920f2b Bug 645101 - Stop using [deprecated] Storage methods (nsXULTemplateQueryProcessorStorage)
r=sicking
2011-03-31 10:19:31 -07:00
Jonas Sicking f94b94a715 Bug 644476 Part 1: Remove nsIXMLHttpRequest.openRequest now that it's equivalent to nsIXMLHttpRequest.open. r=smaug 2011-03-28 13:05:52 -07:00
timeless@mozdev.org 713aa1183e Bug 620179 crash [@ TestNode::Constrain] if cantHandleYet
r=enn
2011-03-26 00:39:29 -04:00
Neil Rashbrook 1439913c4c Bug 611503 Fix broken consumers of nsTDependentString on an nsTAString r=dwitte 2011-03-25 11:43:15 +00:00
timeless@mozdev.org f9586078f1 Bug 620434 useless null check of result in nsXULTreeBuilder::ReplaceMatch
r=enn a=beltzner
2011-02-22 13:04:47 +01:00
Neil Deakin 921be72a77 Bug 608687, clear mRoot after uninitializing so that template generated content gets removed, r=smaug,a=blocking 2010-12-07 14:02:03 -05:00
Neil Deakin 173f6cd2ff Bug 611313 - Initialize with an empty datasource for template tests so that sync and async loading attempts don't conflict; r=afrosdwilsh a=orange-fix 2010-11-19 12:39:40 -05:00
Ms2ger a495819ba2 Bug 594339 - Create a FromParser enum. r=hsivonen, sr=bzbarsky, a=jonas.
--HG--
extra : rebase_source : 70d6b15b0b149a29d0cdb298209706bb5391f6b4
2010-10-25 15:17:38 +03:00
Neil Deakin 2e10de26cd Bug 553808, assertion setting template datasources, r=smaug, a=blocking 2010-10-26 11:17:00 -04:00
David Bienvenu a09712e130 fix bug 592633, r=enndeakin, a=beltzner, xul template builder has trouble with datasources adding children to collapsed nodes 2010-10-18 12:56:56 -07:00
Neil Deakin 3f463a1074 Bug 583230 - Crash [@ nsINode::GetCurrentDoc] with resultBindingChanged on deleted nsIXULTemplateBuilder. r=sicking 2010-09-19 17:59:08 +02:00
Joel Maher 8015553874 Bug 574189 - Fix chrome tests to work from an extension for android and e10s support a=NPOTB r=ctalbert 2010-08-24 10:29:34 -07:00
Ms2ger b01dbc0d56 Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-24 09:05:56 +02:00
Jonas Sicking 32a03526e0 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher e3359fd310 Bug 574189 - Fix chrome tests so they can run from a .jar bundle (e10s, android) r=ctalbert a=NPOTB 2010-08-20 09:28:13 -07:00
Johnny Stenback cf1cdee9d6 Fixing bustage from the fix for bug 582228. 2010-08-13 00:14:46 -07:00
Jonas Sicking 4134763a3d Bug 582228. Speed up getting style attributes. r=bzbarsky@mit.edu, a=dbaron@mozilla.com 2010-08-12 23:03:23 -07:00
Dão Gottwald 1e1c1def63 Backed out changeset cdd440adb726 2010-08-10 15:10:11 +02:00
Ms2ger 719312de88 Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-10 14:25:28 +02:00
Boris Zbarsky 67950dbf82 Bug 547342 real fix. Flush on ScrollToRow. r=enn 2010-08-05 14:39:39 -04:00
Olli Pettay 5a1ca24d1c Bug 523082 - nsXULTemplateBuilder should unlink more, r=peterv 2010-08-06 12:21:53 +03:00
Olli Pettay 44e12bf078 Bug 576075, stricter tree selection handling, r=enndeakin
--HG--
extra : rebase_source : ea68e33207720ee4193642aaf0749c9939cc12d2
2010-07-31 21:22:29 +03:00
Dave Townsend 08a208629d Bug 571598: Allow XUL documents loaded in about urls to persist attributes. r=bz 2010-07-29 22:08:50 -07:00
Kyle Huey de6f5d1296 Bug 581868: Remove nsIPrivateDOMImplementation. r=jst
--HG--
extra : rebase_source : 4e329c8b48034db725a1120094ec721d607dcb85
2010-07-29 12:23:13 -07:00
Peter Van der Beken 06960e57dc Part 6 of fix for bug 564266 (DOMCI GetItemAt/GetNamedItem should return nsWrapperCache) - pass the wrapper cache to WrapNative. r=jst.
--HG--
extra : rebase_source : 06db2c01b59630cd47c6d9d4f2302bf952233897
2010-05-10 20:53:05 +02:00
Olli Pettay 6059821942 Bug 566466 - speed up createElement(), r=jst, peterv 2010-07-23 12:49:57 +03:00
Craig Topper 4caec055d0 Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking 2010-07-21 15:05:17 -07:00
Boris Zbarsky 39d355ebfe Bug 578696 part 8. Stop holding strong refs when calling AttributeChanged. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky 9f23039775 Bug 578696 part 4. Stop holding strong refs when calling NodeWillBeDestroyed. r=sicking 2010-07-21 11:33:32 -04:00
Benjamin Smedberg 822ccb0789 Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Benjamin Smedberg 0df0345c66 Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Johnny Stenback e33497cdb2 Fixing bug 572615. Speed up nsXULDocuments ID hanling code. r=jonas@sicking.cc 2010-06-21 20:00:26 -07:00
Benjamin Smedberg a7e67d32ad Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -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
Jonas Sicking f2dbba9fe9 Bug 564863: Speed up id/name handling by letting elements register/unregister themselves. r=smaug 2010-06-03 18:09:20 -07:00
timeless@mozdev.org 047c090ce8 Bug 397744 Can't access to the third account and the local mail [@ nsXULTreeBuilder::RemoveMatchesFor(nsTreeRows::Subtree&)] r=neil,enndeakin
--HG--
extra : rebase_source : 9a7cb590fe9a185e829fd90ef5cc086b8531adef
2010-05-23 15:26:34 -07: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
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
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
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
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
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
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
Jesse Ruderman ff8208a031 Add crashtests 2010-02-27 13:04:34 -08: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
Jae-Seong Lee-Russo 082e12c87c Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE' 2010-02-07 10:52:43 -05: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
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
David Zbarsky 3d96b7b4a7 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04: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
Jesse Ruderman e38b0056c7 Make crashtests.list point to a file that actually exists 2009-08-09 12:00:47 -07:00
Olli Pettay 16d049ed6b Bug 477071, r=enndeakin, sr=neil
--HG--
extra : rebase_source : d19ed0f318958f9905c77e22c257737cdbc7bb6b
2009-08-06 17:35:07 +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
Olli Pettay acbff4f66d Bug 495444, r=enn,sr=neil
--HG--
extra : rebase_source : a4eaa6a8c816630456381b78f436447159bd44a8
2009-06-15 12:46:39 +03: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
Arpad Borsos e6fe766c98 Bug 497068: Fix "will be initialized after" warnings; r=dbaron 2009-06-09 18:03:59 +02: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
Jonas Sicking 3e25d2e548 Merge backout 2009-05-12 17:03:04 -07:00