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

215701 Коммитов

Автор SHA1 Сообщение Дата
Ehren Metcalfe f51debd939 b=536438 add missing breaks to switch statement r=fred.wang 2010-02-18 13:49:56 +13:00
Mike Hommey f29988f6a6 b=546093 only advertise pdf and ps format for sending to the printer backend r=karlt 2010-02-18 13:45:38 +13:00
Karl Tomlinson d3eca751b1 b=540114 process reparent requests before removing the X error handler r=cjones 2010-02-18 11:05:24 +13:00
Karl Tomlinson 2b2f55d9bc b=540114 reparent foreign children of the socket window before it gets destroyed r=cjones 2010-02-16 10:40:46 +13:00
Shawn Wilsher db56eec08b Bug 461199 (Part 30) - Fixes invalidation issues when changing the href attribute.
r=bz
2010-02-17 14:04:34 -08:00
Shawn Wilsher 5f070953b1 Bug 461199 (Part 29) - Fix dom tests.
r=sicking
2010-02-17 14:04:34 -08:00
Shawn Wilsher db143e6ef6 Bug 542632 - Protect nsGenericHTMLElement::GetHrefURIForAnchors
Also makes DNS prefetching take mozilla::dom::Link instead of nsIContent.
r=bz
2010-02-17 14:04:34 -08:00
Shawn Wilsher 3966021b43 Bug 542592 - Change how we use/store nsDocument::mLinkMap
This makes changes nsDocument::mLinkMap in a number of ways:
1) renamed to mStyledLinks to better reflect its new nature.
2) change it to an nsTHashtable of Link*.  It no longer has a strong reference
3) add some assertions to make sure we call ForgetLink and AddStyleRelevantLink
   in pairs.
