Commit Graph

1833 Commits

Author SHA1 Message Date
Ehsan Akhgari
43363953fd Backed out changeset 9786ae3984b3 (bug 553124) because of potential privacy risks 2010-04-07 13:29:10 -04:00
Ehsan Akhgari
6f84f45be3 Bug 553124 - After bug 147777 lands, private browsing doesn't need to disable coloring of visited links any more; r=sdwilsh,bzbarsky
--HG--
extra : rebase_source : 7aff54b4357ca411278e906ecd022adfd1bb09cc
2010-04-06 13:47:42 -04:00
L. David Baron
7a857e9b5a Fix existing tests to deal with getComputedStyle lying about :link vs. :visited. (Bug 147777) r=sdwilsh 2010-04-02 18:58:25 -07:00
Marco Bonardo
c92ceba9fd Bug 556376 - Provide a common head for Places xpcshell-tests.
r=dietrich on code changes, blanket-rs=places-team for test changes
2010-04-02 00:42:25 +02:00
Marco Bonardo
db76afec5f Bug 555519 - disable test_doSetAndLoadFaviconForPage_failures.js since it randomly succeeds 2010-04-01 13:28:25 +02:00
Blair McBride
a76c55da65 Bug 480350 - Show currently loaded URIs in location bar autocomplete results, allow switching to the tab. r=gavin,mak sr=mconnor 2010-03-26 22:59:02 +01:00
Marco Bonardo
e65cfac3c5 Bug 554903 - Remove microsummaries.xpt reference from package-manifest and fix a left-over, r=sdwilsh 2010-03-26 22:57:28 +01:00
Asaf Romano
1347890116 Bug 555293 - MLFB: Port bug 547815 to Firefox. r=the-one-who-likes-filing-bugs. 2010-03-27 00:15:02 +03:00
Marco Bonardo
a718decf70 Bug 553489 - Part11: Test for cases where an icon should not be set. r=sdwilsh 2010-03-25 12:34:53 +01:00
Marco Bonardo
5091982ec6 Bug 553489 - Part10: reimplement setAndLoadFaviconForPage. r=sdwilsh sr=vlad 2010-03-25 12:34:49 +01:00
Marco Bonardo
b3c445b4a4 Bug 553489 - Part9: NotifyStep. r=sdwilsh 2010-03-25 12:34:47 +01:00
Marco Bonardo
5fdcdaacbd Bug 553489 - Part8: AssociateIconWithPageStep. r=sdwilsh 2010-03-25 12:34:45 +01:00
Marco Bonardo
95b485423a Bug 553489 - Part7: SetFaviconDataStep. r=sdwilsh 2010-03-25 12:34:42 +01:00
Marco Bonardo
01806dfb2c Bug 553489 - Part6: FetchNetworkIconStep. r=sdwilsh 2010-03-25 12:34:40 +01:00
Marco Bonardo
956d713c99 Bug 553489 - Part5: EnsureDatabaseEntryStep. r=sdwilsh 2010-03-25 12:34:38 +01:00
Marco Bonardo
322924eaaf Bug 553489 - Part4: FetchDatabaseIconStep. r=sdwilsh 2010-03-25 12:34:35 +01:00
Marco Bonardo
403c637cce Bug 553489 - Part3: GetEffectivePageStep. r=sdwilsh 2010-03-25 12:34:33 +01:00
Marco Bonardo
f50ea37946 Bug 553489 - Part2: AsyncFaviconStepper. r=sdwilsh r=dietrich 2010-03-25 12:34:31 +01:00
Marco Bonardo
327f0a143c Bug 553489 - Part1: new callback interface and better idl docs. r=sdwilsh sr=vlad 2010-03-25 12:34:28 +01:00
Andrew Sutherland
805fe0e096 Bug 507414 - Add a createAsyncStatement API on mozIStorageConnection. r=sdwilsh, sr=vlad.
--HG--
rename : storage/src/mozStorageStatementJSHelper.cpp => storage/src/mozStorageAsyncStatementJSHelper.cpp
rename : storage/src/mozStorageStatementJSHelper.h => storage/src/mozStorageAsyncStatementJSHelper.h
rename : storage/src/mozStorageStatementParams.cpp => storage/src/mozStorageAsyncStatementParams.cpp
rename : storage/src/mozStorageStatementParams.h => storage/src/mozStorageAsyncStatementParams.h
2010-03-24 00:32:40 -07:00
Marco Bonardo
1593a62e17 Bug 546942 - Move places import-export-service to toolkit. r=sdwilsh
--HG--
rename : browser/components/places/public/nsIPlacesImportExportService.idl => toolkit/components/places/public/nsIPlacesImportExportService.idl
rename : browser/components/places/src/nsPlacesImportExportService.cpp => toolkit/components/places/src/nsPlacesImportExportService.cpp
rename : browser/components/places/src/nsPlacesImportExportService.h => toolkit/components/places/src/nsPlacesImportExportService.h
2010-03-24 02:17:49 +01:00
Marco Bonardo
cc98be7754 Bug 552444 - Part 3: fix microsummaries code style to Places toolkit, plus minor cleanup. r=dietrich 2010-03-23 14:55:22 +01:00
Marco Bonardo
781e9c3d0b Bug 552444 - Part 2: fix "UsrMicsumGens" dependency. r=mano 2010-03-23 14:55:19 +01:00
Marco Bonardo
4c5018fca7 Bug 552444 - Part 1: Move microsummaries service to Places toolkit. r=mano
--HG--
rename : browser/components/microsummaries/public/nsIMicrosummaryService.idl => toolkit/components/places/public/nsIMicrosummaryService.idl
rename : browser/components/microsummaries/src/nsMicrosummaryService.js => toolkit/components/places/src/nsMicrosummaryService.js
2010-03-23 14:55:17 +01:00
Robert Kaiser
2648f97e48 bug 541746 - fix test_frecency.js to work on SeaMonkey, r=dietrich 2010-03-19 17:21:59 +01:00
David Bolter
2cc82da560 Increase the minimum wait time for testing interval expiration (b=542736 - random orange); r=mak77 2010-03-18 21:24:44 -04:00
Marco Bonardo
464e127f11 Bug 536081 - Can't delete all history entries returned by a search in Library or Sidebar. r=dietrich 2010-03-18 11:59:08 +01:00
Marco Bonardo
ca51aa4dea Bug 552386 - test_history_sidebar.js fails between midnight and 2:00am with new DST settings, r=dietrich a=dholbert for CLOSED TREE 2010-03-16 02:02:50 +01:00
Robert Longson
769594ecb1 Bug 510202 - simplify C++ code now that bug 461199 has landed. r=sdwilsh,sr=bzbarsky 2010-03-13 10:32:19 +00:00
Joel Maher
6b6e9978a3 Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:36 -08:00
Asaf Romano
f62b88bc41 Bug 543444 - Replace single-view API with multiple observers. r=mak sr=rstrong 2010-03-12 12:14:47 +01:00
timeless@mozdev.org
f53563ace8 Bug 549259 [@ nsAnnotationService::StartGetAnnotation]
r=mak

