Commit Graph

206 Commits

Author SHA1 Message Date
Michael Henretty
8093dfafcf 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
59bd839fb9 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
fcf0ad7092 Bug 884679 - Output warning using dump() instead of Console.jsm. r=gwagner 2013-06-19 21:09:31 -04:00
Shane Tully
16d948ef1f Bug 807688 - Add "key" field to the mozContact interface. r=gwagner sr=sicking 2013-06-14 10:15:57 -07:00
Gregor Wagner
13a679b1dd Bug 882777 - Contacts API: Fix Date and pref properties. r=reuben 2013-06-13 15:43:30 -07:00
Gregor Wagner
867e55f074 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
a6004c8948 Bug 880644 - [SMS/MMS] Auto suggestions returning incorrect results. r=bent 2013-06-13 14:52:40 -07:00
Mike Shal
8d6fa4020d 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
e440660878 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
bfded569cf bug 870370: move EXTRA_COMPONENTS to moz.build (file batch #2). r=mshal 2013-06-10 11:19:28 -04:00
Reuben Morais
9ee5f55e3e Bug 874611 - Fix error reporting in some ContactDB methods. r=gwagner 2013-06-04 14:23:19 -07:00
Reuben Morais
3195761d68 Bug 832936 - Implement mozContacts.getCount. r=gwagner sr=sicking 2013-06-03 20:45:10 -07:00
Reuben Morais
029a94a7af 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
132c8b76a2 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
de25571156 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
461f6e8462 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
3c8ba92757 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
a67540c7f9 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
8e9032d233 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
fd880080d4 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
7529ae4e8a Bug 867043 - Only send more contacts when the child needs them. r=reuben 2013-05-03 09:17:34 -07:00
Gregor Wagner
9f197cc0a6 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
f1e0084500 Bug 847741 - Part 4: Remove getSimContacts impl. r=gwagner 2013-03-06 10:45:07 +08:00
Gregor Wagner
f47d24f5d5 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
376fc8de8a 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
124a72b042 Bug 860559 - Rev interface UUID. 2013-04-29 13:38:23 -07:00
Reuben Morais
1ce82926a7 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
95c7713124 Bug 855556 - Test the cached branch of getAll more extensively. r=gwagner 2013-04-26 15:05:06 -07:00
Reuben Morais
5a7819fed2 Bug 823999 - Disable diagnostic logging and add logging to PermissionPromptHelper. rs=gwagner 2013-04-26 12:50:56 -07:00
Gregor Wagner
9903e812f9 Bug 866135 - Contacts: Fully integrate PhonenumberJS when we save contacts. r=reuben 2013-04-26 11:20:41 -07:00
Reuben Morais
0dd2cc2d87 Bug 862250 - Fix upgrade code. r=gwagner
--HG--
extra : rebase_source : a883f49cd07203734f5ec47d375b1602484bce6d
2013-04-26 10:29:04 -07:00
Reuben Morais
d1432b1ada Bug 862250 - Follow up, fixing test. 2013-04-25 09:34:38 -07:00
Reuben Morais
8325d83c1b 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
1cfc5531f6 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
133aa961b8 Bug 855556 - Stop sending contacts if the child process is dead. r=gwagner 2013-04-23 05:06:40 -07:00
Reuben Morais
97c73cd422 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
780f4d53bd Bug 861462 - Allow contacts to be preloaded when we create the contacts DB. r=bent 2013-04-18 10:39:10 -04:00
Reuben Morais
3323a95988 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
Gregor Wagner
6ac1842968 Bug 861905 - Contacts API: Shortcut permission check in the child. r=mounir 2013-04-17 07:51:51 -04:00
Reuben Morais
fc24dcbbd7 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
e485ff7ccc Bug 823999 - Add logging to the Contacts code to diagnose intermittent failure.
--HG--
extra : rebase_source : 7ded707e14bb280ea93582da5dbd460248518418
2013-04-12 01:51:49 -07:00
Reuben Morais
615be796de 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
d36c5400cb Bug 856042 - Tighten up sanitization of arguments to the Contacts API. r=bz r=gwagner 2013-04-05 12:22:00 -07:00
Reuben Morais
28b5721251 Bug 856358 - Follow-up, fix UUID mismatch in ContactManager interface. 2013-04-11 17:25:38 -07:00
Reuben Morais
89e8f96321 Bug 856358 - Remove ContactProperties types from window. r=gwagner
--HG--
rename : dom/interfaces/contacts/nsIDOMContactProperties.idl => dom/interfaces/contacts/nsIContactProperties.idl
2013-04-10 16:09:10 -07:00
Gregor Wagner
32188acc5d 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
Ryan VanderMeulen
d53f153a64 Backed out changeset 5e573a8f7ce1 (bug 856358) for bustage on a CLOSED TREE.
--HG--
rename : dom/interfaces/contacts/nsIContactProperties.idl => dom/interfaces/contacts/nsIDOMContactProperties.idl
2013-04-11 15:48:38 -04:00
leo.bugzilla.gecko@gmail.com
4f9c053e1a Bug 852057 - Sort contacts correctly when givenName or familyName is null. r=gwagner 2013-04-11 12:35:24 -07:00
Reuben Morais
5a622c4595 Bug 856358 - Remove ContactProperties types from window. r=gwagner
--HG--
rename : dom/interfaces/contacts/nsIDOMContactProperties.idl => dom/interfaces/contacts/nsIContactProperties.idl
extra : rebase_source : 3581687c7285ed8e9c653d1d71f2b60837708679
2013-04-10 16:09:10 -07:00
Reuben Morais
b2f77af938 Bug 858837 - Clean Contacts/Permissions/Settings build config files. r=khuey r=gwagner
--HG--
extra : rebase_source : 15b1a3b477975a29c2ed36d288cf8e75fdfcbdc4
2013-04-05 16:12:31 -07:00
Reuben Morais
0a468dc29f No bug - Remove duplicated code in ContactDB.jsm. r=gwagner
--HG--
extra : rebase_source : 43fd8b87cfa5816bc3e05f21c5994bd9cdc2d29b
2013-04-01 16:27:47 -07:00
Kyle Machulis
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Reuben Morais
17356fd12a 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
51b55fcf41 Backed out changeset 74fa4d93755b (bug 856258) for Windows OPT weirdness 2013-03-29 22:29:13 -07:00
Reuben Morais
b0984cdde9 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
d2b6e6e01a 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
5663b98bc5 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
Reuben Morais
120198a55b No bug - Add EXPOSED_SYMBOLS back to ContactService.jsm.
DONTBUILD

--HG--
extra : rebase_source : 29fa35a133048c9d4762f67bf7a90e06edd7586f
2013-03-29 00:52:48 -07:00
Reuben Morais
b2c419324b No bug - Don't export the ContactService object. DONTBUILD 2013-03-29 00:04:45 -07:00
Mike Shal
f290401a73 Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Yoshi Huang
75a32ccb43 Bug 842981 - Part 2: marionette test for Array.isArray. r=gwagner 2013-03-19 10:31:03 +08:00
Yoshi Huang
b2dfc1cf42 Bug 842981 - Part 1: Add ObjectWrapper to wrap array object. r=gwagner 2013-03-18 15:06:36 +08:00
Yoshi Huang
d6c2c3c61e Backout changeset dbb1f97672f0 for wrong order 2013-03-20 14:42:35 +08:00
Yoshi Huang
227827a6b3 Backed out changeset d10ac6c5b14f for wrong order. 2013-03-20 14:40:23 +08:00
Yoshi Huang
c146241a8a Bug 842981 - Part 1: Add ObjectWrapper to wrap array object. r=gwagner 2013-03-18 15:06:36 +08:00
Yoshi Huang
f1beceb933 Bug 842981 - Part 2: marionette test for Array.isArray. r=gwagner 2013-03-19 10:31:03 +08:00
Mike Shal
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Edgar Chen
1b2f464d99 Bug 847820 - Part 4: Marionette tests for updating SIM contact. r=allstars.chh 2013-03-06 11:03:31 +08:00
Gregor Wagner
0634814d5c Bug 851741 - Contacts API: make continue async. r=bent 2013-03-15 20:40:03 -07:00
Mike Shal
2eb7c496cb Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Reuben Morais
cf6d9483d9 Bug 844558 - Send contacts from parent to child in chunks. r=gwagner
--HG--
extra : rebase_source : 928477208d46757a64ab337dd9f1448790ac7f32
2013-02-23 03:41:41 -08:00
Yoshi Huang
cd47cc8c3f Bug 842460 - Part 3: Update ContactManager. r=gwagner 2013-02-22 16:16:46 +08:00
Gregory Szorc
16f0413b0c 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
3fd0b2c59d Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Reuben Morais
15275da19c Bug 844274 - Move contacts API getAll cache to child process. r=sicking 2013-02-24 19:53:55 -08:00
Jonathan Griffin
d5e9be97ab Bug 831367 - Simplify SpecialPowersAPI.bindDOMWindowUtils(), r=ted 2013-02-22 14:18:38 -08:00
Reuben Morais
e5b931ec5a Bug 836519 - Check if cursor references exist before releasing them. r=gwagner 2013-02-20 09:19:01 -05:00
Reuben Morais
cd18e94cfb Bug 836519 - Implement getAll API for contact manager using cursors. r=gwagner 2013-02-03 04:05:51 -08:00
Jeff Walden
260bb6eb9a 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
8ca93b1c9d Bug 836519 - Implement getAll API for contact manager using cursors. r=gwagner 2013-02-03 04:05:51 -08:00
Edgar Chen
d95dcb7ad9 Bug 809725 - Part 3: Export Email to contact. r=gwagner 2012-12-25 09:47:05 +08:00
Gregor Wagner
71b5a39d0b Bug 836423 - Contacts API: Fix oncontactchange function. r=bent 2013-02-01 12:44:55 -08:00
Reuben Morais
a619e9fe6d Bug 836513 - Support multiple object stores in IndexedDBHelper.jsm. r=gwagner 2013-01-30 18:03:46 -08:00
Gregor Wagner
2208694e4f Bug 836157 - Contacts API: Remove unused indexes. r=bent 2013-01-30 17:17:07 -08:00
Vicamo Yang
26bfa0c2b8 Bug 826977 - Part 3/4: fix all related components as well. r=hsinyi 2013-01-24 14:42:10 +08:00
Benjamin Chen
c18e8d8253 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
0bf4186fc5 Bug 827321 - Fixing ContactsDB tel search indexes 2013-01-09 13:45:48 +01:00
Yoshi Huang
313098c246 Bug 816893 - Part 4: Marionette tests for reading Sim Contact. r=hsinyi 2012-12-14 12:07:12 +08:00
Gregor Wagner
1c9c0bea06 Bug 821101 - Contacts: Fix phonenumberJS error. r=bent 2012-12-12 16:38:27 -08:00
Gregor Wagner
1d66e83c58 Bug 818158 - mozContact.find() - contains lookup on the "tel" field failing. r=bent 2012-12-06 18:23:53 -08:00
Gregor Wagner
432329b83a Bug 817302 - Intermittent test_contacts_basics.html | Test timed out. r=bent 2012-12-05 12:00:09 -08:00
Gregor Wagner
e192b848e1 Followup fix for bug 815833. r=bustage. on CLOSED TREE 2012-11-29 16:15:42 -08:00
Gregor Wagner
1042638262 Bug 815833 - [contacts] Add PhoneNumberJS to ContactsDB. r=bent 2012-11-29 14:50:19 -08:00
Gregor Wagner
66cd476257 Bug 809944 - Require access fields in manifests. r=bent 2012-11-19 12:31:09 -08:00
Gregor Wagner
f59c7afb90 Bug 776668 - Split permission for Settings/Contacts access into ReadOnly and ReadWrite variants. r=ddahl 2012-10-31 17:26:05 -07:00
Kyle Huey
45adfbf2c8 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Vicamo Yang
e6e6deb486 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Kyle Huey
7457de64ad Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
a7bb0ec116 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
dd0cfd935a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00