Граф коммитов

283 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 86168712ad Bug 952890 part 1. Make WebIDL sequence JS to C++ conversions use for-of iteration, not length/index gets. r=peterv 2014-02-14 10:46:09 -05:00
Reuben Morais 338c89b705 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 978bea7c45 Bug 932803 - [Contacts API] Add tests for migrations. r=reuben 2014-02-04 20:46:35 +01:00
Julien Wajsberg 01b60a9385 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 e2ce42989c 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
Reuben Morais dd066d6108 Bug 963274 - Allow removing contacts by ID. r=gwagner 2014-01-29 08:20:40 -05:00
Reuben Morais dd4e08b6ea Bug 951766 - Reintroduce mozContact.init method with a deprecation warning. r=julienw sr=smaug 2014-01-17 16:00:35 -02:00
Reuben Morais 62b01698c2 Bug 946294 - Use cached sequences for array attributes in the Contacts interfaces. r=bz r=gwagner 2013-12-29 15:41:35 -02:00
Tom Schuster 29003d04c1 Bug 949197 - Make Array#slice on COW arrays work again. r=bz f=bholley 2013-12-19 17:39:15 +01:00
Ben Kelly 4af1fbee69 Bug 945948 - Part 2: Test contacts shutdown of cursors. r=reuben 2013-12-12 17:05:18 -05:00
Ben Kelly 2bf66ffc35 Bug 945948 - Part 1: Use a Map to associate cursors with message managers. r=reuben 2013-12-12 17:05:04 -05:00
Reuben Morais 842741608d Bug 697343 - Create the results array in the content scope. r=bz
--HG--
extra : rebase_source : ae7ae1873dc1f074942858c4d37e3d5916e42223
2013-12-09 19:01:42 -02:00
Mike Shal ddecae52a4 Bug 875013 - Remove VPATH; r=glandium 2013-11-21 14:57:06 -05:00
Reuben Morais dd5de029bc Bug 906226 - Move shared test code to a single file. r=gwagner 2013-12-03 23:07:59 -02:00
Ben Kelly b74dc40938 Bug 924565: Part 1: Declare nsIObserver QI in DOMRequestHelper child classes. r=fabrice 2013-11-20 13:33:10 +08:00
Vendelin Ruzicka 5159b57ee8 Bug 921478 - Part 2: Convert test_contacts_upgrade.html to real chrome mochitest. r=bent
--HG--
rename : dom/contacts/tests/test_contacts_upgrade.html => dom/contacts/tests/test_contacts_upgrade.xul
2013-11-19 08:36:33 +01:00
Jan Varga 8f8a999182 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 4551469986 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
Carsten "Tomcat" Book c66b5e35ce Backed out changeset e07cab8a2732 (bug 921478) for perma-orange on Mochitest-1 on B2G Linux Opt on a CLOSED TREE
--HG--
rename : dom/contacts/tests/test_contacts_upgrade.xul => dom/contacts/tests/test_contacts_upgrade.html
2013-11-19 11:41:29 +01:00
Vendelin Ruzicka 3b4e8ca478 Bug 921478 - Part 2: Convert test_contacts_upgrade.html to real chrome mochitest. r=bent
--HG--
rename : dom/contacts/tests/test_contacts_upgrade.html => dom/contacts/tests/test_contacts_upgrade.xul
2013-11-19 08:36:33 +01:00
Jan Varga 5eebe35433 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
Reuben Morais d186425182 Bug 935804 - Handle null and undefined correctly in mozContact field properties. r=bz 2013-11-07 01:26:25 -02:00
Reuben Morais 37bcdda882 Bug 930241 - Use toJSON instead of jsonifier in the Contacts interfaces. r=gwagner
--HG--
extra : rebase_source : b19099dec587b7acc3a86e71928423b46b958e0e
2013-11-01 14:01:59 -02:00
Julien Wajsberg 8def7f1c1f Bug 898337 - Split big test files in smaller files. r=gwagner, r=reuben 2013-10-30 18:35:40 +01:00
Julien Wajsberg e4e8200953 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 2aeb0a6a35 Bug 929652 - WebIDL mozContacts fails to convert some reference workload images correctly. r=reuben 2013-10-30 17:37:30 +01:00
Reuben Morais aa85d95ccf Bug 932763 - Setting mozContact's array properties to an empty array should work. r=gwagner
--HG--
extra : rebase_source : bdc09f04d31e72fafce8b8ef5726d1d0288c8efd
2013-10-30 21:39:05 -02:00
Reuben Morais 627a599f2d Bug 929435 - Treat undefined as null in Contacts API strings. r=gwagner
--HG--
extra : rebase_source : a838d31f1d1f7fbff04bdebc865d2234a5e958d5
2013-10-30 21:16:45 -02:00
Reuben Morais 7be5760ac1 Backed out changeset 3e4f6dd35a2b (bug 932763) 2013-10-30 19:48:46 -02:00
Reuben Morais c24f344dbb Bug 932763 - Setting mozContact's array properties to an empty array should work. r=gwagner 2013-10-30 18:22:16 -02:00
Reuben Morais 2ae2d0f313 No bug - Fix broken merge (976228f4aef7). 2013-10-18 09:34:52 -03:00
Carsten "Tomcat" Book f1d2ae53bc Merge mozilla-central to mozilla-inbound 2013-10-18 14:13:10 +02:00
Ben Kelly 4d8afc528c Bug 927079: Avoid for-of syntax until stable and fast. r=gwagner
--HG--
extra : rebase_source : d1330ba1c1e0df482e317e10eb0b6c91b68f4478
2013-10-18 03:50:33 -03:00
Reuben Morais 0e53b20b57 Bug 927868 - Disable Contacts API on Android. r=blassey
--HG--
extra : rebase_source : cee7df4bb29a70ab1bbc5c9bcaec728a9c727bd2
2013-10-18 03:11:11 -03:00
Reuben Morais f1916d8c5c 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 0e99522f25 Bug 850430 - Optimize mozContact creation and validation code. r=gwagner
--HG--
extra : rebase_source : 6c1cad084d36b723d84d73810adfe031d5275af5
2013-10-17 18:29:56 -03:00
Reuben Morais f6d165b4ea 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
Ben Kelly 94033b0133 Bug 927079 - Avoid for-of syntax until stable and fast. r=gwagner 2013-10-17 14:43:06 -04:00
Gregor Wagner 9497482698 Bug 924378 - [Contacts API] Error in finding matching contacts for international number (00). r=bent 2013-10-16 11:22:16 -07:00
Ms2ger 1ee1f27aa3 Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Nathan Froyd 313292b57f Bug 922632 - use Services.jsm more in ContactManager.js; r=smaug 2013-09-30 16:04:37 -04:00
Gregory Szorc e6acf6270f Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc 1cff342d15 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Ed Morley 18a411a55c Backed out changeset 77bff106b704 (bug 920223) 2013-09-30 12:50:12 +01:00
Ed Morley 53a451894a Backed out changeset 68b6b152f51a (bug 920223) 2013-09-30 12:50:09 +01:00
Gregory Szorc 0b4364c6f3 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gregory Szorc 6ed63cb064 Bug 920223 - Part 1: Mass convert MOCHITEST_FILES to manifests; rs=Ms2ger 2013-09-30 09:51:57 +02:00
Reuben Morais b7c2e6c8f6 Backed out 8 changesets (bug 916267, bug 850430) for mochitest failures 2013-09-30 01:44:06 -03:00
Reuben Morais fcdcb159b1 Bug 850430 - Handle Date properties consistently across the Contacts code. r=gwagner 2013-09-29 22:22:34 -03:00
Reuben Morais 986dac185d Bug 850430 - Optimize mozContact creation and validation code. r=gwagner 2013-07-18 01:22:01 -04:00
Reuben Morais fc8f182478 Bug 850430 - Convert the Contacts API to WebIDL. r=bz r=gwagner 2013-09-29 22:22:34 -03:00
Jan Varga 01428648b0 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
Mike Hommey f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Gregor Wagner 50dbf0bcd5 Bug 905927 - [Contacts API] fail in matching digits test. r=bent 2013-08-29 07:56:19 -07:00
Gregor Wagner 560bcc356d Bug 907996 - Contacts: Fix error callbacks. r=reuben 2013-08-22 12:05:01 -07:00
Shane Tully c1be782958 Bug 897924 - Part 2: Reenable Contacts tests for Android. r=stully 2013-08-19 13:28:02 -07:00
Shane Tully 331ed39b84 Bug 897924 - Part 1: Skip contacts tests on Android < 4.0. r=reuben 2013-08-20 09:31:20 -07:00
Shane Tully e7ddaff64d Bug 906004 - Skip contacts test not supported on Android. r=reuben
--HG--
extra : rebase_source : f91a29d32e8d26996ecc90429d5f473f0f5a42bd
2013-08-16 22:44:03 -07:00
Chris Peterson 44c9b40bae Bug 897924 - Intermittent test_contacts_basics.html | No contacts after clear - got 124 (or 84), expected 0. r=cpeterson 2013-08-16 15:49:18 -07:00
Reuben Morais b9c1c9a244 Bug 889239 - Add a fast upgrade path for the Contacts DB. r=gwagner 2013-08-12 21:58:38 -03:00
Kay Lee dc2d6be163 Bug 851440 - Add more tests for contacts sorting. r=gwagner 2013-07-30 09:46:44 -04:00
Kay Lee 1a07473d72 Bug 851440 - Sort same contacts by published-order. r=gwagner 2013-07-30 09:44:16 -04:00
Ed Morley fe29ebd69b Merge latest green birch changeset and mozilla-central 2013-07-29 15:15:48 +01:00
Reuben Morais e32c8d6b7e 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
Gregor Wagner 04e1d79050 Bug 897924, Bug 897657 - Disable Contacts tests on Android. r=permaorange. 2013-07-27 19:00:51 -07:00
Reuben Morais 2e4ee127e6 Bug 895994 - Add a missing .bind(this) to ContactDB's upgrade code. r=gwagner 2013-07-25 17:43:47 -07:00
Shane Tully 4eacef464e Bug 889673 - Adapt Contacts Unit Tests for Android. CLOSED TREE. r=reuben
--HG--
extra : amend_source : 15338826405ad30caba9573b2cf934a19cca77fe
2013-07-18 15:29:00 -07:00
Shane Tully 015841ab6e Bug 857730 - Part 5: Disable contact unit tests on Android. r=cpeterson r=khuey 2013-07-23 16:27:00 -07:00
Shane Tully 9b0b59b6dc Bug 857730 - Part 3: Add contacts API Javascript to Android. r=cpeterson 2013-07-18 15:01:00 -07:00
Michael Henretty be57d7fb57 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 fd995200af 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 9c97915941 Bug 892497 - [contacts] the upgrade path is error-prone. r=bent 2013-07-15 10:16:33 -07:00
Shane Tully a92717a725 Bug 882495 - Get window for permission prompt by outer window ID instead of most recent window. r=gwagner
--HG--
extra : rebase_source : a9ac7ca43e77a0144005fb68a67aa653598378cb
2013-07-10 12:47:18 -07:00
Justin Lebar 779d96d10f Bug 889984 - Don't leak objects which "inherit" from DOMRequestIpcHelper the associated window is closed. r=fabrice 2013-07-08 17:55:42 -04:00
Joey Armstrong a8ffe81a63 bug 870370: EXTRA_COMPONENTS cleanup for conversion patches #1 & #2. 2013-07-03 12:01:06 -04:00
Reuben Morais 0640cc41f5 Backed out changeset 08185bc7ab8d (bug 885979) 2013-07-01 23:14:32 -07:00
Gregor Wagner e8fc69cae2 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 4fa19dd8bd 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 6ca3211bf7 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 7326e35f0d Bug 884679 - Output warning using dump() instead of Console.jsm. r=gwagner 2013-06-19 21:09:31 -04:00
Shane Tully 7aedf5013b Bug 807688 - Add "key" field to the mozContact interface. r=gwagner sr=sicking 2013-06-14 10:15:57 -07:00
Gregor Wagner d0850fce0a Bug 882777 - Contacts API: Fix Date and pref properties. r=reuben 2013-06-13 15:43:30 -07:00
Gregor Wagner abfdc384e8 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 2028ac5d64 Bug 880644 - [SMS/MMS] Auto suggestions returning incorrect results. r=bent 2013-06-13 14:52:40 -07:00
Mike Shal 87c2fdb386 Bug 880245 - Move EXTRA_JS_MODULES to moz.build (conversion part 1); r=joey
From 69c3338a3287ff8cc97533e06069fc4d4cb7c5f6 Mon Sep 17 00:00:00 2001
2013-06-10 12:08:47 -04:00
Reuben Morais db0415d564 Bug 879537 - Be more strict when setting Date properties of contacts. r=gwagner
--HG--
extra : rebase_source : 61741dc83d4b1e4ca0a9bd7bae070fcb1aed63d1
2013-06-12 13:48:20 -07:00
Joey Armstrong e3210c223f bug 870370: move EXTRA_COMPONENTS to moz.build (file batch #2). r=mshal 2013-06-10 11:19:28 -04:00
Reuben Morais 1f0a82e81b Bug 874611 - Fix error reporting in some ContactDB methods. r=gwagner 2013-06-04 14:23:19 -07:00
Reuben Morais dce257597b Bug 832936 - Implement mozContacts.getCount. r=gwagner sr=sicking 2013-06-03 20:45:10 -07:00
Reuben Morais 96a3e4af42 Bug 869615 - Sanitize Contact properties everywhere, not just in init. r=bent
--HG--
extra : rebase_source : 25fd18299c15cee78dff008460c89e78ba60d842
2013-06-03 18:50:31 -07:00
Ben Kelly 733adbb4b1 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 f6d29f4c4c 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 251b0bc864 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 f6ff8429cd 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 d2dd431976 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
Volker Mische 5feae53e4f Bug 870148 - Check vality of tel.value when importing contacts. r=gwagner
--HG--
extra : rebase_source : 67889d60976fdd3e709d687981b6923cf350f4a2
2013-05-14 10:17:37 -07:00
Reuben Morais 3f33a916b6 Bug 862353 - Only enable mozContacts in B2G and mochitests. r=gwagner
--HG--
extra : rebase_source : 914bd36790ae01f83c3f84817b2021f0f7dbcf22
2013-05-13 18:32:03 -07:00
Gregor Wagner 94778e67e5 Bug 867043 - Only send more contacts when the child needs them. r=reuben 2013-05-03 09:17:34 -07:00
Gregor Wagner 979f8dd0c6 Bug 867043 - Don't ask for more contacts more than once for the same chunk. r=reuben 2013-05-03 09:15:55 -07:00
Yoshi Huang 1ff5ff69ac Bug 847741 - Part 4: Remove getSimContacts impl. r=gwagner 2013-03-06 10:45:07 +08:00