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

19111 Коммитов

Автор SHA1 Сообщение Дата
Jeff Walden 0349ff3c11 Bug 645922 - Remove nsIJSON.encode/decode, because their functionality is subsumed by JSON.parse and JSON.stringify, and their idiosyncrasies are hindering code improvements. Also remove js_TryJSON and JS_TryJSON, which are no longer used after these changes and have no clear use cases. r=brendan, r=jst 2011-03-28 19:27:15 -07:00
Chris Leary b6e46acdbd Merge mozilla-central and tracemonkey. 2011-06-27 11:07:22 -07:00
Benoit Jacob 8f20caa56a Bug 663823 - Cross-domain textures generate NS_ERROR_FAILURE instead of NS_ERROR_DOM_SECURITY_ERR - r=jrmuizel
This is a quite stupid patch in already stupid code; the reason why it's so dumb is that it has to determine whether the argument is a DOMElement or ImageData and we don't have a real ImageData interface, see bug 637077, so it has to use duck typing. We should revisit this whole code once bug 637077 is fixed.
2011-06-27 13:27:04 -04:00
Benoit Jacob 4d67b80afe Bug 664066 - Initialize GL values - r=karlt
This patch initializes by zero the GL max values before we query them, just in case a buggy OpenGL implementation's glGetIntegerv function would fail to set them.

