Commit Graph

125 Commits

Author SHA1 Message Date
Matthew Gregan
2c8e9d8fe6 Bug 770945 - Simple media events shouldn't be cancelable. r=roc 2012-08-14 15:26:43 +12:00
Masayuki Nakano
c748a0f833 Bug 719320 part.1 Add DOM3 WheelEvent r=smaug, sr=jst 2012-08-12 10:42:34 +09:00
Ms2ger
c7a5b33778 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +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
babf67cce2 Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug 2012-08-04 09:44:00 +02:00
Wes Johnston
2088574285 Bug 777706 - Backout new dom bindings for touchlists. r=smaug 2012-08-02 10:41:42 -07:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Olli Pettay
089bd9520e Bug 776971 - codegen DeviceLightEvent impl, r=dougt 2012-07-26 00:26:51 +03:00
Olli Pettay
201bb1a6a5 Bug 776966 - Generate DeviceOrientationEvent implementation, r=dougt 2012-07-26 00:17:14 +03:00
Olli Pettay
8d25c299d6 Bug 776929 - Let event implementation codegen to generate MozContactChangeEvent, r=gwagner 2012-07-24 22:28:26 +03:00
Joshua Cranmer
4b8f318e78 Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Olli Pettay
d4c22e1e8d Bug 765766 - Convert more event interface implementations to be autogenerated, r=jst 2012-07-20 19:58:28 +03:00
Olli Pettay
e9cea4305c Bug 765163 - Implement code generator for simple DOM events, r=jst,khuey 2012-07-20 19:42:08 +03:00
Gregor Wagner
f0aabb81cf Bug 764682 - Implement wifi events in c++. r=smaug 2012-06-16 11:14:12 -07:00
Fabrice Desré
4b1c5d7555 Bug 761729 - Either implement mozIDOMApplicationEvent in C++, or make WebApps use CustomEvent [r=smaug] 2012-06-14 16:03:55 -07:00
Jim Mathies
2f392f7fb0 Bug 764355 - Add a new edge swipe simple gesture and add a click count value to existing tap gestures for Win8. r=felipe 2012-06-14 12:40:12 -05:00
Gregor Wagner
4d146d33cd Bug 764667 - Implement ContactChangeEvent in C++. r=smaug 2012-06-14 10:13:12 -07:00
Peter Van der Beken
071c3b12a3 Fix for bug 734503 (Add new DOM binding for TouchList). r=jst.
--HG--
extra : rebase_source : 332bf497cd68c9ea5c8a443c64c2884d4e18d2ea
2012-05-03 19:01:49 +02:00
Olli Pettay
ac6b89bfdb Bug 761613 - Merge nsIPrivateDOMEvent to nsIDOMEvent, r=jst 2012-06-10 21:14:30 +03:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Masayuki Nakano
1d6ef2544f Bug 447757 part.4 Clean up modifier keycode mapping on GTK r=karlt, sr=smaug 2012-05-17 16:04:16 +09:00
Masayuki Nakano
ba5c2eaa7e Bug 677252 part.2 Add Eisu keycode for Japanese keyboard layout of Mac r=smichaud, sr=smaug 2012-05-17 16:04:16 +09:00
Masayuki Nakano
ce8dcb1be3 Bug 630810 part.1 Should convert from native keycode to DOM keycode for every keys on Windows r=smaug+jimm, sr=roc 2012-05-17 16:04:16 +09:00
Doug Turner
225363eefe Bug 751663 - Implement new device proximity like event that fires only when the screen is close to the user's face. r=smaug 2012-05-16 13:27:54 -07:00
Doug Turner
68e34b4226 Bug 738465 - implement device light sensor. r=smaug 2012-05-02 09:43:45 -07:00
Doug Turner
63408865d2 Bug 738131 - implement device proximity. r=smaug
* * *
Bug 738131 - implement device proximity. gonk implementation. r=mwu
2012-05-02 09:43:45 -07:00
Ed Morley
8266a4291c Merge mozilla-central to mozilla-inbound 2012-05-03 20:13:41 +01:00
Olli Pettay
90367bb4e7 Bug 751286 - eventPhase NONE constant, r=sicking 2012-05-03 13:59:51 +03:00
Masayuki Nakano
16f32dab1d Bug 630811 part.7 Add getModifierState() to DOM KeyboardEvent and DOM MouseEvent r=smaug, sr=jst 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
f98601c487 Bug 166240 part.1 Add D3E KeyboardEvent.location r=smaug, sr=jst 2012-05-03 17:35:01 +09:00
Boris Zbarsky
32c7f6e634 Bug 742217. Reduce the use of nested namespaces in our binding code. r=peterv,bent
In the new setup, all per-interface DOM binding files are exported into
mozilla/dom.  General files not specific to an interface are also exported into
mozilla/dom.

