Commit Graph

1653 Commits

Author SHA1 Message Date
Shawn Wilsher
82cd6792ff Bug 607117 - create GUIDs for all bookmark and history items automatically
Part 2 - Make entries in moz_places generate guids automagically
r=mak
2010-12-02 14:09:52 -08:00
Shawn Wilsher
5c76a520fb Bug 607117 - create GUIDs for all bookmark and history items automatically
Part 1 - Make bookmarks generate guids automagically
r=mak
2010-12-02 14:03:07 -08:00
Shawn Wilsher
e42ef01e75 Bug 607112 - make GUID a column in moz_places and moz_bookmarks
Part 4 - Import guids for moz_places from annotations.
r=mak
2010-12-02 09:44:08 -08:00
Shawn Wilsher
d161f47b13 Bug 607112 - make GUID a column in moz_places and moz_bookmarks
Part 3 - create a guid column on moz_places and add guids
r=mak
2010-12-02 09:43:50 -08:00
Shawn Wilsher
43de9ba84f Bug 607112 - make GUID a column in moz_places and moz_bookmarks
Part 2 - Import guids from the annotation table for bookmarks, and then delete
the entries in the annotation table.
r=mak
2010-12-02 09:40:49 -08:00
Shawn Wilsher
8936bf598a Bug 607112 - make GUID a column in moz_places and moz_bookmarks
Part 1 - actually add the guid column, and update bookmarks at startup
r=mak
2010-12-02 09:40:18 -08:00
Marco Bonardo
b598b58bc0 Bug 615991 - GetNewSessionId can lock the first visit addition if some async write runs before it.
r=sdwilsh a=blocking
2010-12-02 00:14:24 +01:00
Marco Bonardo
ccb738f69c Bug 615227 - async create temp tables in autocomplete.
r=sdwilsh a=blocking
2010-11-29 23:23:46 +01:00
Marco Bonardo
a3f54fd85f Bug 614787 - Delay expiration database setup to the first expiration.
r=dietrich,sdwilsh a=blocking
2010-11-29 21:47:42 +01:00
Marco Bonardo
7d33573bea Bug 614790 - Bookmarks roots init could be locking with the first visit addition.
r=sdwilsh a=blocking
2010-11-29 18:33:26 +01:00
Shawn Wilsher
9cdab945a8 Merge mozilla-central into Places. 2010-11-29 08:43:57 -08:00
Marco Bonardo
e399cba9d3 Bug 614224 (followup) - further subtests in test_removeVisitsByTimeframe.js should wait for visits addition.
a=tests-only
2010-11-29 15:41:08 +01:00
Marco Bonardo
6ee0ac4e73 Bug 614560 - History should not try to register "resource:" uris.
r=dietrich a=dietrich
2010-11-24 16:43:14 +01:00
Marco Bonardo
0ffc4cb514 Bug 614439 - Downgrading from a Places branch version leaves user with double triggers.
r=dietrich a=blocking
2010-11-24 16:36:05 +01:00
Marco Bonardo
b193165b11 Bug 614224 - Try to use waitForAsyncUpdates in test_removeVisitsByTimeframe.js
a=tests-only
2010-11-24 10:44:05 +01:00
Marco Bonardo
d6d60edf7f Bug 614222 - Try to use waitForAsyncUpdates in test_frecency.js
a=tests-only
2010-11-24 10:44:03 +01:00
Shawn Wilsher
e9aa1a1ccb Bug 607115 - use a much smaller guid format than we currently use for bookmarks
Part 3 - Create a function we can use with SQL queries to generate a guid.
r=mak
2010-11-23 16:04:28 -08:00
Shawn Wilsher
86591fef95 Bug 607115 - use a much smaller guid format than we currently use for bookmarks
Part 2 - Create a helper method to generate a guid
r=mak
2010-11-23 16:04:28 -08:00
Marco Bonardo
6de8b4c912 Bug 613477 - Make the primary Star UI async.
r=sdwilsh ui-r=limi a=blocking
2010-11-22 20:34:57 +01:00
Shawn Wilsher ext:(%2C%20Marco%20Bonardo%20%3Cmbonardo%40mozilla.com%3E)
674cdd68f8 Bug 582703 - Improve the concurrency of location bar searches.
Initial patch from sdwilsh is r=mak, further changes from mak are r=sdwilsh. switch-to-tab changes are r=unfocused
sr=rstrong
a=blocking
2010-11-20 01:39:55 +01:00
Marco Bonardo
1d3da309e7 Bug 609122 - Limit the size of places.sqlite-wal.
r=sdwilsh a=blocking
2010-11-18 02:23:32 +01:00
Shawn Wilsher
7c5b41717c Bug 612455 - History.cpp should finalize statementCache on the background thread
Also fixes the favicon service to do this in a safer manner.
r=mak
a=blocking
2010-11-18 02:23:29 +01:00
Shawn Wilsher
3864825ddd Bug 612617 - Assertions due to thread-safety issues on Places branch.
Fix it by never ever passing an nsIURI to the background thread.  EVER.
r=mak
a=blocking
2010-11-17 16:15:49 -08:00
Shawn Wilsher
75c838117e Fix orange on linux opt builds by ifdefing around the problem. a=orange :( 2010-11-17 14:42:13 -08:00
Shawn Wilsher
abacada9dc Merge mozilla-central into Places 2010-11-17 10:55:34 -08:00
Marco Bonardo
036ea5f40f Bug 612281 - Remove some unnecessary reads from visits and icons addition.
r=sdwilsh a=blocking
2010-11-16 13:44:05 +01:00
Marco Bonardo
dd6a60974c bustage fix for bug 599973 a=bustage 2010-11-16 11:30:42 +01:00
Marco Bonardo
3fb7f46519 Bug 599973 (Part 2) - Don't use steps for async favicons.
r=sdwilsh a=blocking
2010-11-16 02:22:01 +01:00
Marco Bonardo
141f5459ce Bug 599973 (part 1) - Don't use steps for async favicons.
r=sdwilsh a=blocking
2010-11-16 02:13:37 +01:00
Marco Bonardo
c3cb283d6a Bug 610442 - TRANSITION_EMBED visits should be session persistent
r=sdwilsh a=blocking
2010-11-12 14:24:25 -08:00
Shawn Wilsher
3e1f89f94a Backed out changeset 6716b289e613. 2010-11-12 08:57:43 -08:00
Shawn Wilsher
15eb6225a3 Disables all link coloring lookups to the db. Wanted to run this on try, but it is not cooperating. There will be orange, but that's OK. This will be backed out shortly. 2010-11-12 08:56:09 -08:00
Shawn Wilsher
06f60f7a34 Merge mozilla-central to Places 2010-11-10 09:38:08 -08:00
Shawn Wilsher
3eebff3a9d Follow-up to address review comment for bug 599969 part 6 2010-11-09 15:46:30 -08:00
Shawn Wilsher
3692066348 Bug 599969 - Do not use steps for async visit adding
Part 6 - Do not add javascript URIs for history (trunk is already doing this,
and the Places branch was getting assertions because GetReversedHostname would
fail on the background thread which would cause nsJSURI to be released off of
the main thread, which is bad).
r=mak
r=ehsan
2010-11-09 11:43:18 -08:00
Shawn Wilsher
f062a26357 Bug 599969 - Do not use steps for async visit adding
Part 5 - be smarter about how we release our references to nsIURI objects so we
do not get threadsafety assertions.
r=mak
2010-11-08 11:47:07 -08:00
Shawn Wilsher
4e0695a15d Bug 599969 - Do not use steps for async visit adding
Part 4 - use one event (ran on the background thread) for setting the page
title, and one event (ran on the main thread) for notifying.
r=mak
2010-11-08 11:45:46 -08:00
Shawn Wilsher
56ba0666f5 Bug 599969 - Do not use steps for async visit adding
Part 3 - Use the statement cache from storage to do less work on the background
thread.
r=mak
2010-11-08 11:43:46 -08:00
Shawn Wilsher
4d309d490a Bug 599969 - Do not use steps for async visit adding.
Part 1 - use one event (ran on the background thread) for adding a visit, and
one event (ran on the main thread) for notifying.
r=mak
r=bmcbride for test change
2010-11-08 11:42:08 -08:00
Marco Bonardo
5ef44c8570 Bug 612235 - "Forget about this site" makes Library a zombie.
r=dietrich a=blocking
2010-11-16 18:15:09 +01:00
Shawn Wilsher
ffb1973389 Merging mozilla-central to Places. 2010-10-29 11:39:41 -07:00
Shawn Wilsher
20967855ac Merge mozilla-central to Places. 2010-10-27 12:28:31 -07:00
Marco Bonardo
c14b21f7c6 Bug 606460 - Queries enhancements after temp tables removal.
r=sdwilsh a=blocking
2010-10-27 14:53:22 +02:00
Shawn Wilsher
c6b0570139 Bug 607469 - IPC-only Crash [@ mozilla::places::History::NotifyVisited]
r=dougt
a=blocking

--HG--
extra : rebase_source : 74fbebfccb8544ef56adb0f66e778372148b0506
2010-10-27 13:14:16 -07:00
Marco Bonardo
050e1c6da0 Use a batch in head_queries.js and dump table in case of failures (test_redirectsMode.js failure).
a=perma-orange
2010-10-22 18:43:12 +02:00
Geoff Lankow
583bbabe67 Bug 603002 - History folders labelled with wrong month names.
r=mak a=sdwilsh
2010-10-19 11:03:07 +13:00
Marco Bonardo
c8008e7bc0 Bug 595139 - Use global VACUUM in Places.
r=sdwilsh a=blocking
2010-10-21 12:19:05 +02:00
Marco Bonardo
a80d8b069a Bug 605464 - Reduce work at bookmarks service startup.
r+a=sdwilsh
2010-10-21 02:51:18 +02:00
Marco Bonardo
0e0216170d Bug 605463 - Lazily initialize history statements.
r+a=sdwilsh
2010-10-21 02:37:59 +02:00
Marco Bonardo
4dd39d5300 Bug 595530 - Searching Places is slower after SQLite 3.7.x upgrade. Remove LENGTH check.
r=sdwilsh a=blocking
2010-10-21 02:27:07 +02:00
Shawn Wilsher
8c46198937 Merge mozilla-central into places. 2010-10-20 12:33:53 -07:00
Shawn Wilsher
026e0d8d20 Test failure fix. No bug, but change talked over with mak on irc. 2010-10-18 08:53:53 -07:00
Shawn Wilsher
fee260454c Merging places and mozilla-central. 2010-10-15 09:26:15 -07:00
Shawn Wilsher
878becc3e3 Bug 607309 - Modify nsINavBookmarkObserver::onItemAdded to include the URI
r=mak
sr=mconnor
a=blocking
2010-10-26 17:20:53 -05:00
Shawn Wilsher
1d601191aa Bug 599978 - Part 3: Asynchronous isVisited checks should use a read-only cloned connection
Finalize the statement so we do not crash in debug builds.
r=orange
2010-10-13 12:02:22 -07:00
Shawn Wilsher
3002b8b720 Bug 599978 - Part 2: Asynchronous isVisited checks should use a read-only cloned connection
Changes to create and use the read-only cloned connection.
r=mak
2010-10-06 08:21:31 -07:00
Shawn Wilsher
3fe0fe5fc9 Bug 599978 - Part 1: Asynchronous isVisited checks should use a read-only cloned connection
Remove the exclusive lock on the places database file.
r=mak
2010-10-06 08:21:31 -07:00
Marco Bonardo
2e5c960ec1 Bug 556631 (part 3) - Cleanup AsyncStatementCallback inheritance. r=sdwilsh a=blocking 2010-10-11 14:53:42 +02:00
Marco Bonardo
5160bf1f25 Bug 556631 (part 2) - Make frecency updates async. r=sdwilsh a=blocking 2010-10-11 14:53:39 +02:00
Marco Bonardo
2ac6334523 Bug 556631 (part 1) - Refactor frecency calculation code. r=sdwilsh a=blocking 2010-10-11 14:53:31 +02:00
Chris Jones
28d67e6217 Bug 550611: Make nsTArray optionally infallible. sr=bsmedberg a=blocking
--HG--
rename : xpcom/glue/nsTArray.cpp => xpcom/glue/nsTArray-inl.h
2010-11-08 20:48:59 -06:00
Marco Bonardo
495daf2b18 Bug 612255 - Don't handle duplicate batches in nsPlacesDBFlush.
r+a=sdwilsh
2010-11-15 16:51:46 +01:00
Marco Bonardo
7889f0a683 Bug 472343 (Part 3) - Merge history and bookmarks batchers.
r=dietrich a=blocking
2010-11-12 22:20:04 +01:00
Marco Bonardo
460d7a7811 Bug 472343 (part 2) - Make Places views aware of batches.
r=dietrich sr=vlad a=blocking
2010-11-12 22:20:00 +01:00
Marco Bonardo
eb235093ae Bug 472343 (part 1) - Make Places results directly handle batches and refreshes.
r?dietrich a=blocking
2010-11-12 22:14:47 +01:00
Marco Bonardo
d7f4ad406c Bug 556721 - Fix some CRLF line endings in Places tests.
no-review a=tests-only
2010-11-12 22:14:20 +01:00
Marco Bonardo
f1465754e4 Bug 598229 (part 2) - Increase performance of Win7 JumpList favorites queries. r=sdwilsh,jimm sr=rstrong a=blocking 2010-10-14 10:46:38 +02:00
Justin Lebar
241ab761e5 Bug 570975 - Don't convert UTF-8 strings to UTF-16 in MatchAutoCompleteFunction r=sdwilsh, a2.0=blocking
--HG--
extra : rebase_source : 70dd986a655e1670fec86e21c8cea7a596e3b0ac
2010-08-31 18:03:40 -07:00
Justin Lebar ext:(%2C%20Kyle%20Huey%20%3Cme%40kylehuey.com%3E)
8b20bfbcec Bug 145975 - Implement nsCaseInsensitiveUTF8StringComparator r=smontagu
--HG--
extra : rebase_source : 8e5d63a6a5ca50b6e95a80421ad96a1d4a52ae77
2010-08-31 18:03:40 -07:00
Marco Bonardo
6b48bd0ad3 Bug 606638 - Intermittent failure in test_393498.js. Consider timers resolution on Win. a=orange 2010-10-23 13:23:32 +02:00
Marco Bonardo
4882721b06 Bug 602872 - Some Places xpcshell tests are failing due to idle-daily notified for each test. r=mak a=orange 2010-10-08 11:18:00 -04:00
Marco Bonardo
424154655a Bug 602085 - followup: some tinderboxes are permanently idle, try to fix frecency tests that rely on idle-daily. a=orange 2010-10-08 14:18:54 +02:00
Marco Bonardo
181f7fb107 Bug 570387 - PlacesDBUtils should register itself in the idle-daily category. r+a=dietrich 2010-10-19 12:44:03 +02:00
Marco Bonardo
029b65abf6 Bug 602872 - remove the idle-daily workaround introduced in Places unit tests, no more needed. a=tests-only 2010-10-19 11:18:42 +02:00
Marco Bonardo
ca855c3491 Bug 570905 - intermittent timeout in test_adaptive.js: skip vacuum and use batches. r=dietrich a=test-only 2010-10-16 11:06:37 +02:00
Marco Bonardo
f4b0ea5b4a Bug 458026 (part 2) - Do not allow creation of empty-named tags. r=mano sr=rs a=blocking 2010-10-16 11:06:35 +02:00
Marco Bonardo
c420bfa983 Bug 458026 (part 1) - Use modules in taggingService. r=mano a=blocking 2010-10-16 11:06:29 +02:00
Marco Bonardo ext:(%2C%20Shawn%20Wilsher%20%3Cme%40shawnwilsher.com%3E)
50d31806a3 Bug 552023 - Kill Places partitioned temp tables.
r=sdwilsh
r=mak
a=blocking2.0
2010-08-09 17:59:59 +02:00
Marco Bonardo ext:(%2C%20Shawn%20Wilsher%20%3Cme%40shawnwilsher.com%3E)
bf20473281 Bug 573492 - Use WAL journaling for places.sqlite.
r=sdwilsh
r=mak
a=blocking2.0
2010-09-13 09:29:42 -07:00
Marco Bonardo
e36f8ef99e Bug 556721 - test_adaptive.js cleanup. rs=places-team a=tests-only 2010-10-07 10:41:23 +02:00
Justin Wood
64f971535e Bug 594707 - browser_settitle.js does not pass |finish| and should (instead of calling). r=gavin a=gavin
[MacOSX SeaMonkey] mochitest-browser-chrome: "browser_visituri.js | Test timed out"
2010-09-18 11:08:58 +01:00
Robert Sayre
4659902f34 jaegermonkey. what. a=arewefastyet 2010-09-11 15:06:33 -04:00
Robert Sayre
59773ae503 Merge mozilla-central to tracemonkey. 2010-09-10 11:47:11 -04:00
David Zbarsky
3276e221ce Bug 556007 (2/3) - Use values from datalist in autocomplete popups. r=dolske ui-r=limi a2.0=sicking 2010-09-10 07:19:20 +02:00
Robert Sayre
357a4a6366 Merge mozilla-central to tracemonkey. 2010-09-01 22:27:07 -07:00
Taras Glek
f849918830 Bug 581606 - Avoid sqlite fragmentation via SQLITE_FCNTL_CHUNK_SIZE r=asuth sr=shaver a=b6 2010-09-01 20:35:46 -05:00
Joel Maher
161d8ae5ae Bug 591325 Fix regression due to relativesrcdir landing in xpchsell test, continued cleanup in chrome tets r=ctalbert a=NPOTB 2010-09-10 10:20:38 -07:00
Serge Gautherie
1293e54bbf Bug 589611 - [SeaMonkey 2.1, mochitest-browser-chrome] browser_visituri_privatebrowsing.js:64 - TypeError: Cc['@mozilla.org/privatebrowsing;1'] is undefined; (Av1) Skip this test when PB service is not available.
r=sdwilsh (a=test only).
2010-08-31 04:41:42 +02:00
Robert Sayre
abe80b4593 Merge mozilla-central to tracemonkey. CLOSED TREE 2010-08-31 10:24:22 -07:00
Robert Sayre
fa6b5c8801 Merge mozilla-central to tracemonkey. 2010-08-29 01:40:40 -04:00
Marco Bonardo
5652bfc359 Bug 590081 - keywords matching is no longer case insensitive. r=dietrich a=blocking 2010-08-27 22:44:05 -07:00
Dan Witte
ca321bb701 Merge e10s -> m-c. 2010-09-07 15:34:44 -07:00
Dan Witte
835b8ad761 Bug 575357 - nsNavHistory::VacuumDatabase should check if vacuum succeeded. r=mak, a=final+ 2010-08-31 19:36:02 -07:00
Marco Bonardo
0054893ef4 Bug 580892 - Checking 'clear history when minefield closes' is not clearing cache on shutdown. r=sdwilsh a=blocking 2010-08-27 21:24:54 -04:00
Joel Maher
b61eda4b1d Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE (android prepartion) r=mitchell.field a=NPOTB 2010-08-26 14:47:28 -07:00
Jeff Walden
04a95a7188 Bug 564621, bug 582077 - JSON.parse shouldn't allow {"a" : "b",} or [1,]. But, because Firefox's bookmarks "JSON" generation has historically generated invalid JSON (it no longer does, see bug 505656), preserve a "legacy" mode of parsing that can be used to load bookmarks.json files (at least until we no longer support migration from Firefox <4 profiles :-) ). r=sayrer 2010-07-14 13:48:36 -05:00
Marco Bonardo
5f01872653 Bug 585969 - getBookmarkedURIFor should not try to add new pages. r+a=sdwilsh 2010-08-26 12:19:34 +02:00
Drew Willcoxon
c600391d65 Bug 575609 - "Switch to Tab" autocomplete entries should have icon decorations (star, magnifier glass, et al.) like other entries. r=gavin, a=blocking-final 2010-08-25 21:01:22 -07:00
Clint Talbert
1afdc1b8df Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout
--HG--
extra : rebase_source : 01307f705ab07b7784401d69a53921b200544978
2010-08-25 14:03:44 -07:00
Joel Maher
51fff79f07 Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field 2010-08-25 11:47:39 -07:00
Joel Maher
ce269022ab Bug 574189 - Fix chrome tests to work from an extension for android and e10s support a=NPOTB r=ctalbert 2010-08-24 10:29:34 -07:00
Marco Bonardo
1d142ee8a0 Bug 636917 - isLivemark may return the wrong result to annotations observers; r=dietrich 2011-03-22 10:57:01 -04:00
Phil Ringnalda
61eccbd082 Bug 607133 - Remove the unneeded bits of test_404630.js which hit the network, and thus make it flaky, r=mak, a=orange 2010-11-30 08:03:42 -08:00
Jonas Sicking
cbc0676504 Backout bugs 586754, 574189, 584611 due to orange. a=backout 2010-08-20 11:08:43 -07:00
Joel Maher
6763342e81 Bug 586754 xpcshell tests should use relativesrcdir instead of $MODULE r=:Mitch a=NPOTB 2010-08-20 09:32:58 -07:00
Joel Maher
978a4a1ad2 Bug 574189 - Fix chrome tests so they can run from a .jar bundle (e10s, android) r=ctalbert a=NPOTB 2010-08-20 09:28:13 -07:00
Mark Banner
45e775309d Bug 614550 - Ensure places is enabled for places related c++ tests; r=mak, a=test-only change 2010-11-24 15:13:47 +00:00
Marco Bonardo
af4fb16976 Bug 606638 - Intermittent xpcshell failure in test_393498.js | false == true
a=tests-only
2011-01-14 15:33:50 +01:00
Joel Maher
a1ced5aa8a Bug 601245 Stop packaging test files which are in tests.jar r=ctalbert a=test-only 2010-12-09 14:47:21 -08:00
Marco Bonardo
e8367bd74b Bug 617779 - Downgrading from places branch to trunk wrongly assumes the database is corrupt.
r=sdwilsh a=blocking
2010-12-09 20:14:45 +01:00
Mark Banner
055848b769 Bug 610974 - Ensure places is enabled for places related tests; r=sdwilsh, a=test-only change 2010-11-19 13:23:35 +00:00
Makoto Kato
1bb0376f66 follow up Bug 600469. indent only fix. r=mak77, a=whitespace fix 2010-10-22 21:27:44 +09:00
Makoto Kato
8d84cada94 Bug 600469 - Cu is not defined into PAC_handleError (nsPlacesAutoComplete.js). r=gavin, a=gavin 2010-10-22 20:42:55 +09:00
Marco Bonardo
3701723caa Merge backout 2010-08-14 09:57:09 +02:00
Marco Bonardo
80172e37a6 Backed out changeset dfd35987dd82 (WAL journaling - bug 573492) due to Ts regressions 2010-08-14 09:56:19 +02:00
Marco Bonardo
0d6b44d30c Bug 573492 - Use WAL journaling for places.sqlite. r=sdwilsh a=blocking 2010-08-13 21:04:24 +02:00
Marco Bonardo
49550d2b5c Bug 546253 - moz_openpages_temp table needs to describe pages that may not be in moz_places. r=sdwilsh a=blocking 2010-08-13 21:53:05 -04:00
Marco Bonardo
11be4ff865 Bug 572030 - Use a memory cache for keywords associations. r=dietrich a=sdwilsh 2010-08-09 17:59:43 +02:00
Marco Bonardo
618e76a12c Bug 585966 - Async-sync contentions when adding new pages ("19 constraint failed" error). r=sdwilsh a=blocking 2010-08-12 12:28:04 +02:00
Marco Bonardo
19f9749d25 Bug 584731 - new History.cpp should check aReason for HandleCompletion. r=sdwilsh a=blocking 2010-08-06 17:42:53 +02:00
Michael Wu
953d3c4563 Bug 556644 - 3. Let the browser reset bookmarks from the omnijar, r=sdwilsh sr=vlad a=blocking2.0 2010-08-10 15:15:26 -07:00
Marco Bonardo
f4f48e0c16 Backed out changeset e0c443c09d67 2010-08-10 17:41:13 +02:00
Marco Bonardo
130ddcb53e Bug 584731 - new History.cpp should check aReason for HandleCompletion. r=sdwilsh a=blocking 2010-08-06 17:42:53 +02:00
Marco Bonardo
0e45704655 Backed out changeset 5037343f92fc on CLOSED TREE 2010-08-10 00:15:50 +02:00
Marco Bonardo
697912c684 Bug 572030 - Use a memory cache for keywords associations. r=dietrich a=sdwilsh 2010-08-09 17:59:43 +02:00
Shawn Wilsher
4ba935953c Backed out changeset e6e0200b6e03 (bug 568969) because it appears to have caused orange on a CLOSED TREE. 2010-08-06 11:53:39 -07:00
Shawn Wilsher
17eda7ec10 Bug 568969 - Nuke nsContentUtils::GetHistory
r=bz
a=bsmedberg
2010-08-05 10:07:46 -07:00
Shawn Wilsher
727a69293b Bug 584111 - Better logging of errors for places autocomplete
r=mak
a=gavin
2010-08-05 10:06:21 -07:00
Marco Bonardo
1ef9d25634 Bug 581660 - places-teardown should be double enqueued. r=sdwilsh 2010-08-03 10:01:47 +02:00
Marco Bonardo
1e5de50e51 Bug 581657 - Async favicons fails on null data. r=sdwilsh 2010-08-06 13:48:12 +02:00
Bjarne
100caa546d Bug 546606 - Make redirect API async - part 2; r=honzab.moz,cbiesinger,bjarne,jst sr=jst 2010-08-04 22:15:55 -04:00
Josh Matthews
efd0cccb18 Bug 580450 - Clean up IPC::URI. r=dwitte 2010-07-26 15:59:34 -04:00
Marco Bonardo
f8ce876ce0 backout Bug 581660 since we are freezing for b3. a=gavin 2010-08-03 10:20:08 +02:00
Marco Bonardo
0082f86850 Bug 581648 - Useless warning in GetReversedHostName. r=sdwilsh 2010-08-03 10:01:49 +02:00
Marco Bonardo
6a68ec58b5 Bug 581660 - places-teardown should be double enqueued. r=sdwilsh 2010-08-03 10:01:47 +02:00
Doug Turner
5c072b1442 Follow up fix to bug 516728. Fixes assertion description and removing an extra ws 2010-08-01 23:38:10 -07:00
Doug Turner
848fbc02f4 Bug 568925 - Remote History Set Title for URI. r=cjones, sr=bz 2010-07-02 08:53:42 -07:00
Doug Turner
80889516f4 Bug 551181 - [e10s] Tell the chrome process when we visit a page. r=sdwilsh, r=cjones, sr=bz
--HG--
extra : rebase_source : 601e1e9e6464bdd8ea4164bc98ea9792d55ec22c
2010-07-02 08:50:24 -07:00
Doug Turner
76581669ab Bug 516728 - Remote link-visited information. r=sdwilsh, sr=bz
--HG--
extra : rebase_source : bb818d7c563451232e7729f49c4fd2276dd47dd0
2010-07-02 08:50:41 -07:00
Kyle Huey
1a93d6ebbb Revert tree to the last known good state 2010-07-27 17:32:17 -07:00
Kyle Huey
412f76637e Back out Bug 551181 because it depends on the last bug I backed out 2010-07-27 17:13:55 -07:00
Kyle Huey
ef1d23e18e Backed out changeset 998a00c4052b 2010-07-27 17:13:20 -07:00
Kyle Huey
c7c5863a0a Backout Bug 516728 to fix orange 2010-07-27 16:51:48 -07:00
Kyle Huey
4c5d7e4fe3 Backed out changeset ca5a1f26565f 2010-07-27 16:51:15 -07:00
Doug Turner
aa9fff45d3 Bug 516728 - Remote link-visited information. r=sdwilsh, sr=bz 2010-07-02 08:50:41 -07:00
Doug Turner
ab766b5ff2 Bug 551181 - [e10s] Tell the chrome process when we visit a page. r=sdwilsh, r=cjones, sr=bz 2010-07-02 08:50:24 -07:00
Marco Bonardo
4a03080254 Bug 580228 - Relax timed history expiration. r=sdwilsh 2010-07-23 23:14:25 +02:00
Marco Bonardo
847239132b Bug 499828 - kill LAZY_ADD and use async storage instead. r=sdwilsh 2010-07-22 14:09:10 +02:00
Marco Bonardo
a7fd29ee6b Bug 579334 - Async visits are ignoring a disabled history. r=sdwilsh 2010-07-19 21:53:33 +02:00
Marco Bonardo
8030e81da5 follow-up to Bug 578557 - disable idle expiration in manually controlled expiration tests. r=dietrich. orange fix on CLOSED TREE a=developers-channel 2010-07-16 01:04:42 +02:00
Marco Bonardo
7dc17cbb3f Bug 578557 - Better handling of expiration with clean history. r=dietrich 2010-07-15 22:38:01 +02:00
Benjamin Stover
727ca6c5da Bug 556400 - Set titles asynchronously. r=mak r=sdwilsh sr=bz 2010-07-13 18:00:41 -07:00
Benjamin Stover
e4051ec461 Bug 556400 - Add visits Asynchronously. r=mak r=sdwilsh sr=bz 2010-07-13 18:00:33 -07:00
Michael Kohler
dab190d2bc Bug 506041 - Correct misspellings in source code (Patch 3)
r=timeless

