Commit Graph

2734 Commits

Author SHA1 Message Date
Boris Zbarsky
54bc004d14 Bug 578696 part 11. Stop holding strong refs when calling ContentRemoved and remove the now-unused IMPL_STRONGREF_MUTATION_NOTIFICATION macro. r=sicking 2010-07-21 11:37:41 -04:00
Boris Zbarsky
3e398f4206 Bug 578696 part 10. Stop holding strong refs when calling ContentInserted. r=sicking 2010-07-21 11:33:32 -04:00
Boris Zbarsky
e3b2e5a289 Bug 578696 part 9. Stop holding strong refs when calling ContentAppended. r=sicking 2010-07-21 11:33:32 -04: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
64dac6dd20 Bug 578696 part 7. Stop holding strong refs when calling AttributeWillChange. 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
a677e5bf91 Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg
e17740e1ab Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Neil Rashbrook
ff7877760b Bug 556124 Should notify for broadcast attribute changes once layout has started r=jst 2010-06-30 12:36:10 +01:00
Benjamin Smedberg
29e089defb Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -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
7a64d8d2c3 Merge of backout of fix for bug 572609. CLOSED TREE 2010-06-21 22:41:52 -07:00
Johnny Stenback
2db35fd2a9 Backed out changeset 82a21d443b5e 2010-06-21 22:39:53 -07: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
Johnny Stenback
4548ec1aa1 Fixing bug 572614. Eliminate double hash lookups in document.getElementById(). r=jonas@sicking.cc 2010-06-21 19:59:37 -07:00
Johnny Stenback
c50fb5d521 Fixing bug 572609. Use faster version of GetElementById() from our C++ code. r=jonas@sicking.cc 2010-06-21 19:58:50 -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
Jesse Ruderman
5af8645b47 Add crashtest for bug 467869 2010-06-28 21:16:43 -07:00
Doug Turner
9491e021f6 merge with mc 2010-06-30 10:50:45 -07:00
Doug Turner
840b7d952b Merge from mc 2010-06-29 14:39:57 -07:00
Doug Turner
e5c86fcd42 Merging with mozilla-central. Manually merged: content/canvas/src/nsCanvasRenderingContext2D.cpp ipc/ipdl/Makefile.in toolkit/toolkit-tiers.mk toolkit/xre/nsEmbedFunctions.cpp
--HG--
rename : gfx/thebes/src/gfxSharedImageSurface.cpp => gfx/thebes/gfxSharedImageSurface.cpp
rename : gfx/thebes/public/gfxSharedImageSurface.h => gfx/thebes/gfxSharedImageSurface.h
2010-06-28 16:33:19 -07:00
Oleg Romashin
39a0145aea Auto-merge with m-c b51803f3fdef 2010-06-25 08:30:40 -04:00
Doug Turner
9c89be497e Automerge w mozilla-central 2010-06-24 14:06:13 -07:00
Jason Duell
386a098a89 Merge from m-c.
Fair amount of merge conflicts.

Biggest item was changes to nsHttpChannel from web sockets changes.

Other likely suspects if things are borken:

nsFrameLoader.cpp:
    - nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
      nsnull (m-c) to local process call to new nsFrameMessageManager(),
      callback arg?  Smaug said null.
    - only calling SetCallBackData for local case.  also +r smaug.

nsPrefBranch.cpp had fairly extensive merge conflicts.

nsChromeRegistry had lots of changes.

Dougt did most of the non-necko changes (thanks).

--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Josh Matthews
a896ac2531 Bug 564382 - Remove CPOWs from PContentProcess tree. r=olli 2010-06-17 14:10:14 -07:00
Doug Turner
b2c88178e3 Merging with M-C.
Hand merged the following files:

U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h

--HG--
rename : extensions/cookie/test/unit/test_cookies.js => extensions/cookie/test/unit/test_cookies_thirdparty.js
rename : netwerk/cookie/src/nsCookieService.cpp => netwerk/cookie/nsCookieService.cpp
rename : netwerk/cookie/src/nsCookieService.h => netwerk/cookie/nsCookieService.h
rename : netwerk/dns/src/nsIDNKitInterface.h => netwerk/dns/nsIDNKitInterface.h
rename : netwerk/protocol/http/src/nsHttp.h => netwerk/protocol/http/nsHttp.h
rename : netwerk/protocol/http/src/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannel.cpp
rename : netwerk/protocol/http/src/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannel.h
rename : netwerk/protocol/http/src/nsHttpChunkedDecoder.h => netwerk/protocol/http/nsHttpChunkedDecoder.h
rename : netwerk/protocol/http/src/nsHttpHandler.cpp => netwerk/protocol/http/nsHttpHandler.cpp
rename : netwerk/protocol/http/src/nsHttpHeaderArray.h => netwerk/protocol/http/nsHttpHeaderArray.h
rename : netwerk/protocol/http/src/nsHttpRequestHead.h => netwerk/protocol/http/nsHttpRequestHead.h
rename : netwerk/protocol/http/src/nsHttpResponseHead.h => netwerk/protocol/http/nsHttpResponseHead.h
rename : netwerk/protocol/http/src/nsHttpTransaction.cpp => netwerk/protocol/http/nsHttpTransaction.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.cpp => netwerk/protocol/res/nsResProtocolHandler.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.h => netwerk/protocol/res/nsResProtocolHandler.h
2010-06-07 13:38:02 -07:00
Robert Sayre
5a3f306961 Merge mozilla-central to tracemonkey. 2010-06-05 19:13:45 -04:00
Andreas Gal
8c624148c6 Add an API for compartments (570040, r=jorendorff). 2010-06-04 16:32:10 -07:00
Oleg Romashin
2538039097 Merge with latest mozilla central r 42802:ffbc3baf03ae 2010-05-25 15:19:33 -04:00
Olli Pettay
93984b6736 m-c to e10 merge 2010-05-24 17:45:59 +03: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
Doug Turner
cfd298a40d Merged with MC. Hand merged netwerk/protocol/http/src/nsHttpHandler.cpp
also removed modules/plugin/default*
2010-05-17 08:59:15 -07:00
Chris Jones
2ed40cd772 Merged m-c 2010-05-13 18:04:53 -05:00
Johnny Stenback
e22027e424 Fixing bug 572609. Use faster version of GetElementById() from our C++ code. r=jonas@sicking.cc 2010-06-23 14:35:57 -07:00
Doug Turner
0dc0f3273e merge with m-c. resolved conflicts in:
U chrome/src/nsChromeRegistry.cpp
U content/base/src/Makefile.in
U dom/base/nsDOMClassInfo.cpp
U toolkit/toolkit-tiers.mk

--HG--
rename : toolkit/mozapps/extensions/test/unit/test_bug541420.js => toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js
2010-05-11 11:09:54 -07:00
Peter Van der Beken
34f855c0b2 Back out fixes for bug 560462 to fix orange.
--HG--
extra : rebase_source : afe96ede6fc605c656b746f6388d6144886b18ed
2010-05-11 19:20:03 +02:00
Jim Mathies
e758581cd0 Bug 513162 - Add support for 'chromemargin' property on XUL windows. r=smaug. 2010-06-24 21:01:07 -05:00
Peter Van der Beken
82558bd659 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
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