--HG--
extra : rebase_source : f7504195843a57c0e6226c874f955f0073e6523c
2010-03-12 07:50:10 +01:00
Shawn Wilsher
14959a10c5 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
41d5c5539c Backout patch for c7562242f88e due to bustage 2010-03-11 16:35:37 +13:00
Blair McBride
5f62cb3491 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
a91d58bd5e Bug 542943 - Get rid of bookmarksHash, r=dietrich 2010-03-10 13:40:52 +01:00
Marco Bonardo
1dc1d82e84 Bug 542941 - Part8: fix test_multi_queries.js for the new transition, r=dietrich 2010-03-10 13:40:43 +01:00
Marco Bonardo
2d174a9039 Bug 542941 - Part7: Fix CRLF newlines in test_multi_queries.js 2010-03-10 13:40:41 +01:00
Marco Bonardo
c006ade33b 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
702b498222 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
236497986e Bug 542941 - Part2: markPageAsFollowedLink and TRANSITION_FRAMED_LINK, r=dietrich sr=mconnor 2010-03-10 13:40:34 +01:00
Marco Bonardo
73a4ffb6d9 Bug 542941 - Part1: Clean up and comment AddVisitChain code, r=dietrich 2010-03-10 13:40:32 +01:00
Brad Lassey
96319c4535 backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher
1c8d232df2 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
7522fa3186 backout bug 543444 due to leaks 2010-03-09 17:23:32 +01:00
Asaf Romano
309a26a9cb Bug 543444 - Replace single-view API with multiple observers. r=mak sr=rstrong 2010-03-09 14:43:09 +01:00
Kyle Huey
a7c3948d0a Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher
694ec71da0 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
5b4513c7e9 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
3cd691129e 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
616b7eed72 Backed out changeset 79f299fc10d6 2010-03-05 20:10:20 +13:00
Asaf Romano
fe8fdd5f03 Relanding bug 543444 - Replace single-view API with multiple observers. r=mak. sr=rstrong. 2010-03-04 13:23:41 -08:00
Asaf Romano
eb72e43829 Backing out bug 543444 due to orange. 2010-03-03 17:23:51 -08:00
Asaf Romano
3de81c353d orange fix 2010-03-03 16:08:35 -08:00
Asaf Romano
79c992514c Bug 543444 - Replace single-view API with multiple observers. r=mak, sr=rstrong. 2010-03-03 14:45:16 -08:00
Shawn Wilsher
00424b6359 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
42a96d12c9 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
b55c942063 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
40a2a590a8 Bug 520659 - Lazily build places trees when possible. r=mak. 2010-02-25 20:30:09 +02:00
Daniel Holbert
0b8512ee0a 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
99f6189b56 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
27a8c70900 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
09e99cfbd1 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
3848a86843 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
4ef6775f0a Backed out changeset 2c60006b6c1f (bug 520659) because of resulting orange. 2010-02-22 14:58:09 -08:00
Asaf Romano
9373a85130 Bug 520659 - Lazily build places trees when possible. r=mak. 2010-02-22 23:37:52 +02:00
Daniel Holbert
4017ea7ab6 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
7928338245 Backed out changeset cf4d10139ec0 2010-02-18 10:05:15 -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
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
Daniel Holbert
1e1784a38a Backed out changeset 0949b169357b (possible workaround for Bug 543034), since it didn't help. 2010-02-02 19:32:52 -08:00
Daniel Holbert
f6c224ac50 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
164c34b003 backout bug 492797 due to test failure 2010-01-31 21:10:07 -08:00
Dietrich Ayala
f081790a5c Bug 492797 - followup (r=marco) 2010-01-31 19:11:33 -08:00
Dietrich Ayala
38c09e9028 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
c396cb3486 Bug 539076 - Part5: replace mDBGetItemIndex with mDBGetItemProperties, r=dietrich 2010-01-16 12:38:07 +01:00
Marco Bonardo
17f999e36c Bug 539076 - Part4: Rename ENUMERATE_OBSERVERS to NOTIFY_OBSERVERS, r=dietrich 2010-01-16 12:38:04 +01:00
Marco Bonardo
472ce0fd7c Bug 539076 - Part3: Consolidate lazy statements boilerplate in macros, r=dietrich 2010-01-16 12:38:02 +01:00
Marco Bonardo
0b5a0131ea Bug 539076 - Part2: Convert current global statements to lazy statements, r=dietrich 2010-01-16 12:38:00 +01:00
Marco Bonardo
7f8d026ee2 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
f6494ab838 Backed out changeset 14c20441c8d8 2010-01-16 06:48:42 -08:00
Marco Bonardo
8e66116c2a 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
83a15ca5a6 Bug 520165 - Part15: Fix a bad condition when expiration runs just before an addURI, r=dietrich 2010-01-15 17:40:59 +01:00
Marco Bonardo
9a31fac209 Bug 520165 - Part14: Add a maintenance task to print pages limit and run expiration, r=dietrich 2010-01-15 17:40:50 +01:00
Marco Bonardo
80955263c8 Bug 520165 - Part13: New expiration tests, r=mano 2010-01-15 17:40:47 +01:00
Marco Bonardo
ed084077d7 Bug 520165 - Part12: fix existing Places tests, r=mano 2010-01-15 17:40:45 +01:00
Marco Bonardo
a95ffe879c Bug 520165 - Part10: Add a new expiration component, r=mano, r=dietrich 2010-01-15 17:40:39 +01:00
Marco Bonardo
cb67ac168d Bug 520165 - Part9: remove old expiration code, r=mano 2010-01-15 17:40:19 +01:00
Marco Bonardo
535b37d79f Bug 520165 - Part8: Change onPageExpired to onDeleteVisits, r=mano, sr=mconnor 2010-01-15 17:40:17 +01:00
Marco Bonardo
5179d58974 Bug 520165 - Part7: Provide a new preference to toggle history, r=mano ui-r=faaborg 2010-01-15 17:40:14 +01:00
Marco Bonardo
4562ffc180 Part4: lazy statements creation (and minor cleanup) in nsFaviconService, r=sdwilsh 2010-01-08 13:57:49 +01:00
Drew Willcoxon
33e230da5e Bug 529597 - Places protocol handler, r=mak77,bz 2009-12-29 19:37:24 -08:00
Saint Wesonga
ce7ce4351f Test for bug 484026, r=mak77 2009-12-23 19:31:39 -05:00
Daniel Holbert
3fd219cd5e Bug 536520: Reorder init list for nsNavHistoryResult, to fix build warning. r=mak 2009-12-23 16:17:11 -08:00
Marco Bonardo
cada36ba33 Re-enable sync for random oranges that could have been fixed by bug 536435. 2009-12-22 21:57:46 +01:00
Marco Bonardo
154c208b2a Bug 536435 - Remove bookmarks service dangerous usage of UNION ALL, r=sdwilsh 2009-12-22 21:57:43 +01:00
Marco Bonardo
2eaf020eeb Bug 520165 - Part6: generic constants and comments cleanup, r=mano 2009-12-22 13:05:14 +01:00
Marco Bonardo
ef941e47ce Bug 520165 - Part5: Cleanup topics and observer service usage, r=mano 2009-12-22 13:05:11 +01:00
Marco Bonardo
5b3342f248 Bug 520165 - Part4: use a getter for last session id, r=mano 2009-12-22 13:05:08 +01:00
Marco Bonardo
6b8b28f8e9 Bug 520165 - Part3: Cleanup GetNow, r=mano 2009-12-22 13:05:06 +01:00