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
Christian Biesinger
50170d4c62
Fix build bustage from bug 445168 / changeset 5a153fc2dc6f
2010-02-18 15:57:05 +01:00
Christian Biesinger
55531e5794
bug 445168 format IPv6 address literals correctly when using a proxy
...
r=bz
2010-02-18 15:42:32 +01:00
Ben Turner
64367411af
Bug 543764 - Crash at PR_Unlock when mozilla-runtime exits/crashes. Ensure that NotifyMaybeChannelError waits until OnChannelError is completely finished running, r=cjones
2010-02-18 09:24:03 -05:00
Kai Engert
e2d74b698a
Bug 462919, ability to override NSS database path for xulrunner applications
...
merged and adjusted whitespace. r=rrelyea
2010-02-18 13:24:05 +01:00
Kai Engert
440e6facc8
Bug 540332, Update PSM to include the latest NSS error codes
...
Patch v3, yet another string, r=wtc
2010-02-18 13:21:44 +01:00
Jonathan Kew
975bbb6407
Bug 543502 followup: replace non-critical assertion in GDIFontList with optional logging. r=jdaggett
2010-02-18 11:52:44 +00:00
Jonathan Kew
4b78f496fe
Bug 545989 - don't throw an exception if unable to allocate storage for gfxTextRun creation. r=roc
2010-02-18 11:52:34 +00:00
Dão Gottwald
e001efaf64
Bug 544659 - Remove support for downgrading to Firefox 2 after customizing toolbars. r=gavin
2010-02-18 09:22:40 +01:00
John Daggett
13a892129b
Bug 545317. Trim out redundant font cache handling code. r=jkew
2010-02-18 12:31:20 +09:00
Frédéric Wang
cfe6666e8d
b=536438 Fix creation of keys in GetFontExtensionPref r=karlt
2010-02-18 13:51:33 +13:00
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
Ehsan Akhgari
4a51e776e5
Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky
...
--HG--
extra : rebase_source : 117d5f34a90941543a994107351eb0e34ae7308f
2010-02-01 23:00:12 -05:00
Ehsan Akhgari
c67120ed70
Bug 542919 - Refactor the plain text editor initialization to facilitate lazy initialization; r=bzbarsky sr=roc
...
--HG--
extra : rebase_source : 5c6baa16c4f3c91f8564cfdf394d70c8ea507861
2010-02-01 23:00:06 -05:00
Ehsan Akhgari
e0d4fbd3b8
Bug 537046 - crash in [@ nsWSRunObject::GetWSBoundingParent() ]; r=peterv
...
--HG--
extra : rebase_source : 69b6a49317b33794a904f7b1e8e63a5dea43792b
2010-01-15 12:17:48 -05:00
Ehsan Akhgari
c5b97c5208
Bug 499844; r=peterv
...
--HG--
extra : rebase_source : 867ce45fa9da2063a36d88966d0fa1b207311e6e
2010-01-15 12:17:44 -05: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
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
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
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
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
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
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