Bobby Holley
e83e186c1b
Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
...
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-26 11:04:11 -08:00
Bobby Holley
784a476fb8
Bug 834732 - Remove PushBehavior. r=mrbkap
...
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-26 11:04:11 -08:00
Bobby Holley
e04f8d807d
Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
...
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-26 11:04:09 -08:00
Masatoshi Kimura
eff9403238
Bug 843489 - Drop support for .createEvent("progressevent"). r=smaug
2013-02-23 14:49:59 +09:00
L. David Baron
4f4296979b
Bug 404077: Annotate known assertions in mochitests.
2013-02-25 18:39:21 -08:00
Ryan VanderMeulen
486f369f1f
Backed out 6 changesets (bug 832920, bug 825341, bug 838582, bug 842726, bug 629801, bug 842561) for Linux32 debug mochitest-2 and Windows/OSX mochitest-browser-chrome failures on a CLOSED TREE.
2013-02-22 15:30:06 -05:00
Trevor Saunders
0900a6537c
bug 825341 - convert range to webidl r=bz, smaug
2013-02-07 07:09:41 -05:00
Randy Lin
90902b6a5b
Bug 834165 - Implement BlobEvent. r=smaug
...
--HG--
extra : rebase_source : 5d8f13baa4b2ff00a63300be54edb81ab2555bd9
2013-02-18 14:06:27 +08:00
L. David Baron
5ef4421fa5
Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
...
Except for the changes in:
layout/generic/nsIFrame.h (part)
layout/style/nsComputedDOMStyle.h (all)
layout/style/nsRuleNode.cpp (part)
layout/style/nsStyleContext.cpp (part)
layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Trevor Saunders
3e6a6deadc
bug 841430 - nuke nsIEditorDocShell r=bz
2013-02-13 17:39:30 -05:00
Trevor Saunders
36453999ea
bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz
2013-02-12 17:02:51 -05:00
Masayuki Nakano
e37ff211be
Bug 833719 part.1 Register some DOM keyCode values for Windows giving virtual keycode names and all OEM speicific virtual keyCode of Windows except we already used values r+sr=smaug
2013-02-13 14:47:19 +09:00
Ryan VanderMeulen
0e981ca346
Backed out 12 changesets (bug 834732) for b2g bustage and OSX mochitest-1 crashes on a CLOSED TREE.
2013-02-12 20:54:48 -05:00
Bobby Holley
e9d5a91d21
Bug 834732 - Make nsCxPusher.Push(JSContext*) infallible. r=mrbkap
...
We leave the nsIDOMEventTarget* versions fallible for now, but this makes the
common case a lot simpler. Note that this means that pushing a null JSContext,
a bug, is no longer handled at runtime. But I think we should just assert
against it, since there are already callers that don't check the return value.
2013-02-13 00:22:26 +01:00
Bobby Holley
5a1f2c3927
Bug 834732 - Remove PushBehavior. r=mrbkap
...
Now that we only have ALWAYS_PUSH and ASSERT_SCRIPT_CONTEXT, we have uniform
release-mode behavior everywhere. Remove the crap.
2013-02-13 00:22:26 +01:00
Bobby Holley
863479340f
Bug 834732 - Get rid of footgun bool param for nsCxPusher and use an explicit enum. r=mrbkap
...
The goal here is to get rid of this crap entirely, and make nsCxPusher always
push. But that's a scary change, so we do it in chunks. This patch, in particular,
should have zero behavioral change. This means preserving some very wrong behavior.
For instance, currently SafeAutoJSContext never pushes a damn thing, because the
safe JSContext doesn't have an associated nsIScriptContext. We preserve this
behavior, and in fact convert various similarly-buggy consumers to
SafeAutoJSContext, so that we can hoist the behavioral change into a subsequent
patch.
2013-02-13 00:22:26 +01:00
Mounir Lamouri
0680e6e74d
Bug 840031 - Use IsTextControl() in nsEventStateManager.cpp. r=smaug
2013-02-12 16:41:58 +00:00
Olli Pettay
ff9c34a6e4
Bug 839528 - Change the namespace of xpidl dictionary helpers, r=khuey
2013-02-11 21:37:50 +02:00
Olli Pettay
6e6150abc6
Bug 839465 - Implement SmartCardEvent using event code generator, r=mounir
2013-02-11 21:37:20 +02:00
Robert Strong
2615fbe80d
Back out Bug 678392
2013-02-08 16:52:12 -08:00
Stephen Pohl
8d7a3e80e7
Main patch (original patch by mstange) - Bug 678392 - [10.7] Add support for swipe animation as in Safari. r=smichaud r=felipc
2013-02-08 13:56:50 -08:00
Bobby Holley
966a177f72
Bug 821850 - Make XBL-in-content tests Xray-safe. r=bz
...
We use XPCNativeWrapper.unwrap rather than .wrappedJSObject so that the tests
are agnostic to whether there's an Xray wrapper or not.
I converted test_tree_column_reorder.xul into a chrome test because it does
all sorts of crazy introspection on the binding, and it really should be
a chrome test anyway.
2013-02-08 14:24:19 +00:00
Mats Palmgren
8ebc796ef8
Bug 838931 - Don't include nsIFrameTraversal.h since it's not used in this file anymore. r=dholbert
2013-02-07 21:07:53 -05:00
Brad Lassey
d725a81085
bug 674739 - Implement DOM3 KeyboardEvent types for volume controls r=masayuki, sr=smaug
2013-02-04 15:50:41 -05:00
Vicamo Yang
cacd4c86e3
Bug 835148: Implement SmsEvent using event generator. r=smaug
...
--HG--
rename : dom/sms/interfaces/nsIDOMSmsEvent.idl => dom/sms/interfaces/nsIDOMMozSmsEvent.idl
rename : dom/sms/interfaces/nsIDOMSmsMessage.idl => dom/sms/interfaces/nsIDOMMozSmsMessage.idl
2013-02-07 18:43:22 +08:00
Boris Zbarsky
d71214e1ed
Bug 838518 part 1. Fix treewalker callers per the API change that was made. r=smaug
2013-02-06 14:22:33 +00:00
Masayuki Nakano
e7626c4be8
Bug 838001 IME management code should use root widget instead of the nearest widget of the PresContext r=smaug
2013-02-06 11:50:02 +09:00
Alex Vincent
46b6a18189
Bug 833879 - Move layout/xul/base/src/tree/ to layout/xul/tree, layout/xul/base/src/grid to layout/xul/grid. r=roc
...
--HG--
rename : layout/xul/base/src/grid/Makefile.in => layout/xul/grid/Makefile.in
rename : layout/xul/base/src/grid/crashtests/306911-crash.xul => layout/xul/grid/crashtests/306911-crash.xul
rename : layout/xul/base/src/grid/crashtests/306911-grid-testcases.xul => layout/xul/grid/crashtests/306911-grid-testcases.xul
rename : layout/xul/base/src/grid/crashtests/306911-grid-testcases2.xul => layout/xul/grid/crashtests/306911-grid-testcases2.xul
rename : layout/xul/base/src/grid/crashtests/311710-1.xul => layout/xul/grid/crashtests/311710-1.xul
rename : layout/xul/base/src/grid/crashtests/312784-1.xul => layout/xul/grid/crashtests/312784-1.xul
rename : layout/xul/base/src/grid/crashtests/313173-1-inner.xul => layout/xul/grid/crashtests/313173-1-inner.xul
rename : layout/xul/base/src/grid/crashtests/313173-1.html => layout/xul/grid/crashtests/313173-1.html
rename : layout/xul/base/src/grid/crashtests/321066-1.xul => layout/xul/grid/crashtests/321066-1.xul
rename : layout/xul/base/src/grid/crashtests/321073-1.xul => layout/xul/grid/crashtests/321073-1.xul
rename : layout/xul/base/src/grid/crashtests/382750-1.xul => layout/xul/grid/crashtests/382750-1.xul
rename : layout/xul/base/src/grid/crashtests/400790-1.xul => layout/xul/grid/crashtests/400790-1.xul
rename : layout/xul/base/src/grid/crashtests/423802-crash.xul => layout/xul/grid/crashtests/423802-crash.xul
rename : layout/xul/base/src/grid/crashtests/crashtests.list => layout/xul/grid/crashtests/crashtests.list
rename : layout/xul/base/src/grid/examples/borderedcolumns.xul => layout/xul/grid/examples/borderedcolumns.xul
rename : layout/xul/base/src/grid/examples/borderedrowscolumns.xul => layout/xul/grid/examples/borderedrowscolumns.xul
rename : layout/xul/base/src/grid/examples/borderedrowscolumns2.xul => layout/xul/grid/examples/borderedrowscolumns2.xul
rename : layout/xul/base/src/grid/examples/borderedrowscolumns3.xul => layout/xul/grid/examples/borderedrowscolumns3.xul
rename : layout/xul/base/src/grid/examples/bordermargincolumns1.xul => layout/xul/grid/examples/bordermargincolumns1.xul
rename : layout/xul/base/src/grid/examples/collapsetest.xul => layout/xul/grid/examples/collapsetest.xul
rename : layout/xul/base/src/grid/examples/divcolumngrid.xul => layout/xul/grid/examples/divcolumngrid.xul
rename : layout/xul/base/src/grid/examples/divrowgrid.xul => layout/xul/grid/examples/divrowgrid.xul
rename : layout/xul/base/src/grid/examples/dynamicgrid.xul => layout/xul/grid/examples/dynamicgrid.xul
rename : layout/xul/base/src/grid/examples/flexgroupgrid.xul => layout/xul/grid/examples/flexgroupgrid.xul
rename : layout/xul/base/src/grid/examples/javascriptappend.xul => layout/xul/grid/examples/javascriptappend.xul
rename : layout/xul/base/src/grid/examples/jumpygrid.xul => layout/xul/grid/examples/jumpygrid.xul
rename : layout/xul/base/src/grid/examples/nestedrows.xul => layout/xul/grid/examples/nestedrows.xul
rename : layout/xul/base/src/grid/examples/rowspan.xul => layout/xul/grid/examples/rowspan.xul
rename : layout/xul/base/src/grid/examples/scrollingcolumns.xul => layout/xul/grid/examples/scrollingcolumns.xul
rename : layout/xul/base/src/grid/examples/scrollingrows.xul => layout/xul/grid/examples/scrollingrows.xul
rename : layout/xul/base/src/grid/examples/splitter.xul => layout/xul/grid/examples/splitter.xul
rename : layout/xul/base/src/grid/nsGrid.cpp => layout/xul/grid/nsGrid.cpp
rename : layout/xul/base/src/grid/nsGrid.h => layout/xul/grid/nsGrid.h
rename : layout/xul/base/src/grid/nsGridCell.cpp => layout/xul/grid/nsGridCell.cpp
rename : layout/xul/base/src/grid/nsGridCell.h => layout/xul/grid/nsGridCell.h
rename : layout/xul/base/src/grid/nsGridLayout2.cpp => layout/xul/grid/nsGridLayout2.cpp
rename : layout/xul/base/src/grid/nsGridLayout2.h => layout/xul/grid/nsGridLayout2.h
rename : layout/xul/base/src/grid/nsGridRow.cpp => layout/xul/grid/nsGridRow.cpp
rename : layout/xul/base/src/grid/nsGridRow.h => layout/xul/grid/nsGridRow.h
rename : layout/xul/base/src/grid/nsGridRowGroupFrame.cpp => layout/xul/grid/nsGridRowGroupFrame.cpp
rename : layout/xul/base/src/grid/nsGridRowGroupFrame.h => layout/xul/grid/nsGridRowGroupFrame.h
rename : layout/xul/base/src/grid/nsGridRowGroupLayout.cpp => layout/xul/grid/nsGridRowGroupLayout.cpp
rename : layout/xul/base/src/grid/nsGridRowGroupLayout.h => layout/xul/grid/nsGridRowGroupLayout.h
rename : layout/xul/base/src/grid/nsGridRowLayout.cpp => layout/xul/grid/nsGridRowLayout.cpp
rename : layout/xul/base/src/grid/nsGridRowLayout.h => layout/xul/grid/nsGridRowLayout.h
rename : layout/xul/base/src/grid/nsGridRowLeafFrame.cpp => layout/xul/grid/nsGridRowLeafFrame.cpp
rename : layout/xul/base/src/grid/nsGridRowLeafFrame.h => layout/xul/grid/nsGridRowLeafFrame.h
rename : layout/xul/base/src/grid/nsGridRowLeafLayout.cpp => layout/xul/grid/nsGridRowLeafLayout.cpp
rename : layout/xul/base/src/grid/nsGridRowLeafLayout.h => layout/xul/grid/nsGridRowLeafLayout.h
rename : layout/xul/base/src/grid/nsIGridPart.h => layout/xul/grid/nsIGridPart.h
rename : layout/xul/base/src/grid/reftests/column-sizing-1-ref.xul => layout/xul/grid/reftests/column-sizing-1-ref.xul
rename : layout/xul/base/src/grid/reftests/column-sizing-1.xul => layout/xul/grid/reftests/column-sizing-1.xul
rename : layout/xul/base/src/grid/reftests/not-full-basic-ref.xhtml => layout/xul/grid/reftests/not-full-basic-ref.xhtml
rename : layout/xul/base/src/grid/reftests/not-full-basic.xul => layout/xul/grid/reftests/not-full-basic.xul
rename : layout/xul/base/src/grid/reftests/not-full-grid-pack-align.xul => layout/xul/grid/reftests/not-full-grid-pack-align.xul
rename : layout/xul/base/src/grid/reftests/not-full-row-group-align-ref.xhtml => layout/xul/grid/reftests/not-full-row-group-align-ref.xhtml
rename : layout/xul/base/src/grid/reftests/not-full-row-group-align.xul => layout/xul/grid/reftests/not-full-row-group-align.xul
rename : layout/xul/base/src/grid/reftests/not-full-row-group-direction-ref.xhtml => layout/xul/grid/reftests/not-full-row-group-direction-ref.xhtml
rename : layout/xul/base/src/grid/reftests/not-full-row-group-direction.xul => layout/xul/grid/reftests/not-full-row-group-direction.xul
rename : layout/xul/base/src/grid/reftests/not-full-row-group-pack-ref.xhtml => layout/xul/grid/reftests/not-full-row-group-pack-ref.xhtml
rename : layout/xul/base/src/grid/reftests/not-full-row-group-pack.xul => layout/xul/grid/reftests/not-full-row-group-pack.xul
rename : layout/xul/base/src/grid/reftests/not-full-row-leaf-align.xul => layout/xul/grid/reftests/not-full-row-leaf-align.xul
rename : layout/xul/base/src/grid/reftests/not-full-row-leaf-direction.xul => layout/xul/grid/reftests/not-full-row-leaf-direction.xul
rename : layout/xul/base/src/grid/reftests/not-full-row-leaf-pack-ref.xhtml => layout/xul/grid/reftests/not-full-row-leaf-pack-ref.xhtml
rename : layout/xul/base/src/grid/reftests/not-full-row-leaf-pack.xul => layout/xul/grid/reftests/not-full-row-leaf-pack.xul
rename : layout/xul/base/src/grid/reftests/reftest.list => layout/xul/grid/reftests/reftest.list
rename : layout/xul/base/src/grid/reftests/row-or-column-sizing-1.xul => layout/xul/grid/reftests/row-or-column-sizing-1.xul
rename : layout/xul/base/src/grid/reftests/row-or-column-sizing-2.xul => layout/xul/grid/reftests/row-or-column-sizing-2.xul
rename : layout/xul/base/src/grid/reftests/row-or-column-sizing-3.xul => layout/xul/grid/reftests/row-or-column-sizing-3.xul
rename : layout/xul/base/src/grid/reftests/row-or-column-sizing-4.xul => layout/xul/grid/reftests/row-or-column-sizing-4.xul
rename : layout/xul/base/src/grid/reftests/row-sizing-1-ref.xul => layout/xul/grid/reftests/row-sizing-1-ref.xul
rename : layout/xul/base/src/grid/reftests/row-sizing-1.xul => layout/xul/grid/reftests/row-sizing-1.xul
rename : layout/xul/base/src/grid/reftests/scrollable-columns-ref.xhtml => layout/xul/grid/reftests/scrollable-columns-ref.xhtml
rename : layout/xul/base/src/grid/reftests/scrollable-columns.xul => layout/xul/grid/reftests/scrollable-columns.xul
rename : layout/xul/base/src/grid/reftests/scrollable-rows-ref.xhtml => layout/xul/grid/reftests/scrollable-rows-ref.xhtml
rename : layout/xul/base/src/grid/reftests/scrollable-rows.xul => layout/xul/grid/reftests/scrollable-rows.xul
rename : layout/xul/base/src/grid/reftests/sizing-2d-ref.xul => layout/xul/grid/reftests/sizing-2d-ref.xul
rename : layout/xul/base/src/grid/reftests/sizing-2d.xul => layout/xul/grid/reftests/sizing-2d.xul
rename : layout/xul/base/src/grid/reftests/z-order-1-ref.xul => layout/xul/grid/reftests/z-order-1-ref.xul
rename : layout/xul/base/src/grid/reftests/z-order-1.xul => layout/xul/grid/reftests/z-order-1.xul
rename : layout/xul/base/src/grid/reftests/z-order-2-ref.xul => layout/xul/grid/reftests/z-order-2-ref.xul
rename : layout/xul/base/src/grid/reftests/z-order-2.xul => layout/xul/grid/reftests/z-order-2.xul
rename : layout/xul/base/src/tree/src/Makefile.in => layout/xul/tree/Makefile.in
rename : layout/xul/base/src/tree/src/crashtests/307298-1.xul => layout/xul/tree/crashtests/307298-1.xul
rename : layout/xul/base/src/tree/src/crashtests/309732-1.xul => layout/xul/tree/crashtests/309732-1.xul
rename : layout/xul/base/src/tree/src/crashtests/309732-2.xul => layout/xul/tree/crashtests/309732-2.xul
rename : layout/xul/base/src/tree/src/crashtests/366583-1.xul => layout/xul/tree/crashtests/366583-1.xul
rename : layout/xul/base/src/tree/src/crashtests/380217-1.xul => layout/xul/tree/crashtests/380217-1.xul
rename : layout/xul/base/src/tree/src/crashtests/382444-1-inner.html => layout/xul/tree/crashtests/382444-1-inner.html
rename : layout/xul/base/src/tree/src/crashtests/382444-1.html => layout/xul/tree/crashtests/382444-1.html
rename : layout/xul/base/src/tree/src/crashtests/391178-1.xhtml => layout/xul/tree/crashtests/391178-1.xhtml
rename : layout/xul/base/src/tree/src/crashtests/391178-2.xul => layout/xul/tree/crashtests/391178-2.xul
rename : layout/xul/base/src/tree/src/crashtests/393665-1.xul => layout/xul/tree/crashtests/393665-1.xul
rename : layout/xul/base/src/tree/src/crashtests/399227-1.xul => layout/xul/tree/crashtests/399227-1.xul
rename : layout/xul/base/src/tree/src/crashtests/399227-2.xul => layout/xul/tree/crashtests/399227-2.xul
rename : layout/xul/base/src/tree/src/crashtests/399692-1.xhtml => layout/xul/tree/crashtests/399692-1.xhtml
rename : layout/xul/base/src/tree/src/crashtests/399715-1.xhtml => layout/xul/tree/crashtests/399715-1.xhtml
rename : layout/xul/base/src/tree/src/crashtests/409807-1.xul => layout/xul/tree/crashtests/409807-1.xul
rename : layout/xul/base/src/tree/src/crashtests/414170-1.xul => layout/xul/tree/crashtests/414170-1.xul
rename : layout/xul/base/src/tree/src/crashtests/430394-1.xul => layout/xul/tree/crashtests/430394-1.xul
rename : layout/xul/base/src/tree/src/crashtests/454186-1.xul => layout/xul/tree/crashtests/454186-1.xul
rename : layout/xul/base/src/tree/src/crashtests/479931-1.xhtml => layout/xul/tree/crashtests/479931-1.xhtml
rename : layout/xul/base/src/tree/src/crashtests/509602-1-overlay.xul => layout/xul/tree/crashtests/509602-1-overlay.xul
rename : layout/xul/base/src/tree/src/crashtests/509602-1.xul => layout/xul/tree/crashtests/509602-1.xul
rename : layout/xul/base/src/tree/src/crashtests/601427.html => layout/xul/tree/crashtests/601427.html
rename : layout/xul/base/src/tree/src/crashtests/crashtests.list => layout/xul/tree/crashtests/crashtests.list
rename : layout/xul/base/src/tree/public/nsITreeBoxObject.idl => layout/xul/tree/nsITreeBoxObject.idl
rename : layout/xul/base/src/tree/public/nsITreeColumns.idl => layout/xul/tree/nsITreeColumns.idl
rename : layout/xul/base/src/tree/public/nsITreeContentView.idl => layout/xul/tree/nsITreeContentView.idl
rename : layout/xul/base/src/tree/public/nsITreeSelection.idl => layout/xul/tree/nsITreeSelection.idl
rename : layout/xul/base/src/tree/public/nsITreeView.idl => layout/xul/tree/nsITreeView.idl
rename : layout/xul/base/src/tree/src/nsTreeBodyFrame.cpp => layout/xul/tree/nsTreeBodyFrame.cpp
rename : layout/xul/base/src/tree/src/nsTreeBodyFrame.h => layout/xul/tree/nsTreeBodyFrame.h
rename : layout/xul/base/src/tree/src/nsTreeBoxObject.cpp => layout/xul/tree/nsTreeBoxObject.cpp
rename : layout/xul/base/src/tree/src/nsTreeBoxObject.h => layout/xul/tree/nsTreeBoxObject.h
rename : layout/xul/base/src/tree/src/nsTreeColFrame.cpp => layout/xul/tree/nsTreeColFrame.cpp
rename : layout/xul/base/src/tree/src/nsTreeColFrame.h => layout/xul/tree/nsTreeColFrame.h
rename : layout/xul/base/src/tree/src/nsTreeColumns.cpp => layout/xul/tree/nsTreeColumns.cpp
rename : layout/xul/base/src/tree/src/nsTreeColumns.h => layout/xul/tree/nsTreeColumns.h
rename : layout/xul/base/src/tree/src/nsTreeContentView.cpp => layout/xul/tree/nsTreeContentView.cpp
rename : layout/xul/base/src/tree/src/nsTreeContentView.h => layout/xul/tree/nsTreeContentView.h
rename : layout/xul/base/src/tree/src/nsTreeImageListener.cpp => layout/xul/tree/nsTreeImageListener.cpp
rename : layout/xul/base/src/tree/src/nsTreeImageListener.h => layout/xul/tree/nsTreeImageListener.h
rename : layout/xul/base/src/tree/src/nsTreeSelection.cpp => layout/xul/tree/nsTreeSelection.cpp
rename : layout/xul/base/src/tree/src/nsTreeSelection.h => layout/xul/tree/nsTreeSelection.h
rename : layout/xul/base/src/tree/src/nsTreeStyleCache.cpp => layout/xul/tree/nsTreeStyleCache.cpp
rename : layout/xul/base/src/tree/src/nsTreeStyleCache.h => layout/xul/tree/nsTreeStyleCache.h
rename : layout/xul/base/src/tree/src/nsTreeUtils.cpp => layout/xul/tree/nsTreeUtils.cpp
rename : layout/xul/base/src/tree/src/nsTreeUtils.h => layout/xul/tree/nsTreeUtils.h
2013-02-04 07:11:49 -05:00
Mounir Lamouri
09f255c165
Bug 833009 - Remove "nsContentUtils.h" inclusions from headers in content/events/. r=smaug
2013-01-23 19:39:34 +00:00
Jeff Walden
37fe466d6f
Bug 835648 - Move typed enum support to a new header. r=Ms2ger
2013-01-28 16:33:17 -08:00
Ryan VanderMeulen
7e8ed87ae1
Backed out changeset 3eb633a97c1f (bug 835648) for suspected Windows orange on a CLOSED TREE.
2013-01-29 19:01:45 -05:00
Jeff Walden
dd0f69c43a
Bug 835648 - Move typed enum support to a new header. r=Ms2ger
...
--HG--
extra : rebase_source : 8c912fba889c1c5435e3619714071502fbfb30a3
2013-01-28 16:33:17 -08:00
Boris Zbarsky
42d12beb79
Bug 829252 part 4. Turn on the EventTarget quickstubs. r=peterv
2013-01-29 08:44:01 -05:00
Boris Zbarsky
f9bc81a8be
Bug 829252 part 2. Make nsGlobalWindow inherit from dom::EventTarget and ensure that all the things that inherit from it correctly QI to it. r=peterv
2013-01-29 08:44:01 -05:00
Edwin Casasola
2f218c35f1
Bug 835171 - get rid of remaining traces of nsPIDOMEventTarget; r=smaug
2013-01-29 11:46:07 +01:00
Olli Pettay
9b226d39e6
Bug 834417, don't even try to open context menu without widget, r=jst
2013-01-24 23:19:15 +02:00
Mounir Lamouri
4c2b124e68
Bug 819871 - Make ":-moz-placeholder" parsable but without any effect on styling. r=dbaron,bz
2013-01-24 09:30:28 +00:00
Bobby Holley
57f16307f1
Bug 832041 - Actually push code for the followup. r=doh
2013-01-23 07:18:51 +01:00
Bobby Holley
5de758ce91
Bug 832041 - Remove nsJSContext::CompileEventHandler and move consumers to nsJSUtils::CompileFunction. r=bz
2013-01-23 07:12:50 +01:00
Steve Fink
d3f194fbfb
Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
2012-12-31 12:40:21 -08:00
Steve Fink
cb8aecdd2a
Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!)
2013-01-18 13:20:21 -08:00
Steve Fink
fa3e8f224b
Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
...
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Trevor Saunders
b98e34aed0
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Mats Palmgren
d5826be6d7
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Trevor Saunders
4accd460fa
bug 829288 - remove extra ';'s in content/ r=ehsan
2013-01-10 02:32:03 -05:00
Mounir Lamouri
af0ede0616
Bug 777283 - Adds <input type='time'> behind "dom.experimental_forms" pref. r=smaug
2013-01-08 17:10:00 +00:00
William Chen
481bdc8fcd
Bug 826606 - Set uninitialized values for DeviceProximityEvent according to spec. r=dougt,smaug,khuey
2013-01-08 09:36:05 -08:00
Robert O'Callahan
a9f8b202ea
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Masayuki Nakano
604a7736e5
Bug 819252 WheelEvent along x-axis with a modifier key on Mac shouldn't cause zoom action for not preventing following horizontal swip event which will cause going back/forward in the history r=smaug+smichaud
2013-01-05 21:14:27 +09:00
Phil Ringnalda
9297efcdad
Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
...
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
9abe8bbe09
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
...
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
William Chen
8f2a3385ae
Bug 617532 - Implement UndoManager. r=ehsan
2013-01-03 22:54:26 -08:00
Trevor Saunders
efffc97c2d
bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug
2012-12-28 20:56:42 -05:00
Ryan VanderMeulen
220fb8bf57
Merge m-c to inbound.
2013-01-03 17:01:32 -05:00
Olli Pettay
44eadd5185
Bug 816340 - Propagate events to chrome even if there is a disabled form control in the event target chain, r=jst,gavin
2013-01-03 17:17:36 +02:00
Robert O'Callahan
106f5d95d1
Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
...
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.
--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Masatoshi Kimura
ecc812a3c0
Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted
2013-01-03 00:56:38 +09:00
Raphael Catolino
5c4e542449
Bug 769385 - Add type attribute date for <input> behind "dom.experimental_forms" pref. r=mounir
2012-12-27 16:06:53 +00:00
Peter Van der Beken
23f8debd95
Fix for bug 824007 (Convert HTMLBodyElement, HTMLDataListElement, HTMLFontElement, HTMLFrameSetElement and HTMLLabelElement to new DOM bindings) - move some HTML element classes to mozilla::dom. r=bz.
...
--HG--
rename : content/html/content/src/nsHTMLBodyElement.cpp => content/html/content/src/HTMLBodyElement.cpp
rename : content/html/content/src/nsHTMLDataListElement.cpp => content/html/content/src/HTMLDataListElement.cpp
rename : content/html/content/src/nsHTMLDivElement.cpp => content/html/content/src/HTMLDivElement.cpp
rename : content/html/content/src/nsHTMLDivElement.h => content/html/content/src/HTMLDivElement.h
rename : content/html/content/src/nsHTMLElement.cpp => content/html/content/src/HTMLElement.cpp
rename : content/html/content/src/nsHTMLFontElement.cpp => content/html/content/src/HTMLFontElement.cpp
rename : content/html/content/src/nsHTMLFrameSetElement.cpp => content/html/content/src/HTMLFrameSetElement.cpp
rename : content/html/content/src/nsHTMLFrameSetElement.h => content/html/content/src/HTMLFrameSetElement.h
rename : content/html/content/src/nsHTMLLabelElement.cpp => content/html/content/src/HTMLLabelElement.cpp
rename : content/html/content/src/nsHTMLLabelElement.h => content/html/content/src/HTMLLabelElement.h
rename : content/html/content/src/nsHTMLUnknownElement.cpp => content/html/content/src/HTMLUnknownElement.cpp
rename : content/html/content/src/nsHTMLUnknownElement.h => content/html/content/src/HTMLUnknownElement.h
extra : rebase_source : 99a2b1764bfd34db1375939b967f816dc2a42a91
2012-12-21 15:06:50 +01:00
Ms2ger
cd4872fcf7
Merge m-c to inbound.
2012-12-22 14:42:37 +01:00
Ms2ger
519fc6202b
Merge PGO-green changeset from inbound to m-c.
2012-12-22 12:06:37 +01:00
Ms2ger
3eb0a0a781
Bug 823107 - Make nsIDOMEvent::SetTrusted return void; r=smaug
2012-12-22 09:18:08 +01:00
Ms2ger
b12f9b6da2
Bug 796902 - Part c: Implement Paris bindings for PaintRequest; r=bent
2012-12-22 09:16:55 +01:00
Ms2ger
af323be25f
Bug 796902 - Part b: Make nsPaintRequest implement nsWrapperCache; r=bent
2012-12-22 09:04:33 +01:00
Ms2ger
3862ecaae3
Bug 796902 - Part a: Make nsPaintRequestList hold a list of nsPaintRequests instead of nsIDOMPaintRequests; r=bent
2012-12-22 09:04:33 +01:00
Boris Zbarsky
c4e0d0fac2
Bug 804631. Add the WebIDL API for Document. r=peterv
...
I'm not entirely happy with the XPath bits. If we had an
nsXPathEvaluator member, or if the WebIDL API were on
nsIDOMXPathEvaluator or something, all that stuff would need a lot
less code...
2012-12-22 00:27:27 -08:00
Gavin Sharp
5f75f8883d
Back out bug 783129 / b0788a95a2bd (merged with e01ca7212c8a) due to test failures
2012-12-21 18:50:00 -05:00
William Chen
52de923193
Bug 783129 - Implementation of document.register without shadow DOM support. r=mrbkap, bent
2012-11-01 11:18:08 -07:00
Masayuki Nakano
ca0e8000e0
Bug 813445 part.14 Make dom::EventListenerFlags for nsEventListenerManager r=smaug
2012-12-16 10:26:05 +09:00
Masayuki Nakano
dd49ebfc33
Bug 813445 part.13 nsEventDispatcher shouldn't use the flags defined in nsGUIEvent.h r=smaug
2012-12-16 10:26:05 +09:00
Masayuki Nakano
ebad00b4b8
Bug 813445 part.12 Remove NS_EVENT_FLAG_ONLY_CHROME_DISPATCH and nsEvent::flags r=smaug
2012-12-16 10:26:05 +09:00
Masayuki Nakano
3ea9434de3
Bug 813445 part.11 Don't use NS_EVENT_FLAG_NO_CONTENT_DISPATCH for nsEvent::flags r=smaug
2012-12-16 10:26:05 +09:00
Masayuki Nakano
944e110e9a
Bug 813445 part.10 Remove NS_EVENT_FLAG_DONT_FORWARD_CROSS_PROCESS and NS_EVENT_RETARGET_TO_NON_NATIVE_ANONYMOUS r=smaug
2012-12-16 10:26:05 +09:00
Masayuki Nakano
0c3d212d7e
Bug 813445 part.9 Remove NS_EVENT_FLAG_EXCEPTION_THROWN r=smaug
2012-12-16 10:26:04 +09:00
Masayuki Nakano
1a929c80bd
Bug 813445 part.8 Remove NS_EVENT_FLAG_SYNTHETIC_TEST_EVENT r=smaug
2012-12-16 10:26:04 +09:00
Masayuki Nakano
989db96704
Bug 813445 part.7 Remove NS_EVENT_DISPATCHED and NS_EVENT_FLAG_DISPATCHING r=smaug
2012-12-16 10:26:04 +09:00
Masayuki Nakano
c42d85d96f
Bug 813445 part.5 Remove NS_EVENT_FLAG_NO_DEFAULT and NS_EVENT_FLAG_NO_DEFAULT_CALLED_IN_CONTENT r=smaug
2012-12-16 10:26:04 +09:00
Masayuki Nakano
ce9ff392ec
Bug 813445 part.4 Remove NS_EVENT_FLAG_STOP_DISPATCH and NS_EVENT_FLAG_STOP_DISPATCH_IMMEDIATELY r=smaug
2012-12-16 10:26:03 +09:00
Masayuki Nakano
2c9891bdd2
Bug 813445 part.3 Remove NS_EVENT_FLAG_CANT_CANCEL and NS_EVENT_FLAG_CANT_BUBBLE r=smaug
2012-12-16 10:26:03 +09:00
Masayuki Nakano
06dbf6211e
Bug 813445 part.2 Don't use NS_EVENT_FLAG_BUBBLE and NS_EVENT_FLAG_CAPTURE for nsEvent::flags r=smaug
2012-12-16 10:26:03 +09:00
Masayuki Nakano
c8090c380d
Bug 813445 part.1 Make widget::EventFlags and remove NS_EVENT_FLAG_TRUSTED r=roc+smaug, feedback=emk
2012-12-16 10:26:03 +09:00
Ms2ger
4365c3013c
No bug - Fix typo in comment. DONTBUILD.
2012-12-15 14:10:46 +01:00
Masatoshi Kimura
2a245d47d2
Bug 804834 - Part 1: Fix tests depending on E4X for-each in content JS. r=waldo
2012-12-21 20:47:52 +09:00
Boris Zbarsky
149792ef6f
Bug 820902. nsAttrValue::Equals should do ASCII-case-insensitive compares when it's doing case-insensitive compares. r=sicking
2012-12-13 17:08:44 -05:00
Mats Palmgren
36b4a1c798
Bug 819766 - Fix operator< ambiguity. r=smaug
2012-12-09 19:28:49 +01:00
Masatoshi Kimura
77b5416a40
Bug 786120 - Implement mousewheel.*.action.override_x. r=smaug
2012-12-08 13:08:19 +09:00
Boris Zbarsky
0cd18878d3
Bug 818263. Make the EventTarget binding work for nodes. r=smaug,peterv
2012-12-06 20:39:51 -05:00
Jim Chen
da26d999c9
Bug 811755 - Send notification when BR nodes become content/non-content; r=masayuki
2012-12-05 11:09:56 -05:00
Jim Chen
b8ca035527
Bug 811755 - Use PreContentIterator to correctly handle boundary cases; r=masayuki
2012-12-05 11:09:55 -05:00
Mats Palmgren
e6ad33709d
Bug 817574 - Replace NS_ABS with std::abs. r=roc
2012-12-04 13:33:33 +01:00
Ms2ger
4d91a58198
Bug 810669 - Cleanup GetDocumentForReport in nsDOMEvent.cpp a bit; r=smaug
2012-12-02 09:59:29 +01:00
Olli Pettay
da3acadcd7
Bug 816480 - crash in nsEventListenerManager::RemoveEventListener, r=jst
2012-11-30 11:13:16 +02:00
Boris Zbarsky
d733e24e09
Bug 815671 part 2. Make some content code use array references instead of array objects with implicit copies. r=smaug
2012-11-29 11:14:13 -05:00
Olli Pettay
f62ac2c85e
Bug 811206, Fix JSHolder drop handling, part 3 (fixes), r=mccr8,khuey
...
--HG--
extra : rebase_source : 7b2726d2aa7f5764a3c4cb750e5a735728069687
2012-11-28 03:37:57 +02:00
Andrew McCreight
8c7f8d54c8
Bug 814738 - Modernize Traverse for nsTObserverArray. r=smaug
2012-11-23 11:13:39 -08:00
Tim Taubert
c11afbf4ac
Bug 813277 - Unable to long-tap hold on the home-screen to invoke the wallpaper menu r=smaug
2012-11-26 19:13:53 +01:00
Benoit Jacob
97c1c2f31c
Bug 814444 - Remove now-useless TRAVERSE_NATIVE_BEGIN and UNLINK_BEGIN_NATIVE macros - r=mccr8
2012-11-22 12:15:38 -05:00
Boris Zbarsky
cb47226364
Bug 812744 part 2. Use the document scope object, not the script global, to find the JSObject to use as a scope when creating event handlers. r=smaug
...
Anoother option would be to just explicitly wrap the node and use that, for what it's worth. That wouldn't give us an nsIScriptContext, though.
2012-11-21 11:19:03 -05:00
Ryan VanderMeulen
4b287535f2
Backed out changesets 1a8b11ae0f4b, e02a02fd1208 (bug 776443), 86a3edf2960d (bug 812392), 26c59f23fd8f, and 288c74d7f87d (bug 812744) for mochitest orange.
...
CLOSED TREE
2012-11-21 12:47:40 -05:00
Boris Zbarsky
a083c10a47
Bug 812744 part 2. Use the document scope object, not the script global, to find the JSObject to use as a scope when creating event handlers. r=smaug
...
Anoother option would be to just explicitly wrap the node and use that, for what it's worth. That wouldn't give us an nsIScriptContext, though.
2012-11-21 11:19:03 -05:00
Alexander Surkov
45a8eba52d
Bug 813008 - get rid nsEventStateManager::IsHandlingUserInputExternal, r=tbsaunde, smaug
2012-11-21 14:25:20 +09:00
Masayuki Nakano
61c782cf5e
Bug 812427 part.3 Remove NS_POPUP_EVENT r=roc+smaug
2012-11-20 15:05:56 +09:00
Masayuki Nakano
bc39d12867
Bug 812427 part.2 Make event struct type named enumeration r=roc+smaug
2012-11-20 15:05:56 +09:00
Zack Weinberg
c38d90c9e6
Bug 663291: Improve the SpecialPowers and SimpleTest APIs to make it easier to write mochitests that look at error console output. Update all tests that were using ad-hoc console inspection or the old SimpleTest console handler API. r=ted
2012-11-16 21:53:32 -05:00
Ryan VanderMeulen
2621afbb4e
Backed out changesets b242651c3c1b (bug 229827), b36eaac9ecf8, and 40f38a8aa660 (bug 663291) for mochitest-3/4 failures.
...
CLOSED TREE
2012-11-16 16:59:38 -05:00
Zack Weinberg
8d246d6c65
Bug 663291: Improve the SpecialPowers and SimpleTest APIs to make it easier to write mochitests that look at error console output. Update all tests that were using ad-hoc console inspection or the old SimpleTest console handler API. r=ted
...
--HG--
extra : rebase_source : 013c6031577f88a764fecee9750ee890b45d1181
2012-11-16 15:29:21 -05:00
Jim Chen
dcfc90091c
Bug 808287 - Make sure focus and blur IME notifications always match; r=masayuki
2012-11-16 11:43:04 -05:00
Ed Morley
28ef3f27d7
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-11-15 16:17:36 +00:00
Olli Pettay
bd393f0158
Bug 656311 - Remove XML Events, r=bz
2012-11-15 14:29:58 +02:00
Ryan VanderMeulen
1efc9eec06
Merge the last PGO-green inbound changeset to m-c.
2012-11-14 21:43:07 -05:00
Olli Pettay
c0bc70ee84
Bug 800947, check the existence of widget only when the event is actually nsGUIEvent, r=bz
2012-11-14 19:45:04 +02:00
Boris Zbarsky
b8c79fd938
Bug 809765. Match the HTML spec in terms of which event handler attributes are compiled on which elements. r=smaug
2012-11-14 10:05:41 -08:00
Bobby Holley
a75f5ca4d9
Bug 800915 - Remove the cx parameter and simplify various APIs. r=sfink,bz
...
If callers want to throw, it's now their responsibility.
2012-11-14 09:56:26 -08:00
Benoit Jacob
5a8b82a1cb
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Benoit Jacob
f4c1a03e74
Bug 806279 - CC macros refactoring: part 3: fold the TRAVERSE_NATIVE and AMBIGUOUS cases - r=mccr8,smaug
2012-11-15 02:32:39 -05:00
Masayuki Nakano
0204baf1a2
Bug 808287 nsTextStateManager shouldn't notify widget of selection changes and text changes after IME loses focus r=smaug
2012-11-13 10:20:40 +09:00
Ehsan Akhgari
22b28dbc2f
Merge mozilla-central into mozilla-inbound
2012-11-14 17:51:31 -08:00
Masayuki Nakano
c2ec08b400
Bug 805767 part.1 nsTextStateManager should use nsIWidget::GetIMEUpdatePreference() instead of the result of nsIWidget::OnIMEFocusChange() r=smaug
2012-11-13 22:04:44 +09:00
Justin Lebar
e80ccc6058
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-10 10:32:37 -08:00
Ryan VanderMeulen
a9dc8e795f
Backed out 12 changesets (bug 806127, bug 802366, bug 806168) for Windows build bustage.
...
--HG--
rename : dom/indexedDB/test/webapp_clearBrowserData.js => dom/indexedDB/test/test_webapp_clearBrowserData.html
2012-11-09 20:14:40 -05:00
Justin Lebar
37f4a955e5
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
2012-11-09 16:37:39 -08:00
Boris Zbarsky
76d46dee13
Bug 807226 part 8. Remove the exceptions for EventHandler in WebIDL codegen. r=smaug
2012-11-09 08:00:25 -08:00
Boris Zbarsky
8ed18e571c
Bug 807226 part 7. Move creation of our event handlers out to the relevant API methods. r=smaug
...
Note that once we switch all these guys to WebIDL bindings they'll
automatically get the callback objects passed in from binding code.
2012-11-09 08:00:25 -08:00
Boris Zbarsky
17eaeeba36
Bug 807226 part 6. Centralize our IMPL_EVENT_HANDLER macro definitions in nsDOMEventTargetHelper. r=smaug
2012-11-09 08:00:25 -08:00
Boris Zbarsky
12621beaa4
Bug 807226 part 5. Allow event handlers to have a null scope object if they don't have to compile from a string. r=smaug
2012-11-09 08:00:25 -08:00
Boris Zbarsky
abbd551bfe
Bug 807226 part 4. Allow event handlers to have a null nsIScriptContext if they won't have to compile from a string. r=smaug
2012-11-09 08:00:25 -08:00
Boris Zbarsky
6ac6b2b6fd
Bug 807226 part 2. Change event handlers to store WebIDL callback functions. r=smaug
2012-11-09 08:00:25 -08:00
Boris Zbarsky
919e69b93a
Bug 807226 part 1. Make it easier to do special things with beforeunload and error events as needed. r=smaug
2012-11-09 08:00:24 -08:00
Boris Zbarsky
ffdef1ff6b
Bug 779048 part 0.5. Don't require a JSContext argument for nsJSUtils::GetStaticScriptGlobal. r=bholley
2012-11-09 07:43:57 -08:00
Mounir Lamouri
e021a7f583
Bug 737786 - 2/5 - Use a pseudo-element instead of a pseudo-class for placeholder styling. r=bz
2012-11-09 10:24:23 +00:00
Masayuki Nakano
a33c1f5ebe
Bug 806996 part.6 Test if nsIWidget::OnIMEFocusChange() is called by nsTextStateManager properly r=smaug
2012-11-09 17:40:40 +09:00
Masayuki Nakano
a05c554ff9
Bug 806996 part.4 Make sure to recreate nsTextStateManager instance in OnFocusInEditor() and UpdateIMEState() if the focused editor isn't being managed r=smaug
2012-11-09 17:40:39 +09:00
Masayuki Nakano
a14ce85e28
Bug 806996 part.3 Make sure to call nsIWidget::OnIMEFocusChange(false) at destroying nsTextStateManager instance only once per calling nsIWidget::OnIMEFocusChange(true) r=smaug
2012-11-09 17:40:39 +09:00
Masayuki Nakano
9691011b6a
Bug 806996 part.2 nsTextStateManager::IsManaging() should check if mRootContent is still in the mEditableNode r=smaug
2012-11-09 17:40:39 +09:00
Masayuki Nakano
6f952a8e02
Bug 806996 part.1 Remove nsTextStateManager::mDestroying r=smaug
2012-11-09 17:40:39 +09:00
Ehsan Akhgari
070bacd10a
Bug 579517 follow-up: Remove NSPR types that crept in
2012-11-07 20:34:50 -05:00
Mounir Lamouri
ee75905110
Bug 795715 - Remove B2G-specific stuff from nsIDOMWindow. r=khuey,fabrice sr=smaug
2012-11-07 18:10:40 +00:00
Olli Pettay
a201d0a2c6
Bug 805749, validate the view parameter of initUIEvent, r=jst
2012-11-05 10:59:12 +02:00
Olli Pettay
d0a8a75542
Bug 779306 - Wildcard for 'all events', nsIEventListenerService.addListenerForAllEvents(target, listener), r=jst
2012-11-01 13:42:29 +01:00
Justin Lebar
c001680f59
Backed out changeset a6a847452dbf (bug 802366)
2012-10-30 21:36:29 -04:00
Masayuki Nakano
4b818b7598
Bug 801101 Allow to scoll over one page scroll with mouse wheel if delta mulitipliers are large enough r=smaug
2012-10-31 08:22:23 +09:00
Masayuki Nakano
e33e735f92
Bug 805357 part.2 Get rid of NS_SUCCESS_IME_NO_UPDATES since OnIMEFocusChange(false) is always called r=roc
2012-10-31 08:22:23 +09:00
Masayuki Nakano
683e1373fd
Bug 805357 part.1 nsIMEStateManager should always call nsIWidget::OnIMEFocusChange(false) when our editor loses focus r=smaug
2012-10-31 08:22:22 +09:00
Justin Lebar
df1f088009
Bug 802366 - The main event: Let a browser process inherit its app's id. r=bz,cjones DONTBUILD
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
(Re-landing changeset a6a847452dbf, backed out in 5091aa6083c4, because it was originally landed with the incorrect bug number.)
2012-10-30 16:13:21 -04:00
Justin Lebar
b6d3d98908
Backed out changeset a6a847452dbf due to incorrect bug number (should be bug 802366, but was bug 802367). DONTBUILD
2012-10-30 16:13:20 -04:00
Justin Lebar
5dde530864
Bug 802367 - The main event: Let a browser process inherit its app's id. r=bz,cjones
...
The main bug fixed here is that in half of our interfaces, we use "is browser frame/element" to mean "browser or app", and in the other half, we use it to mean "is browser not app".
There's a related, functional bug also fixed here, which is that a browser process doesn't inherit its parent's app-id. This causes problems e.g. for IndexedDB: If a browser inside an app uses IndexedDB, the DB should have the app's app-id.
I also modified Tab{Parent,Child} and nsFrameLoader to call "app" "ownOrContainingApp", to emphasize that we might have inherited the app from a parent process. I left nsIDocShell::appId alone, because changing that would have necessitated changing nsILoadGroup and therefore a /lot/ of users in Necko; it's also not clear it would have clarified anything in those cases.
--HG--
extra : rebase_source : f3ef9475e21204da10bf39c6cca506bc08096949
2012-10-30 15:55:05 -04:00
Jacek Szpot
bea8356b2c
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Mats Palmgren
eb7787f597
Bug 804486 - Tweak a few scrolling tests that makes the assumption that a horizontal "line" scroll scrolls the same amount of pixels as a vertical line scroll. r=roc
2012-10-29 06:44:31 +01:00
Mats Palmgren
8ad31a0bc8
Bug 804486 - Add toolkit.scrollbox.horizontalScrollDistance pref, default 5. Change horizontal scroll increment from 10px to horizontalScrollDistance * GetLineScrollAmount().width(). Make GetLineScrollAmount() use the font's AveCharWidth() for the horizontal amount rather than MaxHeight(). r=roc
2012-10-29 06:44:31 +01:00
Robert O'Callahan
1032a0f124
Bug 805730. Convert HasListenerFor(nsAString) callers to HasListenerFor(nsIAtom*), which is more efficient. r=smaug
...
--HG--
extra : rebase_source : fb0e607b8a1edcbced75b96e0aefcc626a4f436b
2012-10-29 17:33:51 +13:00