Commit Graph

326 Commits

Author SHA1 Message Date
Gian-Carlo Pascutto
a0e2edaf10 Bug 744668 - Control URI access NPE if Fennec not yet launched. r=lucasr 2012-04-12 19:28:50 +02:00
Gian-Carlo Pascutto
11c5a98566 Bug 742815 - Don't launch migration twice when status is probed. r=lucasr 2012-04-12 19:28:50 +02:00
Gian-Carlo Pascutto
573b55c7f6 Bug 721898 - Remove history truncation code. r=lucasr 2012-04-12 19:28:50 +02:00
Kyle Huey
abeb0a1a6e Bug 744498: Fix some java warnings. r=kats 2012-04-11 11:27:25 -07:00
Margaret Leibovic
dd233b5d93 Bug 741590 - Database migration to combine history entries with the same URL. r=rnewman 2012-04-09 17:28:59 -07:00
Margaret Leibovic
33df925268 Bug 741590 - Create updateOrInsertHistory method for BrowserProvider. r=rnewman 2012-04-09 17:28:59 -07:00
Wes Johnston
3fc4f9440b Bug 739514 - Update database version. r=mleibovic 2012-04-09 17:14:51 -07:00
Wes Johnston
65c6b15f26 Bug 740218 - Support transactions in sqlitebridge and use them. r=gcp,rnewman,lucasr 2012-04-09 10:08:37 -07:00
Wes Johnston
2ba46f571f Backed out changeset f5d6cc2e4726 2012-04-09 10:44:32 -07:00
Wes Johnston
e196e635a6 Bug 740218 - Support transactions in sqlitebridge and use them. r=gcp,rnewman,lucasr 2012-04-09 10:08:37 -07:00
Richard Newman
9e471abb08 Bug 736348 - Child positioning hits sqlite limits. r=lucasr 2012-04-05 19:25:34 -07:00
Gian-Carlo Pascutto
37c394a18e Bug 725150 - Expose CONTROL Uri for BrowserProvider. r=lucasr 2012-04-04 21:48:46 +02:00
Wes Johnston
1766e65700 Bug 739514 - Fix bad history entries created by default bookmarks creation. r=lucasr 2012-04-02 17:38:51 -07:00
Margaret Leibovic
f48c05ce20 Bug 737896 - Put desktop bookmark folders under a "Desktop Bookmarks" folder. r=lucasr 2012-04-02 11:56:53 -07:00
Margaret Leibovic
6256b5c5ce Bug 738961 - Awesomebar filter should treat space-separated words as separate filters. r=lucasr 2012-04-02 11:56:48 -07:00
Lucas Rocha
4c5c49e006 Bug 739066 - Don't include delete bookmarks/history in Combined view (r=margaret) 2012-03-30 17:31:31 +01:00
Mark Finkle
6f47a41cd7 Bug 738976 - java.lang.NullPointerException at org.mozilla.gecko.db.LocalBrowserDB.updateFaviconForUrl r=blassey 2012-03-27 08:47:14 -04:00
Wes Johnston
d6d57f8ac8 Bug 739257 - Default bookmarks with no favicon should log a message, but no stack track. r=mfinkle 2012-03-26 09:52:35 -07:00
Wes Johnston
9b5f27b04c Bug 728224 - Create deafult bookmarks in Fennec. r=mfinkle 2012-03-23 17:38:49 -07:00
Margaret Leibovic
ddd21ae3d5 Bug 721731 - Create combined bookmarks/history view for top sites/awesomebar queries. r=mfinkle 2012-03-23 15:52:42 -07:00
Brian Nicholson
f5ac9de7b8 Bug 737782 - Add keyword as a default bookmark column. r=mfinkle
--HG--
extra : rebase_source : 92b52e5402926184221796e32ef1c75b6a36a384
2012-03-22 18:36:09 -07:00
Brad Lassey
789216cd48 bug 734624 - java.lang.RuntimeException: An error occured while executing doInBackground() at android.os.AsyncTask.done(AsyncTask.java) caused by: android.database.sqlite.SQLiteConstraintException: error code 19: constraint failed, catch potential exceptions r=mfinkle
--HG--
extra : rebase_source : e6a22be859e6e83bc23bd17f70eb701ad5a676e8
2012-03-16 12:21:04 -04:00
Lucas Rocha
4c1ff301e5 Bug 708149 - Replace folder column with type in bookmarks table (r=rnewman) 2012-03-20 11:44:32 +00:00
Lucas Rocha
aa487cc2e8 Bug 708149 - Allow bookmarks table migration to apply a custom migrator (r=rnewman) 2012-03-20 11:44:32 +00:00
Lucas Rocha
7c8b75e175 Bug 708149 - Factor out method to migrate bookmarks table (r=rnewman) 2012-03-20 11:44:31 +00:00
Margaret Leibovic
4a937cae81 Bug 727449 - Only show mobile bookmarks folder contents if there are no desktop bookmarks. r=lucasr 2012-03-19 11:22:33 -07:00
Margaret Leibovic
940be10d17 Bug 704977 - (Part 2) Awesomeness calculation should use nicer recency decay. r=lucasr 2012-03-16 11:36:34 -07:00
Margaret Leibovic
9adf99c463 Bug 704977 - (Part 1) Clean up filterAllSites to make it more readable. r=lucasr 2012-03-16 11:36:31 -07:00
Margaret Leibovic
0348682408 Bug 731267 - Ignore "All Bookmarks" folder and its badly rooted parent. r=lucasr 2012-03-15 10:01:11 -07:00
Lucas Rocha
10fe15cb91 Bug 734177 - Make BrowserProvider's getDatabasePath() public (r=gpascutto) 2012-03-14 18:49:59 +00:00
Lucas Rocha
85c71f324c Bug 734177 - Add PARAM_IS_TEST to BrowserProvider (r=gpascutto) 2012-03-14 18:49:59 +00:00
Lucas Rocha
efe06741f0 Bug 734177 - Only include profile is set when cleaning up records (r=gpascutto) 2012-03-14 18:49:59 +00:00
Lucas Rocha
f990ac309b Bug 734177 - Enable foreign keys support in sqlite (r=gpascutto) 2012-03-14 18:49:59 +00:00
Lucas Rocha
d40766dda2 Bug 735660 - Bump database version to enable more performant views (r=rfinkle) 2012-03-14 15:12:43 +00:00
Lucas Rocha
7ceeb26a71 Bug 735660 - Commit DB transaction used by migrations (r=mfinkle) 2012-03-14 15:12:42 +00:00
Gian-Carlo Pascutto
ddd1e4d44e Bug 721352 - Add support for batch operations in LocalDB. r=lucasr 2012-03-12 22:48:15 +01:00
Sriram Ramasubramanian
f58a156eed Bug 734425: Support remote tabs on about:home [r=rnewman, r=mfinkle] 2012-03-12 12:48:55 -07:00
Wes Johnston
9f0cd8785e Bug 725052 - Check if a password is in the deleted database before inserting it. r=rnewman 2012-03-08 10:25:44 -08:00
Wes Johnston
ebb4e1e872 Bug 718760 - Crypto for the java passwords provider. r=blassey,bsmith 2012-03-08 10:25:44 -08:00
Matt Brubeck
c474d288db Back out bug 718760, bug 725052, bug 732069 because of broken Android build 2012-03-12 10:37:22 -07:00
Wes Johnston
2176431996 Bug 725052 - Check if a password is in the deleted database before inserting it. r=rnewman 2012-03-08 10:25:44 -08:00
Wes Johnston
05bf1cffda Bug 718760 - Crypto for the java passwords provider. r=blassey,bsmith 2012-03-08 10:25:44 -08:00
Wes Johnston
797ae79851 Bug 725881 - Tests for form history and passwords providers. r=gbrown 2012-03-08 10:25:44 -08:00
Sriram Ramasubramanian
af2542ef69 Bug 708266: UI to show tabs remote tabs. [r=mfinkle, r=rnewman]
--HG--
rename : mobile/android/base/resources/drawable/background.png => mobile/android/base/resources/drawable-nodpi/background.png
2012-03-09 10:42:43 -08:00
Wes Johnston
76e283c6bd Bug 731341 - LoadLibs should take a context. r=blassey 2012-03-08 10:25:44 -08:00
Wes Johnston
eddf07cdb6 backout a965cebe4462 32220d7085e0 3689bb4199d8 d0c82cb6eb28 b295c8825acd and 95ab5c738512 2012-03-08 12:32:01 -08:00
Wes Johnston
027518718c Bug 725052 - Check if a password is in the deleted database before inserting it. r=rnewman 2012-03-08 10:25:44 -08:00
Wes Johnston
ac77a0167d Bug 718760 - Crypto for the java passwords provider. r=blassey,bsmith 2012-03-08 10:25:44 -08:00
Wes Johnston
e2aba562a7 Bug 725881 - Tests for form history and passwords providers. r=gbrown 2012-03-08 10:25:44 -08:00
Wes Johnston
7648bbecb7 Bug 731341 - LoadLibs should take a context. r=blassey 2012-03-08 10:25:44 -08:00
Margaret Leibovic
58ddd1aa14 Bug 733515 - Use localized strings for special folder names. r=rnewman,lucasr 2012-03-07 11:13:03 -08:00
Sriram Ramasubramanian
74866d3fc3 Bug 715644 - Content provider for storing 'Tabs from other devices'. [r=rnewman] 2012-02-29 11:29:09 -08:00
Wes Johnston
32a64d19d5 Bug 730398 - Add a content uri for the deleted passwords table. r=lucasr 2012-02-29 10:51:25 -08:00
Richard Newman
73bab25005 Bug 730526 - Cleanup and idiom in BrowserProvider.java.in. r=lucasr 2012-02-27 10:51:28 -08:00
Richard Newman
36361ff9c0 Bug 727146: Part 1: deleteHistory should clear private data from the database. r=lucasr 2012-02-27 10:46:36 -08:00
Richard Newman
078d7d6765 Bug 727146: Part 0: code tidying in BrowserProvider. r=lucasr 2012-02-27 10:46:35 -08:00
Wes Johnston
459a282d8d Bug 725881 - Content provider for form history. r=lucasr 2012-02-27 10:10:14 -08:00
Richard Newman
81fb296b48 Bug 730528 - Extract LooperThread from GeckoAppShell. r=blassey 2012-02-26 22:34:23 -08:00
Kartikaya Gupta
56e190cf8f Bug 726382 - Fold the GeckoDirProvider and a bunch of duplicated/complicated code into a new GeckoProfile class. r=wesj 2012-02-25 23:22:40 -05:00
Margaret Leibovic
b48531c4c5 Bug 722020 - Bookmarks UI with folders. r=lucasr 2012-02-23 10:48:47 -08:00
Richard Newman
2384954675 Bug 728783 - Provide an efficient method to batch-update bookmark positions. r=lucasr 2012-02-22 12:37:34 -08:00
Lucas Rocha
acea092a8a Bug 725914 - Remove sub-select from the table join for bookmark and history (r=mfinkle) 2012-02-22 11:47:13 +00:00
Brian Nicholson
fe922faff3 Bug 727973 - Remove notifyChange from LocalBrowserDB. r=mfinkle 2012-02-21 16:34:21 -08:00
Gian-Carlo Pascutto
12a1e46b4f Bug 726024 - Allow modified and created dates to be set. r=lucasr 2012-02-21 14:17:18 +01:00
Lucas Rocha
4c9b55784a Bug 723841 - Add a foreign key to bookmarks table and sanitize special folders (r=rnewman) 2012-02-20 19:28:27 +00:00
Lucas Rocha
bbd029f43e Bug 723841 - Define a constant for the predefined root id for bookmarks (r=rnewman) 2012-02-20 19:28:27 +00:00
Lucas Rocha
b12f77ee39 Bug 723841 - Generalize code to create or update special folders (r=rnewman) 2012-02-20 19:28:27 +00:00
Lucas Rocha
4b17e0fc01 Bug 723841 - Factor out methods to create each part of the database (r=rnewman) 2012-02-20 19:28:27 +00:00
Richard Newman
d93702574e Bug 727309 - LocalBrowserDB needlessly computes URI + profile. r=lucasr 2012-02-15 11:24:21 -08:00
Margaret Leibovic
9ab74fadea Bug 726810 - Kill BrowserDB.getAllBookmarks(). r=lucasr 2012-02-14 10:42:58 -08:00
Lucas Rocha
cd35b8ec76 Bug 718615 - Fix history visit update when dealing with deleted entries (r=blassey) 2012-02-15 15:05:03 +00:00
Richard Newman
d648478bfd Bug 724745 - Bump parent folder modified time when altering a parent-related child attribute. r=lucasr 2012-02-14 17:10:18 -08:00
Brian Nicholson
c796227244 Bug 722413 - Implement bookmark change observers. r=lucasr 2012-02-14 16:23:06 -08:00
Brad Lassey
e2bbf28d0e bug 725538 - make creating GeckoEvents sane r=kats 2012-02-08 23:18:27 -08:00
Richard Newman
3b8efac3da Bug 725512 - Reduce Content Provider log spew. r=lucasr 2012-02-09 18:39:11 -08:00
Margaret Leibovic
b40c38d30f Bug 724756 - removeBookmark can remove an arbitrary number of bookmarks. r=lucasr 2012-02-09 10:01:57 -08:00
Wes Johnston
e04146f51d Bug 704682 - Add passwords content provider. r=blassey,gpascutto 2011-12-16 15:11:09 -08:00
Brian Nicholson
87b985c04b Bug 722184 - Add bookmark keywords support to databases. r=mfinkle f=wesj (followup patch) 2012-02-07 20:08:46 -08:00
Brian Nicholson
93030ba31f Bug 722184 - Add bookmark keywords support to databases. r=mfinkle f=wesj 2012-02-07 17:55:12 -08:00
Brian Nicholson
e5c5d7c182 Bug 724152 - Honor URL_SAFE flag for base64 encoding/decoding. r=blassey 2012-02-07 12:32:56 -08:00
Margaret Leibovic
fdc620e748 Bug 716918 - Bookmarks UX: display mobile and desktop bookmarks separately. r=lucasr 2012-02-07 11:03:02 -08:00
Margaret Leibovic
a2173a1554 Bug 724045 - createMobileBookmarksFolder doesn't set title or parent. r=mfinkle,rnewman 2012-02-03 13:41:22 -08:00
Brad Lassey
fbac4c407d bug 723159 - Base64.decode not available on eclair r=mfinkle 2012-02-01 14:37:03 -05:00
Brian Nicholson
1cdf3ed1ff Bug 721341 - Add getThumbnailForUrl to browser databases. r=blassey 2012-01-31 14:13:33 -08:00
Brad Lassey
18fddf22b2 bug 720712 - Crash on startup on Samsung SCH-i400 (Continuum), Android 2.1, Base64 API is API level 8 r=lucasr 2012-01-25 14:49:28 -05:00
Gian-Carlo Pascutto
1991562138 Bug 721320 - Enable persistent SQLite journal on LocalBrowserDB. r=lucasr 2012-01-26 16:30:21 +01:00
Gian-Carlo Pascutto
9b93a03396 Bug 713283 - Limit imported history entries. Sort by approximate frecency. Update visits count. r=lucasr 2012-01-25 22:10:01 +01:00
Lucas Rocha
355da479a9 Bug 720152 - Add URI matches for image ID operations (r=blassey) 2012-01-25 11:18:33 +00:00
Lucas Rocha
148d0ef87b Bug 709078 - Only load necessary cols on awesomescreen filter and about:home queries (r=blassey)
Top Sites in about:home doesn't need favicons and awesomescreen filter doesn't
need thumbnails.
2012-01-19 17:23:10 +00:00
Chris Peterson
94df92ed70 Bug 717841 part 1 - Replace Date().getTime() calls with SystemClock.uptimeMillis or System.currentTimeMillis(). r=kats f=dougt a=dougt 2012-01-13 11:08:39 -08:00
Richard Newman
637ca5f271 Bug 717869 - fix BrowserProvider.generateGuid to not append trailing newlines. r=blassey 2012-01-14 09:20:30 -08:00
Lucas Rocha
a94db34801 Bug 707150 - Enable local bookmarks/history database (r=blassey) 2012-01-11 19:47:19 +00:00
Lucas Rocha
af99ba4d51 Bug 707150 - Fix NullPointerException when getting IS_FOLDER (r=blassey) 2012-01-11 19:47:19 +00:00
Lucas Rocha
e043a8c750 Bug 716089 - Fix query syntax for filtering URLs on local DB (r=blassey) 2012-01-10 09:09:32 -08:00
Richard Newman
2b76adb888 Bug 716811 - Local DB calls getAsBoolean for IS_FOLDER, schema uses integers, ClassCastException results. r=blassey 2012-01-10 00:28:48 -08:00
Chris Peterson
c619e860ec Bug 712791 - Avoid cnn.com crash by catching SQLite exception. r=dougt a=dougt 2012-01-05 16:47:48 -08:00
Chris Peterson
b576548e57 Bug 714874 - Fix some Java warnings. r=dougt a=dougt 2012-01-05 10:49:33 -08:00
Wes Johnston
5c8d0b8337 Bug 708651 - Create a fake profile directory if BrowserProvider is started before Gecko. r=blassey 2012-01-04 17:28:04 -08:00
Brad Lassey
e57413ec24 bug 710392 - exclude about:home from top sites on about:home r=lucasr 2012-01-04 21:34:06 -08:00
Ed Morley
361ea91c35 Backout b48ad2fa6178 (bug 708651) for talos and mochitest failures 2012-01-05 04:25:07 +00:00
Wes Johnston
1d05dc9cb7 Bug 708651 - Create a fake profile directory if BrowserProvider is started before Gecko. r=blassey 2012-01-04 17:28:04 -08:00
Richard Newman
74356d6f43 Bug 714565 - Part 2: more logging cleanup in BrowserProvider.java.in. r=mfinkle 2012-01-02 08:37:14 -08:00
Richard Newman
dc3525af0d Bug 714565 - Part 1: correct synchronization in BrowserProvider. r=mfinkle 2012-01-02 08:37:13 -08:00
Gian-Carlo Pascutto
0f769da574 Bug 699199 - Upgrade path from XUL to native fennec. r=blassey 2011-12-19 22:56:11 +01:00
Sriram Ramasubramanian
c81670a5d7 Bug 711627: ContentProvider Authority string needs to be preprocessed [r=mfinkle]
--HG--
rename : mobile/android/base/db/BrowserContract.java => mobile/android/base/db/BrowserContract.java.in
2011-12-16 14:50:34 -08:00
Brad Lassey
080514f880 bug 710575 - INSTALL_FAILED_CONFLICTING_PROVIDER when installing a custom build r=rnewman
--HG--
rename : mobile/android/base/db/BrowserProvider.java => mobile/android/base/db/BrowserProvider.java.in
2011-12-15 16:18:29 -05:00
Jason Voll
b4e2ebcece Bug 710418 - Browser content provider can't handle null projections in query. r=blassey, a=rnewman 2011-12-14 21:37:11 -08:00
Lucas Rocha
96f9f2cf3d Bug 708485 - Add Fennec bookmarks to special "mobile" folder (r=blassey, a=mfinkle) 2011-12-13 19:47:40 +00:00
Lucas Rocha
b3ebd4a538 Bug 708485 - Create "mobile" special bookmarks folder on DB creation (r=blassey, a=mfinkle) 2011-12-13 19:47:40 +00:00
Lucas Rocha
f0b399ed34 Bug 709962 - Eliminate required table references in BrowserProvider's query interface (r=blassey, a=mfinkle) 2011-12-13 19:47:40 +00:00
Lucas Rocha
1aedff0808 Bug 708151 - Fix switch indentation in BrowserProvider (r=blassey, a=mfinkle) 2011-12-13 14:46:58 +00:00
Lucas Rocha
236a1dacec Bug 708151 - Change GUID generation to be more compliant with Sync (r=rnewman, a=mfinkle) 2011-12-13 14:46:58 +00:00
Lucas Rocha
ee4790cb36 Bug 708151 - Add indexes where needed in local bookmarks/history DB (r=blassey, a=mfinkle) 2011-12-13 14:46:58 +00:00
Lucas Rocha
8ed3b08390 Bug 708151 - Handle deleted records in a sync-friendly way (r=blassey, a=mfinkle) 2011-12-13 14:46:58 +00:00
Lucas Rocha
37067a8c68 Bug 708151 - Add _id column to images and implement missing operations (r=blassey, a=mfinkle)
We need all operations (query, delete, insert, and update) for images in order
to implement favicon sync properly.
2011-12-13 14:46:58 +00:00
Lucas Rocha
aedb47c5d3 Bug 708331 - Add keyword, description, and tags columns to Bookmarks (r=mfinkle, a=mfinkle) 2011-12-13 14:46:58 +00:00
Lucas Rocha
32ea7cbd71 Bug 707124 - Add query to BrowserProvider to fetch DB schema version (r=blassey, a=mfinkle) 2011-12-13 14:12:01 +00:00
Lucas Rocha
40c0a3b972 Bug 707732 - Handle case of updating favicon on non-existing URL (r=blassey, a=mfinkle) 2011-12-13 13:59:37 +00:00
Lucas Rocha
3a8ebee812 Bug 707732 - More robust implementation of add bookmark (r=blassey, a=mfinkle) 2011-12-13 13:59:27 +00:00
Lucas Rocha
482081e5c7 Bug 707732 - More robust implementation of thumbnail update (r=blassey, a=mfinkle)
Also fixes thumbnail update on Honeycomb/ICS.
2011-12-13 13:59:15 +00:00
Lucas Rocha
032142fb4c Bug 701913 - Fix query to check bookmark URL in Honeycomb/ICS (r=blassey, a=mfinkle) 2011-12-13 13:44:54 +00:00
Lucas Rocha
974aaa4bfd Bug 698828 - Fix add bookmark operation in Honeycomb/ICS (r=blassey, a=mfinkle) 2011-12-13 13:44:54 +00:00
Lucas Rocha
ace363cdd7 Bug 701835 - Fix bookmark removal in Honeycomb/ICS (r=blassey, a=mfinkle) 2011-12-13 13:44:54 +00:00
Richard Newman
5dab4a5fb1 Bug 709432 - don't unconditionally replace inserted record GUIDs. r=blassey, a=blassey (Java-only) 2011-12-11 22:24:40 -08:00
Lucas Rocha
32fffa10a2 Bug 704490 - Introduce new local bookmarks/history database (r=blassey)
Local DB is disabled by default for now.
2011-12-08 16:37:21 +00:00
Lucas Rocha
7fab9e5490 Bug 704490 - Abstract all bookmark/history access behing a common API (r=blassey) 2011-12-02 17:27:56 +00:00