This also makes mozilla::dom::Link::ResetLinkState take a boolean indicating if
we should notify or not.
r=bz
2010-02-17 14:04:33 -08:00
Shawn Wilsher 7e482f6c0f Bug 461199 (Part 27) - Fix test_visited_pref.html so it passes with the new async isVisited API
r?dbaron
2010-02-17 14:04:33 -08:00
Shawn Wilsher 9227802f59 Bug 461199 (Part 26) - Update content tests to work with the new async isVisited API 2010-02-17 14:04:33 -08:00
Shawn Wilsher 7425d27218 Bug 461199 (Part 28) - Tell the document that we are a style relevant link
Adds the needed calls to inform the document if we are a style relevant link,
and when we no longer are.
r=bz
2010-02-17 14:04:32 -08:00
Shawn Wilsher e39a5e6342 Bug 461199 (Part 25) - Fix layout reftests to work with the new async isVisited API
r=jwatt
2010-02-17 14:04:32 -08:00
Shawn Wilsher 92c883c857 Bug 461199 (Part 24) - Update docshell tests to work with the new async isVisited API
r=bz
2010-02-17 14:04:32 -08:00
Shawn Wilsher fb4a464bd0 Bug 461199 (Part 23) - Remove no longer needed code in ns[I]Document.[cpp|h]
r=bz
2010-02-17 14:04:32 -08:00
Shawn Wilsher 14871a4c51 Bug 461199 (Part 22) - Call ResetLinkState if given eLinkState_Unknown
If consumers tell mozilla::dom::Link::SetLinkState that its new state is
eLinkState_Unknown, call mozilla::dom::Link::ResetLinkState and return.
r=bz
2010-02-17 14:04:31 -08:00
Shawn Wilsher a256de3207 Bug 461199 (Part 21) - Cache the nsIContent pointer in Link for performance reasons
Add a Content method that obtains a pointer to the nsIContent interface on
mozilla::dom::Link.  This is cached so we only have to call QueryInterface once
during the entire lifetime of the mozilla::dom::Link object.
r=bz
2010-02-17 14:04:31 -08:00
Ehsan Akhgari 85b73fe20f Bug 461199 (Part 20) - Rewrite the private browsing visited link coloring test to make it work with the new async API
r=mconnor
r=sdwilsh
r=bz
2010-02-17 14:04:31 -08:00
Shawn Wilsher 6ac8dd0577 Bug 461199 (Part 19) - nsSVGAElement fails to call ResetLinkState in [Uns|S]etAttr
Have nsSVGAelement implement UnsetAttr and SetAttr, and make sure it calls
mozilla::dom::Link::ResetLinkState when appropriate.
r=jwatt
sr=bz
2010-02-17 14:04:31 -08:00
Shawn Wilsher f6716f83a9 Bug 461199 (Part 18) - Need an observer notification to indicate when link status is known from the database
Adds an observer to indicate when a URI lookup is completed and passes the
visited state with the notification.  This greatly simplifies test writing.
r=mak
2010-02-17 14:04:30 -08:00
Shawn Wilsher 18f2557e51 Bug 461199 (Part 17) - Remove no longer needed code from webshell and docshell.
r=bz
sr=sicking
2009-12-15 16:04:18 -08:00
Shawn Wilsher c88f581583 Bug 461199 (Part 16) - Remove now unused style code testing for Link and HTML Links.
r=bz
sr=dbaron
2009-12-15 16:04:15 -08:00
Shawn Wilsher 35bd533654 Bug 461199 (Part 15) - Rely on nsIContent::IntrinsicState instead of nsIContent::GetLinkState in layout.
Layout should call IntrinsicState instead of GetLinkState.  Simplifies a lot of
logic, and makes the code easier to follow.
r=bz
sr=dbaron
2009-12-15 16:04:12 -08:00
Shawn Wilsher 5c6b87f414 Bug 461199 (Part 14) - Implement nsIContent::IntrinsicState on mozilla::dom::Link subclasses
All mozilla::dom::Link subclasses need to implement IntrinsicState and make sure
to call LinkState.
r=sicking
sr=bz
2009-12-15 16:04:09 -08:00
Shawn Wilsher 37a2e289c8 Bug 461199 (Part 13) - mozilla::dom::Link::SetLinkState should inform the document about changes to its state when it is called.
Make Link::SetLinkState notify the document about changes in state, plus a
whole bunch of assertions for sanity checking.
r=sicking
r=bz
2009-12-15 16:04:07 -08:00
Shawn Wilsher 6f84ecdb30 Bug 461199 (Part 12) - mozilla::dom::Link should unregister with mozilla::IHistory when it goes away
Call UnregisterWithHistory in Link's destructor to ensure that we are no longer
registered with IHistory.
r=sicking
sr=bz
2009-12-15 16:01:53 -08:00
Shawn Wilsher d7efe9418a Bug 461199 (Part 11) - [un]register in mozilla::dom::Link::[Reset]LinkState
Register with History in mozilla::dom::Link::LinkState and unregister in
mozilla::dom::Link::RestLinkState.
r=bz
2009-11-23 10:48:52 -08:00
Shawn Wilsher 9ac0f560ec Bug 461199 (Part 10) - Ensure that Link::ResetLinkState is always called when an element is bound or unbound from the DOM tree.
We would not be notified about base URI changes during this time, so we need to
make sure we are not registered and have no cached state.
r=bz
r=jwatt
2009-11-23 10:48:52 -08:00
Shawn Wilsher 95fe64b0bf Bug 461199 (Part 9) - Move href helpers from nsGenericHTMLElement to mozilla::dom::Link.
Move the helpers so that they can easily use the cached URI when available.
r=sicking
sr=bz
2009-11-09 10:00:54 -08:00
Shawn Wilsher a37874c892 Bug 461199 (Part 8) - Remove nsAttrValue::eLazyURIValue and related code
Stop using lazy href attributes in nsAttrValue.  Link will store it as needed.
r=sicking
sr=bz
2009-11-09 10:00:54 -08:00
Shawn Wilsher 9ed3966b7c Bug 461199 (Part 7) - mozilla::dom::Link should have a method to obtain a cached URI
Add mozilla::dom::Link::GetURI method used to cache the URI for this element.
r=bz
2009-11-09 10:00:54 -08:00
Shawn Wilsher 80eb3cc7f5 Bug 461199 (Part 6) - nsSVGAElement::GetHrefURI is not implemented
Fixes nsSVGAElement::GetHrefURI so that it actually returns a URI when it is a
link instead of nsnull.
r=jwatt
2009-11-09 10:00:54 -08:00
Shawn Wilsher 406a268649 Bug 461199 (Part 5) - Add mozilla::dom::Link::LinkState
Adds a LinkState method that should be called by subclasses when they get asked
about their IntrinsicState.
r=sicking
sr=bz
2009-11-09 10:00:53 -08:00
Shawn Wilsher 6c57d63859 Bug 461199 (Part 4) - Add NS_EVENT_STATE_UNVISITED that describes an unvisited link.
Add the new state so we can then just call IntrinsicState to determine the
visitedness of an nsIContent node.
r=bz
2009-11-09 10:00:53 -08:00
Shawn Wilsher d5cb008c0f Bug 461199 (Part 3) - Create a cached getter for mozilla::IHistory on nsContentUtils.
r=sicking
2009-11-09 10:00:53 -08:00
Shawn Wilsher 94acf62a02 Bug 461199 (Part 2) - Create an API for asynchronous isVisited checks that content/layout can use
Create a new API (IHistory) to check for the visitedness of a URI.
r=mak
r=bz
sr=bsmedberg
2009-08-20 11:56:10 -07:00
Zack Weinberg 467d507067 Bug 498036: Report malformed URIs in @import rules to the error console, not by setting the parser's low-level error flag. r=bz 2010-02-17 13:02:56 -08:00
Benjamin Smedberg 0ec70cae54 Sync js/src/config with the main one, from bug 545892
--HG--
extra : rebase_source : 2b91f78031c4d566cccfbc3e12500fb1a133a342
2010-02-17 15:27:02 -05:00
Mike Hommey 76c1573a7a Bug 541767 - "Various problems with how config/my{config,rules}.mk are handled" [r=ted] 2010-02-04 09:19:00 -05:00
Benjamin Smedberg b20fd90a41 Bug 543977 - NPClass.invoke should be optional when a class just wants to implement NPClass.invokedefault, r=jst
--HG--
extra : rebase_source : 2e1fb9896bcbf12bc6d2772c02a1cc9557efe6eb
2010-02-17 13:30:54 -05:00
Benjamin Smedberg a16f4e7e6e Actually run test_GCrace.html from bug 542263 which was committed in revision e9d8b376d014. The missing Makefile change is due to a bad transplant which I didn't notice :-( r=bent
--HG--
extra : rebase_source : 0057b1362919a34460ba3c72afd990952ad53d25
2010-02-17 13:30:37 -05:00
Benjamin Smedberg a75eba7421 Bug 542263 for real! Deallocate shouldn't invalidate plugin scriptable objects because they may be resurrected. This supposedly landed in mozilla-central revision 4c6d4be91aaa but that was an empty revision, probably due to some transplant error. r=bent
--HG--
extra : rebase_source : da3efd3d0e602194d8741d0623a885566e798e28
2010-02-17 13:30:27 -05:00
Benjamin Smedberg 9538d62dfb Bug 545892 - mozilla-runtime.exe doesn't have a manifest when jemalloc is enabled: in this case the linker doesn't generate a manifest because there are no dependent assemblies, so we should only use the manifest specified in the source directory, r=ted
--HG--
extra : rebase_source : 4be79482480eda27853a1bb3e772a0526bb59e58
2010-02-13 16:00:19 -05:00
L. David Baron 7c06f8730d Fix spelling of 'the' to cause another round of builds and talos runs. 2010-02-17 13:28:29 -05:00
Dão Gottwald 0ba418bda7 Bug 546098 - Integrate new toolbarbutton icons. r=rflint
--HG--
extra : rebase_source : 7e77f36d91011438bc288ebb51793c02f3456690
2010-02-16 21:42:21 +01:00
Dão Gottwald 8efed879ad Bug 545842 - Style menu buttons and impose a standard size on third-party toolbarbutton icons. r=rflint
--HG--
extra : rebase_source : 6b41539ef72ba285b7bfdc6e67b44a46d7237395
2010-02-16 21:41:58 +01:00
L. David Baron c5b6b3fe03 Fix spelling of 'multiple' to cause another round of builds and talos runs. 2010-02-17 11:29:15 -05:00
L. David Baron 9edcb0e276 Fix spelling of 'browser' to cause another round of builds and talos runs. 2010-02-17 11:04:10 -05:00
L. David Baron 2b05b3b3de Fix spelling of 'horizontal' to cause another round of builds (and talos runs). CLOSED TREE 2010-02-17 10:43:39 -05:00
Doug Turner 1bd4991eb7 removing gfxSharedImageSurface files. part of backout of 544250 2010-02-16 11:03:17 -08:00
Doug Turner 8366c79f83 comparing with ssh://hg.mozilla.org/mozilla-central
searching for changes
changeset:   38150:c823c17d12d2
user:        Doug Turner <dougt@dougt.org>
date:        Tue Feb 16 10:49:57 2010 -0800
summary:     backing out 544250
2010-02-16 10:52:40 -08:00