Commit Graph

858 Commits

Author SHA1 Message Date
Makoto Kato
ae4279cc0e Bug 249159 - Part 2 Implement CSS3 Text word-break property. r=dbaron, smontagu 2012-05-07 12:18:23 -07:00
Ms2ger
ffc7d3c0c4 Bug 732708 - Part d: Remove StorageEventObsolete, NS_NewDOMStorage; r=mayhemer 2012-05-05 11:00:05 +02:00
Boris Zbarsky
8655f9d9aa Bug 745897. Add the new DOM bindings APIs to WebGLContext. r=bjacob
This adds APIs suitable for calling from the new DOM bindings to WebGLContext and makes the XPCOM
versions of the WebGL context API call through to the new-binding versions.
2012-05-04 12:38:44 -04: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
Paul ADENOT
191aa560e3 Bug 462959 - Implement nsIDOMHTMLMediaElement::GetPlayed(). r=cpearce, kinetik 2012-04-30 20:29:24 -04:00
Robert O'Callahan
0fab284fc7 Bug 664918. Part 8: Add mozCaptureStream()/mozCaptureStreamUntilEnded() APIs to HTML media elements, returning a MediaStream representing the contents of the media element. r=cpearce,jesup
This is currently not fully functional. The MediaStream always ends when the underlying resource ends. You can't use these APIs on a media element
whose src is a MediaStream. Seeking or pausing the resource will cause problems. The media element does not play back in sync with the MediaStream.
2012-04-30 15:12:42 +12:00
Robert O'Callahan
bcd7b18d5d Bug 664918. Part 7: Let the "src" attribute of HTML media elements accept a MediaStream DOM object, to make the media element play back the contents of the given stream. r=cpearce,jesup 2012-04-30 15:12:28 +12:00
Paul ADENOT
c3d69642e4 Bug 480376 - Implement mozHasAudio to indicate when there's no audio track available. r=cpearce 2012-04-28 11:01:10 -04:00
Gregor Wagner
00991ffdc4 Bug 743336 - Settings API: Add service. r=fabrice 2012-04-27 16:21:31 -07:00
Gijs Kruitbosch
ae54e2bc78 Bug 539095 - Expose high-res timers to web content (performance.now()). r=bz, sr=smaug
--HG--
extra : transplant_source : o%9F%061%D4%B5%7D%5C%FB%95%5D%16%27%DEKU%EC%21%3AR
2012-04-27 09:22:06 +02:00
Masayuki Nakano
e7f63293af Bug 166240 part.8 Add tests for KeyboardEvent.location (synthesized events) r=smaug, sr=jst 2012-05-03 17:35:02 +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
Ehsan Akhgari
39c3edb8ba Merge the last green PGO changeset from mozilla-inbound to mozilla-central 2012-04-25 10:06:04 -04:00
Ms2ger
eb57ef459a Bug 731832 - Backout bug 587021 for breaking a specific web page; r=bz 2012-04-24 21:04:37 +02:00
Matthew Schranz
8f06779da7 Bug 686913 - HTMLProgressElement should no longer be a form control. r=mounir a=mfinkle 2012-04-24 12:03:21 +02:00
Joe Drew
59b12ae642 Backout 492d12fa8b65 (bug 732016) for regressions. a=regression
--HG--
extra : rebase_source : cda0401baa2c3e5f6192f76c1cd25eca8187a9a0
2012-04-23 11:13:33 -07: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
bf490789ea Bug 630811 part.3 Improve nsDOMWindowUtils::send*Event() for new modifiers 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
Timothy Nikkel
5fce132cd1 Bug 732016 Allow override of the scroll port size used for clamping scroll positions. r=roc 2012-04-24 13:52:35 -05: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
Tom Schuster
fef9c89dba Bug 711843 - Update JSAPI for typed arrays, remove uses of jstypedarray.h outside the engine [r=Waldo,bz,Ms2ger,bholley,bjacob,philikon,evilpie,bent,yourmama] [a=mfinkle thanks to gkw] 2012-01-14 09:43:00 -08:00
Ryan VanderMeulen
0791674429 Back out 149a80dafcb8 (bug 686913) due to build failures. a=YUNoTry? 2012-04-21 17:48:31 -04:00
Matthew Schranz
ef633bc69b Bug 686913 - HTMLProgressElement and HTMLMeterElement should not be form controls. r=mounir, a=mfinkle 2012-04-21 17:35:42 -04:00
Timothy Nikkel
be2da87d6f Bug 732016 Allow override of the scroll port size used for clamping scroll positions. r=roc 2012-04-19 20:54:54 -05:00
Olli Pettay
d796636855 Bug 731875 - Geolocation doorhanger might cause a zombie compartment, GeoPositionOptions part, r=dougt 2012-04-16 22:08:48 +03:00
Ms2ger
e0fdac68bb Bug 732708 - Part b: Devirtualize BroadcastChangeNotification and remove a dead implementation; r=honzab 2012-04-14 15:06:30 +02:00
Ms2ger
8299fe6b09 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger
05d5270d53 Bug 743573 - Fix a number of build warnings in dom/; r=volkmar 2012-04-14 15:09:47 +02:00
Ms2ger
752c5210b1 Bug 732708 - Part b: Devirtualize BroadcastChangeNotification and remove a dead implementation; r=honzab 2012-04-14 15:06:30 +02:00
Mark Finkle
29646cae76 Bug 737050 - Add support for the WEBAPP intent r=blassey r=bnicholson r=gavin 2012-04-13 22:45:25 -04:00
Gregory Szorc
15089b0805 Merge mozilla-central into inbound 2012-04-11 18:51:10 -07:00
Olli Pettay
b5b7b0c4b3 Bug 742482 - Add support for MutationObserver.takeRecords(), r=sicking 2012-04-11 08:24:18 +03:00
David Humphrey (:humph)
9534b79926 Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug 2012-04-11 17:55:21 -04:00
Aryeh Gregor
653b41ddf3 Bug 742261 - Remove useless queryCommandText/execCommandShowHelp methods; r=ehsan 2012-04-04 15:30:33 +03:00
Boris Zbarsky
bf00219e54 Bug 742549. Add a .crossOrigin IDL property. r=sicking
Note that the content attribute is crossorigin (lowercase) in SVG, hence the need to have different
content and IDL property names in the test.
2012-04-05 22:24:42 -04:00
Brad Lassey
e3451864f9 backout b51259905d85 because it needs sr 2012-04-05 02:02:52 -04:00
Brad Lassey
8fb60abdbf bug 738528 - still photo support for getUserMedia r=dougt 2012-04-04 23:32:38 -04:00
Nathan Froyd
69d33a0304 Bug 732708 - remove nsIDOMStorageList; r=honzab 2012-03-28 12:33:41 -04:00
Kan-Ru Chen
99047503ac Bug 710135 - Move screen.enabled/brightness to mozPower. r=jlebar,mounir sr=cjones,sicking 2012-04-03 01:51:00 -04:00
Ms2ger
beb9973d07 Bug 740771 - Stringify null for Storage.getItem/setItem/removeItem; r=mayhemer 2012-04-03 09:25:39 +02:00
Gregor Wagner
d0aff72b6c Bug 734198 - Contacts API: Add Sorting. r=bent 2012-04-02 16:39:57 -07:00
Ed Morley
7b8f9d67b3 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-03-31 22:41:59 +01:00
Olli Pettay
aef37dab12 Bug 641821, MutationObserver, r=sicking
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Ed Morley
2aa4048571 Merge mozilla-central to mozilla-inbound 2012-03-31 15:28:55 +01: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
Mounir Lamouri
e07e2adfa7 Bug 740188 - Screen Orientation API locking (1/3): DOM/HAL boilerplate. r=smaug sr=sicking 2012-03-29 12:43:16 -07:00