Commit Graph

297 Commits

Author SHA1 Message Date
Lucas Rocha
ad46981dbb Bug 734177 - Make BrowserProvider's getDatabasePath() public (r=gpascutto) 2012-03-14 18:49:59 +00:00
Lucas Rocha
2de8c5a1bd Bug 734177 - Add PARAM_IS_TEST to BrowserProvider (r=gpascutto) 2012-03-14 18:49:59 +00:00
Lucas Rocha
63300a7e6a Bug 734177 - Only include profile is set when cleaning up records (r=gpascutto) 2012-03-14 18:49:59 +00:00
Lucas Rocha
ad5d883bfe Bug 734177 - Enable foreign keys support in sqlite (r=gpascutto) 2012-03-14 18:49:59 +00:00
Lucas Rocha
3888f943e7 Bug 735660 - Bump database version to enable more performant views (r=rfinkle) 2012-03-14 15:12:43 +00:00
Lucas Rocha
51eeb0abae Bug 735660 - Commit DB transaction used by migrations (r=mfinkle) 2012-03-14 15:12:42 +00:00
Gian-Carlo Pascutto
5c40ca29bb Bug 721352 - Add support for batch operations in LocalDB. r=lucasr 2012-03-12 22:48:15 +01:00
Sriram Ramasubramanian
313f8558d7 Bug 734425: Support remote tabs on about:home [r=rnewman, r=mfinkle] 2012-03-12 12:48:55 -07:00
Wes Johnston
8dabace2da 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
84c48ba2cf Bug 718760 - Crypto for the java passwords provider. r=blassey,bsmith 2012-03-08 10:25:44 -08:00
Matt Brubeck
cc3760f150 Back out bug 718760, bug 725052, bug 732069 because of broken Android build 2012-03-12 10:37:22 -07:00
Wes Johnston
738e0cb6ed 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
91d4fd947c Bug 718760 - Crypto for the java passwords provider. r=blassey,bsmith 2012-03-08 10:25:44 -08:00
Wes Johnston
3abd6833d2 Bug 725881 - Tests for form history and passwords providers. r=gbrown 2012-03-08 10:25:44 -08:00
Sriram Ramasubramanian
3ae55b4a3e 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
5aa348a515 Bug 731341 - LoadLibs should take a context. r=blassey 2012-03-08 10:25:44 -08:00
Wes Johnston
cf7e041e14 backout a965cebe4462 32220d7085e0 3689bb4199d8 d0c82cb6eb28 b295c8825acd and 95ab5c738512 2012-03-08 12:32:01 -08:00
Wes Johnston
d878b50c6c 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
5cf9cd63ef Bug 718760 - Crypto for the java passwords provider. r=blassey,bsmith 2012-03-08 10:25:44 -08:00
Wes Johnston
cb47dc2842 Bug 725881 - Tests for form history and passwords providers. r=gbrown 2012-03-08 10:25:44 -08:00
Wes Johnston
a61be3e2cb Bug 731341 - LoadLibs should take a context. r=blassey 2012-03-08 10:25:44 -08:00
Margaret Leibovic
ec9411fa33 Bug 733515 - Use localized strings for special folder names. r=rnewman,lucasr 2012-03-07 11:13:03 -08:00
Sriram Ramasubramanian
5f1aab4b2e Bug 715644 - Content provider for storing 'Tabs from other devices'. [r=rnewman] 2012-02-29 11:29:09 -08:00
Wes Johnston
6bf3d21770 Bug 730398 - Add a content uri for the deleted passwords table. r=lucasr 2012-02-29 10:51:25 -08:00
Richard Newman
76c5ba6b44 Bug 730526 - Cleanup and idiom in BrowserProvider.java.in. r=lucasr 2012-02-27 10:51:28 -08:00
Richard Newman
4f2c9bf799 Bug 727146: Part 1: deleteHistory should clear private data from the database. r=lucasr 2012-02-27 10:46:36 -08:00
Richard Newman
3d6aa90d8b Bug 727146: Part 0: code tidying in BrowserProvider. r=lucasr 2012-02-27 10:46:35 -08:00
Wes Johnston
8abaa21e10 Bug 725881 - Content provider for form history. r=lucasr 2012-02-27 10:10:14 -08:00
Richard Newman
7eeb5614b1 Bug 730528 - Extract LooperThread from GeckoAppShell. r=blassey 2012-02-26 22:34:23 -08:00
Kartikaya Gupta
3ee8a7050d 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
5c78feb6cf Bug 722020 - Bookmarks UI with folders. r=lucasr 2012-02-23 10:48:47 -08:00
Richard Newman
09a280a5b2 Bug 728783 - Provide an efficient method to batch-update bookmark positions. r=lucasr 2012-02-22 12:37:34 -08:00
Lucas Rocha
a211788de0 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
fbad8b0ecc Bug 727973 - Remove notifyChange from LocalBrowserDB. r=mfinkle 2012-02-21 16:34:21 -08:00
Gian-Carlo Pascutto
f9409c998d Bug 726024 - Allow modified and created dates to be set. r=lucasr 2012-02-21 14:17:18 +01:00
Lucas Rocha
083ae974fb 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
512096df7d Bug 723841 - Define a constant for the predefined root id for bookmarks (r=rnewman) 2012-02-20 19:28:27 +00:00
Lucas Rocha
000abbb428 Bug 723841 - Generalize code to create or update special folders (r=rnewman) 2012-02-20 19:28:27 +00:00
Lucas Rocha
41d79b22a5 Bug 723841 - Factor out methods to create each part of the database (r=rnewman) 2012-02-20 19:28:27 +00:00
Richard Newman
382e0e9734 Bug 727309 - LocalBrowserDB needlessly computes URI + profile. r=lucasr 2012-02-15 11:24:21 -08:00
Margaret Leibovic
22d1b8d96f Bug 726810 - Kill BrowserDB.getAllBookmarks(). r=lucasr 2012-02-14 10:42:58 -08:00
Lucas Rocha
4afe1d9b84 Bug 718615 - Fix history visit update when dealing with deleted entries (r=blassey) 2012-02-15 15:05:03 +00:00
Richard Newman
92aac59b41 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
3d0060a1dc Bug 722413 - Implement bookmark change observers. r=lucasr 2012-02-14 16:23:06 -08:00
Brad Lassey
f3003384c6 bug 725538 - make creating GeckoEvents sane r=kats 2012-02-08 23:18:27 -08:00
Richard Newman
4b2e0194ff Bug 725512 - Reduce Content Provider log spew. r=lucasr 2012-02-09 18:39:11 -08:00
Margaret Leibovic
a21d650ca2 Bug 724756 - removeBookmark can remove an arbitrary number of bookmarks. r=lucasr 2012-02-09 10:01:57 -08:00
Wes Johnston
814df39458 Bug 704682 - Add passwords content provider. r=blassey,gpascutto 2011-12-16 15:11:09 -08:00
Brian Nicholson
500680214b Bug 722184 - Add bookmark keywords support to databases. r=mfinkle f=wesj (followup patch) 2012-02-07 20:08:46 -08:00
Brian Nicholson
fb49b48bc4 Bug 722184 - Add bookmark keywords support to databases. r=mfinkle f=wesj 2012-02-07 17:55:12 -08:00
Brian Nicholson
91b2c939c0 Bug 724152 - Honor URL_SAFE flag for base64 encoding/decoding. r=blassey 2012-02-07 12:32:56 -08:00
Margaret Leibovic
3a2462f67d Bug 716918 - Bookmarks UX: display mobile and desktop bookmarks separately. r=lucasr 2012-02-07 11:03:02 -08:00
Margaret Leibovic
787d7f4617 Bug 724045 - createMobileBookmarksFolder doesn't set title or parent. r=mfinkle,rnewman 2012-02-03 13:41:22 -08:00
Brad Lassey
7f09e552ad bug 723159 - Base64.decode not available on eclair r=mfinkle 2012-02-01 14:37:03 -05:00
Brian Nicholson
655beeb7ab Bug 721341 - Add getThumbnailForUrl to browser databases. r=blassey 2012-01-31 14:13:33 -08:00
Brad Lassey
563c87e1e2 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
1ba750d5b6 Bug 721320 - Enable persistent SQLite journal on LocalBrowserDB. r=lucasr 2012-01-26 16:30:21 +01:00
Gian-Carlo Pascutto
556cb761a6 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
04ceb700a7 Bug 720152 - Add URI matches for image ID operations (r=blassey) 2012-01-25 11:18:33 +00:00
Lucas Rocha
325ed29249 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
a41d7efd0e 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
01c32d241a Bug 717869 - fix BrowserProvider.generateGuid to not append trailing newlines. r=blassey 2012-01-14 09:20:30 -08:00
Lucas Rocha
ea6184b0e6 Bug 707150 - Enable local bookmarks/history database (r=blassey) 2012-01-11 19:47:19 +00:00
Lucas Rocha
ef74dc5283 Bug 707150 - Fix NullPointerException when getting IS_FOLDER (r=blassey) 2012-01-11 19:47:19 +00:00
Lucas Rocha
a5c0991c1d Bug 716089 - Fix query syntax for filtering URLs on local DB (r=blassey) 2012-01-10 09:09:32 -08:00
Richard Newman
d744669418 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
fedcea5b3b Bug 712791 - Avoid cnn.com crash by catching SQLite exception. r=dougt a=dougt 2012-01-05 16:47:48 -08:00
Chris Peterson
c4b1d936b9 Bug 714874 - Fix some Java warnings. r=dougt a=dougt 2012-01-05 10:49:33 -08:00
Wes Johnston
8effa1a66b 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
24ef09c9a6 bug 710392 - exclude about:home from top sites on about:home r=lucasr 2012-01-04 21:34:06 -08:00
Ed Morley
afefb38ea6 Backout b48ad2fa6178 (bug 708651) for talos and mochitest failures 2012-01-05 04:25:07 +00:00
Wes Johnston
1f86dcacc2 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
3c2c2dbba6 Bug 714565 - Part 2: more logging cleanup in BrowserProvider.java.in. r=mfinkle 2012-01-02 08:37:14 -08:00
Richard Newman
c328f38664 Bug 714565 - Part 1: correct synchronization in BrowserProvider. r=mfinkle 2012-01-02 08:37:13 -08:00
Gian-Carlo Pascutto
e17391a7cb Bug 699199 - Upgrade path from XUL to native fennec. r=blassey 2011-12-19 22:56:11 +01:00
Sriram Ramasubramanian
a85cded278 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
03dcd39254 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
4ca6d623bb 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
48a71125a1 Bug 708485 - Add Fennec bookmarks to special "mobile" folder (r=blassey, a=mfinkle) 2011-12-13 19:47:40 +00:00
Lucas Rocha
8f9603a020 Bug 708485 - Create "mobile" special bookmarks folder on DB creation (r=blassey, a=mfinkle) 2011-12-13 19:47:40 +00:00
Lucas Rocha
bfa12c8067 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
4e0a9c207c Bug 708151 - Fix switch indentation in BrowserProvider (r=blassey, a=mfinkle) 2011-12-13 14:46:58 +00:00
Lucas Rocha
e1ff1ac1cf 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
9827ed269e 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
f77b7258bd Bug 708151 - Handle deleted records in a sync-friendly way (r=blassey, a=mfinkle) 2011-12-13 14:46:58 +00:00
Lucas Rocha
cec91e2269 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
a53e2cb617 Bug 708331 - Add keyword, description, and tags columns to Bookmarks (r=mfinkle, a=mfinkle) 2011-12-13 14:46:58 +00:00
Lucas Rocha
3b82e588be 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
ffa93cd125 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
3dd15c1125 Bug 707732 - More robust implementation of add bookmark (r=blassey, a=mfinkle) 2011-12-13 13:59:27 +00:00
Lucas Rocha
8dcb893051 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
ab4842fb9d 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
1265421bca Bug 698828 - Fix add bookmark operation in Honeycomb/ICS (r=blassey, a=mfinkle) 2011-12-13 13:44:54 +00:00
Lucas Rocha
2393eadcdd Bug 701835 - Fix bookmark removal in Honeycomb/ICS (r=blassey, a=mfinkle) 2011-12-13 13:44:54 +00:00
Richard Newman
c2b5331b98 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
5164ba85c4 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
0240070f42 Bug 704490 - Abstract all bookmark/history access behing a common API (r=blassey) 2011-12-02 17:27:56 +00:00