--HG--
extra : rebase_source : 1917c999a5865676ffb7ec3c2834c3e091bb64dc
2010-07-07 15:33:52 +02:00
Dave Townsend
f1d4bafdbd Backed out changeset f9a700607b86 from bug556400 due to possible browser-chrome failures.
--HG--
extra : transplant_source : %AC%2C%060%A3Shzk%F0%19i%87%AB%D8%87%B8%5E%80%A6
2010-07-02 20:01:44 -07:00
Dave Townsend
1603750c26 Backed out changeset 07a9dcc28c5c from bug 566738 due to possible browser-chrome failures.
--HG--
extra : transplant_source : %0C%19%86%CE%D8%F3%95%7FV%BA%3DsM%06%D4%EF%C8%B7%8Dq
2010-07-02 20:00:45 -07:00
Dave Townsend
8a945c0886 Backed out changeset f666976446db from bug 556400 due to possible browser-chrome
failures.

--HG--
extra : transplant_source : h%3B%A1%2CB0Z%08%B0%D3%D7N-%DD%0B%00%8C%95G%FE
2010-07-02 19:58:25 -07:00
Marco Bonardo
3c213f440c Fix a condition where we assert because data is destroyed before a new step is added. 2010-07-02 15:47:41 +02:00
Benjamin Stover
c41accdd7c Bug 566738 - Make setting titles asynchronous. r=sdwilsh r=mak sr=bz 2010-06-30 16:19:33 -07:00
Benjamin Stover
97eb3d6fee Bug 556400 - Make adding visits asynchronous. r=sdwilsh r=mak sr=bz 2010-06-30 16:08:28 -07:00
Benjamin Smedberg
a249678c04 Final merge and landing of bug 568691 and dependent bugs to mozilla-central on a CLOSED TREE.
* bug 568691, register XPCOM components statically using manifests. r=mossop, with some test and build stuff r=vlad,sdwilsh
* bug 573557, rename categories with spaces to use hypens. r=jst
* bug 573739, Don't get the private browsing service during layout module initialization, r=ehsan

