Commit Graph

727 Commits

Author SHA1 Message Date
Andrea Marchesini
32580a380e Bug 1231100 - Get rid of nsIDOMFileReader - patch 2, r=sicking 2015-12-09 15:52:38 -05:00
Andrea Marchesini
c2230f21f8 Bug 1231100 - Get rid of nsIDOMFileReader - patch 1, r=sicking 2015-12-09 15:52:15 -05:00
Reuben Morais
b51e2336d8 Bug 1212679 - Handle KitKat default messaging app intents. r=fabrice r=snorp 2015-12-08 14:43:09 -05:00
Jan Varga
c1c950896a Bug 961049 - Part 3: Move PersistenceType serializer from indexedDB to quota module; r=baku 2015-11-22 10:43:34 +01:00
Bevis Tseng
e8573be274 Bug 1110619 - Part 2: Implementation Changes. r=echen
--HG--
extra : rebase_source : 1b6e744494e8831826d45fef5ec4a48ffdc8841c
2015-11-10 15:30:48 +08:00
Bevis Tseng
bf6ef36a26 Bug 859764 - Part 5: Changes in Test Cases. r=echen 2015-10-19 19:59:15 +08:00
Bevis Tseng
2e3d3848e7 Bug 859764 - Part 4: Implementation Change in Different Backend. r=echen 2015-10-19 19:57:18 +08:00
Bevis Tseng
23a373fd02 Bug 859764 - Part 3: The Implementation for WebIDL Change. r=echen, r=smaug 2015-10-19 19:54:06 +08:00
Bevis Tseng
4c7af114af Bug 859764 - Part 1.2: Clearn Up Naming in IDL. r=echen 2015-10-21 19:10:04 +08:00
Bevis Tseng
05e37667fb Bug 859764 - Part 1.1: Turn IDL Implementation into Internal-Only Interface. r=echen, r=smaug
--HG--
rename : dom/mobilemessage/MmsMessage.cpp => dom/mobilemessage/MmsMessageInternal.cpp
rename : dom/mobilemessage/MmsMessage.h => dom/mobilemessage/MmsMessageInternal.h
rename : dom/mobilemessage/MobileMessageThread.cpp => dom/mobilemessage/MobileMessageThreadInternal.cpp
rename : dom/mobilemessage/MobileMessageThread.h => dom/mobilemessage/MobileMessageThreadInternal.h
rename : dom/mobilemessage/SmsMessage.cpp => dom/mobilemessage/SmsMessageInternal.cpp
rename : dom/mobilemessage/SmsMessage.h => dom/mobilemessage/SmsMessageInternal.h
rename : dom/mobilemessage/interfaces/nsIDOMMozMmsMessage.idl => dom/mobilemessage/interfaces/nsIMmsMessage.idl
rename : dom/mobilemessage/interfaces/nsIDOMMozMobileMessageThread.idl => dom/mobilemessage/interfaces/nsIMobileMessageThread.idl
rename : dom/mobilemessage/interfaces/nsIDOMMozSmsMessage.idl => dom/mobilemessage/interfaces/nsISmsMessage.idl
2015-10-19 19:46:08 +08:00
Birunthan Mohanathas
9985829ecc Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Tooru Fujisawa
24ab66bc98 Bug 1217093 - Remove for-each from dom/. r=smaug
--HG--
extra : commitid : DcjxshJqlKg
extra : rebase_source : 23bc9a985f1e6d13e13837e31bb9b88b9be24d55
2015-10-19 02:00:50 +09:00
Makoto Kato
26c8790fb2 Bug 978679. Implement touch events for GTK3. r=karlt
--HG--
extra : commitid : 7Sm7XcTb8Do
extra : rebase_source : c10ad90f03b90eb34349edc80be110b90cc2a663
2015-04-30 08:29:34 +12:00
Carsten "Tomcat" Book
81454198ef Backed out changeset 2f909d41108b (bug 978679) for bustage on a CLOSED TREE 2015-10-19 13:22:55 +02:00
Makato Kato
5a68a1b8d5 Bug 978679 - Implement touch events for GTK3. r=karlt
--HG--
extra : commitid : 2tbZZf41zmN
extra : rebase_source : d861252c9bf78b6ffd68dd2c7f14fbf4ef5afdf1
2015-10-19 23:04:52 +13:00
Nathan Froyd
01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Bevis Tseng
59bc946303 Bug 1211418 - Part 2: Add Test Coverage for the Collision of SMS Segment. r=echen. 2015-10-07 10:51:33 +08:00
Bevis Tseng
64def3fb5e Bug 1211418 - Part 1: Ensure Data Consistency after Collision of SMS Segment. r=echen. 2015-10-07 10:47:35 +08:00
Reuben Morais
1e26ba3392 Bug 748391 - Implement markMessageRead on the Android backend. r=snorp 2015-10-13 01:08:51 -03:00
Carsten "Tomcat" Book
634dc488d6 merge mozilla-inbound to mozilla-central a=merge 2015-10-08 15:26:54 +02:00
Wes Kocher
400e33f154 Merge m-c to b2ginbound, a=merge 2015-10-07 11:11:10 -07:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Sebastian Hengst
cdcff6d0a7 Backed out changeset c6b267589d0d (bug 1202902) for Mulet Reftest, W3C Platform Test and other failures. r=backout a=backout on a CLOSED TREE 2015-10-07 13:36:26 +02:00
Reuben Morais
8c408a1045 Bug 1197010 - Implement Android backend for createMessageCursor/createThreadCursor. r=snorp 2015-10-06 19:40:38 -03:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo
52e365bb7b Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
Wes Kocher
b89687d936 Backed out changeset 3f9ca060b8d0 (bug 1197010) for android build failures 2015-10-06 16:18:13 -07:00
Reuben Morais
94f2455f3b Bug 1197010 - Implement Android backend for createMessageCursor/createThreadCursor. r=snorp 2015-10-06 19:40:38 -03:00
Bevis Tseng
dc60677bbe Bug 1209891 - Do Not Reply Read-Report if a MMS Message Was Marked from Unread to Read Multiple Times. r=echen 2015-09-30 18:03:40 +08:00
Jeff Walden
4046fe1490 Bug 1179003 - Convert the infallible objectClassIs proxy hook into a fallible getBuiltinClass hook that indicates class type via outparam. r=efaust, r=bz on DOM bits, r=billm on IPC bits
--HG--
extra : rebase_source : 6ddc3727c411fdfced6338e5e383a10572575f0f
2015-08-28 21:55:40 -07:00
Andrew McCreight
0ff7248107 Bug 1210517 - Create nsVariant directly rather than via do_CreateInstance(). r=froydnj
The goal here is to leave creation stuff mostly for JS, so we can
convert it entirely over to a non-threadsafe cycle-collected version
without breaking any existing C++ users.

