Commit Graph

462 Commits

Author SHA1 Message Date
Nicolas Del Piano
3bda253758 Bug 957084 - Allow the sending of empty SMS messages (Gecko side). r=gene
This patch allows to send empty messages. The fragmentText function did not
contemplate the empty message case. So, I changed and added some behaviours
that removed the conflict.
2014-01-18 11:13:35 -03:00
Gene Lian
7c5714b29b Bug 948399 - [Messages] Subject. A subject containing special characters sent in a message is not received correctly (test case). r=vicamo a=v1.3+ 2014-01-20 19:49:59 +08:00
Gene Lian
bb8f39981b Bug 948399 - [Messages] Subject. A subject containing special characters sent in a message is not received correctly. r=vicamo a=v1.3+ 2014-01-16 16:32:07 +08:00
Terrence Cole
f017da90d9 Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink
--HG--
extra : rebase_source : ace7b0fa6ba93acbf0ec8ecaeb68ffa287a33665
2014-01-16 09:48:58 -08:00
Tom Schuster
e64b35e141 Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Vicamo Yang
5d53c27a4c Bug 934125 - 2.b/3: fix alignment. r=gene
for f in `git show --name-only | grep ^dom/`; do
  [ -n "`grep -e '\w\+: function([^)]*\$' $f`" ] && echo $f;
