Commit Graph

93 Commits

Author SHA1 Message Date
Nicholas Nethercote
69d088e45f 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
Juan Gomez
01df2f691b Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
e6131fc8b8 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez
2128198065 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-06-24 14:11:00 -04:00
Andrew McCreight
c979f253c0 Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Edgar Chen
9a6aaf19c0 Bug 991582 - Part 2: Handle the result of RIL request in a consistent way. r=aknow 2014-05-12 18:29:53 +08:00
Andrea Marchesini
94545cbb2e Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Ehsan Akhgari
5cccea6f0f Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -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 MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Boris Zbarsky
988b8e01be Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Fabrice Desré
287845402c Bug 1091307 - Add a configure flag to prevent shipping Mozilla's RIL and Geolocation provider r=hsinyi,mshal 2015-02-26 13:51:20 -08:00
Ms2ger
113ddbc3c5 Backed out changeset 7abf54d96823 for lack of review. 2015-02-26 23:02:55 +01:00
Fabrice Desré
3c3ea8141b Bug 1091307 - Add a configure flag to prevent shipping Mozilla's RIL and Geolocation provider r=hsinyi 2015-02-26 13:51:20 -08:00
Ehsan Akhgari
bd52bd3f4e Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -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 MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Ehsan Akhgari
37c07444a0 Bug 1118803 - Mark virtual overridden functions as MOZ_OVERRIDE in misc DOM code; r=baku 2015-01-08 08:49:54 -05:00
Bevis Tseng
2799190b5b Bug 1072808 - Part 3: Add CellBroadcastMessenger as a Wrapper for CellBroadcast System Messages. r=echen 2014-10-24 13:18:26 +08:00
Carsten "Tomcat" Book
c3a1b83da8 Backed out changeset fab00bedff2d (bug 1072808) 2014-11-25 10:45:40 +01:00
Bevis Tseng
1465f1e6c9 Bug 1072808 - Part 3: Add CellBroadcastMessenger as a Wrapper for CellBroadcast System Messages. r=echen 2014-10-24 13:18:26 +08:00
Ehsan Akhgari
b964a4eee4 Bug 1084369 - Build dom/cellbroadcast in unified mode; r=gps 2014-10-22 08:28:26 -04:00
Bevis Tseng
a6911ac44c Bug 1074092 - Move CBS Settings implementation from RadioInterfaceLayer to CellBroadcastService. r=htsai 2014-10-06 19:02:16 +08:00
Ehsan Akhgari
ae6ea86e62 Bug 1079317 - Fix some more bad implicit constructors in DOM; r=baku 2014-09-24 09:16:53 -04:00
Peter Van der Beken
4b7e268d87 Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Bobby Holley
f0a4bb61be Bug 1065185 - Stop using Promise.jsm over SpecialPowers in marionette tests. r=bz 2014-10-03 10:05:50 +02:00
Bevis Tseng
4b147318a8 Bug 864484 - Part 7: Narrow down the DOMString values to predefined constants in .idl. r=vyang, r=smaug
--HG--
extra : rebase_source : 0038e0d9ba6a45f19ea7552202d9db9d165c6c88
extra : amend_source : 7ac906a928fe14fbcac03cd470da78f433a9f192
2014-09-23 18:27:03 +08:00
Bevis Tseng
18a889dbd5 Bug 864484 - Part 6: Move broadcastCbsSystemMessage() From RadioInterfaceLayer to CellBroadcastService. r=vyang
--HG--
extra : rebase_source : 9d77590199e2b94a9dad50a97e7a3f3e488694f3
2014-09-15 17:44:46 +08:00
Bevis Tseng
1a926a632c Bug 864484 - Part 4: Add IPDL Protocol Implementation for CellBroadcast. r=vyang
--HG--
extra : rebase_source : 2493220fabd331274df8d91d2bc4480baf9cf8ed
2014-08-18 17:06:11 +08:00
Bevis Tseng
e906e8f8d8 Bug 864484 - Part 3: Move MozCellBroadcastMessage to webidl implementation. r=vyang, r=smaug
--HG--
rename : dom/cellbroadcast/interfaces/nsIDOMMozCellBroadcastMessage.idl => dom/webidl/MozCellBroadcastMessage.webidl
extra : rebase_source : 1fe6072c1db53fc4751e9a931adadb31a246f247
2014-08-15 13:13:05 +08:00
Bevis Tseng
2f6781b8c5 Bug 864484 - Part 2: Replace CellBroadcastProvider with CellBroadcastService. r=vyang
--HG--
extra : rebase_source : 3b5f5e3aab5a797aad88a1566a3e4eb17e0fa6bd
2014-08-13 18:28:34 +08:00
Bevis Tseng
dbd6f8e1b4 Bug 864484 - Part 1: Create new CellBroadcastService. r=vyang
--HG--
extra : rebase_source : fa69884403c5b4187554660993044ee3c7a4706f
2014-08-13 10:35:23 +08:00
Shu-yu Guo
9baa236495 Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Birunthan Mohanathas
afa90db292 Bug 1058101 - Flatten dom/cellbroadcast/src/ into parent directory. r=mccr8
--HG--
rename : dom/cellbroadcast/src/CellBroadcast.cpp => dom/cellbroadcast/CellBroadcast.cpp
rename : dom/cellbroadcast/src/CellBroadcast.h => dom/cellbroadcast/CellBroadcast.h
2014-08-27 10:12:11 -07:00
Kyle Huey
8e9a0aaf0e Bug 1034312: Inherit from interfaces when using the NS_DECL_NSIFOO macros in b2g. r=vicamo 2014-08-19 18:01:49 -07:00
Vicamo Yang
12b2ecd464 Bug 1048098: remove redundant flushPermissions, flushPrefEnv from tearing down procedure. r=btian, r=echen 2014-08-08 18:28:58 +08:00
Bevis Tseng
bf1549be6e Bug 813893 - Part 2: Add Test Case to Verify CB Message in UMTS Format. r=htsai 2014-07-03 19:56:40 +08:00
Mike Hommey
010c0a5eb7 Bug 1043820 - Remove PARALLEL_DIRS. r=gps 2014-07-29 08:57:59 +09:00
Ms2ger
d9e695483d 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
Mike Hommey
9ae3c48776 Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Vicamo Yang
f19efaa42d Bug 1036877: add private dtor for Reference-counted RIL components. r=hsinyi 2014-07-11 15:58:01 +08:00
Bevis Tseng
21e4f7aec7 Bug 1028032 - Part 2: Add Test cases to verify padding <CR> in both GSM 7bit and UCS2 encoded PDU. r=htsai 2014-07-03 14:43:01 +08:00
Bevis Tseng
a3d7f1375b Bug 1028791 - Re-write Marionette Test Cases of CellBroadcast with Promise. r=vyang 2014-07-02 19:28:33 +08:00
Vicamo Yang
1513694b80 Bug 1034582: add MOZ_FINAL to suppress -Wdelete-non-virtual-dtor when MOZ_B2G_RIL is enabled. r=khuey 2014-07-07 10:46:15 +08:00
Kyle Huey
b0f4a14fc1 Bug 1031051: Part 18 - Kill the old XPIDL-based event generator. r=smaug 2014-06-30 16:02:04 -07:00
Bevis Tseng
ad48420d6d Bug 921326 - Part 4: Add Test case to verify CB message received in Multi-SIM devices. r=htsai 2014-06-12 17:49:20 +08:00
Bevis Tseng
c391b5b257 Bug 921326 - Part 3: Support to Receive Cellbroadcast Messages from different serviceId. r=htsai 2014-06-12 12:04:48 +08:00
Vicamo Yang
03ca6aeb5b Bug 1023148 - Use WebIDL codegen to implement RIL & WiFi events. r=smaug 2014-06-11 09:23:34 +08:00
Vicamo Yang
f84a934814 Bug 1020108: use DOMTimestamp in MozCellBroadcastMessage. r=gene 2014-06-05 10:06:28 +08:00
Birunthan Mohanathas
504b581650 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
Boris Zbarsky
fdbb455d4f Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
3f26a82832 Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""

plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Masayuki Nakano
b185105992 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
Masatoshi Kimura
9a4bb22ca8 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