This initial merge does not include some work planned to land imminently:
* The extension manager still restarts. I need to solve a problem re-reading default preferences from extensions.
* MOZ_OMNIJAR is broken: there is a patch which I need to update in bug 568691.
* I will concurrently land a mobile-browser fix for component registration, but it may require some additional packaging changes.
2010-07-01 14:26:25 -04:00
Taras Glek
bb78f82fbe Bug 416330 - Suboptimal SQLite page size r=sdwilsh 2010-07-01 10:57:13 -07:00
Benjamin Smedberg
4d172dd53d Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg
a2833452f8 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benjamin Stover
8150bfd360 Backout of bugs 575908, 566738, and 556400 2010-06-29 17:34:52 -07:00
Benjamin Stover
6932ae09f9 Bug 575908 - Leak fix: remove all pending tasks from queue. r=sdwilsh 2010-06-29 16:18:17 -07:00
Benjamin Stover
41fbf65971 Bug 566738 - Add SetURITitle to IHistory r=sdwilsh, sr=bz 2010-06-29 14:12:41 -07:00
Benjamin Stover
86673a511e Bug 556400 - Implement asyncable VisitURI. r=sdwilsh, sr=bz 2010-06-29 13:58:36 -07:00
Benjamin Smedberg
1a140494e8 Fixes for more test failures from bug 568691 - the RTL tests dynamically register chrome which must be un-done: to do this, I register a manifest for the life of the app, but truncate it after this test is complete. The toolkit tag-autocomplete tests were failing because of a missing close-brace. 2010-06-27 17:04:45 -04:00
Benjamin Smedberg
c16cf0f0c5 Fix a bunch of test failures caused by typos or other issues from bug 568691. 2010-06-27 14:03:05 -04:00
Benjamin Smedberg
9cadd0fe5f Fix contracts which were not registered correctly: nsPlacesAutoComplete.js was completely missing, and the nsINIParserFactory contract was missing. Fixes test_pref_interval.js to register/unregister its mock objects correctly. 2010-06-25 22:17:31 -04:00
Benjamin Smedberg
63c0077443 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Drew Willcoxon
bb224ec5ad Bug 573430 - nsIFaviconService.getFaviconData should not fail when passed the default favicon. r=mak 2010-06-25 14:06:14 -07:00
Benjamin Smedberg
abf280675d Testing fixes for bug 568691 - change xpcshell do_load_module to do_load_manifest, and switch the relevant tests to use manifests and the new function. 2010-06-25 10:43:25 -04:00
Benjamin Smedberg
762def30bb Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Mehdi Mulani
1021f12095 Bug 564270 - Can not search Places by transition type 2010-06-23 10:01:27 -07:00
Benjamin Smedberg
202aa47626 Bug 568691 - Add CID data back to classinfo because it's required for fastload to work correctly. 2010-06-22 12:59:57 -04:00
Benjamin Smedberg
5cab25b52b Bug 568691 - Convert existing JS components to use NSGetFactory and add manifest files for them. In a followup we will link the .manifest files together at packaging time. This patch was developed on Linux: Windows and Mac may require additional changes.
--HG--
rename : toolkit/components/filepicker/src/nsFilePicker.js.in => toolkit/components/filepicker/src/nsFilePicker.js
2010-06-22 12:59:15 -04:00
Benjamin Smedberg
45af085fff Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
timeless@mozdev.org
a680002b0a Bug 565599 unused variable nsNavHistoryContainerResultNode::mAsyncEnabled
r=mano
2010-06-22 02:01:39 +02:00
Tobias Nygren
bc9e175324 Bug 469951 - using %lld PR_scanf format directly on a PRTime is not portable. r=sdwilsh 2010-06-22 02:01:37 +02:00
Marco Bonardo
d9cec5a36c Bug 572800 - Ensure previous autocomplete query has been canceled before starting a new one. r=sdwilsh 2010-06-22 02:01:35 +02:00
Benjamin Smedberg
f13550a209 Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
Shawn Wilsher
5aafb87384 Backout of bug 416330 so we can freeze for the beta on a CLOSED TREE. 2010-06-28 16:31:47 -07:00
Taras Glek
ce040e2786 Bug 416330 - Suboptimal SQLite page size r=sdwilsh
--HG--
extra : rebase_source : 053c7b1d975304ed7d402bb619874c889c71425c
2010-06-28 12:13:26 -07:00
Daniel Holbert
a7de49793d Backed out changeset 5da9fc2be835 (Bug 557566) 2010-06-26 20:00:11 -07:00
Daniel Holbert
d37294426a Bug 557566, part 2: Add FAIL_ON_WARNINGS to Makefiles in some build-warning-free directories. r=ted 2010-06-26 14:25:22 -07:00
Doug Turner
26297a1c2a Backing out af6c00ca82d1 2010-06-26 00:32:19 -07:00
Doug Turner
d4af2b4341 Backing out 1a916e3c1ad1 2010-06-26 00:31:31 -07:00
Doug Turner
bf11f60673 Backing out 4061ea0018b6 2010-06-26 00:30:57 -07:00
Doug Turner
4639ebf46c Fix for build bustage when landing bug 556400 2010-06-25 23:37:51 -07:00
Benjamin Stover
785d263fb3 Bug 566738 - Add SetURITitle to IHistory. r=sdwilsh sr=bz 2010-06-25 22:53:41 -07:00
Benjamin Stover
44b838b62d Bug 556400 - Implement asyncable VisitURI. r=sdwilsh sr=bz 2010-06-25 22:50:29 -07:00
Marco Bonardo
9fe93d185e Bug 553467 - Move Places Transactions to PlacesUtils. Make PlacesUIUtils.ptm a compatibility shim. r=mano 2010-06-30 23:24:03 +02:00
Marco Bonardo
82fb454a43 Fix and re-enable test_history_expiration.js 2010-06-17 21:46:22 +02:00
Marco Bonardo
6d0b3f36e9 Bug 562644 - Ensure correct Places shutdown sequence and avoid sync expiration stuff. r=dietrich 2010-06-17 12:53:01 +02:00
Drew Willcoxon
23f6c7fa89 Bug 564573 - A page that's opened in a tab should appear exactly once, as switch-to-tab. r=mak 2010-06-14 11:51:53 -07:00
Justin Wood
7eb105907c Bug 568733 - patch for mobile specific browser-chrome tests breaks seamonkey. r=ted
pending-feedback=jmaher

