Граф коммитов

130 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano 776acd167e 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 3b47beeb3b Bug 907410 - Winrt async input - keyboard input. r=masayuki 2013-09-06 08:11:15 -05:00
Masayuki Nakano 2617307439 Bug 910978 part.18 Implement nsAnimationEvent::AssignAnimationEventData() r=smaug 2013-09-03 20:45:30 +09:00
Masayuki Nakano 2c54be8896 Bug 910978 part.17 Implement nsTransitionEvent::AssignTransitionEventData() r=smaug 2013-09-03 20:45:30 +09:00
Masayuki Nakano ea85699bf2 Bug 910978 part.16 Implement nsSimpleGestureEvent::AssignSimpleGestureEventData() r=smaug 2013-09-03 20:45:30 +09:00
Masayuki Nakano e8b636382b Bug 910978 part.15 Implement nsFocusEvent::AssignFocusEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano 28c40b5168 Bug 910978 part.14 Implement nsUIEvent::AssignUIEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano 92eeafbf0c Bug 910978 part.13 Implement nsClipboardEvent::AssignClipboardEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano c526ae0d7d Bug 910978 part.12 Implement nsCommandEvent::AssignCommandEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano 4ac6b2750d Bug 910978 part.11 Implement nsFormEvent::AssignFormEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano 07a0012553 Bug 910978 part.10 Implement nsTouchEvent::AssignTouchEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano aeee25cf0b Bug 910978 part.9 Implement widget::WheelEvent::AssignWheelEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano 2ce0c3d82d Bug 910978 part.8 Implement nsMouseScrollEvent::AssignMouseScrollEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano f2b7ea09af Bug 910978 part.7 Implement nsCompositionEvent::AssignCompositionEventData() r=smaug 2013-09-03 20:45:29 +09:00
Masayuki Nakano 46fa9e9ca2 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 2e5e9a05a2 Bug 910978 part.5 Implement nsDragEvent::AssignDragEventData() r=smaug 2013-09-03 20:45:28 +09:00
Masayuki Nakano e81bcf7542 Bug 910978 part.4 Implement nsScrollAreaEvent::AssignScrollAreaEventData() r=smaug 2013-09-03 20:45:28 +09:00
Masayuki Nakano 655a3b24fe Bug 910978 part.3 Implement nsScrollPortEvent::AssignScrollPortEventData() r=smaug 2013-09-03 20:45:28 +09:00
Masayuki Nakano 843d62f529 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 d0e6aba193 Bug 910978 part.1 Implement nsScriptErrorEvent::AssignScriptErrorEventData() r=smaug 2013-09-03 20:45:28 +09:00
Masayuki Nakano 56bdc6aa7c 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 fd7f083936 Revert 366e6a39d71a from bug 673875 for causing bug 907275. r=smichaud 2013-08-21 12:22:03 -04:00
David Zbarsky 9ce94de31b Bug 903283: Don't include EventTarget.h in headers r=Ms2ger 2013-08-19 06:15:55 -04:00
Olli Pettay 05d99e99a0 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 11ac59e6e6 Bug 898930 - Remove nsIDOMTouchEvent r=smaug 2013-08-05 00:51:21 -04:00
Ms2ger 1571fe39c1 Bug 896251 - Make nsEvent::{refPoint, lastRefPoint} LayoutDeviceIntPoints; r=smaug+kats 2013-08-02 09:05:16 +02:00
Ehsan Akhgari 2824b29025 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 f78d53fa48 Backout b43b3d14ea16 for mochitest failures on CLOSED TREE 2013-07-29 22:46:45 -07:00
David Zbarsky 35194cdbac Bug 898930 - Remove nsIDOMTouchEvent r=smaug 2013-07-29 16:04:08 -07:00
J. Ryan Stinnett c09dd559c3 Bug 282097 - Part 1: Add mNativeKeyEvent to nsKeyEvent. r=masayuki 2013-07-09 22:42:59 -05:00
Ms2ger f8554f1603 Bug 884748 - Make nsTouchEvent::touches store Touch instead of nsIDOMTouch; r=dzbarsky 2013-07-10 11:53:09 +02:00
Randy Lin 9175f35127 Bug 803414 - Part 4: Audio Recording - Web API & Implementation. r=roc 2013-07-05 09:50:25 +08:00
Alfredo Yang 5b1f01f4d8 Bug 855741 - Update Focus webidl from Event to FocusEvent. r=smaug 2013-06-05 08:02:51 -04:00
Tim Abraldes bb4ee51634 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 a82109f5f1 Back out 9675dce26f53 (bug 839342) for browser-chrome bustage 2013-05-16 20:09:24 -07:00
Tim Abraldes a8f80df70f 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 ee70633121 Bug 836599 - Part 9: Implement the DOM binding for OfflineAudioContext; r=roc 2013-05-16 19:30:41 -04:00
Olli Pettay 5c7b9fa539 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 cbb79393f6 Bug 848291 - Update TransitionEvent to be compatible with the spec, r=dbaron 2013-05-04 17:41:20 +03:00
Masayuki Nakano adac26ba1f Bug 842927 part.1 Implement D3E KeyboardEvent.key r=smaug, sr=smaug 2013-04-24 12:49:46 +09:00
Ehsan Akhgari 21b6d807c6 Bug 834513 - Part 3: Implement ScriptProcessorNode; r=roc 2013-04-13 21:37:04 -04:00
Stephen Pohl 6d01aff5b2 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 0cd77e174b Bug 678392 - Add support for swipe animation as in Safari. r=smichaud,jaws,felipc 2013-04-09 14:44:01 -05:00
David Zbarsky 3febe3b914 Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 2 r=Ms2ger 2013-04-05 20:44:26 -04:00
Ted Mielczarek 281489a00e bug 604039 - Add DOM Gamepad APIs. r=smaug
--HG--
extra : rebase_source : ffffdc4549da1b25ea263b623c05ae1afb3d46a0
2011-08-03 14:12:08 -04:00
Jeff Walden b30b4197e6 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 5ec763f216 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 a206647c96 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 5f03227c63 Bug 847600 - Remove SVGEvent, r=jwatt
--HG--
extra : rebase_source : 5b9452c1757b2cec02d469337ae3876a554f0081
2013-03-11 20:57:08 +02:00
Neil Deakin 5624ee6b03 Bug 407983, add support for clipboardData in cut/copy/paste events, r=ehsan,sr=smaug 2013-03-11 11:49:48 -04:00