Commit Graph

738 Commits

Author SHA1 Message Date
Jim Chen
cea91f9d3e Bug 1244875 - Update JNI usages; r=snorp
Update JNI usages to match the changes in JNI templates.
2016-02-09 17:27:28 -05:00
Birunthan Mohanathas
690e6fe38b Bug 1235261 - Part 3: Switch remaining uses of AutoFallibleTArray to AutoTArray. r=froydnj
This is effectively a no-op because the affected array operations already use
`mozilla::fallible`.
2016-02-02 17:36:30 +02:00
Nathan Froyd
ddc23df5df Bug 1222475 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in dom/; r=baku,bz,terrence 2015-11-03 13:29:19 -05:00
Phil Ringnalda
d381b4bca6 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
720fce4f80 Bug 1235261 - Part 3: Switch remaining uses of AutoFallibleTArray to AutoTArray. r=froydnj
This is effectively a no-op because the affected array operations already use
`mozilla::fallible`.
2016-01-31 17:12:12 +02:00
Kyle Huey
91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Bill McCloskey
c663839ade Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
Andreas Tolfsen
edd98e60dd Bug 1205687 - Add metadata about Marionette WebAPI tests; r=edgar
This patch also renames certain test files to avoid
duplication of test names.  Because they are all included in
testing/marionette/client/marionette/tests/webapi-tests.ini through
include statements, the test names must be unique.

--HG--
rename : dom/mobilemessage/tests/marionette/test_dsds_default_service_id.js => dom/mobilemessage/tests/marionette/test_mobilemessage_dsds_default_service_id.js
rename : dom/telephony/test/marionette/test_dsds_default_service_id.js => dom/telephony/test/marionette/test_telephony_dsds_default_service_id.js
rename : dom/voicemail/test/marionette/test_dsds_default_service_id.js => dom/voicemail/test/marionette/test_voicemail_dsds_default_service_id.js
extra : rebase_source : 7fed68c1c8801ce6c981c0314240f0041d9068fa
2015-09-18 14:59:45 +01:00
stone
785b833593 Bug 1235484 - Part 2: Refine testcases and control radio with connection. r=bevistseng
--HG--
extra : transplant_source : %1C%FA%A4%F8%C2%BB%0C%E1%01%862%98%83%08%0A%89%BA_A%25
2016-01-20 11:39:23 +08:00
stone
15c96595d7 Bug 1235484 - Part 1: Refine radio state check in MmsService. r=bevistseng
--HG--
extra : transplant_source : %EEq%0D%DA%AF%97%83%F7%A0%0B%B3%0B%7C4%FF%B8%E3%D8%D8%F9
2016-01-20 11:39:06 +08:00
Bevis Tseng
b8eae9f53f Bug 1224990 - Untify SMSC Test Cases. r=edgar
--HG--
extra : transplant_source : %C9iZ%60%DCS%A9x%B2%C2%F8%CFM%2Cx%E3%CF%E2%9FF
2016-01-18 16:18:25 +08:00
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