Also RE-enables browser-mochitests for docshell.
2010-06-09 19:29:44 -04:00
Jeff Walden
1a51ea8168 Bug 505656 - Bookmarks backup JSON generation should 1) generate valid JSON and 2) handle incremental failures better (omitting information, rather than potentially serializing bad information). r=mak 2010-05-10 16:11:03 -07:00
Edward Lee
fc92ca4487 Bug 461483 - Ignore 'www.' when searching in the the awesome bar [r=mak]
Strip out www. from found urls and the query after already stripping off http://, etc. Update tests now that www. can't be matched.

--HG--
extra : rebase_source : 352f2dfb302a56fc3e83dffcbb1bd2a53208510d
2009-07-24 17:57:26 -07:00
Chris Jones
8095e43052 Backed out changeset c60e3e48ea38 2010-06-24 19:56:14 -05:00
Taras Glek
065ac23871 Bug 416330 - Suboptimal SQLite page size r=sdwilsh 2010-06-24 16:39:24 -07:00
Marco Bonardo
46a081b592 Bug 573302 - Folder name is not update when create a folder and/or edit name in Properties. r=dietrich 2010-06-24 13:47:31 +02:00
Joel Maher
c18ae0e88f Bug 535922 - Genereate mobile specific browser chrome test package files r=ted 2010-05-27 13:01:37 -07:00
Michael Kohler
5f19df86e0 Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
--HG--
extra : rebase_source : 4f15f7fd6f90926b77d136be83af7f22c5ffa830
2010-05-23 12:26:15 -07:00
Ehsan Akhgari
a87b134220 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Edmund Wong
3f9353b789 Bug 232691 - replace nsString() nsAutoString() and friends with EmptyC?String(). r=jonas 2010-05-18 09:50:14 +02:00
Mitchell Field
6ad77bd6db Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
timeless@mozdev.org
6d30a73e66 Bug 562519 cache result from PR_GetPhysicalMemorySize
r=biesi
2010-05-13 11:11:24 -07:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Daniel Holbert
942fda5f5c Bug 560393, part 1: (places directory) Fix warning: "format '%d' expects type 'int', but argument [N] has type 'size_t'". r=sdwilsh 2010-05-06 11:52:15 -07:00
Marco Bonardo
e4bdac57e2 Bug 563098 - Use shared services and async statements in PlacesDBFlush. r=sdwilsh 2010-05-05 15:27:59 +02:00
timeless@mozdev.org
9a303cf9a4 Bug 562435 - RECENT_EVENT_THRESHOLD should be a PRTime in nsNavHistory, r=dietrich 2010-04-28 13:00:00 -07:00
timeless@mozdev.org
896fb1bb0b Bug 562661 - [@ nsNavHistory::RowToResult] mishandles *aResult, r=mak 2010-04-29 19:23:00 -07:00
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Marco Bonardo
746854e136 Bug 559217 - Browser freezes due a lock contentions across Places statements. r=sdwilsh 2010-04-29 10:40:08 +02:00
Serge Gautherie
1ac1fdd1d8 Bug 535905 - [SeaMonkey 2.1] mochitest-browser-chrome: "Exception thrown at chrome://mochikit/content/browser/toolkit/components/places/tests/browser/browser_bug399606.js:74 - ReferenceError: XPCOMUtils is not defined"; (Av1) Add missing |Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");|.
r=mak77.
2010-04-28 23:49:28 +02:00
Kurt Schultz
9a47bc524b Bug 515435 - Remove "Get Bookmark Add-ons" from default bookmarks. r=mak l10n-r=pike 2010-04-28 09:17:09 +02:00
Marco Bonardo
d4b3c277bb Test for containerNode->getChildIndex(node)(related to bug 561848). r=dietrich 2010-04-28 09:17:04 +02:00
Marco Bonardo
924b61f59a Bug 561848 - signed/unsigned mismatch in nsNavHistoryContainerResultNode::GetChildIndex. r=dietrich 2010-04-27 13:25:20 +02:00
Marco Bonardo
0901521e37 Bug 555218 - 8: Other Places warnings. r=dietrich 2010-04-27 13:25:16 +02:00
Marco Bonardo
33962af36a Bug 555218 - 7: (nsNavHistory.cpp) Fix Places usage of deprecated Storage APIs. r=dietrich 2010-04-27 13:25:07 +02:00
Marco Bonardo
de6b8e8aa7 Bug 555218 - 6: (nsNavBookmarks.cpp) Fix Places usage of deprecated Storage APIs. r=dietrich 2010-04-27 13:25:05 +02:00
Marco Bonardo
e9721dd6e8 Bug 555218 - 5 (AsyncFaviconsHelpers.cpp) Fix Places usage of deprecated Storage APIs. r=dietrich 2010-04-27 13:25:03 +02:00
Marco Bonardo
5c49867138 Bug 555218 - 4: (nsFaviconService.cpp) Fix Places usage of deprecated Storage APIs. r=dietrich 2010-04-27 13:25:00 +02:00
Marco Bonardo
3fe32acf6a Bug 555218 - 3: (nsAnnotationService.cpp) Fix Places usage of deprecated Storage APIs. r=dietrich 2010-04-27 13:24:58 +02:00
Marco Bonardo
6bbfb75c08 Bug 555218 - 2: (History.cpp) Fix Places usage of deprecated Storage APIs. r=dietrich 2010-04-27 13:24:56 +02:00
Marco Bonardo
9ad977b980 Bug 555218 - 1: (nsNavHistoryResults.cpp) Fix Places usage of deprecated Storage APIs. r=dietrich 2010-04-27 13:24:54 +02:00
Marco Bonardo
d9570ca6b0 Bug 561229 - Copy/Paste bookmarks is broken. r=dietrich 2010-04-26 21:04:20 +02:00
Marco Bonardo
2ad8eca76b Bug 560104 - rename toolkit places utils.js to PlacesUtils.jsm r=dietrich
--HG--
rename : toolkit/components/places/src/utils.js => toolkit/components/places/src/PlacesUtils.jsm
2010-04-26 21:04:17 +02:00
timeless@mozdev.org
18f4a5a5a3 Bug 555659 - places/tests/cpp/mock_Link.h doesn't initialize mRegistered and mContent, r=sdwilsh, a=1
--HG--
extra : rebase_source : b1993fad9fc5674e673c10150a2fb12e9216fea4
2010-03-29 02:10:00 -07:00
Marco Bonardo
f0b25bedf3 Bug 529821 - Places should shutdown earlier (at profile-before-change). r=sdwilsh r=ehsan 2010-04-22 14:53:54 +02:00
Marco Bonardo
dc98c63f6e Bug 542736 - random orange in xpcshell/tests/test_places/expiration/test_pref_interval.js r=sdwilsh 2010-04-20 10:07:21 +02:00
Marco Bonardo
cccce40f04 Bug 541068 - random failure in expiration\test_removeAllPages.js r=dietrich 2010-04-20 10:07:16 +02:00
Marco Bonardo
e203107ce4 Bug 557406 - Intermittent xpcshell failure in test_bookmarks.js, r=dietrich 2010-04-18 16:05:58 +02:00
Marco Bonardo
698a556c8d Bug 509426 - disable flushes on test_405938_restore_queries.js 2010-04-17 12:07:21 +02:00
Marco Bonardo
60899ff343 Bug 556739 - Part 3: PlacesUtils is added twice at build time. r=dietrich 2010-04-16 23:51:36 +02:00
Marco Bonardo
1d77a891bd Bug 556739 - Part 2: use Services in microsummaries service. r=dietrich 2010-04-16 23:51:33 +02:00
Marco Bonardo
d644ba9c98 Bug 556739 - Part 1: Expose more from PlacesUtils. r=dietrich 2010-04-16 23:51:04 +02:00
Marco Bonardo
6dc8730c40 Bug 527134 - disable flushes for test_385829.js a=dietrich 2010-04-16 23:50:58 +02:00
Marco Bonardo
229fe714c7 Bug 527622 - test_sorting.js should wait for clear history. a=dietrich 2010-04-16 23:50:40 +02:00
Marco Bonardo
c4a48f9863 Bug 540751 - test_update_frecency_after_delete.js should wait for clear history. a=dietrich 2010-04-16 23:50:21 +02:00
Marco Bonardo
2f483437e5 Bug 547334 - test_browserhistory.js should wait for clear history. a=dietrich 2010-04-16 23:49:44 +02:00
Marco Bonardo
32a0915d52 Bug 556347 - LAZY_TIMER*2 is not large enough to ensure correctness of the test. a=dietrich 2010-04-16 23:48:38 +02:00
Marco Bonardo
9edfc53e75 Bug 559682 - Ensure we create a valid transaction in batches before trying to commit it. r=sdwilsh 2010-04-16 14:31:21 +02:00
Marco Bonardo
c6a363b619 Disable flushes for some Places random test, due to bug 507790 2010-04-15 00:14:19 +02:00
Marco Bonardo
918dd0d463 Bug 557406 - Intermittent failure in test_bookmarks.js. Disable till we implement a fix. 2010-04-15 00:14:15 +02:00
Dietrich Ayala
bc51cf819c Bug 557406 - Intermittent xpcshell failure in test_bookmarks.js | false == true (via shaver, test landing to see orange effect) 2010-04-13 22:57:36 -07:00
Drew Willcoxon
b660f0bb6a Bug 536893 - Asynchronous API for opening nsNavHistoryFolderResultNodes (part 2), r=mano 2010-04-09 11:30:35 -07:00
Drew Willcoxon
207fc62f9f Bug 536893 - Asynchronous API for opening nsNavHistoryFolderResultNodes (part 1), r=mano, sr=vlad 2010-04-09 11:30:29 -07:00
Ehsan Akhgari
3313f2610b Backed out changeset 9786ae3984b3 (bug 553124) because of potential privacy risks 2010-04-07 13:29:10 -04:00
Ehsan Akhgari
f11e5f3370 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
c6cfc1d0a4 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
2ebef49bb0 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
bdcef1a8ca Bug 555519 - disable test_doSetAndLoadFaviconForPage_failures.js since it randomly succeeds 2010-04-01 13:28:25 +02:00
Blair McBride
9c5de4629e 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
4682e88094 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
fcd0c4ed23 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
59fc644e1e 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
e831c65fee Bug 553489 - Part10: reimplement setAndLoadFaviconForPage. r=sdwilsh sr=vlad 2010-03-25 12:34:49 +01:00
Marco Bonardo
208cd2f7a2 Bug 553489 - Part9: NotifyStep. r=sdwilsh 2010-03-25 12:34:47 +01:00
Marco Bonardo
f1927b220f Bug 553489 - Part8: AssociateIconWithPageStep. r=sdwilsh 2010-03-25 12:34:45 +01:00
Marco Bonardo
5e4bf87f23 Bug 553489 - Part7: SetFaviconDataStep. r=sdwilsh 2010-03-25 12:34:42 +01:00
Marco Bonardo
e10624755d Bug 553489 - Part6: FetchNetworkIconStep. r=sdwilsh 2010-03-25 12:34:40 +01:00
Marco Bonardo
4e6db2d9d4 Bug 553489 - Part5: EnsureDatabaseEntryStep. r=sdwilsh 2010-03-25 12:34:38 +01:00
Marco Bonardo
b6174d2a67 Bug 553489 - Part4: FetchDatabaseIconStep. r=sdwilsh 2010-03-25 12:34:35 +01:00
Marco Bonardo
601401fcee Bug 553489 - Part3: GetEffectivePageStep. r=sdwilsh 2010-03-25 12:34:33 +01:00
Marco Bonardo
925a3aac39 Bug 553489 - Part2: AsyncFaviconStepper. r=sdwilsh r=dietrich 2010-03-25 12:34:31 +01:00
Marco Bonardo
d31d86de04 Bug 553489 - Part1: new callback interface and better idl docs. r=sdwilsh sr=vlad 2010-03-25 12:34:28 +01:00
Andrew Sutherland
ddd3c4327f 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
2483b43786 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
2ddaaa1db3 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
3aa0211ba6 Bug 552444 - Part 2: fix "UsrMicsumGens" dependency. r=mano 2010-03-23 14:55:19 +01:00
Marco Bonardo
8ca7c4879a 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
fd99307a97 bug 541746 - fix test_frecency.js to work on SeaMonkey, r=dietrich 2010-03-19 17:21:59 +01:00
David Bolter
af0cd9907e 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
50df9cf854 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
88d91d133b 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
7f73b235c7 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
d050afae06 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
fd118435f9 Bug 543444 - Replace single-view API with multiple observers. r=mak sr=rstrong 2010-03-12 12:14:47 +01:00
timeless@mozdev.org
1bbca2c201 Bug 549259 [@ nsAnnotationService::StartGetAnnotation]
r=mak