done | xargs sh -c 'rvim "$@" </dev/tty' asdf
2014-01-13 10:44:44 +08:00
Vicamo Yang
91e5172240 Bug 934125 - 2.a/3: s/\(\w\+\): function \(\w\+\)(/\1: function(/ . r=gene
RILDIRS="dom/cellbroadcast/ dom/icc/ dom/mobilemessage/ dom/network/ dom/telephony/ dom/voicemail/ dom/system/gonk/";
for f in `find $RILDIRS -type f -name \*.js -o -name \*.jsm`; do
  sed -i $f -e '/\w\+:/ {N; s/\(\w\+\):\s*function \(\w\+\)(/\1: function(/g}';
done
grep -nRe '\w\+: function \w\+(' $RILDIRS
2014-01-13 10:44:40 +08:00
Vicamo Yang
95c21b2c67 Bug 934125 - 1/3: s/function \+(/function(/ . r=gene
RILDIRS="dom/cellbroadcast/ dom/icc/ dom/mobilemessage/ dom/network/ dom/telephony/ dom/voicemail/ dom/system/gonk/";
for f in `find $RILDIRS -type f -name \*.js -o -name \*.jsm`; do
  sed -i $f -e 's/function \+(/function(/';
done
2014-01-13 10:44:33 +08:00
Gene Lian
fb7958062f Bug 956322 - Trying to download an MMS fails with 'Missing SIM card'. r=vicamo f=gaston a=v1.3+,approval-mozilla-b2g28+ 2014-01-08 11:29:40 +08:00
Ehsan Akhgari
ebd358dfd7 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Gene Lian
faac576436 Bug 901457 - [sms][mms] We need a property for the "sent" timestamp (part 3, test cases). r=vicamo 2013-12-17 14:15:46 +08:00
Gene Lian
d1f4a97072 Bug 901457 - [sms][mms] We need a property for the "sent" timestamp (part 2, implementation). r=vicamo 2013-09-23 10:31:32 +08:00
Gene Lian
10d0a19371 Bug 901457 - [sms][mms] We need a property for the "sent" timestamp (part 1, IDL changes). sr=sicking f=vicamo 2013-09-23 10:31:12 +08:00
Gene Lian
305593c5ee Bug 939302 - Test. r=vicamo 2013-12-02 14:31:57 +08:00
Tom Schuster
b653cfe8ef Bug 939302 - Use DOMTimestamp for timestamps in MMS. r=bz,gen 2013-11-30 19:14:41 +08:00
Vicamo Yang
214995c057 Bug 943263: B2G MMS - add test cases for MobileMessageDB::forEachMatchedMmsDeliveryInfo. r=gene 2013-12-13 23:30:35 +08:00
Vicamo Yang
99c758ad08 Bug 940884 - 3/3. test cases. r=gene 2013-12-12 11:45:35 +08:00
Vicamo Yang
0239a95b6b Bug 940884 - 2.b/3. Move init functions out of MobileMessage constructor. r=gene 2013-12-12 11:45:28 +08:00
Vicamo Yang
d1fef3d720 Bug 940884 - 2.a/3. Changes to adopt MobileMessageDB.jsm. r=gene 2013-12-12 11:45:24 +08:00
Vicamo Yang
b73d0f5670 Bug 940884 - 1/3: B2G SMS: Create MobileMessageDB.jsm for automation tests. r=khuey
--HG--
rename : dom/mobilemessage/src/gonk/MobileMessageDatabaseService.js => dom/mobilemessage/src/gonk/MobileMessageDB.jsm
2013-12-12 11:45:19 +08:00
Gene Lian
be92176b96 Bug 946942 - [MMS] MO/MT MMS fail if the MMS APN is shared with default APN (follow-up). r=anshulj,me a=v1.3+ 2013-12-09 11:58:03 +08:00
Gene Lian
892438d6bd Bug 945711 - [Messages] We lose the 'body' information when migrating. r=vicamo a=v1.3+ 2013-12-09 20:24:59 +08:00
Bevis Tseng
9d49a1cb1d Bug 946079 - Part 2: Modify Test Case to identify Return Call Message as replace Type Message. r=vyang 2013-12-05 14:26:27 +08:00
Bevis Tseng
e4800f9a31 Bug 946079 - Part 1: Treat Return Call SMS Message as Replaced Type Message instead of MWI message. r=vyang 2013-12-05 14:24:31 +08:00
Anshul Jain
685ac8d571 Bug 946942 - Update APN settings on start if MMS call is already connected. r=gene 2013-12-06 12:01:30 -08:00
Blake Kaplan
5ac83b64c6 Bug 933219 - Fix compartment mismatch in MobileMessageManager::Delete. r=gwagner 2013-12-05 13:28:41 -08:00
Blake Kaplan
a01b392d1c Bug 933219 - Fix compartment mismatch in MobileMessageManager::Send. r=gwagner 2013-12-05 13:28:13 -08:00
Benoit Jacob
1634ca88a4 Bug 943712 - Fix the non-unified build of SmsIPCService.cpp - no review, trivial compilation fix 2013-11-30 21:21:35 -05:00
Ms2ger
f56294acdb Bug 937258 - Part a: Remove empty makefiles; r=gps 2013-11-28 15:25:40 +01:00
Carsten "Tomcat" Book
2deec3fd74 Merge m-c to b2g-inbound 2013-11-27 12:50:24 +01:00
Ehsan Akhgari
3bec480e98 Bug 943712 - Build parts of dom/mobilemessage in unified mode; r=gene 2013-11-26 23:46:24 -05:00
Gene Lian
1232dc1929 Bug 943350 - [B2G][DSDS] Gecko needs to properly download MMS for non-active SIM (follow-up fix). r=vicamo 2013-11-27 11:50:49 +08:00
Vicamo Yang
cb2fd4826c Bug 942780: fix misuse of MMS.Address.resolveType in MobileMessageDatabaseService. r=gene 2013-11-26 17:29:23 +08:00
Vicamo Yang
ab06bf8e5d Bug 921918 - 4.b/4: Gonk RIL implementation. r=gene 2013-11-25 18:55:09 +08:00
Vicamo Yang
7f3f16833f Bug 921918 - 4.a/4: accommodate to setMessageDeliveryByEnvelopeId interface change. r=gene 2013-11-25 18:55:08 +08:00
Vicamo Yang
7a788b6af1 Bug 921918 - 3.h/4: decode some MMS header fields as enum. r=gene 2013-11-25 18:55:07 +08:00
Vicamo Yang
f491a5e33b Bug 921918 - 3.g/4: fix possible "undefined" value for messageRecord.envelopeIdIndex. r=gene 2013-11-25 18:55:06 +08:00
Vicamo Yang
5b0439239c Bug 921918 - 3.f/4: share similar works to callback with a DOM message in a transaction. r=gene 2013-11-25 18:55:05 +08:00
Vicamo Yang
c658e68e73 Bug 921918 - 3.e/4: fix debug doesn't work when only turned on in pref. r=gene 2013-11-25 18:55:04 +08:00
Vicamo Yang
dcfe228813 Bug 921918 - 3.d/4: construct mms deliveryInfo in db. r=gene 2013-11-25 18:55:03 +08:00
Vicamo Yang
16aef31078 Bug 921918 - 3.c/4: don't pass transactionId. r=gene 2013-11-25 18:55:02 +08:00
Vicamo Yang
6c7aa198bd Bug 921918 - 3.b/4: assign received |aMmsMessage.sender| in mmdb. r=gene 2013-11-25 18:55:01 +08:00
Vicamo Yang
319797e6bf Bug 921918 - 3.a/4: iccId is optional. r=gene 2013-11-25 18:55:00 +08:00
Chia-hung Tai
adafc46c73 Bug 921918 - 2/4: DOM implementation. r=khuey 2013-11-25 18:54:59 +08:00
Chia-hung Tai
53cf029ffa Bug 921918 - 1/4: B2G MMS: support read report events. Interface changes. r=gene 2013-11-25 18:54:58 +08:00
Carsten "Tomcat" Book
d989edadf6 Backed out changeset 89433bb31453 (bug 921918) Windows XP Debug Bustage on a CLOSED TREE 2013-11-25 08:56:32 +01:00
Carsten "Tomcat" Book
1d8644ba1c Backed out changeset 94f875f9a8de (bug 921918) Windows XP Debug Bustage on a CLOSED TREE 2013-11-25 08:56:24 +01:00
Carsten "Tomcat" Book
951f335d15 Backed out changeset 4780d72117e3 (bug 921918) Windows XP Debug Bustage on a CLOSED TREE 2013-11-25 08:56:15 +01:00
Carsten "Tomcat" Book
56531554db Backed out changeset 307e7260ada2 (bug 921918) Windows XP Debug Bustage on a CLOSED TREE 2013-11-25 08:56:06 +01:00
Carsten "Tomcat" Book
0165863991 Backed out changeset 6bdd99eabb57 (bug 921918) Windows XP Debug Bustage on a CLOSED TREE 2013-11-25 08:55:57 +01:00
Carsten "Tomcat" Book
f9bc2c81c8 Backed out changeset 8446a3ac5060 (bug 921918) Windows XP Debug Bustage on a CLOSED TREE 2013-11-25 08:55:45 +01:00
Carsten "Tomcat" Book
f8c14cfd67 Backed out changeset 529304b6bd08 (bug 921918) Windows XP Debug Bustage on a CLOSED TREE 2013-11-25 08:55:36 +01:00
Carsten "Tomcat" Book
c4c0aea069 Backed out changeset a9664889638e (bug 921918) Windows XP Debug Bustage on a CLOSED TREE 2013-11-25 08:55:26 +01:00
Carsten "Tomcat" Book
0fb125e391 Backed out changeset dc75d4de9df4 (bug 921918) Windows XP Debug Bustage on a CLOSED TREE 2013-11-25 08:55:14 +01:00
Carsten "Tomcat" Book
4f4ff5ea0a Backed out changeset dafc51a29fb3 (bug 921918) Windows XP Debug Bustage on a CLOSED TREE 2013-11-25 08:55:05 +01:00
Carsten "Tomcat" Book
bbaf4664d3 Backed out changeset f38875c274c0 (bug 921918) Windows XP Debug Bustage on a CLOSED TREE 2013-11-25 08:54:57 +01:00
Carsten "Tomcat" Book
934ebee3a6 Backed out changeset f668eb3f9829 (bug 921918) Windows XP Debug Bustage on a CLOSED TREE 2013-11-25 08:54:46 +01:00
Vicamo Yang
31970b6e9e Bug 921918 - 4.b/4: Gonk RIL implementation. r=gene 2013-11-25 15:19:33 +08:00
Vicamo Yang
233d49bac9 Bug 921918 - 4.a/4: accommodate to setMessageDeliveryByEnvelopeId interface change. r=gene 2013-11-25 15:19:32 +08:00
Vicamo Yang
218cfb0b06 Bug 921918 - 3.h/4: decode some MMS header fields as enum. r=gene 2013-11-25 15:19:31 +08:00
Vicamo Yang
93e7bfd2af Bug 921918 - 3.g/4: fix possible "undefined" value for messageRecord.envelopeIdIndex. r=gene 2013-11-25 15:19:30 +08:00
Vicamo Yang
991f25996b Bug 921918 - 3.f/4: share similar works to callback with a DOM message in a transaction. r=gene 2013-11-25 15:19:29 +08:00
Vicamo Yang
497eb8715f Bug 921918 - 3.e/4: fix debug doesn't work when only turned on in pref. r=gene 2013-11-25 15:19:27 +08:00
Vicamo Yang
9b364867f5 Bug 921918 - 3.d/4: construct mms deliveryInfo in db. r=gene 2013-11-25 15:19:27 +08:00
Vicamo Yang
a6db92ad10 Bug 921918 - 3.c/4: don't pass transactionId. r=gene 2013-11-25 15:19:26 +08:00
Vicamo Yang
fffe441c2a Bug 921918 - 3.b/4: assign received |aMmsMessage.sender| in mmdb. r=gene 2013-11-25 15:19:25 +08:00
Vicamo Yang
4f081e6aa7 Bug 921918 - 3.a/4: iccId is optional. r=gene 2013-11-25 15:19:24 +08:00
Chia-hung Tai
65f2b95643 Bug 921918 - 2/4: DOM implementation. r=khuey 2013-11-25 15:19:23 +08:00
Chia-hung Tai
62894760d9 Bug 921918 - 1/4: B2G MMS: support read report events. Interface changes. r=gene 2013-11-25 15:19:22 +08:00
Vicamo Yang
fd2b23b2c2 Bug 940881 - extend timeout for test_replace_short_message_type.js. r=jgriffin 2013-11-23 19:48:58 +08:00
Chia-hung Tai
f63dee4c72 Bug 942009 - B2G MMS: s/isReadReportRequested/readReportRequested to align the W3C Spec. r=gene 2013-11-22 15:12:07 +08:00
Ryan VanderMeulen
73463a4880 Merge inbound to m-c. 2013-11-19 20:43:15 -05:00
Vicamo Yang
d610d8c986 Bug 736708 - 3/3: test cases. r=gene 2013-11-20 03:46:19 +08:00
Vicamo Yang
2b1ea96d6c Bug 736708 - 2/3: RIL implementation. r=gene 2013-11-20 03:46:15 +08:00
Vicamo Yang
8c86750769 Bug 736708 - 1/3: WebSMS - support Replace-Short-Message-Type. Don't return next message id. r=gene 2013-11-20 03:46:12 +08:00
Ryan VanderMeulen
18621dd236 Merge m-c to inbound.
--HG--
rename : dom/contacts/tests/test_contacts_upgrade.html => dom/contacts/tests/test_contacts_upgrade.xul
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 13:54:20 -05:00
Jeff Walden
ad54eee5af Bug 934000 - Minor SMS bugfixes. r=mrbkap 2013-11-05 16:09:33 -08:00
Mike Hommey
a65383e1e9 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
8ceb917350 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
d7b6f95761 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09: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
Vicamo Yang
763e4250c0 Bug 934931 - 2/2: test cases. r=gene 2013-11-15 18:24:43 +08:00
Vicamo Yang
7a7df9b560 Bug 934931 - 1/2: B2G MMS : use matchPhoneNumbers(...) to match the receiver to update the delivery status. r=gene 2013-11-15 18:24:40 +08:00
Vicamo Yang
88ebbe85e6 Bug 889898 - MobileMessage: remove fallback backend, android/MmsService and SmsService::HasSupport(). r=gene 2013-11-15 17:07:33 +08:00
Shao Hang Kao
838999d3a4 Bug 935873 - MMS retry should handle modified input stream, Part 2 - test case, r=vyang 2013-11-13 17:57:45 +08:00
Shao Hang Kao
b7759a021d Bug 935873 - MMS retry should handle modified input stream, Part 1 - Implementation, r=vyang 2013-11-13 17:54:38 +08:00
Bevis Tseng
5e1cdc3f19 Bug 937894 - [B2G][MMS] Unable to send MMS without having manually input MMS port value (AT&T SIM). r=gene 2013-11-13 15:47:49 +08:00
Birunthan Mohanathas
58a91e67d8 Bug 784739 - Switch from NULL to nullptr in miscellaneous directories; r=ehsan 2013-11-11 14:17:14 -05:00
Vicamo Yang
2d29cb9e3f Bug 936763 - B2G MMS: the connected/disconnected network can come from 3G not MMS, which throws exceptions when accessing MMS proxy settings. r=vicamo 2013-11-11 12:41:03 +08:00
Vicamo Yang
f850406118 Bug 885679 - 3/3: test cases. r=gene 2013-11-06 20:46:13 +08:00
Vicamo Yang
3dc218f8ad Bug 885679 - 2/3: DOM & backend changes. r=gene 2013-11-06 20:46:06 +08:00
Vicamo Yang
0821717569 Bug 885679 - 1/3: B2G MMS - Add 'lastMessageSubject' to MobileMessageThread object. Interface changes. sr=gene 2013-11-06 20:46:02 +08:00
Chuck Lee
8f61c5b0f8 Bug 859215 - 0005. Marionette test for read SMSC address. r=vicamo. 2013-09-16 10:12:45 +08:00
Chuck Lee
54cea5eddf Bug 859215 - 0004. Get SMSC address in mobilemessage. r=vicamo 2013-09-16 10:12:43 +08:00
Chuck Lee
a4cd8ed8e4 Bug 859215 - 0002. IPDL change to support get SMSC address. r=vicamo 2013-09-16 10:12:38 +08:00
Chuck Lee
348ff21961 Bug 859215 - 0001. IDL change. r=vicamo 2013-09-16 10:12:35 +08:00
Gene Lian
d648d92ec0 Bug 927711 - B2G MMS : Handle message delivered timestamp for delivery report (part 2, implementation). r=ctai 2013-11-06 10:30:25 +08:00
Gene Lian
6de68d1cfa Bug 927711 - B2G MMS : Handle message delivered timestamp for delivery report (part 1, DOM API IDL). r=hsinyi 2013-11-05 21:50:38 +08:00