Commit Graph

100 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
2dbe6c23a9 merge mozilla-inbound to mozilla-central a=merge 2015-10-26 10:57:35 +01:00
Victor Porof
a1499ed3b5 Bug 1202657 - Add markers for workers' message passing and serialization/deserialization, r=smaug, jsantell, tromey, ejpbruel 2015-10-21 23:10:05 +02:00
William Chen
f8b76af24c Bug 920734 - Part 1: Implement window.orientation and window.onorientationchange. r=baku 2015-10-23 21:37:28 -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
Christoph Kerschbaumer
34404542f4 Bug 1026520 - CSP: Inline report sending into allows - callsite updates (r=dveditz) 2015-09-17 22:34:34 -07:00
Olli Pettay
2c7e5f0653 Bug 1205466, make HasApzAwareListeners check faster, r=masayuki 2015-09-17 13:16:20 +03:00
Masayuki Nakano
ecfbe78daa Bug 895274 part.228 Rename NS_DEVICE_LIGHT to eDeviceLight r=smaug 2015-09-12 01:19:29 +09:00
Masayuki Nakano
ce18a0390e Bug 895274 part.227 Rename NS_USER_PROXIMITY to eUserProximity r=smaug 2015-09-12 01:19:28 +09:00
Masayuki Nakano
6723616018 Bug 895274 part.226 Rename NS_DEVICE_PROXIMITY to eDeviceProximity r=smaug 2015-09-12 01:19:28 +09:00
Masayuki Nakano
58becb4914 Bug 895274 part.225 Rename NS_DEVICE_MOTION to eDeviceMotion r=smaug 2015-09-12 01:19:28 +09:00
Masayuki Nakano
5ec8e06f78 Bug 895274 part.224 Rename NS_DEVICE_ORIENTATION to eDeviceOrientation r=smaug 2015-09-12 01:19:28 +09:00
Masayuki Nakano
b28a957eb2 Bug 895274 part.208 Rename NS_NETWORK_UPLOAD_EVENT to eNetworkUpload r=smaug 2015-09-12 01:19:26 +09:00
Masayuki Nakano
eebcee1716 Bug 895274 part.207 Rename NS_NETWORK_DOWNLOAD_EVENT to eNetworkDownload r=smaug 2015-09-12 01:19:26 +09:00
Masayuki Nakano
d08e08f7ce Bug 895274 part.206 Rename NS_MOZ_TIME_CHANGE_EVENT to eTimeChange r=smaug 2015-09-12 01:19:25 +09:00
Masayuki Nakano
3ce786a7da Bug 895274 part.205 Rename NS_GAMEPAD_END to eGamepadEventLast r=smaug 2015-09-11 21:21:28 +09:00
Masayuki Nakano
794e7ea119 Bug 895274 part.204 Rename NS_GAMEPAD_START to eGamepadEventFirst r=smaug 2015-09-11 21:21:28 +09:00
Masayuki Nakano
771ddc4792 Bug 895274 part.160 Rename NS_AFTERPAINT to eAfterPaint r=smaug 2015-09-10 10:40:06 +09:00
Masayuki Nakano
7d0fb78161 Bug 895274 part.149 Rename NS_USER_DEFINED_EVENT to eUnidentifiedEvent r=smaug 2015-09-10 10:40:04 +09:00
Masayuki Nakano
4ce5e67123 Bug 895274 part.103 Rename NS_MUTATION_END to eLegacyMutationEventLast r=smaug 2015-09-07 23:55:51 +09:00
Masayuki Nakano
ba74a252f0 Bug 895274 part.102 Rename NS_MUTATION_ATTRMODIFIED to eLegacyAttrModified r=smaug 2015-09-07 23:55:51 +09:00
Masayuki Nakano
bcb02ad608 Bug 895274 part.101 Rename NS_MUTATION_NODEREMOVED to eLegacyNodeRemoved r=smaug 2015-09-07 23:55:51 +09:00
Masayuki Nakano
b41726dc04 Bug 895274 part.100 Rename NS_MUTATION_NODEINSERTED to eLegacyNodeInserted r=smaug 2015-09-07 23:55:51 +09:00
Masayuki Nakano
f7d8a5d8ce Bug 895274 part.99 Rename NS_MUTATION_SUBTREEMODIFIED to eLegacySubtreeModified r=smaug 2015-09-07 23:55:51 +09:00
Masayuki Nakano
4116e6d01a Bug 895274 part.98 Rename NS_MUTATION_CHARACTERDATAMODIFIED to eLegacyCharacterDataModified r=smaug 2015-09-07 23:55:50 +09:00
Masayuki Nakano
a4b436d664 Bug 895274 part.97 Rename NS_MUTATION_NODEREMOVEDFROMDOCUMENT to eLegacyNodeRemovedFromDocument r=smaug 2015-09-07 23:55:50 +09:00
Masayuki Nakano
e2aac86531 Bug 895274 part.96 Rename NS_MUTATION_START to eLegacyMutationEventFirst r=smaug 2015-09-07 23:55:50 +09:00
Masayuki Nakano
02e05d9500 Bug 895274 part.95 Rename NS_MUTATION_NODEINSERTEDINTODOCUMENT to eLegacyNodeInsertedIntoDocument r=smaug 2015-09-07 23:55:50 +09:00
Masayuki Nakano
fe9005bf09 Bug 895274 part.60 Rename NS_PAGE_UNLOAD to eUnload r=smaug 2015-09-02 15:07:59 +09:00
Masayuki Nakano
5b79b45e1b Bug 895274 part.55 Rename NS_BEFORE_PAGE_UNLOAD to eBeforeUnload r=smaug 2015-09-02 15:07:59 +09:00
Ryan VanderMeulen
09cfcb4dd2 Merge m-c to inbound. a=merge 2015-08-31 15:22:43 -04:00
Victor Porof
473b0a4e82 Bug 1195232 - Stop using TracingMetadata from GeckoProfiler.h, r=tromey 2015-08-31 16:14:14 +02:00
Victor Porof
41542b4509 Bug 1195838 - Maintain all the TimelineMarker subclasses in a single place, r=tromey 2015-08-31 14:56:37 +02:00
Victor Porof
9c93c0380d Bug 1194707 - Remove the docshell param from TimelineMarker constructors, r=tromey 2015-08-31 11:42:35 +02:00
Masayuki Nakano
7e49ec39f6 Bug 895274 part.39 Rename NS_POINTER_EVENT_START to ePointerEventFirst and add ePointerEventLast r=smaug 2015-09-01 00:20:05 +09:00
Masayuki Nakano
04656a9902 Bug 895274 part.6 Rename NS_EVENT_ALL to eAllEvents r=smaug 2015-08-29 08:58:26 +09:00
Masayuki Nakano
efd413f998 Bug 895274 part.5 Rename NS_EVENT_NULL to eVoidEvent r=smaug 2015-08-29 08:58:26 +09:00
Masayuki Nakano
08c1409ff7 Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug 2015-08-26 21:56:59 +09:00
Masayuki Nakano
451161e458 Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug 2015-08-22 10:34:51 +09:00
Olli Pettay
78190fcb2a Bug 1196317 - Optimize CallbackObject::mCreationStack out from cycle collection graph when possible, r=mccr8 2015-08-20 18:36:06 +03:00
Aryeh Gregor
2aab280bb3 Bug 874842 - Return Event instead of nsIDOMEvent 2015-08-12 14:39:31 +03:00
Boris Zbarsky
4cca89431c Bug 1135961. Implement subclassing of DOM objects. r=peterv 2015-07-31 13:30:55 -04:00
Nicholas Nethercote
242308999c Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj.
This makes it clearer that, unlike how SizeOf*() functions usually work, this
doesn't measure any children hanging off the array.