--HG--
extra : rebase_source : f7504195843a57c0e6226c874f955f0073e6523c
2010-03-12 07:50:10 +01:00
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
Marco Bonardo
a28c8e2d26 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
a4941664dd 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
f45bf94d80 Bug 520165 - Part13: New expiration tests, r=mano 2010-01-15 17:40:47 +01:00
Marco Bonardo
a891df836a Bug 520165 - Part12: fix existing Places tests, r=mano 2010-01-15 17:40:45 +01:00
Marco Bonardo
54fa20b6ee Bug 520165 - Part10: Add a new expiration component, r=mano, r=dietrich 2010-01-15 17:40:39 +01:00
Marco Bonardo
0f6a3324a8 Bug 520165 - Part9: remove old expiration code, r=mano 2010-01-15 17:40:19 +01:00
Marco Bonardo
393f2298ed Bug 520165 - Part8: Change onPageExpired to onDeleteVisits, r=mano, sr=mconnor 2010-01-15 17:40:17 +01:00
Marco Bonardo
cced464000 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
4408d52845 Part4: lazy statements creation (and minor cleanup) in nsFaviconService, r=sdwilsh 2010-01-08 13:57:49 +01:00
Drew Willcoxon
e9ef3b6403 Bug 529597 - Places protocol handler, r=mak77,bz 2009-12-29 19:37:24 -08:00
Saint Wesonga
7eddbbbf54 Test for bug 484026, r=mak77 2009-12-23 19:31:39 -05:00
Daniel Holbert
2d58b07fbe Bug 536520: Reorder init list for nsNavHistoryResult, to fix build warning. r=mak 2009-12-23 16:17:11 -08:00
Marco Bonardo
b97793a63e Re-enable sync for random oranges that could have been fixed by bug 536435. 2009-12-22 21:57:46 +01:00
Marco Bonardo
954f406a5c Bug 536435 - Remove bookmarks service dangerous usage of UNION ALL, r=sdwilsh 2009-12-22 21:57:43 +01:00
Marco Bonardo
4448d58d19 Bug 520165 - Part6: generic constants and comments cleanup, r=mano 2009-12-22 13:05:14 +01:00
Marco Bonardo
5494f18c04 Bug 520165 - Part5: Cleanup topics and observer service usage, r=mano 2009-12-22 13:05:11 +01:00
Marco Bonardo
0fbefb9a05 Bug 520165 - Part4: use a getter for last session id, r=mano 2009-12-22 13:05:08 +01:00
Marco Bonardo
ff916a7872 Bug 520165 - Part3: Cleanup GetNow, r=mano 2009-12-22 13:05:06 +01:00