This patch also manually sets the initial values of mPixelStorePackAlignment and mPixelStoreUnpackAlignment as per the spec, rather than querying them from the GL.
2011-06-27 13:27:04 -04:00
Benoit Jacob a37d523d4d Bug 667465 - Fix unused variable warnings in WebGL - r=jrmuizel 2011-06-27 13:27:04 -04:00
Benoit Jacob b5a76d44ae Bug 664066 - remove useless C casts in WebGL code - r=karlt
Just to make the code a little more robust.
2011-06-27 13:27:04 -04:00
Jeff Walden c35a61253a Bug 665835 - Remove JSOPTION_ANONFUNFIX. r=cdleary
--HG--
rename : js/src/tests/js1_5/extensions/regress-376052.js => js/src/tests/ecma_5/misc/unnamed-function.js
2011-06-21 09:53:19 -07:00
Chris Leary 6ad07be206 Merge mozilla central and tracemonkey. 2011-06-20 16:49:20 -07:00
Jesse Ruderman dd2baf6b22 Add crashtest from bug 605672 2011-06-20 11:42:05 -07:00
Mounir Lamouri db6044282b Bug 665027 - Remove confusing code that is no longer used. f=ehsan r=bz 2011-06-20 13:44:05 +02:00
Doug Turner 12569c1c97 Bug 615597 - Implement devicemotion and fix up deviceorientation events. r=smaug/azakai
--HG--
rename : content/events/src/nsDOMOrientationEvent.cpp => content/events/src/nsDOMDeviceOrientationEvent.cpp
rename : content/events/src/nsDOMOrientationEvent.h => content/events/src/nsDOMDeviceOrientationEvent.h
rename : dom/system/android/nsAccelerometerSystem.cpp => dom/system/android/nsDeviceMotionSystem.cpp
rename : dom/system/android/nsAccelerometerSystem.h => dom/system/android/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.h => dom/system/cocoa/nsDeviceMotionSystem.h
rename : dom/system/cocoa/nsAccelerometerSystem.mm => dom/system/cocoa/nsDeviceMotionSystem.mm
rename : dom/system/nsAccelerometer.cpp => dom/system/nsDeviceMotion.cpp
rename : dom/system/nsAccelerometer.h => dom/system/nsDeviceMotion.h
rename : dom/system/unix/nsAccelerometerSystem.cpp => dom/system/unix/nsDeviceMotionSystem.cpp
rename : dom/system/unix/nsAccelerometerSystem.h => dom/system/unix/nsDeviceMotionSystem.h
rename : dom/system/windows/nsAccelerometerSystem.cpp => dom/system/windows/nsDeviceMotionSystem.cpp
rename : dom/system/windows/nsAccelerometerSystem.h => dom/system/windows/nsDeviceMotionSystem.h
rename : xpcom/system/nsIAccelerometer.idl => xpcom/system/nsIDeviceMotion.idl
2011-06-19 22:36:17 -07:00
Mounir Lamouri f090052590 Merging mozilla-inbound and mozilla-central. 2011-06-27 11:04:05 +02:00
Cameron McCormack 9d1874153c Bug 667370 - Fix uncaught exception in test_2d.gradient.radial.cone.top.html. r=philor 2011-06-27 13:45:45 +12:00
Bas Schouten f494b77184 Bug 667225 - Part 2: Add a crash test for 0px size fonts. r=jrmuizel 2011-06-26 20:00:08 +02:00
Bas Schouten 514231caf9 Bug 667225 - Part 1: Do not attempt to draw runs with no glyphs. r=jrmuizel 2011-06-26 20:00:06 +02:00
Marco Bonardo 006a1818cf Merge last green changeset from mozilla-inbound to mozilla-central 2011-06-25 12:04:08 +02:00
Jonas Sicking 86b688b6af Bug 665609: Remove Add/RemoveEventListenerByIID from nsTextEditorState. r=jst 2011-06-24 22:56:13 -07:00
Jonas Sicking e174ef3228 Bug 665599: Remove Add/RemoveEventListenerByIID from nsXBLStreamListener. r=jst 2011-06-24 16:12:34 -07:00
Jonas Sicking 7d85bcf0a7 Bug 665599: Remove AddRemoveEventListenerByIID from nsXBLWindowKeyHandler. r=jst 2011-06-24 16:12:34 -07:00
Marco Bonardo 8d56f5c0e0 Merge last green changeset in mozilla-inbound to mozilla-central 2011-06-24 11:32:12 +02:00
Boris Zbarsky a32f6d6c85 Back out bug 665564 (rev 9de9b3a9458c) and bug 666790 (rev 7d3d5b9710ea) due to Mac test orange. 2011-06-24 00:42:23 -04:00
Jonas Sicking a326e5c69f Bug 658714 Part 10: Remove nsIDOM3EventTarget/nsIDOMEventGroup. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking 0c346db2ed Bug 658714 Part 9: Don't use EventGroups for system-group. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking 8bfa8b0994 Bug 658714 Part 8: Improve the nsEventListenerManager API. r=smaug 2011-06-23 19:18:02 -07:00
Jonas Sicking f7e72db3bc Bug 658714 Part 7: DeCOMtaminate nsEventListenerManager. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking cd52437ea7 Bug 658714 Part 6: Fixups after search'n'replace s/nsPIDOMEventTarget/nsIDOMEventTarget/. r=smaug 2011-06-23 19:18:01 -07:00
Jonas Sicking 07c1f0b90f Bug 658714 Part 5: Search'n'replace nsPIDOMEventTarget to nsIDOMEventTarget. r=smaug 2011-06-23 19:18:00 -07:00
Jonas Sicking b1d0316edc Bug 658714 Part 3: Move nsIDOMEventTarget implementation to nsINode. r=smaug 2011-06-23 19:17:59 -07:00
Jonas Sicking 815124365b Bug 658714 Part 2: Merge nsIDOMNSEventTarget into nsIDOMEventTarget. r=smaug 2011-06-23 19:17:59 -07:00
Jonas Sicking 50c51df5f9 Bug 658714 Part 1: Merge nsPIDOMEventTarget into nsIDOMEventTarget. r=smaug,bent 2011-06-23 19:17:58 -07:00
Andrew McCreight eeae7d36fd Bug 665564 - change DescribeNode to DescribeRefCountedNode to remove CCNodeType. r=bent 2011-06-23 14:10:52 -07:00
Chris Pearce 92c1b9ecd3 Bug 661456 - Scale WebM video frames to display size. r=kinetik 2011-06-24 10:08:54 +12:00
Ehsan Akhgari 580f3127a0 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-06-23 12:28:57 -04:00
Ms2ger 163f219284 Merge backout. 2011-06-23 16:36:56 +02:00
Ms2ger f927fdef9d Backed out changeset 831fabb406a1 (Bug 664821) for WinXP opt M3 crashes. 2011-06-23 16:36:07 +02:00
Igor Bazarny 3885bce98f bug 570341 Initial implementation of web timing specification
r=smaug sr=biesi
2011-06-23 12:39:48 +02:00
Mounir Lamouri 04a1589976 Bug 655240 - Trying to fix intermittent failure in content/html/document/test/test_bug448564.html f=ehsan r=sicking 2011-06-23 12:03:18 +02:00
Mounir Lamouri e42912f4f7 Merge last green changeset of mozilla-inbound into mozilla-central. 2011-06-23 11:15:52 +02:00
Ms2ger 4020658e9f Bug 661327 - Warn in to-be-removed Attr functions; r=sicking 2011-06-23 10:30:48 +02:00
Daniel Holbert c25dc9c3aa Bug 665209: Disable recursive image loads in content(). r=bz 2011-06-22 22:21:47 -07:00
Ehsan Akhgari eb1c080ad6 Merge mozilla-central into mozilla-inbound 2011-06-22 20:19:47 -04:00
Josh Matthews 2611f56f37 Bug 664821 - Use WrapNative correctly and wrap objects array to avoid compartment errors. r=mrbkap
--HG--
extra : rebase_source : 11cff24ec53820ef845f6b8c7cec910107399be0
2011-06-16 16:45:07 -04:00
Robert O'Callahan 50a8bdee8e Bug 637852. Part 17: Tighten up AreLayersMarkedActive so we track exactly what properties are changing. Also, clamp resolution to power-of-2 only if the frame's transform has a scale. r=tnikkel
This lets us avoid clamping the scale in more situations. We should only clamp the scale when we think
the scale is changing due to a changing transform --- the goal of clamping is to not have to redraw the content
too often when the content is zooming in or out.
2011-06-23 00:11:28 +12:00
Mounir Lamouri 72941f614e Bug 665612 - More cleanup around mInputData and IsSingleLineTextControl(). f=ehsan r=bz 2011-06-22 12:41:00 +02:00
Makoto Kato 1f2eea3d5f Bug 182279 - select.add() should have the second parameter optional. r=smaug 2011-06-22 16:33:30 +09:00
Ehsan Akhgari b7a8a832db Merge mozilla-central into mozilla-inbound 2011-06-22 03:06:01 -04:00
Jonas Sicking cfcfd3bcb2 Bug 661980: Add ability to make interfaces scriptable but not scriptimplementable. r=bsmedberg 2011-06-16 12:21:25 -07:00
Ehsan Akhgari 0f617c2905 Merge the last green changeset of mozilla-inbound to mozilla-central 2011-06-22 15:50:44 -04:00
Mounir Lamouri 1e46fd8417 Merging last green changeset of mozilla-inbound into mozilla-central. 2011-06-22 16:13:49 +02:00
Olli Pettay 27d77c27e3 Bug 664464 - Unlink XBL some more, r=sicking 2011-06-22 15:56:44 +03:00