Commit Graph

89 Commits

Author SHA1 Message Date
Andrea Marchesini
b212600c95 Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Ehsan Akhgari
33bb32f549 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
54c64f20a9 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
Bevis Tseng
3e0d835bfd Bug 1085765 - Part 2: Add test case to verify MWI without text body. r=htsai 2014-10-21 17:25:32 +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
004ae70a97 Bug 1065185 - Do a better job of accessing privileged constants from voicemail marionette tests. r=bz 2014-10-03 10:05:51 +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
Vicamo Yang
74e0e1cee9 Bug 833229 - 4/4: test cases. r=echen
--HG--
rename : dom/voicemail/test/marionette/pdu_builder.js => dom/voicemail/test/marionette/head.js
2014-09-26 13:00:25 +08:00
Vicamo Yang
82d99fe626 Bug 833229 - 3.f/4: voicemail factory class. r=smaug 2014-09-26 13:00:25 +08:00
Vicamo Yang
7ce335d6c4 Bug 833229 - 3.e/4: implement GonkVoicemailService. r=echen 2014-09-26 13:00:25 +08:00
Vicamo Yang
8fc38b33a1 Bug 833229 - 3.d/4: DOM implementation. r=smaug 2014-09-26 13:00:24 +08:00
Vicamo Yang
a0009588bf Bug 833229 - 3.c/4: implement MozVoicemailStatus in C++. r=smaug 2014-09-26 13:00:24 +08:00
Vicamo Yang
190ba4af2d Bug 833229 - 3.b/4: IPDL implementation. r=echen, r=smaug 2014-09-26 13:00:24 +08:00
Vicamo Yang
93b4165c4c Bug 833229 - 3.a/4: interfance changes. r=echen, r=smaug 2014-09-26 13:00:24 +08:00
Vicamo Yang
24a58aced7 Bug 833229 - 2.a/4: wrap arguments list. r=echen 2014-09-26 13:00:23 +08:00
Vicamo Yang
6a5d2547e0 Bug 833229 - 1/4: rename VoicemailProvider to VoicemailService. r=echen
--HG--
rename : dom/voicemail/nsIVoicemailProvider.idl => dom/voicemail/nsIVoicemailService.idl
2014-09-26 13:00:23 +08: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
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
Roshan Vidyashankar
51d8a7535c Bug 906404 - B2G RIL: move MozVoicemailStatus to WebIDL. r=vicamo,smaug
--HG--
rename : dom/voicemail/nsIDOMMozVoicemailStatus.idl => dom/webidl/MozVoicemailStatus.webidl
2014-07-17 13:47:41 -07:00
Vicamo Yang
fc819e312b Bug 1036877: add private dtor for Reference-counted RIL components. r=hsinyi 2014-07-11 15:58:01 +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
Vicamo Yang
45bd978b7c Bug 1023148 - Use WebIDL codegen to implement RIL & WiFi events. r=smaug 2014-06-11 09:23:34 +08:00
Ehsan Akhgari
958ae15e31 Bug 994964 - Make DOM XPIDL interfaces non-scriptable, and add shim Components.interfaces entries for them; r=bzbarsky,bholley 2014-05-08 16:45:36 -04: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
5b26a9e31e Bug 978611 - Part 3: Get rid of legacy dictionaries: events and codegen. r=smaug,khuey 2014-03-07 20:51:51 +09:00
Masayuki Nakano
d26caa0d74 Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00
Vicamo Yang
5d53c27a4c Bug 934125 - 2.b/3: fix alignment. r=gene
for f in `git show --name-only | grep ^dom/`; do
  [ -n "`grep -e '\w\+: function([^)]*\$' $f`" ] && echo $f;
done | xargs sh -c 'rvim "$@" </dev/tty' asdf
2014-01-13 10:44:44 +08:00
Vicamo Yang
91e5172240 Bug 934125 - 2.a/3: s/\(\w\+\): function \(\w\+\)(/\1: 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 '/\w\+:/ {N; s/\(\w\+\):\s*function \(\w\+\)(/\1: function(/g}';
done
grep -nRe '\w\+: function \w\+(' $RILDIRS
2014-01-13 10:44:40 +08: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
Bevis Tseng
07efca1e18 Bug 946079 - Part 3: Remove testLevel1Indicator from test case. r=vyang 2013-12-05 18:39:22 +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
bb6779efe3 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +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
Hsin-Yi Tsai
a124908aba Bug 937454 - B2G Voicemail test error: test_voicemail_statuschange.js. r=vicamo 2013-11-12 11:50:41 +08:00
Hsin-Yi Tsai
d846a226f3 Bug 814634 - part4 - RIL and tests. r=vicamo 2013-10-29 17:40:44 +08:00
Hsin-Yi Tsai
92f065aab7 Bug 814634 - part3 - DOM. r=khuey 2013-10-29 09:58:12 +08:00
Hsin-Yi Tsai
5d69e1492a Bug 814634 - part2 - internal API. r=vicamo 2013-10-27 20:48:43 +08:00
Hsin-Yi Tsai
0909e55fff Bug 814634 - part1 - WebAPI - WebVoicemail API: support multiple sim cards. r=khuey, r=gene.lian 2013-10-27 20:46:46 +08:00
Hsin-Yi Tsai
e1c35a6484 Backed out changeset 170e22ea9aa0 (bug 814634) for missing r= in comment 2013-11-06 13:48:17 +08:00
Hsin-Yi Tsai
173476e51d Backed out changeset 5804ff8c66fb (bug 814634) for missing r= in comment 2013-11-06 13:48:17 +08:00
Hsin-Yi Tsai
f087795a0d Backed out changeset 4b0f636041e5 (bug 814634) for missing r= in comment 2013-11-06 13:48:17 +08:00
Hsin-Yi Tsai
86d21a4f76 Backed out changeset 9e63eda1ca2f (bug 814634) for missing r= in comment 2013-11-06 13:48:17 +08:00
Hsin-Yi Tsai
b889245961 Bug 814634 - part4 - RIL and tests. r=vicamo 2013-10-29 17:40:44 +08:00
Hsin-Yi Tsai
99a3a4b63a Bug 814634 - part3 - DOM. r=khuey 2013-10-29 09:58:12 +08:00