I didn't do this for a remaining use in nsGlobalWindow.h to avoid
including nsVariant.h all over the place.
2015-10-07 08:17:42 -07:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Reuben Morais
e0885aabed Bug 1197008 - Stop assuming 0 is an invalid threadId. r=btseng r=hsinyi 2015-09-02 09:37:17 -03:00
Nicholas Nethercote
f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Aryeh Gregor
f29bc4307b Bug 1010756 - Helpful errors for using nsCOMPtr on non-XPCOM types; r=froydnj 2015-08-12 18:43:10 +03:00
Wes Kocher
509f11b522 Merge b2ginbound to central, a=merge CLOSED TREE 2015-08-10 14:58:41 -07:00
Reuben Morais
26b85c489b Bug 1192102 - Remove unused file embedded/android/GeckoSmsManager.java. r=blassey
IGNORE IDL
2015-08-06 18:59:00 -04:00
younghwan.ji
fb63b5e435 Bug 1175430 - Expose Network-Specific Error Cause for Various Error Handling in App Layer. r=btseng
--HG--
extra : histedit_source : 3458196d9d236fade4403ac1e0d2c7b37e0ce855
2015-08-10 10:08:23 +09:00
Jessica Jong
c0a47c3957 Bug 1167132 - Part 8: [NetworkManager] Move network information into a separate interface (Mms). r=btseng 2015-07-29 02:10:00 -04:00
Samael Wang
3317c328f3 Bug 1043250 - Part 5: Update marionette test cases. r=btseng
test_set_smsc_address / test_smsc_address:
- Update the test cases to reflect the interface change.
2015-07-14 14:57:57 +08:00
Samael Wang
dfed244ca2 Bug 1043250 - Part 4: Update SMS IPC implementation. r=btseng
PSmsRequest.ipdl:
- Update ReplyGetSmscAddress to include extra parameters.

SmsChild:
- Update Recv__delete__ to reflect the change of PSmsRequest.

SmsParent:
- Update NotifyGetSmscAddress to reflect the change of PSmsRequest.
2015-07-14 14:57:49 +08:00
Samael Wang
3bdebb5ab3 Bug 1043250 - Part 3: Update MozMobileMessageManager WebIDL interface and implementation. r=hsinyi
MobileMessageManager / MozMobileMessageManager.webidl:
- Adapt Promise in GetSmscAddress function instead of DOMRequest.
2015-07-14 14:57:41 +08:00
Samael Wang
dc172ae799 Bug 1043250 - Part 2: Update MobileMessageCallback and SmsService. r=btseng
nsIMobileMessageCallback.idl
- Update the signature of NotifyGetSmscAddress and uuid.

MobileMessageCallback.cpp:
- Update NotifyGetSmscAddress to reflect the signature change and to
  adapt Promise.
- Update NotifyGetSmscAddressFailed to adapt Promise.

nsISmsService.idl:
- Update the comment to emphasize NUMBER_PLAN_IDENTIFICATION constants
  reflects enumeration values.

SmsService.js:
- Update the invocation of notifySmscAddress as the signature changes.
2015-07-14 14:57:33 +08:00
Bevis Tseng
d78375dc2b Bug 1182770 - Catch Rejected Promise Properly when Failed to ensure routing. r=echen 2015-07-16 14:42:40 +08:00
Samael Wang
f671c5bcfd Bug 984413 - Add JSdoc in MobileMessageDB.jsm. r=btseng 2015-07-13 16:03:14 +08:00
Birunthan Mohanathas
a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Ryan VanderMeulen
dc954fae3a Merge m-c to inbound. a=merge
CLOSED TREE
2015-07-09 13:52:22 -04:00
Jesse Ruderman
a4c110b65d Bug 1181382: move declaration into namespace to resolve conflict. r=hsinyi 2015-07-09 09:37:08 -07:00
Samael Wang
e528cceb83 Bug 1181466 - Fix observe function in SmsService/MmsService. r=btseng
Ensure deletedInfo object is converted by subject.QueryInterface()
when "sms-deleted" topic observed.

--HG--
extra : rebase_source : 95351459bb2739d7e5786155934741a7641c0b2f
2015-07-09 11:59:45 +08:00