Commit Graph

215900 Commits

Author SHA1 Message Date
Shawn Wilsher
0d6465dc78 Backed out changeset af29773ebf66 2010-02-18 10:01:13 -08:00
Shawn Wilsher
2e365ca1de Merge for backout of changeset 1dac46a1218e 2010-02-18 10:00:43 -08:00
Shawn Wilsher
0d2a8018ae Backed out changeset 1dac46a1218e 2010-02-18 10:00:27 -08:00
Shawn Wilsher
37e2e1b6de Merge for backout of changeset 113cf8eec589 2010-02-18 09:59:40 -08:00
Shawn Wilsher
64908e9460 Backed out changeset 113cf8eec589 2010-02-18 09:59:24 -08:00
Shawn Wilsher
7fcf2e2919 Merge for backout of changeset d03d64716ccd 2010-02-18 09:58:57 -08:00
Shawn Wilsher
c40670ab03 Backed out changeset d03d64716ccd 2010-02-18 09:58:42 -08:00
Shawn Wilsher
b57a358e05 Merge for backout of changeset 2eaaa58d2915 2010-02-18 09:58:14 -08:00
Shawn Wilsher
6f37dbdfd5 Backed out changeset 2eaaa58d2915 2010-02-18 09:57:57 -08:00
Shawn Wilsher
25017c5312 Merge for backout of changeset 4b65b0915480 2010-02-18 09:57:15 -08:00
Shawn Wilsher
cd3599a9ef Backed out changeset 4b65b0915480 2010-02-18 09:56:59 -08:00
Shawn Wilsher
d8b7933a41 Merge for backout of changeset b387c724bda4 2010-02-18 09:56:20 -08:00
Shawn Wilsher
094ef7e2c8 Backed out changeset b387c724bda4 2010-02-18 09:56:04 -08:00
Shawn Wilsher
a2cf6dcee6 Merge for backout of changeset 26f7974bf6ef 2010-02-18 09:55:26 -08:00
Shawn Wilsher
cd57f8901b Backed out changeset 26f7974bf6ef 2010-02-18 09:55:05 -08:00
Shawn Wilsher
9837988349 Merge for backout of changeset fa7f3d18510d 2010-02-18 09:54:34 -08:00
Shawn Wilsher
68808694c2 Backed out changeset fa7f3d18510d 2010-02-18 09:54:12 -08:00
Shawn Wilsher
cafab3d0ff Merge for backout of changeset 1c37899b532e 2010-02-18 09:53:37 -08:00
Shawn Wilsher
770e928b4c Backed out changeset 1c37899b532e 2010-02-18 09:53:20 -08:00
Shawn Wilsher
71c56fb61f Merge for backout of changeset 2bd2f67e8f5e 2010-02-18 09:52:52 -08:00
Shawn Wilsher
072a506161 Backed out changeset 2bd2f67e8f5e 2010-02-18 09:52:30 -08:00
Shawn Wilsher
1ba063cf74 Merge for backout of changeset b0c9f8e50057 2010-02-18 09:51:16 -08:00
Shawn Wilsher
282b5db80f Backed out changeset b0c9f8e50057 2010-02-18 09:50:59 -08:00
Shawn Wilsher
840fe25fa1 Merge for backout of changeset 018b79b00cac 2010-02-18 09:50:28 -08:00
Shawn Wilsher
fca0e19523 Backed out changeset 018b79b00cac 2010-02-18 09:50:05 -08:00
Shawn Wilsher
e23ea0c355 Merge for backout of changeset 42bf809ee413 2010-02-18 09:48:13 -08:00
Shawn Wilsher
f8c889106b Backed out changeset 42bf809ee413 2010-02-18 09:47:49 -08:00
Shawn Wilsher
f0563102cf Merge for backout of changeset 5607b8b76949 2010-02-18 09:46:35 -08:00
Shawn Wilsher
b5496e6ae8 Backed out changeset 5607b8b76949 2010-02-18 09:44:28 -08:00
Shawn Wilsher
601fb1a303 Merge for backout of changeset 550a4379468f. 2010-02-18 09:43:00 -08:00
Shawn Wilsher
2daf55260c Backed out changeset 550a4379468f 2010-02-18 09:42:20 -08:00
L. David Baron
d5e88ef60c Ensure square list bullets are always square. (Bug 376690) r=roc 2010-02-18 12:26:54 -05: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
5f070953b1 Bug 461199 (Part 29) - Fix dom tests.
r=sicking
2010-02-17 14:04:34 -08: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
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
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
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
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
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
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
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
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
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
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
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
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
Luke Wagner
6d197cb006 Bug 545044 - initialize tempAlloc'd memory so GC-safe (r=brendan)
--HG--
extra : rebase_source : 712bf473d05f707dd50a276f1e60421ce46a7353
2010-02-17 11:32:47 -08:00
Benjamin Smedberg
578cfca239 Backed out bug 543764 because of deadlocks. 2010-02-18 10:27:35 -05:00
Benjamin Smedberg
f19e49fe97 Backed out changeset 4d8d4fd97c4f - bug 543764, because of deadlocks. 2010-02-18 10:27:07 -05:00