Commit Graph

627 Commits

Author SHA1 Message Date
Ms2ger
e99bd12a4b Bug 1043963 - Collapse test-only moz.build files under dom/ into ancestor moz.build files; r=ted
There is very little benefit to having another layer of moz.build files, and
removing them will speed up the build a minimal amount. It also paves the way
for removing TEST_DIRS, which could simplify the build system somewhat.
2014-07-26 08:17:24 +02:00
Bevis Tseng
e19f429a94 Bug 1040230 - Check array length to bail out earlier before creating the deleted info. r=vyang 2014-07-24 12:32:12 +08:00
Ed Morley
856fab2db4 Backed out changeset de34cb8506d9 (bug 1040230) 2014-07-24 16:23:08 +01:00
Bevis Tseng
62cf25deca Bug 1040230 - Check array length to bail out earlier before creating the deleted info. r=vyang 2014-07-24 12:32:12 +08:00
Mike Hommey
d10b15b035 Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Bevis Tseng
1ad530d8a7 Bug 1023695 - Part 6: Add Marionette Test Case to Verify ondeleted Event. r=vyang. 2014-06-27 15:34:37 +08:00
Bevis Tseng
cd31fabf01 Bug 1023695 - Part 5: Notify deleted info after DB has been changed. r=vyang. 2014-06-27 13:28:10 +08:00
Bevis Tseng
af7847c86c Bug 1023695 - Part 4: Implementation of .webidl change. r=vyang,smaug. 2014-06-27 13:25:37 +08:00
Bevis Tseng
b278f1ed6f Bug 1023695 - Part 2: Add implementation of .idl/.ipdl. r=vyang. 2014-06-27 13:17:47 +08:00
Bevis Tseng
eedb9d31d1 Bug 1023695 - Part 1: Define .idl/.ipdl for notifying Deleted Info. r=vyang. 2014-06-27 13:11:14 +08:00
Benoit Jacob
57ed0c585c Bug 1035394 - Fix dangerous public destructors in dom - r=ehsan 2014-07-08 17:23:17 -04:00
Jan de Mooij
3c7459b21a Bug 1034191 - Make nsDependentJSString users work with Latin1 strings and nursery-allocated strings. r=bz 2014-07-05 17:30:54 +02:00
Chuck Lee
26feb86cd2 Bug 1033138 - Use AutoJSAPI instead of AutJSContext. r=bholley 2014-07-03 11:31:52 +08:00
Bob Owen
39fe6a7e9d Bug 1029494 Part 4: Replace AutoPushJSContext in MobileMessageCursorCallback::NotifyCursorSuccess. r=bholley 2014-06-26 00:47:12 +01:00
Bob Owen
dff86c4e2d Bug 1029494 Part 3: Replace AutoPushJSContext in MobileMessageCallback::NotifyMessageDeleted. r=bholley 2014-06-26 00:35:51 +01:00
Bob Owen
4a5ff0b800 Bug 1029494 Part 2: Replace AutoPushJSContext in MobileMessageCallback::NotifySuccess. r=bholley 2014-06-25 22:09:40 +01:00
Fabrice Desré
7505dcfe08 Bug 1024157 - Lazy load more js modules - Part 3: RIL r=gene 2014-05-07 15:53:17 -07:00
Andrea Marchesini
e25e980526 Bug 876683 - DOMFile/DOMBlob refactoring, r=ehsan, r=bent 2014-06-26 09:47:44 -07:00
Chris Peterson
1f3a2dcf13 Bug 1024322 - Replace calls to MOZ_ASSUME_UNREACHABLE that have crept back into dom. r=smaug 2014-06-20 22:42:45 -07:00
Wes Kocher
19b35e69b7 Merge inbound to m-c a=merge 2014-06-25 18:18:43 -07:00
Carsten "Tomcat" Book
056763118b Merge mozilla-central to b2g-inbound 2014-06-25 16:21:26 +02:00
Carsten "Tomcat" Book
a2cf6bb6f1 merge b2g-inbound to mozilla-central a=merge 2014-06-25 15:38:40 +02:00
Vicamo Yang
7cf86648aa Bug 992320: split test_wsp_pdu_helper.js for intermittent timeout. r=gene 2014-06-25 11:57:24 +08:00
Vicamo Yang
e09dde5f8b Bug 1002600: fix test_mms_pdu_helper.js intermittent timeouts. r=gene 2014-06-25 11:57:22 +08:00
Vicamo Yang
8d5734766b Bug 993817: convert mobilemssage marionette test cases to Promise. r=gene 2014-06-25 11:57:21 +08:00
Vicamo Yang
15f27d65a8 Bug 958782 - 3/3: fix test cases. r=gene,khuey 2014-06-25 11:57:19 +08:00
Vicamo Yang
b0a1fe7195 Bug 958782 - 2.c/3: remove unused headers and sort. r=khuey 2014-06-25 11:57:18 +08:00
Vicamo Yang
2d633be1d5 Bug 958782 - 2.b/3: WebIDL implementation. f=Ms2ger,bzbarsky,r=khuey 2014-06-25 11:57:16 +08:00
Vicamo Yang
dfdc2fc75c Bug 958782 - 2.a/3: refactoring, alignments. f=Ms2ger,r=khuey 2014-06-25 11:57:15 +08:00
Vicamo Yang
47002a6418 Bug 958782 - 1/3: B2G SMS - Move MozMobileMessage to WebIDL. XPIDL & WebIDL changes. f=Ms2ger,r=khuey
--HG--
rename : dom/webidl/MobileMessageManager.webidl => dom/webidl/MozMobileMessageManager.webidl
2014-06-25 11:57:13 +08:00
Jessica Jong
0a2852413a Bug 1021424 - Verify network.type and network.state before applying mms settings. f=btseng r=vicamo 2014-06-24 02:16:00 +02:00
Vicamo Yang
137dbfad8e Bug 958782: follow-up for bug 1029866, rename AutoJSAPI::InitUsingWin() to Init(). CLOSED TREE 2014-06-25 23:24:22 +08:00
Jim Blandy
4d6a633bba Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Benoit Jacob
747dcfc8a0 Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Nivedita Sarkar
65724c7f68 Bug 1024747 - Do QueryInterface before accessing iccInfo from nsIRilContext. r=vyang, a=1.4+ 2014-06-17 11:56:42 +08:00
Vicamo Yang
45bd978b7c Bug 1023148 - Use WebIDL codegen to implement RIL & WiFi events. r=smaug 2014-06-11 09:23:34 +08:00
Bevis Tseng
9fce39e734 Bug 1012621 - Part 2: Move xpcshell related files into test/xpcshell sub-folder. r=vyang,khuey
--HG--
rename : dom/mobilemessage/tests/header_helpers.js => dom/mobilemessage/tests/xpcshell/header_helpers.js
rename : dom/mobilemessage/tests/test_mms_pdu_helper.js => dom/mobilemessage/tests/xpcshell/test_mms_pdu_helper.js
rename : dom/mobilemessage/tests/test_mms_service.js => dom/mobilemessage/tests/xpcshell/test_mms_service.js
rename : dom/mobilemessage/tests/test_smsservice_createsmsmessage.js => dom/mobilemessage/tests/xpcshell/test_smsservice_createsmsmessage.js
rename : dom/mobilemessage/tests/test_wsp_pdu_helper.js => dom/mobilemessage/tests/xpcshell/test_wsp_pdu_helper.js
rename : dom/mobilemessage/tests/xpcshell.ini => dom/mobilemessage/tests/xpcshell/xpcshell.ini
2014-06-03 11:17:05 +08:00
Bevis Tseng
ee26cb3f95 Bug 1012621 - Part 1: Move mochitest related files into test/mochitest sub-folder.r=vyang,khuey
--HG--
rename : dom/mobilemessage/tests/mochitest.ini => dom/mobilemessage/tests/mochitest/mochitest.ini
rename : dom/mobilemessage/tests/test_sms_basics.html => dom/mobilemessage/tests/mochitest/test_sms_basics.html
rename : dom/mobilemessage/tests/test_smsfilter.html => dom/mobilemessage/tests/mochitest/test_smsfilter.html
2014-06-03 10:54:51 +08:00
Steve Fink
6a809adfba Bug 1017419 - Handlify nsTArrayToJSArray, r=terrence
--HG--
extra : rebase_source : 802407d2c25fe060e16b546890859720664158ae
2014-06-02 09:40:13 -07:00
wei.gao@spreadtrum.com
ab03e5a14f Bug 1008812 - change dom.mms.retrievalRetryIntervals to shorten the mms wait time. r=vyang 2014-05-28 10:33:22 -04:00
Bevis Tseng
163fe2cb03 Bug 824717 - Part 7: Modify and Add test cases to check the message id and message content when failed to send SMS/MMS message. r=vyang 2014-04-29 17:04:42 +08:00
Bevis Tseng
6058e5f67d Bug 824717 - Part 6: Notify SendMesageFailed with saved DOM Message if available. r=vyang 2014-04-28 13:28:12 +08:00
Bevis Tseng
65e0ae92f7 Bug 824717 - Part 5: Fire DOMMobileMessageError when NotifySendMessageFailed(). r=vyang 2014-04-28 13:20:02 +08:00
Bevis Tseng
081cd4c108 Bug 824717 - Part 4: Add a optional MobileMessageData data member in ReplyMessageSendFail. r=vyang 2014-04-28 12:42:24 +08:00
Bevis Tseng
13803d46f9 Bug 824717 - Part 3: Modify nsIMobileMessageCallback::notifySendMessageFailed() to accept an additional nsISupports message. r=vyang 2014-04-28 12:33:10 +08:00
Bevis Tseng
545d5bc162 Bug 824717 - Part 2: Refactor SmsParent::GetMobileMessageDataFromMessage() as a static method to be used in both SmsParent/SmsRequestParent. r=vyang 2014-04-28 12:06:29 +08:00
Bevis Tseng
c23182ec87 Bug 824717 - Part 1: Define DOMMobileMessageError:DOMError to hook an additional nsISupports object like nsIDOMMozSmsMessage/nsIDOMMozMmsMessage when error occurs. r=hsinyi, r=smaug 2014-04-28 11:54:07 +08:00
Vicamo Yang
89547a3c83 Bug 866938 - 4.e/4: add xpcshell test cases for Address.resolveType. r=gene 2014-05-17 02:25:37 +08:00
Vicamo Yang
dd9c80199f Bug 866938 - 4.d/4: add test_mmdb_upgradeSchema_22.js. r=gene 2014-05-17 02:25:37 +08:00
Vicamo Yang
bab012bcb8 Bug 866938 - 4.c/4: rewrite test_mmdb_setmessagedeliverybyid_sms.js to use mmdb_head.js. r=gene 2014-05-17 02:25:36 +08:00
Vicamo Yang
c5a52c6fb5 Bug 866938 - 4.b/4: rewrite test_filter_number.js to include non-PLMN addresses tests. r=gene 2014-05-17 02:25:36 +08:00
Vicamo Yang
b509b7cdd5 Bug 866938 - 4.a/4: add test_mmdb_upgradeSchema_current_structure.js. r=gene 2014-05-17 02:25:36 +08:00
Vicamo Yang
c0e4da70de Bug 866938 - 3/4: use typed addresses internally. r=gene 2014-05-17 02:25:36 +08:00
Thomas Zimmermann
0f72f7b98f Bug 866938 - 2.c/4: rename findThreadRecordByParticipants to findThreadRecordByPlmnAddresses. r=vicamo 2014-05-17 02:25:36 +08:00
Thomas Zimmermann
e62351631a Bug 866938 - 2.b/4: rename findParticipantRecordByAddress to findParticipantRecordByPlmnAddress. r=vicamo 2014-05-17 02:25:35 +08:00
Thomas Zimmermann
ad2d8ca893 Bug 866938 - 2.a/4: extract createParticipantRecord. r=vicamo 2014-05-17 02:25:35 +08:00
Vicamo Yang
f8751aeaf6 Bug 866938 - 1/4: correct RegExp used to match MMS addresses. r=gene 2014-05-17 02:25:35 +08:00
Ed Morley
9231f6bf96 Backed out changeset 254616e044b1 (bug 993282) 2014-05-15 17:01:36 +01:00
Bevis Tseng
bca35f4dbc Bug 1007542 - Add Phone Number into FROM Field of MMS Header when transmitting MMS PDU to network. r=vyang 2014-05-08 15:29:01 +08:00
Ehsan Akhgari
958ae15e31 Bug 994964 - Make DOM XPIDL interfaces non-scriptable, and add shim Components.interfaces entries for them; r=bzbarsky,bholley 2014-05-08 16:45:36 -04:00
Fabrice Desré
d71b55a0e9 Bug 993282 - Lazy load more js modules - Part 3: RIL r=gene 2014-05-07 15:53:17 -07:00
Bevis Tseng
d155b169f5 Bug 1006318 - Assign values in constructor to ensure these properties are created per instance. r=vyang 2014-05-06 17:22:25 +08:00
Wes Kocher
fae8204d08 Backed out 3 changesets (bug 993282) for b2g emulator mochitest 3 failures
Backed out changeset 30e0991d49e0 (bug 993282)
Backed out changeset 6b9c8d6ab401 (bug 993282)
Backed out changeset 96e1a542bb45 (bug 993282)
2014-05-07 18:47:17 -07:00
Fabrice Desré
fa84ad104d Bug 993282 - Lazy load more js modules - Part 3: RIL r=gene 2014-05-07 15:53:17 -07:00
Michael Shuen
2a4c7b090c Bug 972385 - Make JS::AutoValueVector subscript operator return handles. r=jonco, smaug 2014-04-28 16:53:00 +02:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Birunthan Mohanathas
4de1915f30 Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
Terrence Cole
c97877c686 Bug 959787 - Handlify JS_DefineProperty; r=Waldo, r=bz
--HG--
extra : rebase_source : 87991ed47ed071550af4e4125eea54a66fdb0071
2014-01-21 18:11:17 -08:00
Benoit Jacob
5ffda8542b Bug 987305 - Refactor EnumSerializer - r=nfroyd 2014-04-14 10:17:40 -04:00
Boris Zbarsky
6a0a08d26e Bug 994811 part 2. Use ToJSValue in msMessage::GetDeliveryInfo. r=gene
There is one behavior change here: the old code converted null strings
in the MmsDeliveryInfo into "", but the new code will convert them to
a JS null value.
2014-04-11 22:20:54 -04:00
Boris Zbarsky
72845cb9a4 Bug 994793. Make the array bits of ToJSValue nicer. r=bholley 2014-04-10 14:57:42 -04:00
Boris Zbarsky
3738611b99 Bug 993889 part 1. Remove "scope" argument from nsContentUtils::WrapNative. r=bholley 2014-04-10 00:58:41 -04:00
Bevis Tseng
7808d05e0f Bug 990368 - Add corresponding test case to verify error cases in sending MMS. r=vyang 2014-04-01 16:43:53 +08:00
Bevis Tseng
c0a6da56ef Bug 990368 - [B2G][MMS][DSDS] Feedback NonActiveSimError if send an MMS with non active SIM selected. r=vyang 2014-04-01 12:49:44 +08:00
Masayuki Nakano
54d409dfca Bug 984269 Rename nsDOMEventTargetHelper to mozilla::DOMEventTargetHelper r=smaug
--HG--
rename : dom/events/nsDOMEventTargetHelper.cpp => dom/events/DOMEventTargetHelper.cpp
rename : dom/events/nsDOMEventTargetHelper.h => dom/events/DOMEventTargetHelper.h
2014-04-01 15:13:50 +09:00
Bevis Tseng
e3e30cd25c Bug 981077 - Part 4: Add test case for SIM_NOT_MATCHED_ERROR while manually retrieving MMS message. r=vyang 2014-03-25 15:06:09 +08:00
Bevis Tseng
2e466c59d8 Bug 981077 - Part 2: Define MmsService-owned getConnByIccId() to identify NO_SIM_CARD_ERROR and SIM_NOT_MATCHED_ERROR. r=vyang 2014-03-21 12:00:09 +08:00
Bevis Tseng
06ca945bcd Bug 981077 - Part 1: Add new error type SIM_NOT_MATCHED_ERROR. r=vyang 2014-03-21 10:52:05 +08:00
Bevis Tseng
4cebd5a07b Bug 981577 - Part 3: Add Test case to verify RadioDisabledError. r=vyang 2014-03-20 15:14:07 +08:00
Bevis Tseng
840c115c25 Bug 981577 - Part 2: Check Radio State in prior to the ICC Id. r=vyang 2014-03-20 12:24:42 +08:00
Bevis Tseng
e9ea0170f1 Bug 981577 - Part 1: Refactor fetching ril.radio.disabled preference into getRadioDisabledState(). r=vyang 2014-03-20 12:15:49 +08:00
Bobby Holley
11ecf5725c Bug 981202 - Create js-ified param representations in the System Junk Scope. r=mrbkap,f=vicamo 2014-03-26 10:59:02 -03:00
Gene Lian
6334f1845f Bug 944890 - B2G SMS & MMS: remove convertTimeToInt(...) which is no longer needed (part 2, test cases). r=vicamo 2014-03-20 10:46:13 +08:00
Gene Lian
80d8429c19 Bug 944890 - B2G SMS & MMS: remove convertTimeToInt(...) which is no longer needed (part 1, implementation). r=vicamo 2014-03-20 10:45:55 +08:00
Bevis Tseng
2c070a2d03 Bug 945089 - Part 3: Add new test cases to test the concatenation of text/binary sms. r=vyang 2014-03-06 18:54:48 +08:00
Bevis Tseng
0a7db41e7b Bug 945089 - Part 1.1: Create new ObjectStore for saving uncomplete SMS segments. r=vyang 2014-03-03 16:28:20 +08:00
Edgar Chen
0cd6234583 Bug 983215 - Handle optional argument correctly in send()/sendMMS(). r=gene 2014-03-14 15:28:32 +08:00
Bill McCloskey
aa5f40a77e Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Wes Kocher
a3277d291d Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
f4f6bf8e4d Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Bill McCloskey
7193069fa0 Backed out changeset d6261f65070a 2014-03-13 15:52:27 -07:00
Bill McCloskey
69a746922b Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 15:41:41 -07:00
Bevis Tseng
2c55576445 Bug 976897 - Define new notification between NetworkManager and outer modules to prevent the race condition of setting routes and using network interface. r=vyang. 2014-03-10 12:36:42 +09:00
Vicamo Yang
e1a8e672b5 Bug 980354 - 2/2: add more test cases for storage full event. r=hsinyi 2014-03-13 13:44:53 +09:00
Vicamo Yang
220885d16f Bug 980354 - 1/2: add mmdb_head.js and run mmdb test cases in chrome context. r=hsinyi 2014-03-13 13:44:49 +09:00
Vicamo Yang
6193669e39 Bug 957917 - 2/2: test cases. r=hsinyi 2014-03-11 22:18:00 +08:00
Masatoshi Kimura
24d07e5da7 Bug 978611 - Part 2: Move lagacy dictionaries to WebIDL dictionaries for B2G. r=vicamo
--HG--
rename : dom/mobileconnection/interfaces/nsIDOMMobileConnection.idl => dom/webidl/MozMobileConnection.webidl
rename : dom/network/interfaces/nsIDOMNetworkStatsManager.idl => dom/webidl/MozNetworkStats.webidl
2014-03-07 20:51:49 +09:00
Masatoshi Kimura
811f1e846e Bug 978611 - Part 1: Stop using legacy dictionaries from MmsMessage. r=vicamo 2014-03-07 20:51:48 +09:00
Ryan VanderMeulen
fee54ff24f Backed out changesets a7ea2d51414d and 901717199390 (bug 957917) for causing bug 980375. 2014-03-06 16:30:35 -05:00
Bevis Tseng
345798baec Bug 977920 - Retrieve iccId without checking prototype of IccInfo. r=vyang 2014-03-05 11:10:46 +08:00
Bevis Tseng
64c98afa25 Bug 974820 - Part 3: Test case to verify Storage Full Error Code. r=vyang 2014-02-26 10:55:47 +08:00
Bevis Tseng
07ae6b7a7c Bug 974820 - Part 2: Add error handling of sending/receiving SMS/MMS when device storage is full. r=vyang 2014-02-20 12:21:11 +08:00
Bevis Tseng
945c0c13b7 Bug 974820 - Part 1: Add new error type STORAGE_FULL_ERROR. r=vyang 2014-02-20 12:17:47 +08:00
Vicamo Yang
1df6a7d262 Bug 957917 - 2/2: test cases. r=hsinyi 2014-03-05 10:37:45 +08:00
Bevis Tseng
a24603a35e Bug 975356 - Append iccId into the message sent by SystemMessenger. r=vyang 2014-02-24 18:34:06 +08:00
Chris Peterson
b27e93c69a Bug 712873 - Part 3: Replace JS_ALWAYS_TRUE with MOZ_ALWAYS_TRUE outside js/src/ directory. r=luke 2014-02-17 22:42:57 -08:00
Daniel Holbert
84283bddce back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage. 2014-02-19 00:15:51 -08:00
Chris Peterson
1c8162dd91 Bug 712873 - Part 3: Replace JS_ALWAYS_TRUE with MOZ_ALWAYS_TRUE outside js/src/ directory. r=luke 2014-02-17 22:42:57 -08:00
Vaibhav Agarwal
d109cb3fc7 Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher 2014-02-15 04:53:02 -05:00
Jon Coppeard
52381adba2 Bug 969812 - Convert JS_NewArrayObject to use HandleValueArray r=terrence r=bz 2014-02-12 10:50:46 +00:00
Jon Coppeard
e5c29b7f9d Bug 959787 - Handlify some misc JS APIs r=sfink r=smaug 2014-01-29 10:00:40 +00:00
Gabriele Svelto
0f757875f4 Bug 963475 - Reverse the order of retrieval of message threads. r=gene 2014-01-27 19:52:11 +01:00
Gene Lian
21b583875d Bug 945647 - [DSDS][MMS] When change primary outgoing data SIM during MMS attachment downloading, it should stop downloading process. r=vicamo,bevis a=v1.3+ 2014-01-27 11:22:18 +08:00
Jon Coppeard
4a76452c21 Bug 963167 - Convert JS_SetElement() to take HandleValue rather than MutableHandleValue r=sfink r=bz 2014-01-25 09:31:17 +00:00
Bevis Tseng
527b087402 Bug 960741 - Messages app fails to upgrade database (JS exception in upgradeSchema14) after updating from 1.2 to 1.3. r=gene 2014-01-17 13:41:31 +08:00
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