Commit Graph

81 Commits

Author SHA1 Message Date
Ehsan Akhgari
b6e35bb4b4 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
abb608a46d 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
73e330aab7 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
3955f374c0 Backed out changeset fab00bedff2d (bug 1072808) 2014-11-25 10:45:40 +01:00
Bevis Tseng
2548c725bf 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
8455f5b915 Bug 1084369 - Build dom/cellbroadcast in unified mode; r=gps 2014-10-22 08:28:26 -04:00
Bevis Tseng
b4b8f8e470 Bug 1074092 - Move CBS Settings implementation from RadioInterfaceLayer to CellBroadcastService. r=htsai 2014-10-06 19:02:16 +08:00
Ehsan Akhgari
0f46ef7eaf Bug 1079317 - Fix some more bad implicit constructors in DOM; r=baku 2014-09-24 09:16:53 -04:00
Peter Van der Beken
9254096129 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
06a2906a38 Bug 1065185 - Stop using Promise.jsm over SpecialPowers in marionette tests. r=bz 2014-10-03 10:05:50 +02:00
Bevis Tseng
bd9ab9083c 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
30f83fb75f 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
2df83d424f 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
7d338ea936 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
343477777e 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
19387b8726 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
320f4e1440 Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Birunthan Mohanathas
3b5666b1c3 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
250da0f793 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
d154baf8a2 Bug 1048098: remove redundant flushPermissions, flushPrefEnv from tearing down procedure. r=btian, r=echen 2014-08-08 18:28:58 +08:00
Bevis Tseng
a70c94761f 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
20d181268e Bug 1043820 - Remove PARALLEL_DIRS. r=gps 2014-07-29 08:57:59 +09:00
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
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
Vicamo Yang
fc819e312b Bug 1036877: add private dtor for Reference-counted RIL components. r=hsinyi 2014-07-11 15:58:01 +08:00
Bevis Tseng
4775f81318 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
2447269f45 Bug 1028791 - Re-write Marionette Test Cases of CellBroadcast with Promise. r=vyang 2014-07-02 19:28:33 +08:00
Vicamo Yang
ad2cc806f4 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
d2738ad8c9 Bug 1031051: Part 18 - Kill the old XPIDL-based event generator. r=smaug 2014-06-30 16:02:04 -07:00
Bevis Tseng
e6538bd210 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
54a0da8e2f Bug 921326 - Part 3: Support to Receive Cellbroadcast Messages from different serviceId. r=htsai 2014-06-12 12:04:48 +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
Vicamo Yang
e91f727213 Bug 1020108: use DOMTimestamp in MozCellBroadcastMessage. r=gene 2014-06-05 10:06:28 +08: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
Boris Zbarsky
35fca5eeeb 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
56f44fdf10 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
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
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
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
Gregory Szorc
97c0ff0e56 Bug 951352 - Disallow XPIDL_MODULE if XPIDL_SOURCES isn't defined; r=glandium
Once upon a time XPIDL_MODULE and MODULE were kind of the same and
MODULE got mass-converted into XPIDL_MODULE with the removal of MODULE
in bug 939044. Unfortunately, we forgot to add a check for XPIDL_MODULE
being defined if XPIDL_SOURCES isn't (a build config that makes no sense
and only results in cargo culting).

This patch corrects that oversight.

--HG--
extra : rebase_source : d609e2baa8d16df97c944bc9def26ad05527d937
2013-12-17 12:45:56 -08:00
Mike Hommey
a65383e1e9 Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
8ceb917350 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
d7b6f95761 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Jessica Jong
9ecee8ce12 Bug 814629 - Part 5: modify mozMobileConnection related tests. r=hsinyi,khuey 2013-11-13 16:51:43 +08:00
na-kobayashi
1ca7d1451f Bug 910091: add cdmaServiceCategory to CellBroadcastMessage. r=vicamo 2013-10-28 15:06:48 +09:00
Mike Hommey
1d566f7586 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Trevor Saunders
27e72dc2a7 bug 915566 - rm makefiles in dom/ r=gps 2013-09-13 12:25:21 -04:00
Mike Hommey
f1cf3b4238 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Nicholas Nethercote
191ed08f6a Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Brian O'Keefe
4f68eb9b02 Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00