Commit Graph

1071 Commits

Author SHA1 Message Date
Shawn Wilsher
f4da63e4bf Bug 526601 - Places needs to use asyncClose instead of close on the database connection
Storage API changed, and we need to update.
r=mak
2009-11-09 09:59:40 -08:00
Blair McBride
bd0b32abc1 Backout patch for c7562242f88e due to bustage 2010-03-11 16:35:37 +13:00
Blair McBride
8274492c49 Bug 480350 - Show currently loaded URIs in location bar autocomplete results, allow switching to the tab. r=gavin,mak sr=mconnor 2009-11-23 15:37:39 +13:00
Marco Bonardo
55340792b2 Bug 542943 - Get rid of bookmarksHash, r=dietrich 2010-03-10 13:40:52 +01:00
Marco Bonardo
56ff9e67ce Bug 542941 - Part8: fix test_multi_queries.js for the new transition, r=dietrich 2010-03-10 13:40:43 +01:00
Marco Bonardo
167c09b047 Bug 542941 - Part7: Fix CRLF newlines in test_multi_queries.js 2010-03-10 13:40:41 +01:00
Marco Bonardo
03c77c3a09 Bug 542941 - Part6: fix existing tests to check for the new transition type, r=dietrich 2010-03-10 13:40:39 +01:00
Marco Bonardo
ee2bb7ac00 Bug 542941 - Part4 and 5: fix a sessionID bug, and introduce a new test for redirects, r=dietrich 2010-03-10 13:40:37 +01:00
Marco Bonardo
8bbafcd423 Bug 542941 - Part2: markPageAsFollowedLink and TRANSITION_FRAMED_LINK, r=dietrich sr=mconnor 2010-03-10 13:40:34 +01:00
Marco Bonardo
ec05c579c0 Bug 542941 - Part1: Clean up and comment AddVisitChain code, r=dietrich 2010-03-10 13:40:32 +01:00
Brad Lassey
bb55fe310f backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher
aef3dc32c3 Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Marco Bonardo
aa09cf6372 backout bug 543444 due to leaks 2010-03-09 17:23:32 +01:00
Asaf Romano
e7acf94dc2 Bug 543444 - Replace single-view API with multiple observers. r=mak sr=rstrong 2010-03-09 14:43:09 +01:00
Kyle Huey
1d0289c601 Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher
cee9b522a0 Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer 2010-03-08 19:21:33 -08:00
Clint Talbert
7ffd9496bc Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box 2010-03-07 17:34:23 -08:00
Joel Maher
ef6c5fda3d Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte 2010-03-07 16:08:05 -08:00
Robert O'Callahan
f4de62cffe Backed out changeset 79f299fc10d6 2010-03-05 20:10:20 +13:00
Asaf Romano
6598acf4f4 Relanding bug 543444 - Replace single-view API with multiple observers. r=mak. sr=rstrong. 2010-03-04 13:23:41 -08:00
Asaf Romano
8a462d5e47 Backing out bug 543444 due to orange. 2010-03-03 17:23:51 -08:00
Asaf Romano
e62ae2cc08 orange fix 2010-03-03 16:08:35 -08:00
Asaf Romano
c9e79d3dc6 Bug 543444 - Replace single-view API with multiple observers. r=mak, sr=rstrong. 2010-03-03 14:45:16 -08:00
Shawn Wilsher
d77cdfd47b Bug 549882 - ###!!! ASSERTION: Trying to unregister a node that wasn't registered!
Also adds some assertions to make sure we do not leak the observer arrays.
r=dietrich
2010-03-03 12:55:37 -08:00
Daniel Holbert
a3dfa5360d Trivial followup for bug 461199: fix new compiler warning about unsigned-vs-signed comparison. (carrying forward rs=sdwilsh from previous related followup) 2010-02-25 17:53:41 -08:00
Dietrich Ayala
051624f055 Bug 492797 - hasHistoryEntries should cache the value instead of hitting the db every time (r=marco) 2010-02-10 10:08:58 -08:00
Asaf Romano
d66bedf608 Bug 520659 - Lazily build places trees when possible. r=mak. 2010-02-25 20:30:09 +02:00
Daniel Holbert
00ed82e5e1 Bug 461199 followup: Fix build warning "ISO C++ does not support the 'z' printf length modifier". rs=sdwilsh 2010-02-25 10:20:43 -08:00
Shawn Wilsher
149f5aac0a 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-24 08:37:03 -08:00
Ehsan Akhgari
d14f0f9897 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-24 08:37:02 -08:00
Shawn Wilsher
201e801a1f 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-24 08:37:02 -08:00
Shawn Wilsher
2171f3f5d2 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
Paul O’Shannessy
c8c63254e0 Backed out changeset 2c60006b6c1f (bug 520659) because of resulting orange. 2010-02-22 14:58:09 -08:00
Asaf Romano
a94a5b9868 Bug 520659 - Lazily build places trees when possible. r=mak. 2010-02-22 23:37:52 +02:00
Daniel Holbert
2fb91b4ca2 bustage fix for Bug 461199: rename global var 'link' in test_IHistory.cpp to avoid bustage due to ambiguity w/ 'link()' function in unistd.h 2010-02-19 17:22:32 -08:00
Shawn Wilsher
a5fb212e96 Backed out changeset cf4d10139ec0 2010-02-18 10:05:15 -08:00
Shawn Wilsher
f284f552ef 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
1c29b0d28e 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
Daniel Holbert
c7859b5789 Backed out changeset 0949b169357b (possible workaround for Bug 543034), since it didn't help. 2010-02-02 19:32:52 -08:00
Daniel Holbert
1a6684fced Bug 543034: Attempt to workaround msvc bug "fatal error C1001: An internal error has occurred in the compiler" by disabling optimizations for the tagged block of code. r=gavin 2010-02-02 14:05:47 -08:00
Dietrich Ayala
3453707fbb backout bug 492797 due to test failure 2010-01-31 21:10:07 -08:00
Dietrich Ayala
fe3b785e70 Bug 492797 - followup (r=marco) 2010-01-31 19:11:33 -08:00
Dietrich Ayala
671ee1d80a Bug 492797 - hasHistoryEntries should cache the value instead of hitting the db every time (r=marco) 2010-01-31 19:09:13 -08:00
Marco Bonardo
13db595f12 Bug 539076 - Part5: replace mDBGetItemIndex with mDBGetItemProperties, r=dietrich 2010-01-16 12:38:07 +01:00
Marco Bonardo
92ce050599 Bug 539076 - Part4: Rename ENUMERATE_OBSERVERS to NOTIFY_OBSERVERS, r=dietrich 2010-01-16 12:38:04 +01:00
Marco Bonardo
a8b981dcba Bug 539076 - Part3: Consolidate lazy statements boilerplate in macros, r=dietrich 2010-01-16 12:38:02 +01:00
Marco Bonardo
033d511d47 Bug 539076 - Part2: Convert current global statements to lazy statements, r=dietrich 2010-01-16 12:38:00 +01:00
Marco Bonardo
63139dfa9a Bug 539076 - Part1: better error checking in bookmarks service and introduce lazy statements code, r=dietrich 2010-01-16 12:37:57 +01:00
Marco Bonardo
d667fb19ac Backed out changeset 14c20441c8d8 2010-01-16 06:48:42 -08:00
Marco Bonardo
afaca53c2a Bug 539076 - Part1: better error checking in bookmarks service and introduce lazy statements code, r=dietrich 2010-01-16 12:37:57 +01:00