In terms of namespaces, most things now live in mozilla::dom.  Each interface
Foo that has generated code has a mozilla::dom::FooBinding namespace for said
generated code (and possibly a mozilla::bindings::FooBinding_workers if there's
separate codegen for workers).

IDL enums are a bit weird: since the name of the enum and the names of its
entries all end up in the same namespace, we still generate a C++ namespace
with the name of the IDL enum type with "Values" appended to it, with a
::valuelist inside for the actual C++ enum.  We then typedef
EnumFooValues::valuelist to EnumFoo.  That makes it a bit more difficult to
refer to the values, but means that values from different enums don't collide
with each other.

The enums with the proto and constructor IDs in them now live under the
mozilla::dom::prototypes and mozilla::dom::constructors namespaces respectively.
Again, this lets us deal sanely with the whole "enum value names are flattened
into the namespace the enum is in" deal.

The main benefit of this setup (and the reason "Binding" got appended to the
per-interface namespaces) is that this way "using mozilla::dom" should Just
Work for consumers and still allow C++ code to sanely use the IDL interface
names for concrete classes, which is fairly desirable.

--HG--
rename : dom/bindings/Utils.cpp => dom/bindings/BindingUtils.cpp
rename : dom/bindings/Utils.h => dom/bindings/BindingUtils.h
2012-05-03 00:35:38 -04:00
Matt Brubeck
955934c3d9 Bug 743325 - Back out 554ab0a2f470 (bug 734503) because it broke touch events in XUL Fennec [r=peterv] 2012-04-24 07:51:56 -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
Peter Van der Beken
c2e642fbcc Fix for bug 740069 (Generate JS bindings in C++ with a python script for DOM objects on the main thread and in workers. Infrastructure and new bindings for XMLHttpRequest). Patch by bent/bz/bholley/jst/khuey/peterv, r=bent/bz/bholley/jlebar/khuey/peterv/sicking/smaug.
--HG--
rename : js/xpconnect/tests/mochitest/test_bug462428.html => dom/bindings/test/test_lookupGetter.html
2012-03-30 21:42:20 -07:00
Phil Ringnalda
6e9250f387 Back out 0cb85ff0f764 (bug 738568), 9949bb092303 (bug 730209), 095fd525afa7 (bug 729924), dcf8929a8115 (bug 633602) because of widely scattered and unclear bustage on a CLOSED TREE 2012-03-28 22:37:46 -07:00
David Humphrey
b174382f2b Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc, smaug 2012-03-28 21:00:14 -04:00
Neil Deakin
f9547aff6d Bug 605991, prevent drops on a parent content page from a child frame from a different domain, r=smaug 2012-03-20 11:21:41 -04:00
Masatoshi Kimura
1f2073f34c Bug 721569 - Support default values for Web IDL dictionaries. r=khuey CLOBBER BUILD 2012-03-12 21:44:48 -07:00
Peter Van der Beken
4d875e976f Fix for bug 734503 (Add new DOM binding for TouchList). r=jst.
--HG--
extra : rebase_source : 701eb8d9a60ffa981ebcd24f426109bd70cc5cbf
2011-08-22 11:14:13 +02:00
Peter Van der Beken
31fa18aab8 Fix for bug 734499 (Add new DOM binding for PaintRequestList). r=jst.
--HG--
extra : rebase_source : 37f4a1ea723db150abc07d66c6f167c27fd9c354
2011-08-22 11:14:13 +02:00
Neil Deakin
4450a27928 Bug 499008, part 3, remove nsIDOMNSEvent::tmpRealOriginalTarget, r=smaug 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
Wes Johnston
43680b21b4 Bug 603008 - Platform support for multitouch events. r=smaug
* * *
Bug 603008 - Platform support for multitouch events.
* * *
ifdefandroid
2011-12-16 16:24:11 -08:00
Olli Pettay
998181bae9 Bug 709127 - Implement MouseEvent and UIEvent ctors, r=jst, a=sheriff 2011-12-14 22:36:46 +02:00
Olli Pettay
b3edc36350 Bug 708701 - Implement HTML event ctors, r=jst
--HG--
extra : rebase_source : 4abb0185ea790c29ff7f2df0f032045777c898e0
2011-12-14 21:55:32 +02:00
Olli Pettay
b67e8975ea Bug 675884 - Implement Event constructors, part1, r=jst
--HG--
extra : rebase_source : 109d9cb22b810fbff71c637b6e15965eafdd61fe
2011-12-14 21:53:48 +02:00
Masayuki Nakano
87c08c8383 Bug 703150 Cannot drag scrollbar thumb if stopPropagation() of mousedown event is called r+sr=smaug 2011-11-25 10:09:58 +09:00
Olli Pettay
e36091a737 Bug 698929 - Implement event.stopImmediatePropagation, r=jst
--HG--
extra : rebase_source : 76d19175a58a4ac8113b144a19f9d7679ad54dd0
2011-11-04 19:17:19 +02:00