Masayuki Nakano
67d873fc28
Bug 786898 part.1 Set overflowDelta 0 if the delta is unused by overflow-x: hidden; or overflow-y: hidden; but an ancestor is scrollable along the axis r=smaug
2012-09-04 17:39:28 +09:00
Aryeh Gregor
ebc398d9b8
Bug 782594 - NS_ERROR_INVALID_ARG is not an accesskey; r=bz
2012-08-14 12:10:42 +03:00
Randell Jesup
eedf93a21d
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Masayuki Nakano
7664e6a01a
Bug 674477 Don't scroll around axis whose overflow is hidden by wheel events r=smaug
2012-08-30 10:05:16 +09:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Masayuki Nakano
3a537dd0d1
Bug 422132 part.1 Store unused fractional scroll amount for later wheel events r=smaug
2012-08-20 01:46:21 +09:00
Ed Morley
70e369a460
Backout 41722f2e0c33 (bug 422132), 69da5f098237 (bug 782903), 5c601428c70b (bug 422132) for bug 782903
2012-08-18 23:29:13 +01:00
Masayuki Nakano
843864393f
Bug 422132 part.2 Reset DeltaAccumulator::mPendingScrollAmountX and DeltaAccumulator::mPendingScrollAmountY if the direction is changed r=smaug
2012-08-17 10:32:15 +09:00
Masayuki Nakano
ac015d98bb
Bug 782175 Support slower scroll settings with mousewheel.*.delta_multiplier_* r=smaug
2012-08-17 10:32:15 +09:00
Masayuki Nakano
74f755bd54
Bug 782552 Set overflow delta values even if there is no scroll target for the wheel event r=smaug
2012-08-15 09:52:07 +09:00
Masayuki Nakano
a2e9895dca
Bug 422132 Store unused fractional scroll amount for later wheel events r=smaug
2012-08-15 09:52:07 +09:00
Masayuki Nakano
b88a7758de
Bug 659071 DoScrollZoom() should check if the event target is under XUL document rather than checking if it's XUL element r=smaug
2012-08-13 23:20:13 +09:00
Masayuki Nakano
933a9ad01b
Bug 782181 Remove unused method nsMouseWheelTransaction::IsAccelerationEnabled() r=smaug
2012-08-13 21:11:20 +09:00
Masayuki Nakano
539ddd3a14
Bug 719320 fix bustage r=no
2012-08-12 12:32:30 +09:00
Masayuki Nakano
dc168c0fe1
Bug 719320 part.18 Clean up legacy mouse scroll event r=smaug
2012-08-12 10:42:37 +09:00
Masayuki Nakano
d3e3af5edb
Bug 719320 part.8-11 Cancel applying delta multipliers from overflowDelta r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
53c900db7e
Bug 719320 part.8-9 Handle WheelEvent.deltaZ in ESM r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
737ff36abf
Bug 719320 part.8-8 widget should be able to speicify the scroll type r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
3cdce54608
Bug 719320 part.8-7 Implement the other default actions of WheelEvent r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
aa2205d526
Bug 719320 part.8-6 Init lineOrPageDeltaX and lineOrPageDeltaY from accumulated delta values if the wheel event is caused by pixel scroll only device or the delta values have been modified with prefs r=smaug
2012-08-12 10:42:36 +09:00
Masayuki Nakano
5ef8537b0b
Bug 719320 part.8-5 Dispatch legacy mouse scroll events before dispatching wheel event into system group if the wheel event isn't consumed r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
cee821b532
Bug 719320 part.8-4 Implement D3E WheelEvent handler for scroll r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
e828866df7
Bug 719320 part.8-3 Redesign nsMouseWheelTransaction for D3E WheelEvent r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
1bc02406f9
Bug 719320 part.8-2 GetScrollAmount() should return both width and height for oblique wheel event r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
92d1e07e69
Bug 719320 part.8-1 Drop legacy mouse scroll events from IPC r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
a2e667b6b9
Bug 719320 part.7 Drop NS_QUERY_SCROLL_TARGET_INFO handler from ESM r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
a418ba8a35
Bug 719320 part.6 Separate pixel delta value accumulation code r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
1818fe2fb2
Bug 719320 part.5 Redesign mouse wheel action prefs r=smaug
2012-08-12 10:42:35 +09:00
Masayuki Nakano
d26b327f14
Bug 719320 part.4 Remove mousewheel.*.*numlines and add mousewheel.*.delta_multiplier_* r=smaug
2012-08-12 10:42:34 +09:00
Masayuki Nakano
785b73e21d
Bug 719320 part.3 Use ComputeScrollTarget() for deciding detail value of legacy mouse scroll events r=smaug
2012-08-12 10:42:34 +09:00
Masayuki Nakano
06c7f1baf6
Bug 719320 part.2 Separate code for deciding scroll target from nsEventStateManager::DoScrollText() r=smaug
2012-08-12 10:42:34 +09:00
Masayuki Nakano
c748a0f833
Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst
2012-08-12 10:42:34 +09:00
David Zbarsky
0039e134c7
Bug 779684: Create a stack-based nsFrameIterator class out of nsIFrameTraversal and nsIFrameEnumerator r=roc
...
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
2012-08-05 23:00:55 -04:00
Ms2ger
5671da5b26
Bug 780165 - Part c: Use nsPIDOMWindow::GetDoc() in drag&drop; r=smaug
2012-08-04 09:44:01 +02:00
Ed Morley
bba173e66e
Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE
2012-08-04 18:05:15 +01:00
Ms2ger
23cddca634
Bug 780165 - Part c: Use nsPIDOMWindow::GetDoc() in drag&drop; r=smaug
2012-08-04 09:44:01 +02:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Mark Capella
fd9b625002
Bug 775041 - Make nsIWidget::IsEnabled return bool, r=roc, f=ms2ger
2012-07-23 01:19:08 -04:00
Felipe Gomes
c521e7d51e
Bug 775403: When touch events are being consumed by a remote frame, continue to dispatch synthesized mouse events *only* in the parent process, for the focus manager. r=cjones
2012-07-19 12:40:24 -07:00
Masayuki Nakano
7a210f7746
Bug 751749 part.2 Support Win key for a modifier of shortcut key and access key r=smaug, enn
2012-07-19 10:28:16 +09:00
Chris Jones
3608c39652
Bug 774989: Transform touch-event coordinates for remote content. r=smaug
2012-07-18 12:43:06 -07:00
Chris Jones
5a130fe7a4
Bug 774139: Forward touch events across processes. r=felipe,smaug
2012-07-15 19:58:43 -07:00
Chris Jones
cdf626c2e3
Back out bug 774139. r=bustage
2012-07-16 15:19:00 -07:00
Chris Jones
9104e5edc3
Bug 774139: Forward touch events across processes. r=felipe,smaug
2012-07-16 14:46:29 -07:00
Mounir Lamouri
c70ab8fd5b
Bug 635498 - Make <input type='number'> behaves like <input type='text'>. r=sicking
...
--HG--
extra : rebase_source : 0754f845fd6223cd48ca8908ebf642636f0fd9ed
2012-06-10 22:23:17 +02:00
Ehsan Akhgari
45fe6d3ae2
Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
...
This patch does the following:
* It adds nsITransferable::Init(nsILoadContext*). The load context
might be null, which means that the transferable is non-private, but
if it's non-null, we extract the boolean value for the privacy mode
and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
represent the document that the string is coming from.
nsIClipboardHelper implementation internally gets the nsILoadContext
from that and passes it on to the transferable upon creation. The
reason that I did this was that nsIClipboardHelper is supposed to be a
high-level helper, and in most of its call sites, we have easy access
to a document object.
* It modifies all of the call sites of the above interfaces according to
this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
the call sites.
2012-04-16 22:14:01 -04:00
Olli Pettay
02c84233ab
Bug 763899 - mouseenter events should fire the opposite order of mouseleave, r=masayuki
...
--HG--
extra : rebase_source : 1c306177f0496c84d32bde9015d1d90c22ddfbaa
2012-06-23 15:41:47 +03:00
Chris Jones
d40f38e211
Bug 761927: Fix focus for <iframe mozbrowser remote>. r=jlebar,Enn
2012-06-22 18:27:30 -07:00
Chris Pearce
9507cb7bae
Bug 756936 - Minor tidy ups to pointer lock code. r=smaug
2012-06-21 11:38:11 +12:00
Chris Pearce
1c1d4215cc
Bug 756936 - Ensure MouseEvent.mozMovement{X,Y} values are correct on secondary monitors. r=smaug
2012-06-21 11:38:03 +12:00
Ehsan Akhgari
7a041e9a4b
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (content parts); r=bzbarsky
...
--HG--
extra : rebase_source : e25a064995914ca4f7b1db16b5725eb440d3e531
2012-06-18 22:30:09 -04:00
Ryan VanderMeulen
891e38e528
Revert c39d36167b99 due to a horribly munged backout.
2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
f497d31a0a
Backout the bug 754202 backout due to orange.
2012-06-10 19:37:47 -04:00
Olli Pettay
ac6b89bfdb
Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst
2012-06-10 21:14:30 +03:00
Robert O'Callahan
fc2e9d6bd1
Bug 761572. Allow click and dblclick events to be sent to an element even if it's made display:none during the mouseup event. r=smaug
2012-06-07 22:06:39 +12:00
Ed Morley
c5acb642c1
Merge mozilla-central to mozilla-inbound
2012-05-21 13:19:38 +01:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
L. David Baron
54995e2a8e
Remove width determination parameters from font inflation methods. (Bug 747720, patch 5) r=roc
...
These are no longer needed since we're getting the width from the
nsFontInflationData.
2012-05-20 22:18:28 -07:00
Chris Pearce
ca095b3f7b
Bug 708553 - Reset nsEventStateManager's hover state when we detach from nsPresContext. r=bz
2012-05-18 15:11:27 +12:00
Neil Deakin
1c5d070367
Bug 730694, null check window when determining data to drag, otherwise a crash can occur if the page goes away while a select is open, r=smaug
2012-05-16 19:55:09 -04:00
Justin Lebar
65c17e54b5
Bug 714861 - Run <iframe mozbrowser> in a separate process (disabled by default). r=cjones,bz,tn,smaug
2012-04-25 12:35:58 -04:00
Ed Morley
d1a31dbe40
Backout 949cb1977ef9 (bug 714861) for build bustage
2012-04-25 16:51:31 +01:00
Justin Lebar
36622cc8e3
Bug 714861 - Run <iframe mozbrowser> in a separate process (disabled by default). r=cjones,bz,tn,smaug
2012-04-25 11:29:28 -04:00
Masayuki Nakano
ba56663cd3
Bug 630811 part.2 Replace nsInputEvent::isShift, nsInputEvent::isControl, nsInputEvent::isAlt and nsInputEvent::isMeta r=smaug
2012-04-25 12:00:02 +09:00
Masayuki Nakano
a3a57bb16c
Bug 731878 part.2 Implement D3E MouseEvent.buttons attribute r=smaug, sr=jst
2012-04-25 12:00:01 +09:00
Masayuki Nakano
f7ded730f8
Bug 731878 part.1 Implement D3E initMouseEvent() and getModifierState() but they shouldn't be public r=smaug
2012-04-25 12:00:01 +09:00
Mounir Lamouri
51e2ee27c9
Bug 647665 - Inform the UI that we do not hover a link anymore if the element is removed from the DOM. r=bz a=gavin
2012-04-19 12:20:34 +02:00
David Humphrey (:humph)
5fa2af00d1
Bug 745266 - Operator precedence is wrong in nsEventStateManager::PreHandleEvent. r=smaug
2012-04-16 14:29:14 -07:00
Daniel Holbert
c4d71b6c3b
Backout f59dff115daa because it landed with the wrong bug number
2012-04-17 09:53:47 -07:00
David Humphrey (:humph)
a6fb05536e
Bug 745255 - Operator precedence is wrong in nsEventStateManager::PreHandleEvent. r=smaug
2012-04-16 14:29:14 -07:00
David Humphrey (:humph)
9534b79926
Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug
2012-04-11 17:55:21 -04:00
Avi Halachmi (:avih)
d19ba25120
Bug 737758: Part 2: Address Windows abnormality (identify _faked_ pixel scrolls) [r=jmathies]
2012-03-26 13:34:10 +02:00
Avi Halachmi (:avih)
8a2de1a907
Bug 737758: part 1: Propagate mouse wheel event origin from ESM [r=roc]
2012-03-26 11:50:30 +02:00
Neil Deakin
de5e8ee45b
Bug 499008, part 2, move editor dragstart handling to ContentAreaDragDrop, r=ehsan
2012-02-17 09:16:59 -05:00
Neil Deakin
cb7c3c2729
Bug 707382, merge nsIDOMDataTransfer and nsIDOMNSDataTransfer, r=jonas
2012-02-07 13:02:32 -05:00
L. David Baron
5eb8920348
Switch nsLayoutUtils inflation methods to the new setup with state on the pres context. (Bug 706609, patch 5) r=roc
...
This is the third of three patches to rework the way we handle getting
the font inflation container and width data during reflow, which are
needed so that we can sometimes honor inflation during intrinsic width
calculation (which we need to do to make some form controls inflate
correctly).
2012-01-24 17:21:29 -08:00
Timothy Zhu
416b96711d
Bug 686514 - Make ctrl-plus and ctrl-minus scale image documents. r=gavin.sharp,jonas
2011-11-16 23:25:00 -05:00
Boris Zbarsky
edd0a7b852
Bug 716549. Flush on every mousemove, because otherwise we can end up with mouse events (mousemove, mousein, mouseout) dispatched to the wrong elements. r=smaug
2011-12-23 22:52:26 -05:00
Phil Ringnalda
3f8c5b26b0
Back out 1ac4cb2e7c32 to c631f9c3e9a9 (bug 598482) for Android reftest failures
2011-12-23 22:21:58 -08:00
Boris Zbarsky
80f7f0700f
Bug 598482 part 24. Flush on every mousemove, because otherwise we can end up with mouse events (mousemove, mousein, mouseout) dispatched to the wrong elements. r=smaug
2011-12-23 22:52:26 -05:00
Boris Zbarsky
9e6b32a2fa
Bug 710917. Moving hover from a button to text in the label containing the button should keep the button's hover state. r=dbaron
2011-12-21 16:50:29 -05:00
Jeff Muizelaar
9c4d4fff06
Bug 707800. Add more sampler labels. r=bgirard
2011-12-02 17:05:33 -05:00
L. David Baron
abb8d1c39a
Make other users of font metrics (other than MathML and XUL) honor font size inflation. (Bug 627842, patch 15) r=roc
...
This does not address users of font metrics in layout/mathml/ (for text
size and alignment issues) or in layout/xul (for text size and sizing of
listbox and tree widgets): see all the callers of GetFontMetricsFor*
in those directories.
2011-11-23 18:48:23 -08:00
Neil Deakin
e40bc148fb
Bug 703260, part 1, remove view from eventstatemanager and presshell event handling, r=smaug,sr=roc
2011-11-21 12:53:20 -05:00
Tim Taubert
da87bb567a
Bug 698936 - dragleave is fired on previous drop target after successful drop; r=enndeakin
2011-11-08 10:55:47 +01:00
Chris Pearce
427807cc7c
Bug 685779 - Add -moz-full-screen-ancestor pseudo class. r=bz
2011-11-01 18:11:09 +13:00
Ms2ger
567f4260b6
Bug 684821 - Remove nsIDOMNSHTMLElement; r=peterv
2011-10-29 22:03:55 +02:00
Timothy Nikkel
09778341dc
Bug 658005. Part 2. Add a frame visibility API that takes into account everything we need, and use it. r=roc
2011-10-26 18:57:55 -05:00
Olli Pettay
c0def581fb
Bug 695758 - Don't limit E10s event/focus handling to xul:browser, but allow also xul:iframe, r=felipe
2011-10-20 15:11:31 +03:00
Olli Pettay
a86b1a4d43
Bug 682420 - Rename nsINode::GetOwnerDoc to nsINode::OwnerDoc, part 1, r=jst
...
--HG--
extra : rebase_source : baf1a25cdea68d499a7673fdf96e27b5a12dc83c
2011-10-18 13:53:36 +03:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Adam Dane [:hobophobe]
35dfe378d7
bug 591249 - event dragleave not properly dispatched if drag-and-drop aborted with ESC within iframe. r=smaug
2011-09-26 15:55:04 -05:00
Masayuki Nakano
52e48a8cfa
Bug 543789 part.2 Initialize data property of compositionstart event in nsEventStateManager::PreHandleEvent() r=smaug
2011-09-22 18:17:40 +09:00
Masayuki Nakano
46636681cc
Bug 543789 part.1 Add DOM3 composition events r=smaug, sr=roc
2011-09-22 18:17:40 +09:00
Olli Pettay
7dfe430f16
Bug 432698 - mouseenter and mouseleave, r=masayuki
...
--HG--
extra : rebase_source : 2664d2655546602edc88bcadc7dd981b01d76820
2011-09-18 02:45:14 -05:00
Masayuki Nakano
e6baf66ee4
Bug 669028 part.7 content should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc
2011-09-09 11:27:12 +09:00
Chris Pearce
d50edc2277
Bug 684627 - Add time limit to nsEventStateManager::IsHandlingUserInput(). r=smaug
2011-09-07 08:14:59 +12:00
Chris Pearce
7c3df7aedd
Bug 545812 - Implement -moz-full-screen css pseudoclass. r=bz
2011-09-05 08:39:08 +12:00
Ms2ger
b12351fbda
Bug 672054 - Part a: Remove nsIDOMNSUIEvent; r=smaug
2011-08-26 09:43:49 +02:00