Commit Graph

121 Commits

Author SHA1 Message Date
Reuben Morais
7a3e554623 Bug 1072773 - Make sure ContactDB remove and save happen within a single transaction. r=gwagner 2014-10-22 20:11:02 -02:00
Shu-yu Guo
285e8aa396 Bug 1001090 - Part 4: Fix errors in chrome code. (r=zombie,gavin,fitzgen,dcamp,bgrins,fabrice,gwagner,margaret,mrbkap,mak,njn,vicamo) 2014-09-15 16:30:46 -07:00
Fabrice Desré
6d852e51f5 Bug 1024157 - Lazy load more js modules - Part 2: contacts r=gwagner 2014-05-07 15:53:16 -07:00
Ryan VanderMeulen
2f0f166eb1 Backed out 4 changesets (bug 993282) for bringing back bug 1008357 on a CLOSED TREE.
Backed out changeset b67f3001c73d (bug 993282)
Backed out changeset b9ca30286579 (bug 993282)
Backed out changeset 41fe339ca4ea (bug 993282)
Backed out changeset 2a6184672f1e (bug 993282)
2014-06-03 14:32:10 -04:00
Fabrice Desré
b63fc110a3 Bug 993282 - Lazy load more js modules - Part 2: contacts r=gwagner 2014-06-03 08:35:21 -07:00
Ed Morley
9c019fd56e Backed out changeset 13ca7eb38c28 (bug 993282) 2014-05-15 17:01:39 +01:00
Fabrice Desré
62cb104711 Bug 993282 - Lazy load more js modules - Part 2: contacts r=gwagner 2014-05-07 15:53:16 -07:00
Wes Kocher
fae8204d08 Backed out 3 changesets (bug 993282) for b2g emulator mochitest 3 failures
Backed out changeset 30e0991d49e0 (bug 993282)
Backed out changeset 6b9c8d6ab401 (bug 993282)
Backed out changeset 96e1a542bb45 (bug 993282)
2014-05-07 18:47:17 -07:00
Fabrice Desré
6037eb922d Bug 993282 - Lazy load more js modules - Part 2: contacts r=gwagner 2014-05-07 15:53:16 -07:00
Ben Turner
95eb6cd45f Bug 1006139 - Fix contacts getAll caching, r=gwagner. 2014-05-05 14:25:44 -07:00
Teiichiro Fukuda
ab4eb3e080 Bug 909224 - "Want to add the phonetic name of the name to mozContacts". r=reuben 2014-04-07 03:14:00 +02:00
Reuben Morais
f2708504c4 Bug 967119 - Hold a CPU lock while the contacts DB upgrade is running. r=bent 2014-02-24 09:19:20 -05:00
Julien Wajsberg
ea02b3a6a4 Bug 932803 - [Contacts API] Add tests for migrations. r=reuben 2014-02-04 20:46:35 +01:00
Julien Wajsberg
951004a300 Bug 951806 - [Contacts API] Merge all value upgrade steps in one cursor-based loop. r=reuben, r=bent, r=gregor 2014-02-04 13:44:20 +01:00
Julien Wajsberg
e006185196 Bug 951806 - [Contacts API] Fix bad upgrade for the name index. r=reuben
We missed a cursor.continue() call. As a result, we need to increment the DB
version to force upgraded user to play the fixed upgrade again.
2014-02-11 09:14:40 -05:00
Ben Kelly
e9251a9ca4 Bug 945948 - Part 2: Test contacts shutdown of cursors. r=reuben 2013-12-12 17:05:18 -05:00
Ben Kelly
ecf90b662b Bug 945948 - Part 1: Use a Map to associate cursors with message managers. r=reuben 2013-12-12 17:05:04 -05:00
Jan Varga
4752b723fe Bug 921478 - Remove BackstagePass IDB constructor resolve hook and use Cu.importGlobalProperties. r=bholley,bent
--HG--
rename : dom/indexedDB/test/test_globalObjects.xul => dom/indexedDB/test/test_globalObjects_chrome.xul
rename : dom/indexedDB/test/test_globalObjects.html => dom/indexedDB/test/test_globalObjects_content.html
rename : dom/indexedDB/test/unit/test_globalObjects.js => dom/indexedDB/test/unit/test_globalObjects_xpc.js
2013-11-19 08:36:12 +01:00
Carsten "Tomcat" Book
381f762d9f Backed out changeset 5cda44ae1ba0 (bug 921478) for perma-orange on Mochitest-1 on B2G Linux Opt on a CLOSED TREE
--HG--
rename : dom/indexedDB/test/test_globalObjects_content.html => dom/indexedDB/test/test_globalObjects.html
rename : dom/indexedDB/test/test_globalObjects_chrome.xul => dom/indexedDB/test/test_globalObjects.xul
rename : dom/indexedDB/test/unit/test_globalObjects_xpc.js => dom/indexedDB/test/unit/test_globalObjects.js
2013-11-19 11:41:52 +01:00
Jan Varga
a1c86d73e5 Bug 921478 - Remove BackstagePass IDB constructor resolve hook and use Cu.importGlobalProperties. r=bholley,bent
--HG--
rename : dom/indexedDB/test/test_globalObjects.xul => dom/indexedDB/test/test_globalObjects_chrome.xul
rename : dom/indexedDB/test/test_globalObjects.html => dom/indexedDB/test/test_globalObjects_content.html
rename : dom/indexedDB/test/unit/test_globalObjects.js => dom/indexedDB/test/unit/test_globalObjects_xpc.js
2013-11-19 08:36:12 +01:00
Julien Wajsberg
8de7ebd7ff Bug 898337 - Contacts API does not allow to search by name field. r=gwagner, r=reuben 2013-10-30 18:35:27 +01:00
Julien Wajsberg
3595e3ca14 Bug 929652 - WebIDL mozContacts fails to convert some reference workload images correctly. r=reuben 2013-10-30 17:37:30 +01:00
Reuben Morais
97a0b994ad Bug 850430 - Handle Date properties consistently across the Contacts code. r=gwagner
--HG--
extra : rebase_source : bb97373790724aeaaeb1c5c20fb383ec6bb17f52
2013-10-18 03:11:10 -03:00
Reuben Morais
4d0d3e88a1 Bug 850430 - Convert the Contacts API to WebIDL. r=bz r=gwagner
--HG--
extra : rebase_source : 9d7a645c0d2fb102d5d498fefebeb817a186720e
2013-10-17 18:29:56 -03:00
Gregor Wagner
c31c6f768f Bug 924378 - [Contacts API] Error in finding matching contacts for international number (00). r=bent 2013-10-16 11:22:16 -07:00
Jan Varga
8d28f23732 Bug 832883 - Move IDBKeyRange to WebIDL and define indexedDB/IDBKeyRange in all the spots. r=khuey,bent (initial work done by Ms2ger) 2013-09-28 13:25:46 +02:00
Gregor Wagner
1d9fe92c4f Bug 905927 - [Contacts API] fail in matching digits test. r=bent 2013-08-29 07:56:19 -07:00
Gregor Wagner
dc8b89e0ae Bug 907996 - Contacts: Fix error callbacks. r=reuben 2013-08-22 12:05:01 -07:00
Reuben Morais
33406abb0b Bug 889239 - Add a fast upgrade path for the Contacts DB. r=gwagner 2013-08-12 21:58:38 -03:00
Kay Lee
b15508149e Bug 851440 - Sort same contacts by published-order. r=gwagner 2013-07-30 09:44:16 -04:00
Reuben Morais
e0222dbda5 Bug 886764 - [Contacts API] we can have empty strings in the "telMatch" index resulting in matching these contacts for invalid phone numbers in findByIndex. r=gwagner, a=leo+ 2013-07-28 20:34:18 -07:00
Reuben Morais
00bf0e7b49 Bug 895994 - Add a missing .bind(this) to ContactDB's upgrade code. r=gwagner 2013-07-25 17:43:47 -07:00
Michael Henretty
5406284265 Bug 890909 - [Contacts API] migration code problem when matching using the substringMatching pref (eg in Brazil). r=gwagner 2013-07-18 16:17:41 -04:00
Reuben Morais
f36436774a Bug 888801 - Remove searchable fields from contacts before sending them to the child in getAll. r=gwagner 2013-07-01 19:09:51 -07:00
Gregor Wagner
140c79151c Bug 892497 - [contacts] the upgrade path is error-prone. r=bent 2013-07-15 10:16:33 -07:00
Reuben Morais
23e3c3d799 Backed out changeset 08185bc7ab8d (bug 885979) 2013-07-01 23:14:32 -07:00
Gregor Wagner
1ed65720aa Bug 883770 - [Dialer][SMS][Contacts] Call log does no longer show contact names after version upgrade. Followup. r=reuben. 2013-07-02 11:24:16 +08:00
Michael Henretty
18a16d43cb Bug 883770 - [Dialer][SMS][Contacts] Call log does no longer show contact names after version upgrade. r=gwagner 2013-07-01 19:13:45 +08:00
Reuben Morais
72e39b0c03 Bug 885979 - Add support for enabling Contacts API debugging output at runtime. r=gwagner
--HG--
extra : rebase_source : b55c49743099532b939d57b673ae7f9a7cfc74da
2013-06-27 01:25:40 -07:00
Ben Kelly
8e6bbb5b9b Bug 884679 - Output warning using dump() instead of Console.jsm. r=gwagner 2013-06-19 21:09:31 -04:00
Shane Tully
7f33abefa1 Bug 807688 - Add "key" field to the mozContact interface. r=gwagner sr=sicking 2013-06-14 10:15:57 -07:00
Gregor Wagner
217f82d73d Bug 877302 - [Dialer] when searching for a number in contacts, display partial matches (matching the end of the number). r=bent, reuben 2013-06-13 15:00:23 -07:00
Gregor Wagner
a3152a6fa5 Bug 880644 - [SMS/MMS] Auto suggestions returning incorrect results. r=bent 2013-06-13 14:52:40 -07:00
Reuben Morais
b156ac5b1b Bug 874611 - Fix error reporting in some ContactDB methods. r=gwagner 2013-06-04 14:23:19 -07:00
Reuben Morais
c2a53b4f53 Bug 832936 - Implement mozContacts.getCount. r=gwagner sr=sicking 2013-06-03 20:45:10 -07:00
Ben Kelly
7f00db4e85 Bug 874462 - Add "startsWith" filterOp. r=reuben
The "contains" filterOp in ContactsAPI currently implements a filter that
only matches the start of each value when filtering by fields other than
"tel". This behavior is desirable for some uses, but does not match the
"contains" keyword.

Therefore, add a "startsWith" filterOp in addition to the current "contains".
A warning is sent to console.warn() if "contains" is used for non-"tel"
operations. A separate bug will be written to fix "contains" to perform full
text search.
2013-06-03 13:30:39 -04:00
Reuben Morais
aa881eb796 Bug 877777 - Take into consideration entire givenName/familyName array when sorting contacts. r=bent
--HG--
extra : rebase_source : b5752c08613314fd206caf73921538094d86e670
2013-05-31 15:28:00 -07:00
Reuben Morais
a28c3b9134 Bug 874501 - Don't translate letters to numbers when finding contacts. r=bent
--HG--
extra : rebase_source : 5d5a6904aea2430c0521fa6ca3d898c5ce3ab6b2
2013-05-28 15:38:11 -07:00
Reuben Morais
695d852d31 Bug 871872 - Clean up ContactDB's temporary cache if the child dies without asking for more contacts. r=gwagner 2013-05-21 11:19:06 -07:00
Gregor Wagner
4bb2ced518 Bug 870148 - Check validy of email.value when importing contacts. r=reuben
--HG--
extra : rebase_source : f008fb7ae6807eb0240ebe817e88c38100cc367d
2013-05-14 10:20:01 -07:00