Commit Graph

130 Commits

Author SHA1 Message Date
Masayuki Nakano
8f393ec07c Bug 912956 part.1 Rename all event stuff in mozilla::widget to mozilla::* r=roc 2013-09-14 11:39:41 +09:00
Jim Mathies
c476c2476e Bug 907410 - Winrt async input - keyboard input. r=masayuki 2013-09-06 08:11:15 -05:00
Masayuki Nakano
b30c3feef6 Bug 910978 part.18 Implement nsAnimationEvent::AssignAnimationEventData() r=smaug 2013-09-03 20:45:30 +09:00
Masayuki Nakano
1c1e1f20ff Bug 910978 part.17 Implement nsTransitionEvent::AssignTransitionEventData() r=smaug 2013-09-03 20:45:30 +09:00
Masayuki Nakano
1db2e51d44 Bug 910978 part.16 Implement nsSimpleGestureEvent::AssignSimpleGestureEventData() r=smaug 2013-09-03 20:45:30 +09:00
Masayuki Nakano
5bac5acde7 Bug 910978 part.15 Implement nsFocusEvent::AssignFocusEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
0dec671ed9 Bug 910978 part.14 Implement nsUIEvent::AssignUIEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
694e27ec0a Bug 910978 part.13 Implement nsClipboardEvent::AssignClipboardEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
37a09fd4f9 Bug 910978 part.12 Implement nsCommandEvent::AssignCommandEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
ffc994f8f5 Bug 910978 part.11 Implement nsFormEvent::AssignFormEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
8572bd5112 Bug 910978 part.10 Implement nsTouchEvent::AssignTouchEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
546beaa3a9 Bug 910978 part.9 Implement widget::WheelEvent::AssignWheelEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
04b32b9fa0 Bug 910978 part.8 Implement nsMouseScrollEvent::AssignMouseScrollEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
ccd69297c4 Bug 910978 part.7 Implement nsCompositionEvent::AssignCompositionEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
00a26e15e5 Bug 910978 part.6 Implement nsTextEvent::AssignTextEventData() and make nsTextEvent not a derived class of nsInputEvent because nobody uses the stored data r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano
114445c4e2 Bug 910978 part.5 Implement nsDragEvent::AssignDragEventData() r=smaug 2013-09-03 20:45:28 +09:00
Masayuki Nakano
725fecdb00 Bug 910978 part.4 Implement nsScrollAreaEvent::AssignScrollAreaEventData() r=smaug 2013-09-03 20:45:28 +09:00
Masayuki Nakano
56c41ee879 Bug 910978 part.3 Implement nsScrollPortEvent::AssignScrollPortEventData() r=smaug 2013-09-03 20:45:28 +09:00
Masayuki Nakano
144f6d5e26 Bug 910978 part.2 Remove nsScrollbarEvent because its member is never used r=smaug+roc 2013-09-03 20:45:28 +09:00
Masayuki Nakano
0cf5f945b0 Bug 910978 part.1 Implement nsScriptErrorEvent::AssignScriptErrorEventData() r=smaug 2013-09-03 20:45:28 +09:00
Masayuki Nakano
4a9d769635 Bug 910156 Add AssignKeyEventData() and AssignMouseEventData() for sharing the code in nsDOMEvent::DuplicatePrivateData() and nsDelayed*Event r=smaug 2013-08-30 11:10:32 +09:00
Stephen Pohl
137e8534cd Revert 366e6a39d71a from bug 673875 for causing bug 907275. r=smichaud 2013-08-21 12:22:03 -04:00
David Zbarsky
46c6e64d77 Bug 903283: Don't include EventTarget.h in headers r=Ms2ger 2013-08-19 06:15:55 -04:00
Olli Pettay
b74af2cf58 Bug 887241, Use strings, not atoms, for worker events, r=khuey
--HG--
extra : rebase_source : 3e294b1bde05a127db0a9fa1c31c48e9a514e11d
2013-08-16 13:06:24 +03:00
David Zbarsky
b9427f8d2b Bug 898930 - Remove nsIDOMTouchEvent r=smaug 2013-08-05 00:51:21 -04:00
Ms2ger
625b832e4f Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats 2013-08-02 09:05:16 +02:00
Ehsan Akhgari
085494b95d Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

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 "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
David Zbarsky
fdbb43c394 Backout b43b3d14ea16 for mochitest failures on CLOSED TREE 2013-07-29 22:46:45 -07:00
David Zbarsky
0240aeb948 Bug 898930 - Remove nsIDOMTouchEvent r=smaug 2013-07-29 16:04:08 -07:00
J. Ryan Stinnett
63fe3aff42 Bug 282097 - Part 1: Add mNativeKeyEvent to nsKeyEvent. r=masayuki 2013-07-09 22:42:59 -05:00
Ms2ger
c143803fda Bug 884748 - Make nsTouchEvent::touches store Touch instead of nsIDOMTouch; r=dzbarsky 2013-07-10 11:53:09 +02:00
Randy Lin
fcd0ce74f3 Bug 803414 - Part 4: Audio Recording - Web API & Implementation. r=roc 2013-07-05 09:50:25 +08:00
Alfredo Yang
f46ff90dd3 Bug 855741 - Update Focus webidl from Event to FocusEvent. r=smaug 2013-06-05 08:02:51 -04:00
Tim Abraldes
b5a70d488d bug 839342. Make metro widget listen for EdgeGestureStarted and EdgeGestureCanceled, in addition to EdgeGestureCompleted. Show the edge UI on EdgeGestureStarted and EdgeGestureCompleted, hide it on EdgeGestureCanceled. This time without bustage! r=bbondy 2013-05-16 21:22:21 -07:00
Phil Ringnalda
c19f6561ae Back out 9675dce26f53 (bug 839342) for browser-chrome bustage 2013-05-16 20:09:24 -07:00
Tim Abraldes
9948921421 bug 839342. Make metro widget listen for EdgeGestureStarted and EdgeGestureCanceled, in addition to EdgeGestureCompleted. Show the edge UI on EdgeGestureStarted and EdgeGestureCompleted, hide it on EdgeGestureCanceled. r=bbondy 2013-05-16 17:47:46 -07:00
Ehsan Akhgari
a96e98f013 Bug 836599 - Part 9: Implement the DOM binding for OfflineAudioContext; r=roc 2013-05-16 19:30:41 -04:00
Olli Pettay
56514d79da Bug 848293 - Update AnimationEvent to be compatible with the spec, r=dbaron
--HG--
extra : rebase_source : 04f2cb9c5aa56549da0af3c722b35f3dab5746c3
2013-05-05 16:22:29 +03:00
Olli Pettay
ac44aa8903 Bug 848291 - Update TransitionEvent to be compatible with the spec, r=dbaron 2013-05-04 17:41:20 +03:00
Masayuki Nakano
89840a9b91 Bug 842927 part.1 Implement D3E KeyboardEvent.key r=smaug, sr=smaug 2013-04-24 12:49:46 +09:00
Ehsan Akhgari
51c4aebe76 Bug 834513 - Part 3: Implement ScriptProcessorNode; r=roc 2013-04-13 21:37:04 -04:00
Stephen Pohl
6328038298 Bug 673875 - Reproduce bounce behaviour when reaching top and bottom of documents. r=smichaud, r=felipc 2013-04-12 23:04:52 -04:00
Stephen Pohl
28ee11a080 Bug 678392 - Add support for swipe animation as in Safari. r=smichaud,jaws,felipc 2013-04-09 14:44:01 -05:00
David Zbarsky
dd55a87c18 Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 2 r=Ms2ger 2013-04-05 20:44:26 -04:00
Ted Mielczarek
704e2319bc bug 604039 - Add DOM Gamepad APIs. r=smaug
--HG--
extra : rebase_source : ffffdc4549da1b25ea263b623c05ae1afb3d46a0
2011-08-03 14:12:08 -04:00
Jeff Walden
59e9a3888e Bug 847480 - Convert DeprecatedAbs uses that can relatively obviously be changd to Abs, to Abs. r=Ms2ger 2013-03-05 15:43:53 -08:00
Jeff Walden
000d820503 Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger 2013-03-05 15:43:30 -08:00
Masayuki Nakano
13bc2bb4d5 Bug 790516 part.3 Store edit actions during document lock and flush them at unlocking the document r=jimm 2013-03-13 12:01:29 +09:00
Olli Pettay
c4d3dc87a3 Bug 847600 - Remove SVGEvent, r=jwatt
--HG--
extra : rebase_source : 5b9452c1757b2cec02d469337ae3876a554f0081
2013-03-11 20:57:08 +02:00
Neil Deakin
1efdb14bf3 Bug 407983, add support for clipboardData in cut/copy/paste events, r=ehsan,sr=smaug 2013-03-11 11:49:48 -04:00