Commit Graph

727 Commits

Author SHA1 Message Date
Andrea Marchesini
f0f60b7dff Bug 1231100 - Get rid of nsIDOMFileReader - patch 2, r=sicking 2015-12-09 15:52:38 -05:00
Andrea Marchesini
3cdcfba987 Bug 1231100 - Get rid of nsIDOMFileReader - patch 1, r=sicking 2015-12-09 15:52:15 -05:00
Reuben Morais
079e40fcb3 Bug 1212679 - Handle KitKat default messaging app intents. r=fabrice r=snorp 2015-12-08 14:43:09 -05:00
Jan Varga
7f6e383682 Bug 961049 - Part 3: Move PersistenceType serializer from indexedDB to quota module; r=baku 2015-11-22 10:43:34 +01:00
Bevis Tseng
147caf7ecb Bug 1110619 - Part 2: Implementation Changes. r=echen 2015-11-10 15:30:48 +08:00
Bevis Tseng
c51d7530bd Bug 859764 - Part 5: Changes in Test Cases. r=echen 2015-10-19 19:59:15 +08:00
Bevis Tseng
125aef3bd1 Bug 859764 - Part 4: Implementation Change in Different Backend. r=echen 2015-10-19 19:57:18 +08:00
Bevis Tseng
e5ea58e35c Bug 859764 - Part 3: The Implementation for WebIDL Change. r=echen, r=smaug 2015-10-19 19:54:06 +08:00
Bevis Tseng
6f582e0c65 Bug 859764 - Part 1.2: Clearn Up Naming in IDL. r=echen 2015-10-21 19:10:04 +08:00
Bevis Tseng
dccc2b18f5 Bug 859764 - Part 1.1: Turn IDL Implementation into Internal-Only Interface. r=echen, r=smaug 2015-10-19 19:46:08 +08:00
Birunthan Mohanathas
f6aa64ea3b Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Tooru Fujisawa
65663915d7 Bug 1217093 - Remove for-each from dom/. r=smaug 2015-10-19 02:00:50 +09:00
Makoto Kato
635be95cbd Bug 978679. Implement touch events for GTK3. r=karlt 2015-04-30 08:29:34 +12:00
Carsten "Tomcat" Book
b6781b9886 Backed out changeset 2f909d41108b (bug 978679) for bustage on a CLOSED TREE 2015-10-19 13:22:55 +02:00
Makato Kato
1121041d7e Bug 978679 - Implement touch events for GTK3. r=karlt 2015-10-19 23:04:52 +13:00
Nathan Froyd
9c5965b035 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
2015-10-18 01:24:48 -04:00
Bevis Tseng
d33850b385 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
776f524fe0 Bug 1211418 - Part 1: Ensure Data Consistency after Collision of SMS Segment. r=echen. 2015-10-07 10:47:35 +08:00
Reuben Morais
0ea536d19d Bug 748391 - Implement markMessageRead on the Android backend. r=snorp 2015-10-13 01:08:51 -03:00
Carsten "Tomcat" Book
c3a4faf573 merge mozilla-inbound to mozilla-central a=merge 2015-10-08 15:26:54 +02:00
Wes Kocher
8f74e3e6b9 Merge m-c to b2ginbound, a=merge 2015-10-07 11:11:10 -07:00
Carsten "Tomcat" Book
9f1c0bf17d 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
378b7180e7 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
295afccb2f Bug 1197010 - Implement Android backend for createMessageCursor/createThreadCursor. r=snorp 2015-10-06 19:40:38 -03:00
Carsten "Tomcat" Book
9eaa0d1abc Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo
53a85861c1 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Shu-yu Guo
335cec2303 Bug 1202902 - Fix the world. (r=ato for marionette, rs=Mossop for rest) 2015-10-06 14:00:30 -07:00
Wes Kocher
a613c25aec Backed out changeset 3f9ca060b8d0 (bug 1197010) for android build failures 2015-10-06 16:18:13 -07:00
Reuben Morais
f766c9af46 Bug 1197010 - Implement Android backend for createMessageCursor/createThreadCursor. r=snorp 2015-10-06 19:40:38 -03:00
Bevis Tseng
f1129eeb5c 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
a311d9b4ed 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 2015-08-28 21:55:40 -07:00
Andrew McCreight
b6e32c07fe 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
d8faa01cea 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
aeb3c8b4cd Bug 1197008 - Stop assuming 0 is an invalid threadId. r=btseng r=hsinyi 2015-09-02 09:37:17 -03:00
Nicholas Nethercote
10d95cca57 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.
2015-08-27 20:44:53 -07:00
Aryeh Gregor
eb2a6135d7 Bug 1010756 - Helpful errors for using nsCOMPtr on non-XPCOM types; r=froydnj 2015-08-12 18:43:10 +03:00
Wes Kocher
56f8b1ac07 Merge b2ginbound to central, a=merge CLOSED TREE 2015-08-10 14:58:41 -07:00
Reuben Morais
a62d29bff6 Bug 1192102 - Remove unused file embedded/android/GeckoSmsManager.java. r=blassey
IGNORE IDL
2015-08-06 18:59:00 -04:00
younghwan.ji
1c0ecbe031 Bug 1175430 - Expose Network-Specific Error Cause for Various Error Handling in App Layer. r=btseng 2015-08-10 10:08:23 +09:00
Jessica Jong
929db4f2d8 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
1437f39edd 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
0effefa795 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
9cc6f2d8a7 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
50aeaf11a8 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
829a35658f Bug 1182770 - Catch Rejected Promise Properly when Failed to ensure routing. r=echen 2015-07-16 14:42:40 +08:00
Samael Wang
99a245cb94 Bug 984413 - Add JSdoc in MobileMessageDB.jsm. r=btseng 2015-07-13 16:03:14 +08:00
Birunthan Mohanathas
e52329c788 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
89eb454666 Merge m-c to inbound. a=merge
CLOSED TREE
2015-07-09 13:52:22 -04:00
Jesse Ruderman
c02675afc8 Bug 1181382: move declaration into namespace to resolve conflict. r=hsinyi 2015-07-09 09:37:08 -07:00
Samael Wang
7a60e6e002 Bug 1181466 - Fix observe function in SmsService/MmsService. r=btseng
Ensure deletedInfo object is converted by subject.QueryInterface()
when "sms-deleted" topic observed.
2015-07-09 11:59:45 +08:00