Kyle Huey
94f653c385
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Jeff Walden
e9daf85073
Bug 1208808 - Move time zone adjustment information out of JSRuntime, into global state protected by a spinlock. r=till
2015-10-30 16:14:32 -07:00
Phil Ringnalda
ed488c1255
Back out changeset 6e21339a66ed (bug 1208808) for bustage in the mislabelled and deceptive arm64 simulator
...
CLOSED TREE
2015-10-31 01:44:22 -07:00
Jeff Walden
9badad2fe5
Bug 1208808 - Move time zone adjustment information out of JSRuntime, into global state protected by a spinlock. r=till
2015-10-30 16:14:32 -07:00
Nathan Froyd
e4e2da55c9
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
Chris Peterson
dd2fcb9b7d
Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium
2015-09-22 21:39:03 -07:00
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
Jeff Walden
4cafc6914a
Bug 1158399 - Expose the [[DateValue]] field in Date objects only through a ClippedTime class that enforces prior TimeClip-ing on the given value. r=evilpie, r=bz, r=dhylands, r=mt, r=froydnj, r=khuey, r=baku, r=smaug
2015-05-01 19:12:52 -07:00
Andrew McCreight
c979f253c0
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04: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
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
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
30602c16ab
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
8c15c6ab96
Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage.
2014-08-14 17:23:10 -04:00
Bobby Holley
b6d099f558
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 12:54:34 -07: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
Benoit Jacob
84b13c683d
Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan
2014-06-23 15:56:07 -04:00
Birunthan Mohanathas
80da21dedb
Bug 1001966 - Part 2: Change uses of numbered NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE macro to the variadic variant. r=smaug
2014-04-29 04:57:00 -04: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
66706f5a6e
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
Ehsan Akhgari
87c1762284
Bug 968643 - Part 1: Stop using [PrefControlled]; r=bzbarsky
2014-02-06 13:28:14 -05:00
Ms2ger
554db665e5
Bug 937258 - Part a: Remove empty makefiles; r=gps
2013-11-28 15:25:40 +01:00
Michael Shuen
40a691a855
Bug 940189 - Build dom/time in unified mode. r=bzbarsky
2013-11-20 09:29:03 -05:00
Mike Hommey
931cb49886
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
db9e5129bc
Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps
2013-11-19 11:48:10 +09:00
Mike Hommey
f0d1cd1e10
Bug 939044 - Remove most definitions of MODULE. r=mshal
2013-11-19 11:47:39 +09:00
Mike Hommey
f81885e53b
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
Kyle Huey
90d7e97201
Bug 933099: Banish <windows.h> from nsGlobalWindow.cpp. r=bz
2013-11-05 22:16:25 +08:00
Mike Hommey
f1c0c07862
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Trevor Saunders
e4cd176c9e
[PATCH] bug 922566 - kill dom-config.mk
...
From 6681eaa8bb47ddb4756fd71738771c4c437101c0 Mon Sep 17 00:00:00 2001
---
content/media/webspeech/recognition/Makefile.in | 1 -
content/media/webspeech/recognition/moz.build | 5 +-
content/media/webspeech/synth/Makefile.in | 1 -
content/media/webspeech/synth/pico/Makefile.in | 3 --
dom/alarm/Makefile.in | 2 -
dom/apps/src/Makefile.in | 1 -
dom/base/Makefile.in | 2 -
dom/base/moz.build | 26 ++++++++++-
dom/battery/Makefile.in | 1 -
dom/bindings/Makefile.in | 3 --
dom/bindings/moz.build | 17 ++++++-
dom/bindings/test/Makefile.in | 5 +-
dom/bluetooth/Makefile.in | 2 -
dom/bluetooth/moz.build | 7 ++-
dom/browser-element/Makefile.in | 3 --
dom/browser-element/moz.build | 6 ++-
dom/camera/Makefile.in | 1 -
dom/camera/moz.build | 5 +-
dom/devicestorage/Makefile.in | 1 -
dom/dom-config.mk | 61 -------------------------
dom/encoding/Makefile.in | 1 -
dom/fmradio/Makefile.in | 2 -
dom/fmradio/ipc/Makefile.in | 1 -
dom/fmradio/ipc/moz.build | 5 +-
dom/fmradio/moz.build | 5 +-
dom/icc/src/Makefile.in | 4 --
dom/media/Makefile.in | 3 --
dom/media/moz.build | 6 ++-
dom/mobilemessage/src/Makefile.in | 1 -
dom/mobilemessage/src/moz.build | 5 +-
dom/network/src/Makefile.in | 2 -
dom/plugins/base/Makefile.in | 1 -
dom/plugins/base/moz.build | 8 +++-
dom/power/Makefile.in | 1 -
dom/quota/Makefile.in | 1 -
dom/system/gonk/Makefile.in | 2 -
dom/telephony/Makefile.in | 1 -
dom/time/Makefile.in | 1 -
dom/wifi/Makefile.in | 5 --
39 files changed, 85 insertions(+), 123 deletions(-)
delete mode 100644 dom/dom-config.mk
delete mode 100644 dom/wifi/Makefile.in
2013-10-23 17:20:55 -04:00
Brian O'Keefe
0cbcd904c7
Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal
2013-10-02 13:17:55 -04:00
Trevor Saunders
d33d8939a0
Backed out changeset 99b17c404db2 and e40a964458f8 for landing stuff that shouldn't have and then backing out stuff that should have stayed on a CLOSED TREE
...
--HG--
extra : amend_source : 54312955270ea4098a3add3cd0708866de2e40bb
2013-10-21 18:58:14 -04:00
Trevor Saunders
aba3fa9503
bug 922566 - kill dom-config.mk r=gps
2013-10-11 12:02:41 -04:00
Mike Hommey
05b3f24e0e
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Brian O'Keefe
0ee041b9fd
Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal
2013-08-15 09:02:09 -04:00
Ms2ger
2fab82586f
Bug 883284 - Part c: Move LIBXUL_LIBRARY into moz.build (d-e); r=mshal
2013-08-22 08:56:00 +02:00
Ms2ger
5173d3f36d
Bug 906351 - Use @DEPTH@ even more; r=ted
2013-08-22 08:55:59 +02:00
Ms2ger
66214743ad
Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps
2013-08-22 08:55:59 +02:00
Ms2ger
c590a6ce46
Bug 903778 - Move dom::Date into its own files; r=khuey
2013-08-22 08:30:38 +02:00
Brian O'Keefe
3dadb0e396
Bug 896177 - Remove useless config.mk includes; r=gps
2013-07-17 16:06:53 -04:00
Ms2ger
6ec28362b3
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Boris Zbarsky
6be6fb3ca2
Bug 893004 part 2. Remove various no-longer-used XPCOM bits from Navigator, except the ones from nsIDOMNavigator. r=smaug
...
--HG--
rename : dom/network/interfaces/nsIDOMNavigatorNetwork.idl => dom/network/interfaces/nsIMozNavigatorNetwork.idl
2013-07-17 23:23:52 -04:00
Brian O'Keefe
f98dd45a72
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Trevor Saunders
238525e2d8
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Ehsan Akhgari
da4485e10f
Bug 890239 - Don't leak the weak reference; r=jlebar
2013-07-08 07:10:36 -04:00
Ms2ger
68ea30a57e
Bug 875784 - Move MozTimeManager to WebIDL; r=smaug
2013-06-12 09:00:07 +02:00