And do likewise for nsTObserverArray.
2015-07-28 23:24:24 -07:00
Tom Tromey
80943eb993 Bug 1148593 - Pass JSContext to CallbackObject constructor. r=bz 2015-07-24 07:00:00 -04:00
Victor Porof
59dc5e202d Bug 1184376 - Remove nsDocShell::AddProfileTimelineMarker, r=smaug 2015-07-18 09:35:59 -04:00
Victor Porof
8a223e4992 Bug 1183229 - Add a way to count the number of timeline-observed docshells outside of nsDocShell, r=smaug 2015-07-18 09:35:59 -04:00
Lorien Hu
f16760445c Bug 1180798 - Pass event names in nsIEventListenerChangeListener r=smaug 2015-07-17 11:07:37 -04:00
Ryan VanderMeulen
bf45776a3c Backed out changesets fa9fe193778f and 3eaf867930dd (bug 1148593) for test_async_setTimeout_stack.html and test_async_setTimeout_stack_across_globals.html failures. 2015-07-17 12:37:24 -04:00
Tom Tromey
e32d5166aa Bug 1148593 - Pass JSContext to CallbackObject constructor. r=bz 2015-07-17 07:47:00 -04:00
Jim Chen
94553e9557 Bug 1112212 - Add may-have flags for key event and input event listeners; r=smaug 2015-06-16 19:02:39 -04:00
Tom Tromey
27fa3a61d9 Bug 1050500 - Add callee information to Javascript timeline markers. r=smaug 2015-05-20 05:28:00 -04:00