Commit Graph

79 Commits

Author SHA1 Message Date
Kay Lee
93a8c607cd Bug 851440 - Add more tests for contacts sorting. r=gwagner 2013-07-30 09:46:44 -04: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
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
Gregor Wagner
140c79151c Bug 892497 - [contacts] the upgrade path is error-prone. r=bent 2013-07-15 10:16:33 -07: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
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
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
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
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
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
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
944fea17a4 Bug 855015 - Send contacts to the child process less often. r=gwagner
--HG--
extra : rebase_source : e7efd60a6897811692806b06821f39864c9c91ef
2013-03-27 15:24:15 -07:00
Reuben Morais
9ec99ed2dd Bug 862247 - Fix Contacts/Settings tests not running individually. r=gwagner
--HG--
extra : rebase_source : c9048a4680383576f329c4dcfb139a8e05633076
2013-04-16 14:01:13 +02:00
Reuben Morais
c15e76962f Bug 860918 - Disable the mozContact constructor if the dom.mozContacts.enabled is not set. r=gwagner
--HG--
extra : rebase_source : f5a5291a4b1c74f9048ca04067d7fc8bf02ad1f9
2013-04-11 21:45:40 -07:00
Reuben Morais
e82c54c5d1 Bug 856042 - Tighten up sanitization of arguments to the Contacts API. r=bz r=gwagner 2013-04-05 12:22:00 -07:00
Gregor Wagner
92d9dae787 Bug 859601 - mozContacts API - return undefined if the API is unsupported on the platform, not null. r=bent 2013-04-11 17:44:33 -04:00
leo.bugzilla.gecko@gmail.com
d1752a7396 Bug 852057 - Sort contacts correctly when givenName or familyName is null. r=gwagner 2013-04-11 12:35:24 -07:00
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Reuben Morais
d066789d51 Bug 856258 - Use |is| instead of |ok| to test the length of result arrays in test_contacts_basics.html. r=gwagner 2013-03-29 22:29:45 -07:00
Reuben Morais
0aacc60ca2 Backed out changeset 74fa4d93755b (bug 856258) for Windows OPT weirdness 2013-03-29 22:29:13 -07:00
Reuben Morais
816bfac372 Bug 856258 - Use |is| instead of |ok| to test the length of result arrays in test_contacts_basics.html. r=gwagner 2013-03-29 20:21:40 -07:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Yoshi Huang
f99df94ad2 Bug 842981 - Part 2: marionette test for Array.isArray. r=gwagner 2013-03-19 10:31:03 +08:00
Yoshi Huang
88cd11da6c Backout changeset dbb1f97672f0 for wrong order 2013-03-20 14:42:35 +08:00
Yoshi Huang
d0d15fd0ba Bug 842981 - Part 2: marionette test for Array.isArray. r=gwagner 2013-03-19 10:31:03 +08:00
Edgar Chen
0b1666d6ee Bug 847820 - Part 4: Marionette tests for updating SIM contact. r=allstars.chh 2013-03-06 11:03:31 +08:00
Gregory Szorc
faf262c4ee Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
e2966f651c Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Reuben Morais
c4d09269f1 Bug 844274 - Move contacts API getAll cache to child process. r=sicking 2013-02-24 19:53:55 -08:00
Jonathan Griffin
59f7607781 Bug 831367 - Simplify SpecialPowersAPI.bindDOMWindowUtils(), r=ted 2013-02-22 14:18:38 -08:00
Reuben Morais
4632d919e6 Bug 836519 - Implement getAll API for contact manager using cursors. r=gwagner 2013-02-03 04:05:51 -08:00
Jeff Walden
8765553d79 Bug 836519 - Back out 7a145f17e37c for intermittent 'dom/contacts/tests/test_contacts_getall.html | 19 contacts returned - got 20, expected 19' in the test it added. r=intermittent-orange 2013-02-16 00:42:26 -08:00
Reuben Morais
55d7aa2c7f Bug 836519 - Implement getAll API for contact manager using cursors. r=gwagner 2013-02-03 04:05:51 -08:00
Gregor Wagner
bf5cc15dcc Bug 836157 - Contacts API: Remove unused indexes. r=bent 2013-01-30 17:17:07 -08:00
Benjamin Chen
c30123d87e Bug 816900 - 1. Use |expandedPermNames[idx]| instead |msg.type + "-" + msg.access|. 2. Add |write, create| permissions in test_sim_contacts.js. r=gwagner 2013-01-09 13:25:34 +08:00
Etienne Segonzac
61195a1641 Bug 827321 - Fixing ContactsDB tel search indexes 2013-01-09 13:45:48 +01:00
Yoshi Huang
6e23fa9d2b Bug 816893 - Part 4: Marionette tests for reading Sim Contact. r=hsinyi 2012-12-14 12:07:12 +08:00