Nicholas Nethercote
d376f9f82e
Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
...
do_GetAtom() is currently just a synonym for NS_NewAtom().
--HG--
extra : rebase_source : f4409784f931616cbc300591e6b843d30805c273
2016-03-29 10:09:43 +11:00
Nicholas Nethercote
57f7f7948c
Bug 1259182 - Shrink keyCodeData. r=bz.
...
This reduces static data size by 1480 B per process.
--HG--
extra : rebase_source : 74bb52af763cb96cd9a58a37d8adad9667dbb4db
2016-03-16 14:36:37 +11:00
Boris Zbarsky
e3b2de6aa9
Bug 1255817 part 2. Get rid of AutoJSAPI::OwnsErrorReporting and AutoJSAPI::TakeOwnershipOfErrorReporting. r=bholley
2016-03-23 11:44:54 -04:00
Peter Van der Beken
946ac27409
Bug 1251655
- Remove support for JavaScript-DOM-class and JavaScript-DOM-interface. r=bz.
...
--HG--
extra : rebase_source : 88c93e93905e20d2f6755d67d86902fdfc923eb4
2016-02-14 15:59:48 +01:00
Aidin Gharibnavaz
6863090c8a
Bug 1235830 - Renaming GetInternalNSEvent to WidgetEvent, in nsIDOMEvent r=smaug
...
MozReview-Commit-ID: Hm8Owq17KXn
--HG--
extra : transplant_source : 2%82%D5%89%19%94%7C%E7%CA1%99%B5%24%1F5%E1%C0%1F%DE%07
2016-02-12 19:10:07 +03:30
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Aidin Gharibnavaz
e6606278c0
Bug 1230216
- Changing nsIDOM*Event interfaces so that they don't inherit nsIDOMEvent. r=smaug
...
All the event interfaces changed except for nsIDOMUIEvent and its inheritors.
--HG--
extra : transplant_source : %A5U%3F%80%2B%DD%01%F4%D8%21%F2%E9z%C1%D6%AA%CC%D4%EC%F8
2016-01-12 07:49:08 +03:30
Kyle Huey
c7d3c4e21a
Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz
2015-10-26 14:37:32 -07:00
Nathan Froyd
01583602a9
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
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Neil Deakin
2d636ad4b5
Bug 1180761, cancel the event earlier so that space doesn't trigger checkbox change and scroll, r=neil
2015-09-29 14:49:32 -04:00
Tom Tromey
a37b7fa928
Bug 1148593 - Pass JSContext to CallbackObject constructor. r=bz
...
--HG--
extra : rebase_source : 5c4c1b8dc646fc76bda37a8c6e35a6494d0800b8
2015-07-24 07:00:00 -04:00
Ryan VanderMeulen
b171b787bd
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
2bbc02624b
Bug 1148593 - Pass JSContext to CallbackObject constructor. r=bz
2015-07-17 07:47:00 -04:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Ehsan Akhgari
3b10fd3fcb
Bug 915962 - Part 3: Do not crash when pressing the space bar without having an element focused; r=roc
2015-04-21 22:08:21 -04:00
Ehsan Akhgari
a74279b810
Bug 915962 - Part 1: Allow pressing space to scroll the document if an editable element or form control is not focused; r=roc
2015-04-21 22:07:39 -04:00
Kyle Huey
044aeb9cda
Backed out 3 changesets (bug 102663, bug 915962) for crashing constantly. a=me
...
Backed out changeset 984018eae04a (bug 102663)
Backed out changeset ec40bfefa08d (bug 915962)
Backed out changeset 79aeff6684f6 (bug 915962)
2015-04-21 09:19:01 -07:00
Denis Volk
32e981896d
Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj
2015-04-15 12:47:03 -04:00
Ehsan Akhgari
4a0bb81043
Bug 915962 - Part 1: Allow pressing space to scroll the document if an editable element or form control is not focused; r=roc
2015-04-19 18:57:50 -04:00
Mike Hommey
b077d9624d
Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd
2015-04-01 13:51:45 +09:00
Andrea Marchesini
87495fbf33
Bug 1134280 - Get rid of Tag() - patch 2.9 - dom/svg, dom/xml, dom/xslt and dom/xbl - Fix all the occurrences, m=smaug, r=surkov
2015-03-03 11:09:00 +00:00
Andrea Marchesini
2c4f63331f
Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug
2015-03-03 11:08:59 +00:00
Masayuki Nakano
dffa5d5d04
Bug 1100862 Shortcut key handlers should ignore Windows-Logo key state if no shortcut keys match a key event and the key is pressed because native applications do so r=enndeakin
2014-12-12 21:17:37 +09:00
Wes Kocher
126b4f108e
Backed out changeset bf25101e66cf (bug 1095098) for build bustage
2014-12-08 16:27:12 -08:00
Denis Volk
0f94bddfc8
Bug 1095098: move do_QueryObject templates into their own header r=froydnj
2014-11-20 12:20:10 +01:00
Boris Zbarsky
e80be7f15c
Bug 1089026 part 5. Eliminate the ability to provide a non-global parent object to JS::CompileFunction and company except via the scopeChain API. r=waldo
2014-10-30 19:40:29 -04:00
Boris Zbarsky
e08b9cd7ca
Bug 1088228 part 5. Use the new CloneFunctionObject in XBL. r=peterv
2014-10-30 17:40:17 -04:00
Wes Kocher
e0d9ddc182
Backed out 6 changesets (bug 1088228) for static analysis bustage
...
Backed out changeset 13ecff800114 (bug 1088228)
Backed out changeset de692c3335f2 (bug 1088228)
Backed out changeset 2d449a2b4e1c (bug 1088228)
Backed out changeset 49ac8f33ab70 (bug 1088228)
Backed out changeset 920d50e84a17 (bug 1088228)
Backed out changeset 55f4818378e4 (bug 1088228)
2014-10-30 16:24:02 -07:00
Boris Zbarsky
39bf0debd0
Bug 1088228 part 5. Use the new CloneFunctionObject in XBL. r=peterv
2014-10-30 17:40:17 -04:00
Boris Zbarsky
c6a727017c
Bug 1083648 followup to fix orange on CLOSED TREE due to random XBL stuff getting defined as props on the global. r=bholley pending
2014-10-25 02:09:12 -04:00
Boris Zbarsky
44aee3562d
Bug 1083648 part 3. Change nsJSUtils::CompileFunction to take an explicit scope chain vector, not just a single scope object, and pass in the right objects in CompileEventHandlerInternal. r=bholley
2014-10-25 00:50:29 -04:00
Bobby Holley
5d98edba8b
Bug 1086996 - Stop wrapping XBL handlers into the content compartment. r=bz
2014-10-22 15:13:15 +02:00
Bobby Holley
0e8bf218c0
Bug 1070842 - Move nsJSUtils::CompileFunction (and consequently event handler compilation and XBL compilation) off of nsJSUtils::ReportPendingException. r=bz
2014-09-29 15:34:21 +02:00
Bobby Holley
e70ddb7476
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
30ae466592
Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage.
2014-08-14 17:23:10 -04:00
Bobby Holley
3e4d70a655
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 12:54:34 -07:00
Bob Owen
7cea4e4d14
Bug 1037564 Part 2: Replace AutoPushJSContexts et al. in nsXBLPrototypeHandler. r=bholley
2014-07-18 12:52:32 +01:00
Bill McCloskey
64b94c4b6d
Bug 1017310 - Associate JS compartments with add-on chrome XBL (r=bholley)
2014-06-23 16:33:37 -07:00
Masayuki Nakano
e7dd62dfb5
Bug 1009388 part.3 nsXBLPrototypeHandler should use WidgetEvent::AccelModifier() for consistency with other modules r=smaug
2014-05-22 13:06:05 +09:00
Boris Zbarsky
41c123b6f7
Bug 1007790. When compiling the <body>'s onerror handler, do give it all five args. r=smaug
2014-05-08 22:20:54 -04:00
Boris Zbarsky
a0bb95a823
Bug 993889 part 1. Remove "scope" argument from nsContentUtils::WrapNative. r=bholley
2014-04-10 00:58:41 -04:00
Masayuki Nakano
d1419e8935
Bug 984253 part.4 Rename nsJSEventListener to mozilla::JSEventHandler r=smaug
2014-04-02 11:00:46 +09:00
Masayuki Nakano
41ae81eb58
Bug 984253 part.3 Rename nsEventHandler to mozilla::TypedEventHandler r=smaug
2014-04-02 11:00:45 +09:00
Masayuki Nakano
76ada5fabb
Bug 984253 part.2 Merge nsIJSEventListener and nsJSEventListener r=smaug, sr=jst
2014-04-02 11:00:45 +09:00
Masayuki Nakano
54fb2f6994
Bug 989213 part.3 Rename nsVKList.h to mozilla/VirtualKeyCodeList.h r=smaug
...
--HG--
rename : dom/events/nsVKList.h => dom/events/VirtualKeyCodeList.h
2014-04-01 20:42:16 +09:00
Bobby Holley
d54e0e9a5f
Bug 986304 - Remove the scope object machinery attached to nsIJSEventListener. r=bz,f=smaug
2014-03-21 23:31:03 -03:00
Bobby Holley
79c147b83d
Bug 825392 - Add xpc::GetXBLScopeOrGlobal and Sprinkle some calls to it where necessary. r=bz
2014-03-19 13:35:45 -03:00
Masayuki Nakano
3234ceea19
Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug
...
--HG--
rename : dom/events/nsEventDispatcher.cpp => dom/events/EventDispatcher.cpp
rename : dom/events/nsEventDispatcher.h => dom/events/EventDispatcher.h
2014-03-18 13:48:21 +09:00
Masayuki Nakano
fbf7cdeb19
Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug
...
--HG--
rename : dom/events/nsEventListenerManager.cpp => dom/events/EventListenerManager.cpp
rename : dom/events/nsEventListenerManager.h => dom/events/EventListenerManager.h
2014-03-17 15:56:53 +09:00
Reuben Morais
bde629dd63
Bug 458300 - Rename nsINameSpaceManager.h to nsNameSpaceManager.h. r=jst r=hsivonen
...
--HG--
rename : content/base/public/nsINameSpaceManager.h => content/base/public/nsNameSpaceManager.h
2014-02-27 20:04:46 -03:00