Commit Graph

169 Commits

Author SHA1 Message Date
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
Shane Tully
9224eda2df 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
a2d2dc4a2e Bug 857730 - Part 5: Disable contact unit tests on Android. r=cpeterson r=khuey 2013-07-23 16:27:00 -07:00
Shane Tully
c191e83aa7 Bug 857730 - Part 3: Add contacts API Javascript to Android. r=cpeterson 2013-07-18 15:01:00 -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
Shane Tully
73a5ca1331 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
5b159515e1 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
e44d529d0e bug 870370: EXTRA_COMPONENTS cleanup for conversion patches #1 & #2. 2013-07-03 12:01:06 -04: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
9a25a93976 Bug 882777 - Contacts API: Fix Date and pref properties. r=reuben 2013-06-13 15:43:30 -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
Mike Shal
2eff1a24b8 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
4b126bf4e5 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
d47bba4871 bug 870370: move EXTRA_COMPONENTS to moz.build (file batch #2). r=mshal 2013-06-10 11:19:28 -04: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
Reuben Morais
3111f31203 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
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
Volker Mische
311fcccdb3 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
7ddc7e000e 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
5b26e3a065 Bug 867043 - Only send more contacts when the child needs them. r=reuben 2013-05-03 09:17:34 -07:00
Gregor Wagner
dae2e5fbbc 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
1aaf0f0607 Bug 847741 - Part 4: Remove getSimContacts impl. r=gwagner 2013-03-06 10:45:07 +08:00
Gregor Wagner
2364dfa204 Bug 864695 - [Dialer] Numbers starting with 5 retrive wrong phone number suggestions. r=reuben.bmo, r=bent 2013-04-30 15:14:09 -04:00
Reuben Morais
d9f995c397 Bug 864556 - Expose database revision in Contacts API. r=gwagner sr=mounir
--HG--
extra : rebase_source : b36e856f9fd85155096f88cb0c8ad41038052a25
2013-04-25 10:15:47 -07:00
Reuben Morais
2290da9edf Bug 860559 - Rev interface UUID. 2013-04-29 13:38:23 -07:00
Reuben Morais
9a49a73892 Bug 860559 - Add pref field to ContactField and ContactAddress. r=gwagner sr=mounir
--HG--
extra : rebase_source : 098d9071232058bdf4a0f9547398eca9c4303106
2013-04-27 08:28:53 -07:00
Reuben Morais
ad00745549 Bug 855556 - Test the cached branch of getAll more extensively. r=gwagner 2013-04-26 15:05:06 -07:00
Reuben Morais
1229ed4894 Bug 823999 - Disable diagnostic logging and add logging to PermissionPromptHelper. rs=gwagner 2013-04-26 12:50:56 -07:00
Gregor Wagner
041a293ed3 Bug 866135 - Contacts: Fully integrate PhonenumberJS when we save contacts. r=reuben 2013-04-26 11:20:41 -07:00
Reuben Morais
994d6a7d7f Bug 862250 - Fix upgrade code. r=gwagner
--HG--
extra : rebase_source : a883f49cd07203734f5ec47d375b1602484bce6d
2013-04-26 10:29:04 -07:00
Reuben Morais
229a8ae69c Bug 862250 - Follow up, fixing test. 2013-04-25 09:34:38 -07:00
Reuben Morais
18b1cb8c6d Bug 862250 - Add 'match' filterOp for telephone numbers. r=gwagner
--HG--
extra : rebase_source : ff5240597f467c9af008bfc043b1717f23b90185
2013-04-25 09:08:32 -07:00
Reuben Morais
14a8dc17a8 Bug 862250 - Make 'equals' searches on tel only match the value entered by the user. r=gwagner
--HG--
extra : rebase_source : 2652c484e01b9b6bb8c27212fc76cb5d9ddfba2d
2013-04-25 08:40:18 -07:00
Reuben Morais
b68495bae4 Bug 855556 - Stop sending contacts if the child process is dead. r=gwagner 2013-04-23 05:06:40 -07:00
Reuben Morais
304eba94d8 Bug 862351 - Don't enqueue messages sent to a different inner window. r=gwagner
--HG--
extra : rebase_source : 74bf8a9000bbb323dfad42fd7aa1ab89f7a6b0f2
2013-04-18 19:44:38 +02:00
Gregor Wagner
b4d026c77b Bug 861462 - Allow contacts to be preloaded when we create the contacts DB. r=bent 2013-04-18 10:39:10 -04:00