Commit Graph

31 Commits

Author SHA1 Message Date
Mark Capella
7800d0949d Bug 1191872 - Move annotations to org.mozilla.gecko.annotation package, r=jchen 2015-08-10 19:19:51 -04:00
Ahmed Khalil
82f3e72f81 Bug 1172077 - Merge tabs.db into browser.db. r=nalexander a=KWierso
This moves the tabs and clients table into the main per-profile
browser.db database.  It's a code savings but it also makes it easier
to query against open tabs when inspecting parts of the browser
database, like history and bookmarks.
2015-06-18 15:05:42 -07:00
Richard Newman
5df72ae652 Bug 1153357 - Don't set SYNC_STATUS_MODIFIED unless an update touches fields that we sync. r=nalexander
This patch does two things:

* It doesn't set MODIFIED at all unless fields are being changed. That's the original bug.
* It only sets MODIFIED in a non-Sync update if the item is marked as SYNCED. NEW items will stay new even if Fennec changes them, until they've been synced.
2015-04-13 12:37:30 -07:00
Richard Newman
04fdf1ffcb Bug 1135086 - Implement in-place computed UPDATE in DBUtils. r=margaret
Sometimes it's convenient to want to do an UPDATE query like:

  UPDATE foo
  SET bar = bar | 5

or similar -- that is, refer to existing values in the SET expression.

This patch allows that, accepting an array of ContentValues and an array of
operations as input. A single UPDATE will be constructed from the entire input.
2015-02-19 21:38:18 -08:00
Richard Newman
62fa7b6eee Bug 1077590 - Part 1: make all per-profile DB access go through a profile. r=wesj
* * *
Bug 1077590 - Review comments.
2015-01-11 20:45:09 -08:00
Richard Newman
f169250072 Bug 1115075 - Part 1: add telemetry for DBUtils.ensureDatabaseIsNotLocked. r=mfinkle 2014-12-23 12:58:28 -08:00
Wes Johnston
5dc7f98d36 Bug 1014712 - Store ms tile image information for showing on about:home. r=rnewman,lucasr 2014-06-10 06:22:47 -07:00
Sola Ogunsakin
30d33ea687 Bug 961238 - Make an abstract ContentProvider class. r=margaret 2014-01-20 07:38:18 -08:00
Ryan VanderMeulen
a5d751cb90 Backed out changeset bb5701078d13 (bug 961238) for likely troboprovider bustage. 2014-02-12 09:02:46 -05:00
Sola Ogunsakin
372168c69f Bug 961238 - Make an abstract ContentProvider class. r=margaret 2014-01-20 07:38:18 -08:00
Wes Kocher
21feba030a Backed out changeset bb4254c72efb (bug 961238) for robocop1 bustage on a CLOSED TREE 2014-02-10 15:52:52 -08:00
Sola Ogunsakin
3c919aa70d Bug 961238 - Make an abstract ContentProvider class. r=margaret 2014-01-20 07:38:18 -08:00
Brian Nicholson
5daf8ed11b Bug 845618 - Remove unused imports. r=kats 2013-02-26 21:50:25 -08:00
Mark Finkle
b8a44b974f Bug 843361 - Dump list of open files if we fail to unlock the DB r=blassey 2013-02-21 08:52:37 -05:00
Mark Finkle
aa48ea8b55 Bug 843029 - Add more retries to ensureDatabaseIsNotLocked r=blassey r=lucasr 2013-02-20 13:32:35 -05:00
Chris Peterson
a953be5776 Backout 844444ca8feb (Bug 709230) r=bustage 2012-07-17 17:54:54 -07:00
Chris Peterson
6cb6900e58 Bug 709230 - Part 4: Remove unused imports. r=blassey 2012-07-15 13:20:43 -07:00
Chris Peterson
0f30d9cedd Bug 709230 - Part 3: Mark classes final and reduce class visibility public->package->private to aid ProGuard optimizations. r=blassey 2012-07-15 13:20:43 -07:00
Lucas Rocha
bc1ab7e1e5 Bug 750950 - Kill any zombie processes if database is locked (r=blassey) 2012-05-11 17:09:04 +01:00
Lucas Rocha
bded161253 Bug 749493 - Catch SQLiteDatabaseLockedException when ensuring unlocked database (r=blassey) 2012-04-27 09:13:39 -04:00
Kyle Huey
ae68963769 Back out Bug 749493 for destroying Android. 2012-04-27 12:09:16 -07:00
Lucas Rocha
4d1760093f Bug 749493 - Catch SQLiteDatabaseLockedException when ensuring unlocked database (r=blassey) 2012-04-27 09:13:39 -04:00
Ed Morley
9a808cbc97 Backout 6b5668320ce4 (bug 749493) for android startup crashes 2012-04-27 15:58:24 +01:00
Lucas Rocha
08b640bcb6 Bug 749493 - Catch SQLiteDatabaseLockedException when ensuring unclocked database (r=blassey) 2012-04-27 09:13:39 -04:00
Lucas Rocha
7ddf5f5b5b Bug 741224 - Move database unlock function to DBUtils (r=blassey) 2012-04-25 17:24:48 -04:00
Wes Johnston
188eb778f3 Bug 718760 - Crypto for the java passwords provider. r=blassey,bsmith 2012-03-08 10:25:44 -08:00
Matt Brubeck
3cb1567169 Back out bug 718760, bug 725052, bug 732069 because of broken Android build 2012-03-12 10:37:22 -07:00
Wes Johnston
969791a7ff Bug 718760 - Crypto for the java passwords provider. r=blassey,bsmith 2012-03-08 10:25:44 -08:00
Wes Johnston
8f60de8d19 backout a965cebe4462 32220d7085e0 3689bb4199d8 d0c82cb6eb28 b295c8825acd and 95ab5c738512 2012-03-08 12:32:01 -08:00
Wes Johnston
14a46bde6c Bug 718760 - Crypto for the java passwords provider. r=blassey,bsmith 2012-03-08 10:25:44 -08:00
Wes Johnston
8f40fd7395 Bug 704682 - Add passwords content provider. r=blassey,gpascutto 2011-12-16 15:11:09 -08:00